handbook/.obsidian/plugins/drawio-obsidian/main.js
Anton Nesterov 3de11a32a1
init
2024-08-24 18:40:34 +02:00

16 lines
6.3 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";var e=require("obsidian");
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function t(e,t,n,i){return new(n||(n=Promise))((function(a,r){function l(e){try{s(i.next(e))}catch(e){r(e)}}function o(e){try{s(i.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,o)}s((i=i.apply(e,t||[])).next())}))}class n extends e.EditableFileView{constructor(e,t){super(e),this.plugin=t}onMoreOptionsMenu(e){super.onMoreOptionsMenu(e),e.addItem((e=>{e.onClick((e=>{this.saveAsPng()})),e.setIcon("image-file"),e.setTitle("Export as png")}))}readBlob(e){const t=new FileReader;return new Promise((n=>{t.onload=e=>{n(e.target.result)},t.readAsDataURL(e)}))}loadImage(e){const t=new Image;return new Promise((n=>{t.onload=()=>n(t),t.src=e}))}saveAsPng(){return t(this,void 0,void 0,(function*(){const e=yield this.app.vault.read(this.file),t=document.createElement("canvas"),n=t.getContext("2d"),i=new Blob([e],{type:"image/svg+xml"}),a=yield this.readBlob(i),r=yield this.loadImage(a);t.height=r.naturalHeight,t.width=r.naturalWidth,n.fillStyle="#fff",n.fillRect(0,0,t.width,t.height),n.drawImage(r,0,0);const l=t.toDataURL("image/png"),o=document.createElement("a");o.setAttribute("href",l),o.setAttribute("download",this.file.basename+".png"),document.body.appendChild(o),o.click(),document.body.removeChild(o)}))}}var i,a;!function(e){e.Script="script",e.Stylesheet="stylesheet",e.Css="css",e.FrameConfig="frame-config",e.Load="load",e.ToggleBodyClass="toggle-body-class"}(i||(i={})),function(e){e.Change="change",e.Iframe="iframe",e.Init="init",e.Load="load",e.FocusIn="focusin",e.FocusOut="focusout"}(a||(a={}));class r{constructor(e,t){this.awaitedMessages=new Set,this.targetFactory=e,this.listener=n=>{const i=e();if(n.source!==i)return;const a=JSON.parse(n.data);t&&t(a);Array.from(this.awaitedMessages.values()).forEach((e=>{e.filter(a)&&(this.awaitedMessages.delete(e),e.callback(a))}))},window.addEventListener("message",this.listener)}validateTarget(e){if("object"!=typeof e||null===e)throw Error("Target window is not an object");if("function"!=typeof e.postMessage)throw Error("Target window does not have a postMessage function")}waitForMessage(e,t){return new Promise(((n,i)=>{const a=setTimeout((()=>{this.awaitedMessages.delete(r),i("Timeout waiting for message")}),t),r={filter:e,callback:e=>{this.awaitedMessages.delete(r),clearTimeout(a),n(e)}};this.awaitedMessages.add(r)}))}sendMessageAndWait(e,t,n){const i=this.targetFactory();this.validateTarget(i);const a=this.waitForMessage(t,n);return i.postMessage(JSON.stringify(e),"*"),a}sendMessage(e){const t=this.targetFactory();this.validateTarget(t),t.postMessage(JSON.stringify(e),"*")}destroy(){window.removeEventListener("message",this.listener)}}class l extends Event{constructor(e){super("fileChange"),this.data=e}}class o extends Event{constructor(e){super("fileLoad"),this.data=e}}class s extends Event{constructor(e){super("stateChange"),this.initialized=e}}class c{constructor(e,t){this.iframeElement=null,this.contentEl=e,this.settings=t,this.file=null,this.isInitialized=!1,this.iframeElement=this.createFrameElement(),this.frameMessenger=new r((()=>this.iframeElement.contentWindow),this.handleMessage.bind(this)),this.contentEl.appendChild(this.iframeElement)}destroy(){this.iframeElement&&(this.iframeElement.parentElement&&this.iframeElement.parentElement.removeChild(this.iframeElement),this.iframeElement=null),this.frameMessenger&&this.frameMessenger.destroy()}loadFile(e){return t(this,void 0,void 0,(function*(){this.file=null,this.isInitialized||(yield this.waitForInit()),this.frameMessenger.sendMessage({action:i.Load,xml:e});const t="undefined"!==(yield this.frameMessenger.waitForMessage((e=>"load"===e.event),5e3)).xml;return t&&(this.file={data:e}),t}))}addEventListener(e,t,n){return this.iframeElement.addEventListener.call(this.iframeElement,e,t,n)}dispatchEvent(e){return this.iframeElement.dispatchEvent.call(this.iframeElement,e)}removeEventListener(e,t,n){return this.iframeElement.removeEventListener.call(this.iframeElement,e,t,n)}createFrameElement(){const e="data:text/html,"+encodeURIComponent('\n<script>\nconst onWindowMessage = (messageEvent) => {\n const message = JSON.parse(messageEvent.data);\n if(message.action==="script"){\n const scriptElement = document.createElement("script");\n scriptElement.text = message.script;\n document.head.appendChild(scriptElement);\n }\n window.removeEventListener("message", onWindowMessage);\n}\nwindow.addEventListener("message",onWindowMessage);\nwindow.parent.postMessage("{\\"event\\":\\"iframe\\"}",\'*\');\n<\/script>'),t=document.createElement("iframe");return t.setAttribute("frameborder","0"),t.setAttribute("style","z-index:1;display:block;height:100%;width:100%;"),t.setAttribute("src",e),t}toggleBodyClassName(e,t){this.frameMessenger.sendMessage({action:i.ToggleBodyClass,className:e,force:t})}addScriptToFrame(e){this.frameMessenger.sendMessage({action:i.Script,script:e})}addCssToFrame(e){this.frameMessenger.sendMessage({action:i.Css,css:e})}addStylesheetToFrame(e){this.frameMessenger.sendMessage({action:i.Stylesheet,stylesheet:e})}waitForInit(){return t(this,void 0,void 0,(function*(){yield this.frameMessenger.waitForMessage((e=>"init"===e.event),5e3)}))}handleMessage(e){switch(e.event){case a.Iframe:this.isInitialized=!1,this.dispatchEvent(new s(this.isInitialized)),this.addScriptToFrame('!function(){"use strict";var r,n;!function(r){r.Script="script",r.Stylesheet="stylesheet",r.Css="css",r.FrameConfig="frame-config",r.Load="load",r.ToggleBodyClass="toggle-body-class"}(r||(r={})),function(r){r.Change="change",r.Iframe="iframe",r.Init="init",r.Load="load",r.FocusIn="focusin",r.FocusOut="focusout"}(n||(n={}));var e=function(){function r(r,n){var e=this;this.awaitedMessages=new Set,this.targetFactory=r,this.listener=function(o){var t=r();if(o.source===t){var i=JSON.parse(o.data);n&&n(i),Array.from(e.awaitedMessages.values()).forEach((function(r){r.filter(i)&&(e.awaitedMessages.delete(r),r.callback(i))}))}},window.addEventListener("message",this.listener)}return r.prototype.validateTarget=function(r){if("object"!=typeof r||null===r)throw Error("Target window is not an object");if("function"!=typeof r.postMessage)throw Error("Target window does not have a postMessage function")},r.prototype.waitForMessage=function(r,n){var e=this;return new Promise((function(o,t){var i=setTimeout((function(){e.awaitedMessages.delete(a),t("Timeout waiting for message")}),n),a={filter:r,callback:function(r){e.awaitedMessages.delete(a),clearTimeout(i),o(r)}};e.awaitedMessages.add(a)}))},r.prototype.sendMessageAndWait=function(r,n,e){var o=this.targetFactory();this.validateTarget(o);var t=this.waitForMessage(n,e);return o.postMessage(JSON.stringify(r),"*"),t},r.prototype.sendMessage=function(r){var n=this.targetFactory();this.validateTarget(n),n.postMessage(JSON.stringify(r),"*")},r.prototype.destroy=function(){window.removeEventListener("message",this.listener)},r}();\n/*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n\n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n\n THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** */function o(r,n,e){if(e||2===arguments.length)for(var o,t=0,i=n.length;t<i;t++)!o&&t in n||(o||(o=Array.prototype.slice.call(n,0,t)),o[t]=n[t]);return r.concat(o||Array.prototype.slice.call(n))}function t(r,n,e){var o=r[n];r[n]=e(o)}var i=function(){function r(r){this.responses=r,this.blobCache=new Map}return r.interceptRequests=function(n){var e=new r(n);return e.interceptRequests(),e},r.prototype.resolveResourceUrl=function(r){if(r.startsWith("app://"))return r;if(r.startsWith("data:"))return r;if(/^(https?:|\\/\\/)/.test(r))return r;if("#default#VML"===r)return r;if(this.blobCache.has(r))return this.blobCache.get(r);var n=this.responses.find((function(n){return n.href===r}));if(void 0===n)return console.warn("Missing local resource","https://app.diagrams.net/"+r),"https://app.diagrams.net/"+r;var e,o=n.mediaType,t=n.source,i=o.endsWith(";base64");if(i&&t.length<1024)e="data:"+o+","+t;else{var a=new Blob([i?atob(t):t],{type:o});e=URL.createObjectURL(a)}return this.blobCache.set(r,e),e},r.prototype.interceptStylesheets=function(){var r=this.resolveResourceUrl.bind(this);t(HTMLLinkElement.prototype,"setAttribute",(function(n){return function(e,o){return"href"===e&&(o=r(o)),n.call(this,e,o)}}))},r.prototype.interceptScripts=function(){var r=this.resolveResourceUrl.bind(this);t(HTMLScriptElement.prototype,"setAttribute",(function(n){return function(e,o){return"src"===e&&(o=r(o)),n.call(this,e,o)}})),Object.defineProperty(HTMLScriptElement.prototype,"src",{set:function(r){this.setAttribute("src",r)}})},r.prototype.interceptImages=function(){var r=this.resolveResourceUrl.bind(this);t(HTMLImageElement.prototype,"setAttribute",(function(n){return function(e,o){return"src"===e&&(o=r(o)),n.call(this,e,o)}})),Object.defineProperty(HTMLImageElement.prototype,"src",{set:function(r){this.setAttribute("src",r)}})},r.prototype.interceptCss=function(){var r=this.resolveResourceUrl.bind(this),n=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"style"),e=/(url\\([\\\'\\"]?)(.*)([\\\'\\"]?\\))/g;Object.defineProperty(HTMLElement.prototype,"style",{get:function(){var o=n.get.call(this);return new Proxy(o,{set:function(n,o,t,i){if("string"!=typeof t)return Reflect.set(n,o,t,i);e.test(t)&&(t=t.replace(e,(function(n,e,o,t){return""+e+r(o)+t})));try{return Reflect.set(n,o,t)}catch(r){console.warn(r)}}})}})},r.prototype.interceptXhrRequests=function(){var r=this.resolveResourceUrl.bind(this);t(XMLHttpRequest.prototype,"open",(function(n){return function(e,t){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];return t=r(t),console.warn("XHR",e,t),n.call.apply(n,o([this,e,t],i,!1))}}))},r.prototype.interceptRequests=function(){this.interceptStylesheets(),this.interceptScripts(),this.interceptImages(),this.interceptCss(),this.interceptXhrRequests()},r}();function a(r,n){var e=document.createElement("script");n&&e.addEventListener("load",(function(){n()})),e.setAttribute("src",r),document.head.appendChild(e)}var d,l=function(){function o(r,o){var t=this;this.window=r,this.frameMessenger=new e((function(){return t.window.parent}),this.handleMessages.bind(this)),this.configurationManager=o,Object.defineProperty(document,"cookie",{value:""}),Object.defineProperty(r,"mxLoadResources",{value:!1}),Object.defineProperty(r,"mxscript",{value:a}),Object.defineProperty(r,"isLocalStorage",{value:!1}),Object.defineProperty(r,"localStorage",{value:{getItem:function(r){console.warn("Disabled localStorage getItem",r)},setItem:function(r,n){console.warn("Disabled localStorage setItem",r,n)},removeItem:function(r){console.warn("Disabled localStorage removeItem",r)}}}),r.addEventListener("focus",(function(){t.frameMessenger.sendMessage({event:n.FocusIn})})),r.addEventListener("blur",(function(){t.frameMessenger.sendMessage({event:n.FocusOut})}))}return o.main=function(r,n){return new o(r,n)},o.prototype.addScript=function(r){var n=document.createElement("script");n.text=r,document.head.appendChild(n)},o.prototype.addCss=function(r){var n=document.createElement("style");n.textContent=r,document.head.appendChild(n)},o.prototype.addStylesheet=function(r){var n=document.createElement("link");n.rel="stylesheet",n.href=r,document.head.appendChild(n)},o.prototype.toggleBodyClassName=function(r,n){document.body.classList.toggle(r,n)},o.prototype.handleFrameConfigMessage=function(r){var n=r.settings;this.configurationManager.setConfig(n)},o.prototype.handleMessages=function(n){if("action"in n)switch(n.action){case r.Script:this.addScript(n.script);break;case r.Stylesheet:this.addStylesheet(n.stylesheet);break;case r.Css:this.addCss(n.css);break;case r.ToggleBodyClass:this.toggleBodyClassName(n.className,n.force);break;case r.FrameConfig:this.handleFrameConfigMessage(n)}},o}(),s="// This is a stub file that replaces the original\\r\\n",g=[{mediaType:"text/css",href:"local://drawio.css",source:"@keyframes geBellAnim {\\r\\n 0%,\\r\\n 20%,\\r\\n 80%,\\r\\n to {\\r\\n transform: rotate(0);\\r\\n }\\r\\n 10% {\\r\\n transform: rotate(30deg);\\r\\n }\\r\\n 90% {\\r\\n transform: rotate(-30deg);\\r\\n }\\r\\n}\\r\\n@keyframes geRadAnim {\\r\\n 0%,\\r\\n 20%,\\r\\n 80%,\\r\\n to {\\r\\n transform: translateX(0);\\r\\n }\\r\\n 10% {\\r\\n transform: translateX(5px);\\r\\n }\\r\\n 90% {\\r\\n transform: translateX(-5px);\\r\\n }\\r\\n}\\r\\n@keyframes geZoomAnim {\\r\\n 0% {\\r\\n opacity: 0;\\r\\n transform: scale(0);\\r\\n }\\r\\n 50% {\\r\\n opacity: 1;\\r\\n transform: scale(1);\\r\\n }\\r\\n to {\\r\\n opacity: 1;\\r\\n }\\r\\n}\\r\\n@-webkit-keyframes geHere-am-i {\\r\\n 0% {\\r\\n transform: translate3d(0, 50px, 0);\\r\\n opacity: 0;\\r\\n }\\r\\n to {\\r\\n transform: translate3d(0, 0, 0);\\r\\n opacity: 1;\\r\\n }\\r\\n}\\r\\n@keyframes geHere-am-i {\\r\\n 0% {\\r\\n transform: translate3d(0, 50px, 0);\\r\\n opacity: 0;\\r\\n }\\r\\n to {\\r\\n transform: translate3d(0, 0, 0);\\r\\n opacity: 1;\\r\\n }\\r\\n}\\r\\n.mxCellEditor,\\r\\ndiv.mxRubberband,\\r\\ndiv.mxWindow {\\r\\n position: absolute;\\r\\n overflow: hidden;\\r\\n}\\r\\ndiv.mxRubberband {\\r\\n border-style: solid;\\r\\n border-width: 1px;\\r\\n border-color: #00f;\\r\\n background: #07f;\\r\\n}\\r\\n.mxCellEditor {\\r\\n background: url(data:image/gif;base64,R0lGODlhMAAwAIAAAP///wAAACH5BAEAAAAALAAAAAAwADAAAAIxhI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8egpAAA7);\\r\\n border-color: transparent;\\r\\n border-style: solid;\\r\\n display: inline-block;\\r\\n overflow: visible;\\r\\n word-wrap: normal;\\r\\n border-width: 0;\\r\\n min-width: 1px;\\r\\n resize: none;\\r\\n}\\r\\n.mxCellEditor,\\r\\n.mxPlainTextEditor * {\\r\\n padding: 0;\\r\\n margin: 0;\\r\\n}\\r\\ndiv.mxWindow {\\r\\n box-shadow: 3px 3px 12px silver;\\r\\n background: url(data:image/gif;base64,R0lGODlhGgAUAIAAAOzs7PDw8CH5BAAAAAAALAAAAAAaABQAAAIijI+py70Ao5y02lud3lzhD4ZUR5aPiKajyZbqq7YyB9dhAQA7);\\r\\n border: 1px solid #c3c3c3;\\r\\n z-index: 1;\\r\\n}\\r\\ntable.mxWindow {\\r\\n border-collapse: collapse;\\r\\n table-layout: fixed;\\r\\n font-family: inherit;\\r\\n font-size: 8pt;\\r\\n}\\r\\ntd.mxWindowTitle {\\r\\n background: url(data:image/gif;base64,R0lGODlhFwAXAMQAANfX18rKyuHh4c7OzsDAwMHBwc/Pz+Li4uTk5NHR0dvb2+jo6O/v79/f3/n5+dnZ2dbW1uPj44yMjNPT0+Dg4N3d3ebm5szMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAXABcAAAWQICESxWiW5Ck6bOu+MMvMdG3f86LvfO/rlqBwSCwaj8ikUohoOp/QaDNCrVqvWKpgezhsv+AwmEIum89ocmPNbrvf64p8Tq/b5Yq8fs/v5x+AgYKDhIAAh4iJiouHEI6PkJGSjhOVlpeYmZUJnJ2en6CcBqMDpaanqKgXq6ytrq+rAbKztLW2shK5uru8vbkhADs=)\\r\\n repeat-x;\\r\\n text-overflow: ellipsis;\\r\\n white-space: nowrap;\\r\\n text-align: center;\\r\\n font-weight: 700;\\r\\n overflow: hidden;\\r\\n height: 13px;\\r\\n padding: 4px 2px 6px;\\r\\n color: #000;\\r\\n}\\r\\ntd.mxWindowPane {\\r\\n vertical-align: top;\\r\\n padding: 0;\\r\\n}\\r\\ndiv.mxWindowPane {\\r\\n overflow: hidden;\\r\\n position: relative;\\r\\n}\\r\\ntd.mxPopupMenuItem,\\r\\ntd.mxWindowPane button,\\r\\ntd.mxWindowPane td {\\r\\n font-family: inherit;\\r\\n font-size: 8pt;\\r\\n}\\r\\ntd.mxWindowPane input,\\r\\ntd.mxWindowPane radio,\\r\\ntd.mxWindowPane select,\\r\\ntd.mxWindowPane textarea {\\r\\n border-color: #8c8c8c;\\r\\n border-style: solid;\\r\\n border-width: 1px;\\r\\n font-family: inherit;\\r\\n font-size: 8pt;\\r\\n padding: 1px;\\r\\n}\\r\\ntd.mxWindowPane button {\\r\\n background: url(data:image/gif;base64,R0lGODlhCgATALMAAP7+/t7e3vj4+Ojo6OXl5e/v7/n5+fb29vPz8/39/e3t7fHx8e7u7v///wAAAAAAACH5BAAAAAAALAAAAAAKABMAAAQ2MMlJhb0Y6c2X/2AhjiRjnqiirizqMkEsz0Rt30Ou7y8K/ouDcEg0GI9IgHLJbDif0Kh06owAADs=)\\r\\n repeat-x;\\r\\n padding: 2px;\\r\\n float: left;\\r\\n}\\r\\nimg.mxToolbarItem {\\r\\n margin-right: 6px;\\r\\n margin-bottom: 6px;\\r\\n border-width: 1px;\\r\\n}\\r\\nselect.mxToolbarCombo {\\r\\n vertical-align: top;\\r\\n border-style: inset;\\r\\n border-width: 2px;\\r\\n}\\r\\ndiv.mxToolbarComboContainer {\\r\\n padding: 2px;\\r\\n}\\r\\nimg.mxToolbarMode {\\r\\n margin: 2px 4px 4px 2px;\\r\\n border-width: 0;\\r\\n}\\r\\nimg.mxToolbarModeSelected {\\r\\n margin: 0 2px 2px 0;\\r\\n border-width: 2px;\\r\\n border-style: inset;\\r\\n}\\r\\ndiv.mxPopupMenu,\\r\\ndiv.mxTooltip {\\r\\n box-shadow: 3px 3px 12px silver;\\r\\n position: absolute;\\r\\n border-style: solid;\\r\\n border-width: 1px;\\r\\n border-color: #000;\\r\\n}\\r\\ndiv.mxTooltip {\\r\\n background: #ffc;\\r\\n font-family: inherit;\\r\\n font-size: 8pt;\\r\\n cursor: default;\\r\\n padding: 4px;\\r\\n color: #000;\\r\\n}\\r\\ndiv.mxPopupMenu {\\r\\n background-color: #fff;\\r\\n}\\r\\ntable.mxPopupMenu {\\r\\n border-collapse: collapse;\\r\\n margin-top: 1px;\\r\\n margin-bottom: 1px;\\r\\n}\\r\\ntr.mxPopupMenuItem {\\r\\n color: #000;\\r\\n cursor: pointer;\\r\\n}\\r\\ntr.mxPopupMenuItemHover {\\r\\n background-color: #006;\\r\\n color: #fff;\\r\\n cursor: pointer;\\r\\n}\\r\\ntd.mxPopupMenuItem {\\r\\n padding: 2px 30px 2px 10px;\\r\\n white-space: nowrap;\\r\\n}\\r\\ntd.mxPopupMenuIcon {\\r\\n padding: 2px 4px;\\r\\n}\\r\\n.mxDisabled {\\r\\n opacity: 0.2 !important;\\r\\n cursor: default !important;\\r\\n}\\r\\n.geEditor {\\r\\n font-family: inherit;\\r\\n font-size: 14px;\\r\\n border: 0;\\r\\n margin: 0;\\r\\n}\\r\\n.geEditor input,\\r\\nbutton,\\r\\nselect,\\r\\ntextarea {\\r\\n font-size: inherit;\\r\\n}\\r\\n.geEditor input {\\r\\n border-width: 2px;\\r\\n}\\r\\n.geEditor select {\\r\\n border-width: 1px;\\r\\n}\\r\\n.geEditor div.mxTooltip {\\r\\n background: #f5f5f5;\\r\\n border-color: #d3d3d3;\\r\\n font-size: 11px;\\r\\n color: #000;\\r\\n padding: 6px;\\r\\n}\\r\\n.geDragPreview {\\r\\n border: 1px dashed #000;\\r\\n}\\r\\n.geMenubarContainer .geItem,\\r\\n.geToolbar .geButton,\\r\\n.geToolbar .geLabel {\\r\\n cursor: pointer !important;\\r\\n}\\r\\n.geSidebarContainer .geTitle {\\r\\n cursor: default !important;\\r\\n}\\r\\n.geBackgroundPage {\\r\\n box-shadow: 0 0 2px 1px #d1d1d1;\\r\\n}\\r\\n.geMenubarContainer a,\\r\\n.geSidebarContainer a,\\r\\n.geToolbar a {\\r\\n color: #000;\\r\\n text-decoration: none;\\r\\n}\\r\\n.geDiagramContainer,\\r\\n.geMenubarContainer,\\r\\n.geToolbarContainer {\\r\\n overflow: hidden;\\r\\n position: absolute;\\r\\n cursor: default;\\r\\n}\\r\\n.geFooterContainer,\\r\\n.geSidebarContainer {\\r\\n cursor: default;\\r\\n}\\r\\n.geFooterContainer,\\r\\n.geHsplit,\\r\\n.geVsplit {\\r\\n overflow: hidden;\\r\\n position: absolute;\\r\\n}\\r\\n.geFormatContainer {\\r\\n overflow-x: hidden !important;\\r\\n overflow-y: auto !important;\\r\\n font-size: 12px;\\r\\n border-left: 1px solid #dadce0;\\r\\n}\\r\\n.geSidebarFooter {\\r\\n border-top: 1px solid #dadce0;\\r\\n}\\r\\n.geFormatSection {\\r\\n border-bottom: 1px solid #dadce0;\\r\\n border-color: #dadce0;\\r\\n}\\r\\n.geDiagramContainer {\\r\\n background-color: #fff;\\r\\n font-size: 0;\\r\\n outline: 0;\\r\\n}\\r\\n.geMenubar,\\r\\n.geToolbar {\\r\\n white-space: nowrap;\\r\\n display: block;\\r\\n width: 100%;\\r\\n}\\r\\n.geMenubarContainer .geItem,\\r\\n.geSidebar,\\r\\n.geSidebar .geItem,\\r\\n.geSidebarContainer .geTitle,\\r\\n.geToolbar .geButton,\\r\\n.geToolbar .geLabel,\\r\\n.mxPopupMenuItem {\\r\\n transition: all 0.1s ease-in-out;\\r\\n}\\r\\n.geHint {\\r\\n background-color: #fff;\\r\\n border: 1px solid gray;\\r\\n padding: 4px 16px;\\r\\n border-radius: 3px;\\r\\n box-shadow: 1px 1px 2px 0 #ddd;\\r\\n opacity: 0.8;\\r\\n font-size: 9pt;\\r\\n}\\r\\n.geStatusAlert,\\r\\n.geStatusAlertOrange {\\r\\n margin-top: -5px;\\r\\n font-size: 12px;\\r\\n padding: 4px 6px;\\r\\n}\\r\\n.geStatusAlert {\\r\\n white-space: nowrap;\\r\\n background-color: #f2dede;\\r\\n border: 1px solid #ebccd1;\\r\\n color: #a94442 !important;\\r\\n border-radius: 3px;\\r\\n}\\r\\n.geStatusAlertOrange {\\r\\n background-color: #f2931e;\\r\\n border: #f08705;\\r\\n color: #000 !important;\\r\\n opacity: 0.8;\\r\\n}\\r\\n.geStatusAlertOrange:hover {\\r\\n opacity: 1;\\r\\n}\\r\\n.geAlert,\\r\\n.geStatusAlertOrange,\\r\\n.geStatusMessage {\\r\\n white-space: nowrap;\\r\\n border-radius: 3px;\\r\\n}\\r\\n.geStatusMessage {\\r\\n margin-top: -5px;\\r\\n padding: 4px 6px;\\r\\n font-size: 12px;\\r\\n background: linear-gradient(to bottom, #dff0d8 0, #c8e5bc 100%);\\r\\n background-repeat: repeat-x;\\r\\n border: 1px solid #b2dba1;\\r\\n color: #3c763d !important;\\r\\n}\\r\\n.geAlert {\\r\\n position: absolute;\\r\\n padding: 14px;\\r\\n background-color: #f2dede;\\r\\n border: 1px solid #ebccd1;\\r\\n color: #a94442;\\r\\n box-shadow: 2px 2px 3px 0 #ddd;\\r\\n}\\r\\n.geBtn,\\r\\n.mxWindow .geBtn {\\r\\n background-image: none;\\r\\n background-color: #f5f5f5;\\r\\n border-radius: 2px;\\r\\n border: 1px solid #d8d8d8;\\r\\n color: #333;\\r\\n font-size: 13px;\\r\\n font-weight: 500;\\r\\n letter-spacing: 0.25px;\\r\\n height: 29px;\\r\\n line-height: 27px;\\r\\n margin: 0 0 0 8px;\\r\\n min-width: 72px;\\r\\n outline: 0;\\r\\n padding: 0 8px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geBtn:focus,\\r\\n.geBtn:hover {\\r\\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);\\r\\n border: 1px solid #c6c6c6;\\r\\n background-color: #f8f8f8;\\r\\n background-image: linear-gradient(#f8f8f8 0, #f1f1f1 100%);\\r\\n color: #111;\\r\\n}\\r\\n.geBtn:active,\\r\\n.geStatus:active {\\r\\n opacity: 0.7;\\r\\n}\\r\\n.geBtn:disabled {\\r\\n opacity: 0.5;\\r\\n}\\r\\n.geToolbarContainer > .geToolbar > div > a:active {\\r\\n opacity: 0.5;\\r\\n}\\r\\n.geBtnDown,\\r\\n.geBtnUp {\\r\\n background-image: url(data:image/gif;base64,R0lGODlhCgAGAJECAGZmZtXV1f///wAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0QzM3ODJERjg4NUQxMUU0OTFEQ0E2MzRGQzcwNUY3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0QzM3ODJFMDg4NUQxMUU0OTFEQ0E2MzRGQzcwNUY3NCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjRDMzc4MkREODg1RDExRTQ5MURDQTYzNEZDNzA1Rjc0IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRDMzc4MkRFODg1RDExRTQ5MURDQTYzNEZDNzA1Rjc0Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAgAsAAAAAAoABgAAAg6UjwiQBhGYglCKhXFLBQA7);\\r\\n background-position: center center;\\r\\n background-repeat: no-repeat;\\r\\n}\\r\\n.geBtnDown:active,\\r\\n.geBtnUp:active {\\r\\n background-color: #4d90fe;\\r\\n background-image: linear-gradient(#4d90fe 0, #357ae8 100%);\\r\\n}\\r\\n.geBtnDown {\\r\\n background-image: url(data:image/gif;base64,R0lGODlhCgAGAJECANXV1WZmZv///wAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0QzM3ODJEQjg4NUQxMUU0OTFEQ0E2MzRGQzcwNUY3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0QzM3ODJEQzg4NUQxMUU0OTFEQ0E2MzRGQzcwNUY3NCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjRDMzc4MkQ5ODg1RDExRTQ5MURDQTYzNEZDNzA1Rjc0IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRDMzc4MkRBODg1RDExRTQ5MURDQTYzNEZDNzA1Rjc0Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAgAsAAAAAAoABgAAAg6UjxLLewEiCAnOZBzeBQA7);\\r\\n}\\r\\n.geColorBtn {\\r\\n background-color: #f5f5f5;\\r\\n background-image: linear-gradient(#f5f5f5 0, #e1e1e1 100%);\\r\\n border-radius: 4px;\\r\\n border: 1px solid rgba(0, 0, 0, 0.5);\\r\\n color: #333;\\r\\n margin: 0;\\r\\n outline: 0;\\r\\n padding: 0;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geColorBtn:hover {\\r\\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);\\r\\n border: 1px solid rgba(0, 0, 0, 0.7);\\r\\n}\\r\\n.geColorBtn:active {\\r\\n background-color: #4d90fe;\\r\\n background-image: linear-gradient(#4d90fe 0, #357ae8 100%);\\r\\n border: 1px solid #2f5bb7;\\r\\n color: #fff;\\r\\n}\\r\\n.geColorBtn:disabled {\\r\\n opacity: 0.5;\\r\\n}\\r\\n.gePrimaryBtn,\\r\\n.mxWindow .gePrimaryBtn {\\r\\n background-color: #4d90fe;\\r\\n background-image: linear-gradient(#4d90fe 0, #4787ed 100%);\\r\\n border: 1px solid #3079ed;\\r\\n color: #fff;\\r\\n}\\r\\n.gePrimaryBtn:focus,\\r\\n.gePrimaryBtn:hover {\\r\\n background-color: #357ae8;\\r\\n background-image: linear-gradient(#4d90fe 0, #357ae8 100%);\\r\\n border: 1px solid #2f5bb7;\\r\\n color: #fff;\\r\\n}\\r\\n.gePrimaryBtn:disabled {\\r\\n opacity: 0.5;\\r\\n}\\r\\n.geAlertLink,\\r\\n.geFooterContainer a {\\r\\n color: #843534;\\r\\n font-weight: 700;\\r\\n text-decoration: none;\\r\\n}\\r\\n.geActivePage {\\r\\n font-weight: 700;\\r\\n color: #188038 !important;\\r\\n}\\r\\n.geHsplit,\\r\\n.geMenubarContainer,\\r\\n.geToolbarContainer,\\r\\n.geVsplit {\\r\\n background-color: #fbfbfb;\\r\\n}\\r\\n.geMenubar {\\r\\n padding: 0 2px;\\r\\n vertical-align: middle;\\r\\n}\\r\\n.geMenubarContainer .geItem,\\r\\n.geToolbar .geItem {\\r\\n padding: 6px 6px 6px 9px;\\r\\n}\\r\\n.geToolbar .geItem {\\r\\n cursor: default;\\r\\n}\\r\\n.geMenubarContainer .geItem:hover {\\r\\n background: #eee;\\r\\n border-radius: 2px;\\r\\n}\\r\\n.geMenubarContainer .geItem:active {\\r\\n background: #f8c382;\\r\\n}\\r\\n.geToolbarContainer .geButton:hover {\\r\\n opacity: 1;\\r\\n background: #eee;\\r\\n border-radius: 2px;\\r\\n}\\r\\n.geToolbarContainer .geButton:active,\\r\\n.geToolbarContainer .geLabel:active {\\r\\n background: #f8c382;\\r\\n}\\r\\n.geToolbarContainer .geLabel:hover {\\r\\n background: #eee;\\r\\n border-radius: 2px;\\r\\n}\\r\\n.geActiveButton:active {\\r\\n opacity: 0.3;\\r\\n}\\r\\n.geToolbarButton {\\r\\n opacity: 0.6;\\r\\n}\\r\\n.geToolbarButton:active {\\r\\n opacity: 0.2;\\r\\n}\\r\\n.mxDisabled:hover {\\r\\n background: inherit !important;\\r\\n}\\r\\n.geMenubar a.geStatus {\\r\\n color: #888;\\r\\n padding-left: 12px;\\r\\n display: inline-block;\\r\\n cursor: default !important;\\r\\n}\\r\\n.geMenubar a.geStatus:hover {\\r\\n background: 0 0;\\r\\n}\\r\\n.geToolbarContainer {\\r\\n border-bottom: 1px solid #dadce0;\\r\\n}\\r\\n.geSidebarContainer .geToolbarContainer {\\r\\n background: 0 0;\\r\\n border-bottom: none;\\r\\n}\\r\\n.geSidebarContainer button {\\r\\n text-overflow: ellipsis;\\r\\n overflow: hidden;\\r\\n}\\r\\n.geToolbar {\\r\\n border-top: 1px solid #dadce0;\\r\\n box-shadow: inset 0 1px 0 0 #fff;\\r\\n padding: 5px 0 0 6px;\\r\\n}\\r\\n.geToolbarContainer .geSeparator {\\r\\n float: left;\\r\\n width: 1px;\\r\\n height: 20px;\\r\\n background: #e5e5e5;\\r\\n margin-left: 6px;\\r\\n margin-right: 6px;\\r\\n margin-top: 4px;\\r\\n}\\r\\n.geToolbarContainer .geButton,\\r\\n.geToolbarContainer .geLabel {\\r\\n float: left;\\r\\n margin: 2px;\\r\\n cursor: pointer;\\r\\n border: 1px solid transparent;\\r\\n}\\r\\n.geToolbarContainer .geButton {\\r\\n width: 20px;\\r\\n height: 20px;\\r\\n padding: 0 2px 4px;\\r\\n opacity: 0.6;\\r\\n}\\r\\ndiv.mxWindow .geButton {\\r\\n margin: -1px 2px 2px;\\r\\n padding: 1px 2px 2px 1px;\\r\\n}\\r\\n.geToolbarContainer .geLabel {\\r\\n padding: 3px 5px;\\r\\n}\\r\\n.geToolbarContainer .mxDisabled:hover {\\r\\n border: 1px solid transparent !important;\\r\\n opacity: 0.2 !important;\\r\\n}\\r\\n.geDiagramBackdrop {\\r\\n background-color: #f8f9fa;\\r\\n}\\r\\n.geSidebarContainer {\\r\\n background: #fbfbfb;\\r\\n position: absolute;\\r\\n overflow: auto;\\r\\n}\\r\\n.geTabContainer {\\r\\n border-top: 1px solid #e5e5e5;\\r\\n background-color: #f1f3f4;\\r\\n}\\r\\n.geSidebar,\\r\\n.geSidebarContainer .geTitle {\\r\\n border-bottom: 1px solid #e5e5e5;\\r\\n overflow: hidden;\\r\\n}\\r\\n.geSidebar {\\r\\n padding: 6px 6px 6px 10px;\\r\\n}\\r\\n.geSidebarContainer .geTitle {\\r\\n display: block;\\r\\n font-size: 13px;\\r\\n font-weight: 500;\\r\\n padding: 8px 0 8px 14px;\\r\\n margin: 0;\\r\\n white-space: nowrap;\\r\\n text-overflow: ellipsis;\\r\\n line-height: 1.4em;\\r\\n}\\r\\n.geSidebarContainer .geTitle:hover {\\r\\n background: #eee;\\r\\n border-radius: 2px;\\r\\n}\\r\\n.geSidebarContainer .geTitle:active {\\r\\n background-color: #f8c382;\\r\\n}\\r\\n.geSidebarContainer .geDropTarget {\\r\\n border-radius: 10px;\\r\\n border: 2px dotted #b0b0b0;\\r\\n text-align: center;\\r\\n padding: 6px;\\r\\n margin: 6px;\\r\\n color: #a0a0a0;\\r\\n font-size: 13px;\\r\\n}\\r\\n.geTitle img {\\r\\n opacity: 0.5;\\r\\n}\\r\\n.geTitle img:hover {\\r\\n opacity: 1;\\r\\n}\\r\\n.geTitle .geButton {\\r\\n border: 1px solid transparent;\\r\\n padding: 3px;\\r\\n border-radius: 2px;\\r\\n}\\r\\n.geTitle .geButton:hover {\\r\\n border: 1px solid gray;\\r\\n}\\r\\n.geSidebar .geItem {\\r\\n display: inline-block;\\r\\n background-repeat: no-repeat;\\r\\n background-position: 50% 50%;\\r\\n border-radius: 8px;\\r\\n}\\r\\n.geHsplit:hover,\\r\\n.geSidebar .geItem:hover,\\r\\n.geVsplit:hover {\\r\\n background-color: #e0e0e0;\\r\\n}\\r\\n.geItem {\\r\\n vertical-align: top;\\r\\n display: inline-block;\\r\\n}\\r\\n.geSidebarTooltip {\\r\\n position: absolute;\\r\\n background: #fbfbfb;\\r\\n overflow: hidden;\\r\\n box-shadow: 0 2px 6px 2px rgba(60, 64, 67, 0.15);\\r\\n border-radius: 6px;\\r\\n}\\r\\n.geFooterContainer {\\r\\n background: #e5e5e5;\\r\\n border-top: 1px solid silver;\\r\\n}\\r\\n.geFooterContainer a {\\r\\n display: inline-block;\\r\\n box-sizing: border-box;\\r\\n width: 100%;\\r\\n white-space: nowrap;\\r\\n font-size: 14px;\\r\\n color: #235695;\\r\\n}\\r\\n.geFooterContainer table,\\r\\nhtml table.mxPopupMenu {\\r\\n border-collapse: collapse;\\r\\n margin: 0 auto;\\r\\n}\\r\\n.geFooterContainer td {\\r\\n border-left: 1px solid silver;\\r\\n border-right: 1px solid silver;\\r\\n}\\r\\n.geFooterContainer td:hover {\\r\\n background-color: #b3b3b3;\\r\\n}\\r\\n.geHsplit,\\r\\n.geVsplit {\\r\\n cursor: col-resize;\\r\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAHBAMAAADdS/HjAAAAGFBMVEUzMzP///9tbW1QUFCKiopBQUF8fHxfX1/IXlmXAAAAHUlEQVQImWMQEGAQFWUQFmYQF2cQEmIQE2MQEQEACy4BF67hpEwAAAAASUVORK5CYII=);\\r\\n background-repeat: no-repeat;\\r\\n background-position: center center;\\r\\n}\\r\\n.geVsplit {\\r\\n font-size: 1pt;\\r\\n cursor: row-resize;\\r\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAEBAMAAACw6DhOAAAAGFBMVEUzMzP///9tbW1QUFCKiopBQUF8fHxfX1/IXlmXAAAAFElEQVQImWNgNVdzYBAUFBRggLMAEzYBy29kEPgAAAAASUVORK5CYII=);\\r\\n}\\r\\n.geHsplit {\\r\\n border-left: 1px solid #e5e5e5;\\r\\n border-right: 1px solid #e5e5e5;\\r\\n}\\r\\n.geVSplit {\\r\\n border-top: 1px solid #e5e5e5;\\r\\n border-bottom: 1px solid #e5e5e5;\\r\\n}\\r\\n.geDialog {\\r\\n background: #fff;\\r\\n line-height: 1em;\\r\\n padding: 30px;\\r\\n border: 1px solid #acacac;\\r\\n box-shadow: 0 0 2px 2px #d5d5d5;\\r\\n}\\r\\n.geDialog,\\r\\n.geTransDialog {\\r\\n position: absolute;\\r\\n overflow: hidden;\\r\\n z-index: 2;\\r\\n}\\r\\n.geDialogClose {\\r\\n position: absolute;\\r\\n width: 9px;\\r\\n height: 9px;\\r\\n opacity: 0.5;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geDialogClose:hover {\\r\\n opacity: 1;\\r\\n}\\r\\n.geDialogFooter,\\r\\n.geDialogTitle {\\r\\n white-space: nowrap;\\r\\n box-sizing: border-box;\\r\\n}\\r\\n.geDialogTitle {\\r\\n background: #e5e5e5;\\r\\n border-bottom: 1px solid silver;\\r\\n font-size: 15px;\\r\\n font-weight: 700;\\r\\n text-align: center;\\r\\n color: #235695;\\r\\n}\\r\\n.geDialogFooter {\\r\\n background: #f5f5f5;\\r\\n text-align: right;\\r\\n border-top: 1px solid #e5e5e5;\\r\\n color: #a9a9a9;\\r\\n}\\r\\n.geSprite {\\r\\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAABeQCAMAAAByzXKPAAAA1VBMVEUAAAAzMzIzMzIzMzE1NTUzMzIzMzIzMzEzMzIyMjIzMzIzMzIzMzIzMzE6OjoyMjIzMzIzMzIzMzEzMzI0NDA0NDIwMDAyMjEzMzIzMzEzMzE0NDAzMzMzMzIyMjIzMzI0NDE0NDQyMjIzMzIzMzIzMzIzMzM5OTkAAAC1tbX///9mZmYwMDAQEBAmJiZTiPJ7e3v/Z2RwcHAgICB+fn5hYWFzc3NAQECoqKiampqMjIxTU1NGRkY3NzcbGxsNDQ3w8PBQUFDg4ODAwMCwsLCgoKBPT09W+xp5AAAAKHRSTlMAh4DDEd187+mljnhvVge5nmhMQi4hA8uxk2IlHOOYc102M/jW088J/2liTQAACt5JREFUeNrs3O1um0AQheG5nIPCoIq1Q7+r/Mn9X1K9xtEAM9RLQmODzyO1cV+NtzjShhjHkRkAgn9DMCaYnRXIGOQdtWmk1zRWm0vNN6az+Y+v2fXZ5iTX/kZ4ZGvUNT6/RJuCM/VVRKFB7YBwtnY1k3h2wboaHy8RFQC2VGuc1D730WWLS2GIZ27aM4yUT+9tXaLNw9m0mI9uokepRLeC+ZyCfFCoqwckqV3WBHFZaxHLFrNxVpgUVRWjg/jli2WbfH4WyxYnWcVV0Rz7FYj26X9ezQcuE3VYkXzFSYpm9eq6pqSiuNYAaj+r0GiFxKv5tEOqxVfV0utrCkZF/HCXTuOdGz2IHKbDR5wdJ6PdeRmIsfviED0C5ZV7ojf487v59fPHsT18//a1Yn1HJdoSjIUXBG5XgaBejhMYVmT9B1dRUONj4KtyRHNmNkULDYeD2CGVjiZ0paOK1jVuYKIpjJTO7m9dovvEn3bz/DH4440f2+d9fvlVh+4LLuK6cM8GVcKKkmq3ZqqBfbhaef4n+pijBudNZH3H+OW3No+rbTmVXjfciPbs/GVQ7QU6tWqUW5lonefHfn5f6xI9DAxdqQU3n55uU821mj2ZuUq0SYo2ivA5tThxk3rK6u+urYtZiqKuGiWMEkbp4/OFLITIvyrfekt35WGvjvP6OlERwP6+VU39z+ansp+0SThP8jk+0SeoAehRjObmdha0f2YwfucMss7uaPVF3rThN/EH6fH3YhEt3bD1zMlwGtu8/8a5zrHJuR6NyrkKMK5N5qqf9ev6Y4hfGfSPrc7ZWZqPQrQPa+x5Cfe8FO55m3Xrcs8T3TFUYQ0zqj5jTPoMmagQz4brFh8D3x5L9OngyRy+IEa0JgBRlaBWAIJYyVYjYDF47PwNV/TwAIRfB+BiFcyeolchija6+P7xd//IveI+JlpwnrdZP7xexdD6/4N/PDzP06NZdc8vP4H7WKFXLbqjQcU9T7QZvFhHdN/+sndmy6lCQRQ9KOA8Ro1TxjttYuUlX5BK5f+/6YJIWjlNFREkpLJXGQuWO01e2mPaU4pA17qH7iEeKfRsrrqh4/t0hJQPEJSokULPFpJse0Iu0PNQNVSNnOu8ZHPWZc8TUhkBgECRikZMrp4Xq9W1NPubkIIUm4hnrtyikSIjq+jck3bOBQkpnSBrkU97ALl73pJqXfFc5AlJqN3cXvoTEKIzJcu5PSEFqHiGp6ahz+33Z3rWtpzhEfK16DO8XXi3S2vIvfUCHnpWrcsZHiHVAFUG0KQJoEgjGjGRFG1l9bq25gyPkIoANBcEab9DEPf27iCk40VbWa0uP86WkMsTQHPQHBSnJJHCytp1dW9Uz2cBQoo0PEqVes/r2bM0131CLtLzUCVUidw9n6uuaPY8IdnUYMet2BTccUtIfShnz60mBe65JaTunL/tVqTAbbeE1ImCc3vl16McIEiWc3tCClD5DM9Ak7ZFZCBkZEVzhkfI5/n6Hbdp+wF33BJSH8rZc6vISB/gnltCas/Z225FStdz2y0hZXE19lrt5p177NyR11+OHb/THhzJP86wP2uYrjvz1h92eTseNEzDbB2nd/OY1Py9WNw6/qjnN+fmvnmwnYkxjf1t+mAW7XlsbzaJ3a7DzH1sf3Udp7m/dcOf615sW26SdfvGrCaxbV4l9nEan0X0xqEaRrbvmnlrGFu3PTN3ndUoLOuapW8ODLzudLVomMHA71z/MwmT9mTmN+bOZnS9NcJDs+V53t+WPzQnbNa9/nRoCPl2AKqObKFvltEBoPvcVwNwmavxOy3IDwFAlkWCWPBqhJDC8GtsCPlGYI8ciQyRI+3/CLHHscysXvf0ynzWIOQsPr3wWllkxNQskD+b82/Ihi8qCCm150XpObXnc2RFs+cJqRhAE5AHpI8BOZbH5TQdlXB8JAUEIC4AvkFPSMEl/dQ+v74+2/bl6enFtm/v72+W/c/eHSW3CUNRGNZyjgiZNHE6fW2b6f63VGScCHSvI7CxjfH/tYnTU43CywFiAfnT/On+lunH3274R5G2zbv03rTj9F+z92+U7pqPX52PZjdM35uf6vxs3ofp799Kulf2B8CEc2JVjvJm6OIT5CO9PekvD/8T767XgTc2z1umnEdggyT5eX2s+k9yGpvH1kqvI523IVfSAzdlW2gbu3zn5+6j/JFcfIft0lBOi4/J6cbmBTZJTdPo9fV1/3pamqTUFCalOVkunVdNTU5bSa2Nn7ULjl0A7o5/aGt6Z6TKUpVC7/VLSrWzqTo7b+yzO+9i28shHtugl5cXXS9NLnyYHVZ+Nz79UG7y4in7Aqza9po+tBsXP1B8wCW3m01yVqq9G3w3q/X+/1lpZ5WEbKdOTnNsxiYtd+ngjl28Fw+zhwGwLA0/mDeIS46AxWnO2MVnUFD627+sasuAxyJpTsp3A+6WgnplGpILpL1JR21lZt5k2ZSrFPE41AteEy+Q9qrn58qW77lNM877sXXq+fcGLp/2giETZO5tTYumHObxKDQ0aezhxb2feNE0MWlvqZS1SzwsJZdslu3x9fYae8HFXYeAKcIVejxwzgwc0YE6jTzuWOAuqOS+GTY3rc+rmDxAKn7VEPAt+amm/7Yu8ev0gfnkHckljT8nSoaf/RkeNgUejaKburGiYt696FNIcXrt/3yJh8Qba+advg0BwJCk66Qamp3WvxtX1gMzSDZya+BU8y2OR+ogyk7w5h+Nox+/6S04pNunwKqpt9Db9yemA2GokjqThGR+ms1JeYMe92hu5y2Zbs5O5be7mkru2Hlpgc5j434M1NPiq0qqgXoaDkwqTU21V0s7dgY/TfLX9XMT1udx56RJqTqf5aqlR3vVqtOWaYpbp4NtW2tmPaXbwAZI0U1zroI/tiRW9oBVOtL5QT6uu2TH0nlgnXRSqsLkGXg+JnBTCjopVeGceXk2FnAtColkUynGMn1SrHXejq3Py4U5wHXZvtluJtXO27H+vFyMB9xElFIxNQ6fUmFj9Xm6Sr67SrA6b94Gfp4HLsb2rSM53VSMpseK1c7bsXbechs4zgO3EiUvs6kK7tgsUmlglaLkZiZVStzOBzoPrJHOS1VgVR5YuTPXz1VgXR5YM/+u9xglkyZRT2WqghlbnVc8CA+4mtxRp5vB7XxW7bw3LwvywI0pr5MN6HNNrUi/fUZO4o6tzxuiuO0GuLzUUdu3GOV3M6raeTu2Nm8aR+eBlVD1BnoVjowt0HBgnY51PrqdT/9yxtJ5YHWkeGKswoxJuMcGuIYoKdowKOQ4Xxov+4Zb/khU8Mf681a3gZ/0gYt1PjGdV1J2/mBS5z/58zrbQOeBE6zpGZgA7smRzgc6D2xKlORlCiUVKrfSslMAVulI56PX+XHv81g6D6yPFM+MVWCJDliLJdfoMhVYowPWYsk1ukwF1uiAu1R/Hh5v2wNb8r+9O0pBGAaiKLqdm/1vUCiFSCdhTIjWhntAwefY5sMxRW1ToJnZ89KjQTnuGzGUWB1DLkJtul0ofocn3SOf5wMu3mu97q30GN2e99he2gKEpj6Dkvwjj4tebb5d8EBAuhuUJJ87f96f4aT/1OlNz7GRfgg+WheCUFsfE16cpEFNx5exIUmHx09zd34AaRdACCDp+TVLSlFv1blzgKR2egx5zx/see0pn+djbR4FIVofz4/UeV67G3+vr3niC+H04Oz/nbwA7lqtm+wByfQAAAAASUVORK5CYII=)\\r\\n no-repeat;\\r\\n width: 21px;\\r\\n height: 21px;\\r\\n}\\r\\n.geBaseButton {\\r\\n padding: 10px;\\r\\n border-radius: 6px;\\r\\n border: 1px solid silver;\\r\\n cursor: pointer;\\r\\n background-color: #ececec;\\r\\n background-image: linear-gradient(#ececec 0, #fcfcfc 100%);\\r\\n}\\r\\n.geBaseButton:hover {\\r\\n background: #ececec;\\r\\n}\\r\\n.geBigButton {\\r\\n color: #fff;\\r\\n border: 0;\\r\\n padding: 4px 10px;\\r\\n font-size: 14px;\\r\\n white-space: nowrap;\\r\\n border-radius: 3px;\\r\\n background-color: #0052cc;\\r\\n cursor: pointer;\\r\\n transition: background-color 0.1s ease-out;\\r\\n overflow: hidden;\\r\\n text-overflow: ellipsis;\\r\\n}\\r\\n.geBigButton:hover {\\r\\n background-color: #0065ff;\\r\\n}\\r\\n.geBigButton:active {\\r\\n background-color: #0747a6;\\r\\n}\\r\\nhtml body .geBigStandardButton {\\r\\n color: #344563;\\r\\n background-color: rgba(9, 30, 66, 0.08);\\r\\n}\\r\\nhtml body .geBigStandardButton:hover {\\r\\n background-color: rgba(9, 30, 66, 0.13);\\r\\n}\\r\\nhtml body .geBigStandardButton:active {\\r\\n background-color: #f8c382;\\r\\n color: #600000;\\r\\n}\\r\\n@media print {\\r\\n div.geNoPrint {\\r\\n display: none !important;\\r\\n }\\r\\n}\\r\\n.geSprite-actualsize {\\r\\n background-position: 0 0;\\r\\n}\\r\\n.geSprite-bold {\\r\\n background-position: 0 -46px;\\r\\n}\\r\\n.geSprite-bottom {\\r\\n background-position: 0 -92px;\\r\\n}\\r\\n.geSprite-center {\\r\\n background-position: 0 -138px;\\r\\n}\\r\\n.geSprite-delete {\\r\\n background-position: 0 -184px;\\r\\n}\\r\\n.geSprite-fillcolor {\\r\\n background-position: 0 -229px;\\r\\n}\\r\\n.geSprite-fit {\\r\\n background-position: 0 -277px;\\r\\n}\\r\\n.geSprite-fontcolor {\\r\\n background-position: 0 -322px;\\r\\n}\\r\\n.geSprite-gradientcolor {\\r\\n background-position: 0 -368px;\\r\\n}\\r\\n.geSprite-image {\\r\\n background-position: 0 -414px;\\r\\n}\\r\\n.geSprite-italic {\\r\\n background-position: 0 -460px;\\r\\n}\\r\\n.geSprite-left {\\r\\n background-position: 0 -505px;\\r\\n}\\r\\n.geSprite-middle {\\r\\n background-position: 0 -552px;\\r\\n}\\r\\n.geSprite-print {\\r\\n background-position: 0 -598px;\\r\\n}\\r\\n.geSprite-redo {\\r\\n background-position: 0 -644px;\\r\\n}\\r\\n.geSprite-right {\\r\\n background-position: 0 -689px;\\r\\n}\\r\\n.geSprite-shadow {\\r\\n background-position: 0 -735px;\\r\\n}\\r\\n.geSprite-strokecolor {\\r\\n background-position: 0 -782px;\\r\\n}\\r\\n.geSprite-top {\\r\\n background-position: 0 -828px;\\r\\n}\\r\\n.geSprite-underline {\\r\\n background-position: 0 -874px;\\r\\n}\\r\\n.geSprite-undo {\\r\\n background-position: 0 -920px;\\r\\n}\\r\\n.geSprite-zoomin {\\r\\n background-position: 0 -966px;\\r\\n}\\r\\n.geSprite-zoomout {\\r\\n background-position: 0 -1012px;\\r\\n}\\r\\n.geSprite-arrow {\\r\\n background-position: 0 -1059px;\\r\\n}\\r\\n.geSprite-linkedge {\\r\\n background-position: 0 -1105px;\\r\\n}\\r\\n.geSprite-straight {\\r\\n background-position: 0 -1150px;\\r\\n}\\r\\n.geSprite-entity {\\r\\n background-position: 0 -1196px;\\r\\n}\\r\\n.geSprite-orthogonal {\\r\\n background-position: 0 -1242px;\\r\\n}\\r\\n.geSprite-curved {\\r\\n background-position: 0 -1288px;\\r\\n}\\r\\n.geSprite-noarrow {\\r\\n background-position: 0 -1334px;\\r\\n}\\r\\n.geSprite-endclassic {\\r\\n background-position: 0 -1380px;\\r\\n}\\r\\n.geSprite-endopen {\\r\\n background-position: 0 -1426px;\\r\\n}\\r\\n.geSprite-endblock {\\r\\n background-position: 0 -1472px;\\r\\n}\\r\\n.geSprite-endoval {\\r\\n background-position: 0 -1518px;\\r\\n}\\r\\n.geSprite-enddiamond {\\r\\n background-position: 0 -1564px;\\r\\n}\\r\\n.geSprite-endthindiamond {\\r\\n background-position: 0 -1610px;\\r\\n}\\r\\n.geSprite-endclassictrans {\\r\\n background-position: 0 -1656px;\\r\\n}\\r\\n.geSprite-endblocktrans {\\r\\n background-position: 0 -1702px;\\r\\n}\\r\\n.geSprite-endovaltrans {\\r\\n background-position: 0 -1748px;\\r\\n}\\r\\n.geSprite-enddiamondtrans {\\r\\n background-position: 0 -1794px;\\r\\n}\\r\\n.geSprite-endthindiamondtrans {\\r\\n background-position: 0 -1840px;\\r\\n}\\r\\n.geSprite-startclassic {\\r\\n background-position: 0 -1886px;\\r\\n}\\r\\n.geSprite-startopen {\\r\\n background-position: 0 -1932px;\\r\\n}\\r\\n.geSprite-startblock {\\r\\n background-position: 0 -1978px;\\r\\n}\\r\\n.geSprite-startoval {\\r\\n background-position: 0 -2024px;\\r\\n}\\r\\n.geSprite-startdiamond {\\r\\n background-position: 0 -2070px;\\r\\n}\\r\\n.geSprite-startthindiamond {\\r\\n background-position: 0 -2116px;\\r\\n}\\r\\n.geSprite-startclassictrans {\\r\\n background-position: 0 -2162px;\\r\\n}\\r\\n.geSprite-startblocktrans {\\r\\n background-position: 0 -2208px;\\r\\n}\\r\\n.geSprite-startovaltrans {\\r\\n background-position: 0 -2254px;\\r\\n}\\r\\n.geSprite-startdiamondtrans {\\r\\n background-position: 0 -2300px;\\r\\n}\\r\\n.geSprite-startthindiamondtrans {\\r\\n background-position: 0 -2346px;\\r\\n}\\r\\n.geSprite-globe {\\r\\n background-position: 0 -2392px;\\r\\n}\\r\\n.geSprite-orderedlist {\\r\\n background-position: 0 -2438px;\\r\\n}\\r\\n.geSprite-unorderedlist {\\r\\n background-position: 0 -2484px;\\r\\n}\\r\\n.geSprite-horizontalrule {\\r\\n background-position: 0 -2530px;\\r\\n}\\r\\n.geSprite-link {\\r\\n background-position: 0 -2576px;\\r\\n}\\r\\n.geSprite-indent {\\r\\n background-position: 0 -2622px;\\r\\n}\\r\\n.geSprite-outdent {\\r\\n background-position: 0 -2668px;\\r\\n}\\r\\n.geSprite-code {\\r\\n background-position: 0 -2714px;\\r\\n}\\r\\n.geSprite-fontbackground {\\r\\n background-position: 0 -2760px;\\r\\n}\\r\\n.geSprite-removeformat {\\r\\n background-position: 0 -2806px;\\r\\n}\\r\\n.geSprite-superscript {\\r\\n background-position: 0 -2852px;\\r\\n}\\r\\n.geSprite-subscript {\\r\\n background-position: 0 -2898px;\\r\\n}\\r\\n.geSprite-table {\\r\\n background-position: 0 -2944px;\\r\\n}\\r\\n.geSprite-deletecolumn {\\r\\n background-position: 0 -2990px;\\r\\n}\\r\\n.geSprite-deleterow {\\r\\n background-position: 0 -3036px;\\r\\n}\\r\\n.geSprite-insertcolumnafter {\\r\\n background-position: 0 -3082px;\\r\\n}\\r\\n.geSprite-insertcolumnbefore {\\r\\n background-position: 0 -3128px;\\r\\n}\\r\\n.geSprite-insertrowafter {\\r\\n background-position: 0 -3174px;\\r\\n}\\r\\n.geSprite-insertrowbefore {\\r\\n background-position: 0 -3220px;\\r\\n}\\r\\n.geSprite-grid {\\r\\n background-position: 0 -3272px;\\r\\n}\\r\\n.geSprite-guides {\\r\\n background-position: 0 -3324px;\\r\\n}\\r\\n.geSprite-dots {\\r\\n background-position: 0 -3370px;\\r\\n}\\r\\n.geSprite-alignleft {\\r\\n background-position: 0 -3416px;\\r\\n}\\r\\n.geSprite-alignright {\\r\\n background-position: 0 -3462px;\\r\\n}\\r\\n.geSprite-aligncenter {\\r\\n background-position: 0 -3508px;\\r\\n}\\r\\n.geSprite-aligntop {\\r\\n background-position: 0 -3554px;\\r\\n}\\r\\n.geSprite-alignbottom {\\r\\n background-position: 0 -3600px;\\r\\n}\\r\\n.geSprite-alignmiddle {\\r\\n background-position: 0 -3646px;\\r\\n}\\r\\n.geSprite-justifyfull {\\r\\n background-position: 0 -3692px;\\r\\n}\\r\\n.geSprite-formatpanel {\\r\\n background-position: 0 -3738px;\\r\\n}\\r\\n.geSprite-connection {\\r\\n background-position: 0 -3784px;\\r\\n}\\r\\n.geSprite-vertical {\\r\\n background-position: 0 -3830px;\\r\\n}\\r\\n.geSprite-simplearrow {\\r\\n background-position: 0 -3876px;\\r\\n}\\r\\n.geSprite-plus {\\r\\n background-position: 0 -3922px;\\r\\n}\\r\\n.geSprite-rounded {\\r\\n background-position: 0 -3968px;\\r\\n}\\r\\n.geSprite-toback {\\r\\n background-position: 0 -4014px;\\r\\n}\\r\\n.geSprite-tofront {\\r\\n background-position: 0 -4060px;\\r\\n}\\r\\n.geSprite-duplicate {\\r\\n background-position: 0 -4106px;\\r\\n}\\r\\n.geSprite-insert {\\r\\n background-position: 0 -4152px;\\r\\n}\\r\\n.geSprite-endblockthin {\\r\\n background-position: 0 -4201px;\\r\\n}\\r\\n.geSprite-endblockthintrans {\\r\\n background-position: 0 -4247px;\\r\\n}\\r\\n.geSprite-enderone {\\r\\n background-position: 0 -4293px;\\r\\n}\\r\\n.geSprite-enderonetoone {\\r\\n background-position: 0 -4339px;\\r\\n}\\r\\n.geSprite-enderonetomany {\\r\\n background-position: 0 -4385px;\\r\\n}\\r\\n.geSprite-endermany {\\r\\n background-position: 0 -4431px;\\r\\n}\\r\\n.geSprite-enderoneopt {\\r\\n background-position: 0 -4477px;\\r\\n}\\r\\n.geSprite-endermanyopt {\\r\\n background-position: 0 -4523px;\\r\\n}\\r\\n.geSprite-endclassicthin {\\r\\n background-position: 0 -4938px;\\r\\n}\\r\\n.geSprite-endclassicthintrans {\\r\\n background-position: 0 -4984px;\\r\\n}\\r\\n.geSprite-enddash {\\r\\n background-position: 0 -5029px;\\r\\n}\\r\\n.geSprite-endcircleplus {\\r\\n background-position: 0 -5075px;\\r\\n}\\r\\n.geSprite-endcircle {\\r\\n background-position: 0 -5121px;\\r\\n}\\r\\n.geSprite-endasync {\\r\\n background-position: 0 -5167px;\\r\\n}\\r\\n.geSprite-endasynctrans {\\r\\n background-position: 0 -5213px;\\r\\n}\\r\\n.geSprite-startblockthin {\\r\\n background-position: 0 -4569px;\\r\\n}\\r\\n.geSprite-startblockthintrans {\\r\\n background-position: 0 -4615px;\\r\\n}\\r\\n.geSprite-starterone {\\r\\n background-position: 0 -4661px;\\r\\n}\\r\\n.geSprite-starteronetoone {\\r\\n background-position: 0 -4707px;\\r\\n}\\r\\n.geSprite-starteronetomany {\\r\\n background-position: 0 -4753px;\\r\\n}\\r\\n.geSprite-startermany {\\r\\n background-position: 0 -4799px;\\r\\n}\\r\\n.geSprite-starteroneopt {\\r\\n background-position: 0 -4845px;\\r\\n}\\r\\n.geSprite-startermanyopt {\\r\\n background-position: 0 -4891px;\\r\\n}\\r\\n.geSprite-startclassicthin {\\r\\n background-position: 0 -5259px;\\r\\n}\\r\\n.geSprite-startclassicthintrans {\\r\\n background-position: 0 -5305px;\\r\\n}\\r\\n.geSprite-startdash {\\r\\n background-position: 0 -5351px;\\r\\n}\\r\\n.geSprite-startcircleplus {\\r\\n background-position: 0 -5397px;\\r\\n}\\r\\n.geSprite-startcircle {\\r\\n background-position: 0 -5443px;\\r\\n}\\r\\n.geSprite-startasync {\\r\\n background-position: 0 -5489px;\\r\\n}\\r\\n.geSprite-startasynctrans {\\r\\n background-position: 0 -5535px;\\r\\n}\\r\\n.geSprite-startcross {\\r\\n background-position: 0 -5581px;\\r\\n}\\r\\n.geSprite-startopenthin {\\r\\n background-position: 0 -5627px;\\r\\n}\\r\\n.geSprite-startopenasync {\\r\\n background-position: 0 -5673px;\\r\\n}\\r\\n.geSprite-endcross {\\r\\n background-position: 0 -5719px;\\r\\n}\\r\\n.geSprite-endopenthin {\\r\\n background-position: 0 -5765px;\\r\\n}\\r\\n.geSprite-endopenasync {\\r\\n background-position: 0 -5811px;\\r\\n}\\r\\n.geSprite-verticalelbow {\\r\\n background-position: 0 -5857px;\\r\\n}\\r\\n.geSprite-horizontalelbow {\\r\\n background-position: 0 -5903px;\\r\\n}\\r\\n.geSprite-horizontalisometric {\\r\\n background-position: 0 -5949px;\\r\\n}\\r\\n.geSprite-verticalisometric {\\r\\n background-position: 0 -5995px;\\r\\n}\\r\\n.geSvgSprite {\\r\\n background-position: center center;\\r\\n}\\r\\n.geFlipSprite {\\r\\n transform: scaleX(-1);\\r\\n}\\r\\n.geSprite-box {\\r\\n background-image: url(\\"data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'20\' height=\'10\' transform=\'translate(0.5,0.5)\'><rect stroke=\'black\' fill=\'none\' x=\'2\' y=\'2\' width=\'6\' height=\'6\'/><path stroke=\'black\' d=\'M8 5 L 18 5\'/></svg>\\");\\r\\n}\\r\\n.geSprite-halfCircle {\\r\\n background-image: url(\\"data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'20\' height=\'10\' transform=\'translate(0.5,0.5)\'><path stroke=\'black\' fill=\'none\' d=\'M 2 2 Q 6 2 6 5 Q 6 8 2 8 M 6 5 L 18 5\'/></svg>\\");\\r\\n}\\r\\nhtml div.mxRubberband {\\r\\n border-color: #00d;\\r\\n background: #9cf;\\r\\n}\\r\\ntd.mxPopupMenuIcon div {\\r\\n width: 16px;\\r\\n height: 16px;\\r\\n}\\r\\n.geEditor div.mxPopupMenu {\\r\\n box-shadow: 0 2px 6px 2px rgba(60, 64, 67, 0.15);\\r\\n background: #fff;\\r\\n border-radius: 4px;\\r\\n border: 0;\\r\\n padding: 3px;\\r\\n}\\r\\nhtml table.mxPopupMenu {\\r\\n margin: 0;\\r\\n}\\r\\nhtml td.mxPopupMenuItem {\\r\\n padding: 7px 30px;\\r\\n font-family: inherit;\\r\\n font-size: 10pt;\\r\\n}\\r\\nhtml td.mxPopupMenuIcon {\\r\\n padding: 0;\\r\\n}\\r\\ntd.mxPopupMenuIcon .geIcon {\\r\\n padding: 2px 2px 4px;\\r\\n margin: 2px;\\r\\n border: 1px solid transparent;\\r\\n opacity: 0.5;\\r\\n}\\r\\ntd.mxPopupMenuIcon .geIcon:hover {\\r\\n border: 1px solid gray;\\r\\n border-radius: 2px;\\r\\n opacity: 1;\\r\\n}\\r\\nhtml tr.mxPopupMenuItemHover {\\r\\n background-color: #eee;\\r\\n color: #000;\\r\\n}\\r\\ntable.mxPopupMenu hr {\\r\\n color: #ccc;\\r\\n background-color: #ccc;\\r\\n border: 0;\\r\\n height: 1px;\\r\\n}\\r\\ntable.mxPopupMenu tr {\\r\\n font-size: 4pt;\\r\\n}\\r\\nhtml td.mxWindowTitle {\\r\\n font-family: inherit;\\r\\n text-align: left;\\r\\n font-size: 12px;\\r\\n color: #707070;\\r\\n padding: 4px;\\r\\n}\\r\\ntable.geProperties tr td {\\r\\n height: 21px;\\r\\n}\\r\\n.gePropHeader,\\r\\n.gePropRow {\\r\\n border: 1px solid #e9e9e9;\\r\\n}\\r\\n.gePropRowDark {\\r\\n border: 1px solid #4472c4;\\r\\n}\\r\\n.gePropHeader > .gePropHeaderCell {\\r\\n border-top: 0;\\r\\n border-bottom: 0;\\r\\n text-align: left;\\r\\n width: 50%;\\r\\n}\\r\\n.gePropHeader > .gePropHeaderCell:first-child {\\r\\n border-left: none;\\r\\n}\\r\\n.gePropHeader > .gePropHeaderCell:last-child {\\r\\n border-right: none;\\r\\n}\\r\\n.gePropHeader {\\r\\n background: #e5e5e5;\\r\\n color: #000;\\r\\n}\\r\\n.gePropRowCell {\\r\\n border-left: 1px solid #f3f3f3;\\r\\n width: 50%;\\r\\n}\\r\\n.gePropRow > .gePropRowCell {\\r\\n background: #fff;\\r\\n}\\r\\n.gePropRowAlt > .gePropRowCell {\\r\\n background: #fcfcfc;\\r\\n}\\r\\n.gePropRowDark > .gePropRowCell {\\r\\n background: #fff;\\r\\n color: #305496;\\r\\n font-weight: 700;\\r\\n}\\r\\n.gePropRowDarkAlt > .gePropRowCell {\\r\\n background: #d9e1f2;\\r\\n color: #305496;\\r\\n font-weight: 700;\\r\\n}\\r\\n.gePropEditor input:invalid {\\r\\n border: 1px solid red;\\r\\n}\\r\\n.geTemplateDlg {\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n}\\r\\n.geTemplateDlg ::-webkit-scrollbar {\\r\\n width: 12px;\\r\\n height: 12px;\\r\\n}\\r\\n.geTemplateDlg ::-webkit-scrollbar-track {\\r\\n background: #f5f5f5;\\r\\n box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);\\r\\n}\\r\\n.geTemplateDlg ::-webkit-scrollbar-thumb {\\r\\n background: #c5c5c5;\\r\\n border-radius: 10px;\\r\\n border: #f5f5f5 solid 3px;\\r\\n}\\r\\n.geTemplateDlg ::-webkit-scrollbar-thumb:hover {\\r\\n background: #b5b5b5;\\r\\n}\\r\\n.geTempDlgHeader {\\r\\n box-sizing: border-box;\\r\\n height: 62px;\\r\\n width: 100%;\\r\\n border: 1px solid #ccc;\\r\\n border-radius: 5px 5px 0 0;\\r\\n background-color: #f5f5f5;\\r\\n}\\r\\n.geTempDlgHeaderLogo {\\r\\n height: 34px;\\r\\n margin: 14px 14px 14px 20px;\\r\\n}\\r\\n.geTempDlgSearchBox {\\r\\n color: #888;\\r\\n background: url(/images/icon-search.svg) no-repeat;\\r\\n background-color: #fff;\\r\\n background-position: 15px;\\r\\n height: 40px;\\r\\n width: 40%;\\r\\n max-width: 400px;\\r\\n border: 1px solid #ccc;\\r\\n border-radius: 3px;\\r\\n float: right;\\r\\n font-size: 15px;\\r\\n line-height: 36px;\\r\\n margin: 11px 36px 0 0;\\r\\n outline: medium;\\r\\n padding: 0 0 0 36px;\\r\\n text-shadow: 1px 1px 0 #fff;\\r\\n}\\r\\n.geTemplatesList {\\r\\n float: left;\\r\\n height: calc(100% - 118px);\\r\\n width: 20%;\\r\\n background-color: #fff;\\r\\n display: inline-block;\\r\\n overflow-x: hidden;\\r\\n overflow-y: auto;\\r\\n}\\r\\n.geTempDlgContent,\\r\\n.geTempDlgFooter,\\r\\n.geTemplatesList {\\r\\n box-sizing: border-box;\\r\\n border: 1px solid #ccc;\\r\\n}\\r\\n.geTempDlgContent {\\r\\n float: right;\\r\\n height: calc(100% - 118px);\\r\\n width: 80%;\\r\\n background-color: #fff;\\r\\n display: inline-block;\\r\\n overflow-x: hidden;\\r\\n overflow-y: auto;\\r\\n position: relative;\\r\\n}\\r\\n.geTempDlgFooter {\\r\\n height: 52px;\\r\\n width: 100%;\\r\\n border-radius: 0 0 5px 5px;\\r\\n background-color: #f5f5f5;\\r\\n text-align: right;\\r\\n font-size: 14px;\\r\\n line-height: 17px;\\r\\n padding-top: 11px;\\r\\n}\\r\\n.geTempDlgCancelBtn,\\r\\n.geTempDlgCreateBtn,\\r\\n.geTempDlgOpenBtn {\\r\\n display: inline-block;\\r\\n width: 67px;\\r\\n padding: 6px;\\r\\n text-align: center;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgCreateBtn,\\r\\n.geTempDlgOpenBtn {\\r\\n border-radius: 3px;\\r\\n background-color: #3d72ad;\\r\\n color: #fff;\\r\\n margin-left: 5px;\\r\\n}\\r\\n.geTempDlgCancelBtn {\\r\\n color: #3d72ad;\\r\\n}\\r\\n.geTempDlgCancelBtn:active,\\r\\n.geTempDlgCreateBtn:active,\\r\\n.geTempDlgOpenBtn:active,\\r\\n.geTempDlgShowAllBtn:active {\\r\\n transform: translateY(2px);\\r\\n}\\r\\n.geTempDlgBtnDisabled {\\r\\n background-color: #9fbddd;\\r\\n}\\r\\n.geTempDlgBtnDisabled:active {\\r\\n transform: translateY(0);\\r\\n}\\r\\n.geTempDlgBtnBusy {\\r\\n background-image: url(/images/aui-wait.gif);\\r\\n background-repeat: no-repeat;\\r\\n background-position: 62px 7px;\\r\\n}\\r\\n.geTempDlgBack {\\r\\n height: 17px;\\r\\n color: #333;\\r\\n font-size: 14px;\\r\\n font-weight: 700;\\r\\n line-height: 17px;\\r\\n padding: 25px 0 0 20px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgHLine {\\r\\n height: 1px;\\r\\n width: calc(100% - 22px);\\r\\n background-color: #ccc;\\r\\n margin: 20px 0 0 11px;\\r\\n}\\r\\n.geTemplateCatLink,\\r\\n.geTemplatesLbl {\\r\\n height: 17px;\\r\\n font-size: 14px;\\r\\n line-height: 17px;\\r\\n}\\r\\n.geTemplatesLbl {\\r\\n color: #6d6d6d;\\r\\n font-weight: 700;\\r\\n text-transform: uppercase;\\r\\n margin: 20px 0 3px 20px;\\r\\n}\\r\\n.geTemplateCatLink {\\r\\n color: #3d72ad;\\r\\n margin: 12px 0 0 20px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgNewDiagramCat {\\r\\n height: 280px;\\r\\n width: 100%;\\r\\n background-color: #555;\\r\\n}\\r\\n.geTempDlgNewDiagramCatLbl {\\r\\n height: 17px;\\r\\n color: #fff;\\r\\n font-size: 14px;\\r\\n font-weight: 700;\\r\\n line-height: 17px;\\r\\n padding: 25px 0 0 20px;\\r\\n text-transform: uppercase;\\r\\n}\\r\\n.geTempDlgNewDiagramCatList {\\r\\n width: 100%;\\r\\n height: 190px;\\r\\n padding-left: 9px;\\r\\n box-sizing: border-box;\\r\\n overflow-y: auto;\\r\\n overflow-x: hidden;\\r\\n}\\r\\n.geTempDlgNewDiagramCatFooter {\\r\\n width: 100%;\\r\\n}\\r\\n.geTempDlgShowAllBtn {\\r\\n width: 78px;\\r\\n border: 1px solid #777;\\r\\n border-radius: 3px;\\r\\n cursor: pointer;\\r\\n text-align: center;\\r\\n color: #ddd;\\r\\n font-size: 14px;\\r\\n line-height: 17px;\\r\\n padding: 4px;\\r\\n float: right;\\r\\n margin-right: 30px;\\r\\n}\\r\\n.geTempDlgNewDiagramCatItem {\\r\\n height: 155px;\\r\\n width: 134px;\\r\\n padding: 18px 6px 0 9px;\\r\\n display: inline-block;\\r\\n}\\r\\n.geTempDlgNewDiagramCatItemImg {\\r\\n box-sizing: border-box;\\r\\n height: 134px;\\r\\n width: 134px;\\r\\n border: 1px solid #ccc;\\r\\n border-radius: 3px;\\r\\n background-color: #fff;\\r\\n display: table-cell;\\r\\n vertical-align: middle;\\r\\n text-align: center;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgDiagramTileActive > .geTempDlgDiagramTileImg,\\r\\n.geTempDlgNewDiagramCatItemActive > .geTempDlgNewDiagramCatItemImg {\\r\\n border: 4px solid #3d72ad;\\r\\n}\\r\\n.geTempDlgNewDiagramCatItemLbl {\\r\\n height: 17px;\\r\\n width: 100%;\\r\\n color: #fff;\\r\\n font-size: 14px;\\r\\n line-height: 17px;\\r\\n text-align: center;\\r\\n padding-top: 4px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgDiagramsList {\\r\\n width: 100%;\\r\\n min-height: calc(100% - 280px);\\r\\n padding-left: 9px;\\r\\n box-sizing: border-box;\\r\\n background-color: #e5e5e5;\\r\\n}\\r\\n.geTempDlgDiagramsListHeader {\\r\\n width: 100%;\\r\\n height: 45px;\\r\\n padding: 18px 20px 0 11px;\\r\\n box-sizing: border-box;\\r\\n}\\r\\n.geTempDlgDiagramsListTitle {\\r\\n box-sizing: border-box;\\r\\n height: 17px;\\r\\n color: #666;\\r\\n font-size: 14px;\\r\\n font-weight: 700;\\r\\n line-height: 17px;\\r\\n text-transform: uppercase;\\r\\n padding-top: 5px;\\r\\n display: inline-block;\\r\\n}\\r\\n.geTempDlgDiagramsListBtns {\\r\\n float: right;\\r\\n margin-top: -9px;\\r\\n}\\r\\n.geTempDlgRadioBtn {\\r\\n box-sizing: border-box;\\r\\n border: 1px solid #ccc;\\r\\n border-radius: 3px;\\r\\n background-color: #fff;\\r\\n color: #333;\\r\\n display: inline-block;\\r\\n font-size: 14px;\\r\\n line-height: 17px;\\r\\n text-align: center;\\r\\n padding: 4px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgRadioBtnActive {\\r\\n background-color: #555;\\r\\n color: #fff;\\r\\n}\\r\\n.geTempDlgRadioBtnLarge {\\r\\n height: 27px;\\r\\n width: 120px;\\r\\n}\\r\\n.geTempDlgRadioBtnSmall {\\r\\n position: relative;\\r\\n top: 9px;\\r\\n height: 27px;\\r\\n width: 27px;\\r\\n}\\r\\n.geTempDlgRadioBtnSmall img {\\r\\n position: absolute;\\r\\n top: 6px;\\r\\n left: 6px;\\r\\n height: 13px;\\r\\n width: 13px;\\r\\n}\\r\\n.geTempDlgSpacer {\\r\\n display: inline-block;\\r\\n width: 10px;\\r\\n}\\r\\n.geTempDlgDiagramsListGrid {\\r\\n width: 100%;\\r\\n white-space: nowrap;\\r\\n font-size: 13px;\\r\\n padding: 0 20px 20px 10px;\\r\\n box-sizing: border-box;\\r\\n border-spacing: 0;\\r\\n}\\r\\n.geTempDlgDiagramsListGrid tr {\\r\\n height: 40px;\\r\\n}\\r\\n.geTempDlgDiagramsListGrid th {\\r\\n background-color: #e5e5e5;\\r\\n color: #8e8e8e;\\r\\n font-weight: 700;\\r\\n text-align: left;\\r\\n padding: 5px;\\r\\n border-bottom: 1px solid #ccc;\\r\\n font-size: 14px;\\r\\n}\\r\\n.geTempDlgDiagramsListGrid td {\\r\\n background-color: #fff;\\r\\n color: #888;\\r\\n padding: 5px;\\r\\n border-bottom: 1px solid #ccc;\\r\\n overflow: hidden;\\r\\n}\\r\\n.geTempDlgDiagramsListGridActive td {\\r\\n border-bottom: 2px solid #3d72ad;\\r\\n border-top: 2px solid #3d72ad;\\r\\n}\\r\\n.geTempDlgDiagramsListGridActive td:first-child {\\r\\n border-left: 2px solid #3d72ad;\\r\\n}\\r\\n.geTempDlgDiagramsListGridActive td:last-child {\\r\\n border-right: 2px solid #3d72ad;\\r\\n}\\r\\n.geTempDlgDiagramTitle {\\r\\n font-weight: 700;\\r\\n color: #666 !important;\\r\\n}\\r\\n.geTempDlgDiagramsTiles {\\r\\n position: relative;\\r\\n min-height: 100px;\\r\\n}\\r\\n.geTempDlgDiagramTile {\\r\\n height: 152px;\\r\\n width: 130px;\\r\\n padding: 20px 7px 0 10px;\\r\\n display: inline-block;\\r\\n position: relative;\\r\\n}\\r\\n.geTempDlgDiagramTileImg {\\r\\n box-sizing: border-box;\\r\\n height: 130px;\\r\\n width: 130px;\\r\\n border: 1px solid #ccc;\\r\\n border-radius: 3px;\\r\\n background-color: #fff;\\r\\n display: table-cell;\\r\\n vertical-align: middle;\\r\\n text-align: center;\\r\\n}\\r\\n.geTempDlgDiagramTileImgError,\\r\\n.geTempDlgDiagramTileImgLoading {\\r\\n background-image: url(/images/aui-wait.gif);\\r\\n background-repeat: no-repeat;\\r\\n background-position: center;\\r\\n}\\r\\n.geTempDlgDiagramTileImgError {\\r\\n background-image: url(/images/broken.png);\\r\\n background-color: #be3730;\\r\\n}\\r\\n.geTempDlgDiagramTileImg img {\\r\\n max-width: 117px;\\r\\n max-height: 117px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgDiagramTileLbl {\\r\\n height: 17px;\\r\\n width: 100%;\\r\\n color: #333;\\r\\n font-size: 14px;\\r\\n line-height: 17px;\\r\\n text-align: center;\\r\\n padding-top: 5px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgDiagramPreviewBtn {\\r\\n position: absolute;\\r\\n top: 28px;\\r\\n right: 15px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgDiagramListPreviewBtn {\\r\\n cursor: pointer;\\r\\n padding-left: 5px;\\r\\n padding-right: 15px;\\r\\n}\\r\\n.geTempDlgDiagramPreviewBox {\\r\\n position: absolute;\\r\\n top: 3%;\\r\\n left: 10%;\\r\\n width: 80%;\\r\\n height: 94%;\\r\\n background: #fff;\\r\\n border: 4px solid #3d72ad;\\r\\n border-radius: 6px;\\r\\n box-sizing: border-box;\\r\\n display: table-cell;\\r\\n vertical-align: middle;\\r\\n text-align: center;\\r\\n z-index: 2;\\r\\n}\\r\\n.geTempDlgDialogMask {\\r\\n position: absolute;\\r\\n top: 0;\\r\\n left: 0;\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n z-index: 1;\\r\\n}\\r\\n.geTempDlgDiagramPreviewBox img {\\r\\n max-width: 95%;\\r\\n max-height: 95%;\\r\\n vertical-align: middle;\\r\\n}\\r\\n.geTempDlgPreviewCloseBtn {\\r\\n position: absolute;\\r\\n top: 5px;\\r\\n right: 5px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geTempDlgLinkToDiagramHint {\\r\\n color: #555;\\r\\n}\\r\\n.geTempDlgLinkToDiagramBtn {\\r\\n color: #555;\\r\\n margin: 0 10px;\\r\\n height: 27px;\\r\\n font-size: 14px;\\r\\n}\\r\\n.geTempDlgErrMsg {\\r\\n display: none;\\r\\n color: red;\\r\\n position: absolute;\\r\\n width: 100%;\\r\\n text-align: center;\\r\\n}\\r\\n.geTempDlgImportCat {\\r\\n font-weight: 700;\\r\\n background: #f9f9f9;\\r\\n padding: 10px;\\r\\n margin: 10px 10px 0 0;\\r\\n}\\r\\n.geCommentsWin {\\r\\n user-select: none;\\r\\n border: 1px solid #f5f5f5;\\r\\n height: 100%;\\r\\n margin-bottom: 10px;\\r\\n overflow: auto;\\r\\n}\\r\\n.geCommentsToolbar {\\r\\n position: absolute;\\r\\n bottom: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n overflow: hidden;\\r\\n border-width: 1px 0 0;\\r\\n border-color: #c3c3c3;\\r\\n border-style: solid;\\r\\n display: block;\\r\\n white-space: nowrap;\\r\\n}\\r\\n.geCommentsList {\\r\\n position: absolute;\\r\\n overflow: auto;\\r\\n left: 0;\\r\\n right: 0;\\r\\n top: 0;\\r\\n}\\r\\n.geCommentContainer {\\r\\n position: relative;\\r\\n padding: 12px;\\r\\n margin: 5px;\\r\\n min-height: 50px;\\r\\n display: block;\\r\\n background-color: #fff;\\r\\n border-width: 0 0 1px;\\r\\n border-color: #c3c3c3;\\r\\n border-style: solid;\\r\\n border-radius: 10px;\\r\\n white-space: nowrap;\\r\\n box-shadow: 2px 2px 6px rgba(60, 64, 67, 0.15);\\r\\n color: #3c4043;\\r\\n}\\r\\n.geCommentHeader {\\r\\n width: 100%;\\r\\n height: 32px;\\r\\n}\\r\\n.geCommentUserImg {\\r\\n width: 32px;\\r\\n height: 32px;\\r\\n border-radius: 50%;\\r\\n float: left;\\r\\n background-color: #f5f5f5;\\r\\n}\\r\\n.geCommentHeaderTxt {\\r\\n overflow: hidden;\\r\\n height: 32px;\\r\\n padding-left: 5px;\\r\\n}\\r\\n.geCommentDate,\\r\\n.geCommentUsername {\\r\\n overflow: hidden;\\r\\n text-overflow: ellipsis;\\r\\n}\\r\\n.geCommentUsername {\\r\\n height: 18px;\\r\\n font-size: 15px;\\r\\n font-weight: 700;\\r\\n}\\r\\n.geCommentDate {\\r\\n color: #707070;\\r\\n height: 14px;\\r\\n font-size: 11px;\\r\\n}\\r\\n.geCommentDate::first-letter {\\r\\n text-transform: uppercase;\\r\\n}\\r\\n.geCommentTxt {\\r\\n font-size: 14px;\\r\\n padding-top: 5px;\\r\\n white-space: normal;\\r\\n min-height: 12px;\\r\\n}\\r\\n.geCommentEditTxtArea {\\r\\n margin-top: 5px;\\r\\n font-size: 14px !important;\\r\\n min-height: 12px;\\r\\n max-width: 100%;\\r\\n min-width: 100%;\\r\\n width: 100%;\\r\\n box-sizing: border-box;\\r\\n}\\r\\n.geCommentEditBtns {\\r\\n width: 100%;\\r\\n box-sizing: border-box;\\r\\n padding-top: 5px;\\r\\n height: 20px;\\r\\n}\\r\\n.geCommentEditBtn {\\r\\n padding: 3px 8px !important;\\r\\n float: right !important;\\r\\n margin-left: 5px;\\r\\n}\\r\\n.geCommentActions {\\r\\n color: #707070;\\r\\n font-size: 12px;\\r\\n}\\r\\n.geCommentActionsList {\\r\\n list-style-type: disc;\\r\\n margin: 0;\\r\\n padding: 10px 0 0;\\r\\n}\\r\\n.geCommentAction {\\r\\n display: inline-block;\\r\\n padding: 0;\\r\\n}\\r\\n.geCommentAction:before {\\r\\n content: \\"\\\\2022\\";\\r\\n padding: 5px;\\r\\n}\\r\\n.geCommentAction:first-child:before {\\r\\n content: \\"\\";\\r\\n padding: 0;\\r\\n}\\r\\n.geCommentActionLnk {\\r\\n cursor: pointer;\\r\\n color: #707070;\\r\\n text-decoration: none;\\r\\n}\\r\\n.geCommentActionLnk:hover {\\r\\n text-decoration: underline;\\r\\n}\\r\\n.geCheckedBtn {\\r\\n background-color: #ccc;\\r\\n border-top: 1px solid #000 !important;\\r\\n border-left: 1px solid #000 !important;\\r\\n}\\r\\n.geCommentBusyImg {\\r\\n position: absolute;\\r\\n top: 5px;\\r\\n right: 5px;\\r\\n}\\r\\n.geAspectDlgListItem {\\r\\n width: 120px;\\r\\n height: 120px;\\r\\n display: inline-block;\\r\\n border: 3px solid #f0f0f0;\\r\\n border-radius: 5px;\\r\\n padding: 5px;\\r\\n margin: 2px 2px 20px;\\r\\n}\\r\\n.geAspectDlgListItem:hover {\\r\\n border: 3px solid #c5c5c5;\\r\\n}\\r\\n.geAspectDlgListItemSelected {\\r\\n border: 3px solid #3b73af;\\r\\n}\\r\\n.geAspectDlgListItemSelected:hover {\\r\\n border: 3px solid #405a86;\\r\\n}\\r\\n.geAspectDlgListItemText {\\r\\n text-overflow: ellipsis;\\r\\n max-width: 100%;\\r\\n min-height: 2em;\\r\\n overflow: hidden;\\r\\n text-align: center;\\r\\n margin-top: 10px;\\r\\n}\\r\\n.geAspectDlgList {\\r\\n min-height: 184px;\\r\\n white-space: nowrap;\\r\\n}\\r\\n.geStripedTable {\\r\\n border-collapse: collapse;\\r\\n width: 100%;\\r\\n table-layout: fixed;\\r\\n}\\r\\n.geStripedTable td {\\r\\n padding: 2px;\\r\\n}\\r\\n.geStripedTable td,\\r\\n.geStripedTable th {\\r\\n border: 1px solid #ddd;\\r\\n text-align: left;\\r\\n white-space: nowrap;\\r\\n overflow: hidden;\\r\\n text-overflow: ellipsis;\\r\\n}\\r\\n.geStripedTable tr:nth-child(odd) {\\r\\n background-color: #f2f2f2;\\r\\n}\\r\\n.geStripedTable tr:hover {\\r\\n background-color: #ddd;\\r\\n}\\r\\n.geStripedTable th {\\r\\n padding: 4px 2px;\\r\\n background-color: #bbb;\\r\\n}\\r\\n.geNotification-box {\\r\\n width: 50px;\\r\\n height: 30px;\\r\\n text-align: center;\\r\\n float: left;\\r\\n position: relative;\\r\\n top: -2px;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geNotification-bell {\\r\\n animation: geBellAnim 1s 1s both;\\r\\n}\\r\\n.geNotification-bell * {\\r\\n display: block;\\r\\n margin: 0 auto;\\r\\n background-color: #656565;\\r\\n box-shadow: 0 0 10px #656565;\\r\\n}\\r\\n.geNotification-bellOff * {\\r\\n box-shadow: none !important;\\r\\n}\\r\\n.geBell-top {\\r\\n width: 2px;\\r\\n height: 2px;\\r\\n border-radius: 1px 1px 0 0;\\r\\n}\\r\\n.geBell-middle {\\r\\n width: 12px;\\r\\n height: 12px;\\r\\n margin-top: -1px;\\r\\n border-radius: 7px 7px 0 0;\\r\\n}\\r\\n.geBell-bottom {\\r\\n position: relative;\\r\\n z-index: 0;\\r\\n width: 16px;\\r\\n height: 1px;\\r\\n}\\r\\n.geBell-bottom::after,\\r\\n.geBell-bottom::before {\\r\\n content: \\"\\";\\r\\n position: absolute;\\r\\n top: -4px;\\r\\n}\\r\\n.geBell-bottom::before {\\r\\n left: 1px;\\r\\n border-bottom-width: 4px;\\r\\n border-right: 0 solid transparent;\\r\\n border-left: 4px solid transparent;\\r\\n}\\r\\n.geBell-bottom::after {\\r\\n right: 1px;\\r\\n border-bottom-width: 4px;\\r\\n border-right: 4px solid transparent;\\r\\n border-left: 0 solid transparent;\\r\\n}\\r\\n.geBell-rad {\\r\\n width: 3px;\\r\\n height: 2px;\\r\\n margin-top: 0.5px;\\r\\n border-radius: 0 0 2px 2px;\\r\\n animation: geRadAnim 1s 2s both;\\r\\n}\\r\\n.geNotification-count {\\r\\n position: absolute;\\r\\n z-index: 1;\\r\\n top: -5px;\\r\\n right: 7px;\\r\\n width: 15px;\\r\\n height: 15px;\\r\\n line-height: 15px;\\r\\n font-size: 10px;\\r\\n border-radius: 50%;\\r\\n background-color: #ff4927;\\r\\n color: #fff;\\r\\n animation: geZoomAnim 1s 1s both;\\r\\n}\\r\\n.geNotifPanel {\\r\\n height: 300px;\\r\\n width: 300px;\\r\\n background: #fff;\\r\\n border-radius: 3px;\\r\\n overflow: hidden;\\r\\n box-shadow: 10px 10px 15px 0 rgba(0, 0, 0, 0.3);\\r\\n transition: all 0.5s ease-in-out;\\r\\n position: absolute;\\r\\n right: 100px;\\r\\n top: 42px;\\r\\n z-index: 150;\\r\\n}\\r\\n.geNotifPanel .header {\\r\\n height: 30px;\\r\\n width: 100%;\\r\\n background: #cecece;\\r\\n color: #707070;\\r\\n font-size: 15px;\\r\\n}\\r\\n.geNotifPanel .header .title {\\r\\n display: block;\\r\\n text-align: center;\\r\\n line-height: 30px;\\r\\n font-weight: 600;\\r\\n}\\r\\n.geNotifPanel .header .closeBtn {\\r\\n position: absolute;\\r\\n line-height: 30px;\\r\\n cursor: pointer;\\r\\n right: 15px;\\r\\n top: 0;\\r\\n}\\r\\n.geNotifPanel .notifications {\\r\\n position: relative;\\r\\n height: 270px;\\r\\n overflow-x: hidden;\\r\\n overflow-y: auto;\\r\\n}\\r\\n.geNotifPanel .notifications .line {\\r\\n position: absolute;\\r\\n top: 0;\\r\\n left: 27px;\\r\\n height: 100%;\\r\\n width: 3px;\\r\\n background: #ebebeb;\\r\\n}\\r\\n.geNotifPanel .notifications .notification {\\r\\n position: relative;\\r\\n z-index: 2;\\r\\n margin: 25px 20px 25px 43px;\\r\\n}\\r\\n.geNotifPanel .notifications .notification:nth-child(n + 1) {\\r\\n animation: geHere-am-i 0.5s ease-out 0.4s;\\r\\n animation-fill-mode: both;\\r\\n}\\r\\n.geNotifPanel .notifications .notification:hover {\\r\\n color: #1b95e0;\\r\\n cursor: pointer;\\r\\n}\\r\\n.geNotifPanel .notifications .notification .circle {\\r\\n box-sizing: border-box;\\r\\n position: absolute;\\r\\n height: 11px;\\r\\n width: 11px;\\r\\n background: #fff;\\r\\n border: 2px solid #1b95e0;\\r\\n box-shadow: 0 0 0 3px #fff;\\r\\n border-radius: 6px;\\r\\n top: 0;\\r\\n left: -20px;\\r\\n}\\r\\n.geNotifPanel .notifications .notification .circle.active {\\r\\n background: #1b95e0;\\r\\n}\\r\\n.geNotifPanel .notifications .notification .time {\\r\\n display: block;\\r\\n font-size: 11px;\\r\\n line-height: 11px;\\r\\n margin-bottom: 2px;\\r\\n}\\r\\n.geNotifPanel .notifications .notification p {\\r\\n font-size: 15px;\\r\\n line-height: 20px;\\r\\n margin: 0;\\r\\n}\\r\\n.geNotifPanel .notifications .notification p b {\\r\\n font-weight: 600;\\r\\n}\\r\\n.geTempTree {\\r\\n margin: 0;\\r\\n padding: 0;\\r\\n}\\r\\n.geTempTree,\\r\\n.geTempTreeActive,\\r\\n.geTempTreeNested {\\r\\n list-style-type: none;\\r\\n transition: all 0.5s;\\r\\n}\\r\\n.geTempTreeActive > li,\\r\\n.geTempTreeCaret,\\r\\n.geTempTreeNested > li {\\r\\n box-sizing: border-box;\\r\\n cursor: pointer;\\r\\n user-select: none;\\r\\n padding: 6px;\\r\\n width: 100%;\\r\\n transition: all 0.5s;\\r\\n}\\r\\n.geTempTreeCaret::before {\\r\\n content: \\"\\\\25B6\\";\\r\\n display: inline-block;\\r\\n font-size: 10px;\\r\\n margin-right: 6px;\\r\\n}\\r\\n.geTempTreeCaret-down::before {\\r\\n transform: rotate(90deg);\\r\\n}\\r\\n.geTempTreeNested {\\r\\n height: 0;\\r\\n opacity: 0;\\r\\n}\\r\\n.geTempTreeActive {\\r\\n height: 100%;\\r\\n opacity: 1;\\r\\n padding-left: 15px;\\r\\n}\\r\\n.geTempTreeNested {\\r\\n padding-left: 15px;\\r\\n}\\r\\n.geTempTreeActive > li,\\r\\n.geTempTreeNested > li {\\r\\n padding: 3px;\\r\\n}\\r\\n\\r\\n/* custom styles for obsidian */\\r\\n\\r\\n.theme-light ::-webkit-scrollbar-thumb {\\r\\n background-color: #eee;\\r\\n}\\r\\n.theme-light ::-webkit-scrollbar {\\r\\n background-color: #fbfbfb;\\r\\n}\\r\\n.theme-light ::-webkit-scrollbar-thumb:active {\\r\\n background-color: #e0e0e0;\\r\\n}\\r\\n\\r\\n.theme-dark ::-webkit-scrollbar-thumb {\\r\\n background-color: #000000;\\r\\n}\\r\\n.theme-dark ::-webkit-scrollbar {\\r\\n background-color: #2a2a2a;\\r\\n}\\r\\n.theme-dark ::-webkit-scrollbar-thumb:active {\\r\\n background-color: #000000;\\r\\n}\\r\\n\\r\\n::-webkit-scrollbar {\\r\\n width: 10px;\\r\\n height: 10px;\\r\\n -webkit-border-radius: 100px;\\r\\n}\\r\\n::-webkit-scrollbar-thumb {\\r\\n -webkit-border-radius: 100px;\\r\\n}\\r\\n::-webkit-scrollbar-thumb:active {\\r\\n -webkit-border-radius: 100px;\\r\\n}\\r\\n::-webkit-scrollbar-corner {\\r\\n background: transparent;\\r\\n}\\r\\n.theme-light * {\\r\\n scrollbar-width: thin;\\r\\n scrollbar-color: #eee #fbfbfb;\\r\\n}\\r\\n.theme-dark * {\\r\\n scrollbar-width: thin;\\r\\n scrollbar-color: #000 #2a2a2a;\\r\\n}\\r\\n"},{mediaType:"text/css",href:"mxgraph/css/common.css",source:""},{mediaType:"text/css",href:"styles/dark.css",source:"html body .geDiagramContainer,\\r\\nhtml body div.geMenubarContainer,\\r\\nhtml body td.mxPopupMenuIcon,\\r\\nhtml body .geFormatContainer,\\r\\nhtml body div.geMenubarContainer .geStatus:hover {\\r\\n background-color: #2a2a2a;\\r\\n}\\r\\nhtml .geSidebarContainer button {\\r\\n border: 1px solid #505759;\\r\\n border-radius: 3px;\\r\\n}\\r\\n\\r\\nbody div.mxPopupMenu {\\r\\n background: #2a2a2a;\\r\\n border: 1px solid #333;\\r\\n border-radius: 4px;\\r\\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);\\r\\n}\\r\\nbody div.mxPopupMenu hr {\\r\\n background-color: #505759;\\r\\n}\\r\\nhtml body .geTabContainer {\\r\\n border-top: 1px solid #505759;\\r\\n background-color: #2a2a2a;\\r\\n}\\r\\nhtml body .geDragPreview {\\r\\n border: 1px dashed #cccccc;\\r\\n}\\r\\nhtml body .geMenubarContainer .geItem:active,\\r\\nhtml .geSidebarContainer button:active {\\r\\n opacity: 0.7;\\r\\n}\\r\\nhtml body,\\r\\nhtml body .geFooterContainer,\\r\\nhtml body #geFooterItem1,\\r\\nhtml body textarea,\\r\\nhtml body .mxWindowTitle,\\r\\nhtml body .geDialogTitle,\\r\\nhtml body .geDialogFooter,\\r\\nselect,\\r\\nhtml .geEditor div.mxTooltip,\\r\\nhtml .geHint {\\r\\n background: #2a2a2a;\\r\\n color: #cccccc;\\r\\n}\\r\\n/* html body a {\\r\\n color: #337ab7;\\r\\n} */\\r\\nhtml body div.mxRubberband {\\r\\n border: 1px dashed #ffffff !important;\\r\\n background: #505759 !important;\\r\\n}\\r\\nhtml body .geTemplate {\\r\\n color: #000000;\\r\\n}\\r\\nhtml body .geToolbarContainer,\\r\\nhtml body .geSidebar,\\r\\nhtml body .geSidebarContainer .geTitle,\\r\\nhtml body input,\\r\\nhtml body textarea,\\r\\nhtml body button,\\r\\nhtml body .geColorBtn,\\r\\nhtml body .geBaseButton,\\r\\nhtml body .geSidebarTooltip,\\r\\nhtml body .geBaseButton,\\r\\nhtml .geSidebarContainer button {\\r\\n background: #2a2a2a;\\r\\n border-color: #505759;\\r\\n box-shadow: none;\\r\\n color: #cccccc;\\r\\n}\\r\\nhtml body .geSidebarTooltip {\\r\\n border: 1px solid #505759;\\r\\n}\\r\\nhtml body .geSprite,\\r\\nhtml body .geSocialFooter img,\\r\\nhtml body .mxPopupMenuItem > img {\\r\\n filter: invert(100%);\\r\\n}\\r\\nhtml body .geFormatContainer {\\r\\n background-color: #2a2a2a !important;\\r\\n border-left: 1px solid #505759;\\r\\n}\\r\\nhtml body .geSidebarFooter {\\r\\n border-top: 1px solid #505759;\\r\\n}\\r\\nhtml body .geFormatSection {\\r\\n border-bottom: 1px solid #505759;\\r\\n border-color: #505759;\\r\\n}\\r\\nhtml body .geDiagramContainer {\\r\\n border-color: #505759;\\r\\n}\\r\\nhtml body .geSidebarContainer a,\\r\\nhtml body .geMenubarContainer a,\\r\\nhtml body .geToolbar a {\\r\\n color: #cccccc;\\r\\n}\\r\\nhtml body .geMenubarMenu {\\r\\n border-color: #505759 !important;\\r\\n}\\r\\nhtml body .geToolbarMenu,\\r\\nhtml body .geFooterContainer,\\r\\nhtml body .geFooterContainer td {\\r\\n border-color: #505759;\\r\\n}\\r\\nhtml body .geFooterContainer a {\\r\\n background-color: none;\\r\\n}\\r\\nhtml body .geFooterContainer td:hover,\\r\\nhtml body #geFooterItem1:hover {\\r\\n background-color: #000000;\\r\\n}\\r\\nhtml body .geSidebarContainer,\\r\\nhtml body .geDiagramBackdrop {\\r\\n background-color: #2a2a2a;\\r\\n}\\r\\nhtml body .geBackgroundPage {\\r\\n box-shadow: none;\\r\\n}\\r\\nhtml body .geBtn {\\r\\n background: #2a2a2a !important;\\r\\n border-color: #505759 !important;\\r\\n color: #cccccc !important;\\r\\n}\\r\\nhtml body .gePrimaryBtn {\\r\\n background: #505759 !important;\\r\\n border-color: #cccccc !important;\\r\\n color: #cccccc !important;\\r\\n}\\r\\n.gePropHeader,\\r\\n.gePropRow,\\r\\n.gePropRowDark,\\r\\n.gePropRowCell,\\r\\n.gePropRow > .gePropRowCell,\\r\\n.gePropRowAlt > .gePropRowCell,\\r\\n.gePropRowDark > .gePropRowCell,\\r\\n.gePropRowDarkAlt > .gePropRowCell {\\r\\n background: #2a2a2a !important;\\r\\n border-color: #2a2a2a !important;\\r\\n color: #cccccc !important;\\r\\n font-weight: normal !important;\\r\\n}\\r\\nhtml body .geBtn:hover {\\r\\n background: #000000 !important;\\r\\n}\\r\\nhtml body tr.mxPopupMenuItem {\\r\\n color: #cccccc;\\r\\n}\\r\\nhtml body tr.mxPopupMenuItemHover {\\r\\n background: #000000;\\r\\n color: #cccccc;\\r\\n}\\r\\nhtml body .geSidebarContainer .geTitle:hover,\\r\\nhtml body .geSidebarContainer .geItem:hover,\\r\\nhtml body .geMenubarContainer .geItem:hover,\\r\\nhtml body .geBaseButton:hover,\\r\\nhtml .geSidebarContainer button:hover {\\r\\n background: #000000;\\r\\n}\\r\\nhtml body .geToolbarContainer .geSeparator {\\r\\n background-color: #505759;\\r\\n}\\r\\nhtml body .geHsplit,\\r\\nhtml body .geVsplit,\\r\\nhtml body table.mxPopupMenu hr {\\r\\n border-color: #505759;\\r\\n background-color: #2a2a2a;\\r\\n}\\r\\nhtml body .geToolbarContainer .geButton:hover,\\r\\nhtml body .geToolbarContainer .geButton:active,\\r\\nhtml body .geToolbarContainer .geLabel:hover,\\r\\nhtml body .geToolbarContainer .geLabel:active,\\r\\nhtml body .geHsplit:hover,\\r\\nhtml body .geVsplit:hover,\\r\\nhtml .geSidebarContainer button:active {\\r\\n background-color: #000;\\r\\n}\\r\\nhtml body .geToolbar {\\r\\n border-color: #505759;\\r\\n box-shadow: none;\\r\\n}\\r\\nhtml body .geDialog,\\r\\nhtml body div.mxWindow {\\r\\n background: #2a2a2a;\\r\\n border-color: #c0c0c0;\\r\\n box-shadow: none;\\r\\n color: #cccccc;\\r\\n}\\r\\n.geHint {\\r\\n -webkit-box-shadow: 1px 1px 1px 0px #ccc;\\r\\n -moz-box-shadow: 1px 1px 1px 0px #ccc;\\r\\n box-shadow: 1px 1px 1px 0px #ccc;\\r\\n}\\r\\nhtml .geEditor ::-webkit-scrollbar-thumb {\\r\\n background-color: #505759;\\r\\n}\\r\\nhtml .geEditor ::-webkit-scrollbar-thumb:hover,\\r\\n.geHsplit:hover,\\r\\n.geVsplit:hover {\\r\\n background-color: #a0a0a0;\\r\\n}\\r\\nhtml body .geStatusAlert {\\r\\n background-color: #a20025;\\r\\n border: 1px solid #bd002b;\\r\\n color: #fff !important;\\r\\n}\\r\\nhtml body .geStatusAlert:hover {\\r\\n background-color: #a20025;\\r\\n border-color: #bd002b;\\r\\n}\\r\\nhtml body .geCommentContainer {\\r\\n background-color: transparent;\\r\\n border-width: 1px;\\r\\n box-shadow: none;\\r\\n color: inherit;\\r\\n}\\r\\n\\r\\n.geNotification-bell * {\\r\\n display: block;\\r\\n margin: 0 auto;\\r\\n background-color: #aaa !important;\\r\\n box-shadow: 0px 0px 10px #aaa !important;\\r\\n}\\r\\n\\r\\n.geNotification-count {\\r\\n position: absolute;\\r\\n z-index: 1;\\r\\n top: -5px;\\r\\n right: 7px;\\r\\n width: 15px;\\r\\n height: 15px;\\r\\n line-height: 15px;\\r\\n font-size: 10px;\\r\\n border-radius: 50%;\\r\\n background-color: #ff4927;\\r\\n color: #deebff !important;\\r\\n animation: geZoomAnim 1s 1s both;\\r\\n}\\r\\n\\r\\n.geNotifPanel .header {\\r\\n height: 30px;\\r\\n width: 100%;\\r\\n background: #424242 !important;\\r\\n color: #ccc !important;\\r\\n font-size: 15px;\\r\\n}\\r\\n\\r\\n.geNotifPanel .notifications {\\r\\n position: relative;\\r\\n height: 270px;\\r\\n overflow-x: hidden;\\r\\n overflow-y: auto;\\r\\n background-color: #707070;\\r\\n}\\r\\n"},{mediaType:"text/plain",href:"resources/dia.txt",source:\'# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\\r\\n# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE\\r\\nabout=About \\r\\naboutDrawio=About draw.io\\r\\naccessDenied=Access Denied\\r\\naction=Action\\r\\nactualSize=Actual Size\\r\\nadd=Add\\r\\naddAccount=Add account\\r\\naddedFile=Added {1}\\r\\naddImages=Add Images\\r\\naddImageUrl=Add Image URL\\r\\naddLayer=Add Layer\\r\\naddProperty=Add Property\\r\\naddress=Address\\r\\naddToExistingDrawing=Add to Existing Drawing\\r\\naddWaypoint=Add Waypoint\\r\\nadjustTo=Adjust to\\r\\nadvanced=Advanced\\r\\nalign=Align\\r\\nalignment=Alignment\\r\\nallChangesLost=All changes will be lost!\\r\\nallPages=All Pages\\r\\nallProjects=All Projects\\r\\nallSpaces=All Spaces\\r\\nallTags=All Tags\\r\\nanchor=Anchor\\r\\nandroid=Android\\r\\nangle=Angle\\r\\narc=Arc\\r\\nareYouSure=Are you sure?\\r\\nensureDataSaved=Please ensure your data is saved before closing.\\r\\nallChangesSaved=All changes saved\\r\\nallChangesSavedInDrive=All changes saved in Drive\\r\\nallowPopups=Allow pop-ups to avoid this dialog.\\r\\nallowRelativeUrl=Allow relative URL\\r\\nalreadyConnected=Nodes already connected\\r\\napply=Apply\\r\\narchiMate21=ArchiMate 2.1\\r\\narrange=Arrange\\r\\narrow=Arrow\\r\\narrows=Arrows\\r\\nasNew=As New\\r\\natlas=Atlas\\r\\nauthor=Author\\r\\nauthorizationRequired=Authorization required\\r\\nauthorizeThisAppIn=Authorize this app in {1}:\\r\\nauthorize=Authorize\\r\\nauthorizing=Authorizing\\r\\nautomatic=Automatic\\r\\nautosave=Autosave\\r\\nautosize=Autosize\\r\\nattachments=Attachments\\r\\naws=AWS\\r\\naws3d=AWS 3D\\r\\nazure=Azure\\r\\nback=Back\\r\\nbackground=Background\\r\\nbackgroundColor=Background Color\\r\\nbackgroundImage=Background Image\\r\\nbasic=Basic\\r\\nblankDrawing=Blank Drawing\\r\\nblankDiagram=Blank Diagram\\r\\nblock=Block\\r\\nblockquote=Blockquote\\r\\nblog=Blog\\r\\nbold=Bold\\r\\nbootstrap=Bootstrap\\r\\nborder=Border\\r\\nborderColor=Border Color\\r\\nborderWidth=Border Width\\r\\nbottom=Bottom\\r\\nbottomAlign=Bottom Align\\r\\nbottomLeft=Bottom Left\\r\\nbottomRight=Bottom Right\\r\\nbpmn=BPMN\\r\\nbringForward=Bring Forward\\r\\nbrowser=Browser\\r\\nbulletedList=Bulleted List\\r\\nbusiness=Business\\r\\nbusy=Operation in progress\\r\\ncabinets=Cabinets\\r\\ncancel=Cancel\\r\\ncenter=Center\\r\\ncannotLoad=Load attempts failed. Please try again later.\\r\\ncannotLogin=Log in attempts failed. Please try again later.\\r\\ncannotOpenFile=Cannot open file\\r\\nchange=Change\\r\\nchangeOrientation=Change Orientation\\r\\nchangeUser=Change user\\r\\nchangeStorage=Change storage\\r\\nchangesNotSaved=Changes have not been saved\\r\\nclassDiagram=Class Diagram\\r\\nuserJoined={1} has joined\\r\\nuserLeft={1} has left\\r\\nchatWindowTitle=Chat\\r\\nchooseAnOption=Choose an option\\r\\nchromeApp=Chrome App\\r\\ncollaborativeEditingNotice=Important Notice for Collaborative Editing\\r\\ncompare=Compare\\r\\ncompressed=Compressed\\r\\ncommitMessage=Commit Message\\r\\nconfigLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!\\r\\nconfigLinkConfirm=Click OK to configure and restart draw.io.\\r\\ncontainer=Container\\r\\ncsv=CSV\\r\\ndark=Dark\\r\\ndiagramXmlDesc=XML File\\r\\ndiagramHtmlDesc=HTML File\\r\\ndiagramPngDesc=Editable Bitmap Image\\r\\ndiagramSvgDesc=Editable Vector Image\\r\\ndidYouMeanToExportToPdf=Did you mean to export to PDF?\\r\\ndraftFound=A draft for \\\'{1}\\\' has been found. Load it into the editor or discard it to continue.\\r\\ndraftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.\\r\\nselectDraft=Select a draft to continue editing:\\r\\ndragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?\\r\\ndropboxCharsNotAllowed=The following characters are not allowed: \\\\ / : ? * " |\\r\\ncheck=Check\\r\\nchecksum=Checksum\\r\\ncircle=Circle\\r\\ncisco=Cisco\\r\\nclassic=Classic\\r\\nclearDefaultStyle=Clear Default Style\\r\\nclearWaypoints=Clear Waypoints\\r\\nclipart=Clipart\\r\\nclose=Close\\r\\nclosingFile=Closing file\\r\\ncollaborator=Collaborator\\r\\ncollaborators=Collaborators\\r\\ncollapse=Collapse\\r\\ncollapseExpand=Collapse/Expand\\r\\ncollapse-expand=Click to collapse/expand\\\\nShift-click to move neighbors \\\\nAlt-click to protect group size\\r\\ncollapsible=Collapsible\\r\\ncomic=Comic\\r\\ncomment=Comment\\r\\ncommentsNotes=Comments/Notes\\r\\ncompress=Compress\\r\\nconfiguration=Configuration\\r\\nconnect=Connect\\r\\nconnecting=Connecting\\r\\nconnectWithDrive=Connect with Google Drive\\r\\nconnection=Connection\\r\\nconnectionArrows=Connection Arrows\\r\\nconnectionPoints=Connection Points\\r\\nconstrainProportions=Constrain Proportions\\r\\ncontainsValidationErrors=Contains validation errors\\r\\ncopiedToClipboard=Copied to clipboard\\r\\ncopy=Copy\\r\\ncopyConnect=Copy on connect\\r\\ncopyCreated=A copy of the file was created.\\r\\ncopyData=Copy Data\\r\\ncopyOf=Copy of {1}\\r\\ncopyOfDrawing=Copy of Drawing\\r\\ncopySize=Copy Size\\r\\ncopyStyle=Copy Style\\r\\ncreate=Create\\r\\ncreateNewDiagram=Create New Diagram\\r\\ncreateRevision=Create Revision\\r\\ncreateShape=Create Shape\\r\\ncrop=Crop\\r\\ncurved=Curved\\r\\ncustom=Custom\\r\\ncurrent=Current\\r\\ncurrentPage=Current page\\r\\ncut=Cut\\r\\ndashed=Dashed\\r\\ndecideLater=Decide later\\r\\ndefault=Default\\r\\ndelete=Delete\\r\\ndeleteColumn=Delete Column\\r\\ndeleteLibrary401=Insufficient permissions to delete this library\\r\\ndeleteLibrary404=Selected library could not be found\\r\\ndeleteLibrary500=Error deleting library\\r\\ndeleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?\\r\\ndeleteRow=Delete Row\\r\\ndescription=Description\\r\\ndevice=Device\\r\\ndiagram=Diagram\\r\\ndiagramContent=Diagram Content\\r\\ndiagramLocked=Diagram has been locked to prevent further data loss.\\r\\ndiagramLockedBySince=The diagram is locked by {1} since {2} ago\\r\\ndiagramName=Diagram Name\\r\\ndiagramIsPublic=Diagram is public\\r\\ndiagramIsNotPublic=Diagram is not public\\r\\ndiamond=Diamond\\r\\ndiamondThin=Diamond (thin)\\r\\ndidYouKnow=Did you know...\\r\\ndirection=Direction\\r\\ndiscard=Discard\\r\\ndiscardChangesAndReconnect=Discard Changes and Reconnect\\r\\ngoogleDriveMissingClickHere=Google Drive missing? Click here!\\r\\ndiscardChanges=Discard Changes\\r\\ndisconnected=Disconnected\\r\\ndistribute=Distribute\\r\\ndone=Done\\r\\ndoNotShowAgain=Do not show again\\r\\ndotted=Dotted\\r\\ndoubleClickOrientation=Doubleclick to change orientation\\r\\ndoubleClickTooltip=Doubleclick to insert text\\r\\ndoubleClickChangeProperty=Doubleclick to change property name\\r\\ndownload=Download\\r\\ndownloadDesktop=Get Desktop\\r\\ndownloadAs=Download as\\r\\nclickHereToSave=Click here to save.\\r\\ndpi=DPI\\r\\ndraftDiscarded=Draft discarded\\r\\ndraftSaved=Draft saved\\r\\ndragElementsHere=Drag elements here\\r\\ndragImagesHere=Drag images or URLs here\\r\\ndragUrlsHere=Drag URLs here\\r\\ndraw.io=draw.io\\r\\ndrawing=Drawing{1}\\r\\ndrawingEmpty=Drawing is empty\\r\\ndrawingTooLarge=Drawing is too large\\r\\ndrawioForWork=Draw.io for GSuite\\r\\ndropbox=Dropbox\\r\\nduplicate=Duplicate\\r\\nduplicateIt=Duplicate {1}\\r\\ndivider=Divider\\r\\ndx=Dx\\r\\ndy=Dy\\r\\neast=East\\r\\nedit=Edit\\r\\neditData=Edit Data\\r\\neditDiagram=Edit Diagram\\r\\neditGeometry=Edit Geometry\\r\\neditImage=Edit Image\\r\\neditImageUrl=Edit Image URL\\r\\neditLink=Edit Link\\r\\neditShape=Edit Shape\\r\\neditStyle=Edit Style\\r\\neditText=Edit Text\\r\\neditTooltip=Edit Tooltip\\r\\nglass=Glass\\r\\ngoogleImages=Google Images\\r\\nimageSearch=Image Search\\r\\neip=EIP\\r\\nembed=Embed\\r\\nembedImages=Embed Images\\r\\nmainEmbedNotice=Paste this into the page\\r\\nelectrical=Electrical\\r\\nellipse=Ellipse\\r\\nembedNotice=Paste this once at the end of the page\\r\\nenterGroup=Enter Group\\r\\nenterName=Enter Name\\r\\nenterPropertyName=Enter Property Name\\r\\nenterValue=Enter Value\\r\\nentityRelation=Entity Relation\\r\\nentityRelationshipDiagram=Entity Relationship Diagram\\r\\nerror=Error\\r\\nerrorDeletingFile=Error deleting file\\r\\nerrorLoadingFile=Error loading file\\r\\nerrorRenamingFile=Error renaming file\\r\\nerrorRenamingFileNotFound=Error renaming file. File was not found.\\r\\nerrorRenamingFileForbidden=Error renaming file. Insufficient access rights.\\r\\nerrorSavingDraft=Error saving draft\\r\\nerrorSavingFile=Error saving file\\r\\nerrorSavingFileUnknown=Error authorizing with Google\\\'s servers. Please refresh the page to re-attempt.\\r\\nerrorSavingFileForbidden=Error saving file. Insufficient access rights.\\r\\nerrorSavingFileNameConflict=Could not save diagram. Current page already contains file named \\\'{1}\\\'.\\r\\nerrorSavingFileNotFound=Error saving file. File was not found.\\r\\nerrorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.\\r\\nerrorSavingFileSessionTimeout=Your session has ended. Please <a target=\\\'_blank\\\' href=\\\'{1}\\\'>{2}</a> and return to this tab to try to save again.\\r\\nerrorSendingFeedback=Error sending feedback.\\r\\nerrorUpdatingPreview=Error updating preview.\\r\\nexit=Exit\\r\\nexitGroup=Exit Group\\r\\nexpand=Expand\\r\\nexport=Export\\r\\nexporting=Exporting\\r\\nexportAs=Export as\\r\\nexportOptionsDisabled=Export options disabled\\r\\nexportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.\\r\\nexternalChanges=External Changes\\r\\nextras=Extras\\r\\nfacebook=Facebook\\r\\nfailedToSaveTryReconnect=Failed to save, trying to reconnect\\r\\nfeatureRequest=Feature Request\\r\\nfeedback=Feedback\\r\\nfeedbackSent=Feedback successfully sent.\\r\\nfloorplans=Floorplans\\r\\nfile=File\\r\\nfileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?\\r\\nfileChangedSyncDialog=The file has been modified. Do you want to synchronize those changes?\\r\\nfileChangedSync=The file has been modified. Click here to synchronize.\\r\\noverwrite=Overwrite\\r\\nsynchronize=Synchronize\\r\\nfilename=Filename\\r\\nfileExists=File already exists\\r\\nfileMovedToTrash=File was moved to trash\\r\\nfileNearlyFullSeeFaq=File nearly full, please see FAQ\\r\\nfileNotFound=File not found\\r\\nrepositoryNotFound=Repository not found\\r\\nfileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.\\r\\nfileNotLoaded=File not loaded\\r\\nfileNotSaved=File not saved\\r\\nfileOpenLocation=How would you like to open these file(s)?\\r\\nfiletypeHtml=.html causes file to save as HTML with redirect to cloud URL\\r\\nfiletypePng=.png causes file to save as PNG with embedded data\\r\\nfiletypeSvg=.svg causes file to save as SVG with embedded data\\r\\nfileWillBeSavedInAppFolder={1} will be saved in the app folder.\\r\\nfill=Fill\\r\\nfillColor=Fill Color\\r\\nfilterCards=Filter Cards\\r\\nfind=Find\\r\\nfit=Fit\\r\\nfitContainer=Resize Container\\r\\nfitIntoContainer=Fit into Container\\r\\nfitPage=Fit Page\\r\\nfitPageWidth=Fit Page Width\\r\\nfitTo=Fit to\\r\\nfitToSheetsAcross=sheet(s) across\\r\\nfitToBy=by\\r\\nfitToSheetsDown=sheet(s) down\\r\\nfitTwoPages=Two Pages\\r\\nfitWindow=Fit Window\\r\\nflip=Flip\\r\\nflipH=Flip Horizontal\\r\\nflipV=Flip Vertical\\r\\nflowchart=Flowchart\\r\\nfolder=Folder\\r\\nfont=Font\\r\\nfontColor=Font Color\\r\\nfontFamily=Font Family\\r\\nfontSize=Font Size\\r\\nforbidden=You are not authorized to access this file\\r\\nformat=Format\\r\\nformatPanel=Format Panel\\r\\nformatted=Formatted\\r\\nformattedText=Formatted Text\\r\\nformatPng=PNG\\r\\nformatGif=GIF\\r\\nformatJpg=JPEG\\r\\nformatPdf=PDF\\r\\nformatSql=SQL\\r\\nformatSvg=SVG\\r\\nformatHtmlEmbedded=HTML\\r\\nformatSvgEmbedded=SVG (with XML)\\r\\nformatVsdx=VSDX\\r\\nformatVssx=VSSX\\r\\nformatXmlPlain=XML (Plain)\\r\\nformatXml=XML\\r\\nforum=Discussion/Help Forums\\r\\nfreehand=Freehand\\r\\nfromTemplate=From Template\\r\\nfromTemplateUrl=From Template URL\\r\\nfromText=From Text\\r\\nfromUrl=From URL\\r\\nfromThisPage=From this page\\r\\nfullscreen=Fullscreen\\r\\ngap=Gap\\r\\ngcp=GCP\\r\\ngeneral=General\\r\\ngithub=GitHub\\r\\ngitlab=GitLab\\r\\ngliffy=Gliffy\\r\\nglobal=Global\\r\\ngoogleDocs=Google Docs\\r\\ngoogleDrive=Google Drive\\r\\ngoogleGadget=Google Gadget\\r\\ngooglePlus=Google+\\r\\ngoogleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:\\r\\ngoogleSlides=Google Slides\\r\\ngoogleSites=Google Sites\\r\\ngoogleSheets=Google Sheets\\r\\ngradient=Gradient\\r\\ngradientColor=Color\\r\\ngrid=Grid\\r\\ngridColor=Grid Color\\r\\ngridSize=Grid Size\\r\\ngroup=Group\\r\\nguides=Guides\\r\\nhateApp=I hate draw.io\\r\\nheading=Heading\\r\\nheight=Height\\r\\nhelp=Help\\r\\nhelpTranslate=Help us translate this application\\r\\nhide=Hide\\r\\nhideIt=Hide {1}\\r\\nhidden=Hidden\\r\\nhome=Home\\r\\nhorizontal=Horizontal\\r\\nhorizontalFlow=Horizontal Flow\\r\\nhorizontalTree=Horizontal Tree\\r\\nhowTranslate=How good is the translation in your language?\\r\\nhtml=HTML\\r\\nhtmlText=HTML Text\\r\\nid=ID\\r\\niframe=IFrame\\r\\nignore=Ignore\\r\\nimage=Image\\r\\nimageUrl=Image URL\\r\\nimages=Images\\r\\nimagePreviewError=This image couldn\\\'t be loaded for preview. Please check the URL.\\r\\nimageTooBig=Image too big\\r\\nimgur=Imgur\\r\\nimport=Import\\r\\nimportFrom=Import from\\r\\nincludeCopyOfMyDiagram=Include a copy of my diagram\\r\\nincreaseIndent=Increase Indent\\r\\ndecreaseIndent=Decrease Indent\\r\\ninsert=Insert\\r\\ninsertColumnBefore=Insert Column Left\\r\\ninsertColumnAfter=Insert Column Right\\r\\ninsertEllipse=Insert Ellipse\\r\\ninsertImage=Insert Image\\r\\ninsertHorizontalRule=Insert Horizontal Rule\\r\\ninsertLink=Insert Link\\r\\ninsertPage=Insert Page\\r\\ninsertRectangle=Insert Rectangle\\r\\ninsertRhombus=Insert Rhombus\\r\\ninsertRowBefore=Insert Row Above\\r\\ninsertRowAfter=Insert Row After\\r\\ninsertText=Insert Text\\r\\ninserting=Inserting\\r\\ninstallApp=Install App\\r\\ninvalidFilename=Diagram names must not contain the following characters: \\\\ / | : ; { } < > & + ? = "\\r\\ninvalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://support.draw.io/display/DFCS/Licensing+your+draw.io+plugin">page</a>.\\r\\ninvalidInput=Invalid input\\r\\ninvalidName=Invalid name\\r\\ninvalidOrMissingFile=Invalid or missing file\\r\\ninvalidPublicUrl=Invalid public URL\\r\\nisometric=Isometric\\r\\nios=iOS\\r\\nitalic=Italic\\r\\nkennedy=Kennedy\\r\\nkeyboardShortcuts=Keyboard Shortcuts\\r\\nlayers=Layers\\r\\nlandscape=Landscape\\r\\nlanguage=Language\\r\\nleanMapping=Lean Mapping\\r\\nlastChange=Last change {1} ago\\r\\nlessThanAMinute=less than a minute\\r\\nlicensingError=Licensing Error\\r\\nlicenseHasExpired=The license for {1} has expired on {2}. Click here.\\r\\nlicenseRequired=This feature requires draw.io to be licensed.\\r\\nlicenseWillExpire=The license for {1} will expire on {2}. Click here.\\r\\nlineJumps=Line jumps\\r\\nlinkAccountRequired=If the diagram is not public a Google account is required to view the link.\\r\\nlinkText=Link Text\\r\\nlist=List\\r\\nminute=minute\\r\\nminutes=minutes\\r\\nhours=hours\\r\\ndays=days\\r\\nmonths=months\\r\\nyears=years\\r\\nrestartForChangeRequired=Changes will take effect after a restart of the application.\\r\\nlaneColor=Lanecolor\\r\\nlastModified=Last modified\\r\\nlayout=Layout\\r\\nleft=Left\\r\\nleftAlign=Left Align\\r\\nleftToRight=Left to right\\r\\nlibraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.\\r\\nlightbox=Lightbox\\r\\nline=Line\\r\\nlineend=Line end\\r\\nlineheight=Line Height\\r\\nlinestart=Line start\\r\\nlinewidth=Linewidth\\r\\nlink=Link\\r\\nlinks=Links\\r\\nloading=Loading\\r\\nlockUnlock=Lock/Unlock\\r\\nloggedOut=Logged Out\\r\\nlogIn=log in\\r\\nloveIt=I love {1}\\r\\nlucidchart=Lucidchart\\r\\nmaps=Maps\\r\\nmathematicalTypesetting=Mathematical Typesetting\\r\\nmakeCopy=Make a Copy\\r\\nmanual=Manual\\r\\nmerge=Merge\\r\\nmermaid=Mermaid\\r\\nmicrosoftOffice=Microsoft Office\\r\\nmicrosoftExcel=Microsoft Excel\\r\\nmicrosoftPowerPoint=Microsoft PowerPoint\\r\\nmicrosoftWord=Microsoft Word\\r\\nmiddle=Middle\\r\\nminimal=Minimal\\r\\nmisc=Misc\\r\\nmockups=Mockups\\r\\nmodificationDate=Modification date\\r\\nmodifiedBy=Modified by\\r\\nmore=More\\r\\nmoreResults=More Results\\r\\nmoreShapes=More Shapes\\r\\nmove=Move\\r\\nmoveToFolder=Move to Folder\\r\\nmoving=Moving\\r\\nmoveSelectionTo=Move selection to {1}\\r\\nname=Name\\r\\nnavigation=Navigation\\r\\nnetwork=Network\\r\\nnetworking=Networking\\r\\nnew=New\\r\\nnewLibrary=New Library\\r\\nnextPage=Next Page\\r\\nno=No\\r\\nnoPickFolder=No, pick folder\\r\\nnoAttachments=No attachments found\\r\\nnoColor=No Color\\r\\nnoFiles=No Files\\r\\nnoFileSelected=No file selected\\r\\nnoLibraries=No libraries found\\r\\nnoMoreResults=No more results\\r\\nnone=None\\r\\nnoOtherViewers=No other viewers\\r\\nnoPlugins=No plugins\\r\\nnoPreview=No preview\\r\\nnoResponse=No response from server\\r\\nnoResultsFor=No results for \\\'{1}\\\'\\r\\nnoRevisions=No revisions\\r\\nnoSearchResults=No search results found\\r\\nnoPageContentOrNotSaved=No anchors found on this page or it hasn\\\'t been saved yet\\r\\nnormal=Normal\\r\\nnorth=North\\r\\nnotADiagramFile=Not a diagram file\\r\\nnotALibraryFile=Not a library file\\r\\nnotAvailable=Not available\\r\\nnotAUtf8File=Not a UTF-8 file\\r\\nnotConnected=Not connected\\r\\nnote=Note\\r\\nnotion=Notion\\r\\nnotSatisfiedWithImport=Not satisfied with the import?\\r\\nnotUsingService=Not using {1}?\\r\\nnumberedList=Numbered list\\r\\noffline=Offline\\r\\nok=OK\\r\\noneDrive=OneDrive\\r\\nonline=Online\\r\\nopacity=Opacity\\r\\nopen=Open\\r\\nopenArrow=Open Arrow\\r\\nopenExistingDiagram=Open Existing Diagram\\r\\nopenFile=Open File\\r\\nopenFrom=Open from\\r\\nopenLibrary=Open Library\\r\\nopenLibraryFrom=Open Library from\\r\\nopenLink=Open Link\\r\\nopenInNewWindow=Open in New Window\\r\\nopenInThisWindow=Open in This Window\\r\\nopenIt=Open {1}\\r\\nopenRecent=Open Recent\\r\\nopenSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy\\r\\noptions=Options\\r\\norganic=Organic\\r\\norgChart=Org Chart\\r\\northogonal=Orthogonal\\r\\notherViewer=other viewer\\r\\notherViewers=other viewers\\r\\noutline=Outline\\r\\noval=Oval\\r\\npage=Page\\r\\npageContent=Page Content\\r\\npageNotFound=Page not found\\r\\npageWithNumber=Page-{1}\\r\\npages=Pages\\r\\npageView=Page View\\r\\npageSetup=Page Setup\\r\\npageScale=Page Scale\\r\\npan=Pan\\r\\npanTooltip=Space+Drag to pan\\r\\npaperSize=Paper Size\\r\\npattern=Pattern\\r\\nparallels=Parallels\\r\\npaste=Paste\\r\\npasteData=Paste Data\\r\\npasteHere=Paste here\\r\\npasteSize=Paste Size\\r\\npasteStyle=Paste Style\\r\\nperimeter=Perimeter\\r\\npermissionAnyone=Anyone can edit\\r\\npermissionAuthor=Owner and admins can edit\\r\\npickFolder=Pick a folder\\r\\npickLibraryDialogTitle=Select Library\\r\\npublicDiagramUrl=Public URL of the diagram\\r\\nplaceholders=Placeholders\\r\\nplantUml=PlantUML\\r\\nplugins=Plugins\\r\\npluginUrl=Plugin URL\\r\\npluginWarning=The page has requested to load the following plugin(s):\\\\n \\\\n {1}\\\\n \\\\n Would you like to load these plugin(s) now?\\\\n \\\\n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\\\\n\\r\\nplusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).\\r\\nportrait=Portrait\\r\\nposition=Position\\r\\nposterPrint=Poster Print\\r\\npreferences=Preferences\\r\\npreview=Preview\\r\\npreviousPage=Previous Page\\r\\nprint=Print\\r\\nprintAllPages=Print All Pages\\r\\nprocEng=Proc. Eng.\\r\\nproject=Project\\r\\npriority=Priority\\r\\nproperties=Properties\\r\\npublish=Publish\\r\\nquickStart=Quick Start Video\\r\\nrack=Rack\\r\\nradial=Radial\\r\\nradialTree=Radial Tree\\r\\nreadOnly=Read-only\\r\\nreconnecting=Reconnecting\\r\\nrecentlyUpdated=Recently Updated\\r\\nrecentlyViewed=Recently Viewed\\r\\nrectangle=Rectangle\\r\\nredirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.\\r\\nrealtimeTimeout=It looks like you\\\'ve made a few changes while offline. We\\\'re sorry, these changes cannot be saved.\\r\\nredo=Redo\\r\\nrefresh=Refresh\\r\\nregularExpression=Regular Expression\\r\\nrelative=Relative\\r\\nrelativeUrlNotAllowed=Relative URL not allowed\\r\\nrememberMe=Remember me\\r\\nrememberThisSetting=Remember this setting\\r\\nremoveFormat=Clear Formatting\\r\\nremoveFromGroup=Remove from Group\\r\\nremoveIt=Remove {1}\\r\\nremoveWaypoint=Remove Waypoint\\r\\nrename=Rename\\r\\nrenamed=Renamed\\r\\nrenameIt=Rename {1}\\r\\nrenaming=Renaming\\r\\nreplace=Replace\\r\\nreplaceIt={1} already exists. Do you want to replace it?\\r\\nreplaceExistingDrawing=Replace existing drawing\\r\\nrequired=required\\r\\nreset=Reset\\r\\nresetView=Reset View\\r\\nresize=Resize\\r\\nresizeLargeImages=Do you want to resize large images to make the application run faster?\\r\\nretina=Retina\\r\\nresponsive=Responsive\\r\\nrestore=Restore\\r\\nrestoring=Restoring\\r\\nretryingIn=Retrying in {1} second(s)\\r\\nretryingLoad=Load failed. Retrying...\\r\\nretryingLogin=Login time out. Retrying...\\r\\nreverse=Reverse\\r\\nrevision=Revision\\r\\nrevisionHistory=Revision History\\r\\nrhombus=Rhombus\\r\\nright=Right\\r\\nrightAlign=Right Align\\r\\nrightToLeft=Right to left\\r\\nrotate=Rotate\\r\\nrotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees\\r\\nrotation=Rotation\\r\\nrounded=Rounded\\r\\nsave=Save\\r\\nsaveAndExit=Save & Exit\\r\\nsaveAs=Save as\\r\\nsaveAsXmlFile=Save as XML file?\\r\\nsaved=Saved\\r\\nsaveDiagramFirst=Please save the diagram first\\r\\nsaveDiagramsTo=Save diagrams to\\r\\nsaveLibrary403=Insufficient permissions to edit this library\\r\\nsaveLibrary500=There was an error while saving the library\\r\\nsaveLibraryReadOnly=Could not save library while read-only mode is active\\r\\nsaving=Saving\\r\\nscratchpad=Scratchpad\\r\\nscrollbars=Scrollbars\\r\\nsearch=Search\\r\\nsearchShapes=Search Shapes\\r\\nselectAll=Select All\\r\\nselectionOnly=Selection Only\\r\\nselectCard=Select Card\\r\\nselectEdges=Select Edges\\r\\nselectFile=Select File\\r\\nselectFolder=Select Folder\\r\\nselectFont=Select Font\\r\\nselectNone=Select None\\r\\nselectTemplate=Select Template\\r\\nselectVertices=Select Vertices\\r\\nsendBackward=Send Backward\\r\\nsendMessage=Send\\r\\nsendYourFeedback=Send your feedback\\r\\nserviceUnavailableOrBlocked=Service unavailable or blocked\\r\\nsessionExpired=Your session has expired. Please refresh the browser window.\\r\\nsessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save. \\r\\nsetAsDefaultStyle=Set as Default Style\\r\\nshadow=Shadow\\r\\nshape=Shape\\r\\nshapes=Shapes\\r\\nshare=Share\\r\\nshareLink=Link for shared editing\\r\\nsharingAvailable=Sharing available for Google Drive and OneDrive files.\\r\\nsharp=Sharp\\r\\nshow=Show\\r\\nshowStartScreen=Show Start Screen\\r\\nsidebarTooltip=Click to expand. Drag and drop shapes into the diagram. Shift+click to change selection. Alt+click to insert and connect.\\r\\nsigns=Signs\\r\\nsignOut=Sign out\\r\\nsimple=Simple\\r\\nsimpleArrow=Simple Arrow\\r\\nsimpleViewer=Simple Viewer\\r\\nsize=Size\\r\\nsketch=Sketch\\r\\nsolid=Solid\\r\\nsourceSpacing=Source Spacing\\r\\nsouth=South\\r\\nsoftware=Software\\r\\nspace=Space\\r\\nspacing=Spacing\\r\\nspecialLink=Special Link\\r\\nstandard=Standard\\r\\nstartDrawing=Start drawing\\r\\nstopDrawing=Stop drawing\\r\\nstarting=Starting\\r\\nstraight=Straight\\r\\nstrikethrough=Strikethrough\\r\\nstrokeColor=Line Color\\r\\nstyle=Style\\r\\nsubscript=Subscript\\r\\nsummary=Summary\\r\\nsuperscript=Superscript\\r\\nsupport=Support\\r\\nswimlaneDiagram=Swimlane Diagram\\r\\nsysml=SysML\\r\\ntags=Tags\\r\\ntable=Table\\r\\ntables=Tables\\r\\ntakeOver=Take Over\\r\\ntargetSpacing=Target Spacing\\r\\ntemplate=Template\\r\\ntemplates=Templates\\r\\ntext=Text\\r\\ntextAlignment=Text Alignment\\r\\ntextOpacity=Text Opacity\\r\\ntheme=Theme\\r\\ntimeout=Timeout\\r\\ntitle=Title\\r\\nto=to\\r\\ntoBack=To Back\\r\\ntoFront=To Front\\r\\ntooLargeUseDownload=Too large, use download instead.\\r\\ntoolbar=Toolbar\\r\\ntooltips=Tooltips\\r\\ntop=Top\\r\\ntopAlign=Top Align\\r\\ntopLeft=Top Left\\r\\ntopRight=Top Right\\r\\ntransparent=Transparent\\r\\ntransparentBackground=Transparent Background\\r\\ntrello=Trello\\r\\ntryAgain=Try again\\r\\ntryOpeningViaThisPage=Try opening via this page\\r\\nturn=Rotate shape only by 90°\\r\\ntype=Type\\r\\ntwitter=Twitter\\r\\numl=UML\\r\\nunderline=Underline\\r\\nundo=Undo\\r\\nungroup=Ungroup\\r\\nunsavedChanges=Unsaved changes\\r\\nunsavedChangesClickHereToSave=Unsaved changes. Click here to save.\\r\\nuntitled=Untitled\\r\\nuntitledDiagram=Untitled Diagram\\r\\nuntitledLayer=Untitled Layer\\r\\nuntitledLibrary=Untitled Library\\r\\nunknownError=Unknown error\\r\\nupdateFile=Update {1}\\r\\nupdatingDocument=Updating Document. Please wait...\\r\\nupdatingPreview=Updating Preview. Please wait...\\r\\nupdatingSelection=Updating Selection. Please wait...\\r\\nupload=Upload\\r\\nurl=URL\\r\\nuseOffline=Use Offline\\r\\nuseRootFolder=Use root folder?\\r\\nuserManual=User Manual\\r\\nvertical=Vertical\\r\\nverticalFlow=Vertical Flow\\r\\nverticalTree=Vertical Tree\\r\\nview=View\\r\\nviewerSettings=Viewer Settings\\r\\nviewUrl=Link to view: {1}\\r\\nvoiceAssistant=Voice Assistant (beta)\\r\\nwarning=Warning\\r\\nwaypoints=Waypoints\\r\\nwest=West\\r\\nwidth=Width\\r\\nwiki=Wiki\\r\\nwordWrap=Word Wrap\\r\\nwritingDirection=Writing Direction\\r\\nyes=Yes\\r\\nyourEmailAddress=Your email address\\r\\nzoom=Zoom\\r\\nzoomIn=Zoom In\\r\\nzoomOut=Zoom Out\\r\\nbasic=Basic\\r\\nbusinessprocess=Business Processes\\r\\ncharts=Charts\\r\\nengineering=Engineering\\r\\nflowcharts=Flowcharts\\r\\ngmdl=Material Design\\r\\nmindmaps=Mindmaps\\r\\nmockups=Mockups\\r\\nnetworkdiagrams=Network Diagrams\\r\\nnothingIsSelected=Nothing is selected\\r\\nother=Other\\r\\nsoftwaredesign=Software Design\\r\\nvenndiagrams=Venn Diagrams\\r\\nwebEmailOrOther=Web, email or any other internet address\\r\\nwebLink=Web Link\\r\\nwireframes=Wireframes\\r\\nproperty=Property\\r\\nvalue=Value\\r\\nshowMore=Show More\\r\\nshowLess=Show Less\\r\\nmyDiagrams=My Diagrams\\r\\nallDiagrams=All Diagrams\\r\\nrecentlyUsed=Recently used\\r\\nlistView=List view\\r\\ngridView=Grid view\\r\\nresultsFor=Results for \\\'{1}\\\'\\r\\noneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / \\\\ { | }\\r\\noneDriveInvalidDeviceName=The specified device name is invalid\\r\\nofficeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.\\r\\nofficeSelectSingleDiag=Please select a single draw.io diagram only without other contents.\\r\\nofficeSelectDiag=Please select a draw.io diagram.\\r\\nofficeCannotFindDiagram=Cannot find a draw.io diagram in the selection\\r\\nnoDiagrams=No diagrams found\\r\\nauthFailed=Authentication failed\\r\\nofficeFailedAuthMsg=Unable to successfully authenticate user or authorize application.\\r\\nconvertingDiagramFailed=Converting diagram failed\\r\\nofficeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.\\r\\ninsertingImageFailed=Inserting image failed\\r\\nofficeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.\\r\\nfolderEmpty=Folder is empty\\r\\nrecent=Recent\\r\\nsharedWithMe=Shared With Me\\r\\nsharepointSites=Sharepoint Sites\\r\\nerrorFetchingFolder=Error fetching folder items\\r\\nerrorAuthOD=Error authenticating to OneDrive\\r\\nofficeMainHeader=Adds draw.io diagrams to your document.\\r\\nofficeStepsHeader=This add-in performs the following steps:\\r\\nofficeStep1=Connects to Microsoft OneDrive, Google Drive or your device.\\r\\nofficeStep2=Select a draw.io diagram.\\r\\nofficeStep3=Insert the diagram into the document.\\r\\nofficeAuthPopupInfo=Please complete the authentication in the pop-up window.\\r\\nofficeSelDiag=Select draw.io Diagram:\\r\\nfiles=Files\\r\\nshared=Shared\\r\\nsharepoint=Sharepoint\\r\\nofficeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.\\r\\nofficeClickToEdit=Click icon to start editing:\\r\\npasteDiagram=Paste draw.io diagram here\\r\\nconnectOD=Connect to OneDrive\\r\\nselectChildren=Select Children\\r\\nselectSiblings=Select Siblings\\r\\nselectParent=Select Parent\\r\\nselectDescendants=Select Descendants\\r\\nlastSaved=Last saved {1} ago\\r\\nresolve=Resolve\\r\\nreopen=Re-open\\r\\nshowResolved=Show Resolved\\r\\nreply=Reply\\r\\nobjectNotFound=Object not found\\r\\nreOpened=Re-opened\\r\\nmarkedAsResolved=Marked as resolved\\r\\nnoCommentsFound=No comments found\\r\\ncomments=Comments\\r\\ntimeAgo={1} ago\\r\\nconfluenceCloud=Confluence Cloud\\r\\nlibraries=Libraries\\r\\nconfAnchor=Confluence Page Anchor\\r\\nconfTimeout=The connection has timed out\\r\\nconfSrvTakeTooLong=The server at {1} is taking too long to respond.\\r\\nconfCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page\\r\\nconfSaveTry=Please save the page and try again.\\r\\nconfCannotGetID=Unable to determine page ID\\r\\nconfContactAdmin=Please contact your Confluence administrator.\\r\\nreadErr=Read Error\\r\\neditingErr=Editing Error\\r\\nconfExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page\\r\\nconfEditedExt=Diagram/Page edited externally\\r\\ndiagNotFound=Diagram Not Found\\r\\nconfEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.\\r\\nconfCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.\\r\\nretBack=Return back\\r\\nconfDiagNotPublished=The diagram does not belong to a published page\\r\\ncreatedByDraw=Created by draw.io\\r\\nfilenameShort=Filename too short\\r\\ninvalidChars=Invalid characters\\r\\nalreadyExst={1} already exists\\r\\ndraftReadErr=Draft Read Error\\r\\ndiagCantLoad=Diagram cannot be loaded\\r\\ndraftWriteErr=Draft Write Error\\r\\ndraftCantCreate=Draft could not be created\\r\\nconfDuplName=Duplicate diagram name detected. Please pick another name.\\r\\nconfSessionExpired=Looks like your session expired. Log in again to keep working.\\r\\nlogin=Login\\r\\ndrawPrev=draw.io preview\\r\\ndrawDiag=draw.io diagram\\r\\ninvalidCallFnNotFound=Invalid Call: {1} not found\\r\\ninvalidCallErrOccured=Invalid Call: An error occurred, {1}\\r\\nanonymous=Anonymous\\r\\nconfGotoPage=Go to containing page\\r\\nshowComments=Show Comments\\r\\nconfError=Error: {1}\\r\\ngliffyImport=Gliffy Import\\r\\ngliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.\\r\\ngliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.\\r\\nstartImport=Start Import\\r\\ndrawConfig=draw.io Configuration\\r\\ncustomLib=Custom Libraries\\r\\ncustomTemp=Custom Templates\\r\\npageIdsExp=Page IDs Export\\r\\ndrawReindex=draw.io re-indexing (beta)\\r\\nworking=Working\\r\\ndrawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.\\r\\ncreateConfSp=Create Config Space\\r\\nunexpErrRefresh=Unexpected error, please refresh the page and try again.\\r\\nconfigJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to\\r\\nthisPage=this page\\r\\ncurCustLib=Current Custom Libraries\\r\\nlibName=Library Name\\r\\naction=Action\\r\\ndrawConfID=draw.io Config ID\\r\\naddLibInst=Click the "Add Library" button to upload a new library.\\r\\naddLib=Add Library\\r\\ncustomTempInst1=Custom templates are draw.io diagrams saved in children pages of\\r\\ncustomTempInst2=For more details, please refer to\\r\\ntempsPage=Templates page\\r\\npageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.\\r\\npageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.\\r\\nstartExp=Start Export\\r\\nrefreshDrawIndex=Refresh draw.io Diagrams Index\\r\\nreindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.\\r\\nreindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.\\r\\nstartIndexing=Start Indexing\\r\\nconfAPageFoundFetch=Page "{1}" found. Fetching\\r\\nconfAAllDiagDone=All {1} diagrams processed. Process finished.\\r\\nconfAStartedProcessing=Started processing page "{1}"\\r\\nconfAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.\\r\\nconfAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.\\r\\nconfAUpdatePageFailed=Updating page "{1}" failed.\\r\\nconfANoDiagFoundInPage=No {1} diagrams found in page "{2}".\\r\\nconfAFetchPageFailed=Fetching the page failed.\\r\\nconfANoDiagFound=No {1} diagrams found. Process finished.\\r\\nconfASearchFailed=Searching for {1} diagrams failed. Please try again later.\\r\\nconfAGliffyDiagFound={2} diagram "{1}" found. Importing\\r\\nconfAGliffyDiagImported={2} diagram "{1}" imported successfully.\\r\\nconfASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.\\r\\nconfAImportedFromByDraw=Imported from "{1}" by draw.io\\r\\nconfAImportGliffyFailed=Importing {2} diagram "{1}" failed.\\r\\nconfAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.\\r\\nconfACheckBrokenDiagLnk=Checking for broken diagrams links.\\r\\nconfADelDiagLinkOf=Deleting diagram link of "{1}"\\r\\nconfADupLnk=(duplicate link)\\r\\nconfADelDiagLnkFailed=Deleting diagram link of "{1}" failed.\\r\\nconfAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}\\r\\nconfADiagFoundIndex=Diagram "{1}" found. Indexing\\r\\nconfADiagIndexSucc=Diagram "{1}" indexed successfully.\\r\\nconfAIndexDiagFailed=Indexing diagram "{1}" failed.\\r\\nconfASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!\\r\\nconfADiagUptoDate=Diagram "{1}" is up to date.\\r\\nconfACheckPagesWDraw=Checking pages having draw.io diagrams.\\r\\nconfAErrOccured=An error occurred!\\r\\nsavedSucc=Saved successfully\\r\\nconfASaveFailedErr=Saving Failed (Unexpected Error)\\r\\ncharacter=Character\\r\\nconfAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment\\r\\nconfALibPageDesc=This page contains draw.io custom libraries as attachments\\r\\nconfATempPageDesc=This page contains draw.io custom templates as attachments\\r\\nworking=Working\\r\\nconfAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates\\r\\nconfANoCustLib=No Custom Libraries\\r\\ndelFailed=Delete failed!\\r\\nshowID=Show ID\\r\\nconfAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.\\r\\nuploading=Uploading\\r\\nconfALibExist=This library already exists\\r\\nconfAUploadSucc=Uploaded successfully\\r\\nconfAUploadFailErr=Upload Failed (Unexpected Error)\\r\\nhiResPreview=High Res Preview\\r\\nofficeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.\\r\\nofficePopupInfo=Please complete the process in the pop-up window.\\r\\npickODFile=Pick OneDrive File\\r\\npickGDriveFile=Pick Google Drive File\\r\\npickDeviceFile=Pick Device File\\r\\nvsdNoConfig="vsdurl" is not configured\\r\\nruler=Ruler\\r\\nunits=Units\\r\\npoints=Points\\r\\ninches=Inches\\r\\nmillimeters=Millimeters\\r\\nconfEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.\\r\\nconfDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session\\\'s modifications.\\r\\nmacroNotFound=Macro Not Found\\r\\nconfAInvalidPageIdsFormat=Incorrect Page IDs file format\\r\\nconfACollectingCurPages=Collecting current pages\\r\\nconfABuildingPagesMap=Building pages mapping\\r\\nconfAProcessDrawDiag=Started processing imported draw.io diagrams\\r\\nconfAProcessDrawDiagDone=Finished processing imported draw.io diagrams\\r\\nconfAProcessImpPages=Started processing imported pages\\r\\nconfAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"\\r\\nconfAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"\\r\\nconfAImpDiagram=Importing diagram "{1}"\\r\\nconfAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported. \\r\\nconfAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.\\r\\nconfAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.\\r\\nconfImpDiagramSuccess=Updating diagram "{1}" done successfully.\\r\\nconfANoLnksInDrgm=No links to update in: {1}\\r\\nconfAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"\\r\\nconfAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"\\r\\nconfAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"\\r\\nconfAPageIdsImpDone=Page IDs Import finished\\r\\nconfAPrcsMacrosInPage=Processing draw.io macros in page "{1}"\\r\\nconfAErrFetchPage=Error fetching page "{1}"\\r\\nconfAFixingMacro=Fixing macro of diagram "{1}"\\r\\nconfAErrReadingExpFile=Error reading export file\\r\\nconfAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished\\r\\nconfAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported. \\r\\npageIdsExpTrg=Export target\\r\\nconfALucidDiagImgImported={2} diagram "{1}" image extracted successfully\\r\\nconfASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed\\r\\nconfGetInfoFailed=Fetching file info from {1} failed.\\r\\nconfCheckCacheFailed=Cannot get cached file info.\\r\\nconfReadFileErr=Cannot read "{1}" file from {2}.\\r\\nconfSaveCacheFailed=Unexpected error. Cannot save cached file\\r\\norgChartType=Org Chart Type\\r\\nlinear=Linear\\r\\nhanger2=Hanger 2\\r\\nhanger4=Hanger 4\\r\\nfishbone1=Fishbone 1\\r\\nfishbone2=Fishbone 2\\r\\n1ColumnLeft=Single Column Left\\r\\n1ColumnRight=Single Column Right\\r\\nsmart=Smart\\r\\nparentChildSpacing=Parent Child Spacing\\r\\nsiblingSpacing=Sibling Spacing\\r\\nconfNoPermErr=Sorry, you don\\\'t have enough permissions to view this embedded diagram from page {1}\\r\\ncopyAsImage=Copy as Image\\r\\nlucidImport=Lucidchart Import\\r\\nlucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.\\r\\ninstallFirst=Please install {1} first\\r\\ndrawioChromeExt=draw.io Chrome Extension\\r\\nloginFirstThen=Please login to {1} first, then {2}\\r\\nerrFetchDocList=Error: Couldn\\\'t fetch documents list\\r\\nbuiltinPlugins=Built-in Plugins\\r\\nextPlugins=External Plugins\\r\\nbackupFound=Backup file found\\r\\nchromeOnly=This feature only works in Google Chrome\\r\\nmsgDeleted=This message has been deleted\\r\\nconfAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.\\r\\nconfAErrCheckDrawDiag=Cannot check diagram {1}\\r\\nconfAErrFetchPageList=Error fetching pages list\\r\\nconfADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes\\r\\ninvalidSel=Invalid selection\\r\\ndiagNameEmptyErr=Diagram name cannot be empty\\r\\nopenDiagram=Open Diagram\\r\\nnewDiagram=New diagram\\r\\neditable=Editable\\r\\nconfAReimportStarted=Re-import {1} diagrams started...\\r\\nspaceFilter=Filter by spaces\\r\\ncurViewState=Current Viewer State\\r\\npageLayers=Page and Layers\\r\\ncustomize=Customize\\r\\nfirstPage=First Page (All Layers)\\r\\ncurEditorState=Current Editor State\\r\\nnoAnchorsFound=No anchors found \\r\\nattachment=Attachment\\r\\ncurDiagram=Current Diagram\\r\\nrecentDiags=Recent Diagrams\\r\\ncsvImport=CSV Import\\r\\nchooseFile=Choose a file...\\r\\nchoose=Choose\\r\\ngdriveFname=Google Drive filename\\r\\nwidthOfViewer=Width of the viewer (px)\\r\\nheightOfViewer=Height of the viewer (px)\\r\\nautoSetViewerSize=Automatically set the size of the viewer\\r\\nthumbnail=Thumbnail\\r\\nprevInDraw=Preview in draw.io\\r\\nonedriveFname=OneDrive filename\\r\\ndiagFname=Diagram filename\\r\\ndiagUrl=Diagram URL\\r\\nshowDiag=Show Diagram\\r\\ndiagPreview=Diagram Preview\\r\\ncsvFileUrl=CSV File URL\\r\\ngenerate=Generate\\r\\nselectDiag2Insert=Please select a diagram to insert it.\\r\\nerrShowingDiag=Unexpected error. Cannot show diagram\\r\\nnoRecentDiags=No recent diagrams found\\r\\nfetchingRecentFailed=Failed to fetch recent diagrams\\r\\nuseSrch2FindDiags=Use the search box to find draw.io diagrams\\r\\ncantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.\\r\\ncantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.\\r\\nsearchFailed=Searching failed. Please try again later.\\r\\nplsTypeStr=Please type a search string.\\r\\nunsupportedFileChckUrl=Unsupported file. Please check the specified URL\\r\\ndiagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL\\r\\ncsvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL\\r\\ncantReadUpload=Cannot read the uploaded diagram\\r\\nselect=Select\\r\\nerrCantGetIdType=Unexpected Error: Cannot get content id or type.\\r\\nerrGAuthWinBlocked=Error: Google Authentication window blocked\\r\\nauthDrawAccess=Authorize draw.io to access {1}\\r\\nconnTimeout=The connection has timed out\\r\\nerrAuthSrvc=Error authenticating to {1}\\r\\nplsSelectFile=Please select a file\\r\\nmustBgtZ={1} must be greater than zero\\r\\ncantLoadPrev=Cannot load file preview.\\r\\nerrAccessFile=Error: Access Denied. You do not have permission to access "{1}".\\r\\nnoPrevAvail=No preview is available.\\r\\npersonalAccNotSup=Personal accounts are not supported.\\r\\nerrSavingTryLater=Error occured during saving, please try again later.\\r\\nplsEnterFld=Please enter {1}\\r\\ninvalidDiagUrl=Invalid Diagram URL\\r\\nunsupportedVsdx=Unsupported vsdx file\\r\\nunsupportedImg=Unsupported image file\\r\\nunsupportedFormat=Unsupported file format\\r\\nplsSelectSingleFile=Please select a single file only\\r\\nattCorrupt=Attachment file "\\\'{1}" is corrupted\\r\\nloadAttFailed=Failed to load attachment "{1}"\\r\\nembedDrawDiag=Embed draw.io Diagram\\r\\naddDiagram=Add Diagram\\r\\nembedDiagram=Embed Diagram\\r\\neditOwningPg=Edit owning page\\r\\ndeepIndexing=Deep Indexing (Index diagrams that aren\\\'t used in any page also)\\r\\nconfADeepIndexStarted=Deep Indexing Started\\r\\nconfADeepIndexDone=Deep Indexing Done\\r\\nofficeNoDiagramsSelected=No diagrams found in the selection\\r\\nofficeNoDiagramsInDoc=No diagrams found in the document\\r\\nofficeNotSupported=This feature is not supported in this host application\\r\\nsomeImagesFailed={1} out of {2} failed due to the following errors\\r\\nimportingNoUsedDiagrams=Importing {1} Diagrams not used in pages\\r\\nimportingDrafts=Importing {1} Diagrams in drafts\\r\\nprocessingDrafts=Processing drafts\\r\\nupdatingDrafts=Updating drafts\\r\\nupdateDrafts=Update drafts\\r\\nnotifications=Notifications\\r\\ndrawioImp=draw.io Import\\r\\nconfALibsImp=Importing draw.io Libraries\\r\\nconfALibsImpFailed=Importing {1} library failed\\r\\ncontributors=Contributors\\r\\ndrawDiagrams=draw.io Diagrams\\r\\nerrFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.\\r\\nconfACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.\\r\\nconfADelBrokenEmbedDiagLnk=Removing broken embedded diagram links\\r\\nreplaceWith=Replace with\\r\\nreplaceAll=Replace All\\r\\nconfASkipDiagModified=Skipped "{1}" as it was modified after initial import\\r\\nreplFind=Replace/Find\\r\\nmatchesRepl={1} matches replaced\\r\\ndraftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.\\r\\nibm=IBM\\r\\nlinkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.\\r\\nlinkToDiagram=Link to Diagram\\r\\nchangedBy=Changed By\\r\\nlastModifiedOn=Last modified on\\r\\nsearchResults=Search Results\\r\\nshowAllTemps=Show all templates\\r\\nnotionToken=Notion Token\\r\\nselectDB=Select Database\\r\\nnoDBs=No Databases\\r\\n\'},{mediaType:"text/javascript",href:"js/shapes-14-6-5.min.js",source:s},{mediaType:"text/javascript",href:"js/stencils.min.js",source:s},{mediaType:"text/javascript",href:"js/extensions.min.js",source:"// This is a stub file that replaces the original\\r\\n"},{mediaType:"image/gif;base64",href:"mxgraph/images/maximize.gif",source:"R0lGODlhDAAMAPcAAP///0RERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIMAADCBxIcCCAgwgTCgRQ0ODChg8DMEx4UOJDihMvUrRoESPHiRsZcmwoEqNCiAUDAgA7"},{mediaType:"image/gif;base64",href:"mxgraph/images/resize.gif",source:"R0lGODlhDAAMAJECAP///4CAgNTQyAAAACH5BAEAAAIALAAAAAAMAAwAAAIblI8CmRB83IMSqvBWw3dnHnFV+GVGhZZXmaoFADs="},{mediaType:"image/svg+xml",href:"images/drawlogo.svg",source:\'<?xml version="1.0" encoding="utf-8"?>\\r\\n<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\\r\\n\\t viewBox="0 0 250 250" style="enable-background:new 0 0 250 250;" xml:space="preserve">\\r\\n<style type="text/css">\\r\\n\\t.st0{fill:#1F1F1F;}\\r\\n\\t.st1{fill:#000000;}\\r\\n\\t.st2{fill:#FFFFFF;}\\r\\n</style>\\r\\n<path class="st0" d="M237.5,227.9c0,5.3-4.3,9.6-9.5,9.6c0,0,0,0,0,0H22.1c-5.3,0-9.6-4.3-9.6-9.5c0,0,0,0,0,0V22.1\\r\\n\\tc0-5.3,4.3-9.6,9.5-9.6c0,0,0,0,0,0h205.9c5.3,0,9.6,4.3,9.6,9.5c0,0,0,0,0,0V227.9z"/>\\r\\n<path class="st1" d="M237.5,227.9c0,5.3-4.3,9.6-9.5,9.6c0,0,0,0,0,0H89.6L44.8,192l27.9-45.5l82.7-102.7l82.1,84.5V227.9z"/>\\r\\n<path class="st2" d="M197.1,138.3h-23.7l-25-42.7c5.7-1.2,9.8-6.2,9.7-12V51.5c0-6.8-5.4-12.3-12.2-12.3c0,0-0.1,0-0.1,0h-41.7\\r\\n\\tc-6.8,0-12.3,5.4-12.3,12.2c0,0,0,0.1,0,0.1v32.1c0,5.8,4,10.8,9.7,12l-25,42.7H52.9c-6.8,0-12.3,5.4-12.3,12.2c0,0,0,0.1,0,0.1\\r\\n\\tv32.1c0,6.8,5.4,12.3,12.2,12.3c0,0,0.1,0,0.1,0h41.7c6.8,0,12.3-5.4,12.3-12.2c0,0,0-0.1,0-0.1v-32.1c0-6.8-5.4-12.3-12.2-12.3\\r\\n\\tc0,0-0.1,0-0.1,0h-4l24.8-42.4h19.3l24.9,42.4h-4.1c-6.8,0-12.3,5.4-12.3,12.2c0,0,0,0.1,0,0.1v32.1c0,6.8,5.4,12.3,12.2,12.3\\r\\n\\tc0,0,0.1,0,0.1,0h41.7c6.8,0,12.3-5.4,12.3-12.2c0,0,0-0.1,0-0.1v-32.1c0-6.8-5.4-12.3-12.2-12.3\\r\\n\\tC197.2,138.3,197.2,138.3,197.1,138.3z"/>\\r\\n</svg>\\r\\n\'}];!function(r){r.full="full",r.compact="compact",r.sketch="sketch"}(d||(d={})),d.sketch;var p,c,m,A={defaultLibraries:"general",libraries:[]},u={embed:"1",configure:"0",noExitBtn:"1",noSaveBtn:"1",noFileMenu:"1",pages:"0",proto:"json",pv:"0",saveAndExit:"0",stealth:"1",ui:"sketch",dark:"0",rough:"1",sketch:"1"},h=function(){function r(r){this.urlParams={},this.drawioConfig={},this.defineUrlParams(r),this.defineDrawioConfig(r),this.setDrawioConfig(A),this.setUrlParams(u)}return r.prototype.defineUrlParams=function(r){var n=new Proxy(this.urlParams,{get:function(r,n,e){return Reflect.get(r,n,e)},set:function(){return!0}});Object.defineProperty(r,"urlParams",{value:n})},r.prototype.defineDrawioConfig=function(r){var n=new Proxy(this.drawioConfig,{get:function(r,n,e){return Reflect.get(r,n,e)},set:function(){return!0}});Object.defineProperty(r,"DRAWIO_CONFIG",{value:n}),Object.defineProperty(r,"mxLoadSettings",{value:!1})},r.prototype.setConfig=function(r){var n=this.getDrawioConfig(r);this.setDrawioConfig(n);var e={ui:this.getUiTheme(r),dark:this.getDarkFromTheme(r),rough:this.getRough(r),sketch:this.getSketch(r)};this.setUrlParams(e)},r.prototype.setDrawioConfig=function(r){Object.assign(this.drawioConfig,r)},r.prototype.setUrlParams=function(r){Object.assign(this.urlParams,r)},r.prototype.getUiTheme=function(r){var n=r.theme;return"full"===n.layout?n.dark?"dark":"kennedy":"compact"===n.layout?"min":"sketch"},r.prototype.getDarkFromTheme=function(r){return r.theme.dark?"1":"0"},r.prototype.getRough=function(r){return r.drawing.sketch?"1":"0"},r.prototype.getSketch=function(r){return r.theme.layout===d.sketch?"1":"0"},r.prototype.getDrawioConfig=function(r){return{defaultLibraries:"general",libraries:[],defaultEdgeStyle:this.getDefaultEdgeStyle(r),defaultVertexStyle:this.getDefaultVertexStyle(r),styles:[{}]}},r.prototype.getDefaultVertexStyle=function(r){return{}},r.prototype.getDefaultEdgeStyle=function(r){return{}},r}();p=window,i.interceptRequests(g),c="local://drawio.css",(m=document.createElement("link")).setAttribute("rel","stylesheet"),m.setAttribute("href",c),document.head.appendChild(m),l.main(p,new h(p))}();\n'),this.sendFrameConfig(),this.addScriptToFrame('//fgnass.github.com/spin.js#v2.0.0\r\n!function(a,b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.Spinner=b()}(this,function(){"use strict";function a(a,b){var c,d=document.createElement(a||"div");for(c in b)d[c]=b[c];return d}function b(a){for(var b=1,c=arguments.length;c>b;b++)a.appendChild(arguments[b]);return a}function c(a,b,c,d){var e=["opacity",b,~~(100*a),c,d].join("-"),f=.01+c/d*100,g=Math.max(1-(1-a)/b*(100-f),a),h=j.substring(0,j.indexOf("Animation")).toLowerCase(),i=h&&"-"+h+"-"||"";return l[e]||(m.insertRule("@"+i+"keyframes "+e+"{0%{opacity:"+g+"}"+f+"%{opacity:"+a+"}"+(f+.01)+"%{opacity:1}"+(f+b)%100+"%{opacity:"+a+"}100%{opacity:"+g+"}}",m.cssRules.length),l[e]=1),e}function d(a,b){var c,d,e=a.style;for(b=b.charAt(0).toUpperCase()+b.slice(1),d=0;d<k.length;d++)if(c=k[d]+b,void 0!==e[c])return c;return void 0!==e[b]?b:void 0}function e(a,b){for(var c in b)a.style[d(a,c)||c]=b[c];return a}function f(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)void 0===a[d]&&(a[d]=c[d])}return a}function g(a,b){return"string"==typeof a?a:a[b%a.length]}function h(a){this.opts=f(a||{},h.defaults,n)}function i(){function c(b,c){return a("<"+b+\' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">\',c)}m.addRule(".spin-vml","behavior:url(#default#VML)"),h.prototype.lines=function(a,d){function f(){return e(c("group",{coordsize:k+" "+k,coordorigin:-j+" "+-j}),{width:k,height:k})}function h(a,h,i){b(m,b(e(f(),{rotation:360/d.lines*a+"deg",left:~~h}),b(e(c("roundrect",{arcsize:d.corners}),{width:j,height:d.width,left:d.radius,top:-d.width>>1,filter:i}),c("fill",{color:g(d.color,a),opacity:d.opacity}),c("stroke",{opacity:0}))))}var i,j=d.length+d.width,k=2*j,l=2*-(d.width+d.length)+"px",m=e(f(),{position:"absolute",top:l,left:l});if(d.shadow)for(i=1;i<=d.lines;i++)h(i,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(i=1;i<=d.lines;i++)h(i);return b(a,m)},h.prototype.opacity=function(a,b,c,d){var e=a.firstChild;d=d.shadow&&d.lines||0,e&&b+d<e.childNodes.length&&(e=e.childNodes[b+d],e=e&&e.firstChild,e=e&&e.firstChild,e&&(e.opacity=c))}}var j,k=["webkit","Moz","ms","O"],l={},m=function(){var c=a("style",{type:"text/css"});return b(document.getElementsByTagName("head")[0],c),c.sheet||c.styleSheet}(),n={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};h.defaults={},f(h.prototype,{spin:function(b){this.stop();{var c=this,d=c.opts,f=c.el=e(a(0,{className:d.className}),{position:d.position,width:0,zIndex:d.zIndex});d.radius+d.length+d.width}if(b&&(b.insertBefore(f,b.firstChild||null),e(f,{left:d.left,top:d.top})),f.setAttribute("role","progressbar"),c.lines(f,c.opts),!j){var g,h=0,i=(d.lines-1)*(1-d.direction)/2,k=d.fps,l=k/d.speed,m=(1-d.opacity)/(l*d.trail/100),n=l/d.lines;!function o(){h++;for(var a=0;a<d.lines;a++)g=Math.max(1-(h+(d.lines-a)*n)%l*m,d.opacity),c.opacity(f,a*d.direction+i,g,d);c.timeout=c.el&&setTimeout(o,~~(1e3/k))}()}return c},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=void 0),this},lines:function(d,f){function h(b,c){return e(a(),{position:"absolute",width:f.length+f.width+"px",height:f.width+"px",background:b,boxShadow:c,transformOrigin:"left",transform:"rotate("+~~(360/f.lines*k+f.rotate)+"deg) translate("+f.radius+"px,0)",borderRadius:(f.corners*f.width>>1)+"px"})}for(var i,k=0,l=(f.lines-1)*(1-f.direction)/2;k<f.lines;k++)i=e(a(),{position:"absolute",top:1+~(f.width/2)+"px",transform:f.hwaccel?"translate3d(0,0,0)":"",opacity:f.opacity,animation:j&&c(f.opacity,f.trail,l+k*f.direction,f.lines)+" "+1/f.speed+"s linear infinite"}),f.shadow&&b(i,e(h("#000","0 0 4px #000"),{top:"2px"})),b(d,b(i,h(g(f.color,k),"0 0 1px rgba(0,0,0,.1)")));return d},opacity:function(a,b,c){b<a.childNodes.length&&(a.childNodes[b].style.opacity=c)}});var o=e(a("group"),{behavior:"url(#default#VML)"});return!d(o,"transform")&&o.adj?i():j=d(o,"animation"),h});\r\n// NOTE: Modified to support data URIs for images, ie. data:image/*\r\n// Modified to allow "word-break: break-word" in styles. It is done by adding "break-word" which is at index 55 of J array J[55] to "cssLitGroup" of "word-break"\r\n// Modified to support justify-content. Add possible values to J array below ["flex-start,flex-end,center,space-between,space-around,initial".split(",")], then in L map (the variable after J), add its definition ["justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}]\r\n// Added support for flex-direction (next J index is 83)\r\n// Added support for align-items (next J index is 84)\r\n(function(){var c=void 0,n=!0,s=null,C=!1,J=["aliceblue,antiquewhite,aqua,aquamarine,azure,beige,bisque,black,blanchedalmond,blue,blueviolet,brown,burlywood,cadetblue,chartreuse,chocolate,coral,cornflowerblue,cornsilk,crimson,cyan,darkblue,darkcyan,darkgoldenrod,darkgray,darkgreen,darkkhaki,darkmagenta,darkolivegreen,darkorange,darkorchid,darkred,darksalmon,darkseagreen,darkslateblue,darkslategray,darkturquoise,darkviolet,deeppink,deepskyblue,dimgray,dodgerblue,firebrick,floralwhite,forestgreen,fuchsia,gainsboro,ghostwhite,gold,goldenrod,gray,green,greenyellow,honeydew,hotpink,indianred,indigo,ivory,khaki,lavender,lavenderblush,lawngreen,lemonchiffon,lightblue,lightcoral,lightcyan,lightgoldenrodyellow,lightgreen,lightgrey,lightpink,lightsalmon,lightseagreen,lightskyblue,lightslategray,lightsteelblue,lightyellow,lime,limegreen,linen,magenta,maroon,mediumaquamarine,mediumblue,mediumorchid,mediumpurple,mediumseagreen,mediumslateblue,mediumspringgreen,mediumturquoise,mediumvioletred,midnightblue,mintcream,mistyrose,moccasin,navajowhite,navy,oldlace,olive,olivedrab,orange,orangered,orchid,palegoldenrod,palegreen,paleturquoise,palevioletred,papayawhip,peachpuff,peru,pink,plum,powderblue,purple,red,rosybrown,royalblue,saddlebrown,salmon,sandybrown,seagreen,seashell,sienna,silver,skyblue,slateblue,slategray,snow,springgreen,steelblue,tan,teal,thistle,tomato,transparent,turquoise,violet,wheat,white,whitesmoke,yellow,yellowgreen".split(","),\r\n"all-scroll,col-resize,crosshair,default,e-resize,hand,help,move,n-resize,ne-resize,no-drop,not-allowed,nw-resize,pointer,progress,row-resize,s-resize,se-resize,sw-resize,text,vertical-text,w-resize,wait".split(","),"armenian,decimal,decimal-leading-zero,disc,georgian,lower-alpha,lower-greek,lower-latin,lower-roman,square,upper-alpha,upper-latin,upper-roman".split(","),"100,200,300,400,500,600,700,800,900,bold,bolder,lighter".split(","),"block-level,inline-level,table-caption,table-cell,table-column,table-column-group,table-footer-group,table-header-group,table-row,table-row-group".split(","),\r\n"condensed,expanded,extra-condensed,extra-expanded,narrower,semi-condensed,semi-expanded,ultra-condensed,ultra-expanded,wider".split(","),"inherit,inline,inline-block,inline-box,inline-flex,inline-grid,inline-list-item,inline-stack,inline-table,run-in".split(","),"behind,center-left,center-right,far-left,far-right,left-side,leftwards,right-side,rightwards".split(","),"large,larger,small,smaller,x-large,x-small,xx-large,xx-small".split(","),"dashed,dotted,double,groove,outset,ridge,solid".split(","),\r\n"ease,ease-in,ease-in-out,ease-out,linear,step-end,step-start".split(","),"at,closest-corner,closest-side,ellipse,farthest-corner,farthest-side".split(","),"baseline,middle,sub,super,text-bottom,text-top".split(","),"caption,icon,menu,message-box,small-caption,status-bar".split(","),"fast,faster,slow,slower,x-fast,x-slow".split(","),["above","below","higher","level","lower"],["cursive","fantasy","monospace","sans-serif","serif"],["loud","silent","soft","x-loud","x-soft"],["no-repeat","repeat-x","repeat-y",\r\n"round","space"],["blink","line-through","overline","underline"],["block","flex","grid","table"],["high","low","x-high","x-low"],["nowrap","pre","pre-line","pre-wrap"],["absolute","relative","static"],["alternate","alternate-reverse","reverse"],["border-box","content-box","padding-box"],["capitalize","lowercase","uppercase"],["child","female","male"],["=","opacity"],["backwards","forwards"],["bidi-override","embed"],["bottom","top"],["break-all","keep-all"],["clip","ellipsis"],["contain","cover"],\r\n["continuous","digits"],["end","start"],["flat","preserve-3d"],["hide","show"],["horizontal","vertical"],["inside","outside"],["italic","oblique"],["left","right"],["ltr","rtl"],["no-content","no-display"],["paused","running"],["suppress","unrestricted"],["thick","thin"],[","],["/"],["all"],["always"],["auto"],["avoid"],["both"],["break-word"],["center"],["circle"],["code"],["collapse"],["contents"],["fixed"],["hidden"],["infinite"],["inset"],["invert"],["justify"],["list-item"],["local"],["medium"],\r\n["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"], "flex-start,flex-end,center,space-between,space-around,initial".split(","), "row|row-reverse|column|column-reverse|initial".split("|"), "stretch|center|flex-start|flex-end|baseline|initial".split("|")],L={animation:{cssPropBits:517,cssLitGroup:[J[10],J[24],J[29],J[45],J[48],J[54],J[63],J[71],J[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[J[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[J[24],J[48],J[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[J[29],J[48],\r\nJ[54],J[71]],cssFns:[]},"animation-iteration-count":{cssPropBits:5,cssLitGroup:[J[48],J[63]],cssFns:[]},"animation-name":{cssPropBits:512,cssLitGroup:[J[48],J[71]],cssFns:[]},"animation-play-state":{cssPropBits:0,cssLitGroup:[J[45],J[48]],cssFns:[]},"animation-timing-function":{cssPropBits:0,cssLitGroup:[J[10],J[48]],cssFns:["cubic-bezier()","steps()"]},appearance:{cssPropBits:0,cssLitGroup:[J[71]],cssFns:[]},azimuth:{cssPropBits:5,cssLitGroup:[J[7],J[42],J[56]],cssFns:[]},"backface-visibility":{cssPropBits:0,\r\ncssLitGroup:[J[59],J[62],J[80]],cssFns:[]},background:{cssPropBits:23,cssLitGroup:[J[0],J[18],J[25],J[31],J[34],J[42],J[48],J[49],J[52],J[56],J[61],J[68],J[71],J[74],J[75]],cssFns:"image(),linear-gradient(),radial-gradient(),repeating-linear-gradient(),repeating-radial-gradient(),rgb(),rgba()".split(",")},"background-attachment":{cssPropBits:0,cssLitGroup:[J[48],J[61],J[68],J[75]],cssFns:[]},"background-color":{cssPropBits:2,cssLitGroup:[J[0]],cssFns:["rgb()","rgba()"]},"background-image":{cssPropBits:16,\r\ncssLitGroup:[J[48],J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"background-position":{cssPropBits:5,cssLitGroup:[J[31],J[42],J[48],J[56]],cssFns:[]},"background-repeat":{cssPropBits:0,cssLitGroup:[J[18],J[48],J[74]],cssFns:[]},"background-size":{cssPropBits:5,cssLitGroup:[J[34],J[48],J[52]],cssFns:[]},border:{cssPropBits:7,cssLitGroup:[J[0],J[9],J[47],J[62],J[64],J[69],J[71]],cssFns:["rgb()","rgba()"]},"border-bottom":"border",\r\n"border-bottom-color":"background-color","border-bottom-left-radius":{cssPropBits:5,cssFns:[]},"border-bottom-right-radius":"border-bottom-left-radius","border-bottom-style":{cssPropBits:0,cssLitGroup:[J[9],J[62],J[64],J[71]],cssFns:[]},"border-bottom-width":{cssPropBits:5,cssLitGroup:[J[47],J[69]],cssFns:[]},"border-collapse":{cssPropBits:0,cssLitGroup:[J[59],J[76]],cssFns:[]},"border-color":"background-color","border-left":"border","border-left-color":"background-color","border-left-style":"border-bottom-style",\r\n"border-left-width":"border-bottom-width","border-radius":{cssPropBits:5,cssLitGroup:[J[49]],cssFns:[]},"border-right":"border","border-right-color":"background-color","border-right-style":"border-bottom-style","border-right-width":"border-bottom-width","border-spacing":"border-bottom-left-radius","border-style":"border-bottom-style","border-top":"border","border-top-color":"background-color","border-top-left-radius":"border-bottom-left-radius","border-top-right-radius":"border-bottom-left-radius",\r\n"border-top-style":"border-bottom-style","border-top-width":"border-bottom-width","border-width":"border-bottom-width",bottom:{cssPropBits:5,cssLitGroup:[J[52]],cssFns:[]},box:{cssPropBits:0,cssLitGroup:[J[60],J[71],J[72]],cssFns:[]},"box-shadow":{cssPropBits:7,cssLitGroup:[J[0],J[48],J[64],J[71]],cssFns:["rgb()","rgba()"]},"box-sizing":{cssPropBits:0,cssLitGroup:[J[25]],cssFns:[]},"caption-side":{cssPropBits:0,cssLitGroup:[J[31]],cssFns:[]},clear:{cssPropBits:0,cssLitGroup:[J[42],J[54],J[71]],cssFns:[]},\r\nclip:{cssPropBits:0,cssLitGroup:[J[52]],cssFns:["rect()"]},color:"background-color",content:{cssPropBits:8,cssLitGroup:[J[71],J[72]],cssFns:[]},cue:{cssPropBits:16,cssLitGroup:[J[71]],cssFns:[]},"cue-after":"cue","cue-before":"cue",cursor:{cssPropBits:16,cssLitGroup:[J[1],J[48],J[52]],cssFns:[]},direction:{cssPropBits:0,cssLitGroup:[J[43]],cssFns:[]},display:{cssPropBits:0,cssLitGroup:[J[4],J[6],J[20],J[52],J[67],J[71]],cssFns:[]},"display-extras":{cssPropBits:0,cssLitGroup:[J[67],J[71]],cssFns:[]},\r\n"display-inside":{cssPropBits:0,cssLitGroup:[J[20],J[52]],cssFns:[]},"display-outside":{cssPropBits:0,cssLitGroup:[J[4],J[71]],cssFns:[]},elevation:{cssPropBits:5,cssLitGroup:[J[15]],cssFns:[]},"empty-cells":{cssPropBits:0,cssLitGroup:[J[38]],cssFns:[]},filter:{cssPropBits:0,cssFns:["alpha()"]},"float":{cssPropBits:0,cssLitGroup:[J[42],J[71]],cssFns:[]},font:{cssPropBits:73,cssLitGroup:[J[3],J[8],J[13],J[16],J[41],J[48],J[49],J[69],J[72],J[77]],cssFns:[]},"font-family":{cssPropBits:72,cssLitGroup:[J[16],\r\nJ[48]],cssFns:[]},"font-size":{cssPropBits:1,cssLitGroup:[J[8],J[69]],cssFns:[]},"font-stretch":{cssPropBits:0,cssLitGroup:[J[5],J[72]],cssFns:[]},"font-style":{cssPropBits:0,cssLitGroup:[J[41],J[72]],cssFns:[]},"font-variant":{cssPropBits:0,cssLitGroup:[J[72],J[77]],cssFns:[]},"font-weight":{cssPropBits:0,cssLitGroup:[J[3],J[72]],cssFns:[]},height:"bottom",left:"bottom","letter-spacing":{cssPropBits:5,cssLitGroup:[J[72]],cssFns:[]},"line-height":{cssPropBits:1,cssLitGroup:[J[72]],cssFns:[]},"list-style":{cssPropBits:16,\r\ncssLitGroup:[J[2],J[40],J[57],J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"list-style-image":{cssPropBits:16,cssLitGroup:[J[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"list-style-position":{cssPropBits:0,cssLitGroup:[J[40]],cssFns:[]},"list-style-type":{cssPropBits:0,cssLitGroup:[J[2],J[57],J[71]],cssFns:[]},margin:"bottom","margin-bottom":"bottom",\r\n"margin-left":"bottom","margin-right":"bottom","margin-top":"bottom","max-height":{cssPropBits:1,cssLitGroup:[J[52],J[71]],cssFns:[]},"max-width":"max-height","min-height":{cssPropBits:1,cssLitGroup:[J[52]],cssFns:[]},"min-width":"min-height",opacity:{cssPropBits:1,cssFns:[]},outline:{cssPropBits:7,cssLitGroup:[J[0],J[9],J[47],J[62],J[64],J[65],J[69],J[71]],cssFns:["rgb()","rgba()"]},"outline-color":{cssPropBits:2,cssLitGroup:[J[0],J[65]],cssFns:["rgb()","rgba()"]},"outline-style":"border-bottom-style",\r\n"outline-width":"border-bottom-width",overflow:{cssPropBits:0,cssLitGroup:[J[52],J[62],J[75],J[80]],cssFns:[]},"overflow-wrap":{cssPropBits:0,cssLitGroup:[J[55],J[72]],cssFns:[]},"overflow-x":{cssPropBits:0,cssLitGroup:[J[44],J[52],J[62],J[75],J[80]],cssFns:[]},"overflow-y":"overflow-x",padding:"opacity","padding-bottom":"opacity","padding-left":"opacity","padding-right":"opacity","padding-top":"opacity","page-break-after":{cssPropBits:0,cssLitGroup:[J[42],J[51],J[52],J[53]],cssFns:[]},"page-break-before":"page-break-after",\r\n"page-break-inside":{cssPropBits:0,cssLitGroup:[J[52],J[53]],cssFns:[]},pause:"border-bottom-left-radius","pause-after":"border-bottom-left-radius","pause-before":"border-bottom-left-radius",perspective:{cssPropBits:5,cssLitGroup:[J[71]],cssFns:[]},"perspective-origin":{cssPropBits:5,cssLitGroup:[J[31],J[42],J[56]],cssFns:[]},pitch:{cssPropBits:5,cssLitGroup:[J[21],J[69]],cssFns:[]},"pitch-range":"border-bottom-left-radius","play-during":{cssPropBits:16,cssLitGroup:[J[52],J[70],J[71],J[74]],cssFns:[]},\r\nposition:{cssPropBits:0,cssLitGroup:[J[23]],cssFns:[]},quotes:{cssPropBits:8,cssLitGroup:[J[71]],cssFns:[]},resize:{cssPropBits:0,cssLitGroup:[J[39],J[54],J[71]],cssFns:[]},richness:"border-bottom-left-radius",right:"bottom",speak:{cssPropBits:0,cssLitGroup:[J[71],J[72],J[78]],cssFns:[]},"speak-header":{cssPropBits:0,cssLitGroup:[J[51],J[73]],cssFns:[]},"speak-numeral":{cssPropBits:0,cssLitGroup:[J[35]],cssFns:[]},"speak-punctuation":{cssPropBits:0,cssLitGroup:[J[58],J[71]],cssFns:[]},"speech-rate":{cssPropBits:5,\r\ncssLitGroup:[J[14],J[69]],cssFns:[]},stress:"border-bottom-left-radius","table-layout":{cssPropBits:0,cssLitGroup:[J[52],J[61]],cssFns:[]},"text-align":{cssPropBits:0,cssLitGroup:[J[42],J[56],J[66]],cssFns:[]},"text-decoration":{cssPropBits:0,cssLitGroup:[J[19],J[71]],cssFns:[]},"text-indent":"border-bottom-left-radius","text-overflow":{cssPropBits:8,cssLitGroup:[J[33]],cssFns:[]},"text-shadow":"box-shadow","text-transform":{cssPropBits:0,cssLitGroup:[J[26],J[71]],cssFns:[]},"text-wrap":{cssPropBits:0,\r\ncssLitGroup:[J[46],J[71],J[72]],cssFns:[]},top:"bottom",transform:{cssPropBits:0,cssLitGroup:[J[71]],cssFns:"matrix(),perspective(),rotate(),rotate3d(),rotatex(),rotatey(),rotatez(),scale(),scale3d(),scalex(),scaley(),scalez(),skew(),skewx(),skewy(),translate(),translate3d(),translatex(),translatey(),translatez()".split(",")},"transform-origin":"perspective-origin","transform-style":{cssPropBits:0,cssLitGroup:[J[37]],cssFns:[]},transition:{cssPropBits:1029,cssLitGroup:[J[10],J[48],J[50],J[71]],cssFns:["cubic-bezier()",\r\n"steps()"]},"transition-delay":"animation-delay","transition-duration":"animation-delay","transition-property":{cssPropBits:1024,cssLitGroup:[J[48],J[50]],cssFns:[]},"transition-timing-function":"animation-timing-function","unicode-bidi":{cssPropBits:0,cssLitGroup:[J[30],J[72]],cssFns:[]},"vertical-align":{cssPropBits:5,cssLitGroup:[J[12],J[31]],cssFns:[]},visibility:"backface-visibility","voice-family":{cssPropBits:8,cssLitGroup:[J[27],J[48]],cssFns:[]},volume:{cssPropBits:1,cssLitGroup:[J[17],J[69]],\r\ncssFns:[]},"white-space":{cssPropBits:0,cssLitGroup:[J[22],J[72]],cssFns:[]},width:"min-height","word-break":{cssPropBits:0,cssLitGroup:[J[32],J[72],J[55]],cssFns:[]},"word-spacing":"letter-spacing","word-wrap":"overflow-wrap","z-index":"bottom",zoom:"line-height","cubic-bezier()":"animation-delay","steps()":{cssPropBits:5,cssLitGroup:[J[36],J[48]],cssFns:[]},"image()":{cssPropBits:18,cssLitGroup:[J[0],J[48]],cssFns:["rgb()","rgba()"]},"linear-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[31],J[42],J[48],\r\nJ[79]],cssFns:["rgb()","rgba()"]},"radial-gradient()":{cssPropBits:7,cssLitGroup:[J[0],J[11],J[31],J[42],J[48],J[56],J[57]],cssFns:["rgb()","rgba()"]},"repeating-linear-gradient()":"linear-gradient()","repeating-radial-gradient()":"radial-gradient()","rgb()":{cssPropBits:1,cssLitGroup:[J[48]],cssFns:[]},"rgba()":"rgb()","rect()":{cssPropBits:5,cssLitGroup:[J[48],J[52]],cssFns:[]},"alpha()":{cssPropBits:1,cssLitGroup:[J[28]],cssFns:[]},"matrix()":"animation-delay","perspective()":"border-bottom-left-radius",\r\n"rotate()":"border-bottom-left-radius","rotate3d()":"animation-delay","rotatex()":"border-bottom-left-radius","rotatey()":"border-bottom-left-radius","rotatez()":"border-bottom-left-radius","scale()":"animation-delay","scale3d()":"animation-delay","scalex()":"border-bottom-left-radius","scaley()":"border-bottom-left-radius","scalez()":"border-bottom-left-radius","skew()":"animation-delay","skewx()":"border-bottom-left-radius","skewy()":"border-bottom-left-radius","translate()":"animation-delay","translate3d()":"animation-delay",\r\n"translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius", "justify-content":{cssPropBits:0,cssLitGroup:[J[81]],cssFns:[]}, "flex-direction":{cssPropBits:0,cssLitGroup:[J[82]],cssFns:[]}, "align-items":{cssPropBits:0,cssLitGroup:[J[83]],cssFns:[]}},O;for(O in L)"string"===typeof L[O]&&Object.hasOwnProperty.call(L,O)&&(L[O]=L[L[O]]);"undefined"!==typeof window&&(window.cssSchema=L);var U,X;\r\n(function(){function g(a){var f=parseInt(a.substring(1),16);return 65535<f?(f-=65536,String.fromCharCode(55296+(f>>10),56320+(f&1023))):f==f?String.fromCharCode(f):" ">a[1]?"":a[1]}function w(a,f){return\'"\'+a.replace(/[\\u0000-\\u001f\\\\\\"<>]/g,f)+\'"\'}function M(a){return E[a]||(E[a]="\\\\"+a.charCodeAt(0).toString(16)+" ")}function x(a){return e[a]||(e[a]=("\\u0010">a?"%0":"%")+a.charCodeAt(0).toString(16))}var E={"\\\\":"\\\\\\\\"},e={"\\\\":"%5c"},v=RegExp("\\\\uFEFF|U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?|url[(][\\\\t\\\\n\\\\f ]*(?:\\"(?:\'|[^\'\\"\\\\n\\\\f\\\\\\\\]|\\\\\\\\[\\\\s\\\\S])*\\"|\'(?:\\"|[^\'\\"\\\\n\\\\f\\\\\\\\]|\\\\\\\\[\\\\s\\\\S])*\'|(?:[\\\\t\\\\x21\\\\x23-\\\\x26\\\\x28-\\\\x5b\\\\x5d-\\\\x7e]|[\\\\u0080-\\\\ud7ff\\\\ue000-\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]|\\\\\\\\(?:[0-9a-fA-F]{1,6}[\\\\t\\\\n\\\\f ]?|[\\\\u0020-\\\\u007e\\\\u0080-\\\\ud7ff\\\\ue000\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]))*)[\\\\t\\\\n\\\\f ]*[)]|(?!url[(])-?(?:[a-zA-Z_]|[\\\\u0080-\\\\ud7ff\\\\ue000-\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]|\\\\\\\\(?:[0-9a-fA-F]{1,6}[\\\\t\\\\n\\\\f ]?|[\\\\u0020-\\\\u007e\\\\u0080-\\\\ud7ff\\\\ue000\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]))(?:[a-zA-Z0-9_-]|[\\\\u0080-\\\\ud7ff\\\\ue000-\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]|\\\\\\\\(?:[0-9a-fA-F]{1,6}[\\\\t\\\\n\\\\f ]?|[\\\\u0020-\\\\u007e\\\\u0080-\\\\ud7ff\\\\ue000\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]))*[(]|(?:@?-?(?:[a-zA-Z_]|[\\\\u0080-\\\\ud7ff\\\\ue000-\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]|\\\\\\\\(?:[0-9a-fA-F]{1,6}[\\\\t\\\\n\\\\f ]?|[\\\\u0020-\\\\u007e\\\\u0080-\\\\ud7ff\\\\ue000\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]))|#)(?:[a-zA-Z0-9_-]|[\\\\u0080-\\\\ud7ff\\\\ue000-\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]|\\\\\\\\(?:[0-9a-fA-F]{1,6}[\\\\t\\\\n\\\\f ]?|[\\\\u0020-\\\\u007e\\\\u0080-\\\\ud7ff\\\\ue000\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]))*|\\"(?:\'|[^\'\\"\\\\n\\\\f\\\\\\\\]|\\\\\\\\[\\\\s\\\\S])*\\"|\'(?:\\"|[^\'\\"\\\\n\\\\f\\\\\\\\]|\\\\\\\\[\\\\s\\\\S])*\'|[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)(?:%|-?(?:[a-zA-Z_]|[\\\\u0080-\\\\ud7ff\\\\ue000-\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]|\\\\\\\\(?:[0-9a-fA-F]{1,6}[\\\\t\\\\n\\\\f ]?|[\\\\u0020-\\\\u007e\\\\u0080-\\\\ud7ff\\\\ue000\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]))(?:[a-zA-Z0-9_-]|[\\\\u0080-\\\\ud7ff\\\\ue000-\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]|\\\\\\\\(?:[0-9a-fA-F]{1,6}[\\\\t\\\\n\\\\f ]?|[\\\\u0020-\\\\u007e\\\\u0080-\\\\ud7ff\\\\ue000\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]))*)?|<\\!--|--\\>|[\\\\t\\\\n\\\\f ]+|/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\\\n\\\\f]*)|[~|^$*]=|[^\\"\'\\\\\\\\/]|/(?![/*])","gi"),\r\nb=RegExp("\\\\\\\\(?:(?:[0-9a-fA-F]{1,6}[\\\\t\\\\n\\\\f ]?|[\\\\u0020-\\\\u007e\\\\u0080-\\\\ud7ff\\\\ue000\\\\ufffd]|[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff])|[\\\\n\\\\f])","g"),a=RegExp("^url\\\\([\\\\t\\\\n\\\\f ]*[\\"\']?|[\\"\']?[\\\\t\\\\n\\\\f ]*\\\\)$","gi");X=function(a){return a.replace(b,g)};U=function(b){for(var b=(""+b).replace(/\\r\\n?/g,"\\n").match(v)||[],f=0,h=" ",d=0,y=b.length;d<y;++d){var l=X(b[d]),V=l.length,g=l.charCodeAt(0),l=34==g||39==g?w(l.substring(1,V-1),M):47==g&&1<V||"\\\\"==l||"--\\>"==l||"<\\!--"==l||"\\ufeff"==l||32>=g?" ":\r\n/url\\(/i.test(l)?"url("+w(l.replace(a,""),x)+")":l;if(h!=l||" "!=l)b[f++]=h=l}b.length=f;return b}})();"undefined"!==typeof window&&(window.lexCss=U,window.decodeCss=X);var Y=function(){function g(d){d=(""+d).match(k);return!d?s:new e(v(d[1]),v(d[2]),v(d[3]),v(d[4]),v(d[5]),v(d[6]),v(d[7]))}function w(d,a){return"string"==typeof d?encodeURI(d).replace(a,M):s}function M(d){d=d.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(d>>4&15)+"0123456789ABCDEF".charAt(d&15)}function x(d){if(d===s)return s;for(var d=d.replace(/(^|\\/)\\.(?:\\/|$)/g,"$1").replace(/\\/{2,}/g,"/"),a=b,h;(h=d.replace(a,"$1"))!=d;d=h);return d}function E(d,h){var b=d.T(),f=h.K();f?b.ga(h.j):f=h.X();\r\nf?b.da(h.n):f=h.Y();f?b.ea(h.k):f=h.$();var g=h.g,k=x(g);if(f)b.ca(h.V()),k=k&&k.replace(a,"");else if(f=!!g){if(47!==k.charCodeAt(0))var k=x(b.g||"").replace(a,""),e=k.lastIndexOf("/")+1,k=x((e?k.substring(0,e):"")+x(g)).replace(a,"")}else k=k&&k.replace(a,""),k!==g&&b.G(k);f?b.G(k):f=h.aa();f?b.O(h.l):f=h.Z();f&&b.fa(h.o);return b}function e(d,a,h,f,b,g,k){this.j=d;this.n=a;this.k=h;this.h=f;this.g=b;this.l=g;this.o=k}function v(d){return"string"==typeof d&&0<d.length?d:s}var b=RegExp(/(\\/|^)(?:[^./][^/]*|\\.{2,}(?:[^./][^/]*)|\\.{3,}[^/]*)\\/\\.\\.(?:\\/|$)/),\r\na=/^(?:\\.\\.\\/)*(?:\\.\\.$)?/;e.prototype.toString=function(){var d=[];s!==this.j&&d.push(this.j,":");s!==this.k&&(d.push("//"),s!==this.n&&d.push(this.n,"@"),d.push(this.k),s!==this.h&&d.push(":",this.h.toString()));s!==this.g&&d.push(this.g);s!==this.l&&d.push("?",this.l);s!==this.o&&d.push("#",this.o);return d.join("")};e.prototype.T=function(){return new e(this.j,this.n,this.k,this.h,this.g,this.l,this.o)};e.prototype.W=function(){return this.j&&decodeURIComponent(this.j).toLowerCase()};e.prototype.ga=\r\nfunction(d){this.j=d?d:s};e.prototype.K=function(){return s!==this.j};e.prototype.da=function(d){this.n=d?d:s};e.prototype.X=function(){return s!==this.n};e.prototype.ea=function(d){this.k=d?d:s;this.G(this.g)};e.prototype.Y=function(){return s!==this.k};e.prototype.V=function(){return this.h&&decodeURIComponent(this.h)};e.prototype.ca=function(d){if(d){d=Number(d);if(d!==(d&65535))throw Error("Bad port number "+d);this.h=""+d}else this.h=s};e.prototype.$=function(){return s!==this.h};e.prototype.U=\r\nfunction(){return this.g&&decodeURIComponent(this.g)};e.prototype.G=function(d){d?(d=""+d,this.g=!this.k||/^\\//.test(d)?d:"/"+d):this.g=s};e.prototype.O=function(d){this.l=d?d:s};e.prototype.aa=function(){return s!==this.l};e.prototype.ba=function(d){if("object"===typeof d&&!(d instanceof Array)&&(d instanceof Object||"[object Array]"!==Object.prototype.toString.call(d))){var a=[],h=-1,f;for(f in d){var b=d[f];"string"===typeof b&&(a[++h]=f,a[++h]=b)}d=a}for(var a=[],h="",g=0;g<d.length;)f=d[g++],\r\nb=d[g++],a.push(h,encodeURIComponent(f.toString())),h="&",b&&a.push("=",encodeURIComponent(b.toString()));this.l=a.join("")};e.prototype.fa=function(d){this.o=d?d:s};e.prototype.Z=function(){return s!==this.o};var k=/^(?:([^:/?#]+):)?(?:\\/\\/(?:([^/?#]*)@)?([^/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$/,f=/[#\\/\\?@]/g,h=/[\\#\\?]/g;e.parse=g;e.create=function(d,a,b,g,k,Q,N){d=new e(w(d,f),w(a,f),"string"==typeof b?encodeURIComponent(b):s,0<g?g.toString():s,w(k,h),s,"string"==typeof N?encodeURIComponent(N):\r\ns);Q&&("string"===typeof Q?d.O(Q.replace(/[^?&=0-9A-Za-z_\\-~.%]/g,M)):d.ba(Q));return d};e.N=E;e.ma=x;e.ha={ua:function(d){return/\\.html$/.test(g(d).U())?"text/html":"application/javascript"},N:function(d,a){return d?E(g(d),g(a)).toString():""+a}};return e}();"undefined"!==typeof window&&(window.URI=Y);var aa=c,ba=c,da=c,Z=c;\r\n(function(){function g(a){return"string"===typeof a?\'url("\'+a.replace(e,w)+\'")\':\'url("about:blank")\'}function w(a){return v[a]}function M(a,d){return a?Y.ha.N(a,d):d}function x(h,d,f){if(!f)return s;var g=(""+h).match(b);return g&&(!g[1]||a.test(g[1]))?f(h,d):s}function E(a){return a.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/,"")}var e=/[\\n\\f\\r\\"\\\'()*<>]/g,v={"\\n":"%0a","\\u000c":"%0c","\\r":"%0d",\'"\':"%22","\'":"%27","(":"%28",")":"%29","*":"%2a","<":"%3c",">":"%3e"},\r\nb=/^(?:([^:/?# ]+):)?/,a=/^(?:https?|mailto|data)$/i;aa=function(){var a={};return function y(f,b,k,e,N){var f=E(f),u=L[f];if(!u||"object"!==typeof u)b.length=0;else{for(var i=u.cssPropBits,q=i&80,B=i&1536,F=NaN,r=0,o=0;r<b.length;++r){var j=b[r].toLowerCase(),I=j.charCodeAt(0),R,v,P,S,D,w;if(32===I)j="";else if(34===I)j=16===q?k?g(x(M(e,X(b[r].substring(1,j.length-1))),f,k)):"":i&8&&!(q&q-1)?j:"";else if("inherit"!==j){if(D=u.cssLitGroup){var G;if(!(G=u.cssLitMap)){G={};for(var K=D.length;0<=--K;)for(var A=\r\nD[K],T=A.length;0<=--T;)G[A[T]]=a;G=u.cssLitMap=G}D=G}else D=a;if(!(w=D,w[E(j)]===a))if(35===I&&/^#(?:[0-9a-f]{3}){1,2}$/.test(j))j=i&2?j:"";else if(48<=I&&57>=I)j=i&1?j:"";else if(R=j.charCodeAt(1),v=j.charCodeAt(2),P=48<=R&&57>=R,S=48<=v&&57>=v,43===I&&(P||46===R&&S))j=i&1?(P?"":"0")+j.substring(1):"";else if(45===I&&(P||46===R&&S))j=i&4?(P?"-":"-0")+j.substring(1):i&1?"0":"";else if(46===I&&P)j=i&1?"0"+j:"";else if(\'url("\'===j.substring(0,5))j=k&&i&16?g(x(M(e,b[r].substring(5,j.length-2)),f,k)):\r\n"";else if("("===j.charAt(j.length-1))a:{D=b;G=r;j=1;K=G+1;for(I=D.length;K<I&&j;)A=D[K++],j+=")"===A?-1:/^[^"\']*\\($/.test(A);if(!j){j=D[G].toLowerCase();I=E(j);D=D.splice(G,K-G,"");G=u.cssFns;K=0;for(A=G.length;K<A;++K)if(G[K].substring(0,I.length)==I){D[0]=D[D.length-1]="";y(G[K],D,k,e);j=j+D.join(" ")+")";break a}}j=""}else j=B&&/^-?[a-z_][\\w\\-]*$/.test(j)&&!/__$/.test(j)?N&&512===B?b[r]+N:1024===B&&L[j]&&"number"===typeof L[j].oa?j:"":/^\\w+$/.test(j)&&64===q&&i&8?F+1===o?(b[F]=b[F].substring(0,\r\nb[F].length-1)+" "+j+\'"\',""):(F=o,\'"\'+j+\'"\'):""}j&&(b[o++]=j)}1===o&&\'url("about:blank")\'===b[0]&&(o=0);b.length=o}}}();var k=RegExp("^(active|after|before|blank|checked|default|disabled|drop|empty|enabled|first|first-child|first-letter|first-line|first-of-type|fullscreen|focus|hover|in-range|indeterminate|invalid|last-child|last-of-type|left|link|only-child|only-of-type|optional|out-of-range|placeholder-shown|read-only|read-write|required|right|root|scope|user-error|valid|visited)$"),f={};f[">"]=\r\nf["+"]=f["~"]=f;ba=function(a,d,b){function g(i,r){function o(b,f,g){var y,e,i,l,o,m=n;y="";if(b<f)if(o=a[b],"*"===o)++b,y=o;else if(/^[a-zA-Z]/.test(o)&&(e=x(o.toLowerCase(),[])))"tagName"in e&&(o=e.tagName),++b,y=o;for(l=i=e="";m&&b<f;++b)if(o=a[b],"#"===o.charAt(0))/^#_|__$|[^\\w#:\\-]/.test(o)?m=C:e+=o+v;else if("."===o)++b<f&&/^[0-9A-Za-z:_\\-]+$/.test(o=a[b])&&!/^_|__$/.test(o)?e+="."+o:m=C;else if(b+1<f&&"["===a[b]){++b;var H=a[b++].toLowerCase();o=$.m[y+"::"+H];o!==+o&&(o=$.m["*::"+H]);var W;\r\nd.ia?(W=d.ia(y,H),"string"!==typeof W&&(m=C,W=H),m&&o!==+o&&(o=$.d.NONE)):(W=H,o!==+o&&(m=C));var p=H="",ca=C;/^[~^$*|]?=$/.test(a[b])&&(H=a[b++],p=a[b++],/^[0-9A-Za-z:_\\-]+$/.test(p)?p=\'"\'+p+\'"\':"]"===p&&(p=\'""\',--b),/^"([^\\"\\\\]|\\\\.)*"$/.test(p)||(m=C),(ca="i"===a[b])&&++b);"]"!==a[b]&&(++b,m=C);switch(o){case $.d.CLASSES:case $.d.LOCAL_NAME:case $.d.NONE:break;case $.d.GLOBAL_NAME:case $.d.ID:case $.d.IDREF:("="===H||"~="===H||"$="===H)&&\'""\'!=p&&!ca?p=\'"\'+p.substring(1,p.length-1)+v+\'"\':"|="===\r\nH||""===H||(m=C);break;case $.d.URI:case $.d.URI_FRAGMENT:""!==H&&(m=C);break;default:m=C}m&&(i+="["+W.replace(/[^\\w-]/g,"\\\\$&")+H+p+(ca?" i]":"]"))}else if(b<f&&":"===a[b])if(o=a[++b],k.test(o))l+=":"+o;else break;else break;b!==f&&(m=C);m&&(b=(y+e).replace(/[^ .*#\\w-]/g,"\\\\$&")+i+l+g)&&j.push(b);return m}" "===a[i]&&++i;r-1!==i&&" "===a[r]&&--r;for(var j=[],l=i,q=n,u=i;q&&u<r;++u){var B=a[u];if(f[B]===f||" "===B)o(l,u,B)?l=u+1:q=C}o(l,r,"")||(q=C);return q?(j.length&&(l=j.join(""),e!==s&&(l="."+\r\ne+" "+l),N.push(l)),n):!b||b(a.slice(i,r))}var e=d.na,v=d.L,x=d.Aa,N=[],u=0,i,q=0,B;for(i=0;i<a.length;++i)if(B=a[i],"("==B||"["==B?(++q,n):")"==B||"]"==B?(q&&--q,n):!(" "==a[i]&&(q||f[a[i-1]]===f||f[a[i+1]]===f)))a[u++]=a[i];a.length=u;u=a.length;for(i=q=0;i<u;++i)if(","===a[i]){if(!g(q,i))return s;q=i+1}return!g(q,u)?s:N};(function(){var a=/^\\w/,d=RegExp("^(?:(?:(?:(?:only|not) )?(?:all|aural|braille|embossed|handheld|print|projection|screen|speech|tty|tv)|\\\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\\\w+(?:-\\\\w+)*|\\\\d+(?: / \\\\d+|(?:\\\\.\\\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\\\))(?: and ?\\\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\\\w+(?:-\\\\w+)*|\\\\d+(?: / \\\\d+|(?:\\\\.\\\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\\\))*)(?: , (?:(?:(?:(?:only|not) )?(?:all|aural|braille|embossed|handheld|print|projection|screen|speech|tty|tv)|\\\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\\\w+(?:-\\\\w+)*|\\\\d+(?: / \\\\d+|(?:\\\\.\\\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\\\))(?: and ?\\\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\\\w+(?:-\\\\w+)*|\\\\d+(?: / \\\\d+|(?:\\\\.\\\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\\\))*))*$",\r\n"i");Z=function(b){for(var b=b.slice(),f=b.length,g=0,k=0;k<f;++k){var e=b[k];" "!=e&&(b[g++]=e)}b.length=g;b=b.join(" ");return b=!b.length?"":!d.test(b)?"not all":a.test(b)?b:"not all , "+b}})();(function(){function a(b){var d=/^\\s*[\']([^\']*)[\']\\s*$/,f=/^\\s*url\\s*[(]["]([^"]*)["][)]\\s*$/,g=/^\\s*url\\s*[(][\']([^\']*)[\'][)]\\s*$/,h=/^\\s*url\\s*[(]([^)]*)[)]\\s*$/,k;return(k=/^\\s*["]([^"]*)["]\\s*$/.exec(b))||(k=d.exec(b))||(k=f.exec(b))||(k=g.exec(b))||(k=h.exec(b))?k[1]:s}function b(f,g,k,e,v,w,u){function i(){r=\r\nF.length&&F[F.length-1]===s}var q=c,B=u||[0],F=[],r=C;fa(g,{startStylesheet:function(){q=[]},endStylesheet:function(){},startAtrule:function(g,j){if(r)g=s;else if("@media"===g)q.push("@media"," ",Z(j));else if("@keyframes"===g||"@-webkit-keyframes"===g){var i=j[0];1===j.length&&!/__$|[^\\w\\-]/.test(i)?(q.push(g," ",i+k.L),g="@keyframes"):g=s}else if("@import"===g&&0<j.length)if(g=s,"function"===typeof w){var l=Z(j.slice(1));if("not all"!==l){++B[0];var u=[];q.push(u);var E=x(M(f,a(j[0])),function(a){var f=\r\nb(E,a.qa,k,e,v,w,B);--B[0];a=l?{toString:function(){return"@media "+l+" {"+f.result+"}"}}:f.result;u[0]=a;w(a,!!B[0])},v)}}else window.console&&window.console.log("@import "+j.join(" ")+" elided");r=!g;F.push(g)},endAtrule:function(){F.pop();r||q.push(";");i()},startBlock:function(){r||q.push("{")},endBlock:function(){r||(q.push("}"),r=n)},startRuleset:function(a){if(!r){var b=c;"@keyframes"===F[F.length-1]?(b=a.join(" ").match(/^ *(?:from|to|\\d+(?:\\.\\d+)?%) *(?:, *(?:from|to|\\d+(?:\\.\\d+)?%) *)*$/i),\r\nr=!b,b&&(b=b[0].replace(/ +/g,""))):(a=ba(a,k),!a||!a.length?r=n:b=a.join(", "));r||q.push(b,"{")}F.push(s)},endRuleset:function(){F.pop();r||q.push("}");i()},declaration:function(a,b){if(!r){var d=C,g=b.length;2<=g&&"!"===b[g-2]&&"important"===b[g-1].toLowerCase()&&(d=n,b.length-=2);aa(a,b,e,f,k.L);b.length&&q.push(a,":",b.join(" "),d?" !important;":";")}}});return{result:{toString:function(){return q.join("")}},va:!!B[0]}}da=function(a,f,g,k){return b(a,f,g,k,c,c).result.toString()}})()})();\r\n"undefined"!==typeof window&&(window.sanitizeCssProperty=aa,window.sanitizeCssSelectorList=ba,window.sanitizeStylesheet=da,window.sanitizeMediaQuery=Z);var fa,ga;\r\n(function(){function g(b,a,g,f,h){for(var d=a++;a<g&&"{"!==b[a]&&";"!==b[a];)++a;if(a<g&&(h||";"===b[a])){var h=d+1,e=a;h<g&&" "===b[h]&&++h;e>h&&" "===b[e-1]&&--e;f.startAtrule&&f.startAtrule(b[d].toLowerCase(),b.slice(h,e));a="{"===b[a]?w(b,a,g,f):a+1;f.endAtrule&&f.endAtrule()}return a}function w(b,a,k,f){++a;for(f.startBlock&&f.startBlock();a<k;){var h=b[a].charAt(0);if("}"==h){++a;break}a=" "===h||";"===h?a+1:"@"===h?g(b,a,k,f,C):"{"===h?w(b,a,k,f):M(b,a,k,f)}f.endBlock&&f.endBlock();return a}\r\nfunction M(b,a,g,f){var h=a,d=x(b,a,g,n);if(0>d)return d=~d,d===h?d+1:d;var y=b[d];if("{"!==y)return d===h?d+1:d;a=d+1;d>h&&" "===b[d-1]&&--d;for(f.startRuleset&&f.startRuleset(b.slice(h,d));a<g;){y=b[a];if("}"===y){++a;break}a=" "===y?a+1:e(b,a,g,f)}f.endRuleset&&f.endRuleset();return a}function x(b,a,g,f){for(var h,d=[],e=-1;a<g;++a)if(h=b[a].charAt(0),"["===h||"("===h)d[++e]=h;else if("]"===h&&"["===d[e]||")"===h&&"("===d[e])--e;else if("{"===h||"}"===h||";"===h||"@"===h||":"===h&&!f)break;0<=\r\ne&&(a=~(a+1));return a}function E(b,a,g){for(;a<g&&";"!==b[a]&&"}"!==b[a];)++a;return a<g&&";"===b[a]?a+1:a}function e(b,a,g,f){var h=b[a++];if(!v.test(h))return E(b,a,g);a<g&&" "===b[a]&&++a;if(a==g||":"!==b[a])return E(b,a,g);++a;a<g&&" "===b[a]&&++a;var d=x(b,a,g,C);if(0>d)d=~d;else{for(var e=[],l=0,w=a;w<d;++w)a=b[w]," "!==a&&(e[l++]=a);if(d<g){do{a=b[d];if(";"===a||"}"===a)break;l=0}while(++d<g);";"===a&&++d}l&&f.declaration&&f.declaration(h.toLowerCase(),e)}return d}fa=function(b,a){var e=U(b);\r\na.startStylesheet&&a.startStylesheet();for(var f=0,h=e.length;f<h;)f=" "===e[f]?f+1:f<h?"@"===e[f].charAt(0)?g(e,f,h,a,n):M(e,f,h,a):f;a.endStylesheet&&a.endStylesheet()};var v=/^-?[a-z]/i;ga=function(b,a){for(var g=U(b),f=0,h=g.length;f<h;)f=" "!==g[f]?e(g,f,h,a):f+1}})();"undefined"!==typeof window&&(window.parseCssStylesheet=fa,window.parseCssDeclarations=ga);var $={d:{NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,HTML:12,ID:4,IDREF:5,IDREFS:6,GLOBAL_NAME:7,LOCAL_NAME:8,CLASSES:9,FRAME_TARGET:10,MEDIA_QUERY:13}};$.atype=$.d;\r\n$.m={"*::class":9,"*::dir":0,"*::draggable":0,"*::hidden":0,"*::id":4,"*::inert":0,"*::itemprop":0,"*::itemref":6,"*::itemscope":0,"*::lang":0,"*::onblur":2,"*::onchange":2,"*::onclick":2,"*::ondblclick":2,"*::onerror":2,"*::onfocus":2,"*::onkeydown":2,"*::onkeypress":2,"*::onkeyup":2,"*::onload":2,"*::onmousedown":2,"*::onmousemove":2,"*::onmouseout":2,"*::onmouseover":2,"*::onmouseup":2,"*::onreset":2,"*::onscroll":2,"*::onselect":2,"*::onsubmit":2,"*::ontouchcancel":2,"*::ontouchend":2,"*::ontouchenter":2,\r\n"*::ontouchleave":2,"*::ontouchmove":2,"*::ontouchstart":2,"*::onunload":2,"*::spellcheck":0,"*::style":3,"*::tabindex":0,"*::title":0,"*::translate":0,"a::accesskey":0,"a::coords":0,"a::href":1,"a::hreflang":0,"a::name":7,"a::onblur":2,"a::onfocus":2,"a::shape":0,"a::target":10,"a::type":0,"area::accesskey":0,"area::alt":0,"area::coords":0,"area::href":1,"area::nohref":0,"area::onblur":2,"area::onfocus":2,"area::shape":0,"area::target":10,"audio::controls":0,"audio::loop":0,"audio::mediagroup":5,\r\n"audio::muted":0,"audio::preload":0,"audio::src":1,"bdo::dir":0,"blockquote::cite":1,"br::clear":0,"button::accesskey":0,"button::disabled":0,"button::name":8,"button::onblur":2,"button::onfocus":2,"button::type":0,"button::value":0,"canvas::height":0,"canvas::width":0,"caption::align":0,"col::align":0,"col::char":0,"col::charoff":0,"col::span":0,"col::valign":0,"col::width":0,"colgroup::align":0,"colgroup::char":0,"colgroup::charoff":0,"colgroup::span":0,"colgroup::valign":0,"colgroup::width":0,\r\n"command::checked":0,"command::command":5,"command::disabled":0,"command::icon":1,"command::label":0,"command::radiogroup":0,"command::type":0,"data::value":0,"del::cite":1,"del::datetime":0,"details::open":0,"dir::compact":0,"div::align":0,"dl::compact":0,"fieldset::disabled":0,"font::color":0,"font::face":0,"font::size":0,"form::accept":0,"form::action":1,"form::autocomplete":0,"form::enctype":0,"form::method":0,"form::name":7,"form::novalidate":0,"form::onreset":2,"form::onsubmit":2,"form::target":10,\r\n"h1::align":0,"h2::align":0,"h3::align":0,"h4::align":0,"h5::align":0,"h6::align":0,"hr::align":0,"hr::noshade":0,"hr::size":0,"hr::width":0,"iframe::align":0,"iframe::frameborder":0,"iframe::height":0,"iframe::marginheight":0,"iframe::marginwidth":0,"iframe::width":0,"img::align":0,"img::alt":0,"img::border":0,"img::height":0,"img::hspace":0,"img::ismap":0,"img::name":7,"img::src":1,"img::usemap":11,"img::vspace":0,"img::width":0,"input::accept":0,"input::accesskey":0,"input::align":0,"input::alt":0,\r\n"input::autocomplete":0,"input::checked":0,"input::disabled":0,"input::inputmode":0,"input::ismap":0,"input::list":5,"input::max":0,"input::maxlength":0,"input::min":0,"input::multiple":0,"input::name":8,"input::onblur":2,"input::onchange":2,"input::onfocus":2,"input::onselect":2,"input::pattern":0,"input::placeholder":0,"input::readonly":0,"input::required":0,"input::size":0,"input::src":1,"input::step":0,"input::type":0,"input::usemap":11,"input::value":0,"ins::cite":1,"ins::datetime":0,"label::accesskey":0,\r\n"label::for":5,"label::onblur":2,"label::onfocus":2,"legend::accesskey":0,"legend::align":0,"li::type":0,"li::value":0,"map::name":7,"menu::compact":0,"menu::label":0,"menu::type":0,"meter::high":0,"meter::low":0,"meter::max":0,"meter::min":0,"meter::value":0,"ol::compact":0,"ol::reversed":0,"ol::start":0,"ol::type":0,"optgroup::disabled":0,"optgroup::label":0,"option::disabled":0,"option::label":0,"option::selected":0,"option::value":0,"output::for":6,"output::name":8,"p::align":0,"pre::width":0,\r\n"progress::max":0,"progress::min":0,"progress::value":0,"q::cite":1,"select::autocomplete":0,"select::disabled":0,"select::multiple":0,"select::name":8,"select::onblur":2,"select::onchange":2,"select::onfocus":2,"select::required":0,"select::size":0,"source::type":0,"table::align":0,"table::bgcolor":0,"table::border":0,"table::cellpadding":0,"table::cellspacing":0,"table::frame":0,"table::rules":0,"table::summary":0,"table::width":0,"tbody::align":0,"tbody::char":0,"tbody::charoff":0,"tbody::valign":0,\r\n"td::abbr":0,"td::align":0,"td::axis":0,"td::bgcolor":0,"td::char":0,"td::charoff":0,"td::colspan":0,"td::headers":6,"td::height":0,"td::nowrap":0,"td::rowspan":0,"td::scope":0,"td::valign":0,"td::width":0,"textarea::accesskey":0,"textarea::autocomplete":0,"textarea::cols":0,"textarea::disabled":0,"textarea::inputmode":0,"textarea::name":8,"textarea::onblur":2,"textarea::onchange":2,"textarea::onfocus":2,"textarea::onselect":2,"textarea::placeholder":0,"textarea::readonly":0,"textarea::required":0,\r\n"textarea::rows":0,"textarea::wrap":0,"tfoot::align":0,"tfoot::char":0,"tfoot::charoff":0,"tfoot::valign":0,"th::abbr":0,"th::align":0,"th::axis":0,"th::bgcolor":0,"th::char":0,"th::charoff":0,"th::colspan":0,"th::headers":6,"th::height":0,"th::nowrap":0,"th::rowspan":0,"th::scope":0,"th::valign":0,"th::width":0,"thead::align":0,"thead::char":0,"thead::charoff":0,"thead::valign":0,"tr::align":0,"tr::bgcolor":0,"tr::char":0,"tr::charoff":0,"tr::valign":0,"track::default":0,"track::kind":0,"track::label":0,\r\n"track::srclang":0,"ul::compact":0,"ul::type":0,"video::controls":0,"video::height":0,"video::loop":0,"video::mediagroup":5,"video::muted":0,"video::poster":1,"video::preload":0,"video::src":1,"video::width":0};$.ATTRIBS=$.m;$.c={OPTIONAL_ENDTAG:1,EMPTY:2,CDATA:4,RCDATA:8,UNSAFE:16,FOLDABLE:32,SCRIPT:64,STYLE:128,VIRTUALIZED:256};$.eflags=$.c;\r\n$.f={a:0,abbr:0,acronym:0,address:0,applet:272,area:2,article:0,aside:0,audio:0,b:0,base:274,basefont:274,bdi:0,bdo:0,big:0,blockquote:0,body:305,br:2,button:0,canvas:0,caption:0,center:0,cite:0,code:0,col:2,colgroup:1,command:2,data:0,datalist:0,dd:1,del:0,details:0,dfn:0,dialog:272,dir:0,div:0,dl:0,dt:1,em:0,fieldset:0,figcaption:0,figure:0,font:0,footer:0,form:0,frame:274,frameset:272,h1:0,h2:0,h3:0,h4:0,h5:0,h6:0,head:305,header:0,hgroup:0,hr:2,html:305,i:0,iframe:4,img:2,input:2,ins:0,isindex:274,\r\nkbd:0,keygen:274,label:0,legend:0,li:1,link:274,map:0,mark:0,menu:0,meta:274,meter:0,nav:0,nobr:0,noembed:276,noframes:276,noscript:276,object:272,ol:0,optgroup:0,option:1,output:0,p:1,param:274,pre:0,progress:0,q:0,s:0,samp:0,script:84,section:0,select:0,small:0,source:2,span:0,strike:0,strong:0,style:148,sub:0,summary:0,sup:0,table:0,tbody:1,td:1,textarea:8,tfoot:1,th:1,thead:1,time:0,title:280,tr:1,track:2,tt:0,u:0,ul:0,"var":0,video:0,wbr:2};$.ELEMENTS=$.f;\r\n$.Q={a:"HTMLAnchorElement",abbr:"HTMLElement",acronym:"HTMLElement",address:"HTMLElement",applet:"HTMLAppletElement",area:"HTMLAreaElement",article:"HTMLElement",aside:"HTMLElement",audio:"HTMLAudioElement",b:"HTMLElement",base:"HTMLBaseElement",basefont:"HTMLBaseFontElement",bdi:"HTMLElement",bdo:"HTMLElement",big:"HTMLElement",blockquote:"HTMLQuoteElement",body:"HTMLBodyElement",br:"HTMLBRElement",button:"HTMLButtonElement",canvas:"HTMLCanvasElement",caption:"HTMLTableCaptionElement",center:"HTMLElement",\r\ncite:"HTMLElement",code:"HTMLElement",col:"HTMLTableColElement",colgroup:"HTMLTableColElement",command:"HTMLCommandElement",data:"HTMLElement",datalist:"HTMLDataListElement",dd:"HTMLElement",del:"HTMLModElement",details:"HTMLDetailsElement",dfn:"HTMLElement",dialog:"HTMLDialogElement",dir:"HTMLDirectoryElement",div:"HTMLDivElement",dl:"HTMLDListElement",dt:"HTMLElement",em:"HTMLElement",fieldset:"HTMLFieldSetElement",figcaption:"HTMLElement",figure:"HTMLElement",font:"HTMLFontElement",footer:"HTMLElement",\r\nform:"HTMLFormElement",frame:"HTMLFrameElement",frameset:"HTMLFrameSetElement",h1:"HTMLHeadingElement",h2:"HTMLHeadingElement",h3:"HTMLHeadingElement",h4:"HTMLHeadingElement",h5:"HTMLHeadingElement",h6:"HTMLHeadingElement",head:"HTMLHeadElement",header:"HTMLElement",hgroup:"HTMLElement",hr:"HTMLHRElement",html:"HTMLHtmlElement",i:"HTMLElement",iframe:"HTMLIFrameElement",img:"HTMLImageElement",input:"HTMLInputElement",ins:"HTMLModElement",isindex:"HTMLUnknownElement",kbd:"HTMLElement",keygen:"HTMLKeygenElement",\r\nlabel:"HTMLLabelElement",legend:"HTMLLegendElement",li:"HTMLLIElement",link:"HTMLLinkElement",map:"HTMLMapElement",mark:"HTMLElement",menu:"HTMLMenuElement",meta:"HTMLMetaElement",meter:"HTMLMeterElement",nav:"HTMLElement",nobr:"HTMLElement",noembed:"HTMLElement",noframes:"HTMLElement",noscript:"HTMLElement",object:"HTMLObjectElement",ol:"HTMLOListElement",optgroup:"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTMLParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElement",\r\nprogress:"HTMLProgressElement",q:"HTMLQuoteElement",s:"HTMLElement",samp:"HTMLElement",script:"HTMLScriptElement",section:"HTMLElement",select:"HTMLSelectElement",small:"HTMLElement",source:"HTMLSourceElement",span:"HTMLSpanElement",strike:"HTMLElement",strong:"HTMLElement",style:"HTMLStyleElement",sub:"HTMLElement",summary:"HTMLElement",sup:"HTMLElement",table:"HTMLTableElement",tbody:"HTMLTableSectionElement",td:"HTMLTableDataCellElement",textarea:"HTMLTextAreaElement",tfoot:"HTMLTableSectionElement",\r\nth:"HTMLTableHeaderCellElement",thead:"HTMLTableSectionElement",time:"HTMLTimeElement",title:"HTMLTitleElement",tr:"HTMLTableRowElement",track:"HTMLTrackElement",tt:"HTMLElement",u:"HTMLElement",ul:"HTMLUListElement","var":"HTMLElement",video:"HTMLVideoElement",wbr:"HTMLElement"};$.ELEMENT_DOM_INTERFACES=$.Q;$.P={NOT_LOADED:0,SAME_DOCUMENT:1,NEW_DOCUMENT:2};$.ueffects=$.P;\r\n$.J={"a::href":2,"area::href":2,"audio::src":1,"blockquote::cite":0,"command::icon":1,"del::cite":0,"form::action":2,"img::src":1,"input::src":1,"ins::cite":0,"q::cite":0,"video::poster":1,"video::src":1};$.URIEFFECTS=$.J;$.M={UNSANDBOXED:2,SANDBOXED:1,DATA:0};$.ltypes=$.M;$.I={"a::href":2,"area::href":2,"audio::src":2,"blockquote::cite":2,"command::icon":1,"del::cite":2,"form::action":2,"img::src":1,"input::src":1,"ins::cite":2,"q::cite":2,"video::poster":1,"video::src":2};$.LOADERTYPES=$.I;\r\n"undefined"!==typeof window&&(window.html4=$);var ha=function(g){function w(a){if(i.hasOwnProperty(a))return i[a];var b=a.match(q);return b?String.fromCharCode(parseInt(b[1],10)):(b=a.match(B))?String.fromCharCode(parseInt(b[1],16)):r&&F.test(a)?(r.innerHTML="&"+a+";",b=r.textContent,i[a]=b):"&"+a+";"}function M(a,b){return w(b)}function x(a){return a.replace(j,M)}function E(a){return(""+a).replace(R,"&amp;").replace(P,"&lt;").replace(S,"&gt;").replace(D,"&#34;")}function e(a){return a.replace(ia,"&amp;$1").replace(P,"&lt;").replace(S,"&gt;")}\r\nfunction v(b){var d={z:b.z||b.cdata,A:b.A||b.comment,B:b.B||b.endDoc,t:b.t||b.endTag,e:b.e||b.pcdata,F:b.F||b.rcdata,H:b.H||b.startDoc,w:b.w||b.startTag};return function(b,g){var f;var H=/(<\\/|<\\!--|<[!?]|[&<>])/g;f=b+"";if(G)f=f.split(H);else{for(var e=[],h=0,j;(j=H.exec(f))!==s;)e.push(f.substring(h,j.index)),e.push(j[0]),h=j.index+j[0].length;e.push(f.substring(h));f=e}a(d,f,0,{r:C,C:C},g)}}function b(b,d,g,f,t){return function(){a(b,d,g,f,t)}}function a(a,d,p,e,t){try{a.H&&0==p&&a.H(t);for(var h,\r\nz,j,i=d.length;p<i;){var o=d[p++],l=d[p];switch(o){case "&":I.test(l)?(a.e&&a.e("&"+l,t,A,b(a,d,p,e,t)),p++):a.e&&a.e("&amp;",t,A,b(a,d,p,e,t));break;case "</":if(h=/^([-\\w:]+)[^\\\'\\"]*/.exec(l))if(h[0].length===l.length&&">"===d[p+1])p+=2,j=h[1].toLowerCase(),a.t&&a.t(j,t,A,b(a,d,p,e,t));else{var m=d,q=p,r=a,u=t,v=A,y=e,w=f(m,q);w?(r.t&&r.t(w.name,u,v,b(r,m,q,y,u)),p=w.next):p=m.length}else a.e&&a.e("&lt;/",t,A,b(a,d,p,e,t));break;case "<":if(h=/^([-\\w:]+)\\s*\\/?/.exec(l))if(h[0].length===l.length&&\r\n">"===d[p+1]){p+=2;j=h[1].toLowerCase();a.w&&a.w(j,[],t,A,b(a,d,p,e,t));var B=g.f[j];B&K&&(p=k(d,{name:j,next:p,c:B},a,t,A,e))}else{var m=d,q=a,r=t,u=A,v=e,x=f(m,p);x?(q.w&&q.w(x.name,x.R,r,u,b(q,m,x.next,v,r)),p=x.c&K?k(m,x,q,r,u,v):x.next):p=m.length}else a.e&&a.e("&lt;",t,A,b(a,d,p,e,t));break;case "<\\!--":if(!e.C){for(z=p+1;z<i&&!(">"===d[z]&&/--$/.test(d[z-1]));z++);if(z<i){if(a.A){var D=d.slice(p,z).join("");a.A(D.substr(0,D.length-2),t,A,b(a,d,z+1,e,t))}p=z+1}else e.C=n}e.C&&a.e&&a.e("&lt;!--",\r\nt,A,b(a,d,p,e,t));break;case "<!":if(/^\\w/.test(l)){if(!e.r){for(z=p+1;z<i&&">"!==d[z];z++);z<i?p=z+1:e.r=n}e.r&&a.e&&a.e("&lt;!",t,A,b(a,d,p,e,t))}else a.e&&a.e("&lt;!",t,A,b(a,d,p,e,t));break;case "<?":if(!e.r){for(z=p+1;z<i&&">"!==d[z];z++);z<i?p=z+1:e.r=n}e.r&&a.e&&a.e("&lt;?",t,A,b(a,d,p,e,t));break;case ">":a.e&&a.e("&gt;",t,A,b(a,d,p,e,t));break;case "":break;default:a.e&&a.e(o,t,A,b(a,d,p,e,t))}}a.B&&a.B(t)}catch(E){if(E!==A)throw E;}}function k(a,d,f,h,t,j){var z=a.length;T.hasOwnProperty(d.name)||\r\n(T[d.name]=RegExp("^"+d.name+"(?:[\\\\s\\\\/]|$)","i"));for(var i=T[d.name],k=d.next,l=d.next+1;l<z&&!("</"===a[l-1]&&i.test(a[l]));l++);l<z&&(l-=1);z=a.slice(k,l).join("");if(d.c&g.c.CDATA)f.z&&f.z(z,h,t,b(f,a,l,j,h));else if(d.c&g.c.RCDATA)f.F&&f.F(e(z),h,t,b(f,a,l,j,h));else throw Error("bug");return l}function f(a,b){var d=/^([-\\w:]+)/.exec(a[b]),f={};f.name=d[1].toLowerCase();f.c=g.f[f.name];for(var e=a[b].substr(d[0].length),h=b+1,j=a.length;h<j&&">"!==a[h];h++)e+=a[h];if(!(j<=h)){for(var l=[];""!==\r\ne;)if(d=ja.exec(e))if(d[4]&&!d[5]||d[6]&&!d[7]){for(var d=d[4]||d[6],i=C,e=[e,a[h++]];h<j;h++){if(i){if(">"===a[h])break}else 0<=a[h].indexOf(d)&&(i=n);e.push(a[h])}if(j<=h)break;e=e.join("")}else{var i=d[1].toLowerCase(),k;if(d[2]){k=d[3];var m=k.charCodeAt(0);if(34===m||39===m)k=k.substr(1,k.length-2);k=x(k.replace(o,""))}else k="";l.push(i,k);e=e.substr(d[0].length)}else e=e.replace(/^[\\s\\S][^a-z\\s]*/,"");f.R=l;f.next=h+1;return f}}function h(a){function b(a,d){f||d.push(a)}var d,f;return v({startDoc:function(){d=\r\n[];f=C},startTag:function(b,e,h){if(!f&&g.f.hasOwnProperty(b)){var j=g.f[b];if(!(j&g.c.FOLDABLE)){var k=a(b,e);if(k){if("object"!==typeof k)throw Error("tagPolicy did not return object (old API?)");if("attribs"in k)e=k.attribs;else throw Error("tagPolicy gave no attribs");var i;"tagName"in k?(i=k.tagName,k=g.f[i]):(i=b,k=j);if(j&g.c.OPTIONAL_ENDTAG){var l=d[d.length-1];l&&l.D===b&&(l.v!==i||b!==i)&&h.push("</",l.v,">")}j&g.c.EMPTY||d.push({D:b,v:i});h.push("<",i);b=0;for(l=e.length;b<l;b+=2){var m=\r\ne[b],o=e[b+1];o!==s&&o!==c&&h.push(" ",m,\'="\',E(o),\'"\')}h.push(">");j&g.c.EMPTY&&!(k&g.c.EMPTY)&&h.push("</",i,">")}else f=!(j&g.c.EMPTY)}}},endTag:function(a,b){if(f)f=C;else if(g.f.hasOwnProperty(a)){var e=g.f[a];if(!(e&(g.c.EMPTY|g.c.FOLDABLE))){if(e&g.c.OPTIONAL_ENDTAG)for(e=d.length;0<=--e;){var h=d[e].D;if(h===a)break;if(!(g.f[h]&g.c.OPTIONAL_ENDTAG))return}else for(e=d.length;0<=--e&&d[e].D!==a;);if(!(0>e)){for(h=d.length;--h>e;){var j=d[h].v;g.f[j]&g.c.OPTIONAL_ENDTAG||b.push("</",j,">")}e<\r\nd.length&&(a=d[e].v);d.length=e;b.push("</",a,">")}}}},pcdata:b,rcdata:b,cdata:b,endDoc:function(a){for(;d.length;d.length--)a.push("</",d[d.length-1].v,">")}})}function d(a,b,d,f,e){if(!e)return s;try{var g=Y.parse(""+a);if(g&&(!g.K()||ka.test(g.W()))){var h=e(g,b,d,f);return h?h.toString():s}}catch(j){}return s}function y(a,b,d,f,e){d||a(b+" removed",{S:"removed",tagName:b});if(f!==e){var g="changed";f&&!e?g="removed":!f&&e&&(g="added");a(b+"."+d+" "+g,{S:g,tagName:b,la:d,oldValue:f,newValue:e})}}\r\nfunction l(a,b,d){b=b+"::"+d;if(a.hasOwnProperty(b))return a[b];b="*::"+d;if(a.hasOwnProperty(b))return a[b]}function V(a,b,f,e,h){for(var j=0;j<b.length;j+=2){var k=b[j],i=b[j+1],m=i,o=s,q;if((q=a+"::"+k,g.m.hasOwnProperty(q))||(q="*::"+k,g.m.hasOwnProperty(q)))o=g.m[q];if(o!==s)switch(o){case g.d.NONE:break;case g.d.SCRIPT:i=s;h&&y(h,a,k,m,i);break;case g.d.STYLE:if("undefined"===typeof N){i=s;h&&y(h,a,k,m,i);break}var r=[];N(i,{declaration:function(a,b){var e=a.toLowerCase();u(e,b,f?function(a){return d(a,\r\ng.P.ja,g.M.ka,{TYPE:"CSS",CSS_PROP:e},f)}:s);b.length&&r.push(e+": "+b.join(" "))}});i=0<r.length?r.join(" ; "):s;h&&y(h,a,k,m,i);break;case g.d.ID:case g.d.IDREF:case g.d.IDREFS:case g.d.GLOBAL_NAME:case g.d.LOCAL_NAME:case g.d.CLASSES:i=e?e(i):i;h&&y(h,a,k,m,i);break;case g.d.URI:i=d(i,l(g.J,a,k),l(g.I,a,k),{TYPE:"MARKUP",XML_ATTR:k,XML_TAG:a},f);h&&y(h,a,k,m,i);break;case g.d.URI_FRAGMENT:i&&"#"===i.charAt(0)?(i=i.substring(1),i=e?e(i):i,i!==s&&i!==c&&(i="#"+i)):i=s;h&&y(h,a,k,m,i);break;default:i=\r\ns,h&&y(h,a,k,m,i)}else i=s,h&&y(h,a,k,m,i);b[j+1]=i}return b}function ea(a,b,d){return function(e,f){if(g.f[e]&g.c.UNSAFE)d&&y(d,e,c,c,c);else return{attribs:V(e,f,a,b,d)}}}function Q(a,b){var d=[];h(b)(a,d);return d.join("")}var N,u;"undefined"!==typeof window&&(N=window.parseCssDeclarations,u=window.sanitizeCssProperty);var i={lt:"<",LT:"<",gt:">",GT:">",amp:"&",AMP:"&",quot:\'"\',apos:"\'",nbsp:"\\u00a0"},q=/^#(\\d+)$/,B=/^#x([0-9A-Fa-f]+)$/,F=/^[A-Za-z][A-za-z0-9]+$/,r="undefined"!==typeof window&&\r\nwindow.document?window.document.createElement("textarea"):s,o=/\\0/g,j=/&(#[0-9]+|#[xX][0-9A-Fa-f]+|\\w+);/g,I=/^(#[0-9]+|#[xX][0-9A-Fa-f]+|\\w+);/,R=/&/g,ia=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,P=/[<]/g,S=/>/g,D=/\\"/g,ja=/^\\s*([-.:\\w]+)(?:\\s*(=)\\s*((")[^"]*("|$)|(\')[^\']*(\'|$)|(?=[a-z][-\\w]*\\s*=)|[^"\'\\s]*))?/i,G=3==="a,b".split(/(,)/).length,K=g.c.CDATA|g.c.RCDATA,A={},T={},ka=/^(?:https?|mailto|data)$/i,m={};m.pa=m.escapeAttrib=E;m.ra=m.makeHtmlSanitizer=h;m.sa=m.makeSaxParser=v;m.ta=m.makeTagPolicy=\r\nea;m.wa=m.normalizeRCData=e;m.xa=m.sanitize=function(a,b,d,e){return Q(a,ea(b,d,e))};m.ya=m.sanitizeAttribs=V;m.za=m.sanitizeWithPolicy=Q;m.Ba=m.unescapeEntities=x;return m}($),la=ha.sanitize;"undefined"!==typeof window&&(window.html=ha,window.html_sanitize=la);})();\r\n/*\r\nCryptoJS v3.1.2\r\ncode.google.com/p/crypto-js\r\n(c) 2009-2013 by Jeff Mott. All rights reserved.\r\ncode.google.com/p/crypto-js/wiki/License\r\n*/\r\nvar CryptoJS=CryptoJS||function(u,p){var d={},l=d.lib={},s=function(){},t=l.Base={extend:function(a){s.prototype=this;var c=new s;a&&c.mixIn(a);c.hasOwnProperty("init")||(c.init=function(){c.$super.init.apply(this,arguments)});c.init.prototype=c;c.$super=this;return c},create:function(){var a=this.extend();a.init.apply(a,arguments);return a},init:function(){},mixIn:function(a){for(var c in a)a.hasOwnProperty(c)&&(this[c]=a[c]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}},\r\nr=l.WordArray=t.extend({init:function(a,c){a=this.words=a||[];this.sigBytes=c!=p?c:4*a.length},toString:function(a){return(a||v).stringify(this)},concat:function(a){var c=this.words,e=a.words,j=this.sigBytes;a=a.sigBytes;this.clamp();if(j%4)for(var k=0;k<a;k++)c[j+k>>>2]|=(e[k>>>2]>>>24-8*(k%4)&255)<<24-8*((j+k)%4);else if(65535<e.length)for(k=0;k<a;k+=4)c[j+k>>>2]=e[k>>>2];else c.push.apply(c,e);this.sigBytes+=a;return this},clamp:function(){var a=this.words,c=this.sigBytes;a[c>>>2]&=4294967295<<\r\n32-8*(c%4);a.length=u.ceil(c/4)},clone:function(){var a=t.clone.call(this);a.words=this.words.slice(0);return a},random:function(a){for(var c=[],e=0;e<a;e+=4)c.push(4294967296*u.random()|0);return new r.init(c,a)}}),w=d.enc={},v=w.Hex={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j<a;j++){var k=c[j>>>2]>>>24-8*(j%4)&255;e.push((k>>>4).toString(16));e.push((k&15).toString(16))}return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j<c;j+=2)e[j>>>3]|=parseInt(a.substr(j,\r\n2),16)<<24-4*(j%8);return new r.init(e,c/2)}},b=w.Latin1={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j<a;j++)e.push(String.fromCharCode(c[j>>>2]>>>24-8*(j%4)&255));return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j<c;j++)e[j>>>2]|=(a.charCodeAt(j)&255)<<24-8*(j%4);return new r.init(e,c)}},x=w.Utf8={stringify:function(a){try{return decodeURIComponent(escape(b.stringify(a)))}catch(c){throw Error("Malformed UTF-8 data");}},parse:function(a){return b.parse(unescape(encodeURIComponent(a)))}},\r\nq=l.BufferedBlockAlgorithm=t.extend({reset:function(){this._data=new r.init;this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=x.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:function(a){var c=this._data,e=c.words,j=c.sigBytes,k=this.blockSize,b=j/(4*k),b=a?u.ceil(b):u.max((b|0)-this._minBufferSize,0);a=b*k;j=u.min(4*a,j);if(a){for(var q=0;q<a;q+=k)this._doProcessBlock(e,q);q=e.splice(0,a);c.sigBytes-=j}return new r.init(q,j)},clone:function(){var a=t.clone.call(this);\r\na._data=this._data.clone();return a},_minBufferSize:0});l.Hasher=q.extend({cfg:t.extend(),init:function(a){this.cfg=this.cfg.extend(a);this.reset()},reset:function(){q.reset.call(this);this._doReset()},update:function(a){this._append(a);this._process();return this},finalize:function(a){a&&this._append(a);return this._doFinalize()},blockSize:16,_createHelper:function(a){return function(b,e){return(new a.init(e)).finalize(b)}},_createHmacHelper:function(a){return function(b,e){return(new n.HMAC.init(a,\r\ne)).finalize(b)}}});var n=d.algo={};return d}(Math);\r\n(function(){var u=CryptoJS,p=u.lib.WordArray;u.enc.Base64={stringify:function(d){var l=d.words,p=d.sigBytes,t=this._map;d.clamp();d=[];for(var r=0;r<p;r+=3)for(var w=(l[r>>>2]>>>24-8*(r%4)&255)<<16|(l[r+1>>>2]>>>24-8*((r+1)%4)&255)<<8|l[r+2>>>2]>>>24-8*((r+2)%4)&255,v=0;4>v&&r+0.75*v<p;v++)d.push(t.charAt(w>>>6*(3-v)&63));if(l=t.charAt(64))for(;d.length%4;)d.push(l);return d.join("")},parse:function(d){var l=d.length,s=this._map,t=s.charAt(64);t&&(t=d.indexOf(t),-1!=t&&(l=t));for(var t=[],r=0,w=0;w<\r\nl;w++)if(w%4){var v=s.indexOf(d.charAt(w-1))<<2*(w%4),b=s.indexOf(d.charAt(w))>>>6-2*(w%4);t[r>>>2]|=(v|b)<<24-8*(r%4);r++}return p.create(t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})();\r\n(function(u){function p(b,n,a,c,e,j,k){b=b+(n&a|~n&c)+e+k;return(b<<j|b>>>32-j)+n}function d(b,n,a,c,e,j,k){b=b+(n&c|a&~c)+e+k;return(b<<j|b>>>32-j)+n}function l(b,n,a,c,e,j,k){b=b+(n^a^c)+e+k;return(b<<j|b>>>32-j)+n}function s(b,n,a,c,e,j,k){b=b+(a^(n|~c))+e+k;return(b<<j|b>>>32-j)+n}for(var t=CryptoJS,r=t.lib,w=r.WordArray,v=r.Hasher,r=t.algo,b=[],x=0;64>x;x++)b[x]=4294967296*u.abs(u.sin(x+1))|0;r=r.MD5=v.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},\r\n_doProcessBlock:function(q,n){for(var a=0;16>a;a++){var c=n+a,e=q[c];q[c]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360}var a=this._hash.words,c=q[n+0],e=q[n+1],j=q[n+2],k=q[n+3],z=q[n+4],r=q[n+5],t=q[n+6],w=q[n+7],v=q[n+8],A=q[n+9],B=q[n+10],C=q[n+11],u=q[n+12],D=q[n+13],E=q[n+14],x=q[n+15],f=a[0],m=a[1],g=a[2],h=a[3],f=p(f,m,g,h,c,7,b[0]),h=p(h,f,m,g,e,12,b[1]),g=p(g,h,f,m,j,17,b[2]),m=p(m,g,h,f,k,22,b[3]),f=p(f,m,g,h,z,7,b[4]),h=p(h,f,m,g,r,12,b[5]),g=p(g,h,f,m,t,17,b[6]),m=p(m,g,h,f,w,22,b[7]),\r\nf=p(f,m,g,h,v,7,b[8]),h=p(h,f,m,g,A,12,b[9]),g=p(g,h,f,m,B,17,b[10]),m=p(m,g,h,f,C,22,b[11]),f=p(f,m,g,h,u,7,b[12]),h=p(h,f,m,g,D,12,b[13]),g=p(g,h,f,m,E,17,b[14]),m=p(m,g,h,f,x,22,b[15]),f=d(f,m,g,h,e,5,b[16]),h=d(h,f,m,g,t,9,b[17]),g=d(g,h,f,m,C,14,b[18]),m=d(m,g,h,f,c,20,b[19]),f=d(f,m,g,h,r,5,b[20]),h=d(h,f,m,g,B,9,b[21]),g=d(g,h,f,m,x,14,b[22]),m=d(m,g,h,f,z,20,b[23]),f=d(f,m,g,h,A,5,b[24]),h=d(h,f,m,g,E,9,b[25]),g=d(g,h,f,m,k,14,b[26]),m=d(m,g,h,f,v,20,b[27]),f=d(f,m,g,h,D,5,b[28]),h=d(h,f,\r\nm,g,j,9,b[29]),g=d(g,h,f,m,w,14,b[30]),m=d(m,g,h,f,u,20,b[31]),f=l(f,m,g,h,r,4,b[32]),h=l(h,f,m,g,v,11,b[33]),g=l(g,h,f,m,C,16,b[34]),m=l(m,g,h,f,E,23,b[35]),f=l(f,m,g,h,e,4,b[36]),h=l(h,f,m,g,z,11,b[37]),g=l(g,h,f,m,w,16,b[38]),m=l(m,g,h,f,B,23,b[39]),f=l(f,m,g,h,D,4,b[40]),h=l(h,f,m,g,c,11,b[41]),g=l(g,h,f,m,k,16,b[42]),m=l(m,g,h,f,t,23,b[43]),f=l(f,m,g,h,A,4,b[44]),h=l(h,f,m,g,u,11,b[45]),g=l(g,h,f,m,x,16,b[46]),m=l(m,g,h,f,j,23,b[47]),f=s(f,m,g,h,c,6,b[48]),h=s(h,f,m,g,w,10,b[49]),g=s(g,h,f,m,\r\nE,15,b[50]),m=s(m,g,h,f,r,21,b[51]),f=s(f,m,g,h,u,6,b[52]),h=s(h,f,m,g,k,10,b[53]),g=s(g,h,f,m,B,15,b[54]),m=s(m,g,h,f,e,21,b[55]),f=s(f,m,g,h,v,6,b[56]),h=s(h,f,m,g,x,10,b[57]),g=s(g,h,f,m,t,15,b[58]),m=s(m,g,h,f,D,21,b[59]),f=s(f,m,g,h,z,6,b[60]),h=s(h,f,m,g,C,10,b[61]),g=s(g,h,f,m,j,15,b[62]),m=s(m,g,h,f,A,21,b[63]);a[0]=a[0]+f|0;a[1]=a[1]+m|0;a[2]=a[2]+g|0;a[3]=a[3]+h|0},_doFinalize:function(){var b=this._data,n=b.words,a=8*this._nDataBytes,c=8*b.sigBytes;n[c>>>5]|=128<<24-c%32;var e=u.floor(a/\r\n4294967296);n[(c+64>>>9<<4)+15]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;n[(c+64>>>9<<4)+14]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360;b.sigBytes=4*(n.length+1);this._process();b=this._hash;n=b.words;for(a=0;4>a;a++)c=n[a],n[a]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360;return b},clone:function(){var b=v.clone.call(this);b._hash=this._hash.clone();return b}});t.MD5=v._createHelper(r);t.HmacMD5=v._createHmacHelper(r)})(Math);\r\n(function(){var u=CryptoJS,p=u.lib,d=p.Base,l=p.WordArray,p=u.algo,s=p.EvpKDF=d.extend({cfg:d.extend({keySize:4,hasher:p.MD5,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,r){for(var p=this.cfg,s=p.hasher.create(),b=l.create(),u=b.words,q=p.keySize,p=p.iterations;u.length<q;){n&&s.update(n);var n=s.update(d).finalize(r);s.reset();for(var a=1;a<p;a++)n=s.finalize(n),s.reset();b.concat(n)}b.sigBytes=4*q;return b}});u.EvpKDF=function(d,l,p){return s.create(p).compute(d,\r\nl)}})();\r\nCryptoJS.lib.Cipher||function(u){var p=CryptoJS,d=p.lib,l=d.Base,s=d.WordArray,t=d.BufferedBlockAlgorithm,r=p.enc.Base64,w=p.algo.EvpKDF,v=d.Cipher=t.extend({cfg:l.extend(),createEncryptor:function(e,a){return this.create(this._ENC_XFORM_MODE,e,a)},createDecryptor:function(e,a){return this.create(this._DEC_XFORM_MODE,e,a)},init:function(e,a,b){this.cfg=this.cfg.extend(b);this._xformMode=e;this._key=a;this.reset()},reset:function(){t.reset.call(this);this._doReset()},process:function(e){this._append(e);return this._process()},\r\nfinalize:function(e){e&&this._append(e);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(e){return{encrypt:function(b,k,d){return("string"==typeof k?c:a).encrypt(e,b,k,d)},decrypt:function(b,k,d){return("string"==typeof k?c:a).decrypt(e,b,k,d)}}}});d.StreamCipher=v.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var b=p.mode={},x=function(e,a,b){var c=this._iv;c?this._iv=u:c=this._prevBlock;for(var d=0;d<b;d++)e[a+d]^=\r\nc[d]},q=(d.BlockCipherMode=l.extend({createEncryptor:function(e,a){return this.Encryptor.create(e,a)},createDecryptor:function(e,a){return this.Decryptor.create(e,a)},init:function(e,a){this._cipher=e;this._iv=a}})).extend();q.Encryptor=q.extend({processBlock:function(e,a){var b=this._cipher,c=b.blockSize;x.call(this,e,a,c);b.encryptBlock(e,a);this._prevBlock=e.slice(a,a+c)}});q.Decryptor=q.extend({processBlock:function(e,a){var b=this._cipher,c=b.blockSize,d=e.slice(a,a+c);b.decryptBlock(e,a);x.call(this,\r\ne,a,c);this._prevBlock=d}});b=b.CBC=q;q=(p.pad={}).Pkcs7={pad:function(a,b){for(var c=4*b,c=c-a.sigBytes%c,d=c<<24|c<<16|c<<8|c,l=[],n=0;n<c;n+=4)l.push(d);c=s.create(l,c);a.concat(c)},unpad:function(a){a.sigBytes-=a.words[a.sigBytes-1>>>2]&255}};d.BlockCipher=v.extend({cfg:v.cfg.extend({mode:b,padding:q}),reset:function(){v.reset.call(this);var a=this.cfg,b=a.iv,a=a.mode;if(this._xformMode==this._ENC_XFORM_MODE)var c=a.createEncryptor;else c=a.createDecryptor,this._minBufferSize=1;this._mode=c.call(a,\r\nthis,b&&b.words)},_doProcessBlock:function(a,b){this._mode.processBlock(a,b)},_doFinalize:function(){var a=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){a.pad(this._data,this.blockSize);var b=this._process(!0)}else b=this._process(!0),a.unpad(b);return b},blockSize:4});var n=d.CipherParams=l.extend({init:function(a){this.mixIn(a)},toString:function(a){return(a||this.formatter).stringify(this)}}),b=(p.format={}).OpenSSL={stringify:function(a){var b=a.ciphertext;a=a.salt;return(a?s.create([1398893684,\r\n1701076831]).concat(a).concat(b):b).toString(r)},parse:function(a){a=r.parse(a);var b=a.words;if(1398893684==b[0]&&1701076831==b[1]){var c=s.create(b.slice(2,4));b.splice(0,4);a.sigBytes-=16}return n.create({ciphertext:a,salt:c})}},a=d.SerializableCipher=l.extend({cfg:l.extend({format:b}),encrypt:function(a,b,c,d){d=this.cfg.extend(d);var l=a.createEncryptor(c,d);b=l.finalize(b);l=l.cfg;return n.create({ciphertext:b,key:c,iv:l.iv,algorithm:a,mode:l.mode,padding:l.padding,blockSize:a.blockSize,formatter:d.format})},\r\ndecrypt:function(a,b,c,d){d=this.cfg.extend(d);b=this._parse(b,d.format);return a.createDecryptor(c,d).finalize(b.ciphertext)},_parse:function(a,b){return"string"==typeof a?b.parse(a,this):a}}),p=(p.kdf={}).OpenSSL={execute:function(a,b,c,d){d||(d=s.random(8));a=w.create({keySize:b+c}).compute(a,d);c=s.create(a.words.slice(b),4*c);a.sigBytes=4*b;return n.create({key:a,iv:c,salt:d})}},c=d.PasswordBasedCipher=a.extend({cfg:a.cfg.extend({kdf:p}),encrypt:function(b,c,d,l){l=this.cfg.extend(l);d=l.kdf.execute(d,\r\nb.keySize,b.ivSize);l.iv=d.iv;b=a.encrypt.call(this,b,c,d.key,l);b.mixIn(d);return b},decrypt:function(b,c,d,l){l=this.cfg.extend(l);c=this._parse(c,l.format);d=l.kdf.execute(d,b.keySize,b.ivSize,c.salt);l.iv=d.iv;return a.decrypt.call(this,b,c,d.key,l)}})}();\r\n(function(){for(var u=CryptoJS,p=u.lib.BlockCipher,d=u.algo,l=[],s=[],t=[],r=[],w=[],v=[],b=[],x=[],q=[],n=[],a=[],c=0;256>c;c++)a[c]=128>c?c<<1:c<<1^283;for(var e=0,j=0,c=0;256>c;c++){var k=j^j<<1^j<<2^j<<3^j<<4,k=k>>>8^k&255^99;l[e]=k;s[k]=e;var z=a[e],F=a[z],G=a[F],y=257*a[k]^16843008*k;t[e]=y<<24|y>>>8;r[e]=y<<16|y>>>16;w[e]=y<<8|y>>>24;v[e]=y;y=16843009*G^65537*F^257*z^16843008*e;b[k]=y<<24|y>>>8;x[k]=y<<16|y>>>16;q[k]=y<<8|y>>>24;n[k]=y;e?(e=z^a[a[a[G^z]]],j^=a[a[j]]):e=j=1}var H=[0,1,2,4,8,\r\n16,32,64,128,27,54],d=d.AES=p.extend({_doReset:function(){for(var a=this._key,c=a.words,d=a.sigBytes/4,a=4*((this._nRounds=d+6)+1),e=this._keySchedule=[],j=0;j<a;j++)if(j<d)e[j]=c[j];else{var k=e[j-1];j%d?6<d&&4==j%d&&(k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255]):(k=k<<8|k>>>24,k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255],k^=H[j/d|0]<<24);e[j]=e[j-d]^k}c=this._invKeySchedule=[];for(d=0;d<a;d++)j=a-d,k=d%4?e[j]:e[j-4],c[d]=4>d||4>=j?k:b[l[k>>>24]]^x[l[k>>>16&255]]^q[l[k>>>\r\n8&255]]^n[l[k&255]]},encryptBlock:function(a,b){this._doCryptBlock(a,b,this._keySchedule,t,r,w,v,l)},decryptBlock:function(a,c){var d=a[c+1];a[c+1]=a[c+3];a[c+3]=d;this._doCryptBlock(a,c,this._invKeySchedule,b,x,q,n,s);d=a[c+1];a[c+1]=a[c+3];a[c+3]=d},_doCryptBlock:function(a,b,c,d,e,j,l,f){for(var m=this._nRounds,g=a[b]^c[0],h=a[b+1]^c[1],k=a[b+2]^c[2],n=a[b+3]^c[3],p=4,r=1;r<m;r++)var q=d[g>>>24]^e[h>>>16&255]^j[k>>>8&255]^l[n&255]^c[p++],s=d[h>>>24]^e[k>>>16&255]^j[n>>>8&255]^l[g&255]^c[p++],t=\r\nd[k>>>24]^e[n>>>16&255]^j[g>>>8&255]^l[h&255]^c[p++],n=d[n>>>24]^e[g>>>16&255]^j[h>>>8&255]^l[k&255]^c[p++],g=q,h=s,k=t;q=(f[g>>>24]<<24|f[h>>>16&255]<<16|f[k>>>8&255]<<8|f[n&255])^c[p++];s=(f[h>>>24]<<24|f[k>>>16&255]<<16|f[n>>>8&255]<<8|f[g&255])^c[p++];t=(f[k>>>24]<<24|f[n>>>16&255]<<16|f[g>>>8&255]<<8|f[h&255])^c[p++];n=(f[n>>>24]<<24|f[g>>>16&255]<<16|f[h>>>8&255]<<8|f[k&255])^c[p++];a[b]=q;a[b+1]=s;a[b+2]=t;a[b+3]=n},keySize:8});u.AES=p._createHelper(d)})();\r\n/*! pako 2.0.3 https://github.com/nodeca/pako @license (MIT AND Zlib) */\r\n!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).pako={})}(this,(function(t){"use strict";function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,i=286,n=30,r=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),o=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),l=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),h=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=new Array(576);e(d);var _=new Array(60);e(_);var f=new Array(512);e(f);var u=new Array(256);e(u);var c=new Array(29);e(c);var w,b,g,p=new Array(n);function m(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}function v(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(p);var k=function(t){return t<256?f[t]:f[256+(t>>>7)]},y=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},x=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,y(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},z=function(t,e,a){x(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var i,n,s=new Array(16),o=0;for(i=1;i<=r;i++)s[i]=o=o+a[i-1]<<1;for(n=0;n<=e;n++){var l=t[2*n+1];0!==l&&(t[2*n]=A(s[l]++,l))}},R=function(t){var e;for(e=0;e<i;e++)t.dyn_ltree[2*e]=0;for(e=0;e<n;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},Z=function(t){t.bi_valid>8?y(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,i){var n=2*e,r=2*a;return t[n]<t[r]||t[n]===t[r]&&i[e]<=i[a]},U=function(t,e,a){for(var i=t.heap[a],n=a<<1;n<=t.heap_len&&(n<t.heap_len&&S(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!S(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},D=function(t,e,i){var n,r,l,h,d=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],r=t.pending_buf[t.l_buf+d],d++,0===n?z(t,r,e):(l=u[r],z(t,l+a+1,e),0!==(h=s[l])&&(r-=c[l],x(t,r,h)),n--,l=k(n),z(t,l,i),0!==(h=o[l])&&(n-=p[l],x(t,n,h)))}while(d<t.last_lit);z(t,256,e)},O=function(t,e){var a,i,n,s=e.dyn_tree,o=e.stat_desc.static_tree,l=e.stat_desc.has_stree,h=e.stat_desc.elems,d=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<h;a++)0!==s[2*a]?(t.heap[++t.heap_len]=d=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(n=t.heap[++t.heap_len]=d<2?++d:0)]=1,t.depth[n]=0,t.opt_len--,l&&(t.static_len-=o[2*n+1]);for(e.max_code=d,a=t.heap_len>>1;a>=1;a--)U(t,s,a);n=h;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,s,1),i=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=i,s[2*n]=s[2*a]+s[2*i],t.depth[n]=(t.depth[a]>=t.depth[i]?t.depth[a]:t.depth[i])+1,s[2*a+1]=s[2*i+1]=n,t.heap[1]=n++,U(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,i,n,s,o,l,h=e.dyn_tree,d=e.max_code,_=e.stat_desc.static_tree,f=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,w=e.stat_desc.max_length,b=0;for(s=0;s<=r;s++)t.bl_count[s]=0;for(h[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=h[2*h[2*(i=t.heap[a])+1]+1]+1)>w&&(s=w,b++),h[2*i+1]=s,i>d||(t.bl_count[s]++,o=0,i>=c&&(o=u[i-c]),l=h[2*i],t.opt_len+=l*(s+o),f&&(t.static_len+=l*(_[2*i+1]+o)));if(0!==b){do{for(s=w-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[w]--,b-=2}while(b>0);for(s=w;0!==s;s--)for(i=t.bl_count[s];0!==i;)(n=t.heap[--a])>d||(h[2*n+1]!==s&&(t.opt_len+=(s-h[2*n+1])*h[2*n],h[2*n+1]=s),i--)}}(t,e),E(s,d,t.bl_count)},T=function(t,e,a){var i,n,r=-1,s=e[1],o=0,l=7,h=4;for(0===s&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=s,s=e[2*(i+1)+1],++o<l&&n===s||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==r&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,r=n,0===s?(l=138,h=3):n===s?(l=6,h=3):(l=7,h=4))},I=function(t,e,a){var i,n,r=-1,s=e[1],o=0,l=7,h=4;for(0===s&&(l=138,h=3),i=0;i<=a;i++)if(n=s,s=e[2*(i+1)+1],!(++o<l&&n===s)){if(o<h)do{z(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==r&&(z(t,n,t.bl_tree),o--),z(t,16,t.bl_tree),x(t,o-3,2)):o<=10?(z(t,17,t.bl_tree),x(t,o-3,3)):(z(t,18,t.bl_tree),x(t,o-11,7));o=0,r=n,0===s?(l=138,h=3):n===s?(l=6,h=3):(l=7,h=4)}},F=!1,L=function(t,e,a,i){x(t,0+(i?1:0),3),function(t,e,a,i){Z(t),i&&(y(t,a),y(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},N={_tr_init:function(t){F||(!function(){var t,e,a,h,v,k=new Array(16);for(a=0,h=0;h<28;h++)for(c[h]=a,t=0;t<1<<s[h];t++)u[a++]=h;for(u[a-1]=h,v=0,h=0;h<16;h++)for(p[h]=v,t=0;t<1<<o[h];t++)f[v++]=h;for(v>>=7;h<n;h++)for(p[h]=v<<7,t=0;t<1<<o[h]-7;t++)f[256+v++]=h;for(e=0;e<=r;e++)k[e]=0;for(t=0;t<=143;)d[2*t+1]=8,t++,k[8]++;for(;t<=255;)d[2*t+1]=9,t++,k[9]++;for(;t<=279;)d[2*t+1]=7,t++,k[7]++;for(;t<=287;)d[2*t+1]=8,t++,k[8]++;for(E(d,287,k),t=0;t<n;t++)_[2*t+1]=5,_[2*t]=A(t,5);w=new m(d,s,257,i,r),b=new m(_,o,0,n,r),g=new m(new Array(0),l,0,19,7)}(),F=!0),t.l_desc=new v(t.dyn_ltree,w),t.d_desc=new v(t.dyn_dtree,b),t.bl_desc=new v(t.bl_tree,g),t.bi_buf=0,t.bi_valid=0,R(t)},_tr_stored_block:L,_tr_flush_block:function(t,e,i,n){var r,s,o=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),O(t,t.l_desc),O(t,t.d_desc),o=function(t){var e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),O(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*h[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=r&&(r=s)):r=s=i+5,i+4<=r&&-1!==e?L(t,e,i,n):4===t.strategy||s===r?(x(t,2+(n?1:0),3),D(t,d,_)):(x(t,4+(n?1:0),3),function(t,e,a,i){var n;for(x(t,e-257,5),x(t,a-1,5),x(t,i-4,4),n=0;n<i;n++)x(t,t.bl_tree[2*h[n]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),D(t,t.dyn_ltree,t.dyn_dtree)),R(t),n&&Z(t)},_tr_tally:function(t,e,i){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(u[i]+a+1)]++,t.dyn_dtree[2*k(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){x(t,2,3),z(t,256,d),function(t){16===t.bi_valid?(y(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},B=function(t,e,a,i){for(var n=65535&t|0,r=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{r=r+(n=n+e[i++]|0)|0}while(--s);n%=65521,r%=65521}return n|r<<16|0},C=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),M=function(t,e,a,i){var n=C,r=i+a;t^=-1;for(var s=i;s<r;s++)t=t>>>8^n[255&(t^e[s])];return-1^t},H={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},j={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},K=N._tr_init,P=N._tr_stored_block,Y=N._tr_flush_block,G=N._tr_tally,X=N._tr_align,W=j.Z_NO_FLUSH,q=j.Z_PARTIAL_FLUSH,J=j.Z_FULL_FLUSH,Q=j.Z_FINISH,V=j.Z_BLOCK,$=j.Z_OK,tt=j.Z_STREAM_END,et=j.Z_STREAM_ERROR,at=j.Z_DATA_ERROR,it=j.Z_BUF_ERROR,nt=j.Z_DEFAULT_COMPRESSION,rt=j.Z_FILTERED,st=j.Z_HUFFMAN_ONLY,ot=j.Z_RLE,lt=j.Z_FIXED,ht=j.Z_DEFAULT_STRATEGY,dt=j.Z_UNKNOWN,_t=j.Z_DEFLATED,ft=258,ut=262,ct=103,wt=113,bt=666,gt=function(t,e){return t.msg=H[e],e},pt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},vt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},kt=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},yt=function(t,e){Y(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},zt=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},At=function(t,e){var a,i,n=t.max_chain_length,r=t.strstart,s=t.prev_length,o=t.nice_match,l=t.strstart>t.w_size-ut?t.strstart-(t.w_size-ut):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+ft,u=h[r+s-1],c=h[r+s];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(h[(a=e)+s]===c&&h[a+s-1]===u&&h[a]===h[r]&&h[++a]===h[r+1]){r+=2,a++;do{}while(h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&r<f);if(i=ft-(f-r),r=f-ft,i>s){if(t.match_start=e,s=i,i>=o)break;u=h[r+s-1],c=h[r+s]}}}while((e=_[e&d])>l&&0!=--n);return s<=t.lookahead?s:t.lookahead},Et=function(t){var e,a,i,n,r,s,o,l,h,d,_=t.w_size;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=_+(_-ut)){t.window.set(t.window.subarray(_,_+_),0),t.match_start-=_,t.strstart-=_,t.block_start-=_,e=a=t.hash_size;do{i=t.head[--e],t.head[e]=i>=_?i-_:0}while(--a);e=a=_;do{i=t.prev[--e],t.prev[e]=i>=_?i-_:0}while(--a);n+=_}if(0===t.strm.avail_in)break;if(s=t.strm,o=t.window,l=t.strstart+t.lookahead,h=n,d=void 0,(d=s.avail_in)>h&&(d=h),a=0===d?0:(s.avail_in-=d,o.set(s.input.subarray(s.next_in,s.next_in+d),l),1===s.state.wrap?s.adler=B(s.adler,o,d,l):2===s.state.wrap&&(s.adler=M(s.adler,o,d,l)),s.next_in+=d,s.total_in+=d,d),t.lookahead+=a,t.lookahead+t.insert>=3)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=vt(t,t.ins_h,t.window[r+1]);t.insert&&(t.ins_h=vt(t,t.ins_h,t.window[r+3-1]),t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ut&&0!==t.strm.avail_in)},Rt=function(t,e){for(var a,i;;){if(t.lookahead<ut){if(Et(t),t.lookahead<ut&&e===W)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ut&&(t.match_length=At(t,a)),t.match_length>=3)if(i=G(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=vt(t,t.ins_h,t.window[t.strstart+1]);else i=G(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(yt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===Q?(yt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(yt(t,!1),0===t.strm.avail_out)?1:2},Zt=function(t,e){for(var a,i,n;;){if(t.lookahead<ut){if(Et(t),t.lookahead<ut&&e===W)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-ut&&(t.match_length=At(t,a),t.match_length<=5&&(t.strategy===rt||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=G(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(yt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((i=G(t,0,t.window[t.strstart-1]))&&yt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=G(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===Q?(yt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(yt(t,!1),0===t.strm.avail_out)?1:2};function St(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}var Ut=[new St(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Et(t),0===t.lookahead&&e===W)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+a;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,yt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ut&&(yt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===Q?(yt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(yt(t,!1),t.strm.avail_out),1)})),new St(4,4,8,4,Rt),new St(4,5,16,8,Rt),new St(4,6,32,32,Rt),new St(4,4,16,16,Zt),new St(8,16,32,32,Zt),new St(8,16,128,128,Zt),new St(8,32,128,256,Zt),new St(32,128,258,1024,Zt),new St(32,258,258,4096,Zt)];function Dt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_t,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Ot=function(t){if(!t||!t.state)return gt(t,et);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:wt,t.adler=2===e.wrap?0:1,e.last_flush=W,K(e),$},Tt=function(t){var e,a=Ot(t);return a===$&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Ut[e.level].max_lazy,e.good_match=Ut[e.level].good_length,e.nice_match=Ut[e.level].nice_length,e.max_chain_length=Ut[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},It=function(t,e,a,i,n,r){if(!t)return et;var s=1;if(e===nt&&(e=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),n<1||n>9||a!==_t||i<8||i>15||e<0||e>9||r<0||r>lt)return gt(t,et);8===i&&(i=9);var o=new Dt;return t.state=o,o.strm=t,o.wrap=s,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=e,o.strategy=r,o.method=a,Tt(t)},Ft={deflateInit:function(t,e){return It(t,e,_t,15,8,ht)},deflateInit2:It,deflateReset:Tt,deflateResetKeep:Ot,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?et:(t.state.gzhead=e,$):et},deflate:function(t,e){var a,i;if(!t||!t.state||e>V||e<0)return t?gt(t,et):et;var n=t.state;if(!t.output||!t.input&&0!==t.avail_in||n.status===bt&&e!==Q)return gt(t,0===t.avail_out?it:et);n.strm=t;var r=n.last_flush;if(n.last_flush=e,42===n.status)if(2===n.wrap)t.adler=0,xt(n,31),xt(n,139),xt(n,8),n.gzhead?(xt(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),xt(n,255&n.gzhead.time),xt(n,n.gzhead.time>>8&255),xt(n,n.gzhead.time>>16&255),xt(n,n.gzhead.time>>24&255),xt(n,9===n.level?2:n.strategy>=st||n.level<2?4:0),xt(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(xt(n,255&n.gzhead.extra.length),xt(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=M(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(xt(n,0),xt(n,0),xt(n,0),xt(n,0),xt(n,0),xt(n,9===n.level?2:n.strategy>=st||n.level<2?4:0),xt(n,3),n.status=wt);else{var s=_t+(n.w_bits-8<<4)<<8;s|=(n.strategy>=st||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(s|=32),s+=31-s%31,n.status=wt,zt(n,s),0!==n.strstart&&(zt(n,t.adler>>>16),zt(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=M(t.adler,n.pending_buf,n.pending-a,a)),kt(t),a=n.pending,n.pending!==n.pending_buf_size));)xt(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=M(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=M(t.adler,n.pending_buf,n.pending-a,a)),kt(t),a=n.pending,n.pending===n.pending_buf_size)){i=1;break}i=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,xt(n,i)}while(0!==i);n.gzhead.hcrc&&n.pending>a&&(t.adler=M(t.adler,n.pending_buf,n.pending-a,a)),0===i&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=M(t.adler,n.pending_buf,n.pending-a,a)),kt(t),a=n.pending,n.pending===n.pending_buf_size)){i=1;break}i=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,xt(n,i)}while(0!==i);n.gzhead.hcrc&&n.pending>a&&(t.adler=M(t.adler,n.pending_buf,n.pending-a,a)),0===i&&(n.status=ct)}else n.status=ct;if(n.status===ct&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&kt(t),n.pending+2<=n.pending_buf_size&&(xt(n,255&t.adler),xt(n,t.adler>>8&255),t.adler=0,n.status=wt)):n.status=wt),0!==n.pending){if(kt(t),0===t.avail_out)return n.last_flush=-1,$}else if(0===t.avail_in&&pt(e)<=pt(r)&&e!==Q)return gt(t,it);if(n.status===bt&&0!==t.avail_in)return gt(t,it);if(0!==t.avail_in||0!==n.lookahead||e!==W&&n.status!==bt){var o=n.strategy===st?function(t,e){for(var a;;){if(0===t.lookahead&&(Et(t),0===t.lookahead)){if(e===W)return 1;break}if(t.match_length=0,a=G(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(yt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===Q?(yt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(yt(t,!1),0===t.strm.avail_out)?1:2}(n,e):n.strategy===ot?function(t,e){for(var a,i,n,r,s=t.window;;){if(t.lookahead<=ft){if(Et(t),t.lookahead<=ft&&e===W)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(i=s[n=t.strstart-1])===s[++n]&&i===s[++n]&&i===s[++n]){r=t.strstart+ft;do{}while(i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&i===s[++n]&&n<r);t.match_length=ft-(r-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=G(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=G(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(yt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===Q?(yt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(yt(t,!1),0===t.strm.avail_out)?1:2}(n,e):Ut[n.level].func(n,e);if(3!==o&&4!==o||(n.status=bt),1===o||3===o)return 0===t.avail_out&&(n.last_flush=-1),$;if(2===o&&(e===q?X(n):e!==V&&(P(n,0,0,!1),e===J&&(mt(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),kt(t),0===t.avail_out))return n.last_flush=-1,$}return e!==Q?$:n.wrap<=0?tt:(2===n.wrap?(xt(n,255&t.adler),xt(n,t.adler>>8&255),xt(n,t.adler>>16&255),xt(n,t.adler>>24&255),xt(n,255&t.total_in),xt(n,t.total_in>>8&255),xt(n,t.total_in>>16&255),xt(n,t.total_in>>24&255)):(zt(n,t.adler>>>16),zt(n,65535&t.adler)),kt(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?$:tt)},deflateEnd:function(t){if(!t||!t.state)return et;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==ct&&e!==wt&&e!==bt?gt(t,et):(t.state=null,e===wt?gt(t,at):$)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return et;var i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return et;if(1===n&&(t.adler=B(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(mt(i.head),i.strstart=0,i.block_start=0,i.insert=0);var r=new Uint8Array(i.w_size);r.set(e.subarray(a-i.w_size,a),0),e=r,a=i.w_size}var s=t.avail_in,o=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Et(i);i.lookahead>=3;){var h=i.strstart,d=i.lookahead-2;do{i.ins_h=vt(i,i.ins_h,i.window[h+3-1]),i.prev[h&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=h,h++}while(--d);i.strstart=h,i.lookahead=2,Et(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=o,t.input=l,t.avail_in=s,i.wrap=n,$},deflateInfo:"pako deflate (from Nodeca project)"};function Lt(t){return(Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Nt=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},Bt=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var a=e.shift();if(a){if("object"!==Lt(a))throw new TypeError(a+"must be non-object");for(var i in a)Nt(a,i)&&(t[i]=a[i])}}return t},Ct=function(t){for(var e=0,a=0,i=t.length;a<i;a++)e+=t[a].length;for(var n=new Uint8Array(e),r=0,s=0,o=t.length;r<o;r++){var l=t[r];n.set(l,s),s+=l.length}return n},Mt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Mt=!1}for(var Ht=new Uint8Array(256),jt=0;jt<256;jt++)Ht[jt]=jt>=252?6:jt>=248?5:jt>=240?4:jt>=224?3:jt>=192?2:1;Ht[254]=Ht[254]=1;var Kt=function(t){var e,a,i,n,r,s=t.length,o=0;for(n=0;n<s;n++)55296==(64512&(a=t.charCodeAt(n)))&&n+1<s&&56320==(64512&(i=t.charCodeAt(n+1)))&&(a=65536+(a-55296<<10)+(i-56320),n++),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),r=0,n=0;r<o;n++)55296==(64512&(a=t.charCodeAt(n)))&&n+1<s&&56320==(64512&(i=t.charCodeAt(n+1)))&&(a=65536+(a-55296<<10)+(i-56320),n++),a<128?e[r++]=a:a<2048?(e[r++]=192|a>>>6,e[r++]=128|63&a):a<65536?(e[r++]=224|a>>>12,e[r++]=128|a>>>6&63,e[r++]=128|63&a):(e[r++]=240|a>>>18,e[r++]=128|a>>>12&63,e[r++]=128|a>>>6&63,e[r++]=128|63&a);return e},Pt=function(t,e){var a,i,n=e||t.length,r=new Array(2*n);for(i=0,a=0;a<n;){var s=t[a++];if(s<128)r[i++]=s;else{var o=Ht[s];if(o>4)r[i++]=65533,a+=o-1;else{for(s&=2===o?31:3===o?15:7;o>1&&a<n;)s=s<<6|63&t[a++],o--;o>1?r[i++]=65533:s<65536?r[i++]=s:(s-=65536,r[i++]=55296|s>>10&1023,r[i++]=56320|1023&s)}}}return function(t,e){if(e<65534&&t.subarray&&Mt)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));for(var a="",i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a}(r,i)},Yt=function(t,e){(e=e||t.length)>t.length&&(e=t.length);for(var a=e-1;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Ht[t[a]]>e?a:e};var Gt=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Xt=Object.prototype.toString,Wt=j.Z_NO_FLUSH,qt=j.Z_SYNC_FLUSH,Jt=j.Z_FULL_FLUSH,Qt=j.Z_FINISH,Vt=j.Z_OK,$t=j.Z_STREAM_END,te=j.Z_DEFAULT_COMPRESSION,ee=j.Z_DEFAULT_STRATEGY,ae=j.Z_DEFLATED;function ie(t){this.options=Bt({level:te,method:ae,chunkSize:16384,windowBits:15,memLevel:8,strategy:ee},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Gt,this.strm.avail_out=0;var a=Ft.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Vt)throw new Error(H[a]);if(e.header&&Ft.deflateSetHeader(this.strm,e.header),e.dictionary){var i;if(i="string"==typeof e.dictionary?Kt(e.dictionary):"[object ArrayBuffer]"===Xt.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(a=Ft.deflateSetDictionary(this.strm,i))!==Vt)throw new Error(H[a]);this._dict_set=!0}}function ne(t,e){var a=new ie(e);if(a.push(t,!0),a.err)throw a.msg||H[a.err];return a.result}ie.prototype.push=function(t,e){var a,i,n=this.strm,r=this.options.chunkSize;if(this.ended)return!1;for(i=e===~~e?e:!0===e?Qt:Wt,"string"==typeof t?n.input=Kt(t):"[object ArrayBuffer]"===Xt.call(t)?n.input=new Uint8Array(t):n.input=t,n.next_in=0,n.avail_in=n.input.length;;)if(0===n.avail_out&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(i===qt||i===Jt)&&n.avail_out<=6)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else{if((a=Ft.deflate(n,i))===$t)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=Ft.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Vt;if(0!==n.avail_out){if(i>0&&n.next_out>0)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else if(0===n.avail_in)break}else this.onData(n.output)}return!0},ie.prototype.onData=function(t){this.chunks.push(t)},ie.prototype.onEnd=function(t){t===Vt&&(this.result=Ct(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var re={Deflate:ie,deflate:ne,deflateRaw:function(t,e){return(e=e||{}).raw=!0,ne(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,ne(t,e)},constants:j},se=function(t,e){var a,i,n,r,s,o,l,h,d,_,f,u,c,w,b,g,p,m,v,k,y,x,z,A,E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,r=n-(e-t.avail_out),s=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,u=E.bits,c=E.lencode,w=E.distcode,b=(1<<E.lenbits)-1,g=(1<<E.distbits)-1;t:do{u<15&&(f+=z[a++]<<u,u+=8,f+=z[a++]<<u,u+=8),p=c[f&b];e:for(;;){if(f>>>=m=p>>>24,u-=m,0===(m=p>>>16&255))A[n++]=65535&p;else{if(!(16&m)){if(0==(64&m)){p=c[(65535&p)+(f&(1<<m)-1)];continue e}if(32&m){E.mode=12;break t}t.msg="invalid literal/length code",E.mode=30;break t}v=65535&p,(m&=15)&&(u<m&&(f+=z[a++]<<u,u+=8),v+=f&(1<<m)-1,f>>>=m,u-=m),u<15&&(f+=z[a++]<<u,u+=8,f+=z[a++]<<u,u+=8),p=w[f&g];a:for(;;){if(f>>>=m=p>>>24,u-=m,!(16&(m=p>>>16&255))){if(0==(64&m)){p=w[(65535&p)+(f&(1<<m)-1)];continue a}t.msg="invalid distance code",E.mode=30;break t}if(k=65535&p,u<(m&=15)&&(f+=z[a++]<<u,(u+=8)<m&&(f+=z[a++]<<u,u+=8)),(k+=f&(1<<m)-1)>o){t.msg="invalid distance too far back",E.mode=30;break t}if(f>>>=m,u-=m,k>(m=n-r)){if((m=k-m)>h&&E.sane){t.msg="invalid distance too far back",E.mode=30;break t}if(y=0,x=_,0===d){if(y+=l-m,m<v){v-=m;do{A[n++]=_[y++]}while(--m);y=n-k,x=A}}else if(d<m){if(y+=l+d-m,(m-=d)<v){v-=m;do{A[n++]=_[y++]}while(--m);if(y=0,d<v){v-=m=d;do{A[n++]=_[y++]}while(--m);y=n-k,x=A}}}else if(y+=d-m,m<v){v-=m;do{A[n++]=_[y++]}while(--m);y=n-k,x=A}for(;v>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],v-=3;v&&(A[n++]=x[y++],v>1&&(A[n++]=x[y++]))}else{y=n-k;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],v-=3}while(v>2);v&&(A[n++]=A[y++],v>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<s);a-=v=u>>3,f&=(1<<(u-=v<<3))-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<s?s-n+257:257-(n-s),E.hold=f,E.bits=u},oe=15,le=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),he=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),de=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),_e=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),fe=function(t,e,a,i,n,r,s,o){var l,h,d,_,f,u,c,w,b,g=o.bits,p=0,m=0,v=0,k=0,y=0,x=0,z=0,A=0,E=0,R=0,Z=null,S=0,U=new Uint16Array(16),D=new Uint16Array(16),O=null,T=0;for(p=0;p<=oe;p++)U[p]=0;for(m=0;m<i;m++)U[e[a+m]]++;for(y=g,k=oe;k>=1&&0===U[k];k--);if(y>k&&(y=k),0===k)return n[r++]=20971520,n[r++]=20971520,o.bits=1,0;for(v=1;v<k&&0===U[v];v++);for(y<v&&(y=v),A=1,p=1;p<=oe;p++)if(A<<=1,(A-=U[p])<0)return-1;if(A>0&&(0===t||1!==k))return-1;for(D[1]=0,p=1;p<oe;p++)D[p+1]=D[p]+U[p];for(m=0;m<i;m++)0!==e[a+m]&&(s[D[e[a+m]]++]=m);if(0===t?(Z=O=s,u=19):1===t?(Z=le,S-=257,O=he,T-=257,u=256):(Z=de,O=_e,u=-1),R=0,m=0,p=v,f=r,x=y,z=0,d=-1,_=(E=1<<y)-1,1===t&&E>852||2===t&&E>592)return 1;for(;;){c=p-z,s[m]<u?(w=0,b=s[m]):s[m]>u?(w=O[T+s[m]],b=Z[S+s[m]]):(w=96,b=0),l=1<<p-z,v=h=1<<x;do{n[f+(R>>z)+(h-=l)]=c<<24|w<<16|b|0}while(0!==h);for(l=1<<p-1;R&l;)l>>=1;if(0!==l?(R&=l-1,R+=l):R=0,m++,0==--U[p]){if(p===k)break;p=e[a+s[m]]}if(p>y&&(R&_)!==d){for(0===z&&(z=y),f+=v,A=1<<(x=p-z);x+z<k&&!((A-=U[x+z])<=0);)x++,A<<=1;if(E+=1<<x,1===t&&E>852||2===t&&E>592)return 1;n[d=R&_]=y<<24|x<<16|f-r|0}}return 0!==R&&(n[f+R]=p-z<<24|64<<16|0),o.bits=y,0},ue=j.Z_FINISH,ce=j.Z_BLOCK,we=j.Z_TREES,be=j.Z_OK,ge=j.Z_STREAM_END,pe=j.Z_NEED_DICT,me=j.Z_STREAM_ERROR,ve=j.Z_DATA_ERROR,ke=j.Z_MEM_ERROR,ye=j.Z_BUF_ERROR,xe=j.Z_DEFLATED,ze=12,Ae=30,Ee=function(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)};function Re(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var Ze,Se,Ue=function(t){if(!t||!t.state)return me;var e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,be},De=function(t){if(!t||!t.state)return me;var e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,Ue(t)},Oe=function(t,e){var a;if(!t||!t.state)return me;var i=t.state;return e<0?(a=0,e=-e):(a=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?me:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,De(t))},Te=function(t,e){if(!t)return me;var a=new Re;t.state=a,a.window=null;var i=Oe(t,e);return i!==be&&(t.state=null),i},Ie=!0,Fe=function(t){if(Ie){Ze=new Int32Array(512),Se=new Int32Array(32);for(var e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(fe(1,t.lens,0,288,Ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;fe(2,t.lens,0,32,Se,0,t.work,{bits:5}),Ie=!1}t.lencode=Ze,t.lenbits=9,t.distcode=Se,t.distbits=5},Le=function(t,e,a,i){var n,r=t.state;return null===r.window&&(r.wsize=1<<r.wbits,r.wnext=0,r.whave=0,r.window=new Uint8Array(r.wsize)),i>=r.wsize?(r.window.set(e.subarray(a-r.wsize,a),0),r.wnext=0,r.whave=r.wsize):((n=r.wsize-r.wnext)>i&&(n=i),r.window.set(e.subarray(a-i,a-i+n),r.wnext),(i-=n)?(r.window.set(e.subarray(a-i,a),0),r.wnext=i,r.whave=r.wsize):(r.wnext+=n,r.wnext===r.wsize&&(r.wnext=0),r.whave<r.wsize&&(r.whave+=n))),0},Ne={inflateReset:De,inflateReset2:Oe,inflateResetKeep:Ue,inflateInit:function(t){return Te(t,15)},inflateInit2:Te,inflate:function(t,e){var a,i,n,r,s,o,l,h,d,_,f,u,c,w,b,g,p,m,v,k,y,x,z,A,E=0,R=new Uint8Array(4),Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return me;(a=t.state).mode===ze&&(a.mode=13),s=t.next_out,n=t.output,l=t.avail_out,r=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=be;t:for(;;)switch(a.mode){case 1:if(0===a.wrap){a.mode=13;break}for(;d<16;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if(2&a.wrap&&35615===h){a.check=0,R[0]=255&h,R[1]=h>>>8&255,a.check=M(a.check,R,2,0),h=0,d=0,a.mode=2;break}if(a.flags=0,a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=Ae;break}if((15&h)!==xe){t.msg="unknown compression method",a.mode=Ae;break}if(d-=4,y=8+(15&(h>>>=4)),0===a.wbits)a.wbits=y;else if(y>a.wbits){t.msg="invalid window size",a.mode=Ae;break}a.dmax=1<<a.wbits,t.adler=a.check=1,a.mode=512&h?10:ze,h=0,d=0;break;case 2:for(;d<16;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==xe){t.msg="unknown compression method",a.mode=Ae;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=Ae;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&(R[0]=255&h,R[1]=h>>>8&255,a.check=M(a.check,R,2,0)),h=0,d=0,a.mode=3;case 3:for(;d<32;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&(R[0]=255&h,R[1]=h>>>8&255,R[2]=h>>>16&255,R[3]=h>>>24&255,a.check=M(a.check,R,4,0)),h=0,d=0,a.mode=4;case 4:for(;d<16;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&(R[0]=255&h,R[1]=h>>>8&255,a.check=M(a.check,R,2,0)),h=0,d=0,a.mode=5;case 5:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&(R[0]=255&h,R[1]=h>>>8&255,a.check=M(a.check,R,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=6;case 6:if(1024&a.flags&&((u=a.length)>o&&(u=o),u&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(r,r+u),y)),512&a.flags&&(a.check=M(a.check,i,u,r)),o-=u,r+=u,a.length-=u),a.length))break t;a.length=0,a.mode=7;case 7:if(2048&a.flags){if(0===o)break t;u=0;do{y=i[r+u++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&u<o);if(512&a.flags&&(a.check=M(a.check,i,u,r)),o-=u,r+=u,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=8;case 8:if(4096&a.flags){if(0===o)break t;u=0;do{y=i[r+u++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&u<o);if(512&a.flags&&(a.check=M(a.check,i,u,r)),o-=u,r+=u,y)break t}else a.head&&(a.head.comment=null);a.mode=9;case 9:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if(h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=Ae;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=ze;break;case 10:for(;d<32;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}t.adler=a.check=Ee(h),h=0,d=0,a.mode=11;case 11:if(0===a.havedict)return t.next_out=s,t.avail_out=l,t.next_in=r,t.avail_in=o,a.hold=h,a.bits=d,pe;t.adler=a.check=1,a.mode=ze;case ze:if(e===ce||e===we)break t;case 13:if(a.last){h>>>=7&d,d-=7&d,a.mode=27;break}for(;d<3;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}switch(a.last=1&h,d-=1,3&(h>>>=1)){case 0:a.mode=14;break;case 1:if(Fe(a),a.mode=20,e===we){h>>>=2,d-=2;break t}break;case 2:a.mode=17;break;case 3:t.msg="invalid block type",a.mode=Ae}h>>>=2,d-=2;break;case 14:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=Ae;break}if(a.length=65535&h,h=0,d=0,a.mode=15,e===we)break t;case 15:a.mode=16;case 16:if(u=a.length){if(u>o&&(u=o),u>l&&(u=l),0===u)break t;n.set(i.subarray(r,r+u),s),o-=u,r+=u,l-=u,s+=u,a.length-=u;break}a.mode=ze;break;case 17:for(;d<14;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=Ae;break}a.have=0,a.mode=18;case 18:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,z={bits:a.lenbits},x=fe(0,a.lens,0,19,a.lencode,0,a.work,z),a.lenbits=z.bits,x){t.msg="invalid code lengths set",a.mode=Ae;break}a.have=0,a.mode=19;case 19:for(;a.have<a.nlen+a.ndist;){for(;g=(E=a.lencode[h&(1<<a.lenbits)-1])>>>16&255,p=65535&E,!((b=E>>>24)<=d);){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if(p<16)h>>>=b,d-=b,a.lens[a.have++]=p;else{if(16===p){for(A=b+2;d<A;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if(h>>>=b,d-=b,0===a.have){t.msg="invalid bit length repeat",a.mode=Ae;break}y=a.lens[a.have-1],u=3+(3&h),h>>>=2,d-=2}else if(17===p){for(A=b+3;d<A;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}d-=b,y=0,u=3+(7&(h>>>=b)),h>>>=3,d-=3}else{for(A=b+7;d<A;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}d-=b,y=0,u=11+(127&(h>>>=b)),h>>>=7,d-=7}if(a.have+u>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=Ae;break}for(;u--;)a.lens[a.have++]=y}}if(a.mode===Ae)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=Ae;break}if(a.lenbits=9,z={bits:a.lenbits},x=fe(1,a.lens,0,a.nlen,a.lencode,0,a.work,z),a.lenbits=z.bits,x){t.msg="invalid literal/lengths set",a.mode=Ae;break}if(a.distbits=6,a.distcode=a.distdyn,z={bits:a.distbits},x=fe(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,z),a.distbits=z.bits,x){t.msg="invalid distances set",a.mode=Ae;break}if(a.mode=20,e===we)break t;case 20:a.mode=21;case 21:if(o>=6&&l>=258){t.next_out=s,t.avail_out=l,t.next_in=r,t.avail_in=o,a.hold=h,a.bits=d,se(t,f),s=t.next_out,n=t.output,l=t.avail_out,r=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,a.mode===ze&&(a.back=-1);break}for(a.back=0;g=(E=a.lencode[h&(1<<a.lenbits)-1])>>>16&255,p=65535&E,!((b=E>>>24)<=d);){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if(g&&0==(240&g)){for(m=b,v=g,k=p;g=(E=a.lencode[k+((h&(1<<m+v)-1)>>m)])>>>16&255,p=65535&E,!(m+(b=E>>>24)<=d);){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}h>>>=m,d-=m,a.back+=m}if(h>>>=b,d-=b,a.back+=b,a.length=p,0===g){a.mode=26;break}if(32&g){a.back=-1,a.mode=ze;break}if(64&g){t.msg="invalid literal/length code",a.mode=Ae;break}a.extra=15&g,a.mode=22;case 22:if(a.extra){for(A=a.extra;d<A;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=23;case 23:for(;g=(E=a.distcode[h&(1<<a.distbits)-1])>>>16&255,p=65535&E,!((b=E>>>24)<=d);){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if(0==(240&g)){for(m=b,v=g,k=p;g=(E=a.distcode[k+((h&(1<<m+v)-1)>>m)])>>>16&255,p=65535&E,!(m+(b=E>>>24)<=d);){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}h>>>=m,d-=m,a.back+=m}if(h>>>=b,d-=b,a.back+=b,64&g){t.msg="invalid distance code",a.mode=Ae;break}a.offset=p,a.extra=15&g,a.mode=24;case 24:if(a.extra){for(A=a.extra;d<A;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=Ae;break}a.mode=25;case 25:if(0===l)break t;if(u=f-l,a.offset>u){if((u=a.offset-u)>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=Ae;break}u>a.wnext?(u-=a.wnext,c=a.wsize-u):c=a.wnext-u,u>a.length&&(u=a.length),w=a.window}else w=n,c=s-a.offset,u=a.length;u>l&&(u=l),l-=u,a.length-=u;do{n[s++]=w[c++]}while(--u);0===a.length&&(a.mode=21);break;case 26:if(0===l)break t;n[s++]=a.length,l--,a.mode=21;break;case 27:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[r++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,f&&(t.adler=a.check=a.flags?M(a.check,n,f,s-f):B(a.check,n,f,s-f)),f=l,(a.flags?h:Ee(h))!==a.check){t.msg="incorrect data check",a.mode=Ae;break}h=0,d=0}a.mode=28;case 28:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[r++]<<d,d+=8}if(h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=Ae;break}h=0,d=0}a.mode=29;case 29:x=ge;break t;case Ae:x=ve;break t;case 31:return ke;case 32:default:return me}return t.next_out=s,t.avail_out=l,t.next_in=r,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<Ae&&(a.mode<27||e!==ue))&&Le(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,a.wrap&&f&&(t.adler=a.check=a.flags?M(a.check,n,f,t.next_out-f):B(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(a.mode===ze?128:0)+(20===a.mode||15===a.mode?256:0),(0===_&&0===f||e===ue)&&x===be&&(x=ye),x},inflateEnd:function(t){if(!t||!t.state)return me;var e=t.state;return e.window&&(e.window=null),t.state=null,be},inflateGetHeader:function(t,e){if(!t||!t.state)return me;var a=t.state;return 0==(2&a.wrap)?me:(a.head=e,e.done=!1,be)},inflateSetDictionary:function(t,e){var a,i=e.length;return t&&t.state?0!==(a=t.state).wrap&&11!==a.mode?me:11===a.mode&&B(1,e,i,0)!==a.check?ve:Le(t,e,i,i)?(a.mode=31,ke):(a.havedict=1,be):me},inflateInfo:"pako inflate (from Nodeca project)"};var Be=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},Ce=Object.prototype.toString,Me=j.Z_NO_FLUSH,He=j.Z_FINISH,je=j.Z_OK,Ke=j.Z_STREAM_END,Pe=j.Z_NEED_DICT,Ye=j.Z_STREAM_ERROR,Ge=j.Z_DATA_ERROR,Xe=j.Z_MEM_ERROR;function We(t){this.options=Bt({chunkSize:65536,windowBits:15,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Gt,this.strm.avail_out=0;var a=Ne.inflateInit2(this.strm,e.windowBits);if(a!==je)throw new Error(H[a]);if(this.header=new Be,Ne.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Kt(e.dictionary):"[object ArrayBuffer]"===Ce.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ne.inflateSetDictionary(this.strm,e.dictionary))!==je))throw new Error(H[a])}function qe(t,e){var a=new We(e);if(a.push(t),a.err)throw a.msg||H[a.err];return a.result}We.prototype.push=function(t,e){var a,i,n,r=this.strm,s=this.options.chunkSize,o=this.options.dictionary;if(this.ended)return!1;for(i=e===~~e?e:!0===e?He:Me,"[object ArrayBuffer]"===Ce.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;){for(0===r.avail_out&&(r.output=new Uint8Array(s),r.next_out=0,r.avail_out=s),(a=Ne.inflate(r,i))===Pe&&o&&((a=Ne.inflateSetDictionary(r,o))===je?a=Ne.inflate(r,i):a===Ge&&(a=Pe));r.avail_in>0&&a===Ke&&r.state.wrap>0&&0!==t[r.next_in];)Ne.inflateReset(r),a=Ne.inflate(r,i);switch(a){case Ye:case Ge:case Pe:case Xe:return this.onEnd(a),this.ended=!0,!1}if(n=r.avail_out,r.next_out&&(0===r.avail_out||a===Ke))if("string"===this.options.to){var l=Yt(r.output,r.next_out),h=r.next_out-l,d=Pt(r.output,l);r.next_out=h,r.avail_out=s-h,h&&r.output.set(r.output.subarray(l,l+h),0),this.onData(d)}else this.onData(r.output.length===r.next_out?r.output:r.output.subarray(0,r.next_out));if(a!==je||0!==n){if(a===Ke)return a=Ne.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(0===r.avail_in)break}}return!0},We.prototype.onData=function(t){this.chunks.push(t)},We.prototype.onEnd=function(t){t===je&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ct(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Je={Inflate:We,inflate:qe,inflateRaw:function(t,e){return(e=e||{}).raw=!0,qe(t,e)},ungzip:qe,constants:j},Qe=re.Deflate,Ve=re.deflate,$e=re.deflateRaw,ta=re.gzip,ea=Je.Inflate,aa=Je.inflate,ia=Je.inflateRaw,na=Je.ungzip,ra=j,sa={Deflate:Qe,deflate:Ve,deflateRaw:$e,gzip:ta,Inflate:ea,inflate:aa,inflateRaw:ia,ungzip:na,constants:ra};t.Deflate=Qe,t.Inflate=ea,t.constants=ra,t.default=sa,t.deflate=Ve,t.deflateRaw=$e,t.gzip=ta,t.inflate=aa,t.inflateRaw=ia,t.ungzip=na,Object.defineProperty(t,"__esModule",{value:!0})}));\r\n!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports&&"string"!=typeof exports.nodeName?module.exports=t():e.Croppie=t()}("undefined"!=typeof self?self:this,function(){"function"!=typeof Promise&&function(e){function n(e,t){return function(){e.apply(t,arguments)}}function r(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],u(e,n(i,this),n(o,this))}function a(n){var i=this;return null===this._state?void this._deferreds.push(n):void c(function(){var e=i._state?n.onFulfilled:n.onRejected;if(null!==e){var t;try{t=e(i._value)}catch(e){return void n.reject(e)}n.resolve(t)}else(i._state?n.resolve:n.reject)(i._value)})}function i(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var t=e.then;if("function"==typeof t)return void u(n(t,e),n(i,this),n(o,this))}this._state=!0,this._value=e,s.call(this)}catch(e){o.call(this,e)}}function o(e){this._state=!1,this._value=e,s.call(this)}function s(){for(var e=0,t=this._deferreds.length;e<t;e++)a.call(this,this._deferreds[e]);this._deferreds=null}function l(e,t,n,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=i}function u(e,t,n){var i=!1;try{e(function(e){i||(i=!0,t(e))},function(e){i||(i=!0,n(e))})}catch(e){if(i)return;i=!0,n(e)}}var t=setTimeout,c="function"==typeof setImmediate&&setImmediate||function(e){t(e,1)},h=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(n,i){var o=this;return new r(function(e,t){a.call(o,new l(n,i,e,t))})},r.all=function(){var s=Array.prototype.slice.call(1===arguments.length&&h(arguments[0])?arguments[0]:arguments);return new r(function(i,o){function r(t,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void n.call(e,function(e){r(t,e)},o)}s[t]=e,0==--a&&i(s)}catch(e){o(e)}}if(0===s.length)return i([]);for(var a=s.length,e=0;e<s.length;e++)r(e,s[e])})},r.resolve=function(t){return t&&"object"==typeof t&&t.constructor===r?t:new r(function(e){e(t)})},r.reject=function(n){return new r(function(e,t){t(n)})},r.race=function(o){return new r(function(e,t){for(var n=0,i=o.length;n<i;n++)o[n].then(e,t)})},r._setImmediateFn=function(e){c=e},"undefined"!=typeof module&&module.exports?module.exports=r:e.Promise||(e.Promise=r)}(this),"function"!=typeof window.CustomEvent&&function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}e.prototype=window.Event.prototype,window.CustomEvent=e}(),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,t,n){for(var i=atob(this.toDataURL(t,n).split(",")[1]),o=i.length,r=new Uint8Array(o),a=0;a<o;a++)r[a]=i.charCodeAt(a);e(new Blob([r],{type:t||"image/png"}))}});var v,g,w,i=["Webkit","Moz","ms"],o=document.createElement("div").style,l=[1,8,3,6],u=[2,7,4,5];function e(e){if(e in o)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=i.length;n--;)if((e=i[n]+t)in o)return e}function p(e,t){for(var n in e=e||{},t)t[n]&&t[n].constructor&&t[n].constructor===Object?(e[n]=e[n]||{},p(e[n],t[n])):e[n]=t[n];return e}function d(e){return p({},e)}function y(e){if("createEvent"in document){var t=document.createEvent("HTMLEvents");t.initEvent("change",!1,!0),e.dispatchEvent(t)}else e.fireEvent("onchange")}function b(e,t,n){if("string"==typeof t){var i=t;(t={})[i]=n}for(var o in t)e.style[o]=t[o]}function x(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function c(e,t){for(var n in t)e.setAttribute(n,t[n])}function C(e){return parseInt(e,10)}function m(e,t){var n=e.naturalWidth,i=e.naturalHeight,o=t||f(e);if(o&&5<=o){var r=n;n=i,i=r}return{width:n,height:i}}g=e("transform"),v=e("transformOrigin"),w=e("userSelect");var t={translate3d:{suffix:", 0px"},translate:{suffix:""}},E=function(e,t,n){this.x=parseFloat(e),this.y=parseFloat(t),this.scale=parseFloat(n)};E.parse=function(e){return e.style?E.parse(e.style[g]):-1<e.indexOf("matrix")||-1<e.indexOf("none")?E.fromMatrix(e):E.fromString(e)},E.fromMatrix=function(e){var t=e.substring(7).split(",");return t.length&&"none"!==e||(t=[1,0,0,1,0,0]),new E(C(t[4]),C(t[5]),parseFloat(t[0]))},E.fromString=function(e){var t=e.split(") "),n=t[0].substring(T.globals.translate.length+1).split(","),i=1<t.length?t[1].substring(6):1,o=1<n.length?n[0]:0,r=1<n.length?n[1]:0;return new E(o,r,i)},E.prototype.toString=function(){var e=t[T.globals.translate].suffix||"";return T.globals.translate+"("+this.x+"px, "+this.y+"px"+e+") scale("+this.scale+")"};var L=function(e){if(!e||!e.style[v])return this.x=0,void(this.y=0);var t=e.style[v].split(" ");this.x=parseFloat(t[0]),this.y=parseFloat(t[1])};function f(e){return e.exifdata&&e.exifdata.Orientation?C(e.exifdata.Orientation):1}function _(e,t,n){var i=t.width,o=t.height,r=e.getContext("2d");switch(e.width=t.width,e.height=t.height,r.save(),n){case 2:r.translate(i,0),r.scale(-1,1);break;case 3:r.translate(i,o),r.rotate(180*Math.PI/180);break;case 4:r.translate(0,o),r.scale(1,-1);break;case 5:e.width=o,e.height=i,r.rotate(90*Math.PI/180),r.scale(1,-1);break;case 6:e.width=o,e.height=i,r.rotate(90*Math.PI/180),r.translate(0,-o);break;case 7:e.width=o,e.height=i,r.rotate(-90*Math.PI/180),r.translate(-i,o),r.scale(1,-1);break;case 8:e.width=o,e.height=i,r.translate(0,i),r.rotate(-90*Math.PI/180)}r.drawImage(t,0,0,i,o),r.restore()}function r(){var e,t,n,i,o,r,a=this,s=a.options.viewport.type?"cr-vp-"+a.options.viewport.type:null;a.options.useCanvas=a.options.enableOrientation||R.call(a),a.data={},a.elements={},e=a.elements.boundary=document.createElement("div"),n=a.elements.viewport=document.createElement("div"),t=a.elements.img=document.createElement("img"),i=a.elements.overlay=document.createElement("div"),a.options.useCanvas?(a.elements.canvas=document.createElement("canvas"),a.elements.preview=a.elements.canvas):a.elements.preview=t,x(e,"cr-boundary"),e.setAttribute("aria-dropeffect","none"),o=a.options.boundary.width,r=a.options.boundary.height,b(e,{width:o+(isNaN(o)?"":"px"),height:r+(isNaN(r)?"":"px")}),x(n,"cr-viewport"),s&&x(n,s),b(n,{width:a.options.viewport.width+"px",height:a.options.viewport.height+"px"}),n.setAttribute("tabindex",0),x(a.elements.preview,"cr-image"),c(a.elements.preview,{alt:"preview","aria-grabbed":"false"}),x(i,"cr-overlay"),a.element.appendChild(e),e.appendChild(a.elements.preview),e.appendChild(n),e.appendChild(i),x(a.element,"croppie-container"),a.options.customClass&&x(a.element,a.options.customClass),function(){var h,p,d,l,m,f=this,n=!1;function v(e,t){var n=f.elements.preview.getBoundingClientRect(),i=m.y+t,o=m.x+e;f.options.enforceBoundary?(l.top>n.top+t&&l.bottom<n.bottom+t&&(m.y=i),l.left>n.left+e&&l.right<n.right+e&&(m.x=o)):(m.y=i,m.x=o)}function i(e){f.elements.preview.setAttribute("aria-grabbed",e),f.elements.boundary.setAttribute("aria-dropeffect",e?"move":"none")}function e(e){if((void 0===e.button||0===e.button)&&(e.preventDefault(),!n)){if(n=!0,h=e.pageX,p=e.pageY,e.touches){var t=e.touches[0];h=t.pageX,p=t.pageY}i(n),m=E.parse(f.elements.preview),window.addEventListener("mousemove",o),window.addEventListener("touchmove",o),window.addEventListener("mouseup",r),window.addEventListener("touchend",r),document.body.style[w]="none",l=f.elements.viewport.getBoundingClientRect()}}function o(e){e.preventDefault();var t=e.pageX,n=e.pageY;if(e.touches){var i=e.touches[0];t=i.pageX,n=i.pageY}var o=t-h,r=n-p,a={};if("touchmove"===e.type&&1<e.touches.length){var s=e.touches[0],l=e.touches[1],u=Math.sqrt((s.pageX-l.pageX)*(s.pageX-l.pageX)+(s.pageY-l.pageY)*(s.pageY-l.pageY));d||(d=u/f._currentZoom);var c=u/d;return B.call(f,c),void y(f.elements.zoomer)}v(o,r),a[g]=m.toString(),b(f.elements.preview,a),z.call(f),p=n,h=t}function r(){i(n=!1),window.removeEventListener("mousemove",o),window.removeEventListener("touchmove",o),window.removeEventListener("mouseup",r),window.removeEventListener("touchend",r),document.body.style[w]="",Z.call(f),F.call(f),d=0}f.elements.overlay.addEventListener("mousedown",e),f.elements.viewport.addEventListener("keydown",function(e){if(!e.shiftKey||38!==e.keyCode&&40!==e.keyCode){if(f.options.enableKeyMovement&&37<=e.keyCode&&e.keyCode<=40){e.preventDefault();var t=s(e.keyCode);m=E.parse(f.elements.preview),document.body.style[w]="none",l=f.elements.viewport.getBoundingClientRect(),o=(i=t)[0],r=i[1],a={},v(o,r),a[g]=m.toString(),b(f.elements.preview,a),z.call(f),document.body.style[w]="",Z.call(f),F.call(f),d=0}}else{var n;n=38===e.keyCode?parseFloat(f.elements.zoomer.value)+parseFloat(f.elements.zoomer.step):parseFloat(f.elements.zoomer.value)-parseFloat(f.elements.zoomer.step),f.setZoom(n)}var i,o,r,a;function s(e){switch(e){case 37:return[1,0];case 38:return[0,1];case 39:return[-1,0];case 40:return[0,-1]}}}),f.elements.overlay.addEventListener("touchstart",e)}.call(this),a.options.enableZoom&&function(){var i=this,e=i.elements.zoomerWrap=document.createElement("div"),t=i.elements.zoomer=document.createElement("input");function o(){(function(e){var t=this,n=e?e.transform:E.parse(t.elements.preview),i=e?e.viewportRect:t.elements.viewport.getBoundingClientRect(),o=e?e.origin:new L(t.elements.preview);function r(){var e={};e[g]=n.toString(),e[v]=o.toString(),b(t.elements.preview,e)}if(t._currentZoom=e?e.value:t._currentZoom,n.scale=t._currentZoom,t.elements.zoomer.setAttribute("aria-valuenow",t._currentZoom),r(),t.options.enforceBoundary){var a=function(e){var t=this._currentZoom,n=e.width,i=e.height,o=this.elements.boundary.clientWidth/2,r=this.elements.boundary.clientHeight/2,a=this.elements.preview.getBoundingClientRect(),s=a.width,l=a.height,u=n/2,c=i/2,h=-1*(u/t-o),p=-1*(c/t-r),d=1/t*u,m=1/t*c;return{translate:{maxX:h,minX:h-(s*(1/t)-n*(1/t)),maxY:p,minY:p-(l*(1/t)-i*(1/t))},origin:{maxX:s*(1/t)-d,minX:d,maxY:l*(1/t)-m,minY:m}}}.call(t,i),s=a.translate,l=a.origin;n.x>=s.maxX&&(o.x=l.minX,n.x=s.maxX),n.x<=s.minX&&(o.x=l.maxX,n.x=s.minX),n.y>=s.maxY&&(o.y=l.minY,n.y=s.maxY),n.y<=s.minY&&(o.y=l.maxY,n.y=s.minY)}r(),I.call(t),F.call(t)}).call(i,{value:parseFloat(t.value),origin:new L(i.elements.preview),viewportRect:i.elements.viewport.getBoundingClientRect(),transform:E.parse(i.elements.preview)})}function n(e){var t,n;if("ctrl"===i.options.mouseWheelZoom&&!0!==e.ctrlKey)return 0;t=e.wheelDelta?e.wheelDelta/1200:e.deltaY?e.deltaY/1060:e.detail?e.detail/-60:0,n=i._currentZoom+t*i._currentZoom,e.preventDefault(),B.call(i,n),o.call(i)}x(e,"cr-slider-wrap"),x(t,"cr-slider"),t.type="range",t.step="0.0001",t.value="1",t.style.display=i.options.showZoomer?"":"none",t.setAttribute("aria-label","zoom"),i.element.appendChild(e),e.appendChild(t),i._currentZoom=1,i.elements.zoomer.addEventListener("input",o),i.elements.zoomer.addEventListener("change",o),i.options.mouseWheelZoom&&(i.elements.boundary.addEventListener("mousewheel",n),i.elements.boundary.addEventListener("DOMMouseScroll",n))}.call(a),a.options.enableResize&&function(){var l,u,c,h,p,e,t,d=this,m=document.createElement("div"),i=!1,f=50;x(m,"cr-resizer"),b(m,{width:this.options.viewport.width+"px",height:this.options.viewport.height+"px"}),this.options.resizeControls.height&&(x(e=document.createElement("div"),"cr-resizer-vertical"),m.appendChild(e));this.options.resizeControls.width&&(x(t=document.createElement("div"),"cr-resizer-horisontal"),m.appendChild(t));function n(e){if((void 0===e.button||0===e.button)&&(e.preventDefault(),!i)){var t=d.elements.overlay.getBoundingClientRect();if(i=!0,u=e.pageX,c=e.pageY,l=-1!==e.currentTarget.className.indexOf("vertical")?"v":"h",h=t.width,p=t.height,e.touches){var n=e.touches[0];u=n.pageX,c=n.pageY}window.addEventListener("mousemove",o),window.addEventListener("touchmove",o),window.addEventListener("mouseup",r),window.addEventListener("touchend",r),document.body.style[w]="none"}}function o(e){var t=e.pageX,n=e.pageY;if(e.preventDefault(),e.touches){var i=e.touches[0];t=i.pageX,n=i.pageY}var o=t-u,r=n-c,a=d.options.viewport.height+r,s=d.options.viewport.width+o;"v"===l&&f<=a&&a<=p?(b(m,{height:a+"px"}),d.options.boundary.height+=r,b(d.elements.boundary,{height:d.options.boundary.height+"px"}),d.options.viewport.height+=r,b(d.elements.viewport,{height:d.options.viewport.height+"px"})):"h"===l&&f<=s&&s<=h&&(b(m,{width:s+"px"}),d.options.boundary.width+=o,b(d.elements.boundary,{width:d.options.boundary.width+"px"}),d.options.viewport.width+=o,b(d.elements.viewport,{width:d.options.viewport.width+"px"})),z.call(d),W.call(d),Z.call(d),F.call(d),c=n,u=t}function r(){i=!1,window.removeEventListener("mousemove",o),window.removeEventListener("touchmove",o),window.removeEventListener("mouseup",r),window.removeEventListener("touchend",r),document.body.style[w]=""}e&&(e.addEventListener("mousedown",n),e.addEventListener("touchstart",n));t&&(t.addEventListener("mousedown",n),t.addEventListener("touchstart",n));this.elements.boundary.appendChild(m)}.call(a)}function R(){return this.options.enableExif&&window.EXIF}function B(e){if(this.options.enableZoom){var t=this.elements.zoomer,n=A(e,4);t.value=Math.max(parseFloat(t.min),Math.min(parseFloat(t.max),n)).toString()}}function Z(e){var t=this,n=t._currentZoom,i=t.elements.preview.getBoundingClientRect(),o=t.elements.viewport.getBoundingClientRect(),r=E.parse(t.elements.preview.style[g]),a=new L(t.elements.preview),s=o.top-i.top+o.height/2,l=o.left-i.left+o.width/2,u={},c={};if(e){var h=a.x,p=a.y,d=r.x,m=r.y;u.y=h,u.x=p,r.y=d,r.x=m}else u.y=s/n,u.x=l/n,c.y=(u.y-a.y)*(1-n),c.x=(u.x-a.x)*(1-n),r.x-=c.x,r.y-=c.y;var f={};f[v]=u.x+"px "+u.y+"px",f[g]=r.toString(),b(t.elements.preview,f)}function z(){if(this.elements){var e=this.elements.boundary.getBoundingClientRect(),t=this.elements.preview.getBoundingClientRect();b(this.elements.overlay,{width:t.width+"px",height:t.height+"px",top:t.top-e.top+"px",left:t.left-e.left+"px"})}}L.prototype.toString=function(){return this.x+"px "+this.y+"px"};var a,s,h,M,I=(a=z,s=500,function(){var e=this,t=arguments,n=h&&!M;clearTimeout(M),M=setTimeout(function(){M=null,h||a.apply(e,t)},s),n&&a.apply(e,t)});function F(){var e,t=this,n=t.get();X.call(t)&&(t.options.update.call(t,n),t.$&&"undefined"==typeof Prototype?t.$(t.element).trigger("update.croppie",n):(window.CustomEvent?e=new CustomEvent("update",{detail:n}):(e=document.createEvent("CustomEvent")).initCustomEvent("update",!0,!0,n),t.element.dispatchEvent(e)))}function X(){return 0<this.elements.preview.offsetHeight&&0<this.elements.preview.offsetWidth}function Y(){var e,t=this,n={},i=t.elements.preview,o=new E(0,0,1),r=new L;X.call(t)&&!t.data.bound&&(t.data.bound=!0,n[g]=o.toString(),n[v]=r.toString(),n.opacity=1,b(i,n),e=t.elements.preview.getBoundingClientRect(),t._originalImageWidth=e.width,t._originalImageHeight=e.height,t.data.orientation=f(t.elements.img),t.options.enableZoom?W.call(t,!0):t._currentZoom=1,o.scale=t._currentZoom,n[g]=o.toString(),b(i,n),t.data.points.length?function(e){if(4!==e.length)throw"Croppie - Invalid number of points supplied: "+e;var t=this,n=e[2]-e[0],i=t.elements.viewport.getBoundingClientRect(),o=t.elements.boundary.getBoundingClientRect(),r={left:i.left-o.left,top:i.top-o.top},a=i.width/n,s=e[1],l=e[0],u=-1*e[1]+r.top,c=-1*e[0]+r.left,h={};h[v]=l+"px "+s+"px",h[g]=new E(c,u,a).toString(),b(t.elements.preview,h),B.call(t,a),t._currentZoom=a}.call(t,t.data.points):function(){var e=this,t=e.elements.preview.getBoundingClientRect(),n=e.elements.viewport.getBoundingClientRect(),i=e.elements.boundary.getBoundingClientRect(),o=n.left-i.left,r=n.top-i.top,a=o-(t.width-n.width)/2,s=r-(t.height-n.height)/2,l=new E(a,s,e._currentZoom);b(e.elements.preview,g,l.toString())}.call(t),Z.call(t),z.call(t))}function W(e){var t,n,i,o,r=this,a=Math.max(r.options.minZoom,0)||0,s=r.options.maxZoom||1.5,l=r.elements.zoomer,u=parseFloat(l.value),c=r.elements.boundary.getBoundingClientRect(),h=m(r.elements.img,r.data.orientation),p=r.elements.viewport.getBoundingClientRect();r.options.enforceBoundary&&(i=p.width/h.width,o=p.height/h.height,a=Math.max(i,o)),s<=a&&(s=a+1),l.min=A(a,4),l.max=A(s,4),!e&&(u<l.min||u>l.max)?B.call(r,u<l.min?l.min:l.max):e&&(n=Math.max(c.width/h.width,c.height/h.height),t=null!==r.data.boundZoom?r.data.boundZoom:n,B.call(r,t)),y(l)}function O(e){var t=e.points,n=C(t[0]),i=C(t[1]),o=C(t[2])-n,r=C(t[3])-i,a=e.circle,s=document.createElement("canvas"),l=s.getContext("2d"),u=e.outputWidth||o,c=e.outputHeight||r;s.width=u,s.height=c,e.backgroundColor&&(l.fillStyle=e.backgroundColor,l.fillRect(0,0,u,c));var h=n,p=i,d=o,m=r,f=0,v=0,g=u,w=c;return n<0&&(h=0,f=Math.abs(n)/o*u),d+h>this._originalImageWidth&&(g=(d=this._originalImageWidth-h)/o*u),i<0&&(p=0,v=Math.abs(i)/r*c),m+p>this._originalImageHeight&&(w=(m=this._originalImageHeight-p)/r*c),l.drawImage(this.elements.preview,h,p,d,m,f,v,g,w),a&&(l.fillStyle="#fff",l.globalCompositeOperation="destination-in",l.beginPath(),l.arc(s.width/2,s.height/2,s.width/2,0,2*Math.PI,!0),l.closePath(),l.fill()),s}function k(c,h){var e,i,o,r,p=this,d=[],t=null,n=R.call(p);if("string"==typeof c)e=c,c={};else if(Array.isArray(c))d=c.slice();else{if(void 0===c&&p.data.url)return Y.call(p),F.call(p),null;e=c.url,d=c.points||[],t=void 0===c.zoom?null:c.zoom}return p.data.bound=!1,p.data.url=e||p.data.url,p.data.boundZoom=t,(i=e,o=n,r=new Image,r.style.opacity="0",new Promise(function(e,t){function n(){r.style.opacity="1",setTimeout(function(){e(r)},1)}r.removeAttribute("crossOrigin"),i.match(/^https?:\\/\\/|^\\/\\//)&&r.setAttribute("crossOrigin","anonymous"),r.onload=function(){o?EXIF.getData(r,function(){n()}):n()},r.onerror=function(e){r.style.opacity=1,setTimeout(function(){t(e)},1)},r.src=i})).then(function(e){if(function(t){this.elements.img.parentNode&&(Array.prototype.forEach.call(this.elements.img.classList,function(e){t.classList.add(e)}),this.elements.img.parentNode.replaceChild(t,this.elements.img),this.elements.preview=t),this.elements.img=t}.call(p,e),d.length)p.options.relative&&(d=[d[0]*e.naturalWidth/100,d[1]*e.naturalHeight/100,d[2]*e.naturalWidth/100,d[3]*e.naturalHeight/100]);else{var t,n,i=m(e),o=p.elements.viewport.getBoundingClientRect(),r=o.width/o.height;r<i.width/i.height?t=(n=i.height)*r:(t=i.width,n=i.height/r);var a=(i.width-t)/2,s=(i.height-n)/2,l=a+t,u=s+n;p.data.points=[a,s,l,u]}p.data.points=d.map(function(e){return parseFloat(e)}),p.options.useCanvas&&function(e){var t=this.elements.canvas,n=this.elements.img;t.getContext("2d").clearRect(0,0,t.width,t.height),t.width=n.width,t.height=n.height,_(t,n,this.options.enableOrientation&&e||f(n))}.call(p,c.orientation),Y.call(p),F.call(p),h&&h()})}function A(e,t){return parseFloat(e).toFixed(t||0)}function j(){var e=this,t=e.elements.preview.getBoundingClientRect(),n=e.elements.viewport.getBoundingClientRect(),i=n.left-t.left,o=n.top-t.top,r=(n.width-e.elements.viewport.offsetWidth)/2,a=(n.height-e.elements.viewport.offsetHeight)/2,s=i+e.elements.viewport.offsetWidth+r,l=o+e.elements.viewport.offsetHeight+a,u=e._currentZoom;(u===1/0||isNaN(u))&&(u=1);var c=e.options.enforceBoundary?0:Number.NEGATIVE_INFINITY;return i=Math.max(c,i/u),o=Math.max(c,o/u),s=Math.max(c,s/u),l=Math.max(c,l/u),{points:[A(i),A(o),A(s),A(l)],zoom:u,orientation:e.data.orientation}}var H={type:"canvas",format:"png",quality:1},N=["jpeg","webp","png"];function n(e){var t=this,n=j.call(t),i=p(d(H),d(e)),o="string"==typeof e?e:i.type||"base64",r=i.size||"viewport",a=i.format,s=i.quality,l=i.backgroundColor,u="boolean"==typeof i.circle?i.circle:"circle"===t.options.viewport.type,c=t.elements.viewport.getBoundingClientRect(),h=c.width/c.height;return"viewport"===r?(n.outputWidth=c.width,n.outputHeight=c.height):"object"==typeof r&&(r.width&&r.height?(n.outputWidth=r.width,n.outputHeight=r.height):r.width?(n.outputWidth=r.width,n.outputHeight=r.width/h):r.height&&(n.outputWidth=r.height*h,n.outputHeight=r.height)),-1<N.indexOf(a)&&(n.format="image/"+a,n.quality=s),n.circle=u,n.url=t.data.url,n.backgroundColor=l,new Promise(function(e){switch(o.toLowerCase()){case"rawcanvas":e(O.call(t,n));break;case"canvas":case"base64":e(function(e){return O.call(this,e).toDataURL(e.format,e.quality)}.call(t,n));break;case"blob":(function(e){var n=this;return new Promise(function(t){O.call(n,e).toBlob(function(e){t(e)},e.format,e.quality)})}).call(t,n).then(e);break;default:e(function(e){var t=e.points,n=document.createElement("div"),i=document.createElement("img"),o=t[2]-t[0],r=t[3]-t[1];return x(n,"croppie-result"),n.appendChild(i),b(i,{left:-1*t[0]+"px",top:-1*t[1]+"px"}),i.src=e.url,b(n,{width:o+"px",height:r+"px"}),n}.call(t,n))}})}function S(e){if(!this.options.useCanvas||!this.options.enableOrientation)throw"Croppie: Cannot rotate without enableOrientation && EXIF.js included";var t,n,i,o,r,a=this,s=a.elements.canvas;a.data.orientation=(t=a.data.orientation,n=e,i=-1<l.indexOf(t)?l:u,o=i.indexOf(t),r=n/90%i.length,i[(i.length+o+r%i.length)%i.length]),_(s,a.elements.img,a.data.orientation),Z.call(a,!0),W.call(a)}if(window.jQuery){var P=window.jQuery;P.fn.croppie=function(n){if("string"!==typeof n)return this.each(function(){var e=new T(this,n);(e.$=P)(this).data("croppie",e)});var i=Array.prototype.slice.call(arguments,1),e=P(this).data("croppie");return"get"===n?e.get():"result"===n?e.result.apply(e,i):"bind"===n?e.bind.apply(e,i):this.each(function(){var e=P(this).data("croppie");if(e){var t=e[n];if(!P.isFunction(t))throw"Croppie "+n+" method not found";t.apply(e,i),"destroy"===n&&P(this).removeData("croppie")}})}}function T(e,t){if(-1<e.className.indexOf("croppie-container"))throw new Error("Croppie: Can\'t initialize croppie more than once");if(this.element=e,this.options=p(d(T.defaults),t),"img"===this.element.tagName.toLowerCase()){var n=this.element;x(n,"cr-original-image"),c(n,{"aria-hidden":"true",alt:""});var i=document.createElement("div");this.element.parentNode.appendChild(i),i.appendChild(n),this.element=i,this.options.url=this.options.url||n.src}if(r.call(this),this.options.url){var o={url:this.options.url,points:this.options.points};delete this.options.url,delete this.options.points,k.call(this,o)}}return T.defaults={viewport:{width:100,height:100,type:"square"},boundary:{},orientationControls:{enabled:!0,leftClass:"",rightClass:""},resizeControls:{width:!0,height:!0},customClass:"",showZoomer:!0,enableZoom:!0,enableResize:!1,mouseWheelZoom:!0,enableExif:!1,enforceBoundary:!0,enableOrientation:!1,enableKeyMovement:!0,update:function(){}},T.globals={translate:"translate3d"},p(T.prototype,{bind:function(e,t){return k.call(this,e,t)},get:function(){var e=j.call(this),t=e.points;return this.options.relative&&(t[0]/=this.elements.img.naturalWidth/100,t[1]/=this.elements.img.naturalHeight/100,t[2]/=this.elements.img.naturalWidth/100,t[3]/=this.elements.img.naturalHeight/100),e},result:function(e){return n.call(this,e)},refresh:function(){return function(){Y.call(this)}.call(this)},setZoom:function(e){B.call(this,e),y(this.elements.zoomer)},rotate:function(e){S.call(this,e)},destroy:function(){return function(){var e,t,n=this;n.element.removeChild(n.elements.boundary),e=n.element,t="croppie-container",e.classList?e.classList.remove(t):e.className=e.className.replace(t,""),n.options.enableZoom&&n.element.removeChild(n.elements.zoomerWrap),delete n.elements}.call(this)}}),T});\r\nvar $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(d,h,l){if(l.get||l.set)throw new TypeError("ES3 does not support getters and setters.");d!=Array.prototype&&d!=Object.prototype&&(d[h]=l.value)};$jscomp.getGlobal=function(d){return"undefined"!=typeof window&&window===d?d:"undefined"!=typeof global&&null!=global?global:d};$jscomp.global=$jscomp.getGlobal(this);\r\n$jscomp.polyfill=function(d,h,l,p){if(h){l=$jscomp.global;d=d.split(".");for(p=0;p<d.length-1;p++){var v=d[p];v in l||(l[v]={});l=l[v]}d=d[d.length-1];p=l[d];h=h(p);h!=p&&null!=h&&$jscomp.defineProperty(l,d,{configurable:!0,writable:!0,value:h})}};$jscomp.polyfill("Math.imul",function(d){return d?d:function(d,l){d=Number(d);l=Number(l);var h=d&65535,v=l&65535;return h*v+((d>>>16&65535)*v+h*(l>>>16&65535)<<16>>>0)|0}},"es6-impl","es3");\r\n$jscomp.polyfill("Object.setPrototypeOf",function(d){return d?d:"object"!=typeof"".__proto__?null:function(d,l){d.__proto__=l;if(d.__proto__!==l)throw new TypeError(d+" is not extensible");return d}},"es6","es5");$jscomp.polyfill("Reflect.apply",function(d){if(d)return d;var h=Function.prototype.apply;return function(d,p,v){return h.call(d,p,v)}},"es6","es3");\r\n$jscomp.polyfill("Reflect.construct",function(d){return d?d:function(d,l,p){void 0===p&&(p=d);p=Object.create(p.prototype||Object.prototype);return Reflect.apply(d,p,l)||p}},"es6","es5");$jscomp.SYMBOL_PREFIX="jscomp_symbol_";$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(d){return $jscomp.SYMBOL_PREFIX+(d||"")+$jscomp.symbolCounter_++};\r\n$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var d=$jscomp.global.Symbol.iterator;d||(d=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[d]&&$jscomp.defineProperty(Array.prototype,d,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(d){var h=0;return $jscomp.iteratorPrototype(function(){return h<d.length?{done:!1,value:d[h++]}:{done:!0}})};\r\n$jscomp.iteratorPrototype=function(d){$jscomp.initSymbolIterator();d={next:d};d[$jscomp.global.Symbol.iterator]=function(){return this};return d};$jscomp.polyfill("Array.from",function(d){return d?d:function(d,l,p){$jscomp.initSymbolIterator();l=null!=l?l:function(d){return d};var h=[],z=d[Symbol.iterator];if("function"==typeof z)for(d=z.call(d);!(z=d.next()).done;)h.push(l.call(p,z.value));else for(var z=d.length,B=0;B<z;B++)h.push(l.call(p,d[B]));return h}},"es6-impl","es3");\r\n$jscomp.polyfill("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991},"es6-impl","es3");$jscomp.owns=function(d,h){return Object.prototype.hasOwnProperty.call(d,h)};$jscomp.polyfill("Object.assign",function(d){return d?d:function(d,l){for(var h=1;h<arguments.length;h++){var v=arguments[h];if(v)for(var z in v)$jscomp.owns(v,z)&&(d[z]=v[z])}return d}},"es6-impl","es3");\r\n$jscomp.polyfill("Array.prototype.fill",function(d){return d?d:function(d,l,p){var h=this.length||0;0>l&&(l=Math.max(0,h+l));if(null==p||p>h)p=h;p=Number(p);0>p&&(p=Math.max(0,h+p));for(l=Number(l||0);l<p;l++)this[l]=d;return this}},"es6-impl","es3");Array.from||(Array.from=function(d){return[].slice.call(d)});Math.imul=Math.imul||function(d,h){var l=d&65535,p=h&65535;return l*p+((d>>>16&65535)*p+l*(h>>>16&65535)<<16>>>0)|0};\r\nfunction _instanceof(d,h){return null!=h&&"undefined"!==typeof Symbol&&h[Symbol.hasInstance]?!!h[Symbol.hasInstance](d):d instanceof h}function _inherits(d,h){if("function"!==typeof h&&null!==h)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,writable:!0,configurable:!0}});h&&_setPrototypeOf(d,h)}\r\nfunction _setPrototypeOf(d,h){_setPrototypeOf=Object.setPrototypeOf||function(d,h){d.__proto__=h;return d};return _setPrototypeOf(d,h)}function _createSuper(d){var h=_isNativeReflectConstruct();return function(){var l=_getPrototypeOf(d);if(h)var p=_getPrototypeOf(this).constructor,l=Reflect.construct(l,arguments,p);else l=l.apply(this,arguments);return _possibleConstructorReturn(this,l)}}\r\nfunction _possibleConstructorReturn(d,h){return!h||"object"!==_typeof(h)&&"function"!==typeof h?_assertThisInitialized(d):h}function _assertThisInitialized(d){if(void 0===d)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return d}\r\nfunction _isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(d){return!1}}function _getPrototypeOf(d){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)};return _getPrototypeOf(d)}\r\nfunction _createForOfIteratorHelper(d,h){var l;if("undefined"===typeof Symbol||null==d[Symbol.iterator]){if(Array.isArray(d)||(l=_unsupportedIterableToArray(d))||h&&d&&"number"===typeof d.length){l&&(d=l);var p=0,v=function(){};return{s:v,n:function(){return p>=d.length?{done:!0}:{done:!1,value:d[p++]}},e:function(d){throw d;},f:v}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var z=!0,\r\nB=!1,C;return{s:function(){l=d[Symbol.iterator]()},n:function(){var d=l.next();z=d.done;return d},e:function(d){B=!0;C=d},f:function(){try{z||null==l["return"]||l["return"]()}finally{if(B)throw C;}}}}function _classCallCheck(d,h){if(!_instanceof(d,h))throw new TypeError("Cannot call a class as a function");}function _defineProperties(d,h){for(var l=0;l<h.length;l++){var p=h[l];p.enumerable=p.enumerable||!1;p.configurable=!0;"value"in p&&(p.writable=!0);Object.defineProperty(d,p.key,p)}}\r\nfunction _createClass(d,h,l){h&&_defineProperties(d.prototype,h);l&&_defineProperties(d,l);return d}function _typeof(d){"@babel/helpers - typeof";_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"===typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d};return _typeof(d)}\r\nfunction _toConsumableArray(d){return _arrayWithoutHoles(d)||_iterableToArray(d)||_unsupportedIterableToArray(d)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArray(d){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(d))return Array.from(d)}\r\nfunction _arrayWithoutHoles(d){if(Array.isArray(d))return _arrayLikeToArray(d)}function _slicedToArray(d,h){return _arrayWithHoles(d)||_iterableToArrayLimit(d,h)||_unsupportedIterableToArray(d,h)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}\r\nfunction _unsupportedIterableToArray(d,h){if(d){if("string"===typeof d)return _arrayLikeToArray(d,h);var l=Object.prototype.toString.call(d).slice(8,-1);"Object"===l&&d.constructor&&(l=d.constructor.name);if("Map"===l||"Set"===l)return Array.from(d);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return _arrayLikeToArray(d,h)}}function _arrayLikeToArray(d,h){if(null==h||h>d.length)h=d.length;for(var l=0,p=Array(h);l<h;l++)p[l]=d[l];return p}\r\nfunction _iterableToArrayLimit(d,h){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(d)){var l=[],p=!0,v=!1,z=void 0;try{for(var B=d[Symbol.iterator](),C;!(p=(C=B.next()).done)&&(l.push(C.value),!h||l.length!==h);p=!0);}catch(H){v=!0,z=H}finally{try{if(!p&&null!=B["return"])B["return"]()}finally{if(v)throw z;}}return l}}function _arrayWithHoles(d){if(Array.isArray(d))return d}\r\nvar rough=function(){function d(b,a,e){if(b&&b.length){a=_slicedToArray(a,2);var c=a[0],f=a[1];e*=Math.PI/180;var k=Math.cos(e),d=Math.sin(e);b.forEach(function(a){var e=_slicedToArray(a,2),b=e[0],e=e[1];a[0]=(b-c)*k-(e-f)*d+c;a[1]=(b-c)*d+(e-f)*k+f})}}function h(b){var a=b[0];b=b[1];return Math.sqrt(Math.pow(a[0]-b[0],2)+Math.pow(a[1]-b[1],2))}function l(b,a,e,c){var f=a[1]-b[1];a=b[0]-a[0];b=f*b[0]+a*b[1];var k=c[1]-e[1];c=e[0]-c[0];e=k*e[0]+c*e[1];var d=f*c-k*a;return d?[(c*b-a*e)/d,(f*e-k*b)/\r\nd]:null}function p(b,a,e){var c=b.length;if(3>c)return!1;var f=[Number.MAX_SAFE_INTEGER,e];a=[a,e];for(var k=e=0;k<c;k++){var d=b[k],g=b[(k+1)%c];if(B(d,g,a,f)){if(0===z(d,a,g))return v(d,a,g);e++}}return 1==e%2}function v(b,a,e){return a[0]<=Math.max(b[0],e[0])&&a[0]>=Math.min(b[0],e[0])&&a[1]<=Math.max(b[1],e[1])&&a[1]>=Math.min(b[1],e[1])}function z(b,a,e){b=(a[1]-b[1])*(e[0]-a[0])-(a[0]-b[0])*(e[1]-a[1]);return 0===b?0:0<b?1:2}function B(b,a,e,c){var f=z(b,a,e),k=z(b,a,c),d=z(e,c,b),g=z(e,c,a);\r\nreturn f!==k&&d!==g||!(0!==f||!v(b,e,a))||!(0!==k||!v(b,c,a))||!(0!==d||!v(e,b,c))||!(0!==g||!v(e,a,c))}function C(b,a){var e=[0,0],c=Math.round(a.hachureAngle+90);c&&d(b,e,c);var f=function(a,e){var c=_toConsumableArray(a);c[0].join(",")!==c[c.length-1].join(",")&&c.push([c[0][0],c[0][1]]);var f=[];if(c&&2<c.length){var b=function(){var a=e.hachureGap;0>a&&(a=4*e.strokeWidth);for(var a=Math.max(a,.1),b=[],k=0;k<c.length-1;k++){var g=c[k],d=c[k+1];if(g[1]!==d[1]){var n=Math.min(g[1],d[1]);b.push({ymin:n,\r\nymax:Math.max(g[1],d[1]),x:n===g[1]?g[0]:d[0],islope:(d[0]-g[0])/(d[1]-g[1])})}}if(b.sort(function(a,c){return a.ymin<c.ymin?-1:a.ymin>c.ymin?1:a.x<c.x?-1:a.x>c.x?1:a.ymax===c.ymax?0:(a.ymax-c.ymax)/Math.abs(a.ymax-c.ymax)}),!b.length)return{v:f};for(var m=[],r=b[0].ymin;m.length||b.length;){if(b.length){k=-1;for(g=0;g<b.length&&!(b[g].ymin>r);g++)k=g;b.splice(0,k+1).forEach(function(a){m.push({s:r,edge:a})})}if(m=m.filter(function(a){return!(a.edge.ymax<=r)}),m.sort(function(a,c){return a.edge.x===\r\nc.edge.x?0:(a.edge.x-c.edge.x)/Math.abs(a.edge.x-c.edge.x)}),1<m.length)for(k=0;k<m.length;k+=2){g=k+1;if(g>=m.length)break;f.push([[Math.round(m[k].edge.x),r],[Math.round(m[g].edge.x),r]])}r+=a;m.forEach(function(c){c.edge.x+=a*c.edge.islope})}}();if("object"===_typeof(b))return b.v}return f}(b,a);return c&&(d(b,e,-c),function(a,c,e){var f=[];a.forEach(function(a){return f.push.apply(f,_toConsumableArray(a))});d(f,c,e)}(f,e,-c)),f}function H(b){var a=[],e;a:{e=b;for(var c=[];""!==e;){if(!e.match(/^([ \\t\\r\\n,]+)/))if(e.match(/^([aAcChHlLmMqQsStTvVzZ])/))c[c.length]=\r\n{type:0,text:RegExp.$1};else{if(!e.match(/^(([-+]?[0-9]+(\\.[0-9]*)?|[-+]?\\.[0-9]+)([eE][-+]?[0-9]+)?)/)){e=[];break a}c[c.length]={type:1,text:"".concat(parseFloat(RegExp.$1))}}e=e.substr(RegExp.$1.length)}e=(c[c.length]={type:2,text:""},c)}for(var c="BOD",f=0,k=e[f];2!==k.type;){var d=0,g=[];if("BOD"===c){if("M"!==k.text&&"m"!==k.text)return H("M0,0"+b);f++;d=K[k.text];c=k.text}else 1===k.type?d=K[c]:(f++,d=K[k.text],c=k.text);if(!(f+d<e.length))throw Error("Path data ended short");for(k=f;k<f+d;k++){var n=\r\ne[k];if(1!==n.type)throw Error("Param not a number: "+c+","+n.text);g[g.length]=+n.text}if("number"!=typeof K[c])throw Error("Bad segment: "+c);a.push({key:c,data:g});f+=d;k=e[f];"M"===c&&(c="L");"m"===c&&(c="l")}return a}function W(b){var a,e,c,f,k,d,g=0,n=0,m=0,x=0,w=[];b=_createForOfIteratorHelper(b);var t;try{for(b.s();!(t=b.n()).done;){var h=t.value,q=h.data;switch(h.key){case "M":w.push({key:"M",data:_toConsumableArray(q)});a=q;e=_slicedToArray(a,2);g=e[0];n=e[1];a;c=q;f=_slicedToArray(c,2);\r\nm=f[0];x=f[1];c;break;case "m":g+=q[0];n+=q[1];w.push({key:"M",data:[g,n]});m=g;x=n;break;case "L":w.push({key:"L",data:_toConsumableArray(q)});k=q;d=_slicedToArray(k,2);g=d[0];n=d[1];k;break;case "l":g+=q[0];n+=q[1];w.push({key:"L",data:[g,n]});break;case "C":w.push({key:"C",data:_toConsumableArray(q)});g=q[4];n=q[5];break;case "c":var l=q.map(function(a,c){return c%2?a+n:a+g});w.push({key:"C",data:l});g=l[4];n=l[5];break;case "Q":w.push({key:"Q",data:_toConsumableArray(q)});g=q[2];n=q[3];break;\r\ncase "q":var p=q.map(function(a,c){return c%2?a+n:a+g});w.push({key:"Q",data:p});g=p[2];n=p[3];break;case "A":w.push({key:"A",data:_toConsumableArray(q)});g=q[5];n=q[6];break;case "a":g+=q[5];n+=q[6];w.push({key:"A",data:[q[0],q[1],q[2],q[3],q[4],g,n]});break;case "H":w.push({key:"H",data:_toConsumableArray(q)});g=q[0];break;case "h":g+=q[0];w.push({key:"H",data:[g]});break;case "V":w.push({key:"V",data:_toConsumableArray(q)});n=q[0];break;case "v":n+=q[0];w.push({key:"V",data:[n]});break;case "S":w.push({key:"S",\r\ndata:_toConsumableArray(q)});g=q[2];n=q[3];break;case "s":var u=q.map(function(a,c){return c%2?a+n:a+g});w.push({key:"S",data:u});g=u[2];n=u[3];break;case "T":w.push({key:"T",data:_toConsumableArray(q)});g=q[0];n=q[1];break;case "t":g+=q[0];n+=q[1];w.push({key:"T",data:[g,n]});break;case "Z":case "z":w.push({key:"Z",data:[]}),g=m,n=x}}}catch(y){b.e(y)}finally{b.f()}return w}function X(b){var a,e,c,f,k,d,g=[],n="",m=0,x=0,w=0,t=0,h=0,q=0;b=_createForOfIteratorHelper(b);var l;try{for(b.s();!(l=b.n()).done;){var p=\r\nl.value,u=p.key,y=p.data;switch(u){case "M":g.push({key:"M",data:_toConsumableArray(y)});a=y;e=_slicedToArray(a,2);m=e[0];x=e[1];a;c=y;f=_slicedToArray(c,2);w=f[0];t=f[1];c;break;case "C":g.push({key:"C",data:_toConsumableArray(y)});m=y[4];x=y[5];h=y[2];q=y[3];break;case "L":g.push({key:"L",data:_toConsumableArray(y)});k=y;d=_slicedToArray(k,2);m=d[0];x=d[1];k;break;case "H":m=y[0];g.push({key:"L",data:[m,x]});break;case "V":x=y[0];g.push({key:"L",data:[m,x]});break;case "S":var F=0,v=0;"C"===n||\r\n"S"===n?(F=m+(m-h),v=x+(x-q)):(F=m,v=x);g.push({key:"C",data:[F,v].concat(_toConsumableArray(y))});h=y[0];q=y[1];m=y[2];x=y[3];break;case "T":var z=_slicedToArray(y,2),A=z[0],B=z[1],v=F=0;"Q"===n||"T"===n?(F=m+(m-h),v=x+(x-q)):(F=m,v=x);g.push({key:"C",data:[m+2*(F-m)/3,x+2*(v-x)/3,A+2*(F-A)/3,B+2*(v-B)/3,A,B]});h=F;q=v;m=A;x=B;break;case "Q":var C=_slicedToArray(y,4),D=C[0],G=C[1],E=C[2],H=C[3];g.push({key:"C",data:[m+2*(D-m)/3,x+2*(G-x)/3,E+2*(D-E)/3,H+2*(G-H)/3,E,H]});h=D;q=G;m=E;x=H;break;case "A":var I=\r\nMath.abs(y[0]),J=Math.abs(y[1]),K=y[2],N=y[3],O=y[4],L=y[5],M=y[6];if(0===I||0===J)g.push({key:"C",data:[m,x,L,M,L,M]}),m=L,x=M;else if(m!==L||x!==M)Y(m,x,L,M,I,J,K,N,O).forEach(function(a){g.push({key:"C",data:a})}),m=L,x=M;break;case "Z":g.push({key:"Z",data:[]}),m=w,x=t}n=u}}catch(ka){b.e(ka)}finally{b.f()}return g}function I(b,a,e){return[b*Math.cos(e)-a*Math.sin(e),b*Math.sin(e)+a*Math.cos(e)]}function Y(b,a,e,c,f,k,d,g,n,m){var r=(w=d,Math.PI*w/180),w;w=[];var t,h,q;if(m)q=_slicedToArray(m,\r\n4),t=q[0],g=q[1],h=q[2],q=q[3];else{t=I(b,a,-r);a=_slicedToArray(t,2);b=a[0];a=a[1];t;t=I(e,c,-r);c=_slicedToArray(t,2);e=c[0];c=c[1];t;t=(b-e)/2;h=(a-c)/2;q=t*t/(f*f)+h*h/(k*k);1<q&&(q=Math.sqrt(q),f*=q,k*=q);q=f*f;var l=k*k;g=(g===n?-1:1)*Math.sqrt(Math.abs((q*l-q*h*h-l*t*t)/(q*h*h+l*t*t)));h=g*f*h/k+(b+e)/2;q=g*-k*t/f+(a+c)/2;t=Math.asin(parseFloat(((a-q)/k).toFixed(9)));g=Math.asin(parseFloat(((c-q)/k).toFixed(9)));b<h&&(t=Math.PI-t);e<h&&(g=Math.PI-g);0>t&&(t=2*Math.PI+t);0>g&&(g=2*Math.PI+g);\r\nn&&t>g&&(t-=2*Math.PI);!n&&g>t&&(g-=2*Math.PI)}Math.abs(g-t)>120*Math.PI/180&&(g=n&&g>t?t+120*Math.PI/180*1:t+120*Math.PI/180*-1,w=Y(e=h+f*Math.cos(g),c=q+k*Math.sin(g),e,c,f,k,d,0,n,[g,g,h,q]));d=Math.tan((g-t)/4);f=4/3*f*d;d*=4/3*k;k=[b,a];b=[b+f*Math.sin(t),a-d*Math.cos(t)];a=[e+f*Math.sin(g),c-d*Math.cos(g)];e=[e,c];if(b[0]=2*k[0]-b[0],b[1]=2*k[1]-b[1],m)return[b,a,e].concat(w);w=[b,a,e].concat(w);m=[];for(e=0;e<w.length;e+=3)c=I(w[e][0],w[e][1],r),b=I(w[e+1][0],w[e+1][1],r),a=I(w[e+2][0],w[e+\r\n2][1],r),m.push([c[0],c[1],b[0],b[1],a[0],a[1]]);return m}function N(b,a,e){var c=(b||[]).length;if(2<c){for(var f=[],k=0;k<c-1;k++)f.push.apply(f,_toConsumableArray(D(b[k][0],b[k][1],b[k+1][0],b[k+1][1],e)));return a&&f.push.apply(f,_toConsumableArray(D(b[c-1][0],b[c-1][1],b[0][0],b[0][1],e))),{type:"path",ops:f}}return 2===c?{type:"path",ops:D(b[0][0],b[0][1],b[1][0],b[1][1],e)}:{type:"path",ops:[]}}function la(b,a){var e=Z(b,1*(1+.2*a.roughness),a);if(!a.disableMultiStroke){var c=1.5*(1+.22*a.roughness),\r\nf=Object.assign({},a);f.randomizer=void 0;a.seed&&(f.seed=a.seed+1);c=Z(b,c,f);e=e.concat(c)}return{type:"path",ops:e}}function aa(b,a,e){var c=2*Math.PI/Math.max(e.curveStepCount,e.curveStepCount/Math.sqrt(200)*Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(b/2,2)+Math.pow(a/2,2))/2)));b=Math.abs(b/2);a=Math.abs(a/2);var f=1-e.curveFitting;return b+=u(b*f,e),a+=u(a*f,e),{increment:c,rx:b,ry:a}}function T(b,a,e,c){var f=ba(c.increment,b,a,c.rx,c.ry,1,c.increment*O(.1,O(.4,1,e),e),e),k=_slicedToArray(f,2),\r\nf=k[1],k=P(k[0],null,e);e.disableMultiStroke||(b=ba(c.increment,b,a,c.rx,c.ry,1.5,0,e),b=_slicedToArray(b,1)[0],e=P(b,null,e),k=k.concat(e));return{estimatedPoints:f,opset:{type:"path",ops:k}}}function ca(b,a,e,c,f,k,d,g,n){e=Math.abs(e/2);c=Math.abs(c/2);e+=u(.01*e,n);for(c+=u(.01*c,n);0>f;)f+=2*Math.PI,k+=2*Math.PI;k-f>2*Math.PI&&(f=0,k=2*Math.PI);var m=Math.min(2*Math.PI/n.curveStepCount/2,(k-f)/2),r=da(m,b,a,e,c,f,k,1,n);n.disableMultiStroke||(m=da(m,b,a,e,c,f,k,1.5,n),r.push.apply(r,_toConsumableArray(m)));\r\nreturn d&&(g?r.push.apply(r,_toConsumableArray(D(b,a,b+e*Math.cos(f),a+c*Math.sin(f),n)).concat(_toConsumableArray(D(b,a,b+e*Math.cos(k),a+c*Math.sin(k),n)))):r.push({op:"lineTo",data:[b,a]},{op:"lineTo",data:[b+e*Math.cos(f),a+c*Math.sin(f)]})),{type:"path",ops:r}}function J(b,a){var e=[];if(b.length){var c=a.maxRandomnessOffset||0,f=b.length;if(2<f){e.push({op:"move",data:[b[0][0]+u(c,a),b[0][1]+u(c,a)]});for(var k=1;k<f;k++)e.push({op:"lineTo",data:[b[k][0]+u(c,a),b[k][1]+u(c,a)]})}}return{type:"fillPath",\r\nops:e}}function G(b,a){var e=ma,c=a.fillStyle||"hachure";if(!A[c])switch(c){case "zigzag":A[c]||(A[c]=new na(e));break;case "cross-hatch":A[c]||(A[c]=new oa(e));break;case "dots":A[c]||(A[c]=new pa(e));break;case "dashed":A[c]||(A[c]=new qa(e));break;case "zigzag-line":A[c]||(A[c]=new ra(e));break;default:c="hachure",A[c]||(A[c]=new U(e))}return A[c].fillPolygon(b,a)}function ea(b){return b.randomizer||(b.randomizer=new sa(b.seed||0)),b.randomizer.next()}function O(b,a,e){return e.roughness*(3<arguments.length&&\r\nvoid 0!==arguments[3]?arguments[3]:1)*(ea(e)*(a-b)+b)}function u(b,a){return O(-b,b,a,2<arguments.length&&void 0!==arguments[2]?arguments[2]:1)}function D(b,a,e,c,f){var k=5<arguments.length&&void 0!==arguments[5]&&arguments[5]?f.disableMultiStrokeFill:f.disableMultiStroke,d=fa(b,a,e,c,f,!0,!1);if(k)return d;k=fa(b,a,e,c,f,!0,!0);return d.concat(k)}function fa(b,a,e,c,f,k,d){var g=Math.pow(b-e,2)+Math.pow(a-c,2),n=Math.sqrt(g),m=1,m=200>n?1:500<n?.4:-.0016668*n+1.233334,r=f.maxRandomnessOffset||0;\r\nr*r*100>g&&(r=n/10);var h=r/2,g=.2+.2*ea(f),n=f.bowing*f.maxRandomnessOffset*(c-a)/200,t=f.bowing*f.maxRandomnessOffset*(b-e)/200,n=u(n,f,m),t=u(t,f,m),l=[],q=function(){return u(h,f,m)},p=function(){return u(r,f,m)},v=f.preserveVertices;return k&&(d?l.push({op:"move",data:[b+(v?0:q()),a+(v?0:q())]}):l.push({op:"move",data:[b+(v?0:u(r,f,m)),a+(v?0:u(r,f,m))]})),d?l.push({op:"bcurveTo",data:[n+b+(e-b)*g+q(),t+a+(c-a)*g+q(),n+b+2*(e-b)*g+q(),t+a+2*(c-a)*g+q(),e+(v?0:q()),c+(v?0:q())]}):l.push({op:"bcurveTo",\r\ndata:[n+b+(e-b)*g+p(),t+a+(c-a)*g+p(),n+b+2*(e-b)*g+p(),t+a+2*(c-a)*g+p(),e+(v?0:p()),c+(v?0:p())]}),l}function Z(b,a,e){var c=[];c.push([b[0][0]+u(a,e),b[0][1]+u(a,e)]);c.push([b[0][0]+u(a,e),b[0][1]+u(a,e)]);for(var f=1;f<b.length;f++)c.push([b[f][0]+u(a,e),b[f][1]+u(a,e)]),f===b.length-1&&c.push([b[f][0]+u(a,e),b[f][1]+u(a,e)]);return P(c,null,e)}function P(b,a,e){var c=b.length,f=[];if(3<c){var k=[],d=1-e.curveTightness;f.push({op:"move",data:[b[1][0],b[1][1]]});for(var g=1;g+2<c;g++){var n=b[g];\r\nk[0]=[n[0],n[1]];k[1]=[n[0]+(d*b[g+1][0]-d*b[g-1][0])/6,n[1]+(d*b[g+1][1]-d*b[g-1][1])/6];k[2]=[b[g+1][0]+(d*b[g][0]-d*b[g+2][0])/6,b[g+1][1]+(d*b[g][1]-d*b[g+2][1])/6];k[3]=[b[g+1][0],b[g+1][1]];f.push({op:"bcurveTo",data:[k[1][0],k[1][1],k[2][0],k[2][1],k[3][0],k[3][1]]})}a&&2===a.length&&(b=e.maxRandomnessOffset,f.push({op:"lineTo",data:[a[0]+u(b,e),a[1]+u(b,e)]}))}else 3===c?(f.push({op:"move",data:[b[1][0],b[1][1]]}),f.push({op:"bcurveTo",data:[b[1][0],b[1][1],b[2][0],b[2][1],b[2][0],b[2][1]]})):\r\n2===c&&f.push.apply(f,_toConsumableArray(D(b[0][0],b[0][1],b[1][0],b[1][1],e)));return f}function ba(b,a,e,c,f,k,d,g){var n=[],m=[],r=u(.5,g)-Math.PI/2;m.push([u(k,g)+a+.9*c*Math.cos(r-b),u(k,g)+e+.9*f*Math.sin(r-b)]);for(var h=r;h<2*Math.PI+r-.01;h+=b){var t=[u(k,g)+a+c*Math.cos(h),u(k,g)+e+f*Math.sin(h)];n.push(t);m.push(t)}return m.push([u(k,g)+a+c*Math.cos(r+2*Math.PI+.5*d),u(k,g)+e+f*Math.sin(r+2*Math.PI+.5*d)]),m.push([u(k,g)+a+.98*c*Math.cos(r+d),u(k,g)+e+.98*f*Math.sin(r+d)]),m.push([u(k,\r\ng)+a+.9*c*Math.cos(r+.5*d),u(k,g)+e+.9*f*Math.sin(r+.5*d)]),[m,n]}function da(b,a,e,c,f,k,d,g,n){var m=k+u(.1,n);k=[];for(k.push([u(g,n)+a+.9*c*Math.cos(m-b),u(g,n)+e+.9*f*Math.sin(m-b)]);m<=d;m+=b)k.push([u(g,n)+a+c*Math.cos(m),u(g,n)+e+f*Math.sin(m)]);return k.push([a+c*Math.cos(d),e+f*Math.sin(d)]),k.push([a+c*Math.cos(d),e+f*Math.sin(d)]),P(k,null,n)}function ta(b,a,e,c,f,d,r,g){for(var k=[],m=[g.maxRandomnessOffset||1,(g.maxRandomnessOffset||1)+.3],h,w=g.disableMultiStroke?1:2,t=g.preserveVertices,\r\nl=0;l<w;l++)0===l?k.push({op:"move",data:[r[0],r[1]]}):k.push({op:"move",data:[r[0]+(t?0:u(m[0],g)),r[1]+(t?0:u(m[0],g))]}),h=t?[f,d]:[f+u(m[l],g),d+u(m[l],g)],k.push({op:"bcurveTo",data:[b+u(m[l],g),a+u(m[l],g),e+u(m[l],g),c+u(m[l],g),h[0],h[1]]});return k}function Q(b,a){return Math.pow(b[0]-a[0],2)+Math.pow(b[1]-a[1],2)}function E(b,a,e){return[b[0]+(a[0]-b[0])*e,b[1]+(a[1]-b[1])*e]}function V(b,a,e,c){c=c||[];var f=b[a+0],d=b[a+1],r=b[a+2],g=b[a+3],n=3*d[0]-2*f[0]-g[0],n=n*n,d=3*d[1]-2*f[1]-g[1],\r\nd=d*d,m=3*r[0]-2*g[0]-f[0],m=m*m,f=3*r[1]-2*g[1]-f[1];(f*=f,n<m&&(n=m),d<f&&(d=f),n+d)<e?(e=b[a+0],c.length?1<(h=c[c.length-1],l=e,Math.sqrt(Q(h,l)))&&c.push(e):c.push(e),c.push(b[a+3])):(h=b[a+0],n=b[a+1],l=b[a+2],b=b[a+3],a=E(h,n,.5),f=E(n,l,.5),l=E(l,b,.5),n=E(a,f,.5),f=E(f,l,.5),r=E(n,f,.5),V([h,a,n,r],0,e,c),V([r,f,l,b],0,e,c));var h,l;return c}function R(b,a,e,c,f){f=f||[];for(var d=b[a],r=b[e-1],g=0,n=1,m=a+1;m<e-1;++m){var h;h=b[m];var l=d,t=r,p=Q(l,t);0===p?h=Q(h,l):(p=((h[0]-l[0])*(t[0]-\r\nl[0])+(h[1]-l[1])*(t[1]-l[1]))/p,h=(p=Math.max(0,Math.min(1,p)),Q(h,E(l,t,p))));h>g&&(g=h,n=m)}return Math.sqrt(g)>c?(R(b,a,n+1,c,f),R(b,n,e,c,f)):(f.length||f.push(d),f.push(r)),f}function ga(b){for(var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.15,e=2<arguments.length?arguments[2]:void 0,c=[],f=(b.length-1)/3,d=0;d<f;d++)V(b,3*d,a,c);return e&&0<e?R(c,0,c.length,e):c}var U=function(){function b(a){_classCallCheck(this,b);this.helper=a}_createClass(b,[{key:"fillPolygon",value:function(a,\r\ne){return this._fillPolygon(a,e)}},{key:"_fillPolygon",value:function(a,e){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:!1,f=C(a,e);c&&(c=this.connectingLines(a,f),f=f.concat(c));return{type:"fillSketch",ops:this.renderLines(f,e)}}},{key:"renderLines",value:function(a,e){var c=[],f=_createForOfIteratorHelper(a),b;try{for(f.s();!(b=f.n()).done;){var d=b.value;c.push.apply(c,_toConsumableArray(this.helper.doubleLineOps(d[0][0],d[0][1],d[1][0],d[1][1],e)))}}catch(g){f.e(g)}finally{f.f()}return c}},\r\n{key:"connectingLines",value:function(a,e){var c=[];if(1<e.length)for(var f=1;f<e.length;f++){var b=e[f-1];3>h(b)||(b=[e[f][0],b[1]],3<h(b)&&(b=this.splitOnIntersections(a,b),c.push.apply(c,_toConsumableArray(b))))}return c}},{key:"midPointInPolygon",value:function(a,e){return p(a,(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2)}},{key:"splitOnIntersections",value:function(a,e){for(var c=Math.max(5,.1*h(e)),b=[],d=0;d<a.length;d++){var r=a[d],g=a[(d+1)%a.length];if(B.apply(void 0,[r,g].concat(_toConsumableArray(e)))&&\r\n(r=l(r,g,e[0],e[1]))){var g=h([r,e[0]]),n=h([r,e[1]]);g>c&&n>c&&b.push({point:r,distance:g})}}if(1<b.length){c=b.sort(function(a,c){return a.distance-c.distance}).map(function(a){return a.point});if(p.apply(void 0,[a].concat(_toConsumableArray(e[0])))||c.shift(),p.apply(void 0,[a].concat(_toConsumableArray(e[1])))||c.pop(),1>=c.length)return this.midPointInPolygon(a,e)?[e]:[];c=[e[0]].concat(_toConsumableArray(c),[e[1]]);b=[];for(d=0;d<c.length-1;d+=2)r=[c[d],c[d+1]],this.midPointInPolygon(a,r)&&\r\nb.push(r);return b}return this.midPointInPolygon(a,e)?[e]:[]}}]);return b}(),na=function(b){function a(){_classCallCheck(this,a);return e.apply(this,arguments)}_inherits(a,b);var e=_createSuper(a);_createClass(a,[{key:"fillPolygon",value:function(a,e){return this._fillPolygon(a,e,!0)}}]);return a}(U),oa=function(b){function a(){_classCallCheck(this,a);return e.apply(this,arguments)}_inherits(a,b);var e=_createSuper(a);_createClass(a,[{key:"fillPolygon",value:function(a,e){var c=this._fillPolygon(a,\r\ne),b=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),b=this._fillPolygon(a,b);return c.ops=c.ops.concat(b.ops),c}}]);return a}(U),pa=function(){function b(a){_classCallCheck(this,b);this.helper=a}_createClass(b,[{key:"fillPolygon",value:function(a,e){var c=C(a,e=Object.assign({},e,{curveStepCount:4,hachureAngle:0,roughness:1}));return this.dotsOnLines(c,e)}},{key:"dotsOnLines",value:function(a,e){var c=[],b=e.hachureGap;0>b&&(b=4*e.strokeWidth);var b=Math.max(b,.1),d=e.fillWeight;0>d&&(d=e.strokeWidth/\r\n2);var r=b/4,g=_createForOfIteratorHelper(a),n;try{for(g.s();!(n=g.n()).done;)for(var m=n.value,l=h(m),w=Math.ceil(l/b)-1,t=l-w*b,p=(m[0][0]+m[1][0])/2-b/4,q=Math.min(m[0][1],m[1][1]),u=0;u<w;u++){var v=q+t+u*b,z=this.helper.randOffsetWithRange(p-r,p+r,e),y=this.helper.randOffsetWithRange(v-r,v+r,e),F=this.helper.ellipse(z,y,d,d,e);c.push.apply(c,_toConsumableArray(F.ops))}}catch(ha){g.e(ha)}finally{g.f()}return{type:"fillSketch",ops:c}}}]);return b}(),qa=function(){function b(a){_classCallCheck(this,\r\nb);this.helper=a}_createClass(b,[{key:"fillPolygon",value:function(a,e){var c=C(a,e);return{type:"fillSketch",ops:this.dashedLine(c,e)}}},{key:"dashedLine",value:function(a,e){var c=this,b=0>e.dashOffset?0>e.hachureGap?4*e.strokeWidth:e.hachureGap:e.dashOffset,d=0>e.dashGap?0>e.hachureGap?4*e.strokeWidth:e.hachureGap:e.dashGap,r=[];return a.forEach(function(a){var f=h(a),g=Math.floor(f/(b+d)),f=(f+d-g*(b+d))/2,k=a[0],l=a[1];k[0]>l[0]&&(k=a[1],l=a[0]);a=Math.atan((l[1]-k[1])/(l[0]-k[0]));for(l=0;l<\r\ng;l++){var t=l*(b+d),p=t+b,t=[k[0]+t*Math.cos(a)+f*Math.cos(a),k[1]+t*Math.sin(a)+f*Math.sin(a)],p=[k[0]+p*Math.cos(a)+f*Math.cos(a),k[1]+p*Math.sin(a)+f*Math.sin(a)];r.push.apply(r,_toConsumableArray(c.helper.doubleLineOps(t[0],t[1],p[0],p[1],e)))}}),r}}]);return b}(),ra=function(){function b(a){_classCallCheck(this,b);this.helper=a}_createClass(b,[{key:"fillPolygon",value:function(a,e){var c=0>e.hachureGap?4*e.strokeWidth:e.hachureGap,b=0>e.zigzagOffset?c:e.zigzagOffset,c=C(a,e=Object.assign({},\r\ne,{hachureGap:c+b}));return{type:"fillSketch",ops:this.zigzagLines(c,b,e)}}},{key:"zigzagLines",value:function(a,e,c){var b=this,d=[];return a.forEach(function(a){var f=h(a),f=Math.round(f/(2*e)),k=a[0],m=a[1];k[0]>m[0]&&(k=a[1],m=a[0]);a=Math.atan((m[1]-k[1])/(m[0]-k[0]));for(m=0;m<f;m++){var l=2*m*e,r=2*(m+1)*e,t=Math.sqrt(2*Math.pow(e,2)),l=[k[0]+l*Math.cos(a),k[1]+l*Math.sin(a)],r=[k[0]+r*Math.cos(a),k[1]+r*Math.sin(a)],t=[l[0]+t*Math.cos(a+Math.PI/4),l[1]+t*Math.sin(a+Math.PI/4)];d.push.apply(d,\r\n_toConsumableArray(b.helper.doubleLineOps(l[0],l[1],t[0],t[1],c)).concat(_toConsumableArray(b.helper.doubleLineOps(t[0],t[1],r[0],r[1],c))))}}),d}}]);return b}(),A={},sa=function(){function b(a){_classCallCheck(this,b);this.seed=a}_createClass(b,[{key:"next",value:function(){return this.seed?(Math.pow(2,31)-1&(this.seed=Math.imul(48271,this.seed)))/Math.pow(2,31):Math.random()}}]);return b}(),K={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0},ma={randOffset:function(b,\r\na){return u(b,a)},randOffsetWithRange:function(b,a,e){return O(b,a,e)},ellipse:function(b,a,e,c,d){e=aa(e,c,d);return T(b,a,d,e).opset},doubleLineOps:function(b,a,e,c,d){return D(b,a,e,c,d,!0)}},S=function(){function b(a){_classCallCheck(this,b);this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,\r\ncombineNestedSvgPaths:!1,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1};this.config=a||{};this.config.options&&(this.defaultOptions=this._o(this.config.options))}_createClass(b,[{key:"_o",value:function(a){return a?Object.assign({},this.defaultOptions,a):this.defaultOptions}},{key:"_d",value:function(a,e,c){return{shape:a,sets:e||[],options:c||this.defaultOptions}}},{key:"line",value:function(a,e,c,b,d){d=this._o(d);return this._d("line",[{type:"path",ops:D(a,e,c,b,d)}],d)}},\r\n{key:"rectangle",value:function(a,e,c,b,d){d=this._o(d);var f=[],g;g=N([[a,e],[a+c,e],[a+c,e+b],[a,e+b]],!0,d);d.fill&&(a=[[a,e],[a+c,e],[a+c,e+b],[a,e+b]],"solid"===d.fillStyle?f.push(J(a,d)):f.push(G(a,d)));return"none"!==d.stroke&&f.push(g),this._d("rectangle",f,d)}},{key:"ellipse",value:function(a,e,c,b,d){d=this._o(d);var f=[];b=aa(c,b,d);c=T(a,e,d,b);d.fill&&("solid"===d.fillStyle?(a=T(a,e,d,b).opset,a.type="fillPath",f.push(a)):f.push(G(c.estimatedPoints,d)));return"none"!==d.stroke&&f.push(c.opset),\r\nthis._d("ellipse",f,d)}},{key:"circle",value:function(a,e,c,b){a=this.ellipse(a,e,c,c,b);return a.shape="circle",a}},{key:"linearPath",value:function(a,e){var c=this._o(e);return this._d("linearPath",[N(a,!1,c)],c)}},{key:"arc",value:function(a,e,c,b,d,h){var f=6<arguments.length&&void 0!==arguments[6]?arguments[6]:!1,k=this._o(7<arguments.length?arguments[7]:void 0),m=[],l=ca(a,e,c,b,d,h,f,!0,k);f&&k.fill&&("solid"===k.fillStyle?(f=ca(a,e,c,b,d,h,!0,!1,k),f.type="fillPath",m.push(f)):m.push(function(a,\r\nc,e,b,d,f,g){e=Math.abs(e/2);b=Math.abs(b/2);e+=u(.01*e,g);for(b+=u(.01*b,g);0>d;)d+=2*Math.PI,f+=2*Math.PI;f-d>2*Math.PI&&(d=0,f=2*Math.PI);for(var k=(f-d)/g.curveStepCount,m=[];d<=f;d+=k)m.push([a+e*Math.cos(d),c+b*Math.sin(d)]);return m.push([a+e*Math.cos(f),c+b*Math.sin(f)]),m.push([a,c]),G(m,g)}(a,e,c,b,d,h,k)));return"none"!==k.stroke&&m.push(l),this._d("arc",m,k)}},{key:"curve",value:function(a,e){var c=this._o(e),b=[],d=la(a,c);if(c.fill&&"none"!==c.fill&&3<=a.length){var h=ga(function(a){var c=\r\n1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,e=a.length;if(3>e)throw Error("A curve must have at least three points.");var b=[];if(3===e)b.push(_toConsumableArray(a[0]),_toConsumableArray(a[1]),_toConsumableArray(a[2]),_toConsumableArray(a[2]));else{e=[];e.push(a[0],a[0]);for(var d=1;d<a.length;d++)e.push(a[d]),d===a.length-1&&e.push(a[d]);d=[];c=1-c;b.push(_toConsumableArray(e[0]));for(var f=1;f+2<e.length;f++){var g=e[f];d[0]=[g[0],g[1]];d[1]=[g[0]+(c*e[f+1][0]-c*e[f-1][0])/6,g[1]+(c*\r\ne[f+1][1]-c*e[f-1][1])/6];d[2]=[e[f+1][0]+(c*e[f][0]-c*e[f+2][0])/6,e[f+1][1]+(c*e[f][1]-c*e[f+2][1])/6];d[3]=[e[f+1][0],e[f+1][1]];b.push(d[1],d[2],d[3])}}return b}(a),10,(1+c.roughness)/2);"solid"===c.fillStyle?b.push(J(h,c)):b.push(G(h,c))}return"none"!==c.stroke&&b.push(d),this._d("curve",b,c)}},{key:"polygon",value:function(a,e){var c=this._o(e),b=[],d=N(a,!0,c);return c.fill&&("solid"===c.fillStyle?b.push(J(a,c)):b.push(G(a,c))),"none"!==c.stroke&&b.push(d),this._d("polygon",b,c)}},{key:"path",\r\nvalue:function(a,e){var c=this._o(e),b=[];if(!a)return this._d("path",b,c);a=(a||"").replace(/\\n/g," ").replace(/(-\\s)/g,"-").replace("/(ss)/g"," ");var d=c.fill&&"transparent"!==c.fill&&"none"!==c.fill,h="none"!==c.stroke,g=!!(c.simplification&&1>c.simplification),l=function(a,c,e){var b=X(W(H(a))),d=[],f=[];a=[0,0];var g=[],k=function(){var a;4<=g.length&&(a=f).push.apply(a,_toConsumableArray(ga(g,c)));g=[]},h=function(){k();f.length&&(d.push(f),f=[])},b=_createForOfIteratorHelper(b),l;try{for(b.s();!(l=\r\nb.n()).done;){var m=l.value,n=m.data;switch(m.key){case "M":h();a=[n[0],n[1]];f.push(a);break;case "L":k();f.push([n[0],n[1]]);break;case "C":if(!g.length){var r=f.length?f[f.length-1]:a;g.push([r[0],r[1]])}g.push([n[0],n[1]]);g.push([n[2],n[3]]);g.push([n[4],n[5]]);break;case "Z":k(),f.push([a[0],a[1]])}}}catch(ja){b.e(ja)}finally{b.f()}if(h(),!e)return d;l=[];for(m=0;m<d.length;m++)n=d[m],n=R(n,0,n.length,e),n.length&&l.push(n);return l}(a,1,g?4-4*c.simplification:(1+c.roughness)/2);if(d)if(c.combineNestedSvgPaths){var m=\r\n[];l.forEach(function(a){return m.push.apply(m,_toConsumableArray(a))});"solid"===c.fillStyle?b.push(J(m,c)):b.push(G(m,c))}else l.forEach(function(a){"solid"===c.fillStyle?b.push(J(a,c)):b.push(G(a,c))});return h&&(g?l.forEach(function(a){b.push(N(a,!1,c))}):b.push(function(a,c){var e=X(W(H(a))),b=[],d=[0,0],f=[0,0],e=_createForOfIteratorHelper(e),g;try{for(e.s();!(g=e.n()).done;){var k=g.value,h=k.data;switch(k.key){case "M":if("break"===function(){var a=1*(c.maxRandomnessOffset||0),e=c.preserveVertices;\r\nb.push({op:"move",data:h.map(function(b){return b+(e?0:u(a,c))})});f=[h[0],h[1]];d=[h[0],h[1]];return"break"}())break;case "L":b.push.apply(b,_toConsumableArray(D(f[0],f[1],h[0],h[1],c)));f=[h[0],h[1]];break;case "C":var l=_slicedToArray(h,6),m=l[4],n=l[5];b.push.apply(b,_toConsumableArray(ta(l[0],l[1],l[2],l[3],m,n,f,c)));f=[m,n];break;case "Z":b.push.apply(b,_toConsumableArray(D(f[0],f[1],d[0],d[1],c))),f=[d[0],d[1]]}}}catch(ia){e.e(ia)}finally{e.f()}return{type:"path",ops:b}}(a,c))),this._d("path",\r\nb,c)}},{key:"opsToPath",value:function(a,e){var c="",b=_createForOfIteratorHelper(a.ops),d;try{for(b.s();!(d=b.n()).done;){var h=d.value,g="number"==typeof e&&0<=e?h.data.map(function(a){return+a.toFixed(e)}):h.data;switch(h.op){case "move":c+="M".concat(g[0]," ").concat(g[1]," ");break;case "bcurveTo":c+="C".concat(g[0]," ").concat(g[1],", ").concat(g[2]," ").concat(g[3],", ").concat(g[4]," ").concat(g[5]," ");break;case "lineTo":c+="L".concat(g[0]," ").concat(g[1]," ")}}}catch(n){b.e(n)}finally{b.f()}return c.trim()}},\r\n{key:"toPaths",value:function(a){var e=a.options||this.defaultOptions,c=[];a=_createForOfIteratorHelper(a.sets||[]);var b;try{for(a.s();!(b=a.n()).done;){var d=b.value,h=null;switch(d.type){case "path":h={d:this.opsToPath(d),stroke:e.stroke,strokeWidth:e.strokeWidth,fill:"none"};break;case "fillPath":h={d:this.opsToPath(d),stroke:"none",strokeWidth:0,fill:e.fill||"none"};break;case "fillSketch":h=this.fillSketch(d,e)}h&&c.push(h)}}catch(g){a.e(g)}finally{a.f()}return c}},{key:"fillSketch",value:function(a,\r\ne){var c=e.fillWeight;return 0>c&&(c=e.strokeWidth/2),{d:this.opsToPath(a),stroke:e.fill||"none",strokeWidth:c,fill:"none"}}}],[{key:"newSeed",value:function(){return Math.floor(Math.random()*Math.pow(2,31))}}]);return b}(),ua=function(){function b(a,e){_classCallCheck(this,b);this.canvas=a;this.ctx=this.canvas.getContext("2d");this.gen=new S(e)}_createClass(b,[{key:"draw",value:function(a){var e=a.sets||[],c=a.options||this.getDefaultOptions(),b=this.ctx,e=_createForOfIteratorHelper(e),d;try{for(e.s();!(d=\r\ne.n()).done;){var h=d.value;switch(h.type){case "path":b.save();b.strokeStyle="none"===c.stroke?"transparent":c.stroke;b.lineWidth=c.strokeWidth;c.strokeLineDash&&b.setLineDash(c.strokeLineDash);c.strokeLineDashOffset&&(b.lineDashOffset=c.strokeLineDashOffset);this._drawToContext(b,h);b.restore();break;case "fillPath":b.save();b.fillStyle=c.fill||"";this._drawToContext(b,h,"curve"===a.shape||"polygon"===a.shape?"evenodd":"nonzero");b.restore();break;case "fillSketch":this.fillSketch(b,h,c)}}}catch(g){e.e(g)}finally{e.f()}}},\r\n{key:"fillSketch",value:function(a,e,c){var b=c.fillWeight;0>b&&(b=c.strokeWidth/2);a.save();c.fillLineDash&&a.setLineDash(c.fillLineDash);c.fillLineDashOffset&&(a.lineDashOffset=c.fillLineDashOffset);a.strokeStyle=c.fill||"";a.lineWidth=b;this._drawToContext(a,e);a.restore()}},{key:"_drawToContext",value:function(a,e){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"nonzero";a.beginPath();var b=_createForOfIteratorHelper(e.ops),d;try{for(b.s();!(d=b.n()).done;){var h=d.value,g=h.data;\r\nswitch(h.op){case "move":a.moveTo(g[0],g[1]);break;case "bcurveTo":a.bezierCurveTo(g[0],g[1],g[2],g[3],g[4],g[5]);break;case "lineTo":a.lineTo(g[0],g[1])}}}catch(n){b.e(n)}finally{b.f()}"fillPath"===e.type?a.fill(c):a.stroke()}},{key:"getDefaultOptions",value:function(){return this.gen.defaultOptions}},{key:"line",value:function(a,b,c,d,k){a=this.gen.line(a,b,c,d,k);return this.draw(a),a}},{key:"rectangle",value:function(a,b,c,d,k){a=this.gen.rectangle(a,b,c,d,k);return this.draw(a),a}},{key:"ellipse",\r\nvalue:function(a,b,c,d,k){a=this.gen.ellipse(a,b,c,d,k);return this.draw(a),a}},{key:"circle",value:function(a,b,c,d){a=this.gen.circle(a,b,c,d);return this.draw(a),a}},{key:"linearPath",value:function(a,b){var c=this.gen.linearPath(a,b);return this.draw(c),c}},{key:"polygon",value:function(a,b){var c=this.gen.polygon(a,b);return this.draw(c),c}},{key:"arc",value:function(a,b,c,d,k,h){var e=this.gen.arc(a,b,c,d,k,h,6<arguments.length&&void 0!==arguments[6]?arguments[6]:!1,7<arguments.length?arguments[7]:\r\nvoid 0);return this.draw(e),e}},{key:"curve",value:function(a,b){var c=this.gen.curve(a,b);return this.draw(c),c}},{key:"path",value:function(a,b){var c=this.gen.path(a,b);return this.draw(c),c}},{key:"generator",get:function(){return this.gen}}]);return b}(),va=function(){function b(a,e){_classCallCheck(this,b);this.svg=a;this.gen=new S(e)}_createClass(b,[{key:"draw",value:function(a){var b=a.sets||[],c=a.options||this.getDefaultOptions(),d=this.svg.ownerDocument||window.document,k=d.createElementNS("http://www.w3.org/2000/svg",\r\n"g"),h=a.options.fixedDecimalPlaceDigits,b=_createForOfIteratorHelper(b),g;try{for(b.s();!(g=b.n()).done;){var l=g.value,m=null;switch(l.type){case "path":m=d.createElementNS("http://www.w3.org/2000/svg","path");m.setAttribute("d",this.opsToPath(l,h));m.setAttribute("stroke",c.stroke);m.setAttribute("stroke-width",c.strokeWidth+"");m.setAttribute("fill","none");c.strokeLineDash&&m.setAttribute("stroke-dasharray",c.strokeLineDash.join(" ").trim());c.strokeLineDashOffset&&m.setAttribute("stroke-dashoffset",\r\n"".concat(c.strokeLineDashOffset));break;case "fillPath":m=d.createElementNS("http://www.w3.org/2000/svg","path");m.setAttribute("d",this.opsToPath(l,h));m.setAttribute("stroke","none");m.setAttribute("stroke-width","0");m.setAttribute("fill",c.fill||"");"curve"!==a.shape&&"polygon"!==a.shape||m.setAttribute("fill-rule","evenodd");break;case "fillSketch":m=this.fillSketch(d,l,c)}m&&k.appendChild(m)}}catch(x){b.e(x)}finally{b.f()}return k}},{key:"fillSketch",value:function(a,b,c){var e=c.fillWeight;\r\n0>e&&(e=c.strokeWidth/2);a=a.createElementNS("http://www.w3.org/2000/svg","path");return a.setAttribute("d",this.opsToPath(b,c.fixedDecimalPlaceDigits)),a.setAttribute("stroke",c.fill||""),a.setAttribute("stroke-width",e+""),a.setAttribute("fill","none"),c.fillLineDash&&a.setAttribute("stroke-dasharray",c.fillLineDash.join(" ").trim()),c.fillLineDashOffset&&a.setAttribute("stroke-dashoffset","".concat(c.fillLineDashOffset)),a}},{key:"getDefaultOptions",value:function(){return this.gen.defaultOptions}},\r\n{key:"opsToPath",value:function(a,b){return this.gen.opsToPath(a,b)}},{key:"line",value:function(a,b,c,d,h){a=this.gen.line(a,b,c,d,h);return this.draw(a)}},{key:"rectangle",value:function(a,b,c,d,h){a=this.gen.rectangle(a,b,c,d,h);return this.draw(a)}},{key:"ellipse",value:function(a,b,c,d,h){a=this.gen.ellipse(a,b,c,d,h);return this.draw(a)}},{key:"circle",value:function(a,b,c,d){a=this.gen.circle(a,b,c,d);return this.draw(a)}},{key:"linearPath",value:function(a,b){var c=this.gen.linearPath(a,b);\r\nreturn this.draw(c)}},{key:"polygon",value:function(a,b){var c=this.gen.polygon(a,b);return this.draw(c)}},{key:"arc",value:function(a,b,c,d,h,l){var e=this.gen.arc(a,b,c,d,h,l,6<arguments.length&&void 0!==arguments[6]?arguments[6]:!1,7<arguments.length?arguments[7]:void 0);return this.draw(e)}},{key:"curve",value:function(a,b){var c=this.gen.curve(a,b);return this.draw(c)}},{key:"path",value:function(a,b){var c=this.gen.path(a,b);return this.draw(c)}},{key:"generator",get:function(){return this.gen}}]);\r\nreturn b}();return{canvas:function(b,a){return new ua(b,a)},svg:function(b,a){return new va(b,a)},generator:function(b){return new S(b)},newSeed:function(){return S.newSeed()}}}();\r\nvar Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a,b){var c="",d,e,f,g,k,l,m=0;for(null!=b&&b||(a=Base64._utf8_encode(a));m<a.length;)d=a.charCodeAt(m++),e=a.charCodeAt(m++),f=a.charCodeAt(m++),g=d>>2,d=(d&3)<<4|e>>4,k=(e&15)<<2|f>>6,l=f&63,isNaN(e)?k=l=64:isNaN(f)&&(l=64),c=c+this._keyStr.charAt(g)+this._keyStr.charAt(d)+this._keyStr.charAt(k)+this._keyStr.charAt(l);return c},decode:function(a,b){b=null!=b?b:!1;var c="",d,e,f,g,k,l=0;for(a=a.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\r\n"");l<a.length;)d=this._keyStr.indexOf(a.charAt(l++)),e=this._keyStr.indexOf(a.charAt(l++)),g=this._keyStr.indexOf(a.charAt(l++)),k=this._keyStr.indexOf(a.charAt(l++)),d=d<<2|e>>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|k,c+=String.fromCharCode(d),64!=g&&(c+=String.fromCharCode(e)),64!=k&&(c+=String.fromCharCode(f));b||(c=Base64._utf8_decode(c));return c},_utf8_encode:function(a){a=a.replace(/\\r\\n/g,"\\n");for(var b="",c=0;c<a.length;c++){var d=a.charCodeAt(c);128>d?b+=String.fromCharCode(d):(127<d&&2048>d?b+=\r\nString.fromCharCode(d>>6|192):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128)),b+=String.fromCharCode(d&63|128))}return b},_utf8_decode:function(a){var b="",c=0,d;for(c1=c2=0;c<a.length;)d=a.charCodeAt(c),128>d?(b+=String.fromCharCode(d),c++):191<d&&224>d?(c2=a.charCodeAt(c+1),b+=String.fromCharCode((d&31)<<6|c2&63),c+=2):(c2=a.charCodeAt(c+1),c3=a.charCodeAt(c+2),b+=String.fromCharCode((d&15)<<12|(c2&63)<<6|c3&63),c+=3);return b}};window.urlParams=window.urlParams||{};window.isLocalStorage=window.isLocalStorage||!1;window.mxLoadSettings=window.mxLoadSettings||"1"!=urlParams.configure;window.isSvgBrowser=!0;window.DRAWIO_BASE_URL=window.DRAWIO_BASE_URL||(/.*\\.draw\\.io$/.test(window.location.hostname)||/.*\\.diagrams\\.net$/.test(window.location.hostname)?window.location.protocol+"//"+window.location.hostname:"https://app.diagrams.net");window.DRAWIO_LIGHTBOX_URL=window.DRAWIO_LIGHTBOX_URL||"https://viewer.diagrams.net";\r\nwindow.EXPORT_URL=window.EXPORT_URL||"https://convert.diagrams.net/node/export";window.PLANT_URL=window.PLANT_URL||"https://plant-aws.diagrams.net";window.DRAW_MATH_URL=window.DRAW_MATH_URL||window.DRAWIO_BASE_URL+"/math";window.VSD_CONVERT_URL=window.VSD_CONVERT_URL||"https://convert.diagrams.net/VsdConverter/api/converter";window.EMF_CONVERT_URL=window.EMF_CONVERT_URL||"https://convert.diagrams.net/emf2png/convertEMF";window.REALTIME_URL=window.REALTIME_URL||"cache";\r\nwindow.DRAWIO_GITLAB_URL=window.DRAWIO_GITLAB_URL||"https://gitlab.com";window.DRAWIO_GITLAB_ID=window.DRAWIO_GITLAB_ID||"c9b9d3fcdce2dec7abe3ab21ad8123d89ac272abb7d0883f08923043e80f3e36";window.DRAWIO_GITHUB_URL=window.DRAWIO_GITHUB_URL||"https://github.com";window.DRAWIO_GITHUB_API_URL=window.DRAWIO_GITHUB_API_URL||"https://api.github.com";window.DRAWIO_GITHUB_ID=window.DRAWIO_GITHUB_ID||"4f88e2ec436d76c2ee6e";window.DRAWIO_DROPBOX_ID=window.DRAWIO_DROPBOX_ID||"libwls2fa9szdji";\r\nwindow.SAVE_URL=window.SAVE_URL||"save";window.OPEN_URL=window.OPEN_URL||"import";window.PROXY_URL=window.PROXY_URL||"proxy";window.DRAWIO_VIEWER_URL=window.DRAWIO_VIEWER_URL||null;window.NOTIFICATIONS_URL=window.NOTIFICATIONS_URL||"https://www.draw.io/notifications";window.SHAPES_PATH=window.SHAPES_PATH||"shapes";window.GRAPH_IMAGE_PATH=window.GRAPH_IMAGE_PATH||"img";\r\nwindow.ICONSEARCH_PATH=window.ICONSEARCH_PATH||((null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE")||urlParams.dev)&&"file:"!=window.location.protocol?"iconSearch":window.DRAWIO_BASE_URL+"/iconSearch");window.TEMPLATE_PATH=window.TEMPLATE_PATH||"templates";window.NEW_DIAGRAM_CATS_PATH=window.NEW_DIAGRAM_CATS_PATH||"newDiagramCats";window.PLUGINS_BASE_PATH=window.PLUGINS_BASE_PATH||"";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";\r\nwindow.RESOURCE_BASE=window.RESOURCE_BASE||RESOURCES_PATH+"/dia";window.DRAWIO_CONFIG=window.DRAWIO_CONFIG||null;window.mxLoadResources=window.mxLoadResources||!1;\r\nwindow.mxLanguage=window.mxLanguage||function(){var a=urlParams.lang;if(null==a&&"undefined"!=typeof JSON&&isLocalStorage)try{var b=localStorage.getItem(".drawio-config");null!=b&&(a=JSON.parse(b).language||null);if(!a&&window.mxIsElectron&&(a=require("electron").remote.app.getLocale(),null!=a)){var c=a.indexOf("-");0<=c&&(a=a.substring(0,c));a=a.toLowerCase()}}catch(d){isLocalStorage=!1}return a}();\r\nwindow.mxLanguageMap=window.mxLanguageMap||{i18n:"",id:"Bahasa Indonesia",ms:"Bahasa Melayu",bs:"Bosanski",bg:"Bulgarian",ca:"Català",cs:"Čeština",da:"Dansk",de:"Deutsch",et:"Eesti",en:"English",es:"Español",eu:"Euskara",fil:"Filipino",fr:"Français",gl:"Galego",it:"Italiano",hu:"Magyar",nl:"Nederlands",no:"Norsk",pl:"Polski","pt-br":"Português (Brasil)",pt:"Português (Portugal)",ro:"Română",fi:"Suomi",sv:"Svenska",vi:"Tiếng Việt",tr:"Türkçe",el:"Ελληνικά",ru:"Русский",sr:"Српски",uk:"Українська",\r\nhe:"עברית",ar:"العربية",fa:"فارسی",th:"ไทย",ko:"한국어",ja:"日本語",zh:"简体中文","zh-tw":"繁體中文"};"undefined"===typeof window.mxBasePath&&(window.mxBasePath="mxgraph",window.mxImageBasePath="mxgraph/images");if(null==window.mxLanguages){window.mxLanguages=[];for(var lang in mxLanguageMap)"en"!=lang&&window.mxLanguages.push(lang)}window.location.hostname==DRAWIO_LIGHTBOX_URL.substring(DRAWIO_LIGHTBOX_URL.indexOf("//")+2)&&(urlParams.lightbox="1");"1"==urlParams.lightbox&&(urlParams.chrome="0");\r\nwindow.uiTheme=window.uiTheme||function(){var a=urlParams.ui;if(null==a&&isLocalStorage&&"undefined"!==typeof JSON&&"1"!=urlParams.lightbox)try{var b=localStorage.getItem(".drawio-config");null!=b&&(a=JSON.parse(b).ui||null)}catch(c){isLocalStorage=!1}null==a&&"1"==urlParams.extAuth&&(a="sketch");"sketch"==a&&(urlParams.sketch="1",a="min");try{null==a&&768>=(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)&&(a="min")}catch(c){}return a}();\r\nfunction setCurrentXml(a,b){null!=window.parent&&null!=window.parent.openFile&&window.parent.openFile.setData(a,b)}\r\n(function(){if("undefined"!==typeof JSON&&isLocalStorage)try{var a=localStorage.getItem(".drawio-config"),b=!0;null!=a&&(b=JSON.parse(a).showStartScreen);0==b&&(urlParams.splash="0")}catch(d){}a=urlParams["export"];null!=a&&(a=decodeURIComponent(a),"http://"!=a.substring(0,7)&&"https://"!=a.substring(0,8)&&(a="http://"+a),EXPORT_URL=a);a=urlParams.gitlab;null!=a&&(a=decodeURIComponent(a),"http://"!=a.substring(0,7)&&"https://"!=a.substring(0,8)&&(a="http://"+a),DRAWIO_GITLAB_URL=a);a=urlParams["gitlab-id"];\r\nnull!=a&&(DRAWIO_GITLAB_ID=a);window.DRAWIO_LOG_URL=window.DRAWIO_LOG_URL||"";a=window.location.host;if("test.draw.io"!=a){var c="diagrams.net",b=a.length-c.length,c=a.lastIndexOf(c,b);-1!==c&&c===b?window.DRAWIO_LOG_URL="https://log.diagrams.net":(c="draw.io",b=a.length-c.length,c=a.lastIndexOf(c,b),-1!==c&&c===b&&(window.DRAWIO_LOG_URL="https://log.draw.io"))}})();\r\nif("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==urlParams.local||"1"==urlParams.lockdown)urlParams.picker="0",urlParams.gapi="0",urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0";\r\n"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");\r\n"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.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";\r\nwindow.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:"14.9.3",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/"),\r\nIS_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),\r\nIS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:"undefined"!==typeof InstallTrigger,IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||\r\n0<=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]"!=document.createElementNS("http://www.w3.org/2000/svg","foreignObject")||0<=navigator.userAgent.indexOf("Opera/"),IS_WIN:0<navigator.appVersion.indexOf("Win"),IS_MAC:0<navigator.appVersion.indexOf("Mac"),\r\nIS_CHROMEOS:/\\bCrOS\\b/.test(navigator.appVersion),IS_TOUCH:"ontouchstart"in document.documentElement,IS_POINTER:null!=window.PointerEvent&&!(0<navigator.appVersion.indexOf("Mac")),IS_LOCAL:0>document.location.href.indexOf("http://")&&0>document.location.href.indexOf("https://"),defaultBundles:[],isBrowserSupported:function(){return mxClient.IS_SVG},link:function(a,b,c,d){c=c||document;var e=c.createElement("link");e.setAttribute("rel",a);e.setAttribute("href",b);e.setAttribute("charset","UTF-8");\r\ne.setAttribute("type","text/css");d&&e.setAttribute("id",d);c.getElementsByTagName("head")[0].appendChild(e)},loadResources:function(a,b){function c(){0==--d&&a()}for(var d=mxClient.defaultBundles.length,e=0;e<mxClient.defaultBundles.length;e++)mxResources.add(mxClient.defaultBundles[e],b,c)},include:function(a){document.write(\'<script src="\'+a+\'">\\x3c/script>\')}};"undefined"==typeof mxLoadResources&&(mxLoadResources=!0);"undefined"==typeof mxForceIncludes&&(mxForceIncludes=!1);\r\n"undefined"==typeof mxResourceExtension&&(mxResourceExtension=".txt");"undefined"==typeof mxLoadStylesheets&&(mxLoadStylesheets=!0);"undefined"!=typeof mxBasePath&&0<mxBasePath.length?("/"==mxBasePath.substring(mxBasePath.length-1)&&(mxBasePath=mxBasePath.substring(0,mxBasePath.length-1)),mxClient.basePath=mxBasePath):mxClient.basePath=".";\r\n"undefined"!=typeof mxImageBasePath&&0<mxImageBasePath.length?("/"==mxImageBasePath.substring(mxImageBasePath.length-1)&&(mxImageBasePath=mxImageBasePath.substring(0,mxImageBasePath.length-1)),mxClient.imageBasePath=mxImageBasePath):mxClient.imageBasePath="images";mxClient.language="undefined"!=typeof mxLanguage&&null!=mxLanguage?mxLanguage:mxClient.IS_IE?navigator.userLanguage:navigator.language;\r\nmxClient.defaultLanguage="undefined"!=typeof mxDefaultLanguage&&null!=mxDefaultLanguage?mxDefaultLanguage:"en";mxLoadStylesheets&&mxClient.link("stylesheet","mxgraph/css/common.css");"undefined"!=typeof mxLanguages&&null!=mxLanguages&&(mxClient.languages=mxLanguages);\r\nvar mxLog={consoleName:"Console",TRACE:!1,DEBUG:!0,WARN:!0,buffer:"",init:function(){if(null==mxLog.window&&null!=document.body){var a=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("table");b.setAttribute("width","100%");b.setAttribute("height","100%");var c=document.createElement("tbody"),d=document.createElement("tr"),e=document.createElement("td");e.style.verticalAlign="top";mxLog.textarea=document.createElement("textarea");mxLog.textarea.setAttribute("wrap","off");\r\nmxLog.textarea.setAttribute("readOnly","true");mxLog.textarea.style.height="100%";mxLog.textarea.style.resize="none";mxLog.textarea.value=mxLog.buffer;mxLog.textarea.style.width=mxClient.IS_NS&&"BackCompat"!=document.compatMode?"99%":"100%";e.appendChild(mxLog.textarea);d.appendChild(e);c.appendChild(d);d=document.createElement("tr");mxLog.td=document.createElement("td");mxLog.td.style.verticalAlign="top";mxLog.td.setAttribute("height","30px");d.appendChild(mxLog.td);c.appendChild(d);b.appendChild(c);\r\nmxLog.addButton("Info",function(a){mxLog.info()});mxLog.addButton("DOM",function(a){a=mxUtils.getInnerHtml(document.body);mxLog.debug(a)});mxLog.addButton("Trace",function(a){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Copy",function(a){try{mxUtils.copy(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Show",function(a){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",\r\nfunction(a){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&\r\n!mxClient.IS_SF&&"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement(),a=function(a,b){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,b){var c=document.createElement("button");mxUtils.write(c,\r\na);mxEvent.addListener(c,"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){if(mxLog.TRACE){var c=0!=b?" ("+((new Date).getTime()-b)+" ms)":"";mxLog.writeln("Leaving "+a+c)}},debug:function(){mxLog.DEBUG&&\r\nmxLog.writeln.apply(this,arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):mxLog.buffer+=a},writeln:function(){for(var a=\r\n"",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},\r\nclear:function(a){"object"!==typeof a&&"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){var c=mxObjectIdentity.get(a),d=this.map[c];this.map[c]=b;return d};\r\nmxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};\r\nvar mxResources={resources:{},extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(a){return null!=mxClient.languages?0<=mxUtils.indexOf(mxClient.languages,a):!0},getDefaultBundle:function(a,b){return mxResources.loadDefaultBundle||!mxResources.isLanguageSupported(b)?a+mxResources.extension:null},getSpecialBundle:function(a,b){if(null==mxClient.languages||!this.isLanguageSupported(b)){var c=b.indexOf("-");0<c&&(b=b.substring(0,c))}return mxResources.loadSpecialBundle&&\r\nmxResources.isLanguageSupported(b)&&b!=mxClient.defaultLanguage?a+"_"+b+mxResources.extension:null},add:function(a,b,c){b=null!=b?b:null!=mxClient.language?mxClient.language.toLowerCase():mxConstants.NONE;if(b!=mxConstants.NONE){var d=mxResources.getDefaultBundle(a,b),e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=e)if(c)mxUtils.get(e,function(a){mxResources.parse(a.getText());c()},function(){c()});else try{var a=mxUtils.load(e);a.isReady()&&mxResources.parse(a.getText())}catch(l){}else null!=\r\nc&&c()};if(null!=d)if(c)mxUtils.get(d,function(a){mxResources.parse(a.getText());f()},function(){f()});else try{var g=mxUtils.load(d);g.isReady()&&mxResources.parse(g.getText());f()}catch(k){}else f()}},parse:function(a){if(null!=a){a=a.split("\\n");for(var b=0;b<a.length;b++)if("#"!=a[b].charAt(0)){var c=a[b].indexOf("=");if(0<c){var d=a[b].substring(0,c),e=a[b].length;13==a[b].charCodeAt(e-1)&&e--;c=a[b].substring(c+1,e);this.resourcesEncoded?(c=c.replace(/\\\\(?=u[a-fA-F\\d]{4})/g,"%"),mxResources.resources[d]=\r\nunescape(c)):mxResources.resources[d]=c}}}},get:function(a,b,c){a=mxResources.resources[a];null==a&&(a=c);null!=a&&null!=b&&(a=mxResources.replacePlaceholders(a,b));return a},replacePlaceholders:function(a,b){for(var c=[],d=null,e=0;e<a.length;e++){var f=a.charAt(e);"{"==f?d="":null!=d&&"}"==f?(d=parseInt(d)-1,0<=d&&d<b.length&&c.push(b[d]),d=null):null!=d?d+=f:c.push(f)}return c.join("")},loadResources:function(a){mxResources.add(mxClient.basePath+"/resources/editor",null,function(){mxResources.add(mxClient.basePath+\r\n"/resources/graph",null,a)})}};function mxPoint(a,b){this.x=null!=a?a:0;this.y=null!=b?b:0}mxPoint.prototype.x=null;mxPoint.prototype.y=null;mxPoint.prototype.equals=function(a){return null!=a&&a.x==this.x&&a.y==this.y};mxPoint.prototype.clone=function(){return mxUtils.clone(this)};function mxRectangle(a,b,c,d){mxPoint.call(this,a,b);this.width=null!=c?c:0;this.height=null!=d?d:0}mxRectangle.prototype=new mxPoint;mxRectangle.prototype.constructor=mxRectangle;mxRectangle.prototype.width=null;\r\nmxRectangle.prototype.height=null;mxRectangle.prototype.setRect=function(a,b,c,d){this.x=a;this.y=b;this.width=c;this.height=d};mxRectangle.prototype.getCenterX=function(){return this.x+this.width/2};mxRectangle.prototype.getCenterY=function(){return this.y+this.height/2};\r\nmxRectangle.prototype.add=function(a){if(null!=a){var b=Math.min(this.x,a.x),c=Math.min(this.y,a.y),d=Math.max(this.x+this.width,a.x+a.width);a=Math.max(this.y+this.height,a.y+a.height);this.x=b;this.y=c;this.width=d-b;this.height=a-c}};mxRectangle.prototype.intersect=function(a){if(null!=a){var b=this.x+this.width,c=a.x+a.width,d=this.y+this.height,e=a.y+a.height;this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.width=Math.min(b,c)-this.x;this.height=Math.min(d,e)-this.y}};\r\nmxRectangle.prototype.grow=function(a){this.x-=a;this.y-=a;this.width+=2*a;this.height+=2*a;return this};mxRectangle.prototype.getPoint=function(){return new mxPoint(this.x,this.y)};mxRectangle.prototype.rotate90=function(){var a=(this.width-this.height)/2;this.x+=a;this.y-=a;a=this.width;this.width=this.height;this.height=a};mxRectangle.prototype.equals=function(a){return null!=a&&a.x==this.x&&a.y==this.y&&a.width==this.width&&a.height==this.height};\r\nmxRectangle.fromRectangle=function(a){return new mxRectangle(a.x,a.y,a.width,a.height)};\r\nvar mxEffects={animateChanges:function(a,b,c){var d=0,e=function(){for(var g=!1,k=0;k<b.length;k++){var l=b[k];if(l instanceof mxGeometryChange||l instanceof mxTerminalChange||l instanceof mxValueChange||l instanceof mxChildChange||l instanceof mxStyleChange){var m=a.getView().getState(l.cell||l.child,!1);if(null!=m)if(g=!0,l.constructor!=mxGeometryChange||a.model.isEdge(l.cell))mxUtils.setOpacity(m.shape.node,100*d/10);else{var n=a.getView().scale,p=(l.geometry.x-l.previous.x)*n,q=(l.geometry.y-\r\nl.previous.y)*n,r=(l.geometry.width-l.previous.width)*n,n=(l.geometry.height-l.previous.height)*n;0==d?(m.x-=p,m.y-=q,m.width-=r,m.height-=n):(m.x+=p/10,m.y+=q/10,m.width+=r/10,m.height+=n/10);a.cellRenderer.redraw(m);mxEffects.cascadeOpacity(a,l.cell,100*d/10)}}}10>d&&g?(d++,window.setTimeout(e,f)):null!=c&&c()},f=30;e()},cascadeOpacity:function(a,b,c){for(var d=a.model.getChildCount(b),e=0;e<d;e++){var f=a.model.getChildAt(b,e),g=a.getView().getState(f);null!=g&&(mxUtils.setOpacity(g.shape.node,\r\nc),mxEffects.cascadeOpacity(a,f,c))}b=a.model.getEdges(b);if(null!=b)for(e=0;e<b.length;e++)d=a.getView().getState(b[e]),null!=d&&mxUtils.setOpacity(d.shape.node,c)},fadeOut:function(a,b,c,d,e,f){d=d||40;e=e||30;var g=b||100;mxUtils.setOpacity(a,g);if(f||null==f){var k=function(){g=Math.max(g-d,0);mxUtils.setOpacity(a,g);0<g?window.setTimeout(k,e):(a.style.visibility="hidden",c&&a.parentNode&&a.parentNode.removeChild(a))};window.setTimeout(k,e)}else a.style.visibility="hidden",c&&a.parentNode&&a.parentNode.removeChild(a)}},\r\nmxUtils={errorResource:"none"!=mxClient.language?"error":"",closeResource:"none"!=mxClient.language?"close":"",errorImage:mxClient.imageBasePath+"/error.gif",removeCursors:function(a){null!=a.style&&(a.style.cursor="");a=a.childNodes;if(null!=a)for(var b=a.length,c=0;c<b;c+=1)mxUtils.removeCursors(a[c])},getCurrentStyle:function(){return mxClient.IS_IE&&(null==document.documentMode||9>document.documentMode)?function(a){return null!=a?a.currentStyle:null}:function(a){return null!=a?window.getComputedStyle(a,\r\n""):null}}(),parseCssNumber:function(a){"thin"==a?a="2":"medium"==a?a="4":"thick"==a&&(a="6");a=parseFloat(a);isNaN(a)&&(a=0);return a},setPrefixedStyle:function(){var a=null;mxClient.IS_OT?a="O":mxClient.IS_SF||mxClient.IS_GC?a="Webkit":mxClient.IS_MT?a="Moz":mxClient.IS_IE&&9<=document.documentMode&&10>document.documentMode&&(a="ms");return function(b,c,d){b[c]=d;null!=a&&0<c.length&&(c=a+c.substring(0,1).toUpperCase()+c.substring(1),b[c]=d)}}(),hasScrollbars:function(a){a=mxUtils.getCurrentStyle(a);\r\nreturn null!=a&&("scroll"==a.overflow||"auto"==a.overflow)},bind:function(a,b){return function(){return b.apply(a,arguments)}},eval:function(a){var b=null;if(0<=a.indexOf("function"))try{eval("var _mxJavaScriptExpression="+a),b=_mxJavaScriptExpression,_mxJavaScriptExpression=null}catch(c){mxLog.warn(c.message+" while evaluating "+a)}else try{b=eval(a)}catch(c){mxLog.warn(c.message+" while evaluating "+a)}return b},findNode:function(a,b,c){if(a.nodeType==mxConstants.NODETYPE_ELEMENT){var d=a.getAttribute(b);\r\nif(null!=d&&d==c)return a}for(a=a.firstChild;null!=a;){d=mxUtils.findNode(a,b,c);if(null!=d)return d;a=a.nextSibling}return null},getFunctionName:function(a){var b=null;null!=a&&(null!=a.name?b=a.name:(b=mxUtils.trim(a.toString()),/^function\\s/.test(b)&&(b=mxUtils.ltrim(b.substring(9)),a=b.indexOf("("),0<a&&(b=b.substring(0,a)))));return b},indexOf:function(a,b){if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(a[c]==b)return c;return-1},forEach:function(a,b){if(null!=a&&null!=b)for(var c=0;c<a.length;c++)b(a[c]);\r\nreturn a},remove:function(a,b){var c=null;if("object"==typeof b)for(var d=mxUtils.indexOf(b,a);0<=d;)b.splice(d,1),c=a,d=mxUtils.indexOf(b,a);for(var e in b)b[e]==a&&(delete b[e],c=a);return c},isNode:function(a,b,c,d){return null==a||isNaN(a.nodeType)||null!=b&&a.nodeName.toLowerCase()!=b.toLowerCase()?!1:null==c||a.getAttribute(c)==d},isAncestorNode:function(a,b){for(var c=b;null!=c;){if(c==a)return!0;c=c.parentNode}return!1},getChildNodes:function(a,b){b=b||mxConstants.NODETYPE_ELEMENT;for(var c=\r\n[],d=a.firstChild;null!=d;)d.nodeType==b&&c.push(d),d=d.nextSibling;return c},importNode:function(a,b,c){return mxClient.IS_IE&&(null==document.documentMode||10>document.documentMode)?mxUtils.importNodeImplementation(a,b,c):a.importNode(b,c)},importNodeImplementation:function(a,b,c){switch(b.nodeType){case 1:var d=a.createElement(b.nodeName);if(b.attributes&&0<b.attributes.length)for(var e=0;e<b.attributes.length;e++)d.setAttribute(b.attributes[e].nodeName,b.getAttribute(b.attributes[e].nodeName));\r\nif(c&&b.childNodes&&0<b.childNodes.length)for(e=0;e<b.childNodes.length;e++)d.appendChild(mxUtils.importNodeImplementation(a,b.childNodes[e],c));return d;case 3:case 4:case 8:return a.createTextNode(null!=b.nodeValue?b.nodeValue:b.value)}},createXmlDocument:function(){var a=null;document.implementation&&document.implementation.createDocument?a=document.implementation.createDocument("","",null):"ActiveXObject"in window&&(a=mxUtils.createMsXmlDocument());return a},createMsXmlDocument:function(){var a=\r\nnew ActiveXObject("Microsoft.XMLDOM");a.async=!1;a.validateOnParse=!1;a.resolveExternals=!1;return a},parseXml:function(){return window.DOMParser?function(a){return(new DOMParser).parseFromString(a,"text/xml")}:function(a){var b=mxUtils.createMsXmlDocument();b.loadXML(a);return b}}(),clearSelection:function(){return document.selection?function(){document.selection.empty()}:window.getSelection?function(){window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&\r\nwindow.getSelection().removeAllRanges()}:function(){}}(),removeWhitespace:function(a,b){for(var c=b?a.previousSibling:a.nextSibling;null!=c&&c.nodeType==mxConstants.NODETYPE_TEXT;){var d=b?c.previousSibling:c.nextSibling,e=mxUtils.getTextContent(c);0==mxUtils.trim(e).length&&c.parentNode.removeChild(c);c=d}},htmlEntities:function(a,b){a=String(a||"");a=a.replace(/&/g,"&amp;");a=a.replace(/"/g,"&quot;");a=a.replace(/\\\'/g,"&#39;");a=a.replace(/</g,"&lt;");a=a.replace(/>/g,"&gt;");if(null==b||b)a=a.replace(/\\n/g,\r\n"&#xa;");return a},getXml:function(a,b){var c="";mxClient.IS_IE||mxClient.IS_IE11?c=mxUtils.getPrettyXml(a,"","",""):null!=window.XMLSerializer?c=(new XMLSerializer).serializeToString(a):null!=a.xml&&(c=a.xml.replace(/\\r\\n\\t[\\t]*/g,"").replace(/>\\r\\n/g,">").replace(/\\r\\n/g,"\\n"));return c.replace(/\\n/g,b||"&#xa;")},getPrettyXml:function(a,b,c,d,e){var f=[];if(null!=a)if(b=null!=b?b:" ",c=null!=c?c:"",d=null!=d?d:"\\n",null!=a.namespaceURI&&a.namespaceURI!=e&&(e=a.namespaceURI,null==a.getAttribute("xmlns")&&\r\na.setAttribute("xmlns",a.namespaceURI)),a.nodeType==mxConstants.NODETYPE_DOCUMENT)f.push(mxUtils.getPrettyXml(a.documentElement,b,c,d,e));else if(a.nodeType==mxConstants.NODETYPE_DOCUMENT_FRAGMENT){var g=a.firstChild;if(null!=g)for(;null!=g;)f.push(mxUtils.getPrettyXml(g,b,c,d,e)),g=g.nextSibling}else if(a.nodeType==mxConstants.NODETYPE_COMMENT)a=mxUtils.getTextContent(a),0<a.length&&f.push(c+"\\x3c!--"+a+"--\\x3e"+d);else if(a.nodeType==mxConstants.NODETYPE_TEXT)a=mxUtils.trim(mxUtils.getTextContent(a)),\r\n0<a.length&&f.push(c+mxUtils.htmlEntities(a,!1)+d);else if(a.nodeType==mxConstants.NODETYPE_CDATA)a=mxUtils.getTextContent(a),0<a.length&&f.push(c+"<![CDATA["+a+"]]"+d);else{f.push(c+"<"+a.nodeName);g=a.attributes;if(null!=g)for(var k=0;k<g.length;k++){var l=mxUtils.htmlEntities(g[k].value);f.push(" "+g[k].nodeName+\'="\'+l+\'"\')}g=a.firstChild;if(null!=g){for(f.push(">"+d);null!=g;)f.push(mxUtils.getPrettyXml(g,b,c+b,d,e)),g=g.nextSibling;f.push(c+"</"+a.nodeName+">"+d)}else f.push(" />"+d)}return f.join("")},\r\nextractTextWithWhitespace:function(a){function b(a){if(1!=a.length||"BR"!=a[0].nodeName&&"\\n"!=a[0].innerHTML)for(var e=0;e<a.length;e++){var g=a[e];"BR"==g.nodeName||"\\n"==g.innerHTML||(1==a.length||0==e)&&"DIV"==g.nodeName&&"<br>"==g.innerHTML.toLowerCase()?d.push("\\n"):(3===g.nodeType||4===g.nodeType?0<g.nodeValue.length&&d.push(g.nodeValue):8!==g.nodeType&&0<g.childNodes.length&&b(g.childNodes),e<a.length-1&&0<=mxUtils.indexOf(c,a[e+1].nodeName)&&d.push("\\n"))}}var c="BLOCKQUOTE DIV H1 H2 H3 H4 H5 H6 OL P PRE TABLE UL".split(" "),\r\nd=[];b(a);return d.join("")},replaceTrailingNewlines:function(a,b){for(var c="";0<a.length&&"\\n"==a.charAt(a.length-1);)a=a.substring(0,a.length-1),c+=b;return a+c},getTextContent:function(a){return mxClient.IS_IE&&void 0!==a.innerText?a.innerText:null!=a?a[void 0===a.textContent?"text":"textContent"]:""},setTextContent:function(a,b){void 0!==a.innerText?a.innerText=b:a[void 0===a.textContent?"text":"textContent"]=b},getInnerHtml:function(){return mxClient.IS_IE?function(a){return null!=a?a.innerHTML:\r\n""}:function(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),getOuterHtml:function(){return mxClient.IS_IE?function(a){if(null!=a){if(null!=a.outerHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.length&&(b.push(" "),b.push(c[d].nodeName),b.push(\'="\'),b.push(e),b.push(\'"\'))}0==a.innerHTML.length?b.push("/>"):(b.push(">"),b.push(a.innerHTML),b.push("</"+a.nodeName+">"));return b.join("")}return""}:\r\nfunction(a){return null!=a?(new XMLSerializer).serializeToString(a):""}}(),write:function(a,b){var c=a.ownerDocument.createTextNode(b);null!=a&&a.appendChild(c);return c},writeln:function(a,b){var c=a.ownerDocument.createTextNode(b);null!=a&&(a.appendChild(c),a.appendChild(document.createElement("br")));return c},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=a&&(c=a.ownerDocument.createElement("br"),a.appendChild(c));return c},button:function(a,b,c){c=null!=c?c:document;c=c.createElement("button");\r\nmxUtils.write(c,a);mxEvent.addListener(c,"click",function(a){b(a)});return c},para:function(a,b){var c=document.createElement("p");mxUtils.write(c,b);null!=a&&a.appendChild(c);return c},addTransparentBackgroundFilter:function(a){a.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'"+mxClient.imageBasePath+"/transparent.gif\', sizingMethod=\'scale\')"},linkAction:function(a,b,c,d,e){return mxUtils.link(a,b,function(){c.execute(d)},e)},linkInvoke:function(a,b,c,d,e,f){return mxUtils.link(a,\r\nb,function(){c[d](e)},f)},link:function(a,b,c,d){var e=document.createElement("span");e.style.color="blue";e.style.textDecoration="underline";e.style.cursor="pointer";null!=d&&(e.style.paddingLeft=d+"px");mxEvent.addListener(e,"click",c);mxUtils.write(e,b);null!=a&&a.appendChild(e);return e},getDocumentSize:function(){var a=document.body,b=document.documentElement;try{return new mxRectangle(0,0,a.clientWidth||b.clientWidth,Math.max(a.clientHeight||0,b.clientHeight))}catch(c){return new mxRectangle}},\r\nfit:function(a){var b=mxUtils.getDocumentSize(),c=parseInt(a.offsetLeft),d=parseInt(a.offsetWidth),e=mxUtils.getDocumentScrollOrigin(a.ownerDocument),f=e.x,e=e.y,g=f+b.width;c+d>g&&(a.style.left=Math.max(f,g-d)+"px");c=parseInt(a.offsetTop);d=parseInt(a.offsetHeight);b=e+b.height;c+d>b&&(a.style.top=Math.max(e,b-d)+"px")},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,f,g){a=new mxXmlRequest(a,null,"GET");var k=a.setRequestHeaders;g&&(a.setRequestHeaders=\r\nfunction(a,b){k.apply(this,arguments);for(var c in g)a.setRequestHeader(c,g[c])});null!=d&&a.setBinary(d);a.send(b,c,e,f);return a},getAll:function(a,b,c){for(var d=a.length,e=[],f=0,g=function(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(a,c){mxUtils.get(a,function(a){var f=a.getStatus();200>f||299<f?g():(e[c]=a,d--,0==d&&b(e))},g)})(a[k],k);0==d&&b(e)},post:function(a,b,c,d){return(new mxXmlRequest(a,b)).send(c,d)},submit:function(a,b,c,d){return(new mxXmlRequest(a,b)).simulate(c,d)},\r\nloadInto:function(a,b,c){mxClient.IS_IE?b.onreadystatechange=function(){4==b.readyState&&c()}:b.addEventListener("load",c,!1);b.load(a)},getValue:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c);return a},getNumber:function(a,b,c){a=null!=a?a[b]:null;null==a&&(a=c||0);return Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},clone:function(a,b,c){c=null!=c?c:!1;var d=null;if(null!=a&&"function"==typeof a.constructor){var d=new a.constructor,\r\ne;for(e in a)e!=mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},equalPoints:function(a,b){if(null==a&&null!=b||null!=a&&null==b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b)for(var c=0;c<a.length;c++)if(null!=a[c]&&null==b[c]||null==a[c]&&null!=b[c]||null!=a[c]&&null!=b[c]&&(a[c].x!=b[c].x||a[c].y!=b[c].y))return!1;return!0},equalEntries:function(a,b){var c=0;if(null==a&&null!=b||null!=a&&null==\r\nb||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a)if(c--,!(mxUtils.isNaN(a[d])&&mxUtils.isNaN(b[d])||a[d]==b[d]))return!1}return 0==c},removeDuplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]),b.put(a[d],!0));return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},extend:function(a,b){var c=function(){};c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},toString:function(a){var b=\r\n"",c;for(c in a)try{if(null==a[c])b+=c+" = [null]\\n";else if("function"==typeof a[c])b+=c+" => [Function]\\n";else if("object"==typeof a[c])var d=mxUtils.getFunctionName(a[c].constructor),b=b+(c+" => ["+d+"]\\n");else b+=c+" = "+a[c]+"\\n"}catch(e){b+=c+"="+e.message}return b},toRadians:function(a){return Math.PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;l-=b;if(0===c||0===d)return q;c=Math.abs(c);d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Math.PI/\r\n180),q=Math.sin(e*Math.PI/180);e=p*m+q*n;var m=-1*q*m+p*n,n=e*e,r=m*m,t=c*c,u=d*d,x=n/t+r/u;1<x?(c*=Math.sqrt(x),d*=Math.sqrt(x),f=0):(x=1,f===g&&(x=-1),f=x*Math.sqrt((t*u-t*r-u*n)/(t*r+u*n)));n=f*c*m/d;r=-1*f*d*e/c;k=p*n-q*r+k/2;l=q*n+p*r+l/2;t=Math.atan2((m-r)/d,(e-n)/c)-Math.atan2(0,1);f=0<=t?t:2*Math.PI+t;t=Math.atan2((-m-r)/d,(-e-n)/c)-Math.atan2((m-r)/d,(e-n)/c);e=0<=t?t:2*Math.PI+t;0==g&&0<e?e-=2*Math.PI:0!=g&&0>e&&(e+=2*Math.PI);g=2*e/Math.PI;g=Math.ceil(0>g?-1*g:g);e/=g;m=8/3*Math.sin(e/\r\n4)*Math.sin(e/4)/Math.sin(e/2);n=p*c;p*=d;c*=q;d*=q;for(var y=Math.cos(f),B=Math.sin(f),r=-m*(n*B+d*y),t=-m*(c*B-p*y),q=[],A=0;A<g;++A){f+=e;var y=Math.cos(f),B=Math.sin(f),u=n*y-d*B+k,x=c*y+p*B+l,z=-m*(n*B+d*y),y=-m*(c*B-p*y),B=6*A;q[B]=Number(r+a);q[B+1]=Number(t+b);q[B+2]=Number(u-z+a);q[B+3]=Number(x-y+b);q[B+4]=Number(u+a);q[B+5]=Number(x+b);r=u+z;t=x+y}return q},getBoundingBox:function(a,b,c){var d=null;if(null!=a&&null!=b&&0!=b){b=mxUtils.toRadians(b);var d=Math.cos(b),e=Math.sin(b);c=null!=\r\nc?c:new mxPoint(a.x+a.width/2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,a.y);var g=new mxPoint(b.x,a.y+a.height);a=new mxPoint(a.x,g.y);f=mxUtils.getRotatedPoint(f,d,e,c);b=mxUtils.getRotatedPoint(b,d,e,c);g=mxUtils.getRotatedPoint(g,d,e,c);a=mxUtils.getRotatedPoint(a,d,e,c);d=new mxRectangle(f.x,f.y,0,0);d.add(new mxRectangle(b.x,b.y,0,0));d.add(new mxRectangle(g.x,g.y,0,0));d.add(new mxRectangle(a.x,a.y,0,0))}return d},getRotatedPoint:function(a,b,c,d){d=null!=d?d:new mxPoint;\r\nvar e=a.x-d.x;a=a.y-d.y;return new mxPoint(e*b-a*c+d.x,a*b+e*c+d.y)},getPortConstraints:function(a,b,c,d){b=mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRAINT:mxConstants.STYLE_TARGET_PORT_CONSTRAINT,null));if(null==b)return d;d=b.toString();b=mxConstants.DIRECTION_MASK_NONE;c=0;1==mxUtils.getValue(a.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(c=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0));a=0;45<c?(a=\r\n1,135<=c&&(a=2)):-45>c&&(a=3,-135>=c&&(a=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=mxConstants.DIRECTION_MASK_EAST;break;case 2:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:b|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_WEST;break;case 1:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:b|=mxConstants.DIRECTION_MASK_EAST;break;case 3:b|=mxConstants.DIRECTION_MASK_SOUTH}if(0<=\r\nd.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=mxConstants.DIRECTION_MASK_WEST;break;case 2:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:b|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_EAST;break;case 1:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:b|=mxConstants.DIRECTION_MASK_WEST;break;case 3:b|=mxConstants.DIRECTION_MASK_NORTH}return b},reversePortConstraints:function(a){var b;\r\nb=(a&mxConstants.DIRECTION_MASK_WEST)<<3;b|=(a&mxConstants.DIRECTION_MASK_NORTH)<<1;b|=(a&mxConstants.DIRECTION_MASK_SOUTH)>>1;return b|(a&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],f=null,g=1;g<a.absolutePoints.length;g++){var k=a.absolutePoints[g],e=mxUtils.ptSegDistSq(e.x,e.y,k.x,k.y,b,c);if(null==f||e<f)f=e,d=g-1;e=k}return d},getDirectedBounds:function(a,b,c,d,e){var f=mxUtils.getValue(c,mxConstants.STYLE_DIRECTION,\r\nmxConstants.DIRECTION_EAST);d=null!=d?d:mxUtils.getValue(c,mxConstants.STYLE_FLIPH,!1);e=null!=e?e:mxUtils.getValue(c,mxConstants.STYLE_FLIPV,!1);b.x=Math.round(Math.max(0,Math.min(a.width,b.x)));b.y=Math.round(Math.max(0,Math.min(a.height,b.y)));b.width=Math.round(Math.max(0,Math.min(a.width,b.width)));b.height=Math.round(Math.max(0,Math.min(a.height,b.height)));if(e&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||d&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=\r\nb.x,b.x=b.width,b.width=c;if(d&&(f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH)||e&&(f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST))c=b.y,b.y=b.height,b.height=c;d=mxRectangle.fromRectangle(b);f==mxConstants.DIRECTION_SOUTH?(d.y=b.x,d.x=b.height,d.width=b.y,d.height=b.width):f==mxConstants.DIRECTION_WEST?(d.y=b.height,d.x=b.width,d.width=b.x,d.height=b.y):f==mxConstants.DIRECTION_NORTH&&(d.y=b.width,d.x=b.y,d.width=b.height,d.height=b.x);return new mxRectangle(a.x+\r\nd.x,a.y+d.y,a.width-d.width-d.x,a.height-d.height-d.y)},getPerimeterPoint:function(a,b,c){for(var d=null,e=0;e<a.length-1;e++){var f=mxUtils.intersection(a[e].x,a[e].y,a[e+1].x,a[e+1].y,b.x,b.y,c.x,c.y);if(null!=f){var g=c.x-f.x,k=c.y-f.y,f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)}}return null!=d?d.p:null},rectangleIntersectsSegment:function(a,b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e&&(a=e);if(a>k)return!1;var e=b.y,\r\ng=c.y,l=c.x-b.x;1E-7<Math.abs(l)&&(c=(c.y-b.y)/l,b=b.y-c*b.x,e=c*a+b,g=c*k+b);e>g&&(b=g,g=e,e=b);g>f&&(g=f);e<d&&(e=d);return e>g?!1:!0},contains:function(a,b,c){return a.x<=b&&a.x+a.width>=b&&a.y<=c&&a.y+a.height>=c},intersects:function(a,b){var c=a.width,d=a.height,e=b.width,f=b.height;if(0>=e||0>=f||0>=c||0>=d)return!1;var g=a.x,k=a.y,l=b.x,m=b.y,e=e+l,f=f+m,c=c+g,d=d+k;return(e<l||e>g)&&(f<m||f>k)&&(c<g||c>l)&&(d<k||d>m)},intersectsHotspot:function(a,b,c,d,e,f){d=null!=d?d:1;e=null!=e?e:0;f=null!=\r\nf?f:0;if(0<d){var g=a.getCenterX(),k=a.getCenterY(),l=a.width,m=a.height,n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=a.y+n/2,m=n):(g=a.x+n/2,l=n));l=Math.max(e,l*d);m=Math.max(e,m*d);0<f&&(l=Math.min(l,f),m=Math.min(m,f));d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0);0!=g&&(e=Math.cos(-g),f=Math.sin(-g),g=new mxPoint(a.getCenterX(),a.getCenterY()),\r\na=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,g),b=a.x,c=a.y);return mxUtils.contains(d,b,c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentElement;null!=f&&f!=g&&f!=k&&!e;){var l=mxUtils.getCurrentStyle(f);null!=l&&(e=e||"fixed"==l.position);f=f.parentNode}b||e||(e=mxUtils.getDocumentScrollOrigin(a.ownerDocument),c+=e.x,d+=e.y);e=a.getBoundingClientRect();null!=e&&(c+=e.left,d+=e.top);return new mxPoint(c,d)},getDocumentScrollOrigin:function(a){a=a.defaultView||\r\na.parentWindow;return new mxPoint(null!=a&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},getScrollOrigin:function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!0;for(var d=null!=a?a.ownerDocument:document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)||\r\nisNaN(a.scrollTop)||(g.x+=a.scrollLeft,g.y+=a.scrollTop);var l=mxUtils.getCurrentStyle(a);null!=l&&(k=k||"fixed"==l.position);a=b?a.parentNode:null}!k&&c&&(a=mxUtils.getDocumentScrollOrigin(d),g.x+=a.x,g.y+=a.y);return g},convertPoint:function(a,b,c){var d=mxUtils.getScrollOrigin(a,!1);a=mxUtils.getOffset(a);a.x-=d.x;a.y-=d.y;return new mxPoint(b-a.x,c-a.y)},ltrim:function(a,b){return null!=a?a.replace(new RegExp("^["+(b||"\\\\s")+"]+","g"),""):null},rtrim:function(a,b){return null!=a?a.replace(new RegExp("["+\r\n(b||"\\\\s")+"]+$","g"),""):null},trim:function(a,b){return mxUtils.ltrim(mxUtils.rtrim(a,b),b)},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)&&("string"!=typeof a||0>a.toLowerCase().indexOf("0x"))},isInteger:function(a){return String(parseInt(a))===String(a)},mod:function(a,b){return(a%b+b)%b},intersection:function(a,b,c,d,e,f,g,k){var l=(k-f)*(c-a)-(g-e)*(d-b);g=((g-e)*(b-f)-(k-f)*(a-e))/l;e=((c-a)*(b-f)-(d-b)*(a-e))/l;return 0<=g&&1>=g&&0<=e&&1>=e?new mxPoint(a+g*(c-a),b+g*(d-b)):\r\nnull},ptSegDistSq:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;0>=e*c+f*d?c=0:(e=c-e,f=d-f,a=e*c+f*d,c=0>=a?0:a*a/(c*c+d*d));e=e*e+f*f-c;0>e&&(e=0);return e},ptLineDist:function(a,b,c,d,e,f){return Math.abs((d-b)*e-(c-a)*f+c*b-d*a)/Math.sqrt((d-b)*(d-b)+(c-a)*(c-a))},relativeCcw:function(a,b,c,d,e,f){c-=a;d-=b;e-=a;f-=b;a=e*d-f*c;0==a&&(a=e*c+f*d,0<a&&(a=(e-c)*c+(f-d)*d,0>a&&(a=0)));return 0>a?-1:0<a?1:0},animateChanges:function(a,b){mxEffects.animateChanges.apply(this,arguments)},cascadeOpacity:function(a,\r\nb,c){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(a,b,c,d,e,f){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(a,b){mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.style.opacity=b/100},createImage:function(a){var b;b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("border","0");return b},sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(a,\r\ne){var d=c.get(a);null==d&&(d=mxCellPath.create(a).split(mxCellPath.PATH_SEPARATOR),c.put(a,d));var g=c.get(e);null==g&&(g=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),c.put(e,g));d=mxCellPath.compare(d,g);return 0==d?0:0<d==b?1:-1});return a},getStylename:function(a){return null!=a&&(a=a.split(";")[0],0>a.indexOf("="))?a:""},getStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0>a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=\r\na&&null!=b)for(var c=a.split(";"),d=0,e=0;e<c.length;e++){if(c[e]==b)return d;d+=c[e].length+1}return-1},addStylename:function(a,b){0>mxUtils.indexOfStylename(a,b)&&(null==a?a="":0<a.length&&";"!=a.charAt(a.length-1)&&(a+=";"),a+=b);return a},removeStylename:function(a,b){var c=[];if(null!=a)for(var d=a.split(";"),e=0;e<d.length;e++)d[e]!=b&&c.push(d[e]);return c.join(";")},removeAllStylenames:function(a){var b=[];if(null!=a){a=a.split(";");for(var c=0;c<a.length;c++)0<=a[c].indexOf("=")&&b.push(a[c])}return b.join(";")},\r\nsetCellStyles:function(a,b,c,d){if(null!=b&&0<b.length){a.beginUpdate();try{for(var e=0;e<b.length;e++)if(null!=b[e]){var f=mxUtils.setStyle(a.getStyle(b[e]),c,d);a.setStyle(b[e],f)}}finally{a.endUpdate()}}},setStyle:function(a,b,c){var d=null!=c&&("undefined"==typeof c.length||0<c.length);if(null==a||0==a.length)d&&(a=b+"="+c+";");else if(a.substring(0,b.length+1)==b+"="){var e=a.indexOf(";");a=d?b+"="+c+(0>e?";":a.substring(e)):0>e||e==a.length-1?"":a.substring(e+1)}else{var f=a.indexOf(";"+b+"=");\r\n0>f?d&&(d=";"==a.charAt(a.length-1)?"":";",a=a+d+b+"="+c+";"):(e=a.indexOf(";",f+1),a=d?a.substring(0,f+1)+b+"="+c+(0>e?";":a.substring(e)):a.substring(0,f)+(0>e?";":a.substring(e)))}return a},setCellStyleFlags:function(a,b,c,d,e){if(null!=b&&0<b.length){a.beginUpdate();try{for(var f=0;f<b.length;f++)if(null!=b[f]){var g=mxUtils.setStyleFlag(a.getStyle(b[f]),c,d,e);a.setStyle(b[f],g)}}finally{a.endUpdate()}}},setStyleFlag:function(a,b,c,d){if(null==a||0==a.length)a=d||null==d?b+"="+c:b+"=0";else{var e=\r\na.indexOf(b+"=");if(0>e)e=";"==a.charAt(a.length-1)?"":";",a=d||null==d?a+e+b+"="+c:a+e+b+"=0";else{var f=a.indexOf(";",e),g;g=0>f?a.substring(e+b.length+1):a.substring(e+b.length+1,f);g=null==d?parseInt(g)^c:d?parseInt(g)|c:parseInt(g)&~c;a=a.substring(0,e)+b+"="+g+(0<=f?a.substring(f):"")}}return a},getAlignmentAsPoint:function(a,b){var c=-.5,d=-.5;a==mxConstants.ALIGN_LEFT?c=0:a==mxConstants.ALIGN_RIGHT&&(c=-1);b==mxConstants.ALIGN_TOP?d=0:b==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(c,\r\nd)},getSizeForString:function(a,b,c,d,e){b=null!=b?b:mxConstants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("div");f.style.fontFamily=c;f.style.fontSize=Math.round(b)+"px";f.style.lineHeight=Math.round(b*mxConstants.LINE_HEIGHT)+"px";null!=e&&((e&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(f.style.fontWeight="bold"),(e&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(f.style.fontStyle="italic"),b=[],(e&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&\r\nb.push("underline"),(e&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),0<b.length&&(f.style.textDecoration=b.join(" ")));f.style.position="absolute";f.style.visibility="hidden";f.style.display="inline-block";f.style.zoom="1";null!=d?(f.style.width=d+"px",f.style.whiteSpace="normal"):f.style.whiteSpace="nowrap";f.innerHTML=a;document.body.appendChild(f);a=new mxRectangle(0,0,f.offsetWidth,f.offsetHeight);document.body.removeChild(f);return a},getViewXml:function(a,\r\nb,c,d,e){d=null!=d?d:0;e=null!=e?e:0;b=null!=b?b:1;null==c&&(c=[a.getModel().getRoot()]);var f=a.getView(),g=null,k=f.isEventsEnabled();f.setEventsEnabled(!1);var l=f.drawPane,m=f.overlayPane;a.dialect==mxConstants.DIALECT_SVG?(f.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),f.canvas.appendChild(f.drawPane),f.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g")):(f.drawPane=f.drawPane.cloneNode(!1),f.canvas.appendChild(f.drawPane),f.overlayPane=f.overlayPane.cloneNode(!1));f.canvas.appendChild(f.overlayPane);\r\nvar n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g=(new mxCodec).encode(a.getView())}finally{b.destroy(),f.translate=n,f.canvas.removeChild(f.drawPane),f.canvas.removeChild(f.overlayPane),f.drawPane=l,f.overlayPane=m,f.setEventsEnabled(k)}return g},getScaleForPageCount:function(a,b,c,d){if(1>a)return 1;c=null!=c?c:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var e=c.width-2*d;c=c.height-2*d;d=b.getGraphBounds().clone();b=b.getView().getScale();\r\nd.width/=b;d.height/=b;b=d.width;var f=Math.sqrt(a);d=Math.sqrt(b/d.height/(e/c));c=f*d;d=f/d;if(1>c&&d>a){var g=d/a;d=a;c/=g}1>d&&c>a&&(g=c/a,c=a,d/=g);g=Math.ceil(c)*Math.ceil(d);for(f=0;g>a;){var g=Math.floor(c)/c,k=Math.floor(d)/d;1==g&&(g=Math.floor(c-1)/c);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;c*=g;d*=g;g=Math.ceil(c)*Math.ceil(d);f++;if(10<f)break}return e*c/b*.99999},show:function(a,b,c,d,e,f){c=null!=c?c:0;d=null!=d?d:0;null==b?b=window.open().document:b.open();9==document.documentMode&&\r\nb.writeln(\'\\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=9"><![endif]--\\x3e\');var g=a.getGraphBounds(),k=Math.ceil(c-g.x),l=Math.ceil(d-g.y);null==e&&(e=Math.ceil(g.width+c)+Math.ceil(Math.ceil(g.x)-g.x));null==f&&(f=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="<html><head>";g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)d+=g[c].outerHTML;d+="<style>";for(c=0;c<document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=\r\nd+\'</style></head><body style="margin:0px;">\'+(\'<div style="position:absolute;overflow:hidden;width:\'+e+"px;height:"+f+\'px;"><div style="position:relative;left:\'+k+"px;top:"+l+\'px;">\')+a.container.innerHTML;b.writeln(d+"</div></div></body><html>");b.close()}else{b.writeln("<html><head>");g=document.getElementsByTagName("base");for(c=0;c<g.length;c++)b.writeln(mxUtils.getOuterHtml(g[c]));d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));d=document.getElementsByTagName("style");\r\nfor(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c]));b.writeln(\'</head><body style="margin:0px;"></body></html>\');b.close();c=b.createElement("div");c.position="absolute";c.overflow="hidden";c.style.width=e+"px";c.style.height=f+"px";e=b.createElement("div");e.style.position="absolute";e.style.left=k+"px";e.style.top=l+"px";f=a.container.firstChild;for(d=null;null!=f;)g=f.cloneNode(!0),f==a.view.drawPane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);\r\nnull!=e.firstChild&&b.body.appendChild(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(b.body);return b},printScreen:function(a){var b=window.open();a.getGraphBounds();mxUtils.show(a,b.document);a=function(){b.focus();b.print();b.close()};mxClient.IS_GC?b.setTimeout(a,500):a()},popup:function(a,b){if(b){var c=document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460px";\r\nvar d=document.createElement("pre");d.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\\n/g,"<br>").replace(/ /g,"&nbsp;");c.appendChild(d);c=new mxWindow("Popup Window",c,document.body.clientWidth/2-320,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)/2-240,640,480,!1,!0);c.setClosable(!0);c.setVisible(!0)}else mxClient.IS_NS?(c=window.open(),c.document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),d=c.document.createElement("pre"),\r\nd.innerHTML=mxUtils.htmlEntities(a,!1).replace(/\\n/g,"<br>").replace(/ /g,"&nbsp;"),c.document.body.appendChild(d))},alert:function(a){alert(a)},prompt:function(a,b){return prompt(a,null!=b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createElement("div");e.style.padding="20px";var f=document.createElement("img");f.setAttribute("src",d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChild(f);e.appendChild(document.createTextNode(" "));\r\ne.appendChild(document.createTextNode(" "));e.appendChild(document.createTextNode(" "));mxUtils.write(e,a);a=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,e,(a-b)/2,d/4,b,null,!1,!0);c&&(mxUtils.br(e),b=document.createElement("p"),c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("style","float:right"),mxEvent.addListener(c,"click",\r\nfunction(a){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),b.appendChild(c),e.appendChild(b),mxUtils.br(e),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(a,b,c,d,e,f,g,k,l,m){a=new mxDragSource(a,c);a.dragOffset=new mxPoint(null!=e?e:0,null!=f?f:mxConstants.TOOLTIP_VERTICAL_OFFSET);a.autoscroll=g;a.setGuidesEnabled(!1);null!=l&&(a.highlightDropTargets=l);null!=m&&(a.getDropTarget=m);a.getGraphForEvent=function(a){return"function"==\r\ntypeof b?b(a):b};null!=d&&(a.createDragElement=function(){return d.cloneNode(!0)},k&&(a.createPreviewElement=function(a){var b=d.cloneNode(!0),c=parseInt(b.style.width),e=parseInt(b.style.height);b.style.width=Math.round(c*a.view.scale)+"px";b.style.height=Math.round(e*a.view.scale)+"px";return b}));return a}},mxConstants={DEFAULT_HOTSPOT:.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:"exact",RENDERING_HINT_FASTER:"faster",RENDERING_HINT_FASTEST:"fastest",DIALECT_SVG:"svg",DIALECT_MIXEDHTML:"mixedHtml",\r\nDIALECT_PREFERHTML:"preferHtml",DIALECT_STRICTHTML:"strictHtml",NS_SVG:"http://www.w3.org/2000/svg",NS_XHTML:"http://www.w3.org/1999/xhtml",NS_XLINK:"http://www.w3.org/1999/xlink",SHADOWCOLOR:"gray",VML_SHADOWCOLOR:"gray",SHADOW_OFFSET_X:2,SHADOW_OFFSET_Y:3,SHADOW_OPACITY:1,NODETYPE_ELEMENT:1,NODETYPE_ATTRIBUTE:2,NODETYPE_TEXT:3,NODETYPE_CDATA:4,NODETYPE_ENTITY_REFERENCE:5,NODETYPE_ENTITY:6,NODETYPE_PROCESSING_INSTRUCTION:7,NODETYPE_COMMENT:8,NODETYPE_DOCUMENT:9,NODETYPE_DOCUMENTTYPE:10,NODETYPE_DOCUMENT_FRAGMENT:11,\r\nNODETYPE_NOTATION:12,TOOLTIP_VERTICAL_OFFSET:16,DEFAULT_VALID_COLOR:"#00FF00",DEFAULT_INVALID_COLOR:"#FF0000",OUTLINE_HIGHLIGHT_COLOR:"#00FF00",OUTLINE_HIGHLIGHT_STROKEWIDTH:5,HIGHLIGHT_STROKEWIDTH:3,HIGHLIGHT_SIZE:2,HIGHLIGHT_OPACITY:100,CURSOR_MOVABLE_VERTEX:"move",CURSOR_MOVABLE_EDGE:"move",CURSOR_LABEL_HANDLE:"default",CURSOR_TERMINAL_HANDLE:"pointer",CURSOR_BEND_HANDLE:"crosshair",CURSOR_VIRTUAL_BEND_HANDLE:"crosshair",CURSOR_CONNECT:"pointer",HIGHLIGHT_COLOR:"#00FF00",CONNECT_TARGET_COLOR:"#0000FF",\r\nINVALID_CONNECT_TARGET_COLOR:"#FF0000",DROP_TARGET_COLOR:"#0000FF",VALID_COLOR:"#00FF00",INVALID_COLOR:"#FF0000",EDGE_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,EDGE_SELECTION_DASHED:!0,GUIDE_COLOR:"#FF0000",GUIDE_STROKEWIDTH:1,OUTLINE_COLOR:"#0099FF",OUTLINE_STROKEWIDTH:mxClient.IS_IE?2:3,HANDLE_SIZE:6,LABEL_HANDLE_SIZE:4,HANDLE_FILLCOLOR:"#00FF00",HANDLE_STROKECOLOR:"black",LABEL_HANDLE_FILLCOLOR:"yellow",\r\nCONNECT_HANDLE_FILLCOLOR:"#0000FF",LOCKED_HANDLE_FILLCOLOR:"#FF0000",OUTLINE_HANDLE_FILLCOLOR:"#00FFFF",OUTLINE_HANDLE_STROKECOLOR:"#0033FF",DEFAULT_FONTFAMILY:"Arial,Helvetica",DEFAULT_FONTSIZE:11,DEFAULT_TEXT_DIRECTION:"",LINE_HEIGHT:1.2,WORD_WRAP:"normal",ABSOLUTE_LINE_HEIGHT:!1,DEFAULT_FONTSTYLE:0,DEFAULT_STARTSIZE:40,DEFAULT_MARKERSIZE:6,DEFAULT_IMAGESIZE:24,ENTITY_SEGMENT:30,RECTANGLE_ROUNDING_FACTOR:.15,LINE_ARCSIZE:20,ARROW_SPACING:0,ARROW_WIDTH:30,ARROW_SIZE:30,PAGE_FORMAT_A4_PORTRAIT:new mxRectangle(0,\r\n0,827,1169),PAGE_FORMAT_A4_LANDSCAPE:new mxRectangle(0,0,1169,827),PAGE_FORMAT_LETTER_PORTRAIT:new mxRectangle(0,0,850,1100),PAGE_FORMAT_LETTER_LANDSCAPE:new mxRectangle(0,0,1100,850),NONE:"none",STYLE_PERIMETER:"perimeter",STYLE_SOURCE_PORT:"sourcePort",STYLE_TARGET_PORT:"targetPort",STYLE_PORT_CONSTRAINT:"portConstraint",STYLE_PORT_CONSTRAINT_ROTATION:"portConstraintRotation",STYLE_SOURCE_PORT_CONSTRAINT:"sourcePortConstraint",STYLE_TARGET_PORT_CONSTRAINT:"targetPortConstraint",STYLE_OPACITY:"opacity",\r\nSTYLE_FILL_OPACITY:"fillOpacity",STYLE_STROKE_OPACITY:"strokeOpacity",STYLE_TEXT_OPACITY:"textOpacity",STYLE_TEXT_DIRECTION:"textDirection",STYLE_OVERFLOW:"overflow",STYLE_BLOCK_SPACING:"blockSpacing",STYLE_ORTHOGONAL:"orthogonal",STYLE_EXIT_X:"exitX",STYLE_EXIT_Y:"exitY",STYLE_EXIT_DX:"exitDx",STYLE_EXIT_DY:"exitDy",STYLE_EXIT_PERIMETER:"exitPerimeter",STYLE_ENTRY_X:"entryX",STYLE_ENTRY_Y:"entryY",STYLE_ENTRY_DX:"entryDx",STYLE_ENTRY_DY:"entryDy",STYLE_ENTRY_PERIMETER:"entryPerimeter",STYLE_WHITE_SPACE:"whiteSpace",\r\nSTYLE_ROTATION:"rotation",STYLE_FILLCOLOR:"fillColor",STYLE_POINTER_EVENTS:"pointerEvents",STYLE_SWIMLANE_FILLCOLOR:"swimlaneFillColor",STYLE_MARGIN:"margin",STYLE_GRADIENTCOLOR:"gradientColor",STYLE_GRADIENT_DIRECTION:"gradientDirection",STYLE_STROKECOLOR:"strokeColor",STYLE_SEPARATORCOLOR:"separatorColor",STYLE_STROKEWIDTH:"strokeWidth",STYLE_ALIGN:"align",STYLE_VERTICAL_ALIGN:"verticalAlign",STYLE_LABEL_WIDTH:"labelWidth",STYLE_LABEL_POSITION:"labelPosition",STYLE_VERTICAL_LABEL_POSITION:"verticalLabelPosition",\r\nSTYLE_IMAGE_ASPECT:"imageAspect",STYLE_IMAGE_ALIGN:"imageAlign",STYLE_IMAGE_VERTICAL_ALIGN:"imageVerticalAlign",STYLE_GLASS:"glass",STYLE_IMAGE:"image",STYLE_IMAGE_WIDTH:"imageWidth",STYLE_IMAGE_HEIGHT:"imageHeight",STYLE_IMAGE_BACKGROUND:"imageBackground",STYLE_IMAGE_BORDER:"imageBorder",STYLE_FLIPH:"flipH",STYLE_FLIPV:"flipV",STYLE_NOLABEL:"noLabel",STYLE_NOEDGESTYLE:"noEdgeStyle",STYLE_LABEL_BACKGROUNDCOLOR:"labelBackgroundColor",STYLE_LABEL_BORDERCOLOR:"labelBorderColor",STYLE_LABEL_PADDING:"labelPadding",\r\nSTYLE_INDICATOR_SHAPE:"indicatorShape",STYLE_INDICATOR_IMAGE:"indicatorImage",STYLE_INDICATOR_COLOR:"indicatorColor",STYLE_INDICATOR_STROKECOLOR:"indicatorStrokeColor",STYLE_INDICATOR_GRADIENTCOLOR:"indicatorGradientColor",STYLE_INDICATOR_SPACING:"indicatorSpacing",STYLE_INDICATOR_WIDTH:"indicatorWidth",STYLE_INDICATOR_HEIGHT:"indicatorHeight",STYLE_INDICATOR_DIRECTION:"indicatorDirection",STYLE_SHADOW:"shadow",STYLE_SEGMENT:"segment",STYLE_ENDARROW:"endArrow",STYLE_STARTARROW:"startArrow",STYLE_ENDSIZE:"endSize",\r\nSTYLE_STARTSIZE:"startSize",STYLE_SWIMLANE_LINE:"swimlaneLine",STYLE_ENDFILL:"endFill",STYLE_STARTFILL:"startFill",STYLE_DASHED:"dashed",STYLE_DASH_PATTERN:"dashPattern",STYLE_FIX_DASH:"fixDash",STYLE_ROUNDED:"rounded",STYLE_CURVED:"curved",STYLE_ARCSIZE:"arcSize",STYLE_ABSOLUTE_ARCSIZE:"absoluteArcSize",STYLE_SOURCE_PERIMETER_SPACING:"sourcePerimeterSpacing",STYLE_TARGET_PERIMETER_SPACING:"targetPerimeterSpacing",STYLE_PERIMETER_SPACING:"perimeterSpacing",STYLE_SPACING:"spacing",STYLE_SPACING_TOP:"spacingTop",\r\nSTYLE_SPACING_LEFT:"spacingLeft",STYLE_SPACING_BOTTOM:"spacingBottom",STYLE_SPACING_RIGHT:"spacingRight",STYLE_HORIZONTAL:"horizontal",STYLE_DIRECTION:"direction",STYLE_ANCHOR_POINT_DIRECTION:"anchorPointDirection",STYLE_ELBOW:"elbow",STYLE_FONTCOLOR:"fontColor",STYLE_FONTFAMILY:"fontFamily",STYLE_FONTSIZE:"fontSize",STYLE_FONTSTYLE:"fontStyle",STYLE_ASPECT:"aspect",STYLE_AUTOSIZE:"autosize",STYLE_FOLDABLE:"foldable",STYLE_EDITABLE:"editable",STYLE_BACKGROUND_OUTLINE:"backgroundOutline",STYLE_BENDABLE:"bendable",\r\nSTYLE_MOVABLE:"movable",STYLE_RESIZABLE:"resizable",STYLE_RESIZE_WIDTH:"resizeWidth",STYLE_RESIZE_HEIGHT:"resizeHeight",STYLE_ROTATABLE:"rotatable",STYLE_CLONEABLE:"cloneable",STYLE_DELETABLE:"deletable",STYLE_SHAPE:"shape",STYLE_EDGE:"edgeStyle",STYLE_JETTY_SIZE:"jettySize",STYLE_SOURCE_JETTY_SIZE:"sourceJettySize",STYLE_TARGET_JETTY_SIZE:"targetJettySize",STYLE_LOOP:"loopStyle",STYLE_ORTHOGONAL_LOOP:"orthogonalLoop",STYLE_ROUTING_CENTER_X:"routingCenterX",STYLE_ROUTING_CENTER_Y:"routingCenterY",\r\nFONT_BOLD:1,FONT_ITALIC:2,FONT_UNDERLINE:4,FONT_STRIKETHROUGH:8,SHAPE_RECTANGLE:"rectangle",SHAPE_ELLIPSE:"ellipse",SHAPE_DOUBLE_ELLIPSE:"doubleEllipse",SHAPE_RHOMBUS:"rhombus",SHAPE_LINE:"line",SHAPE_IMAGE:"image",SHAPE_ARROW:"arrow",SHAPE_ARROW_CONNECTOR:"arrowConnector",SHAPE_LABEL:"label",SHAPE_CYLINDER:"cylinder",SHAPE_SWIMLANE:"swimlane",SHAPE_CONNECTOR:"connector",SHAPE_ACTOR:"actor",SHAPE_CLOUD:"cloud",SHAPE_TRIANGLE:"triangle",SHAPE_HEXAGON:"hexagon",ARROW_CLASSIC:"classic",ARROW_CLASSIC_THIN:"classicThin",\r\nARROW_BLOCK:"block",ARROW_BLOCK_THIN:"blockThin",ARROW_OPEN:"open",ARROW_OPEN_THIN:"openThin",ARROW_OVAL:"oval",ARROW_DIAMOND:"diamond",ARROW_DIAMOND_THIN:"diamondThin",ALIGN_LEFT:"left",ALIGN_CENTER:"center",ALIGN_RIGHT:"right",ALIGN_TOP:"top",ALIGN_MIDDLE:"middle",ALIGN_BOTTOM:"bottom",DIRECTION_NORTH:"north",DIRECTION_SOUTH:"south",DIRECTION_EAST:"east",DIRECTION_WEST:"west",DIRECTION_RADIAL:"radial",TEXT_DIRECTION_DEFAULT:"",TEXT_DIRECTION_AUTO:"auto",TEXT_DIRECTION_LTR:"ltr",TEXT_DIRECTION_RTL:"rtl",\r\nDIRECTION_MASK_NONE:0,DIRECTION_MASK_WEST:1,DIRECTION_MASK_NORTH:2,DIRECTION_MASK_SOUTH:4,DIRECTION_MASK_EAST:8,DIRECTION_MASK_ALL:15,ELBOW_VERTICAL:"vertical",ELBOW_HORIZONTAL:"horizontal",EDGESTYLE_ELBOW:"elbowEdgeStyle",EDGESTYLE_ENTITY_RELATION:"entityRelationEdgeStyle",EDGESTYLE_LOOP:"loopEdgeStyle",EDGESTYLE_SIDETOSIDE:"sideToSideEdgeStyle",EDGESTYLE_TOPTOBOTTOM:"topToBottomEdgeStyle",EDGESTYLE_ORTHOGONAL:"orthogonalEdgeStyle",EDGESTYLE_SEGMENT:"segmentEdgeStyle",PERIMETER_ELLIPSE:"ellipsePerimeter",\r\nPERIMETER_RECTANGLE:"rectanglePerimeter",PERIMETER_RHOMBUS:"rhombusPerimeter",PERIMETER_HEXAGON:"hexagonPerimeter",PERIMETER_TRIANGLE:"trianglePerimeter"};function mxEventObject(a){this.name=a;this.properties=[];for(var b=1;b<arguments.length;b+=2)null!=arguments[b+1]&&(this.properties[arguments[b]]=arguments[b+1])}mxEventObject.prototype.name=null;mxEventObject.prototype.properties=null;mxEventObject.prototype.consumed=!1;mxEventObject.prototype.getName=function(){return this.name};\r\nmxEventObject.prototype.getProperties=function(){return this.properties};mxEventObject.prototype.getProperty=function(a){return this.properties[a]};mxEventObject.prototype.isConsumed=function(){return this.consumed};mxEventObject.prototype.consume=function(){this.consumed=!0};function mxMouseEvent(a,b){this.evt=a;this.sourceState=this.state=b}mxMouseEvent.prototype.consumed=!1;mxMouseEvent.prototype.evt=null;mxMouseEvent.prototype.graphX=null;mxMouseEvent.prototype.graphY=null;\r\nmxMouseEvent.prototype.state=null;mxMouseEvent.prototype.sourceState=null;mxMouseEvent.prototype.getEvent=function(){return this.evt};mxMouseEvent.prototype.getSource=function(){return mxEvent.getSource(this.evt)};mxMouseEvent.prototype.isSource=function(a){return null!=a?mxUtils.isAncestorNode(a.node,this.getSource()):!1};mxMouseEvent.prototype.getX=function(){return mxEvent.getClientX(this.getEvent())};mxMouseEvent.prototype.getY=function(){return mxEvent.getClientY(this.getEvent())};\r\nmxMouseEvent.prototype.getGraphX=function(){return this.graphX};mxMouseEvent.prototype.getGraphY=function(){return this.graphY};mxMouseEvent.prototype.getState=function(){return this.state};mxMouseEvent.prototype.getCell=function(){var a=this.getState();return null!=a?a.cell:null};mxMouseEvent.prototype.isPopupTrigger=function(){return mxEvent.isPopupTrigger(this.getEvent())};mxMouseEvent.prototype.isConsumed=function(){return this.consumed};\r\nmxMouseEvent.prototype.consume=function(a){(null!=a?a:null!=this.evt.touches||mxEvent.isMouseEvent(this.evt))&&this.evt.preventDefault&&this.evt.preventDefault();mxClient.IS_IE&&(this.evt.returnValue=!0);this.consumed=!0};function mxEventSource(a){this.setEventSource(a)}mxEventSource.prototype.eventListeners=null;mxEventSource.prototype.eventsEnabled=!0;mxEventSource.prototype.eventSource=null;mxEventSource.prototype.isEventsEnabled=function(){return this.eventsEnabled};\r\nmxEventSource.prototype.setEventsEnabled=function(a){this.eventsEnabled=a};mxEventSource.prototype.getEventSource=function(){return this.eventSource};mxEventSource.prototype.setEventSource=function(a){this.eventSource=a};mxEventSource.prototype.addListener=function(a,b){null==this.eventListeners&&(this.eventListeners=[]);this.eventListeners.push(a);this.eventListeners.push(b)};\r\nmxEventSource.prototype.removeListener=function(a){if(null!=this.eventListeners)for(var b=0;b<this.eventListeners.length;)this.eventListeners[b+1]==a?this.eventListeners.splice(b,2):b+=2};\r\nmxEventSource.prototype.fireEvent=function(a,b){if(null!=this.eventListeners&&this.isEventsEnabled()){null==a&&(a=new mxEventObject);null==b&&(b=this.getEventSource());null==b&&(b=this);for(var c=[b,a],d=0;d<this.eventListeners.length;d+=2){var e=this.eventListeners[d];null!=e&&e!=a.getName()||this.eventListeners[d+1].apply(this,c)}}};\r\nvar mxEvent={addListener:function(){if(window.addEventListener){var a=!1;try{document.addEventListener("test",function(){},Object.defineProperty&&Object.defineProperty({},"passive",{get:function(){a=!0}}))}catch(b){}return function(b,c,d){b.addEventListener(c,d,a?{passive:!1}:!1);null==b.mxListenerList&&(b.mxListenerList=[]);b.mxListenerList.push({name:c,f:d})}}return function(a,c,d){a.attachEvent("on"+c,d);null==a.mxListenerList&&(a.mxListenerList=[]);a.mxListenerList.push({name:c,f:d})}}(),removeListener:function(){var a=\r\nfunction(a,c,d){if(null!=a.mxListenerList){c=a.mxListenerList.length;for(var b=0;b<c;b++)if(a.mxListenerList[b].f==d){a.mxListenerList.splice(b,1);break}0==a.mxListenerList.length&&(a.mxListenerList=null)}};return window.removeEventListener?function(b,c,d){b.removeEventListener(c,d,!1);a(b,c,d)}:function(b,c,d){b.detachEvent("on"+c,d);a(b,c,d)}}(),removeAllListeners:function(a){var b=a.mxListenerList;if(null!=b)for(;0<b.length;){var c=b[0];mxEvent.removeListener(a,c.name,c.f)}},addGestureListeners:function(a,\r\nb,c,d){null!=b&&mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",b);null!=c&&mxEvent.addListener(a,mxClient.IS_POINTER?"pointermove":"mousemove",c);null!=d&&mxEvent.addListener(a,mxClient.IS_POINTER?"pointerup":"mouseup",d);!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&(null!=b&&mxEvent.addListener(a,"touchstart",b),null!=c&&mxEvent.addListener(a,"touchmove",c),null!=d&&mxEvent.addListener(a,"touchend",d))},removeGestureListeners:function(a,b,c,d){null!=b&&mxEvent.removeListener(a,mxClient.IS_POINTER?\r\n"pointerdown":"mousedown",b);null!=c&&mxEvent.removeListener(a,mxClient.IS_POINTER?"pointermove":"mousemove",c);null!=d&&mxEvent.removeListener(a,mxClient.IS_POINTER?"pointerup":"mouseup",d);!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&(null!=b&&mxEvent.removeListener(a,"touchstart",b),null!=c&&mxEvent.removeListener(a,"touchmove",c),null!=d&&mxEvent.removeListener(a,"touchend",d))},redirectMouseEvents:function(a,b,c,d,e,f,g){var k=function(a){return"function"==typeof c?c(a):c};mxEvent.addGestureListeners(a,\r\nfunction(a){null!=d?d(a):mxEvent.isConsumed(a)||b.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a,k(a)))},function(a){null!=e?e(a):mxEvent.isConsumed(a)||b.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a,k(a)))},function(a){null!=f?f(a):mxEvent.isConsumed(a)||b.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(a,k(a)))});mxEvent.addListener(a,"dblclick",function(a){if(null!=g)g(a);else if(!mxEvent.isConsumed(a)){var c=k(a);b.dblClick(a,null!=c?c.cell:null)}})},release:function(a){try{if(null!=\r\na){mxEvent.removeAllListeners(a);var b=a.childNodes;if(null!=b){var c=b.length;for(a=0;a<c;a+=1)mxEvent.release(b[a])}}}catch(d){}},addMouseWheelListener:function(a,b){if(null!=a){b=null!=b?b:window;if(mxClient.IS_SF&&!mxClient.IS_TOUCH){var c=1;mxEvent.addListener(b,"gesturestart",function(a){mxEvent.consume(a);c=1});mxEvent.addListener(b,"gesturechange",function(b){mxEvent.consume(b);var d=c-b.scale;.2<Math.abs(d)&&(a(b,0>d,!0),c=b.scale)});mxEvent.addListener(b,"gestureend",function(a){mxEvent.consume(a)})}else{var d=\r\n[],e=0,f=0;mxEvent.addGestureListeners(b,mxUtils.bind(this,function(a){mxEvent.isMouseEvent(a)||null==a.pointerId||d.push(a)}),mxUtils.bind(this,function(b){if(!mxEvent.isMouseEvent(b)&&2==d.length){for(var c=0;c<d.length;c++)if(b.pointerId==d[c].pointerId){d[c]=b;break}b=Math.abs(d[0].clientX-d[1].clientX);var c=Math.abs(d[0].clientY-d[1].clientY),g=Math.abs(b-e),m=Math.abs(c-f);if(g>mxEvent.PINCH_THRESHOLD||m>mxEvent.PINCH_THRESHOLD)a(d[0],g>m?b>e:c>f,!0,d[0].clientX+(d[1].clientX-d[0].clientX)/\r\n2,d[0].clientY+(d[1].clientY-d[0].clientY)/2),e=b,f=c}}),mxUtils.bind(this,function(a){d=[];f=e=0}))}mxEvent.addListener(b,"wheel",function(b){null==b&&(b=window.event);b.ctrlKey&&b.preventDefault();(.5<Math.abs(b.deltaX)||.5<Math.abs(b.deltaY))&&a(b,0==b.deltaY?0<-b.deltaX:0<-b.deltaY)})}},disableContextMenu:function(a){mxEvent.addListener(a,"contextmenu",function(a){a.preventDefault&&a.preventDefault();return!1})},getSource:function(a){return null!=a.srcElement?a.srcElement:a.target},isConsumed:function(a){return null!=\r\na.isConsumed&&a.isConsumed},isTouchEvent:function(a){return null!=a.pointerType?"touch"==a.pointerType||a.pointerType===a.MSPOINTER_TYPE_TOUCH:null!=a.mozInputSource?5==a.mozInputSource:0==a.type.indexOf("touch")},isPenEvent:function(a){return null!=a.pointerType?"pen"==a.pointerType||a.pointerType===a.MSPOINTER_TYPE_PEN:null!=a.mozInputSource?2==a.mozInputSource:0==a.type.indexOf("pen")},isMultiTouchEvent:function(a){return null!=a.type&&0==a.type.indexOf("touch")&&null!=a.touches&&1<a.touches.length},\r\nisMouseEvent:function(a){return null!=a.pointerType?"mouse"==a.pointerType||a.pointerType===a.MSPOINTER_TYPE_MOUSE:null!=a.mozInputSource?1==a.mozInputSource:0==a.type.indexOf("mouse")},isLeftMouseButton:function(a){return"buttons"in a&&("mousedown"==a.type||"mousemove"==a.type)?1==a.buttons:"which"in a?1===a.which:1===a.button},isMiddleMouseButton:function(a){return"which"in a?2===a.which:4===a.button},isRightMouseButton:function(a){return"which"in a?3===a.which:2===a.button},isPopupTrigger:function(a){return mxEvent.isRightMouseButton(a)||\r\nmxClient.IS_MAC&&mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)&&!mxEvent.isMetaDown(a)&&!mxEvent.isAltDown(a)},isShiftDown:function(a){return null!=a?a.shiftKey:!1},isAltDown:function(a){return null!=a?a.altKey:!1},isControlDown:function(a){return null!=a?a.ctrlKey:!1},isMetaDown:function(a){return null!=a?a.metaKey:!1},getMainEvent:function(a){"touchstart"!=a.type&&"touchmove"!=a.type||null==a.touches||null==a.touches[0]?"touchend"==a.type&&null!=a.changedTouches&&null!=a.changedTouches[0]&&\r\n(a=a.changedTouches[0]):a=a.touches[0];return a},getClientX:function(a){return mxEvent.getMainEvent(a).clientX},getClientY:function(a){return mxEvent.getMainEvent(a).clientY},consume:function(a,b,c){c=null!=c?c:!0;if(null!=b?b:1)a.preventDefault?(c&&a.stopPropagation(),a.preventDefault()):c&&(a.cancelBubble=!0);a.isConsumed=!0;a.preventDefault||(a.returnValue=!1)},LABEL_HANDLE:-1,ROTATION_HANDLE:-2,CUSTOM_HANDLE:-100,VIRTUAL_HANDLE:-1E5,MOUSE_DOWN:"mouseDown",MOUSE_MOVE:"mouseMove",MOUSE_UP:"mouseUp",\r\nACTIVATE:"activate",RESIZE_START:"resizeStart",RESIZE:"resize",RESIZE_END:"resizeEnd",MOVE_START:"moveStart",MOVE:"move",MOVE_END:"moveEnd",PAN_START:"panStart",PAN:"pan",PAN_END:"panEnd",MINIMIZE:"minimize",NORMALIZE:"normalize",MAXIMIZE:"maximize",HIDE:"hide",SHOW:"show",CLOSE:"close",DESTROY:"destroy",REFRESH:"refresh",SIZE:"size",SELECT:"select",FIRED:"fired",FIRE_MOUSE_EVENT:"fireMouseEvent",GESTURE:"gesture",TAP_AND_HOLD:"tapAndHold",GET:"get",RECEIVE:"receive",CONNECT:"connect",DISCONNECT:"disconnect",\r\nSUSPEND:"suspend",RESUME:"resume",MARK:"mark",ROOT:"root",POST:"post",OPEN:"open",SAVE:"save",BEFORE_ADD_VERTEX:"beforeAddVertex",ADD_VERTEX:"addVertex",AFTER_ADD_VERTEX:"afterAddVertex",DONE:"done",EXECUTE:"execute",EXECUTED:"executed",BEGIN_UPDATE:"beginUpdate",START_EDIT:"startEdit",END_UPDATE:"endUpdate",END_EDIT:"endEdit",BEFORE_UNDO:"beforeUndo",UNDO:"undo",REDO:"redo",CHANGE:"change",NOTIFY:"notify",LAYOUT_CELLS:"layoutCells",CLICK:"click",SCALE:"scale",TRANSLATE:"translate",SCALE_AND_TRANSLATE:"scaleAndTranslate",\r\nUP:"up",DOWN:"down",ADD:"add",REMOVE:"remove",CLEAR:"clear",ADD_CELLS:"addCells",CELLS_ADDED:"cellsAdded",MOVE_CELLS:"moveCells",CELLS_MOVED:"cellsMoved",RESIZE_CELLS:"resizeCells",CELLS_RESIZED:"cellsResized",TOGGLE_CELLS:"toggleCells",CELLS_TOGGLED:"cellsToggled",ORDER_CELLS:"orderCells",CELLS_ORDERED:"cellsOrdered",REMOVE_CELLS:"removeCells",CELLS_REMOVED:"cellsRemoved",GROUP_CELLS:"groupCells",UNGROUP_CELLS:"ungroupCells",REMOVE_CELLS_FROM_PARENT:"removeCellsFromParent",FOLD_CELLS:"foldCells",\r\nCELLS_FOLDED:"cellsFolded",ALIGN_CELLS:"alignCells",LABEL_CHANGED:"labelChanged",CONNECT_CELL:"connectCell",CELL_CONNECTED:"cellConnected",SPLIT_EDGE:"splitEdge",FLIP_EDGE:"flipEdge",START_EDITING:"startEditing",EDITING_STARTED:"editingStarted",EDITING_STOPPED:"editingStopped",ADD_OVERLAY:"addOverlay",REMOVE_OVERLAY:"removeOverlay",UPDATE_CELL_SIZE:"updateCellSize",ESCAPE:"escape",DOUBLE_CLICK:"doubleClick",START:"start",RESET:"reset",PINCH_THRESHOLD:10};\r\nfunction mxXmlRequest(a,b,c,d,e,f){this.url=a;this.params=b;this.method=c||"POST";this.async=null!=d?d:!0;this.username=e;this.password=f}mxXmlRequest.prototype.url=null;mxXmlRequest.prototype.params=null;mxXmlRequest.prototype.method=null;mxXmlRequest.prototype.async=null;mxXmlRequest.prototype.binary=!1;mxXmlRequest.prototype.withCredentials=!1;mxXmlRequest.prototype.username=null;mxXmlRequest.prototype.password=null;mxXmlRequest.prototype.request=null;\r\nmxXmlRequest.prototype.decodeSimulateValues=!1;mxXmlRequest.prototype.isBinary=function(){return this.binary};mxXmlRequest.prototype.setBinary=function(a){this.binary=a};mxXmlRequest.prototype.getText=function(){return this.request.responseText};mxXmlRequest.prototype.isReady=function(){return 4==this.request.readyState};mxXmlRequest.prototype.getDocumentElement=function(){var a=this.getXml();return null!=a?a.documentElement:null};\r\nmxXmlRequest.prototype.getXml=function(){var a=this.request.responseXML;if(9<=document.documentMode||null==a||null==a.documentElement)a=mxUtils.parseXml(this.request.responseText);return a};mxXmlRequest.prototype.getStatus=function(){return null!=this.request?this.request.status:null};\r\nmxXmlRequest.prototype.create=function(){if(window.XMLHttpRequest)return function(){var a=new XMLHttpRequest;this.isBinary()&&a.overrideMimeType&&a.overrideMimeType("text/plain; charset=x-user-defined");return a};if("undefined"!=typeof ActiveXObject)return function(){return new ActiveXObject("Microsoft.XMLHTTP")}}();\r\nmxXmlRequest.prototype.send=function(a,b,c,d){this.request=this.create();null!=this.request&&(null!=a&&(this.request.onreadystatechange=mxUtils.bind(this,function(){this.isReady()&&(a(this),this.request.onreadystatechange=null)})),this.request.open(this.method,this.url,this.async,this.username,this.password),this.setRequestHeaders(this.request,this.params),window.XMLHttpRequest&&this.withCredentials&&(this.request.withCredentials="true"),(null==document.documentMode||9<document.documentMode)&&window.XMLHttpRequest&&\r\nnull!=c&&null!=d&&(this.request.timeout=c,this.request.ontimeout=d),this.request.send(this.params))};mxXmlRequest.prototype.setRequestHeaders=function(a,b){null!=b&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded")};\r\nmxXmlRequest.prototype.simulate=function(a,b){a=a||document;var c=null;a==document&&(c=window.onbeforeunload,window.onbeforeunload=null);var d=a.createElement("form");d.setAttribute("method",this.method);d.setAttribute("action",this.url);null!=b&&d.setAttribute("target",b);d.style.display="none";d.style.visibility="hidden";for(var e=0<this.params.indexOf("&")?this.params.split("&"):this.params.split(),f=0;f<e.length;f++){var g=e[f].indexOf("=");if(0<g){var k=e[f].substring(0,g),g=e[f].substring(g+\r\n1);this.decodeSimulateValues&&(g=decodeURIComponent(g));var l=a.createElement("textarea");l.setAttribute("wrap","off");l.setAttribute("name",k);mxUtils.write(l,g);d.appendChild(l)}}a.body.appendChild(d);d.submit();null!=d.parentNode&&d.parentNode.removeChild(d);null!=c&&(window.onbeforeunload=c)};\r\nvar mxClipboard={STEPSIZE:10,insertCount:1,cells:null,setCells:function(a){mxClipboard.cells=a},getCells:function(){return mxClipboard.cells},isEmpty:function(){return null==mxClipboard.getCells()},cut:function(a,b){b=mxClipboard.copy(a,b);mxClipboard.insertCount=0;mxClipboard.removeCells(a,b);return b},removeCells:function(a,b){a.removeCells(b)},copy:function(a,b){b=b||a.getSelectionCells();var c=a.getExportableCells(a.model.getTopmostCells(b));mxClipboard.insertCount=1;mxClipboard.setCells(a.cloneCells(c));\r\nreturn c},paste:function(a){var b=null;if(!mxClipboard.isEmpty()){var b=a.getImportableCells(mxClipboard.getCells()),c=mxClipboard.insertCount*mxClipboard.STEPSIZE,d=a.getDefaultParent(),b=a.importCells(b,c,c,d);mxClipboard.insertCount++;a.setSelectionCells(b)}return b}};\r\nfunction mxWindow(a,b,c,d,e,f,g,k,l,m){null!=b&&(g=null!=g?g:!0,this.content=b,this.init(c,d,e,f,m),this.installMaximizeHandler(),this.installMinimizeHandler(),this.installCloseHandler(),this.setMinimizable(g),this.setTitle(a),(null==k||k)&&this.installMoveHandler(),null!=l&&null!=l.parentNode?l.parentNode.replaceChild(this.div,l):document.body.appendChild(this.div))}mxWindow.prototype=new mxEventSource;mxWindow.prototype.constructor=mxWindow;mxWindow.prototype.closeImage=mxClient.imageBasePath+"/close.gif";\r\nmxWindow.prototype.minimizeImage=mxClient.imageBasePath+"/minimize.gif";mxWindow.prototype.normalizeImage=mxClient.imageBasePath+"/normalize.gif";mxWindow.prototype.maximizeImage=mxClient.imageBasePath+"/maximize.gif";mxWindow.prototype.resizeImage=mxClient.imageBasePath+"/resize.gif";mxWindow.prototype.visible=!1;mxWindow.prototype.minimumSize=new mxRectangle(0,0,50,40);mxWindow.prototype.destroyOnClose=!0;\r\nmxWindow.prototype.contentHeightCorrection=8==document.documentMode||7==document.documentMode?6:2;mxWindow.prototype.title=null;mxWindow.prototype.content=null;\r\nmxWindow.prototype.init=function(a,b,c,d,e){e=null!=e?e:"mxWindow";this.div=document.createElement("div");this.div.className=e;this.div.style.left=a+"px";this.div.style.top=b+"px";this.table=document.createElement("table");this.table.className=e;mxClient.IS_POINTER&&(this.div.style.touchAction="none");null!=c&&(this.div.style.width=c+"px",this.table.style.width=c+"px");null!=d&&(this.div.style.height=d+"px",this.table.style.height=d+"px");a=document.createElement("tbody");b=document.createElement("tr");\r\nthis.title=document.createElement("td");this.title.className=e+"Title";this.buttons=document.createElement("div");this.buttons.style.position="absolute";this.buttons.style.display="inline-block";this.buttons.style.right="4px";this.buttons.style.top="5px";this.title.appendChild(this.buttons);b.appendChild(this.title);a.appendChild(b);b=document.createElement("tr");this.td=document.createElement("td");this.td.className=e+"Pane";7==document.documentMode&&(this.td.style.height="100%");this.contentWrapper=\r\ndocument.createElement("div");this.contentWrapper.className=e+"Pane";this.contentWrapper.style.width="100%";this.contentWrapper.appendChild(this.content);"DIV"!=this.content.nodeName.toUpperCase()&&(this.contentWrapper.style.height="100%");this.td.appendChild(this.contentWrapper);b.appendChild(this.td);a.appendChild(b);this.table.appendChild(a);this.div.appendChild(this.table);e=mxUtils.bind(this,function(a){this.activate()});mxEvent.addGestureListeners(this.title,e);mxEvent.addGestureListeners(this.table,\r\ne);this.hide()};mxWindow.prototype.setTitle=function(a){for(var b=this.title.firstChild;null!=b;){var c=b.nextSibling;b.nodeType==mxConstants.NODETYPE_TEXT&&b.parentNode.removeChild(b);b=c}mxUtils.write(this.title,a||"");this.title.appendChild(this.buttons)};mxWindow.prototype.setScrollable=function(a){if(null==navigator.userAgent||0>navigator.userAgent.indexOf("Presto/2.5"))this.contentWrapper.style.overflow=a?"auto":"hidden"};\r\nmxWindow.prototype.activate=function(){if(mxWindow.activeWindow!=this){var a=mxUtils.getCurrentStyle(this.getElement()),a=null!=a?a.zIndex:3;if(mxWindow.activeWindow){var b=mxWindow.activeWindow.getElement();null!=b&&null!=b.style&&(b.style.zIndex=a)}b=mxWindow.activeWindow;this.getElement().style.zIndex=parseInt(a)+1;mxWindow.activeWindow=this;this.fireEvent(new mxEventObject(mxEvent.ACTIVATE,"previousWindow",b))}};mxWindow.prototype.getElement=function(){return this.div};\r\nmxWindow.prototype.fit=function(){mxUtils.fit(this.div)};mxWindow.prototype.isResizable=function(){return null!=this.resize?"none"!=this.resize.style.display:!1};\r\nmxWindow.prototype.setResizable=function(a){if(a)if(null==this.resize){this.resize=document.createElement("img");this.resize.style.position="absolute";this.resize.style.bottom="2px";this.resize.style.right="2px";this.resize.setAttribute("src",this.resizeImage);this.resize.style.cursor="nw-resize";var b=null,c=null,d=null,e=null;a=mxUtils.bind(this,function(a){this.activate();b=mxEvent.getClientX(a);c=mxEvent.getClientY(a);d=this.div.offsetWidth;e=this.div.offsetHeight;mxEvent.addGestureListeners(document,\r\nnull,f,g);this.fireEvent(new mxEventObject(mxEvent.RESIZE_START,"event",a));mxEvent.consume(a)});var f=mxUtils.bind(this,function(a){if(null!=b&&null!=c){var f=mxEvent.getClientX(a)-b,g=mxEvent.getClientY(a)-c;this.setSize(d+f,e+g);this.fireEvent(new mxEventObject(mxEvent.RESIZE,"event",a));mxEvent.consume(a)}}),g=mxUtils.bind(this,function(a){null!=b&&null!=c&&(c=b=null,mxEvent.removeGestureListeners(document,null,f,g),this.fireEvent(new mxEventObject(mxEvent.RESIZE_END,"event",a)),mxEvent.consume(a))});\r\nmxEvent.addGestureListeners(this.resize,a,f,g);this.div.appendChild(this.resize)}else this.resize.style.display="inline";else null!=this.resize&&(this.resize.style.display="none")};\r\nmxWindow.prototype.setSize=function(a,b){a=Math.max(this.minimumSize.width,a);b=Math.max(this.minimumSize.height,b);this.div.style.width=a+"px";this.div.style.height=b+"px";this.table.style.width=a+"px";this.table.style.height=b+"px";this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+"px"};mxWindow.prototype.setMinimizable=function(a){this.minimizeImg.style.display=a?"":"none"};\r\nmxWindow.prototype.getMinimumSize=function(){return new mxRectangle(0,0,0,this.title.offsetHeight)};\r\nmxWindow.prototype.toggleMinimized=function(a){this.activate();if(this.minimized)this.minimized=!1,this.minimizeImg.setAttribute("src",this.minimizeImage),this.minimizeImg.setAttribute("title","Minimize"),this.contentWrapper.style.display="",this.maximize.style.display=this.maxDisplay,this.div.style.height=this.height,this.table.style.height=this.height,null!=this.resize&&(this.resize.style.visibility=""),this.fireEvent(new mxEventObject(mxEvent.NORMALIZE,"event",a));else{this.minimized=!0;this.minimizeImg.setAttribute("src",\r\nthis.normalizeImage);this.minimizeImg.setAttribute("title","Normalize");this.contentWrapper.style.display="none";this.maxDisplay=this.maximize.style.display;this.maximize.style.display="none";this.height=this.table.style.height;var b=this.getMinimumSize();0<b.height&&(this.div.style.height=b.height+"px",this.table.style.height=b.height+"px");0<b.width&&(this.div.style.width=b.width+"px",this.table.style.width=b.width+"px");null!=this.resize&&(this.resize.style.visibility="hidden");this.fireEvent(new mxEventObject(mxEvent.MINIMIZE,\r\n"event",a))}};\r\nmxWindow.prototype.installMinimizeHandler=function(){this.minimizeImg=document.createElement("img");this.minimizeImg.setAttribute("src",this.minimizeImage);this.minimizeImg.setAttribute("title","Minimize");this.minimizeImg.style.cursor="pointer";this.minimizeImg.style.marginLeft="2px";this.minimizeImg.style.display="none";this.buttons.appendChild(this.minimizeImg);this.minimized=!1;this.height=this.maxDisplay=null;var a=mxUtils.bind(this,function(a){this.toggleMinimized(a);mxEvent.consume(a)});mxEvent.addGestureListeners(this.minimizeImg,\r\na)};mxWindow.prototype.setMaximizable=function(a){this.maximize.style.display=a?"":"none"};\r\nmxWindow.prototype.installMaximizeHandler=function(){this.maximize=document.createElement("img");this.maximize.setAttribute("src",this.maximizeImage);this.maximize.setAttribute("title","Maximize");this.maximize.style.cursor="default";this.maximize.style.marginLeft="2px";this.maximize.style.cursor="pointer";this.maximize.style.display="none";this.buttons.appendChild(this.maximize);var a=!1,b=null,c=null,d=null,e=null,f=null,g=mxUtils.bind(this,function(g){this.activate();if("none"!=this.maximize.style.display){if(a){a=\r\n!1;this.maximize.setAttribute("src",this.maximizeImage);this.maximize.setAttribute("title","Maximize");this.contentWrapper.style.display="";this.minimizeImg.style.display=f;this.div.style.left=b+"px";this.div.style.top=c+"px";this.div.style.height=d;this.div.style.width=e;k=mxUtils.getCurrentStyle(this.contentWrapper);if("auto"==k.overflow||null!=this.resize)this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+"px";this.table.style.height=d;this.table.style.width=\r\ne;null!=this.resize&&(this.resize.style.visibility="");this.fireEvent(new mxEventObject(mxEvent.NORMALIZE,"event",g))}else{a=!0;this.maximize.setAttribute("src",this.normalizeImage);this.maximize.setAttribute("title","Normalize");this.contentWrapper.style.display="";f=this.minimizeImg.style.display;this.minimizeImg.style.display="none";b=parseInt(this.div.style.left);c=parseInt(this.div.style.top);d=this.table.style.height;e=this.table.style.width;this.div.style.left="0px";this.div.style.top="0px";\r\nk=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0);this.div.style.width=document.body.clientWidth-2+"px";this.div.style.height=k-2+"px";this.table.style.width=document.body.clientWidth-2+"px";this.table.style.height=k-2+"px";null!=this.resize&&(this.resize.style.visibility="hidden");var k=mxUtils.getCurrentStyle(this.contentWrapper);if("auto"==k.overflow||null!=this.resize)this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+\r\n"px";this.fireEvent(new mxEventObject(mxEvent.MAXIMIZE,"event",g))}mxEvent.consume(g)}});mxEvent.addGestureListeners(this.maximize,g);mxEvent.addListener(this.title,"dblclick",g)};\r\nmxWindow.prototype.installMoveHandler=function(){this.title.style.cursor="move";mxEvent.addGestureListeners(this.title,mxUtils.bind(this,function(a){var b=mxEvent.getClientX(a),c=mxEvent.getClientY(a),d=this.getX(),e=this.getY(),f=mxUtils.bind(this,function(a){var f=mxEvent.getClientX(a)-b,g=mxEvent.getClientY(a)-c;this.setLocation(d+f,e+g);this.fireEvent(new mxEventObject(mxEvent.MOVE,"event",a));mxEvent.consume(a)}),g=mxUtils.bind(this,function(a){mxEvent.removeGestureListeners(document,null,f,\r\ng);this.fireEvent(new mxEventObject(mxEvent.MOVE_END,"event",a));mxEvent.consume(a)});mxEvent.addGestureListeners(document,null,f,g);this.fireEvent(new mxEventObject(mxEvent.MOVE_START,"event",a));mxEvent.consume(a)}));mxClient.IS_POINTER&&(this.title.style.touchAction="none")};mxWindow.prototype.setLocation=function(a,b){this.div.style.left=a+"px";this.div.style.top=b+"px"};mxWindow.prototype.getX=function(){return parseInt(this.div.style.left)};mxWindow.prototype.getY=function(){return parseInt(this.div.style.top)};\r\nmxWindow.prototype.installCloseHandler=function(){this.closeImg=document.createElement("img");this.closeImg.setAttribute("src",this.closeImage);this.closeImg.setAttribute("title","Close");this.closeImg.style.marginLeft="2px";this.closeImg.style.cursor="pointer";this.closeImg.style.display="none";this.buttons.appendChild(this.closeImg);mxEvent.addGestureListeners(this.closeImg,mxUtils.bind(this,function(a){this.fireEvent(new mxEventObject(mxEvent.CLOSE,"event",a));this.destroyOnClose?this.destroy():\r\nthis.setVisible(!1);mxEvent.consume(a)}))};mxWindow.prototype.setImage=function(a){this.image=document.createElement("img");this.image.setAttribute("src",a);this.image.setAttribute("align","left");this.image.style.marginRight="4px";this.image.style.marginLeft="0px";this.image.style.marginTop="-2px";this.title.insertBefore(this.image,this.title.firstChild)};mxWindow.prototype.setClosable=function(a){this.closeImg.style.display=a?"":"none"};\r\nmxWindow.prototype.isVisible=function(){return null!=this.div?"none"!=this.div.style.display:!1};mxWindow.prototype.setVisible=function(a){null!=this.div&&this.isVisible()!=a&&(a?this.show():this.hide())};\r\nmxWindow.prototype.show=function(){this.div.style.display="";this.activate();"auto"!=mxUtils.getCurrentStyle(this.contentWrapper).overflow&&null==this.resize||"none"==this.contentWrapper.style.display||(this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+"px");this.fireEvent(new mxEventObject(mxEvent.SHOW))};mxWindow.prototype.hide=function(){this.div.style.display="none";this.fireEvent(new mxEventObject(mxEvent.HIDE))};\r\nmxWindow.prototype.destroy=function(){this.fireEvent(new mxEventObject(mxEvent.DESTROY));null!=this.div&&(mxEvent.release(this.div),this.div.parentNode.removeChild(this.div),this.div=null);this.contentWrapper=this.content=this.title=null};function mxForm(a){this.table=document.createElement("table");this.table.className=a;this.body=document.createElement("tbody");this.table.appendChild(this.body)}mxForm.prototype.table=null;mxForm.prototype.body=!1;mxForm.prototype.getTable=function(){return this.table};\r\nmxForm.prototype.addButtons=function(a,b){var c=document.createElement("tr"),d=document.createElement("td");c.appendChild(d);var d=document.createElement("td"),e=document.createElement("button");mxUtils.write(e,mxResources.get("ok")||"OK");d.appendChild(e);mxEvent.addListener(e,"click",function(){a()});e=document.createElement("button");mxUtils.write(e,mxResources.get("cancel")||"Cancel");d.appendChild(e);mxEvent.addListener(e,"click",function(){b()});c.appendChild(d);this.body.appendChild(c)};\r\nmxForm.prototype.addText=function(a,b,c){var d=document.createElement("input");d.setAttribute("type",c||"text");d.value=b;return this.addField(a,d)};mxForm.prototype.addCheckbox=function(a,b){var c=document.createElement("input");c.setAttribute("type","checkbox");this.addField(a,c);b&&(c.checked=!0);return c};mxForm.prototype.addTextarea=function(a,b,c){var d=document.createElement("textarea");mxClient.IS_NS&&c--;d.setAttribute("rows",c||2);d.value=b;return this.addField(a,d)};\r\nmxForm.prototype.addCombo=function(a,b,c){var d=document.createElement("select");null!=c&&d.setAttribute("size",c);b&&d.setAttribute("multiple","true");return this.addField(a,d)};mxForm.prototype.addOption=function(a,b,c,d){var e=document.createElement("option");mxUtils.writeln(e,b);e.setAttribute("value",c);d&&e.setAttribute("selected",d);a.appendChild(e)};\r\nmxForm.prototype.addField=function(a,b){var c=document.createElement("tr"),d=document.createElement("td");mxUtils.write(d,a);c.appendChild(d);d=document.createElement("td");d.appendChild(b);c.appendChild(d);this.body.appendChild(c);return b};function mxImage(a,b,c){this.src=a;this.width=b;this.height=c}mxImage.prototype.src=null;mxImage.prototype.width=null;mxImage.prototype.height=null;\r\nfunction mxDivResizer(a,b){if("div"==a.nodeName.toLowerCase()){null==b&&(b=window);this.div=a;var c=mxUtils.getCurrentStyle(a);null!=c&&(this.resizeWidth="auto"==c.width,this.resizeHeight="auto"==c.height);mxEvent.addListener(b,"resize",mxUtils.bind(this,function(a){this.handlingResize||(this.handlingResize=!0,this.resize(),this.handlingResize=!1)}));this.resize()}}mxDivResizer.prototype.resizeWidth=!0;mxDivResizer.prototype.resizeHeight=!0;mxDivResizer.prototype.handlingResize=!1;\r\nmxDivResizer.prototype.resize=function(){var a=this.getDocumentWidth(),b=this.getDocumentHeight(),c=parseInt(this.div.style.left),d=parseInt(this.div.style.right),e=parseInt(this.div.style.top),f=parseInt(this.div.style.bottom);this.resizeWidth&&!isNaN(c)&&!isNaN(d)&&0<=c&&0<=d&&0<a-d-c&&(this.div.style.width=a-d-c+"px");this.resizeHeight&&!isNaN(e)&&!isNaN(f)&&0<=e&&0<=f&&0<b-e-f&&(this.div.style.height=b-e-f+"px")};mxDivResizer.prototype.getDocumentWidth=function(){return document.body.clientWidth};\r\nmxDivResizer.prototype.getDocumentHeight=function(){return document.body.clientHeight};function mxDragSource(a,b){this.element=a;this.dropHandler=b;mxEvent.addGestureListeners(a,mxUtils.bind(this,function(a){this.mouseDown(a)}));mxEvent.addListener(a,"dragstart",function(a){mxEvent.consume(a)});this.eventConsumer=function(a,b){var c=b.getProperty("eventName"),d=b.getProperty("event");c!=mxEvent.MOUSE_DOWN&&d.consume()}}mxDragSource.prototype.element=null;mxDragSource.prototype.dropHandler=null;\r\nmxDragSource.prototype.dragOffset=null;mxDragSource.prototype.dragElement=null;mxDragSource.prototype.previewElement=null;mxDragSource.prototype.previewOffset=null;mxDragSource.prototype.enabled=!0;mxDragSource.prototype.currentGraph=null;mxDragSource.prototype.currentDropTarget=null;mxDragSource.prototype.currentPoint=null;mxDragSource.prototype.currentGuide=null;mxDragSource.prototype.currentHighlight=null;mxDragSource.prototype.autoscroll=!0;mxDragSource.prototype.guidesEnabled=!0;\r\nmxDragSource.prototype.gridEnabled=!0;mxDragSource.prototype.highlightDropTargets=!0;mxDragSource.prototype.dragElementZIndex=100;mxDragSource.prototype.dragElementOpacity=70;mxDragSource.prototype.checkEventSource=!0;mxDragSource.prototype.isEnabled=function(){return this.enabled};mxDragSource.prototype.setEnabled=function(a){this.enabled=a};mxDragSource.prototype.isGuidesEnabled=function(){return this.guidesEnabled};mxDragSource.prototype.setGuidesEnabled=function(a){this.guidesEnabled=a};\r\nmxDragSource.prototype.isGridEnabled=function(){return this.gridEnabled};mxDragSource.prototype.setGridEnabled=function(a){this.gridEnabled=a};mxDragSource.prototype.getGraphForEvent=function(a){return null};mxDragSource.prototype.getDropTarget=function(a,b,c,d){return a.getCellAt(b,c)};mxDragSource.prototype.createDragElement=function(a){return this.element.cloneNode(!0)};mxDragSource.prototype.createPreviewElement=function(a){return null};\r\nmxDragSource.prototype.isActive=function(){return null!=this.mouseMoveHandler};mxDragSource.prototype.reset=function(){null!=this.currentGraph&&(this.dragExit(this.currentGraph),this.currentGraph=null);this.removeDragElement();this.removeListeners();this.stopDrag()};\r\nmxDragSource.prototype.mouseDown=function(a){this.enabled&&!mxEvent.isConsumed(a)&&null==this.mouseMoveHandler&&(this.startDrag(a),this.mouseMoveHandler=mxUtils.bind(this,this.mouseMove),this.mouseUpHandler=mxUtils.bind(this,this.mouseUp),mxEvent.addGestureListeners(document,null,this.mouseMoveHandler,this.mouseUpHandler),mxClient.IS_TOUCH&&!mxEvent.isMouseEvent(a)&&(this.eventSource=mxEvent.getSource(a),mxEvent.addGestureListeners(this.eventSource,null,this.mouseMoveHandler,this.mouseUpHandler)))};\r\nmxDragSource.prototype.startDrag=function(a){this.dragElement=this.createDragElement(a);this.dragElement.style.position="absolute";this.dragElement.style.zIndex=this.dragElementZIndex;mxUtils.setOpacity(this.dragElement,this.dragElementOpacity);this.checkEventSource&&mxClient.IS_SVG&&(this.dragElement.style.pointerEvents="none")};mxDragSource.prototype.stopDrag=function(){this.removeDragElement()};\r\nmxDragSource.prototype.removeDragElement=function(){null!=this.dragElement&&(null!=this.dragElement.parentNode&&this.dragElement.parentNode.removeChild(this.dragElement),this.dragElement=null)};mxDragSource.prototype.getElementForEvent=function(a){return mxEvent.isTouchEvent(a)||mxEvent.isPenEvent(a)?document.elementFromPoint(mxEvent.getClientX(a),mxEvent.getClientY(a)):mxEvent.getSource(a)};\r\nmxDragSource.prototype.graphContainsEvent=function(a,b){var c=mxEvent.getClientX(b),d=mxEvent.getClientY(b),e=mxUtils.getOffset(a.container),f=mxUtils.getScrollOrigin(),g=this.getElementForEvent(b);if(this.checkEventSource)for(;null!=g&&g!=a.container;)g=g.parentNode;return null!=g&&c>=e.x-f.x&&d>=e.y-f.y&&c<=e.x-f.x+a.container.offsetWidth&&d<=e.y-f.y+a.container.offsetHeight};\r\nmxDragSource.prototype.mouseMove=function(a){var b=this.getGraphForEvent(a);null==b||this.graphContainsEvent(b,a)||(b=null);b!=this.currentGraph&&(null!=this.currentGraph&&this.dragExit(this.currentGraph,a),this.currentGraph=b,null!=this.currentGraph&&this.dragEnter(this.currentGraph,a));null!=this.currentGraph&&this.dragOver(this.currentGraph,a);if(null==this.dragElement||null!=this.previewElement&&"visible"==this.previewElement.style.visibility)null!=this.dragElement&&(this.dragElement.style.visibility=\r\n"hidden");else{var b=mxEvent.getClientX(a),c=mxEvent.getClientY(a);null==this.dragElement.parentNode&&document.body.appendChild(this.dragElement);this.dragElement.style.visibility="visible";null!=this.dragOffset&&(b+=this.dragOffset.x,c+=this.dragOffset.y);var d=mxUtils.getDocumentScrollOrigin(document);this.dragElement.style.left=b+d.x+"px";this.dragElement.style.top=c+d.y+"px"}mxEvent.consume(a)};\r\nmxDragSource.prototype.mouseUp=function(a){if(null!=this.currentGraph){if(null!=this.currentPoint&&(null==this.previewElement||"hidden"!=this.previewElement.style.visibility)){var b=this.currentGraph.view.scale,c=this.currentGraph.view.translate;this.drop(this.currentGraph,a,this.currentDropTarget,this.currentPoint.x/b-c.x,this.currentPoint.y/b-c.y)}this.dragExit(this.currentGraph);this.currentGraph=null}this.stopDrag();this.removeListeners();mxEvent.consume(a)};\r\nmxDragSource.prototype.removeListeners=function(){null!=this.eventSource&&(mxEvent.removeGestureListeners(this.eventSource,null,this.mouseMoveHandler,this.mouseUpHandler),this.eventSource=null);mxEvent.removeGestureListeners(document,null,this.mouseMoveHandler,this.mouseUpHandler);this.mouseUpHandler=this.mouseMoveHandler=null};\r\nmxDragSource.prototype.dragEnter=function(a,b){a.isMouseDown=!0;a.isMouseTrigger=mxEvent.isMouseEvent(b);this.previewElement=this.createPreviewElement(a);null!=this.previewElement&&this.checkEventSource&&mxClient.IS_SVG&&(this.previewElement.style.pointerEvents="none");this.isGuidesEnabled()&&null!=this.previewElement&&(this.currentGuide=new mxGuide(a,a.graphHandler.getGuideStates()));this.highlightDropTargets&&(this.currentHighlight=new mxCellHighlight(a,mxConstants.DROP_TARGET_COLOR));a.addListener(mxEvent.FIRE_MOUSE_EVENT,\r\nthis.eventConsumer)};mxDragSource.prototype.dragExit=function(a,b){this.currentPoint=this.currentDropTarget=null;a.isMouseDown=!1;a.removeListener(this.eventConsumer);null!=this.previewElement&&(null!=this.previewElement.parentNode&&this.previewElement.parentNode.removeChild(this.previewElement),this.previewElement=null);null!=this.currentGuide&&(this.currentGuide.destroy(),this.currentGuide=null);null!=this.currentHighlight&&(this.currentHighlight.destroy(),this.currentHighlight=null)};\r\nmxDragSource.prototype.dragOver=function(a,b){var c=mxUtils.getOffset(a.container),d=mxUtils.getScrollOrigin(a.container),e=mxEvent.getClientX(b)-c.x+d.x-a.panDx,c=mxEvent.getClientY(b)-c.y+d.y-a.panDy;a.autoScroll&&(null==this.autoscroll||this.autoscroll)&&a.scrollPointToVisible(e,c,a.autoExtend);null!=this.currentHighlight&&a.isDropEnabled()&&(this.currentDropTarget=this.getDropTarget(a,e,c,b),d=a.getView().getState(this.currentDropTarget),this.currentHighlight.highlight(d));if(null!=this.previewElement){null==\r\nthis.previewElement.parentNode&&(a.container.appendChild(this.previewElement),this.previewElement.style.zIndex="3",this.previewElement.style.position="absolute");var d=this.isGridEnabled()&&a.isGridEnabledEvent(b),f=!0;if(null!=this.currentGuide&&this.currentGuide.isEnabledForEvent(b))var f=parseInt(this.previewElement.style.width),g=parseInt(this.previewElement.style.height),f=new mxRectangle(0,0,f,g),c=new mxPoint(e,c),c=this.currentGuide.move(f,c,d,!0),f=!1,e=c.x,c=c.y;else if(d)var d=a.view.scale,\r\ng=a.view.translate,k=a.gridSize/2,e=(a.snap(e/d-g.x-k)+g.x)*d,c=(a.snap(c/d-g.y-k)+g.y)*d;null!=this.currentGuide&&f&&this.currentGuide.hide();null!=this.previewOffset&&(e+=this.previewOffset.x,c+=this.previewOffset.y);this.previewElement.style.left=Math.round(e)+"px";this.previewElement.style.top=Math.round(c)+"px";this.previewElement.style.visibility="visible"}this.currentPoint=new mxPoint(e,c)};\r\nmxDragSource.prototype.drop=function(a,b,c,d,e){this.dropHandler.apply(this,arguments);"hidden"!=a.container.style.visibility&&a.container.focus()};function mxToolbar(a){this.container=a}mxToolbar.prototype=new mxEventSource;mxToolbar.prototype.constructor=mxToolbar;mxToolbar.prototype.container=null;mxToolbar.prototype.enabled=!0;mxToolbar.prototype.noReset=!1;mxToolbar.prototype.updateDefaultMode=!0;\r\nmxToolbar.prototype.addItem=function(a,b,c,d,e,f){var g=document.createElement(null!=b?"img":"button"),k=e||(null!=f?"mxToolbarMode":"mxToolbarItem");g.className=k;g.setAttribute("src",b);null!=a&&(null!=b?g.setAttribute("title",a):mxUtils.write(g,a));this.container.appendChild(g);null!=c&&(mxEvent.addListener(g,"click",c),mxClient.IS_TOUCH&&mxEvent.addListener(g,"touchend",c));a=mxUtils.bind(this,function(a){null!=d?g.setAttribute("src",b):g.style.backgroundColor=""});mxEvent.addGestureListeners(g,\r\nmxUtils.bind(this,function(a){null!=d?g.setAttribute("src",d):g.style.backgroundColor="gray";if(null!=f){null==this.menu&&(this.menu=new mxPopupMenu,this.menu.init());var b=this.currentImg;this.menu.isMenuShowing()&&this.menu.hideMenu();b!=g&&(this.currentImg=g,this.menu.factoryMethod=f,b=new mxPoint(g.offsetLeft,g.offsetTop+g.offsetHeight),this.menu.popup(b.x,b.y,null,a),this.menu.isMenuShowing()&&(g.className=k+"Selected",this.menu.hideMenu=function(){mxPopupMenu.prototype.hideMenu.apply(this);\r\ng.className=k;this.currentImg=null}))}}),null,a);mxEvent.addListener(g,"mouseout",a);return g};mxToolbar.prototype.addCombo=function(a){var b=document.createElement("div");b.style.display="inline";b.className="mxToolbarComboContainer";var c=document.createElement("select");c.className=a||"mxToolbarCombo";b.appendChild(c);this.container.appendChild(b);return c};\r\nmxToolbar.prototype.addActionCombo=function(a,b){var c=document.createElement("select");c.className=b||"mxToolbarCombo";this.addOption(c,a,null);mxEvent.addListener(c,"change",function(a){var b=c.options[c.selectedIndex];c.selectedIndex=0;null!=b.funct&&b.funct(a)});this.container.appendChild(c);return c};mxToolbar.prototype.addOption=function(a,b,c){var d=document.createElement("option");mxUtils.writeln(d,b);"function"==typeof c?d.funct=c:d.setAttribute("value",c);a.appendChild(d);return d};\r\nmxToolbar.prototype.addSwitchMode=function(a,b,c,d,e){var f=document.createElement("img");f.initialClassName=e||"mxToolbarMode";f.className=f.initialClassName;f.setAttribute("src",b);f.altIcon=d;null!=a&&f.setAttribute("title",a);mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){a=this.selectedMode.altIcon;null!=a?(this.selectedMode.altIcon=this.selectedMode.getAttribute("src"),this.selectedMode.setAttribute("src",a)):this.selectedMode.className=this.selectedMode.initialClassName;this.updateDefaultMode&&\r\n(this.defaultMode=f);this.selectedMode=f;a=f.altIcon;null!=a?(f.altIcon=f.getAttribute("src"),f.setAttribute("src",a)):f.className=f.initialClassName+"Selected";this.fireEvent(new mxEventObject(mxEvent.SELECT));c()}));this.container.appendChild(f);null==this.defaultMode&&(this.defaultMode=f,this.selectMode(f),c());return f};\r\nmxToolbar.prototype.addMode=function(a,b,c,d,e,f){f=null!=f?f:!0;var g=document.createElement(null!=b?"img":"button");g.initialClassName=e||"mxToolbarMode";g.className=g.initialClassName;g.setAttribute("src",b);g.altIcon=d;null!=a&&g.setAttribute("title",a);this.enabled&&f&&(mxEvent.addListener(g,"click",mxUtils.bind(this,function(a){this.selectMode(g,c);this.noReset=!1})),mxEvent.addListener(g,"dblclick",mxUtils.bind(this,function(a){this.selectMode(g,c);this.noReset=!0})),null==this.defaultMode&&\r\n(this.defaultMode=g,this.defaultFunction=c,this.selectMode(g,c)));this.container.appendChild(g);return g};\r\nmxToolbar.prototype.selectMode=function(a,b){if(this.selectedMode!=a){if(null!=this.selectedMode){var c=this.selectedMode.altIcon;null!=c?(this.selectedMode.altIcon=this.selectedMode.getAttribute("src"),this.selectedMode.setAttribute("src",c)):this.selectedMode.className=this.selectedMode.initialClassName}this.selectedMode=a;c=this.selectedMode.altIcon;null!=c?(this.selectedMode.altIcon=this.selectedMode.getAttribute("src"),this.selectedMode.setAttribute("src",c)):this.selectedMode.className=this.selectedMode.initialClassName+\r\n"Selected";this.fireEvent(new mxEventObject(mxEvent.SELECT,"function",b))}};mxToolbar.prototype.resetMode=function(a){!a&&this.noReset||this.selectedMode==this.defaultMode||this.selectMode(this.defaultMode,this.defaultFunction)};mxToolbar.prototype.addSeparator=function(a){return this.addItem(null,a,null)};mxToolbar.prototype.addBreak=function(){mxUtils.br(this.container)};\r\nmxToolbar.prototype.addLine=function(){var a=document.createElement("hr");a.style.marginRight="6px";a.setAttribute("size","1");this.container.appendChild(a)};mxToolbar.prototype.destroy=function(){mxEvent.release(this.container);this.selectedMode=this.defaultFunction=this.defaultMode=this.container=null;null!=this.menu&&this.menu.destroy()};function mxUndoableEdit(a,b){this.source=a;this.changes=[];this.significant=null!=b?b:!0}mxUndoableEdit.prototype.source=null;\r\nmxUndoableEdit.prototype.changes=null;mxUndoableEdit.prototype.significant=null;mxUndoableEdit.prototype.undone=!1;mxUndoableEdit.prototype.redone=!1;mxUndoableEdit.prototype.isEmpty=function(){return 0==this.changes.length};mxUndoableEdit.prototype.isSignificant=function(){return this.significant};mxUndoableEdit.prototype.add=function(a){this.changes.push(a)};mxUndoableEdit.prototype.notify=function(){};mxUndoableEdit.prototype.die=function(){};\r\nmxUndoableEdit.prototype.undo=function(){if(!this.undone){this.source.fireEvent(new mxEventObject(mxEvent.START_EDIT));for(var a=this.changes.length-1;0<=a;a--){var b=this.changes[a];null!=b.execute?b.execute():null!=b.undo&&b.undo();this.source.fireEvent(new mxEventObject(mxEvent.EXECUTED,"change",b))}this.undone=!0;this.redone=!1;this.source.fireEvent(new mxEventObject(mxEvent.END_EDIT))}this.notify()};\r\nmxUndoableEdit.prototype.redo=function(){if(!this.redone){this.source.fireEvent(new mxEventObject(mxEvent.START_EDIT));for(var a=this.changes.length,b=0;b<a;b++){var c=this.changes[b];null!=c.execute?c.execute():null!=c.redo&&c.redo();this.source.fireEvent(new mxEventObject(mxEvent.EXECUTED,"change",c))}this.undone=!1;this.redone=!0;this.source.fireEvent(new mxEventObject(mxEvent.END_EDIT))}this.notify()};function mxUndoManager(a){this.size=null!=a?a:100;this.clear()}mxUndoManager.prototype=new mxEventSource;\r\nmxUndoManager.prototype.constructor=mxUndoManager;mxUndoManager.prototype.size=null;mxUndoManager.prototype.history=null;mxUndoManager.prototype.indexOfNextAdd=0;mxUndoManager.prototype.isEmpty=function(){return 0==this.history.length};mxUndoManager.prototype.clear=function(){this.history=[];this.indexOfNextAdd=0;this.fireEvent(new mxEventObject(mxEvent.CLEAR))};mxUndoManager.prototype.canUndo=function(){return 0<this.indexOfNextAdd};\r\nmxUndoManager.prototype.undo=function(){for(;0<this.indexOfNextAdd;){var a=this.history[--this.indexOfNextAdd];a.undo();if(a.isSignificant()){this.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",a));break}}};mxUndoManager.prototype.canRedo=function(){return this.indexOfNextAdd<this.history.length};\r\nmxUndoManager.prototype.redo=function(){for(var a=this.history.length;this.indexOfNextAdd<a;){var b=this.history[this.indexOfNextAdd++];b.redo();if(b.isSignificant()){this.fireEvent(new mxEventObject(mxEvent.REDO,"edit",b));break}}};mxUndoManager.prototype.undoableEditHappened=function(a){this.trim();0<this.size&&this.size==this.history.length&&this.history.shift();this.history.push(a);this.indexOfNextAdd=this.history.length;this.fireEvent(new mxEventObject(mxEvent.ADD,"edit",a))};\r\nmxUndoManager.prototype.trim=function(){if(this.history.length>this.indexOfNextAdd)for(var a=this.history.splice(this.indexOfNextAdd,this.history.length-this.indexOfNextAdd),b=0;b<a.length;b++)a[b].die()};var mxUrlConverter=function(){};mxUrlConverter.prototype.enabled=!0;mxUrlConverter.prototype.baseUrl=null;mxUrlConverter.prototype.baseDomain=null;\r\nmxUrlConverter.prototype.updateBaseUrl=function(){this.baseDomain=location.protocol+"//"+location.host;this.baseUrl=this.baseDomain+location.pathname;var a=this.baseUrl.lastIndexOf("/");0<a&&(this.baseUrl=this.baseUrl.substring(0,a+1))};mxUrlConverter.prototype.isEnabled=function(){return this.enabled};mxUrlConverter.prototype.setEnabled=function(a){this.enabled=a};mxUrlConverter.prototype.getBaseUrl=function(){return this.baseUrl};mxUrlConverter.prototype.setBaseUrl=function(a){this.baseUrl=a};\r\nmxUrlConverter.prototype.getBaseDomain=function(){return this.baseDomain};mxUrlConverter.prototype.setBaseDomain=function(a){this.baseDomain=a};mxUrlConverter.prototype.isRelativeUrl=function(a){return null!=a&&"//"!=a.substring(0,2)&&"http://"!=a.substring(0,7)&&"https://"!=a.substring(0,8)&&"data:image"!=a.substring(0,10)&&"file://"!=a.substring(0,7)};\r\nmxUrlConverter.prototype.convert=function(a){this.isEnabled()&&this.isRelativeUrl(a)&&(null==this.getBaseUrl()&&this.updateBaseUrl(),a="/"==a.charAt(0)?this.getBaseDomain()+a:this.getBaseUrl()+a);return a};\r\nfunction mxPanningManager(a){this.thread=null;this.active=!1;this.dy=this.dx=this.t0y=this.t0x=this.tdy=this.tdx=0;this.scrollbars=!1;this.scrollTop=this.scrollLeft=0;this.mouseListener={mouseDown:function(a,b){},mouseMove:function(a,b){},mouseUp:mxUtils.bind(this,function(a,b){this.active&&this.stop()})};a.addMouseListener(this.mouseListener);this.mouseUpListener=mxUtils.bind(this,function(){this.active&&this.stop()});mxEvent.addListener(document,"mouseup",this.mouseUpListener);var b=mxUtils.bind(this,\r\nfunction(){this.scrollbars=mxUtils.hasScrollbars(a.container);this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop;return window.setInterval(mxUtils.bind(this,function(){this.tdx-=this.dx;this.tdy-=this.dy;this.scrollbars?(a.panGraph(-a.container.scrollLeft-Math.ceil(this.dx),-a.container.scrollTop-Math.ceil(this.dy)),a.panDx=this.scrollLeft-a.container.scrollLeft,a.panDy=this.scrollTop-a.container.scrollTop,a.fireEvent(new mxEventObject(mxEvent.PAN))):a.panGraph(this.getDx(),\r\nthis.getDy())}),this.delay)});this.isActive=function(){return active};this.getDx=function(){return Math.round(this.tdx)};this.getDy=function(){return Math.round(this.tdy)};this.start=function(){this.t0x=a.view.translate.x;this.t0y=a.view.translate.y;this.active=!0};this.panTo=function(c,d,e,f){this.active||this.start();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop;var g=a.container;this.dx=c+(null!=e?e:0)-g.scrollLeft-g.clientWidth;this.dx=0>this.dx&&Math.abs(this.dx)<\r\nthis.border?this.border+this.dx:this.handleMouseOut?Math.max(this.dx,0):0;0==this.dx&&(this.dx=c-g.scrollLeft,this.dx=0<this.dx&&this.dx<this.border?this.dx-this.border:this.handleMouseOut?Math.min(0,this.dx):0);this.dy=d+(null!=f?f:0)-g.scrollTop-g.clientHeight;this.dy=0>this.dy&&Math.abs(this.dy)<this.border?this.border+this.dy:this.handleMouseOut?Math.max(this.dy,0):0;0==this.dy&&(this.dy=d-g.scrollTop,this.dy=0<this.dy&&this.dy<this.border?this.dy-this.border:this.handleMouseOut?Math.min(0,this.dy):\r\n0);0!=this.dx||0!=this.dy?(this.dx*=this.damper,this.dy*=this.damper,null==this.thread&&(this.thread=b())):null!=this.thread&&(window.clearInterval(this.thread),this.thread=null)};this.stop=function(){if(this.active)if(this.active=!1,null!=this.thread&&(window.clearInterval(this.thread),this.thread=null),this.tdy=this.tdx=0,this.scrollbars)a.panDx=0,a.panDy=0,a.fireEvent(new mxEventObject(mxEvent.PAN));else{var b=a.panDx,d=a.panDy;if(0!=b||0!=d)a.panGraph(0,0),a.view.setTranslate(this.t0x+b/a.view.scale,\r\nthis.t0y+d/a.view.scale)}};this.destroy=function(){a.removeMouseListener(this.mouseListener);mxEvent.removeListener(document,"mouseup",this.mouseUpListener)}}mxPanningManager.prototype.damper=1/6;mxPanningManager.prototype.delay=10;mxPanningManager.prototype.handleMouseOut=!0;mxPanningManager.prototype.border=0;function mxPopupMenu(a){this.factoryMethod=a;null!=a&&this.init()}mxPopupMenu.prototype=new mxEventSource;mxPopupMenu.prototype.constructor=mxPopupMenu;\r\nmxPopupMenu.prototype.submenuImage=mxClient.imageBasePath+"/submenu.gif";mxPopupMenu.prototype.zIndex=10006;mxPopupMenu.prototype.factoryMethod=null;mxPopupMenu.prototype.useLeftButtonForPopup=!1;mxPopupMenu.prototype.enabled=!0;mxPopupMenu.prototype.itemCount=0;mxPopupMenu.prototype.autoExpand=!1;mxPopupMenu.prototype.smartSeparators=!1;mxPopupMenu.prototype.labels=!0;\r\nmxPopupMenu.prototype.init=function(){this.table=document.createElement("table");this.table.className="mxPopupMenu";this.tbody=document.createElement("tbody");this.table.appendChild(this.tbody);this.div=document.createElement("div");this.div.className="mxPopupMenu";this.div.style.display="inline";this.div.style.zIndex=this.zIndex;this.div.appendChild(this.table);mxEvent.disableContextMenu(this.div)};mxPopupMenu.prototype.isEnabled=function(){return this.enabled};\r\nmxPopupMenu.prototype.setEnabled=function(a){this.enabled=a};mxPopupMenu.prototype.isPopupTrigger=function(a){return a.isPopupTrigger()||this.useLeftButtonForPopup&&mxEvent.isLeftMouseButton(a.getEvent())};\r\nmxPopupMenu.prototype.addItem=function(a,b,c,d,e,f,g,k){d=d||this;this.itemCount++;d.willAddSeparator&&(d.containsItems&&this.addSeparator(d,!0),d.willAddSeparator=!1);d.containsItems=!0;var l=document.createElement("tr");l.className="mxPopupMenuItem";var m=document.createElement("td");m.className="mxPopupMenuIcon";null!=b?(e=document.createElement("img"),e.src=b,m.appendChild(e)):null!=e&&(b=document.createElement("div"),b.className=e,m.appendChild(b));l.appendChild(m);this.labels&&(m=document.createElement("td"),\r\nm.className="mxPopupMenuItem"+(null==f||f?"":" mxDisabled"),mxUtils.write(m,a),m.align="left",l.appendChild(m),a=document.createElement("td"),a.className="mxPopupMenuItem"+(null==f||f?"":" mxDisabled"),a.style.paddingRight="6px",a.style.textAlign="right",l.appendChild(a),null==d.div&&this.createSubmenu(d));d.tbody.appendChild(l);if(0!=g&&0!=f){var n=null;mxEvent.addGestureListeners(l,mxUtils.bind(this,function(a){this.eventReceiver=l;d.activeRow!=l&&d.activeRow!=d&&(null!=d.activeRow&&null!=d.activeRow.div.parentNode&&\r\nthis.hideSubmenu(d),null!=l.div&&(this.showSubmenu(d,l),d.activeRow=l));null!=document.selection&&8==document.documentMode&&(n=document.selection.createRange());mxEvent.consume(a)}),mxUtils.bind(this,function(a){d.activeRow!=l&&d.activeRow!=d&&(null!=d.activeRow&&null!=d.activeRow.div.parentNode&&this.hideSubmenu(d),this.autoExpand&&null!=l.div&&(this.showSubmenu(d,l),d.activeRow=l));k||(l.className="mxPopupMenuItemHover")}),mxUtils.bind(this,function(a){if(this.eventReceiver==l){d.activeRow!=l&&\r\nthis.hideMenu();if(null!=n){try{n.select()}catch(q){}n=null}null!=c&&c(a)}this.eventReceiver=null;mxEvent.consume(a)}));k||mxEvent.addListener(l,"mouseout",mxUtils.bind(this,function(a){l.className="mxPopupMenuItem"}))}return l};mxPopupMenu.prototype.addCheckmark=function(a,b){var c=a.firstChild.nextSibling;c.style.backgroundImage="url(\'"+b+"\')";c.style.backgroundRepeat="no-repeat";c.style.backgroundPosition="2px 50%"};\r\nmxPopupMenu.prototype.createSubmenu=function(a){a.table=document.createElement("table");a.table.className="mxPopupMenu";a.tbody=document.createElement("tbody");a.table.appendChild(a.tbody);a.div=document.createElement("div");a.div.className="mxPopupMenu";a.div.style.position="absolute";a.div.style.display="inline";a.div.style.zIndex=this.zIndex;a.div.appendChild(a.table);var b=document.createElement("img");b.setAttribute("src",this.submenuImage);td=a.firstChild.nextSibling.nextSibling;td.appendChild(b)};\r\nmxPopupMenu.prototype.showSubmenu=function(a,b){if(null!=b.div){b.div.style.left=a.div.offsetLeft+b.offsetLeft+b.offsetWidth-1+"px";b.div.style.top=a.div.offsetTop+b.offsetTop+"px";document.body.appendChild(b.div);var c=parseInt(b.div.offsetLeft),d=parseInt(b.div.offsetWidth),e=mxUtils.getDocumentScrollOrigin(document),f=document.documentElement;c+d>e.x+(document.body.clientWidth||f.clientWidth)&&(b.div.style.left=Math.max(0,a.div.offsetLeft-d+(mxClient.IS_IE?6:-6))+"px");b.div.style.overflowY="auto";\r\nb.div.style.overflowX="hidden";b.div.style.maxHeight=Math.max(document.body.clientHeight,document.documentElement.clientHeight)-10+"px";mxUtils.fit(b.div)}};\r\nmxPopupMenu.prototype.addSeparator=function(a,b){a=a||this;if(this.smartSeparators&&!b)a.willAddSeparator=!0;else if(null!=a.tbody){a.willAddSeparator=!1;var c=document.createElement("tr"),d=document.createElement("td");d.className="mxPopupMenuIcon";d.style.padding="0 0 0 0px";c.appendChild(d);d=document.createElement("td");d.style.padding="0 0 0 0px";d.setAttribute("colSpan","2");var e=document.createElement("hr");e.setAttribute("size","1");d.appendChild(e);c.appendChild(d);a.tbody.appendChild(c)}};\r\nmxPopupMenu.prototype.popup=function(a,b,c,d){if(null!=this.div&&null!=this.tbody&&null!=this.factoryMethod){this.div.style.left=a+"px";for(this.div.style.top=b+"px";null!=this.tbody.firstChild;)mxEvent.release(this.tbody.firstChild),this.tbody.removeChild(this.tbody.firstChild);this.itemCount=0;this.factoryMethod(this,c,d);0<this.itemCount&&(this.showMenu(),this.fireEvent(new mxEventObject(mxEvent.SHOW)))}};\r\nmxPopupMenu.prototype.isMenuShowing=function(){return null!=this.div&&this.div.parentNode==document.body};mxPopupMenu.prototype.showMenu=function(){9<=document.documentMode&&(this.div.style.filter="none");document.body.appendChild(this.div);mxUtils.fit(this.div)};mxPopupMenu.prototype.hideMenu=function(){null!=this.div&&(null!=this.div.parentNode&&this.div.parentNode.removeChild(this.div),this.hideSubmenu(this),this.containsItems=!1,this.fireEvent(new mxEventObject(mxEvent.HIDE)))};\r\nmxPopupMenu.prototype.hideSubmenu=function(a){null!=a.activeRow&&(this.hideSubmenu(a.activeRow),null!=a.activeRow.div.parentNode&&a.activeRow.div.parentNode.removeChild(a.activeRow.div),a.activeRow=null)};mxPopupMenu.prototype.destroy=function(){null!=this.div&&(mxEvent.release(this.div),null!=this.div.parentNode&&this.div.parentNode.removeChild(this.div),this.div=null)};\r\nfunction mxAutoSaveManager(a){this.changeHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&this.graphModelChanged(c.getProperty("edit").changes)});this.setGraph(a)}mxAutoSaveManager.prototype=new mxEventSource;mxAutoSaveManager.prototype.constructor=mxAutoSaveManager;mxAutoSaveManager.prototype.graph=null;mxAutoSaveManager.prototype.autoSaveDelay=10;mxAutoSaveManager.prototype.autoSaveThrottle=2;mxAutoSaveManager.prototype.autoSaveThreshold=5;mxAutoSaveManager.prototype.ignoredChanges=0;\r\nmxAutoSaveManager.prototype.lastSnapshot=0;mxAutoSaveManager.prototype.enabled=!0;mxAutoSaveManager.prototype.changeHandler=null;mxAutoSaveManager.prototype.isEnabled=function(){return this.enabled};mxAutoSaveManager.prototype.setEnabled=function(a){this.enabled=a};mxAutoSaveManager.prototype.setGraph=function(a){null!=this.graph&&this.graph.getModel().removeListener(this.changeHandler);this.graph=a;null!=this.graph&&this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler)};\r\nmxAutoSaveManager.prototype.save=function(){};mxAutoSaveManager.prototype.graphModelChanged=function(a){a=((new Date).getTime()-this.lastSnapshot)/1E3;a>this.autoSaveDelay||this.ignoredChanges>=this.autoSaveThreshold&&a>this.autoSaveThrottle?(this.save(),this.reset()):this.ignoredChanges++};mxAutoSaveManager.prototype.reset=function(){this.lastSnapshot=(new Date).getTime();this.ignoredChanges=0};mxAutoSaveManager.prototype.destroy=function(){this.setGraph(null)};\r\nfunction mxAnimation(a){this.delay=null!=a?a:20}mxAnimation.prototype=new mxEventSource;mxAnimation.prototype.constructor=mxAnimation;mxAnimation.prototype.delay=null;mxAnimation.prototype.thread=null;mxAnimation.prototype.isRunning=function(){return null!=this.thread};mxAnimation.prototype.startAnimation=function(){null==this.thread&&(this.thread=window.setInterval(mxUtils.bind(this,this.updateAnimation),this.delay))};mxAnimation.prototype.updateAnimation=function(){this.fireEvent(new mxEventObject(mxEvent.EXECUTE))};\r\nmxAnimation.prototype.stopAnimation=function(){null!=this.thread&&(window.clearInterval(this.thread),this.thread=null,this.fireEvent(new mxEventObject(mxEvent.DONE)))};function mxMorphing(a,b,c,d){mxAnimation.call(this,d);this.graph=a;this.steps=null!=b?b:6;this.ease=null!=c?c:1.5}mxMorphing.prototype=new mxAnimation;mxMorphing.prototype.constructor=mxMorphing;mxMorphing.prototype.graph=null;mxMorphing.prototype.steps=null;mxMorphing.prototype.step=0;mxMorphing.prototype.ease=null;\r\nmxMorphing.prototype.cells=null;mxMorphing.prototype.updateAnimation=function(){mxAnimation.prototype.updateAnimation.apply(this,arguments);var a=new mxCellStatePreview(this.graph);if(null!=this.cells)for(var b=0;b<this.cells.length;b++)this.animateCell(this.cells[b],a,!1);else this.animateCell(this.graph.getModel().getRoot(),a,!0);this.show(a);(a.isEmpty()||this.step++>=this.steps)&&this.stopAnimation()};mxMorphing.prototype.show=function(a){a.show()};\r\nmxMorphing.prototype.animateCell=function(a,b,c){var d=this.graph.getView().getState(a),e=null;if(null!=d&&(e=this.getDelta(d),this.graph.getModel().isVertex(a)&&(0!=e.x||0!=e.y))){var f=this.graph.view.getTranslate(),g=this.graph.view.getScale();e.x+=f.x*g;e.y+=f.y*g;b.moveState(d,-e.x/this.ease,-e.y/this.ease)}if(c&&!this.stopRecursion(d,e))for(d=this.graph.getModel().getChildCount(a),e=0;e<d;e++)this.animateCell(this.graph.getModel().getChildAt(a,e),b,c)};\r\nmxMorphing.prototype.stopRecursion=function(a,b){return null!=b&&(0!=b.x||0!=b.y)};mxMorphing.prototype.getDelta=function(a){var b=this.getOriginForCell(a.cell),c=this.graph.getView().getTranslate(),d=this.graph.getView().getScale();return new mxPoint((b.x-(a.x/d-c.x))*d,(b.y-(a.y/d-c.y))*d)};\r\nmxMorphing.prototype.getOriginForCell=function(a){var b=null;if(null!=a){var c=this.graph.getModel().getParent(a);a=this.graph.getCellGeometry(a);b=this.getOriginForCell(c);null!=a&&(a.relative?(c=this.graph.getCellGeometry(c),null!=c&&(b.x+=a.x*c.width,b.y+=a.y*c.height)):(b.x+=a.x,b.y+=a.y))}null==b&&(b=this.graph.view.getTranslate(),b=new mxPoint(-b.x,-b.y));return b};function mxImageBundle(a){this.images=[];this.alt=null!=a?a:!1}mxImageBundle.prototype.images=null;\r\nmxImageBundle.prototype.alt=null;mxImageBundle.prototype.putImage=function(a,b,c){this.images[a]={value:b,fallback:c}};mxImageBundle.prototype.getImage=function(a){var b=null;null!=a&&(a=this.images[a],null!=a&&(b=this.alt?a.fallback:a.value));return b};function mxImageExport(){}mxImageExport.prototype.includeOverlays=!1;\r\nmxImageExport.prototype.drawState=function(a,b){null!=a&&(this.visitStatesRecursive(a,b,mxUtils.bind(this,function(){this.drawCellState.apply(this,arguments)})),this.includeOverlays&&this.visitStatesRecursive(a,b,mxUtils.bind(this,function(){this.drawOverlays.apply(this,arguments)})))};\r\nmxImageExport.prototype.visitStatesRecursive=function(a,b,c){if(null!=a){c(a,b);for(var d=a.view.graph,e=d.model.getChildCount(a.cell),f=0;f<e;f++){var g=d.view.getState(d.model.getChildAt(a.cell,f));this.visitStatesRecursive(g,b,c)}}};mxImageExport.prototype.getLinkForCellState=function(a,b){return null};mxImageExport.prototype.getLinkTargetForCellState=function(a,b){return null};\r\nmxImageExport.prototype.drawCellState=function(a,b){var c=this.getLinkForCellState(a,b);null!=c&&b.setLink(c,this.getLinkTargetForCellState(a,b));this.drawShape(a,b);this.drawText(a,b);null!=c&&b.setLink(null)};mxImageExport.prototype.drawShape=function(a,b){a.shape instanceof mxShape&&a.shape.checkBounds()&&(b.save(),a.shape.beforePaint(b),a.shape.paint(b),a.shape.afterPaint(b),b.restore())};\r\nmxImageExport.prototype.drawText=function(a,b){null!=a.text&&a.text.checkBounds()&&(b.save(),a.text.beforePaint(b),a.text.paint(b),a.text.afterPaint(b),b.restore())};mxImageExport.prototype.drawOverlays=function(a,b){null!=a.overlays&&a.overlays.visit(function(a,d){d instanceof mxShape&&d.paint(b)})};function mxAbstractCanvas2D(){this.converter=this.createUrlConverter();this.reset()}mxAbstractCanvas2D.prototype.state=null;mxAbstractCanvas2D.prototype.states=null;\r\nmxAbstractCanvas2D.prototype.path=null;mxAbstractCanvas2D.prototype.rotateHtml=!0;mxAbstractCanvas2D.prototype.lastX=0;mxAbstractCanvas2D.prototype.lastY=0;mxAbstractCanvas2D.prototype.moveOp="M";mxAbstractCanvas2D.prototype.lineOp="L";mxAbstractCanvas2D.prototype.quadOp="Q";mxAbstractCanvas2D.prototype.curveOp="C";mxAbstractCanvas2D.prototype.closeOp="Z";mxAbstractCanvas2D.prototype.pointerEvents=!1;mxAbstractCanvas2D.prototype.createUrlConverter=function(){return new mxUrlConverter};\r\nmxAbstractCanvas2D.prototype.reset=function(){this.state=this.createState();this.states=[]};\r\nmxAbstractCanvas2D.prototype.createState=function(){return{dx:0,dy:0,scale:1,alpha:1,fillAlpha:1,strokeAlpha:1,fillColor:null,gradientFillAlpha:1,gradientColor:null,gradientAlpha:1,gradientDirection:null,strokeColor:null,strokeWidth:1,dashed:!1,dashPattern:"3 3",fixDash:!1,lineCap:"flat",lineJoin:"miter",miterLimit:10,fontColor:"#000000",fontBackgroundColor:null,fontBorderColor:null,fontSize:mxConstants.DEFAULT_FONTSIZE,fontFamily:mxConstants.DEFAULT_FONTFAMILY,fontStyle:0,shadow:!1,shadowColor:mxConstants.SHADOWCOLOR,\r\nshadowAlpha:mxConstants.SHADOW_OPACITY,shadowDx:mxConstants.SHADOW_OFFSET_X,shadowDy:mxConstants.SHADOW_OFFSET_Y,rotation:0,rotationCx:0,rotationCy:0}};mxAbstractCanvas2D.prototype.format=function(a){return Math.round(parseFloat(a))};\r\nmxAbstractCanvas2D.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<arguments.length))for(var a=this.state,b=2;b<arguments.length;b+=2)this.lastX=arguments[b-1],this.lastY=arguments[b],this.path.push(this.format((this.lastX+a.dx)*a.scale)),this.path.push(this.format((this.lastY+a.dy)*a.scale))};mxAbstractCanvas2D.prototype.rotatePoint=function(a,b,c,d,e){c*=Math.PI/180;return mxUtils.getRotatedPoint(new mxPoint(a,b),Math.cos(c),Math.sin(c),new mxPoint(d,e))};\r\nmxAbstractCanvas2D.prototype.save=function(){this.states.push(this.state);this.state=mxUtils.clone(this.state)};mxAbstractCanvas2D.prototype.restore=function(){0<this.states.length&&(this.state=this.states.pop())};mxAbstractCanvas2D.prototype.setLink=function(a,b){};mxAbstractCanvas2D.prototype.scale=function(a){this.state.scale*=a;this.state.strokeWidth*=a};mxAbstractCanvas2D.prototype.translate=function(a,b){this.state.dx+=a;this.state.dy+=b};\r\nmxAbstractCanvas2D.prototype.rotate=function(a,b,c,d,e){};mxAbstractCanvas2D.prototype.setAlpha=function(a){this.state.alpha=a};mxAbstractCanvas2D.prototype.setFillAlpha=function(a){this.state.fillAlpha=a};mxAbstractCanvas2D.prototype.setStrokeAlpha=function(a){this.state.strokeAlpha=a};mxAbstractCanvas2D.prototype.setFillColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fillColor=a;this.state.gradientColor=null};\r\nmxAbstractCanvas2D.prototype.setGradient=function(a,b,c,d,e,f,g,k,l){c=this.state;c.fillColor=a;c.gradientFillAlpha=null!=k?k:1;c.gradientColor=b;c.gradientAlpha=null!=l?l:1;c.gradientDirection=g};mxAbstractCanvas2D.prototype.setStrokeColor=function(a){a==mxConstants.NONE&&(a=null);this.state.strokeColor=a};mxAbstractCanvas2D.prototype.setStrokeWidth=function(a){this.state.strokeWidth=a};mxAbstractCanvas2D.prototype.setDashed=function(a,b){this.state.dashed=a;this.state.fixDash=b};\r\nmxAbstractCanvas2D.prototype.setDashPattern=function(a){this.state.dashPattern=a};mxAbstractCanvas2D.prototype.setLineCap=function(a){this.state.lineCap=a};mxAbstractCanvas2D.prototype.setLineJoin=function(a){this.state.lineJoin=a};mxAbstractCanvas2D.prototype.setMiterLimit=function(a){this.state.miterLimit=a};mxAbstractCanvas2D.prototype.setFontColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontColor=a};\r\nmxAbstractCanvas2D.prototype.setFontBackgroundColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBackgroundColor=a};mxAbstractCanvas2D.prototype.setFontBorderColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBorderColor=a};mxAbstractCanvas2D.prototype.setFontSize=function(a){this.state.fontSize=parseFloat(a)};mxAbstractCanvas2D.prototype.setFontFamily=function(a){this.state.fontFamily=a};\r\nmxAbstractCanvas2D.prototype.setFontStyle=function(a){null==a&&(a=0);this.state.fontStyle=a};mxAbstractCanvas2D.prototype.setShadow=function(a){this.state.shadow=a};mxAbstractCanvas2D.prototype.setShadowColor=function(a){a==mxConstants.NONE&&(a=null);this.state.shadowColor=a};mxAbstractCanvas2D.prototype.setShadowAlpha=function(a){this.state.shadowAlpha=a};mxAbstractCanvas2D.prototype.setShadowOffset=function(a,b){this.state.shadowDx=a;this.state.shadowDy=b};\r\nmxAbstractCanvas2D.prototype.begin=function(){this.lastY=this.lastX=0;this.path=[]};mxAbstractCanvas2D.prototype.moveTo=function(a,b){this.addOp(this.moveOp,a,b)};mxAbstractCanvas2D.prototype.lineTo=function(a,b){this.addOp(this.lineOp,a,b)};mxAbstractCanvas2D.prototype.quadTo=function(a,b,c,d){this.addOp(this.quadOp,a,b,c,d)};mxAbstractCanvas2D.prototype.curveTo=function(a,b,c,d,e,f){this.addOp(this.curveOp,a,b,c,d,e,f)};\r\nmxAbstractCanvas2D.prototype.arcTo=function(a,b,c,d,e,f,g){a=mxUtils.arcToCurves(this.lastX,this.lastY,a,b,c,d,e,f,g);if(null!=a)for(b=0;b<a.length;b+=6)this.curveTo(a[b],a[b+1],a[b+2],a[b+3],a[b+4],a[b+5])};mxAbstractCanvas2D.prototype.close=function(a,b,c,d,e,f){this.addOp(this.closeOp)};mxAbstractCanvas2D.prototype.end=function(){};function mxXmlCanvas2D(a){mxAbstractCanvas2D.call(this);this.root=a;this.writeDefaults()}mxUtils.extend(mxXmlCanvas2D,mxAbstractCanvas2D);\r\nmxXmlCanvas2D.prototype.textEnabled=!0;mxXmlCanvas2D.prototype.compressed=!0;\r\nmxXmlCanvas2D.prototype.writeDefaults=function(){var a;a=this.createElement("fontfamily");a.setAttribute("family",mxConstants.DEFAULT_FONTFAMILY);this.root.appendChild(a);a=this.createElement("fontsize");a.setAttribute("size",mxConstants.DEFAULT_FONTSIZE);this.root.appendChild(a);a=this.createElement("shadowcolor");a.setAttribute("color",mxConstants.SHADOWCOLOR);this.root.appendChild(a);a=this.createElement("shadowalpha");a.setAttribute("alpha",mxConstants.SHADOW_OPACITY);this.root.appendChild(a);\r\na=this.createElement("shadowoffset");a.setAttribute("dx",mxConstants.SHADOW_OFFSET_X);a.setAttribute("dy",mxConstants.SHADOW_OFFSET_Y);this.root.appendChild(a)};mxXmlCanvas2D.prototype.format=function(a){return parseFloat(parseFloat(a).toFixed(2))};mxXmlCanvas2D.prototype.createElement=function(a){return this.root.ownerDocument.createElement(a)};mxXmlCanvas2D.prototype.save=function(){this.compressed&&mxAbstractCanvas2D.prototype.save.apply(this,arguments);this.root.appendChild(this.createElement("save"))};\r\nmxXmlCanvas2D.prototype.restore=function(){this.compressed&&mxAbstractCanvas2D.prototype.restore.apply(this,arguments);this.root.appendChild(this.createElement("restore"))};mxXmlCanvas2D.prototype.scale=function(a){var b=this.createElement("scale");b.setAttribute("scale",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.translate=function(a,b){var c=this.createElement("translate");c.setAttribute("dx",this.format(a));c.setAttribute("dy",this.format(b));this.root.appendChild(c)};\r\nmxXmlCanvas2D.prototype.rotate=function(a,b,c,d,e){var f=this.createElement("rotate");if(0!=a||b||c)f.setAttribute("theta",this.format(a)),f.setAttribute("flipH",b?"1":"0"),f.setAttribute("flipV",c?"1":"0"),f.setAttribute("cx",this.format(d)),f.setAttribute("cy",this.format(e)),this.root.appendChild(f)};\r\nmxXmlCanvas2D.prototype.setAlpha=function(a){if(this.compressed){if(this.state.alpha==a)return;mxAbstractCanvas2D.prototype.setAlpha.apply(this,arguments)}var b=this.createElement("alpha");b.setAttribute("alpha",this.format(a));this.root.appendChild(b)};mxXmlCanvas2D.prototype.setFillAlpha=function(a){if(this.compressed){if(this.state.fillAlpha==a)return;mxAbstractCanvas2D.prototype.setFillAlpha.apply(this,arguments)}var b=this.createElement("fillalpha");b.setAttribute("alpha",this.format(a));this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setStrokeAlpha=function(a){if(this.compressed){if(this.state.strokeAlpha==a)return;mxAbstractCanvas2D.prototype.setStrokeAlpha.apply(this,arguments)}var b=this.createElement("strokealpha");b.setAttribute("alpha",this.format(a));this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setFillColor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fillColor==a)return;mxAbstractCanvas2D.prototype.setFillColor.apply(this,arguments)}var b=this.createElement("fillcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setGradient=function(a,b,c,d,e,f,g,k,l){if(null!=a&&null!=b){mxAbstractCanvas2D.prototype.setGradient.apply(this,arguments);var m=this.createElement("gradient");m.setAttribute("c1",a);m.setAttribute("c2",b);m.setAttribute("x",this.format(c));m.setAttribute("y",this.format(d));m.setAttribute("w",this.format(e));m.setAttribute("h",this.format(f));null!=g&&m.setAttribute("direction",g);null!=k&&m.setAttribute("alpha1",k);null!=l&&m.setAttribute("alpha2",l);this.root.appendChild(m)}};\r\nmxXmlCanvas2D.prototype.setStrokeColor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.strokeColor==a)return;mxAbstractCanvas2D.prototype.setStrokeColor.apply(this,arguments)}var b=this.createElement("strokecolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setStrokeWidth=function(a){if(this.compressed){if(this.state.strokeWidth==a)return;mxAbstractCanvas2D.prototype.setStrokeWidth.apply(this,arguments)}var b=this.createElement("strokewidth");b.setAttribute("width",this.format(a));this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setDashed=function(a,b){if(this.compressed){if(this.state.dashed==a)return;mxAbstractCanvas2D.prototype.setDashed.apply(this,arguments)}var c=this.createElement("dashed");c.setAttribute("dashed",a?"1":"0");null!=b&&c.setAttribute("fixDash",b?"1":"0");this.root.appendChild(c)};\r\nmxXmlCanvas2D.prototype.setDashPattern=function(a){if(this.compressed){if(this.state.dashPattern==a)return;mxAbstractCanvas2D.prototype.setDashPattern.apply(this,arguments)}var b=this.createElement("dashpattern");b.setAttribute("pattern",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.setLineCap=function(a){if(this.compressed){if(this.state.lineCap==a)return;mxAbstractCanvas2D.prototype.setLineCap.apply(this,arguments)}var b=this.createElement("linecap");b.setAttribute("cap",a);this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setLineJoin=function(a){if(this.compressed){if(this.state.lineJoin==a)return;mxAbstractCanvas2D.prototype.setLineJoin.apply(this,arguments)}var b=this.createElement("linejoin");b.setAttribute("join",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.setMiterLimit=function(a){if(this.compressed){if(this.state.miterLimit==a)return;mxAbstractCanvas2D.prototype.setMiterLimit.apply(this,arguments)}var b=this.createElement("miterlimit");b.setAttribute("limit",a);this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setFontColor=function(a){if(this.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontColor==a)return;mxAbstractCanvas2D.prototype.setFontColor.apply(this,arguments)}var b=this.createElement("fontcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)}};\r\nmxXmlCanvas2D.prototype.setFontBackgroundColor=function(a){if(this.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBackgroundColor==a)return;mxAbstractCanvas2D.prototype.setFontBackgroundColor.apply(this,arguments)}var b=this.createElement("fontbackgroundcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)}};\r\nmxXmlCanvas2D.prototype.setFontBorderColor=function(a){if(this.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBorderColor==a)return;mxAbstractCanvas2D.prototype.setFontBorderColor.apply(this,arguments)}var b=this.createElement("fontbordercolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)}};\r\nmxXmlCanvas2D.prototype.setFontSize=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontSize==a)return;mxAbstractCanvas2D.prototype.setFontSize.apply(this,arguments)}var b=this.createElement("fontsize");b.setAttribute("size",a);this.root.appendChild(b)}};\r\nmxXmlCanvas2D.prototype.setFontFamily=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontFamily==a)return;mxAbstractCanvas2D.prototype.setFontFamily.apply(this,arguments)}var b=this.createElement("fontfamily");b.setAttribute("family",a);this.root.appendChild(b)}};\r\nmxXmlCanvas2D.prototype.setFontStyle=function(a){if(this.textEnabled){null==a&&(a=0);if(this.compressed){if(this.state.fontStyle==a)return;mxAbstractCanvas2D.prototype.setFontStyle.apply(this,arguments)}var b=this.createElement("fontstyle");b.setAttribute("style",a);this.root.appendChild(b)}};\r\nmxXmlCanvas2D.prototype.setShadow=function(a){if(this.compressed){if(this.state.shadow==a)return;mxAbstractCanvas2D.prototype.setShadow.apply(this,arguments)}var b=this.createElement("shadow");b.setAttribute("enabled",a?"1":"0");this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setShadowColor=function(a){if(this.compressed){a==mxConstants.NONE&&(a=null);if(this.state.shadowColor==a)return;mxAbstractCanvas2D.prototype.setShadowColor.apply(this,arguments)}var b=this.createElement("shadowcolor");b.setAttribute("color",null!=a?a:mxConstants.NONE);this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setShadowAlpha=function(a){if(this.compressed){if(this.state.shadowAlpha==a)return;mxAbstractCanvas2D.prototype.setShadowAlpha.apply(this,arguments)}var b=this.createElement("shadowalpha");b.setAttribute("alpha",a);this.root.appendChild(b)};\r\nmxXmlCanvas2D.prototype.setShadowOffset=function(a,b){if(this.compressed){if(this.state.shadowDx==a&&this.state.shadowDy==b)return;mxAbstractCanvas2D.prototype.setShadowOffset.apply(this,arguments)}var c=this.createElement("shadowoffset");c.setAttribute("dx",a);c.setAttribute("dy",b);this.root.appendChild(c)};\r\nmxXmlCanvas2D.prototype.rect=function(a,b,c,d){var e=this.createElement("rect");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(b));e.setAttribute("w",this.format(c));e.setAttribute("h",this.format(d));this.root.appendChild(e)};\r\nmxXmlCanvas2D.prototype.roundrect=function(a,b,c,d,e,f){var g=this.createElement("roundrect");g.setAttribute("x",this.format(a));g.setAttribute("y",this.format(b));g.setAttribute("w",this.format(c));g.setAttribute("h",this.format(d));g.setAttribute("dx",this.format(e));g.setAttribute("dy",this.format(f));this.root.appendChild(g)};\r\nmxXmlCanvas2D.prototype.ellipse=function(a,b,c,d){var e=this.createElement("ellipse");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(b));e.setAttribute("w",this.format(c));e.setAttribute("h",this.format(d));this.root.appendChild(e)};\r\nmxXmlCanvas2D.prototype.image=function(a,b,c,d,e,f,g,k){e=this.converter.convert(e);var l=this.createElement("image");l.setAttribute("x",this.format(a));l.setAttribute("y",this.format(b));l.setAttribute("w",this.format(c));l.setAttribute("h",this.format(d));l.setAttribute("src",e);l.setAttribute("aspect",f?"1":"0");l.setAttribute("flipH",g?"1":"0");l.setAttribute("flipV",k?"1":"0");this.root.appendChild(l)};\r\nmxXmlCanvas2D.prototype.begin=function(){this.root.appendChild(this.createElement("begin"));this.lastY=this.lastX=0};mxXmlCanvas2D.prototype.moveTo=function(a,b){var c=this.createElement("move");c.setAttribute("x",this.format(a));c.setAttribute("y",this.format(b));this.root.appendChild(c);this.lastX=a;this.lastY=b};\r\nmxXmlCanvas2D.prototype.lineTo=function(a,b){var c=this.createElement("line");c.setAttribute("x",this.format(a));c.setAttribute("y",this.format(b));this.root.appendChild(c);this.lastX=a;this.lastY=b};mxXmlCanvas2D.prototype.quadTo=function(a,b,c,d){var e=this.createElement("quad");e.setAttribute("x1",this.format(a));e.setAttribute("y1",this.format(b));e.setAttribute("x2",this.format(c));e.setAttribute("y2",this.format(d));this.root.appendChild(e);this.lastX=c;this.lastY=d};\r\nmxXmlCanvas2D.prototype.curveTo=function(a,b,c,d,e,f){var g=this.createElement("curve");g.setAttribute("x1",this.format(a));g.setAttribute("y1",this.format(b));g.setAttribute("x2",this.format(c));g.setAttribute("y2",this.format(d));g.setAttribute("x3",this.format(e));g.setAttribute("y3",this.format(f));this.root.appendChild(g);this.lastX=e;this.lastY=f};mxXmlCanvas2D.prototype.close=function(){this.root.appendChild(this.createElement("close"))};\r\nmxXmlCanvas2D.prototype.text=function(a,b,c,d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e){mxUtils.isNode(e)&&(e=mxUtils.getOuterHtml(e));var r=this.createElement("text");r.setAttribute("x",this.format(a));r.setAttribute("y",this.format(b));r.setAttribute("w",this.format(c));r.setAttribute("h",this.format(d));r.setAttribute("str",e);null!=f&&r.setAttribute("align",f);null!=g&&r.setAttribute("valign",g);r.setAttribute("wrap",k?"1":"0");null==l&&(l="");r.setAttribute("format",l);null!=m&&r.setAttribute("overflow",\r\nm);null!=n&&r.setAttribute("clip",n?"1":"0");null!=p&&r.setAttribute("rotation",p);null!=q&&r.setAttribute("dir",q);this.root.appendChild(r)}};mxXmlCanvas2D.prototype.stroke=function(){this.root.appendChild(this.createElement("stroke"))};mxXmlCanvas2D.prototype.fill=function(){this.root.appendChild(this.createElement("fill"))};mxXmlCanvas2D.prototype.fillAndStroke=function(){this.root.appendChild(this.createElement("fillstroke"))};\r\nfunction mxSvgCanvas2D(a,b){mxAbstractCanvas2D.call(this);this.root=a;this.gradients=[];this.defs=null;this.styleEnabled=null!=b?b:!1;var c=null;if(a.ownerDocument!=document)for(c=a;null!=c&&"svg"!=c.nodeName;)c=c.parentNode;null!=c&&(0<c.getElementsByTagName("defs").length&&(this.defs=c.getElementsByTagName("defs")[0]),null==this.defs&&(this.defs=this.createElement("defs"),null!=c.firstChild?c.insertBefore(this.defs,c.firstChild):c.appendChild(this.defs)),this.styleEnabled&&this.defs.appendChild(this.createStyle()))}\r\nmxUtils.extend(mxSvgCanvas2D,mxAbstractCanvas2D);\r\n(function(){mxSvgCanvas2D.prototype.useDomParser=!mxClient.IS_IE&&"function"===typeof DOMParser&&"function"===typeof XMLSerializer;if(mxSvgCanvas2D.prototype.useDomParser)try{var a=(new DOMParser).parseFromString("test text","text/html");mxSvgCanvas2D.prototype.useDomParser=null!=a}catch(b){mxSvgCanvas2D.prototype.useDomParser=!1}mxSvgCanvas2D.prototype.useAbsoluteIds=!mxClient.IS_CHROMEAPP&&!mxClient.IS_IE&&!mxClient.IS_IE11&&!mxClient.IS_EDGE&&0<document.getElementsByTagName("base").length})();\r\nmxSvgCanvas2D.prototype.node=null;mxSvgCanvas2D.prototype.matchHtmlAlignment=!0;mxSvgCanvas2D.prototype.textEnabled=!0;mxSvgCanvas2D.prototype.foEnabled=!0;mxSvgCanvas2D.prototype.foAltText="[Object]";mxSvgCanvas2D.prototype.foOffset=0;mxSvgCanvas2D.prototype.textOffset=0;mxSvgCanvas2D.prototype.imageOffset=0;mxSvgCanvas2D.prototype.strokeTolerance=0;mxSvgCanvas2D.prototype.minStrokeWidth=1;mxSvgCanvas2D.prototype.refCount=0;mxSvgCanvas2D.prototype.lineHeightCorrection=1;\r\nmxSvgCanvas2D.prototype.pointerEventsValue="all";mxSvgCanvas2D.prototype.fontMetricsPadding=10;mxSvgCanvas2D.prototype.cacheOffsetSize=!0;mxSvgCanvas2D.prototype.format=function(a){return parseFloat(parseFloat(a).toFixed(2))};mxSvgCanvas2D.prototype.getBaseUrl=function(){var a=window.location.href,b=a.lastIndexOf("#");0<b&&(a=a.substring(0,b));return a};mxSvgCanvas2D.prototype.reset=function(){mxAbstractCanvas2D.prototype.reset.apply(this,arguments);this.gradients=[]};\r\nmxSvgCanvas2D.prototype.createStyle=function(a){a=this.createElement("style");a.setAttribute("type","text/css");mxUtils.write(a,"svg{font-family:"+mxConstants.DEFAULT_FONTFAMILY+";font-size:"+mxConstants.DEFAULT_FONTSIZE+";fill:none;stroke-miterlimit:10}");return a};\r\nmxSvgCanvas2D.prototype.createElement=function(a,b){if(null!=this.root.ownerDocument.createElementNS)return this.root.ownerDocument.createElementNS(b||mxConstants.NS_SVG,a);var c=this.root.ownerDocument.createElement(a);null!=b&&c.setAttribute("xmlns",b);return c};mxSvgCanvas2D.prototype.getAlternateText=function(a,b,c,d,e,f,g,k,l,m,n,p,q){return null!=f?this.foAltText:null};\r\nmxSvgCanvas2D.prototype.createAlternateContent=function(a,b,c,d,e,f,g,k,l,m,n,p,q){a=this.getAlternateText(a,b,c,d,e,f,g,k,l,m,n,p,q);d=this.state;return null!=a&&0<d.fontSize?(k=k==mxConstants.ALIGN_TOP?1:k==mxConstants.ALIGN_BOTTOM?0:.3,e=g==mxConstants.ALIGN_RIGHT?"end":g==mxConstants.ALIGN_LEFT?"start":"middle",g=this.createElement("text"),g.setAttribute("x",Math.round(b+d.dx)),g.setAttribute("y",Math.round(c+d.dy+k*d.fontSize)),g.setAttribute("fill",d.fontColor||"black"),g.setAttribute("font-family",\r\nd.fontFamily),g.setAttribute("font-size",Math.round(d.fontSize)+"px"),"start"!=e&&g.setAttribute("text-anchor",e),(d.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&g.setAttribute("font-weight","bold"),(d.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&g.setAttribute("font-style","italic"),b=[],(d.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline"),(d.fontStyle&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through"),\r\n0<b.length&&g.setAttribute("text-decoration",b.join(" ")),mxUtils.write(g,a),g):null};\r\nmxSvgCanvas2D.prototype.createGradientId=function(a,b,c,d,e){"#"==a.charAt(0)&&(a=a.substring(1));"#"==b.charAt(0)&&(b=b.substring(1));a=a.toLowerCase()+"-"+c;b=b.toLowerCase()+"-"+d;c=null;null==e||e==mxConstants.DIRECTION_SOUTH?c="s":e==mxConstants.DIRECTION_EAST?c="e":e==mxConstants.DIRECTION_RADIAL?c="r":(d=a,a=b,b=d,e==mxConstants.DIRECTION_NORTH?c="s":e==mxConstants.DIRECTION_WEST&&(c="e"));return"mx-gradient-"+a+"-"+b+"-"+c};\r\nmxSvgCanvas2D.prototype.getSvgGradient=function(a,b,c,d,e){var f=this.createGradientId(a,b,c,d,e),g=this.gradients[f];if(null==g){var k=this.root.ownerSVGElement,l=0,m=f+"-"+l;if(null!=k)for(g=k.ownerDocument.getElementById(m);null!=g&&g.ownerSVGElement!=k;)m=f+"-"+l++,g=k.ownerDocument.getElementById(m);else m="id"+ ++this.refCount;null==g&&(g=this.createSvgGradient(a,b,c,d,e),g.setAttribute("id",m),null!=this.defs?this.defs.appendChild(g):k.appendChild(g));this.gradients[f]=g}return g.getAttribute("id")};\r\nmxSvgCanvas2D.prototype.createSvgGradient=function(a,b,c,d,e){var f=this.createElement(e==mxConstants.DIRECTION_RADIAL?"radialGradient":"linearGradient");f.setAttribute("x1","0%");f.setAttribute("y1","0%");f.setAttribute("x2","0%");f.setAttribute("y2","0%");null==e||e==mxConstants.DIRECTION_SOUTH?f.setAttribute("y2","100%"):e==mxConstants.DIRECTION_EAST?f.setAttribute("x2","100%"):e==mxConstants.DIRECTION_NORTH?f.setAttribute("y1","100%"):e==mxConstants.DIRECTION_WEST&&f.setAttribute("x1","100%");\r\nc=1>c?";stop-opacity:"+c:"";e=this.createElement("stop");e.setAttribute("offset","0%");e.setAttribute("style","stop-color:"+a+c);f.appendChild(e);c=1>d?";stop-opacity:"+d:"";e=this.createElement("stop");e.setAttribute("offset","100%");e.setAttribute("style","stop-color:"+b+c);f.appendChild(e);return f};\r\nmxSvgCanvas2D.prototype.addNode=function(a,b){var c=this.node,d=this.state;if(null!=c){if("path"==c.nodeName)if(null!=this.path&&0<this.path.length)c.setAttribute("d",this.path.join(" "));else return;a&&null!=d.fillColor?this.updateFill():this.styleEnabled||("ellipse"==c.nodeName&&mxClient.IS_FF?c.setAttribute("fill","transparent"):c.setAttribute("fill","none"),a=!1);b&&null!=d.strokeColor?this.updateStroke():this.styleEnabled||c.setAttribute("stroke","none");null!=d.transform&&0<d.transform.length&&\r\nc.setAttribute("transform",d.transform);this.pointerEvents?c.setAttribute("pointer-events",this.pointerEventsValue):this.pointerEvents||null!=this.originalRoot||c.setAttribute("pointer-events","none");d.shadow&&this.root.appendChild(this.createShadow(c));0<this.strokeTolerance&&(!a||null==d.fillColor)&&this.addTolerance(c);("rect"!=c.nodeName&&"path"!=c.nodeName&&"ellipse"!=c.nodeName||"none"!=c.getAttribute("fill")&&"transparent"!=c.getAttribute("fill")||"none"!=c.getAttribute("stroke")||"none"!=\r\nc.getAttribute("pointer-events"))&&this.root.appendChild(c);this.node=null}};mxSvgCanvas2D.prototype.addTolerance=function(a){this.root.appendChild(this.createTolerance(a))};\r\nmxSvgCanvas2D.prototype.updateFill=function(){var a=this.state;(1>a.alpha||1>a.fillAlpha)&&this.node.setAttribute("fill-opacity",a.alpha*a.fillAlpha);if(null!=a.fillColor)if(null!=a.gradientColor)if(a=this.getSvgGradient(String(a.fillColor),String(a.gradientColor),a.gradientFillAlpha,a.gradientAlpha,a.gradientDirection),this.root.ownerDocument==document&&this.useAbsoluteIds){var b=this.getBaseUrl().replace(/([\\(\\)])/g,"\\\\$1");this.node.setAttribute("fill","url("+b+"#"+a+")")}else this.node.setAttribute("fill",\r\n"url(#"+a+")");else this.node.setAttribute("fill",String(a.fillColor).toLowerCase())};mxSvgCanvas2D.prototype.getCurrentStrokeWidth=function(){return Math.max(this.minStrokeWidth,Math.max(.01,this.format(this.state.strokeWidth*this.state.scale)))};\r\nmxSvgCanvas2D.prototype.updateStroke=function(){var a=this.state;this.node.setAttribute("stroke",String(a.strokeColor).toLowerCase());(1>a.alpha||1>a.strokeAlpha)&&this.node.setAttribute("stroke-opacity",a.alpha*a.strokeAlpha);var b=this.getCurrentStrokeWidth();1!=b&&this.node.setAttribute("stroke-width",b);"path"==this.node.nodeName&&this.updateStrokeAttributes();a.dashed&&this.node.setAttribute("stroke-dasharray",this.createDashPattern((a.fixDash?1:a.strokeWidth)*a.scale))};\r\nmxSvgCanvas2D.prototype.updateStrokeAttributes=function(){var a=this.state;null!=a.lineJoin&&"miter"!=a.lineJoin&&this.node.setAttribute("stroke-linejoin",a.lineJoin);if(null!=a.lineCap){var b=a.lineCap;"flat"==b&&(b="butt");"butt"!=b&&this.node.setAttribute("stroke-linecap",b)}null==a.miterLimit||this.styleEnabled&&10==a.miterLimit||this.node.setAttribute("stroke-miterlimit",a.miterLimit)};\r\nmxSvgCanvas2D.prototype.createDashPattern=function(a){var b=[];if("string"===typeof this.state.dashPattern){var c=this.state.dashPattern.split(" ");if(0<c.length)for(var d=0;d<c.length;d++)b[d]=Number(c[d])*a}return b.join(" ")};\r\nmxSvgCanvas2D.prototype.createTolerance=function(a){a=a.cloneNode(!0);var b=parseFloat(a.getAttribute("stroke-width")||1)+this.strokeTolerance;a.setAttribute("pointer-events","stroke");a.setAttribute("visibility","hidden");a.removeAttribute("stroke-dasharray");a.setAttribute("stroke-width",b);a.setAttribute("fill","none");a.setAttribute("stroke",mxClient.IS_OT?"none":"white");return a};\r\nmxSvgCanvas2D.prototype.createShadow=function(a){a=a.cloneNode(!0);var b=this.state;"none"==a.getAttribute("fill")||mxClient.IS_FF&&"transparent"==a.getAttribute("fill")||a.setAttribute("fill",b.shadowColor);"none"!=a.getAttribute("stroke")&&a.setAttribute("stroke",b.shadowColor);a.setAttribute("transform","translate("+this.format(b.shadowDx*b.scale)+","+this.format(b.shadowDy*b.scale)+")"+(b.transform||""));a.setAttribute("opacity",b.shadowAlpha);return a};\r\nmxSvgCanvas2D.prototype.setLink=function(a,b){if(null==a)this.root=this.originalRoot;else{this.originalRoot=this.root;var c=this.createElement("a");null==c.setAttributeNS||this.root.ownerDocument!=document&&null==document.documentMode?c.setAttribute("xlink:href",a):c.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",a);null!=b&&c.setAttribute("target",b);this.root.appendChild(c);this.root=c}};\r\nmxSvgCanvas2D.prototype.rotate=function(a,b,c,d,e){if(0!=a||b||c){var f=this.state;d+=f.dx;e+=f.dy;d*=f.scale;e*=f.scale;f.transform=f.transform||"";if(b&&c)a+=180;else if(b!=c){var g=b?d:0,k=b?-1:1,l=c?e:0,m=c?-1:1;f.transform+="translate("+this.format(g)+","+this.format(l)+")scale("+this.format(k)+","+this.format(m)+")translate("+this.format(-g)+","+this.format(-l)+")"}if(b?!c:c)a*=-1;0!=a&&(f.transform+="rotate("+this.format(a)+","+this.format(d)+","+this.format(e)+")");f.rotation+=a;f.rotationCx=\r\nd;f.rotationCy=e}};mxSvgCanvas2D.prototype.begin=function(){mxAbstractCanvas2D.prototype.begin.apply(this,arguments);this.node=this.createElement("path")};mxSvgCanvas2D.prototype.rect=function(a,b,c,d){var e=this.state,f=this.createElement("rect");f.setAttribute("x",this.format((a+e.dx)*e.scale));f.setAttribute("y",this.format((b+e.dy)*e.scale));f.setAttribute("width",this.format(c*e.scale));f.setAttribute("height",this.format(d*e.scale));this.node=f};\r\nmxSvgCanvas2D.prototype.roundrect=function(a,b,c,d,e,f){this.rect(a,b,c,d);0<e&&this.node.setAttribute("rx",this.format(e*this.state.scale));0<f&&this.node.setAttribute("ry",this.format(f*this.state.scale))};mxSvgCanvas2D.prototype.ellipse=function(a,b,c,d){var e=this.state,f=this.createElement("ellipse");f.setAttribute("cx",this.format((a+c/2+e.dx)*e.scale));f.setAttribute("cy",this.format((b+d/2+e.dy)*e.scale));f.setAttribute("rx",c/2*e.scale);f.setAttribute("ry",d/2*e.scale);this.node=f};\r\nmxSvgCanvas2D.prototype.image=function(a,b,c,d,e,f,g,k){e=this.converter.convert(e);f=null!=f?f:!0;g=null!=g?g:!1;k=null!=k?k:!1;var l=this.state;a+=l.dx;b+=l.dy;var m=this.createElement("image");m.setAttribute("x",this.format(a*l.scale)+this.imageOffset);m.setAttribute("y",this.format(b*l.scale)+this.imageOffset);m.setAttribute("width",this.format(c*l.scale));m.setAttribute("height",this.format(d*l.scale));null==m.setAttributeNS?m.setAttribute("xlink:href",e):m.setAttributeNS(mxConstants.NS_XLINK,\r\n"xlink:href",e);f||m.setAttribute("preserveAspectRatio","none");(1>l.alpha||1>l.fillAlpha)&&m.setAttribute("opacity",l.alpha*l.fillAlpha);e=this.state.transform||"";if(g||k){var n=f=1,p=0,q=0;g&&(f=-1,p=-c-2*a);k&&(n=-1,q=-d-2*b);e+="scale("+f+","+n+")translate("+p*l.scale+","+q*l.scale+")"}0<e.length&&m.setAttribute("transform",e);this.pointerEvents||m.setAttribute("pointer-events","none");this.root.appendChild(m)};\r\nmxSvgCanvas2D.prototype.convertHtml=function(a){if(this.useDomParser){var b=(new DOMParser).parseFromString(a,"text/html");null!=b&&(a=(new XMLSerializer).serializeToString(b.body),"<body"==a.substring(0,5)&&(a=a.substring(a.indexOf(">",5)+1)),"</body>"==a.substring(a.length-7,a.length)&&(a=a.substring(0,a.length-7)))}else{if(null!=document.implementation&&null!=document.implementation.createDocument){var b=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null),c=b.createElement("body");\r\nb.documentElement.appendChild(c);var d=document.createElement("div");d.innerHTML=a;for(a=d.firstChild;null!=a;)d=a.nextSibling,c.appendChild(b.adoptNode(a)),a=d;return c.innerHTML}b=document.createElement("textarea");b.innerHTML=a.replace(/&amp;/g,"&amp;amp;").replace(/&#60;/g,"&amp;lt;").replace(/&#62;/g,"&amp;gt;").replace(/&lt;/g,"&amp;lt;").replace(/&gt;/g,"&amp;gt;").replace(/</g,"&lt;").replace(/>/g,"&gt;");a=b.value.replace(/&/g,"&amp;").replace(/&amp;lt;/g,"&lt;").replace(/&amp;gt;/g,"&gt;").replace(/&amp;amp;/g,\r\n"&amp;").replace(/<br>/g,"<br />").replace(/<hr>/g,"<hr />").replace(/(<img[^>]+)>/gm,"$1 />")}return a};\r\nmxSvgCanvas2D.prototype.createDiv=function(a){mxUtils.isNode(a)||(a="<div><div>"+this.convertHtml(a)+"</div></div>");if(mxClient.IS_IE||mxClient.IS_IE11||!document.createElementNS)return mxUtils.isNode(a)&&(a="<div><div>"+mxUtils.getXml(a)+"</div></div>"),mxUtils.parseXml(\'<div xmlns="http://www.w3.org/1999/xhtml">\'+a+"</div>").documentElement;var b=document.createElementNS("http://www.w3.org/1999/xhtml","div");if(mxUtils.isNode(a)){var c=document.createElement("div"),d=c.cloneNode(!1);this.root.ownerDocument!=\r\ndocument?c.appendChild(a.cloneNode(!0)):c.appendChild(a);d.appendChild(c);b.appendChild(d)}else b.innerHTML=a;return b};mxSvgCanvas2D.prototype.updateText=function(a,b,c,d,e,f,g,k,l,m,n){null!=n&&null!=n.firstChild&&null!=n.firstChild.firstChild&&this.updateTextNodes(a,b,c,d,e,f,g,k,l,m,n.firstChild)};\r\nmxSvgCanvas2D.prototype.addForeignObject=function(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t){q=this.createElement("g");var u=this.createElement("foreignObject");u.setAttribute("style","overflow: visible; text-align: left;");u.setAttribute("pointer-events","none");r.ownerDocument!=document&&(r=mxUtils.importNodeImplementation(u.ownerDocument,r,!0));u.appendChild(r);q.appendChild(u);this.updateTextNodes(a,b,c,d,f,g,k,m,n,p,q);this.root.ownerDocument!=document&&(a=this.createAlternateContent(u,a,b,c,d,e,f,g,k,l,\r\nm,n,p),null!=a&&(u.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility"),b=this.createElement("switch"),b.appendChild(u),b.appendChild(a),q.appendChild(b)));t.appendChild(q)};\r\nmxSvgCanvas2D.prototype.updateTextNodes=function(a,b,c,d,e,f,g,k,l,m,n){var p=this.state.scale;mxSvgCanvas2D.createCss(c+2,d,e,f,g,k,l,null!=this.state.fontBackgroundColor?this.state.fontBackgroundColor:null,null!=this.state.fontBorderColor?this.state.fontBorderColor:null,"display: flex; align-items: unsafe "+(f==mxConstants.ALIGN_TOP?"flex-start":f==mxConstants.ALIGN_BOTTOM?"flex-end":"center")+"; justify-content: unsafe "+(e==mxConstants.ALIGN_LEFT?"flex-start":e==mxConstants.ALIGN_RIGHT?"flex-end":\r\n"center")+"; ",this.getTextCss(),p,mxUtils.bind(this,function(c,d,e,f,g){a+=this.state.dx;b+=this.state.dy;var k=n.firstChild,l=k.firstChild,q=l.firstChild,r=(this.rotateHtml?this.state.rotation:0)+(null!=m?m:0),t=(0!=this.foOffset?"translate("+this.foOffset+" "+this.foOffset+")":"")+(1!=p?"scale("+p+")":"");q.firstChild.setAttribute("style",g);q.setAttribute("style",f);k.setAttribute("width",Math.ceil(1/Math.min(1,p)*100)+"%");k.setAttribute("height",Math.ceil(1/Math.min(1,p)*100)+"%");d=Math.round(b+\r\nd);0>d?k.setAttribute("y",d):(k.removeAttribute("y"),e+="padding-top: "+d+"px; ");l.setAttribute("style",e+"margin-left: "+Math.round(a+c)+"px;");t+=0!=r?"rotate("+r+" "+a+" "+b+")":"";""!=t?n.setAttribute("transform",t):n.removeAttribute("transform");1!=this.state.alpha?n.setAttribute("opacity",this.state.alpha):n.removeAttribute("opacity")}))};\r\nmxSvgCanvas2D.createCss=function(a,b,c,d,e,f,g,k,l,m,n,p,q){p="box-sizing: border-box; font-size: 0; text-align: "+(c==mxConstants.ALIGN_LEFT?"left":c==mxConstants.ALIGN_RIGHT?"right":"center")+"; ";var r=mxUtils.getAlignmentAsPoint(c,d);c="overflow: hidden; ";var t="width: 1px; ",u="height: 1px; ",x=r.x*a,r=r.y*b;g?(t="width: "+Math.round(a)+"px; ",p+="max-height: "+Math.round(b)+"px; ",r=0):"fill"==f?(t="width: "+Math.round(a)+"px; ",u="height: "+Math.round(b)+"px; ",n+="width: 100%; height: 100%; ",\r\np+="width: "+Math.round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<b&&(p+="max-height: "+Math.round(b)+"px; ")):"block"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",c="",r=0,p+=t,"middle"==d&&(p+="max-height: "+Math.round(b)+"px; ")):(c="",r=0);b="";null!=k&&(b+="background-color: "+k+"; ");null!=l&&(b+="border: 1px solid "+l+"; ");""==c||g?n+=b:p+=b;e&&0<a?(n+="white-space: normal; word-wrap: "+mxConstants.WORD_WRAP+"; ",t="width: "+Math.round(a)+\r\n"px; ",""!=c&&"fill"!=f&&(r=0)):(n+="white-space: nowrap; ",""==c&&"block"!=f&&(x=0));q(x,r,m+t+u,p+c,n,c)};\r\nmxSvgCanvas2D.prototype.getTextCss=function(){var a=this.state,b="display: inline-block; font-size: "+a.fontSize+"px; font-family: "+a.fontFamily+"; color: "+a.fontColor+"; line-height: "+(mxConstants.ABSOLUTE_LINE_HEIGHT?a.fontSize*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*this.lineHeightCorrection)+"; pointer-events: "+(this.pointerEvents?this.pointerEventsValue:"none")+"; ";(a.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(b+="font-weight: bold; ");(a.fontStyle&mxConstants.FONT_ITALIC)==\r\nmxConstants.FONT_ITALIC&&(b+="font-style: italic; ");var c=[];(a.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&c.push("underline");(a.fontStyle&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&c.push("line-through");0<c.length&&(b+="text-decoration: "+c.join(" ")+"; ");return b};\r\nmxSvgCanvas2D.prototype.text=function(a,b,c,d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e)if(p=null!=p?p:0,this.foEnabled&&"html"==l){var r=this.createDiv(e);null!=r&&(null!=q&&r.setAttribute("dir",q),this.addForeignObject(a,b,c,d,e,f,g,k,l,m,n,p,q,r,this.root))}else this.plainText(a+this.state.dx,b+this.state.dy,c,d,e,f,g,k,m,n,p,q)};\r\nmxSvgCanvas2D.prototype.createClip=function(a,b,c,d){a=Math.round(a);b=Math.round(b);c=Math.round(c);d=Math.round(d);for(var e="mx-clip-"+a+"-"+b+"-"+c+"-"+d,f=0,g=e+"-"+f;null!=document.getElementById(g);)g=e+"-"+ ++f;clip=this.createElement("clipPath");clip.setAttribute("id",g);e=this.createElement("rect");e.setAttribute("x",a);e.setAttribute("y",b);e.setAttribute("width",c);e.setAttribute("height",d);clip.appendChild(e);return clip};\r\nmxSvgCanvas2D.prototype.plainText=function(a,b,c,d,e,f,g,k,l,m,n,p){n=null!=n?n:0;k=this.state;var q=k.fontSize,r=this.createElement("g"),t=k.transform||"";this.updateFont(r);this.pointerEvents||null!=this.originalRoot||r.setAttribute("pointer-events","none");0!=n&&(t+="rotate("+n+","+this.format(a*k.scale)+","+this.format(b*k.scale)+")");null!=p&&r.setAttribute("direction",p);m&&0<c&&0<d&&(p=a,n=b,f==mxConstants.ALIGN_CENTER?p-=c/2:f==mxConstants.ALIGN_RIGHT&&(p-=c),"fill"!=l&&(g==mxConstants.ALIGN_MIDDLE?\r\nn-=d/2:g==mxConstants.ALIGN_BOTTOM&&(n-=d)),n=this.createClip(p*k.scale-2,n*k.scale-2,c*k.scale+4,d*k.scale+4),null!=this.defs?this.defs.appendChild(n):this.root.appendChild(n),mxClient.IS_CHROMEAPP||mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE||this.root.ownerDocument!=document?r.setAttribute("clip-path","url(#"+n.getAttribute("id")+")"):(p=this.getBaseUrl().replace(/([\\(\\)])/g,"\\\\$1"),r.setAttribute("clip-path","url("+p+"#"+n.getAttribute("id")+")")));n=f==mxConstants.ALIGN_RIGHT?"end":f==\r\nmxConstants.ALIGN_CENTER?"middle":"start";"start"!=n&&r.setAttribute("text-anchor",n);this.styleEnabled&&q==mxConstants.DEFAULT_FONTSIZE||r.setAttribute("font-size",q*k.scale+"px");0<t.length&&r.setAttribute("transform",t);1>k.alpha&&r.setAttribute("opacity",k.alpha);t=e.split("\\n");p=Math.round(q*mxConstants.LINE_HEIGHT);var u=q+(t.length-1)*p;n=b+q-1;g==mxConstants.ALIGN_MIDDLE?"fill"==l?n-=d/2:(m=(this.matchHtmlAlignment&&m&&0<d?Math.min(u,d):u)/2,n-=m):g==mxConstants.ALIGN_BOTTOM&&("fill"==l?\r\nn-=d:(m=this.matchHtmlAlignment&&m&&0<d?Math.min(u,d):u,n-=m+1));for(m=0;m<t.length;m++)0<t[m].length&&0<mxUtils.trim(t[m]).length&&(q=this.createElement("text"),q.setAttribute("x",this.format(a*k.scale)+this.textOffset),q.setAttribute("y",this.format(n*k.scale)+this.textOffset),mxUtils.write(q,t[m]),r.appendChild(q)),n+=p;this.root.appendChild(r);this.addTextBackground(r,e,a,b,c,"fill"==l?d:u,f,g,l)};\r\nmxSvgCanvas2D.prototype.updateFont=function(a){var b=this.state;a.setAttribute("fill",b.fontColor);this.styleEnabled&&b.fontFamily==mxConstants.DEFAULT_FONTFAMILY||a.setAttribute("font-family",b.fontFamily);(b.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&a.setAttribute("font-weight","bold");(b.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&a.setAttribute("font-style","italic");var c=[];(b.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&c.push("underline");\r\n(b.fontStyle&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&c.push("line-through");0<c.length&&a.setAttribute("text-decoration",c.join(" "))};\r\nmxSvgCanvas2D.prototype.addTextBackground=function(a,b,c,d,e,f,g,k,l){var m=this.state;if(null!=m.fontBackgroundColor||null!=m.fontBorderColor){var n=null;if("fill"==l||"width"==l)g==mxConstants.ALIGN_CENTER?c-=e/2:g==mxConstants.ALIGN_RIGHT&&(c-=e),k==mxConstants.ALIGN_MIDDLE?d-=f/2:k==mxConstants.ALIGN_BOTTOM&&(d-=f),n=new mxRectangle((c+1)*m.scale,d*m.scale,(e-2)*m.scale,(f+2)*m.scale);else if(null!=a.getBBox&&this.root.ownerDocument==document)try{var n=a.getBBox(),p=mxClient.IS_IE&&mxClient.IS_SVG,\r\nn=new mxRectangle(n.x,n.y+(p?0:1),n.width,n.height+(p?1:0))}catch(q){}if(null==n||0==n.width||0==n.height)n=document.createElement("div"),n.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?m.fontSize*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT,n.style.fontSize=m.fontSize+"px",n.style.fontFamily=m.fontFamily,n.style.whiteSpace="nowrap",n.style.position="absolute",n.style.visibility="hidden",n.style.display="inline-block",n.style.zoom="1",(m.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&\r\n(n.style.fontWeight="bold"),(m.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(n.style.fontStyle="italic"),b=mxUtils.htmlEntities(b,!1),n.innerHTML=b.replace(/\\n/g,"<br/>"),document.body.appendChild(n),e=n.offsetWidth,f=n.offsetHeight,n.parentNode.removeChild(n),g==mxConstants.ALIGN_CENTER?c-=e/2:g==mxConstants.ALIGN_RIGHT&&(c-=e),k==mxConstants.ALIGN_MIDDLE?d-=f/2:k==mxConstants.ALIGN_BOTTOM&&(d-=f),n=new mxRectangle((c+1)*m.scale,(d+2)*m.scale,e*m.scale,(f+1)*m.scale);null!=n&&(b=\r\nthis.createElement("rect"),b.setAttribute("fill",m.fontBackgroundColor||"none"),b.setAttribute("stroke",m.fontBorderColor||"none"),b.setAttribute("x",Math.floor(n.x-1)),b.setAttribute("y",Math.floor(n.y-1)),b.setAttribute("width",Math.ceil(n.width+2)),b.setAttribute("height",Math.ceil(n.height)),m=null!=m.fontBorderColor?Math.max(1,this.format(m.scale)):0,b.setAttribute("stroke-width",m),this.root.ownerDocument==document&&1==mxUtils.mod(m,2)&&b.setAttribute("transform","translate(0.5, 0.5)"),a.insertBefore(b,\r\na.firstChild))}};mxSvgCanvas2D.prototype.stroke=function(){this.addNode(!1,!0)};mxSvgCanvas2D.prototype.fill=function(){this.addNode(!0,!1)};mxSvgCanvas2D.prototype.fillAndStroke=function(){this.addNode(!0,!0)};function mxGuide(a,b){this.graph=a;this.setStates(b)}mxGuide.prototype.graph=null;mxGuide.prototype.states=null;mxGuide.prototype.horizontal=!0;mxGuide.prototype.vertical=!0;mxGuide.prototype.guideX=null;mxGuide.prototype.guideY=null;mxGuide.prototype.rounded=!1;\r\nmxGuide.prototype.tolerance=2;mxGuide.prototype.setStates=function(a){this.states=a};mxGuide.prototype.isEnabledForEvent=function(a){return!0};mxGuide.prototype.getGuideTolerance=function(a){return a&&this.graph.gridEnabled?this.graph.gridSize/2:this.tolerance};mxGuide.prototype.createGuideShape=function(a){a=new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH);a.isDashed=!0;return a};mxGuide.prototype.isStateIgnored=function(a){return!1};\r\nmxGuide.prototype.move=function(a,b,c,d){if(null!=this.states&&(this.horizontal||this.vertical)&&null!=a&&null!=b){d=function(c,d,e){var f=!1;e&&Math.abs(c-z)<t?(b.y=c-a.getCenterY(),t=Math.abs(c-z),f=!0):e||(Math.abs(c-B)<t?(b.y=c-a.y,t=Math.abs(c-B),f=!0):Math.abs(c-A)<t&&(b.y=c-a.y-a.height,t=Math.abs(c-A),f=!0));f&&(p=d,q=c,null==this.guideY&&(this.guideY=this.createGuideShape(!1),this.guideY.dialect=mxConstants.DIALECT_SVG,this.guideY.pointerEvents=!1,this.guideY.init(this.graph.getView().getOverlayPane())));\r\nn=n||f};var e=function(c,d,e){var f=!1;e&&Math.abs(c-y)<r?(b.x=c-a.getCenterX(),r=Math.abs(c-y),f=!0):e||(Math.abs(c-u)<r?(b.x=c-a.x,r=Math.abs(c-u),f=!0):Math.abs(c-x)<r&&(b.x=c-a.x-a.width,r=Math.abs(c-x),f=!0));f&&(l=d,m=c,null==this.guideX&&(this.guideX=this.createGuideShape(!0),this.guideX.dialect=mxConstants.DIALECT_SVG,this.guideX.pointerEvents=!1,this.guideX.init(this.graph.getView().getOverlayPane())));k=k||f},f=this.graph.getView().scale,f=this.getGuideTolerance(c)*f,g=a.clone();g.x+=b.x;\r\ng.y+=b.y;for(var k=!1,l=null,m=null,n=!1,p=null,q=null,r=f,t=f,u=g.x,x=g.x+g.width,y=g.getCenterX(),B=g.y,A=g.y+g.height,z=g.getCenterY(),f=0;f<this.states.length;f++)g=this.states[f],null==g||this.isStateIgnored(g)||(this.horizontal&&(e.call(this,g.getCenterX(),g,!0),e.call(this,g.x,g,!1),e.call(this,g.x+g.width,g,!1),null==g.cell&&e.call(this,g.getCenterX(),g,!1)),this.vertical&&(d.call(this,g.getCenterY(),g,!0),d.call(this,g.y,g,!1),d.call(this,g.y+g.height,g,!1),null==g.cell&&d.call(this,g.getCenterY(),\r\ng,!1)));this.graph.snapDelta(b,a,!c,k,n);b=this.getDelta(a,l,b.x,p,b.y);c=this.graph.container;k||null==this.guideX?null!=this.guideX&&(e=d=null,null!=l&&null!=a&&(d=Math.min(a.y+b.y-this.graph.panDy,l.y),e=Math.max(a.y+a.height+b.y-this.graph.panDy,l.y+l.height)),this.guideX.points=null!=d&&null!=e?[new mxPoint(m,d),new mxPoint(m,e)]:[new mxPoint(m,-this.graph.panDy),new mxPoint(m,c.scrollHeight-3-this.graph.panDy)],this.guideX.stroke=this.getGuideColor(l,!0),this.guideX.node.style.visibility="visible",\r\nthis.guideX.redraw()):this.guideX.node.style.visibility="hidden";n||null==this.guideY?null!=this.guideY&&(e=d=null,null!=p&&null!=a&&(d=Math.min(a.x+b.x-this.graph.panDx,p.x),e=Math.max(a.x+a.width+b.x-this.graph.panDx,p.x+p.width)),this.guideY.points=null!=d&&null!=e?[new mxPoint(d,q),new mxPoint(e,q)]:[new mxPoint(-this.graph.panDx,q),new mxPoint(c.scrollWidth-3-this.graph.panDx,q)],this.guideY.stroke=this.getGuideColor(p,!1),this.guideY.node.style.visibility="visible",this.guideY.redraw()):this.guideY.node.style.visibility=\r\n"hidden"}return b};mxGuide.prototype.getDelta=function(a,b,c,d,e){var f=this.graph.view.scale;if(this.rounded||null!=b&&null==b.cell)c=Math.round((a.x+c)/f)*f-a.x;if(this.rounded||null!=d&&null==d.cell)e=Math.round((a.y+e)/f)*f-a.y;return new mxPoint(c,e)};mxGuide.prototype.getGuideColor=function(a,b){return mxConstants.GUIDE_COLOR};mxGuide.prototype.hide=function(){this.setVisible(!1)};\r\nmxGuide.prototype.setVisible=function(a){null!=this.guideX&&(this.guideX.node.style.visibility=a?"visible":"hidden");null!=this.guideY&&(this.guideY.node.style.visibility=a?"visible":"hidden")};mxGuide.prototype.destroy=function(){null!=this.guideX&&(this.guideX.destroy(),this.guideX=null);null!=this.guideY&&(this.guideY.destroy(),this.guideY=null)};function mxShape(a){this.stencil=a;this.initStyles()}mxShape.prototype.dialect=null;mxShape.prototype.scale=1;mxShape.prototype.antiAlias=!0;\r\nmxShape.prototype.minSvgStrokeWidth=1;mxShape.prototype.bounds=null;mxShape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.prototype.style=null;mxShape.prototype.boundingBox=null;mxShape.prototype.stencil=null;mxShape.prototype.svgStrokeTolerance=8;mxShape.prototype.pointerEvents=!0;mxShape.prototype.svgPointerEvents="all";mxShape.prototype.shapePointerEvents=!1;mxShape.prototype.stencilPointerEvents=!1;mxShape.prototype.outline=!1;\r\nmxShape.prototype.visible=!0;mxShape.prototype.useSvgBoundingBox=!1;mxShape.prototype.init=function(a){null==this.node&&(this.node=this.create(a),null!=a&&a.appendChild(this.node))};mxShape.prototype.initStyles=function(a){this.strokewidth=1;this.rotation=0;this.strokeOpacity=this.fillOpacity=this.opacity=100;this.flipV=this.flipH=!1};mxShape.prototype.isHtmlAllowed=function(){return!1};\r\nmxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.stencil&&"inherit"!=this.stencil.strokewidth?Number(this.stencil.strokewidth):this.strokewidth)*this.scale)),2)?.5:0};mxShape.prototype.create=function(a){return null!=a&&null!=a.ownerSVGElement?this.createSvg(a):this.createHtml(a)};mxShape.prototype.createSvg=function(){return document.createElementNS(mxConstants.NS_SVG,"g")};\r\nmxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};mxShape.prototype.reconfigure=function(){this.redraw()};mxShape.prototype.redraw=function(){this.updateBoundsFromPoints();this.visible&&this.checkBounds()?(this.node.style.visibility="visible",this.clear(),"DIV"==this.node.nodeName?this.redrawHtmlShape():this.redrawShape(),this.updateBoundingBox()):(this.node.style.visibility="hidden",this.boundingBox=null)};\r\nmxShape.prototype.clear=function(){if(null!=this.node.ownerSVGElement)for(;null!=this.node.lastChild;)this.node.removeChild(this.node.lastChild);else this.node.style.cssText="position:absolute;"+(null!=this.cursor?"cursor:"+this.cursor+";":""),this.node.innerHTML=""};\r\nmxShape.prototype.updateBoundsFromPoints=function(){var a=this.points;if(null!=a&&0<a.length&&null!=a[0]){this.bounds=new mxRectangle(Number(a[0].x),Number(a[0].y),1,1);for(var b=1;b<this.points.length;b++)null!=a[b]&&this.bounds.add(new mxRectangle(Number(a[b].x),Number(a[b].y),1,1))}};\r\nmxShape.prototype.getLabelBounds=function(a){var b=mxUtils.getValue(this.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST),c=a;b!=mxConstants.DIRECTION_SOUTH&&b!=mxConstants.DIRECTION_NORTH&&null!=this.state&&null!=this.state.text&&this.state.text.isPaintBoundsInverted()&&(c=c.clone(),b=c.width,c.width=c.height,c.height=b);c=this.getLabelMargins(c);if(null!=c){var d="1"==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPH,!1),e="1"==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPV,\r\n!1);null!=this.state&&null!=this.state.text&&this.state.text.isPaintBoundsInverted()&&(b=c.x,c.x=c.height,c.height=c.width,c.width=c.y,c.y=b,b=d,d=e,e=b);return mxUtils.getDirectedBounds(a,c,this.style,d,e)}return a};mxShape.prototype.getLabelMargins=function(a){return null};\r\nmxShape.prototype.checkBounds=function(){return!isNaN(this.scale)&&isFinite(this.scale)&&0<this.scale&&null!=this.bounds&&!isNaN(this.bounds.x)&&!isNaN(this.bounds.y)&&!isNaN(this.bounds.width)&&!isNaN(this.bounds.height)&&0<this.bounds.width&&0<this.bounds.height};\r\nmxShape.prototype.redrawShape=function(){var a=this.createCanvas();null!=a&&(a.pointerEvents=this.pointerEvents,this.beforePaint(a),this.paint(a),this.afterPaint(a),this.node!=a.root&&this.node.insertAdjacentHTML("beforeend",a.root.outerHTML),"DIV"==this.node.nodeName&&8==document.documentMode&&(this.node.style.filter="",mxUtils.addTransparentBackgroundFilter(this.node)),this.destroyCanvas(a))};\r\nmxShape.prototype.createCanvas=function(){var a=null;null!=this.node.ownerSVGElement&&(a=this.createSvgCanvas());null!=a&&this.outline&&(a.setStrokeWidth(this.strokewidth),a.setStrokeColor(this.stroke),null!=this.isDashed&&a.setDashed(this.isDashed),a.setStrokeWidth=function(){},a.setStrokeColor=function(){},a.setFillColor=function(){},a.setGradient=function(){},a.setDashed=function(){},a.text=function(){});return a};\r\nmxShape.prototype.createSvgCanvas=function(){var a=new mxSvgCanvas2D(this.node,!1);a.strokeTolerance=this.svgStrokeTolerance;a.pointerEventsValue=this.svgPointerEvents;var b=this.getSvgScreenOffset();0!=b?this.node.setAttribute("transform","translate("+b+","+b+")"):this.node.removeAttribute("transform");a.minStrokeWidth=this.minSvgStrokeWidth;this.antiAlias||(a.format=function(a){return Math.round(parseFloat(a))});return a};\r\nmxShape.prototype.redrawHtmlShape=function(){this.updateHtmlBounds(this.node);this.updateHtmlFilters(this.node);this.updateHtmlColors(this.node)};\r\nmxShape.prototype.updateHtmlFilters=function(a){var b="";100>this.opacity&&(b+="alpha(opacity="+this.opacity+")");this.isShadow&&(b+="progid:DXImageTransform.Microsoft.dropShadow (OffX=\'"+Math.round(mxConstants.SHADOW_OFFSET_X*this.scale)+"\', OffY=\'"+Math.round(mxConstants.SHADOW_OFFSET_Y*this.scale)+"\', Color=\'"+mxConstants.VML_SHADOWCOLOR+"\')");if(null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE){var c=this.fill,d=this.gradient,e="0",f={east:0,south:1,\r\nwest:2,north:3},g=null!=this.direction?f[this.direction]:0;null!=this.gradientDirection&&(g=mxUtils.mod(g+f[this.gradientDirection]-1,4));1==g?(e="1",f=c,c=d,d=f):2==g?(f=c,c=d,d=f):3==g&&(e="1");b+="progid:DXImageTransform.Microsoft.gradient(startColorStr=\'"+c+"\', endColorStr=\'"+d+"\', gradientType=\'"+e+"\')"}a.style.filter=b};\r\nmxShape.prototype.updateHtmlColors=function(a){var b=this.stroke;null!=b&&b!=mxConstants.NONE?(a.style.borderColor=b,this.isDashed?a.style.borderStyle="dashed":0<this.strokewidth&&(a.style.borderStyle="solid"),a.style.borderWidth=Math.max(1,Math.ceil(this.strokewidth*this.scale))+"px"):a.style.borderWidth="0px";b=this.outline?null:this.fill;null!=b&&b!=mxConstants.NONE?(a.style.backgroundColor=b,a.style.backgroundImage="none"):this.pointerEvents?a.style.backgroundColor="transparent":8==document.documentMode?\r\nmxUtils.addTransparentBackgroundFilter(a):this.setTransparentBackgroundImage(a)};\r\nmxShape.prototype.updateHtmlBounds=function(a){var b=9<=document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1,b)+"px";a.style.overflow="hidden";a.style.left=Math.round(this.bounds.x-b/2)+"px";a.style.top=Math.round(this.bounds.y-b/2)+"px";"CSS1Compat"==document.compatMode&&(b=-b);a.style.width=Math.round(Math.max(0,this.bounds.width+b))+"px";a.style.height=Math.round(Math.max(0,this.bounds.height+b))+"px"};\r\nmxShape.prototype.destroyCanvas=function(a){if(a instanceof mxSvgCanvas2D){for(var b in a.gradients){var c=a.gradients[b];null!=c&&(c.mxRefCount=(c.mxRefCount||0)+1)}this.releaseSvgGradients(this.oldGradients);this.oldGradients=a.gradients}};mxShape.prototype.beforePaint=function(a){};mxShape.prototype.afterPaint=function(a){};\r\nmxShape.prototype.paint=function(a){var b=!1;if(null!=a&&this.outline){var c=a.stroke;a.stroke=function(){b=!0;c.apply(this,arguments)};var d=a.fillAndStroke;a.fillAndStroke=function(){b=!0;d.apply(this,arguments)}}var e=this.scale,f=this.bounds.x/e,g=this.bounds.y/e,k=this.bounds.width/e,l=this.bounds.height/e;if(this.isPaintBoundsInverted())var m=(k-l)/2,f=f+m,g=g-m,m=k,k=l,l=m;this.updateTransform(a,f,g,k,l);this.configureCanvas(a,f,g,k,l);m=null;if(null==this.stencil&&null==this.points&&this.shapePointerEvents||\r\nnull!=this.stencil&&this.stencilPointerEvents){var n=this.createBoundingBox();this.dialect==mxConstants.DIALECT_SVG?(m=this.createTransparentSvgRectangle(n.x,n.y,n.width,n.height),this.node.appendChild(m)):(e=a.createRect("rect",n.x/e,n.y/e,n.width/e,n.height/e),e.appendChild(a.createTransparentFill()),e.stroked="false",a.root.appendChild(e))}null!=this.stencil?this.stencil.drawShape(a,this,f,g,k,l):(a.setStrokeWidth(this.strokewidth),e=this.getWaypoints(),null!=e?1<e.length&&this.paintEdgeShape(a,\r\ne):this.paintVertexShape(a,f,g,k,l));null!=m&&null!=a.state&&null!=a.state.transform&&m.setAttribute("transform",a.state.transform);null!=a&&this.outline&&!b&&(a.rect(f,g,k,l),a.stroke())};mxShape.prototype.getWaypoints=function(){var a=this.points,b=null;if(null!=a&&(b=[],0<a.length)){var c=this.scale,d=Math.max(c,1),e=a[0];b.push(new mxPoint(e.x/c,e.y/c));for(var f=1;f<a.length;f++){var g=a[f];(Math.abs(e.x-g.x)>=d||Math.abs(e.y-g.y)>=d)&&b.push(new mxPoint(g.x/c,g.y/c));e=g}}return b};\r\nmxShape.prototype.configureCanvas=function(a,b,c,d,e){var f=null;null!=this.style&&(f=this.style.dashPattern);a.setAlpha(this.opacity/100);a.setFillAlpha(this.fillOpacity/100);a.setStrokeAlpha(this.strokeOpacity/100);null!=this.isShadow&&a.setShadow(this.isShadow);null!=this.isDashed&&a.setDashed(this.isDashed,null!=this.style?1==mxUtils.getValue(this.style,mxConstants.STYLE_FIX_DASH,!1):!1);null!=f&&a.setDashPattern(f);null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?\r\n(b=this.getGradientBounds(a,b,c,d,e),a.setGradient(this.fill,this.gradient,b.x,b.y,b.width,b.height,this.gradientDirection)):a.setFillColor(this.fill);a.setStrokeColor(this.stroke);this.configurePointerEvents(a)};mxShape.prototype.configurePointerEvents=function(a){null==this.style||null!=this.fill&&this.fill!=mxConstants.NONE||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(a.pointerEvents=!1)};\r\nmxShape.prototype.getGradientBounds=function(a,b,c,d,e){return new mxRectangle(b,c,d,e)};mxShape.prototype.updateTransform=function(a,b,c,d,e){a.scale(this.scale);a.rotate(this.getShapeRotation(),this.flipH,this.flipV,b+d/2,c+e/2)};mxShape.prototype.paintVertexShape=function(a,b,c,d,e){this.paintBackground(a,b,c,d,e);this.outline&&null!=this.style&&0!=mxUtils.getValue(this.style,mxConstants.STYLE_BACKGROUND_OUTLINE,0)||(a.setShadow(!1),this.paintForeground(a,b,c,d,e))};\r\nmxShape.prototype.paintBackground=function(a,b,c,d,e){};mxShape.prototype.paintForeground=function(a,b,c,d,e){};mxShape.prototype.paintEdgeShape=function(a,b){};\r\nmxShape.prototype.getArcSize=function(a,b){var c;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?c=Math.min(a/2,Math.min(b/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,c=Math.min(a*c,b*c));return c};\r\nmxShape.prototype.paintGlassEffect=function(a,b,c,d,e,f){var g=Math.ceil(this.strokewidth/2);a.setGradient("#ffffff","#ffffff",b,c,d,.6*e,"south",.9,.1);a.begin();f+=2*g;this.isRounded?(a.moveTo(b-g+f,c-g),a.quadTo(b-g,c-g,b-g,c-g+f),a.lineTo(b-g,c+.4*e),a.quadTo(b+.5*d,c+.7*e,b+d+g,c+.4*e),a.lineTo(b+d+g,c-g+f),a.quadTo(b+d+g,c-g,b+d+g-f,c-g)):(a.moveTo(b-g,c-g),a.lineTo(b-g,c+.4*e),a.quadTo(b+.5*d,c+.7*e,b+d+g,c+.4*e),a.lineTo(b+d+g,c-g));a.close();a.fill()};\r\nmxShape.prototype.addPoints=function(a,b,c,d,e,f,g){if(null!=b&&0<b.length){g=null!=g?g:!0;var k=b[b.length-1];if(e&&c){b=b.slice();var l=b[0],l=new mxPoint(k.x+(l.x-k.x)/2,k.y+(l.y-k.y)/2);b.splice(0,0,l)}var m=b[0],l=1;for(g?a.moveTo(m.x,m.y):a.lineTo(m.x,m.y);l<(e?b.length:b.length-1);){g=b[mxUtils.mod(l,b.length)];var n=m.x-g.x,m=m.y-g.y;if(c&&(0!=n||0!=m)&&(null==f||0>mxUtils.indexOf(f,l-1))){var p=Math.sqrt(n*n+m*m);a.lineTo(g.x+n*Math.min(d,p/2)/p,g.y+m*Math.min(d,p/2)/p);for(m=b[mxUtils.mod(l+\r\n1,b.length)];l<b.length-2&&0==Math.round(m.x-g.x)&&0==Math.round(m.y-g.y);)m=b[mxUtils.mod(l+2,b.length)],l++;n=m.x-g.x;m=m.y-g.y;p=Math.max(1,Math.sqrt(n*n+m*m));n=g.x+n*Math.min(d,p/2)/p;m=g.y+m*Math.min(d,p/2)/p;a.quadTo(g.x,g.y,n,m);g=new mxPoint(n,m)}else a.lineTo(g.x,g.y);m=g;l++}e?a.close():a.lineTo(k.x,k.y)}};\r\nmxShape.prototype.resetStyles=function(){this.initStyles();this.spacing=0;delete this.fill;delete this.gradient;delete this.gradientDirection;delete this.stroke;delete this.startSize;delete this.endSize;delete this.startArrow;delete this.endArrow;delete this.direction;delete this.isShadow;delete this.isDashed;delete this.isRounded;delete this.glass};\r\nmxShape.prototype.apply=function(a){this.state=a;this.style=a.style;if(null!=this.style){this.fill=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,this.fill);this.gradient=mxUtils.getValue(this.style,mxConstants.STYLE_GRADIENTCOLOR,this.gradient);this.gradientDirection=mxUtils.getValue(this.style,mxConstants.STYLE_GRADIENT_DIRECTION,this.gradientDirection);this.opacity=mxUtils.getValue(this.style,mxConstants.STYLE_OPACITY,this.opacity);this.fillOpacity=mxUtils.getValue(this.style,mxConstants.STYLE_FILL_OPACITY,\r\nthis.fillOpacity);this.strokeOpacity=mxUtils.getValue(this.style,mxConstants.STYLE_STROKE_OPACITY,this.strokeOpacity);this.stroke=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,this.stroke);this.strokewidth=mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth);this.spacing=mxUtils.getValue(this.style,mxConstants.STYLE_SPACING,this.spacing);this.startSize=mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,this.startSize);this.endSize=mxUtils.getNumber(this.style,\r\nmxConstants.STYLE_ENDSIZE,this.endSize);this.startArrow=mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,this.startArrow);this.endArrow=mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,this.endArrow);this.rotation=mxUtils.getValue(this.style,mxConstants.STYLE_ROTATION,this.rotation);this.direction=mxUtils.getValue(this.style,mxConstants.STYLE_DIRECTION,this.direction);this.flipH=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPH,0);this.flipV=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPV,\r\n0);null!=this.stencil&&(this.flipH=1==mxUtils.getValue(this.style,"stencilFlipH",0)||this.flipH,this.flipV=1==mxUtils.getValue(this.style,"stencilFlipV",0)||this.flipV);if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)a=this.flipH,this.flipH=this.flipV,this.flipV=a;this.isShadow=1==mxUtils.getValue(this.style,mxConstants.STYLE_SHADOW,this.isShadow);this.isDashed=1==mxUtils.getValue(this.style,mxConstants.STYLE_DASHED,this.isDashed);this.isRounded=1==mxUtils.getValue(this.style,\r\nmxConstants.STYLE_ROUNDED,this.isRounded);this.glass=1==mxUtils.getValue(this.style,mxConstants.STYLE_GLASS,this.glass);this.fill==mxConstants.NONE&&(this.fill=null);this.gradient==mxConstants.NONE&&(this.gradient=null);this.stroke==mxConstants.NONE&&(this.stroke=null)}};mxShape.prototype.setCursor=function(a){null==a&&(a="");this.cursor=a;null!=this.node&&(this.node.style.cursor=a)};mxShape.prototype.getCursor=function(){return this.cursor};mxShape.prototype.isRoundable=function(){return!1};\r\nmxShape.prototype.updateBoundingBox=function(){if(this.useSvgBoundingBox&&null!=this.node&&null!=this.node.ownerSVGElement)try{var a=this.node.getBBox();if(0<a.width&&0<a.height){this.boundingBox=new mxRectangle(a.x,a.y,a.width,a.height);this.boundingBox.grow(this.strokewidth*this.scale/2);return}}catch(c){}if(null!=this.bounds){a=this.createBoundingBox();if(null!=a){this.augmentBoundingBox(a);var b=this.getShapeRotation();0!=b&&(a=mxUtils.getBoundingBox(a,b))}this.boundingBox=a}};\r\nmxShape.prototype.createBoundingBox=function(){var a=this.bounds.clone();(null!=this.stencil&&(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)||this.isPaintBoundsInverted())&&a.rotate90();return a};mxShape.prototype.augmentBoundingBox=function(a){this.isShadow&&(a.width+=Math.ceil(mxConstants.SHADOW_OFFSET_X*this.scale),a.height+=Math.ceil(mxConstants.SHADOW_OFFSET_Y*this.scale));a.grow(this.strokewidth*this.scale/2)};\r\nmxShape.prototype.isPaintBoundsInverted=function(){return null==this.stencil&&(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)};mxShape.prototype.getRotation=function(){return null!=this.rotation?this.rotation:0};mxShape.prototype.getTextRotation=function(){var a=this.getRotation();1!=mxUtils.getValue(this.style,mxConstants.STYLE_HORIZONTAL,1)&&(a+=mxText.prototype.verticalTextRotation);return a};\r\nmxShape.prototype.getShapeRotation=function(){var a=this.getRotation();null!=this.direction&&(this.direction==mxConstants.DIRECTION_NORTH?a+=270:this.direction==mxConstants.DIRECTION_WEST?a+=180:this.direction==mxConstants.DIRECTION_SOUTH&&(a+=90));return a};\r\nmxShape.prototype.createTransparentSvgRectangle=function(a,b,c,d){var e=document.createElementNS(mxConstants.NS_SVG,"rect");e.setAttribute("x",a);e.setAttribute("y",b);e.setAttribute("width",c);e.setAttribute("height",d);e.setAttribute("fill","none");e.setAttribute("stroke","none");e.setAttribute("pointer-events","all");return e};mxShape.prototype.setTransparentBackgroundImage=function(a){a.style.backgroundImage="url(\'"+mxClient.imageBasePath+"/transparent.gif\')"};\r\nmxShape.prototype.releaseSvgGradients=function(a){if(null!=a)for(var b in a){var c=a[b];null!=c&&(c.mxRefCount=(c.mxRefCount||0)-1,0==c.mxRefCount&&null!=c.parentNode&&c.parentNode.removeChild(c))}};mxShape.prototype.destroy=function(){null!=this.node&&(mxEvent.release(this.node),null!=this.node.parentNode&&this.node.parentNode.removeChild(this.node),this.node=null);this.releaseSvgGradients(this.oldGradients);this.oldGradients=null};\r\nfunction mxStencil(a){this.desc=a;this.parseDescription();this.parseConstraints()}mxUtils.extend(mxStencil,mxShape);mxStencil.defaultLocalized=!1;mxStencil.allowEval=!1;mxStencil.prototype.desc=null;mxStencil.prototype.constraints=null;mxStencil.prototype.aspect=null;mxStencil.prototype.w0=null;mxStencil.prototype.h0=null;mxStencil.prototype.bgNode=null;mxStencil.prototype.fgNode=null;mxStencil.prototype.strokewidth=null;\r\nmxStencil.prototype.parseDescription=function(){this.fgNode=this.desc.getElementsByTagName("foreground")[0];this.bgNode=this.desc.getElementsByTagName("background")[0];this.w0=Number(this.desc.getAttribute("w")||100);this.h0=Number(this.desc.getAttribute("h")||100);var a=this.desc.getAttribute("aspect");this.aspect=null!=a?a:"variable";a=this.desc.getAttribute("strokewidth");this.strokewidth=null!=a?a:"1"};\r\nmxStencil.prototype.parseConstraints=function(){var a=this.desc.getElementsByTagName("connections")[0];if(null!=a&&(a=mxUtils.getChildNodes(a),null!=a&&0<a.length)){this.constraints=[];for(var b=0;b<a.length;b++)this.constraints.push(this.parseConstraint(a[b]))}};mxStencil.prototype.parseConstraint=function(a){var b=Number(a.getAttribute("x")),c=Number(a.getAttribute("y")),d="1"==a.getAttribute("perimeter");a=a.getAttribute("name");return new mxConnectionConstraint(new mxPoint(b,c),d,a)};\r\nmxStencil.prototype.evaluateTextAttribute=function(a,b,c){b=this.evaluateAttribute(a,b,c);a=a.getAttribute("localized");if(mxStencil.defaultLocalized&&null==a||"1"==a)b=mxResources.get(b);return b};mxStencil.prototype.evaluateAttribute=function(a,b,c){b=a.getAttribute(b);null==b&&(a=mxUtils.getTextContent(a),null!=a&&mxStencil.allowEval&&(a=mxUtils.eval(a),"function"==typeof a&&(b=a(c))));return b};\r\nmxStencil.prototype.drawShape=function(a,b,c,d,e,f){var g=a.states.slice(),k=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null),k=this.computeAspect(b.style,c,d,e,f,k),l=Math.min(k.width,k.height),l="inherit"==this.strokewidth?Number(mxUtils.getNumber(b.style,mxConstants.STYLE_STROKEWIDTH,1)):Number(this.strokewidth)*l;a.setStrokeWidth(l);null!=b.style&&"1"==mxUtils.getValue(b.style,mxConstants.STYLE_POINTER_EVENTS,"0")&&(a.setStrokeColor(mxConstants.NONE),a.rect(c,d,e,f),a.stroke(),a.setStrokeColor(b.stroke));\r\nthis.drawChildren(a,b,c,d,e,f,this.bgNode,k,!1,!0);this.drawChildren(a,b,c,d,e,f,this.fgNode,k,!0,!b.outline||null==b.style||0==mxUtils.getValue(b.style,mxConstants.STYLE_BACKGROUND_OUTLINE,0));a.states.length!=g.length&&(a.states=g)};mxStencil.prototype.drawChildren=function(a,b,c,d,e,f,g,k,l,m){if(null!=g&&0<e&&0<f)for(c=g.firstChild;null!=c;)c.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,c,k,l,m),c=c.nextSibling};\r\nmxStencil.prototype.computeAspect=function(a,b,c,d,e,f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTION_SOUTH){g=d/this.h0;b=e/this.w0;var k=(d-e)/2;a+=k;c-=k}"fixed"==this.aspect&&(b=g=Math.min(b,g),f?(a+=(e-this.w0*b)/2,c+=(d-this.h0*g)/2):(a+=(d-this.w0*b)/2,c+=(e-this.h0*g)/2));return new mxRectangle(a,c,b,g)};\r\nmxStencil.prototype.drawNode=function(a,b,c,d,e,f){var g=c.nodeName,k=d.x,l=d.y,m=d.width,n=d.height,p=Math.min(m,n);if("save"==g)a.save();else if("restore"==g)a.restore();else if(f){if("path"==g){a.begin();p=!0;if("1"==c.getAttribute("rounded")){for(var p=!1,q=Number(c.getAttribute("arcSize")),r=0,t=[],u=c.firstChild;null!=u;){if(u.nodeType==mxConstants.NODETYPE_ELEMENT){var x=u.nodeName;if("move"==x||"line"==x)"move"!=x&&0!=t.length||t.push([]),t[t.length-1].push(new mxPoint(k+Number(u.getAttribute("x"))*\r\nm,l+Number(u.getAttribute("y"))*n)),r++;else{p=!0;break}}u=u.nextSibling}if(!p&&0<r)for(m=0;m<t.length;m++)n=!1,l=t[m][0],k=t[m][t[m].length-1],l.x==k.x&&l.y==k.y&&(t[m].pop(),n=!0),this.addPoints(a,t[m],!0,q,n);else p=!0}if(p)for(u=c.firstChild;null!=u;)u.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,u,d,e,f),u=u.nextSibling}else if("close"==g)a.close();else if("move"==g)a.moveTo(k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n);else if("line"==g)a.lineTo(k+Number(c.getAttribute("x"))*\r\nm,l+Number(c.getAttribute("y"))*n);else if("quad"==g)a.quadTo(k+Number(c.getAttribute("x1"))*m,l+Number(c.getAttribute("y1"))*n,k+Number(c.getAttribute("x2"))*m,l+Number(c.getAttribute("y2"))*n);else if("curve"==g)a.curveTo(k+Number(c.getAttribute("x1"))*m,l+Number(c.getAttribute("y1"))*n,k+Number(c.getAttribute("x2"))*m,l+Number(c.getAttribute("y2"))*n,k+Number(c.getAttribute("x3"))*m,l+Number(c.getAttribute("y3"))*n);else if("arc"==g)a.arcTo(Number(c.getAttribute("rx"))*m,Number(c.getAttribute("ry"))*\r\nn,Number(c.getAttribute("x-axis-rotation")),Number(c.getAttribute("large-arc-flag")),Number(c.getAttribute("sweep-flag")),k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n);else if("rect"==g)a.rect(k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n,Number(c.getAttribute("w"))*m,Number(c.getAttribute("h"))*n);else if("roundrect"==g)b=Number(c.getAttribute("arcsize")),0==b&&(b=100*mxConstants.RECTANGLE_ROUNDING_FACTOR),d=Number(c.getAttribute("w"))*m,f=Number(c.getAttribute("h"))*\r\nn,b=Number(b)/100,b=Math.min(d*b,f*b),a.roundrect(k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n,d,f,b,b);else if("ellipse"==g)a.ellipse(k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n,Number(c.getAttribute("w"))*m,Number(c.getAttribute("h"))*n);else if("image"==g)b.outline||(b=this.evaluateAttribute(c,"src",b),a.image(k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n,Number(c.getAttribute("w"))*m,Number(c.getAttribute("h"))*n,b,!1,"1"==c.getAttribute("flipH"),\r\n"1"==c.getAttribute("flipV")));else if("text"==g)b.outline||(d=this.evaluateTextAttribute(c,"str",b),f="1"==c.getAttribute("vertical")?-90:0,"0"==c.getAttribute("align-shape")&&(p=b.rotation,q=1==mxUtils.getValue(b.style,mxConstants.STYLE_FLIPH,0),b=1==mxUtils.getValue(b.style,mxConstants.STYLE_FLIPV,0),f=q&&b?f-p:q||b?f+p:f-p),f-=c.getAttribute("rotation"),a.text(k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n,0,0,d,c.getAttribute("align")||"left",c.getAttribute("valign")||"top",\r\n!1,"",null,!1,f));else if("include-shape"==g)p=mxStencilRegistry.getStencil(c.getAttribute("name")),null!=p&&(k+=Number(c.getAttribute("x"))*m,l+=Number(c.getAttribute("y"))*n,d=Number(c.getAttribute("w"))*m,f=Number(c.getAttribute("h"))*n,p.drawShape(a,b,k,l,d,f));else if("fillstroke"==g)a.fillAndStroke();else if("fill"==g)a.fill();else if("stroke"==g)a.stroke();else if("strokewidth"==g)m="1"==c.getAttribute("fixed")?1:p,a.setStrokeWidth(Number(c.getAttribute("width"))*m);else if("dashed"==g)a.setDashed("1"==\r\nc.getAttribute("dashed"));else if("dashpattern"==g){if(c=c.getAttribute("pattern"),null!=c){c=c.split(" ");n=[];for(m=0;m<c.length;m++)0<c[m].length&&n.push(Number(c[m])*p);c=n.join(" ");a.setDashPattern(c)}}else"strokecolor"==g?a.setStrokeColor(c.getAttribute("color")):"linecap"==g?a.setLineCap(c.getAttribute("cap")):"linejoin"==g?a.setLineJoin(c.getAttribute("join")):"miterlimit"==g?a.setMiterLimit(Number(c.getAttribute("limit"))):"fillcolor"==g?a.setFillColor(c.getAttribute("color")):"alpha"==\r\ng?a.setAlpha(c.getAttribute("alpha")):"fillalpha"==g?a.setAlpha(c.getAttribute("alpha")):"strokealpha"==g?a.setAlpha(c.getAttribute("alpha")):"fontcolor"==g?a.setFontColor(c.getAttribute("color")):"fontstyle"==g?a.setFontStyle(c.getAttribute("style")):"fontfamily"==g?a.setFontFamily(c.getAttribute("family")):"fontsize"==g&&a.setFontSize(Number(c.getAttribute("size"))*p);!e||"fillstroke"!=g&&"fill"!=g&&"stroke"!=g||a.setShadow(!1)}};\r\nvar mxStencilRegistry={stencils:{},addStencil:function(a,b){mxStencilRegistry.stencils[a]=b},getStencil:function(a){return mxStencilRegistry.stencils[a]}},mxMarker={markers:[],addMarker:function(a,b){mxMarker.markers[a]=b},createMarker:function(a,b,c,d,e,f,g,k,l,m){var n=mxMarker.markers[c];return null!=n?n(a,b,c,d,e,f,g,k,l,m):null}};\r\n(function(){function a(a){a=null!=a?a:2;return function(b,c,d,k,l,m,n,p,q,r){c=l*q*1.118;p=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=p;n=d!=mxConstants.ARROW_CLASSIC&&d!=mxConstants.ARROW_CLASSIC_THIN?1:.75;k.x+=-l*n-c;k.y+=-m*n-p;return function(){b.begin();b.moveTo(e.x,e.y);b.lineTo(e.x-l-m/a,e.y-m+l/a);d!=mxConstants.ARROW_CLASSIC&&d!=mxConstants.ARROW_CLASSIC_THIN||b.lineTo(e.x-3*l/4,e.y-3*m/4);b.lineTo(e.x+m/a-l,e.y-m-l/a);b.close();r?b.fillAndStroke():b.stroke()}}}function b(a){a=\r\nnull!=a?a:2;return function(b,c,d,k,l,m,n,p,q,r){c=l*q*1.118;d=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=d;k.x+=2*-c;k.y+=2*-d;return function(){b.begin();b.moveTo(e.x-l-m/a,e.y-m+l/a);b.lineTo(e.x,e.y);b.lineTo(e.x+m/a-l,e.y-m-l/a);b.stroke()}}}function c(a,b,c,g,k,l,m,n,p,q){n=c==mxConstants.ARROW_DIAMOND?.7071:.9862;b=k*p*n;n*=l*p;k*=m+p;l*=m+p;var d=g.clone();d.x-=b;d.y-=n;g.x+=-k-b;g.y+=-l-n;var e=c==mxConstants.ARROW_DIAMOND?2:3.4;return function(){a.begin();a.moveTo(d.x,d.y);a.lineTo(d.x-\r\nk/2-l/e,d.y+k/e-l/2);a.lineTo(d.x-k,d.y-l);a.lineTo(d.x-k/2+l/e,d.y-l/2-k/e);a.close();q?a.fillAndStroke():a.stroke()}}mxMarker.addMarker("classic",a(2));mxMarker.addMarker("classicThin",a(3));mxMarker.addMarker("block",a(2));mxMarker.addMarker("blockThin",a(3));mxMarker.addMarker("open",b(2));mxMarker.addMarker("openThin",b(3));mxMarker.addMarker("oval",function(a,b,c,g,k,l,m,n,p,q){var d=m/2,e=g.clone();g.x-=k*d;g.y-=l*d;return function(){a.ellipse(e.x-d,e.y-d,m,m);q?a.fillAndStroke():a.stroke()}});\r\nmxMarker.addMarker("diamond",c);mxMarker.addMarker("diamondThin",c)})();function mxActor(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxActor,mxShape);mxActor.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);a.begin();this.redrawPath(a,b,c,d,e);a.fillAndStroke()};\r\nmxActor.prototype.redrawPath=function(a,b,c,d,e){b=d/3;a.moveTo(0,e);a.curveTo(0,3*e/5,0,2*e/5,d/2,2*e/5);a.curveTo(d/2-b,2*e/5,d/2-b,0,d/2,0);a.curveTo(d/2+b,0,d/2+b,2*e/5,d/2,2*e/5);a.curveTo(d,2*e/5,d,3*e/5,d,e);a.close()};function mxCloud(a,b,c,d){mxActor.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxCloud,mxActor);\r\nmxCloud.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(.25*d,.25*e);a.curveTo(.05*d,.25*e,0,.5*e,.16*d,.55*e);a.curveTo(0,.66*e,.18*d,.9*e,.31*d,.8*e);a.curveTo(.4*d,e,.7*d,e,.8*d,.8*e);a.curveTo(d,.8*e,d,.6*e,.875*d,.5*e);a.curveTo(d,.3*e,.8*d,.1*e,.625*d,.2*e);a.curveTo(.5*d,.05*e,.3*d,.05*e,.25*d,.25*e);a.close()};function mxRectangleShape(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxRectangleShape,mxShape);\r\nmxRectangleShape.prototype.isHtmlAllowed=function(){var a=!0;null!=this.style&&(a="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));return!this.isRounded&&!this.glass&&0==this.rotation&&(a||null!=this.fill&&this.fill!=mxConstants.NONE)};\r\nmxRectangleShape.prototype.paintBackground=function(a,b,c,d,e){var f=!0;null!=this.style&&(f="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(f||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?f=Math.min(d/2,Math.min(e/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,\r\n100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.min(d*f,e*f)),a.roundrect(b,c,d,e,f,f)):a.rect(b,c,d,e),a.fillAndStroke()};mxRectangleShape.prototype.isRoundable=function(a,b,c,d,e){return!0};mxRectangleShape.prototype.paintForeground=function(a,b,c,d,e){this.glass&&!this.outline&&null!=this.fill&&this.fill!=mxConstants.NONE&&this.paintGlassEffect(a,b,c,d,e,this.getArcSize(d+this.strokewidth,e+this.strokewidth))};\r\nfunction mxEllipse(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxEllipse,mxShape);mxEllipse.prototype.paintVertexShape=function(a,b,c,d,e){a.ellipse(b,c,d,e);a.fillAndStroke()};function mxDoubleEllipse(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxDoubleEllipse,mxShape);mxDoubleEllipse.prototype.paintBackground=function(a,b,c,d,e){a.ellipse(b,c,d,e);a.fillAndStroke()};\r\nmxDoubleEllipse.prototype.paintForeground=function(a,b,c,d,e){if(!this.outline){var f=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.strokewidth,Math.min(d/5,e/5)));d-=2*f;e-=2*f;0<d&&0<e&&a.ellipse(b+f,c+f,d,e);a.stroke()}};\r\nmxDoubleEllipse.prototype.getLabelBounds=function(a){var b=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.strokewidth,Math.min(a.width/5/this.scale,a.height/5/this.scale)))*this.scale;return new mxRectangle(a.x+b,a.y+b,a.width-2*b,a.height-2*b)};function mxRhombus(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxRhombus,mxShape);mxRhombus.prototype.isRoundable=function(){return!0};\r\nmxRhombus.prototype.paintVertexShape=function(a,b,c,d,e){var f=d/2,g=e/2,k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;a.begin();this.addPoints(a,[new mxPoint(b+f,c),new mxPoint(b+d,c+g),new mxPoint(b+f,c+e),new mxPoint(b,c+g)],this.isRounded,k,!0);a.fillAndStroke()};function mxPolyline(a,b,c){mxShape.call(this);this.points=a;this.stroke=b;this.strokewidth=null!=c?c:1}mxUtils.extend(mxPolyline,mxShape);mxPolyline.prototype.getRotation=function(){return 0};\r\nmxPolyline.prototype.getShapeRotation=function(){return 0};mxPolyline.prototype.isPaintBoundsInverted=function(){return!1};mxPolyline.prototype.paintEdgeShape=function(a,b){var c=a.pointerEventsValue;a.pointerEventsValue="stroke";null==this.style||1!=this.style[mxConstants.STYLE_CURVED]?this.paintLine(a,b,this.isRounded):this.paintCurvedLine(a,b);a.pointerEventsValue=c};\r\nmxPolyline.prototype.paintLine=function(a,b,c){var d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;a.begin();this.addPoints(a,b,c,d,!1);a.stroke()};mxPolyline.prototype.paintCurvedLine=function(a,b){a.begin();var c=b[0],d=b.length;a.moveTo(c.x,c.y);for(c=1;c<d-2;c++){var e=b[c],f=b[c+1];a.quadTo(e.x,e.y,(e.x+f.x)/2,(e.y+f.y)/2)}e=b[d-2];f=b[d-1];a.quadTo(e.x,e.y,f.x,f.y);a.stroke()};\r\nfunction mxArrow(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1;this.arrowWidth=null!=e?e:mxConstants.ARROW_WIDTH;this.spacing=null!=f?f:mxConstants.ARROW_SPACING;this.endSize=null!=g?g:mxConstants.ARROW_SIZE}mxUtils.extend(mxArrow,mxShape);mxArrow.prototype.augmentBoundingBox=function(a){mxShape.prototype.augmentBoundingBox.apply(this,arguments);a.grow((Math.max(this.arrowWidth,this.endSize)/2+this.strokewidth)*this.scale)};\r\nmxArrow.prototype.paintEdgeShape=function(a,b){var c=mxConstants.ARROW_SPACING,d=mxConstants.ARROW_WIDTH,e=b[0],f=b[b.length-1],g=f.x-e.x,k=f.y-e.y,l=Math.sqrt(g*g+k*k),m=l-2*c-mxConstants.ARROW_SIZE,g=g/l,k=k/l,l=d*k/3,d=-d*g/3,n=e.x-l/2+c*g,e=e.y-d/2+c*k,p=n+l,q=e+d,r=p+m*g,m=q+m*k,t=r+l,u=m+d,x=t-3*l,y=u-3*d;a.begin();a.moveTo(n,e);a.lineTo(p,q);a.lineTo(r,m);a.lineTo(t,u);a.lineTo(f.x-c*g,f.y-c*k);a.lineTo(x,y);a.lineTo(x+l,y+d);a.close();a.fillAndStroke()};\r\nfunction mxArrowConnector(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1;this.arrowWidth=null!=e?e:mxConstants.ARROW_WIDTH;this.arrowSpacing=null!=f?f:mxConstants.ARROW_SPACING;this.startSize=mxConstants.ARROW_SIZE/5;this.endSize=mxConstants.ARROW_SIZE/5}mxUtils.extend(mxArrowConnector,mxShape);mxArrowConnector.prototype.useSvgBoundingBox=!0;mxArrowConnector.prototype.isRoundable=function(){return!0};\r\nmxArrowConnector.prototype.resetStyles=function(){mxShape.prototype.resetStyles.apply(this,arguments);this.arrowSpacing=mxConstants.ARROW_SPACING};mxArrowConnector.prototype.apply=function(a){mxShape.prototype.apply.apply(this,arguments);null!=this.style&&(this.startSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5),this.endSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5))};\r\nmxArrowConnector.prototype.augmentBoundingBox=function(a){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var b=this.getEdgeWidth();this.isMarkerStart()&&(b=Math.max(b,this.getStartArrowWidth()));this.isMarkerEnd()&&(b=Math.max(b,this.getEndArrowWidth()));a.grow((b/2+this.strokewidth)*this.scale)};\r\nmxArrowConnector.prototype.paintEdgeShape=function(a,b){var c=this.strokewidth;this.outline&&(c=Math.max(1,mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth)));var d=this.getStartArrowWidth()+c,e=this.getEndArrowWidth()+c,f=this.outline?this.getEdgeWidth()+c:this.getEdgeWidth(),g=this.isOpenEnded(),k=this.isMarkerStart(),l=this.isMarkerEnd(),m=g?0:this.arrowSpacing+c/2,n=this.startSize+c,c=this.endSize+c,p=this.isArrowRounded(),q=b[b.length-1],r=b[1].x-b[0].x,t=b[1].y-b[0].y,\r\nu=Math.sqrt(r*r+t*t);if(0!=u){var x=r/u,y,B=x,A=t/u,z,C=A,u=f*A,v=-f*x,D=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();r=x;t=A;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,A,n,d,f,m,!0);else{y=b[0].x+u/2+m*x;z=b[0].y+v/2+m*A;var G=b[0].x-u/2+m*x,J=b[0].y-v/2+m*A;g?(a.moveTo(y,z),D.push(function(){a.lineTo(G,J)})):(a.moveTo(G,J),a.lineTo(y,z))}for(var E=z=y=0,u=0;u<b.length-2;u++)if(v=mxUtils.relativeCcw(b[u].x,b[u].y,b[u+1].x,b[u+1].y,b[u+2].x,b[u+2].y),y=b[u+2].x-b[u+1].x,\r\nz=b[u+2].y-b[u+1].y,E=Math.sqrt(y*y+z*z),0!=E){B=y/E;C=z/E;E=Math.max(Math.sqrt((x*B+A*C+1)/2),.04);y=x+B;z=A+C;var H=Math.sqrt(y*y+z*z);if(0!=H){y/=H;z/=H;var H=Math.max(E,Math.min(this.strokewidth/200+.04,.35)),E=0!=v&&p?Math.max(.1,H):Math.max(E,.06),I=b[u+1].x+z*f/2/E,F=b[u+1].y-y*f/2/E;z=b[u+1].x-z*f/2/E;y=b[u+1].y+y*f/2/E;0!=v&&p?-1==v?(v=z+C*f,E=y-B*f,a.lineTo(z+A*f,y-x*f),a.quadTo(I,F,v,E),function(b,c){D.push(function(){a.lineTo(b,c)})}(z,y)):(a.lineTo(I,F),function(b,c){var d=I-A*f,e=F+\r\nx*f,g=I-C*f,k=F+B*f;D.push(function(){a.quadTo(b,c,d,e)});D.push(function(){a.lineTo(g,k)})}(z,y)):(a.lineTo(I,F),function(b,c){D.push(function(){a.lineTo(b,c)})}(z,y));x=B;A=C}}u=f*C;v=-f*B;if(l&&!g)this.paintMarker(a,q.x,q.y,-x,-A,c,e,f,m,!1);else{a.lineTo(q.x-m*B+u/2,q.y-m*C+v/2);var K=q.x-m*B-u/2,L=q.y-m*C-v/2;g?(a.moveTo(K,L),D.splice(0,0,function(){a.moveTo(K,L)})):a.lineTo(K,L)}for(u=D.length-1;0<=u;u--)D[u]();g?(a.end(),a.stroke()):(a.close(),a.fillAndStroke());a.setShadow(!1);a.setMiterLimit(4);\r\np&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].x,b[0].y,r,t,n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-A,c,e,f,m,!0),a.stroke(),a.end()))}};mxArrowConnector.prototype.paintMarker=function(a,b,c,d,e,f,g,k,l,m){g=k/g;var n=k*e/2;k=-k*d/2;var p=(l+f)*d;f=(l+f)*e;m?a.moveTo(b-n+p,c-k+f):a.lineTo(b-n+p,c-k+f);a.lineTo(b-n/g+p,c-k/g+f);a.lineTo(b+l*d,c+l*e);a.lineTo(b+n/g+p,c+k/g+f);a.lineTo(b+n+p,c+k+f)};\r\nmxArrowConnector.prototype.isArrowRounded=function(){return this.isRounded};mxArrowConnector.prototype.getStartArrowWidth=function(){return mxConstants.ARROW_WIDTH};mxArrowConnector.prototype.getEndArrowWidth=function(){return mxConstants.ARROW_WIDTH};mxArrowConnector.prototype.getEdgeWidth=function(){return mxConstants.ARROW_WIDTH/3};mxArrowConnector.prototype.isOpenEnded=function(){return!1};\r\nmxArrowConnector.prototype.isMarkerStart=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE};mxArrowConnector.prototype.isMarkerEnd=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE};\r\nfunction mxText(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t,u,x,y,B,A,z){mxShape.call(this);this.value=a;this.bounds=b;this.color=null!=e?e:"black";this.align=null!=c?c:mxConstants.ALIGN_CENTER;this.valign=null!=d?d:mxConstants.ALIGN_MIDDLE;this.family=null!=f?f:mxConstants.DEFAULT_FONTFAMILY;this.size=null!=g?g:mxConstants.DEFAULT_FONTSIZE;this.fontStyle=null!=k?k:mxConstants.DEFAULT_FONTSTYLE;this.spacing=parseInt(l||2);this.spacingTop=this.spacing+parseInt(m||0);this.spacingRight=this.spacing+parseInt(n||0);\r\nthis.spacingBottom=this.spacing+parseInt(p||0);this.spacingLeft=this.spacing+parseInt(q||0);this.horizontal=null!=r?r:!0;this.background=t;this.border=u;this.wrap=null!=x?x:!1;this.clipped=null!=y?y:!1;this.overflow=null!=B?B:"visible";this.labelPadding=null!=A?A:0;this.textDirection=z;this.rotation=0;this.updateMargin()}mxUtils.extend(mxText,mxShape);mxText.prototype.baseSpacingTop=0;mxText.prototype.baseSpacingBottom=0;mxText.prototype.baseSpacingLeft=0;mxText.prototype.baseSpacingRight=0;\r\nmxText.prototype.replaceLinefeeds=!0;mxText.prototype.verticalTextRotation=-90;mxText.prototype.ignoreClippedStringSize=!0;mxText.prototype.ignoreStringSize=!1;mxText.prototype.textWidthPadding=8!=document.documentMode||mxClient.IS_EM?3:4;mxText.prototype.lastValue=null;mxText.prototype.cacheEnabled=!0;mxText.prototype.isHtmlAllowed=function(){return 8!=document.documentMode||mxClient.IS_EM};mxText.prototype.getSvgScreenOffset=function(){return 0};\r\nmxText.prototype.checkBounds=function(){return!isNaN(this.scale)&&isFinite(this.scale)&&0<this.scale&&null!=this.bounds&&!isNaN(this.bounds.x)&&!isNaN(this.bounds.y)&&!isNaN(this.bounds.width)&&!isNaN(this.bounds.height)};mxText.prototype.configurePointerEvents=function(a){};\r\nmxText.prototype.paint=function(a,b){var c=this.scale,d=this.bounds.x/c,e=this.bounds.y/c,f=this.bounds.width/c,c=this.bounds.height/c;this.updateTransform(a,d,e,f,c);this.configureCanvas(a,d,e,f,c);if(b)a.updateText(d,e,f,c,this.align,this.valign,this.wrap,this.overflow,this.clipped,this.getTextRotation(),this.node);else{var g=mxUtils.isNode(this.value)||this.dialect==mxConstants.DIALECT_STRICTHTML,k=g?"html":"",l=this.value;g||"html"!=k||(l=mxUtils.htmlEntities(l,!1));"html"!=k||mxUtils.isNode(this.value)||\r\n(l=mxUtils.replaceTrailingNewlines(l,"<div><br></div>"));var l=!mxUtils.isNode(this.value)&&this.replaceLinefeeds&&"html"==k?l.replace(/\\n/g,"<br/>"):l,m=this.textDirection;m!=mxConstants.TEXT_DIRECTION_AUTO||g||(m=this.getAutoDirection());m!=mxConstants.TEXT_DIRECTION_LTR&&m!=mxConstants.TEXT_DIRECTION_RTL&&(m=null);a.text(d,e,f,c,l,this.align,this.valign,this.wrap,k,this.overflow,this.clipped,this.getTextRotation(),m)}};\r\nmxText.prototype.redraw=function(){if(this.visible&&this.checkBounds()&&this.cacheEnabled&&this.lastValue==this.value&&(mxUtils.isNode(this.value)||this.dialect==mxConstants.DIALECT_STRICTHTML))if("DIV"==this.node.nodeName)mxClient.IS_SVG?this.redrawHtmlShapeWithCss3():(this.updateSize(this.node,null==this.state||null==this.state.view.textDiv),mxClient.IS_IE&&(null==document.documentMode||8>=document.documentMode)?this.updateHtmlFilter():this.updateHtmlTransform()),this.updateBoundingBox();else{var a=\r\nthis.createCanvas();null!=a&&null!=a.updateText?(a.pointerEvents=this.pointerEvents,this.paint(a,!0),this.destroyCanvas(a),this.updateBoundingBox()):mxShape.prototype.redraw.apply(this,arguments)}else mxShape.prototype.redraw.apply(this,arguments),mxUtils.isNode(this.value)||this.dialect==mxConstants.DIALECT_STRICTHTML?this.lastValue=this.value:this.lastValue=null};\r\nmxText.prototype.resetStyles=function(){mxShape.prototype.resetStyles.apply(this,arguments);this.color="black";this.align=mxConstants.ALIGN_CENTER;this.valign=mxConstants.ALIGN_MIDDLE;this.family=mxConstants.DEFAULT_FONTFAMILY;this.size=mxConstants.DEFAULT_FONTSIZE;this.fontStyle=mxConstants.DEFAULT_FONTSTYLE;this.spacingLeft=this.spacingBottom=this.spacingRight=this.spacingTop=this.spacing=2;this.horizontal=!0;delete this.background;delete this.border;this.textDirection=mxConstants.DEFAULT_TEXT_DIRECTION;\r\ndelete this.margin};\r\nmxText.prototype.apply=function(a){var b=this.spacing;mxShape.prototype.apply.apply(this,arguments);null!=this.style&&(this.fontStyle=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,this.fontStyle),this.family=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,this.family),this.size=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,this.size),this.color=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,this.color),this.align=mxUtils.getValue(this.style,mxConstants.STYLE_ALIGN,\r\nthis.align),this.valign=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,this.valign),this.spacing=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING,this.spacing)),this.spacingTop=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_TOP,this.spacingTop-b))+this.spacing,this.spacingRight=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_RIGHT,this.spacingRight-b))+this.spacing,this.spacingBottom=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_BOTTOM,\r\nthis.spacingBottom-b))+this.spacing,this.spacingLeft=parseInt(mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_LEFT,this.spacingLeft-b))+this.spacing,this.horizontal=mxUtils.getValue(this.style,mxConstants.STYLE_HORIZONTAL,this.horizontal),this.background=mxUtils.getValue(this.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,this.background),this.border=mxUtils.getValue(this.style,mxConstants.STYLE_LABEL_BORDERCOLOR,this.border),this.textDirection=mxUtils.getValue(this.style,mxConstants.STYLE_TEXT_DIRECTION,\r\nmxConstants.DEFAULT_TEXT_DIRECTION),this.opacity=mxUtils.getValue(this.style,mxConstants.STYLE_TEXT_OPACITY,100),this.updateMargin());this.flipH=this.flipV=null};mxText.prototype.getAutoDirection=function(){var a=/[A-Za-z\\u05d0-\\u065f\\u066a-\\u06ef\\u06fa-\\u07ff\\ufb1d-\\ufdff\\ufe70-\\ufefc]/.exec(this.value);return null!=a&&0<a.length&&"z"<a[0]?mxConstants.TEXT_DIRECTION_RTL:mxConstants.TEXT_DIRECTION_LTR};\r\nmxText.prototype.getContentNode=function(){var a=this.node;null!=a&&(a=null==a.ownerSVGElement?this.node.firstChild.firstChild:a.firstChild.firstChild.firstChild.firstChild.firstChild);return a};\r\nmxText.prototype.updateBoundingBox=function(){var a=this.node;this.boundingBox=this.bounds.clone();var b=this.getTextRotation(),c=null!=this.style?mxUtils.getValue(this.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER):null,d=null!=this.style?mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE):null;if(!(this.ignoreStringSize||null==a||"fill"==this.overflow||this.clipped&&this.ignoreClippedStringSize&&c==mxConstants.ALIGN_CENTER&&d==mxConstants.ALIGN_MIDDLE)){d=\r\nc=null;if(null!=a.ownerSVGElement)if(null!=a.firstChild&&null!=a.firstChild.firstChild&&"foreignObject"==a.firstChild.firstChild.nodeName)a=a.firstChild.firstChild.firstChild.firstChild,d=a.offsetHeight*this.scale,c="width"==this.overflow?this.boundingBox.width:a.offsetWidth*this.scale;else try{var e=a.getBBox();"string"==typeof this.value&&0==mxUtils.trim(this.value)?this.boundingBox=null:this.boundingBox=0==e.width&&0==e.height?null:new mxRectangle(e.x,e.y,e.width,e.height);return}catch(f){}else{c=\r\nnull!=this.state?this.state.view.textDiv:null;if(null==this.offsetWidth||null==this.offsetHeight)null!=c&&(this.updateFont(c),this.updateSize(c,!1),this.updateInnerHtml(c),a=c),e=a,8!=document.documentMode||mxClient.IS_EM?null!=e.firstChild&&"DIV"==e.firstChild.nodeName&&(e=e.firstChild):(d=Math.round(this.bounds.width/this.scale),this.wrap&&0<d?(a.style.wordWrap=mxConstants.WORD_WRAP,a.style.whiteSpace="normal","break-word"!=a.style.wordWrap&&(a=e.getElementsByTagName("div"),0<a.length&&(e=a[a.length-\r\n1]),c=e.offsetWidth+2,a=this.node.getElementsByTagName("div"),this.clipped&&(c=Math.min(d,c)),1<a.length&&(a[a.length-2].style.width=c+"px"))):a.style.whiteSpace="nowrap"),this.offsetWidth=e.offsetWidth+this.textWidthPadding,this.offsetHeight=e.offsetHeight;c=this.offsetWidth*this.scale;d=this.offsetHeight*this.scale}null!=c&&null!=d&&(this.boundingBox=new mxRectangle(this.bounds.x,this.bounds.y,c,d))}null!=this.boundingBox&&(0!=b?(b=mxUtils.getBoundingBox(new mxRectangle(this.margin.x*this.boundingBox.width,\r\nthis.margin.y*this.boundingBox.height,this.boundingBox.width,this.boundingBox.height),b,new mxPoint(0,0)),this.unrotatedBoundingBox=mxRectangle.fromRectangle(this.boundingBox),this.unrotatedBoundingBox.x+=this.margin.x*this.unrotatedBoundingBox.width,this.unrotatedBoundingBox.y+=this.margin.y*this.unrotatedBoundingBox.height,this.boundingBox.x+=b.x,this.boundingBox.y+=b.y,this.boundingBox.width=b.width,this.boundingBox.height=b.height):(this.boundingBox.x+=this.margin.x*this.boundingBox.width,this.boundingBox.y+=\r\nthis.margin.y*this.boundingBox.height,this.unrotatedBoundingBox=null))};mxText.prototype.getShapeRotation=function(){return 0};mxText.prototype.getTextRotation=function(){return null!=this.state&&null!=this.state.shape?this.state.shape.getTextRotation():0};mxText.prototype.isPaintBoundsInverted=function(){return!this.horizontal&&null!=this.state&&this.state.view.graph.model.isVertex(this.state.cell)};\r\nmxText.prototype.configureCanvas=function(a,b,c,d,e){mxShape.prototype.configureCanvas.apply(this,arguments);a.setFontColor(this.color);a.setFontBackgroundColor(this.background);a.setFontBorderColor(this.border);a.setFontFamily(this.family);a.setFontSize(this.size);a.setFontStyle(this.fontStyle)};\r\nmxText.prototype.getHtmlValue=function(){var a=this.value;this.dialect!=mxConstants.DIALECT_STRICTHTML&&(a=mxUtils.htmlEntities(a,!1));a=mxUtils.replaceTrailingNewlines(a,"<div><br></div>");return this.replaceLinefeeds?a.replace(/\\n/g,"<br/>"):a};\r\nmxText.prototype.getTextCss=function(){var a="display: inline-block; font-size: "+this.size+"px; font-family: "+this.family+"; color: "+this.color+"; line-height: "+(mxConstants.ABSOLUTE_LINE_HEIGHT?this.size*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT)+"; pointer-events: "+(this.pointerEvents?"all":"none")+"; ";(this.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(a+="font-weight: bold; ");(this.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(a+="font-style: italic; ");\r\nvar b=[];(this.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline");(this.fontStyle&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through");0<b.length&&(a+="text-decoration: "+b.join(" ")+"; ");return a};\r\nmxText.prototype.redrawHtmlShape=function(){if(mxClient.IS_SVG)this.redrawHtmlShapeWithCss3();else{var a=this.node.style;a.whiteSpace="normal";a.overflow="";a.width="";a.height="";this.updateValue();this.updateFont(this.node);this.updateSize(this.node,null==this.state||null==this.state.view.textDiv);this.offsetHeight=this.offsetWidth=null;mxClient.IS_IE&&(null==document.documentMode||8>=document.documentMode)?this.updateHtmlFilter():this.updateHtmlTransform()}};\r\nmxText.prototype.redrawHtmlShapeWithCss3=function(){var a=Math.max(0,Math.round(this.bounds.width/this.scale)),b=Math.max(0,Math.round(this.bounds.height/this.scale)),c="position: absolute; left: "+Math.round(this.bounds.x)+"px; top: "+Math.round(this.bounds.y)+"px; pointer-events: none; ",d=this.getTextCss();mxSvgCanvas2D.createCss(a+2,b,this.align,this.valign,this.wrap,this.overflow,this.clipped,null!=this.background?mxUtils.htmlEntities(this.background):null,null!=this.border?mxUtils.htmlEntities(this.border):\r\nnull,c,d,this.scale,mxUtils.bind(this,function(a,c,d,k,l,m){a=this.getTextRotation();a=(1!=this.scale?"scale("+this.scale+") ":"")+(0!=a?"rotate("+a+"deg) ":"")+(0!=this.margin.x||0!=this.margin.y?"translate("+100*this.margin.x+"%,"+100*this.margin.y+"%)":"");""!=a&&(a="transform-origin: 0 0; transform: "+a+"; ");"block"==this.overflow&&this.valign==mxConstants.ALIGN_MIDDLE&&(a+="max-height: "+(b+1)+"px;");""==m?(d+=k,k="display:inline-block; min-width: 100%; "+a):(k+=a,mxClient.IS_SF&&(k+="-webkit-clip-path: content-box;"));\r\n"block"==this.overflow&&(k+="width: 100%; ");100>this.opacity&&(l+="opacity: "+this.opacity/100+"; ");this.node.setAttribute("style",d);d=mxUtils.isNode(this.value)?this.value.outerHTML:this.getHtmlValue();null==this.node.firstChild&&(this.node.innerHTML="<div><div>"+d+"</div></div>",mxClient.IS_IE11&&this.fixFlexboxForIe11(this.node));this.node.firstChild.firstChild.setAttribute("style",l);this.node.firstChild.setAttribute("style",k)}))};\r\nmxText.prototype.fixFlexboxForIe11=function(a){for(var b=a.querySelectorAll(\'div[style*="display: flex; justify-content: flex-end;"]\'),c=0;c<b.length;c++)b[c].style.justifyContent="flex-start",b[c].style.flexDirection="row-reverse";if(!this.wrap)for(b=a.querySelectorAll(\'div[style*="display: flex; justify-content: center;"]\'),a=-window.innerWidth,c=0;c<b.length;c++)b[c].style.marginLeft=a+"px",b[c].style.marginRight=a+"px"};\r\nmxText.prototype.updateHtmlTransform=function(){var a=this.getTextRotation(),b=this.node.style,c=this.margin.x,d=this.margin.y;0!=a?(mxUtils.setPrefixedStyle(b,"transformOrigin",100*-c+"% "+100*-d+"%"),mxUtils.setPrefixedStyle(b,"transform","translate("+100*c+"%,"+100*d+"%) scale("+this.scale+") rotate("+a+"deg)")):(mxUtils.setPrefixedStyle(b,"transformOrigin","0% 0%"),mxUtils.setPrefixedStyle(b,"transform","scale("+this.scale+") translate("+100*c+"%,"+100*d+"%)"));b.left=Math.round(this.bounds.x-\r\nMath.ceil(c*("fill"!=this.overflow&&"width"!=this.overflow?3:1)))+"px";b.top=Math.round(this.bounds.y-d*("fill"!=this.overflow?3:1))+"px";b.opacity=100>this.opacity?this.opacity/100:""};\r\nmxText.prototype.updateInnerHtml=function(a){if(mxUtils.isNode(this.value))a.innerHTML=this.value.outerHTML;else{var b=this.value;this.dialect!=mxConstants.DIALECT_STRICTHTML&&(b=mxUtils.htmlEntities(b,!1));b=mxUtils.replaceTrailingNewlines(b,"<div>&nbsp;</div>");b=this.replaceLinefeeds?b.replace(/\\n/g,"<br/>"):b;a.innerHTML=\'<div style="display:inline-block;_display:inline;">\'+b+"</div>"}};\r\nmxText.prototype.updateHtmlFilter=function(){var a=this.node.style,b=this.margin.x,c=this.margin.y,d=this.scale;mxUtils.setOpacity(this.node,this.opacity);var e,f=0,g=null!=this.state?this.state.view.textDiv:null,k=this.node;if(null!=g){g.style.overflow="";g.style.height="";g.style.width="";this.updateFont(g);this.updateSize(g,!1);this.updateInnerHtml(g);var l=Math.round(this.bounds.width/this.scale);this.wrap&&0<l?(g.style.whiteSpace="normal",g.style.wordWrap=mxConstants.WORD_WRAP,e=l,this.clipped&&\r\n(e=Math.min(e,this.bounds.width)),g.style.width=e+"px"):g.style.whiteSpace="nowrap";k=g;null!=k.firstChild&&"DIV"==k.firstChild.nodeName&&(k=k.firstChild,this.wrap&&"break-word"==g.style.wordWrap&&(k.style.width="100%"));!this.clipped&&this.wrap&&0<l&&(e=k.offsetWidth+this.textWidthPadding,g.style.width=e+"px");f=k.offsetHeight+2}else null!=k.firstChild&&"DIV"==k.firstChild.nodeName&&(k=k.firstChild,f=k.offsetHeight);e=k.offsetWidth+this.textWidthPadding;this.clipped&&(f=Math.min(f,this.bounds.height));\r\nl=this.bounds.width/d;g=this.bounds.height/d;"fill"==this.overflow?(f=g,e=l):"width"==this.overflow&&(f=k.scrollHeight,e=l);this.offsetWidth=e;this.offsetHeight=f;"fill"!=this.overflow&&"width"!=this.overflow&&(this.clipped&&(e=Math.min(l,e)),l=e,this.wrap&&(a.width=Math.round(l)+"px"));var g=f*d,l=l*d,m=this.getTextRotation()*(Math.PI/180);e=parseFloat(parseFloat(Math.cos(m)).toFixed(8));f=parseFloat(parseFloat(Math.sin(-m)).toFixed(8));m%=2*Math.PI;0>m&&(m+=2*Math.PI);m%=Math.PI;m>Math.PI/2&&(m=\r\nMath.PI-m);var k=Math.cos(m),n=Math.sin(-m),b=l*-(b+.5),c=g*-(c+.5);0!=m&&(m="progid:DXImageTransform.Microsoft.Matrix(M11="+e+", M12="+f+", M21="+-f+", M22="+e+", sizingMethod=\'auto expand\')",a.filter=null!=a.filter&&0<a.filter.length?a.filter+(" "+m):m);a.zoom=d;a.left=Math.round(this.bounds.x+((l-l*k+g*n)/2-e*b-f*c)-l/2)+"px";a.top=Math.round(this.bounds.y+((g-g*k+l*n)/2+f*b-e*c)-g/2+0)+"px"};\r\nmxText.prototype.updateValue=function(){if(mxUtils.isNode(this.value))this.node.innerHTML="",this.node.appendChild(this.value);else{var a=this.value;this.dialect!=mxConstants.DIALECT_STRICTHTML&&(a=mxUtils.htmlEntities(a,!1));var a=mxUtils.replaceTrailingNewlines(a,"<div><br></div>"),a=this.replaceLinefeeds?a.replace(/\\n/g,"<br/>"):a,b=null!=this.background&&this.background!=mxConstants.NONE?this.background:null,c=null!=this.border&&this.border!=mxConstants.NONE?this.border:null;if("fill"==this.overflow||\r\n"width"==this.overflow)null!=b&&(this.node.style.backgroundColor=b),null!=c&&(this.node.style.border="1px solid "+c);else{var d="";null!=b&&(d+="background-color:"+mxUtils.htmlEntities(b)+";");null!=c&&(d+="border:1px solid "+mxUtils.htmlEntities(c)+";");a=\'<div style="zoom:1;\'+d+"display:inline-block;_display:inline;text-decoration:inherit;padding-bottom:1px;padding-right:1px;line-height:"+(mxConstants.ABSOLUTE_LINE_HEIGHT?this.size*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT)+\'">\'+a+"</div>"}this.node.innerHTML=\r\na;a=this.node.getElementsByTagName("div");0<a.length&&(b=this.textDirection,b==mxConstants.TEXT_DIRECTION_AUTO&&this.dialect!=mxConstants.DIALECT_STRICTHTML&&(b=this.getAutoDirection()),b==mxConstants.TEXT_DIRECTION_LTR||b==mxConstants.TEXT_DIRECTION_RTL?a[a.length-1].setAttribute("dir",b):a[a.length-1].removeAttribute("dir"))}};\r\nmxText.prototype.updateFont=function(a){a=a.style;a.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?this.size*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT;a.fontSize=this.size+"px";a.fontFamily=this.family;a.verticalAlign="top";a.color=this.color;a.fontWeight=(this.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?"bold":"";a.fontStyle=(this.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?"italic":"";var b=[];(this.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&\r\nb.push("underline");(this.fontStyle&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through");a.textDecoration=b.join(" ");a.textAlign=this.align==mxConstants.ALIGN_CENTER?"center":this.align==mxConstants.ALIGN_RIGHT?"right":"left"};\r\nmxText.prototype.updateSize=function(a,b){var c=Math.max(0,Math.round(this.bounds.width/this.scale)),d=Math.max(0,Math.round(this.bounds.height/this.scale)),e=a.style;this.clipped?(e.overflow="hidden",e.maxHeight=d+"px",e.maxWidth=c+"px"):"fill"==this.overflow?(e.width=c+1+"px",e.height=d+1+"px",e.overflow="hidden"):"width"==this.overflow?(e.width=c+1+"px",e.maxHeight=d+1+"px",e.overflow="hidden"):"block"==this.overflow&&(e.width=c+1+"px");if(this.wrap&&0<c){if(e.wordWrap=mxConstants.WORD_WRAP,e.whiteSpace=\r\n"normal",e.width=c+"px",b&&"fill"!=this.overflow&&"width"!=this.overflow){d=a;null!=d.firstChild&&"DIV"==d.firstChild.nodeName&&(d=d.firstChild,"break-word"==a.style.wordWrap&&(d.style.width="100%"));var f=d.offsetWidth;if(0==f){var g=a.parentNode;a.style.visibility="hidden";document.body.appendChild(a);f=d.offsetWidth;a.style.visibility="";g.appendChild(a)}f+=3;this.clipped&&(f=Math.min(f,c));e.width=f+"px"}}else e.whiteSpace="nowrap"};\r\nmxText.prototype.updateMargin=function(){this.margin=mxUtils.getAlignmentAsPoint(this.align,this.valign)};\r\nmxText.prototype.getSpacing=function(a){return new mxPoint(this.align==mxConstants.ALIGN_CENTER?(this.spacingLeft-this.spacingRight)/2:this.align==mxConstants.ALIGN_RIGHT?-this.spacingRight-(a?0:this.baseSpacingRight):this.spacingLeft+(a?0:this.baseSpacingLeft),this.valign==mxConstants.ALIGN_MIDDLE?(this.spacingTop-this.spacingBottom)/2:this.valign==mxConstants.ALIGN_BOTTOM?-this.spacingBottom-(a?0:this.baseSpacingBottom):this.spacingTop+(a?0:this.baseSpacingTop))};\r\nfunction mxTriangle(){mxActor.call(this)}mxUtils.extend(mxTriangle,mxActor);mxTriangle.prototype.isRoundable=function(){return!0};mxTriangle.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(d,.5*e),new mxPoint(0,e)],this.isRounded,b,!0)};function mxHexagon(){mxActor.call(this)}mxUtils.extend(mxHexagon,mxActor);\r\nmxHexagon.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(.25*d,0),new mxPoint(.75*d,0),new mxPoint(d,.5*e),new mxPoint(.75*d,e),new mxPoint(.25*d,e),new mxPoint(0,.5*e)],this.isRounded,b,!0)};function mxLine(a,b,c,d){mxShape.call(this);this.bounds=a;this.stroke=b;this.strokewidth=null!=c?c:1;this.vertical=null!=d?d:this.vertical}mxUtils.extend(mxLine,mxShape);mxLine.prototype.vertical=!1;\r\nmxLine.prototype.paintVertexShape=function(a,b,c,d,e){a.begin();if(this.vertical){var f=b+d/2;a.moveTo(f,c);a.lineTo(f,c+e)}else f=c+e/2,a.moveTo(b,f),a.lineTo(b+d,f);a.stroke()};function mxImageShape(a,b,c,d,e){mxShape.call(this);this.bounds=a;this.image=b;this.fill=c;this.stroke=d;this.strokewidth=null!=e?e:1;this.shadow=!1}mxUtils.extend(mxImageShape,mxRectangleShape);mxImageShape.prototype.preserveImageAspect=!0;mxImageShape.prototype.getSvgScreenOffset=function(){return 0};\r\nmxImageShape.prototype.apply=function(a){mxShape.prototype.apply.apply(this,arguments);this.gradient=this.stroke=this.fill=null;null!=this.style&&(this.preserveImageAspect=1==mxUtils.getNumber(this.style,mxConstants.STYLE_IMAGE_ASPECT,1),this.flipH=this.flipH||1==mxUtils.getValue(this.style,"imageFlipH",0),this.flipV=this.flipV||1==mxUtils.getValue(this.style,"imageFlipV",0))};mxImageShape.prototype.isHtmlAllowed=function(){return!this.preserveImageAspect};\r\nmxImageShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};mxImageShape.prototype.isRoundable=function(a,b,c,d,e){return!1};mxImageShape.prototype.getImageDataUri=function(){return this.image};mxImageShape.prototype.configurePointerEvents=function(a){};\r\nmxImageShape.prototype.paintVertexShape=function(a,b,c,d,e){if(null!=this.image){var f=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BACKGROUND,null),g=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BORDER,null);null!=f&&(a.setFillColor(f),a.setStrokeColor(g),a.rect(b,c,d,e),a.fillAndStroke());a.image(b,c,d,e,this.getImageDataUri(),this.preserveImageAspect,!1,!1);g=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BORDER,null);null!=g&&(a.setShadow(!1),a.setStrokeColor(g),a.rect(b,c,\r\nd,e),a.stroke())}else mxRectangleShape.prototype.paintBackground.apply(this,arguments)};\r\nmxImageShape.prototype.redrawHtmlShape=function(){this.node.style.left=Math.round(this.bounds.x)+"px";this.node.style.top=Math.round(this.bounds.y)+"px";this.node.style.width=Math.max(0,Math.round(this.bounds.width))+"px";this.node.style.height=Math.max(0,Math.round(this.bounds.height))+"px";this.node.innerHTML="";if(null!=this.image){var a=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BACKGROUND,""),b=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BORDER,"");this.node.style.backgroundColor=\r\na;this.node.style.borderColor=b;a=document.createElement("img");a.setAttribute("border","0");a.style.position="absolute";a.src=this.image;b=100>this.opacity?"alpha(opacity="+this.opacity+")":"";this.node.style.filter=b;this.flipH&&this.flipV?b+="progid:DXImageTransform.Microsoft.BasicImage(rotation=2)":this.flipH?b+="progid:DXImageTransform.Microsoft.BasicImage(mirror=1)":this.flipV&&(b+="progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)");a.style.filter!=b&&(a.style.filter=b);"image"==\r\na.nodeName?a.style.rotation=this.rotation:0!=this.rotation?mxUtils.setPrefixedStyle(a.style,"transform","rotate("+this.rotation+"deg)"):mxUtils.setPrefixedStyle(a.style,"transform","");a.style.width=this.node.style.width;a.style.height=this.node.style.height;this.node.style.backgroundImage="";this.node.appendChild(a)}else this.setTransparentBackgroundImage(this.node)};function mxLabel(a,b,c,d){mxRectangleShape.call(this,a,b,c,d)}mxUtils.extend(mxLabel,mxRectangleShape);\r\nmxLabel.prototype.imageSize=mxConstants.DEFAULT_IMAGESIZE;mxLabel.prototype.spacing=2;mxLabel.prototype.indicatorSize=10;mxLabel.prototype.indicatorSpacing=2;mxLabel.prototype.init=function(a){mxShape.prototype.init.apply(this,arguments);null!=this.indicatorShape&&(this.indicator=new this.indicatorShape,this.indicator.dialect=this.dialect,this.indicator.init(this.node))};\r\nmxLabel.prototype.redraw=function(){null!=this.indicator&&(this.indicator.fill=this.indicatorColor,this.indicator.stroke=this.indicatorStrokeColor,this.indicator.gradient=this.indicatorGradientColor,this.indicator.direction=this.indicatorDirection,this.indicator.redraw());mxShape.prototype.redraw.apply(this,arguments)};mxLabel.prototype.isHtmlAllowed=function(){return mxRectangleShape.prototype.isHtmlAllowed.apply(this,arguments)&&null==this.indicatorColor&&null==this.indicatorShape};\r\nmxLabel.prototype.paintForeground=function(a,b,c,d,e){this.paintImage(a,b,c,d,e);this.paintIndicator(a,b,c,d,e);mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxLabel.prototype.paintImage=function(a,b,c,d,e){null!=this.image&&(b=this.getImageBounds(b,c,d,e),a.image(b.x,b.y,b.width,b.height,this.image,!1,!1,!1))};\r\nmxLabel.prototype.getImageBounds=function(a,b,c,d){var e=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),f=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),g=mxUtils.getNumber(this.style,mxConstants.STYLE_IMAGE_WIDTH,mxConstants.DEFAULT_IMAGESIZE),k=mxUtils.getNumber(this.style,mxConstants.STYLE_IMAGE_HEIGHT,mxConstants.DEFAULT_IMAGESIZE),l=mxUtils.getNumber(this.style,mxConstants.STYLE_SPACING,this.spacing)+5;a=e==mxConstants.ALIGN_CENTER?\r\na+(c-g)/2:e==mxConstants.ALIGN_RIGHT?a+(c-g-l):a+l;b=f==mxConstants.ALIGN_TOP?b+l:f==mxConstants.ALIGN_BOTTOM?b+(d-k-l):b+(d-k)/2;return new mxRectangle(a,b,g,k)};mxLabel.prototype.paintIndicator=function(a,b,c,d,e){null!=this.indicator?(this.indicator.bounds=this.getIndicatorBounds(b,c,d,e),this.indicator.paint(a)):null!=this.indicatorImage&&(b=this.getIndicatorBounds(b,c,d,e),a.image(b.x,b.y,b.width,b.height,this.indicatorImage,!1,!1,!1))};\r\nmxLabel.prototype.getIndicatorBounds=function(a,b,c,d){var e=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),f=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),g=mxUtils.getNumber(this.style,mxConstants.STYLE_INDICATOR_WIDTH,this.indicatorSize),k=mxUtils.getNumber(this.style,mxConstants.STYLE_INDICATOR_HEIGHT,this.indicatorSize),l=this.spacing+5;a=e==mxConstants.ALIGN_RIGHT?a+(c-g-l):e==mxConstants.ALIGN_CENTER?a+(c-g)/\r\n2:a+l;b=f==mxConstants.ALIGN_BOTTOM?b+(d-k-l):f==mxConstants.ALIGN_TOP?b+l:b+(d-k)/2;return new mxRectangle(a,b,g,k)};\r\nmxLabel.prototype.redrawHtmlShape=function(){for(mxRectangleShape.prototype.redrawHtmlShape.apply(this,arguments);this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);if(null!=this.image){var a=document.createElement("img");a.style.position="relative";a.setAttribute("border","0");var b=this.getImageBounds(this.bounds.x,this.bounds.y,this.bounds.width,this.bounds.height);b.x-=this.bounds.x;b.y-=this.bounds.y;a.style.left=Math.round(b.x)+"px";a.style.top=Math.round(b.y)+"px";a.style.width=\r\nMath.round(b.width)+"px";a.style.height=Math.round(b.height)+"px";a.src=this.image;this.node.appendChild(a)}};function mxCylinder(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxCylinder,mxShape);mxCylinder.prototype.maxHeight=40;\r\nmxCylinder.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);a.begin();this.redrawPath(a,b,c,d,e,!1);a.fillAndStroke();this.outline&&null!=this.style&&0!=mxUtils.getValue(this.style,mxConstants.STYLE_BACKGROUND_OUTLINE,0)||(a.setShadow(!1),a.begin(),this.redrawPath(a,b,c,d,e,!0),a.stroke())};mxCylinder.prototype.getCylinderSize=function(a,b,c,d){return Math.min(this.maxHeight,Math.round(d/5))};\r\nmxCylinder.prototype.redrawPath=function(a,b,c,d,e,f){b=this.getCylinderSize(b,c,d,e);if(f&&null!=this.fill||!f&&null==this.fill)a.moveTo(0,b),a.curveTo(0,2*b,d,2*b,d,b),f||(a.stroke(),a.begin());f||(a.moveTo(0,b),a.curveTo(0,-b/3,d,-b/3,d,b),a.lineTo(d,e-b),a.curveTo(d,e+b/3,0,e+b/3,0,e-b),a.close())};function mxConnector(a,b,c){mxPolyline.call(this,a,b,c)}mxUtils.extend(mxConnector,mxPolyline);\r\nmxConnector.prototype.updateBoundingBox=function(){this.useSvgBoundingBox=null!=this.style&&1==this.style[mxConstants.STYLE_CURVED];mxShape.prototype.updateBoundingBox.apply(this,arguments)};mxConnector.prototype.paintEdgeShape=function(a,b){var c=this.createMarker(a,b,!0),d=this.createMarker(a,b,!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);a.setFillColor(this.stroke);a.setShadow(!1);a.setDashed(!1);null!=c&&c();null!=d&&d()};\r\nmxConnector.prototype.createMarker=function(a,b,c){var d=null,e=b.length,f=mxUtils.getValue(this.style,c?mxConstants.STYLE_STARTARROW:mxConstants.STYLE_ENDARROW),g=c?b[1]:b[e-2];b=c?b[0]:b[e-1];if(null!=f&&null!=g&&null!=b)var d=b.x-g.x,e=b.y-g.y,k=Math.sqrt(d*d+e*e),g=d/k,d=e/k,e=mxUtils.getNumber(this.style,c?mxConstants.STYLE_STARTSIZE:mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE),d=mxMarker.createMarker(a,this,f,b,g,d,e,c,this.strokewidth,0!=this.style[c?mxConstants.STYLE_STARTFILL:\r\nmxConstants.STYLE_ENDFILL]);return d};\r\nmxConnector.prototype.augmentBoundingBox=function(a){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var b=0;mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(b=mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)+1);mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(b=Math.max(b,mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE))+\r\n1);a.grow(b*this.scale)};function mxSwimlane(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}mxUtils.extend(mxSwimlane,mxShape);mxSwimlane.prototype.imageSize=16;mxSwimlane.prototype.isRoundable=function(a,b,c,d,e){return!0};mxSwimlane.prototype.getTitleSize=function(){return Math.max(0,mxUtils.getValue(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE))};\r\nmxSwimlane.prototype.getLabelBounds=function(a){var b=this.getTitleSize();a=new mxRectangle(a.x,a.y,a.width,a.height);var c=this.isHorizontal(),d=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPH,0),e=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPV,0),f=this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH,c=c==!f,d=!c&&d!=(this.direction==mxConstants.DIRECTION_SOUTH||this.direction==mxConstants.DIRECTION_WEST),e=c&&e!=(this.direction==mxConstants.DIRECTION_SOUTH||\r\nthis.direction==mxConstants.DIRECTION_WEST);if(f){b=Math.min(a.width,b*this.scale);if(d||e)a.x+=a.width-b;a.width=b}else{b=Math.min(a.height,b*this.scale);if(d||e)a.y+=a.height-b;a.height=b}return a};mxSwimlane.prototype.getGradientBounds=function(a,b,c,d,e){a=this.getTitleSize();if(this.isHorizontal())return a=Math.min(a,e),new mxRectangle(b,c,d,a);a=Math.min(a,d);return new mxRectangle(b,c,a,e)};\r\nmxSwimlane.prototype.getSwimlaneArcSize=function(a,b,c){if("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0))return Math.min(a/2,Math.min(b/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2));a=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;return c*a*3};mxSwimlane.prototype.isHorizontal=function(){return 1==mxUtils.getValue(this.style,mxConstants.STYLE_HORIZONTAL,1)};\r\nmxSwimlane.prototype.paintVertexShape=function(a,b,c,d,e){var f=this.getTitleSize(),g=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE),k=1==mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_LINE,1),l=0,f=this.isHorizontal()?Math.min(f,e):Math.min(f,d);a.translate(b,c);this.isRounded?(l=this.getSwimlaneArcSize(d,e,f),l=Math.min((this.isHorizontal()?e:d)-f,Math.min(f,l)),this.paintRoundedSwimlane(a,b,c,d,e,f,l,g,k)):this.paintSwimlane(a,b,c,d,e,f,g,k);g=mxUtils.getValue(this.style,\r\nmxConstants.STYLE_SEPARATORCOLOR,mxConstants.NONE);this.paintSeparator(a,b,c,d,e,f,g);null!=this.image&&(e=this.getImageBounds(b,c,d,e),a.image(e.x-b,e.y-c,e.width,e.height,this.image,!1,!1,!1));this.glass&&(a.setShadow(!1),this.paintGlassEffect(a,0,0,d,f,l))};\r\nmxSwimlane.prototype.paintSwimlane=function(a,b,c,d,e,f,g,k){a.begin();var l=!0;null!=this.style&&(l="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));this.isHorizontal()?(a.moveTo(0,f),a.lineTo(0,0),a.lineTo(d,0),a.lineTo(d,f),a.fillAndStroke(),f<e&&(g!=mxConstants.NONE&&l||(a.pointerEvents=!1),g!=mxConstants.NONE&&a.setFillColor(g),a.begin(),a.moveTo(0,f),a.lineTo(0,e),a.lineTo(d,e),a.lineTo(d,f),g==mxConstants.NONE?a.stroke():a.fillAndStroke())):(a.moveTo(f,0),a.lineTo(0,\r\n0),a.lineTo(0,e),a.lineTo(f,e),a.fillAndStroke(),f<d&&(g!=mxConstants.NONE&&l||(a.pointerEvents=!1),g!=mxConstants.NONE&&a.setFillColor(g),a.begin(),a.moveTo(f,0),a.lineTo(d,0),a.lineTo(d,e),a.lineTo(f,e),g==mxConstants.NONE?a.stroke():a.fillAndStroke()));k&&this.paintDivider(a,b,c,d,e,f,g==mxConstants.NONE)};\r\nmxSwimlane.prototype.paintRoundedSwimlane=function(a,b,c,d,e,f,g,k,l){a.begin();var m=!0;null!=this.style&&(m="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));this.isHorizontal()?(a.moveTo(d,f),a.lineTo(d,g),a.quadTo(d,0,d-Math.min(d/2,g),0),a.lineTo(Math.min(d/2,g),0),a.quadTo(0,0,0,g),a.lineTo(0,f),a.fillAndStroke(),f<e&&(k!=mxConstants.NONE&&m||(a.pointerEvents=!1),k!=mxConstants.NONE&&a.setFillColor(k),a.begin(),a.moveTo(0,f),a.lineTo(0,e-g),a.quadTo(0,e,Math.min(d/2,g),\r\ne),a.lineTo(d-Math.min(d/2,g),e),a.quadTo(d,e,d,e-g),a.lineTo(d,f),k==mxConstants.NONE?a.stroke():a.fillAndStroke())):(a.moveTo(f,0),a.lineTo(g,0),a.quadTo(0,0,0,Math.min(e/2,g)),a.lineTo(0,e-Math.min(e/2,g)),a.quadTo(0,e,g,e),a.lineTo(f,e),a.fillAndStroke(),f<d&&(k!=mxConstants.NONE&&m||(a.pointerEvents=!1),k!=mxConstants.NONE&&a.setFillColor(k),a.begin(),a.moveTo(f,e),a.lineTo(d-g,e),a.quadTo(d,e,d,e-Math.min(e/2,g)),a.lineTo(d,Math.min(e/2,g)),a.quadTo(d,0,d-g,0),a.lineTo(f,0),k==mxConstants.NONE?\r\na.stroke():a.fillAndStroke()));l&&this.paintDivider(a,b,c,d,e,f,k==mxConstants.NONE)};mxSwimlane.prototype.paintDivider=function(a,b,c,d,e,f,g){g||a.setShadow(!1);a.begin();this.isHorizontal()?(a.moveTo(0,f),a.lineTo(d,f)):(a.moveTo(f,0),a.lineTo(f,e));a.stroke()};mxSwimlane.prototype.paintSeparator=function(a,b,c,d,e,f,g){g!=mxConstants.NONE&&(a.setStrokeColor(g),a.setDashed(!0),a.begin(),this.isHorizontal()?(a.moveTo(d,f),a.lineTo(d,e)):(a.moveTo(f,0),a.lineTo(d,0)),a.stroke(),a.setDashed(!1))};\r\nmxSwimlane.prototype.getImageBounds=function(a,b,c,d){return this.isHorizontal()?new mxRectangle(a+c-this.imageSize,b,this.imageSize,this.imageSize):new mxRectangle(a,b,this.imageSize,this.imageSize)};function mxGraphLayout(a){this.graph=a}mxGraphLayout.prototype.graph=null;mxGraphLayout.prototype.useBoundingBox=!0;mxGraphLayout.prototype.parent=null;mxGraphLayout.prototype.moveCell=function(a,b,c){};mxGraphLayout.prototype.resizeCell=function(a,b){};mxGraphLayout.prototype.execute=function(a){};\r\nmxGraphLayout.prototype.getGraph=function(){return this.graph};mxGraphLayout.prototype.getConstraint=function(a,b,c,d){return this.graph.getCurrentCellStyle(b)[a]};\r\nmxGraphLayout.traverse=function(a,b,c,d,e){if(null!=c&&null!=a&&(b=null!=b?b:!0,e=e||new mxDictionary,!e.get(a)&&(e.put(a,!0),d=c(a,d),null==d||d))&&(d=this.graph.model.getEdgeCount(a),0<d))for(var f=0;f<d;f++){var g=this.graph.model.getEdgeAt(a,f),k=this.graph.model.getTerminal(g,!0)==a;if(!b||k)k=this.graph.view.getVisibleTerminal(g,!k),this.traverse(k,b,c,g,e)}};\r\nmxGraphLayout.prototype.isAncestor=function(a,b,c){if(!c)return this.graph.model.getParent(b)==a;if(b==a)return!1;for(;null!=b&&b!=a;)b=this.graph.model.getParent(b);return b==a};mxGraphLayout.prototype.isVertexMovable=function(a){return this.graph.isCellMovable(a)};mxGraphLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!this.graph.isCellVisible(a)};\r\nmxGraphLayout.prototype.isEdgeIgnored=function(a){var b=this.graph.getModel();return!b.isEdge(a)||!this.graph.isCellVisible(a)||null==b.getTerminal(a,!0)||null==b.getTerminal(a,!1)};mxGraphLayout.prototype.setEdgeStyleEnabled=function(a,b){this.graph.setCellStyles(mxConstants.STYLE_NOEDGESTYLE,b?"0":"1",[a])};mxGraphLayout.prototype.setOrthogonalEdge=function(a,b){this.graph.setCellStyles(mxConstants.STYLE_ORTHOGONAL,b?"1":"0",[a])};\r\nmxGraphLayout.prototype.getParentOffset=function(a){var b=new mxPoint;if(null!=a&&a!=this.parent){var c=this.graph.getModel();if(c.isAncestor(this.parent,a))for(var d=c.getGeometry(a);a!=this.parent;)b.x+=d.x,b.y+=d.y,a=c.getParent(a),d=c.getGeometry(a)}return b};\r\nmxGraphLayout.prototype.setEdgePoints=function(a,b){if(null!=a){var c=this.graph.model,d=c.getGeometry(a);null==d?(d=new mxGeometry,d.setRelative(!0)):d=d.clone();if(null!=this.parent&&null!=b)for(var e=c.getParent(a),e=this.getParentOffset(e),f=0;f<b.length;f++)b[f].x-=e.x,b[f].y-=e.y;d.points=b;c.setGeometry(a,d)}};\r\nmxGraphLayout.prototype.setVertexLocation=function(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a),f=null;if(null!=e){f=new mxRectangle(b,c,e.width,e.height);if(this.useBoundingBox){var g=this.graph.getView().getState(a);if(null!=g&&null!=g.text&&null!=g.text.boundingBox){var k=this.graph.getView().scale,l=g.text.boundingBox;g.text.boundingBox.x<g.x&&(b+=(g.x-l.x)/k,f.width=l.width);g.text.boundingBox.y<g.y&&(c+=(g.y-l.y)/k,f.height=l.height)}}null!=this.parent&&(g=d.getParent(a),null!=g&&g!=\r\nthis.parent&&(g=this.getParentOffset(g),b-=g.x,c-=g.y));if(e.x!=b||e.y!=c)e=e.clone(),e.x=b,e.y=c,d.setGeometry(a,e)}return f};\r\nmxGraphLayout.prototype.getVertexBounds=function(a){var b=this.graph.getModel().getGeometry(a);if(this.useBoundingBox){var c=this.graph.getView().getState(a);if(null!=c&&null!=c.text&&null!=c.text.boundingBox)var d=this.graph.getView().scale,e=c.text.boundingBox,f=Math.max(c.x-e.x,0)/d,g=Math.max(c.y-e.y,0)/d,b=new mxRectangle(b.x-f,b.y-g,b.width+f+Math.max(e.x+e.width-(c.x+c.width),0)/d,b.height+g+Math.max(e.y+e.height-(c.y+c.height),0)/d)}null!=this.parent&&(a=this.graph.getModel().getParent(a),\r\nb=b.clone(),null!=a&&a!=this.parent&&(a=this.getParentOffset(a),b.x+=a.x,b.y+=a.y));return new mxRectangle(b.x,b.y,b.width,b.height)};mxGraphLayout.prototype.arrangeGroups=function(a,b,c,d,e,f){return this.graph.updateGroupBounds(a,b,!0,c,d,e,f)};function WeightedCellSorter(a,b){this.cell=a;this.weightedValue=b}WeightedCellSorter.prototype.weightedValue=0;WeightedCellSorter.prototype.nudge=!1;WeightedCellSorter.prototype.visited=!1;WeightedCellSorter.prototype.rankIndex=null;\r\nWeightedCellSorter.prototype.cell=null;WeightedCellSorter.prototype.compare=function(a,b){return null!=a&&null!=b?b.weightedValue>a.weightedValue?-1:b.weightedValue<a.weightedValue?1:b.nudge?-1:1:0};function mxStackLayout(a,b,c,d,e,f){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spacing=null!=c?c:0;this.x0=null!=d?d:0;this.y0=null!=e?e:0;this.border=null!=f?f:0}mxStackLayout.prototype=new mxGraphLayout;mxStackLayout.prototype.constructor=mxStackLayout;\r\nmxStackLayout.prototype.horizontal=null;mxStackLayout.prototype.spacing=null;mxStackLayout.prototype.x0=null;mxStackLayout.prototype.y0=null;mxStackLayout.prototype.border=0;mxStackLayout.prototype.marginTop=0;mxStackLayout.prototype.marginLeft=0;mxStackLayout.prototype.marginRight=0;mxStackLayout.prototype.marginBottom=0;mxStackLayout.prototype.keepFirstLocation=!1;mxStackLayout.prototype.fill=!1;mxStackLayout.prototype.resizeParent=!1;mxStackLayout.prototype.resizeParentMax=!1;\r\nmxStackLayout.prototype.resizeLast=!1;mxStackLayout.prototype.wrap=null;mxStackLayout.prototype.borderCollapse=!0;mxStackLayout.prototype.allowGaps=!1;mxStackLayout.prototype.gridSize=0;mxStackLayout.prototype.isHorizontal=function(){return this.horizontal};\r\nmxStackLayout.prototype.moveCell=function(a,b,c){var d=this.graph.getModel(),e=d.getParent(a),f=this.isHorizontal();if(null!=a&&null!=e){var g=0,k=d.getChildCount(e);c=f?b:c;b=this.graph.getView().getState(e);null!=b&&(c-=f?b.x:b.y);c/=this.graph.view.scale;for(b=0;b<k;b++){var l=d.getChildAt(e,b);if(l!=a&&(l=d.getGeometry(l),null!=l)){l=f?l.x+l.width/2:l.y+l.height/2;if(g<=c&&l>c)break;g=l}}f=e.getIndex(a);f=Math.max(0,b-(b>f?1:0));d.add(e,a,f)}};\r\nmxStackLayout.prototype.getParentSize=function(a){var b=this.graph.getModel(),c=b.getGeometry(a);null!=this.graph.container&&(null==c&&b.isLayer(a)||a==this.graph.getView().currentRoot)&&(c=new mxRectangle(0,0,this.graph.container.offsetWidth-1,this.graph.container.offsetHeight-1));return c};\r\nmxStackLayout.prototype.getLayoutCells=function(a){for(var b=this.graph.getModel(),c=b.getChildCount(a),d=[],e=0;e<c;e++){var f=b.getChildAt(a,e);!this.isVertexIgnored(f)&&this.isVertexMovable(f)&&d.push(f)}this.allowGaps&&d.sort(mxUtils.bind(this,function(a,b){var c=this.graph.getCellGeometry(a),d=this.graph.getCellGeometry(b);return this.horizontal?c.x==d.x?0:c.x>d.x>0?1:-1:c.y==d.y?0:c.y>d.y>0?1:-1}));return d};\r\nmxStackLayout.prototype.snap=function(a){if(null!=this.gridSize&&0<this.gridSize&&(a=Math.max(a,this.gridSize),1<a/this.gridSize)){var b=a%this.gridSize;a+=b>this.gridSize/2?this.gridSize-b:-b}return a};\r\nmxStackLayout.prototype.execute=function(a){if(null!=a){var b=this.getParentSize(a),c=this.isHorizontal(),d=this.graph.getModel(),e=null;null!=b&&(e=c?b.height-this.marginTop-this.marginBottom:b.width-this.marginLeft-this.marginRight);var e=e-2*this.border,f=this.x0+this.border+this.marginLeft,g=this.y0+this.border+this.marginTop;if(this.graph.isSwimlane(a)){var k=this.graph.getCellStyle(a),l=mxUtils.getNumber(k,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE),k=1==mxUtils.getValue(k,mxConstants.STYLE_HORIZONTAL,\r\n!0);null!=b&&(l=k?Math.min(l,b.height):Math.min(l,b.width));c==k&&(e-=l);k?g+=l:f+=l}d.beginUpdate();try{for(var l=0,k=null,m=0,n=null,p=this.getLayoutCells(a),q=0;q<p.length;q++){var r=p[q],t=d.getGeometry(r);if(null!=t){t=t.clone();null!=this.wrap&&null!=k&&(c&&k.x+k.width+t.width+2*this.spacing>this.wrap||!c&&k.y+k.height+t.height+2*this.spacing>this.wrap)&&(k=null,c?g+=l+this.spacing:f+=l+this.spacing,l=0);var l=Math.max(l,c?t.height:t.width),u=0;if(!this.borderCollapse)var x=this.graph.getCellStyle(r),\r\nu=mxUtils.getNumber(x,mxConstants.STYLE_STROKEWIDTH,1);if(null!=k){var y=m+this.spacing+Math.floor(u/2);c?t.x=this.snap((this.allowGaps?Math.max(y,t.x):y)-this.marginLeft)+this.marginLeft:t.y=this.snap((this.allowGaps?Math.max(y,t.y):y)-this.marginTop)+this.marginTop}else this.keepFirstLocation||(c?t.x=this.allowGaps&&t.x>f?Math.max(this.snap(t.x-this.marginLeft)+this.marginLeft,f):f:t.y=this.allowGaps&&t.y>g?Math.max(this.snap(t.y-this.marginTop)+this.marginTop,g):g);c?t.y=g:t.x=f;this.fill&&null!=\r\ne&&(c?t.height=e:t.width=e);c?t.width=this.snap(t.width):t.height=this.snap(t.height);this.setChildGeometry(r,t);n=r;k=t;m=c?k.x+k.width+Math.floor(u/2):k.y+k.height+Math.floor(u/2)}}this.resizeParent&&null!=b&&null!=k&&!this.graph.isCellCollapsed(a)?this.updateParentGeometry(a,b,k):this.resizeLast&&null!=b&&null!=k&&null!=n&&(c?k.width=b.width-k.x-this.spacing-this.marginRight-this.marginLeft:k.height=b.height-k.y-this.spacing-this.marginBottom,this.setChildGeometry(n,k))}finally{d.endUpdate()}}};\r\nmxStackLayout.prototype.setChildGeometry=function(a,b){var c=this.graph.getCellGeometry(a);null!=c&&b.x==c.x&&b.y==c.y&&b.width==c.width&&b.height==c.height||this.graph.getModel().setGeometry(a,b)};\r\nmxStackLayout.prototype.updateParentGeometry=function(a,b,c){var d=this.isHorizontal(),e=this.graph.getModel(),f=b.clone();d?(c=c.x+c.width+this.marginRight+this.border,f.width=this.resizeParentMax?Math.max(f.width,c):c):(c=c.y+c.height+this.marginBottom+this.border,f.height=this.resizeParentMax?Math.max(f.height,c):c);b.x==f.x&&b.y==f.y&&b.width==f.width&&b.height==f.height||e.setGeometry(a,f)};\r\nfunction mxPartitionLayout(a,b,c,d){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.spacing=c||0;this.border=d||0}mxPartitionLayout.prototype=new mxGraphLayout;mxPartitionLayout.prototype.constructor=mxPartitionLayout;mxPartitionLayout.prototype.horizontal=null;mxPartitionLayout.prototype.spacing=null;mxPartitionLayout.prototype.border=null;mxPartitionLayout.prototype.resizeVertices=!0;mxPartitionLayout.prototype.isHorizontal=function(){return this.horizontal};\r\nmxPartitionLayout.prototype.moveCell=function(a,b,c){c=this.graph.getModel();var d=c.getParent(a);if(null!=a&&null!=d){var e,f=0,g=c.getChildCount(d);for(e=0;e<g;e++){var k=c.getChildAt(d,e),k=this.getVertexBounds(k);if(null!=k){k=k.x+k.width/2;if(f<b&&k>b)break;f=k}}b=d.getIndex(a);b=Math.max(0,e-(e>b?1:0));c.add(d,a,b)}};\r\nmxPartitionLayout.prototype.execute=function(a){var b=this.isHorizontal(),c=this.graph.getModel(),d=c.getGeometry(a);null!=this.graph.container&&(null==d&&c.isLayer(a)||a==this.graph.getView().currentRoot)&&(d=new mxRectangle(0,0,this.graph.container.offsetWidth-1,this.graph.container.offsetHeight-1));if(null!=d){for(var e=[],f=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g);!this.isVertexIgnored(k)&&this.isVertexMovable(k)&&e.push(k)}f=e.length;if(0<f){var l=this.border,m=this.border,n=b?\r\nd.height:d.width,n=n-2*this.border;a=this.graph.isSwimlane(a)?this.graph.getStartSize(a):new mxRectangle;n-=b?a.height:a.width;l+=a.width;m+=a.height;a=this.border+(f-1)*this.spacing;d=b?(d.width-l-a)/f:(d.height-m-a)/f;if(0<d){c.beginUpdate();try{for(g=0;g<f;g++){var k=e[g],p=c.getGeometry(k);null!=p&&(p=p.clone(),p.x=l,p.y=m,b?(this.resizeVertices&&(p.width=d,p.height=n),l+=d+this.spacing):(this.resizeVertices&&(p.height=d,p.width=n),m+=d+this.spacing),c.setGeometry(k,p))}}finally{c.endUpdate()}}}}};\r\nfunction mxCompactTreeLayout(a,b,c){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.invert=null!=c?c:!1}mxCompactTreeLayout.prototype=new mxGraphLayout;mxCompactTreeLayout.prototype.constructor=mxCompactTreeLayout;mxCompactTreeLayout.prototype.horizontal=null;mxCompactTreeLayout.prototype.invert=null;mxCompactTreeLayout.prototype.resizeParent=!0;mxCompactTreeLayout.prototype.maintainParentLocation=!1;mxCompactTreeLayout.prototype.groupPadding=10;\r\nmxCompactTreeLayout.prototype.groupPaddingTop=0;mxCompactTreeLayout.prototype.groupPaddingRight=0;mxCompactTreeLayout.prototype.groupPaddingBottom=0;mxCompactTreeLayout.prototype.groupPaddingLeft=0;mxCompactTreeLayout.prototype.parentsChanged=null;mxCompactTreeLayout.prototype.moveTree=!1;mxCompactTreeLayout.prototype.visited=null;mxCompactTreeLayout.prototype.levelDistance=10;mxCompactTreeLayout.prototype.nodeDistance=20;mxCompactTreeLayout.prototype.resetEdges=!0;\r\nmxCompactTreeLayout.prototype.prefHozEdgeSep=5;mxCompactTreeLayout.prototype.prefVertEdgeOff=4;mxCompactTreeLayout.prototype.minEdgeJetty=8;mxCompactTreeLayout.prototype.channelBuffer=4;mxCompactTreeLayout.prototype.edgeRouting=!0;mxCompactTreeLayout.prototype.sortEdges=!1;mxCompactTreeLayout.prototype.alignRanks=!1;mxCompactTreeLayout.prototype.maxRankHeight=null;mxCompactTreeLayout.prototype.root=null;mxCompactTreeLayout.prototype.node=null;\r\nmxCompactTreeLayout.prototype.isVertexIgnored=function(a){return mxGraphLayout.prototype.isVertexIgnored.apply(this,arguments)||0==this.graph.getConnections(a).length};mxCompactTreeLayout.prototype.isHorizontal=function(){return this.horizontal};\r\nmxCompactTreeLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.getModel();if(null==b)if(0<this.graph.getEdges(a,c.getParent(a),this.invert,!this.invert,!1).length)this.root=a;else{var d=this.graph.findTreeRoots(a,!0,this.invert);if(0<d.length)for(var e=0;e<d.length;e++)if(!this.isVertexIgnored(d[e])&&0<this.graph.getEdges(d[e],null,this.invert,!this.invert,!1).length){this.root=d[e];break}}else this.root=b;if(null!=this.root){this.parentsChanged=this.resizeParent?{}:null;this.parentY=\r\nthis.parentX=null;if(a!=this.root&&null!=c.isVertex(a)&&this.maintainParentLocation){var f=this.graph.getCellGeometry(a);null!=f&&(this.parentX=f.x,this.parentY=f.y)}c.beginUpdate();try{if(this.visited={},this.node=this.dfs(this.root,a),this.alignRanks&&(this.maxRankHeight=[],this.findRankHeights(this.node,0),this.setCellHeights(this.node,0)),null!=this.node){this.layout(this.node);var g=this.graph.gridSize,d=g;if(!this.moveTree){var k=this.getVertexBounds(this.root);null!=k&&(g=k.x,d=k.y)}k=null;\r\nk=this.isHorizontal()?this.horizontalLayout(this.node,g,d):this.verticalLayout(this.node,null,g,d);if(null!=k){var l=e=0;0>k.x&&(e=Math.abs(g-k.x));0>k.y&&(l=Math.abs(d-k.y));0==e&&0==l||this.moveNode(this.node,e,l);this.resizeParent&&this.adjustParents();this.edgeRouting&&this.localEdgeProcessing(this.node)}null!=this.parentX&&null!=this.parentY&&(f=this.graph.getCellGeometry(a),null!=f&&(f=f.clone(),f.x=this.parentX,f.y=this.parentY,c.setGeometry(a,f)))}}finally{c.endUpdate()}}};\r\nmxCompactTreeLayout.prototype.moveNode=function(a,b,c){a.x+=b;a.y+=c;this.apply(a);for(a=a.child;null!=a;)this.moveNode(a,b,c),a=a.next};\r\nmxCompactTreeLayout.prototype.sortOutgoingEdges=function(a,b){var c=new mxDictionary;b.sort(function(b,e){var d=b.getTerminal(b.getTerminal(!1)==a),g=c.get(d);null==g&&(g=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,g));var d=e.getTerminal(e.getTerminal(!1)==a),k=c.get(d);null==k&&(k=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,k));return mxCellPath.compare(g,k)})};\r\nmxCompactTreeLayout.prototype.findRankHeights=function(a,b){if(null==this.maxRankHeight[b]||this.maxRankHeight[b]<a.height)this.maxRankHeight[b]=a.height;for(var c=a.child;null!=c;)this.findRankHeights(c,b+1),c=c.next};mxCompactTreeLayout.prototype.setCellHeights=function(a,b){null!=this.maxRankHeight[b]&&this.maxRankHeight[b]>a.height&&(a.height=this.maxRankHeight[b]);for(var c=a.child;null!=c;)this.setCellHeights(c,b+1),c=c.next};\r\nmxCompactTreeLayout.prototype.dfs=function(a,b){var c=mxCellPath.create(a),d=null;if(null!=a&&null==this.visited[c]&&!this.isVertexIgnored(a)){this.visited[c]=a;var d=this.createNode(a),c=this.graph.getModel(),e=null,f=this.graph.getEdges(a,b,this.invert,!this.invert,!1,!0),g=this.graph.getView();this.sortEdges&&this.sortOutgoingEdges(a,f);for(var k=0;k<f.length;k++){var l=f[k];if(!this.isEdgeIgnored(l)){this.resetEdges&&this.setEdgePoints(l,null);this.edgeRouting&&(this.setEdgeStyleEnabled(l,!1),\r\nthis.setEdgePoints(l,null));var m=g.getState(l),l=null!=m?m.getVisibleTerminal(this.invert):g.getVisibleTerminal(l,this.invert),m=this.dfs(l,b);null!=m&&null!=c.getGeometry(l)&&(null==e?d.child=m:e.next=m,e=m)}}}return d};mxCompactTreeLayout.prototype.layout=function(a){if(null!=a){for(var b=a.child;null!=b;)this.layout(b),b=b.next;null!=a.child?this.attachParent(a,this.join(a)):this.layoutLeaf(a)}};\r\nmxCompactTreeLayout.prototype.horizontalLayout=function(a,b,c,d){a.x+=b+a.offsetX;a.y+=c+a.offsetY;d=this.apply(a,d);b=a.child;if(null!=b){d=this.horizontalLayout(b,a.x,a.y,d);c=a.y+b.offsetY;for(var e=b.next;null!=e;)d=this.horizontalLayout(e,a.x+b.offsetX,c,d),c+=e.offsetY,e=e.next}return d};\r\nmxCompactTreeLayout.prototype.verticalLayout=function(a,b,c,d,e){a.x+=c+a.offsetY;a.y+=d+a.offsetX;e=this.apply(a,e);b=a.child;if(null!=b)for(e=this.verticalLayout(b,a,a.x,a.y,e),c=a.x+b.offsetY,d=b.next;null!=d;)e=this.verticalLayout(d,a,c,a.y+b.offsetX,e),c+=d.offsetY,d=d.next;return e};\r\nmxCompactTreeLayout.prototype.attachParent=function(a,b){var c=this.nodeDistance+this.levelDistance,d=(b-a.width)/2-this.nodeDistance,e=d+a.width+2*this.nodeDistance-b;a.child.offsetX=c+a.height;a.child.offsetY=e;a.contour.upperHead=this.createLine(a.height,0,this.createLine(c,e,a.contour.upperHead));a.contour.lowerHead=this.createLine(a.height,0,this.createLine(c,d,a.contour.lowerHead))};\r\nmxCompactTreeLayout.prototype.layoutLeaf=function(a){var b=2*this.nodeDistance;a.contour.upperTail=this.createLine(a.height+b,0);a.contour.upperHead=a.contour.upperTail;a.contour.lowerTail=this.createLine(0,-a.width-b);a.contour.lowerHead=this.createLine(a.height+b,0,a.contour.lowerTail)};\r\nmxCompactTreeLayout.prototype.join=function(a){var b=2*this.nodeDistance,c=a.child;a.contour=c.contour;for(var d=c.width+b,e=d,c=c.next;null!=c;){var f=this.merge(a.contour,c.contour);c.offsetY=f+d;c.offsetX=0;d=c.width+b;e+=f+d;c=c.next}return e};\r\nmxCompactTreeLayout.prototype.merge=function(a,b){for(var c=0,d=0,e=0,f=a.lowerHead,g=b.upperHead;null!=g&&null!=f;){var k=this.offset(c,d,g.dx,g.dy,f.dx,f.dy),d=d+k,e=e+k;c+g.dx<=f.dx?(c+=g.dx,d+=g.dy,g=g.next):(c-=f.dx,d-=f.dy,f=f.next)}null!=g?(c=this.bridge(a.upperTail,0,0,g,c,d),a.upperTail=null!=c.next?b.upperTail:c,a.lowerTail=b.lowerTail):(c=this.bridge(b.lowerTail,c,d,f,0,0),null==c.next&&(a.lowerTail=c));a.lowerHead=b.lowerHead;return e};\r\nmxCompactTreeLayout.prototype.offset=function(a,b,c,d,e,f){if(e<=a||0>=a+c)return 0;a=0<e*d-c*f?0>a?a*d/c-b:0<a?a*f/e-b:-b:e<a+c?f-(b+(e-a)*d/c):e>a+c?(c+a)*f/e-(b+d):f-(b+d);return 0<a?a:0};mxCompactTreeLayout.prototype.bridge=function(a,b,c,d,e,f){b=e+d.dx-b;0==d.dx?e=d.dy:(e=b*d.dy,e/=d.dx);b=this.createLine(b,e,d.next);a.next=this.createLine(0,f+d.dy-e-c,b);return b};\r\nmxCompactTreeLayout.prototype.createNode=function(a){var b={};b.cell=a;b.x=0;b.y=0;b.width=0;b.height=0;a=this.getVertexBounds(a);null!=a&&(this.isHorizontal()?(b.width=a.height,b.height=a.width):(b.width=a.width,b.height=a.height));b.offsetX=0;b.offsetY=0;b.contour={};return b};\r\nmxCompactTreeLayout.prototype.apply=function(a,b){var c=this.graph.getModel(),d=a.cell,e=c.getGeometry(d);null!=d&&null!=e&&(this.isVertexMovable(d)&&(e=this.setVertexLocation(d,a.x,a.y),this.resizeParent&&(c=c.getParent(d),d=mxCellPath.create(c),null==this.parentsChanged[d]&&(this.parentsChanged[d]=c))),b=null==b?new mxRectangle(e.x,e.y,e.width,e.height):new mxRectangle(Math.min(b.x,e.x),Math.min(b.y,e.y),Math.max(b.x+b.width,e.x+e.width),Math.max(b.y+b.height,e.y+e.height)));return b};\r\nmxCompactTreeLayout.prototype.createLine=function(a,b,c){var d={};d.dx=a;d.dy=b;d.next=c;return d};mxCompactTreeLayout.prototype.adjustParents=function(){var a=[],b;for(b in this.parentsChanged)a.push(this.parentsChanged[b]);this.arrangeGroups(mxUtils.sortCells(a,!0),this.groupPadding,this.groupPaddingTop,this.groupPaddingRight,this.groupPaddingBottom,this.groupPaddingLeft)};\r\nmxCompactTreeLayout.prototype.localEdgeProcessing=function(a){this.processNodeOutgoing(a);for(a=a.child;null!=a;)this.localEdgeProcessing(a),a=a.next};\r\nmxCompactTreeLayout.prototype.processNodeOutgoing=function(a){for(var b=a.child,c=a.cell,d=0,e=[];null!=b;){d++;var f=b.x;this.horizontal&&(f=b.y);e.push(new WeightedCellSorter(b,f));b=b.next}e.sort(WeightedCellSorter.prototype.compare);var f=a.width,g=(d+1)*this.prefHozEdgeSep;f>g+2*this.prefHozEdgeSep&&(f-=2*this.prefHozEdgeSep);a=f/d;b=a/2;f>g+2*this.prefHozEdgeSep&&(b+=this.prefHozEdgeSep);for(var f=this.minEdgeJetty-this.prefVertEdgeOff,g=this.getVertexBounds(c),k=0;k<e.length;k++){for(var l=\r\ne[k].cell.cell,m=this.getVertexBounds(l),l=this.graph.getEdgesBetween(c,l,!1),n=[],p,q,r=0;r<l.length;r++)this.horizontal?(p=g.x+g.width,q=g.y+b,n.push(new mxPoint(p,q)),p=g.x+g.width+f,n.push(new mxPoint(p,q)),q=m.y+m.height/2):(p=g.x+b,q=g.y+g.height,n.push(new mxPoint(p,q)),q=g.y+g.height+f,n.push(new mxPoint(p,q)),p=m.x+m.width/2),n.push(new mxPoint(p,q)),this.setEdgePoints(l[r],n);k<d/2?f+=this.prefVertEdgeOff:k>d/2&&(f-=this.prefVertEdgeOff);b+=a}};\r\nfunction mxRadialTreeLayout(a){mxCompactTreeLayout.call(this,a,!1)}mxUtils.extend(mxRadialTreeLayout,mxCompactTreeLayout);mxRadialTreeLayout.prototype.angleOffset=.5;mxRadialTreeLayout.prototype.rootx=0;mxRadialTreeLayout.prototype.rooty=0;mxRadialTreeLayout.prototype.levelDistance=120;mxRadialTreeLayout.prototype.nodeDistance=10;mxRadialTreeLayout.prototype.autoRadius=!1;mxRadialTreeLayout.prototype.sortEdges=!1;mxRadialTreeLayout.prototype.rowMinX=[];mxRadialTreeLayout.prototype.rowMaxX=[];\r\nmxRadialTreeLayout.prototype.rowMinCenX=[];mxRadialTreeLayout.prototype.rowMaxCenX=[];mxRadialTreeLayout.prototype.rowRadi=[];mxRadialTreeLayout.prototype.row=[];mxRadialTreeLayout.prototype.isVertexIgnored=function(a){return mxGraphLayout.prototype.isVertexIgnored.apply(this,arguments)||0==this.graph.getConnections(a).length};\r\nmxRadialTreeLayout.prototype.execute=function(a,b){this.parent=a;this.edgeRouting=this.useBoundingBox=!1;mxCompactTreeLayout.prototype.execute.apply(this,arguments);var c=null,d=this.getVertexBounds(this.root);this.centerX=d.x+d.width/2;this.centerY=d.y+d.height/2;for(var e in this.visited){var f=this.getVertexBounds(this.visited[e]),c=null!=c?c:f.clone();c.add(f)}this.calcRowDims([this.node],0);for(var g=0,k=0,c=0;c<this.row.length;c++)e=(this.rowMaxX[c]-this.centerX-this.nodeDistance)/this.rowRadi[c],\r\ng=Math.max(g,(this.centerX-this.rowMinX[c]-this.nodeDistance)/this.rowRadi[c]),k=Math.max(k,e);for(c=0;c<this.row.length;c++){var l=this.centerX-this.nodeDistance-g*this.rowRadi[c],m=this.centerX+this.nodeDistance+k*this.rowRadi[c]-l;for(e=0;e<this.row[c].length;e++)f=this.row[c],d=f[e],f=this.getVertexBounds(d.cell),d.theta=(f.x+f.width/2-l)/m*Math.PI*2}for(c=this.row.length-2;0<=c;c--)for(f=this.row[c],e=0;e<f.length;e++){d=f[e];g=d.child;for(l=k=0;null!=g;)l+=g.theta,k++,g=g.next;0<k&&(g=l/k,g>\r\nd.theta&&e<f.length-1?d.theta=Math.min(g,f[e+1].theta-Math.PI/10):g<d.theta&&0<e&&(d.theta=Math.max(g,f[e-1].theta+Math.PI/10)))}for(c=0;c<this.row.length;c++)for(e=0;e<this.row[c].length;e++)f=this.row[c],d=f[e],f=this.getVertexBounds(d.cell),this.setVertexLocation(d.cell,this.centerX-f.width/2+this.rowRadi[c]*Math.cos(d.theta),this.centerY-f.height/2+this.rowRadi[c]*Math.sin(d.theta))};\r\nmxRadialTreeLayout.prototype.calcRowDims=function(a,b){if(null!=a&&0!=a.length){this.rowMinX[b]=this.centerX;this.rowMaxX[b]=this.centerX;this.rowMinCenX[b]=this.centerX;this.rowMaxCenX[b]=this.centerX;this.row[b]=[];for(var c=!1,d=0;d<a.length;d++)for(var e=null!=a[d]?a[d].child:null;null!=e;){var f=this.getVertexBounds(e.cell);this.rowMinX[b]=Math.min(f.x,this.rowMinX[b]);this.rowMaxX[b]=Math.max(f.x+f.width,this.rowMaxX[b]);this.rowMinCenX[b]=Math.min(f.x+f.width/2,this.rowMinCenX[b]);this.rowMaxCenX[b]=\r\nMath.max(f.x+f.width/2,this.rowMaxCenX[b]);this.rowRadi[b]=f.y-this.getVertexBounds(this.root).y;null!=e.child&&(c=!0);this.row[b].push(e);e=e.next}c&&this.calcRowDims(this.row[b],b+1)}};function mxFastOrganicLayout(a){mxGraphLayout.call(this,a)}mxFastOrganicLayout.prototype=new mxGraphLayout;mxFastOrganicLayout.prototype.constructor=mxFastOrganicLayout;mxFastOrganicLayout.prototype.useInputOrigin=!0;mxFastOrganicLayout.prototype.resetEdges=!0;mxFastOrganicLayout.prototype.disableEdgeStyle=!0;\r\nmxFastOrganicLayout.prototype.forceConstant=50;mxFastOrganicLayout.prototype.forceConstantSquared=0;mxFastOrganicLayout.prototype.minDistanceLimit=2;mxFastOrganicLayout.prototype.maxDistanceLimit=500;mxFastOrganicLayout.prototype.minDistanceLimitSquared=4;mxFastOrganicLayout.prototype.initialTemp=200;mxFastOrganicLayout.prototype.temperature=0;mxFastOrganicLayout.prototype.maxIterations=0;mxFastOrganicLayout.prototype.iteration=0;mxFastOrganicLayout.prototype.allowedToRun=!0;\r\nmxFastOrganicLayout.prototype.isVertexIgnored=function(a){return mxGraphLayout.prototype.isVertexIgnored.apply(this,arguments)||0==this.graph.getConnections(a).length};\r\nmxFastOrganicLayout.prototype.execute=function(a){var b=this.graph.getModel();this.vertexArray=[];for(var c=this.graph.getChildVertices(a),d=0;d<c.length;d++)this.isVertexIgnored(c[d])||this.vertexArray.push(c[d]);var e=this.useInputOrigin?this.graph.getBoundingBoxFromGeometry(this.vertexArray):null,f=this.vertexArray.length;this.indices=[];this.dispX=[];this.dispY=[];this.cellLocation=[];this.isMoveable=[];this.neighbours=[];this.radius=[];this.radiusSquared=[];.001>this.forceConstant&&(this.forceConstant=\r\n.001);this.forceConstantSquared=this.forceConstant*this.forceConstant;for(d=0;d<this.vertexArray.length;d++){var g=this.vertexArray[d];this.cellLocation[d]=[];var k=mxObjectIdentity.get(g);this.indices[k]=d;var l=this.getVertexBounds(g),m=l.width,n=l.height,p=l.x,q=l.y;this.cellLocation[d][0]=p+m/2;this.cellLocation[d][1]=q+n/2;this.radius[d]=Math.min(m,n);this.radiusSquared[d]=this.radius[d]*this.radius[d]}b.beginUpdate();try{for(d=0;d<f;d++){this.dispX[d]=0;this.dispY[d]=0;this.isMoveable[d]=this.isVertexMovable(this.vertexArray[d]);\r\nvar r=this.graph.getConnections(this.vertexArray[d],a),c=this.graph.getOpposites(r,this.vertexArray[d]);this.neighbours[d]=[];for(m=0;m<c.length;m++){this.resetEdges&&this.graph.resetEdge(r[m]);this.disableEdgeStyle&&this.setEdgeStyleEnabled(r[m],!1);var k=mxObjectIdentity.get(c[m]),t=this.indices[k];this.neighbours[d][m]=null!=t?t:d}}this.temperature=this.initialTemp;0==this.maxIterations&&(this.maxIterations=20*Math.sqrt(f));for(this.iteration=0;this.iteration<this.maxIterations;this.iteration++){if(!this.allowedToRun)return;\r\nthis.calcRepulsion();this.calcAttraction();this.calcPositions();this.reduceTemperature()}a=c=null;for(d=0;d<this.vertexArray.length;d++)g=this.vertexArray[d],this.isVertexMovable(g)&&(l=this.getVertexBounds(g),null!=l&&(this.cellLocation[d][0]-=l.width/2,this.cellLocation[d][1]-=l.height/2,p=this.graph.snap(Math.round(this.cellLocation[d][0])),q=this.graph.snap(Math.round(this.cellLocation[d][1])),this.setVertexLocation(g,p,q),c=null==c?p:Math.min(c,p),a=null==a?q:Math.min(a,q)));d=-(c||0)+1;g=-(a||\r\n0)+1;null!=e&&(d+=e.x,g+=e.y);this.graph.moveCells(this.vertexArray,d,g)}finally{b.endUpdate()}};mxFastOrganicLayout.prototype.calcPositions=function(){for(var a=0;a<this.vertexArray.length;a++)if(this.isMoveable[a]){var b=Math.sqrt(this.dispX[a]*this.dispX[a]+this.dispY[a]*this.dispY[a]);.001>b&&(b=.001);var c=this.dispX[a]/b*Math.min(b,this.temperature),b=this.dispY[a]/b*Math.min(b,this.temperature);this.dispX[a]=0;this.dispY[a]=0;this.cellLocation[a][0]+=c;this.cellLocation[a][1]+=b}};\r\nmxFastOrganicLayout.prototype.calcAttraction=function(){for(var a=0;a<this.vertexArray.length;a++)for(var b=0;b<this.neighbours[a].length;b++){var c=this.neighbours[a][b];if(a!=c&&this.isMoveable[a]&&this.isMoveable[c]){var d=this.cellLocation[a][0]-this.cellLocation[c][0],e=this.cellLocation[a][1]-this.cellLocation[c][1],f=d*d+e*e-this.radiusSquared[a]-this.radiusSquared[c];f<this.minDistanceLimitSquared&&(f=this.minDistanceLimitSquared);var g=Math.sqrt(f),f=f/this.forceConstant,d=d/g*f,e=e/g*f;\r\nthis.dispX[a]-=d;this.dispY[a]-=e;this.dispX[c]+=d;this.dispY[c]+=e}}};\r\nmxFastOrganicLayout.prototype.calcRepulsion=function(){for(var a=this.vertexArray.length,b=0;b<a;b++)for(var c=b;c<a;c++){if(!this.allowedToRun)return;if(c!=b&&this.isMoveable[b]&&this.isMoveable[c]){var d=this.cellLocation[b][0]-this.cellLocation[c][0],e=this.cellLocation[b][1]-this.cellLocation[c][1];0==d&&(d=.01+Math.random());0==e&&(e=.01+Math.random());var f=Math.sqrt(d*d+e*e),g=f-this.radius[b]-this.radius[c];g>this.maxDistanceLimit||(g<this.minDistanceLimit&&(g=this.minDistanceLimit),g=this.forceConstantSquared/\r\ng,d=d/f*g,e=e/f*g,this.dispX[b]+=d,this.dispY[b]+=e,this.dispX[c]-=d,this.dispY[c]-=e)}}};mxFastOrganicLayout.prototype.reduceTemperature=function(){this.temperature=this.initialTemp*(1-this.iteration/this.maxIterations)};function mxCircleLayout(a,b){mxGraphLayout.call(this,a);this.radius=null!=b?b:100}mxCircleLayout.prototype=new mxGraphLayout;mxCircleLayout.prototype.constructor=mxCircleLayout;mxCircleLayout.prototype.radius=null;mxCircleLayout.prototype.moveCircle=!1;\r\nmxCircleLayout.prototype.x0=0;mxCircleLayout.prototype.y0=0;mxCircleLayout.prototype.resetEdges=!0;mxCircleLayout.prototype.disableEdgeStyle=!0;\r\nmxCircleLayout.prototype.execute=function(a){var b=this.graph.getModel();b.beginUpdate();try{for(var c=0,d=null,e=null,f=[],g=b.getChildCount(a),k=0;k<g;k++){var l=b.getChildAt(a,k);if(this.isVertexIgnored(l))this.isEdgeIgnored(l)||(this.resetEdges&&this.graph.resetEdge(l),this.disableEdgeStyle&&this.setEdgeStyleEnabled(l,!1));else{f.push(l);var m=this.getVertexBounds(l),d=null==d?m.y:Math.min(d,m.y),e=null==e?m.x:Math.min(e,m.x),c=Math.max(c,Math.max(m.width,m.height))}}var n=this.getRadius(f.length,\r\nc);this.moveCircle&&(e=this.x0,d=this.y0);this.circle(f,n,e,d)}finally{b.endUpdate()}};mxCircleLayout.prototype.getRadius=function(a,b){return Math.max(a*b/Math.PI,this.radius)};mxCircleLayout.prototype.circle=function(a,b,c,d){for(var e=a.length,f=2*Math.PI/e,g=0;g<e;g++)this.isVertexMovable(a[g])&&this.setVertexLocation(a[g],Math.round(c+b+b*Math.sin(g*f)),Math.round(d+b+b*Math.cos(g*f)))};function mxParallelEdgeLayout(a){mxGraphLayout.call(this,a)}mxParallelEdgeLayout.prototype=new mxGraphLayout;\r\nmxParallelEdgeLayout.prototype.constructor=mxParallelEdgeLayout;mxParallelEdgeLayout.prototype.spacing=20;mxParallelEdgeLayout.prototype.checkOverlap=!1;mxParallelEdgeLayout.prototype.execute=function(a,b){var c=this.findParallels(a,b);this.graph.model.beginUpdate();try{for(var d in c){var e=c[d];1<e.length&&this.layout(e)}}finally{this.graph.model.endUpdate()}};\r\nmxParallelEdgeLayout.prototype.findParallels=function(a,b){var c=[],d=mxUtils.bind(this,function(a){if(!this.isEdgeIgnored(a)){var b=this.getEdgeId(a);null!=b&&(null==c[b]&&(c[b]=[]),c[b].push(a))}});if(null!=b)for(var e=0;e<b.length;e++)d(b[e]);else for(var f=this.graph.getModel(),g=f.getChildCount(a),e=0;e<g;e++)d(f.getChildAt(a,e));return c};\r\nmxParallelEdgeLayout.prototype.getEdgeId=function(a){var b=this.graph.getView(),c=b.getVisibleTerminal(a,!0),b=b.getVisibleTerminal(a,!1),d="";if(null!=c&&null!=b){c=mxObjectIdentity.get(c);b=mxObjectIdentity.get(b);if(this.checkOverlap&&(a=this.graph.view.getState(a),null!=a&&null!=a.absolutePoints)){for(var d=[],e=0;e<a.absolutePoints.length;e++){var f=a.absolutePoints[e];null!=f&&d.push(f.x,f.y)}d=d.join(",")}return(c>b?b+"-"+c:c+"-"+b)+d}return null};\r\nmxParallelEdgeLayout.prototype.layout=function(a){var b=a[0],c=this.graph.getView(),d=this.graph.getModel(),e=d.getGeometry(c.getVisibleTerminal(b,!0)),d=d.getGeometry(c.getVisibleTerminal(b,!1));if(e==d)for(var b=e.x+e.width+this.spacing,c=e.y+e.height/2,f=0;f<a.length;f++)this.route(a[f],b,c),b+=this.spacing;else if(null!=e&&null!=d){var b=e.x+e.width/2,c=e.y+e.height/2,f=d.x+d.width/2-b,g=d.y+d.height/2-c,d=Math.sqrt(f*f+g*g);if(0<d)for(e=g*this.spacing/d,d=f*this.spacing/d,b=b+f/2+e*(a.length-\r\n1)/2,c=c+g/2-d*(a.length-1)/2,f=0;f<a.length;f++)this.route(a[f],b,c),b-=e,c+=d}};mxParallelEdgeLayout.prototype.route=function(a,b,c){this.graph.isCellMovable(a)&&this.setEdgePoints(a,[new mxPoint(b,c)])};function mxCompositeLayout(a,b,c){mxGraphLayout.call(this,a);this.layouts=b;this.master=c}mxCompositeLayout.prototype=new mxGraphLayout;mxCompositeLayout.prototype.constructor=mxCompositeLayout;mxCompositeLayout.prototype.layouts=null;mxCompositeLayout.prototype.master=null;\r\nmxCompositeLayout.prototype.moveCell=function(a,b,c){null!=this.master?this.master.moveCell.apply(this.master,arguments):this.layouts[0].moveCell.apply(this.layouts[0],arguments)};mxCompositeLayout.prototype.execute=function(a){var b=this.graph.getModel();b.beginUpdate();try{for(var c=0;c<this.layouts.length;c++)this.layouts[c].execute.apply(this.layouts[c],arguments)}finally{b.endUpdate()}};function mxEdgeLabelLayout(a,b){mxGraphLayout.call(this,a)}mxEdgeLabelLayout.prototype=new mxGraphLayout;\r\nmxEdgeLabelLayout.prototype.constructor=mxEdgeLabelLayout;mxEdgeLabelLayout.prototype.execute=function(a){for(var b=this.graph.view,c=this.graph.getModel(),d=[],e=[],f=c.getChildCount(a),g=0;g<f;g++){var k=c.getChildAt(a,g),l=b.getState(k);null!=l&&(this.isVertexIgnored(k)?this.isEdgeIgnored(k)||d.push(l):e.push(l))}this.placeLabels(e,d)};\r\nmxEdgeLabelLayout.prototype.placeLabels=function(a,b){var c=this.graph.getModel();c.beginUpdate();try{for(var d=0;d<b.length;d++){var e=b[d];if(null!=e&&null!=e.text&&null!=e.text.boundingBox)for(var f=0;f<a.length;f++){var g=a[f];null!=g&&this.avoid(e,g)}}}finally{c.endUpdate()}};\r\nmxEdgeLabelLayout.prototype.avoid=function(a,b){var c=this.graph.getModel(),d=a.text.boundingBox;if(mxUtils.intersects(d,b)){var e=-d.y-d.height+b.y,f=-d.y+b.y+b.height,e=Math.abs(e)<Math.abs(f)?e:f,f=-d.x-d.width+b.x,d=-d.x+b.x+b.width,d=Math.abs(f)<Math.abs(d)?f:d;Math.abs(d)<Math.abs(e)?e=0:d=0;f=c.getGeometry(a.cell);null!=f&&(f=f.clone(),null!=f.offset?(f.offset.x+=d,f.offset.y+=e):f.offset=new mxPoint(d,e),c.setGeometry(a.cell,f))}};\r\nfunction mxGraphAbstractHierarchyCell(){this.x=[];this.y=[];this.temp=[]}mxGraphAbstractHierarchyCell.prototype.maxRank=-1;mxGraphAbstractHierarchyCell.prototype.minRank=-1;mxGraphAbstractHierarchyCell.prototype.x=null;mxGraphAbstractHierarchyCell.prototype.y=null;mxGraphAbstractHierarchyCell.prototype.width=0;mxGraphAbstractHierarchyCell.prototype.height=0;mxGraphAbstractHierarchyCell.prototype.nextLayerConnectedCells=null;mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells=null;\r\nmxGraphAbstractHierarchyCell.prototype.temp=null;mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells=function(a){return null};mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells=function(a){return null};mxGraphAbstractHierarchyCell.prototype.isEdge=function(){return!1};mxGraphAbstractHierarchyCell.prototype.isVertex=function(){return!1};mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable=function(a){return null};\r\nmxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable=function(a,b){return null};mxGraphAbstractHierarchyCell.prototype.setX=function(a,b){this.isVertex()?this.x[0]=b:this.isEdge()&&(this.x[a-this.minRank-1]=b)};mxGraphAbstractHierarchyCell.prototype.getX=function(a){return this.isVertex()?this.x[0]:this.isEdge()?this.x[a-this.minRank-1]:0};mxGraphAbstractHierarchyCell.prototype.setY=function(a,b){this.isVertex()?this.y[0]=b:this.isEdge()&&(this.y[a-this.minRank-1]=b)};\r\nfunction mxGraphHierarchyNode(a){mxGraphAbstractHierarchyCell.apply(this,arguments);this.cell=a;this.id=mxObjectIdentity.get(a);this.connectsAsTarget=[];this.connectsAsSource=[]}mxGraphHierarchyNode.prototype=new mxGraphAbstractHierarchyCell;mxGraphHierarchyNode.prototype.constructor=mxGraphHierarchyNode;mxGraphHierarchyNode.prototype.cell=null;mxGraphHierarchyNode.prototype.id=null;mxGraphHierarchyNode.prototype.connectsAsTarget=null;mxGraphHierarchyNode.prototype.connectsAsSource=null;\r\nmxGraphHierarchyNode.prototype.hashCode=!1;mxGraphHierarchyNode.prototype.getRankValue=function(a){return this.maxRank};mxGraphHierarchyNode.prototype.getNextLayerConnectedCells=function(a){if(null==this.nextLayerConnectedCells){this.nextLayerConnectedCells=[];this.nextLayerConnectedCells[0]=[];for(var b=0;b<this.connectsAsTarget.length;b++){var c=this.connectsAsTarget[b];-1==c.maxRank||c.maxRank==a+1?this.nextLayerConnectedCells[0].push(c.source):this.nextLayerConnectedCells[0].push(c)}}return this.nextLayerConnectedCells[0]};\r\nmxGraphHierarchyNode.prototype.getPreviousLayerConnectedCells=function(a){if(null==this.previousLayerConnectedCells){this.previousLayerConnectedCells=[];this.previousLayerConnectedCells[0]=[];for(var b=0;b<this.connectsAsSource.length;b++){var c=this.connectsAsSource[b];-1==c.minRank||c.minRank==a-1?this.previousLayerConnectedCells[0].push(c.target):this.previousLayerConnectedCells[0].push(c)}}return this.previousLayerConnectedCells[0]};mxGraphHierarchyNode.prototype.isVertex=function(){return!0};\r\nmxGraphHierarchyNode.prototype.getGeneralPurposeVariable=function(a){return this.temp[0]};mxGraphHierarchyNode.prototype.setGeneralPurposeVariable=function(a,b){this.temp[0]=b};mxGraphHierarchyNode.prototype.isAncestor=function(a){if(null!=a&&null!=this.hashCode&&null!=a.hashCode&&this.hashCode.length<a.hashCode.length){if(this.hashCode==a.hashCode)return!0;if(null==this.hashCode||null==this.hashCode)return!1;for(var b=0;b<this.hashCode.length;b++)if(this.hashCode[b]!=a.hashCode[b])return!1;return!0}return!1};\r\nmxGraphHierarchyNode.prototype.getCoreCell=function(){return this.cell};function mxGraphHierarchyEdge(a){mxGraphAbstractHierarchyCell.apply(this,arguments);this.edges=a;this.ids=[];for(var b=0;b<a.length;b++)this.ids.push(mxObjectIdentity.get(a[b]))}mxGraphHierarchyEdge.prototype=new mxGraphAbstractHierarchyCell;mxGraphHierarchyEdge.prototype.constructor=mxGraphHierarchyEdge;mxGraphHierarchyEdge.prototype.edges=null;mxGraphHierarchyEdge.prototype.ids=null;mxGraphHierarchyEdge.prototype.source=null;\r\nmxGraphHierarchyEdge.prototype.target=null;mxGraphHierarchyEdge.prototype.isReversed=!1;mxGraphHierarchyEdge.prototype.invert=function(a){a=this.source;this.source=this.target;this.target=a;this.isReversed=!this.isReversed};\r\nmxGraphHierarchyEdge.prototype.getNextLayerConnectedCells=function(a){if(null==this.nextLayerConnectedCells){this.nextLayerConnectedCells=[];for(var b=0;b<this.temp.length;b++)this.nextLayerConnectedCells[b]=[],b==this.temp.length-1?this.nextLayerConnectedCells[b].push(this.source):this.nextLayerConnectedCells[b].push(this)}return this.nextLayerConnectedCells[a-this.minRank-1]};\r\nmxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells=function(a){if(null==this.previousLayerConnectedCells){this.previousLayerConnectedCells=[];for(var b=0;b<this.temp.length;b++)this.previousLayerConnectedCells[b]=[],0==b?this.previousLayerConnectedCells[b].push(this.target):this.previousLayerConnectedCells[b].push(this)}return this.previousLayerConnectedCells[a-this.minRank-1]};mxGraphHierarchyEdge.prototype.isEdge=function(){return!0};\r\nmxGraphHierarchyEdge.prototype.getGeneralPurposeVariable=function(a){return this.temp[a-this.minRank-1]};mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable=function(a,b){this.temp[a-this.minRank-1]=b};mxGraphHierarchyEdge.prototype.getCoreCell=function(){return null!=this.edges&&0<this.edges.length?this.edges[0]:null};\r\nfunction mxGraphHierarchyModel(a,b,c,d,e){a.getGraph();this.tightenToSource=e;this.roots=c;this.parent=d;this.vertexMapper=new mxDictionary;this.edgeMapper=new mxDictionary;this.maxRank=0;c=[];null==b&&(b=this.graph.getChildVertices(d));this.maxRank=this.SOURCESCANSTARTRANK;this.createInternalCells(a,b,c);for(d=0;d<b.length;d++){e=c[d].connectsAsSource;for(var f=0;f<e.length;f++){var g=e[f],k=g.edges;if(null!=k&&0<k.length){var k=k[0],l=a.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);c[d]==\r\nl&&(l=a.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.connectsAsTarget.length&&(l.connectsAsTarget=[]),0>mxUtils.indexOf(l.connectsAsTarget,g)&&l.connectsAsTarget.push(g))}}c[d].temp[0]=1}}mxGraphHierarchyModel.prototype.maxRank=null;mxGraphHierarchyModel.prototype.vertexMapper=null;mxGraphHierarchyModel.prototype.edgeMapper=null;mxGraphHierarchyModel.prototype.ranks=null;mxGraphHierarchyModel.prototype.roots=null;mxGraphHierarchyModel.prototype.parent=null;\r\nmxGraphHierarchyModel.prototype.dfsCount=0;mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK=1E8;mxGraphHierarchyModel.prototype.tightenToSource=!1;\r\nmxGraphHierarchyModel.prototype.createInternalCells=function(a,b,c){for(var d=a.getGraph(),e=0;e<b.length;e++){c[e]=new mxGraphHierarchyNode(b[e]);this.vertexMapper.put(b[e],c[e]);var f=a.getEdges(b[e]);c[e].connectsAsSource=[];for(var g=0;g<f.length;g++){var k=a.getVisibleTerminal(f[g],!1);if(k!=b[e]&&a.graph.model.isVertex(k)&&!a.isVertexIgnored(k)){var l=a.getEdgesBetween(b[e],k,!1),k=a.getEdgesBetween(b[e],k,!0);if(null!=l&&0<l.length&&null==this.edgeMapper.get(l[0])&&2*k.length>=l.length){for(var k=\r\nnew mxGraphHierarchyEdge(l),m=0;m<l.length;m++){var n=l[m];this.edgeMapper.put(n,k);d.resetEdge(n);a.disableEdgeStyle&&(a.setEdgeStyleEnabled(n,!1),a.setOrthogonalEdge(n,!0))}k.source=c[e];0>mxUtils.indexOf(c[e].connectsAsSource,k)&&c[e].connectsAsSource.push(k)}}}c[e].temp[0]=0}};\r\nmxGraphHierarchyModel.prototype.initialRank=function(){var a=[];if(null!=this.roots)for(var b=0;b<this.roots.length;b++){var c=this.vertexMapper.get(this.roots[b]);null!=c&&a.push(c)}for(var d=this.vertexMapper.getValues(),b=0;b<d.length;b++)d[b].temp[0]=-1;for(var e=a.slice();0<a.length;){var c=a[0],f,g;f=c.connectsAsTarget;g=c.connectsAsSource;for(var k=!0,l=this.SOURCESCANSTARTRANK,b=0;b<f.length;b++){var m=f[b];if(5270620==m.temp[0])m=m.source,l=Math.min(l,m.temp[0]-1);else{k=!1;break}}if(k){c.temp[0]=\r\nl;this.maxRank=Math.min(this.maxRank,l);if(null!=g)for(b=0;b<g.length;b++)m=g[b],m.temp[0]=5270620,m=m.target,-1==m.temp[0]&&(a.push(m),m.temp[0]=-2);a.shift()}else if(b=a.shift(),a.push(c),b==c&&1==a.length)break}for(b=0;b<d.length;b++)d[b].temp[0]-=this.maxRank;for(b=0;b<e.length;b++)for(c=e[b],a=0,f=c.connectsAsSource,d=0;d<f.length;d++)m=f[d],m=m.target,c.temp[0]=Math.max(a,m.temp[0]+1),a=c.temp[0];this.maxRank=this.SOURCESCANSTARTRANK-this.maxRank};\r\nmxGraphHierarchyModel.prototype.fixRanks=function(){var a=[];this.ranks=[];for(var b=0;b<this.maxRank+1;b++)a[b]=[],this.ranks[b]=a[b];var c=null;if(null!=this.roots)for(var d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.visit(function(b,c,d,e,m){0==m&&0>c.maxRank&&0>c.minRank&&(a[c.temp[0]].push(c),c.maxRank=c.temp[0],c.minRank=c.temp[0],c.temp[0]=a[c.maxRank].length-1);if(null!=b&&null!=d&&1<b.maxRank-c.maxRank)for(d.maxRank=b.maxRank,d.minRank=c.maxRank,d.temp=\r\n[],d.x=[],d.y=[],b=d.minRank+1;b<d.maxRank;b++)a[b].push(d),d.setGeneralPurposeVariable(b,a[b].length-1)},c,!1,null)};mxGraphHierarchyModel.prototype.visit=function(a,b,c,d){if(null!=b){for(var e=0;e<b.length;e++){var f=b[e];null!=f&&(null==d&&(d={}),c?(f.hashCode=[],f.hashCode[0]=this.dfsCount,f.hashCode[1]=e,this.extendedDfs(null,f,null,a,d,f.hashCode,e,0)):this.dfs(null,f,null,a,d,0))}this.dfsCount++}};\r\nmxGraphHierarchyModel.prototype.dfs=function(a,b,c,d,e,f){if(null!=b){var g=b.id;if(null==e[g])for(e[g]=b,d(a,b,c,f,0),a=b.connectsAsSource.slice(),c=0;c<a.length;c++)g=a[c],this.dfs(b,g.target,g,d,e,f+1);else d(a,b,c,f,1)}};\r\nmxGraphHierarchyModel.prototype.extendedDfs=function(a,b,c,d,e,f,g,k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.length+1,b.hashCode=a.hashCode.slice(),b.hashCode[f-1]=g),g=b.id,null==e[g])for(e[g]=b,d(a,b,c,k,0),a=b.connectsAsSource.slice(),c=0;c<a.length;c++)g=a[c],this.extendedDfs(b,g.target,g,d,e,b.hashCode,c,k+1);else d(a,b,c,k,1)};\r\nfunction mxSwimlaneModel(a,b,c,d,e){a.getGraph();this.tightenToSource=e;this.roots=c;this.parent=d;this.vertexMapper=new mxDictionary;this.edgeMapper=new mxDictionary;this.maxRank=0;c=[];null==b&&(b=this.graph.getChildVertices(d));this.maxRank=this.SOURCESCANSTARTRANK;this.createInternalCells(a,b,c);for(d=0;d<b.length;d++){e=c[d].connectsAsSource;for(var f=0;f<e.length;f++){var g=e[f],k=g.edges;if(null!=k&&0<k.length){var k=k[0],l=a.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);c[d]==l&&(l=\r\na.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.connectsAsTarget.length&&(l.connectsAsTarget=[]),0>mxUtils.indexOf(l.connectsAsTarget,g)&&l.connectsAsTarget.push(g))}}c[d].temp[0]=1}}mxSwimlaneModel.prototype.maxRank=null;mxSwimlaneModel.prototype.vertexMapper=null;mxSwimlaneModel.prototype.edgeMapper=null;mxSwimlaneModel.prototype.ranks=null;mxSwimlaneModel.prototype.roots=null;mxSwimlaneModel.prototype.parent=null;mxSwimlaneModel.prototype.dfsCount=0;\r\nmxSwimlaneModel.prototype.SOURCESCANSTARTRANK=1E8;mxSwimlaneModel.prototype.tightenToSource=!1;mxSwimlaneModel.prototype.ranksPerGroup=null;\r\nmxSwimlaneModel.prototype.createInternalCells=function(a,b,c){for(var d=a.getGraph(),e=a.swimlanes,f=0;f<b.length;f++){c[f]=new mxGraphHierarchyNode(b[f]);this.vertexMapper.put(b[f],c[f]);c[f].swimlaneIndex=-1;for(var g=0;g<e.length;g++)if(d.model.getParent(b[f])==e[g]){c[f].swimlaneIndex=g;break}g=a.getEdges(b[f]);c[f].connectsAsSource=[];for(var k=0;k<g.length;k++){var l=a.getVisibleTerminal(g[k],!1);if(l!=b[f]&&a.graph.model.isVertex(l)&&!a.isVertexIgnored(l)){var m=a.getEdgesBetween(b[f],l,!1),\r\nl=a.getEdgesBetween(b[f],l,!0);if(null!=m&&0<m.length&&null==this.edgeMapper.get(m[0])&&2*l.length>=m.length){for(var l=new mxGraphHierarchyEdge(m),n=0;n<m.length;n++){var p=m[n];this.edgeMapper.put(p,l);d.resetEdge(p);a.disableEdgeStyle&&(a.setEdgeStyleEnabled(p,!1),a.setOrthogonalEdge(p,!0))}l.source=c[f];0>mxUtils.indexOf(c[f].connectsAsSource,l)&&c[f].connectsAsSource.push(l)}}}c[f].temp[0]=0}};\r\nmxSwimlaneModel.prototype.initialRank=function(){this.ranksPerGroup=[];var a=[],b={};if(null!=this.roots)for(var c=0;c<this.roots.length;c++){var d=this.vertexMapper.get(this.roots[c]);this.maxChainDfs(null,d,null,b,0);null!=d&&a.push(d)}d=[];b=[];for(c=this.ranksPerGroup.length-1;0<=c;c--)d[c]=c==this.ranksPerGroup.length-1?0:b[c+1]+1,b[c]=d[c]+this.ranksPerGroup[c];this.maxRank=b[0];d=this.vertexMapper.getValues();for(c=0;c<d.length;c++)d[c].temp[0]=-1;for(a.slice();0<a.length;){var d=a[0],e,f;\r\ne=d.connectsAsTarget;f=d.connectsAsSource;for(var g=!0,k=b[0],c=0;c<e.length;c++){var l=e[c];if(5270620==l.temp[0])l=l.source,k=Math.min(k,l.temp[0]-1);else{g=!1;break}}if(g){k>b[d.swimlaneIndex]&&(k=b[d.swimlaneIndex]);d.temp[0]=k;if(null!=f)for(c=0;c<f.length;c++)l=f[c],l.temp[0]=5270620,l=l.target,-1==l.temp[0]&&(a.push(l),l.temp[0]=-2);a.shift()}else if(c=a.shift(),a.push(d),c==d&&1==a.length)break}};\r\nmxSwimlaneModel.prototype.maxChainDfs=function(a,b,c,d,e){if(null!=b&&(a=mxCellPath.create(b.cell),null==d[a])){d[a]=b;a=b.swimlaneIndex;if(null==this.ranksPerGroup[a]||this.ranksPerGroup[a]<e)this.ranksPerGroup[a]=e;a=b.connectsAsSource.slice();for(c=0;c<a.length;c++){var f=a[c],g=f.target;b.swimlaneIndex<g.swimlaneIndex?this.maxChainDfs(b,g,f,mxUtils.clone(d,null,!0),0):b.swimlaneIndex==g.swimlaneIndex&&this.maxChainDfs(b,g,f,mxUtils.clone(d,null,!0),e+1)}}};\r\nmxSwimlaneModel.prototype.fixRanks=function(){var a=[];this.ranks=[];for(var b=0;b<this.maxRank+1;b++)a[b]=[],this.ranks[b]=a[b];var c=null;if(null!=this.roots)for(var d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.visit(function(b,c,d,e,m){0==m&&0>c.maxRank&&0>c.minRank&&(a[c.temp[0]].push(c),c.maxRank=c.temp[0],c.minRank=c.temp[0],c.temp[0]=a[c.maxRank].length-1);if(null!=b&&null!=d&&1<b.maxRank-c.maxRank)for(d.maxRank=b.maxRank,d.minRank=c.maxRank,d.temp=[],\r\nd.x=[],d.y=[],b=d.minRank+1;b<d.maxRank;b++)a[b].push(d),d.setGeneralPurposeVariable(b,a[b].length-1)},c,!1,null)};mxSwimlaneModel.prototype.visit=function(a,b,c,d){if(null!=b){for(var e=0;e<b.length;e++){var f=b[e];null!=f&&(null==d&&(d={}),c?(f.hashCode=[],f.hashCode[0]=this.dfsCount,f.hashCode[1]=e,this.extendedDfs(null,f,null,a,d,f.hashCode,e,0)):this.dfs(null,f,null,a,d,0))}this.dfsCount++}};\r\nmxSwimlaneModel.prototype.dfs=function(a,b,c,d,e,f){if(null!=b){var g=b.id;if(null==e[g])for(e[g]=b,d(a,b,c,f,0),a=b.connectsAsSource.slice(),c=0;c<a.length;c++)g=a[c],this.dfs(b,g.target,g,d,e,f+1);else d(a,b,c,f,1)}};\r\nmxSwimlaneModel.prototype.extendedDfs=function(a,b,c,d,e,f,g,k){if(null!=b)if(null==a||null!=b.hashCode&&b.hashCode[0]==a.hashCode[0]||(f=a.hashCode.length+1,b.hashCode=a.hashCode.slice(),b.hashCode[f-1]=g),g=b.id,null==e[g]){e[g]=b;d(a,b,c,k,0);a=b.connectsAsSource.slice();c=b.connectsAsTarget.slice();for(g=0;g<a.length;g++){f=a[g];var l=f.target;b.swimlaneIndex<=l.swimlaneIndex&&this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}for(g=0;g<c.length;g++)f=c[g],l=f.source,b.swimlaneIndex<l.swimlaneIndex&&\r\nthis.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoutStage.prototype.execute=function(a){};function mxMedianHybridCrossingReduction(a){this.layout=a}mxMedianHybridCrossingReduction.prototype=new mxHierarchicalLayoutStage;mxMedianHybridCrossingReduction.prototype.constructor=mxMedianHybridCrossingReduction;mxMedianHybridCrossingReduction.prototype.layout=null;mxMedianHybridCrossingReduction.prototype.maxIterations=24;\r\nmxMedianHybridCrossingReduction.prototype.nestedBestRanks=null;mxMedianHybridCrossingReduction.prototype.currentBestCrossings=0;mxMedianHybridCrossingReduction.prototype.iterationsWithoutImprovement=0;mxMedianHybridCrossingReduction.prototype.maxNoImprovementIterations=2;\r\nmxMedianHybridCrossingReduction.prototype.execute=function(a){a=this.layout.getModel();this.nestedBestRanks=[];for(var b=0;b<a.ranks.length;b++)this.nestedBestRanks[b]=a.ranks[b].slice();for(var c=0,d=this.calculateCrossings(a),b=0;b<this.maxIterations&&c<this.maxNoImprovementIterations;b++){this.weightedMedian(b,a);this.transpose(b,a);var e=this.calculateCrossings(a);if(e<d)for(d=e,e=c=0;e<this.nestedBestRanks.length;e++)for(var f=a.ranks[e],g=0;g<f.length;g++){var k=f[g];this.nestedBestRanks[e][k.getGeneralPurposeVariable(e)]=\r\nk}else for(c++,e=0;e<this.nestedBestRanks.length;e++)for(f=a.ranks[e],g=0;g<f.length;g++)k=f[g],k.setGeneralPurposeVariable(e,g);if(0==d)break}c=[];d=[];for(b=0;b<a.maxRank+1;b++)d[b]=[],c[b]=d[b];for(b=0;b<this.nestedBestRanks.length;b++)for(e=0;e<this.nestedBestRanks[b].length;e++)d[b].push(this.nestedBestRanks[b][e]);a.ranks=c};mxMedianHybridCrossingReduction.prototype.calculateCrossings=function(a){for(var b=a.ranks.length,c=0,d=1;d<b;d++)c+=this.calculateRankCrossing(d,a);return c};\r\nmxMedianHybridCrossingReduction.prototype.calculateRankCrossing=function(a,b){for(var c=0,d=b.ranks[a],e=b.ranks[a-1],f=[],g=0;g<d.length;g++){for(var k=d[g],l=k.getGeneralPurposeVariable(a),k=k.getPreviousLayerConnectedCells(a),m=[],n=0;n<k.length;n++){var p=k[n].getGeneralPurposeVariable(a-1);m.push(p)}m.sort(function(a,b){return a-b});f[l]=m}d=[];for(g=0;g<f.length;g++)d=d.concat(f[g]);for(f=1;f<e.length;)f<<=1;l=2*f-1;--f;e=[];for(g=0;g<l;++g)e[g]=0;for(g=0;g<d.length;g++)for(l=d[g]+f,++e[l];0<\r\nl;)l%2&&(c+=e[l+1]),l=l-1>>1,++e[l];return c};\r\nmxMedianHybridCrossingReduction.prototype.transpose=function(a,b){for(var c=!0,d=0;c&&10>d++;)for(var e=1==a%2&&1==d%2,c=!1,f=0;f<b.ranks.length;f++){for(var g=b.ranks[f],k=[],l=0;l<g.length;l++){var m=g[l],n=m.getGeneralPurposeVariable(f);0>n&&(n=l);k[n]=m}for(var p=null,q=null,r,t,u=null,x=null,y,B=null,l=0;l<g.length-1;l++){if(0==l){y=k[l];m=y.getNextLayerConnectedCells(f);n=y.getPreviousLayerConnectedCells(f);r=[];t=[];for(var A=0;A<m.length;A++)r[A]=m[A].getGeneralPurposeVariable(f+1);for(A=\r\n0;A<n.length;A++)t[A]=n[A].getGeneralPurposeVariable(f-1)}else m=p,n=q,r=u,t=x,y=B;B=k[l+1];p=B.getNextLayerConnectedCells(f);q=B.getPreviousLayerConnectedCells(f);u=[];x=[];for(A=0;A<p.length;A++)u[A]=p[A].getGeneralPurposeVariable(f+1);for(A=0;A<q.length;A++)x[A]=q[A].getGeneralPurposeVariable(f-1);for(var z=0,C=0,A=0;A<r.length;A++)for(var v=0;v<u.length;v++)r[A]>u[v]&&z++,r[A]<u[v]&&C++;for(A=0;A<t.length;A++)for(v=0;v<x.length;v++)t[A]>x[v]&&z++,t[A]<x[v]&&C++;if(C<z||C==z&&e)p=y.getGeneralPurposeVariable(f),\r\ny.setGeneralPurposeVariable(f,B.getGeneralPurposeVariable(f)),B.setGeneralPurposeVariable(f,p),p=m,q=n,u=r,x=t,B=y,e||(c=!0)}}};mxMedianHybridCrossingReduction.prototype.weightedMedian=function(a,b){var c=0==a%2;if(c)for(var d=b.maxRank-1;0<=d;d--)this.medianRank(d,c);else for(d=1;d<b.maxRank;d++)this.medianRank(d,c)};\r\nmxMedianHybridCrossingReduction.prototype.medianRank=function(a,b){for(var c=this.nestedBestRanks[a].length,d=[],e=[],f=0;f<c;f++){var g=this.nestedBestRanks[a][f],k=new MedianCellSorter;k.cell=g;var l;l=b?g.getNextLayerConnectedCells(a):g.getPreviousLayerConnectedCells(a);var m;m=b?a+1:a-1;null!=l&&0!=l.length?(k.medianValue=this.medianValue(l,m),d.push(k)):e[g.getGeneralPurposeVariable(a)]=!0}d.sort(MedianCellSorter.prototype.compare);for(f=0;f<c;f++)null==e[f]&&(g=d.shift().cell,g.setGeneralPurposeVariable(a,\r\nf))};mxMedianHybridCrossingReduction.prototype.medianValue=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++){var f=a[e];c[d++]=f.getGeneralPurposeVariable(b)}c.sort(function(a,b){return a-b});if(1==d%2)return c[Math.floor(d/2)];if(2==d)return(c[0]+c[1])/2;e=d/2;f=c[e-1]-c[0];d=c[d-1]-c[e];return(c[e-1]*d+c[e]*f)/(f+d)};function MedianCellSorter(){}MedianCellSorter.prototype.medianValue=0;MedianCellSorter.prototype.cell=!1;\r\nMedianCellSorter.prototype.compare=function(a,b){return null!=a&&null!=b?b.medianValue>a.medianValue?-1:b.medianValue<a.medianValue?1:0:0};function mxMinimumCycleRemover(a){this.layout=a}mxMinimumCycleRemover.prototype=new mxHierarchicalLayoutStage;mxMinimumCycleRemover.prototype.constructor=mxMinimumCycleRemover;mxMinimumCycleRemover.prototype.layout=null;\r\nmxMinimumCycleRemover.prototype.execute=function(a){a=this.layout.getModel();for(var b={},c=a.vertexMapper.getValues(),d={},e=0;e<c.length;e++)d[c[e].id]=c[e];c=null;if(null!=a.roots)for(var f=a.roots,c=[],e=0;e<f.length;e++)c[e]=a.vertexMapper.get(f[e]);a.visit(function(a,c,e,f,n){c.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),a.connectsAsTarget.push(e),mxUtils.remove(e,c.connectsAsTarget),c.connectsAsSource.push(e));b[c.id]=c;delete d[c.id]},c,!0,null);e=mxUtils.clone(b,null,\r\n!0);a.visit(function(a,c,e,f,n){c.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),c.connectsAsSource.push(e),a.connectsAsTarget.push(e),mxUtils.remove(e,c.connectsAsTarget));b[c.id]=c;delete d[c.id]},d,!0,e)};function mxCoordinateAssignment(a,b,c,d,e,f){this.layout=a;this.intraCellSpacing=b;this.interRankCellSpacing=c;this.orientation=d;this.initialX=e;this.parallelEdgeSpacing=f}mxCoordinateAssignment.prototype=new mxHierarchicalLayoutStage;\r\nmxCoordinateAssignment.prototype.constructor=mxCoordinateAssignment;mxCoordinateAssignment.prototype.layout=null;mxCoordinateAssignment.prototype.intraCellSpacing=30;mxCoordinateAssignment.prototype.interRankCellSpacing=100;mxCoordinateAssignment.prototype.parallelEdgeSpacing=10;mxCoordinateAssignment.prototype.maxIterations=8;mxCoordinateAssignment.prototype.prefHozEdgeSep=5;mxCoordinateAssignment.prototype.prefVertEdgeOff=2;mxCoordinateAssignment.prototype.minEdgeJetty=12;\r\nmxCoordinateAssignment.prototype.channelBuffer=4;mxCoordinateAssignment.prototype.jettyPositions=null;mxCoordinateAssignment.prototype.orientation=mxConstants.DIRECTION_NORTH;mxCoordinateAssignment.prototype.initialX=null;mxCoordinateAssignment.prototype.limitX=null;mxCoordinateAssignment.prototype.currentXDelta=null;mxCoordinateAssignment.prototype.widestRank=null;mxCoordinateAssignment.prototype.rankTopY=null;mxCoordinateAssignment.prototype.rankBottomY=null;\r\nmxCoordinateAssignment.prototype.widestRankValue=null;mxCoordinateAssignment.prototype.rankWidths=null;mxCoordinateAssignment.prototype.rankY=null;mxCoordinateAssignment.prototype.fineTuning=!0;mxCoordinateAssignment.prototype.nextLayerConnectedCache=null;mxCoordinateAssignment.prototype.previousLayerConnectedCache=null;mxCoordinateAssignment.prototype.groupPadding=10;\r\nmxCoordinateAssignment.prototype.printStatus=function(){var a=this.layout.getModel();mxLog.show();mxLog.writeln("======Coord assignment debug=======");for(var b=0;b<a.ranks.length;b++){mxLog.write("Rank ",b," : ");for(var c=a.ranks[b],d=0;d<c.length;d++)mxLog.write(c[d].getGeneralPurposeVariable(b)," ");mxLog.writeln()}mxLog.writeln("====================================")};\r\nmxCoordinateAssignment.prototype.execute=function(a){this.jettyPositions={};a=this.layout.getModel();this.currentXDelta=0;this.initialCoords(this.layout.getGraph(),a);this.fineTuning&&this.minNode(a);var b=1E8;if(this.fineTuning)for(var c=0;c<this.maxIterations;c++){0!=c&&(this.medianPos(c,a),this.minNode(a));if(this.currentXDelta<b){for(var d=0;d<a.ranks.length;d++)for(var e=a.ranks[d],f=0;f<e.length;f++){var g=e[f];g.setX(d,g.getGeneralPurposeVariable(d))}b=this.currentXDelta}else for(d=0;d<a.ranks.length;d++)for(e=\r\na.ranks[d],f=0;f<e.length;f++)g=e[f],g.setGeneralPurposeVariable(d,g.getX(d));this.minPath(this.layout.getGraph(),a);this.currentXDelta=0}this.setCellLocations(this.layout.getGraph(),a)};\r\nmxCoordinateAssignment.prototype.minNode=function(a){for(var b=[],c=new mxDictionary,d=[],e=0;e<=a.maxRank;e++){d[e]=a.ranks[e];for(var f=0;f<d[e].length;f++){var g=d[e][f],k=new WeightedCellSorter(g,e);k.rankIndex=f;k.visited=!0;b.push(k);c.put(g,k)}}a=10*b.length;for(f=0;0<b.length&&f<=a;){var g=b.shift(),e=g.cell,l=g.weightedValue,m=parseInt(g.rankIndex),k=e.getNextLayerConnectedCells(l),n=e.getPreviousLayerConnectedCells(l),p=k.length,q=n.length,r=this.medianXValue(k,l+1),t=this.medianXValue(n,\r\nl-1),u=p+q,x=e.getGeneralPurposeVariable(l),y=x;0<u&&(y=(r*p+t*q)/u);p=!1;y<x-1?0==m?(e.setGeneralPurposeVariable(l,y),p=!0):(m=d[l][m-1],x=m.getGeneralPurposeVariable(l),x=x+m.width/2+this.intraCellSpacing+e.width/2,x<y?(e.setGeneralPurposeVariable(l,y),p=!0):x<e.getGeneralPurposeVariable(l)-1&&(e.setGeneralPurposeVariable(l,x),p=!0)):y>x+1&&(m==d[l].length-1?(e.setGeneralPurposeVariable(l,y),p=!0):(m=d[l][m+1],x=m.getGeneralPurposeVariable(l),x=x-m.width/2-this.intraCellSpacing-e.width/2,x>y?(e.setGeneralPurposeVariable(l,\r\ny),p=!0):x>e.getGeneralPurposeVariable(l)+1&&(e.setGeneralPurposeVariable(l,x),p=!0)));if(p){for(e=0;e<k.length;e++)l=k[e],l=c.get(l),null!=l&&0==l.visited&&(l.visited=!0,b.push(l));for(e=0;e<n.length;e++)l=n[e],l=c.get(l),null!=l&&0==l.visited&&(l.visited=!0,b.push(l))}g.visited=!1;f++}};mxCoordinateAssignment.prototype.medianPos=function(a,b){if(0==a%2)for(var c=b.maxRank;0<c;c--)this.rankMedianPosition(c-1,b,c);else for(c=0;c<b.maxRank-1;c++)this.rankMedianPosition(c+1,b,c)};\r\nmxCoordinateAssignment.prototype.rankMedianPosition=function(a,b,c){b=b.ranks[a];for(var d=[],e={},f=0;f<b.length;f++){var g=b[f];d[f]=new WeightedCellSorter;d[f].cell=g;d[f].rankIndex=f;e[g.id]=d[f];var k;k=c<a?g.getPreviousLayerConnectedCells(a):g.getNextLayerConnectedCells(a);d[f].weightedValue=this.calculatedWeightedValue(g,k)}d.sort(WeightedCellSorter.prototype.compare);for(f=0;f<d.length;f++){var l,g=d[f].cell;l=0;k=c<a?g.getPreviousLayerConnectedCells(a).slice():g.getNextLayerConnectedCells(a).slice();\r\nnull!=k&&(l=k.length,l=0<l?this.medianXValue(k,c):g.getGeneralPurposeVariable(a));var m=0;k=-1E8;for(var n=d[f].rankIndex-1;0<=n;){var p=e[b[n].id];if(null!=p){var q=p.cell;p.visited?(k=q.getGeneralPurposeVariable(a)+q.width/2+this.intraCellSpacing+m+g.width/2,n=-1):(m+=q.width+this.intraCellSpacing,n--)}}m=0;q=1E8;for(n=d[f].rankIndex+1;n<d.length;)if(p=e[b[n].id],null!=p){var r=p.cell;p.visited?(q=r.getGeneralPurposeVariable(a)-r.width/2-this.intraCellSpacing-m-g.width/2,n=d.length):(m+=r.width+\r\nthis.intraCellSpacing,n++)}l>=k&&l<=q?g.setGeneralPurposeVariable(a,l):l<k?(g.setGeneralPurposeVariable(a,k),this.currentXDelta+=k-l):l>q&&(g.setGeneralPurposeVariable(a,q),this.currentXDelta+=l-q);d[f].visited=!0}};mxCoordinateAssignment.prototype.calculatedWeightedValue=function(a,b){for(var c=0,d=0;d<b.length;d++){var e=b[d];a.isVertex()&&e.isVertex()?c++:c=a.isEdge()&&e.isEdge()?c+8:c+2}return c};\r\nmxCoordinateAssignment.prototype.medianXValue=function(a,b){if(0==a.length)return 0;for(var c=[],d=0;d<a.length;d++)c[d]=a[d].getGeneralPurposeVariable(b);c.sort(function(a,b){return a-b});if(1==a.length%2)return c[Math.floor(a.length/2)];d=a.length/2;return(c[d-1]+c[d])/2};\r\nmxCoordinateAssignment.prototype.initialCoords=function(a,b){this.calculateWidestRank(a,b);for(var c=this.widestRank;0<=c;c--)c<b.maxRank&&this.rankCoordinates(c,a,b);for(c=this.widestRank+1;c<=b.maxRank;c++)0<c&&this.rankCoordinates(c,a,b)};\r\nmxCoordinateAssignment.prototype.rankCoordinates=function(a,b,c){b=c.ranks[a];c=this.initialX+(this.widestRankValue-this.rankWidths[a])/2;for(var d=!1,e=0;e<b.length;e++){var f=b[e];if(f.isVertex()){var g=this.layout.getVertexBounds(f.cell);null!=g?this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(f.width=g.width,f.height=g.height):(f.width=g.height,f.height=g.width):d=!0}else f.isEdge()&&(g=1,null!=f.edges?g=f.edges.length:mxLog.warn("edge.edges is null"),\r\nf.width=(g-1)*this.parallelEdgeSpacing);c+=f.width/2;f.setX(a,c);f.setGeneralPurposeVariable(a,c);c+=f.width/2;c+=this.intraCellSpacing}1==d&&mxLog.warn("At least one cell has no bounds")};\r\nmxCoordinateAssignment.prototype.calculateWidestRank=function(a,b){var c=-this.interRankCellSpacing,d=0;this.rankWidths=[];this.rankY=[];for(var e=b.maxRank;0<=e;e--){for(var f=0,g=b.ranks[e],k=this.initialX,l=!1,m=0;m<g.length;m++){var n=g[m];if(n.isVertex()){var p=this.layout.getVertexBounds(n.cell);null!=p?this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(n.width=p.width,n.height=p.height):(n.width=p.height,n.height=p.width):l=!0;f=Math.max(f,n.height)}else n.isEdge()&&\r\n(p=1,null!=n.edges?p=n.edges.length:mxLog.warn("edge.edges is null"),n.width=(p-1)*this.parallelEdgeSpacing);k+=n.width/2;n.setX(e,k);n.setGeneralPurposeVariable(e,k);k+=n.width/2;k+=this.intraCellSpacing;k>this.widestRankValue&&(this.widestRankValue=k,this.widestRank=e);this.rankWidths[e]=k}1==l&&mxLog.warn("At least one cell has no bounds");this.rankY[e]=c;k=f/2+d/2+this.interRankCellSpacing;d=f;c=this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_WEST?c+k:c-\r\nk;for(m=0;m<g.length;m++)g[m].setY(e,c)}};\r\nmxCoordinateAssignment.prototype.minPath=function(a,b){for(var c=b.edgeMapper.getValues(),d=0;d<c.length;d++){var e=c[d];if(!(1>e.maxRank-e.minRank-1)){for(var f=e.getGeneralPurposeVariable(e.minRank+1),g=!0,k=0,l=e.minRank+2;l<e.maxRank;l++){var m=e.getGeneralPurposeVariable(l);f!=m?(g=!1,f=m):k++}if(!g){for(var g=f=0,m=[],n=[],p=e.getGeneralPurposeVariable(e.minRank+1),l=e.minRank+1;l<e.maxRank-1;l++){var q=e.getX(l+1);p==q?(m[l-e.minRank-1]=p,f++):this.repositionValid(b,e,l+1,p)?(m[l-e.minRank-\r\n1]=p,f++):p=m[l-e.minRank-1]=q}p=e.getX(l);for(l=e.maxRank-1;l>e.minRank+1;l--)q=e.getX(l-1),p==q?(n[l-e.minRank-2]=p,g++):this.repositionValid(b,e,l-1,p)?(n[l-e.minRank-2]=p,g++):(n[l-e.minRank-2]=e.getX(l-1),p=q);if(g>k||f>k)if(g>=f)for(l=e.maxRank-2;l>e.minRank;l--)e.setX(l,n[l-e.minRank-1]);else if(f>g)for(l=e.minRank+2;l<e.maxRank;l++)e.setX(l,m[l-e.minRank-2])}}}};\r\nmxCoordinateAssignment.prototype.repositionValid=function(a,b,c,d){a=a.ranks[c];for(var e=-1,f=0;f<a.length;f++)if(b==a[f]){e=f;break}if(0>e)return!1;f=b.getGeneralPurposeVariable(c);if(d<f){if(0==e)return!0;a=a[e-1];c=a.getGeneralPurposeVariable(c);c=c+a.width/2+this.intraCellSpacing+b.width/2;if(!(c<=d))return!1}else if(d>f){if(e==a.length-1)return!0;a=a[e+1];c=a.getGeneralPurposeVariable(c);c=c-a.width/2-this.intraCellSpacing-b.width/2;if(!(c>=d))return!1}return!0};\r\nmxCoordinateAssignment.prototype.setCellLocations=function(a,b){this.rankTopY=[];this.rankBottomY=[];for(var c=0;c<b.ranks.length;c++)this.rankTopY[c]=Number.MAX_VALUE,this.rankBottomY[c]=-Number.MAX_VALUE;for(var d=b.vertexMapper.getValues(),c=0;c<d.length;c++)this.setVertexLocation(d[c]);this.layout.edgeStyle!=mxHierarchicalEdgeStyle.ORTHOGONAL&&this.layout.edgeStyle!=mxHierarchicalEdgeStyle.POLYLINE&&this.layout.edgeStyle!=mxHierarchicalEdgeStyle.CURVE||this.localEdgeProcessing(b);d=b.edgeMapper.getValues();\r\nfor(c=0;c<d.length;c++)this.setEdgePosition(d[c])};\r\nmxCoordinateAssignment.prototype.localEdgeProcessing=function(a){for(var b=0;b<a.ranks.length;b++)for(var c=a.ranks[b],d=0;d<c.length;d++){var e=c[d];if(e.isVertex())for(var f=e.getPreviousLayerConnectedCells(b),g=b-1,k=0;2>k;k++){if(-1<g&&g<a.ranks.length&&null!=f&&0<f.length){for(var l=[],m=0;m<f.length;m++){var n=new WeightedCellSorter(f[m],f[m].getX(g));l.push(n)}l.sort(WeightedCellSorter.prototype.compare);for(var n=e.x[0]-e.width/2,p=n+e.width,q=f=0,g=[],m=0;m<l.length;m++){var r=l[m].cell,\r\nt;if(r.isVertex()){t=0==k?e.connectsAsSource:e.connectsAsTarget;for(var u=0;u<t.length;u++)if(t[u].source==r||t[u].target==r)f+=t[u].edges.length,q++,g.push(t[u])}else f+=r.edges.length,q++,g.push(r)}e.width>(f+1)*this.prefHozEdgeSep+2*this.prefHozEdgeSep&&(n+=this.prefHozEdgeSep,p-=this.prefHozEdgeSep);l=(p-n)/f;n+=l/2;p=this.minEdgeJetty-this.prefVertEdgeOff;for(m=0;m<g.length;m++)for(q=g[m].edges.length,r=this.jettyPositions[g[m].ids[0]],null==r&&(r=[],this.jettyPositions[g[m].ids[0]]=r),m<f/2?\r\np+=this.prefVertEdgeOff:m>f/2&&(p-=this.prefVertEdgeOff),t=0;t<q;t++)r[4*t+2*k]=n,n+=l,r[4*t+2*k+1]=p}f=e.getNextLayerConnectedCells(b);g=b+1}}};\r\nmxCoordinateAssignment.prototype.setEdgePosition=function(a){var b=0;if(101207!=a.temp[0]){var c=a.maxRank,d=a.minRank;c==d&&(c=a.source.maxRank,d=a.target.minRank);for(var e=0,f=this.jettyPositions[a.ids[0]],g=a.isReversed?a.target.cell:a.source.cell,k=this.layout.graph,l=this.orientation==mxConstants.DIRECTION_EAST||this.orientation==mxConstants.DIRECTION_SOUTH,m=0;m<a.edges.length;m++){var n=a.edges[m],p=this.layout.getVisibleTerminal(n,!0),q=[],r=a.isReversed;p!=g&&(r=!r);if(null!=f){var t=r?\r\n2:0,u=r?l?this.rankBottomY[d]:this.rankTopY[d]:l?this.rankTopY[c]:this.rankBottomY[c],x=f[4*e+1+t];r!=l&&(x=-x);var u=u+x,t=f[4*e+t],y=k.model.getTerminal(n,!0);this.layout.isPort(y)&&k.model.getParent(y)==p&&(t=k.view.getState(y),t=null!=t?t.x:p.geometry.x+a.source.width*y.geometry.x);this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(q.push(new mxPoint(t,u)),this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&q.push(new mxPoint(t,u+x))):(q.push(new mxPoint(u,\r\nt)),this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&q.push(new mxPoint(u+x,t)))}t=a.x.length-1;u=x=-1;p=a.maxRank-1;for(r&&(t=0,x=a.x.length,u=1,p=a.minRank+1);a.maxRank!=a.minRank&&t!=x;t+=u){var y=a.x[t]+b,B=(this.rankTopY[p]+this.rankBottomY[p+1])/2,A=(this.rankTopY[p-1]+this.rankBottomY[p])/2;if(r)var z=B,B=A,A=z;this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(q.push(new mxPoint(y,B)),q.push(new mxPoint(y,A))):(q.push(new mxPoint(B,y)),q.push(new mxPoint(A,\r\ny)));this.limitX=Math.max(this.limitX,y);p+=u}null!=f&&(t=r?2:0,u=r?l?this.rankTopY[c]:this.rankBottomY[c]:l?this.rankBottomY[d]:this.rankTopY[d],x=f[4*e+3-t],r!=l&&(x=-x),u-=x,t=f[4*e+2-t],r=k.model.getTerminal(n,!1),p=this.layout.getVisibleTerminal(n,!1),this.layout.isPort(r)&&k.model.getParent(r)==p&&(t=k.view.getState(r),t=null!=t?t.x:p.geometry.x+a.target.width*r.geometry.x),this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&\r\nq.push(new mxPoint(t,u-x)),q.push(new mxPoint(t,u))):(this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&q.push(new mxPoint(u-x,t)),q.push(new mxPoint(u,t))));a.isReversed&&this.processReversedEdge(a,n);this.layout.setEdgePoints(n,q);b=0==b?this.parallelEdgeSpacing:0<b?-b:-b+this.parallelEdgeSpacing;e++}a.temp[0]=101207}};\r\nmxCoordinateAssignment.prototype.setVertexLocation=function(a){var b=a.cell,c=a.x[0]-a.width/2,d=a.y[0]-a.height/2;this.rankTopY[a.minRank]=Math.min(this.rankTopY[a.minRank],d);this.rankBottomY[a.minRank]=Math.max(this.rankBottomY[a.minRank],d+a.height);this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?this.layout.setVertexLocation(b,c,d):this.layout.setVertexLocation(b,d,c);this.limitX=Math.max(this.limitX,c+a.width)};\r\nmxCoordinateAssignment.prototype.processReversedEdge=function(a,b){};function mxSwimlaneOrdering(a){this.layout=a}mxSwimlaneOrdering.prototype=new mxHierarchicalLayoutStage;mxSwimlaneOrdering.prototype.constructor=mxSwimlaneOrdering;mxSwimlaneOrdering.prototype.layout=null;\r\nmxSwimlaneOrdering.prototype.execute=function(a){a=this.layout.getModel();var b=mxUtils.clone(a.vertexMapper,null,!0),c=null;if(null!=a.roots)for(var d=a.roots,c=[],e=0;e<d.length;e++)c[e]=a.vertexMapper.get(d[e]);a.visit(function(a,c,d,e,m){e=null!=a&&a.swimlaneIndex==c.swimlaneIndex&&c.isAncestor(a);m=null!=a&&null!=d&&a.swimlaneIndex<c.swimlaneIndex&&d.source==c;e?(d.invert(),mxUtils.remove(d,a.connectsAsSource),c.connectsAsSource.push(d),a.connectsAsTarget.push(d),mxUtils.remove(d,c.connectsAsTarget)):\r\nm&&(d.invert(),mxUtils.remove(d,a.connectsAsTarget),c.connectsAsTarget.push(d),a.connectsAsSource.push(d),mxUtils.remove(d,c.connectsAsSource));a=mxCellPath.create(c.cell);delete b[a]},c,!0,null)};function mxHierarchicalLayout(a,b,c){mxGraphLayout.call(this,a);this.orientation=null!=b?b:mxConstants.DIRECTION_NORTH;this.deterministic=null!=c?c:!0}var mxHierarchicalEdgeStyle={ORTHOGONAL:1,POLYLINE:2,STRAIGHT:3,CURVE:4};mxHierarchicalLayout.prototype=new mxGraphLayout;\r\nmxHierarchicalLayout.prototype.constructor=mxHierarchicalLayout;mxHierarchicalLayout.prototype.roots=null;mxHierarchicalLayout.prototype.resizeParent=!1;mxHierarchicalLayout.prototype.maintainParentLocation=!1;mxHierarchicalLayout.prototype.moveParent=!1;mxHierarchicalLayout.prototype.parentBorder=0;mxHierarchicalLayout.prototype.intraCellSpacing=30;mxHierarchicalLayout.prototype.interRankCellSpacing=100;mxHierarchicalLayout.prototype.interHierarchySpacing=60;\r\nmxHierarchicalLayout.prototype.parallelEdgeSpacing=10;mxHierarchicalLayout.prototype.orientation=mxConstants.DIRECTION_NORTH;mxHierarchicalLayout.prototype.fineTuning=!0;mxHierarchicalLayout.prototype.tightenToSource=!0;mxHierarchicalLayout.prototype.disableEdgeStyle=!0;mxHierarchicalLayout.prototype.traverseAncestors=!0;mxHierarchicalLayout.prototype.model=null;mxHierarchicalLayout.prototype.edgesCache=null;mxHierarchicalLayout.prototype.edgeSourceTermCache=null;\r\nmxHierarchicalLayout.prototype.edgesTargetTermCache=null;mxHierarchicalLayout.prototype.edgeStyle=mxHierarchicalEdgeStyle.POLYLINE;mxHierarchicalLayout.prototype.getModel=function(){return this.model};\r\nmxHierarchicalLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.model;this.edgesCache=new mxDictionary;this.edgeSourceTermCache=new mxDictionary;this.edgesTargetTermCache=new mxDictionary;null==b||b instanceof Array||(b=[b]);if(null!=b||null!=a){this.parentY=this.parentX=null;if(a!=this.root&&null!=c.isVertex(a)&&this.maintainParentLocation){var d=this.graph.getCellGeometry(a);null!=d&&(this.parentX=d.x,this.parentY=d.y)}if(null!=b){for(var e=[],f=0;f<b.length;f++)(null!=a?c.isAncestor(a,\r\nb[f]):1)&&c.isVertex(b[f])&&e.push(b[f]);this.roots=e}c.beginUpdate();try{this.run(a),this.resizeParent&&!this.graph.isCellCollapsed(a)&&this.graph.updateGroupBounds([a],this.parentBorder,this.moveParent),null!=this.parentX&&null!=this.parentY&&(d=this.graph.getCellGeometry(a),null!=d&&(d=d.clone(),d.x=this.parentX,d.y=this.parentY,c.setGeometry(a,d)))}finally{c.endUpdate()}}};\r\nmxHierarchicalLayout.prototype.findRoots=function(a,b){var c=[];if(null!=a&&null!=b){var d=this.graph.model,e=null,f=-1E5,g;for(g in b){var k=b[g];if(d.isVertex(k)&&this.graph.isCellVisible(k)){for(var l=this.getEdges(k),m=0,n=0,p=0;p<l.length;p++)this.getVisibleTerminal(l[p],!0)==k?m++:n++;0==n&&0<m&&c.push(k);l=m-n;l>f&&(f=l,e=k)}}0==c.length&&null!=e&&c.push(e)}return c};\r\nmxHierarchicalLayout.prototype.getEdges=function(a){var b=this.edgesCache.get(a);if(null!=b)return b;for(var c=this.graph.model,b=[],d=this.graph.isCellCollapsed(a),e=c.getChildCount(a),f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.isPort(g))b=b.concat(c.getEdges(g,!0,!0));else if(d||!this.graph.isCellVisible(g))b=b.concat(c.getEdges(g,!0,!0))}b=b.concat(c.getEdges(a,!0,!0));c=[];for(f=0;f<b.length;f++)d=this.getVisibleTerminal(b[f],!0),e=this.getVisibleTerminal(b[f],!1),(d==e||d!=e&&(e==a&&(null==\r\nthis.parent||this.isAncestor(this.parent,d,this.traverseAncestors))||d==a&&(null==this.parent||this.isAncestor(this.parent,e,this.traverseAncestors))))&&c.push(b[f]);this.edgesCache.put(a,c);return c};\r\nmxHierarchicalLayout.prototype.getVisibleTerminal=function(a,b){var c=this.edgesTargetTermCache;b&&(c=this.edgeSourceTermCache);var d=c.get(a);if(null!=d)return d;var d=this.graph.view.getState(a),e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b);null==e&&(e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b));null!=e&&(this.isPort(e)&&(e=this.graph.model.getParent(e)),c.put(a,e));return e};\r\nmxHierarchicalLayout.prototype.run=function(a){var b=[],c=[];if(null==this.roots&&null!=a){var d={};this.filterDescendants(a,d);this.roots=[];var e=!0,f;for(f in d)if(null!=d[f]){e=!1;break}for(;!e;){for(var g=this.findRoots(a,d),e=0;e<g.length;e++){var k={};b.push(k);this.traverse(g[e],!0,null,c,k,b,d)}for(e=0;e<g.length;e++)this.roots.push(g[e]);e=!0;for(f in d)if(null!=d[f]){e=!1;break}}}else for(e=0;e<this.roots.length;e++)k={},b.push(k),this.traverse(this.roots[e],!0,null,c,k,b,null);for(e=c=\r\n0;e<b.length;e++){k=b[e];d=[];for(f in k)d.push(k[f]);this.model=new mxGraphHierarchyModel(this,d,this.roots,a,this.tightenToSource);this.cycleStage(a);this.layeringStage();this.crossingStage(a);c=this.placementStage(c,a)}};\r\nmxHierarchicalLayout.prototype.filterDescendants=function(a,b){var c=this.graph.model;c.isVertex(a)&&a!=this.parent&&this.graph.isCellVisible(a)&&(b[mxObjectIdentity.get(a)]=a);if(this.traverseAncestors||a==this.parent&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++){var f=c.getChildAt(a,e);this.isPort(f)||this.filterDescendants(f,b)}};mxHierarchicalLayout.prototype.isPort=function(a){return null!=a&&null!=a.geometry?a.geometry.relative:!1};\r\nmxHierarchicalLayout.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;for(var d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f],!1);(g==a&&k==b||!c&&g==b&&k==a)&&e.push(d[f])}return e};\r\nmxHierarchicalLayout.prototype.traverse=function(a,b,c,d,e,f,g){if(null!=a&&null!=d){var k=mxObjectIdentity.get(a);if(null==d[k]&&(null==g||null!=g[k])){null==e[k]&&(e[k]=a);null==d[k]&&(d[k]=a);null!==g&&delete g[k];var l=this.getEdges(a),k=[];for(c=0;c<l.length;c++)k[c]=this.getVisibleTerminal(l[c],!0)==a;for(c=0;c<l.length;c++)if(!b||k[c]){a=this.getVisibleTerminal(l[c],!k[c]);for(var m=1,n=0;n<l.length;n++)if(n!=c){var p=k[n];this.getVisibleTerminal(l[n],!p)==a&&(p?m++:m--)}0<=m&&(e=this.traverse(a,\r\nb,l[c],d,e,f,g))}}else if(null==e[k])for(c=0;c<f.length;c++)if(b=f[c],null!=b[k]){for(l in b)e[l]=b[l];f.splice(c,1);break}}return e};mxHierarchicalLayout.prototype.cycleStage=function(a){(new mxMinimumCycleRemover(this)).execute(a)};mxHierarchicalLayout.prototype.layeringStage=function(){this.model.initialRank();this.model.fixRanks()};mxHierarchicalLayout.prototype.crossingStage=function(a){(new mxMedianHybridCrossingReduction(this)).execute(a)};\r\nmxHierarchicalLayout.prototype.placementStage=function(a,b){var c=new mxCoordinateAssignment(this,this.intraCellSpacing,this.interRankCellSpacing,this.orientation,a,this.parallelEdgeSpacing);c.fineTuning=this.fineTuning;c.execute(b);return c.limitX+this.interHierarchySpacing};function mxSwimlaneLayout(a,b,c){mxGraphLayout.call(this,a);this.orientation=null!=b?b:mxConstants.DIRECTION_NORTH;this.deterministic=null!=c?c:!0}mxSwimlaneLayout.prototype=new mxGraphLayout;\r\nmxSwimlaneLayout.prototype.constructor=mxSwimlaneLayout;mxSwimlaneLayout.prototype.roots=null;mxSwimlaneLayout.prototype.swimlanes=null;mxSwimlaneLayout.prototype.dummyVertexWidth=50;mxSwimlaneLayout.prototype.resizeParent=!1;mxSwimlaneLayout.prototype.maintainParentLocation=!1;mxSwimlaneLayout.prototype.moveParent=!1;mxSwimlaneLayout.prototype.parentBorder=30;mxSwimlaneLayout.prototype.intraCellSpacing=30;mxSwimlaneLayout.prototype.interRankCellSpacing=100;\r\nmxSwimlaneLayout.prototype.interHierarchySpacing=60;mxSwimlaneLayout.prototype.parallelEdgeSpacing=10;mxSwimlaneLayout.prototype.orientation=mxConstants.DIRECTION_NORTH;mxSwimlaneLayout.prototype.fineTuning=!0;mxSwimlaneLayout.prototype.tightenToSource=!0;mxSwimlaneLayout.prototype.disableEdgeStyle=!0;mxSwimlaneLayout.prototype.traverseAncestors=!0;mxSwimlaneLayout.prototype.model=null;mxSwimlaneLayout.prototype.edgesCache=null;mxHierarchicalLayout.prototype.edgeSourceTermCache=null;\r\nmxHierarchicalLayout.prototype.edgesTargetTermCache=null;mxHierarchicalLayout.prototype.edgeStyle=mxHierarchicalEdgeStyle.POLYLINE;mxSwimlaneLayout.prototype.getModel=function(){return this.model};\r\nmxSwimlaneLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.model;this.edgesCache=new mxDictionary;this.edgeSourceTermCache=new mxDictionary;this.edgesTargetTermCache=new mxDictionary;if(!(null==b||1>b.length)){null==a&&(a=c.getParent(b[0]));this.parentY=this.parentX=null;if(a!=this.root&&null!=c.isVertex(a)&&this.maintainParentLocation){var d=this.graph.getCellGeometry(a);null!=d&&(this.parentX=d.x,this.parentY=d.y)}this.swimlanes=b;for(var e=[],f=0;f<b.length;f++){var g=this.graph.getChildCells(b[f]);\r\nif(null==g||0==g.length)g=this.graph.insertVertex(b[f],null,null,0,0,this.dummyVertexWidth,0),e.push(g)}c.beginUpdate();try{this.run(a),this.resizeParent&&!this.graph.isCellCollapsed(a)&&this.graph.updateGroupBounds([a],this.parentBorder,this.moveParent),null!=this.parentX&&null!=this.parentY&&(d=this.graph.getCellGeometry(a),null!=d&&(d=d.clone(),d.x=this.parentX,d.y=this.parentY,c.setGeometry(a,d))),this.graph.removeCells(e)}finally{c.endUpdate()}}};\r\nmxSwimlaneLayout.prototype.updateGroupBounds=function(){var a=[],b=this.model,c;for(c in b.edgeMapper)for(var d=b.edgeMapper[c],e=0;e<d.edges.length;e++)a.push(d.edges[e]);a=this.graph.getBoundingBoxFromGeometry(a,!0);b=[];for(e=0;e<this.swimlanes.length;e++){var f=this.swimlanes[e];c=this.graph.getCellGeometry(f);if(null!=c){var g=this.graph.getChildCells(f),d=this.graph.isSwimlane(f)?this.graph.getStartSize(f):new mxRectangle,f=this.graph.getBoundingBoxFromGeometry(g);b[e]=f;d=f.y+c.y-d.height-\r\nthis.parentBorder;c=f.y+c.y+f.height;null==a?a=new mxRectangle(0,d,0,c-d):(a.y=Math.min(a.y,d),a.height=Math.max(a.y+a.height,c)-a.y)}}for(e=0;e<this.swimlanes.length;e++)if(f=this.swimlanes[e],c=this.graph.getCellGeometry(f),null!=c){var g=this.graph.getChildCells(f),d=this.graph.isSwimlane(f)?this.graph.getStartSize(f):new mxRectangle,k=c.clone(),l=d.width+(0==e?this.parentBorder:this.interRankCellSpacing/2),m=b[e].x-l,n=a.y-this.parentBorder;k.x+=m;k.y=n;k.width=b[e].width+l+this.interRankCellSpacing/\r\n2;k.height=a.height+d.height+2*this.parentBorder;this.graph.model.setGeometry(f,k);this.graph.moveCells(g,-m,c.y-n)}};\r\nmxSwimlaneLayout.prototype.findRoots=function(a,b){var c=[];if(null!=a&&null!=b){var d=this.graph.model,e=null,f=-1E5,g;for(g in b){var k=b[g];if(null!=k&&d.isVertex(k)&&this.graph.isCellVisible(k)&&d.isAncestor(a,k)){for(var l=this.getEdges(k),m=0,n=0,p=0;p<l.length;p++){var q=this.getVisibleTerminal(l[p],!0);q==k?(q=this.getVisibleTerminal(l[p],!1),d.isAncestor(a,q)&&m++):d.isAncestor(a,q)&&n++}0==n&&0<m&&c.push(k);l=m-n;l>f&&(f=l,e=k)}}0==c.length&&null!=e&&c.push(e)}return c};\r\nmxSwimlaneLayout.prototype.getEdges=function(a){var b=this.edgesCache.get(a);if(null!=b)return b;for(var c=this.graph.model,b=[],d=this.graph.isCellCollapsed(a),e=c.getChildCount(a),f=0;f<e;f++){var g=c.getChildAt(a,f);if(this.isPort(g))b=b.concat(c.getEdges(g,!0,!0));else if(d||!this.graph.isCellVisible(g))b=b.concat(c.getEdges(g,!0,!0))}b=b.concat(c.getEdges(a,!0,!0));c=[];for(f=0;f<b.length;f++)d=this.getVisibleTerminal(b[f],!0),e=this.getVisibleTerminal(b[f],!1),(d==e||d!=e&&(e==a&&(null==this.parent||\r\nthis.graph.isValidAncestor(d,this.parent,this.traverseAncestors))||d==a&&(null==this.parent||this.graph.isValidAncestor(e,this.parent,this.traverseAncestors))))&&c.push(b[f]);this.edgesCache.put(a,c);return c};\r\nmxSwimlaneLayout.prototype.getVisibleTerminal=function(a,b){var c=this.edgesTargetTermCache;b&&(c=this.edgeSourceTermCache);var d=c.get(a);if(null!=d)return d;var d=this.graph.view.getState(a),e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b);null==e&&(e=null!=d?d.getVisibleTerminal(b):this.graph.view.getVisibleTerminal(a,b));null!=e&&(this.isPort(e)&&(e=this.graph.model.getParent(e)),c.put(a,e));return e};\r\nmxSwimlaneLayout.prototype.run=function(a){var b=[],c={};if(null!=this.swimlanes&&0<this.swimlanes.length&&null!=a){for(var d={},e=0;e<this.swimlanes.length;e++)this.filterDescendants(this.swimlanes[e],d);this.roots=[];var e=!0,f;for(f in d)if(null!=d[f]){e=!1;break}for(var g=0;!e&&g<this.swimlanes.length;){var k=this.findRoots(this.swimlanes[g],d);if(0==k.length)g++;else{for(e=0;e<k.length;e++){var l={};b.push(l);this.traverse(k[e],!0,null,c,l,b,d,g)}for(e=0;e<k.length;e++)this.roots.push(k[e]);\r\ne=!0;for(f in d)if(null!=d[f]){e=!1;break}}}}else for(e=0;e<this.roots.length;e++)l={},b.push(l),this.traverse(this.roots[e],!0,null,c,l,b,null);b=[];for(f in c)b.push(c[f]);this.model=new mxSwimlaneModel(this,b,this.roots,a,this.tightenToSource);this.cycleStage(a);this.layeringStage();this.crossingStage(a);this.placementStage(0,a)};\r\nmxSwimlaneLayout.prototype.filterDescendants=function(a,b){var c=this.graph.model;c.isVertex(a)&&a!=this.parent&&c.getParent(a)!=this.parent&&this.graph.isCellVisible(a)&&(b[mxObjectIdentity.get(a)]=a);if(this.traverseAncestors||a==this.parent&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++){var f=c.getChildAt(a,e);this.isPort(f)||this.filterDescendants(f,b)}};mxSwimlaneLayout.prototype.isPort=function(a){return a.geometry.relative?!0:!1};\r\nmxSwimlaneLayout.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;for(var d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.getVisibleTerminal(d[f],!0),k=this.getVisibleTerminal(d[f],!1);(g==a&&k==b||!c&&g==b&&k==a)&&e.push(d[f])}return e};\r\nmxSwimlaneLayout.prototype.traverse=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=d){var l=mxObjectIdentity.get(a);if(null==d[l]&&(null==g||null!=g[l])){null==e[l]&&(e[l]=a);null==d[l]&&(d[l]=a);null!==g&&delete g[l];var m=this.getEdges(a),l=this.graph.model;for(c=0;c<m.length;c++){var n=this.getVisibleTerminal(m[c],!0),p=n==a;p&&(n=this.getVisibleTerminal(m[c],!1));for(var q=0;q<this.swimlanes.length&&!l.isAncestor(this.swimlanes[q],n);)q++;q>=this.swimlanes.length||!(q>k||(!b||p)&&q==k)||(e=this.traverse(n,\r\nb,m[c],d,e,f,g,q))}}else if(null==e[l])for(c=0;c<f.length;c++)if(a=f[c],null!=a[l]){for(m in a)e[m]=a[m];f.splice(c,1);break}}return e};mxSwimlaneLayout.prototype.cycleStage=function(a){(new mxSwimlaneOrdering(this)).execute(a)};mxSwimlaneLayout.prototype.layeringStage=function(){this.model.initialRank();this.model.fixRanks()};mxSwimlaneLayout.prototype.crossingStage=function(a){(new mxMedianHybridCrossingReduction(this)).execute(a)};\r\nmxSwimlaneLayout.prototype.placementStage=function(a,b){var c=new mxCoordinateAssignment(this,this.intraCellSpacing,this.interRankCellSpacing,this.orientation,a,this.parallelEdgeSpacing);c.fineTuning=this.fineTuning;c.execute(b);return c.limitX+this.interHierarchySpacing};function mxGraphModel(a){this.currentEdit=this.createUndoableEdit();null!=a?this.setRoot(a):this.clear()}mxGraphModel.prototype=new mxEventSource;mxGraphModel.prototype.constructor=mxGraphModel;mxGraphModel.prototype.root=null;\r\nmxGraphModel.prototype.cells=null;mxGraphModel.prototype.maintainEdgeParent=!0;mxGraphModel.prototype.ignoreRelativeEdgeParent=!0;mxGraphModel.prototype.createIds=!0;mxGraphModel.prototype.prefix="";mxGraphModel.prototype.postfix="";mxGraphModel.prototype.nextId=0;mxGraphModel.prototype.currentEdit=null;mxGraphModel.prototype.updateLevel=0;mxGraphModel.prototype.endingUpdate=!1;mxGraphModel.prototype.clear=function(){this.setRoot(this.createRoot())};mxGraphModel.prototype.isCreateIds=function(){return this.createIds};\r\nmxGraphModel.prototype.setCreateIds=function(a){this.createIds=a};mxGraphModel.prototype.createRoot=function(){var a=new mxCell;a.insert(new mxCell);return a};mxGraphModel.prototype.getCell=function(a){return null!=this.cells?this.cells[a]:null};mxGraphModel.prototype.filterCells=function(a,b){var c=null;if(null!=a)for(var c=[],d=0;d<a.length;d++)b(a[d])&&c.push(a[d]);return c};mxGraphModel.prototype.getDescendants=function(a){return this.filterDescendants(null,a)};\r\nmxGraphModel.prototype.filterDescendants=function(a,b){var c=[];b=b||this.getRoot();(null==a||a(b))&&c.push(b);for(var d=this.getChildCount(b),e=0;e<d;e++)var f=this.getChildAt(b,e),c=c.concat(this.filterDescendants(a,f));return c};mxGraphModel.prototype.getRoot=function(a){var b=a||this.root;if(null!=a)for(;null!=a;)b=a,a=this.getParent(a);return b};mxGraphModel.prototype.setRoot=function(a){this.execute(new mxRootChange(this,a));return a};\r\nmxGraphModel.prototype.rootChanged=function(a){var b=this.root;this.root=a;this.nextId=0;this.cells=null;this.cellAdded(a);return b};mxGraphModel.prototype.isRoot=function(a){return null!=a&&this.root==a};mxGraphModel.prototype.isLayer=function(a){return this.isRoot(this.getParent(a))};mxGraphModel.prototype.isAncestor=function(a,b){for(;null!=b&&b!=a;)b=this.getParent(b);return b==a};mxGraphModel.prototype.contains=function(a){return this.isAncestor(this.root,a)};\r\nmxGraphModel.prototype.getParent=function(a){return null!=a?a.getParent():null};mxGraphModel.prototype.add=function(a,b,c){if(b!=a&&null!=a&&null!=b){null==c&&(c=this.getChildCount(a));var d=a!=this.getParent(b);this.execute(new mxChildChange(this,a,b,c));this.maintainEdgeParent&&d&&this.updateEdgeParents(b)}return b};\r\nmxGraphModel.prototype.cellAdded=function(a){if(null!=a){null==a.getId()&&this.createIds&&a.setId(this.createId(a));if(null!=a.getId()){var b=this.getCell(a.getId());if(b!=a){for(;null!=b;)a.setId(this.createId(a)),b=this.getCell(a.getId());null==this.cells&&(this.cells={});this.cells[a.getId()]=a}}mxUtils.isNumeric(a.getId())&&(this.nextId=Math.max(this.nextId,a.getId()));for(var b=this.getChildCount(a),c=0;c<b;c++)this.cellAdded(this.getChildAt(a,c))}};\r\nmxGraphModel.prototype.createId=function(a){a=this.nextId;this.nextId++;return this.prefix+a+this.postfix};mxGraphModel.prototype.updateEdgeParents=function(a,b){b=b||this.getRoot(a);for(var c=this.getChildCount(a),d=0;d<c;d++){var e=this.getChildAt(a,d);this.updateEdgeParents(e,b)}e=this.getEdgeCount(a);c=[];for(d=0;d<e;d++)c.push(this.getEdgeAt(a,d));for(d=0;d<c.length;d++)e=c[d],this.isAncestor(b,e)&&this.updateEdgeParent(e,b)};\r\nmxGraphModel.prototype.updateEdgeParent=function(a,b){for(var c=this.getTerminal(a,!0),d=this.getTerminal(a,!1);null!=c&&!this.isEdge(c)&&null!=c.geometry&&c.geometry.relative;)c=this.getParent(c);for(;null!=d&&this.ignoreRelativeEdgeParent&&!this.isEdge(d)&&null!=d.geometry&&d.geometry.relative;)d=this.getParent(d);if(this.isAncestor(b,c)&&this.isAncestor(b,d)&&(c=c==d?this.getParent(c):this.getNearestCommonAncestor(c,d),null!=c&&(this.getParent(c)!=this.root||this.isAncestor(c,a))&&this.getParent(a)!=\r\nc)){d=this.getGeometry(a);if(null!=d){var e=this.getOrigin(this.getParent(a)),f=this.getOrigin(c),g=f.x-e.x,e=f.y-e.y,d=d.clone();d.translate(-g,-e);this.setGeometry(a,d)}this.add(c,a,this.getChildCount(c))}};mxGraphModel.prototype.getOrigin=function(a){var b;null!=a?(b=this.getOrigin(this.getParent(a)),this.isEdge(a)||(a=this.getGeometry(a),null!=a&&(b.x+=a.x,b.y+=a.y))):b=new mxPoint;return b};\r\nmxGraphModel.prototype.getNearestCommonAncestor=function(a,b){if(null!=a&&null!=b){var c=mxCellPath.create(b);if(null!=c&&0<c.length){var d=a,e=mxCellPath.create(d);if(c.length<e.length)var d=b,f=e,e=c,c=f;for(;null!=d;){f=this.getParent(d);if(0==c.indexOf(e+mxCellPath.PATH_SEPARATOR)&&null!=f)return d;e=mxCellPath.getParentPath(e);d=f}}}return null};mxGraphModel.prototype.remove=function(a){a==this.root?this.setRoot(null):null!=this.getParent(a)&&this.execute(new mxChildChange(this,null,a));return a};\r\nmxGraphModel.prototype.cellRemoved=function(a){if(null!=a&&null!=this.cells){for(var b=this.getChildCount(a)-1;0<=b;b--)this.cellRemoved(this.getChildAt(a,b));null!=this.cells&&null!=a.getId()&&delete this.cells[a.getId()]}};mxGraphModel.prototype.parentForCellChanged=function(a,b,c){var d=this.getParent(a);null!=b?b==d&&d.getIndex(a)==c||b.insert(a,c):null!=d&&(c=d.getIndex(a),d.remove(c));b=this.contains(b);c=this.contains(d);b&&!c?this.cellAdded(a):c&&!b&&this.cellRemoved(a);return d};\r\nmxGraphModel.prototype.getChildCount=function(a){return null!=a?a.getChildCount():0};mxGraphModel.prototype.getChildAt=function(a,b){return null!=a?a.getChildAt(b):null};mxGraphModel.prototype.getChildren=function(a){return null!=a?a.children:null};mxGraphModel.prototype.getChildVertices=function(a){return this.getChildCells(a,!0,!1)};mxGraphModel.prototype.getChildEdges=function(a){return this.getChildCells(a,!1,!0)};\r\nmxGraphModel.prototype.getChildCells=function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!1;for(var d=this.getChildCount(a),e=[],f=0;f<d;f++){var g=this.getChildAt(a,f);(!c&&!b||c&&this.isEdge(g)||b&&this.isVertex(g))&&e.push(g)}return e};mxGraphModel.prototype.getTerminal=function(a,b){return null!=a?a.getTerminal(b):null};\r\nmxGraphModel.prototype.setTerminal=function(a,b,c){var d=b!=this.getTerminal(a,c);this.execute(new mxTerminalChange(this,a,b,c));this.maintainEdgeParent&&d&&this.updateEdgeParent(a,this.getRoot());return b};mxGraphModel.prototype.setTerminals=function(a,b,c){this.beginUpdate();try{this.setTerminal(a,b,!0),this.setTerminal(a,c,!1)}finally{this.endUpdate()}};\r\nmxGraphModel.prototype.terminalForCellChanged=function(a,b,c){var d=this.getTerminal(a,c);null!=b?b.insertEdge(a,c):null!=d&&d.removeEdge(a,c);return d};mxGraphModel.prototype.getEdgeCount=function(a){return null!=a?a.getEdgeCount():0};mxGraphModel.prototype.getEdgeAt=function(a,b){return null!=a?a.getEdgeAt(b):null};mxGraphModel.prototype.getDirectedEdgeCount=function(a,b,c){for(var d=0,e=this.getEdgeCount(a),f=0;f<e;f++){var g=this.getEdgeAt(a,f);g!=c&&this.getTerminal(g,b)==a&&d++}return d};\r\nmxGraphModel.prototype.getConnections=function(a){return this.getEdges(a,!0,!0,!1)};mxGraphModel.prototype.getIncomingEdges=function(a){return this.getEdges(a,!0,!1,!1)};mxGraphModel.prototype.getOutgoingEdges=function(a){return this.getEdges(a,!1,!0,!1)};\r\nmxGraphModel.prototype.getEdges=function(a,b,c,d){b=null!=b?b:!0;c=null!=c?c:!0;d=null!=d?d:!0;for(var e=this.getEdgeCount(a),f=[],g=0;g<e;g++){var k=this.getEdgeAt(a,g),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1);(d&&l==m||l!=m&&(b&&m==a||c&&l==a))&&f.push(k)}return f};\r\nmxGraphModel.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;var d=this.getEdgeCount(a),e=this.getEdgeCount(b),f=a,g=d;e<d&&(g=e,f=b);d=[];for(e=0;e<g;e++){var k=this.getEdgeAt(f,e),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1),n=m==a&&l==b;(l==a&&m==b||!c&&n)&&d.push(k)}return d};\r\nmxGraphModel.prototype.getOpposites=function(a,b,c,d){c=null!=c?c:!0;d=null!=d?d:!0;var e=[];if(null!=a)for(var f=0;f<a.length;f++){var g=this.getTerminal(a[f],!0),k=this.getTerminal(a[f],!1);g==b&&null!=k&&k!=b&&d?e.push(k):k==b&&null!=g&&g!=b&&c&&e.push(g)}return e};\r\nmxGraphModel.prototype.getTopmostCells=function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.put(a[d],!0);for(d=0;d<a.length;d++){for(var e=a[d],f=!0,g=this.getParent(e);null!=g;){if(b.get(g)){f=!1;break}g=this.getParent(g)}f&&c.push(e)}return c};mxGraphModel.prototype.isVertex=function(a){return null!=a?a.isVertex():!1};mxGraphModel.prototype.isEdge=function(a){return null!=a?a.isEdge():!1};mxGraphModel.prototype.isConnectable=function(a){return null!=a?a.isConnectable():!1};\r\nmxGraphModel.prototype.getValue=function(a){return null!=a?a.getValue():null};mxGraphModel.prototype.setValue=function(a,b){this.execute(new mxValueChange(this,a,b));return b};mxGraphModel.prototype.valueForCellChanged=function(a,b){return a.valueChanged(b)};mxGraphModel.prototype.getGeometry=function(a){return null!=a?a.getGeometry():null};mxGraphModel.prototype.setGeometry=function(a,b){b!=this.getGeometry(a)&&this.execute(new mxGeometryChange(this,a,b));return b};\r\nmxGraphModel.prototype.geometryForCellChanged=function(a,b){var c=this.getGeometry(a);a.setGeometry(b);return c};mxGraphModel.prototype.getStyle=function(a){return null!=a?a.getStyle():null};mxGraphModel.prototype.setStyle=function(a,b){b!=this.getStyle(a)&&this.execute(new mxStyleChange(this,a,b));return b};mxGraphModel.prototype.styleForCellChanged=function(a,b){var c=this.getStyle(a);a.setStyle(b);return c};mxGraphModel.prototype.isCollapsed=function(a){return null!=a?a.isCollapsed():!1};\r\nmxGraphModel.prototype.setCollapsed=function(a,b){b!=this.isCollapsed(a)&&this.execute(new mxCollapseChange(this,a,b));return b};mxGraphModel.prototype.collapsedStateForCellChanged=function(a,b){var c=this.isCollapsed(a);a.setCollapsed(b);return c};mxGraphModel.prototype.isVisible=function(a){return null!=a?a.isVisible():!1};mxGraphModel.prototype.setVisible=function(a,b){b!=this.isVisible(a)&&this.execute(new mxVisibleChange(this,a,b));return b};\r\nmxGraphModel.prototype.visibleStateForCellChanged=function(a,b){var c=this.isVisible(a);a.setVisible(b);return c};mxGraphModel.prototype.execute=function(a){a.execute();this.beginUpdate();this.currentEdit.add(a);this.fireEvent(new mxEventObject(mxEvent.EXECUTE,"change",a));this.fireEvent(new mxEventObject(mxEvent.EXECUTED,"change",a));this.endUpdate()};mxGraphModel.prototype.beginUpdate=function(){this.updateLevel++;this.fireEvent(new mxEventObject(mxEvent.BEGIN_UPDATE));1==this.updateLevel&&this.fireEvent(new mxEventObject(mxEvent.START_EDIT))};\r\nmxGraphModel.prototype.endUpdate=function(){this.updateLevel--;0==this.updateLevel&&this.fireEvent(new mxEventObject(mxEvent.END_EDIT));if(!this.endingUpdate){this.endingUpdate=0==this.updateLevel;this.fireEvent(new mxEventObject(mxEvent.END_UPDATE,"edit",this.currentEdit));try{if(this.endingUpdate&&!this.currentEdit.isEmpty()){this.fireEvent(new mxEventObject(mxEvent.BEFORE_UNDO,"edit",this.currentEdit));var a=this.currentEdit;this.currentEdit=this.createUndoableEdit();a.notify();this.fireEvent(new mxEventObject(mxEvent.UNDO,\r\n"edit",a))}}finally{this.endingUpdate=!1}}};mxGraphModel.prototype.createUndoableEdit=function(a){var b=new mxUndoableEdit(this,null!=a?a:!0);b.notify=function(){b.source.fireEvent(new mxEventObject(mxEvent.CHANGE,"edit",b,"changes",b.changes));b.source.fireEvent(new mxEventObject(mxEvent.NOTIFY,"edit",b,"changes",b.changes))};return b};\r\nmxGraphModel.prototype.mergeChildren=function(a,b,c){c=null!=c?c:!0;this.beginUpdate();try{var d={};this.mergeChildrenImpl(a,b,c,d);for(var e in d){var f=d[e],g=this.getTerminal(f,!0);null!=g&&(g=d[mxCellPath.create(g)],this.setTerminal(f,g,!0));g=this.getTerminal(f,!1);null!=g&&(g=d[mxCellPath.create(g)],this.setTerminal(f,g,!1))}}finally{this.endUpdate()}};\r\nmxGraphModel.prototype.mergeChildrenImpl=function(a,b,c,d){this.beginUpdate();try{for(var e=a.getChildCount(),f=0;f<e;f++){var g=a.getChildAt(f);if("function"==typeof g.getId){var k=g.getId(),l=null==k||this.isEdge(g)&&c?null:this.getCell(k);if(null==l){var m=g.clone();m.setId(k);m.setTerminal(g.getTerminal(!0),!0);m.setTerminal(g.getTerminal(!1),!1);l=b.insert(m);this.cellAdded(l)}d[mxCellPath.create(g)]=l;this.mergeChildrenImpl(g,l,c,d)}}}finally{this.endUpdate()}};\r\nmxGraphModel.prototype.getParents=function(a){var b=[];if(null!=a)for(var c=new mxDictionary,d=0;d<a.length;d++){var e=this.getParent(a[d]);null==e||c.get(e)||(c.put(e,!0),b.push(e))}return b};mxGraphModel.prototype.cloneCell=function(a,b){return null!=a?this.cloneCells([a],b)[0]:null};\r\nmxGraphModel.prototype.cloneCells=function(a,b,c){b=null!=b?b:!0;c=null!=c?c:{};for(var d=[],e=0;e<a.length;e++)null!=a[e]?d.push(this.cloneCellImpl(a[e],c,b)):d.push(null);for(e=0;e<d.length;e++)null!=d[e]&&this.restoreClone(d[e],a[e],c);return d};mxGraphModel.prototype.cloneCellImpl=function(a,b,c){var d=mxObjectIdentity.get(a),e=b[d];if(null==e&&(e=this.cellCloned(a),b[d]=e,c))for(c=this.getChildCount(a),d=0;d<c;d++){var f=this.cloneCellImpl(this.getChildAt(a,d),b,!0);e.insert(f)}return e};\r\nmxGraphModel.prototype.cellCloned=function(a){return a.clone()};mxGraphModel.prototype.restoreClone=function(a,b,c){var d=this.getTerminal(b,!0);null!=d&&(d=c[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(a,!0));d=this.getTerminal(b,!1);null!=d&&(d=c[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(a,!1));for(var d=this.getChildCount(a),e=0;e<d;e++)this.restoreClone(this.getChildAt(a,e),this.getChildAt(b,e),c)};function mxRootChange(a,b){this.model=a;this.previous=this.root=b}\r\nmxRootChange.prototype.execute=function(){this.root=this.previous;this.previous=this.model.rootChanged(this.previous)};function mxChildChange(a,b,c,d){this.model=a;this.previous=this.parent=b;this.child=c;this.previousIndex=this.index=d}\r\nmxChildChange.prototype.execute=function(){if(null!=this.child){var a=this.model.getParent(this.child),b=null!=a?a.getIndex(this.child):0;null==this.previous&&this.connect(this.child,!1);a=this.model.parentForCellChanged(this.child,this.previous,this.previousIndex);null!=this.previous&&this.connect(this.child,!0);this.parent=this.previous;this.previous=a;this.index=this.previousIndex;this.previousIndex=b}};\r\nmxChildChange.prototype.connect=function(a,b){b=null!=b?b:!0;var c=a.getTerminal(!0),d=a.getTerminal(!1);null!=c&&(b?this.model.terminalForCellChanged(a,c,!0):this.model.terminalForCellChanged(a,null,!0));null!=d&&(b?this.model.terminalForCellChanged(a,d,!1):this.model.terminalForCellChanged(a,null,!1));a.setTerminal(c,!0);a.setTerminal(d,!1);c=this.model.getChildCount(a);for(d=0;d<c;d++)this.connect(this.model.getChildAt(a,d),b)};\r\nfunction mxTerminalChange(a,b,c,d){this.model=a;this.cell=b;this.previous=this.terminal=c;this.source=d}mxTerminalChange.prototype.execute=function(){null!=this.cell&&(this.terminal=this.previous,this.previous=this.model.terminalForCellChanged(this.cell,this.previous,this.source))};function mxValueChange(a,b,c){this.model=a;this.cell=b;this.previous=this.value=c}\r\nmxValueChange.prototype.execute=function(){null!=this.cell&&(this.value=this.previous,this.previous=this.model.valueForCellChanged(this.cell,this.previous))};function mxStyleChange(a,b,c){this.model=a;this.cell=b;this.previous=this.style=c}mxStyleChange.prototype.execute=function(){null!=this.cell&&(this.style=this.previous,this.previous=this.model.styleForCellChanged(this.cell,this.previous))};function mxGeometryChange(a,b,c){this.model=a;this.cell=b;this.previous=this.geometry=c}\r\nmxGeometryChange.prototype.execute=function(){null!=this.cell&&(this.geometry=this.previous,this.previous=this.model.geometryForCellChanged(this.cell,this.previous))};function mxCollapseChange(a,b,c){this.model=a;this.cell=b;this.previous=this.collapsed=c}mxCollapseChange.prototype.execute=function(){null!=this.cell&&(this.collapsed=this.previous,this.previous=this.model.collapsedStateForCellChanged(this.cell,this.previous))};\r\nfunction mxVisibleChange(a,b,c){this.model=a;this.cell=b;this.previous=this.visible=c}mxVisibleChange.prototype.execute=function(){null!=this.cell&&(this.visible=this.previous,this.previous=this.model.visibleStateForCellChanged(this.cell,this.previous))};function mxCellAttributeChange(a,b,c){this.cell=a;this.attribute=b;this.previous=this.value=c}\r\nmxCellAttributeChange.prototype.execute=function(){if(null!=this.cell){var a=this.cell.getAttribute(this.attribute);null==this.previous?this.cell.value.removeAttribute(this.attribute):this.cell.setAttribute(this.attribute,this.previous);this.previous=a}};function mxCell(a,b,c){this.value=a;this.setGeometry(b);this.setStyle(c);if(null!=this.onInit)this.onInit()}mxCell.prototype.id=null;mxCell.prototype.value=null;mxCell.prototype.geometry=null;mxCell.prototype.style=null;mxCell.prototype.vertex=!1;\r\nmxCell.prototype.edge=!1;mxCell.prototype.connectable=!0;mxCell.prototype.visible=!0;mxCell.prototype.collapsed=!1;mxCell.prototype.parent=null;mxCell.prototype.source=null;mxCell.prototype.target=null;mxCell.prototype.children=null;mxCell.prototype.edges=null;mxCell.prototype.mxTransient="id value parent source target children edges".split(" ");mxCell.prototype.getId=function(){return this.id};mxCell.prototype.setId=function(a){this.id=a};mxCell.prototype.getValue=function(){return this.value};\r\nmxCell.prototype.setValue=function(a){this.value=a};mxCell.prototype.valueChanged=function(a){var b=this.getValue();this.setValue(a);return b};mxCell.prototype.getGeometry=function(){return this.geometry};mxCell.prototype.setGeometry=function(a){this.geometry=a};mxCell.prototype.getStyle=function(){return this.style};mxCell.prototype.setStyle=function(a){this.style=a};mxCell.prototype.isVertex=function(){return 0!=this.vertex};mxCell.prototype.setVertex=function(a){this.vertex=a};\r\nmxCell.prototype.isEdge=function(){return 0!=this.edge};mxCell.prototype.setEdge=function(a){this.edge=a};mxCell.prototype.isConnectable=function(){return 0!=this.connectable};mxCell.prototype.setConnectable=function(a){this.connectable=a};mxCell.prototype.isVisible=function(){return 0!=this.visible};mxCell.prototype.setVisible=function(a){this.visible=a};mxCell.prototype.isCollapsed=function(){return 0!=this.collapsed};mxCell.prototype.setCollapsed=function(a){this.collapsed=a};\r\nmxCell.prototype.getParent=function(){return this.parent};mxCell.prototype.setParent=function(a){this.parent=a};mxCell.prototype.getTerminal=function(a){return a?this.source:this.target};mxCell.prototype.setTerminal=function(a,b){b?this.source=a:this.target=a;return a};mxCell.prototype.getChildCount=function(){return null==this.children?0:this.children.length};mxCell.prototype.getIndex=function(a){return mxUtils.indexOf(this.children,a)};\r\nmxCell.prototype.getChildAt=function(a){return null==this.children?null:this.children[a]};mxCell.prototype.insert=function(a,b){null!=a&&(null==b&&(b=this.getChildCount(),a.getParent()==this&&b--),a.removeFromParent(),a.setParent(this),null==this.children?(this.children=[],this.children.push(a)):this.children.splice(b,0,a));return a};mxCell.prototype.remove=function(a){var b=null;null!=this.children&&0<=a&&(b=this.getChildAt(a),null!=b&&(this.children.splice(a,1),b.setParent(null)));return b};\r\nmxCell.prototype.removeFromParent=function(){if(null!=this.parent){var a=this.parent.getIndex(this);this.parent.remove(a)}};mxCell.prototype.getEdgeCount=function(){return null==this.edges?0:this.edges.length};mxCell.prototype.getEdgeIndex=function(a){return mxUtils.indexOf(this.edges,a)};mxCell.prototype.getEdgeAt=function(a){return null==this.edges?null:this.edges[a]};\r\nmxCell.prototype.insertEdge=function(a,b){null!=a&&(a.removeFromTerminal(b),a.setTerminal(this,b),null==this.edges||a.getTerminal(!b)!=this||0>mxUtils.indexOf(this.edges,a))&&(null==this.edges&&(this.edges=[]),this.edges.push(a));return a};mxCell.prototype.removeEdge=function(a,b){if(null!=a){if(a.getTerminal(!b)!=this&&null!=this.edges){var c=this.getEdgeIndex(a);0<=c&&this.edges.splice(c,1)}a.setTerminal(null,b)}return a};\r\nmxCell.prototype.removeFromTerminal=function(a){var b=this.getTerminal(a);null!=b&&b.removeEdge(this,a)};mxCell.prototype.hasAttribute=function(a){var b=this.getValue();return null!=b&&b.nodeType==mxConstants.NODETYPE_ELEMENT&&b.hasAttribute?b.hasAttribute(a):null!=b.getAttribute(a)};mxCell.prototype.getAttribute=function(a,b){var c=this.getValue(),c=null!=c&&c.nodeType==mxConstants.NODETYPE_ELEMENT?c.getAttribute(a):null;return null!=c?c:b};\r\nmxCell.prototype.setAttribute=function(a,b){var c=this.getValue();null!=c&&c.nodeType==mxConstants.NODETYPE_ELEMENT&&c.setAttribute(a,b)};mxCell.prototype.clone=function(){var a=mxUtils.clone(this,this.mxTransient);a.setValue(this.cloneValue());return a};mxCell.prototype.cloneValue=function(a){a=null!=a?a:this.getValue();null!=a&&("function"==typeof a.clone?a=a.clone():isNaN(a.nodeType)||(a=a.cloneNode(!0)));return a};function mxGeometry(a,b,c,d){mxRectangle.call(this,a,b,c,d)}\r\nmxGeometry.prototype=new mxRectangle;mxGeometry.prototype.constructor=mxGeometry;mxGeometry.prototype.TRANSLATE_CONTROL_POINTS=!0;mxGeometry.prototype.alternateBounds=null;mxGeometry.prototype.sourcePoint=null;mxGeometry.prototype.targetPoint=null;mxGeometry.prototype.points=null;mxGeometry.prototype.offset=null;mxGeometry.prototype.relative=!1;\r\nmxGeometry.prototype.swap=function(){if(null!=this.alternateBounds){var a=new mxRectangle(this.x,this.y,this.width,this.height);this.x=this.alternateBounds.x;this.y=this.alternateBounds.y;this.width=this.alternateBounds.width;this.height=this.alternateBounds.height;this.alternateBounds=a}};mxGeometry.prototype.getTerminalPoint=function(a){return a?this.sourcePoint:this.targetPoint};mxGeometry.prototype.setTerminalPoint=function(a,b){b?this.sourcePoint=a:this.targetPoint=a;return a};\r\nmxGeometry.prototype.rotate=function(a,b){var c=mxUtils.toRadians(a),d=Math.cos(c),c=Math.sin(c);if(!this.relative){var e=new mxPoint(this.getCenterX(),this.getCenterY()),e=mxUtils.getRotatedPoint(e,d,c,b);this.x=Math.round(e.x-this.width/2);this.y=Math.round(e.y-this.height/2)}null!=this.sourcePoint&&(e=mxUtils.getRotatedPoint(this.sourcePoint,d,c,b),this.sourcePoint.x=Math.round(e.x),this.sourcePoint.y=Math.round(e.y));null!=this.targetPoint&&(e=mxUtils.getRotatedPoint(this.targetPoint,d,c,b),this.targetPoint.x=\r\nMath.round(e.x),this.targetPoint.y=Math.round(e.y));if(null!=this.points)for(var f=0;f<this.points.length;f++)null!=this.points[f]&&(e=mxUtils.getRotatedPoint(this.points[f],d,c,b),this.points[f].x=Math.round(e.x),this.points[f].y=Math.round(e.y))};\r\nmxGeometry.prototype.translate=function(a,b){a=parseFloat(a);b=parseFloat(b);this.relative||(this.x=parseFloat(this.x)+a,this.y=parseFloat(this.y)+b);null!=this.sourcePoint&&(this.sourcePoint.x=parseFloat(this.sourcePoint.x)+a,this.sourcePoint.y=parseFloat(this.sourcePoint.y)+b);null!=this.targetPoint&&(this.targetPoint.x=parseFloat(this.targetPoint.x)+a,this.targetPoint.y=parseFloat(this.targetPoint.y)+b);if(this.TRANSLATE_CONTROL_POINTS&&null!=this.points)for(var c=0;c<this.points.length;c++)null!=\r\nthis.points[c]&&(this.points[c].x=parseFloat(this.points[c].x)+a,this.points[c].y=parseFloat(this.points[c].y)+b)};\r\nmxGeometry.prototype.scale=function(a,b,c){a=parseFloat(a);b=parseFloat(b);null!=this.sourcePoint&&(this.sourcePoint.x=parseFloat(this.sourcePoint.x)*a,this.sourcePoint.y=parseFloat(this.sourcePoint.y)*b);null!=this.targetPoint&&(this.targetPoint.x=parseFloat(this.targetPoint.x)*a,this.targetPoint.y=parseFloat(this.targetPoint.y)*b);if(null!=this.points)for(var d=0;d<this.points.length;d++)null!=this.points[d]&&(this.points[d].x=parseFloat(this.points[d].x)*a,this.points[d].y=parseFloat(this.points[d].y)*\r\nb);this.relative||(this.x=parseFloat(this.x)*a,this.y=parseFloat(this.y)*b,c&&(b=a=Math.min(a,b)),this.width=parseFloat(this.width)*a,this.height=parseFloat(this.height)*b)};\r\nmxGeometry.prototype.equals=function(a){return mxRectangle.prototype.equals.apply(this,arguments)&&this.relative==a.relative&&(null==this.sourcePoint&&null==a.sourcePoint||null!=this.sourcePoint&&this.sourcePoint.equals(a.sourcePoint))&&(null==this.targetPoint&&null==a.targetPoint||null!=this.targetPoint&&this.targetPoint.equals(a.targetPoint))&&(null==this.points&&null==a.points||null!=this.points&&mxUtils.equalPoints(this.points,a.points))&&(null==this.alternateBounds&&null==a.alternateBounds||\r\nnull!=this.alternateBounds&&this.alternateBounds.equals(a.alternateBounds))&&(null==this.offset&&null==a.offset||null!=this.offset&&this.offset.equals(a.offset))};\r\nvar mxCellPath={PATH_SEPARATOR:".",create:function(a){var b="";if(null!=a)for(var c=a.getParent();null!=c;)b=c.getIndex(a)+mxCellPath.PATH_SEPARATOR+b,a=c,c=a.getParent();a=b.length;1<a&&(b=b.substring(0,a-1));return b},getParentPath:function(a){if(null!=a){var b=a.lastIndexOf(mxCellPath.PATH_SEPARATOR);if(0<=b)return a.substring(0,b);if(0<a.length)return""}return null},resolve:function(a,b){var c=a;if(null!=b)for(var d=b.split(mxCellPath.PATH_SEPARATOR),e=0;e<d.length;e++)c=c.getChildAt(parseInt(d[e]));\r\nreturn c},compare:function(a,b){for(var c=Math.min(a.length,b.length),d=0,e=0;e<c;e++)if(a[e]!=b[e]){0==a[e].length||0==b[e].length?d=a[e]==b[e]?0:a[e]>b[e]?1:-1:(c=parseInt(a[e]),e=parseInt(b[e]),d=c==e?0:c>e?1:-1);break}0==d&&(c=a.length,e=b.length,c!=e&&(d=c>e?1:-1));return d}},mxPerimeter={RectanglePerimeter:function(a,b,c,d){b=a.getCenterX();var e=a.getCenterY(),f=Math.atan2(c.y-e,c.x-b),g=new mxPoint(0,0),k=Math.PI,l=Math.PI/2-f,m=Math.atan2(a.height,a.width);f<-k+m||f>k-m?(g.x=a.x,g.y=e-a.width*\r\nMath.tan(f)/2):f<-m?(g.y=a.y,g.x=b-a.height*Math.tan(l)/2):f<m?(g.x=a.x+a.width,g.y=e+a.width*Math.tan(f)/2):(g.y=a.y+a.height,g.x=b+a.height*Math.tan(l)/2);d&&(c.x>=a.x&&c.x<=a.x+a.width?g.x=c.x:c.y>=a.y&&c.y<=a.y+a.height&&(g.y=c.y),c.x<a.x?g.x=a.x:c.x>a.x+a.width&&(g.x=a.x+a.width),c.y<a.y?g.y=a.y:c.y>a.y+a.height&&(g.y=a.y+a.height));return g},EllipsePerimeter:function(a,b,c,d){var e=a.x,f=a.y,g=a.width/2,k=a.height/2,l=e+g,m=f+k;b=c.x;c=c.y;var n=parseInt(b-l),p=parseInt(c-m);if(0==n&&0!=p)return new mxPoint(l,\r\nm+k*p/Math.abs(p));if(0==n&&0==p)return new mxPoint(b,c);if(d){if(c>=f&&c<=f+a.height)return a=c-m,a=Math.sqrt(g*g*(1-a*a/(k*k)))||0,b<=e&&(a=-a),new mxPoint(l+a,c);if(b>=e&&b<=e+a.width)return a=b-l,a=Math.sqrt(k*k*(1-a*a/(g*g)))||0,c<=f&&(a=-a),new mxPoint(b,m+a)}e=p/n;m-=e*l;f=g*g*e*e+k*k;a=-2*l*f;k=Math.sqrt(a*a-4*f*(g*g*e*e*l*l+k*k*l*l-g*g*k*k));g=(-a+k)/(2*f);l=(-a-k)/(2*f);k=e*g+m;m=e*l+m;Math.sqrt(Math.pow(g-b,2)+Math.pow(k-c,2))<Math.sqrt(Math.pow(l-b,2)+Math.pow(m-c,2))?(b=g,c=k):(b=l,c=\r\nm);return new mxPoint(b,c)},RhombusPerimeter:function(a,b,c,d){b=a.x;var e=a.y,f=a.width;a=a.height;var g=b+f/2,k=e+a/2,l=c.x;c=c.y;if(g==l)return k>c?new mxPoint(g,e):new mxPoint(g,e+a);if(k==c)return g>l?new mxPoint(b,k):new mxPoint(b+f,k);var m=g,n=k;d&&(l>=b&&l<=b+f?m=l:c>=e&&c<=e+a&&(n=c));return l<g?c<k?mxUtils.intersection(l,c,m,n,g,e,b,k):mxUtils.intersection(l,c,m,n,g,e+a,b,k):c<k?mxUtils.intersection(l,c,m,n,g,e,b+f,k):mxUtils.intersection(l,c,m,n,g,e+a,b+f,k)},TrianglePerimeter:function(a,\r\nb,c,d){b=null!=b?b.style[mxConstants.STYLE_DIRECTION]:null;var e=b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH,f=a.x,g=a.y,k=a.width,l=a.height;a=f+k/2;var m=g+l/2,n=new mxPoint(f,g),p=new mxPoint(f+k,m),q=new mxPoint(f,g+l);b==mxConstants.DIRECTION_NORTH?(n=q,p=new mxPoint(a,g),q=new mxPoint(f+k,g+l)):b==mxConstants.DIRECTION_SOUTH?(p=new mxPoint(a,g+l),q=new mxPoint(f+k,g)):b==mxConstants.DIRECTION_WEST&&(n=new mxPoint(f+k,g),p=new mxPoint(f,m),q=new mxPoint(f+k,g+l));var r=c.x-\r\na,t=c.y-m,r=e?Math.atan2(r,t):Math.atan2(t,r),t=e?Math.atan2(k,l):Math.atan2(l,k);(b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_WEST?r>-t&&r<t:r<-Math.PI+t||r>Math.PI-t)?c=d&&(e&&c.x>=n.x&&c.x<=q.x||!e&&c.y>=n.y&&c.y<=q.y)?e?new mxPoint(c.x,n.y):new mxPoint(n.x,c.y):b==mxConstants.DIRECTION_NORTH?new mxPoint(f+k/2+l*Math.tan(r)/2,g+l):b==mxConstants.DIRECTION_SOUTH?new mxPoint(f+k/2-l*Math.tan(r)/2,g):b==mxConstants.DIRECTION_WEST?new mxPoint(f+k,g+l/2+k*Math.tan(r)/2):new mxPoint(f,g+\r\nl/2-k*Math.tan(r)/2):(d&&(d=new mxPoint(a,m),c.y>=g&&c.y<=g+l?(d.x=e?a:b==mxConstants.DIRECTION_WEST?f+k:f,d.y=c.y):c.x>=f&&c.x<=f+k&&(d.x=c.x,d.y=e?b==mxConstants.DIRECTION_NORTH?g+l:g:m),a=d.x,m=d.y),c=e&&c.x<=f+k/2||!e&&c.y<=g+l/2?mxUtils.intersection(c.x,c.y,a,m,n.x,n.y,p.x,p.y):mxUtils.intersection(c.x,c.y,a,m,p.x,p.y,q.x,q.y));null==c&&(c=new mxPoint(a,m));return c},HexagonPerimeter:function(a,b,c,d){var e=a.x,f=a.y,g=a.width,k=a.height,l=a.getCenterX();a=a.getCenterY();var m=c.x,n=c.y,p=-Math.atan2(n-\r\na,m-l),q=Math.PI,r=Math.PI/2;new mxPoint(l,a);b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;var t=b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH;b=new mxPoint;var u=new mxPoint;if(m<e&&n<f||m<e&&n>f+k||m>e+g&&n<f||m>e+g&&n>f+k)d=!1;if(d){if(t){if(m==l){if(n<=f)return new mxPoint(l,f);if(n>=f+k)return new mxPoint(l,f+k)}else if(m<e){if(n==f+k/4)return new mxPoint(e,f+k/4);if(n==f+3*k/4)return new mxPoint(e,f+3*\r\nk/4)}else if(m>e+g){if(n==f+k/4)return new mxPoint(e+g,f+k/4);if(n==f+3*k/4)return new mxPoint(e+g,f+3*k/4)}else if(m==e){if(n<a)return new mxPoint(e,f+k/4);if(n>a)return new mxPoint(e,f+3*k/4)}else if(m==e+g){if(n<a)return new mxPoint(e+g,f+k/4);if(n>a)return new mxPoint(e+g,f+3*k/4)}if(n==f)return new mxPoint(l,f);if(n==f+k)return new mxPoint(l,f+k);m<l?n>f+k/4&&n<f+3*k/4?(b=new mxPoint(e,f),u=new mxPoint(e,f+k)):n<f+k/4?(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f-\r\nMath.floor(.25*k))):n>f+3*k/4&&(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f+Math.floor(1.25*k))):m>l&&(n>f+k/4&&n<f+3*k/4?(b=new mxPoint(e+g,f),u=new mxPoint(e+g,f+k)):n<f+k/4?(b=new mxPoint(e,f-Math.floor(.25*k)),u=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k))):n>f+3*k/4&&(b=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k)),u=new mxPoint(e,f+Math.floor(1.25*k))))}else{if(n==a){if(m<=e)return new mxPoint(e,f+k/2);if(m>=e+g)return new mxPoint(e+g,f+k/2)}else if(n<\r\nf){if(m==e+g/4)return new mxPoint(e+g/4,f);if(m==e+3*g/4)return new mxPoint(e+3*g/4,f)}else if(n>f+k){if(m==e+g/4)return new mxPoint(e+g/4,f+k);if(m==e+3*g/4)return new mxPoint(e+3*g/4,f+k)}else if(n==f){if(m<l)return new mxPoint(e+g/4,f);if(m>l)return new mxPoint(e+3*g/4,f)}else if(n==f+k){if(m<l)return new mxPoint(e+g/4,f+k);if(n>a)return new mxPoint(e+3*g/4,f+k)}if(m==e)return new mxPoint(e,a);if(m==e+g)return new mxPoint(e+g,a);n<a?m>e+g/4&&m<e+3*g/4?(b=new mxPoint(e,f),u=new mxPoint(e+g,f)):\r\nm<e+g/4?(b=new mxPoint(e-Math.floor(.25*g),f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):m>e+3*g/4&&(b=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f+k)):n>a&&(m>e+g/4&&m<e+3*g/4?(b=new mxPoint(e,f+k),u=new mxPoint(e+g,f+k)):m<e+g/4?(b=new mxPoint(e-Math.floor(.25*g),f),u=new mxPoint(e+Math.floor(.5*g),f+Math.floor(1.5*k))):m>e+3*g/4&&(b=new mxPoint(e+Math.floor(.5*g),f+Math.floor(1.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f)))}d=l;p=a;m>=e&&m<=\r\ne+g?(d=m,p=n<a?f+k:f):n>=f&&n<=f+k&&(p=n,d=m<l?e+g:e);c=mxUtils.intersection(d,p,c.x,c.y,b.x,b.y,u.x,u.y)}else{if(t){m=Math.atan2(k/4,g/2);if(p==m)return new mxPoint(e+g,f+Math.floor(.25*k));if(p==r)return new mxPoint(e+Math.floor(.5*g),f);if(p==q-m)return new mxPoint(e,f+Math.floor(.25*k));if(p==-m)return new mxPoint(e+g,f+Math.floor(.75*k));if(p==-r)return new mxPoint(e+Math.floor(.5*g),f+k);if(p==-q+m)return new mxPoint(e,f+Math.floor(.75*k));p<m&&p>-m?(b=new mxPoint(e+g,f),u=new mxPoint(e+g,f+\r\nk)):p>m&&p<r?(b=new mxPoint(e,f-Math.floor(.25*k)),u=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k))):p>r&&p<q-m?(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f-Math.floor(.25*k))):p>q-m&&p<=q||p<-q+m&&p>=-q?(b=new mxPoint(e,f),u=new mxPoint(e,f+k)):p<-m&&p>-r?(b=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k)),u=new mxPoint(e,f+Math.floor(1.25*k))):p<-r&&p>-q+m&&(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f+Math.floor(1.25*k)))}else{m=\r\nMath.atan2(k/2,g/4);if(p==m)return new mxPoint(e+Math.floor(.75*g),f);if(p==q-m)return new mxPoint(e+Math.floor(.25*g),f);if(p==q||p==-q)return new mxPoint(e,f+Math.floor(.5*k));if(0==p)return new mxPoint(e+g,f+Math.floor(.5*k));if(p==-m)return new mxPoint(e+Math.floor(.75*g),f+k);if(p==-q+m)return new mxPoint(e+Math.floor(.25*g),f+k);0<p&&p<m?(b=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f+k)):p>m&&p<q-m?(b=new mxPoint(e,f),u=new mxPoint(e+g,f)):p>q-m&&\r\np<q?(b=new mxPoint(e-Math.floor(.25*g),f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):0>p&&p>-m?(b=new mxPoint(e+Math.floor(.5*g),f+Math.floor(1.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f)):p<-m&&p>-q+m?(b=new mxPoint(e,f+k),u=new mxPoint(e+g,f+k)):p<-q+m&&p>-q&&(b=new mxPoint(e-Math.floor(.25*g),f),u=new mxPoint(e+Math.floor(.5*g),f+Math.floor(1.5*k)))}c=mxUtils.intersection(l,a,c.x,c.y,b.x,b.y,u.x,u.y)}return null==c?new mxPoint(l,a):c}};\r\nfunction mxPrintPreview(a,b,c,d,e,f,g,k,l){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.border=null!=d?d:0;this.pageFormat=mxRectangle.fromRectangle(null!=c?c:a.pageFormat);this.title=null!=k?k:"Printer-friendly version";this.x0=null!=e?e:0;this.y0=null!=f?f:0;this.borderColor=g;this.pageSelector=null!=l?l:!0}mxPrintPreview.prototype.graph=null;mxPrintPreview.prototype.pageFormat=null;mxPrintPreview.prototype.scale=null;mxPrintPreview.prototype.border=0;\r\nmxPrintPreview.prototype.marginTop=0;mxPrintPreview.prototype.marginBottom=0;mxPrintPreview.prototype.x0=0;mxPrintPreview.prototype.y0=0;mxPrintPreview.prototype.autoOrigin=!0;mxPrintPreview.prototype.printOverlays=!1;mxPrintPreview.prototype.printControls=!1;mxPrintPreview.prototype.printBackgroundImage=!1;mxPrintPreview.prototype.backgroundColor="#ffffff";mxPrintPreview.prototype.borderColor=null;mxPrintPreview.prototype.title=null;mxPrintPreview.prototype.pageSelector=null;\r\nmxPrintPreview.prototype.wnd=null;mxPrintPreview.prototype.targetWindow=null;mxPrintPreview.prototype.pageCount=0;mxPrintPreview.prototype.clipping=!0;mxPrintPreview.prototype.getWindow=function(){return this.wnd};mxPrintPreview.prototype.getDoctype=function(){var a="";8==document.documentMode?a=\'<meta http-equiv="X-UA-Compatible" content="IE=8">\':8<document.documentMode&&(a=\'\\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]--\\x3e\');return a};\r\nmxPrintPreview.prototype.appendGraph=function(a,b,c,d,e,f){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.x0=c;this.y0=d;this.open(null,null,e,f)};\r\nmxPrintPreview.prototype.open=function(a,b,c,d){var e=this.graph.cellRenderer.initializeOverlay,f=null;try{this.printOverlays&&(this.graph.cellRenderer.initializeOverlay=function(a,b){b.init(a.view.getDrawPane())});this.printControls&&(this.graph.cellRenderer.initControl=function(a,b,c,d){b.dialect=a.view.graph.dialect;b.init(a.view.getDrawPane())});this.wnd=null!=b?b:this.wnd;var g=!1;null==this.wnd&&(g=!0,this.wnd=window.open());var k=this.wnd.document;if(g){var l=this.getDoctype();null!=l&&0<l.length&&\r\nk.writeln(l);"CSS1Compat"===document.compatMode&&k.writeln("<!DOCTYPE html>");k.writeln("<html>");k.writeln("<head>");this.writeHead(k,a);k.writeln("</head>");k.writeln(\'<body class="mxPage">\')}var m=this.graph.getGraphBounds().clone(),n=this.graph.getView().getScale(),p=n/this.scale,q=this.graph.getView().getTranslate();this.autoOrigin||(this.x0-=q.x*this.scale,this.y0-=q.y*this.scale,m.width+=m.x,m.height+=m.y,m.x=0,this.border=m.y=0);var r=this.pageFormat.width-2*this.border,t=this.pageFormat.height-\r\n2*this.border;this.pageFormat.height+=this.marginTop+this.marginBottom;m.width/=p;m.height/=p;var u=Math.max(1,Math.ceil((m.width+this.x0)/r)),x=Math.max(1,Math.ceil((m.height+this.y0)/t));this.pageCount=u*x;var y=mxUtils.bind(this,function(){if(this.pageSelector&&(1<x||1<u)){var a=this.createPageSelector(x,u);k.body.appendChild(a);if(mxClient.IS_IE&&null==k.documentMode||5==k.documentMode||8==k.documentMode||7==k.documentMode){a.style.position="absolute";var b=function(){a.style.top=(k.body.scrollTop||\r\nk.documentElement.scrollTop)+10+"px"};mxEvent.addListener(this.wnd,"scroll",function(a){b()});mxEvent.addListener(this.wnd,"resize",function(a){b()})}}}),B=mxUtils.bind(this,function(a,b){null!=this.borderColor&&(a.style.borderColor=this.borderColor,a.style.borderStyle="solid",a.style.borderWidth="1px");a.style.background=this.backgroundColor;if(c||b)a.style.pageBreakAfter="always";if(g&&(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE))k.writeln(a.outerHTML),a.parentNode.removeChild(a);\r\nelse if(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE){var d=k.createElement("div");d.innerHTML=a.outerHTML;d=d.getElementsByTagName("div")[0];k.body.appendChild(d);a.parentNode.removeChild(a)}else a.parentNode.removeChild(a),k.body.appendChild(a);(c||b)&&this.addPageBreak(k)}),A=this.getCoverPages(this.pageFormat.width,this.pageFormat.height);if(null!=A)for(var z=0;z<A.length;z++)B(A[z],!0);for(var C=this.getAppendices(this.pageFormat.width,this.pageFormat.height),z=0;z<x;z++){var v=\r\nz*t/this.scale-this.y0/this.scale+(m.y-q.y*n)/n;for(a=0;a<u;a++){if(null==this.wnd)return null;var D=a*r/this.scale-this.x0/this.scale+(m.x-q.x*n)/n,G=z*u+a+1,J=new mxRectangle(D,v,r,t),f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){this.addGraphFragment(-D,-v,this.scale,G,a,J);this.printBackgroundImage&&this.insertBackgroundImage(a,-D,-v)}),G);f.setAttribute("id","mxPage-"+G);B(f,null!=C||z<x-1||a<u-1)}}if(null!=C)for(z=0;z<C.length;z++)B(C[z],z<\r\nC.length-1);g&&!d&&(this.closeDocument(),y());this.wnd.focus()}catch(E){null!=f&&null!=f.parentNode&&f.parentNode.removeChild(f)}finally{this.graph.cellRenderer.initializeOverlay=e}return this.wnd};mxPrintPreview.prototype.addPageBreak=function(a){var b=a.createElement("hr");b.className="mxPageBreak";a.body.appendChild(b)};\r\nmxPrintPreview.prototype.closeDocument=function(){try{if(null!=this.wnd&&null!=this.wnd.document){var a=this.wnd.document;this.writePostfix(a);a.writeln("</body>");a.writeln("</html>");a.close();mxEvent.release(a.body)}}catch(b){}};\r\nmxPrintPreview.prototype.writeHead=function(a,b){null!=this.title&&a.writeln("<title>"+this.title+"</title>");mxClient.link("stylesheet",mxClient.basePath+"/css/common.css",a);a.writeln(\'<style type="text/css">\');a.writeln("@media print {");a.writeln(" * { -webkit-print-color-adjust: exact; }");a.writeln(" table.mxPageSelector { display: none; }");a.writeln(" hr.mxPageBreak { display: none; }");a.writeln("}");a.writeln("@media screen {");a.writeln(" table.mxPageSelector { position: fixed; right: 10px; top: 10px;font-family: Arial; font-size:10pt; border: solid 1px darkgray;background: white; border-collapse:collapse; }");\r\na.writeln(" table.mxPageSelector td { border: solid 1px gray; padding:4px; }");a.writeln(" body.mxPage { background: gray; }");a.writeln("}");null!=b&&a.writeln(b);a.writeln("</style>")};mxPrintPreview.prototype.writePostfix=function(a){};\r\nmxPrintPreview.prototype.createPageSelector=function(a,b){var c=this.wnd.document,d=c.createElement("table");d.className="mxPageSelector";d.setAttribute("border","0");for(var e=c.createElement("tbody"),f=0;f<a;f++){for(var g=c.createElement("tr"),k=0;k<b;k++){var l=f*b+k+1,m=c.createElement("td"),n=c.createElement("a");n.setAttribute("href","#mxPage-"+l);!mxClient.IS_NS||mxClient.IS_SF||mxClient.IS_GC||n.setAttribute("onclick","var page = document.getElementById(\'mxPage-"+l+"\');page.scrollIntoView(true);event.preventDefault();");\r\nmxUtils.write(n,l,c);m.appendChild(n);g.appendChild(m)}e.appendChild(g)}d.appendChild(e);return d};\r\nmxPrintPreview.prototype.renderPage=function(a,b,c,d,e,f){f=this.wnd.document;var g=document.createElement("div"),k=null;try{if(0!=c||0!=d){g.style.position="relative";g.style.width=a+"px";g.style.height=b+"px";g.style.pageBreakInside="avoid";var l=document.createElement("div");l.style.position="relative";l.style.top=this.border+"px";l.style.left=this.border+"px";l.style.width=a-2*this.border+"px";l.style.height=b-2*this.border+"px";l.style.overflow="hidden";var m=document.createElement("div");m.style.position=\r\n"relative";m.style.marginLeft=c+"px";m.style.marginTop=d+"px";8==f.documentMode&&(l.style.position="absolute",m.style.position="absolute");10==f.documentMode&&(m.style.width="100%",m.style.height="100%");l.appendChild(m);g.appendChild(l);document.body.appendChild(g);k=m}else g.style.width=a+"px",g.style.height=b+"px",g.style.overflow="hidden",g.style.pageBreakInside="avoid",8==f.documentMode&&(g.style.position="relative"),l=document.createElement("div"),l.style.width=a-2*this.border+"px",l.style.height=\r\nb-2*this.border+"px",l.style.overflow="hidden",!mxClient.IS_IE||null!=f.documentMode&&5!=f.documentMode&&8!=f.documentMode&&7!=f.documentMode?(l.style.top=this.border+"px",l.style.left=this.border+"px"):(l.style.marginTop=this.border+"px",l.style.marginLeft=this.border+"px"),g.appendChild(l),document.body.appendChild(g),k=l}catch(n){throw g.parentNode.removeChild(g),n;}e(k);return g};\r\nmxPrintPreview.prototype.getRoot=function(){var a=this.graph.view.currentRoot;null==a&&(a=this.graph.getModel().getRoot());return a};mxPrintPreview.prototype.useCssTransforms=function(){return!mxClient.NO_FO&&!mxClient.IS_SF};\r\nmxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.graph.container=e;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane(),p=c;if(this.graph.dialect==mxConstants.DIALECT_SVG){if(g.createSvg(),this.useCssTransforms()){var q=g.getDrawPane().parentNode;q.getAttribute("transform");q.setAttribute("transformOrigin","0 0");q.setAttribute("transform","scale("+c+","+c+")translate("+a+","+b+")");c=1;b=a=0}}else g.createHtml();\r\nq=g.isEventsEnabled();g.setEventsEnabled(!1);var r=this.graph.isEnabled();this.graph.setEnabled(!1);var t=g.getTranslate();g.translate=new mxPoint(a,b);var u=this.graph.cellRenderer.redraw,x=g.states;a=g.scale;if(this.clipping){var y=new mxRectangle((f.x+t.x)*a,(f.y+t.y)*a,f.width*a/p,f.height*a/p);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=x.get(a.cell);if(null!=d&&(d=g.getBoundingBox(d,!1),null!=d&&0<d.width&&0<d.height&&!mxUtils.intersects(y,d)))return}u.apply(this,arguments)}}a=\r\nnull;try{var B=[this.getRoot()];a=new mxTemporaryCellStates(g,c,B,null,mxUtils.bind(this,function(a){return this.getLinkForCellState(a)}))}finally{if(mxClient.IS_IE)g.overlayPane.innerHTML="",g.canvas.style.overflow="hidden",g.canvas.style.position="relative",g.canvas.style.top=this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for(c=e.firstChild;null!=c;)B=c.nextSibling,b=c.nodeName.toLowerCase(),"svg"==b?(c.style.overflow="hidden",c.style.position="relative",\r\nc.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c.style.width="",c.style.height=""):"default"!=c.style.cursor&&"div"!=b&&c.parentNode.removeChild(c),c=B;this.printBackgroundImage&&(e=e.getElementsByTagName("svg"),0<e.length&&(e[0].style.position="absolute"));g.overlayPane.parentNode.removeChild(g.overlayPane);this.graph.setEnabled(r);this.graph.container=d;this.graph.cellRenderer.redraw=u;g.canvas=k;g.backgroundPane=l;g.drawPane=m;g.overlayPane=n;\r\ng.translate=t;a.destroy();g.setEventsEnabled(q)}};mxPrintPreview.prototype.getLinkForCellState=function(a){return this.graph.getLinkForCell(a.cell)};\r\nmxPrintPreview.prototype.insertBackgroundImage=function(a,b,c){var d=this.graph.backgroundImage;if(null!=d){var e=document.createElement("img");e.style.position="absolute";e.style.marginLeft=Math.round(b*this.scale)+"px";e.style.marginTop=Math.round(c*this.scale)+"px";e.setAttribute("width",Math.round(this.scale*d.width));e.setAttribute("height",Math.round(this.scale*d.height));e.src=d.src;a.insertBefore(e,a.firstChild)}};mxPrintPreview.prototype.getCoverPages=function(){return null};\r\nmxPrintPreview.prototype.getAppendices=function(){return null};mxPrintPreview.prototype.print=function(a){a=this.open(a);null!=a&&a.print()};mxPrintPreview.prototype.close=function(){null!=this.wnd&&(this.wnd.close(),this.wnd=null)};function mxStylesheet(){this.styles={};this.putDefaultVertexStyle(this.createDefaultVertexStyle());this.putDefaultEdgeStyle(this.createDefaultEdgeStyle())}\r\nmxStylesheet.prototype.createDefaultVertexStyle=function(){var a={};a[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_RECTANGLE;a[mxConstants.STYLE_PERIMETER]=mxPerimeter.RectanglePerimeter;a[mxConstants.STYLE_VERTICAL_ALIGN]=mxConstants.ALIGN_MIDDLE;a[mxConstants.STYLE_ALIGN]=mxConstants.ALIGN_CENTER;a[mxConstants.STYLE_FILLCOLOR]="#C3D9FF";a[mxConstants.STYLE_STROKECOLOR]="#6482B9";a[mxConstants.STYLE_FONTCOLOR]="#774400";return a};\r\nmxStylesheet.prototype.createDefaultEdgeStyle=function(){var a={};a[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_CONNECTOR;a[mxConstants.STYLE_ENDARROW]=mxConstants.ARROW_CLASSIC;a[mxConstants.STYLE_VERTICAL_ALIGN]=mxConstants.ALIGN_MIDDLE;a[mxConstants.STYLE_ALIGN]=mxConstants.ALIGN_CENTER;a[mxConstants.STYLE_STROKECOLOR]="#6482B9";a[mxConstants.STYLE_FONTCOLOR]="#446299";return a};mxStylesheet.prototype.putDefaultVertexStyle=function(a){this.putCellStyle("defaultVertex",a)};\r\nmxStylesheet.prototype.putDefaultEdgeStyle=function(a){this.putCellStyle("defaultEdge",a)};mxStylesheet.prototype.getDefaultVertexStyle=function(){return this.styles.defaultVertex};mxStylesheet.prototype.getDefaultEdgeStyle=function(){return this.styles.defaultEdge};mxStylesheet.prototype.putCellStyle=function(a,b){this.styles[a]=b};\r\nmxStylesheet.prototype.getCellStyle=function(a,b){var c=b;if(null!=a&&0<a.length)for(var d=a.split(";"),c=null!=c&&";"!=a.charAt(0)?mxUtils.clone(c):{},e=0;e<d.length;e++){var f=d[e],g=f.indexOf("=");if(0<=g){var k=f.substring(0,g),f=f.substring(g+1);f==mxConstants.NONE?delete c[k]:mxUtils.isNumeric(f)?c[k]=parseFloat(f):c[k]=f}else if(f=this.styles[f],null!=f)for(k in f)c[k]=f[k]}return c};\r\nfunction mxCellState(a,b,c){this.view=a;this.cell=b;this.style=null!=c?c:{};this.origin=new mxPoint;this.absoluteOffset=new mxPoint}mxCellState.prototype=new mxRectangle;mxCellState.prototype.constructor=mxCellState;mxCellState.prototype.view=null;mxCellState.prototype.cell=null;mxCellState.prototype.style=null;mxCellState.prototype.invalidStyle=!1;mxCellState.prototype.invalid=!0;mxCellState.prototype.origin=null;mxCellState.prototype.absolutePoints=null;mxCellState.prototype.absoluteOffset=null;\r\nmxCellState.prototype.visibleSourceState=null;mxCellState.prototype.visibleTargetState=null;mxCellState.prototype.terminalDistance=0;mxCellState.prototype.length=0;mxCellState.prototype.segments=null;mxCellState.prototype.shape=null;mxCellState.prototype.text=null;mxCellState.prototype.unscaledWidth=null;mxCellState.prototype.unscaledHeight=null;\r\nmxCellState.prototype.getPerimeterBounds=function(a,b){a=a||0;b=null!=b?b:new mxRectangle(this.x,this.y,this.width,this.height);if(null!=this.shape&&null!=this.shape.stencil&&"fixed"==this.shape.stencil.aspect){var c=this.shape.stencil.computeAspect(this.style,b.x,b.y,b.width,b.height);b.x=c.x;b.y=c.y;b.width=this.shape.stencil.w0*c.width;b.height=this.shape.stencil.h0*c.height}0!=a&&b.grow(a);return b};\r\nmxCellState.prototype.setAbsoluteTerminalPoint=function(a,b){b?(null==this.absolutePoints&&(this.absolutePoints=[]),0==this.absolutePoints.length?this.absolutePoints.push(a):this.absolutePoints[0]=a):null==this.absolutePoints?(this.absolutePoints=[],this.absolutePoints.push(null),this.absolutePoints.push(a)):1==this.absolutePoints.length?this.absolutePoints.push(a):this.absolutePoints[this.absolutePoints.length-1]=a};\r\nmxCellState.prototype.setCursor=function(a){null!=this.shape&&this.shape.setCursor(a);null!=this.text&&this.text.setCursor(a)};mxCellState.prototype.getVisibleTerminal=function(a){a=this.getVisibleTerminalState(a);return null!=a?a.cell:null};mxCellState.prototype.getVisibleTerminalState=function(a){return a?this.visibleSourceState:this.visibleTargetState};mxCellState.prototype.setVisibleTerminalState=function(a,b){b?this.visibleSourceState=a:this.visibleTargetState=a};\r\nmxCellState.prototype.getCellBounds=function(){return this.cellBounds};mxCellState.prototype.getPaintBounds=function(){return this.paintBounds};mxCellState.prototype.updateCachedBounds=function(){var a=this.view.translate,b=this.view.scale;this.cellBounds=new mxRectangle(this.x/b-a.x,this.y/b-a.y,this.width/b,this.height/b);this.paintBounds=mxRectangle.fromRectangle(this.cellBounds);null!=this.shape&&this.shape.isPaintBoundsInverted()&&this.paintBounds.rotate90()};\r\nmxCellState.prototype.setState=function(a){this.view=a.view;this.cell=a.cell;this.style=a.style;this.absolutePoints=a.absolutePoints;this.origin=a.origin;this.absoluteOffset=a.absoluteOffset;this.boundingBox=a.boundingBox;this.terminalDistance=a.terminalDistance;this.segments=a.segments;this.length=a.length;this.x=a.x;this.y=a.y;this.width=a.width;this.height=a.height;this.unscaledWidth=a.unscaledWidth;this.unscaledHeight=a.unscaledHeight};\r\nmxCellState.prototype.clone=function(){var a=new mxCellState(this.view,this.cell,this.style);if(null!=this.absolutePoints){a.absolutePoints=[];for(var b=0;b<this.absolutePoints.length;b++)a.absolutePoints[b]=this.absolutePoints[b].clone()}null!=this.origin&&(a.origin=this.origin.clone());null!=this.absoluteOffset&&(a.absoluteOffset=this.absoluteOffset.clone());null!=this.boundingBox&&(a.boundingBox=this.boundingBox.clone());a.terminalDistance=this.terminalDistance;a.segments=this.segments;a.length=\r\nthis.length;a.x=this.x;a.y=this.y;a.width=this.width;a.height=this.height;a.unscaledWidth=this.unscaledWidth;a.unscaledHeight=this.unscaledHeight;return a};mxCellState.prototype.destroy=function(){this.view.graph.cellRenderer.destroy(this)};function mxGraphSelectionModel(a){this.graph=a;this.cells=[]}mxGraphSelectionModel.prototype=new mxEventSource;mxGraphSelectionModel.prototype.constructor=mxGraphSelectionModel;mxGraphSelectionModel.prototype.doneResource="none"!=mxClient.language?"done":"";\r\nmxGraphSelectionModel.prototype.updatingSelectionResource="none"!=mxClient.language?"updatingSelection":"";mxGraphSelectionModel.prototype.graph=null;mxGraphSelectionModel.prototype.singleSelection=!1;mxGraphSelectionModel.prototype.isSingleSelection=function(){return this.singleSelection};mxGraphSelectionModel.prototype.setSingleSelection=function(a){this.singleSelection=a};mxGraphSelectionModel.prototype.isSelected=function(a){return null!=a?0<=mxUtils.indexOf(this.cells,a):!1};\r\nmxGraphSelectionModel.prototype.isEmpty=function(){return 0==this.cells.length};mxGraphSelectionModel.prototype.clear=function(){this.changeSelection(null,this.cells)};mxGraphSelectionModel.prototype.setCell=function(a){null!=a&&this.setCells([a])};mxGraphSelectionModel.prototype.setCells=function(a){if(null!=a){this.singleSelection&&(a=[this.getFirstSelectableCell(a)]);for(var b=[],c=0;c<a.length;c++)this.graph.isCellSelectable(a[c])&&b.push(a[c]);this.changeSelection(b,this.cells)}};\r\nmxGraphSelectionModel.prototype.getFirstSelectableCell=function(a){if(null!=a)for(var b=0;b<a.length;b++)if(this.graph.isCellSelectable(a[b]))return a[b];return null};mxGraphSelectionModel.prototype.addCell=function(a){null!=a&&this.addCells([a])};\r\nmxGraphSelectionModel.prototype.addCells=function(a){if(null!=a){var b=null;this.singleSelection&&(b=this.cells,a=[this.getFirstSelectableCell(a)]);for(var c=[],d=0;d<a.length;d++)!this.isSelected(a[d])&&this.graph.isCellSelectable(a[d])&&c.push(a[d]);this.changeSelection(c,b)}};mxGraphSelectionModel.prototype.removeCell=function(a){null!=a&&this.removeCells([a])};\r\nmxGraphSelectionModel.prototype.removeCells=function(a){if(null!=a){for(var b=[],c=0;c<a.length;c++)this.isSelected(a[c])&&b.push(a[c]);this.changeSelection(null,b)}};mxGraphSelectionModel.prototype.changeSelection=function(a,b){if(null!=a&&0<a.length&&null!=a[0]||null!=b&&0<b.length&&null!=b[0]){var c=new mxSelectionChange(this,a,b);c.execute();var d=new mxUndoableEdit(this,!1);d.add(c);this.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",d))}};\r\nmxGraphSelectionModel.prototype.cellAdded=function(a){null==a||this.isSelected(a)||this.cells.push(a)};mxGraphSelectionModel.prototype.cellRemoved=function(a){null!=a&&(a=mxUtils.indexOf(this.cells,a),0<=a&&this.cells.splice(a,1))};function mxSelectionChange(a,b,c){this.selectionModel=a;this.added=null!=b?b.slice():null;this.removed=null!=c?c.slice():null}\r\nmxSelectionChange.prototype.execute=function(){var a=mxLog.enter("mxSelectionChange.execute");window.status=mxResources.get(this.selectionModel.updatingSelectionResource)||this.selectionModel.updatingSelectionResource;if(null!=this.removed)for(var b=0;b<this.removed.length;b++)this.selectionModel.cellRemoved(this.removed[b]);if(null!=this.added)for(b=0;b<this.added.length;b++)this.selectionModel.cellAdded(this.added[b]);b=this.added;this.added=this.removed;this.removed=b;window.status=mxResources.get(this.selectionModel.doneResource)||\r\nthis.selectionModel.doneResource;mxLog.leave("mxSelectionChange.execute",a);this.selectionModel.fireEvent(new mxEventObject(mxEvent.CHANGE,"added",this.added,"removed",this.removed))};\r\nfunction mxCellEditor(a){this.graph=a;this.zoomHandler=mxUtils.bind(this,function(){this.graph.isEditing()&&this.resize()});this.graph.view.addListener(mxEvent.SCALE,this.zoomHandler);this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE,this.zoomHandler);this.changeHandler=mxUtils.bind(this,function(a){null!=this.editingCell&&null==this.graph.getView().getState(this.editingCell)&&this.stopEditing(!0)});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler)}\r\nmxCellEditor.prototype.graph=null;mxCellEditor.prototype.textarea=null;mxCellEditor.prototype.editingCell=null;mxCellEditor.prototype.trigger=null;mxCellEditor.prototype.modified=!1;mxCellEditor.prototype.autoSize=!0;mxCellEditor.prototype.selectText=!0;mxCellEditor.prototype.emptyLabelText=mxClient.IS_FF?"<br>":"";mxCellEditor.prototype.escapeCancelsEditing=!0;mxCellEditor.prototype.textNode="";mxCellEditor.prototype.zIndex=5;mxCellEditor.prototype.minResize=new mxRectangle(0,20);\r\nmxCellEditor.prototype.wordWrapPadding=mxClient.IS_IE11?0:1;mxCellEditor.prototype.blurEnabled=!1;mxCellEditor.prototype.initialValue=null;mxCellEditor.prototype.align=null;mxCellEditor.prototype.init=function(){this.textarea=document.createElement("div");this.textarea.className="mxCellEditor mxPlainTextEditor";this.textarea.contentEditable=!0;mxClient.IS_GC&&(this.textarea.style.minHeight="1em");this.textarea.style.position=this.isLegacyEditor()?"absolute":"relative";this.installListeners(this.textarea)};\r\nmxCellEditor.prototype.applyValue=function(a,b){this.graph.labelChanged(a.cell,b,this.trigger)};mxCellEditor.prototype.setAlign=function(a){null!=this.textarea&&(this.textarea.style.textAlign=a);this.align=a;this.resize()};\r\nmxCellEditor.prototype.getInitialValue=function(a,b){var c=mxUtils.htmlEntities(this.graph.getEditingValue(a.cell,b),!1);8!=document.documentMode&&9!=document.documentMode&&10!=document.documentMode&&(c=mxUtils.replaceTrailingNewlines(c,"<div><br></div>"));return c.replace(/\\n/g,"<br>")};mxCellEditor.prototype.getCurrentValue=function(a){return mxUtils.extractTextWithWhitespace(this.textarea.childNodes)};\r\nmxCellEditor.prototype.isCancelEditingKeyEvent=function(a){return this.escapeCancelsEditing||mxEvent.isShiftDown(a)||mxEvent.isControlDown(a)||mxEvent.isMetaDown(a)};\r\nmxCellEditor.prototype.installListeners=function(a){mxEvent.addListener(a,"dragstart",mxUtils.bind(this,function(a){this.graph.stopEditing(!1);mxEvent.consume(a)}));mxEvent.addListener(a,"blur",mxUtils.bind(this,function(a){this.blurEnabled&&this.focusLost(a)}));mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(a){mxEvent.isConsumed(a)||(this.isStopEditingEvent(a)?(this.graph.stopEditing(!1),mxEvent.consume(a)):27==a.keyCode&&(this.graph.stopEditing(this.isCancelEditingKeyEvent(a)),mxEvent.consume(a)))}));\r\nvar b=mxUtils.bind(this,function(b){null!=this.editingCell&&this.clearOnChange&&a.innerHTML==this.getEmptyLabelText()&&(!mxClient.IS_FF||8!=b.keyCode&&46!=b.keyCode)&&(this.clearOnChange=!1,a.innerHTML="")});mxEvent.addListener(a,"keypress",b);mxEvent.addListener(a,"paste",b);b=mxUtils.bind(this,function(a){null!=this.editingCell&&(0==this.textarea.innerHTML.length||"<br>"==this.textarea.innerHTML?(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length):\r\nthis.clearOnChange=!1)});mxEvent.addListener(a,mxClient.IS_IE11||mxClient.IS_IE?"keyup":"input",b);mxEvent.addListener(a,"cut",b);mxEvent.addListener(a,"paste",b);var b=mxClient.IS_IE11||mxClient.IS_IE?"keydown":"input",c=mxUtils.bind(this,function(a){null!=this.editingCell&&this.autoSize&&!mxEvent.isConsumed(a)&&(null!=this.resizeThread&&window.clearTimeout(this.resizeThread),this.resizeThread=window.setTimeout(mxUtils.bind(this,function(){this.resizeThread=null;this.resize()}),0))});mxEvent.addListener(a,\r\nb,c);mxEvent.addListener(window,"resize",c);9<=document.documentMode?(mxEvent.addListener(a,"DOMNodeRemoved",c),mxEvent.addListener(a,"DOMNodeInserted",c)):(mxEvent.addListener(a,"cut",c),mxEvent.addListener(a,"paste",c))};mxCellEditor.prototype.isStopEditingEvent=function(a){return 113==a.keyCode||this.graph.isEnterStopsCellEditing()&&13==a.keyCode&&!mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)};mxCellEditor.prototype.isEventSource=function(a){return mxEvent.getSource(a)==this.textarea};\r\nmxCellEditor.prototype.resize=function(){var a=this.graph.getView().getState(this.editingCell);if(null==a)this.stopEditing(!0);else if(null!=this.textarea){var b=this.graph.getModel().isEdge(a.cell),c=this.graph.getView().scale,d=null;if(this.autoSize&&"fill"!=a.style[mxConstants.STYLE_OVERFLOW]){var e=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null),d=null!=a.text&&null==this.align?a.text.margin:null;null==d&&(d=mxUtils.getAlignmentAsPoint(this.align||mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,\r\nmxConstants.ALIGN_CENTER),mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));if(b)this.bounds=new mxRectangle(a.absoluteOffset.x,a.absoluteOffset.y,0,0),null!=e&&(e=(parseFloat(e)+2)*c,this.bounds.width=e,this.bounds.x+=d.x*e);else{var b=mxRectangle.fromRectangle(a),f=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b=null!=a.shape&&f==\r\nmxConstants.ALIGN_CENTER&&g==mxConstants.ALIGN_MIDDLE?a.shape.getLabelBounds(b):b;null!=e&&(b.width=parseFloat(e)*c);if(!a.view.graph.cellRenderer.legacySpacing||"width"!=a.style[mxConstants.STYLE_OVERFLOW]&&"block"!=a.style[mxConstants.STYLE_OVERFLOW])var f=parseInt(a.style[mxConstants.STYLE_SPACING]||2)*c,k=(parseInt(a.style[mxConstants.STYLE_SPACING_TOP]||0)+mxText.prototype.baseSpacingTop)*c+f,l=(parseInt(a.style[mxConstants.STYLE_SPACING_RIGHT]||0)+mxText.prototype.baseSpacingRight)*c+f,m=(parseInt(a.style[mxConstants.STYLE_SPACING_BOTTOM]||\r\n0)+mxText.prototype.baseSpacingBottom)*c+f,n=(parseInt(a.style[mxConstants.STYLE_SPACING_LEFT]||0)+mxText.prototype.baseSpacingLeft)*c+f,f=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b=new mxRectangle(b.x+n,b.y+k,b.width-(f==mxConstants.ALIGN_CENTER&&null==e?n+l:0),b.height-(g==mxConstants.ALIGN_MIDDLE?k+m:0));this.bounds=new mxRectangle(b.x+a.absoluteOffset.x,b.y+\r\na.absoluteOffset.y,b.width,b.height)}if(this.graph.isWrapping(a.cell)&&(2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText())if(this.textarea.style.wordWrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal",e=Math.round(this.bounds.width/c)+this.wordWrapPadding,"relative"!=this.textarea.style.position)this.textarea.style.width=e+"px",this.textarea.scrollWidth>e&&(this.textarea.style.width=this.textarea.scrollWidth+"px");else if("block"==a.style[mxConstants.STYLE_OVERFLOW]||\r\n"width"==a.style[mxConstants.STYLE_OVERFLOW]){if(-.5==d.y||"width"==a.style[mxConstants.STYLE_OVERFLOW])this.textarea.style.maxHeight=this.bounds.height+"px";this.textarea.style.width=e+"px"}else this.textarea.style.maxWidth=e+"px";else this.textarea.style.whiteSpace="nowrap",this.textarea.style.width="";8==document.documentMode&&(this.textarea.style.zoom="1",this.textarea.style.height="auto");8==document.documentMode?(a=this.textarea.scrollWidth,e=this.textarea.scrollHeight,this.textarea.style.left=\r\nMath.max(0,Math.ceil((this.bounds.x-d.x*(this.bounds.width-(a+1)*c)+a*(c-1)*0+2*(d.x+.5))/c))+"px",this.textarea.style.top=Math.max(0,Math.ceil((this.bounds.y-d.y*(this.bounds.height-(e+.5)*c)+e*(c-1)*0+1*Math.abs(d.y+.5))/c))+"px",this.textarea.style.width=Math.round(a*c)+"px",this.textarea.style.height=Math.round(e*c)+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x-d.x*(this.bounds.width-2))+1)+"px",this.textarea.style.top=Math.max(0,Math.round(this.bounds.y-d.y*(this.bounds.height-\r\n4)+(-1==d.y?3:0))+1)+"px")}else this.bounds=this.getEditorBounds(a),this.textarea.style.width=Math.round(this.bounds.width/c)+"px",this.textarea.style.height=Math.round(this.bounds.height/c)+"px",8==document.documentMode?(this.textarea.style.left=Math.round(this.bounds.x)+"px",this.textarea.style.top=Math.round(this.bounds.y)+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x+1))+"px",this.textarea.style.top=Math.max(0,Math.round(this.bounds.y+1))+"px"),this.graph.isWrapping(a.cell)&&\r\n(2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?(this.textarea.style.wordWrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal","fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=Math.round(this.bounds.width/c)+this.wordWrapPadding+"px")):(this.textarea.style.whiteSpace="nowrap","fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=""));mxUtils.setPrefixedStyle(this.textarea.style,"transformOrigin",\r\n"0px 0px");mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+c+","+c+")"+(null==d?"":" translate("+100*d.x+"%,"+100*d.y+"%)"))}};mxCellEditor.prototype.focusLost=function(){this.stopEditing(!this.graph.isInvokesStopCellEditing())};mxCellEditor.prototype.getBackgroundColor=function(a){return null};\r\nmxCellEditor.prototype.isLegacyEditor=function(){var a=!1;if(mxClient.IS_SVG){var b=this.graph.view.getDrawPane().ownerSVGElement;null!=b&&(b=mxUtils.getCurrentStyle(b),null!=b&&(a="absolute"==b.position))}return!a};\r\nmxCellEditor.prototype.startEditing=function(a,b){this.stopEditing(!0);this.align=null;null==this.textarea&&this.init();null!=this.graph.tooltipHandler&&this.graph.tooltipHandler.hideTooltip();var c=this.graph.getView().getState(a);if(null!=c){this.graph.getView();var d=mxUtils.getValue(c.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),e=mxUtils.getValue(c.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),f=mxUtils.getValue(c.style,mxConstants.STYLE_FONTCOLOR,"black"),\r\ng=mxUtils.getValue(c.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),k=(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,l=(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,m=[];(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&m.push("underline");(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==\r\nmxConstants.FONT_STRIKETHROUGH&&m.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.backgroundColor=this.getBackgroundColor(c);this.textarea.style.textDecoration=m.join(" ");this.textarea.style.fontWeight=k?"bold":"normal";this.textarea.style.fontStyle=l?"italic":"";this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.zIndex=this.zIndex;this.textarea.style.fontFamily=\r\ne;this.textarea.style.textAlign=g;this.textarea.style.outline="none";this.textarea.style.color=f;d=this.textDirection=mxUtils.getValue(c.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);d==mxConstants.TEXT_DIRECTION_AUTO&&(null==c||null==c.text||c.text.dialect==mxConstants.DIALECT_STRICTHTML||mxUtils.isNode(c.text.value)||(d=c.text.getAutoDirection()));d==mxConstants.TEXT_DIRECTION_LTR||d==mxConstants.TEXT_DIRECTION_RTL?this.textarea.setAttribute("dir",d):this.textarea.removeAttribute("dir");\r\nthis.textarea.innerHTML=this.getInitialValue(c,b)||"";this.initialValue=this.textarea.innerHTML;0==this.textarea.innerHTML.length||"<br>"==this.textarea.innerHTML?(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=!0):this.clearOnChange=this.textarea.innerHTML==this.getEmptyLabelText();this.graph.container.appendChild(this.textarea);this.editingCell=a;this.trigger=b;this.textNode=null;null!=c.text&&this.isHideLabel(c)&&(this.textNode=c.text.node,this.textNode.style.visibility="hidden");\r\nthis.autoSize&&(this.graph.model.isEdge(c.cell)||"fill"!=c.style[mxConstants.STYLE_OVERFLOW])&&window.setTimeout(mxUtils.bind(this,function(){this.resize()}),0);this.resize();try{this.textarea.focus(),this.isSelectText()&&0<this.textarea.innerHTML.length&&(this.textarea.innerHTML!=this.getEmptyLabelText()||!this.clearOnChange)&&document.execCommand("selectAll",!1,null)}catch(n){}}};mxCellEditor.prototype.isSelectText=function(){return this.selectText};\r\nmxCellEditor.prototype.clearSelection=function(){var a=null;window.getSelection?a=window.getSelection():document.selection&&(a=document.selection);null!=a&&(a.empty?a.empty():a.removeAllRanges&&a.removeAllRanges())};\r\nmxCellEditor.prototype.stopEditing=function(a){if(null!=this.editingCell){null!=this.textNode&&(this.textNode.style.visibility="visible",this.textNode=null);a=a?null:this.graph.view.getState(this.editingCell);var b=this.initialValue;this.bounds=this.trigger=this.editingCell=this.initialValue=null;this.textarea.blur();this.clearSelection();null!=this.textarea.parentNode&&this.textarea.parentNode.removeChild(this.textarea);this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.textarea.innerHTML=\r\n"",this.clearOnChange=!1);if(null!=a&&(this.textarea.innerHTML!=b||null!=this.align)){this.prepareTextarea();b=this.getCurrentValue(a);this.graph.getModel().beginUpdate();try{null!=b&&this.applyValue(a,b),null!=this.align&&this.graph.setCellStyles(mxConstants.STYLE_ALIGN,this.align,[a.cell])}finally{this.graph.getModel().endUpdate()}}mxEvent.release(this.textarea);this.align=this.textarea=null}};\r\nmxCellEditor.prototype.prepareTextarea=function(){null!=this.textarea.lastChild&&"BR"==this.textarea.lastChild.nodeName&&this.textarea.removeChild(this.textarea.lastChild)};mxCellEditor.prototype.isHideLabel=function(a){return!0};mxCellEditor.prototype.getMinimumSize=function(a){var b=this.graph.getView().scale;return new mxRectangle(0,0,null==a.text?30:a.text.size*b+20,"left"==this.textarea.style.textAlign?120:40)};\r\nmxCellEditor.prototype.getEditorBounds=function(a){var b=this.graph.getModel().isEdge(a.cell),c=this.graph.getView().scale,d=this.getMinimumSize(a),e=d.width,d=d.height;if(!b&&a.view.graph.cellRenderer.legacySpacing&&"fill"==a.style[mxConstants.STYLE_OVERFLOW])c=a.shape.getLabelBounds(mxRectangle.fromRectangle(a));else{var f=parseInt(a.style[mxConstants.STYLE_SPACING]||0)*c,g=(parseInt(a.style[mxConstants.STYLE_SPACING_TOP]||0)+mxText.prototype.baseSpacingTop)*c+f,k=(parseInt(a.style[mxConstants.STYLE_SPACING_RIGHT]||\r\n0)+mxText.prototype.baseSpacingRight)*c+f,l=(parseInt(a.style[mxConstants.STYLE_SPACING_BOTTOM]||0)+mxText.prototype.baseSpacingBottom)*c+f,f=(parseInt(a.style[mxConstants.STYLE_SPACING_LEFT]||0)+mxText.prototype.baseSpacingLeft)*c+f,c=new mxRectangle(a.x,a.y,Math.max(e,a.width-f-k),Math.max(d,a.height-g-l)),k=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),l=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),c=null!=a.shape&&\r\nk==mxConstants.ALIGN_CENTER&&l==mxConstants.ALIGN_MIDDLE?a.shape.getLabelBounds(c):c;b?(c.x=a.absoluteOffset.x,c.y=a.absoluteOffset.y,null!=a.text&&null!=a.text.boundingBox&&(0<a.text.boundingBox.x&&(c.x=a.text.boundingBox.x),0<a.text.boundingBox.y&&(c.y=a.text.boundingBox.y))):null!=a.text&&null!=a.text.boundingBox&&(c.x=Math.min(c.x,a.text.boundingBox.x),c.y=Math.min(c.y,a.text.boundingBox.y));c.x+=f;c.y+=g;null!=a.text&&null!=a.text.boundingBox&&(b?(c.width=Math.max(e,a.text.boundingBox.width),\r\nc.height=Math.max(d,a.text.boundingBox.height)):(c.width=Math.max(c.width,a.text.boundingBox.width),c.height=Math.max(c.height,a.text.boundingBox.height)));this.graph.getModel().isVertex(a.cell)&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),b==mxConstants.ALIGN_LEFT?c.x-=a.width:b==mxConstants.ALIGN_RIGHT&&(c.x+=a.width),b=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b==mxConstants.ALIGN_TOP?c.y-=a.height:b==\r\nmxConstants.ALIGN_BOTTOM&&(c.y+=a.height))}return new mxRectangle(Math.round(c.x),Math.round(c.y),Math.round(c.width),Math.round(c.height))};mxCellEditor.prototype.getEmptyLabelText=function(a){return this.emptyLabelText};mxCellEditor.prototype.getEditingCell=function(){return this.editingCell};\r\nmxCellEditor.prototype.destroy=function(){null!=this.textarea&&(mxEvent.release(this.textarea),null!=this.textarea.parentNode&&this.textarea.parentNode.removeChild(this.textarea),this.textarea=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);this.zoomHandler&&(this.graph.view.removeListener(this.zoomHandler),this.zoomHandler=null)};function mxCellRenderer(){}mxCellRenderer.defaultShapes={};\r\nmxCellRenderer.prototype.defaultEdgeShape=mxConnector;mxCellRenderer.prototype.defaultVertexShape=mxRectangleShape;mxCellRenderer.prototype.defaultTextShape=mxText;mxCellRenderer.prototype.legacyControlPosition=!0;mxCellRenderer.prototype.legacySpacing=!0;mxCellRenderer.prototype.antiAlias=!0;mxCellRenderer.prototype.minSvgStrokeWidth=1;mxCellRenderer.prototype.forceControlClickHandler=!1;mxCellRenderer.registerShape=function(a,b){mxCellRenderer.defaultShapes[a]=b};\r\nmxCellRenderer.registerShape(mxConstants.SHAPE_RECTANGLE,mxRectangleShape);mxCellRenderer.registerShape(mxConstants.SHAPE_ELLIPSE,mxEllipse);mxCellRenderer.registerShape(mxConstants.SHAPE_RHOMBUS,mxRhombus);mxCellRenderer.registerShape(mxConstants.SHAPE_CYLINDER,mxCylinder);mxCellRenderer.registerShape(mxConstants.SHAPE_CONNECTOR,mxConnector);mxCellRenderer.registerShape(mxConstants.SHAPE_ACTOR,mxActor);mxCellRenderer.registerShape(mxConstants.SHAPE_TRIANGLE,mxTriangle);\r\nmxCellRenderer.registerShape(mxConstants.SHAPE_HEXAGON,mxHexagon);mxCellRenderer.registerShape(mxConstants.SHAPE_CLOUD,mxCloud);mxCellRenderer.registerShape(mxConstants.SHAPE_LINE,mxLine);mxCellRenderer.registerShape(mxConstants.SHAPE_ARROW,mxArrow);mxCellRenderer.registerShape(mxConstants.SHAPE_ARROW_CONNECTOR,mxArrowConnector);mxCellRenderer.registerShape(mxConstants.SHAPE_DOUBLE_ELLIPSE,mxDoubleEllipse);mxCellRenderer.registerShape(mxConstants.SHAPE_SWIMLANE,mxSwimlane);\r\nmxCellRenderer.registerShape(mxConstants.SHAPE_IMAGE,mxImageShape);mxCellRenderer.registerShape(mxConstants.SHAPE_LABEL,mxLabel);mxCellRenderer.prototype.initializeShape=function(a){a.shape.dialect=a.view.graph.dialect;this.configureShape(a);a.shape.init(a.view.getDrawPane())};\r\nmxCellRenderer.prototype.createShape=function(a){var b=null;null!=a.style&&(b=a.style[mxConstants.STYLE_SHAPE],b=null==mxCellRenderer.defaultShapes[b]?mxStencilRegistry.getStencil(b):null,b=null!=b?new mxShape(b):new (this.getShapeConstructor(a)));return b};mxCellRenderer.prototype.createIndicatorShape=function(a){a.shape.indicatorShape=this.getShape(a.view.graph.getIndicatorShape(a))};mxCellRenderer.prototype.getShape=function(a){return null!=a?mxCellRenderer.defaultShapes[a]:null};\r\nmxCellRenderer.prototype.getShapeConstructor=function(a){var b=this.getShape(a.style[mxConstants.STYLE_SHAPE]);null==b&&(b=a.view.graph.getModel().isEdge(a.cell)?this.defaultEdgeShape:this.defaultVertexShape);return b};\r\nmxCellRenderer.prototype.configureShape=function(a){a.shape.apply(a);a.shape.image=a.view.graph.getImage(a);a.shape.indicatorColor=a.view.graph.getIndicatorColor(a);a.shape.indicatorStrokeColor=a.style[mxConstants.STYLE_INDICATOR_STROKECOLOR];a.shape.indicatorGradientColor=a.view.graph.getIndicatorGradientColor(a);a.shape.indicatorDirection=a.style[mxConstants.STYLE_INDICATOR_DIRECTION];a.shape.indicatorImage=a.view.graph.getIndicatorImage(a);this.postConfigureShape(a)};\r\nmxCellRenderer.prototype.postConfigureShape=function(a){null!=a.shape&&(this.resolveColor(a,"indicatorGradientColor",mxConstants.STYLE_GRADIENTCOLOR),this.resolveColor(a,"indicatorColor",mxConstants.STYLE_FILLCOLOR),this.resolveColor(a,"gradient",mxConstants.STYLE_GRADIENTCOLOR),this.resolveColor(a,"stroke",mxConstants.STYLE_STROKECOLOR),this.resolveColor(a,"fill",mxConstants.STYLE_FILLCOLOR))};\r\nmxCellRenderer.prototype.checkPlaceholderStyles=function(a){if(null!=a.style)for(var b=["inherit","swimlane","indicated"],c=[mxConstants.STYLE_FILLCOLOR,mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_GRADIENTCOLOR,mxConstants.STYLE_FONTCOLOR],d=0;d<c.length;d++)if(0<=mxUtils.indexOf(b,a.style[c[d]]))return!0;return!1};\r\nmxCellRenderer.prototype.resolveColor=function(a,b,c){var d=c==mxConstants.STYLE_FONTCOLOR?a.text:a.shape;if(null!=d){var e=a.view.graph,f=d[b],g=null;"inherit"==f?g=e.model.getParent(a.cell):"swimlane"==f?(d[b]=c==mxConstants.STYLE_STROKECOLOR||c==mxConstants.STYLE_FONTCOLOR?"#000000":"#ffffff",g=null!=e.model.getTerminal(a.cell,!1)?e.model.getTerminal(a.cell,!1):a.cell,g=e.getSwimlane(g),c=e.swimlaneIndicatorColorAttribute):"indicated"==f&&null!=a.shape?d[b]=a.shape.indicatorColor:c!=mxConstants.STYLE_FILLCOLOR&&\r\nf==mxConstants.STYLE_FILLCOLOR&&null!=a.shape?d[b]=a.style[mxConstants.STYLE_FILLCOLOR]:c!=mxConstants.STYLE_STROKECOLOR&&f==mxConstants.STYLE_STROKECOLOR&&null!=a.shape&&(d[b]=a.style[mxConstants.STYLE_STROKECOLOR]);null!=g&&(a=e.getView().getState(g),d[b]=null,null!=a&&(e=c==mxConstants.STYLE_FONTCOLOR?a.text:a.shape,d[b]=null!=e&&"indicatorColor"!=b?e[b]:a.style[c]))}};mxCellRenderer.prototype.getLabelValue=function(a){return a.view.graph.getLabel(a.cell)};\r\nmxCellRenderer.prototype.createLabel=function(a,b){var c=a.view.graph;c.getModel().isEdge(a.cell);if(0<a.style[mxConstants.STYLE_FONTSIZE]||null==a.style[mxConstants.STYLE_FONTSIZE]){var d=c.isHtmlLabel(a.cell)||null!=b&&mxUtils.isNode(b);a.text=new this.defaultTextShape(b,new mxRectangle,a.style[mxConstants.STYLE_ALIGN]||mxConstants.ALIGN_CENTER,c.getVerticalAlign(a),a.style[mxConstants.STYLE_FONTCOLOR],a.style[mxConstants.STYLE_FONTFAMILY],a.style[mxConstants.STYLE_FONTSIZE],a.style[mxConstants.STYLE_FONTSTYLE],\r\na.style[mxConstants.STYLE_SPACING],a.style[mxConstants.STYLE_SPACING_TOP],a.style[mxConstants.STYLE_SPACING_RIGHT],a.style[mxConstants.STYLE_SPACING_BOTTOM],a.style[mxConstants.STYLE_SPACING_LEFT],a.style[mxConstants.STYLE_HORIZONTAL],a.style[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],a.style[mxConstants.STYLE_LABEL_BORDERCOLOR],c.isWrapping(a.cell)&&c.isHtmlLabel(a.cell),c.isLabelClipped(a.cell),a.style[mxConstants.STYLE_OVERFLOW],a.style[mxConstants.STYLE_LABEL_PADDING],mxUtils.getValue(a.style,mxConstants.STYLE_TEXT_DIRECTION,\r\nmxConstants.DEFAULT_TEXT_DIRECTION));a.text.opacity=mxUtils.getValue(a.style,mxConstants.STYLE_TEXT_OPACITY,100);a.text.dialect=d?mxConstants.DIALECT_STRICTHTML:a.view.graph.dialect;a.text.style=a.style;a.text.state=a;this.initializeLabel(a,a.text);var e=!1,f=function(b){var d=a;if(mxClient.IS_TOUCH||e)d=mxEvent.getClientX(b),b=mxEvent.getClientY(b),b=mxUtils.convertPoint(c.container,d,b),d=c.view.getState(c.getCellAt(b.x,b.y));return d};mxEvent.addGestureListeners(a.text.node,mxUtils.bind(this,function(b){this.isLabelEvent(a,\r\nb)&&(c.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b,a)),e=c.dialect!=mxConstants.DIALECT_SVG&&"IMG"==mxEvent.getSource(b).nodeName)}),mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&c.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,f(b)))}),mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&(c.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b,f(b))),e=!1)}));c.nativeDblClickEnabled&&mxEvent.addListener(a.text.node,"dblclick",mxUtils.bind(this,function(b){this.isLabelEvent(a,\r\nb)&&(c.dblClick(b,a.cell),mxEvent.consume(b))}))}};mxCellRenderer.prototype.initializeLabel=function(a,b){mxClient.IS_SVG&&mxClient.NO_FO&&b.dialect!=mxConstants.DIALECT_SVG?b.init(a.view.graph.container):b.init(a.view.getDrawPane())};\r\nmxCellRenderer.prototype.createCellOverlays=function(a){var b=a.view.graph.getCellOverlays(a.cell),c=null;if(null!=b)for(var c=new mxDictionary,d=0;d<b.length;d++){var e=null!=a.overlays?a.overlays.remove(b[d]):null;null==e&&(e=new mxImageShape(new mxRectangle,b[d].image.src),e.dialect=a.view.graph.dialect,e.preserveImageAspect=!1,e.overlay=b[d],this.initializeOverlay(a,e),this.installCellOverlayListeners(a,b[d],e),null!=b[d].cursor&&(e.node.style.cursor=b[d].cursor));c.put(b[d],e)}null!=a.overlays&&\r\na.overlays.visit(function(a,b){b.destroy()});a.overlays=c};mxCellRenderer.prototype.initializeOverlay=function(a,b){b.init(a.view.getOverlayPane())};\r\nmxCellRenderer.prototype.installCellOverlayListeners=function(a,b,c){var d=a.view.graph;mxEvent.addListener(c.node,"click",function(c){d.isEditing()&&d.stopEditing(!d.isInvokesStopCellEditing());b.fireEvent(new mxEventObject(mxEvent.CLICK,"event",c,"cell",a.cell))});mxEvent.addGestureListeners(c.node,function(a){mxEvent.consume(a)},function(b){d.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,a))});mxClient.IS_TOUCH&&mxEvent.addListener(c.node,"touchend",function(c){b.fireEvent(new mxEventObject(mxEvent.CLICK,\r\n"event",c,"cell",a.cell))})};mxCellRenderer.prototype.createControl=function(a){var b=a.view.graph,c=b.getFoldingImage(a);if(b.foldingEnabled&&null!=c){if(null==a.control){var d=new mxRectangle(0,0,c.width,c.height);a.control=new mxImageShape(d,c.src);a.control.preserveImageAspect=!1;a.control.dialect=b.dialect;this.initControl(a,a.control,!0,this.createControlClickHandler(a))}}else null!=a.control&&(a.control.destroy(),a.control=null)};\r\nmxCellRenderer.prototype.createControlClickHandler=function(a){var b=a.view.graph;return mxUtils.bind(this,function(c){if(this.forceControlClickHandler||b.isEnabled()){var d=!b.isCellCollapsed(a.cell);b.foldCells(d,!1,[a.cell],null,c);mxEvent.consume(c)}})};\r\nmxCellRenderer.prototype.initControl=function(a,b,c,d){var e=a.view.graph;e.isHtmlLabel(a.cell)&&mxClient.NO_FO&&e.dialect==mxConstants.DIALECT_SVG?(b.dialect=mxConstants.DIALECT_PREFERHTML,b.init(e.container),b.node.style.zIndex=1):b.init(a.view.getOverlayPane());b=b.innerNode||b.node;null==d||mxClient.IS_IOS||(e.isEnabled()&&(b.style.cursor="pointer"),mxEvent.addListener(b,"click",d));if(c){var f=null;mxEvent.addGestureListeners(b,function(b){f=new mxPoint(mxEvent.getClientX(b),mxEvent.getClientY(b));\r\ne.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b,a));mxEvent.consume(b)},function(b){e.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,a))},function(b){e.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b,a));mxEvent.consume(b)});null!=d&&mxClient.IS_IOS&&b.addEventListener("touchend",function(a){if(null!=f){var b=e.tolerance;Math.abs(f.x-mxEvent.getClientX(a))<b&&Math.abs(f.y-mxEvent.getClientY(a))<b&&(d.call(d,a),mxEvent.consume(a))}},!0)}return b};\r\nmxCellRenderer.prototype.isShapeEvent=function(a,b){return!0};mxCellRenderer.prototype.isLabelEvent=function(a,b){return!0};\r\nmxCellRenderer.prototype.installListeners=function(a){var b=a.view.graph,c=function(c){var d=a;if(b.dialect!=mxConstants.DIALECT_SVG&&"IMG"==mxEvent.getSource(c).nodeName||mxClient.IS_TOUCH)d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),c=mxUtils.convertPoint(b.container,d,c),d=b.view.getState(b.getCellAt(c.x,c.y));return d};mxEvent.addGestureListeners(a.shape.node,mxUtils.bind(this,function(c){this.isShapeEvent(a,c)&&b.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(c,a))}),mxUtils.bind(this,\r\nfunction(d){this.isShapeEvent(a,d)&&b.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(d,c(d)))}),mxUtils.bind(this,function(d){this.isShapeEvent(a,d)&&b.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(d,c(d)))}));b.nativeDblClickEnabled&&mxEvent.addListener(a.shape.node,"dblclick",mxUtils.bind(this,function(c){this.isShapeEvent(a,c)&&(b.dblClick(c,a.cell),mxEvent.consume(c))}))};\r\nmxCellRenderer.prototype.redrawLabel=function(a,b){var c=a.view.graph,d=this.getLabelValue(a),e=c.isWrapping(a.cell),f=c.isLabelClipped(a.cell),g=a.view.graph.isHtmlLabel(a.cell)||null!=d&&mxUtils.isNode(d)?mxConstants.DIALECT_STRICTHTML:a.view.graph.dialect,k=a.style[mxConstants.STYLE_OVERFLOW]||"visible";null==a.text||a.text.wrap==e&&a.text.clipped==f&&a.text.overflow==k&&a.text.dialect==g||(a.text.destroy(),a.text=null);null==a.text&&null!=d&&(mxUtils.isNode(d)||0<d.length)?this.createLabel(a,\r\nd):null==a.text||null!=d&&0!=d.length||(a.text.destroy(),a.text=null);if(null!=a.text){b&&(null!=a.text.lastValue&&this.isTextShapeInvalid(a,a.text)&&(a.text.lastValue=null),a.text.resetStyles(),a.text.apply(a),a.text.valign=c.getVerticalAlign(a));var c=this.getLabelBounds(a),l=this.getTextScale(a);this.resolveColor(a,"color",mxConstants.STYLE_FONTCOLOR);if(b||a.text.value!=d||a.text.isWrapping!=e||a.text.overflow!=k||a.text.isClipping!=f||a.text.scale!=l||a.text.dialect!=g||null==a.text.bounds||\r\n!a.text.bounds.equals(c))a.text.dialect=g,a.text.value=d,a.text.bounds=c,a.text.scale=l,a.text.wrap=e,a.text.clipped=f,a.text.overflow=k,d=a.text.node.style.visibility,this.redrawLabelShape(a.text),a.text.node.style.visibility=d}};\r\nmxCellRenderer.prototype.isTextShapeInvalid=function(a,b){function c(c,e,f){return"spacingTop"==e||"spacingRight"==e||"spacingBottom"==e||"spacingLeft"==e?parseFloat(b[c])-parseFloat(b.spacing)!=(a.style[e]||f):b[c]!=(a.style[e]||f)}return c("fontStyle",mxConstants.STYLE_FONTSTYLE,mxConstants.DEFAULT_FONTSTYLE)||c("family",mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY)||c("size",mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)||c("color",mxConstants.STYLE_FONTCOLOR,"black")||\r\nc("align",mxConstants.STYLE_ALIGN,"")||c("valign",mxConstants.STYLE_VERTICAL_ALIGN,"")||c("spacing",mxConstants.STYLE_SPACING,2)||c("spacingTop",mxConstants.STYLE_SPACING_TOP,0)||c("spacingRight",mxConstants.STYLE_SPACING_RIGHT,0)||c("spacingBottom",mxConstants.STYLE_SPACING_BOTTOM,0)||c("spacingLeft",mxConstants.STYLE_SPACING_LEFT,0)||c("horizontal",mxConstants.STYLE_HORIZONTAL,!0)||c("background",mxConstants.STYLE_LABEL_BACKGROUNDCOLOR)||c("border",mxConstants.STYLE_LABEL_BORDERCOLOR)||c("opacity",\r\nmxConstants.STYLE_TEXT_OPACITY,100)||c("textDirection",mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION)};mxCellRenderer.prototype.redrawLabelShape=function(a){a.redraw()};mxCellRenderer.prototype.getTextScale=function(a){return a.view.scale};\r\nmxCellRenderer.prototype.getLabelBounds=function(a){var b=a.view.graph,c=a.view.scale,d=b.getModel().isEdge(a.cell),e=new mxRectangle(a.absoluteOffset.x,a.absoluteOffset.y);if(d){var f=a.text.getSpacing();e.x+=f.x*c;e.y+=f.y*c;b=b.getCellGeometry(a.cell);null!=b&&(e.width=Math.max(0,b.width*c),e.height=Math.max(0,b.height*c))}else a.text.isPaintBoundsInverted()&&(b=e.x,e.x=e.y,e.y=b),e.x+=a.x,e.y+=a.y,e.width=Math.max(1,a.width),e.height=Math.max(1,a.height);a.text.isPaintBoundsInverted()&&(b=(a.width-\r\na.height)/2,e.x+=b,e.y-=b,b=e.width,e.width=e.height,e.height=b);null!=a.shape&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),f=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b==mxConstants.ALIGN_CENTER&&f==mxConstants.ALIGN_MIDDLE&&(e=a.shape.getLabelBounds(e)));b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null);null!=b&&(e.width=parseFloat(b)*c);d||this.rotateLabelBounds(a,e);return e};\r\nmxCellRenderer.prototype.rotateLabelBounds=function(a,b){b.y-=a.text.margin.y*b.height;b.x-=a.text.margin.x*b.width;if(!this.legacySpacing||"fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&"width"!=a.style[mxConstants.STYLE_OVERFLOW]&&("block"!=a.style[mxConstants.STYLE_OVERFLOW]||"1"==a.style[mxConstants.STYLE_BLOCK_SPACING])){var c=a.view.scale,d=a.text.getSpacing("1"==a.style[mxConstants.STYLE_BLOCK_SPACING]);b.x+=d.x*c;b.y+=d.y*c;var d=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),\r\ne=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),f=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null);b.width=Math.max(0,b.width-(d==mxConstants.ALIGN_CENTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.max(0,b.height-(e==mxConstants.ALIGN_MIDDLE?a.text.spacingTop*c+a.text.spacingBottom*c:0))}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX(),d=a.getCenterY(),b.x!=c||b.y!=\r\nd)&&(e*=Math.PI/180,c=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPoint(c,d)),b.x=c.x,b.y=c.y)};\r\nmxCellRenderer.prototype.redrawCellOverlays=function(a,b){this.createCellOverlays(a);if(null!=a.overlays){var c=mxUtils.mod(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0),90),d=mxUtils.toRadians(c),e=Math.cos(d),f=Math.sin(d);a.overlays.visit(function(d,k){var g=k.overlay.getBounds(a);if(!a.view.graph.getModel().isEdge(a.cell)&&null!=a.shape&&0!=c){var m=g.getCenterX(),n=g.getCenterY(),n=mxUtils.getRotatedPoint(new mxPoint(m,n),e,f,new mxPoint(a.getCenterX(),a.getCenterY())),m=n.x,n=n.y;g.x=\r\nMath.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!k.bounds.equals(g))k.bounds=g,k.scale=a.view.scale,k.redraw()})}};\r\nmxCellRenderer.prototype.redrawControl=function(a,b){var c=a.view.graph.getFoldingImage(a);if(null!=a.control&&null!=c){var c=this.getControlBounds(a,c.width,c.height),d=this.legacyControlPosition?mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0):a.shape.getTextRotation(),e=a.view.scale;if(b||a.control.scale!=e||!a.control.bounds.equals(c)||a.control.rotation!=d)a.control.rotation=d,a.control.bounds=c,a.control.scale=e,a.control.redraw()}};\r\nmxCellRenderer.prototype.getControlBounds=function(a,b,c){if(null!=a.control){var d=a.view.scale,e=a.getCenterX(),f=a.getCenterY();if(!a.view.graph.getModel().isEdge(a.cell)&&(e=a.x+b*d,f=a.y+c*d,null!=a.shape)){var g=a.shape.getShapeRotation();if(this.legacyControlPosition)g=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0);else if(a.shape.isPaintBoundsInverted())var k=(a.width-a.height)/2,e=e+k,f=f-k;0!=g&&(k=mxUtils.toRadians(g),g=Math.cos(k),k=Math.sin(k),f=mxUtils.getRotatedPoint(new mxPoint(e,\r\nf),g,k,new mxPoint(a.getCenterX(),a.getCenterY())),e=f.x,f=f.y)}return a.view.graph.getModel().isEdge(a.cell),new mxRectangle(Math.round(e-b/2*d),Math.round(f-c/2*d),Math.round(b*d),Math.round(c*d))}return null};\r\nmxCellRenderer.prototype.insertStateAfter=function(a,b,c){for(var d=this.getShapesForState(a),e=0;e<d.length;e++)if(null!=d[e]&&null!=d[e].node){var f=d[e].node.parentNode!=a.view.getDrawPane()&&d[e].node.parentNode!=a.view.getOverlayPane(),g=f?c:b;if(null!=g&&g.nextSibling!=d[e].node)null==g.nextSibling?g.parentNode.appendChild(d[e].node):g.parentNode.insertBefore(d[e].node,g.nextSibling);else if(null==g)if(d[e].node.parentNode==a.view.graph.container){for(g=a.view.canvas;null!=g&&g.parentNode!=\r\na.view.graph.container;)g=g.parentNode;null!=g&&null!=g.nextSibling?g.nextSibling!=d[e].node&&d[e].node.parentNode.insertBefore(d[e].node,g.nextSibling):d[e].node.parentNode.appendChild(d[e].node)}else null!=d[e].node.parentNode&&null!=d[e].node.parentNode.firstChild&&d[e].node.parentNode.firstChild!=d[e].node&&d[e].node.parentNode.insertBefore(d[e].node,d[e].node.parentNode.firstChild);f?c=d[e].node:b=d[e].node}return[b,c]};\r\nmxCellRenderer.prototype.getShapesForState=function(a){return[a.shape,a.text,a.control]};mxCellRenderer.prototype.redraw=function(a,b,c){b=this.redrawShape(a,b,c);null==a.shape||null!=c&&!c||(this.redrawLabel(a,b),this.redrawCellOverlays(a,b),this.redrawControl(a,b))};\r\nmxCellRenderer.prototype.redrawShape=function(a,b,c){var d=a.view.graph.model,e=!1;null!=a.shape&&null!=a.shape.style&&null!=a.style&&a.shape.style[mxConstants.STYLE_SHAPE]!=a.style[mxConstants.STYLE_SHAPE]&&(a.shape.destroy(),a.shape=null);null==a.shape&&null!=a.view.graph.container&&a.cell!=a.view.currentRoot&&(d.isVertex(a.cell)||d.isEdge(a.cell))?(a.shape=this.createShape(a),null!=a.shape&&(a.shape.minSvgStrokeWidth=this.minSvgStrokeWidth,a.shape.antiAlias=this.antiAlias,this.createIndicatorShape(a),\r\nthis.initializeShape(a),this.createCellOverlays(a),this.installListeners(a),a.view.graph.selectionCellsHandler.updateHandler(a))):b||null==a.shape||mxUtils.equalEntries(a.shape.style,a.style)&&!this.checkPlaceholderStyles(a)||(a.shape.resetStyles(),this.configureShape(a),a.view.graph.selectionCellsHandler.updateHandler(a),b=!0);null!=a.shape&&a.shape.indicatorShape!=this.getShape(a.view.graph.getIndicatorShape(a))&&(null!=a.shape.indicator&&(a.shape.indicator.destroy(),a.shape.indicator=null),this.createIndicatorShape(a),\r\nnull!=a.shape.indicatorShape&&(a.shape.indicator=new a.shape.indicatorShape,a.shape.indicator.dialect=a.shape.dialect,a.shape.indicator.init(a.node),b=!0));null!=a.shape&&(this.createControl(a),b||this.isShapeInvalid(a,a.shape))&&(null!=a.absolutePoints?(a.shape.points=a.absolutePoints.slice(),a.shape.bounds=null):(a.shape.points=null,a.shape.bounds=new mxRectangle(a.x,a.y,a.width,a.height)),a.shape.scale=a.view.scale,null==c||c?this.doRedrawShape(a):a.shape.updateBoundingBox(),e=!0);return e};\r\nmxCellRenderer.prototype.doRedrawShape=function(a){a.shape.redraw()};mxCellRenderer.prototype.isShapeInvalid=function(a,b){return null==b.bounds||b.scale!=a.view.scale||null==a.absolutePoints&&!b.bounds.equals(a)||null!=a.absolutePoints&&!mxUtils.equalPoints(b.points,a.absolutePoints)};\r\nmxCellRenderer.prototype.destroy=function(a){null!=a.shape&&(null!=a.text&&(a.text.destroy(),a.text=null),null!=a.overlays&&(a.overlays.visit(function(a,c){c.destroy()}),a.overlays=null),null!=a.control&&(a.control.destroy(),a.control=null),a.shape.destroy(),a.shape=null)};\r\nvar mxEdgeStyle={EntityRelation:function(a,b,c,d,e){var f=a.view,g=f.graph;d=mxUtils.getValue(a.style,mxConstants.STYLE_SEGMENT,mxConstants.ENTITY_SEGMENT)*f.scale;var k=a.absolutePoints,l=k[0],m=k[k.length-1],k=!1;if(null!=b){var n=g.getCellGeometry(b.cell);n.relative?k=.5>=n.x:null!=c&&(k=(null!=m?m.x:c.x+c.width)<(null!=l?l.x:b.x))}if(null!=l)b=new mxCellState,b.x=l.x,b.y=l.y;else if(null!=b){var p=mxUtils.getPortConstraints(b,a,!0,mxConstants.DIRECTION_MASK_NONE);p!=mxConstants.DIRECTION_MASK_NONE&&\r\np!=mxConstants.DIRECTION_MASK_WEST+mxConstants.DIRECTION_MASK_EAST&&(k=p==mxConstants.DIRECTION_MASK_WEST)}else return;n=!0;null!=c&&(g=g.getCellGeometry(c.cell),g.relative?n=.5>=g.x:null!=b&&(n=(null!=l?l.x:b.x+b.width)<(null!=m?m.x:c.x)));null!=m?(c=new mxCellState,c.x=m.x,c.y=m.y):null!=c&&(p=mxUtils.getPortConstraints(c,a,!1,mxConstants.DIRECTION_MASK_NONE),p!=mxConstants.DIRECTION_MASK_NONE&&p!=mxConstants.DIRECTION_MASK_WEST+mxConstants.DIRECTION_MASK_EAST&&(n=p==mxConstants.DIRECTION_MASK_WEST));\r\nnull!=b&&null!=c&&(a=k?b.x:b.x+b.width,b=f.getRoutingCenterY(b),l=n?c.x:c.x+c.width,c=f.getRoutingCenterY(c),f=new mxPoint(a+(k?-d:d),b),g=new mxPoint(l+(n?-d:d),c),k==n?(d=k?Math.min(a,l)-d:Math.max(a,l)+d,e.push(new mxPoint(d,b)),e.push(new mxPoint(d,c))):(f.x<g.x==k?(d=b+(c-b)/2,e.push(f),e.push(new mxPoint(f.x,d)),e.push(new mxPoint(g.x,d))):e.push(f),e.push(g)))},Loop:function(a,b,c,d,e){c=a.absolutePoints;var f=c[c.length-1];if(null!=c[0]&&null!=f){if(null!=d&&0<d.length)for(b=0;b<d.length;b++)c=\r\nd[b],c=a.view.transformControlPoint(a,c),e.push(new mxPoint(c.x,c.y))}else if(null!=b){var f=a.view,g=f.graph;c=null!=d&&0<d.length?d[0]:null;null!=c&&(c=f.transformControlPoint(a,c),mxUtils.contains(b,c.x,c.y)&&(c=null));var k=d=0,l=0,m=0,g=mxUtils.getValue(a.style,mxConstants.STYLE_SEGMENT,g.gridSize)*f.scale;a=mxUtils.getValue(a.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_WEST);a==mxConstants.DIRECTION_NORTH||a==mxConstants.DIRECTION_SOUTH?(d=f.getRoutingCenterX(b),k=g):(l=f.getRoutingCenterY(b),\r\nm=g);null==c||c.x<b.x||c.x>b.x+b.width?null!=c?(d=c.x,m=Math.max(Math.abs(l-c.y),m)):a==mxConstants.DIRECTION_NORTH?l=b.y-2*k:a==mxConstants.DIRECTION_SOUTH?l=b.y+b.height+2*k:d=a==mxConstants.DIRECTION_EAST?b.x-2*m:b.x+b.width+2*m:null!=c&&(d=f.getRoutingCenterX(b),k=Math.max(Math.abs(d-c.x),m),l=c.y,m=0);e.push(new mxPoint(d-k,l-m));e.push(new mxPoint(d+k,l+m))}},ElbowConnector:function(a,b,c,d,e){var f=null!=d&&0<d.length?d[0]:null,g=!1,k=!1;if(null!=b&&null!=c)if(null!=f)var l=Math.min(b.x,c.x),\r\nm=Math.max(b.x+b.width,c.x+c.width),k=Math.min(b.y,c.y),n=Math.max(b.y+b.height,c.y+c.height),f=a.view.transformControlPoint(a,f),g=f.y<k||f.y>n,k=f.x<l||f.x>m;else l=Math.max(b.x,c.x),m=Math.min(b.x+b.width,c.x+c.width),(g=l==m)||(k=Math.max(b.y,c.y),n=Math.min(b.y+b.height,c.y+c.height),k=k==n);k||!g&&a.style[mxConstants.STYLE_ELBOW]!=mxConstants.ELBOW_VERTICAL?mxEdgeStyle.SideToSide(a,b,c,d,e):mxEdgeStyle.TopToBottom(a,b,c,d,e)},SideToSide:function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?\r\nd[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null!=k&&(b=new mxCellState,b.x=k.x,b.y=k.y);null!=g&&(c=new mxCellState,c.x=g.x,c.y=g.y);null!=b&&null!=c&&(a=Math.max(b.x,c.x),k=Math.min(b.x+b.width,c.x+c.width),a=null!=d?d.x:Math.round(k+(a-k)/2),k=f.getRoutingCenterY(b),f=f.getRoutingCenterY(c),null!=d&&(d.y>=b.y&&d.y<=b.y+b.height&&(k=d.y),d.y>=c.y&&d.y<=c.y+c.height&&(f=d.y)),mxUtils.contains(c,a,k)||mxUtils.contains(b,a,k)||e.push(new mxPoint(a,\r\nk)),mxUtils.contains(c,a,f)||mxUtils.contains(b,a,f)||e.push(new mxPoint(a,f)),1==e.length&&(null!=d?mxUtils.contains(c,a,d.y)||mxUtils.contains(b,a,d.y)||e.push(new mxPoint(a,d.y)):(f=Math.max(b.y,c.y),e.push(new mxPoint(a,f+(Math.min(b.y+b.height,c.y+c.height)-f)/2)))))},TopToBottom:function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null!=k&&(b=new mxCellState,b.x=k.x,b.y=k.y);null!=g&&(c=new mxCellState,\r\nc.x=g.x,c.y=g.y);null!=b&&null!=c&&(k=Math.max(b.y,c.y),g=Math.min(b.y+b.height,c.y+c.height),a=f.getRoutingCenterX(b),null!=d&&d.x>=b.x&&d.x<=b.x+b.width&&(a=d.x),k=null!=d?d.y:Math.round(g+(k-g)/2),mxUtils.contains(c,a,k)||mxUtils.contains(b,a,k)||e.push(new mxPoint(a,k)),a=null!=d&&d.x>=c.x&&d.x<=c.x+c.width?d.x:f.getRoutingCenterX(c),mxUtils.contains(c,a,k)||mxUtils.contains(b,a,k)||e.push(new mxPoint(a,k)),1==e.length&&(null!=d&&1==e.length?mxUtils.contains(c,d.x,k)||mxUtils.contains(b,d.x,k)||\r\ne.push(new mxPoint(d.x,k)):(f=Math.max(b.x,c.x),e.push(new mxPoint(f+(Math.min(b.x+b.width,c.x+c.width)-f)/2,k)))))},SegmentConnector:function(a,b,c,d,e){var f=mxEdgeStyle.scalePointArray(a.absolutePoints,a.view.scale);b=mxEdgeStyle.scaleCellState(b,a.view.scale);var g=mxEdgeStyle.scaleCellState(c,a.view.scale);c=[];var k=0<e.length?e[0]:null,l=!0,m=f[0];null==m&&null!=b?m=new mxPoint(a.view.getRoutingCenterX(b),a.view.getRoutingCenterY(b)):null!=m&&(m=m.clone());var n=f.length-1;if(null!=d&&0<d.length){for(var p=\r\n[],q=0;q<d.length;q++){var r=a.view.transformControlPoint(a,d[q],!0);null!=r&&p.push(r)}if(0==p.length)return;null!=m&&null!=p[0]&&(1>Math.abs(p[0].x-m.x)&&(p[0].x=m.x),1>Math.abs(p[0].y-m.y)&&(p[0].y=m.y));r=f[n];null!=r&&null!=p[p.length-1]&&(1>Math.abs(p[p.length-1].x-r.x)&&(p[p.length-1].x=r.x),1>Math.abs(p[p.length-1].y-r.y)&&(p[p.length-1].y=r.y));d=p[0];var t=b,u=f[0],x;x=d;null!=u&&(t=null);for(q=0;2>q;q++){var y=null!=u&&u.x==x.x,B=null!=u&&u.y==x.y,A=null!=t&&x.y>=t.y&&x.y<=t.y+t.height,\r\nz=null!=t&&x.x>=t.x&&x.x<=t.x+t.width,t=B||null==u&&A;x=y||null==u&&z;if(0!=q||!(t&&x||y&&B)){if(null!=u&&!B&&!y&&(A||z)){l=A?!1:!0;break}if(x||t){l=t;1==q&&(l=0==p.length%2?t:x);break}}t=g;u=f[n];null!=u&&(t=null);x=p[p.length-1];y&&B&&(p=p.slice(1))}l&&(null!=f[0]&&f[0].y!=d.y||null==f[0]&&null!=b&&(d.y<b.y||d.y>b.y+b.height))?c.push(new mxPoint(m.x,d.y)):!l&&(null!=f[0]&&f[0].x!=d.x||null==f[0]&&null!=b&&(d.x<b.x||d.x>b.x+b.width))&&c.push(new mxPoint(d.x,m.y));l?m.y=d.y:m.x=d.x;for(q=0;q<p.length;q++)l=\r\n!l,d=p[q],l?m.y=d.y:m.x=d.x,c.push(m.clone())}else d=m,l=!0;m=f[n];null==m&&null!=g&&(m=new mxPoint(a.view.getRoutingCenterX(g),a.view.getRoutingCenterY(g)));null!=m&&null!=d&&(l&&(null!=f[n]&&f[n].y!=d.y||null==f[n]&&null!=g&&(d.y<g.y||d.y>g.y+g.height))?c.push(new mxPoint(m.x,d.y)):!l&&(null!=f[n]&&f[n].x!=d.x||null==f[n]&&null!=g&&(d.x<g.x||d.x>g.x+g.width))&&c.push(new mxPoint(d.x,m.y)));if(null==f[0]&&null!=b)for(;0<c.length&&null!=c[0]&&mxUtils.contains(b,c[0].x,c[0].y);)c.splice(0,1);if(null==\r\nf[n]&&null!=g)for(;0<c.length&&null!=c[c.length-1]&&mxUtils.contains(g,c[c.length-1].x,c[c.length-1].y);)c.splice(c.length-1,1);for(q=0;q<c.length;q++)if(f=c[q],f.x=Math.round(f.x*a.view.scale*10)/10,f.y=Math.round(f.y*a.view.scale*10)/10,null==k||1<=Math.abs(k.x-f.x)||Math.abs(k.y-f.y)>=Math.max(1,a.view.scale))e.push(f),k=f;null!=r&&null!=e[e.length-1]&&1>=Math.abs(r.x-e[e.length-1].x)&&1>=Math.abs(r.y-e[e.length-1].y)&&(e.splice(e.length-1,1),null!=e[e.length-1]&&(1>Math.abs(e[e.length-1].x-r.x)&&\r\n(e[e.length-1].x=r.x),1>Math.abs(e[e.length-1].y-r.y)&&(e[e.length-1].y=r.y)))},orthBuffer:10,orthPointsFallback:!0,dirVectors:[[-1,0],[0,-1],[1,0],[0,1],[-1,0],[0,-1],[1,0]],wayPoints1:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],routePatterns:[[[513,2308,2081,2562],[513,1090,514,2184,2114,2561],[513,1090,514,2564,2184,2562],[513,2308,2561,1090,514,2568,2308]],[[514,1057,513,2308,2081,2562],[514,2184,2114,2561],[514,2184,2562,1057,513,2564,2184],[514,1057,513,2568,2308,\r\n2561]],[[1090,514,1057,513,2308,2081,2562],[2114,2561],[1090,2562,1057,513,2564,2184],[1090,514,1057,513,2308,2561,2568]],[[2081,2562],[1057,513,1090,514,2184,2114,2561],[1057,513,1090,514,2184,2562,2564],[1057,2561,1090,514,2568,2308]]],inlineRoutePatterns:[[null,[2114,2568],null,null],[null,[514,2081,2114,2568],null,null],[null,[2114,2561],null,null],[[2081,2562],[1057,2114,2568],[2184,2562],null]],vertexSeperations:[],limits:[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]],LEFT_MASK:32,TOP_MASK:64,RIGHT_MASK:128,\r\nBOTTOM_MASK:256,LEFT:1,TOP:2,RIGHT:4,BOTTOM:8,SIDE_MASK:480,CENTER_MASK:512,SOURCE_MASK:1024,TARGET_MASK:2048,VERTEX_MASK:3072,getJettySize:function(a,b){var c=mxUtils.getValue(a.style,b?mxConstants.STYLE_SOURCE_JETTY_SIZE:mxConstants.STYLE_TARGET_JETTY_SIZE,mxUtils.getValue(a.style,mxConstants.STYLE_JETTY_SIZE,mxEdgeStyle.orthBuffer));"auto"==c&&(mxUtils.getValue(a.style,b?mxConstants.STYLE_STARTARROW:mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE?(c=mxUtils.getNumber(a.style,b?mxConstants.STYLE_STARTSIZE:\r\nmxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE),c=Math.max(2,Math.ceil((c+mxEdgeStyle.orthBuffer)/mxEdgeStyle.orthBuffer))*mxEdgeStyle.orthBuffer):c=2*mxEdgeStyle.orthBuffer);return c},scalePointArray:function(a,b){var c=[];if(null!=a)for(var d=0;d<a.length;d++)if(null!=a[d]){var e=new mxPoint(Math.round(a[d].x/b*10)/10,Math.round(a[d].y/b*10)/10);c[d]=e}else c[d]=null;else c=null;return c},scaleCellState:function(a,b){var c;null!=a?(c=a.clone(),c.setRect(Math.round(a.x/b*10)/10,Math.round(a.y/\r\nb*10)/10,Math.round(a.width/b*10)/10,Math.round(a.height/b*10)/10)):c=null;return c},OrthConnector:function(a,b,c,d,e){var f=a.view.graph,g=null==l?!1:f.getModel().isEdge(l.cell),k=null==m?!1:f.getModel().isEdge(m.cell),f=mxEdgeStyle.scalePointArray(a.absolutePoints,a.view.scale),l=mxEdgeStyle.scaleCellState(b,a.view.scale),m=mxEdgeStyle.scaleCellState(c,a.view.scale),n=f[0],p=f[f.length-1],q=null!=l?l.x:n.x,r=null!=l?l.y:n.y,t=null!=l?l.width:0,u=null!=l?l.height:0,x=null!=m?m.x:p.x,y=null!=m?m.y:\r\np.y,B=null!=m?m.width:0,A=null!=m?m.height:0,f=mxEdgeStyle.getJettySize(a,!0),z=mxEdgeStyle.getJettySize(a,!1);null!=l&&m==l&&(f=z=Math.max(f,z));var C=z+f,v=!1;if(null!=n&&null!=p)var v=p.x-n.x,D=p.y-n.y,v=v*v+D*D<C*C;if(v||mxEdgeStyle.orthPointsFallback&&null!=d&&0<d.length||g||k)mxEdgeStyle.SegmentConnector(a,b,c,d,e);else{c=[mxConstants.DIRECTION_MASK_ALL,mxConstants.DIRECTION_MASK_ALL];null!=l&&(c[0]=mxUtils.getPortConstraints(l,a,!0,mxConstants.DIRECTION_MASK_ALL),b=mxUtils.getValue(l.style,\r\nmxConstants.STYLE_ROTATION,0),0!=b&&(b=mxUtils.getBoundingBox(new mxRectangle(q,r,t,u),b),q=b.x,r=b.y,t=b.width,u=b.height));null!=m&&(c[1]=mxUtils.getPortConstraints(m,a,!1,mxConstants.DIRECTION_MASK_ALL),b=mxUtils.getValue(m.style,mxConstants.STYLE_ROTATION,0),0!=b&&(b=mxUtils.getBoundingBox(new mxRectangle(x,y,B,A),b),x=b.x,y=b.y,B=b.width,A=b.height));b=[0,0];q=[[q,r,t,u],[x,y,B,A]];z=[f,z];for(v=0;2>v;v++)mxEdgeStyle.limits[v][1]=q[v][0]-z[v],mxEdgeStyle.limits[v][2]=q[v][1]-z[v],mxEdgeStyle.limits[v][4]=\r\nq[v][0]+q[v][2]+z[v],mxEdgeStyle.limits[v][8]=q[v][1]+q[v][3]+z[v];z=q[0][1]+q[0][3]/2;r=q[1][1]+q[1][3]/2;v=q[0][0]+q[0][2]/2-(q[1][0]+q[1][2]/2);D=z-r;z=0;0>v?z=0>D?2:1:0>=D&&(z=3,0==v&&(z=2));r=null;null!=l&&(r=n);l=[[.5,.5],[.5,.5]];for(v=0;2>v;v++)null!=r&&(l[v][0]=(r.x-q[v][0])/q[v][2],1>=Math.abs(r.x-q[v][0])?b[v]=mxConstants.DIRECTION_MASK_WEST:1>=Math.abs(r.x-q[v][0]-q[v][2])&&(b[v]=mxConstants.DIRECTION_MASK_EAST),l[v][1]=(r.y-q[v][1])/q[v][3],1>=Math.abs(r.y-q[v][1])?b[v]=mxConstants.DIRECTION_MASK_NORTH:\r\n1>=Math.abs(r.y-q[v][1]-q[v][3])&&(b[v]=mxConstants.DIRECTION_MASK_SOUTH)),r=null,null!=m&&(r=p);v=q[0][1]-(q[1][1]+q[1][3]);p=q[0][0]-(q[1][0]+q[1][2]);r=q[1][1]-(q[0][1]+q[0][3]);t=q[1][0]-(q[0][0]+q[0][2]);mxEdgeStyle.vertexSeperations[1]=Math.max(p-C,0);mxEdgeStyle.vertexSeperations[2]=Math.max(v-C,0);mxEdgeStyle.vertexSeperations[4]=Math.max(r-C,0);mxEdgeStyle.vertexSeperations[3]=Math.max(t-C,0);C=[];m=[];n=[];m[0]=p>=t?mxConstants.DIRECTION_MASK_WEST:mxConstants.DIRECTION_MASK_EAST;n[0]=v>=\r\nr?mxConstants.DIRECTION_MASK_NORTH:mxConstants.DIRECTION_MASK_SOUTH;m[1]=mxUtils.reversePortConstraints(m[0]);n[1]=mxUtils.reversePortConstraints(n[0]);p=p>=t?p:t;r=v>=r?v:r;t=[[0,0],[0,0]];u=!1;for(v=0;2>v;v++)0==b[v]&&(0==(m[v]&c[v])&&(m[v]=mxUtils.reversePortConstraints(m[v])),0==(n[v]&c[v])&&(n[v]=mxUtils.reversePortConstraints(n[v])),t[v][0]=n[v],t[v][1]=m[v]);0<r&&0<p&&(0<(m[0]&c[0])&&0<(n[1]&c[1])?(t[0][0]=m[0],t[0][1]=n[0],t[1][0]=n[1],t[1][1]=m[1],u=!0):0<(n[0]&c[0])&&0<(m[1]&c[1])&&(t[0][0]=\r\nn[0],t[0][1]=m[0],t[1][0]=m[1],t[1][1]=n[1],u=!0));0<r&&!u&&(t[0][0]=n[0],t[0][1]=m[0],t[1][0]=n[1],t[1][1]=m[1],u=!0);0<p&&!u&&(t[0][0]=m[0],t[0][1]=n[0],t[1][0]=m[1],t[1][1]=n[1]);for(v=0;2>v;v++)0==b[v]&&(0==(t[v][0]&c[v])&&(t[v][0]=t[v][1]),C[v]=t[v][0]&c[v],C[v]|=(t[v][1]&c[v])<<8,C[v]|=(t[1-v][v]&c[v])<<16,C[v]|=(t[1-v][1-v]&c[v])<<24,0==(C[v]&15)&&(C[v]<<=8),0==(C[v]&3840)&&(C[v]=C[v]&15|C[v]>>8),0==(C[v]&983040)&&(C[v]=C[v]&65535|(C[v]&251658240)>>8),b[v]=C[v]&15,c[v]==mxConstants.DIRECTION_MASK_WEST||\r\nc[v]==mxConstants.DIRECTION_MASK_NORTH||c[v]==mxConstants.DIRECTION_MASK_EAST||c[v]==mxConstants.DIRECTION_MASK_SOUTH)&&(b[v]=c[v]);c=b[0]==mxConstants.DIRECTION_MASK_EAST?3:b[0];C=b[1]==mxConstants.DIRECTION_MASK_EAST?3:b[1];c-=z;C-=z;1>c&&(c+=4);1>C&&(C+=4);c=mxEdgeStyle.routePatterns[c-1][C-1];mxEdgeStyle.wayPoints1[0][0]=q[0][0];mxEdgeStyle.wayPoints1[0][1]=q[0][1];switch(b[0]){case mxConstants.DIRECTION_MASK_WEST:mxEdgeStyle.wayPoints1[0][0]-=f;mxEdgeStyle.wayPoints1[0][1]+=l[0][1]*q[0][3];break;\r\ncase mxConstants.DIRECTION_MASK_SOUTH:mxEdgeStyle.wayPoints1[0][0]+=l[0][0]*q[0][2];mxEdgeStyle.wayPoints1[0][1]+=q[0][3]+f;break;case mxConstants.DIRECTION_MASK_EAST:mxEdgeStyle.wayPoints1[0][0]+=q[0][2]+f;mxEdgeStyle.wayPoints1[0][1]+=l[0][1]*q[0][3];break;case mxConstants.DIRECTION_MASK_NORTH:mxEdgeStyle.wayPoints1[0][0]+=l[0][0]*q[0][2],mxEdgeStyle.wayPoints1[0][1]-=f}f=0;m=C=0<(b[0]&(mxConstants.DIRECTION_MASK_EAST|mxConstants.DIRECTION_MASK_WEST))?0:1;for(v=0;v<c.length;v++)n=c[v]&15,u=n==mxConstants.DIRECTION_MASK_EAST?\r\n3:n,u+=z,4<u&&(u-=4),p=mxEdgeStyle.dirVectors[u-1],n=0<u%2?0:1,n!=C&&(f++,mxEdgeStyle.wayPoints1[f][0]=mxEdgeStyle.wayPoints1[f-1][0],mxEdgeStyle.wayPoints1[f][1]=mxEdgeStyle.wayPoints1[f-1][1]),x=0<(c[v]&mxEdgeStyle.TARGET_MASK),y=0<(c[v]&mxEdgeStyle.SOURCE_MASK),r=(c[v]&mxEdgeStyle.SIDE_MASK)>>5,r<<=z,15<r&&(r>>=4),t=0<(c[v]&mxEdgeStyle.CENTER_MASK),(y||x)&&9>r?(u=y?0:1,r=t&&0==n?q[u][0]+l[u][0]*q[u][2]:t?q[u][1]+l[u][1]*q[u][3]:mxEdgeStyle.limits[u][r],0==n?(r=(r-mxEdgeStyle.wayPoints1[f][0])*\r\np[0],0<r&&(mxEdgeStyle.wayPoints1[f][0]+=p[0]*r)):(r=(r-mxEdgeStyle.wayPoints1[f][1])*p[1],0<r&&(mxEdgeStyle.wayPoints1[f][1]+=p[1]*r))):t&&(mxEdgeStyle.wayPoints1[f][0]+=p[0]*Math.abs(mxEdgeStyle.vertexSeperations[u]/2),mxEdgeStyle.wayPoints1[f][1]+=p[1]*Math.abs(mxEdgeStyle.vertexSeperations[u]/2)),0<f&&mxEdgeStyle.wayPoints1[f][n]==mxEdgeStyle.wayPoints1[f-1][n]?f--:C=n;for(v=0;v<=f&&(v!=f||((0<(b[1]&(mxConstants.DIRECTION_MASK_EAST|mxConstants.DIRECTION_MASK_WEST))?0:1)==m?0:1)==(f+1)%2);v++)e.push(new mxPoint(Math.round(mxEdgeStyle.wayPoints1[v][0]*\r\na.view.scale*10)/10,Math.round(mxEdgeStyle.wayPoints1[v][1]*a.view.scale*10)/10));for(a=1;a<e.length;)null==e[a-1]||null==e[a]||e[a-1].x!=e[a].x||e[a-1].y!=e[a].y?a++:e.splice(a,1)}},getRoutePattern:function(a,b,c,d){var e=a[0]==mxConstants.DIRECTION_MASK_EAST?3:a[0];a=a[1]==mxConstants.DIRECTION_MASK_EAST?3:a[1];e-=b;a-=b;1>e&&(e+=4);1>a&&(a+=4);b=routePatterns[e-1][a-1];0!=c&&0!=d||null==inlineRoutePatterns[e-1][a-1]||(b=inlineRoutePatterns[e-1][a-1]);return b}},mxStyleRegistry={values:[],putValue:function(a,\r\nb){mxStyleRegistry.values[a]=b},getValue:function(a){return mxStyleRegistry.values[a]},getName:function(a){for(var b in mxStyleRegistry.values)if(mxStyleRegistry.values[b]==a)return b;return null}};mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ELBOW,mxEdgeStyle.ElbowConnector);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ENTITY_RELATION,mxEdgeStyle.EntityRelation);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_LOOP,mxEdgeStyle.Loop);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_SIDETOSIDE,mxEdgeStyle.SideToSide);\r\nmxStyleRegistry.putValue(mxConstants.EDGESTYLE_TOPTOBOTTOM,mxEdgeStyle.TopToBottom);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ORTHOGONAL,mxEdgeStyle.OrthConnector);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_SEGMENT,mxEdgeStyle.SegmentConnector);mxStyleRegistry.putValue(mxConstants.PERIMETER_ELLIPSE,mxPerimeter.EllipsePerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_RECTANGLE,mxPerimeter.RectanglePerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_RHOMBUS,mxPerimeter.RhombusPerimeter);\r\nmxStyleRegistry.putValue(mxConstants.PERIMETER_TRIANGLE,mxPerimeter.TrianglePerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_HEXAGON,mxPerimeter.HexagonPerimeter);function mxGraphView(a){this.graph=a;this.translate=new mxPoint;this.graphBounds=new mxRectangle;this.states=new mxDictionary}mxGraphView.prototype=new mxEventSource;mxGraphView.prototype.constructor=mxGraphView;mxGraphView.prototype.EMPTY_POINT=new mxPoint;mxGraphView.prototype.doneResource="none"!=mxClient.language?"done":"";\r\nmxGraphView.prototype.updatingDocumentResource="none"!=mxClient.language?"updatingDocument":"";mxGraphView.prototype.allowEval=!1;mxGraphView.prototype.captureDocumentGesture=!0;mxGraphView.prototype.rendering=!0;mxGraphView.prototype.graph=null;mxGraphView.prototype.currentRoot=null;mxGraphView.prototype.graphBounds=null;mxGraphView.prototype.scale=1;mxGraphView.prototype.translate=null;mxGraphView.prototype.states=null;mxGraphView.prototype.updateStyle=!1;mxGraphView.prototype.lastNode=null;\r\nmxGraphView.prototype.lastHtmlNode=null;mxGraphView.prototype.lastForegroundNode=null;mxGraphView.prototype.lastForegroundHtmlNode=null;mxGraphView.prototype.getGraphBounds=function(){return this.graphBounds};mxGraphView.prototype.setGraphBounds=function(a){this.graphBounds=a};\r\nmxGraphView.prototype.getBounds=function(a){var b=null;if(null!=a&&0<a.length)for(var c=this.graph.getModel(),d=0;d<a.length;d++)if(c.isVertex(a[d])||c.isEdge(a[d])){var e=this.getState(a[d]);null!=e&&(null==b?b=mxRectangle.fromRectangle(e):b.add(e))}return b};mxGraphView.prototype.setCurrentRoot=function(a){if(this.currentRoot!=a){var b=new mxCurrentRootChange(this,a);b.execute();var c=new mxUndoableEdit(this,!0);c.add(b);this.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",c));this.graph.sizeDidChange()}return a};\r\nmxGraphView.prototype.scaleAndTranslate=function(a,b,c){var d=this.scale,e=new mxPoint(this.translate.x,this.translate.y);if(this.scale!=a||this.translate.x!=b||this.translate.y!=c)this.scale=a,this.translate.x=b,this.translate.y=c,this.isEventsEnabled()&&this.viewStateChanged();this.fireEvent(new mxEventObject(mxEvent.SCALE_AND_TRANSLATE,"scale",a,"previousScale",d,"translate",this.translate,"previousTranslate",e))};mxGraphView.prototype.getScale=function(){return this.scale};\r\nmxGraphView.prototype.setScale=function(a){var b=this.scale;this.scale!=a&&(this.scale=a,this.isEventsEnabled()&&this.viewStateChanged());this.fireEvent(new mxEventObject(mxEvent.SCALE,"scale",a,"previousScale",b))};mxGraphView.prototype.getTranslate=function(){return this.translate};\r\nmxGraphView.prototype.setTranslate=function(a,b){var c=new mxPoint(this.translate.x,this.translate.y);if(this.translate.x!=a||this.translate.y!=b)this.translate.x=a,this.translate.y=b,this.isEventsEnabled()&&this.viewStateChanged();this.fireEvent(new mxEventObject(mxEvent.TRANSLATE,"translate",this.translate,"previousTranslate",c))};mxGraphView.prototype.viewStateChanged=function(){this.revalidate();this.graph.sizeDidChange()};\r\nmxGraphView.prototype.refresh=function(){null!=this.currentRoot&&this.clear();this.revalidate()};mxGraphView.prototype.revalidate=function(){this.invalidate();this.validate()};mxGraphView.prototype.clear=function(a,b,c){var d=this.graph.getModel();a=a||d.getRoot();b=null!=b?b:!1;c=null!=c?c:!0;this.removeState(a);if(c&&(b||a!=this.currentRoot)){c=d.getChildCount(a);for(var e=0;e<c;e++)this.clear(d.getChildAt(a,e),b)}else this.invalidate(a)};\r\nmxGraphView.prototype.invalidate=function(a,b,c){var d=this.graph.getModel();a=a||d.getRoot();b=null!=b?b:!0;c=null!=c?c:!0;var e=this.getState(a);null!=e&&(e.invalid=!0);if(!a.invalidating){a.invalidating=!0;if(b)for(var f=d.getChildCount(a),e=0;e<f;e++){var g=d.getChildAt(a,e);this.invalidate(g,b,c)}if(c)for(f=d.getEdgeCount(a),e=0;e<f;e++)this.invalidate(d.getEdgeAt(a,e),b,c);delete a.invalidating}};\r\nmxGraphView.prototype.validate=function(a){var b=mxLog.enter("mxGraphView.validate");window.status=mxResources.get(this.updatingDocumentResource)||this.updatingDocumentResource;this.resetValidationState();var c=null;null==this.canvas||null!=this.textDiv||8!=document.documentMode||mxClient.IS_EM||(this.placeholder=document.createElement("div"),this.placeholder.style.position="absolute",this.placeholder.style.width=this.canvas.clientWidth+"px",this.placeholder.style.height=this.canvas.clientHeight+\r\n"px",this.canvas.parentNode.appendChild(this.placeholder),c=this.drawPane.style.display,this.canvas.style.display="none",this.textDiv=document.createElement("div"),this.textDiv.style.position="absolute",this.textDiv.style.whiteSpace="nowrap",this.textDiv.style.visibility="hidden",this.textDiv.style.display="inline-block",this.textDiv.style.zoom="1",document.body.appendChild(this.textDiv));a=this.getBoundingBox(this.validateCellState(this.validateCell(a||(null!=this.currentRoot?this.currentRoot:this.graph.getModel().getRoot()))));\r\nthis.setGraphBounds(null!=a?a:this.getEmptyBounds());this.validateBackground();null!=c&&(this.canvas.style.display=c,this.textDiv.parentNode.removeChild(this.textDiv),null!=this.placeholder&&this.placeholder.parentNode.removeChild(this.placeholder),this.textDiv=null);this.resetValidationState();window.status=mxResources.get(this.doneResource)||this.doneResource;mxLog.leave("mxGraphView.validate",b)};\r\nmxGraphView.prototype.getEmptyBounds=function(){return new mxRectangle(this.translate.x*this.scale,this.translate.y*this.scale)};\r\nmxGraphView.prototype.getBoundingBox=function(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&(null!=a.shape&&null!=a.shape.boundingBox&&(c=a.shape.boundingBox.clone()),null!=a.text&&null!=a.text.boundingBox&&(null!=c?c.add(a.text.boundingBox):c=a.text.boundingBox.clone()),b))for(var d=this.graph.getModel(),e=d.getChildCount(a.cell),f=0;f<e;f++){var g=this.getBoundingBox(this.getState(d.getChildAt(a.cell,f)));null!=g&&(null==c?c=g:c.add(g))}return c};\r\nmxGraphView.prototype.createBackgroundPageShape=function(a){return new mxRectangleShape(a,"white","black")};mxGraphView.prototype.validateBackground=function(){this.validateBackgroundImage();this.validateBackgroundPage()};\r\nmxGraphView.prototype.validateBackgroundImage=function(){var a=this.graph.getBackgroundImage();if(null!=a){if(null==this.backgroundImage||this.backgroundImage.image!=a.src){null!=this.backgroundImage&&this.backgroundImage.destroy();var b=new mxRectangle(0,0,1,1);this.backgroundImage=new mxImageShape(b,a.src);this.backgroundImage.dialect=this.graph.dialect;this.backgroundImage.init(this.backgroundPane);this.backgroundImage.redraw();8!=document.documentMode||mxClient.IS_EM||mxEvent.addGestureListeners(this.backgroundImage.node,\r\nmxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a))}),mxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a))}),mxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(a))}))}this.redrawBackgroundImage(this.backgroundImage,a)}else null!=this.backgroundImage&&(this.backgroundImage.destroy(),this.backgroundImage=null)};\r\nmxGraphView.prototype.validateBackgroundPage=function(){if(this.graph.pageVisible){var a=this.getBackgroundPageBounds();null==this.backgroundPageShape?(this.backgroundPageShape=this.createBackgroundPageShape(a),this.backgroundPageShape.scale=this.scale,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=this.graph.dialect,this.backgroundPageShape.init(this.backgroundPane),this.backgroundPageShape.redraw(),this.graph.nativeDblClickEnabled&&mxEvent.addListener(this.backgroundPageShape.node,\r\n"dblclick",mxUtils.bind(this,function(a){this.graph.dblClick(a)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a))}),mxUtils.bind(this,function(a){null!=this.graph.tooltipHandler&&this.graph.tooltipHandler.isHideOnHover()&&this.graph.tooltipHandler.hide();this.graph.isMouseDown&&!mxEvent.isConsumed(a)&&this.graph.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a))}),mxUtils.bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_UP,\r\nnew mxMouseEvent(a))}))):(this.backgroundPageShape.scale=this.scale,this.backgroundPageShape.bounds=a,this.backgroundPageShape.redraw())}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null)};mxGraphView.prototype.getBackgroundPageBounds=function(){var a=this.graph.pageFormat,b=this.scale*this.graph.pageScale;return new mxRectangle(this.scale*this.translate.x,this.scale*this.translate.y,a.width*b,a.height*b)};\r\nmxGraphView.prototype.redrawBackgroundImage=function(a,b){a.scale=this.scale;a.bounds.x=this.scale*this.translate.x;a.bounds.y=this.scale*this.translate.y;a.bounds.width=this.scale*b.width;a.bounds.height=this.scale*b.height;a.redraw()};\r\nmxGraphView.prototype.validateCell=function(a,b){if(null!=a)if(b=(null!=b?b:!0)&&this.graph.isCellVisible(a),null==this.getState(a,b)||b)for(var c=this.graph.getModel(),d=c.getChildCount(a),e=0;e<d;e++)this.validateCell(c.getChildAt(a,e),b&&(!this.isCellCollapsed(a)||a==this.currentRoot));else this.removeState(a);return a};\r\nmxGraphView.prototype.validateCellState=function(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&(c=this.getState(a),null!=c)){var d=this.graph.getModel();if(c.invalid){c.invalid=!1;if(null==c.style||c.invalidStyle)c.style=this.graph.getCellStyle(c.cell),c.invalidStyle=!1;a!=this.currentRoot&&this.validateCellState(d.getParent(a),!1);c.setVisibleTerminalState(this.validateCellState(this.getVisibleTerminal(a,!0),!1),!0);c.setVisibleTerminalState(this.validateCellState(this.getVisibleTerminal(a,!1),!1),\r\n!1);this.updateCellState(c);a==this.currentRoot||c.invalid||(this.graph.cellRenderer.redraw(c,!1,this.isRendering()),c.updateCachedBounds())}if(b&&!c.invalid){null!=c.shape&&this.stateValidated(c);for(var e=d.getChildCount(a),f=0;f<e;f++)this.validateCellState(d.getChildAt(a,f))}}return c};\r\nmxGraphView.prototype.updateCellState=function(a){a.absoluteOffset.x=0;a.absoluteOffset.y=0;a.origin.x=0;a.origin.y=0;a.length=0;if(a.cell!=this.currentRoot){var b=this.graph.getModel(),c=this.getState(b.getParent(a.cell));null!=c&&c.cell!=this.currentRoot&&(a.origin.x+=c.origin.x,a.origin.y+=c.origin.y);var d=this.graph.getChildOffsetForCell(a.cell);null!=d&&(a.origin.x+=d.x,a.origin.y+=d.y);var e=this.graph.getCellGeometry(a.cell);null!=e&&(b.isEdge(a.cell)||(d=null!=e.offset?e.offset:this.EMPTY_POINT,\r\ne.relative&&null!=c?b.isEdge(c.cell)?(d=this.getPoint(c,e),null!=d&&(a.origin.x+=d.x/this.scale-c.origin.x-this.translate.x,a.origin.y+=d.y/this.scale-c.origin.y-this.translate.y)):(a.origin.x+=e.x*c.unscaledWidth+d.x,a.origin.y+=e.y*c.unscaledHeight+d.y):(a.absoluteOffset.x=this.scale*d.x,a.absoluteOffset.y=this.scale*d.y,a.origin.x+=e.x,a.origin.y+=e.y)),a.x=this.scale*(this.translate.x+a.origin.x),a.y=this.scale*(this.translate.y+a.origin.y),a.width=this.scale*e.width,a.unscaledWidth=e.width,a.height=\r\nthis.scale*e.height,a.unscaledHeight=e.height,b.isVertex(a.cell)&&this.updateVertexState(a,e),b.isEdge(a.cell)&&this.updateEdgeState(a,e))}a.updateCachedBounds()};mxGraphView.prototype.isCellCollapsed=function(a){return this.graph.isCellCollapsed(a)};\r\nmxGraphView.prototype.updateVertexState=function(a,b){var c=this.graph.getModel(),d=this.getState(c.getParent(a.cell));if(b.relative&&null!=d&&!c.isEdge(d.cell)){var e=mxUtils.toRadians(d.style[mxConstants.STYLE_ROTATION]||"0");if(0!=e){var c=Math.cos(e),e=Math.sin(e),f=new mxPoint(a.getCenterX(),a.getCenterY()),d=new mxPoint(d.getCenterX(),d.getCenterY()),d=mxUtils.getRotatedPoint(f,c,e,d);a.x=d.x-a.width/2;a.y=d.y-a.height/2}}this.updateVertexLabelOffset(a)};\r\nmxGraphView.prototype.updateEdgeState=function(a,b){var c=a.getVisibleTerminalState(!0),d=a.getVisibleTerminalState(!1);null!=this.graph.model.getTerminal(a.cell,!0)&&null==c||null==c&&null==b.getTerminalPoint(!0)||null!=this.graph.model.getTerminal(a.cell,!1)&&null==d||null==d&&null==b.getTerminalPoint(!1)?this.clear(a.cell,!0):(this.updateFixedTerminalPoints(a,c,d),this.updatePoints(a,b.points,c,d),this.updateFloatingTerminalPoints(a,c,d),c=a.absolutePoints,a.cell!=this.currentRoot&&(null==c||2>\r\nc.length||null==c[0]||null==c[c.length-1])?this.clear(a.cell,!0):(this.updateEdgeBounds(a),this.updateEdgeLabelOffset(a)))};\r\nmxGraphView.prototype.updateVertexLabelOffset=function(a){var b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);if(b==mxConstants.ALIGN_LEFT)b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null),b=null!=b?b*this.scale:a.width,a.absoluteOffset.x-=b;else if(b==mxConstants.ALIGN_RIGHT)a.absoluteOffset.x+=a.width;else if(b==mxConstants.ALIGN_CENTER&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null),null!=b)){var c=mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,\r\nmxConstants.ALIGN_CENTER),d=0;c==mxConstants.ALIGN_CENTER?d=.5:c==mxConstants.ALIGN_RIGHT&&(d=1);0!=d&&(a.absoluteOffset.x-=(b*this.scale-a.width)*d)}b=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);b==mxConstants.ALIGN_TOP?a.absoluteOffset.y-=a.height:b==mxConstants.ALIGN_BOTTOM&&(a.absoluteOffset.y+=a.height)};mxGraphView.prototype.resetValidationState=function(){this.lastForegroundHtmlNode=this.lastForegroundNode=this.lastHtmlNode=this.lastNode=null};\r\nmxGraphView.prototype.stateValidated=function(a){var b=this.graph.getModel().isEdge(a.cell)&&this.graph.keepEdgesInForeground||this.graph.getModel().isVertex(a.cell)&&this.graph.keepEdgesInBackground;a=this.graph.cellRenderer.insertStateAfter(a,b?this.lastForegroundNode||this.lastNode:this.lastNode,b?this.lastForegroundHtmlNode||this.lastHtmlNode:this.lastHtmlNode);b?(this.lastForegroundHtmlNode=a[1],this.lastForegroundNode=a[0]):(this.lastHtmlNode=a[1],this.lastNode=a[0])};\r\nmxGraphView.prototype.updateFixedTerminalPoints=function(a,b,c){this.updateFixedTerminalPoint(a,b,!0,this.graph.getConnectionConstraint(a,b,!0));this.updateFixedTerminalPoint(a,c,!1,this.graph.getConnectionConstraint(a,c,!1))};mxGraphView.prototype.updateFixedTerminalPoint=function(a,b,c,d){a.setAbsoluteTerminalPoint(this.getFixedTerminalPoint(a,b,c,d),c)};\r\nmxGraphView.prototype.getFixedTerminalPoint=function(a,b,c,d){var e=null;null!=d&&(e=this.graph.getConnectionPoint(b,d,!1));if(null==e&&null==b){b=this.scale;d=this.translate;var f=a.origin,e=this.graph.getCellGeometry(a.cell).getTerminalPoint(c);null!=e&&(e=new mxPoint(b*(d.x+e.x+f.x),b*(d.y+e.y+f.y)))}return e};\r\nmxGraphView.prototype.updateBoundsFromStencil=function(a){var b=null;if(null!=a&&null!=a.shape&&null!=a.shape.stencil&&"fixed"==a.shape.stencil.aspect){var b=mxRectangle.fromRectangle(a),c=a.shape.stencil.computeAspect(a.style,a.x,a.y,a.width,a.height);a.setRect(c.x,c.y,a.shape.stencil.w0*c.width,a.shape.stencil.h0*c.height)}return b};\r\nmxGraphView.prototype.updatePoints=function(a,b,c,d){if(null!=a){var e=[];e.push(a.absolutePoints[0]);var f=this.getEdgeStyle(a,b,c,d);if(null!=f){c=this.getTerminalPort(a,c,!0);d=this.getTerminalPort(a,d,!1);var g=this.updateBoundsFromStencil(c),k=this.updateBoundsFromStencil(d);f(a,c,d,b,e);null!=g&&c.setRect(g.x,g.y,g.width,g.height);null!=k&&d.setRect(k.x,k.y,k.width,k.height)}else if(null!=b)for(f=0;f<b.length;f++)null!=b[f]&&(c=mxUtils.clone(b[f]),e.push(this.transformControlPoint(a,c)));b=\r\na.absolutePoints;e.push(b[b.length-1]);a.absolutePoints=e}};mxGraphView.prototype.transformControlPoint=function(a,b,c){return null!=a&&null!=b?(a=a.origin,c=c?1:this.scale,new mxPoint(c*(b.x+this.translate.x+a.x),c*(b.y+this.translate.y+a.y))):null};\r\nmxGraphView.prototype.isLoopStyleEnabled=function(a,b,c,d){var e=this.graph.getConnectionConstraint(a,c,!0),f=this.graph.getConnectionConstraint(a,d,!1);return!(null==b||2>b.length)||mxUtils.getValue(a.style,mxConstants.STYLE_ORTHOGONAL_LOOP,!1)&&(null!=e&&null!=e.point||null!=f&&null!=f.point)?!1:null!=c&&c==d};\r\nmxGraphView.prototype.getEdgeStyle=function(a,b,c,d){a=this.isLoopStyleEnabled(a,b,c,d)?mxUtils.getValue(a.style,mxConstants.STYLE_LOOP,this.graph.defaultLoopStyle):mxUtils.getValue(a.style,mxConstants.STYLE_NOEDGESTYLE,!1)?null:a.style[mxConstants.STYLE_EDGE];"string"==typeof a&&(b=mxStyleRegistry.getValue(a),null==b&&this.isAllowEval()&&(b=mxUtils.eval(a)),a=b);return"function"==typeof a?a:null};\r\nmxGraphView.prototype.updateFloatingTerminalPoints=function(a,b,c){var d=a.absolutePoints,e=d[0];null==d[d.length-1]&&null!=c&&this.updateFloatingTerminalPoint(a,c,b,!1);null==e&&null!=b&&this.updateFloatingTerminalPoint(a,b,c,!0)};mxGraphView.prototype.updateFloatingTerminalPoint=function(a,b,c,d){a.setAbsoluteTerminalPoint(this.getFloatingTerminalPoint(a,b,c,d),d)};\r\nmxGraphView.prototype.getFloatingTerminalPoint=function(a,b,c,d){b=this.getTerminalPort(a,b,d);var e=this.getNextPoint(a,c,d),f=this.graph.isOrthogonal(a);c=mxUtils.toRadians(Number(b.style[mxConstants.STYLE_ROTATION]||"0"));var g=new mxPoint(b.getCenterX(),b.getCenterY());if(0!=c)var k=Math.cos(-c),l=Math.sin(-c),e=mxUtils.getRotatedPoint(e,k,l,g);k=parseFloat(a.style[mxConstants.STYLE_PERIMETER_SPACING]||0);k+=parseFloat(a.style[d?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||\r\n0);a=this.getPerimeterPoint(b,e,0==c&&f,k);0!=c&&(k=Math.cos(c),l=Math.sin(c),a=mxUtils.getRotatedPoint(a,k,l,g));return a};mxGraphView.prototype.getTerminalPort=function(a,b,c){a=mxUtils.getValue(a.style,c?mxConstants.STYLE_SOURCE_PORT:mxConstants.STYLE_TARGET_PORT);null!=a&&(a=this.getState(this.graph.getModel().getCell(a)),null!=a&&(b=a));return b};\r\nmxGraphView.prototype.getPerimeterPoint=function(a,b,c,d){var e=null;if(null!=a){var f=this.getPerimeterFunction(a);if(null!=f&&null!=b&&(d=this.getPerimeterBounds(a,d),0<d.width||0<d.height)){var e=new mxPoint(b.x,b.y),g=b=!1;this.graph.model.isVertex(a.cell)&&(b=1==mxUtils.getValue(a.style,mxConstants.STYLE_FLIPH,0),g=1==mxUtils.getValue(a.style,mxConstants.STYLE_FLIPV,0),null!=a.shape&&null!=a.shape.stencil&&(b=1==mxUtils.getValue(a.style,"stencilFlipH",0)||b,g=1==mxUtils.getValue(a.style,"stencilFlipV",\r\n0)||g),b&&(e.x=2*d.getCenterX()-e.x),g&&(e.y=2*d.getCenterY()-e.y));e=f(d,a,e,c);null!=e&&(b&&(e.x=2*d.getCenterX()-e.x),g&&(e.y=2*d.getCenterY()-e.y))}null==e&&(e=this.getPoint(a))}return e};mxGraphView.prototype.getRoutingCenterX=function(a){var b=null!=a.style?parseFloat(a.style[mxConstants.STYLE_ROUTING_CENTER_X])||0:0;return a.getCenterX()+b*a.width};\r\nmxGraphView.prototype.getRoutingCenterY=function(a){var b=null!=a.style?parseFloat(a.style[mxConstants.STYLE_ROUTING_CENTER_Y])||0:0;return a.getCenterY()+b*a.height};mxGraphView.prototype.getPerimeterBounds=function(a,b){b=null!=b?b:0;null!=a&&(b+=parseFloat(a.style[mxConstants.STYLE_PERIMETER_SPACING]||0));return a.getPerimeterBounds(b*this.scale)};\r\nmxGraphView.prototype.getPerimeterFunction=function(a){a=a.style[mxConstants.STYLE_PERIMETER];if("string"==typeof a){var b=mxStyleRegistry.getValue(a);null==b&&this.isAllowEval()&&(b=mxUtils.eval(a));a=b}return"function"==typeof a?a:null};mxGraphView.prototype.getNextPoint=function(a,b,c){a=a.absolutePoints;var d=null;null!=a&&2<=a.length&&(d=a.length,d=a[c?Math.min(1,d-1):Math.max(0,d-2)]);null==d&&null!=b&&(d=new mxPoint(b.getCenterX(),b.getCenterY()));return d};\r\nmxGraphView.prototype.getVisibleTerminal=function(a,b){for(var c=this.graph.getModel(),d=c.getTerminal(a,b),e=d;null!=d&&d!=this.currentRoot;){if(!this.graph.isCellVisible(e)||this.isCellCollapsed(d))e=d;d=c.getParent(d)}null==e||c.contains(e)&&c.getParent(e)!=c.getRoot()&&e!=this.currentRoot||(e=null);return e};\r\nmxGraphView.prototype.updateEdgeBounds=function(a){var b=a.absolutePoints,c=b[0],d=b[b.length-1];if(c.x!=d.x||c.y!=d.y){var e=d.x-c.x,f=d.y-c.y;a.terminalDistance=Math.sqrt(e*e+f*f)}else a.terminalDistance=0;var d=0,g=[],f=c;if(null!=f){for(var c=f.x,k=f.y,l=c,m=k,n=1;n<b.length;n++){var p=b[n];null!=p&&(e=f.x-p.x,f=f.y-p.y,e=Math.sqrt(e*e+f*f),g.push(e),d+=e,f=p,c=Math.min(f.x,c),k=Math.min(f.y,k),l=Math.max(f.x,l),m=Math.max(f.y,m))}a.length=d;a.segments=g;a.x=c;a.y=k;a.width=Math.max(1,l-c);a.height=\r\nMath.max(1,m-k)}};\r\nmxGraphView.prototype.getPoint=function(a,b){var c=a.getCenterX(),d=a.getCenterY();if(null==a.segments||null!=b&&!b.relative)null!=b&&(m=b.offset,null!=m&&(c+=m.x,d+=m.y));else{for(var e=a.absolutePoints.length,f=Math.round(((null!=b?b.x/2:0)+.5)*a.length),g=a.segments[0],k=0,l=1;f>=Math.round(k+g)&&l<e-1;)k+=g,g=a.segments[l++];e=0==g?0:(f-k)/g;f=a.absolutePoints[l-1];l=a.absolutePoints[l];if(null!=f&&null!=l){k=c=d=0;if(null!=b){var d=b.y,m=b.offset;null!=m&&(c=m.x,k=m.y)}m=l.x-f.x;l=l.y-f.y;c=\r\nf.x+m*e+((0==g?0:l/g)*d+c)*this.scale;d=f.y+l*e-((0==g?0:m/g)*d-k)*this.scale}}return new mxPoint(c,d)};\r\nmxGraphView.prototype.getRelativePoint=function(a,b,c){var d=this.graph.getModel().getGeometry(a.cell);if(null!=d){var e=a.absolutePoints.length;if(d.relative&&1<e){for(var d=a.length,f=a.segments,g=a.absolutePoints[0],k=a.absolutePoints[1],l=mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c),m=0,n=0,p=0,q=2;q<e;q++)g=k,k=a.absolutePoints[q],g=mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c),p+=f[q-2],g<=l&&(l=g,n=q-1,m=p);e=f[n];g=a.absolutePoints[n];k=a.absolutePoints[n+1];l=k.x;f=k.y;a=g.x-l;n=g.y-f;f=(a-(b-l))*\r\na+(n-(c-f))*n;a=Math.sqrt(0>=f?0:f*f/(a*a+n*n));a>e&&(a=e);e=Math.sqrt(mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c));-1==mxUtils.relativeCcw(g.x,g.y,k.x,k.y,b,c)&&(e=-e);return new mxPoint((d/2-m-a)/d*-2,e/this.scale)}}return new mxPoint};\r\nmxGraphView.prototype.updateEdgeLabelOffset=function(a){var b=a.absolutePoints;a.absoluteOffset.x=a.getCenterX();a.absoluteOffset.y=a.getCenterY();if(null!=b&&0<b.length&&null!=a.segments){var c=this.graph.getCellGeometry(a.cell);if(c.relative){var d=this.getPoint(a,c);null!=d&&(a.absoluteOffset=d)}else{var d=b[0],e=b[b.length-1];if(null!=d&&null!=e){var b=e.x-d.x,f=e.y-d.y,g=e=0,c=c.offset;null!=c&&(e=c.x,g=c.y);c=d.y+f/2+g*this.scale;a.absoluteOffset.x=d.x+b/2+e*this.scale;a.absoluteOffset.y=c}}}};\r\nmxGraphView.prototype.getState=function(a,b){b=b||!1;var c=null;null!=a&&(c=this.states.get(a),b&&(null==c||this.updateStyle)&&this.graph.isCellVisible(a)&&(null==c?(c=this.createState(a),this.states.put(a,c)):c.style=this.graph.getCellStyle(a)));return c};mxGraphView.prototype.isRendering=function(){return this.rendering};mxGraphView.prototype.setRendering=function(a){this.rendering=a};mxGraphView.prototype.isAllowEval=function(){return this.allowEval};\r\nmxGraphView.prototype.setAllowEval=function(a){this.allowEval=a};mxGraphView.prototype.getStates=function(){return this.states};mxGraphView.prototype.setStates=function(a){this.states=a};mxGraphView.prototype.getCellStates=function(a){if(null==a)return this.states;for(var b=[],c=0;c<a.length;c++){var d=this.getState(a[c]);null!=d&&b.push(d)}return b};\r\nmxGraphView.prototype.removeState=function(a){var b=null;null!=a&&(b=this.states.remove(a),null!=b&&(this.graph.cellRenderer.destroy(b),b.invalid=!0,b.destroy()));return b};mxGraphView.prototype.createState=function(a){return new mxCellState(this,a,this.graph.getCellStyle(a))};mxGraphView.prototype.getCanvas=function(){return this.canvas};mxGraphView.prototype.getBackgroundPane=function(){return this.backgroundPane};mxGraphView.prototype.getDrawPane=function(){return this.drawPane};\r\nmxGraphView.prototype.getOverlayPane=function(){return this.overlayPane};mxGraphView.prototype.getDecoratorPane=function(){return this.decoratorPane};mxGraphView.prototype.isContainerEvent=function(a){a=mxEvent.getSource(a);return a==this.graph.container||a.parentNode==this.backgroundPane||null!=a.parentNode&&a.parentNode.parentNode==this.backgroundPane||a==this.canvas.parentNode||a==this.canvas||a==this.backgroundPane||a==this.drawPane||a==this.overlayPane||a==this.decoratorPane};\r\nmxGraphView.prototype.isScrollEvent=function(a){var b=mxUtils.getOffset(this.graph.container);a=new mxPoint(a.clientX-b.x,a.clientY-b.y);var b=this.graph.container.offsetWidth,c=this.graph.container.clientWidth;if(b>c&&a.x>c+2&&a.x<=b)return!0;b=this.graph.container.offsetHeight;c=this.graph.container.clientHeight;return b>c&&a.y>c+2&&a.y<=b?!0:!1};mxGraphView.prototype.init=function(){this.installListeners();this.graph.dialect==mxConstants.DIALECT_SVG?this.createSvg():this.createHtml()};\r\nmxGraphView.prototype.installListeners=function(){var a=this.graph,b=a.container;if(null!=b){mxClient.IS_TOUCH&&(mxEvent.addListener(b,"gesturestart",mxUtils.bind(this,function(b){a.fireGestureEvent(b);mxEvent.consume(b)})),mxEvent.addListener(b,"gesturechange",mxUtils.bind(this,function(b){a.fireGestureEvent(b);mxEvent.consume(b)})),mxEvent.addListener(b,"gestureend",mxUtils.bind(this,function(b){a.fireGestureEvent(b);mxEvent.consume(b)})));var c=null;mxEvent.addGestureListeners(b,mxUtils.bind(this,\r\nfunction(b){!this.isContainerEvent(b)||(mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_GC||mxClient.IS_OP||mxClient.IS_SF)&&this.isScrollEvent(b)||(a.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b)),c=b.pointerId)}),mxUtils.bind(this,function(b){!this.isContainerEvent(b)||null!=c&&b.pointerId!=c||a.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){this.isContainerEvent(b)&&a.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b));c=null}));mxEvent.addListener(b,\r\n"dblclick",mxUtils.bind(this,function(b){this.isContainerEvent(b)&&a.dblClick(b)}));var d=function(c){var d=null;mxClient.IS_TOUCH&&(d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),c=mxUtils.convertPoint(b,d,c),d=a.view.getState(a.getCellAt(c.x,c.y)));return d};a.addMouseListener({mouseDown:function(b,c){a.popupMenuHandler.hideMenu()},mouseMove:function(){},mouseUp:function(){}});this.moveHandler=mxUtils.bind(this,function(b){null!=a.tooltipHandler&&a.tooltipHandler.isHideOnHover()&&a.tooltipHandler.hide();\r\nthis.captureDocumentGesture&&a.isMouseDown&&null!=a.container&&!this.isContainerEvent(b)&&"none"!=a.container.style.display&&"hidden"!=a.container.style.visibility&&!mxEvent.isConsumed(b)&&a.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,d(b)))});this.endHandler=mxUtils.bind(this,function(b){this.captureDocumentGesture&&a.isMouseDown&&null!=a.container&&!this.isContainerEvent(b)&&"none"!=a.container.style.display&&"hidden"!=a.container.style.visibility&&a.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b))});\r\nmxEvent.addGestureListeners(document,null,this.moveHandler,this.endHandler)}};\r\nmxGraphView.prototype.createHtml=function(){var a=this.graph.container;null!=a&&(this.canvas=this.createHtmlPane("100%","100%"),this.canvas.style.overflow="hidden",this.backgroundPane=this.createHtmlPane("1px","1px"),this.drawPane=this.createHtmlPane("1px","1px"),this.overlayPane=this.createHtmlPane("1px","1px"),this.decoratorPane=this.createHtmlPane("1px","1px"),this.canvas.appendChild(this.backgroundPane),this.canvas.appendChild(this.drawPane),this.canvas.appendChild(this.overlayPane),this.canvas.appendChild(this.decoratorPane),\r\na.appendChild(this.canvas),this.updateContainerStyle(a))};mxGraphView.prototype.updateHtmlCanvasSize=function(a,b){if(null!=this.graph.container){var c=this.graph.container.offsetHeight;this.canvas.style.width=this.graph.container.offsetWidth<a?a+"px":"100%";this.canvas.style.height=c<b?b+"px":"100%"}};\r\nmxGraphView.prototype.createHtmlPane=function(a,b){var c=document.createElement("DIV");null!=a&&null!=b?(c.style.position="absolute",c.style.left="0px",c.style.top="0px",c.style.width=a,c.style.height=b):c.style.position="relative";return c};\r\nmxGraphView.prototype.createSvg=function(){var a=this.graph.container;this.canvas=document.createElementNS(mxConstants.NS_SVG,"g");this.backgroundPane=document.createElementNS(mxConstants.NS_SVG,"g");this.canvas.appendChild(this.backgroundPane);this.drawPane=document.createElementNS(mxConstants.NS_SVG,"g");this.canvas.appendChild(this.drawPane);this.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g");this.canvas.appendChild(this.overlayPane);this.decoratorPane=document.createElementNS(mxConstants.NS_SVG,\r\n"g");this.canvas.appendChild(this.decoratorPane);var b=document.createElementNS(mxConstants.NS_SVG,"svg");b.style.left="0px";b.style.top="0px";b.style.width="100%";b.style.height="100%";b.style.display="block";b.appendChild(this.canvas);if(mxClient.IS_IE||mxClient.IS_IE11)b.style.overflow="hidden";null!=a&&(a.appendChild(b),this.updateContainerStyle(a))};\r\nmxGraphView.prototype.updateContainerStyle=function(a){var b=mxUtils.getCurrentStyle(a);null!=b&&"static"==b.position&&(a.style.position="relative");mxClient.IS_POINTER&&(a.style.touchAction="none")};\r\nmxGraphView.prototype.destroy=function(){var a=null!=this.canvas?this.canvas.ownerSVGElement:null;null==a&&(a=this.canvas);null!=a&&null!=a.parentNode&&(this.clear(this.currentRoot,!0),mxEvent.removeGestureListeners(document,null,this.moveHandler,this.endHandler),mxEvent.release(this.graph.container),a.parentNode.removeChild(a),this.decoratorPane=this.overlayPane=this.drawPane=this.backgroundPane=this.canvas=this.endHandler=this.moveHandler=null)};\r\nfunction mxCurrentRootChange(a,b){this.view=a;this.previous=this.root=b;this.isUp=null==b;if(!this.isUp)for(var c=this.view.currentRoot,d=this.view.graph.getModel();null!=c;){if(c==b){this.isUp=!0;break}c=d.getParent(c)}}\r\nmxCurrentRootChange.prototype.execute=function(){var a=this.view.currentRoot;this.view.currentRoot=this.previous;this.previous=a;a=this.view.graph.getTranslateForRoot(this.view.currentRoot);null!=a&&(this.view.translate=new mxPoint(-a.x,-a.y));this.isUp?(this.view.clear(this.view.currentRoot,!0),this.view.validate()):this.view.refresh();this.view.fireEvent(new mxEventObject(this.isUp?mxEvent.UP:mxEvent.DOWN,"root",this.view.currentRoot,"previous",this.previous));this.isUp=!this.isUp};\r\nfunction mxGraph(a,b,c,d,e){this.mouseListeners=null;this.renderHint=c;this.dialect=mxClient.IS_SVG?mxConstants.DIALECT_SVG:c==mxConstants.RENDERING_HINT_FASTEST?mxConstants.DIALECT_STRICTHTML:c==mxConstants.RENDERING_HINT_FASTER?mxConstants.DIALECT_PREFERHTML:mxConstants.DIALECT_MIXEDHTML;this.model=null!=b?b:new mxGraphModel;this.multiplicities=[];this.imageBundles=[];this.cellRenderer=this.createCellRenderer();this.setSelectionModel(this.createSelectionModel());this.setStylesheet(null!=d?d:this.createStylesheet());\r\nthis.view=this.createGraphView();this.view.rendering=null!=e?e:this.view.rendering;this.graphModelChangeListener=mxUtils.bind(this,function(a,b){this.graphModelChanged(b.getProperty("edit").changes)});this.model.addListener(mxEvent.CHANGE,this.graphModelChangeListener);this.createHandlers();null!=a&&this.init(a);this.view.rendering&&this.view.revalidate()}mxLoadResources?mxResources.add(mxClient.basePath+"/resources/graph"):mxClient.defaultBundles.push(mxClient.basePath+"/resources/graph");\r\nmxGraph.prototype=new mxEventSource;mxGraph.prototype.constructor=mxGraph;mxGraph.prototype.mouseListeners=null;mxGraph.prototype.isMouseDown=!1;mxGraph.prototype.model=null;mxGraph.prototype.view=null;mxGraph.prototype.stylesheet=null;mxGraph.prototype.selectionModel=null;mxGraph.prototype.cellEditor=null;mxGraph.prototype.cellRenderer=null;mxGraph.prototype.multiplicities=null;mxGraph.prototype.renderHint=null;mxGraph.prototype.dialect=null;mxGraph.prototype.gridSize=10;\r\nmxGraph.prototype.gridEnabled=!0;mxGraph.prototype.portsEnabled=!0;mxGraph.prototype.nativeDblClickEnabled=!0;mxGraph.prototype.doubleTapEnabled=!0;mxGraph.prototype.doubleTapTimeout=500;mxGraph.prototype.doubleTapTolerance=25;mxGraph.prototype.lastTouchY=0;mxGraph.prototype.lastTouchY=0;mxGraph.prototype.lastTouchTime=0;mxGraph.prototype.tapAndHoldEnabled=!0;mxGraph.prototype.tapAndHoldDelay=500;mxGraph.prototype.tapAndHoldInProgress=!1;mxGraph.prototype.tapAndHoldValid=!1;\r\nmxGraph.prototype.initialTouchX=0;mxGraph.prototype.initialTouchY=0;mxGraph.prototype.tolerance=4;mxGraph.prototype.defaultOverlap=.5;mxGraph.prototype.defaultParent=null;mxGraph.prototype.alternateEdgeStyle=null;mxGraph.prototype.backgroundImage=null;mxGraph.prototype.pageVisible=!1;mxGraph.prototype.pageBreaksVisible=!1;mxGraph.prototype.pageBreakColor="gray";mxGraph.prototype.pageBreakDashed=!0;mxGraph.prototype.minPageBreakDist=20;mxGraph.prototype.preferPageSize=!1;\r\nmxGraph.prototype.pageFormat=mxConstants.PAGE_FORMAT_A4_PORTRAIT;mxGraph.prototype.pageScale=1.5;mxGraph.prototype.enabled=!0;mxGraph.prototype.escapeEnabled=!0;mxGraph.prototype.invokesStopCellEditing=!0;mxGraph.prototype.enterStopsCellEditing=!1;mxGraph.prototype.useScrollbarsForPanning=!0;mxGraph.prototype.exportEnabled=!0;mxGraph.prototype.importEnabled=!0;mxGraph.prototype.cellsLocked=!1;mxGraph.prototype.cellsCloneable=!0;mxGraph.prototype.foldingEnabled=!0;mxGraph.prototype.cellsEditable=!0;\r\nmxGraph.prototype.cellsDeletable=!0;mxGraph.prototype.cellsMovable=!0;mxGraph.prototype.edgeLabelsMovable=!0;mxGraph.prototype.vertexLabelsMovable=!1;mxGraph.prototype.dropEnabled=!1;mxGraph.prototype.splitEnabled=!0;mxGraph.prototype.cellsResizable=!0;mxGraph.prototype.cellsBendable=!0;mxGraph.prototype.cellsSelectable=!0;mxGraph.prototype.cellsDisconnectable=!0;mxGraph.prototype.autoSizeCells=!1;mxGraph.prototype.autoSizeCellsOnAdd=!1;mxGraph.prototype.autoScroll=!0;\r\nmxGraph.prototype.ignoreScrollbars=!1;mxGraph.prototype.translateToScrollPosition=!1;mxGraph.prototype.timerAutoScroll=!1;mxGraph.prototype.allowAutoPanning=!1;mxGraph.prototype.autoExtend=!0;mxGraph.prototype.maximumGraphBounds=null;mxGraph.prototype.minimumGraphSize=null;mxGraph.prototype.minimumContainerSize=null;mxGraph.prototype.maximumContainerSize=null;mxGraph.prototype.resizeContainer=!1;mxGraph.prototype.border=0;mxGraph.prototype.keepEdgesInForeground=!1;\r\nmxGraph.prototype.keepEdgesInBackground=!1;mxGraph.prototype.allowNegativeCoordinates=!0;mxGraph.prototype.constrainChildren=!0;mxGraph.prototype.constrainRelativeChildren=!1;mxGraph.prototype.extendParents=!0;mxGraph.prototype.extendParentsOnAdd=!0;mxGraph.prototype.extendParentsOnMove=!1;mxGraph.prototype.recursiveResize=!1;mxGraph.prototype.collapseToPreferredSize=!0;mxGraph.prototype.zoomFactor=1.2;mxGraph.prototype.keepSelectionVisibleOnZoom=!1;mxGraph.prototype.centerZoom=!0;\r\nmxGraph.prototype.resetViewOnRootChange=!0;mxGraph.prototype.resetEdgesOnResize=!1;mxGraph.prototype.resetEdgesOnMove=!1;mxGraph.prototype.resetEdgesOnConnect=!0;mxGraph.prototype.allowLoops=!1;mxGraph.prototype.defaultLoopStyle=mxEdgeStyle.Loop;mxGraph.prototype.multigraph=!0;mxGraph.prototype.connectableEdges=!1;mxGraph.prototype.allowDanglingEdges=!0;mxGraph.prototype.cloneInvalidEdges=!1;mxGraph.prototype.disconnectOnMove=!0;mxGraph.prototype.labelsVisible=!0;mxGraph.prototype.htmlLabels=!1;\r\nmxGraph.prototype.swimlaneSelectionEnabled=!0;mxGraph.prototype.swimlaneNesting=!0;mxGraph.prototype.swimlaneIndicatorColorAttribute=mxConstants.STYLE_FILLCOLOR;mxGraph.prototype.imageBundles=null;mxGraph.prototype.minFitScale=.1;mxGraph.prototype.maxFitScale=8;mxGraph.prototype.panDx=0;mxGraph.prototype.panDy=0;mxGraph.prototype.collapsedImage=new mxImage(mxClient.imageBasePath+"/collapsed.gif",9,9);mxGraph.prototype.expandedImage=new mxImage(mxClient.imageBasePath+"/expanded.gif",9,9);\r\nmxGraph.prototype.warningImage=new mxImage(mxClient.imageBasePath+"/warning"+(mxClient.IS_MAC?".png":".gif"),16,16);mxGraph.prototype.alreadyConnectedResource="none"!=mxClient.language?"alreadyConnected":"";mxGraph.prototype.containsValidationErrorsResource="none"!=mxClient.language?"containsValidationErrors":"";mxGraph.prototype.collapseExpandResource="none"!=mxClient.language?"collapse-expand":"";\r\nmxGraph.prototype.init=function(a){this.container=a;this.cellEditor=this.createCellEditor();this.view.init();this.sizeDidChange();mxEvent.addListener(a,"mouseleave",mxUtils.bind(this,function(a){null!=this.tooltipHandler&&null!=this.tooltipHandler.div&&this.tooltipHandler.div!=a.relatedTarget&&this.tooltipHandler.hide()}));mxClient.IS_IE&&(mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()})),mxEvent.addListener(a,"selectstart",mxUtils.bind(this,function(a){return this.isEditing()||\r\n!this.isMouseDown&&!mxEvent.isShiftDown(a)})))};mxGraph.prototype.createHandlers=function(){this.tooltipHandler=this.createTooltipHandler();this.tooltipHandler.setEnabled(!1);this.selectionCellsHandler=this.createSelectionCellsHandler();this.connectionHandler=this.createConnectionHandler();this.connectionHandler.setEnabled(!1);this.graphHandler=this.createGraphHandler();this.panningHandler=this.createPanningHandler();this.panningHandler.panningEnabled=!1;this.popupMenuHandler=this.createPopupMenuHandler()};\r\nmxGraph.prototype.createTooltipHandler=function(){return new mxTooltipHandler(this)};mxGraph.prototype.createSelectionCellsHandler=function(){return new mxSelectionCellsHandler(this)};mxGraph.prototype.createConnectionHandler=function(){return new mxConnectionHandler(this)};mxGraph.prototype.createGraphHandler=function(){return new mxGraphHandler(this)};mxGraph.prototype.createPanningHandler=function(){return new mxPanningHandler(this)};mxGraph.prototype.createPopupMenuHandler=function(){return new mxPopupMenuHandler(this)};\r\nmxGraph.prototype.createSelectionModel=function(){return new mxGraphSelectionModel(this)};mxGraph.prototype.createStylesheet=function(){return new mxStylesheet};mxGraph.prototype.createGraphView=function(){return new mxGraphView(this)};mxGraph.prototype.createCellRenderer=function(){return new mxCellRenderer};mxGraph.prototype.createCellEditor=function(){return new mxCellEditor(this)};mxGraph.prototype.getModel=function(){return this.model};mxGraph.prototype.getView=function(){return this.view};\r\nmxGraph.prototype.getStylesheet=function(){return this.stylesheet};mxGraph.prototype.setStylesheet=function(a){this.stylesheet=a};mxGraph.prototype.getSelectionModel=function(){return this.selectionModel};mxGraph.prototype.setSelectionModel=function(a){this.selectionModel=a};\r\nmxGraph.prototype.getSelectionCellsForChanges=function(a,b){for(var c=new mxDictionary,d=[],e=mxUtils.bind(this,function(a){if(!c.get(a)&&this.model.contains(a))if(this.model.isEdge(a)||this.model.isVertex(a))c.put(a,!0),d.push(a);else for(var b=this.model.getChildCount(a),f=0;f<b;f++)e(this.model.getChildAt(a,f))}),f=0;f<a.length;f++){var g=a[f];if(g.constructor!=mxRootChange&&(null==b||!b(g))){var k=null;g instanceof mxChildChange?k=g.child:null!=g.cell&&g.cell instanceof mxCell&&(k=g.cell);null!=\r\nk&&e(k)}}return d};mxGraph.prototype.graphModelChanged=function(a){for(var b=0;b<a.length;b++)this.processChange(a[b]);this.updateSelection();this.view.validate();this.sizeDidChange()};\r\nmxGraph.prototype.updateSelection=function(){for(var a=this.getSelectionCells(),b=[],c=0;c<a.length;c++)if(this.model.contains(a[c])&&this.isCellVisible(a[c]))for(var d=this.model.getParent(a[c]);null!=d&&d!=this.view.currentRoot;){if(this.isCellCollapsed(d)||!this.isCellVisible(d)){b.push(a[c]);break}d=this.model.getParent(d)}else b.push(a[c]);this.removeSelectionCells(b)};\r\nmxGraph.prototype.processChange=function(a){if(a instanceof mxRootChange)this.clearSelection(),this.setDefaultParent(null),this.removeStateForCell(a.previous),this.resetViewOnRootChange&&(this.view.scale=1,this.view.translate.x=0,this.view.translate.y=0),this.fireEvent(new mxEventObject(mxEvent.ROOT));else if(a instanceof mxChildChange){var b=this.model.getParent(a.child);this.view.invalidate(a.child,!0,!0);if(!this.model.contains(b)||this.isCellCollapsed(b))this.view.invalidate(a.child,!0,!0),this.removeStateForCell(a.child),\r\nthis.view.currentRoot==a.child&&this.home();b!=a.previous&&(null!=b&&this.view.invalidate(b,!1,!1),null!=a.previous&&this.view.invalidate(a.previous,!1,!1))}else a instanceof mxTerminalChange||a instanceof mxGeometryChange?(a instanceof mxTerminalChange||null==a.previous&&null!=a.geometry||null!=a.previous&&!a.previous.equals(a.geometry))&&this.view.invalidate(a.cell):a instanceof mxValueChange?this.view.invalidate(a.cell,!1,!1):a instanceof mxStyleChange?(this.view.invalidate(a.cell,!0,!0),a=this.view.getState(a.cell),\r\nnull!=a&&(a.invalidStyle=!0)):null!=a.cell&&a.cell instanceof mxCell&&this.removeStateForCell(a.cell)};mxGraph.prototype.removeStateForCell=function(a){for(var b=this.model.getChildCount(a),c=0;c<b;c++)this.removeStateForCell(this.model.getChildAt(a,c));this.view.invalidate(a,!1,!0);this.view.removeState(a)};\r\nmxGraph.prototype.addCellOverlay=function(a,b){null==a.overlays&&(a.overlays=[]);a.overlays.push(b);var c=this.view.getState(a);null!=c&&this.cellRenderer.redraw(c);this.fireEvent(new mxEventObject(mxEvent.ADD_OVERLAY,"cell",a,"overlay",b));return b};mxGraph.prototype.getCellOverlays=function(a){return a.overlays};\r\nmxGraph.prototype.removeCellOverlay=function(a,b){if(null==b)this.removeCellOverlays(a);else{var c=mxUtils.indexOf(a.overlays,b);0<=c?(a.overlays.splice(c,1),0==a.overlays.length&&(a.overlays=null),c=this.view.getState(a),null!=c&&this.cellRenderer.redraw(c),this.fireEvent(new mxEventObject(mxEvent.REMOVE_OVERLAY,"cell",a,"overlay",b))):b=null}return b};\r\nmxGraph.prototype.removeCellOverlays=function(a){var b=a.overlays;if(null!=b){a.overlays=null;var c=this.view.getState(a);null!=c&&this.cellRenderer.redraw(c);for(c=0;c<b.length;c++)this.fireEvent(new mxEventObject(mxEvent.REMOVE_OVERLAY,"cell",a,"overlay",b[c]))}return b};mxGraph.prototype.clearCellOverlays=function(a){a=null!=a?a:this.model.getRoot();this.removeCellOverlays(a);for(var b=this.model.getChildCount(a),c=0;c<b;c++){var d=this.model.getChildAt(a,c);this.clearCellOverlays(d)}};\r\nmxGraph.prototype.setCellWarning=function(a,b,c,d){if(null!=b&&0<b.length)return c=null!=c?c:this.warningImage,b=new mxCellOverlay(c,"<font color=red>"+b+"</font>"),d&&b.addListener(mxEvent.CLICK,mxUtils.bind(this,function(b,c){this.isEnabled()&&this.setSelectionCell(a)})),this.addCellOverlay(a,b);this.removeCellOverlays(a);return null};mxGraph.prototype.startEditing=function(a){this.startEditingAtCell(null,a)};\r\nmxGraph.prototype.startEditingAtCell=function(a,b){null!=b&&mxEvent.isMultiTouchEvent(b)||(null==a&&(a=this.getSelectionCell(),null==a||this.isCellEditable(a)||(a=null)),null!=a&&(this.fireEvent(new mxEventObject(mxEvent.START_EDITING,"cell",a,"event",b)),this.cellEditor.startEditing(a,b),this.fireEvent(new mxEventObject(mxEvent.EDITING_STARTED,"cell",a,"event",b))))};mxGraph.prototype.getEditingValue=function(a,b){return this.convertValueToString(a)};\r\nmxGraph.prototype.stopEditing=function(a){this.cellEditor.stopEditing(a);this.fireEvent(new mxEventObject(mxEvent.EDITING_STOPPED,"cancel",a))};mxGraph.prototype.labelChanged=function(a,b,c){this.model.beginUpdate();try{var d=a.value;this.cellLabelChanged(a,b,this.isAutoSizeCell(a));this.fireEvent(new mxEventObject(mxEvent.LABEL_CHANGED,"cell",a,"value",b,"old",d,"event",c))}finally{this.model.endUpdate()}return a};\r\nmxGraph.prototype.cellLabelChanged=function(a,b,c){this.model.beginUpdate();try{this.model.setValue(a,b),c&&this.cellSizeUpdated(a,!1)}finally{this.model.endUpdate()}};mxGraph.prototype.escape=function(a){this.fireEvent(new mxEventObject(mxEvent.ESCAPE,"event",a))};\r\nmxGraph.prototype.click=function(a){var b=a.getEvent(),c=a.getCell(),d=new mxEventObject(mxEvent.CLICK,"event",b,"cell",c);a.isConsumed()&&d.consume();this.fireEvent(d);if(this.isEnabled()&&!mxEvent.isConsumed(b)&&!d.isConsumed()){if(null!=c){if(this.isTransparentClickEvent(b)){var e=!1;a=this.getCellAt(a.graphX,a.graphY,null,null,null,mxUtils.bind(this,function(a){var b=this.isCellSelected(a.cell);e=e||b;return!e||b||a.cell!=c&&this.model.isAncestor(a.cell,c)}));null!=a&&(c=a)}}else if(this.isSwimlaneSelectionEnabled()&&\r\n(c=this.getSwimlaneAt(a.getGraphX(),a.getGraphY()),!(null==c||this.isToggleEvent(b)&&mxEvent.isAltDown(b)))){d=c;for(a=[];null!=d;){var d=this.model.getParent(d),f=this.view.getState(d);this.isSwimlane(d)&&null!=f&&a.push(d)}if(0<a.length)for(a=a.reverse(),a.splice(0,0,c),a.push(c),d=0;d<a.length-1;d++)this.isCellSelected(a[d])&&(c=a[this.isToggleEvent(b)?d:d+1])}null!=c?this.selectCellForEvent(c,b):this.isToggleEvent(b)||this.clearSelection()}};\r\nmxGraph.prototype.isSiblingSelected=function(a){for(var b=this.model,c=b.getParent(a),d=b.getChildCount(c),e=0;e<d;e++){var f=b.getChildAt(c,e);if(a!=f&&this.isCellSelected(f))return!0}return!1};mxGraph.prototype.dblClick=function(a,b){var c=new mxEventObject(mxEvent.DOUBLE_CLICK,"event",a,"cell",b);this.fireEvent(c);!this.isEnabled()||mxEvent.isConsumed(a)||c.isConsumed()||null==b||!this.isCellEditable(b)||this.isEditing(b)||(this.startEditingAtCell(b,a),mxEvent.consume(a))};\r\nmxGraph.prototype.tapAndHold=function(a){var b=a.getEvent(),c=new mxEventObject(mxEvent.TAP_AND_HOLD,"event",b,"cell",a.getCell());this.fireEvent(c);c.isConsumed()&&(this.panningHandler.panningTrigger=!1);this.isEnabled()&&!mxEvent.isConsumed(b)&&!c.isConsumed()&&this.connectionHandler.isEnabled()&&(b=this.view.getState(this.connectionHandler.marker.getCell(a)),null!=b&&(this.connectionHandler.marker.currentColor=this.connectionHandler.marker.validColor,this.connectionHandler.marker.markedState=b,\r\nthis.connectionHandler.marker.mark(),this.connectionHandler.first=new mxPoint(a.getGraphX(),a.getGraphY()),this.connectionHandler.edgeState=this.connectionHandler.createEdgeState(a),this.connectionHandler.previous=b,this.connectionHandler.fireEvent(new mxEventObject(mxEvent.START,"state",this.connectionHandler.previous))))};\r\nmxGraph.prototype.scrollPointToVisible=function(a,b,c,d){if(this.timerAutoScroll||!this.ignoreScrollbars&&!mxUtils.hasScrollbars(this.container))this.allowAutoPanning&&!this.panningHandler.isActive()&&(null==this.panningManager&&(this.panningManager=this.createPanningManager()),this.panningManager.panTo(a+this.panDx,b+this.panDy));else{var e=this.container;d=null!=d?d:20;if(a>=e.scrollLeft&&b>=e.scrollTop&&a<=e.scrollLeft+e.clientWidth&&b<=e.scrollTop+e.clientHeight){var f=e.scrollLeft+e.clientWidth-\r\na;if(f<d){if(a=e.scrollLeft,e.scrollLeft+=d-f,c&&a==e.scrollLeft){if(this.dialect==mxConstants.DIALECT_SVG){a=this.view.getDrawPane().ownerSVGElement;var g=this.container.scrollWidth+d-f}else g=Math.max(e.clientWidth,e.scrollWidth)+d-f,a=this.view.getCanvas();a.style.width=g+"px";e.scrollLeft+=d-f}}else f=a-e.scrollLeft,f<d&&(e.scrollLeft-=d-f);f=e.scrollTop+e.clientHeight-b;f<d?(a=e.scrollTop,e.scrollTop+=d-f,a==e.scrollTop&&c&&(this.dialect==mxConstants.DIALECT_SVG?(a=this.view.getDrawPane().ownerSVGElement,\r\nb=this.container.scrollHeight+d-f):(b=Math.max(e.clientHeight,e.scrollHeight)+d-f,a=this.view.getCanvas()),a.style.height=b+"px",e.scrollTop+=d-f)):(f=b-e.scrollTop,f<d&&(e.scrollTop-=d-f))}}};mxGraph.prototype.createPanningManager=function(){return new mxPanningManager(this)};\r\nmxGraph.prototype.getBorderSizes=function(){var a=mxUtils.getCurrentStyle(this.container);return new mxRectangle(mxUtils.parseCssNumber(a.paddingLeft)+("none"!=a.borderLeftStyle?mxUtils.parseCssNumber(a.borderLeftWidth):0),mxUtils.parseCssNumber(a.paddingTop)+("none"!=a.borderTopStyle?mxUtils.parseCssNumber(a.borderTopWidth):0),mxUtils.parseCssNumber(a.paddingRight)+("none"!=a.borderRightStyle?mxUtils.parseCssNumber(a.borderRightWidth):0),mxUtils.parseCssNumber(a.paddingBottom)+("none"!=a.borderBottomStyle?\r\nmxUtils.parseCssNumber(a.borderBottomWidth):0))};mxGraph.prototype.getPreferredPageSize=function(a,b,c){a=this.view.translate;var d=this.pageFormat,e=this.pageScale,d=new mxRectangle(0,0,Math.ceil(d.width*e),Math.ceil(d.height*e));return new mxRectangle(0,0,(this.pageBreaksVisible?Math.ceil(b/d.width):1)*d.width+2+a.x,(this.pageBreaksVisible?Math.ceil(c/d.height):1)*d.height+2+a.y)};\r\nmxGraph.prototype.fit=function(a,b,c,d,e,f,g){if(null!=this.container){a=null!=a?a:this.getBorder();b=null!=b?b:!1;c=null!=c?c:0;d=null!=d?d:!0;e=null!=e?e:!1;f=null!=f?f:!1;var k=this.getBorderSizes(),l=this.container.offsetWidth-k.x-k.width-1,m=null!=g?g:this.container.offsetHeight-k.y-k.height-1;g=this.view.getGraphBounds();if(0<g.width&&0<g.height){b&&null!=g.x&&null!=g.y&&(g=g.clone(),g.width+=g.x,g.height+=g.y,g.x=0,g.y=0);var k=this.view.scale,n=g.width/k,p=g.height/k;null!=this.backgroundImage&&\r\n(n=Math.max(n,this.backgroundImage.width-g.x/k),p=Math.max(p,this.backgroundImage.height-g.y/k));var q=(b?a:2*a)+c+1,l=l-q,m=m-q;e=e?m/p:f?l/n:Math.min(l/n,m/p);null!=this.minFitScale&&(e=Math.max(e,this.minFitScale));null!=this.maxFitScale&&(e=Math.min(e,this.maxFitScale));if(d)b?this.view.scale!=e&&this.view.setScale(e):mxUtils.hasScrollbars(this.container)?(this.view.setScale(e),a=this.getGraphBounds(),null!=a.x&&(this.container.scrollLeft=a.x),null!=a.y&&(this.container.scrollTop=a.y)):this.view.scaleAndTranslate(e,\r\nnull!=g.x?Math.floor(this.view.translate.x-g.x/k+a/e+c/2):a,null!=g.y?Math.floor(this.view.translate.y-g.y/k+a/e+c/2):a);else return e}}return this.view.scale};\r\nmxGraph.prototype.sizeDidChange=function(){var a=this.getGraphBounds();if(null!=this.container){var b=this.getBorder(),c=Math.max(0,a.x)+a.width+2*b,b=Math.max(0,a.y)+a.height+2*b;null!=this.minimumContainerSize&&(c=Math.max(c,this.minimumContainerSize.width),b=Math.max(b,this.minimumContainerSize.height));this.resizeContainer&&this.doResizeContainer(c,b);if(this.preferPageSize||!mxClient.IS_IE&&this.pageVisible){var d=this.getPreferredPageSize(a,Math.max(1,c),Math.max(1,b));null!=d&&(c=d.width*this.view.scale,\r\nb=d.height*this.view.scale)}null!=this.minimumGraphSize&&(c=Math.max(c,this.minimumGraphSize.width*this.view.scale),b=Math.max(b,this.minimumGraphSize.height*this.view.scale));c=Math.ceil(c);b=Math.ceil(b);this.dialect==mxConstants.DIALECT_SVG?(d=this.view.getDrawPane().ownerSVGElement,null!=d&&(d.style.minWidth=Math.max(1,c)+"px",d.style.minHeight=Math.max(1,b)+"px",d.style.width="100%",d.style.height="100%")):(this.view.canvas.style.minWidth=Math.max(1,c)+"px",this.view.canvas.style.minHeight=Math.max(1,\r\nb)+"px");this.updatePageBreaks(this.pageBreaksVisible,c,b)}this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",a))};mxGraph.prototype.doResizeContainer=function(a,b){null!=this.maximumContainerSize&&(a=Math.min(this.maximumContainerSize.width,a),b=Math.min(this.maximumContainerSize.height,b));this.container.style.width=Math.ceil(a)+"px";this.container.style.height=Math.ceil(b)+"px"};\r\nmxGraph.prototype.updatePageBreaks=function(a,b,c){b=this.view.scale;c=this.view.translate;var d=this.pageFormat,e=b*this.pageScale,f=new mxRectangle(0,0,d.width*e,d.height*e),d=mxRectangle.fromRectangle(this.getGraphBounds());d.width=Math.max(1,d.width);d.height=Math.max(1,d.height);f.x=Math.floor((d.x-c.x*b)/f.width)*f.width+c.x*b;f.y=Math.floor((d.y-c.y*b)/f.height)*f.height+c.y*b;d.width=Math.ceil((d.width+(d.x-f.x))/f.width)*f.width;d.height=Math.ceil((d.height+(d.y-f.y))/f.height)*f.height;\r\nvar g=(a=a&&Math.min(f.width,f.height)>this.minPageBreakDist)?Math.ceil(d.height/f.height)+1:0,k=a?Math.ceil(d.width/f.width)+1:0,l=(k-1)*f.width,m=(g-1)*f.height;null==this.horizontalPageBreaks&&0<g&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<k&&(this.verticalPageBreaks=[]);a=mxUtils.bind(this,function(a){if(null!=a){for(var b=a==this.horizontalPageBreaks?g:k,c=0;c<=b;c++){var d=a==this.horizontalPageBreaks?[new mxPoint(Math.round(f.x),Math.round(f.y+c*f.height)),new mxPoint(Math.round(f.x+\r\nl),Math.round(f.y+c*f.height))]:[new mxPoint(Math.round(f.x+c*f.width),Math.round(f.y)),new mxPoint(Math.round(f.x+c*f.width),Math.round(f.y+m))];null!=a[c]?(a[c].points=d,a[c].redraw()):(d=new mxPolyline(d,this.pageBreakColor),d.dialect=this.dialect,d.pointerEvents=!1,d.isDashed=this.pageBreakDashed,d.init(this.view.backgroundPane),d.redraw(),a[c]=d)}for(c=b;c<a.length;c++)a[c].destroy();a.splice(b,a.length-b)}});a(this.horizontalPageBreaks);a(this.verticalPageBreaks)};\r\nmxGraph.prototype.getCurrentCellStyle=function(a,b){var c=b?null:this.view.getState(a);return null!=c?c.style:this.getCellStyle(a)};mxGraph.prototype.getCellStyle=function(a){var b=this.model.getStyle(a);a=this.model.isEdge(a)?this.stylesheet.getDefaultEdgeStyle():this.stylesheet.getDefaultVertexStyle();null!=b&&(a=this.postProcessCellStyle(this.stylesheet.getCellStyle(b,a)));null==a&&(a={});return a};\r\nmxGraph.prototype.postProcessCellStyle=function(a){if(null!=a){var b=a[mxConstants.STYLE_IMAGE],c=this.getImageFromBundles(b);null!=c?a[mxConstants.STYLE_IMAGE]=c:c=b;null!=c&&"data:image/"==c.substring(0,11)&&("data:image/svg+xml,<"==c.substring(0,20)?c=c.substring(0,19)+encodeURIComponent(c.substring(19)):"data:image/svg+xml,%3C"!=c.substring(0,22)&&(b=c.indexOf(","),0<b&&";base64,"!=c.substring(b-7,b+1)&&(c=c.substring(0,b)+";base64,"+c.substring(b+1))),a[mxConstants.STYLE_IMAGE]=c)}return a};\r\nmxGraph.prototype.setCellStyle=function(a,b){b=b||this.getSelectionCells();if(null!=b){this.model.beginUpdate();try{for(var c=0;c<b.length;c++)this.model.setStyle(b[c],a)}finally{this.model.endUpdate()}}};mxGraph.prototype.toggleCellStyle=function(a,b,c){c=c||this.getSelectionCell();return this.toggleCellStyles(a,b,[c])};\r\nmxGraph.prototype.toggleCellStyles=function(a,b,c){b=null!=b?b:!1;c=c||this.getEditableCells(this.getSelectionCells());var d=null;null!=c&&0<c.length&&(d=this.getCurrentCellStyle(c[0]),d=mxUtils.getValue(d,a,b)?0:1,this.setCellStyles(a,d,c));return d};mxGraph.prototype.setCellStyles=function(a,b,c){c=c||this.getEditableCells(this.getSelectionCells());mxUtils.setCellStyles(this.model,c,a,b)};mxGraph.prototype.toggleCellStyleFlags=function(a,b,c){this.setCellStyleFlags(a,b,null,c)};\r\nmxGraph.prototype.setCellStyleFlags=function(a,b,c,d){d=d||this.getEditableCells(this.getSelectionCells());null!=d&&0<d.length&&(null==c&&(c=this.getCurrentCellStyle(d[0]),c=(parseInt(c[a]||0)&b)!=b),mxUtils.setCellStyleFlags(this.model,d,a,b,c))};mxGraph.prototype.getOriginForCell=function(a){a=this.model.getParent(a);for(var b=new mxPoint;null!=a;){var c=this.getCellGeometry(a);null==c||c.relative||(b.x+=c.x,b.y+=c.y);a=this.model.getParent(a)}return b};\r\nmxGraph.prototype.alignCells=function(a,b,c){null==b&&(b=this.getMovableCells(this.getSelectionCells()));if(null!=b&&1<b.length){if(null==c)for(var d=0;d<b.length;d++){var e=this.getOriginForCell(b[d]),f=this.getCellGeometry(b[d]);if(!this.model.isEdge(b[d])&&null!=f&&!f.relative)if(null==c)if(a==mxConstants.ALIGN_CENTER){c=e.x+f.x+f.width/2;break}else if(a==mxConstants.ALIGN_RIGHT)c=e.x+f.x+f.width;else if(a==mxConstants.ALIGN_TOP)c=e.y+f.y;else if(a==mxConstants.ALIGN_MIDDLE){c=e.y+f.y+f.height/\r\n2;break}else c=a==mxConstants.ALIGN_BOTTOM?e.y+f.y+f.height:e.x+f.x;else c=a==mxConstants.ALIGN_RIGHT?Math.max(c,e.x+f.x+f.width):a==mxConstants.ALIGN_TOP?Math.min(c,e.y+f.y):a==mxConstants.ALIGN_BOTTOM?Math.max(c,e.y+f.y+f.height):Math.min(c,e.x+f.x)}if(null!=c){b=mxUtils.sortCells(b);this.model.beginUpdate();try{for(d=0;d<b.length;d++)e=this.getOriginForCell(b[d]),f=this.getCellGeometry(b[d]),this.model.isEdge(b[d])||null==f||f.relative||(f=f.clone(),a==mxConstants.ALIGN_CENTER?f.x=c-e.x-f.width/\r\n2:a==mxConstants.ALIGN_RIGHT?f.x=c-e.x-f.width:a==mxConstants.ALIGN_TOP?f.y=c-e.y:a==mxConstants.ALIGN_MIDDLE?f.y=c-e.y-f.height/2:a==mxConstants.ALIGN_BOTTOM?f.y=c-e.y-f.height:f.x=c-e.x,this.resizeCell(b[d],f));this.fireEvent(new mxEventObject(mxEvent.ALIGN_CELLS,"align",a,"cells",b))}finally{this.model.endUpdate()}}}return b};\r\nmxGraph.prototype.flipEdge=function(a){if(null!=a&&null!=this.alternateEdgeStyle){this.model.beginUpdate();try{var b=this.model.getStyle(a);null==b||0==b.length?this.model.setStyle(a,this.alternateEdgeStyle):this.model.setStyle(a,null);this.resetEdge(a);this.fireEvent(new mxEventObject(mxEvent.FLIP_EDGE,"edge",a))}finally{this.model.endUpdate()}}return a};mxGraph.prototype.addImageBundle=function(a){this.imageBundles.push(a)};\r\nmxGraph.prototype.removeImageBundle=function(a){for(var b=[],c=0;c<this.imageBundles.length;c++)this.imageBundles[c]!=a&&b.push(this.imageBundles[c]);this.imageBundles=b};mxGraph.prototype.getImageFromBundles=function(a){if(null!=a)for(var b=0;b<this.imageBundles.length;b++){var c=this.imageBundles[b].getImage(a);if(null!=c)return c}return null};\r\nmxGraph.prototype.orderCells=function(a,b,c){null==b&&(b=mxUtils.sortCells(this.getEditableCells(this.getSelectionCells()),!0));this.model.beginUpdate();try{this.cellsOrdered(b,a,c),this.fireEvent(new mxEventObject(mxEvent.ORDER_CELLS,"back",a,"cells",b,"increment",c))}finally{this.model.endUpdate()}return b};\r\nmxGraph.prototype.cellsOrdered=function(a,b,c){if(null!=a){this.model.beginUpdate();try{for(var d=0;d<a.length;d++){var e=this.model.getParent(a[d]);b?c?this.model.add(e,a[d],Math.max(0,e.getIndex(a[d])-1)):this.model.add(e,a[d],d):c?this.model.add(e,a[d],Math.min(this.model.getChildCount(e)-1,e.getIndex(a[d])+1)):this.model.add(e,a[d],this.model.getChildCount(e)-1)}this.fireEvent(new mxEventObject(mxEvent.CELLS_ORDERED,"back",b,"cells",a,"increment",c))}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.groupCells=function(a,b,c){null==c&&(c=mxUtils.sortCells(this.getSelectionCells(),!0));c=this.getCellsForGroup(c);null==a&&(a=this.createGroupCell(c));var d=this.getBoundsForGroup(a,c,b);if(1<c.length&&null!=d){var e=this.model.getParent(a);null==e&&(e=this.model.getParent(c[0]));this.model.beginUpdate();try{null==this.getCellGeometry(a)&&this.model.setGeometry(a,new mxGeometry);var f=this.model.getChildCount(e);this.cellsAdded([a],e,f,null,null,!1,!1,!1);f=this.model.getChildCount(a);\r\nthis.cellsAdded(c,a,f,null,null,!1,!1,!1);this.cellsMoved(c,-d.x,-d.y,!1,!1,!1);this.cellsResized([a],[d],!1);this.fireEvent(new mxEventObject(mxEvent.GROUP_CELLS,"group",a,"border",b,"cells",c))}finally{this.model.endUpdate()}}return a};mxGraph.prototype.getCellsForGroup=function(a){var b=[];if(null!=a&&0<a.length){var c=this.model.getParent(a[0]);b.push(a[0]);for(var d=1;d<a.length;d++)this.model.getParent(a[d])==c&&b.push(a[d])}return b};\r\nmxGraph.prototype.getBoundsForGroup=function(a,b,c){b=this.getBoundingBoxFromGeometry(b,!0);null!=b&&(this.isSwimlane(a)&&(a=this.getStartSize(a),b.x-=a.width,b.y-=a.height,b.width+=a.width,b.height+=a.height),null!=c&&(b.x-=c,b.y-=c,b.width+=2*c,b.height+=2*c));return b};mxGraph.prototype.createGroupCell=function(a){a=new mxCell("");a.setVertex(!0);a.setConnectable(!1);return a};\r\nmxGraph.prototype.ungroupCells=function(a){var b=[];null==a&&(a=this.getCellsForUngroup());if(null!=a&&0<a.length){this.model.beginUpdate();try{for(var c=0;c<a.length;c++){var d=this.model.getChildren(a[c]);if(null!=d&&0<d.length){var d=d.slice(),e=this.model.getParent(a[c]),f=this.model.getChildCount(e);this.cellsAdded(d,e,f,null,null,!0);for(var b=b.concat(d),g=0;g<d.length;g++){var k=this.view.getState(d[g]),l=this.getCellGeometry(d[g]);null!=k&&null!=l&&l.relative&&(l=l.clone(),l.x=k.origin.x,\r\nl.y=k.origin.y,l.relative=!1,this.model.setGeometry(d[g],l))}}}this.removeCellsAfterUngroup(a);this.fireEvent(new mxEventObject(mxEvent.UNGROUP_CELLS,"cells",a))}finally{this.model.endUpdate()}}return b};mxGraph.prototype.getCellsForUngroup=function(){for(var a=this.getEditableCells(this.getSelectionCells()),b=[],c=0;c<a.length;c++)this.model.isVertex(a[c])&&0<this.model.getChildCount(a[c])&&b.push(a[c]);return b};mxGraph.prototype.removeCellsAfterUngroup=function(a){this.cellsRemoved(this.addAllEdges(a))};\r\nmxGraph.prototype.removeCellsFromParent=function(a){null==a&&(a=this.getSelectionCells());this.model.beginUpdate();try{var b=this.getDefaultParent(),c=this.model.getChildCount(b);this.cellsAdded(a,b,c,null,null,!0);this.fireEvent(new mxEventObject(mxEvent.REMOVE_CELLS_FROM_PARENT,"cells",a))}finally{this.model.endUpdate()}return a};\r\nmxGraph.prototype.updateGroupBounds=function(a,b,c,d,e,f,g){null==a&&(a=this.getSelectionCells());b=null!=b?b:0;c=null!=c?c:!1;d=null!=d?d:0;e=null!=e?e:0;f=null!=f?f:0;g=null!=g?g:0;this.model.beginUpdate();try{for(var k=a.length-1;0<=k;k--){var l=this.getCellGeometry(a[k]);if(null!=l){var m=this.getChildCells(a[k]);if(null!=m&&0<m.length){var n=this.getBoundingBoxFromGeometry(m,!0);if(null!=n&&0<n.width&&0<n.height){var p=this.isSwimlane(a[k])?this.getActualStartSize(a[k],!0):new mxRectangle,l=\r\nl.clone();c&&(l.x=Math.round(l.x+n.x-b-p.x-g),l.y=Math.round(l.y+n.y-b-p.y-d));l.width=Math.round(n.width+2*b+p.x+g+e+p.width);l.height=Math.round(n.height+2*b+p.y+d+f+p.height);this.model.setGeometry(a[k],l);this.moveCells(m,b+p.x-n.x+g,b+p.y-n.y+d)}}}}}finally{this.model.endUpdate()}return a};\r\nmxGraph.prototype.getBoundingBox=function(a){var b=null;if(null!=a&&0<a.length)for(var c=0;c<a.length;c++)if(this.model.isVertex(a[c])||this.model.isEdge(a[c])){var d=this.view.getBoundingBox(this.view.getState(a[c]),!0);null!=d&&(null==b?b=mxRectangle.fromRectangle(d):b.add(d))}return b};mxGraph.prototype.cloneCell=function(a,b,c,d){return this.cloneCells([a],b,c,d)[0]};\r\nmxGraph.prototype.cloneCells=function(a,b,c,d){b=null!=b?b:!0;var e=null;if(null!=a){for(var f=new mxDictionary,e=[],g=0;g<a.length;g++)f.put(a[g],!0),e.push(a[g]);if(0<e.length)for(var k=this.view.scale,l=this.view.translate,e=this.model.cloneCells(a,!0,c),g=0;g<a.length;g++)if(!b&&this.model.isEdge(e[g])&&null!=this.getEdgeValidationError(e[g],this.model.getTerminal(e[g],!0),this.model.getTerminal(e[g],!1)))e[g]=null;else{var m=this.model.getGeometry(e[g]);if(null!=m){var n=this.view.getState(a[g]),\r\np=this.view.getState(this.model.getParent(a[g]));if(null!=n&&null!=p)if(c=d?0:p.origin.x,p=d?0:p.origin.y,this.model.isEdge(e[g])){if(n=n.absolutePoints,null!=n){for(var q=this.model.getTerminal(a[g],!0);null!=q&&!f.get(q);)q=this.model.getParent(q);null==q&&null!=n[0]&&m.setTerminalPoint(new mxPoint(n[0].x/k-l.x,n[0].y/k-l.y),!0);for(q=this.model.getTerminal(a[g],!1);null!=q&&!f.get(q);)q=this.model.getParent(q);var r=n.length-1;null==q&&null!=n[r]&&m.setTerminalPoint(new mxPoint(n[r].x/k-l.x,n[r].y/\r\nk-l.y),!1);m=m.points;if(null!=m)for(n=0;n<m.length;n++)m[n].x+=c,m[n].y+=p}}else m.translate(c,p)}}else e=[]}return e};mxGraph.prototype.insertVertex=function(a,b,c,d,e,f,g,k,l){b=this.createVertex(a,b,c,d,e,f,g,k,l);return this.addCell(b,a)};mxGraph.prototype.createVertex=function(a,b,c,d,e,f,g,k,l){a=new mxGeometry(d,e,f,g);a.relative=null!=l?l:!1;c=new mxCell(c,a,k);c.setId(b);c.setVertex(!0);c.setConnectable(!0);return c};\r\nmxGraph.prototype.insertEdge=function(a,b,c,d,e,f){b=this.createEdge(a,b,c,d,e,f);return this.addEdge(b,a,d,e)};mxGraph.prototype.createEdge=function(a,b,c,d,e,f){a=new mxCell(c,new mxGeometry,f);a.setId(b);a.setEdge(!0);a.geometry.relative=!0;return a};mxGraph.prototype.addEdge=function(a,b,c,d,e){return this.addCell(a,b,e,c,d)};mxGraph.prototype.addCell=function(a,b,c,d,e){return this.addCells([a],b,c,d,e)[0]};\r\nmxGraph.prototype.addCells=function(a,b,c,d,e,f){null==b&&(b=this.getDefaultParent());null==c&&(c=this.model.getChildCount(b));this.model.beginUpdate();try{this.cellsAdded(a,b,c,d,e,null!=f?f:!1,!0),this.fireEvent(new mxEventObject(mxEvent.ADD_CELLS,"cells",a,"parent",b,"index",c,"source",d,"target",e))}finally{this.model.endUpdate()}return a};\r\nmxGraph.prototype.cellsAdded=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=b&&null!=c){this.model.beginUpdate();try{for(var l=f?this.view.getState(b):null,m=null!=l?l.origin:null,n=new mxPoint(0,0),l=0;l<a.length;l++)if(null==a[l])c--;else{var p=this.model.getParent(a[l]);if(null!=m&&a[l]!=b&&b!=p){var q=this.view.getState(p),r=null!=q?q.origin:n,t=this.model.getGeometry(a[l]);if(null!=t){var u=r.x-m.x,x=r.y-m.y,t=t.clone();t.translate(u,x);t.relative||!this.model.isVertex(a[l])||this.isAllowNegativeCoordinates()||\r\n(t.x=Math.max(0,t.x),t.y=Math.max(0,t.y));this.model.setGeometry(a[l],t)}}b==p&&c+l>this.model.getChildCount(b)&&c--;this.model.add(b,a[l],c+l);this.autoSizeCellsOnAdd&&this.autoSizeCell(a[l],!0);(null==k||k)&&this.isExtendParentsOnAdd(a[l])&&this.isExtendParent(a[l])&&this.extendParent(a[l]);(null==g||g)&&this.constrainChild(a[l]);null!=d&&this.cellConnected(a[l],d,!0);null!=e&&this.cellConnected(a[l],e,!1)}this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,"cells",a,"parent",b,"index",c,"source",\r\nd,"target",e,"absolute",f))}finally{this.model.endUpdate()}}};mxGraph.prototype.autoSizeCell=function(a,b){if(null!=b?b:1)for(var c=this.model.getChildCount(a),d=0;d<c;d++)this.autoSizeCell(this.model.getChildAt(a,d));this.getModel().isVertex(a)&&this.isAutoSizeCell(a)&&this.updateCellSize(a)};\r\nmxGraph.prototype.removeCells=function(a,b){b=null!=b?b:!0;null==a&&(a=this.getDeletableCells(this.getSelectionCells()));if(b)a=this.getDeletableCells(this.addAllEdges(a));else{a=a.slice();for(var c=this.getDeletableCells(this.getAllEdges(a)),d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<c.length;e++)null!=this.view.getState(c[e])||d.get(c[e])||(d.put(c[e],!0),a.push(c[e]))}this.model.beginUpdate();try{this.cellsRemoved(a),this.fireEvent(new mxEventObject(mxEvent.REMOVE_CELLS,"cells",\r\na,"includeEdges",b))}finally{this.model.endUpdate()}return a};\r\nmxGraph.prototype.cellsRemoved=function(a){if(null!=a&&0<a.length){var b=this.view.scale,c=this.view.translate;this.model.beginUpdate();try{for(var d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<a.length;e++){for(var f=this.getAllEdges([a[e]]),g=mxUtils.bind(this,function(d,f){var g=this.model.getGeometry(d);if(null!=g){for(var k=this.model.getTerminal(d,f),l=!1,m=k;null!=m;){if(a[e]==m){l=!0;break}m=this.model.getParent(m)}l&&(g=g.clone(),l=this.view.getState(d),null!=l&&null!=l.absolutePoints?\r\n(k=l.absolutePoints,m=f?0:k.length-1,g.setTerminalPoint(new mxPoint(k[m].x/b-c.x-l.origin.x,k[m].y/b-c.y-l.origin.y),f)):(k=this.view.getState(k),null!=k&&g.setTerminalPoint(new mxPoint(k.getCenterX()/b-c.x,k.getCenterY()/b-c.y),f)),this.model.setGeometry(d,g),this.model.setTerminal(d,null,f))}}),k=0;k<f.length;k++)d.get(f[k])||(d.put(f[k],!0),g(f[k],!0),g(f[k],!1));this.model.remove(a[e])}this.fireEvent(new mxEventObject(mxEvent.CELLS_REMOVED,"cells",a))}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.splitEdge=function(a,b,c,d,e,f,g,k){d=d||0;e=e||0;k=null!=k?k:this.model.getParent(a);f=this.model.getTerminal(a,!0);this.model.beginUpdate();try{if(null==c){c=this.cloneCell(a);var l=this.view.getState(a),m=this.getCellGeometry(c);if(null!=m&&null!=m.points&&null!=l){var n=this.view.translate,p=this.view.scale,q=mxUtils.findNearestSegment(l,(d+n.x)*p,(e+n.y)*p);m.points=m.points.slice(0,q);m=this.getCellGeometry(a);null!=m&&null!=m.points&&(m=m.clone(),m.points=m.points.slice(q),\r\nthis.model.setGeometry(a,m))}}this.cellsMoved(b,d,e,!1,!1);this.cellsAdded(b,k,this.model.getChildCount(k),null,null,!0);this.cellsAdded([c],k,this.model.getChildCount(k),f,b[0],!1);this.cellConnected(a,b[0],!0);this.fireEvent(new mxEventObject(mxEvent.SPLIT_EDGE,"edge",a,"cells",b,"newEdge",c,"dx",d,"dy",e))}finally{this.model.endUpdate()}return c};\r\nmxGraph.prototype.toggleCells=function(a,b,c){null==b&&(b=this.getSelectionCells());c&&(b=this.addAllEdges(b));this.model.beginUpdate();try{this.cellsToggled(b,a),this.fireEvent(new mxEventObject(mxEvent.TOGGLE_CELLS,"show",a,"cells",b,"includeEdges",c))}finally{this.model.endUpdate()}return b};mxGraph.prototype.cellsToggled=function(a,b){if(null!=a&&0<a.length){this.model.beginUpdate();try{for(var c=0;c<a.length;c++)this.model.setVisible(a[c],b)}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.foldCells=function(a,b,c,d,e){b=null!=b?b:!1;null==c&&(c=this.getFoldableCells(this.getSelectionCells(),a));this.stopEditing(!1);this.model.beginUpdate();try{this.cellsFolded(c,a,b,d),this.fireEvent(new mxEventObject(mxEvent.FOLD_CELLS,"collapse",a,"recurse",b,"cells",c))}finally{this.model.endUpdate()}return c};\r\nmxGraph.prototype.cellsFolded=function(a,b,c,d){if(null!=a&&0<a.length){this.model.beginUpdate();try{for(var e=0;e<a.length;e++)if((!d||this.isCellFoldable(a[e],b))&&b!=this.isCellCollapsed(a[e])){this.model.setCollapsed(a[e],b);this.swapBounds(a[e],b);this.isExtendParent(a[e])&&this.extendParent(a[e]);if(c){var f=this.model.getChildren(a[e]);this.cellsFolded(f,b,c)}this.constrainChild(a[e])}this.fireEvent(new mxEventObject(mxEvent.CELLS_FOLDED,"cells",a,"collapse",b,"recurse",c))}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.swapBounds=function(a,b){if(null!=a){var c=this.model.getGeometry(a);null!=c&&(c=c.clone(),this.updateAlternateBounds(a,c,b),c.swap(),this.model.setGeometry(a,c))}};\r\nmxGraph.prototype.updateAlternateBounds=function(a,b,c){if(null!=a&&null!=b){c=this.getCurrentCellStyle(a);if(null==b.alternateBounds){var d=b;this.collapseToPreferredSize&&(a=this.getPreferredSizeForCell(a),null!=a&&(d=a,a=mxUtils.getValue(c,mxConstants.STYLE_STARTSIZE),0<a&&(d.height=Math.max(d.height,a))));b.alternateBounds=new mxRectangle(0,0,d.width,d.height)}if(null!=b.alternateBounds){b.alternateBounds.x=b.x;b.alternateBounds.y=b.y;var e=mxUtils.toRadians(c[mxConstants.STYLE_ROTATION]||0);\r\n0!=e&&(c=b.alternateBounds.getCenterX()-b.getCenterX(),d=b.alternateBounds.getCenterY()-b.getCenterY(),a=Math.cos(e),e=Math.sin(e),b.alternateBounds.x+=a*c-e*d-c,b.alternateBounds.y+=e*c+a*d-d)}}};mxGraph.prototype.addAllEdges=function(a){var b=a.slice();return mxUtils.removeDuplicates(b.concat(this.getAllEdges(a)))};\r\nmxGraph.prototype.getAllEdges=function(a){var b=[];if(null!=a)for(var c=0;c<a.length;c++){for(var d=this.model.getEdgeCount(a[c]),e=0;e<d;e++)b.push(this.model.getEdgeAt(a[c],e));d=this.model.getChildren(a[c]);b=b.concat(this.getAllEdges(d))}return b};mxGraph.prototype.updateCellSize=function(a,b){b=null!=b?b:!1;this.model.beginUpdate();try{this.cellSizeUpdated(a,b),this.fireEvent(new mxEventObject(mxEvent.UPDATE_CELL_SIZE,"cell",a,"ignoreChildren",b))}finally{this.model.endUpdate()}return a};\r\nmxGraph.prototype.cellSizeUpdated=function(a,b){if(null!=a){this.model.beginUpdate();try{var c=this.getPreferredSizeForCell(a),d=this.model.getGeometry(a);if(null!=c&&null!=d){var e=this.isCellCollapsed(a),d=d.clone();if(this.isSwimlane(a)){var f=this.getCellStyle(a),g=this.model.getStyle(a);null==g&&(g="");mxUtils.getValue(f,mxConstants.STYLE_HORIZONTAL,!0)?(g=mxUtils.setStyle(g,mxConstants.STYLE_STARTSIZE,c.height+8),e&&(d.height=c.height+8),d.width=c.width):(g=mxUtils.setStyle(g,mxConstants.STYLE_STARTSIZE,\r\nc.width+8),e&&(d.width=c.width+8),d.height=c.height);this.model.setStyle(a,g)}else{var k=this.view.createState(a),l=k.style[mxConstants.STYLE_ALIGN]||mxConstants.ALIGN_CENTER,m=this.getVerticalAlign(k);"fixed"==k.style[mxConstants.STYLE_ASPECT]&&(c.height=Math.round(d.height*c.width*100/d.width)/100);l==mxConstants.ALIGN_RIGHT?d.x+=d.width-c.width:l==mxConstants.ALIGN_CENTER&&(d.x+=Math.round((d.width-c.width)/2));m==mxConstants.ALIGN_BOTTOM?d.y+=d.height-c.height:m==mxConstants.ALIGN_MIDDLE&&(d.y+=\r\nMath.round((d.height-c.height)/2));d.width=c.width;d.height=c.height}if(!b&&!e){var n=this.view.getBounds(this.model.getChildren(a));if(null!=n){var p=this.view.translate,q=this.view.scale,r=(n.y+n.height)/q-d.y-p.y;d.width=Math.max(d.width,(n.x+n.width)/q-d.x-p.x);d.height=Math.max(d.height,r)}}this.cellsResized([a],[d],!1)}}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.getPreferredSizeForCell=function(a,b){var c=null;if(null!=a){var d=this.view.createState(a),e=d.style;if(!this.model.isEdge(a)){var f=e[mxConstants.STYLE_FONTSIZE]||mxConstants.DEFAULT_FONTSIZE,g=0,c=0;null==this.getImage(d)&&null==e[mxConstants.STYLE_IMAGE]||e[mxConstants.STYLE_SHAPE]!=mxConstants.SHAPE_LABEL||(e[mxConstants.STYLE_VERTICAL_ALIGN]==mxConstants.ALIGN_MIDDLE&&(g+=parseFloat(e[mxConstants.STYLE_IMAGE_WIDTH])||mxLabel.prototype.imageSize),e[mxConstants.STYLE_ALIGN]!=\r\nmxConstants.ALIGN_CENTER&&(c+=parseFloat(e[mxConstants.STYLE_IMAGE_HEIGHT])||mxLabel.prototype.imageSize));var g=g+2*(e[mxConstants.STYLE_SPACING]||0),g=g+(e[mxConstants.STYLE_SPACING_LEFT]||0),g=g+(e[mxConstants.STYLE_SPACING_RIGHT]||0),c=c+2*(e[mxConstants.STYLE_SPACING]||0),c=c+(e[mxConstants.STYLE_SPACING_TOP]||0),c=c+(e[mxConstants.STYLE_SPACING_BOTTOM]||0),k=this.getFoldingImage(d);null!=k&&(g+=k.width+8);k=this.cellRenderer.getLabelValue(d);null!=k&&0<k.length?(this.isHtmlLabel(d.cell)||(k=\r\nmxUtils.htmlEntities(k,!1)),k=k.replace(/\\n/g,"<br>"),f=mxUtils.getSizeForString(k,f,e[mxConstants.STYLE_FONTFAMILY],b,e[mxConstants.STYLE_FONTSTYLE]),d=f.width+g,c=f.height+c,mxUtils.getValue(e,mxConstants.STYLE_HORIZONTAL,!0)||(e=c,c=d,d=e),this.gridEnabled&&(d=this.snap(d+this.gridSize/2),c=this.snap(c+this.gridSize/2)),c=new mxRectangle(0,0,d,c)):(e=4*this.gridSize,c=new mxRectangle(0,0,e,e))}}return c};mxGraph.prototype.resizeCell=function(a,b,c){return this.resizeCells([a],[b],c)[0]};\r\nmxGraph.prototype.resizeCells=function(a,b,c){c=null!=c?c:this.isRecursiveResize();this.model.beginUpdate();try{var d=this.cellsResized(a,b,c);this.fireEvent(new mxEventObject(mxEvent.RESIZE_CELLS,"cells",a,"bounds",b,"previous",d))}finally{this.model.endUpdate()}return a};\r\nmxGraph.prototype.cellsResized=function(a,b,c){c=null!=c?c:!1;var d=[];if(null!=a&&null!=b&&a.length==b.length){this.model.beginUpdate();try{for(var e=0;e<a.length;e++)d.push(this.cellResized(a[e],b[e],!1,c)),this.isExtendParent(a[e])&&this.extendParent(a[e]),this.constrainChild(a[e]);this.resetEdgesOnResize&&this.resetEdges(a);this.fireEvent(new mxEventObject(mxEvent.CELLS_RESIZED,"cells",a,"bounds",b,"previous",d))}finally{this.model.endUpdate()}}return d};\r\nmxGraph.prototype.cellResized=function(a,b,c,d){var e=this.model.getGeometry(a);if(null!=e&&(e.x!=b.x||e.y!=b.y||e.width!=b.width||e.height!=b.height)){var f=e.clone();!c&&f.relative?(c=f.offset,null!=c&&(c.x+=b.x-f.x,c.y+=b.y-f.y)):(f.x=b.x,f.y=b.y);f.width=b.width;f.height=b.height;f.relative||!this.model.isVertex(a)||this.isAllowNegativeCoordinates()||(f.x=Math.max(0,f.x),f.y=Math.max(0,f.y));this.model.beginUpdate();try{d&&this.resizeChildCells(a,f),this.model.setGeometry(a,f),this.constrainChildCells(a)}finally{this.model.endUpdate()}}return e};\r\nmxGraph.prototype.resizeChildCells=function(a,b){for(var c=this.model.getGeometry(a),d=0!=c.width?b.width/c.width:1,c=0!=c.height?b.height/c.height:1,e=this.model.getChildCount(a),f=0;f<e;f++)this.scaleCell(this.model.getChildAt(a,f),d,c,!0)};mxGraph.prototype.constrainChildCells=function(a){for(var b=this.model.getChildCount(a),c=0;c<b;c++)this.constrainChild(this.model.getChildAt(a,c))};\r\nmxGraph.prototype.scaleCell=function(a,b,c,d){var e=this.model.getGeometry(a);if(null!=e){var f=this.getCurrentCellStyle(a),e=e.clone(),g=e.x,k=e.y,l=e.width,m=e.height;e.scale(b,c,"fixed"==f[mxConstants.STYLE_ASPECT]);"1"==f[mxConstants.STYLE_RESIZE_WIDTH]?e.width=l*b:"0"==f[mxConstants.STYLE_RESIZE_WIDTH]&&(e.width=l);"1"==f[mxConstants.STYLE_RESIZE_HEIGHT]?e.height=m*c:"0"==f[mxConstants.STYLE_RESIZE_HEIGHT]&&(e.height=m);this.isCellMovable(a)||(e.x=g,e.y=k);this.isCellResizable(a)||(e.width=l,\r\ne.height=m);this.model.isVertex(a)?this.cellResized(a,e,!0,d):this.model.setGeometry(a,e)}};mxGraph.prototype.extendParent=function(a){if(null!=a){var b=this.model.getParent(a),c=this.getCellGeometry(b);null==b||null==c||this.isCellCollapsed(b)||(a=this.getCellGeometry(a),null!=a&&!a.relative&&(c.width<a.x+a.width||c.height<a.y+a.height)&&(c=c.clone(),c.width=Math.max(c.width,a.x+a.width),c.height=Math.max(c.height,a.y+a.height),this.cellsResized([b],[c],!1)))}};\r\nmxGraph.prototype.importCells=function(a,b,c,d,e,f){return this.moveCells(a,b,c,!0,d,e,f)};\r\nmxGraph.prototype.moveCells=function(a,b,c,d,e,f,g){b=null!=b?b:0;c=null!=c?c:0;d=null!=d?d:!1;if(null!=a&&(0!=b||0!=c||d||null!=e)){var k=a=this.model.getTopmostCells(a);this.model.beginUpdate();try{for(var l=new mxDictionary,m=0;m<a.length;m++)l.put(a[m],!0);for(var n=mxUtils.bind(this,function(a){for(;null!=a;){if(l.get(a))return!0;a=this.model.getParent(a)}return!1}),p=[],m=0;m<a.length;m++){var q=this.getCellGeometry(a[m]),r=this.model.getParent(a[m]);null!=q&&q.relative&&this.model.isEdge(r)&&\r\n(n(this.model.getTerminal(r,!0))||n(this.model.getTerminal(r,!1)))||p.push(a[m])}a=p;d&&(a=this.cloneCells(a,this.isCloneInvalidEdges(),g),null==e&&(e=this.getDefaultParent()));var t=this.isAllowNegativeCoordinates();null!=e&&this.setAllowNegativeCoordinates(!0);this.cellsMoved(a,b,c,!d&&this.isDisconnectOnMove()&&this.isAllowDanglingEdges(),null==e,this.isExtendParentsOnMove()&&null==e);this.setAllowNegativeCoordinates(t);if(null!=e){var u=this.model.getChildCount(e);this.cellsAdded(a,e,u,null,null,\r\n!0);if(d)for(m=0;m<a.length;m++)q=this.getCellGeometry(a[m]),r=this.model.getParent(k[m]),null!=q&&q.relative&&this.model.isEdge(r)&&this.model.contains(r)&&this.model.add(r,a[m])}this.fireEvent(new mxEventObject(mxEvent.MOVE_CELLS,"cells",a,"dx",b,"dy",c,"clone",d,"target",e,"event",f))}finally{this.model.endUpdate()}}return a};\r\nmxGraph.prototype.cellsMoved=function(a,b,c,d,e,f){if(null!=a&&(0!=b||0!=c)){f=null!=f?f:!1;this.model.beginUpdate();try{d&&this.disconnectGraph(a);for(var g=0;g<a.length;g++)this.translateCell(a[g],b,c),f&&this.isExtendParent(a[g])?this.extendParent(a[g]):e&&this.constrainChild(a[g]);this.resetEdgesOnMove&&this.resetEdges(a);this.fireEvent(new mxEventObject(mxEvent.CELLS_MOVED,"cells",a,"dx",b,"dy",c,"disconnect",d))}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.translateCell=function(a,b,c){var d=this.model.getGeometry(a);if(null!=d){b=parseFloat(b);c=parseFloat(c);d=d.clone();d.translate(b,c);d.relative||!this.model.isVertex(a)||this.isAllowNegativeCoordinates()||(d.x=Math.max(0,parseFloat(d.x)),d.y=Math.max(0,parseFloat(d.y)));if(d.relative&&!this.model.isEdge(a)){var e=this.model.getParent(a),f=0;this.model.isVertex(e)&&(e=this.getCurrentCellStyle(e),f=mxUtils.getValue(e,mxConstants.STYLE_ROTATION,0));0!=f&&(f=mxUtils.toRadians(-f),\r\ne=Math.cos(f),f=Math.sin(f),c=mxUtils.getRotatedPoint(new mxPoint(b,c),e,f,new mxPoint(0,0)),b=c.x,c=c.y);null==d.offset?d.offset=new mxPoint(Math.round(b),Math.round(c)):(d.offset.x=Math.round(parseFloat(d.offset.x+b)),d.offset.y=Math.round(parseFloat(d.offset.y+c)))}this.model.setGeometry(a,d)}};\r\nmxGraph.prototype.getCellContainmentArea=function(a){if(null!=a&&!this.model.isEdge(a)){var b=this.model.getParent(a);if(null!=b&&b!=this.getDefaultParent()){var c=this.model.getGeometry(b);if(null!=c){var d=a=0,e=c.width,c=c.height;if(this.isSwimlane(b)){var f=this.getStartSize(b),g=this.getCurrentCellStyle(b),b=mxUtils.getValue(g,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST),k=1==mxUtils.getValue(g,mxConstants.STYLE_FLIPH,0),g=1==mxUtils.getValue(g,mxConstants.STYLE_FLIPV,0);if(b==mxConstants.DIRECTION_SOUTH||\r\nb==mxConstants.DIRECTION_NORTH){var l=f.width;f.width=f.height;f.height=l}if(b==mxConstants.DIRECTION_EAST&&!g||b==mxConstants.DIRECTION_NORTH&&!k||b==mxConstants.DIRECTION_WEST&&g||b==mxConstants.DIRECTION_SOUTH&&k)a=f.width,d=f.height;e-=f.width;c-=f.height}return new mxRectangle(a,d,e,c)}}}return null};mxGraph.prototype.getMaximumGraphBounds=function(){return this.maximumGraphBounds};\r\nmxGraph.prototype.constrainChild=function(a,b){if(null!=a){var c=this.getCellGeometry(a);if(null!=c&&(this.isConstrainRelativeChildren()||!c.relative)){var d=this.model.getParent(a);this.getCellGeometry(d);var e=this.getMaximumGraphBounds();null!=e&&(d=this.getBoundingBoxFromGeometry([d],!1),null!=d&&(e=mxRectangle.fromRectangle(e),e.x-=d.x,e.y-=d.y));if(this.isConstrainChild(a)&&(d=this.getCellContainmentArea(a),null!=d)){var f=this.getOverlap(a);0<f&&(d=mxRectangle.fromRectangle(d),d.x-=d.width*\r\nf,d.y-=d.height*f,d.width+=2*d.width*f,d.height+=2*d.height*f);null==e?e=d:(e=mxRectangle.fromRectangle(e),e.intersect(d))}if(null!=e){d=[a];if(!this.isCellCollapsed(a))for(var f=this.model.getDescendants(a),g=0;g<f.length;g++)this.isCellVisible(f[g])&&d.push(f[g]);d=this.getBoundingBoxFromGeometry(d,!1);if(null!=d){c=c.clone();f=0;c.width>e.width&&(f=c.width-e.width,c.width-=f);d.x+d.width>e.x+e.width&&(f-=d.x+d.width-e.x-e.width-f);g=0;c.height>e.height&&(g=c.height-e.height,c.height-=g);d.y+d.height>\r\ne.y+e.height&&(g-=d.y+d.height-e.y-e.height-g);d.x<e.x&&(f-=d.x-e.x);d.y<e.y&&(g-=d.y-e.y);if(0!=f||0!=g)c.relative?(null==c.offset&&(c.offset=new mxPoint),c.offset.x+=f,c.offset.y+=g):(c.x+=f,c.y+=g);this.model.setGeometry(a,c)}}}}};\r\nmxGraph.prototype.resetEdges=function(a){if(null!=a){for(var b=new mxDictionary,c=0;c<a.length;c++)b.put(a[c],!0);this.model.beginUpdate();try{for(c=0;c<a.length;c++){var d=this.model.getEdges(a[c]);if(null!=d)for(var e=0;e<d.length;e++){var f=this.view.getState(d[e]),g=null!=f?f.getVisibleTerminal(!0):this.view.getVisibleTerminal(d[e],!0),k=null!=f?f.getVisibleTerminal(!1):this.view.getVisibleTerminal(d[e],!1);b.get(g)&&b.get(k)||this.resetEdge(d[e])}this.resetEdges(this.model.getChildren(a[c]))}}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.resetEdge=function(a){var b=this.model.getGeometry(a);null!=b&&null!=b.points&&0<b.points.length&&(b=b.clone(),b.points=[],this.model.setGeometry(a,b));return a};\r\nmxGraph.prototype.getOutlineConstraint=function(a,b,c){if(null!=b.shape){c=this.view.getPerimeterBounds(b);var d=b.style[mxConstants.STYLE_DIRECTION];if(d==mxConstants.DIRECTION_NORTH||d==mxConstants.DIRECTION_SOUTH){c.x+=c.width/2-c.height/2;c.y+=c.height/2-c.width/2;var e=c.width;c.width=c.height;c.height=e}var f=mxUtils.toRadians(b.shape.getShapeRotation());if(0!=f){var e=Math.cos(-f),f=Math.sin(-f),g=new mxPoint(c.getCenterX(),c.getCenterY());a=mxUtils.getRotatedPoint(a,e,f,g)}var g=f=1,k=0,l=\r\n0;if(this.getModel().isVertex(b.cell)){var m=b.style[mxConstants.STYLE_FLIPH],n=b.style[mxConstants.STYLE_FLIPV];null!=b.shape&&null!=b.shape.stencil&&(m=1==mxUtils.getValue(b.style,"stencilFlipH",0)||m,n=1==mxUtils.getValue(b.style,"stencilFlipV",0)||n);if(d==mxConstants.DIRECTION_NORTH||d==mxConstants.DIRECTION_SOUTH)e=m,m=n,n=e;m&&(f=-1,k=-c.width);n&&(g=-1,l=-c.height)}a=new mxPoint((a.x-c.x)*f-k+c.x,(a.y-c.y)*g-l+c.y);return new mxConnectionConstraint(new mxPoint(0==c.width?0:Math.round(1E3*\r\n(a.x-c.x)/c.width)/1E3,0==c.height?0:Math.round(1E3*(a.y-c.y)/c.height)/1E3),!1)}return null};mxGraph.prototype.getAllConnectionConstraints=function(a,b){return null!=a&&null!=a.shape&&null!=a.shape.stencil?a.shape.stencil.constraints:null};\r\nmxGraph.prototype.getConnectionConstraint=function(a,b,c){b=null;var d=a.style[c?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X];if(null!=d){var e=a.style[c?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y];null!=e&&(b=new mxPoint(parseFloat(d),parseFloat(e)))}var d=!1,f=e=0;null!=b&&(d=mxUtils.getValue(a.style,c?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,!0),e=parseFloat(a.style[c?mxConstants.STYLE_EXIT_DX:mxConstants.STYLE_ENTRY_DX]),f=parseFloat(a.style[c?mxConstants.STYLE_EXIT_DY:\r\nmxConstants.STYLE_ENTRY_DY]),e=isFinite(e)?e:0,f=isFinite(f)?f:0);return new mxConnectionConstraint(b,d,null,e,f)};\r\nmxGraph.prototype.setConnectionConstraint=function(a,b,c,d){if(null!=d){this.model.beginUpdate();try{null==d||null==d.point?(this.setCellStyles(c?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X,null,[a]),this.setCellStyles(c?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y,null,[a]),this.setCellStyles(c?mxConstants.STYLE_EXIT_DX:mxConstants.STYLE_ENTRY_DX,null,[a]),this.setCellStyles(c?mxConstants.STYLE_EXIT_DY:mxConstants.STYLE_ENTRY_DY,null,[a]),this.setCellStyles(c?mxConstants.STYLE_EXIT_PERIMETER:\r\nmxConstants.STYLE_ENTRY_PERIMETER,null,[a])):null!=d.point&&(this.setCellStyles(c?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X,d.point.x,[a]),this.setCellStyles(c?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y,d.point.y,[a]),this.setCellStyles(c?mxConstants.STYLE_EXIT_DX:mxConstants.STYLE_ENTRY_DX,d.dx,[a]),this.setCellStyles(c?mxConstants.STYLE_EXIT_DY:mxConstants.STYLE_ENTRY_DY,d.dy,[a]),d.perimeter?this.setCellStyles(c?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,\r\nnull,[a]):this.setCellStyles(c?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,"0",[a]))}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.getConnectionPoint=function(a,b,c){c=null!=c?c:!0;var d=null;if(null!=a&&null!=b.point){var e=this.view.getPerimeterBounds(a),f=new mxPoint(e.getCenterX(),e.getCenterY()),g=a.style[mxConstants.STYLE_DIRECTION],k=0;null!=g&&1==mxUtils.getValue(a.style,mxConstants.STYLE_ANCHOR_POINT_DIRECTION,1)&&(g==mxConstants.DIRECTION_NORTH?k+=270:g==mxConstants.DIRECTION_WEST?k+=180:g==mxConstants.DIRECTION_SOUTH&&(k+=90),g!=mxConstants.DIRECTION_NORTH&&g!=mxConstants.DIRECTION_SOUTH||e.rotate90());\r\nvar d=this.view.scale,d=new mxPoint(e.x+b.point.x*e.width+b.dx*d,e.y+b.point.y*e.height+b.dy*d),l=a.style[mxConstants.STYLE_ROTATION]||0;if(b.perimeter)0!=k&&(g=e=0,90==k?g=1:180==k?e=-1:270==k&&(g=-1),d=mxUtils.getRotatedPoint(d,e,g,f)),d=this.view.getPerimeterPoint(a,d,!1);else if(l+=k,this.getModel().isVertex(a.cell)){k=1==a.style[mxConstants.STYLE_FLIPH];b=1==a.style[mxConstants.STYLE_FLIPV];null!=a.shape&&null!=a.shape.stencil&&(k=1==mxUtils.getValue(a.style,"stencilFlipH",0)||k,b=1==mxUtils.getValue(a.style,\r\n"stencilFlipV",0)||b);if(g==mxConstants.DIRECTION_NORTH||g==mxConstants.DIRECTION_SOUTH)a=k,k=b,b=a;k&&(d.x=2*e.getCenterX()-d.x);b&&(d.y=2*e.getCenterY()-d.y)}0!=l&&null!=d&&(a=mxUtils.toRadians(l),e=Math.cos(a),g=Math.sin(a),d=mxUtils.getRotatedPoint(d,e,g,f))}c&&null!=d&&(d.x=Math.round(d.x),d.y=Math.round(d.y));return d};\r\nmxGraph.prototype.connectCell=function(a,b,c,d){this.model.beginUpdate();try{var e=this.model.getTerminal(a,c);this.cellConnected(a,b,c,d);this.fireEvent(new mxEventObject(mxEvent.CONNECT_CELL,"edge",a,"terminal",b,"source",c,"previous",e))}finally{this.model.endUpdate()}return a};\r\nmxGraph.prototype.cellConnected=function(a,b,c,d){if(null!=a){this.model.beginUpdate();try{var e=this.model.getTerminal(a,c);this.setConnectionConstraint(a,b,c,d);this.isPortsEnabled()&&(d=null,this.isPort(b)&&(d=b.getId(),b=this.getTerminalForPort(b,c)),this.setCellStyles(c?mxConstants.STYLE_SOURCE_PORT:mxConstants.STYLE_TARGET_PORT,d,[a]));this.model.setTerminal(a,b,c);this.resetEdgesOnConnect&&this.resetEdge(a);this.fireEvent(new mxEventObject(mxEvent.CELL_CONNECTED,"edge",a,"terminal",b,"source",\r\nc,"previous",e))}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.disconnectGraph=function(a){if(null!=a){this.model.beginUpdate();try{for(var b=this.view.scale,c=this.view.translate,d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(e=0;e<a.length;e++)if(this.model.isEdge(a[e])){var f=this.model.getGeometry(a[e]);if(null!=f){var g=this.view.getState(a[e]),k=this.view.getState(this.model.getParent(a[e]));if(null!=g&&null!=k){var f=f.clone(),l=-k.origin.x,m=-k.origin.y,n=g.absolutePoints,p=this.model.getTerminal(a[e],!0);if(null!=p&&this.isCellDisconnectable(a[e],\r\np,!0)){for(;null!=p&&!d.get(p);)p=this.model.getParent(p);null==p&&(f.setTerminalPoint(new mxPoint(n[0].x/b-c.x+l,n[0].y/b-c.y+m),!0),this.model.setTerminal(a[e],null,!0))}var q=this.model.getTerminal(a[e],!1);if(null!=q&&this.isCellDisconnectable(a[e],q,!1)){for(;null!=q&&!d.get(q);)q=this.model.getParent(q);if(null==q){var r=n.length-1;f.setTerminalPoint(new mxPoint(n[r].x/b-c.x+l,n[r].y/b-c.y+m),!1);this.model.setTerminal(a[e],null,!1)}}this.model.setGeometry(a[e],f)}}}}finally{this.model.endUpdate()}}};\r\nmxGraph.prototype.getCurrentRoot=function(){return this.view.currentRoot};mxGraph.prototype.getTranslateForRoot=function(a){return null};mxGraph.prototype.isPort=function(a){return!1};mxGraph.prototype.getTerminalForPort=function(a,b){return this.model.getParent(a)};mxGraph.prototype.getChildOffsetForCell=function(a){return null};mxGraph.prototype.enterGroup=function(a){a=a||this.getSelectionCell();null!=a&&this.isValidRoot(a)&&(this.view.setCurrentRoot(a),this.clearSelection())};\r\nmxGraph.prototype.exitGroup=function(){var a=this.model.getRoot(),b=this.getCurrentRoot();if(null!=b){for(var c=this.model.getParent(b);c!=a&&!this.isValidRoot(c)&&this.model.getParent(c)!=a;)c=this.model.getParent(c);c==a||this.model.getParent(c)==a?this.view.setCurrentRoot(null):this.view.setCurrentRoot(c);null!=this.view.getState(b)&&this.setSelectionCell(b)}};mxGraph.prototype.home=function(){var a=this.getCurrentRoot();null!=a&&(this.view.setCurrentRoot(null),null!=this.view.getState(a)&&this.setSelectionCell(a))};\r\nmxGraph.prototype.isValidRoot=function(a){return null!=a};mxGraph.prototype.getGraphBounds=function(){return this.view.getGraphBounds()};mxGraph.prototype.getCellBounds=function(a,b,c){var d=[a];b&&(d=d.concat(this.model.getEdges(a)));d=this.view.getBounds(d);if(c){c=this.model.getChildCount(a);for(var e=0;e<c;e++){var f=this.getCellBounds(this.model.getChildAt(a,e),b,!0);null!=d?d.add(f):d=f}}return d};\r\nmxGraph.prototype.getBoundingBoxFromGeometry=function(a,b){b=null!=b?b:!1;var c=null;if(null!=a)for(var d=0;d<a.length;d++)if(b||this.model.isVertex(a[d])){var e=this.getCellGeometry(a[d]);if(null!=e){var f=null;if(this.model.isEdge(a[d])){f=function(a){null!=a&&(null==g?g=new mxRectangle(a.x,a.y,0,0):g.add(new mxRectangle(a.x,a.y,0,0)))};null==this.model.getTerminal(a[d],!0)&&f(e.getTerminalPoint(!0));null==this.model.getTerminal(a[d],!1)&&f(e.getTerminalPoint(!1));e=e.points;if(null!=e&&0<e.length)for(var g=\r\nnew mxRectangle(e[0].x,e[0].y,0,0),k=1;k<e.length;k++)f(e[k]);f=g}else k=this.model.getParent(a[d]),e.relative?this.model.isVertex(k)&&k!=this.view.currentRoot&&(g=this.getBoundingBoxFromGeometry([k],!1),null!=g&&(f=new mxRectangle(e.x*g.width,e.y*g.height,e.width,e.height),0<=mxUtils.indexOf(a,k)&&(f.x+=g.x,f.y+=g.y))):(f=mxRectangle.fromRectangle(e),this.model.isVertex(k)&&0<=mxUtils.indexOf(a,k)&&(g=this.getBoundingBoxFromGeometry([k],!1),null!=g&&(f.x+=g.x,f.y+=g.y))),null!=f&&null!=e.offset&&\r\n(f.x+=e.offset.x,f.y+=e.offset.y),e=this.getCurrentCellStyle(a[d]),null!=f&&(e=mxUtils.getValue(e,mxConstants.STYLE_ROTATION,0),0!=e&&(f=mxUtils.getBoundingBox(f,e)));null!=f&&(null==c?c=mxRectangle.fromRectangle(f):c.add(f))}}return c};mxGraph.prototype.refresh=function(a){this.view.clear(a,null==a);this.view.validate();this.sizeDidChange();this.fireEvent(new mxEventObject(mxEvent.REFRESH))};mxGraph.prototype.snap=function(a){this.gridEnabled&&(a=Math.round(a/this.gridSize)*this.gridSize);return a};\r\nmxGraph.prototype.snapDelta=function(a,b,c,d,e){var f=this.view.translate,g=this.view.scale;!c&&this.gridEnabled?(c=this.gridSize*g*.5,d||(d=b.x-(this.snap(b.x/g-f.x)+f.x)*g,a.x=Math.abs(a.x-d)<c?0:this.snap(a.x/g)*g-d),e||(b=b.y-(this.snap(b.y/g-f.y)+f.y)*g,a.y=Math.abs(a.y-b)<c?0:this.snap(a.y/g)*g-b)):(c=.5*g,d||(d=b.x-(Math.round(b.x/g-f.x)+f.x)*g,a.x=Math.abs(a.x-d)<c?0:Math.round(a.x/g)*g-d),e||(b=b.y-(Math.round(b.y/g-f.y)+f.y)*g,a.y=Math.abs(a.y-b)<c?0:Math.round(a.y/g)*g-b));return a};\r\nmxGraph.prototype.panGraph=function(a,b){if(this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container))this.container.scrollLeft=-a,this.container.scrollTop=-b;else{var c=this.view.getCanvas();if(this.dialect==mxConstants.DIALECT_SVG)if(0==a&&0==b){if(mxClient.IS_IE?c.setAttribute("transform","translate("+a+","+b+")"):c.removeAttribute("transform"),null!=this.shiftPreview1){for(var d=this.shiftPreview1.firstChild;null!=d;){var e=d.nextSibling;this.container.appendChild(d);d=e}null!=this.shiftPreview1.parentNode&&\r\nthis.shiftPreview1.parentNode.removeChild(this.shiftPreview1);this.shiftPreview1=null;this.container.appendChild(c.parentNode);for(d=this.shiftPreview2.firstChild;null!=d;)e=d.nextSibling,this.container.appendChild(d),d=e;null!=this.shiftPreview2.parentNode&&this.shiftPreview2.parentNode.removeChild(this.shiftPreview2);this.shiftPreview2=null}}else{c.setAttribute("transform","translate("+a+","+b+")");if(null==this.shiftPreview1){this.shiftPreview1=document.createElement("div");this.shiftPreview1.style.position=\r\n"absolute";this.shiftPreview1.style.overflow="visible";this.shiftPreview2=document.createElement("div");this.shiftPreview2.style.position="absolute";this.shiftPreview2.style.overflow="visible";for(var f=this.shiftPreview1,d=this.container.firstChild;null!=d;)e=d.nextSibling,d!=c.parentNode?f.appendChild(d):f=this.shiftPreview2,d=e;null!=this.shiftPreview1.firstChild&&this.container.insertBefore(this.shiftPreview1,c.parentNode);null!=this.shiftPreview2.firstChild&&this.container.appendChild(this.shiftPreview2)}this.shiftPreview1.style.left=\r\na+"px";this.shiftPreview1.style.top=b+"px";this.shiftPreview2.style.left=a+"px";this.shiftPreview2.style.top=b+"px"}else c.style.left=a+"px",c.style.top=b+"px";this.panDx=a;this.panDy=b;this.fireEvent(new mxEventObject(mxEvent.PAN))}};mxGraph.prototype.zoomIn=function(){this.zoom(this.zoomFactor)};mxGraph.prototype.zoomOut=function(){this.zoom(1/this.zoomFactor)};\r\nmxGraph.prototype.zoomActual=function(){1==this.view.scale?this.view.setTranslate(0,0):(this.view.translate.x=0,this.view.translate.y=0,this.view.setScale(1))};mxGraph.prototype.zoomTo=function(a,b){this.zoom(a/this.view.scale,b)};\r\nmxGraph.prototype.center=function(a,b,c,d){a=null!=a?a:!0;b=null!=b?b:!0;c=null!=c?c:.5;d=null!=d?d:.5;var e=mxUtils.hasScrollbars(this.container),f=2*this.getBorder(),g=this.container.clientWidth-f,f=this.container.clientHeight-f,k=this.getGraphBounds(),l=this.view.translate,m=this.view.scale,n=a?g-k.width:0,p=b?f-k.height:0;e?(k.x-=l.x,k.y-=l.y,a=this.container.scrollWidth,b=this.container.scrollHeight,a>g&&(n=0),b>f&&(p=0),this.view.setTranslate(Math.floor(n/2-k.x),Math.floor(p/2-k.y)),this.container.scrollLeft=\r\n(a-g)/2,this.container.scrollTop=(b-f)/2):this.view.setTranslate(a?Math.floor(l.x-k.x/m+n*c/m):l.x,b?Math.floor(l.y-k.y/m+p*d/m):l.y)};\r\nmxGraph.prototype.zoom=function(a,b){b=null!=b?b:this.centerZoom;var c=Math.round(this.view.scale*a*100)/100,d=this.view.getState(this.getSelectionCell());a=c/this.view.scale;if(this.keepSelectionVisibleOnZoom&&null!=d)d=new mxRectangle(d.x*a,d.y*a,d.width*a,d.height*a),this.view.scale=c,this.scrollRectToVisible(d)||(this.view.revalidate(),this.view.setScale(c));else if(d=mxUtils.hasScrollbars(this.container),b&&!d){var d=this.container.offsetWidth,e=this.container.offsetHeight;if(1<a)var f=(a-1)/\r\n(2*c),d=d*-f,e=e*-f;else f=(1/a-1)/(2*this.view.scale),d*=f,e*=f;this.view.scaleAndTranslate(c,this.view.translate.x+d,this.view.translate.y+e)}else{var f=this.view.translate.x,g=this.view.translate.y,k=this.container.scrollLeft,l=this.container.scrollTop;this.view.setScale(c);d&&(e=d=0,b&&(d=this.container.offsetWidth*(a-1)/2,e=this.container.offsetHeight*(a-1)/2),this.container.scrollLeft=(this.view.translate.x-f)*this.view.scale+Math.round(k*a+d),this.container.scrollTop=(this.view.translate.y-\r\ng)*this.view.scale+Math.round(l*a+e))}};\r\nmxGraph.prototype.zoomToRect=function(a){var b=this.container.clientWidth/a.width/(this.container.clientHeight/a.height);a.x=Math.max(0,a.x);a.y=Math.max(0,a.y);var c=Math.min(this.container.scrollWidth,a.x+a.width),d=Math.min(this.container.scrollHeight,a.y+a.height);a.width=c-a.x;a.height=d-a.y;1>b?(b=a.height/b,c=(b-a.height)/2,a.height=b,a.y-=Math.min(a.y,c),d=Math.min(this.container.scrollHeight,a.y+a.height),a.height=d-a.y):(b*=a.width,c=(b-a.width)/2,a.width=b,a.x-=Math.min(a.x,c),c=Math.min(this.container.scrollWidth,\r\na.x+a.width),a.width=c-a.x);b=this.container.clientWidth/a.width;c=this.view.scale*b;mxUtils.hasScrollbars(this.container)?(this.view.setScale(c),this.container.scrollLeft=Math.round(a.x*b),this.container.scrollTop=Math.round(a.y*b)):this.view.scaleAndTranslate(c,this.view.translate.x-a.x/this.view.scale,this.view.translate.y-a.y/this.view.scale)};\r\nmxGraph.prototype.scrollCellToVisible=function(a,b){var c=-this.view.translate.x,d=-this.view.translate.y,e=this.view.getState(a);null!=e&&(c=new mxRectangle(c+e.x,d+e.y,e.width,e.height),b&&null!=this.container&&(d=this.container.clientWidth,e=this.container.clientHeight,c.x=c.getCenterX()-d/2,c.width=d,c.y=c.getCenterY()-e/2,c.height=e),d=new mxPoint(this.view.translate.x,this.view.translate.y),this.scrollRectToVisible(c)&&(c=new mxPoint(this.view.translate.x,this.view.translate.y),this.view.translate.x=\r\nd.x,this.view.translate.y=d.y,this.view.setTranslate(c.x,c.y)))};\r\nmxGraph.prototype.scrollRectToVisible=function(a){var b=!1;if(null!=a){var c=this.container.offsetWidth,d=this.container.offsetHeight,e=Math.min(c,a.width),f=Math.min(d,a.height);if(mxUtils.hasScrollbars(this.container)){c=this.container;a.x+=this.view.translate.x;a.y+=this.view.translate.y;var g=c.scrollLeft-a.x,d=Math.max(g-c.scrollLeft,0);0<g?c.scrollLeft-=g+2:(g=a.x+e-c.scrollLeft-c.clientWidth,0<g&&(c.scrollLeft+=g+2));e=c.scrollTop-a.y;g=Math.max(0,e-c.scrollTop);0<e?c.scrollTop-=e+2:(e=a.y+\r\nf-c.scrollTop-c.clientHeight,0<e&&(c.scrollTop+=e+2));this.useScrollbarsForPanning||0==d&&0==g||this.view.setTranslate(d,g)}else{var g=-this.view.translate.x,k=-this.view.translate.y,l=this.view.scale;a.x+e>g+c&&(this.view.translate.x-=(a.x+e-c-g)/l,b=!0);a.y+f>k+d&&(this.view.translate.y-=(a.y+f-d-k)/l,b=!0);a.x<g&&(this.view.translate.x+=(g-a.x)/l,b=!0);a.y<k&&(this.view.translate.y+=(k-a.y)/l,b=!0);b&&(this.view.refresh(),null!=this.selectionCellsHandler&&this.selectionCellsHandler.refresh())}}return b};\r\nmxGraph.prototype.getCellGeometry=function(a){return this.model.getGeometry(a)};mxGraph.prototype.isCellVisible=function(a){return this.model.isVisible(a)};mxGraph.prototype.isCellCollapsed=function(a){return this.model.isCollapsed(a)};mxGraph.prototype.isCellConnectable=function(a){return this.model.isConnectable(a)};\r\nmxGraph.prototype.isOrthogonal=function(a){var b=a.style[mxConstants.STYLE_ORTHOGONAL];if(null!=b)return b;a=this.view.getEdgeStyle(a);return a==mxEdgeStyle.SegmentConnector||a==mxEdgeStyle.ElbowConnector||a==mxEdgeStyle.SideToSide||a==mxEdgeStyle.TopToBottom||a==mxEdgeStyle.EntityRelation||a==mxEdgeStyle.OrthConnector};mxGraph.prototype.isLoop=function(a){var b=a.getVisibleTerminalState(!0);a=a.getVisibleTerminalState(!1);return null!=b&&b==a};mxGraph.prototype.isCloneEvent=function(a){return mxEvent.isControlDown(a)};\r\nmxGraph.prototype.isTransparentClickEvent=function(a){return!1};mxGraph.prototype.isToggleEvent=function(a){return mxClient.IS_MAC?mxEvent.isMetaDown(a):mxEvent.isControlDown(a)};mxGraph.prototype.isGridEnabledEvent=function(a){return null!=a&&!mxEvent.isAltDown(a)};mxGraph.prototype.isConstrainedEvent=function(a){return mxEvent.isShiftDown(a)};mxGraph.prototype.isIgnoreTerminalEvent=function(a){return!1};mxGraph.prototype.validationAlert=function(a){mxUtils.alert(a)};\r\nmxGraph.prototype.isEdgeValid=function(a,b,c){return null==this.getEdgeValidationError(a,b,c)};\r\nmxGraph.prototype.getEdgeValidationError=function(a,b,c){if(null!=a&&!this.isAllowDanglingEdges()&&(null==b||null==c))return"";if(null!=a&&null==this.model.getTerminal(a,!0)&&null==this.model.getTerminal(a,!1))return null;if(!this.allowLoops&&b==c&&null!=b||!this.isValidConnection(b,c))return"";if(null!=b&&null!=c){var d="";if(!this.multigraph){var e=this.model.getEdgesBetween(b,c,!0);if(1<e.length||1==e.length&&e[0]!=a)d+=(mxResources.get(this.alreadyConnectedResource)||this.alreadyConnectedResource)+\r\n"\\n"}var e=this.model.getDirectedEdgeCount(b,!0,a),f=this.model.getDirectedEdgeCount(c,!1,a);if(null!=this.multiplicities)for(var g=0;g<this.multiplicities.length;g++){var k=this.multiplicities[g].check(this,a,b,c,e,f);null!=k&&(d+=k)}k=this.validateEdge(a,b,c);null!=k&&(d+=k);return 0<d.length?d:null}return this.allowDanglingEdges?null:""};mxGraph.prototype.validateEdge=function(a,b,c){return null};\r\nmxGraph.prototype.validateGraph=function(a,b){a=null!=a?a:this.model.getRoot();b=null!=b?b:{};for(var c=!0,d=this.model.getChildCount(a),e=0;e<d;e++){var f=this.model.getChildAt(a,e),g=b;this.isValidRoot(f)&&(g={});g=this.validateGraph(f,g);null!=g?this.setCellWarning(f,g.replace(/\\n/g,"<br>")):this.setCellWarning(f,null);c=c&&null==g}d="";this.isCellCollapsed(a)&&!c&&(d+=(mxResources.get(this.containsValidationErrorsResource)||this.containsValidationErrorsResource)+"\\n");d=this.model.isEdge(a)?d+\r\n(this.getEdgeValidationError(a,this.model.getTerminal(a,!0),this.model.getTerminal(a,!1))||""):d+(this.getCellValidationError(a)||"");e=this.validateCell(a,b);null!=e&&(d+=e);null==this.model.getParent(a)&&this.view.validate();return 0<d.length||!c?d:null};\r\nmxGraph.prototype.getCellValidationError=function(a){var b=this.model.getDirectedEdgeCount(a,!0),c=this.model.getDirectedEdgeCount(a,!1);a=this.model.getValue(a);var d="";if(null!=this.multiplicities)for(var e=0;e<this.multiplicities.length;e++){var f=this.multiplicities[e];f.source&&mxUtils.isNode(a,f.type,f.attr,f.value)&&(b>f.max||b<f.min)?d+=f.countError+"\\n":!f.source&&mxUtils.isNode(a,f.type,f.attr,f.value)&&(c>f.max||c<f.min)&&(d+=f.countError+"\\n")}return 0<d.length?d:null};\r\nmxGraph.prototype.validateCell=function(a,b){return null};mxGraph.prototype.getBackgroundImage=function(){return this.backgroundImage};mxGraph.prototype.setBackgroundImage=function(a){this.backgroundImage=a};mxGraph.prototype.getFoldingImage=function(a){if(null!=a&&this.foldingEnabled&&!this.getModel().isEdge(a.cell)){var b=this.isCellCollapsed(a.cell);if(this.isCellFoldable(a.cell,!b))return b?this.collapsedImage:this.expandedImage}return null};\r\nmxGraph.prototype.convertValueToString=function(a){a=this.model.getValue(a);if(null!=a){if(mxUtils.isNode(a))return a.nodeName;if("function"==typeof a.toString)return a.toString()}return""};mxGraph.prototype.getLabel=function(a){var b="";if(this.labelsVisible&&null!=a){var c=this.getCurrentCellStyle(a);mxUtils.getValue(c,mxConstants.STYLE_NOLABEL,!1)||(b=this.convertValueToString(a))}return b};mxGraph.prototype.isHtmlLabel=function(a){return this.isHtmlLabels()};mxGraph.prototype.isHtmlLabels=function(){return this.htmlLabels};\r\nmxGraph.prototype.setHtmlLabels=function(a){this.htmlLabels=a};mxGraph.prototype.isWrapping=function(a){return"wrap"==this.getCurrentCellStyle(a)[mxConstants.STYLE_WHITE_SPACE]};mxGraph.prototype.isLabelClipped=function(a){return"hidden"==this.getCurrentCellStyle(a)[mxConstants.STYLE_OVERFLOW]};\r\nmxGraph.prototype.getTooltip=function(a,b,c,d){var e=null;null!=a&&(null==a.control||b!=a.control.node&&b.parentNode!=a.control.node||(e=this.collapseExpandResource,e=mxUtils.htmlEntities(mxResources.get(e)||e).replace(/\\\\n/g,"<br>")),null==e&&null!=a.overlays&&a.overlays.visit(function(a,c){null!=e||b!=c.node&&b.parentNode!=c.node||(e=c.overlay.toString())}),null==e&&(c=this.selectionCellsHandler.getHandler(a.cell),null!=c&&"function"==typeof c.getTooltipForNode&&(e=c.getTooltipForNode(b))),null==\r\ne&&(e=this.getTooltipForCell(a.cell)));return e};mxGraph.prototype.getTooltipForCell=function(a){return null!=a&&null!=a.getTooltip?a.getTooltip():this.convertValueToString(a)};mxGraph.prototype.getLinkForCell=function(a){return null};mxGraph.prototype.getLinkTargetForCell=function(a){return null};mxGraph.prototype.getCursorForMouseEvent=function(a){return this.getCursorForCell(a.getCell())};mxGraph.prototype.getCursorForCell=function(a){return null};\r\nmxGraph.prototype.getStartSize=function(a,b){var c=new mxRectangle,d=this.getCurrentCellStyle(a,b),e=parseInt(mxUtils.getValue(d,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));mxUtils.getValue(d,mxConstants.STYLE_HORIZONTAL,!0)?c.height=e:c.width=e;return c};\r\nmxGraph.prototype.getSwimlaneDirection=function(a){var b=mxUtils.getValue(a,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST),c=1==mxUtils.getValue(a,mxConstants.STYLE_FLIPH,0),d=1==mxUtils.getValue(a,mxConstants.STYLE_FLIPV,0);a=mxUtils.getValue(a,mxConstants.STYLE_HORIZONTAL,!0)?0:3;b==mxConstants.DIRECTION_NORTH?a--:b==mxConstants.DIRECTION_WEST?a+=2:b==mxConstants.DIRECTION_SOUTH&&(a+=1);b=mxUtils.mod(a,2);c&&1==b&&(a+=2);d&&0==b&&(a+=2);return[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,\r\nmxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST][mxUtils.mod(a,4)]};mxGraph.prototype.getActualStartSize=function(a,b){var c=new mxRectangle;if(this.isSwimlane(a,b)){var d=this.getCurrentCellStyle(a,b),e=parseInt(mxUtils.getValue(d,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),d=this.getSwimlaneDirection(d);d==mxConstants.DIRECTION_NORTH?c.y=e:d==mxConstants.DIRECTION_WEST?c.x=e:d==mxConstants.DIRECTION_SOUTH?c.height=e:c.width=e}return c};\r\nmxGraph.prototype.getImage=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_IMAGE]:null};mxGraph.prototype.isTransparentState=function(a){var b=!1;if(null!=a)var b=mxUtils.getValue(a.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),c=mxUtils.getValue(a.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE),b=b==mxConstants.NONE&&c==mxConstants.NONE&&null==this.getImage(a);return b};\r\nmxGraph.prototype.getVerticalAlign=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_VERTICAL_ALIGN]||mxConstants.ALIGN_MIDDLE:null};mxGraph.prototype.getIndicatorColor=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_INDICATOR_COLOR]:null};mxGraph.prototype.getIndicatorGradientColor=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_INDICATOR_GRADIENTCOLOR]:null};\r\nmxGraph.prototype.getIndicatorShape=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_INDICATOR_SHAPE]:null};mxGraph.prototype.getIndicatorImage=function(a){return null!=a&&null!=a.style?a.style[mxConstants.STYLE_INDICATOR_IMAGE]:null};mxGraph.prototype.getBorder=function(){return this.border};mxGraph.prototype.setBorder=function(a){this.border=a};\r\nmxGraph.prototype.isSwimlane=function(a,b){return null==a||this.model.getParent(a)==this.model.getRoot()||this.model.isEdge(a)?!1:this.getCurrentCellStyle(a,b)[mxConstants.STYLE_SHAPE]==mxConstants.SHAPE_SWIMLANE};mxGraph.prototype.isResizeContainer=function(){return this.resizeContainer};mxGraph.prototype.setResizeContainer=function(a){this.resizeContainer=a};mxGraph.prototype.isEnabled=function(){return this.enabled};\r\nmxGraph.prototype.setEnabled=function(a){this.enabled=a;this.fireEvent(new mxEventObject("enabledChanged","enabled",a))};mxGraph.prototype.isEscapeEnabled=function(){return this.escapeEnabled};mxGraph.prototype.setEscapeEnabled=function(a){this.escapeEnabled=a};mxGraph.prototype.isInvokesStopCellEditing=function(){return this.invokesStopCellEditing};mxGraph.prototype.setInvokesStopCellEditing=function(a){this.invokesStopCellEditing=a};mxGraph.prototype.isEnterStopsCellEditing=function(){return this.enterStopsCellEditing};\r\nmxGraph.prototype.setEnterStopsCellEditing=function(a){this.enterStopsCellEditing=a};mxGraph.prototype.isCellLocked=function(a){var b=this.model.getGeometry(a);return this.isCellsLocked()||null!=b&&this.model.isVertex(a)&&b.relative};mxGraph.prototype.isCellsLocked=function(){return this.cellsLocked};mxGraph.prototype.setCellsLocked=function(a){this.cellsLocked=a};mxGraph.prototype.getCloneableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellCloneable(a)}))};\r\nmxGraph.prototype.isCellCloneable=function(a){a=this.getCurrentCellStyle(a);return this.isCellsCloneable()&&0!=a[mxConstants.STYLE_CLONEABLE]};mxGraph.prototype.isCellsCloneable=function(){return this.cellsCloneable};mxGraph.prototype.setCellsCloneable=function(a){this.cellsCloneable=a};mxGraph.prototype.getExportableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.canExportCell(a)}))};mxGraph.prototype.canExportCell=function(a){return this.exportEnabled};\r\nmxGraph.prototype.getImportableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.canImportCell(a)}))};mxGraph.prototype.canImportCell=function(a){return this.importEnabled};mxGraph.prototype.isCellSelectable=function(a){return this.isCellsSelectable()};mxGraph.prototype.isCellsSelectable=function(){return this.cellsSelectable};mxGraph.prototype.setCellsSelectable=function(a){this.cellsSelectable=a};\r\nmxGraph.prototype.getDeletableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellDeletable(a)}))};mxGraph.prototype.isCellDeletable=function(a){a=this.getCurrentCellStyle(a);return this.isCellsDeletable()&&0!=a[mxConstants.STYLE_DELETABLE]};mxGraph.prototype.isCellsDeletable=function(){return this.cellsDeletable};mxGraph.prototype.setCellsDeletable=function(a){this.cellsDeletable=a};\r\nmxGraph.prototype.isLabelMovable=function(a){return!this.isCellLocked(a)&&(this.model.isEdge(a)&&this.edgeLabelsMovable||this.model.isVertex(a)&&this.vertexLabelsMovable)};mxGraph.prototype.getRotatableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellRotatable(a)}))};mxGraph.prototype.isCellRotatable=function(a){return 0!=this.getCurrentCellStyle(a)[mxConstants.STYLE_ROTATABLE]};\r\nmxGraph.prototype.getMovableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellMovable(a)}))};mxGraph.prototype.isCellMovable=function(a){var b=this.getCurrentCellStyle(a);return this.isCellsMovable()&&!this.isCellLocked(a)&&0!=b[mxConstants.STYLE_MOVABLE]};mxGraph.prototype.isCellsMovable=function(){return this.cellsMovable};mxGraph.prototype.setCellsMovable=function(a){this.cellsMovable=a};mxGraph.prototype.isGridEnabled=function(){return this.gridEnabled};\r\nmxGraph.prototype.setGridEnabled=function(a){this.gridEnabled=a};mxGraph.prototype.isPortsEnabled=function(){return this.portsEnabled};mxGraph.prototype.setPortsEnabled=function(a){this.portsEnabled=a};mxGraph.prototype.getGridSize=function(){return this.gridSize};mxGraph.prototype.setGridSize=function(a){this.gridSize=a};mxGraph.prototype.getTolerance=function(){return this.tolerance};mxGraph.prototype.setTolerance=function(a){this.tolerance=a};mxGraph.prototype.isVertexLabelsMovable=function(){return this.vertexLabelsMovable};\r\nmxGraph.prototype.setVertexLabelsMovable=function(a){this.vertexLabelsMovable=a};mxGraph.prototype.isEdgeLabelsMovable=function(){return this.edgeLabelsMovable};mxGraph.prototype.setEdgeLabelsMovable=function(a){this.edgeLabelsMovable=a};mxGraph.prototype.isSwimlaneNesting=function(){return this.swimlaneNesting};mxGraph.prototype.setSwimlaneNesting=function(a){this.swimlaneNesting=a};mxGraph.prototype.isSwimlaneSelectionEnabled=function(){return this.swimlaneSelectionEnabled};\r\nmxGraph.prototype.setSwimlaneSelectionEnabled=function(a){this.swimlaneSelectionEnabled=a};mxGraph.prototype.isMultigraph=function(){return this.multigraph};mxGraph.prototype.setMultigraph=function(a){this.multigraph=a};mxGraph.prototype.isAllowLoops=function(){return this.allowLoops};mxGraph.prototype.setAllowDanglingEdges=function(a){this.allowDanglingEdges=a};mxGraph.prototype.isAllowDanglingEdges=function(){return this.allowDanglingEdges};\r\nmxGraph.prototype.setConnectableEdges=function(a){this.connectableEdges=a};mxGraph.prototype.isConnectableEdges=function(){return this.connectableEdges};mxGraph.prototype.setCloneInvalidEdges=function(a){this.cloneInvalidEdges=a};mxGraph.prototype.isCloneInvalidEdges=function(){return this.cloneInvalidEdges};mxGraph.prototype.setAllowLoops=function(a){this.allowLoops=a};mxGraph.prototype.isDisconnectOnMove=function(){return this.disconnectOnMove};\r\nmxGraph.prototype.setDisconnectOnMove=function(a){this.disconnectOnMove=a};mxGraph.prototype.isDropEnabled=function(){return this.dropEnabled};mxGraph.prototype.setDropEnabled=function(a){this.dropEnabled=a};mxGraph.prototype.isSplitEnabled=function(){return this.splitEnabled};mxGraph.prototype.setSplitEnabled=function(a){this.splitEnabled=a};mxGraph.prototype.getResizableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellResizable(a)}))};\r\nmxGraph.prototype.isCellResizable=function(a){var b=this.getCurrentCellStyle(a);return this.isCellsResizable()&&!this.isCellLocked(a)&&"0"!=mxUtils.getValue(b,mxConstants.STYLE_RESIZABLE,"1")};mxGraph.prototype.isCellsResizable=function(){return this.cellsResizable};mxGraph.prototype.setCellsResizable=function(a){this.cellsResizable=a};mxGraph.prototype.isTerminalPointMovable=function(a,b){return!0};\r\nmxGraph.prototype.isCellBendable=function(a){var b=this.getCurrentCellStyle(a);return this.isCellsBendable()&&!this.isCellLocked(a)&&0!=b[mxConstants.STYLE_BENDABLE]};mxGraph.prototype.isCellsBendable=function(){return this.cellsBendable};mxGraph.prototype.setCellsBendable=function(a){this.cellsBendable=a};mxGraph.prototype.getEditableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellEditable(a)}))};\r\nmxGraph.prototype.isCellEditable=function(a){var b=this.getCurrentCellStyle(a);return this.isCellsEditable()&&!this.isCellLocked(a)&&0!=b[mxConstants.STYLE_EDITABLE]};mxGraph.prototype.isCellsEditable=function(){return this.cellsEditable};mxGraph.prototype.setCellsEditable=function(a){this.cellsEditable=a};mxGraph.prototype.isCellDisconnectable=function(a,b,c){return this.isCellsDisconnectable()&&!this.isCellLocked(a)};mxGraph.prototype.isCellsDisconnectable=function(){return this.cellsDisconnectable};\r\nmxGraph.prototype.setCellsDisconnectable=function(a){this.cellsDisconnectable=a};mxGraph.prototype.isValidSource=function(a){return null==a&&this.allowDanglingEdges||null!=a&&(!this.model.isEdge(a)||this.connectableEdges)&&this.isCellConnectable(a)};mxGraph.prototype.isValidTarget=function(a){return this.isValidSource(a)};mxGraph.prototype.isValidConnection=function(a,b){return this.isValidSource(a)&&this.isValidTarget(b)};mxGraph.prototype.setConnectable=function(a){this.connectionHandler.setEnabled(a)};\r\nmxGraph.prototype.isConnectable=function(){return this.connectionHandler.isEnabled()};mxGraph.prototype.setTooltips=function(a){this.tooltipHandler.setEnabled(a)};mxGraph.prototype.setPanning=function(a){this.panningHandler.panningEnabled=a};mxGraph.prototype.isEditing=function(a){if(null!=this.cellEditor){var b=this.cellEditor.getEditingCell();return null==a?null!=b:a==b}return!1};mxGraph.prototype.isAutoSizeCell=function(a){a=this.getCurrentCellStyle(a);return this.isAutoSizeCells()||1==a[mxConstants.STYLE_AUTOSIZE]};\r\nmxGraph.prototype.isAutoSizeCells=function(){return this.autoSizeCells};mxGraph.prototype.setAutoSizeCells=function(a){this.autoSizeCells=a};mxGraph.prototype.isExtendParent=function(a){return!this.getModel().isEdge(a)&&this.isExtendParents()};mxGraph.prototype.isExtendParents=function(){return this.extendParents};mxGraph.prototype.setExtendParents=function(a){this.extendParents=a};mxGraph.prototype.isExtendParentsOnAdd=function(a){return this.extendParentsOnAdd};\r\nmxGraph.prototype.setExtendParentsOnAdd=function(a){this.extendParentsOnAdd=a};mxGraph.prototype.isExtendParentsOnMove=function(){return this.extendParentsOnMove};mxGraph.prototype.setExtendParentsOnMove=function(a){this.extendParentsOnMove=a};mxGraph.prototype.isRecursiveResize=function(a){return this.recursiveResize};mxGraph.prototype.setRecursiveResize=function(a){this.recursiveResize=a};mxGraph.prototype.isConstrainChild=function(a){return this.isConstrainChildren()&&!this.getModel().isEdge(this.getModel().getParent(a))};\r\nmxGraph.prototype.isConstrainChildren=function(){return this.constrainChildren};mxGraph.prototype.setConstrainChildren=function(a){this.constrainChildren=a};mxGraph.prototype.isConstrainRelativeChildren=function(){return this.constrainRelativeChildren};mxGraph.prototype.setConstrainRelativeChildren=function(a){this.constrainRelativeChildren=a};mxGraph.prototype.isAllowNegativeCoordinates=function(){return this.allowNegativeCoordinates};\r\nmxGraph.prototype.setAllowNegativeCoordinates=function(a){this.allowNegativeCoordinates=a};mxGraph.prototype.getOverlap=function(a){return this.isAllowOverlapParent(a)?this.defaultOverlap:0};mxGraph.prototype.isAllowOverlapParent=function(a){return!1};mxGraph.prototype.getFoldableCells=function(a,b){return this.model.filterCells(a,mxUtils.bind(this,function(a){return this.isCellFoldable(a,b)}))};\r\nmxGraph.prototype.isCellFoldable=function(a,b){var c=this.getCurrentCellStyle(a);return 0<this.model.getChildCount(a)&&0!=c[mxConstants.STYLE_FOLDABLE]};mxGraph.prototype.isValidDropTarget=function(a,b,c){return null!=a&&(this.isSplitEnabled()&&this.isSplitTarget(a,b,c)||!this.model.isEdge(a)&&(this.isSwimlane(a)||0<this.model.getChildCount(a)&&!this.isCellCollapsed(a)))};\r\nmxGraph.prototype.isSplitTarget=function(a,b,c){return this.model.isEdge(a)&&null!=b&&1==b.length&&this.isCellConnectable(b[0])&&null==this.getEdgeValidationError(a,this.model.getTerminal(a,!0),b[0])?(c=this.model.getTerminal(a,!0),a=this.model.getTerminal(a,!1),!this.model.isAncestor(b[0],c)&&!this.model.isAncestor(b[0],a)):!1};\r\nmxGraph.prototype.getDropTarget=function(a,b,c,d){if(!this.isSwimlaneNesting())for(var e=0;e<a.length;e++)if(this.isSwimlane(a[e]))return null;e=mxUtils.convertPoint(this.container,mxEvent.getClientX(b),mxEvent.getClientY(b));e.x-=this.panDx;e.y-=this.panDy;e=this.getSwimlaneAt(e.x,e.y);if(null==c)c=e;else if(null!=e){for(var f=this.model.getParent(e);null!=f&&this.isSwimlane(f)&&f!=c;)f=this.model.getParent(f);f==c&&(c=e)}for(;null!=c&&!this.isValidDropTarget(c,a,b)&&!this.model.isLayer(c);)c=this.model.getParent(c);\r\nif(null==d||!d)for(var g=c;null!=g&&0>mxUtils.indexOf(a,g);)g=this.model.getParent(g);return this.model.isLayer(c)||null!=g?null:c};mxGraph.prototype.getDefaultParent=function(){var a=this.getCurrentRoot();null==a&&(a=this.defaultParent,null==a&&(a=this.model.getRoot(),a=this.model.getChildAt(a,0)));return a};mxGraph.prototype.setDefaultParent=function(a){this.defaultParent=a};mxGraph.prototype.getSwimlane=function(a){for(;null!=a&&!this.isSwimlane(a);)a=this.model.getParent(a);return a};\r\nmxGraph.prototype.getSwimlaneAt=function(a,b,c){null==c&&(c=this.getCurrentRoot(),null==c&&(c=this.model.getRoot()));if(null!=c)for(var d=this.model.getChildCount(c),e=0;e<d;e++){var f=this.model.getChildAt(c,e);if(null!=f){var g=this.getSwimlaneAt(a,b,f);if(null!=g)return g;if(this.isCellVisible(f)&&this.isSwimlane(f)&&(g=this.view.getState(f),this.intersects(g,a,b)))return f}}return null};\r\nmxGraph.prototype.getCellAt=function(a,b,c,d,e,f){d=null!=d?d:!0;e=null!=e?e:!0;null==c&&(c=this.getCurrentRoot(),null==c&&(c=this.getModel().getRoot()));if(null!=c)for(var g=this.model.getChildCount(c)-1;0<=g;g--){var k=this.model.getChildAt(c,g),l=this.getCellAt(a,b,k,d,e,f);if(null!=l)return l;if(this.isCellVisible(k)&&(e&&this.model.isEdge(k)||d&&this.model.isVertex(k))&&(l=this.view.getState(k),null!=l&&(null==f||!f(l,a,b))&&this.intersects(l,a,b)))return k}return null};\r\nmxGraph.prototype.intersects=function(a,b,c){if(null!=a){var d=a.absolutePoints;if(null!=d){a=this.tolerance*this.tolerance;for(var e=d[0],f=1;f<d.length;f++){var g=d[f];if(mxUtils.ptSegDistSq(e.x,e.y,g.x,g.y,b,c)<=a)return!0;e=g}}else if(e=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0),0!=e&&(d=Math.cos(-e),e=Math.sin(-e),f=new mxPoint(a.getCenterX(),a.getCenterY()),e=mxUtils.getRotatedPoint(new mxPoint(b,c),d,e,f),b=e.x,c=e.y),mxUtils.contains(a,b,c))return!0}return!1};\r\nmxGraph.prototype.hitsSwimlaneContent=function(a,b,c){var d=this.getView().getState(a);a=this.getStartSize(a);if(null!=d){var e=this.getView().getScale();b-=d.x;c-=d.y;if(0<a.width&&0<b&&b>a.width*e||0<a.height&&0<c&&c>a.height*e)return!0}return!1};mxGraph.prototype.getChildVertices=function(a){return this.getChildCells(a,!0,!1)};mxGraph.prototype.getChildEdges=function(a){return this.getChildCells(a,!1,!0)};\r\nmxGraph.prototype.getChildCells=function(a,b,c){a=null!=a?a:this.getDefaultParent();a=this.model.getChildCells(a,null!=b?b:!1,null!=c?c:!1);b=[];for(c=0;c<a.length;c++)this.isCellVisible(a[c])&&b.push(a[c]);return b};mxGraph.prototype.getConnections=function(a,b){return this.getEdges(a,b,!0,!0,!1)};mxGraph.prototype.getIncomingEdges=function(a,b){return this.getEdges(a,b,!0,!1,!1)};mxGraph.prototype.getOutgoingEdges=function(a,b){return this.getEdges(a,b,!1,!0,!1)};\r\nmxGraph.prototype.getEdges=function(a,b,c,d,e,f){c=null!=c?c:!0;d=null!=d?d:!0;e=null!=e?e:!0;f=null!=f?f:!1;for(var g=[],k=this.isCellCollapsed(a),l=this.model.getChildCount(a),m=0;m<l;m++){var n=this.model.getChildAt(a,m);if(k||!this.isCellVisible(n))g=g.concat(this.model.getEdges(n,c,d))}g=g.concat(this.model.getEdges(a,c,d));k=[];for(m=0;m<g.length;m++)n=this.view.getState(g[m]),l=null!=n?n.getVisibleTerminal(!0):this.view.getVisibleTerminal(g[m],!0),n=null!=n?n.getVisibleTerminal(!1):this.view.getVisibleTerminal(g[m],\r\n!1),(e&&l==n||l!=n&&(c&&n==a&&(null==b||this.isValidAncestor(l,b,f))||d&&l==a&&(null==b||this.isValidAncestor(n,b,f))))&&k.push(g[m]);return k};mxGraph.prototype.isValidAncestor=function(a,b,c){return c?this.model.isAncestor(b,a):this.model.getParent(a)==b};\r\nmxGraph.prototype.getOpposites=function(a,b,c,d){c=null!=c?c:!0;d=null!=d?d:!0;var e=[],f=new mxDictionary;if(null!=a)for(var g=0;g<a.length;g++){var k=this.view.getState(a[g]),l=null!=k?k.getVisibleTerminal(!0):this.view.getVisibleTerminal(a[g],!0),k=null!=k?k.getVisibleTerminal(!1):this.view.getVisibleTerminal(a[g],!1);l==b&&null!=k&&k!=b&&d?f.get(k)||(f.put(k,!0),e.push(k)):k==b&&null!=l&&l!=b&&c&&!f.get(l)&&(f.put(l,!0),e.push(l))}return e};\r\nmxGraph.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;for(var d=this.getEdges(a),e=[],f=0;f<d.length;f++){var g=this.view.getState(d[f]),k=null!=g?g.getVisibleTerminal(!0):this.view.getVisibleTerminal(d[f],!0),g=null!=g?g.getVisibleTerminal(!1):this.view.getVisibleTerminal(d[f],!1);(k==a&&g==b||!c&&k==b&&g==a)&&e.push(d[f])}return e};\r\nmxGraph.prototype.getPointForEvent=function(a,b){var c=mxUtils.convertPoint(this.container,mxEvent.getClientX(a),mxEvent.getClientY(a)),d=this.view.scale,e=this.view.translate,f=0!=b?this.gridSize/2:0;c.x=this.snap(c.x/d-e.x-f);c.y=this.snap(c.y/d-e.y-f);return c};\r\nmxGraph.prototype.getCells=function(a,b,c,d,e,f,g,k,l){f=null!=f?f:[];if(0<c||0<d||null!=g){var m=this.getModel(),n=a+c,p=b+d;null==e&&(e=this.getCurrentRoot(),null==e&&(e=m.getRoot()));if(null!=e)for(var q=m.getChildCount(e),r=0;r<q;r++){var t=m.getChildAt(e,r),u=this.view.getState(t);if(null!=u&&this.isCellVisible(t)&&(null==k||!k(u))){var x=mxUtils.getValue(u.style,mxConstants.STYLE_ROTATION)||0;0!=x&&(u=mxUtils.getBoundingBox(u,x));(x=null!=g&&m.isVertex(t)&&mxUtils.intersects(g,u)||null==g&&\r\n(m.isEdge(t)||m.isVertex(t))&&u.x>=a&&u.y+u.height<=p&&u.y>=b&&u.x+u.width<=n)&&f.push(t);x&&!l||this.getCells(a,b,c,d,t,f,g,k,l)}}}return f};mxGraph.prototype.getCellsBeyond=function(a,b,c,d,e){var f=[];if(d||e)if(null==c&&(c=this.getDefaultParent()),null!=c)for(var g=this.model.getChildCount(c),k=0;k<g;k++){var l=this.model.getChildAt(c,k),m=this.view.getState(l);this.isCellVisible(l)&&null!=m&&(!d||m.x>=a)&&(!e||m.y>=b)&&f.push(l)}return f};\r\nmxGraph.prototype.findTreeRoots=function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!1;var d=[];if(null!=a){for(var e=this.getModel(),f=e.getChildCount(a),g=null,k=0,l=0;l<f;l++){var m=e.getChildAt(a,l);if(this.model.isVertex(m)&&this.isCellVisible(m)){for(var n=this.getConnections(m,b?a:null),p=0,q=0,r=0;r<n.length;r++)this.view.getVisibleTerminal(n[r],!0)==m?p++:q++;(c&&0==p&&0<q||!c&&0==q&&0<p)&&d.push(m);n=c?q-p:p-q;n>k&&(k=n,g=m)}}0==d.length&&null!=g&&d.push(g)}return d};\r\nmxGraph.prototype.traverse=function(a,b,c,d,e,f){if(null!=c&&null!=a&&(b=null!=b?b:!0,f=null!=f?f:!1,e=e||new mxDictionary,null==d||!e.get(d))&&(e.put(d,!0),d=c(a,d),null==d||d)&&(d=this.model.getEdgeCount(a),0<d))for(var g=0;g<d;g++){var k=this.model.getEdgeAt(a,g),l=this.model.getTerminal(k,!0)==a;b&&!f!=l||(l=this.model.getTerminal(k,!l),this.traverse(l,b,c,k,e,f))}};mxGraph.prototype.isCellSelected=function(a){return this.getSelectionModel().isSelected(a)};mxGraph.prototype.isSelectionEmpty=function(){return this.getSelectionModel().isEmpty()};\r\nmxGraph.prototype.clearSelection=function(){return this.getSelectionModel().clear()};mxGraph.prototype.getSelectionCount=function(){return this.getSelectionModel().cells.length};mxGraph.prototype.getSelectionCell=function(){return this.getSelectionModel().cells[0]};mxGraph.prototype.getSelectionCells=function(){return this.getSelectionModel().cells.slice()};mxGraph.prototype.setSelectionCell=function(a){this.getSelectionModel().setCell(a)};mxGraph.prototype.setSelectionCells=function(a){this.getSelectionModel().setCells(a)};\r\nmxGraph.prototype.addSelectionCell=function(a){this.getSelectionModel().addCell(a)};mxGraph.prototype.addSelectionCells=function(a){this.getSelectionModel().addCells(a)};mxGraph.prototype.removeSelectionCell=function(a){this.getSelectionModel().removeCell(a)};mxGraph.prototype.removeSelectionCells=function(a){this.getSelectionModel().removeCells(a)};mxGraph.prototype.selectRegion=function(a,b){var c=this.getCells(a.x,a.y,a.width,a.height);this.selectCellsForEvent(c,b);return c};\r\nmxGraph.prototype.selectNextCell=function(){this.selectCell(!0)};mxGraph.prototype.selectPreviousCell=function(){this.selectCell()};mxGraph.prototype.selectParentCell=function(){this.selectCell(!1,!0)};mxGraph.prototype.selectChildCell=function(){this.selectCell(!1,!1,!0)};\r\nmxGraph.prototype.selectCell=function(a,b,c){var d=this.selectionModel,e=0<d.cells.length?d.cells[0]:null;1<d.cells.length&&d.clear();var d=null!=e?this.model.getParent(e):this.getDefaultParent(),f=this.model.getChildCount(d);null==e&&0<f?(a=this.model.getChildAt(d,0),this.setSelectionCell(a)):null!=e&&!b||null==this.view.getState(d)||null==this.model.getGeometry(d)?null!=e&&c?0<this.model.getChildCount(e)&&(a=this.model.getChildAt(e,0),this.setSelectionCell(a)):0<f&&(b=d.getIndex(e),a?(b++,a=this.model.getChildAt(d,\r\nb%f)):(b--,a=this.model.getChildAt(d,0>b?f-1:b)),this.setSelectionCell(a)):this.getCurrentRoot()!=d&&this.setSelectionCell(d)};mxGraph.prototype.selectAll=function(a,b){a=a||this.getDefaultParent();var c=b?this.model.filterDescendants(mxUtils.bind(this,function(b){return b!=a&&null!=this.view.getState(b)}),a):this.model.getChildren(a);null!=c&&this.setSelectionCells(c)};mxGraph.prototype.selectVertices=function(a,b){this.selectCells(!0,!1,a,b)};\r\nmxGraph.prototype.selectEdges=function(a){this.selectCells(!1,!0,a)};mxGraph.prototype.selectCells=function(a,b,c,d){c=c||this.getDefaultParent();var e=mxUtils.bind(this,function(c){return null!=this.view.getState(c)&&((d||0==this.model.getChildCount(c))&&this.model.isVertex(c)&&a&&!this.model.isEdge(this.model.getParent(c))||this.model.isEdge(c)&&b)});c=this.model.filterDescendants(e,c);null!=c&&this.setSelectionCells(c)};\r\nmxGraph.prototype.selectCellForEvent=function(a,b){var c=this.isCellSelected(a);this.isToggleEvent(b)?c?this.removeSelectionCell(a):this.addSelectionCell(a):c&&1==this.getSelectionCount()||this.setSelectionCell(a)};mxGraph.prototype.selectCellsForEvent=function(a,b){this.isToggleEvent(b)?this.addSelectionCells(a):this.setSelectionCells(a)};\r\nmxGraph.prototype.createHandler=function(a){var b=null;if(null!=a)if(this.model.isEdge(a.cell))var b=a.getVisibleTerminalState(!0),c=a.getVisibleTerminalState(!1),d=this.getCellGeometry(a.cell),b=this.view.getEdgeStyle(a,null!=d?d.points:null,b,c),b=this.createEdgeHandler(a,b);else b=this.createVertexHandler(a);return b};mxGraph.prototype.createVertexHandler=function(a){return new mxVertexHandler(a)};\r\nmxGraph.prototype.createEdgeHandler=function(a,b){return b==mxEdgeStyle.Loop||b==mxEdgeStyle.ElbowConnector||b==mxEdgeStyle.SideToSide||b==mxEdgeStyle.TopToBottom?this.createElbowEdgeHandler(a):b==mxEdgeStyle.SegmentConnector||b==mxEdgeStyle.OrthConnector?this.createEdgeSegmentHandler(a):new mxEdgeHandler(a)};mxGraph.prototype.createEdgeSegmentHandler=function(a){return new mxEdgeSegmentHandler(a)};mxGraph.prototype.createElbowEdgeHandler=function(a){return new mxElbowEdgeHandler(a)};\r\nmxGraph.prototype.addMouseListener=function(a){null==this.mouseListeners&&(this.mouseListeners=[]);this.mouseListeners.push(a)};mxGraph.prototype.removeMouseListener=function(a){if(null!=this.mouseListeners)for(var b=0;b<this.mouseListeners.length;b++)if(this.mouseListeners[b]==a){this.mouseListeners.splice(b,1);break}};\r\nmxGraph.prototype.updateMouseEvent=function(a,b){if(null==a.graphX||null==a.graphY){var c=mxUtils.convertPoint(this.container,a.getX(),a.getY());a.graphX=c.x-this.panDx;a.graphY=c.y-this.panDy;null==a.getCell()&&this.isMouseDown&&b==mxEvent.MOUSE_MOVE&&(a.state=this.view.getState(this.getCellAt(c.x,c.y,null,null,null,function(a){return null==a.shape||a.shape.paintBackground!=mxRectangleShape.prototype.paintBackground||"1"==mxUtils.getValue(a.style,mxConstants.STYLE_POINTER_EVENTS,"1")||null!=a.shape.fill&&\r\na.shape.fill!=mxConstants.NONE})))}return a};mxGraph.prototype.getStateForTouchEvent=function(a){var b=mxEvent.getClientX(a);a=mxEvent.getClientY(a);b=mxUtils.convertPoint(this.container,b,a);return this.view.getState(this.getCellAt(b.x,b.y))};\r\nmxGraph.prototype.isEventIgnored=function(a,b,c){var d=mxEvent.isMouseEvent(b.getEvent()),e=!1;b.getEvent()==this.lastEvent?e=!0:this.lastEvent=b.getEvent();null!=this.eventSource&&a!=mxEvent.MOUSE_MOVE?(mxEvent.removeGestureListeners(this.eventSource,null,this.mouseMoveRedirect,this.mouseUpRedirect),this.eventSource=this.mouseUpRedirect=this.mouseMoveRedirect=null):mxClient.IS_GC||null==this.eventSource||b.getSource()==this.eventSource?!mxClient.IS_TOUCH||a!=mxEvent.MOUSE_DOWN||d||mxEvent.isPenEvent(b.getEvent())||\r\n(this.eventSource=b.getSource(),this.mouseMoveRedirect=mxUtils.bind(this,function(a){this.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a,this.getStateForTouchEvent(a)))}),this.mouseUpRedirect=mxUtils.bind(this,function(a){this.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(a,this.getStateForTouchEvent(a)))}),mxEvent.addGestureListeners(this.eventSource,null,this.mouseMoveRedirect,this.mouseUpRedirect)):e=!0;this.isSyntheticEventIgnored(a,b,c)&&(e=!0);if(!mxEvent.isPopupTrigger(this.lastEvent)&&\r\na!=mxEvent.MOUSE_MOVE&&2==this.lastEvent.detail)return!0;a==mxEvent.MOUSE_UP&&this.isMouseDown?this.isMouseDown=!1:a!=mxEvent.MOUSE_DOWN||this.isMouseDown?!e&&((!mxClient.IS_FF||a!=mxEvent.MOUSE_MOVE)&&this.isMouseDown&&this.isMouseTrigger!=d||a==mxEvent.MOUSE_DOWN&&this.isMouseDown||a==mxEvent.MOUSE_UP&&!this.isMouseDown)&&(e=!0):(this.isMouseDown=!0,this.isMouseTrigger=d);e||a!=mxEvent.MOUSE_DOWN||(this.lastMouseX=b.getX(),this.lastMouseY=b.getY());return e};\r\nmxGraph.prototype.isSyntheticEventIgnored=function(a,b,c){c=!1;b=mxEvent.isMouseEvent(b.getEvent());this.ignoreMouseEvents&&b&&a!=mxEvent.MOUSE_MOVE?(this.ignoreMouseEvents=a!=mxEvent.MOUSE_UP,c=!0):mxClient.IS_FF&&!b&&a==mxEvent.MOUSE_UP&&(this.ignoreMouseEvents=!0);return c};\r\nmxGraph.prototype.isEventSourceIgnored=function(a,b){var c=b.getSource(),d=null!=c.nodeName?c.nodeName.toLowerCase():"",e=!mxEvent.isMouseEvent(b.getEvent())||mxEvent.isLeftMouseButton(b.getEvent());return a==mxEvent.MOUSE_DOWN&&e&&("select"==d||"option"==d||"input"==d&&"checkbox"!=c.type&&"radio"!=c.type&&"button"!=c.type&&"submit"!=c.type&&"file"!=c.type)};mxGraph.prototype.getEventState=function(a){return a};\r\nmxGraph.prototype.fireMouseEvent=function(a,b,c){if(this.isEventSourceIgnored(a,b))null!=this.tooltipHandler&&this.tooltipHandler.hide();else{null==c&&(c=this);b=this.updateMouseEvent(b,a);if(!this.nativeDblClickEnabled&&!mxEvent.isPopupTrigger(b.getEvent())||this.doubleTapEnabled&&mxClient.IS_TOUCH&&(mxEvent.isTouchEvent(b.getEvent())||mxEvent.isPenEvent(b.getEvent()))){var d=(new Date).getTime();if(a==mxEvent.MOUSE_DOWN)if(null!=this.lastTouchEvent&&this.lastTouchEvent!=b.getEvent()&&d-this.lastTouchTime<\r\nthis.doubleTapTimeout&&Math.abs(this.lastTouchX-b.getX())<this.doubleTapTolerance&&Math.abs(this.lastTouchY-b.getY())<this.doubleTapTolerance&&2>this.doubleClickCounter){if(this.doubleClickCounter++,d=!1,a==mxEvent.MOUSE_UP?b.getCell()==this.lastTouchCell&&null!=this.lastTouchCell&&(this.lastTouchTime=0,d=this.lastTouchCell,this.lastTouchCell=null,this.dblClick(b.getEvent(),d),d=!0):(this.fireDoubleClick=!0,this.lastTouchTime=0),d){mxEvent.consume(b.getEvent());return}}else{if(null==this.lastTouchEvent||\r\nthis.lastTouchEvent!=b.getEvent())this.lastTouchCell=b.getCell(),this.lastTouchX=b.getX(),this.lastTouchY=b.getY(),this.lastTouchTime=d,this.lastTouchEvent=b.getEvent(),this.doubleClickCounter=0}else if((this.isMouseDown||a==mxEvent.MOUSE_UP)&&this.fireDoubleClick){this.fireDoubleClick=!1;d=this.lastTouchCell;this.lastTouchCell=null;this.isMouseDown=!1;(null!=d||(mxEvent.isTouchEvent(b.getEvent())||mxEvent.isPenEvent(b.getEvent()))&&(mxClient.IS_GC||mxClient.IS_SF))&&Math.abs(this.lastTouchX-b.getX())<\r\nthis.doubleTapTolerance&&Math.abs(this.lastTouchY-b.getY())<this.doubleTapTolerance?this.dblClick(b.getEvent(),d):mxEvent.consume(b.getEvent());return}}if(!this.isEventIgnored(a,b,c)){b.state=this.getEventState(b.getState());this.fireEvent(new mxEventObject(mxEvent.FIRE_MOUSE_EVENT,"eventName",a,"event",b));if(mxClient.IS_OP||mxClient.IS_SF||mxClient.IS_GC||mxClient.IS_IE11||mxClient.IS_IE&&mxClient.IS_SVG||b.getEvent().target!=this.container){if(a==mxEvent.MOUSE_MOVE&&this.isMouseDown&&this.autoScroll&&\r\n!mxEvent.isMultiTouchEvent(b.getEvent))this.scrollPointToVisible(b.getGraphX(),b.getGraphY(),this.autoExtend);else if(a==mxEvent.MOUSE_UP&&this.ignoreScrollbars&&this.translateToScrollPosition&&(0!=this.container.scrollLeft||0!=this.container.scrollTop)){var d=this.view.scale,e=this.view.translate;this.view.setTranslate(e.x-this.container.scrollLeft/d,e.y-this.container.scrollTop/d);this.container.scrollLeft=0;this.container.scrollTop=0}if(null!=this.mouseListeners)for(d=[c,b],b.getEvent().preventDefault||\r\n(b.getEvent().returnValue=!0),e=0;e<this.mouseListeners.length;e++){var f=this.mouseListeners[e];a==mxEvent.MOUSE_DOWN?f.mouseDown.apply(f,d):a==mxEvent.MOUSE_MOVE?f.mouseMove.apply(f,d):a==mxEvent.MOUSE_UP&&f.mouseUp.apply(f,d)}a==mxEvent.MOUSE_UP&&this.click(b)}(mxEvent.isTouchEvent(b.getEvent())||mxEvent.isPenEvent(b.getEvent()))&&a==mxEvent.MOUSE_DOWN&&this.tapAndHoldEnabled&&!this.tapAndHoldInProgress?(this.tapAndHoldInProgress=!0,this.initialTouchX=b.getGraphX(),this.initialTouchY=b.getGraphY(),\r\nthis.tapAndHoldThread&&window.clearTimeout(this.tapAndHoldThread),this.tapAndHoldThread=window.setTimeout(mxUtils.bind(this,function(){this.tapAndHoldValid&&this.tapAndHold(b);this.tapAndHoldValid=this.tapAndHoldInProgress=!1}),this.tapAndHoldDelay),this.tapAndHoldValid=!0):a==mxEvent.MOUSE_UP?this.tapAndHoldValid=this.tapAndHoldInProgress=!1:this.tapAndHoldValid&&(this.tapAndHoldValid=Math.abs(this.initialTouchX-b.getGraphX())<this.tolerance&&Math.abs(this.initialTouchY-b.getGraphY())<this.tolerance);\r\na==mxEvent.MOUSE_DOWN&&this.isEditing()&&!this.cellEditor.isEventSource(b.getEvent())&&this.stopEditing(!this.isInvokesStopCellEditing());this.consumeMouseEvent(a,b,c)}}};mxGraph.prototype.consumeMouseEvent=function(a,b,c){a==mxEvent.MOUSE_DOWN&&mxEvent.isTouchEvent(b.getEvent())&&b.consume(!1)};mxGraph.prototype.fireGestureEvent=function(a,b){this.lastTouchTime=0;this.fireEvent(new mxEventObject(mxEvent.GESTURE,"event",a,"cell",b))};\r\nmxGraph.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,null!=this.tooltipHandler&&this.tooltipHandler.destroy(),null!=this.selectionCellsHandler&&this.selectionCellsHandler.destroy(),null!=this.panningHandler&&this.panningHandler.destroy(),null!=this.popupMenuHandler&&this.popupMenuHandler.destroy(),null!=this.connectionHandler&&this.connectionHandler.destroy(),null!=this.graphHandler&&this.graphHandler.destroy(),null!=this.cellEditor&&this.cellEditor.destroy(),null!=this.view&&this.view.destroy(),\r\nnull!=this.model&&null!=this.graphModelChangeListener&&(this.model.removeListener(this.graphModelChangeListener),this.graphModelChangeListener=null),this.container=null)};function mxCellOverlay(a,b,c,d,e,f){this.image=a;this.tooltip=b;this.align=null!=c?c:this.align;this.verticalAlign=null!=d?d:this.verticalAlign;this.offset=null!=e?e:new mxPoint;this.cursor=null!=f?f:"help"}mxCellOverlay.prototype=new mxEventSource;mxCellOverlay.prototype.constructor=mxCellOverlay;mxCellOverlay.prototype.image=null;\r\nmxCellOverlay.prototype.tooltip=null;mxCellOverlay.prototype.align=mxConstants.ALIGN_RIGHT;mxCellOverlay.prototype.verticalAlign=mxConstants.ALIGN_BOTTOM;mxCellOverlay.prototype.offset=null;mxCellOverlay.prototype.cursor=null;mxCellOverlay.prototype.defaultOverlap=.5;\r\nmxCellOverlay.prototype.getBounds=function(a){var b=a.view.graph.getModel().isEdge(a.cell),c=a.view.scale,d=this.image.width,e=this.image.height;if(b)if(b=a.absolutePoints,1==b.length%2)b=b[Math.floor(b.length/2)];else{var f=b.length/2;a=b[f-1];b=b[f];b=new mxPoint(a.x+(b.x-a.x)/2,a.y+(b.y-a.y)/2)}else b=new mxPoint,b.x=this.align==mxConstants.ALIGN_LEFT?a.x:this.align==mxConstants.ALIGN_CENTER?a.x+a.width/2:a.x+a.width,b.y=this.verticalAlign==mxConstants.ALIGN_TOP?a.y:this.verticalAlign==mxConstants.ALIGN_MIDDLE?\r\na.y+a.height/2:a.y+a.height;return new mxRectangle(Math.round(b.x-(d*this.defaultOverlap-this.offset.x)*c),Math.round(b.y-(e*this.defaultOverlap-this.offset.y)*c),d*c,e*c)};mxCellOverlay.prototype.toString=function(){return this.tooltip};function mxOutline(a,b){this.source=a;null!=b&&this.init(b)}mxOutline.prototype.source=null;mxOutline.prototype.container=null;mxOutline.prototype.enabled=!0;mxOutline.prototype.suspended=!1;mxOutline.prototype.border=14;\r\nmxOutline.prototype.opacity=mxClient.IS_IE11?.9:.7;\r\nmxOutline.prototype.init=function(a){this.container=a;this.updateHandler=mxUtils.bind(this,function(a,c){this.update(!0)});this.source.getModel().addListener(mxEvent.CHANGE,this.updateHandler);this.source.addListener(mxEvent.REFRESH,this.updateHandler);a=this.source.getView();a.addListener(mxEvent.UP,this.updateHandler);a.addListener(mxEvent.DOWN,this.updateHandler);a.addListener(mxEvent.SCALE,this.updateHandler);a.addListener(mxEvent.TRANSLATE,this.updateHandler);a.addListener(mxEvent.SCALE_AND_TRANSLATE,\r\nthis.updateHandler);this.scrollHandler=mxUtils.bind(this,function(a,c){this.update(!1)});mxEvent.addListener(this.source.container,"scroll",this.scrollHandler);this.source.addListener(mxEvent.PAN,this.scrollHandler);this.update(!0)};mxOutline.prototype.isEnabled=function(){return this.enabled};mxOutline.prototype.setEnabled=function(a){this.enabled=a};mxOutline.prototype.isSuspended=function(){return this.suspended};mxOutline.prototype.setSuspended=function(a){this.suspended=a;this.update(!0)};\r\nmxOutline.prototype.isScrolling=function(){return this.source.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.source.container)};\r\nmxOutline.prototype.createSvg=function(){var a=document.createElementNS(mxConstants.NS_SVG,"svg");a.style.position="absolute";a.style.left="0px";a.style.top="0px";a.style.width="100%";a.style.height="100%";a.style.display="block";a.style.padding=this.border+"px";a.style.boxSizing="border-box";a.style.overflow="visible";a.style.cursor="default";a.setAttribute("shape-rendering","optimizeSpeed");a.setAttribute("image-rendering","optimizeSpeed");return a};\r\nmxOutline.prototype.addGestureListeners=function(a){var b=null,c=0,d=0,e=1,f=mxUtils.bind(this,function(f){if(this.isEnabled()){b=new mxPoint(mxEvent.getClientX(f),mxEvent.getClientY(f));var l=a.clientWidth-2*this.border,n=a.clientHeight-2*this.border,p=this.getViewBox();e=Math.max(p.width/l,p.height/n);if(mxEvent.getSource(f)!=this.viewport)if(this.isScrolling()){var l=l-p.width/e,n=n-p.height/e,q=this.svg.getBoundingClientRect();this.source.container.scrollLeft=p.x-l*e/2+(b.x-this.border-q.left)*\r\ne;this.source.container.scrollTop=p.y-n*e/2+(b.y-this.border-q.top)*e}else p=this.source.view.translate,n=this.viewport.getBoundingClientRect(),l=(mxEvent.getClientX(f)-n.left)*e/this.source.view.scale,n=(mxEvent.getClientY(f)-n.top)*e/this.source.view.scale,this.source.getView().setTranslate(p.x-l,p.y-n),this.source.panGraph(0,0);mxEvent.addGestureListeners(document,null,g,k);c=this.source.container.scrollLeft;d=this.source.container.scrollTop;mxEvent.consume(f)}}),g=mxUtils.bind(this,function(a){this.isEnabled()&&\r\nnull!=b&&(this.isScrolling()?(this.source.container.scrollLeft=c+(mxEvent.getClientX(a)-b.x)*e,this.source.container.scrollTop=d+(mxEvent.getClientY(a)-b.y)*e):this.source.panGraph((b.x-mxEvent.getClientX(a))*e,(b.y-mxEvent.getClientY(a))*e),mxEvent.consume(a))}),k=mxUtils.bind(this,function(a){if(this.isEnabled()&&null!=b){if(!this.isScrolling()){var c=(mxEvent.getClientX(a)-b.x)*e/this.source.view.scale,d=(mxEvent.getClientY(a)-b.y)*e/this.source.view.scale,f=this.source.view.translate;this.source.getView().setTranslate(f.x-\r\nc,f.y-d);this.source.panGraph(0,0)}mxEvent.removeGestureListeners(document,null,g,k);mxEvent.consume(a);b=null}});mxEvent.addGestureListeners(a,f,g,k)};mxOutline.prototype.getViewBox=function(){return this.source.getGraphBounds()};\r\nmxOutline.prototype.updateSvg=function(){null==this.svg&&(this.svg=this.createSvg(),this.addGestureListeners(this.svg),this.container.appendChild(this.svg));var a=this.getViewBox();this.svg.setAttribute("viewBox",Math.round(a.x)+" "+Math.round(a.y)+" "+Math.round(a.width)+" "+Math.round(a.height));a=this.source.background;this.svg.style.backgroundColor=a==mxConstants.NONE?"":a;this.updateDrawPane()};\r\nmxOutline.prototype.updateDrawPane=function(){null!=this.drawPane&&this.drawPane.parentNode.removeChild(this.drawPane);this.drawPane=this.source.view.getDrawPane().cloneNode(!0);this.drawPane.style.opacity=this.opacity;this.processSvg(this.drawPane);null!=this.viewport?this.svg.insertBefore(this.drawPane,this.viewport):this.svg.appendChild(this.drawPane)};\r\nmxOutline.prototype.processSvg=function(a){var b=mxClient.IS_IE11?Math.max(1,this.source.view.scale):this.source.view.scale;Array.prototype.slice.call(a.getElementsByTagName("*")).forEach(mxUtils.bind(this,function(a){if("text"!=a.nodeName&&"foreignObject"!=a.nodeName&&"hidden"!=a.getAttribute("visibility")&&a instanceof SVGElement){var c=parseInt(a.getAttribute("stroke-width")||1);isNaN(c)||a.setAttribute("stroke-width",Math.max(mxClient.IS_IE11?4:1,c/(5*b)));a.setAttribute("vector-effect","non-scaling-stroke");\r\na.style.cursor=""}else a.parentNode.removeChild(a)}))};\r\nmxOutline.prototype.updateViewport=function(){if(null!=this.svg){null==this.viewport&&(this.viewport=this.createViewport(),this.svg.appendChild(this.viewport));var a=this.source.container,a=new mxRectangle(a.scrollLeft,a.scrollTop,a.clientWidth,a.clientHeight);this.isScrolling()||(a.x=-this.source.panDx,a.y=-this.source.panDy);this.viewport.setAttribute("x",a.x);this.viewport.setAttribute("y",a.y);this.viewport.setAttribute("width",a.width);this.viewport.setAttribute("height",a.height)}};\r\nmxOutline.prototype.createViewport=function(){var a=this.svg.ownerDocument.createElementNS(mxConstants.NS_SVG,"rect");a.setAttribute("stroke-width",mxClient.IS_IE11?"12":"3");a.setAttribute("stroke",HoverIcons.prototype.arrowFill);a.setAttribute("fill",HoverIcons.prototype.arrowFill);a.setAttribute("vector-effect","non-scaling-stroke");a.setAttribute("fill-opacity",.2);return a};\r\nmxOutline.prototype.update=function(a){null!=this.source&&null!=this.source.container&&(null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null),this.fullUpdate=this.fullUpdate||a,this.thread=window.setTimeout(mxUtils.bind(this,function(){this.isSuspended()||(this.fullUpdate&&this.updateSvg(),this.updateViewport());this.thread=this.fullUpdate=null}),this.isScrolling()?10:0))};\r\nmxOutline.prototype.destroy=function(){null!=this.svg&&(this.svg.parentNode.removeChild(this.svg),this.svg=null);null!=this.source&&(this.source.removeListener(this.updateHandler),this.source.getView().removeListener(this.updateHandler),this.source.getModel().removeListener(this.updateHandler),this.source.removeListener(mxEvent.PAN,this.scrollHandler),mxEvent.removeListener(this.source.container,"scroll",this.scrollHandler),this.source=null)};\r\nfunction mxMultiplicity(a,b,c,d,e,f,g,k,l,m){this.source=a;this.type=b;this.attr=c;this.value=d;this.min=null!=e?e:0;this.max=null!=f?f:"n";this.validNeighbors=g;this.countError=mxResources.get(k)||k;this.typeError=mxResources.get(l)||l;this.validNeighborsAllowed=null!=m?m:!0}mxMultiplicity.prototype.type=null;mxMultiplicity.prototype.attr=null;mxMultiplicity.prototype.value=null;mxMultiplicity.prototype.source=null;mxMultiplicity.prototype.min=null;mxMultiplicity.prototype.max=null;\r\nmxMultiplicity.prototype.validNeighbors=null;mxMultiplicity.prototype.validNeighborsAllowed=!0;mxMultiplicity.prototype.countError=null;mxMultiplicity.prototype.typeError=null;\r\nmxMultiplicity.prototype.check=function(a,b,c,d,e,f){var g="";if(this.source&&this.checkTerminal(a,c,b)||!this.source&&this.checkTerminal(a,d,b))null!=this.countError&&(this.source&&(0==this.max||e>=this.max)||!this.source&&(0==this.max||f>=this.max))&&(g+=this.countError+"\\n"),null!=this.validNeighbors&&null!=this.typeError&&0<this.validNeighbors.length&&(this.checkNeighbors(a,b,c,d)||(g+=this.typeError+"\\n"));return 0<g.length?g:null};\r\nmxMultiplicity.prototype.checkNeighbors=function(a,b,c,d){b=a.model.getValue(c);d=a.model.getValue(d);c=!this.validNeighborsAllowed;for(var e=this.validNeighbors,f=0;f<e.length;f++)if(this.source&&this.checkType(a,d,e[f])){c=this.validNeighborsAllowed;break}else if(!this.source&&this.checkType(a,b,e[f])){c=this.validNeighborsAllowed;break}return c};mxMultiplicity.prototype.checkTerminal=function(a,b,c){b=a.model.getValue(b);return this.checkType(a,b,this.type,this.attr,this.value)};\r\nmxMultiplicity.prototype.checkType=function(a,b,c,d,e){return null!=b?isNaN(b.nodeType)?b==c:mxUtils.isNode(b,c,d,e):!1};\r\nfunction mxLayoutManager(a){this.undoHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&this.beforeUndo(c.getProperty("edit"))});this.moveHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&this.cellsMoved(c.getProperty("cells"),c.getProperty("event"))});this.resizeHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&this.cellsResized(c.getProperty("cells"),c.getProperty("bounds"),c.getProperty("previous"))});this.setGraph(a)}mxLayoutManager.prototype=new mxEventSource;\r\nmxLayoutManager.prototype.constructor=mxLayoutManager;mxLayoutManager.prototype.graph=null;mxLayoutManager.prototype.bubbling=!0;mxLayoutManager.prototype.enabled=!0;mxLayoutManager.prototype.undoHandler=null;mxLayoutManager.prototype.moveHandler=null;mxLayoutManager.prototype.resizeHandler=null;mxLayoutManager.prototype.isEnabled=function(){return this.enabled};mxLayoutManager.prototype.setEnabled=function(a){this.enabled=a};mxLayoutManager.prototype.isBubbling=function(){return this.bubbling};\r\nmxLayoutManager.prototype.setBubbling=function(a){this.bubbling=a};mxLayoutManager.prototype.getGraph=function(){return this.graph};\r\nmxLayoutManager.prototype.setGraph=function(a){if(null!=this.graph){var b=this.graph.getModel();b.removeListener(this.undoHandler);this.graph.removeListener(this.moveHandler);this.graph.removeListener(this.resizeHandler)}this.graph=a;null!=this.graph&&(b=this.graph.getModel(),b.addListener(mxEvent.BEFORE_UNDO,this.undoHandler),this.graph.addListener(mxEvent.MOVE_CELLS,this.moveHandler),this.graph.addListener(mxEvent.RESIZE_CELLS,this.resizeHandler))};\r\nmxLayoutManager.prototype.hasLayout=function(a){return this.getLayout(a,mxEvent.LAYOUT_CELLS)};mxLayoutManager.prototype.getLayout=function(a,b){return null};mxLayoutManager.prototype.beforeUndo=function(a){this.executeLayoutForCells(this.getCellsForChanges(a.changes))};\r\nmxLayoutManager.prototype.cellsMoved=function(a,b){if(null!=a&&null!=b)for(var c=mxUtils.convertPoint(this.getGraph().container,mxEvent.getClientX(b),mxEvent.getClientY(b)),d=this.getGraph().getModel(),e=0;e<a.length;e++){var f=this.getLayout(d.getParent(a[e]),mxEvent.MOVE_CELLS);null!=f&&f.moveCell(a[e],c.x,c.y)}};\r\nmxLayoutManager.prototype.cellsResized=function(a,b,c){if(null!=a&&null!=b)for(var d=this.getGraph().getModel(),e=0;e<a.length;e++){var f=this.getLayout(d.getParent(a[e]),mxEvent.RESIZE_CELLS);null!=f&&f.resizeCell(a[e],b[e],c[e])}};mxLayoutManager.prototype.getCellsForChanges=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];if(d instanceof mxRootChange)return[];b=b.concat(this.getCellsForChange(d))}return b};\r\nmxLayoutManager.prototype.getCellsForChange=function(a){return a instanceof mxChildChange?this.addCellsWithLayout(a.child,this.addCellsWithLayout(a.previous)):a instanceof mxTerminalChange||a instanceof mxGeometryChange||a instanceof mxVisibleChange||a instanceof mxStyleChange?this.addCellsWithLayout(a.cell):[]};mxLayoutManager.prototype.addCellsWithLayout=function(a,b){return this.addDescendantsWithLayout(a,this.addAncestorsWithLayout(a,b))};\r\nmxLayoutManager.prototype.addAncestorsWithLayout=function(a,b){b=null!=b?b:[];if(null!=a&&(null!=this.hasLayout(a)&&b.push(a),this.isBubbling())){var c=this.getGraph().getModel();this.addAncestorsWithLayout(c.getParent(a),b)}return b};mxLayoutManager.prototype.addDescendantsWithLayout=function(a,b){b=null!=b?b:[];if(null!=a&&this.hasLayout(a))for(var c=this.getGraph().getModel(),d=0;d<c.getChildCount(a);d++){var e=c.getChildAt(a,d);this.hasLayout(e)&&(b.push(e),this.addDescendantsWithLayout(e,b))}return b};\r\nmxLayoutManager.prototype.executeLayoutForCells=function(a){a=mxUtils.sortCells(a,!1);this.layoutCells(a,!0);this.layoutCells(a.reverse(),!1)};mxLayoutManager.prototype.layoutCells=function(a,b){if(0<a.length){var c=this.getGraph().getModel();c.beginUpdate();try{for(var d=null,e=0;e<a.length;e++)a[e]!=c.getRoot()&&a[e]!=d&&(this.executeLayout(a[e],b),d=a[e]);this.fireEvent(new mxEventObject(mxEvent.LAYOUT_CELLS,"cells",a))}finally{c.endUpdate()}}};\r\nmxLayoutManager.prototype.executeLayout=function(a,b){var c=this.getLayout(a,b?mxEvent.BEGIN_UPDATE:mxEvent.END_UPDATE);null!=c&&c.execute(a)};mxLayoutManager.prototype.destroy=function(){this.setGraph(null)};\r\nfunction mxSwimlaneManager(a,b,c,d){this.horizontal=null!=b?b:!0;this.addEnabled=null!=c?c:!0;this.resizeEnabled=null!=d?d:!0;this.addHandler=mxUtils.bind(this,function(a,b){this.isEnabled()&&this.isAddEnabled()&&this.cellsAdded(b.getProperty("cells"))});this.resizeHandler=mxUtils.bind(this,function(a,b){this.isEnabled()&&this.isResizeEnabled()&&this.cellsResized(b.getProperty("cells"))});this.setGraph(a)}mxSwimlaneManager.prototype=new mxEventSource;mxSwimlaneManager.prototype.constructor=mxSwimlaneManager;\r\nmxSwimlaneManager.prototype.graph=null;mxSwimlaneManager.prototype.enabled=!0;mxSwimlaneManager.prototype.horizontal=!0;mxSwimlaneManager.prototype.addEnabled=!0;mxSwimlaneManager.prototype.resizeEnabled=!0;mxSwimlaneManager.prototype.addHandler=null;mxSwimlaneManager.prototype.resizeHandler=null;mxSwimlaneManager.prototype.isEnabled=function(){return this.enabled};mxSwimlaneManager.prototype.setEnabled=function(a){this.enabled=a};mxSwimlaneManager.prototype.isHorizontal=function(){return this.horizontal};\r\nmxSwimlaneManager.prototype.setHorizontal=function(a){this.horizontal=a};mxSwimlaneManager.prototype.isAddEnabled=function(){return this.addEnabled};mxSwimlaneManager.prototype.setAddEnabled=function(a){this.addEnabled=a};mxSwimlaneManager.prototype.isResizeEnabled=function(){return this.resizeEnabled};mxSwimlaneManager.prototype.setResizeEnabled=function(a){this.resizeEnabled=a};mxSwimlaneManager.prototype.getGraph=function(){return this.graph};\r\nmxSwimlaneManager.prototype.setGraph=function(a){null!=this.graph&&(this.graph.removeListener(this.addHandler),this.graph.removeListener(this.resizeHandler));this.graph=a;null!=this.graph&&(this.graph.addListener(mxEvent.ADD_CELLS,this.addHandler),this.graph.addListener(mxEvent.CELLS_RESIZED,this.resizeHandler))};mxSwimlaneManager.prototype.isSwimlaneIgnored=function(a){return!this.getGraph().isSwimlane(a)};\r\nmxSwimlaneManager.prototype.isCellHorizontal=function(a){return this.graph.isSwimlane(a)?(a=this.graph.getCellStyle(a),1==mxUtils.getValue(a,mxConstants.STYLE_HORIZONTAL,1)):!this.isHorizontal()};mxSwimlaneManager.prototype.cellsAdded=function(a){if(null!=a){var b=this.getGraph().getModel();b.beginUpdate();try{for(var c=0;c<a.length;c++)this.isSwimlaneIgnored(a[c])||this.swimlaneAdded(a[c])}finally{b.endUpdate()}}};\r\nmxSwimlaneManager.prototype.swimlaneAdded=function(a){for(var b=this.getGraph().getModel(),c=b.getParent(a),d=b.getChildCount(c),e=null,f=0;f<d;f++){var g=b.getChildAt(c,f);if(g!=a&&!this.isSwimlaneIgnored(g)&&(e=b.getGeometry(g),null!=e))break}null!=e&&(b=null!=c?this.isCellHorizontal(c):this.horizontal,this.resizeSwimlane(a,e.width,e.height,b))};\r\nmxSwimlaneManager.prototype.cellsResized=function(a){if(null!=a){var b=this.getGraph().getModel();b.beginUpdate();try{for(var c=0;c<a.length;c++)if(!this.isSwimlaneIgnored(a[c])){var d=b.getGeometry(a[c]);if(null!=d){for(var e=new mxRectangle(0,0,d.width,d.height),f=a[c],g=f;null!=g;){var f=g,g=b.getParent(g),k=this.graph.isSwimlane(g)?this.graph.getStartSize(g):new mxRectangle;e.width+=k.width;e.height+=k.height}var l=null!=g?this.isCellHorizontal(g):this.horizontal;this.resizeSwimlane(f,e.width,\r\ne.height,l)}}}finally{b.endUpdate()}}};\r\nmxSwimlaneManager.prototype.resizeSwimlane=function(a,b,c,d){var e=this.getGraph().getModel();e.beginUpdate();try{var f=this.isCellHorizontal(a);if(!this.isSwimlaneIgnored(a)){var g=e.getGeometry(a);null!=g&&(d&&g.height!=c||!d&&g.width!=b)&&(g=g.clone(),d?g.height=c:g.width=b,e.setGeometry(a,g))}var k=this.graph.isSwimlane(a)?this.graph.getStartSize(a):new mxRectangle;b-=k.width;c-=k.height;var l=e.getChildCount(a);for(d=0;d<l;d++){var m=e.getChildAt(a,d);this.resizeSwimlane(m,b,c,f)}}finally{e.endUpdate()}};\r\nmxSwimlaneManager.prototype.destroy=function(){this.setGraph(null)};\r\nfunction mxTemporaryCellStates(a,b,c,d,e,f){b=null!=b?b:1;this.view=a;this.oldValidateCellState=a.validateCellState;this.oldBounds=a.getGraphBounds();this.oldStates=a.getStates();this.oldScale=a.getScale();this.oldDoRedrawShape=a.graph.cellRenderer.doRedrawShape;var g=this;null!=e&&(a.graph.cellRenderer.doRedrawShape=function(b){var c=b.shape.paint;b.shape.paint=function(a){var d=e(b);null!=d&&a.setLink(d,null!=f?f(b):null);c.apply(this,arguments);null!=d&&a.setLink(null)};g.oldDoRedrawShape.apply(a.graph.cellRenderer,\r\narguments);b.shape.paint=c});a.validateCellState=function(b,c){return null==b||null==d||d(b)?g.oldValidateCellState.apply(a,arguments):null};a.setStates(new mxDictionary);a.setScale(b);if(null!=c){a.resetValidationState();b=null;for(var k=0;k<c.length;k++){var l=a.getBoundingBox(a.validateCellState(a.validateCell(c[k])));null==b?b=l:b.add(l)}a.setGraphBounds(b||new mxRectangle)}}mxTemporaryCellStates.prototype.view=null;mxTemporaryCellStates.prototype.oldStates=null;\r\nmxTemporaryCellStates.prototype.oldBounds=null;mxTemporaryCellStates.prototype.oldScale=null;mxTemporaryCellStates.prototype.destroy=function(){this.view.setScale(this.oldScale);this.view.setStates(this.oldStates);this.view.setGraphBounds(this.oldBounds);this.view.validateCellState=this.oldValidateCellState;this.view.graph.cellRenderer.doRedrawShape=this.oldDoRedrawShape};function mxCellStatePreview(a){this.deltas=new mxDictionary;this.graph=a}mxCellStatePreview.prototype.graph=null;\r\nmxCellStatePreview.prototype.deltas=null;mxCellStatePreview.prototype.count=0;mxCellStatePreview.prototype.isEmpty=function(){return 0==this.count};mxCellStatePreview.prototype.moveState=function(a,b,c,d,e){d=null!=d?d:!0;e=null!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,c),state:a},this.deltas.put(a.cell,f),this.count++):d?(f.point.x+=b,f.point.y+=c):(f.point.x=b,f.point.y=c);e&&this.addEdges(a);return f.point};\r\nmxCellStatePreview.prototype.show=function(a){this.deltas.visit(mxUtils.bind(this,function(a,c){this.translateState(c.state,c.point.x,c.point.y)}));this.deltas.visit(mxUtils.bind(this,function(b,c){this.revalidateState(c.state,c.point.x,c.point.y,a)}))};\r\nmxCellStatePreview.prototype.translateState=function(a,b,c){if(null!=a){var d=this.graph.getModel();if(d.isVertex(a.cell)){a.view.updateCellState(a);var e=d.getGeometry(a.cell);0==b&&0==c||null==e||e.relative&&null==this.deltas.get(a.cell)||(a.x+=b,a.y+=c)}for(var e=d.getChildCount(a.cell),f=0;f<e;f++)this.translateState(a.view.getState(d.getChildAt(a.cell,f)),b,c)}};\r\nmxCellStatePreview.prototype.revalidateState=function(a,b,c,d){if(null!=a){var e=this.graph.getModel();e.isEdge(a.cell)&&a.view.updateCellState(a);var f=this.graph.getCellGeometry(a.cell),g=a.view.getState(e.getParent(a.cell));0==b&&0==c||null==f||!f.relative||!e.isVertex(a.cell)||null!=g&&!e.isVertex(g.cell)&&null==this.deltas.get(a.cell)||(a.x+=b,a.y+=c);this.graph.cellRenderer.redraw(a);null!=d&&d(a);f=e.getChildCount(a.cell);for(g=0;g<f;g++)this.revalidateState(this.graph.view.getState(e.getChildAt(a.cell,\r\ng)),b,c,d)}};mxCellStatePreview.prototype.addEdges=function(a){for(var b=this.graph.getModel(),c=b.getEdgeCount(a.cell),d=0;d<c;d++){var e=a.view.getState(b.getEdgeAt(a.cell,d));null!=e&&this.moveState(e,0,0)}};function mxConnectionConstraint(a,b,c,d,e){this.point=a;this.perimeter=null!=b?b:!0;this.name=c;this.dx=d?d:0;this.dy=e?e:0}mxConnectionConstraint.prototype.point=null;mxConnectionConstraint.prototype.perimeter=null;mxConnectionConstraint.prototype.name=null;\r\nmxConnectionConstraint.prototype.dx=null;mxConnectionConstraint.prototype.dy=null;\r\nfunction mxGraphHandler(a){this.graph=a;this.graph.addMouseListener(this);this.panHandler=mxUtils.bind(this,function(){this.suspended||(this.updatePreview(),this.updateHint())});this.graph.addListener(mxEvent.PAN,this.panHandler);this.escapeHandler=mxUtils.bind(this,function(a,c){this.reset()});this.graph.addListener(mxEvent.ESCAPE,this.escapeHandler);this.refreshHandler=mxUtils.bind(this,function(a,c){this.refreshThread&&window.clearTimeout(this.refreshThread);this.refreshThread=window.setTimeout(mxUtils.bind(this,\r\nfunction(){this.refreshThread=null;if(null!=this.first&&!this.suspended){var a=this.currentDx,b=this.currentDy;this.currentDy=this.currentDx=0;this.updatePreview();this.bounds=this.graph.getView().getBounds(this.cells);this.pBounds=this.getPreviewBounds(this.cells);null!=this.pBounds||this.livePreviewUsed?(this.currentDx=a,this.currentDy=b,this.updatePreview(),this.updateHint(),this.livePreviewUsed&&(this.setHandlesVisibleForCells(this.graph.selectionCellsHandler.getHandledSelectionCells(),!1,!0),\r\nthis.updatePreview())):this.reset()}}),0)});this.graph.getModel().addListener(mxEvent.CHANGE,this.refreshHandler);this.graph.addListener(mxEvent.REFRESH,this.refreshHandler);this.keyHandler=mxUtils.bind(this,function(a){null==this.graph.container||"hidden"==this.graph.container.style.visibility||null==this.first||this.suspended||(a=this.graph.isCloneEvent(a)&&this.graph.isCellsCloneable()&&this.isCloneEnabled(),a!=this.cloning&&(this.cloning=a,this.checkPreview(),this.updatePreview()))});mxEvent.addListener(document,\r\n"keydown",this.keyHandler);mxEvent.addListener(document,"keyup",this.keyHandler)}mxGraphHandler.prototype.graph=null;mxGraphHandler.prototype.maxCells=mxClient.IS_IE?20:50;mxGraphHandler.prototype.enabled=!0;mxGraphHandler.prototype.highlightEnabled=!0;mxGraphHandler.prototype.cloneEnabled=!0;mxGraphHandler.prototype.moveEnabled=!0;mxGraphHandler.prototype.guidesEnabled=!1;mxGraphHandler.prototype.handlesVisible=!0;mxGraphHandler.prototype.guide=null;mxGraphHandler.prototype.currentDx=null;\r\nmxGraphHandler.prototype.currentDy=null;mxGraphHandler.prototype.updateCursor=!0;mxGraphHandler.prototype.selectEnabled=!0;mxGraphHandler.prototype.removeCellsFromParent=!0;mxGraphHandler.prototype.removeEmptyParents=!1;mxGraphHandler.prototype.connectOnDrop=!1;mxGraphHandler.prototype.scrollOnMove=!0;mxGraphHandler.prototype.minimumSize=6;mxGraphHandler.prototype.previewColor="black";mxGraphHandler.prototype.htmlPreview=!1;mxGraphHandler.prototype.shape=null;mxGraphHandler.prototype.scaleGrid=!1;\r\nmxGraphHandler.prototype.rotationEnabled=!0;mxGraphHandler.prototype.maxLivePreview=0;mxGraphHandler.prototype.allowLivePreview=mxClient.IS_SVG;mxGraphHandler.prototype.isEnabled=function(){return this.enabled};mxGraphHandler.prototype.setEnabled=function(a){this.enabled=a};mxGraphHandler.prototype.isCloneEnabled=function(){return this.cloneEnabled};mxGraphHandler.prototype.setCloneEnabled=function(a){this.cloneEnabled=a};mxGraphHandler.prototype.isMoveEnabled=function(){return this.moveEnabled};\r\nmxGraphHandler.prototype.setMoveEnabled=function(a){this.moveEnabled=a};mxGraphHandler.prototype.isSelectEnabled=function(){return this.selectEnabled};mxGraphHandler.prototype.setSelectEnabled=function(a){this.selectEnabled=a};mxGraphHandler.prototype.isRemoveCellsFromParent=function(){return this.removeCellsFromParent};mxGraphHandler.prototype.setRemoveCellsFromParent=function(a){this.removeCellsFromParent=a};\r\nmxGraphHandler.prototype.isPropagateSelectionCell=function(a,b,c){var d=this.graph.model.getParent(a);return b?(b=this.graph.model.isEdge(a)?null:this.graph.getCellGeometry(a),!this.graph.isSiblingSelected(a)&&(null!=b&&b.relative||!this.graph.isSwimlane(d))):(!this.graph.isToggleEvent(c.getEvent())||!this.graph.isSiblingSelected(a)&&!this.graph.isCellSelected(a)&&!this.graph.isSwimlane(d)||this.graph.isCellSelected(d))&&(this.graph.isToggleEvent(c.getEvent())||!this.graph.isCellSelected(d))};\r\nmxGraphHandler.prototype.getInitialCellForEvent=function(a){var b=a.getState();if(!(this.graph.isToggleEvent(a.getEvent())&&mxEvent.isAltDown(a.getEvent())||null==b||this.graph.isCellSelected(b.cell)))for(var c=this.graph.model,d=this.graph.view.getState(c.getParent(b.cell));null!=d&&!this.graph.isCellSelected(d.cell)&&(c.isVertex(d.cell)||c.isEdge(d.cell))&&this.isPropagateSelectionCell(b.cell,!0,a);)b=d,d=this.graph.view.getState(this.graph.getModel().getParent(b.cell));return null!=b?b.cell:null};\r\nmxGraphHandler.prototype.isDelayedSelection=function(a,b){if(!this.graph.isToggleEvent(b.getEvent())||!mxEvent.isAltDown(b.getEvent()))for(;null!=a;){if(this.graph.selectionCellsHandler.isHandled(a))return this.graph.cellEditor.getEditingCell()!=a;a=this.graph.model.getParent(a)}return this.graph.isToggleEvent(b.getEvent())&&!mxEvent.isAltDown(b.getEvent())};\r\nmxGraphHandler.prototype.selectDelayed=function(a){if(!this.graph.popupMenuHandler.isPopupTrigger(a)){var b=a.getCell();null==b&&(b=this.cell);this.selectCellForEvent(b,a)}};\r\nmxGraphHandler.prototype.selectCellForEvent=function(a,b){var c=this.graph.view.getState(a);if(null!=c){if(!(b.isSource(c.control)||this.graph.isToggleEvent(b.getEvent())&&mxEvent.isAltDown(b.getEvent())))for(var c=this.graph.getModel(),d=c.getParent(a);null!=this.graph.view.getState(d)&&(c.isVertex(d)||c.isEdge(d)&&!this.graph.isToggleEvent(b.getEvent()))&&this.isPropagateSelectionCell(a,!1,b);)a=d,d=c.getParent(a);this.graph.selectCellForEvent(a,b.getEvent())}return a};\r\nmxGraphHandler.prototype.consumeMouseEvent=function(a,b){b.consume()};\r\nmxGraphHandler.prototype.mouseDown=function(a,b){if(!b.isConsumed()&&this.isEnabled()&&this.graph.isEnabled()&&null!=b.getState()&&!mxEvent.isMultiTouchEvent(b.getEvent())){var c=this.getInitialCellForEvent(b);this.delayedSelection=this.isDelayedSelection(c,b);this.cell=null;this.isSelectEnabled()&&!this.delayedSelection&&this.graph.selectCellForEvent(c,b.getEvent());if(this.isMoveEnabled()){var d=this.graph.model,e=d.getGeometry(c);this.graph.isCellMovable(c)&&(!d.isEdge(c)||1<this.graph.getSelectionCount()||\r\nnull!=e.points&&0<e.points.length||null==d.getTerminal(c,!0)||null==d.getTerminal(c,!1)||this.graph.allowDanglingEdges||this.graph.isCloneEvent(b.getEvent())&&this.graph.isCellsCloneable())?this.start(c,b.getX(),b.getY()):this.delayedSelection&&(this.cell=c);this.cellWasClicked=!0;this.consumeMouseEvent(mxEvent.MOUSE_DOWN,b)}}};\r\nmxGraphHandler.prototype.getGuideStates=function(){var a=this.graph.getDefaultParent(),b=this.graph.getModel(),c=mxUtils.bind(this,function(a){return null!=this.graph.view.getState(a)&&b.isVertex(a)&&null!=b.getGeometry(a)&&!b.getGeometry(a).relative});return this.graph.view.getCellStates(b.filterDescendants(c,a))};mxGraphHandler.prototype.getCells=function(a){return!this.delayedSelection&&this.graph.isCellMovable(a)?[a]:this.graph.getMovableCells(this.graph.getSelectionCells())};\r\nmxGraphHandler.prototype.getPreviewBounds=function(a){a=this.getBoundingBox(a);null!=a&&(a.width=Math.max(0,a.width-1),a.height=Math.max(0,a.height-1),a.width<this.minimumSize?(a.x-=(this.minimumSize-a.width)/2,a.width=this.minimumSize):(a.x=Math.round(a.x),a.width=Math.ceil(a.width)),a.height<this.minimumSize?(a.y-=(this.minimumSize-a.height)/2,a.height=this.minimumSize):(a.y=Math.round(a.y),a.height=Math.ceil(a.height)));return a};\r\nmxGraphHandler.prototype.getBoundingBox=function(a){var b=null;if(null!=a&&0<a.length)for(var c=this.graph.getModel(),d=0;d<a.length;d++)if(c.isVertex(a[d])||c.isEdge(a[d])){var e=this.graph.view.getState(a[d]);if(null!=e){var f=e;c.isVertex(a[d])&&null!=e.shape&&null!=e.shape.boundingBox&&(f=e.shape.boundingBox);null==b?b=mxRectangle.fromRectangle(f):b.add(f)}}return b};\r\nmxGraphHandler.prototype.createPreviewShape=function(a){a=new mxRectangleShape(a,null,this.previewColor);a.isDashed=!0;this.htmlPreview?(a.dialect=mxConstants.DIALECT_STRICTHTML,a.init(this.graph.container)):(a.dialect=mxConstants.DIALECT_SVG,a.init(this.graph.getView().getOverlayPane()),a.pointerEvents=!1,mxClient.IS_IOS&&(a.getSvgScreenOffset=function(){return 0}));return a};\r\nmxGraphHandler.prototype.start=function(a,b,c,d){this.cell=a;this.first=mxUtils.convertPoint(this.graph.container,b,c);this.cells=null!=d?d:this.getCells(this.cell);this.bounds=this.graph.getView().getBounds(this.cells);this.pBounds=this.getPreviewBounds(this.cells);this.allCells=new mxDictionary;this.cloning=!1;for(b=this.cellCount=0;b<this.cells.length;b++)this.cellCount+=this.addStates(this.cells[b],this.allCells);if(this.guidesEnabled){this.guide=new mxGuide(this.graph,this.getGuideStates());\r\nvar e=this.graph.model.getParent(a),f=2>this.graph.model.getChildCount(e),g=new mxDictionary;a=this.graph.getOpposites(this.graph.getEdges(this.cell),this.cell);for(b=0;b<a.length;b++)c=this.graph.view.getState(a[b]),null==c||g.get(c)||g.put(c,!0);this.guide.isStateIgnored=mxUtils.bind(this,function(a){var b=this.graph.model.getParent(a.cell);return null!=a.cell&&(!this.cloning&&this.isCellMoving(a.cell)||a.cell!=(this.target||e)&&!f&&!g.get(a)&&(null==this.target||2<=this.graph.model.getChildCount(this.target))&&\r\nb!=(this.target||e))})}};mxGraphHandler.prototype.addStates=function(a,b){var c=this.graph.view.getState(a),d=0;if(null!=c&&null==b.get(a)){b.put(a,c);d++;for(var c=this.graph.model.getChildCount(a),e=0;e<c;e++)d+=this.addStates(this.graph.model.getChildAt(a,e),b)}return d};mxGraphHandler.prototype.isCellMoving=function(a){return null!=this.allCells.get(a)};\r\nmxGraphHandler.prototype.useGuidesForEvent=function(a){return null!=this.guide?this.guide.isEnabledForEvent(a.getEvent())&&!this.graph.isConstrainedEvent(a.getEvent()):!0};mxGraphHandler.prototype.snap=function(a){var b=this.scaleGrid?this.graph.view.scale:1;a.x=this.graph.snap(a.x/b)*b;a.y=this.graph.snap(a.y/b)*b;return a};\r\nmxGraphHandler.prototype.getDelta=function(a){a=mxUtils.convertPoint(this.graph.container,a.getX(),a.getY());return new mxPoint(a.x-this.first.x-this.graph.panDx,a.y-this.first.y-this.graph.panDy)};mxGraphHandler.prototype.updateHint=function(a){};mxGraphHandler.prototype.removeHint=function(){};mxGraphHandler.prototype.roundLength=function(a){return Math.round(100*a)/100};mxGraphHandler.prototype.isValidDropTarget=function(a,b){return this.graph.model.getParent(this.cell)!=a};\r\nmxGraphHandler.prototype.checkPreview=function(){this.livePreviewActive&&this.cloning?(this.resetLivePreview(),this.livePreviewActive=!1):this.maxLivePreview>=this.cellCount&&!this.livePreviewActive&&this.allowLivePreview?this.cloning&&this.livePreviewActive||(this.livePreviewUsed=this.livePreviewActive=!0):this.livePreviewUsed||null!=this.shape||(this.shape=this.createPreviewShape(this.bounds))};\r\nmxGraphHandler.prototype.mouseMove=function(a,b){var c=this.graph;if(b.isConsumed()||!c.isMouseDown||null==this.cell||null==this.first||null==this.bounds||this.suspended)!this.isMoveEnabled()&&!this.isCloneEnabled()||!this.updateCursor||b.isConsumed()||null==b.getState()&&null==b.sourceState||c.isMouseDown||(d=c.getCursorForMouseEvent(b),null==d&&c.isEnabled()&&c.isCellMovable(b.getCell())&&(d=c.getModel().isEdge(b.getCell())?mxConstants.CURSOR_MOVABLE_EDGE:mxConstants.CURSOR_MOVABLE_VERTEX),null!=\r\nd&&null!=b.sourceState&&b.sourceState.setCursor(d));else if(mxEvent.isMultiTouchEvent(b.getEvent()))this.reset();else{var d=this.getDelta(b),e=c.tolerance;if(null!=this.shape||this.livePreviewActive||Math.abs(d.x)>e||Math.abs(d.y)>e){null==this.highlight&&(this.highlight=new mxCellHighlight(this.graph,mxConstants.DROP_TARGET_COLOR,3));var e=c.isCloneEvent(b.getEvent())&&c.isCellsCloneable()&&this.isCloneEnabled(),f=c.isGridEnabledEvent(b.getEvent()),g=b.getCell(),k=!0,l=null;this.cloning=e;c.isDropEnabled()&&\r\nthis.highlightEnabled&&(l=c.getDropTarget(this.cells,b.getEvent(),g,e));var m=c.getView().getState(l),n=!1;null!=m&&(e||this.isValidDropTarget(l,b))?(this.target!=l&&(this.target=l,this.setHighlightColor(mxConstants.DROP_TARGET_COLOR)),n=!0):(this.target=null,this.connectOnDrop&&null!=g&&1==this.cells.length&&c.getModel().isVertex(g)&&c.isCellConnectable(g)&&(m=c.getView().getState(g),null!=m&&(g=null==c.getEdgeValidationError(null,this.cell,g)?mxConstants.VALID_COLOR:mxConstants.INVALID_CONNECT_TARGET_COLOR,\r\nthis.setHighlightColor(g),n=!0)));null!=m&&n?this.highlight.highlight(m):this.highlight.hide();null!=this.guide&&this.useGuidesForEvent(b)?(d=this.guide.move(this.bounds,d,f,e),k=!1):d=this.graph.snapDelta(d,this.bounds,!f,!1,!1);null!=this.guide&&k&&this.guide.hide();c.isConstrainedEvent(b.getEvent())&&(Math.abs(d.x)>Math.abs(d.y)?d.y=0:d.x=0);this.checkPreview();if(this.currentDx!=d.x||this.currentDy!=d.y)this.currentDx=d.x,this.currentDy=d.y,this.updatePreview()}this.updateHint(b);this.consumeMouseEvent(mxEvent.MOUSE_MOVE,\r\nb);mxEvent.consume(b.getEvent())}};mxGraphHandler.prototype.updatePreview=function(a){this.livePreviewUsed&&!a?null!=this.cells&&(this.setHandlesVisibleForCells(this.graph.selectionCellsHandler.getHandledSelectionCells(),!1),this.updateLivePreview(this.currentDx,this.currentDy)):this.updatePreviewShape()};\r\nmxGraphHandler.prototype.updatePreviewShape=function(){null!=this.shape&&null!=this.pBounds&&(this.shape.bounds=new mxRectangle(Math.round(this.pBounds.x+this.currentDx),Math.round(this.pBounds.y+this.currentDy),this.pBounds.width,this.pBounds.height),this.shape.redraw())};\r\nmxGraphHandler.prototype.updateLivePreview=function(a,b){if(!this.suspended){var c=[];null!=this.allCells&&this.allCells.visit(mxUtils.bind(this,function(d,e){var f=this.graph.view.getState(e.cell);f!=e&&(e.destroy(),null!=f?this.allCells.put(e.cell,f):this.allCells.remove(e.cell),e=f);null!=e&&(f=e.clone(),c.push([e,f]),null!=e.shape&&(null==e.shape.originalPointerEvents&&(e.shape.originalPointerEvents=e.shape.pointerEvents),e.shape.pointerEvents=!1,null!=e.text&&(null==e.text.originalPointerEvents&&\r\n(e.text.originalPointerEvents=e.text.pointerEvents),e.text.pointerEvents=!1)),this.graph.model.isVertex(e.cell))&&((e.x+=a,e.y+=b,this.cloning)?null!=e.text&&(e.text.updateBoundingBox(),null!=e.text.boundingBox&&(e.text.boundingBox.x+=a,e.text.boundingBox.y+=b),null!=e.text.unrotatedBoundingBox&&(e.text.unrotatedBoundingBox.x+=a,e.text.unrotatedBoundingBox.y+=b)):(e.view.graph.cellRenderer.redraw(e,!0),e.view.invalidate(e.cell),e.invalid=!1,null!=e.control&&null!=e.control.node&&(e.control.node.style.visibility=\r\n"hidden")))}));if(0==c.length)this.reset();else{for(var d=this.graph.view.scale,e=0;e<c.length;e++){var f=c[e][0];if(this.graph.model.isEdge(f.cell)){var g=this.graph.getCellGeometry(f.cell),k=[];if(null!=g&&null!=g.points)for(var l=0;l<g.points.length;l++)null!=g.points[l]&&k.push(new mxPoint(g.points[l].x+a/d,g.points[l].y+b/d));var g=f.visibleSourceState,l=f.visibleTargetState,m=c[e][1].absolutePoints;null!=g&&this.isCellMoving(g.cell)?f.view.updateFixedTerminalPoint(f,g,!0,this.graph.getConnectionConstraint(f,\r\ng,!0)):(g=m[0],f.setAbsoluteTerminalPoint(new mxPoint(g.x+a,g.y+b),!0),g=null);null!=l&&this.isCellMoving(l.cell)?f.view.updateFixedTerminalPoint(f,l,!1,this.graph.getConnectionConstraint(f,l,!1)):(l=m[m.length-1],f.setAbsoluteTerminalPoint(new mxPoint(l.x+a,l.y+b),!1),l=null);f.view.updatePoints(f,k,g,l);f.view.updateFloatingTerminalPoints(f,g,l);f.view.updateEdgeLabelOffset(f);f.invalid=!1;this.cloning||f.view.graph.cellRenderer.redraw(f,!0)}}this.graph.view.validate();this.redrawHandles(c);this.resetPreviewStates(c)}}};\r\nmxGraphHandler.prototype.redrawHandles=function(a){for(var b=0;b<a.length;b++){var c=this.graph.selectionCellsHandler.getHandler(a[b][0].cell);null!=c&&c.redraw(!0)}};mxGraphHandler.prototype.resetPreviewStates=function(a){for(var b=0;b<a.length;b++)a[b][0].setState(a[b][1])};\r\nmxGraphHandler.prototype.suspend=function(){this.suspended||(this.livePreviewUsed&&this.updateLivePreview(0,0),null!=this.shape&&(this.shape.node.style.visibility="hidden"),null!=this.guide&&this.guide.setVisible(!1),this.suspended=!0)};mxGraphHandler.prototype.resume=function(){this.suspended&&(this.suspended=null,this.livePreviewUsed&&(this.livePreviewActive=!0),null!=this.shape&&(this.shape.node.style.visibility="visible"),null!=this.guide&&this.guide.setVisible(!0))};\r\nmxGraphHandler.prototype.resetLivePreview=function(){null!=this.allCells&&(this.allCells.visit(mxUtils.bind(this,function(a,b){null!=b.shape&&null!=b.shape.originalPointerEvents&&(b.shape.pointerEvents=b.shape.originalPointerEvents,b.shape.originalPointerEvents=null,b.shape.bounds=null,null!=b.text&&(b.text.pointerEvents=b.text.originalPointerEvents,b.text.originalPointerEvents=null));null!=b.control&&null!=b.control.node&&"hidden"==b.control.node.style.visibility&&(b.control.node.style.visibility=\r\n"");this.cloning||null!=b.text&&b.text.updateBoundingBox();b.view.invalidate(b.cell)})),this.graph.view.validate())};mxGraphHandler.prototype.setHandlesVisibleForCells=function(a,b,c){if(c||this.handlesVisible!=b)for(this.handlesVisible=b,c=0;c<a.length;c++){var d=this.graph.selectionCellsHandler.getHandler(a[c]);null!=d&&(d.setHandlesVisible(b),b&&d.redraw())}};mxGraphHandler.prototype.setHighlightColor=function(a){null!=this.highlight&&this.highlight.setHighlightColor(a)};\r\nmxGraphHandler.prototype.mouseUp=function(a,b){if(!b.isConsumed())if(this.livePreviewUsed&&this.resetLivePreview(),null==this.cell||null==this.first||null==this.shape&&!this.livePreviewUsed||null==this.currentDx||null==this.currentDy)this.isSelectEnabled()&&this.delayedSelection&&null!=this.cell&&this.selectDelayed(b);else{var c=this.graph,d=b.getCell();if(this.connectOnDrop&&null==this.target&&null!=d&&c.getModel().isVertex(d)&&c.isCellConnectable(d)&&c.isEdgeValid(null,this.cell,d))c.connectionHandler.connect(this.cell,\r\nd,b.getEvent());else{var d=c.isCloneEvent(b.getEvent())&&c.isCellsCloneable()&&this.isCloneEnabled(),e=c.getView().scale,f=this.roundLength(this.currentDx/e),e=this.roundLength(this.currentDy/e),g=this.target;c.isSplitEnabled()&&c.isSplitTarget(g,this.cells,b.getEvent())?c.splitEdge(g,this.cells,null,f,e,b.getGraphX(),b.getGraphY()):this.moveCells(this.cells,f,e,d,this.target,b.getEvent())}}this.cellWasClicked&&this.consumeMouseEvent(mxEvent.MOUSE_UP,b);this.reset()};\r\nmxGraphHandler.prototype.reset=function(){this.livePreviewUsed&&(this.resetLivePreview(),this.setHandlesVisibleForCells(this.graph.selectionCellsHandler.getHandledSelectionCells(),!0));this.destroyShapes();this.removeHint();this.delayedSelection=!1;this.livePreviewUsed=this.livePreviewActive=null;this.cellWasClicked=!1;this.cellCount=this.currentDy=this.currentDx=this.suspended=null;this.cloning=!1;this.cell=this.cells=this.first=this.target=this.guides=this.pBounds=this.allCells=null};\r\nmxGraphHandler.prototype.shouldRemoveCellsFromParent=function(a,b,c){if(this.graph.getModel().isVertex(a)&&(a=this.graph.getView().getState(a),null!=a)){c=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(c),mxEvent.getClientY(c));var d=mxUtils.toRadians(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION)||0);if(0!=d){b=Math.cos(-d);var d=Math.sin(-d),e=new mxPoint(a.getCenterX(),a.getCenterY());c=mxUtils.getRotatedPoint(c,b,d,e)}return!mxUtils.contains(a,c.x,c.y)}return!1};\r\nmxGraphHandler.prototype.moveCells=function(a,b,c,d,e,f){d&&(a=this.graph.getCloneableCells(a));var g=this.graph.getModel().getParent(this.cell);null==e&&this.isRemoveCellsFromParent()&&this.shouldRemoveCellsFromParent(g,a,f)&&(e=this.graph.getDefaultParent());d=d&&!this.graph.isCellLocked(e||this.graph.getDefaultParent());this.graph.getModel().beginUpdate();try{g=[];if(!d&&null!=e&&this.removeEmptyParents){for(var k=new mxDictionary,l=0;l<a.length;l++)k.put(a[l],!0);for(l=0;l<a.length;l++){var m=\r\nthis.graph.model.getParent(a[l]);null==m||k.get(m)||(k.put(m,!0),g.push(m))}}a=this.graph.moveCells(a,b,c,d,e,f);b=[];for(l=0;l<g.length;l++)this.shouldRemoveParent(g[l])&&b.push(g[l]);this.graph.removeCells(b,!1)}finally{this.graph.getModel().endUpdate()}d&&this.graph.setSelectionCells(a);this.isSelectEnabled()&&this.scrollOnMove&&this.graph.scrollCellToVisible(a[0])};\r\nmxGraphHandler.prototype.shouldRemoveParent=function(a){a=this.graph.view.getState(a);return null!=a&&(this.graph.model.isEdge(a.cell)||this.graph.model.isVertex(a.cell))&&this.graph.isCellDeletable(a.cell)&&0==this.graph.model.getChildCount(a.cell)&&this.graph.isTransparentState(a)};\r\nmxGraphHandler.prototype.destroyShapes=function(){null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.guide&&(this.guide.destroy(),this.guide=null);null!=this.highlight&&(this.highlight.destroy(),this.highlight=null)};\r\nmxGraphHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);this.graph.removeListener(this.panHandler);null!=this.escapeHandler&&(this.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.refreshHandler&&(this.graph.getModel().removeListener(this.refreshHandler),this.graph.removeListener(this.refreshHandler),this.refreshHandler=null);mxEvent.removeListener(document,"keydown",this.keyHandler);mxEvent.removeListener(document,"keyup",this.keyHandler);this.destroyShapes();\r\nthis.removeHint()};\r\nfunction mxPanningHandler(a){null!=a&&(this.graph=a,this.graph.addMouseListener(this),this.forcePanningHandler=mxUtils.bind(this,function(a,c){var b=c.getProperty("eventName"),e=c.getProperty("event");b==mxEvent.MOUSE_DOWN&&this.isForcePanningEvent(e)&&(this.start(e),this.active=!0,this.fireEvent(new mxEventObject(mxEvent.PAN_START,"event",e)),e.consume())}),this.graph.addListener(mxEvent.FIRE_MOUSE_EVENT,this.forcePanningHandler),this.gestureHandler=mxUtils.bind(this,function(a,c){if(this.isPinchEnabled()){var b=\r\nc.getProperty("event");mxEvent.isConsumed(b)||"gesturestart"!=b.type?"gestureend"==b.type&&null!=this.initialScale&&(this.initialScale=null):(this.initialScale=this.graph.view.scale,this.active||null==this.mouseDownEvent||(this.start(this.mouseDownEvent),this.mouseDownEvent=null));null!=this.initialScale&&this.zoomGraph(b)}}),this.graph.addListener(mxEvent.GESTURE,this.gestureHandler),this.mouseUpListener=mxUtils.bind(this,function(){this.active&&this.reset()}),mxEvent.addListener(document,"mouseup",\r\nthis.mouseUpListener),mxEvent.addListener(document,"mouseleave",this.mouseUpListener))}mxPanningHandler.prototype=new mxEventSource;mxPanningHandler.prototype.constructor=mxPanningHandler;mxPanningHandler.prototype.graph=null;mxPanningHandler.prototype.useLeftButtonForPanning=!1;mxPanningHandler.prototype.usePopupTrigger=!0;mxPanningHandler.prototype.ignoreCell=!1;mxPanningHandler.prototype.previewEnabled=!0;mxPanningHandler.prototype.useGrid=!1;mxPanningHandler.prototype.panningEnabled=!0;\r\nmxPanningHandler.prototype.pinchEnabled=!0;mxPanningHandler.prototype.maxScale=8;mxPanningHandler.prototype.minScale=.01;mxPanningHandler.prototype.dx=null;mxPanningHandler.prototype.dy=null;mxPanningHandler.prototype.startX=0;mxPanningHandler.prototype.startY=0;mxPanningHandler.prototype.isActive=function(){return this.active||null!=this.initialScale};mxPanningHandler.prototype.isPanningEnabled=function(){return this.panningEnabled};\r\nmxPanningHandler.prototype.setPanningEnabled=function(a){this.panningEnabled=a};mxPanningHandler.prototype.isPinchEnabled=function(){return this.pinchEnabled};mxPanningHandler.prototype.setPinchEnabled=function(a){this.pinchEnabled=a};mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return this.useLeftButtonForPanning&&null==a.getState()&&mxEvent.isLeftMouseButton(b)||mxEvent.isControlDown(b)&&mxEvent.isShiftDown(b)||this.usePopupTrigger&&mxEvent.isPopupTrigger(b)};\r\nmxPanningHandler.prototype.isForcePanningEvent=function(a){return this.ignoreCell||mxEvent.isMultiTouchEvent(a.getEvent())};mxPanningHandler.prototype.mouseDown=function(a,b){this.mouseDownEvent=b;!b.isConsumed()&&this.isPanningEnabled()&&!this.active&&this.isPanningTrigger(b)&&(this.start(b),this.consumePanningTrigger(b))};\r\nmxPanningHandler.prototype.start=function(a){this.dx0=-this.graph.container.scrollLeft;this.dy0=-this.graph.container.scrollTop;this.startX=a.getX();this.startY=a.getY();this.dy=this.dx=null;this.panningTrigger=!0};mxPanningHandler.prototype.consumePanningTrigger=function(a){a.consume()};\r\nmxPanningHandler.prototype.mouseMove=function(a,b){this.dx=b.getX()-this.startX;this.dy=b.getY()-this.startY;if(this.active)this.previewEnabled&&(this.useGrid&&(this.dx=this.graph.snap(this.dx),this.dy=this.graph.snap(this.dy)),this.graph.panGraph(this.dx+this.dx0,this.dy+this.dy0)),this.fireEvent(new mxEventObject(mxEvent.PAN,"event",b));else if(this.panningTrigger){var c=this.active;this.active=Math.abs(this.dx)>this.graph.tolerance||Math.abs(this.dy)>this.graph.tolerance;!c&&this.active&&this.fireEvent(new mxEventObject(mxEvent.PAN_START,\r\n"event",b))}(this.active||this.panningTrigger)&&b.consume()};mxPanningHandler.prototype.mouseUp=function(a,b){if(this.active){if(null!=this.dx&&null!=this.dy){if(!this.graph.useScrollbarsForPanning||!mxUtils.hasScrollbars(this.graph.container)){var c=this.graph.getView().scale,d=this.graph.getView().translate;this.graph.panGraph(0,0);this.panGraph(d.x+this.dx/c,d.y+this.dy/c)}b.consume()}this.fireEvent(new mxEventObject(mxEvent.PAN_END,"event",b))}this.reset()};\r\nmxPanningHandler.prototype.zoomGraph=function(a){var b=Math.round(this.initialScale*a.scale*100)/100;null!=this.minScale&&(b=Math.max(this.minScale,b));null!=this.maxScale&&(b=Math.min(this.maxScale,b));this.graph.view.scale!=b&&(this.graph.zoomTo(b),mxEvent.consume(a))};mxPanningHandler.prototype.reset=function(){this.panningTrigger=this.graph.isMouseDown=!1;this.mouseDownEvent=null;this.active=!1;this.dy=this.dx=null};\r\nmxPanningHandler.prototype.panGraph=function(a,b){this.graph.getView().setTranslate(a,b)};mxPanningHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);this.graph.removeListener(this.forcePanningHandler);this.graph.removeListener(this.gestureHandler);mxEvent.removeListener(document,"mouseup",this.mouseUpListener);mxEvent.removeListener(document,"mouseleave",this.mouseUpListener)};\r\nfunction mxPopupMenuHandler(a,b){null!=a&&(this.graph=a,this.factoryMethod=b,this.graph.addMouseListener(this),this.gestureHandler=mxUtils.bind(this,function(a,b){this.inTolerance=!1}),this.graph.addListener(mxEvent.GESTURE,this.gestureHandler),this.init())}mxPopupMenuHandler.prototype=new mxPopupMenu;mxPopupMenuHandler.prototype.constructor=mxPopupMenuHandler;mxPopupMenuHandler.prototype.graph=null;mxPopupMenuHandler.prototype.selectOnPopup=!0;\r\nmxPopupMenuHandler.prototype.clearSelectionOnBackground=!0;mxPopupMenuHandler.prototype.triggerX=null;mxPopupMenuHandler.prototype.triggerY=null;mxPopupMenuHandler.prototype.screenX=null;mxPopupMenuHandler.prototype.screenY=null;mxPopupMenuHandler.prototype.init=function(){mxPopupMenu.prototype.init.apply(this);mxEvent.addGestureListeners(this.div,mxUtils.bind(this,function(a){this.graph.tooltipHandler.hide()}))};mxPopupMenuHandler.prototype.isSelectOnPopup=function(a){return this.selectOnPopup};\r\nmxPopupMenuHandler.prototype.mouseDown=function(a,b){this.isEnabled()&&!mxEvent.isMultiTouchEvent(b.getEvent())&&(this.hideMenu(),this.triggerX=b.getGraphX(),this.triggerY=b.getGraphY(),this.screenX=mxEvent.getMainEvent(b.getEvent()).screenX,this.screenY=mxEvent.getMainEvent(b.getEvent()).screenY,this.popupTrigger=this.isPopupTrigger(b),this.inTolerance=!0)};\r\nmxPopupMenuHandler.prototype.mouseMove=function(a,b){this.inTolerance&&null!=this.screenX&&null!=this.screenY&&(Math.abs(mxEvent.getMainEvent(b.getEvent()).screenX-this.screenX)>this.graph.tolerance||Math.abs(mxEvent.getMainEvent(b.getEvent()).screenY-this.screenY)>this.graph.tolerance)&&(this.inTolerance=!1)};\r\nmxPopupMenuHandler.prototype.mouseUp=function(a,b,c){a=null==c;c=null!=c?c:mxUtils.bind(this,function(a){var c=mxUtils.getScrollOrigin();this.popup(b.getX()+c.x+1,b.getY()+c.y+1,a,b.getEvent())});if(this.popupTrigger&&this.inTolerance&&null!=this.triggerX&&null!=this.triggerY){var d=this.getCellForPopupEvent(b);this.graph.isEnabled()&&this.isSelectOnPopup(b)&&null!=d&&!this.graph.isCellSelected(d)?this.graph.setSelectionCell(d):this.clearSelectionOnBackground&&null==d&&this.graph.clearSelection();\r\nthis.graph.tooltipHandler.hide();c(d);a&&b.consume()}this.inTolerance=this.popupTrigger=!1};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(a){return a.getCell()};mxPopupMenuHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);this.graph.removeListener(this.gestureHandler);mxPopupMenu.prototype.destroy.apply(this)};\r\nfunction mxCellMarker(a,b,c,d){mxEventSource.call(this);null!=a&&(this.graph=a,this.validColor=null!=b?b:mxConstants.DEFAULT_VALID_COLOR,this.invalidColor=null!=c?c:mxConstants.DEFAULT_INVALID_COLOR,this.hotspot=null!=d?d:mxConstants.DEFAULT_HOTSPOT,this.highlight=new mxCellHighlight(a))}mxUtils.extend(mxCellMarker,mxEventSource);mxCellMarker.prototype.graph=null;mxCellMarker.prototype.enabled=!0;mxCellMarker.prototype.hotspot=mxConstants.DEFAULT_HOTSPOT;mxCellMarker.prototype.hotspotEnabled=!1;\r\nmxCellMarker.prototype.validColor=null;mxCellMarker.prototype.invalidColor=null;mxCellMarker.prototype.currentColor=null;mxCellMarker.prototype.validState=null;mxCellMarker.prototype.markedState=null;mxCellMarker.prototype.setEnabled=function(a){this.enabled=a};mxCellMarker.prototype.isEnabled=function(){return this.enabled};mxCellMarker.prototype.setHotspot=function(a){this.hotspot=a};mxCellMarker.prototype.getHotspot=function(){return this.hotspot};\r\nmxCellMarker.prototype.setHotspotEnabled=function(a){this.hotspotEnabled=a};mxCellMarker.prototype.isHotspotEnabled=function(){return this.hotspotEnabled};mxCellMarker.prototype.hasValidState=function(){return null!=this.validState};mxCellMarker.prototype.getValidState=function(){return this.validState};mxCellMarker.prototype.getMarkedState=function(){return this.markedState};mxCellMarker.prototype.reset=function(){this.validState=null;null!=this.markedState&&(this.markedState=null,this.unmark())};\r\nmxCellMarker.prototype.process=function(a){var b=null;this.isEnabled()&&(b=this.getState(a),this.setCurrentState(b,a));return b};mxCellMarker.prototype.setCurrentState=function(a,b,c){var d=null!=a?this.isValidState(a):!1;c=null!=c?c:this.getMarkerColor(b.getEvent(),a,d);this.validState=d?a:null;if(a!=this.markedState||c!=this.currentColor)this.currentColor=c,null!=a&&null!=this.currentColor?(this.markedState=a,this.mark()):null!=this.markedState&&(this.markedState=null,this.unmark())};\r\nmxCellMarker.prototype.markCell=function(a,b){var c=this.graph.getView().getState(a);null!=c&&(this.currentColor=null!=b?b:this.validColor,this.markedState=c,this.mark())};mxCellMarker.prototype.mark=function(){this.highlight.setHighlightColor(this.currentColor);this.highlight.highlight(this.markedState);this.fireEvent(new mxEventObject(mxEvent.MARK,"state",this.markedState))};mxCellMarker.prototype.unmark=function(){this.mark()};mxCellMarker.prototype.isValidState=function(a){return!0};\r\nmxCellMarker.prototype.getMarkerColor=function(a,b,c){return c?this.validColor:this.invalidColor};mxCellMarker.prototype.getState=function(a){var b=this.graph.getView(),c=this.getCell(a),b=this.getStateToMark(b.getState(c));return null!=b&&this.intersects(b,a)?b:null};mxCellMarker.prototype.getCell=function(a){return a.getCell()};mxCellMarker.prototype.getStateToMark=function(a){return a};\r\nmxCellMarker.prototype.intersects=function(a,b){return this.hotspotEnabled?mxUtils.intersectsHotspot(a,b.getGraphX(),b.getGraphY(),this.hotspot,mxConstants.MIN_HOTSPOT_SIZE,mxConstants.MAX_HOTSPOT_SIZE):!0};mxCellMarker.prototype.destroy=function(){this.graph.getView().removeListener(this.resetHandler);this.graph.getModel().removeListener(this.resetHandler);this.highlight.destroy()};\r\nfunction mxSelectionCellsHandler(a){mxEventSource.call(this);this.graph=a;this.handlers=new mxDictionary;this.graph.addMouseListener(this);this.refreshHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&this.refresh()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.refreshHandler);this.graph.getModel().addListener(mxEvent.CHANGE,this.refreshHandler);this.graph.getView().addListener(mxEvent.SCALE,this.refreshHandler);this.graph.getView().addListener(mxEvent.TRANSLATE,this.refreshHandler);\r\nthis.graph.getView().addListener(mxEvent.SCALE_AND_TRANSLATE,this.refreshHandler);this.graph.getView().addListener(mxEvent.DOWN,this.refreshHandler);this.graph.getView().addListener(mxEvent.UP,this.refreshHandler)}mxUtils.extend(mxSelectionCellsHandler,mxEventSource);mxSelectionCellsHandler.prototype.graph=null;mxSelectionCellsHandler.prototype.enabled=!0;mxSelectionCellsHandler.prototype.refreshHandler=null;mxSelectionCellsHandler.prototype.maxHandlers=100;\r\nmxSelectionCellsHandler.prototype.handlers=null;mxSelectionCellsHandler.prototype.isEnabled=function(){return this.enabled};mxSelectionCellsHandler.prototype.setEnabled=function(a){this.enabled=a};mxSelectionCellsHandler.prototype.getHandler=function(a){return this.handlers.get(a)};mxSelectionCellsHandler.prototype.isHandled=function(a){return null!=this.getHandler(a)};mxSelectionCellsHandler.prototype.reset=function(){this.handlers.visit(function(a,b){b.reset.apply(b)})};\r\nmxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){return this.graph.getSelectionCells()};\r\nmxSelectionCellsHandler.prototype.refresh=function(){var a=this.handlers;this.handlers=new mxDictionary;for(var b=mxUtils.sortCells(this.getHandledSelectionCells(),!1),c=0;c<b.length;c++){var d=this.graph.view.getState(b[c]);if(null!=d){var e=a.remove(b[c]);null!=e&&(e.state!=d?(e.destroy(),e=null):this.isHandlerActive(e)||(null!=e.refresh&&e.refresh(),e.redraw()));null!=e&&this.handlers.put(b[c],e)}}a.visit(mxUtils.bind(this,function(a,b){this.fireEvent(new mxEventObject(mxEvent.REMOVE,"state",b.state));\r\nb.destroy()}));for(c=0;c<b.length;c++)d=this.graph.view.getState(b[c]),null!=d&&(e=this.handlers.get(b[c]),null==e?(e=this.graph.createHandler(d),this.fireEvent(new mxEventObject(mxEvent.ADD,"state",d)),this.handlers.put(b[c],e)):e.updateParentHighlight())};mxSelectionCellsHandler.prototype.isHandlerActive=function(a){return null!=a.index};\r\nmxSelectionCellsHandler.prototype.updateHandler=function(a){var b=this.handlers.remove(a.cell);if(null!=b){var c=b.index,d=b.startX,e=b.startY;b.destroy();b=this.graph.createHandler(a);null!=b&&(this.handlers.put(a.cell,b),null!=c&&null!=d&&null!=e&&b.start(d,e,c))}};mxSelectionCellsHandler.prototype.mouseDown=function(a,b){if(this.graph.isEnabled()&&this.isEnabled()){var c=[a,b];this.handlers.visit(function(a,b){b.mouseDown.apply(b,c)})}};\r\nmxSelectionCellsHandler.prototype.mouseMove=function(a,b){if(this.graph.isEnabled()&&this.isEnabled()){var c=[a,b];this.handlers.visit(function(a,b){b.mouseMove.apply(b,c)})}};mxSelectionCellsHandler.prototype.mouseUp=function(a,b){if(this.graph.isEnabled()&&this.isEnabled()){var c=[a,b];this.handlers.visit(function(a,b){b.mouseUp.apply(b,c)})}};\r\nmxSelectionCellsHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);null!=this.refreshHandler&&(this.graph.getSelectionModel().removeListener(this.refreshHandler),this.graph.getModel().removeListener(this.refreshHandler),this.graph.getView().removeListener(this.refreshHandler),this.refreshHandler=null)};\r\nfunction mxConnectionHandler(a,b){mxEventSource.call(this);null!=a&&(this.graph=a,this.factoryMethod=b,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,b){this.reset()}),this.graph.addListener(mxEvent.ESCAPE,this.escapeHandler))}mxUtils.extend(mxConnectionHandler,mxEventSource);mxConnectionHandler.prototype.graph=null;mxConnectionHandler.prototype.factoryMethod=!0;mxConnectionHandler.prototype.moveIconFront=!1;mxConnectionHandler.prototype.moveIconBack=!1;\r\nmxConnectionHandler.prototype.connectImage=null;mxConnectionHandler.prototype.targetConnectImage=!1;mxConnectionHandler.prototype.enabled=!0;mxConnectionHandler.prototype.select=!0;mxConnectionHandler.prototype.createTarget=!1;mxConnectionHandler.prototype.marker=null;mxConnectionHandler.prototype.constraintHandler=null;mxConnectionHandler.prototype.error=null;mxConnectionHandler.prototype.waypointsEnabled=!1;mxConnectionHandler.prototype.ignoreMouseDown=!1;mxConnectionHandler.prototype.first=null;\r\nmxConnectionHandler.prototype.connectIconOffset=new mxPoint(0,mxConstants.TOOLTIP_VERTICAL_OFFSET);mxConnectionHandler.prototype.edgeState=null;mxConnectionHandler.prototype.changeHandler=null;mxConnectionHandler.prototype.drillHandler=null;mxConnectionHandler.prototype.mouseDownCounter=0;mxConnectionHandler.prototype.movePreviewAway=!1;mxConnectionHandler.prototype.outlineConnect=!1;mxConnectionHandler.prototype.livePreview=!1;mxConnectionHandler.prototype.cursor=null;\r\nmxConnectionHandler.prototype.insertBeforeSource=!1;mxConnectionHandler.prototype.isEnabled=function(){return this.enabled};mxConnectionHandler.prototype.setEnabled=function(a){this.enabled=a};mxConnectionHandler.prototype.isInsertBefore=function(a,b,c,d,e){return this.insertBeforeSource&&b!=c};mxConnectionHandler.prototype.isCreateTarget=function(a){return this.createTarget};mxConnectionHandler.prototype.setCreateTarget=function(a){this.createTarget=a};\r\nmxConnectionHandler.prototype.createShape=function(){var a=this.livePreview&&null!=this.edgeState?this.graph.cellRenderer.createShape(this.edgeState):new mxPolyline([],mxConstants.INVALID_COLOR);a.dialect=mxConstants.DIALECT_SVG;a.scale=this.graph.view.scale;a.pointerEvents=!1;a.isDashed=!0;a.init(this.graph.getView().getOverlayPane());mxEvent.redirectMouseEvents(a.node,this.graph,null);return a};\r\nmxConnectionHandler.prototype.init=function(){this.graph.addMouseListener(this);this.marker=this.createMarker();this.constraintHandler=new mxConstraintHandler(this.graph);this.changeHandler=mxUtils.bind(this,function(a){null!=this.iconState&&(this.iconState=this.graph.getView().getState(this.iconState.cell));null!=this.iconState?(this.redrawIcons(this.icons,this.iconState),this.constraintHandler.reset()):null!=this.previous&&null==this.graph.view.getState(this.previous.cell)&&this.reset()});this.graph.getModel().addListener(mxEvent.CHANGE,\r\nthis.changeHandler);this.graph.getView().addListener(mxEvent.SCALE,this.changeHandler);this.graph.getView().addListener(mxEvent.TRANSLATE,this.changeHandler);this.graph.getView().addListener(mxEvent.SCALE_AND_TRANSLATE,this.changeHandler);this.drillHandler=mxUtils.bind(this,function(a){this.reset()});this.graph.addListener(mxEvent.START_EDITING,this.drillHandler);this.graph.getView().addListener(mxEvent.DOWN,this.drillHandler);this.graph.getView().addListener(mxEvent.UP,this.drillHandler)};\r\nmxConnectionHandler.prototype.isConnectableCell=function(a){return!0};\r\nmxConnectionHandler.prototype.createMarker=function(){var a=new mxCellMarker(this.graph);a.hotspotEnabled=!0;a.getCell=mxUtils.bind(this,function(b){var c=mxCellMarker.prototype.getCell.apply(a,arguments);this.error=null;null==c&&null!=this.currentPoint&&(c=this.graph.getCellAt(this.currentPoint.x,this.currentPoint.y));if(null!=c&&!this.graph.isCellConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(d)&&this.graph.isCellConnectable(d)&&(c=d)}if(this.graph.isSwimlane(c)&&\r\nnull!=this.currentPoint&&this.graph.hitsSwimlaneContent(c,this.currentPoint.x,this.currentPoint.y)||!this.isConnectableCell(c))c=null;null!=c?this.isConnecting()?null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,c),null!=this.error&&0==this.error.length&&(c=null,this.isCreateTarget(b.getEvent())&&(this.error=null))):this.isValidSource(c,b)||(c=null):!this.isConnecting()||this.isCreateTarget(b.getEvent())||this.graph.allowDanglingEdges||(this.error="");return c});a.isValidState=\r\nmxUtils.bind(this,function(b){return this.isConnecting()?null==this.error:mxCellMarker.prototype.isValidState.apply(a,arguments)});a.getMarkerColor=mxUtils.bind(this,function(b,c,d){return null==this.connectImage||this.isConnecting()?mxCellMarker.prototype.getMarkerColor.apply(a,arguments):null});a.intersects=mxUtils.bind(this,function(b,c){return null!=this.connectImage||this.isConnecting()?!0:mxCellMarker.prototype.intersects.apply(a,arguments)});return a};\r\nmxConnectionHandler.prototype.start=function(a,b,c,d){this.previous=a;this.first=new mxPoint(b,c);this.edgeState=null!=d?d:this.createEdgeState(null);this.marker.currentColor=this.marker.validColor;this.marker.markedState=a;this.marker.mark();this.fireEvent(new mxEventObject(mxEvent.START,"state",this.previous))};mxConnectionHandler.prototype.isConnecting=function(){return null!=this.first&&null!=this.shape};mxConnectionHandler.prototype.isValidSource=function(a,b){return this.graph.isValidSource(a)};\r\nmxConnectionHandler.prototype.isValidTarget=function(a){return!0};mxConnectionHandler.prototype.validateConnection=function(a,b){return this.isValidTarget(b)?this.graph.getEdgeValidationError(null,a,b):""};mxConnectionHandler.prototype.getConnectImage=function(a){return this.connectImage};mxConnectionHandler.prototype.isMoveIconToFrontForState=function(a){return null!=a.text&&a.text.node.parentNode==this.graph.container?!0:this.moveIconFront};\r\nmxConnectionHandler.prototype.createIcons=function(a){var b=this.getConnectImage(a);if(null!=b&&null!=a){this.iconState=a;var c=[],d=new mxRectangle(0,0,b.width,b.height),e=new mxImageShape(d,b.src,null,null,0);e.preserveImageAspect=!1;this.isMoveIconToFrontForState(a)?(e.dialect=mxConstants.DIALECT_STRICTHTML,e.init(this.graph.container)):(e.dialect=mxConstants.DIALECT_SVG,e.init(this.graph.getView().getOverlayPane()),this.moveIconBack&&null!=e.node.previousSibling&&e.node.parentNode.insertBefore(e.node,\r\ne.node.parentNode.firstChild));e.node.style.cursor=mxConstants.CURSOR_CONNECT;var f=mxUtils.bind(this,function(){return null!=this.currentState?this.currentState:a}),b=mxUtils.bind(this,function(a){mxEvent.isConsumed(a)||(this.icon=e,this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a,f())))});mxEvent.redirectMouseEvents(e.node,this.graph,f,b);c.push(e);this.redrawIcons(c,this.iconState);return c}return null};\r\nmxConnectionHandler.prototype.redrawIcons=function(a,b){if(null!=a&&null!=a[0]&&null!=b){var c=this.getIconPosition(a[0],b);a[0].bounds.x=c.x;a[0].bounds.y=c.y;a[0].redraw()}};\r\nmxConnectionHandler.prototype.getIconPosition=function(a,b){var c=this.graph.getView().scale,d=b.getCenterX(),e=b.getCenterY();if(this.graph.isSwimlane(b.cell)){var f=this.graph.getStartSize(b.cell),d=0!=f.width?b.x+f.width*c/2:d,e=0!=f.height?b.y+f.height*c/2:e,f=mxUtils.toRadians(mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION)||0);if(0!=f)var c=Math.cos(f),f=Math.sin(f),g=new mxPoint(b.getCenterX(),b.getCenterY()),e=mxUtils.getRotatedPoint(new mxPoint(d,e),c,f,g),d=e.x,e=e.y}return new mxPoint(d-\r\na.bounds.width/2,e-a.bounds.height/2)};mxConnectionHandler.prototype.destroyIcons=function(){if(null!=this.icons){for(var a=0;a<this.icons.length;a++)this.icons[a].destroy();this.iconState=this.selectedIcon=this.icon=this.icons=null}};mxConnectionHandler.prototype.isStartEvent=function(a){return null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentConstraint||null!=this.previous&&null==this.error&&(null==this.icons||null!=this.icons&&null!=this.icon)};\r\nmxConnectionHandler.prototype.mouseDown=function(a,b){this.mouseDownCounter++;if(this.isEnabled()&&this.graph.isEnabled()&&!b.isConsumed()&&!this.isConnecting()&&this.isStartEvent(b)){null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentPoint?(this.sourceConstraint=this.constraintHandler.currentConstraint,this.previous=this.constraintHandler.currentFocus,this.first=this.constraintHandler.currentPoint.clone()):this.first=new mxPoint(b.getGraphX(),\r\nb.getGraphY());this.edgeState=this.createEdgeState(b);this.mouseDownCounter=1;this.waypointsEnabled&&null==this.shape&&(this.waypoints=null,this.shape=this.createShape(),null!=this.edgeState&&this.shape.apply(this.edgeState));if(null==this.previous&&null!=this.edgeState){var c=this.graph.getPointForEvent(b.getEvent());this.edgeState.cell.geometry.setTerminalPoint(c,!0)}this.fireEvent(new mxEventObject(mxEvent.START,"state",this.previous));b.consume()}this.selectedIcon=this.icon;this.icon=null};\r\nmxConnectionHandler.prototype.isImmediateConnectSource=function(a){return!this.graph.isCellMovable(a.cell)};mxConnectionHandler.prototype.createEdgeState=function(a){return null};\r\nmxConnectionHandler.prototype.isOutlineConnectEvent=function(a){var b=mxUtils.getOffset(this.graph.container),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f=this.currentPoint.x-this.graph.container.scrollLeft+b.x-((window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)),b=this.currentPoint.y-this.graph.container.scrollTop+b.y-((window.pageYOffset||e.scrollTop)-(e.clientTop||0));return this.outlineConnect&&!mxEvent.isShiftDown(a.getEvent())&&(a.isSource(this.marker.highlight.shape)||\r\nmxEvent.isAltDown(a.getEvent())&&null!=a.getState()||this.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=c)&&null==a.getState()&&this.marker.highlight.isHighlightAt(f,b))};\r\nmxConnectionHandler.prototype.updateCurrentState=function(a,b){this.constraintHandler.update(a,null==this.first,!1,null==this.first||a.isSource(this.marker.highlight.shape)?null:b);if(null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentConstraint)null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cell?"transparent"!=this.marker.highlight.shape.stroke&&(this.marker.highlight.shape.stroke="transparent",\r\nthis.marker.highlight.repaint()):this.marker.markCell(this.constraintHandler.currentFocus.cell,"transparent"),null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,this.constraintHandler.currentFocus.cell),null==this.error&&(this.currentState=this.constraintHandler.currentFocus),(null!=this.error||null!=this.currentState&&!this.isCellEnabled(this.currentState.cell))&&this.constraintHandler.reset());else{this.graph.isIgnoreTerminalEvent(a.getEvent())?(this.marker.reset(),this.currentState=\r\nnull):(this.marker.process(a),this.currentState=this.marker.getValidState());null==this.currentState||this.isCellEnabled(this.currentState.cell)||(this.constraintHandler.reset(),this.marker.reset(),this.currentState=null);var c=this.isOutlineConnectEvent(a);null!=this.currentState&&c&&(a.isSource(this.marker.highlight.shape)&&(b=new mxPoint(a.getGraphX(),a.getGraphY())),c=this.graph.getOutlineConstraint(b,this.currentState,a),this.constraintHandler.setFocus(a,this.currentState,!1),this.constraintHandler.currentConstraint=\r\nc,this.constraintHandler.currentPoint=b);this.outlineConnect&&null!=this.marker.highlight&&null!=this.marker.highlight.shape&&(c=this.graph.view.scale,null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(this.marker.highlight.shape.stroke=mxConstants.OUTLINE_HIGHLIGHT_COLOR,this.marker.highlight.shape.strokewidth=mxConstants.OUTLINE_HIGHLIGHT_STROKEWIDTH/c/c,this.marker.highlight.repaint()):this.marker.hasValidState()&&(this.graph.isCellConnectable(a.getCell())&&\r\nthis.marker.getValidState()!=a.getState()?(this.marker.highlight.shape.stroke="transparent",this.currentState=null):this.marker.highlight.shape.stroke=mxConstants.DEFAULT_VALID_COLOR,this.marker.highlight.shape.strokewidth=mxConstants.HIGHLIGHT_STROKEWIDTH/c/c,this.marker.highlight.repaint()))}};mxConnectionHandler.prototype.isCellEnabled=function(a){return!0};\r\nmxConnectionHandler.prototype.convertWaypoint=function(a){var b=this.graph.getView().getScale(),c=this.graph.getView().getTranslate();a.x=a.x/b-c.x;a.y=a.y/b-c.y};\r\nmxConnectionHandler.prototype.snapToPreview=function(a,b){if(!mxEvent.isAltDown(a.getEvent())&&null!=this.previous){var c=this.graph.gridSize*this.graph.view.scale/2,d=null!=this.sourceConstraint?this.first:new mxPoint(this.previous.getCenterX(),this.previous.getCenterY());Math.abs(d.x-a.getGraphX())<c&&(b.x=d.x);Math.abs(d.y-a.getGraphY())<c&&(b.y=d.y)}};\r\nmxConnectionHandler.prototype.mouseMove=function(a,b){if(b.isConsumed()||!this.ignoreMouseDown&&null==this.first&&this.graph.isMouseDown)this.constraintHandler.reset();else{this.isEnabled()||null==this.currentState||(this.destroyIcons(),this.currentState=null);var c=this.graph.getView(),d=c.scale,e=c.translate,c=new mxPoint(b.getGraphX(),b.getGraphY());this.error=null;this.graph.isGridEnabledEvent(b.getEvent())&&(c=new mxPoint((this.graph.snap(c.x/d-e.x)+e.x)*d,(this.graph.snap(c.y/d-e.y)+e.y)*d));\r\nthis.snapToPreview(b,c);this.currentPoint=c;(null!=this.first||this.isEnabled()&&this.graph.isEnabled())&&(null!=this.shape||null==this.first||Math.abs(b.getGraphX()-this.first.x)>this.graph.tolerance||Math.abs(b.getGraphY()-this.first.y)>this.graph.tolerance)&&this.updateCurrentState(b,c);if(null!=this.first){var f=null,d=c;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentPoint?(f=this.constraintHandler.currentConstraint,\r\nd=this.constraintHandler.currentPoint.clone()):null!=this.previous&&!this.graph.isIgnoreTerminalEvent(b.getEvent())&&mxEvent.isShiftDown(b.getEvent())&&(Math.abs(this.previous.getCenterX()-c.x)<Math.abs(this.previous.getCenterY()-c.y)?c.x=this.previous.getCenterX():c.y=this.previous.getCenterY());e=this.first;if(null!=this.selectedIcon){var g=this.selectedIcon.bounds.width,k=this.selectedIcon.bounds.height;null!=this.currentState&&this.targetConnectImage?(g=this.getIconPosition(this.selectedIcon,\r\nthis.currentState),this.selectedIcon.bounds.x=g.x,this.selectedIcon.bounds.y=g.y):(g=new mxRectangle(b.getGraphX()+this.connectIconOffset.x,b.getGraphY()+this.connectIconOffset.y,g,k),this.selectedIcon.bounds=g);this.selectedIcon.redraw()}null!=this.edgeState?(this.updateEdgeState(d,f),d=this.edgeState.absolutePoints[this.edgeState.absolutePoints.length-1],e=this.edgeState.absolutePoints[0]):(null!=this.currentState&&null==this.constraintHandler.currentConstraint&&(g=this.getTargetPerimeterPoint(this.currentState,\r\nb),null!=g&&(d=g)),null==this.sourceConstraint&&null!=this.previous&&(g=this.getSourcePerimeterPoint(this.previous,null!=this.waypoints&&0<this.waypoints.length?this.waypoints[0]:d,b),null!=g&&(e=g)));if(null==this.currentState&&this.movePreviewAway){g=e;null!=this.edgeState&&2<=this.edgeState.absolutePoints.length&&(f=this.edgeState.absolutePoints[this.edgeState.absolutePoints.length-2],null!=f&&(g=f));f=d.x-g.x;g=d.y-g.y;k=Math.sqrt(f*f+g*g);if(0==k)return;this.originalPoint=d.clone();d.x-=4*f/\r\nk;d.y-=4*g/k}else this.originalPoint=null;null==this.shape&&(f=Math.abs(b.getGraphX()-this.first.x),g=Math.abs(b.getGraphY()-this.first.y),f>this.graph.tolerance||g>this.graph.tolerance)&&(this.shape=this.createShape(),null!=this.edgeState&&this.shape.apply(this.edgeState),this.updateCurrentState(b,c));null!=this.shape&&(null!=this.edgeState?this.shape.points=this.edgeState.absolutePoints:(c=[e],null!=this.waypoints&&(c=c.concat(this.waypoints)),c.push(d),this.shape.points=c),this.drawPreview());\r\nnull!=this.cursor&&(this.graph.container.style.cursor=this.cursor);mxEvent.consume(b.getEvent());b.consume()}else this.isEnabled()&&this.graph.isEnabled()?this.previous!=this.currentState&&null==this.edgeState?(this.destroyIcons(),null!=this.currentState&&null==this.error&&null==this.constraintHandler.currentConstraint&&(this.icons=this.createIcons(this.currentState),null==this.icons&&(this.currentState.setCursor(mxConstants.CURSOR_CONNECT),b.consume())),this.previous=this.currentState):this.previous!=\r\nthis.currentState||null==this.currentState||null!=this.icons||this.graph.isMouseDown||b.consume():this.constraintHandler.reset();if(!this.graph.isMouseDown&&null!=this.currentState&&null!=this.icons){c=!1;d=b.getSource();for(e=0;e<this.icons.length&&!c;e++)c=d==this.icons[e].node||d.parentNode==this.icons[e].node;c||this.updateIcons(this.currentState,this.icons,b)}}};\r\nmxConnectionHandler.prototype.updateEdgeState=function(a,b){null!=this.sourceConstraint&&null!=this.sourceConstraint.point&&(this.edgeState.style[mxConstants.STYLE_EXIT_X]=this.sourceConstraint.point.x,this.edgeState.style[mxConstants.STYLE_EXIT_Y]=this.sourceConstraint.point.y);null!=b&&null!=b.point?(this.edgeState.style[mxConstants.STYLE_ENTRY_X]=b.point.x,this.edgeState.style[mxConstants.STYLE_ENTRY_Y]=b.point.y):(delete this.edgeState.style[mxConstants.STYLE_ENTRY_X],delete this.edgeState.style[mxConstants.STYLE_ENTRY_Y]);\r\nthis.edgeState.absolutePoints=[null,null!=this.currentState?null:a];this.graph.view.updateFixedTerminalPoint(this.edgeState,this.previous,!0,this.sourceConstraint);null!=this.currentState&&(null==b&&(b=this.graph.getConnectionConstraint(this.edgeState,this.previous,!1)),this.edgeState.setAbsoluteTerminalPoint(null,!1),this.graph.view.updateFixedTerminalPoint(this.edgeState,this.currentState,!1,b));var c=null;if(null!=this.waypoints)for(var c=[],d=0;d<this.waypoints.length;d++){var e=this.waypoints[d].clone();\r\nthis.convertWaypoint(e);c[d]=e}this.graph.view.updatePoints(this.edgeState,c,this.previous,this.currentState);this.graph.view.updateFloatingTerminalPoints(this.edgeState,this.previous,this.currentState)};\r\nmxConnectionHandler.prototype.getTargetPerimeterPoint=function(a,b){var c=null,d=a.view,e=d.getPerimeterFunction(a);if(null!=e){var f=null!=this.waypoints&&0<this.waypoints.length?this.waypoints[this.waypoints.length-1]:new mxPoint(this.previous.getCenterX(),this.previous.getCenterY()),d=e(d.getPerimeterBounds(a),this.edgeState,f,!1);null!=d&&(c=d)}else c=new mxPoint(a.getCenterX(),a.getCenterY());return c};\r\nmxConnectionHandler.prototype.getSourcePerimeterPoint=function(a,b,c){c=null;var d=a.view,e=d.getPerimeterFunction(a),f=new mxPoint(a.getCenterX(),a.getCenterY());if(null!=e){var g=mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0),k=Math.PI/180*-g;0!=g&&(b=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(k),Math.sin(k),f));a=e(d.getPerimeterBounds(a),a,b,!1);null!=a&&(0!=g&&(a=mxUtils.getRotatedPoint(new mxPoint(a.x,a.y),Math.cos(-k),Math.sin(-k),f)),c=a)}else c=f;return c};\r\nmxConnectionHandler.prototype.updateIcons=function(a,b,c){};mxConnectionHandler.prototype.isStopEvent=function(a){return null!=a.getState()};\r\nmxConnectionHandler.prototype.addWaypointForEvent=function(a){var b=mxUtils.convertPoint(this.graph.container,a.getX(),a.getY()),c=Math.abs(b.x-this.first.x),b=Math.abs(b.y-this.first.y);if(null!=this.waypoints||1<this.mouseDownCounter&&(c>this.graph.tolerance||b>this.graph.tolerance))null==this.waypoints&&(this.waypoints=[]),c=this.graph.view.scale,b=new mxPoint(this.graph.snap(a.getGraphX()/c)*c,this.graph.snap(a.getGraphY()/c)*c),this.waypoints.push(b)};\r\nmxConnectionHandler.prototype.checkConstraints=function(a,b){return null==a||null==b||null==a.point||null==b.point||!a.point.equals(b.point)||a.dx!=b.dx||a.dy!=b.dy||a.perimeter!=b.perimeter};\r\nmxConnectionHandler.prototype.mouseUp=function(a,b){if(!b.isConsumed()&&this.isConnecting()){if(this.waypointsEnabled&&!this.isStopEvent(b)){this.addWaypointForEvent(b);b.consume();return}var c=this.sourceConstraint,d=this.constraintHandler.currentConstraint,e=null!=this.previous?this.previous.cell:null,f=null;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&(f=this.constraintHandler.currentFocus.cell);null==f&&null!=this.currentState&&(f=this.currentState.cell);\r\nnull!=this.error||null!=e&&null!=f&&e==f&&!this.checkConstraints(c,d)?(null!=this.previous&&null!=this.marker.validState&&this.previous.cell==this.marker.validState.cell&&this.graph.selectCellForEvent(this.marker.source,b.getEvent()),null!=this.error&&0<this.error.length&&this.graph.validationAlert(this.error)):this.connect(e,f,b.getEvent(),b.getCell());this.destroyIcons();b.consume()}null!=this.first&&this.reset()};\r\nmxConnectionHandler.prototype.reset=function(){null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.cursor&&null!=this.graph.container&&(this.graph.container.style.cursor="");this.destroyIcons();this.marker.reset();this.constraintHandler.reset();this.sourceConstraint=this.error=this.previous=this.edgeState=this.currentPoint=this.originalPoint=null;this.mouseDownCounter=0;this.first=null;this.fireEvent(new mxEventObject(mxEvent.RESET))};\r\nmxConnectionHandler.prototype.drawPreview=function(){this.updatePreview(null==this.error);this.shape.redraw()};mxConnectionHandler.prototype.updatePreview=function(a){this.shape.strokewidth=this.getEdgeWidth(a);this.shape.stroke=this.getEdgeColor(a)};mxConnectionHandler.prototype.getEdgeColor=function(a){return a?mxConstants.VALID_COLOR:mxConstants.INVALID_COLOR};mxConnectionHandler.prototype.getEdgeWidth=function(a){return a?3:1};\r\nmxConnectionHandler.prototype.connect=function(a,b,c,d){if(null!=b||this.isCreateTarget(c)||this.graph.allowDanglingEdges){var e=this.graph.getModel(),f=!1,g=null;e.beginUpdate();try{if(null!=a&&null==b&&!this.graph.isIgnoreTerminalEvent(c)&&this.isCreateTarget(c)&&(b=this.createTargetVertex(c,a),null!=b)){d=this.graph.getDropTarget([b],c,d);f=!0;if(null!=d&&this.graph.getModel().isEdge(d))d=this.graph.getDefaultParent();else{var k=this.graph.getView().getState(d);if(null!=k){var l=e.getGeometry(b);\r\nl.x-=k.origin.x;l.y-=k.origin.y}}this.graph.addCell(b,d)}var m=this.graph.getDefaultParent();null!=a&&null!=b&&e.getParent(a)==e.getParent(b)&&e.getParent(e.getParent(a))!=e.getRoot()&&(m=e.getParent(a),null!=a.geometry&&a.geometry.relative&&null!=b.geometry&&b.geometry.relative&&(m=e.getParent(m)));var n=k=null;null!=this.edgeState&&(k=this.edgeState.cell.value,n=this.edgeState.cell.style);g=this.insertEdge(m,null,k,a,b,n);if(null!=g){this.graph.setConnectionConstraint(g,a,!0,this.sourceConstraint);\r\nthis.graph.setConnectionConstraint(g,b,!1,this.constraintHandler.currentConstraint);null!=this.edgeState&&e.setGeometry(g,this.edgeState.cell.geometry);m=e.getParent(a);if(this.isInsertBefore(g,a,b,c,d)){for(l=a;null!=l.parent&&null!=l.geometry&&l.geometry.relative&&l.parent!=g.parent;)l=this.graph.model.getParent(l);null!=l&&null!=l.parent&&l.parent==g.parent&&e.add(m,g,l.parent.getIndex(l))}var p=e.getGeometry(g);null==p&&(p=new mxGeometry,p.relative=!0,e.setGeometry(g,p));if(null!=this.waypoints&&\r\n0<this.waypoints.length){var q=this.graph.view.scale,r=this.graph.view.translate;p.points=[];for(a=0;a<this.waypoints.length;a++){var t=this.waypoints[a];p.points.push(new mxPoint(t.x/q-r.x,t.y/q-r.y))}}if(null==b){var u=this.graph.view.translate,q=this.graph.view.scale,t=null!=this.originalPoint?new mxPoint(this.originalPoint.x/q-u.x,this.originalPoint.y/q-u.y):new mxPoint(this.currentPoint.x/q-u.x,this.currentPoint.y/q-u.y);t.x-=this.graph.panDx/this.graph.view.scale;t.y-=this.graph.panDy/this.graph.view.scale;\r\np.setTerminalPoint(t,!1)}this.fireEvent(new mxEventObject(mxEvent.CONNECT,"cell",g,"terminal",b,"event",c,"target",d,"terminalInserted",f))}}catch(x){mxLog.show(),mxLog.debug(x.message)}finally{e.endUpdate()}this.select&&this.selectCells(g,f?b:null)}};mxConnectionHandler.prototype.selectCells=function(a,b){this.graph.setSelectionCell(a)};\r\nmxConnectionHandler.prototype.insertEdge=function(a,b,c,d,e,f){if(null==this.factoryMethod)return this.graph.insertEdge(a,b,c,d,e,f);b=this.createEdge(c,d,e,f);return this.graph.addEdge(b,a,d,e)};\r\nmxConnectionHandler.prototype.createTargetVertex=function(a,b){for(var c=this.graph.getCellGeometry(b);null!=c&&c.relative;)b=this.graph.getModel().getParent(b),c=this.graph.getCellGeometry(b);var d=this.graph.cloneCell(b),c=this.graph.getModel().getGeometry(d);if(null!=c){var e=this.graph.view.translate,f=this.graph.view.scale,g=new mxPoint(this.currentPoint.x/f-e.x,this.currentPoint.y/f-e.y);c.x=Math.round(g.x-c.width/2-this.graph.panDx/f);c.y=Math.round(g.y-c.height/2-this.graph.panDy/f);g=this.getAlignmentTolerance();\r\nif(0<g){var k=this.graph.view.getState(b);if(null!=k){var l=k.x/f-e.x,e=k.y/f-e.y;Math.abs(l-c.x)<=g&&(c.x=Math.round(l));Math.abs(e-c.y)<=g&&(c.y=Math.round(e))}}}return d};mxConnectionHandler.prototype.getAlignmentTolerance=function(a){return this.graph.isGridEnabled()?this.graph.gridSize/2:this.graph.tolerance};\r\nmxConnectionHandler.prototype.createEdge=function(a,b,c,d){var e=null;null!=this.factoryMethod&&(e=this.factoryMethod(b,c,d));null==e&&(e=new mxCell(a||""),e.setEdge(!0),e.setStyle(d),a=new mxGeometry,a.relative=!0,e.setGeometry(a));return e};\r\nmxConnectionHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.marker&&(this.marker.destroy(),this.marker=null);null!=this.constraintHandler&&(this.constraintHandler.destroy(),this.constraintHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getView().removeListener(this.changeHandler),this.changeHandler=null);null!=this.drillHandler&&(this.graph.removeListener(this.drillHandler),\r\nthis.graph.getView().removeListener(this.drillHandler),this.drillHandler=null);null!=this.escapeHandler&&(this.graph.removeListener(this.escapeHandler),this.escapeHandler=null)};\r\nfunction mxConstraintHandler(a){this.graph=a;this.resetHandler=mxUtils.bind(this,function(a,c){null!=this.currentFocus&&null==this.graph.view.getState(this.currentFocus.cell)?this.reset():this.redraw()});this.graph.model.addListener(mxEvent.CHANGE,this.resetHandler);this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE,this.resetHandler);this.graph.view.addListener(mxEvent.TRANSLATE,this.resetHandler);this.graph.view.addListener(mxEvent.SCALE,this.resetHandler);this.graph.addListener(mxEvent.ROOT,\r\nthis.resetHandler)}mxConstraintHandler.prototype.pointImage=new mxImage(mxClient.imageBasePath+"/point.gif",5,5);mxConstraintHandler.prototype.graph=null;mxConstraintHandler.prototype.enabled=!0;mxConstraintHandler.prototype.highlightColor=mxConstants.DEFAULT_VALID_COLOR;mxConstraintHandler.prototype.isEnabled=function(){return this.enabled};mxConstraintHandler.prototype.setEnabled=function(a){this.enabled=a};\r\nmxConstraintHandler.prototype.reset=function(){if(null!=this.focusIcons){for(var a=0;a<this.focusIcons.length;a++)this.focusIcons[a].destroy();this.focusIcons=null}null!=this.focusHighlight&&(this.focusHighlight.destroy(),this.focusHighlight=null);this.focusPoints=this.currentFocus=this.currentPoint=this.currentFocusArea=this.currentConstraint=null};mxConstraintHandler.prototype.getTolerance=function(a){return this.graph.getTolerance()};\r\nmxConstraintHandler.prototype.getImageForConstraint=function(a,b,c){return this.pointImage};mxConstraintHandler.prototype.isEventIgnored=function(a,b){return!1};mxConstraintHandler.prototype.isStateIgnored=function(a,b){return!1};mxConstraintHandler.prototype.destroyIcons=function(){if(null!=this.focusIcons){for(var a=0;a<this.focusIcons.length;a++)this.focusIcons[a].destroy();this.focusPoints=this.focusIcons=null}};\r\nmxConstraintHandler.prototype.destroyFocusHighlight=function(){null!=this.focusHighlight&&(this.focusHighlight.destroy(),this.focusHighlight=null)};mxConstraintHandler.prototype.isKeepFocusEvent=function(a){return mxEvent.isShiftDown(a.getEvent())};\r\nmxConstraintHandler.prototype.getCellForEvent=function(a,b){var c=a.getCell();null!=c||null==b||a.getGraphX()==b.x&&a.getGraphY()==b.y||(c=this.graph.getCellAt(b.x,b.y));if(null!=c&&!this.graph.isCellConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(d)&&this.graph.isCellConnectable(d)&&(c=d)}return this.graph.isCellLocked(c)?null:c};\r\nmxConstraintHandler.prototype.update=function(a,b,c,d){if(this.isEnabled()&&!this.isEventIgnored(a)){null==this.mouseleaveHandler&&null!=this.graph.container&&(this.mouseleaveHandler=mxUtils.bind(this,function(){this.reset()}),mxEvent.addListener(this.graph.container,"mouseleave",this.resetHandler));var e=this.getTolerance(a),f=null!=d?d.x:a.getGraphX(),g=null!=d?d.y:a.getGraphY(),f=new mxRectangle(f-e,g-e,2*e,2*e),e=new mxRectangle(a.getGraphX()-e,a.getGraphY()-e,2*e,2*e),k=this.graph.view.getState(this.getCellForEvent(a,\r\nd));this.isKeepFocusEvent(a)||null!=this.currentFocusArea&&null!=this.currentFocus&&null==k&&this.graph.getModel().isVertex(this.currentFocus.cell)&&mxUtils.intersects(this.currentFocusArea,e)||k==this.currentFocus||(this.currentFocus=this.currentFocusArea=null,this.setFocus(a,k,b));a=this.currentPoint=this.currentConstraint=null;if(null!=this.focusIcons&&null!=this.constraints&&(null==k||this.currentFocus==k))for(var g=e.getCenterX(),l=e.getCenterY(),m=0;m<this.focusIcons.length;m++){var n=g-this.focusIcons[m].bounds.getCenterX(),\r\np=l-this.focusIcons[m].bounds.getCenterY(),n=n*n+p*p;if((this.intersects(this.focusIcons[m],e,b,c)||null!=d&&this.intersects(this.focusIcons[m],f,b,c))&&(null==a||n<a)){this.currentConstraint=this.constraints[m];this.currentPoint=this.focusPoints[m];a=n;n=this.focusIcons[m].bounds.clone();n.grow(mxConstants.HIGHLIGHT_SIZE+1);--n.width;--n.height;if(null==this.focusHighlight){p=this.createHighlightShape();p.dialect=mxConstants.DIALECT_SVG;p.pointerEvents=!1;p.init(this.graph.getView().getOverlayPane());\r\nthis.focusHighlight=p;var q=mxUtils.bind(this,function(){return null!=this.currentFocus?this.currentFocus:k});mxEvent.redirectMouseEvents(p.node,this.graph,q)}this.focusHighlight.bounds=n;this.focusHighlight.redraw()}}null==this.currentConstraint&&this.destroyFocusHighlight()}else this.currentPoint=this.currentFocus=this.currentConstraint=null};\r\nmxConstraintHandler.prototype.redraw=function(){if(null!=this.currentFocus&&null!=this.constraints&&null!=this.focusIcons){var a=this.graph.view.getState(this.currentFocus.cell);this.currentFocus=a;this.currentFocusArea=new mxRectangle(a.x,a.y,a.width,a.height);for(var b=0;b<this.constraints.length;b++){var c=this.graph.getConnectionPoint(a,this.constraints[b]),d=this.getImageForConstraint(a,this.constraints[b],c),d=new mxRectangle(Math.round(c.x-d.width/2),Math.round(c.y-d.height/2),d.width,d.height);\r\nthis.focusIcons[b].bounds=d;this.focusIcons[b].redraw();this.currentFocusArea.add(this.focusIcons[b].bounds);this.focusPoints[b]=c}}};\r\nmxConstraintHandler.prototype.setFocus=function(a,b,c){this.constraints=null!=b&&!this.isStateIgnored(b,c)&&this.graph.isCellConnectable(b.cell)?this.isEnabled()?this.graph.getAllConnectionConstraints(b,c)||[]:[]:null;if(null!=this.constraints){this.currentFocus=b;this.currentFocusArea=new mxRectangle(b.x,b.y,b.width,b.height);if(null!=this.focusIcons){for(c=0;c<this.focusIcons.length;c++)this.focusIcons[c].destroy();this.focusPoints=this.focusIcons=null}this.focusPoints=[];this.focusIcons=[];for(c=\r\n0;c<this.constraints.length;c++){var d=this.graph.getConnectionPoint(b,this.constraints[c]),e=this.getImageForConstraint(b,this.constraints[c],d),f=e.src,e=new mxRectangle(Math.round(d.x-e.width/2),Math.round(d.y-e.height/2),e.width,e.height),f=new mxImageShape(e,f);f.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;f.preserveImageAspect=!1;f.init(this.graph.getView().getDecoratorPane());null!=f.node.previousSibling&&f.node.parentNode.insertBefore(f.node,\r\nf.node.parentNode.firstChild);e=mxUtils.bind(this,function(){return null!=this.currentFocus?this.currentFocus:b});f.redraw();mxEvent.redirectMouseEvents(f.node,this.graph,e);this.currentFocusArea.add(f.bounds);this.focusIcons.push(f);this.focusPoints.push(d)}this.currentFocusArea.grow(this.getTolerance(a))}else this.destroyIcons(),this.destroyFocusHighlight()};\r\nmxConstraintHandler.prototype.createHighlightShape=function(){var a=new mxRectangleShape(null,this.highlightColor,this.highlightColor,mxConstants.HIGHLIGHT_STROKEWIDTH);a.opacity=mxConstants.HIGHLIGHT_OPACITY;return a};mxConstraintHandler.prototype.intersects=function(a,b,c,d){return mxUtils.intersects(a.bounds,b)};\r\nmxConstraintHandler.prototype.destroy=function(){this.reset();null!=this.resetHandler&&(this.graph.model.removeListener(this.resetHandler),this.graph.view.removeListener(this.resetHandler),this.graph.removeListener(this.resetHandler),this.resetHandler=null);null!=this.mouseleaveHandler&&null!=this.graph.container&&(mxEvent.removeListener(this.graph.container,"mouseleave",this.mouseleaveHandler),this.mouseleaveHandler=null)};\r\nfunction mxRubberband(a){null!=a&&(this.graph=a,this.graph.addMouseListener(this),this.forceRubberbandHandler=mxUtils.bind(this,function(a,c){var b=c.getProperty("eventName"),e=c.getProperty("event");if(b==mxEvent.MOUSE_DOWN&&this.isForceRubberbandEvent(e)){var b=mxUtils.getOffset(this.graph.container),f=mxUtils.getScrollOrigin(this.graph.container);f.x-=b.x;f.y-=b.y;this.start(e.getX()+f.x,e.getY()+f.y);e.consume(!1)}}),this.graph.addListener(mxEvent.FIRE_MOUSE_EVENT,this.forceRubberbandHandler),\r\nthis.panHandler=mxUtils.bind(this,function(){this.repaint()}),this.graph.addListener(mxEvent.PAN,this.panHandler),this.gestureHandler=mxUtils.bind(this,function(a,c){null!=this.first&&this.reset()}),this.graph.addListener(mxEvent.GESTURE,this.gestureHandler),mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()})))}mxRubberband.prototype.defaultOpacity=20;mxRubberband.prototype.enabled=!0;mxRubberband.prototype.div=null;mxRubberband.prototype.sharedDiv=null;\r\nmxRubberband.prototype.currentX=0;mxRubberband.prototype.currentY=0;mxRubberband.prototype.fadeOut=!1;mxRubberband.prototype.isEnabled=function(){return this.enabled};mxRubberband.prototype.setEnabled=function(a){this.enabled=a};mxRubberband.prototype.isForceRubberbandEvent=function(a){return mxEvent.isAltDown(a.getEvent())};\r\nmxRubberband.prototype.mouseDown=function(a,b){if(!b.isConsumed()&&this.isEnabled()&&this.graph.isEnabled()&&null==b.getState()&&!mxEvent.isMultiTouchEvent(b.getEvent())){var c=mxUtils.getOffset(this.graph.container),d=mxUtils.getScrollOrigin(this.graph.container);d.x-=c.x;d.y-=c.y;this.start(b.getX()+d.x,b.getY()+d.y);b.consume(!1)}};\r\nmxRubberband.prototype.start=function(a,b){function c(a){a=new mxMouseEvent(a);var b=mxUtils.convertPoint(d,a.getX(),a.getY());a.graphX=b.x;a.graphY=b.y;return a}this.first=new mxPoint(a,b);var d=this.graph.container;this.dragHandler=mxUtils.bind(this,function(a){this.mouseMove(this.graph,c(a))});this.dropHandler=mxUtils.bind(this,function(a){this.mouseUp(this.graph,c(a))});mxClient.IS_FF&&mxEvent.addGestureListeners(document,null,this.dragHandler,this.dropHandler)};\r\nmxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var c=mxUtils.getScrollOrigin(this.graph.container),d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;var d=b.getX()+c.x,c=b.getY()+c.y,e=this.first.x-d,f=this.first.y-c,g=this.graph.tolerance;if(null!=this.div||Math.abs(e)>g||Math.abs(f)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(d,c),b.consume()}};\r\nmxRubberband.prototype.createShape=function(){null==this.sharedDiv&&(this.sharedDiv=document.createElement("div"),this.sharedDiv.className="mxRubberband",mxUtils.setOpacity(this.sharedDiv,this.defaultOpacity));this.graph.container.appendChild(this.sharedDiv);var a=this.sharedDiv;mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode)&&this.fadeOut&&(this.sharedDiv=null);return a};mxRubberband.prototype.isActive=function(a,b){return null!=this.div&&"none"!=this.div.style.display};\r\nmxRubberband.prototype.mouseUp=function(a,b){var c=this.isActive();this.reset();c&&(this.execute(b.getEvent()),b.consume())};mxRubberband.prototype.execute=function(a){var b=new mxRectangle(this.x,this.y,this.width,this.height);this.graph.selectRegion(b,a)};\r\nmxRubberband.prototype.reset=function(){if(null!=this.div)if(mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode)&&this.fadeOut){var a=this.div;mxUtils.setPrefixedStyle(a.style,"transition","all 0.2s linear");a.style.pointerEvents="none";a.style.opacity=0;window.setTimeout(function(){a.parentNode.removeChild(a)},200)}else this.div.parentNode.removeChild(this.div);mxEvent.removeGestureListeners(document,null,this.dragHandler,this.dropHandler);this.dropHandler=this.dragHandler=null;this.currentY=\r\nthis.currentX=0;this.div=this.first=null};mxRubberband.prototype.update=function(a,b){this.currentX=a;this.currentY=b;this.repaint()};\r\nmxRubberband.prototype.repaint=function(){if(null!=this.div){var a=this.currentX-this.graph.panDx,b=this.currentY-this.graph.panDy;this.x=Math.min(this.first.x,a);this.y=Math.min(this.first.y,b);this.width=Math.max(this.first.x,a)-this.x;this.height=Math.max(this.first.y,b)-this.y;this.div.style.left=this.x+0+"px";this.div.style.top=this.y+0+"px";this.div.style.width=Math.max(1,this.width)+"px";this.div.style.height=Math.max(1,this.height)+"px"}};\r\nmxRubberband.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.graph.removeMouseListener(this),this.graph.removeListener(this.forceRubberbandHandler),this.graph.removeListener(this.panHandler),this.reset(),null!=this.sharedDiv&&(this.sharedDiv=null))};function mxHandle(a,b,c,d){this.graph=a.view.graph;this.state=a;this.cursor=null!=b?b:this.cursor;this.image=null!=c?c:this.image;this.shape=null!=d?d:null;this.init()}mxHandle.prototype.cursor="default";mxHandle.prototype.image=null;\r\nmxHandle.prototype.ignoreGrid=!1;mxHandle.prototype.getPosition=function(a){};mxHandle.prototype.setPosition=function(a,b,c){};mxHandle.prototype.execute=function(a){};mxHandle.prototype.copyStyle=function(a){this.graph.setCellStyles(a,this.state.style[a],[this.state.cell])};\r\nmxHandle.prototype.processEvent=function(a){var b=this.graph.view.scale,c=this.graph.view.translate,c=new mxPoint(a.getGraphX()/b-c.x,a.getGraphY()/b-c.y);null!=this.shape&&null!=this.shape.bounds&&(c.x-=this.shape.bounds.width/b/4,c.y-=this.shape.bounds.height/b/4);var b=-mxUtils.toRadians(this.getRotation()),d=-mxUtils.toRadians(this.getTotalRotation())-b,c=this.flipPoint(this.rotatePoint(this.snapPoint(this.rotatePoint(c,b),this.ignoreGrid||!this.graph.isGridEnabledEvent(a.getEvent())),d));this.setPosition(this.state.getPaintBounds(),\r\nc,a);this.redraw()};mxHandle.prototype.positionChanged=function(){null!=this.state.text&&this.state.text.apply(this.state);null!=this.state.shape&&this.state.shape.apply(this.state);this.graph.cellRenderer.redraw(this.state,!0)};mxHandle.prototype.getRotation=function(){return null!=this.state.shape?this.state.shape.getRotation():0};mxHandle.prototype.getTotalRotation=function(){return null!=this.state.shape?this.state.shape.getShapeRotation():0};\r\nmxHandle.prototype.init=function(){var a=this.isHtmlRequired();null!=this.image?(this.shape=new mxImageShape(new mxRectangle(0,0,this.image.width,this.image.height),this.image.src),this.shape.preserveImageAspect=!1):null==this.shape&&(this.shape=this.createShape(a));this.initShape(a)};mxHandle.prototype.createShape=function(a){a=new mxRectangle(0,0,mxConstants.HANDLE_SIZE,mxConstants.HANDLE_SIZE);return new mxRectangleShape(a,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};\r\nmxHandle.prototype.initShape=function(a){a&&this.shape.isHtmlAllowed()?(this.shape.dialect=mxConstants.DIALECT_STRICTHTML,this.shape.init(this.graph.container)):(this.shape.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG,null!=this.cursor&&this.shape.init(this.graph.getView().getOverlayPane()));mxEvent.redirectMouseEvents(this.shape.node,this.graph,this.state);this.shape.node.style.cursor=this.cursor};\r\nmxHandle.prototype.redraw=function(){if(null!=this.shape&&null!=this.state.shape){var a=this.getPosition(this.state.getPaintBounds());if(null!=a){var b=mxUtils.toRadians(this.getTotalRotation()),a=this.rotatePoint(this.flipPoint(a),b),b=this.graph.view.scale,c=this.graph.view.translate;this.shape.bounds.x=Math.floor((a.x+c.x)*b-this.shape.bounds.width/2);this.shape.bounds.y=Math.floor((a.y+c.y)*b-this.shape.bounds.height/2);this.shape.redraw()}}};\r\nmxHandle.prototype.isHtmlRequired=function(){return null!=this.state.text&&this.state.text.node.parentNode==this.graph.container};mxHandle.prototype.rotatePoint=function(a,b){var c=this.state.getCellBounds(),c=new mxPoint(c.getCenterX(),c.getCenterY());return mxUtils.getRotatedPoint(a,Math.cos(b),Math.sin(b),c)};\r\nmxHandle.prototype.flipPoint=function(a){if(null!=this.state.shape){var b=this.state.getCellBounds();this.state.shape.flipH&&(a.x=2*b.x+b.width-a.x);this.state.shape.flipV&&(a.y=2*b.y+b.height-a.y)}return a};mxHandle.prototype.snapPoint=function(a,b){b||(a.x=this.graph.snap(a.x),a.y=this.graph.snap(a.y));return a};mxHandle.prototype.setVisible=function(a){null!=this.shape&&null!=this.shape.node&&(this.shape.node.style.display=a?"":"none")};\r\nmxHandle.prototype.reset=function(){this.setVisible(!0);this.state.style=this.graph.getCellStyle(this.state.cell);this.positionChanged()};mxHandle.prototype.destroy=function(){null!=this.shape&&(this.shape.destroy(),this.shape=null)};\r\nfunction mxVertexHandler(a){null!=a&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,c){this.livePreview&&null!=this.index&&(this.state.view.graph.cellRenderer.redraw(this.state,!0),this.state.view.invalidate(this.state.cell),this.state.invalid=!1,this.state.view.validate());this.reset()}),this.state.view.graph.addListener(mxEvent.ESCAPE,this.escapeHandler))}mxVertexHandler.prototype.graph=null;mxVertexHandler.prototype.state=null;mxVertexHandler.prototype.singleSizer=!1;\r\nmxVertexHandler.prototype.index=null;mxVertexHandler.prototype.allowHandleBoundsCheck=!0;mxVertexHandler.prototype.handleImage=null;mxVertexHandler.prototype.handlesVisible=!0;mxVertexHandler.prototype.tolerance=0;mxVertexHandler.prototype.rotationEnabled=!1;mxVertexHandler.prototype.parentHighlightEnabled=!1;mxVertexHandler.prototype.rotationRaster=!0;mxVertexHandler.prototype.rotationCursor="crosshair";mxVertexHandler.prototype.livePreview=!1;mxVertexHandler.prototype.movePreviewToFront=!1;\r\nmxVertexHandler.prototype.manageSizers=!1;mxVertexHandler.prototype.constrainGroupByChildren=!1;mxVertexHandler.prototype.rotationHandleVSpacing=-16;mxVertexHandler.prototype.horizontalOffset=0;mxVertexHandler.prototype.verticalOffset=0;\r\nmxVertexHandler.prototype.init=function(){this.graph=this.state.view.graph;this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new mxRectangle(this.selectionBounds.x,this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height);this.selectionBorder=this.createSelectionShape(this.bounds);this.selectionBorder.dialect=mxConstants.DIALECT_SVG;this.selectionBorder.pointerEvents=!1;this.selectionBorder.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0");\r\nthis.selectionBorder.init(this.graph.getView().getOverlayPane());mxEvent.redirectMouseEvents(this.selectionBorder.node,this.graph,this.state);this.graph.isCellMovable(this.state.cell)&&!this.graph.isCellLocked(this.state.cell)&&this.selectionBorder.setCursor(mxConstants.CURSOR_MOVABLE_VERTEX);if(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells){var a=this.graph.isCellResizable(this.state.cell)&&!this.graph.isCellLocked(this.state.cell);this.sizers=\r\n[];if(a||this.graph.isLabelMovable(this.state.cell)&&2<=this.state.width&&2<=this.state.height){var b=0;a&&(this.singleSizer||(this.sizers.push(this.createSizer("nw-resize",b++)),this.sizers.push(this.createSizer("n-resize",b++)),this.sizers.push(this.createSizer("ne-resize",b++)),this.sizers.push(this.createSizer("w-resize",b++)),this.sizers.push(this.createSizer("e-resize",b++)),this.sizers.push(this.createSizer("sw-resize",b++)),this.sizers.push(this.createSizer("s-resize",b++))),this.sizers.push(this.createSizer("se-resize",\r\nb++)));a=this.graph.model.getGeometry(this.state.cell);null==a||a.relative||this.graph.isSwimlane(this.state.cell)||!this.graph.isLabelMovable(this.state.cell)||(this.labelShape=this.createSizer(mxConstants.CURSOR_LABEL_HANDLE,mxEvent.LABEL_HANDLE,mxConstants.LABEL_HANDLE_SIZE,mxConstants.LABEL_HANDLE_FILLCOLOR),this.sizers.push(this.labelShape))}else this.graph.isCellMovable(this.state.cell)&&!a&&2>this.state.width&&2>this.state.height&&(this.labelShape=this.createSizer(mxConstants.CURSOR_MOVABLE_VERTEX,\r\nmxEvent.LABEL_HANDLE,null,mxConstants.LABEL_HANDLE_FILLCOLOR),this.sizers.push(this.labelShape))}this.isRotationHandleVisible()&&(this.rotationShape=this.createSizer(this.rotationCursor,mxEvent.ROTATION_HANDLE,mxConstants.HANDLE_SIZE+3,mxConstants.HANDLE_FILLCOLOR),this.sizers.push(this.rotationShape));this.graph.isCellLocked(this.state.cell)||(this.customHandles=this.createCustomHandles());this.redraw();this.constrainGroupByChildren&&this.updateMinBounds()};\r\nmxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&!this.graph.isCellLocked(this.state.cell)&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.isConstrainedEvent=function(a){return mxEvent.isShiftDown(a.getEvent())||"fixed"==this.state.style[mxConstants.STYLE_ASPECT]};\r\nmxVertexHandler.prototype.isCenteredEvent=function(a,b){return!1};mxVertexHandler.prototype.createCustomHandles=function(){return null};\r\nmxVertexHandler.prototype.updateMinBounds=function(){var a=this.graph.getChildCells(this.state.cell);if(0<a.length&&(this.minBounds=this.graph.view.getBounds(a),null!=this.minBounds)){var a=this.state.view.scale,b=this.state.view.translate;this.minBounds.x-=this.state.x;this.minBounds.y-=this.state.y;this.minBounds.x/=a;this.minBounds.y/=a;this.minBounds.width/=a;this.minBounds.height/=a;this.x0=this.state.x/a-b.x;this.y0=this.state.y/a-b.y}};\r\nmxVertexHandler.prototype.getSelectionBounds=function(a){return new mxRectangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Math.round(a.height))};mxVertexHandler.prototype.createParentHighlightShape=function(a){return this.createSelectionShape(a)};mxVertexHandler.prototype.createSelectionShape=function(a){a=new mxRectangleShape(mxRectangle.fromRectangle(a),null,this.getSelectionColor());a.strokewidth=this.getSelectionStrokeWidth();a.isDashed=this.isSelectionDashed();return a};\r\nmxVertexHandler.prototype.getSelectionColor=function(){return this.graph.isCellEditable(this.state.cell)?mxConstants.VERTEX_SELECTION_COLOR:mxConstants.LOCKED_HANDLE_FILLCOLOR};mxVertexHandler.prototype.getSelectionStrokeWidth=function(){return mxConstants.VERTEX_SELECTION_STROKEWIDTH};mxVertexHandler.prototype.isSelectionDashed=function(){return mxConstants.VERTEX_SELECTION_DASHED};\r\nmxVertexHandler.prototype.createSizer=function(a,b,c,d){c=c||mxConstants.HANDLE_SIZE;c=new mxRectangle(0,0,c,c);d=this.createSizerShape(c,b,d);d.isHtmlAllowed()&&null!=this.state.text&&this.state.text.node.parentNode==this.graph.container?(--d.bounds.height,--d.bounds.width,d.dialect=mxConstants.DIALECT_STRICTHTML,d.init(this.graph.container)):(d.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG,d.init(this.graph.getView().getOverlayPane()));\r\nmxEvent.redirectMouseEvents(d.node,this.graph,this.state);this.graph.isEnabled()&&d.setCursor(a);this.isSizerVisible(b)||(d.visible=!1);return d};mxVertexHandler.prototype.isSizerVisible=function(a){return!0};\r\nmxVertexHandler.prototype.createSizerShape=function(a,b,c){return null!=this.handleImage?(a=new mxRectangle(a.x,a.y,this.handleImage.width,this.handleImage.height),a=new mxImageShape(a,this.handleImage.src),a.preserveImageAspect=!1,a):b==mxEvent.ROTATION_HANDLE?new mxEllipse(a,c||mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR):new mxRectangleShape(a,c||mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};\r\nmxVertexHandler.prototype.moveSizerTo=function(a,b,c){null!=a&&(a.bounds.x=Math.floor(b-a.bounds.width/2),a.bounds.y=Math.floor(c-a.bounds.height/2),null!=a.node&&"none"!=a.node.style.display&&a.redraw())};\r\nmxVertexHandler.prototype.getHandleForEvent=function(a){var b=mxEvent.isMouseEvent(a.getEvent())?1:this.tolerance,c=this.allowHandleBoundsCheck&&(mxClient.IS_IE||0<b)?new mxRectangle(a.getGraphX()-b,a.getGraphY()-b,2*b,2*b):null,b=mxUtils.bind(this,function(b){var d=null!=b&&b.constructor!=mxImageShape&&this.allowHandleBoundsCheck?b.strokewidth+b.svgStrokeTolerance:null,d=null!=d?new mxRectangle(a.getGraphX()-Math.floor(d/2),a.getGraphY()-Math.floor(d/2),d,d):c;return null!=b&&(a.isSource(b)||null!=\r\nd&&mxUtils.intersects(b.bounds,d)&&"none"!=b.node.style.display&&"hidden"!=b.node.style.visibility)});if(b(this.rotationShape))return mxEvent.ROTATION_HANDLE;if(b(this.labelShape))return mxEvent.LABEL_HANDLE;if(null!=this.sizers)for(var d=0;d<this.sizers.length;d++)if(b(this.sizers[d]))return d;if(null!=this.customHandles&&this.isCustomHandleEvent(a))for(d=this.customHandles.length-1;0<=d;d--)if(b(this.customHandles[d].shape))return mxEvent.CUSTOM_HANDLE-d;return null};\r\nmxVertexHandler.prototype.isCustomHandleEvent=function(a){return!0};mxVertexHandler.prototype.mouseDown=function(a,b){if(!b.isConsumed()&&this.graph.isEnabled()){var c=this.getHandleForEvent(b);null!=c&&(this.start(b.getGraphX(),b.getGraphY(),c),b.consume())}};mxVertexHandler.prototype.isLivePreviewBorder=function(){return null!=this.state.shape&&null==this.state.shape.fill&&null==this.state.shape.stroke};\r\nmxVertexHandler.prototype.start=function(a,b,c){if(null!=this.selectionBorder)if(this.livePreviewActive=this.livePreview&&0==this.graph.model.getChildCount(this.state.cell),this.inTolerance=!0,this.childOffsetY=this.childOffsetX=0,this.index=c,this.startX=a,this.startY=b,this.index<=mxEvent.CUSTOM_HANDLE&&this.isGhostPreview())this.ghostPreview=this.createGhostPreview();else{a=this.state.view.graph.model;b=a.getParent(this.state.cell);this.state.view.currentRoot!=b&&(a.isVertex(b)||a.isEdge(b))&&\r\n(this.parentState=this.state.view.graph.view.getState(b));this.selectionBorder.node.style.display=c==mxEvent.ROTATION_HANDLE?"inline":"none";if(!this.livePreviewActive||this.isLivePreviewBorder())this.preview=this.createSelectionShape(this.bounds),mxClient.IS_SVG&&0!=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0")||null==this.state.text||this.state.text.node.parentNode!=this.graph.container?(this.preview.dialect=mxConstants.DIALECT_SVG,this.preview.init(this.graph.view.getOverlayPane())):\r\n(this.preview.dialect=mxConstants.DIALECT_STRICTHTML,this.preview.init(this.graph.container));c==mxEvent.ROTATION_HANDLE&&(b=this.getRotationHandlePosition(),a=b.x-this.state.getCenterX(),b=b.y-this.state.getCenterY(),this.startAngle=0!=a?180*Math.atan(b/a)/Math.PI+90:0,this.startDist=Math.sqrt(a*a+b*b));if(this.livePreviewActive)for(this.hideSizers(),c==mxEvent.ROTATION_HANDLE?this.rotationShape.node.style.display="":c==mxEvent.LABEL_HANDLE?this.labelShape.node.style.display="":null!=this.sizers&&\r\nnull!=this.sizers[c]?this.sizers[c].node.style.display="":c<=mxEvent.CUSTOM_HANDLE&&null!=this.customHandles&&this.customHandles[mxEvent.CUSTOM_HANDLE-c].setVisible(!0),c=this.graph.getEdges(this.state.cell),this.edgeHandlers=[],a=0;a<c.length;a++)b=this.graph.selectionCellsHandler.getHandler(c[a]),null!=b&&this.edgeHandlers.push(b)}};\r\nmxVertexHandler.prototype.createGhostPreview=function(){var a=this.graph.cellRenderer.createShape(this.state);a.init(this.graph.view.getOverlayPane());a.scale=this.state.view.scale;a.bounds=this.bounds;a.outline=!0;return a};mxVertexHandler.prototype.setHandlesVisible=function(a){this.handlesVisible=a;if(null!=this.sizers)for(var b=0;b<this.sizers.length;b++)this.sizers[b].node.style.display=a?"":"none";if(null!=this.customHandles)for(b=0;b<this.customHandles.length;b++)this.customHandles[b].setVisible(a)};\r\nmxVertexHandler.prototype.hideSizers=function(){this.setHandlesVisible(!1)};mxVertexHandler.prototype.checkTolerance=function(a){this.inTolerance&&null!=this.startX&&null!=this.startY&&(mxEvent.isMouseEvent(a.getEvent())||Math.abs(a.getGraphX()-this.startX)>this.graph.tolerance||Math.abs(a.getGraphY()-this.startY)>this.graph.tolerance)&&(this.inTolerance=!1)};mxVertexHandler.prototype.updateHint=function(a){};mxVertexHandler.prototype.removeHint=function(){};\r\nmxVertexHandler.prototype.roundAngle=function(a){return Math.round(10*a)/10};mxVertexHandler.prototype.roundLength=function(a){return Math.round(100*a)/100};\r\nmxVertexHandler.prototype.mouseMove=function(a,b){b.isConsumed()||null==this.index?this.graph.isMouseDown||null==this.getHandleForEvent(b)||b.consume(!1):(this.checkTolerance(b),this.inTolerance||(this.index<=mxEvent.CUSTOM_HANDLE?null!=this.customHandles&&(this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].processEvent(b),this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].active=!0,null!=this.ghostPreview?(this.ghostPreview.apply(this.state),this.ghostPreview.strokewidth=this.getSelectionStrokeWidth()/\r\nthis.ghostPreview.scale/this.ghostPreview.scale,this.ghostPreview.isDashed=this.isSelectionDashed(),this.ghostPreview.stroke=this.getSelectionColor(),this.ghostPreview.redraw(),null!=this.selectionBounds&&(this.selectionBorder.node.style.display="none")):(this.movePreviewToFront&&this.moveToFront(),this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].positionChanged())):this.index==mxEvent.LABEL_HANDLE?this.moveLabel(b):(this.index==mxEvent.ROTATION_HANDLE?this.rotateVertex(b):this.resizeVertex(b),\r\nthis.updateHint(b))),b.consume())};mxVertexHandler.prototype.isGhostPreview=function(){return 0<this.state.view.graph.model.getChildCount(this.state.cell)};\r\nmxVertexHandler.prototype.moveLabel=function(a){var b=new mxPoint(a.getGraphX(),a.getGraphY()),c=this.graph.view.translate,d=this.graph.view.scale;this.graph.isGridEnabledEvent(a.getEvent())&&(b.x=(this.graph.snap(b.x/d-c.x)+c.x)*d,b.y=(this.graph.snap(b.y/d-c.y)+c.y)*d);this.moveSizerTo(this.sizers[null!=this.rotationShape?this.sizers.length-2:this.sizers.length-1],b.x,b.y)};\r\nmxVertexHandler.prototype.rotateVertex=function(a){var b=new mxPoint(a.getGraphX(),a.getGraphY()),c=this.state.x+this.state.width/2-b.x,d=this.state.y+this.state.height/2-b.y;this.currentAlpha=0!=c?180*Math.atan(d/c)/Math.PI+90:0>d?180:0;0<c&&(this.currentAlpha-=180);this.currentAlpha-=this.startAngle;this.rotationRaster&&this.graph.isGridEnabledEvent(a.getEvent())?(c=b.x-this.state.getCenterX(),d=b.y-this.state.getCenterY(),a=Math.sqrt(c*c+d*d),raster=2>a-this.startDist?15:25>a-this.startDist?5:\r\n1,this.currentAlpha=Math.round(this.currentAlpha/raster)*raster):this.currentAlpha=this.roundAngle(this.currentAlpha);this.selectionBorder.rotation=this.currentAlpha;this.selectionBorder.redraw();this.livePreviewActive&&this.redrawHandles()};\r\nmxVertexHandler.prototype.resizeVertex=function(a){var b=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),c=mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),d=new mxPoint(a.getGraphX(),a.getGraphY()),e=this.graph.view.translate,f=this.graph.view.scale,g=Math.cos(-c),k=Math.sin(-c),l=d.x-this.startX,m=d.y-this.startY,d=k*l+g*m,l=g*l-k*m,m=d,g=this.graph.getCellGeometry(this.state.cell);this.unscaledBounds=this.union(g,l/f,m/f,this.index,this.graph.isGridEnabledEvent(a.getEvent()),\r\n1,new mxPoint(0,0),this.isConstrainedEvent(a),this.isCenteredEvent(this.state,a));g.relative||(k=this.graph.getMaximumGraphBounds(),null!=k&&null!=this.parentState&&(k=mxRectangle.fromRectangle(k),k.x-=(this.parentState.x-e.x*f)/f,k.y-=(this.parentState.y-e.y*f)/f),this.graph.isConstrainChild(this.state.cell)&&(d=this.graph.getCellContainmentArea(this.state.cell),null!=d&&(l=this.graph.getOverlap(this.state.cell),0<l&&(d=mxRectangle.fromRectangle(d),d.x-=d.width*l,d.y-=d.height*l,d.width+=2*d.width*\r\nl,d.height+=2*d.height*l),null==k?k=d:(k=mxRectangle.fromRectangle(k),k.intersect(d)))),null!=k&&(this.unscaledBounds.x<k.x&&(this.unscaledBounds.width-=k.x-this.unscaledBounds.x,this.unscaledBounds.x=k.x),this.unscaledBounds.y<k.y&&(this.unscaledBounds.height-=k.y-this.unscaledBounds.y,this.unscaledBounds.y=k.y),this.unscaledBounds.x+this.unscaledBounds.width>k.x+k.width&&(this.unscaledBounds.width-=this.unscaledBounds.x+this.unscaledBounds.width-k.x-k.width),this.unscaledBounds.y+this.unscaledBounds.height>\r\nk.y+k.height&&(this.unscaledBounds.height-=this.unscaledBounds.y+this.unscaledBounds.height-k.y-k.height)));d=this.bounds;this.bounds=new mxRectangle((null!=this.parentState?this.parentState.x:e.x*f)+this.unscaledBounds.x*f,(null!=this.parentState?this.parentState.y:e.y*f)+this.unscaledBounds.y*f,this.unscaledBounds.width*f,this.unscaledBounds.height*f);g.relative&&null!=this.parentState&&(this.bounds.x+=this.state.x-this.parentState.x,this.bounds.y+=this.state.y-this.parentState.y);g=Math.cos(c);\r\nk=Math.sin(c);c=new mxPoint(this.bounds.getCenterX(),this.bounds.getCenterY());l=c.x-b.x;m=c.y-b.y;b=g*l-k*m-l;c=k*l+g*m-m;l=this.bounds.x-this.state.x;m=this.bounds.y-this.state.y;e=g*l-k*m;g=k*l+g*m;this.bounds.x+=b;this.bounds.y+=c;this.unscaledBounds.x=this.roundLength(this.unscaledBounds.x+b/f);this.unscaledBounds.y=this.roundLength(this.unscaledBounds.y+c/f);this.unscaledBounds.width=this.roundLength(this.unscaledBounds.width);this.unscaledBounds.height=this.roundLength(this.unscaledBounds.height);\r\nthis.graph.isCellCollapsed(this.state.cell)||0==b&&0==c?this.childOffsetY=this.childOffsetX=0:(this.childOffsetX=this.state.x-this.bounds.x+e,this.childOffsetY=this.state.y-this.bounds.y+g);d.equals(this.bounds)||(this.livePreviewActive&&this.updateLivePreview(a),null!=this.preview?this.drawPreview():this.updateParentHighlight())};\r\nmxVertexHandler.prototype.updateLivePreview=function(a){var b=this.graph.view.scale,c=this.graph.view.translate;a=this.state.clone();this.state.x=this.bounds.x;this.state.y=this.bounds.y;this.state.origin=new mxPoint(this.state.x/b-c.x,this.state.y/b-c.y);this.state.width=this.bounds.width;this.state.height=this.bounds.height;b=this.state.absoluteOffset;new mxPoint(b.x,b.y);this.state.absoluteOffset.x=0;this.state.absoluteOffset.y=0;b=this.graph.getCellGeometry(this.state.cell);null!=b&&(c=b.offset||\r\nthis.EMPTY_POINT,null==c||b.relative||(this.state.absoluteOffset.x=this.state.view.scale*c.x,this.state.absoluteOffset.y=this.state.view.scale*c.y),this.state.view.updateVertexLabelOffset(this.state));this.state.view.graph.cellRenderer.redraw(this.state,!0);this.state.view.invalidate(this.state.cell);this.state.invalid=!1;this.state.view.validate();this.redrawHandles();this.movePreviewToFront&&this.moveToFront();null!=this.state.control&&null!=this.state.control.node&&(this.state.control.node.style.visibility=\r\n"hidden");this.state.setState(a)};\r\nmxVertexHandler.prototype.moveToFront=function(){if(null!=this.state.text&&null!=this.state.text.node&&null!=this.state.text.node.nextSibling||null!=this.state.shape&&null!=this.state.shape.node&&null!=this.state.shape.node.nextSibling&&(null==this.state.text||this.state.shape.node.nextSibling!=this.state.text.node))null!=this.state.shape&&null!=this.state.shape.node&&this.state.shape.node.parentNode.appendChild(this.state.shape.node),null!=this.state.text&&null!=this.state.text.node&&this.state.text.node.parentNode.appendChild(this.state.text.node)};\r\nmxVertexHandler.prototype.mouseUp=function(a,b){if(null!=this.index&&null!=this.state){var c=new mxPoint(b.getGraphX(),b.getGraphY()),d=this.index;this.index=null;null==this.ghostPreview&&(this.state.view.invalidate(this.state.cell,!1,!1),this.state.view.validate());this.graph.getModel().beginUpdate();try{if(d<=mxEvent.CUSTOM_HANDLE){if(null!=this.customHandles){var e=this.state.view.graph.getCellStyle(this.state.cell);this.customHandles[mxEvent.CUSTOM_HANDLE-d].active=!1;this.customHandles[mxEvent.CUSTOM_HANDLE-\r\nd].execute(b);null!=this.customHandles&&null!=this.customHandles[mxEvent.CUSTOM_HANDLE-d]&&(this.state.style=e,this.customHandles[mxEvent.CUSTOM_HANDLE-d].positionChanged())}}else if(d==mxEvent.ROTATION_HANDLE)if(null!=this.currentAlpha){var f=this.currentAlpha-(this.state.style[mxConstants.STYLE_ROTATION]||0);0!=f&&this.rotateCell(this.state.cell,f)}else this.rotateClick();else{var g=this.graph.isGridEnabledEvent(b.getEvent()),k=mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),\r\nl=Math.cos(-k),m=Math.sin(-k),n=c.x-this.startX,p=c.y-this.startY,c=m*n+l*p,n=l*n-m*p,p=c,q=this.graph.view.scale,r=this.isRecursiveResize(this.state,b);this.resizeCell(this.state.cell,this.roundLength(n/q),this.roundLength(p/q),d,g,this.isConstrainedEvent(b),r)}}finally{this.graph.getModel().endUpdate()}b.consume();this.reset();this.redrawHandles()}};mxVertexHandler.prototype.isRecursiveResize=function(a,b){return this.graph.isRecursiveResize(this.state)};mxVertexHandler.prototype.rotateClick=function(){};\r\nmxVertexHandler.prototype.rotateCell=function(a,b,c){if(0!=b){var d=this.graph.getModel();if(d.isVertex(a)||d.isEdge(a)){if(!d.isEdge(a)){var e=(this.graph.getCurrentCellStyle(a)[mxConstants.STYLE_ROTATION]||0)+b;this.graph.setCellStyles(mxConstants.STYLE_ROTATION,e,[a])}e=this.graph.getCellGeometry(a);if(null!=e){var f=this.graph.getCellGeometry(c);null==f||d.isEdge(c)||(e=e.clone(),e.rotate(b,new mxPoint(f.width/2,f.height/2)),d.setGeometry(a,e));if(d.isVertex(a)&&!e.relative||d.isEdge(a))for(c=\r\nd.getChildCount(a),e=0;e<c;e++)this.rotateCell(d.getChildAt(a,e),b,a)}}}};\r\nmxVertexHandler.prototype.reset=function(){null!=this.sizers&&null!=this.index&&null!=this.sizers[this.index]&&"none"==this.sizers[this.index].node.style.display&&(this.sizers[this.index].node.style.display="");this.index=this.inTolerance=this.currentAlpha=null;null!=this.preview&&(this.preview.destroy(),this.preview=null);null!=this.ghostPreview&&(this.ghostPreview.destroy(),this.ghostPreview=null);if(this.livePreviewActive&&null!=this.sizers){for(var a=0;a<this.sizers.length;a++)null!=this.sizers[a]&&\r\n(this.sizers[a].node.style.display="");null!=this.state.control&&null!=this.state.control.node&&(this.state.control.node.style.visibility="")}if(null!=this.customHandles)for(a=0;a<this.customHandles.length;a++)this.customHandles[a].active?(this.customHandles[a].active=!1,this.customHandles[a].reset()):this.customHandles[a].setVisible(!0);null!=this.selectionBorder&&(this.selectionBorder.node.style.display="inline",this.selectionBounds=this.getSelectionBounds(this.state),this.bounds=new mxRectangle(this.selectionBounds.x,\r\nthis.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height),this.drawPreview());this.removeHint();this.redrawHandles();this.edgeHandlers=null;this.handlesVisible=!0;this.livePreviewActive=this.unscaledBounds=null};\r\nmxVertexHandler.prototype.resizeCell=function(a,b,c,d,e,f,g){b=this.graph.model.getGeometry(a);null!=b&&(d==mxEvent.LABEL_HANDLE?(d=-mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),g=Math.cos(d),c=Math.sin(d),d=this.graph.view.scale,g=mxUtils.getRotatedPoint(new mxPoint(Math.round((this.labelShape.bounds.getCenterX()-this.startX)/d),Math.round((this.labelShape.bounds.getCenterY()-this.startY)/d)),g,c),b=b.clone(),null==b.offset?b.offset=g:(b.offset.x+=g.x,b.offset.y+=g.y),this.graph.model.setGeometry(a,\r\nb)):null!=this.unscaledBounds&&(d=this.graph.view.scale,0==this.childOffsetX&&0==this.childOffsetY||this.moveChildren(a,Math.round(this.childOffsetX/d),Math.round(this.childOffsetY/d)),this.graph.resizeCell(a,this.unscaledBounds,g)))};mxVertexHandler.prototype.moveChildren=function(a,b,c){for(var d=this.graph.getModel(),e=d.getChildCount(a),f=0;f<e;f++){var g=d.getChildAt(a,f),k=this.graph.getCellGeometry(g);null!=k&&(k=k.clone(),k.translate(b,c),d.setGeometry(g,k))}};\r\nmxVertexHandler.prototype.union=function(a,b,c,d,e,f,g,k,l){e=null!=e?e&&this.graph.gridEnabled:this.graph.gridEnabled;if(this.singleSizer)return d=a.x+a.width+b,g=a.y+a.height+c,e&&(d=this.graph.snap(d/f)*f,g=this.graph.snap(g/f)*f),f=new mxRectangle(a.x,a.y,0,0),f.add(new mxRectangle(d,g,0,0)),f;var m=a.width,n=a.height,p=a.x-g.x*f,q=p+m;a=a.y-g.y*f;var r=a+n,t=p+m/2,u=a+n/2;4<d?(r+=c,r=e?this.graph.snap(r/f)*f:Math.round(r/f)*f):3>d&&(a+=c,a=e?this.graph.snap(a/f)*f:Math.round(a/f)*f);if(0==d||\r\n3==d||5==d)p+=b,p=e?this.graph.snap(p/f)*f:Math.round(p/f)*f;else if(2==d||4==d||7==d)q+=b,q=e?this.graph.snap(q/f)*f:Math.round(q/f)*f;e=q-p;c=r-a;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=k.width/k.height,1==d||2==d||7==d||6==d?e=c*k:c=e/k,0==d&&(p=q-e,a=r-c)));l&&(e+=e-m,c+=c-n,p+=t-(p+e/2),a+=u-(a+c/2));0>e&&(p+=e,e=Math.abs(e));0>c&&(a+=c,c=Math.abs(c));d=new mxRectangle(p+g.x*f,a+g.y*f,e,c);null!=this.minBounds&&(d.width=Math.max(d.width,this.minBounds.x*f+this.minBounds.width*\r\nf+Math.max(0,this.x0*f-d.x)),d.height=Math.max(d.height,this.minBounds.y*f+this.minBounds.height*f+Math.max(0,this.y0*f-d.y)));return d};mxVertexHandler.prototype.redraw=function(a){this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new mxRectangle(this.selectionBounds.x,this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height);this.drawPreview();a||this.redrawHandles()};\r\nmxVertexHandler.prototype.getHandlePadding=function(){var a=new mxPoint(0,0),b=this.tolerance;null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]&&(this.bounds.width<2*this.sizers[0].bounds.width+2*b||this.bounds.height<2*this.sizers[0].bounds.height+2*b)&&(b/=2,a.x=this.sizers[0].bounds.width+b,a.y=this.sizers[0].bounds.height+b);return a};mxVertexHandler.prototype.getSizerBounds=function(){return this.bounds};\r\nmxVertexHandler.prototype.redrawHandles=function(){var a=this.getSizerBounds(),b=this.tolerance;this.verticalOffset=this.horizontalOffset=0;if(null!=this.customHandles)for(var c=0;c<this.customHandles.length;c++){var d=this.customHandles[c].shape.node.style.display;this.customHandles[c].redraw();this.customHandles[c].shape.node.style.display=d;this.customHandles[c].shape.node.style.visibility=this.handlesVisible&&this.isCustomHandleVisible(this.customHandles[c])?"":"hidden"}if(null!=this.sizers&&\r\n0<this.sizers.length&&null!=this.sizers[0]){if(null==this.index&&this.manageSizers&&8<=this.sizers.length){c=this.getHandlePadding();this.horizontalOffset=c.x;this.verticalOffset=c.y;if(0!=this.horizontalOffset||0!=this.verticalOffset)a=new mxRectangle(a.x,a.y,a.width,a.height),a.x-=this.horizontalOffset/2,a.width+=this.horizontalOffset,a.y-=this.verticalOffset/2,a.height+=this.verticalOffset;8<=this.sizers.length&&(a.width<2*this.sizers[0].bounds.width+2*b||a.height<2*this.sizers[0].bounds.height+\r\n2*b?(this.sizers[0].node.style.display="none",this.sizers[2].node.style.display="none",this.sizers[5].node.style.display="none",this.sizers[7].node.style.display="none"):this.handlesVisible&&(this.sizers[0].node.style.display="",this.sizers[2].node.style.display="",this.sizers[5].node.style.display="",this.sizers[7].node.style.display=""))}b=a.x+a.width;c=a.y+a.height;if(this.singleSizer)this.moveSizerTo(this.sizers[0],b,c);else{var d=a.x+a.width/2,e=a.y+a.height/2;if(8<=this.sizers.length){var f=\r\n"nw-resize n-resize ne-resize e-resize se-resize s-resize sw-resize w-resize".split(" "),g=mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),k=Math.cos(g),l=Math.sin(g),g=Math.round(4*g/Math.PI),m=new mxPoint(a.getCenterX(),a.getCenterY()),n=mxUtils.getRotatedPoint(new mxPoint(a.x,a.y),k,l,m);this.moveSizerTo(this.sizers[0],n.x,n.y);this.sizers[0].setCursor(f[mxUtils.mod(0+g,f.length)]);n.x=d;n.y=a.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[1],n.x,n.y);this.sizers[1].setCursor(f[mxUtils.mod(1+\r\ng,f.length)]);n.x=b;n.y=a.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[2],n.x,n.y);this.sizers[2].setCursor(f[mxUtils.mod(2+g,f.length)]);n.x=a.x;n.y=e;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[3],n.x,n.y);this.sizers[3].setCursor(f[mxUtils.mod(7+g,f.length)]);n.x=b;n.y=e;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[4],n.x,n.y);this.sizers[4].setCursor(f[mxUtils.mod(3+g,f.length)]);n.x=a.x;n.y=c;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[5],\r\nn.x,n.y);this.sizers[5].setCursor(f[mxUtils.mod(6+g,f.length)]);n.x=d;n.y=c;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[6],n.x,n.y);this.sizers[6].setCursor(f[mxUtils.mod(5+g,f.length)]);n.x=b;n.y=c;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[7],n.x,n.y);this.sizers[7].setCursor(f[mxUtils.mod(4+g,f.length)]);n.x=d+this.state.absoluteOffset.x;n.y=e+this.state.absoluteOffset.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[8],n.x,n.y)}else 2<=\r\nthis.state.width&&2<=this.state.height?this.moveSizerTo(this.sizers[0],d+this.state.absoluteOffset.x,e+this.state.absoluteOffset.y):this.moveSizerTo(this.sizers[0],this.state.x,this.state.y)}}null!=this.rotationShape&&(g=mxUtils.toRadians(null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0"),k=Math.cos(g),l=Math.sin(g),m=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),n=mxUtils.getRotatedPoint(this.getRotationHandlePosition(),k,l,m),null!=this.rotationShape.node&&\r\n(this.moveSizerTo(this.rotationShape,n.x,n.y),this.rotationShape.node.style.visibility=this.state.view.graph.isEditing()||!this.handlesVisible?"hidden":""));null!=this.selectionBorder&&(this.selectionBorder.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0"));if(null!=this.edgeHandlers)for(c=0;c<this.edgeHandlers.length;c++)this.edgeHandlers[c].redraw()};mxVertexHandler.prototype.isCustomHandleVisible=function(a){return!this.graph.isEditing()&&1==this.state.view.graph.getSelectionCount()};\r\nmxVertexHandler.prototype.getRotationHandlePosition=function(){return new mxPoint(this.bounds.x+this.bounds.width/2,this.bounds.y+this.rotationHandleVSpacing)};mxVertexHandler.prototype.isParentHighlightVisible=function(){return!this.graph.isCellSelected(this.graph.model.getParent(this.state.cell))};\r\nmxVertexHandler.prototype.updateParentHighlight=function(){if(!this.isDestroyed()){var a=this.isParentHighlightVisible(),b=this.graph.model.getParent(this.state.cell),c=this.graph.view.getState(b);null!=this.parentHighlight?this.graph.model.isVertex(b)&&a?(a=this.parentHighlight.bounds,null==c||a.x==c.x&&a.y==c.y&&a.width==c.width&&a.height==c.height||(this.parentHighlight.bounds=mxRectangle.fromRectangle(c),this.parentHighlight.redraw())):(null!=c&&c.parentHighlight==this.parentHighlight&&(c.parentHighlight=\r\nnull),this.parentHighlight.destroy(),this.parentHighlight=null):this.parentHighlightEnabled&&a&&this.graph.model.isVertex(b)&&null!=c&&null==c.parentHighlight&&(this.parentHighlight=this.createParentHighlightShape(c),this.parentHighlight.dialect=mxConstants.DIALECT_SVG,this.parentHighlight.pointerEvents=!1,this.parentHighlight.rotation=Number(c.style[mxConstants.STYLE_ROTATION]||"0"),this.parentHighlight.init(this.graph.getView().getOverlayPane()),this.parentHighlight.redraw(),c.parentHighlight=this.parentHighlight)}};\r\nmxVertexHandler.prototype.drawPreview=function(){null!=this.preview&&(this.preview.bounds=this.bounds,this.preview.node.parentNode==this.graph.container&&(this.preview.bounds.width=Math.max(0,this.preview.bounds.width-1),this.preview.bounds.height=Math.max(0,this.preview.bounds.height-1)),this.preview.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0"),this.preview.redraw());this.selectionBorder.bounds=this.getSelectionBorderBounds();this.selectionBorder.redraw();this.updateParentHighlight()};\r\nmxVertexHandler.prototype.getSelectionBorderBounds=function(){return this.bounds};mxVertexHandler.prototype.isDestroyed=function(){return null==this.selectionBorder};\r\nmxVertexHandler.prototype.destroy=function(){null!=this.escapeHandler&&(this.state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.preview&&(this.preview.destroy(),this.preview=null);if(null!=this.parentHighlight){var a=this.graph.model.getParent(this.state.cell),a=this.graph.view.getState(a);null!=a&&a.parentHighlight==this.parentHighlight&&(a.parentHighlight=null);this.parentHighlight.destroy();this.parentHighlight=null}null!=this.ghostPreview&&(this.ghostPreview.destroy(),\r\nthis.ghostPreview=null);null!=this.selectionBorder&&(this.selectionBorder.destroy(),this.selectionBorder=null);this.labelShape=null;this.removeHint();if(null!=this.sizers){for(a=0;a<this.sizers.length;a++)this.sizers[a].destroy();this.sizers=null}if(null!=this.customHandles){for(a=0;a<this.customHandles.length;a++)this.customHandles[a].destroy();this.customHandles=null}};\r\nfunction mxEdgeHandler(a){null!=a&&null!=a.shape&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,c){var d=null!=this.index;this.reset();d&&this.graph.cellRenderer.redraw(this.state,!1,a.view.isRendering())}),this.state.view.graph.addListener(mxEvent.ESCAPE,this.escapeHandler))}mxEdgeHandler.prototype.graph=null;mxEdgeHandler.prototype.state=null;mxEdgeHandler.prototype.marker=null;mxEdgeHandler.prototype.constraintHandler=null;mxEdgeHandler.prototype.error=null;\r\nmxEdgeHandler.prototype.shape=null;mxEdgeHandler.prototype.bends=null;mxEdgeHandler.prototype.labelShape=null;mxEdgeHandler.prototype.cloneEnabled=!0;mxEdgeHandler.prototype.addEnabled=!1;mxEdgeHandler.prototype.removeEnabled=!1;mxEdgeHandler.prototype.dblClickRemoveEnabled=!1;mxEdgeHandler.prototype.mergeRemoveEnabled=!1;mxEdgeHandler.prototype.straightRemoveEnabled=!1;mxEdgeHandler.prototype.virtualBendsEnabled=!1;mxEdgeHandler.prototype.virtualBendOpacity=20;\r\nmxEdgeHandler.prototype.parentHighlightEnabled=!1;mxEdgeHandler.prototype.preferHtml=!1;mxEdgeHandler.prototype.allowHandleBoundsCheck=!0;mxEdgeHandler.prototype.snapToTerminals=!1;mxEdgeHandler.prototype.handleImage=null;mxEdgeHandler.prototype.tolerance=0;mxEdgeHandler.prototype.outlineConnect=!1;mxEdgeHandler.prototype.manageLabelHandle=!1;\r\nmxEdgeHandler.prototype.init=function(){this.graph=this.state.view.graph;this.marker=this.createMarker();this.constraintHandler=new mxConstraintHandler(this.graph);this.points=[];this.abspoints=this.getSelectionPoints(this.state);this.shape=this.createSelectionShape(this.abspoints);this.shape.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;this.shape.init(this.graph.getView().getOverlayPane());this.shape.pointerEvents=!1;mxEvent.redirectMouseEvents(this.shape.node,\r\nthis.graph,this.state);this.graph.isCellMovable(this.state.cell)&&this.shape.setCursor(mxConstants.CURSOR_MOVABLE_EDGE);this.preferHtml=null!=this.state.text&&this.state.text.node.parentNode==this.graph.container;if(!this.preferHtml){var a=this.state.getVisibleTerminalState(!0);null!=a&&(this.preferHtml=null!=a.text&&a.text.node.parentNode==this.graph.container);this.preferHtml||(a=this.state.getVisibleTerminalState(!1),null!=a&&(this.preferHtml=null!=a.text&&a.text.node.parentNode==this.graph.container))}this.graph.isCellEditable(this.state.cell)&&\r\n(this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells||0>=mxGraphHandler.prototype.maxCells)&&(this.bends=this.createBends(),this.isVirtualBendsEnabled()&&(this.virtualBends=this.createVirtualBends()));this.label=new mxPoint(this.state.absoluteOffset.x,this.state.absoluteOffset.y);this.labelShape=this.createLabelHandleShape();this.initBend(this.labelShape);this.graph.isCellEditable(this.state.cell)&&(this.labelShape.setCursor(mxConstants.CURSOR_LABEL_HANDLE),this.customHandles=this.createCustomHandles());\r\nthis.updateParentHighlight();this.redraw()};mxEdgeHandler.prototype.isParentHighlightVisible=mxVertexHandler.prototype.isParentHighlightVisible;mxEdgeHandler.prototype.updateParentHighlight=mxVertexHandler.prototype.updateParentHighlight;mxEdgeHandler.prototype.createCustomHandles=function(){return null};\r\nmxEdgeHandler.prototype.isVirtualBendsEnabled=function(a){return this.virtualBendsEnabled&&(null==this.state.style[mxConstants.STYLE_EDGE]||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.NONE||1==this.state.style[mxConstants.STYLE_NOEDGESTYLE])&&"arrow"!=mxUtils.getValue(this.state.style,mxConstants.STYLE_SHAPE,null)};mxEdgeHandler.prototype.isCellEnabled=function(a){return!0};mxEdgeHandler.prototype.isAddPointEvent=function(a){return mxEvent.isShiftDown(a)};\r\nmxEdgeHandler.prototype.isRemovePointEvent=function(a){return mxEvent.isShiftDown(a)};mxEdgeHandler.prototype.getSelectionPoints=function(a){return a.absolutePoints};mxEdgeHandler.prototype.createParentHighlightShape=function(a){a=new mxRectangleShape(mxRectangle.fromRectangle(a),null,this.getSelectionColor());a.strokewidth=this.getSelectionStrokeWidth();a.isDashed=this.isSelectionDashed();return a};\r\nmxEdgeHandler.prototype.createSelectionShape=function(a){a=new this.state.shape.constructor;a.outline=!0;a.apply(this.state);a.isDashed=this.isSelectionDashed();a.stroke=this.getSelectionColor();a.isShadow=!1;return a};mxEdgeHandler.prototype.getSelectionColor=function(){return this.graph.isCellEditable(this.state.cell)?mxConstants.EDGE_SELECTION_COLOR:mxConstants.LOCKED_HANDLE_FILLCOLOR};mxEdgeHandler.prototype.getSelectionStrokeWidth=function(){return mxConstants.EDGE_SELECTION_STROKEWIDTH};\r\nmxEdgeHandler.prototype.isSelectionDashed=function(){return mxConstants.EDGE_SELECTION_DASHED};mxEdgeHandler.prototype.isConnectableCell=function(a){return!0};mxEdgeHandler.prototype.getCellAt=function(a,b){return this.outlineConnect?null:this.graph.getCellAt(a,b)};\r\nmxEdgeHandler.prototype.createMarker=function(){var a=new mxCellMarker(this.graph),b=this;a.getCell=function(a){var c=mxCellMarker.prototype.getCell.apply(this,arguments);c!=b.state.cell&&null!=c||null==b.currentPoint||(c=b.graph.getCellAt(b.currentPoint.x,b.currentPoint.y));if(null!=c&&!this.graph.isCellConnectable(c)){var e=this.graph.getModel().getParent(c);this.graph.getModel().isVertex(e)&&this.graph.isCellConnectable(e)&&(c=e)}e=b.graph.getModel();if(this.graph.isSwimlane(c)&&null!=b.currentPoint&&\r\nthis.graph.hitsSwimlaneContent(c,b.currentPoint.x,b.currentPoint.y)||!b.isConnectableCell(c)||c==b.state.cell||null!=c&&!b.graph.connectableEdges&&e.isEdge(c)||e.isAncestor(b.state.cell,c))c=null;this.graph.isCellConnectable(c)||(c=null);return c};a.isValidState=function(a){var c=b.graph.getModel(),c=b.graph.view.getTerminalPort(a,b.graph.view.getState(c.getTerminal(b.state.cell,!b.isSource)),!b.isSource),c=null!=c?c.cell:null;b.error=b.validateConnection(b.isSource?a.cell:c,b.isSource?c:a.cell);\r\nreturn null==b.error};return a};mxEdgeHandler.prototype.validateConnection=function(a,b){return this.graph.getEdgeValidationError(this.state.cell,a,b)};\r\nmxEdgeHandler.prototype.createBends=function(){for(var a=this.state.cell,b=[],c=0;c<this.abspoints.length;c++)if(this.isHandleVisible(c)){var d=c==this.abspoints.length-1,e=0==c||d;(e||this.graph.isCellBendable(a))&&mxUtils.bind(this,function(a){var d=this.createHandleShape(a);this.initBend(d,mxUtils.bind(this,mxUtils.bind(this,function(){this.dblClickRemoveEnabled&&this.removePoint(this.state,a)})));this.isHandleEnabled(c)&&d.setCursor(e?mxConstants.CURSOR_TERMINAL_HANDLE:mxConstants.CURSOR_BEND_HANDLE);\r\nb.push(d);e||(this.points.push(new mxPoint(0,0)),d.node.style.visibility="hidden")})(c)}return b};mxEdgeHandler.prototype.createVirtualBends=function(){var a=[];if(this.graph.isCellBendable(this.state.cell))for(var b=1;b<this.abspoints.length;b++)mxUtils.bind(this,function(b){this.initBend(b);b.setCursor(mxConstants.CURSOR_VIRTUAL_BEND_HANDLE);a.push(b)})(this.createHandleShape());return a};mxEdgeHandler.prototype.isHandleEnabled=function(a){return!0};\r\nmxEdgeHandler.prototype.isHandleVisible=function(a){var b=this.state.getVisibleTerminalState(!0),c=this.state.getVisibleTerminalState(!1),d=this.graph.getCellGeometry(this.state.cell);return(null!=d?this.graph.view.getEdgeStyle(this.state,d.points,b,c):null)!=mxEdgeStyle.EntityRelation||0==a||a==this.abspoints.length-1};\r\nmxEdgeHandler.prototype.createHandleShape=function(a){if(null!=this.handleImage)return a=new mxImageShape(new mxRectangle(0,0,this.handleImage.width,this.handleImage.height),this.handleImage.src),a.preserveImageAspect=!1,a;a=mxConstants.HANDLE_SIZE;this.preferHtml&&--a;return new mxRectangleShape(new mxRectangle(0,0,a,a),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};\r\nmxEdgeHandler.prototype.createLabelHandleShape=function(){if(null!=this.labelHandleImage){var a=new mxImageShape(new mxRectangle(0,0,this.labelHandleImage.width,this.labelHandleImage.height),this.labelHandleImage.src);a.preserveImageAspect=!1;return a}a=mxConstants.LABEL_HANDLE_SIZE;return new mxRectangleShape(new mxRectangle(0,0,a,a),mxConstants.LABEL_HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};\r\nmxEdgeHandler.prototype.initBend=function(a,b){this.preferHtml?(a.dialect=mxConstants.DIALECT_STRICTHTML,a.init(this.graph.container)):(a.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG,a.init(this.graph.getView().getOverlayPane()));mxEvent.redirectMouseEvents(a.node,this.graph,this.state,null,null,null,b);mxClient.IS_TOUCH&&a.node.setAttribute("pointer-events","none")};\r\nmxEdgeHandler.prototype.getHandleForEvent=function(a){var b=null;if(null!=this.state){var c=function(b){if(null!=b&&null!=b.node&&"none"!=b.node.style.display&&"hidden"!=b.node.style.visibility&&(a.isSource(b)||null!=e&&mxUtils.intersects(b.bounds,e))){var c=a.getGraphX()-b.bounds.getCenterX();b=a.getGraphY()-b.bounds.getCenterY();c=c*c+b*b;if(null==f||c<=f)return f=c,!0}return!1},d=mxEvent.isMouseEvent(a.getEvent())?1:this.tolerance,e=this.allowHandleBoundsCheck&&(mxClient.IS_IE||0<d)?new mxRectangle(a.getGraphX()-\r\nd,a.getGraphY()-d,2*d,2*d):null,f=null;if(null!=this.customHandles&&this.isCustomHandleEvent(a))for(d=this.customHandles.length-1;0<=d;d--)if(c(this.customHandles[d].shape))return mxEvent.CUSTOM_HANDLE-d;if(a.isSource(this.state.text)||c(this.labelShape))b=mxEvent.LABEL_HANDLE;if(null!=this.bends)for(d=0;d<this.bends.length;d++)c(this.bends[d])&&(b=d);if(null!=this.virtualBends&&this.isAddVirtualBendEvent(a))for(d=0;d<this.virtualBends.length;d++)c(this.virtualBends[d])&&(b=mxEvent.VIRTUAL_HANDLE-\r\nd)}return b};mxEdgeHandler.prototype.isAddVirtualBendEvent=function(a){return!0};mxEdgeHandler.prototype.isCustomHandleEvent=function(a){return!0};\r\nmxEdgeHandler.prototype.mouseDown=function(a,b){if(this.graph.isCellEditable(this.state.cell)){var c=this.getHandleForEvent(b);if(null!=this.bends&&null!=this.bends[c]){var d=this.bends[c].bounds;this.snapPoint=new mxPoint(d.getCenterX(),d.getCenterY())}if(this.addEnabled&&null==c&&this.isAddPointEvent(b.getEvent()))this.addPoint(this.state,b.getEvent()),b.consume();else if(null!=c&&!b.isConsumed()&&this.graph.isEnabled()){if(this.removeEnabled&&this.isRemovePointEvent(b.getEvent()))this.removePoint(this.state,\r\nc);else if(c!=mxEvent.LABEL_HANDLE||this.graph.isLabelMovable(b.getCell()))c<=mxEvent.VIRTUAL_HANDLE&&mxUtils.setOpacity(this.virtualBends[mxEvent.VIRTUAL_HANDLE-c].node,100),this.start(b.getX(),b.getY(),c);b.consume()}}};\r\nmxEdgeHandler.prototype.start=function(a,b,c){this.startX=a;this.startY=b;this.isSource=null==this.bends?!1:0==c;this.isTarget=null==this.bends?!1:c==this.bends.length-1;this.isLabel=c==mxEvent.LABEL_HANDLE;if(this.isSource||this.isTarget){if(a=this.state.cell,b=this.graph.model.getTerminal(a,this.isSource),null==b&&this.graph.isTerminalPointMovable(a,this.isSource)||null!=b&&this.graph.isCellDisconnectable(a,b,this.isSource))this.index=c}else this.index=c;if(this.index<=mxEvent.CUSTOM_HANDLE&&this.index>\r\nmxEvent.VIRTUAL_HANDLE&&null!=this.customHandles)for(c=0;c<this.customHandles.length;c++)c!=mxEvent.CUSTOM_HANDLE-this.index&&this.customHandles[c].setVisible(!1)};mxEdgeHandler.prototype.clonePreviewState=function(a,b){return this.state.clone()};mxEdgeHandler.prototype.getSnapToTerminalTolerance=function(){return this.graph.gridSize*this.graph.view.scale/2};mxEdgeHandler.prototype.updateHint=function(a,b){};mxEdgeHandler.prototype.removeHint=function(){};mxEdgeHandler.prototype.roundLength=function(a){return Math.round(a)};\r\nmxEdgeHandler.prototype.isSnapToTerminalsEvent=function(a){return this.snapToTerminals&&!mxEvent.isAltDown(a.getEvent())};\r\nmxEdgeHandler.prototype.getPointForEvent=function(a){var b=this.graph.getView(),c=b.scale,d=new mxPoint(this.roundLength(a.getGraphX()/c)*c,this.roundLength(a.getGraphY()/c)*c),e=this.getSnapToTerminalTolerance(),f=!1,g=!1;if(0<e&&this.isSnapToTerminalsEvent(a)){var k=function(a){null!=a&&l.call(this,new mxPoint(b.getRoutingCenterX(a),b.getRoutingCenterY(a)))},l=function(a){if(null!=a){var b=a.x;Math.abs(d.x-b)<e&&(d.x=b,f=!0);a=a.y;Math.abs(d.y-a)<e&&(d.y=a,g=!0)}};k.call(this,this.state.getVisibleTerminalState(!0));\r\nk.call(this,this.state.getVisibleTerminalState(!1));if(null!=this.state.absolutePoints)for(k=0;k<this.state.absolutePoints.length;k++)l.call(this,this.state.absolutePoints[k])}this.graph.isGridEnabledEvent(a.getEvent())&&(a=b.translate,f||(d.x=(this.graph.snap(d.x/c-a.x)+a.x)*c),g||(d.y=(this.graph.snap(d.y/c-a.y)+a.y)*c));return d};\r\nmxEdgeHandler.prototype.getPreviewTerminalState=function(a){this.constraintHandler.update(a,this.isSource,!0,a.isSource(this.marker.highlight.shape)?null:this.currentPoint);if(null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentConstraint)return null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cell?"transparent"!=this.marker.highlight.shape.stroke&&(this.marker.highlight.shape.stroke="transparent",\r\nthis.marker.highlight.repaint()):this.marker.markCell(this.constraintHandler.currentFocus.cell,"transparent"),a=this.graph.getModel(),a=this.graph.view.getTerminalPort(this.state,this.graph.view.getState(a.getTerminal(this.state.cell,!this.isSource)),!this.isSource),a=null!=a?a.cell:null,this.error=this.validateConnection(this.isSource?this.constraintHandler.currentFocus.cell:a,this.isSource?a:this.constraintHandler.currentFocus.cell),a=null,null==this.error&&(a=this.constraintHandler.currentFocus),\r\n(null!=this.error||null!=a&&!this.isCellEnabled(a.cell))&&this.constraintHandler.reset(),a;if(this.graph.isIgnoreTerminalEvent(a.getEvent()))return this.marker.reset(),null;this.marker.process(a);a=this.marker.getValidState();null==a||this.isCellEnabled(a.cell)||(this.constraintHandler.reset(),this.marker.reset());return this.marker.getValidState()};\r\nmxEdgeHandler.prototype.getPreviewPoints=function(a,b){var c=this.graph.getCellGeometry(this.state.cell),c=null!=c.points?c.points.slice():null,d=new mxPoint(a.x,a.y),e=null;if(this.isSource||this.isTarget)this.graph.resetEdgesOnConnect&&(c=null);else if(this.convertPoint(d,!1),null==c)c=[d];else{this.index<=mxEvent.VIRTUAL_HANDLE&&c.splice(mxEvent.VIRTUAL_HANDLE-this.index,0,d);if(!this.isSource&&!this.isTarget){for(var f=0;f<this.bends.length;f++)if(f!=this.index){var g=this.bends[f];null!=g&&mxUtils.contains(g.bounds,\r\na.x,a.y)&&(this.index<=mxEvent.VIRTUAL_HANDLE?c.splice(mxEvent.VIRTUAL_HANDLE-this.index,1):c.splice(this.index-1,1),e=c)}if(null==e&&this.straightRemoveEnabled&&(null==b||!mxEvent.isAltDown(b.getEvent()))){f=this.graph.tolerance*this.graph.tolerance;g=this.state.absolutePoints.slice();g[this.index]=a;var k=this.state.getVisibleTerminalState(!0);if(null!=k){var l=this.graph.getConnectionConstraint(this.state,k,!0);if(null==l||null==this.graph.getConnectionPoint(k,l))g[0]=new mxPoint(k.view.getRoutingCenterX(k),\r\nk.view.getRoutingCenterY(k))}k=this.state.getVisibleTerminalState(!1);null!=k&&(l=this.graph.getConnectionConstraint(this.state,k,!1),null==l||null==this.graph.getConnectionPoint(k,l))&&(g[g.length-1]=new mxPoint(k.view.getRoutingCenterX(k),k.view.getRoutingCenterY(k)));l=this.index;0<l&&l<g.length-1&&mxUtils.ptSegDistSq(g[l-1].x,g[l-1].y,g[l+1].x,g[l+1].y,a.x,a.y)<f&&(c.splice(l-1,1),e=c)}}null==e&&this.index>mxEvent.VIRTUAL_HANDLE&&(c[this.index-1]=d)}return null!=e?e:c};\r\nmxEdgeHandler.prototype.isOutlineConnectEvent=function(a){var b=mxUtils.getOffset(this.graph.container),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f=this.currentPoint.x-this.graph.container.scrollLeft+b.x-((window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)),b=this.currentPoint.y-this.graph.container.scrollTop+b.y-((window.pageYOffset||e.scrollTop)-(e.clientTop||0));return this.outlineConnect&&!mxEvent.isShiftDown(a.getEvent())&&(a.isSource(this.marker.highlight.shape)||\r\nmxEvent.isAltDown(a.getEvent())&&null!=a.getState()||this.marker.highlight.isHighlightAt(d,c)||(f!=d||b!=c)&&null==a.getState()&&this.marker.highlight.isHighlightAt(f,b))};\r\nmxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d,e){var f=this.isSource?c:this.state.getVisibleTerminalState(!0),g=this.isTarget?c:this.state.getVisibleTerminalState(!1),k=this.graph.getConnectionConstraint(a,f,!0),l=this.graph.getConnectionConstraint(a,g,!1),m=this.constraintHandler.currentConstraint;null==m&&e&&(null!=c?(d.isSource(this.marker.highlight.shape)&&(b=new mxPoint(d.getGraphX(),d.getGraphY())),m=this.graph.getOutlineConstraint(b,c,d),this.constraintHandler.setFocus(d,c,this.isSource),\r\nthis.constraintHandler.currentConstraint=m,this.constraintHandler.currentPoint=b):m=new mxConnectionConstraint);if(this.outlineConnect&&null!=this.marker.highlight&&null!=this.marker.highlight.shape){var n=this.graph.view.scale;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(this.marker.highlight.shape.stroke=e?mxConstants.OUTLINE_HIGHLIGHT_COLOR:"transparent",this.marker.highlight.shape.strokewidth=mxConstants.OUTLINE_HIGHLIGHT_STROKEWIDTH/n/n,this.marker.highlight.repaint()):\r\nthis.marker.hasValidState()&&(this.marker.highlight.shape.stroke=this.graph.isCellConnectable(d.getCell())&&this.marker.getValidState()!=d.getState()?"transparent":mxConstants.DEFAULT_VALID_COLOR,this.marker.highlight.shape.strokewidth=mxConstants.HIGHLIGHT_STROKEWIDTH/n/n,this.marker.highlight.repaint())}this.isSource?k=m:this.isTarget&&(l=m);if(this.isSource||this.isTarget)null!=m&&null!=m.point?(a.style[this.isSource?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X]=m.point.x,a.style[this.isSource?\r\nmxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y]=m.point.y):(delete a.style[this.isSource?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X],delete a.style[this.isSource?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y]);a.setVisibleTerminalState(f,!0);a.setVisibleTerminalState(g,!1);this.isSource&&null==f||a.view.updateFixedTerminalPoint(a,f,!0,k);this.isTarget&&null==g||a.view.updateFixedTerminalPoint(a,g,!1,l);(this.isSource||this.isTarget)&&null==c&&(a.setAbsoluteTerminalPoint(b,this.isSource),\r\nnull==this.marker.getMarkedState()&&(this.error=this.graph.allowDanglingEdges?null:""));a.view.updatePoints(a,this.points,f,g);a.view.updateFloatingTerminalPoints(a,f,g)};\r\nmxEdgeHandler.prototype.mouseMove=function(a,b){if(null!=this.index&&null!=this.marker){this.currentPoint=this.getPointForEvent(b);this.error=null;!this.graph.isIgnoreTerminalEvent(b.getEvent())&&mxEvent.isShiftDown(b.getEvent())&&null!=this.snapPoint&&(Math.abs(this.snapPoint.x-this.currentPoint.x)<Math.abs(this.snapPoint.y-this.currentPoint.y)?this.currentPoint.x=this.snapPoint.x:this.currentPoint.y=this.snapPoint.y);if(this.index<=mxEvent.CUSTOM_HANDLE&&this.index>mxEvent.VIRTUAL_HANDLE)null!=\r\nthis.customHandles&&(this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].processEvent(b),this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].positionChanged(),null!=this.shape&&null!=this.shape.node&&(this.shape.node.style.display="none"));else if(this.isLabel)this.label.x=this.currentPoint.x,this.label.y=this.currentPoint.y;else{this.points=this.getPreviewPoints(this.currentPoint,b);var c=this.isSource||this.isTarget?this.getPreviewTerminalState(b):null;if(null!=this.constraintHandler.currentConstraint&&\r\nnull!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentPoint)this.currentPoint=this.constraintHandler.currentPoint.clone();else if(this.outlineConnect){var d=this.isSource||this.isTarget?this.isOutlineConnectEvent(b):!1;d?c=this.marker.highlight.state:null!=c&&c!=b.getState()&&this.graph.isCellConnectable(b.getCell())&&null!=this.marker.highlight.shape&&(this.marker.highlight.shape.stroke="transparent",this.marker.highlight.repaint(),c=null)}null==c||this.isCellEnabled(c.cell)||\r\n(c=null,this.marker.reset());var e=this.clonePreviewState(this.currentPoint,null!=c?c.cell:null);this.updatePreviewState(e,this.currentPoint,c,b,d);this.setPreviewColor(null==this.error?this.marker.validColor:this.marker.invalidColor);this.abspoints=e.absolutePoints;this.active=!0;this.updateHint(b,this.currentPoint)}this.drawPreview();mxEvent.consume(b.getEvent());b.consume()}else mxClient.IS_IE&&null!=this.getHandleForEvent(b)&&b.consume(!1)};\r\nmxEdgeHandler.prototype.mouseUp=function(a,b){if(null!=this.index&&null!=this.marker){null!=this.shape&&null!=this.shape.node&&(this.shape.node.style.display="");var c=this.state.cell,d=this.index;this.index=null;if(b.getX()!=this.startX||b.getY()!=this.startY){var e=!this.graph.isIgnoreTerminalEvent(b.getEvent())&&this.graph.isCloneEvent(b.getEvent())&&this.cloneEnabled&&this.graph.isCellsCloneable();if(null!=this.error)0<this.error.length&&this.graph.validationAlert(this.error);else if(d<=mxEvent.CUSTOM_HANDLE&&\r\nd>mxEvent.VIRTUAL_HANDLE){if(null!=this.customHandles){var f=this.graph.getModel();f.beginUpdate();try{this.customHandles[mxEvent.CUSTOM_HANDLE-d].execute(b),null!=this.shape&&null!=this.shape.node&&(this.shape.apply(this.state),this.shape.redraw())}finally{f.endUpdate()}}}else if(this.isLabel)this.moveLabel(this.state,this.label.x,this.label.y);else if(this.isSource||this.isTarget)if(d=null,null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&(d=this.constraintHandler.currentFocus.cell),\r\nnull==d&&this.marker.hasValidState()&&null!=this.marker.highlight&&null!=this.marker.highlight.shape&&"transparent"!=this.marker.highlight.shape.stroke&&"white"!=this.marker.highlight.shape.stroke&&(d=this.marker.validState.cell),null!=d){var f=this.graph.getModel(),g=f.getParent(c);f.beginUpdate();try{if(e){var k=f.getGeometry(c),e=this.graph.cloneCell(c);f.add(g,e,f.getChildCount(g));null!=k&&(k=k.clone(),f.setGeometry(e,k));var l=f.getTerminal(c,!this.isSource);this.graph.connectCell(e,l,!this.isSource);\r\nc=e}c=this.connect(c,d,this.isSource,e,b)}finally{f.endUpdate()}}else this.graph.isAllowDanglingEdges()&&(f=this.abspoints[this.isSource?0:this.abspoints.length-1],f.x=this.roundLength(f.x/this.graph.view.scale-this.graph.view.translate.x),f.y=this.roundLength(f.y/this.graph.view.scale-this.graph.view.translate.y),k=this.graph.getView().getState(this.graph.getModel().getParent(c)),null!=k&&(f.x-=k.origin.x,f.y-=k.origin.y),f.x-=this.graph.panDx/this.graph.view.scale,f.y-=this.graph.panDy/this.graph.view.scale,\r\nc=this.changeTerminalPoint(c,f,this.isSource,e));else this.active?c=this.changePoints(c,this.points,e):(this.graph.getView().invalidate(this.state.cell),this.graph.getView().validate(this.state.cell))}else this.graph.isToggleEvent(b.getEvent())&&this.graph.selectCellForEvent(this.state.cell,b.getEvent());null!=this.marker&&(this.reset(),c!=this.state.cell&&this.graph.setSelectionCell(c));b.consume()}};\r\nmxEdgeHandler.prototype.reset=function(){this.active&&this.refresh();this.snapPoint=this.points=this.label=this.index=this.error=null;this.active=this.isTarget=this.isSource=this.isLabel=!1;if(this.livePreview&&null!=this.sizers)for(var a=0;a<this.sizers.length;a++)null!=this.sizers[a]&&(this.sizers[a].node.style.display="");null!=this.marker&&this.marker.reset();null!=this.constraintHandler&&this.constraintHandler.reset();if(null!=this.customHandles)for(a=0;a<this.customHandles.length;a++)this.customHandles[a].reset();\r\nthis.setPreviewColor(mxConstants.EDGE_SELECTION_COLOR);this.removeHint();this.redraw()};mxEdgeHandler.prototype.setPreviewColor=function(a){null!=this.shape&&(this.shape.stroke=a)};\r\nmxEdgeHandler.prototype.convertPoint=function(a,b){var c=this.graph.getView().getScale(),d=this.graph.getView().getTranslate();b&&(a.x=this.graph.snap(a.x),a.y=this.graph.snap(a.y));a.x=Math.round(a.x/c-d.x);a.y=Math.round(a.y/c-d.y);c=this.graph.getView().getState(this.graph.getModel().getParent(this.state.cell));null!=c&&(a.x-=c.origin.x,a.y-=c.origin.y);return a};\r\nmxEdgeHandler.prototype.moveLabel=function(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a.cell);if(null!=e){var f=this.graph.getView().scale,e=e.clone();if(e.relative){var g=this.graph.getView().getRelativePoint(a,b,c);e.x=Math.round(1E4*g.x)/1E4;e.y=Math.round(g.y);e.offset=new mxPoint(0,0);g=this.graph.view.getPoint(a,e);e.offset=new mxPoint(Math.round((b-g.x)/f),Math.round((c-g.y)/f))}else{var k=a.absolutePoints,g=k[0],k=k[k.length-1];null!=g&&null!=k&&(e.offset=new mxPoint(Math.round((b-\r\n(g.x+(k.x-g.x)/2))/f),Math.round((c-(g.y+(k.y-g.y)/2))/f)),e.x=0,e.y=0)}d.setGeometry(a.cell,e)}};mxEdgeHandler.prototype.connect=function(a,b,c,d,e){d=this.graph.getModel();d.getParent(a);d.beginUpdate();try{var f=this.constraintHandler.currentConstraint;null==f&&(f=new mxConnectionConstraint);this.graph.connectCell(a,b,c,f)}finally{d.endUpdate()}return a};\r\nmxEdgeHandler.prototype.changeTerminalPoint=function(a,b,c,d){var e=this.graph.getModel();e.beginUpdate();try{if(d){var f=e.getParent(a),g=e.getTerminal(a,!c);a=this.graph.cloneCell(a);e.add(f,a,e.getChildCount(f));e.setTerminal(a,g,!c)}var k=e.getGeometry(a);null!=k&&(k=k.clone(),k.setTerminalPoint(b,c),e.setGeometry(a,k),this.graph.connectCell(a,null,c,new mxConnectionConstraint))}finally{e.endUpdate()}return a};\r\nmxEdgeHandler.prototype.changePoints=function(a,b,c){var d=this.graph.getModel();d.beginUpdate();try{if(c){var e=d.getParent(a),f=d.getTerminal(a,!0),g=d.getTerminal(a,!1);a=this.graph.cloneCell(a);d.add(e,a,d.getChildCount(e));d.setTerminal(a,f,!0);d.setTerminal(a,g,!1)}var k=d.getGeometry(a);null!=k&&(k=k.clone(),k.points=b,d.setGeometry(a,k))}finally{d.endUpdate()}return a};\r\nmxEdgeHandler.prototype.addPoint=function(a,b){var c=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(b),mxEvent.getClientY(b)),d=this.graph.isGridEnabledEvent(b);this.convertPoint(c,d);this.addPointAt(a,c.x,c.y);mxEvent.consume(b)};\r\nmxEdgeHandler.prototype.addPointAt=function(a,b,c){var d=this.graph.getCellGeometry(a.cell);b=new mxPoint(b,c);if(null!=d){var d=d.clone(),e=this.graph.view.translate;c=this.graph.view.scale;var e=new mxPoint(e.x*c,e.y*c),f=this.graph.model.getParent(this.state.cell);this.graph.model.isVertex(f)&&(e=this.graph.view.getState(f),e=new mxPoint(e.x,e.y));c=mxUtils.findNearestSegment(a,b.x*c+e.x,b.y*c+e.y);null==d.points?d.points=[b]:d.points.splice(c,0,b);this.graph.getModel().setGeometry(a.cell,d);this.refresh();\r\nthis.redraw()}};mxEdgeHandler.prototype.removePoint=function(a,b){if(0<b&&b<this.abspoints.length-1){var c=this.graph.getCellGeometry(this.state.cell);null!=c&&null!=c.points&&(c=c.clone(),c.points.splice(b-1,1),this.graph.getModel().setGeometry(a.cell,c),this.refresh(),this.redraw())}};\r\nmxEdgeHandler.prototype.getHandleFillColor=function(a){a=0==a;var b=this.state.cell,c=this.graph.getModel().getTerminal(b,a),d=mxConstants.HANDLE_FILLCOLOR;null!=c&&!this.graph.isCellDisconnectable(b,c,a)||null==c&&!this.graph.isTerminalPointMovable(b,a)?d=mxConstants.LOCKED_HANDLE_FILLCOLOR:null!=c&&this.graph.isCellDisconnectable(b,c,a)&&(d=mxConstants.CONNECT_HANDLE_FILLCOLOR);return d};\r\nmxEdgeHandler.prototype.redraw=function(a){if(null!=this.state){this.abspoints=this.state.absolutePoints.slice();var b=this.graph.getModel().getGeometry(this.state.cell);if(null!=b&&(b=b.points,null!=this.bends&&0<this.bends.length&&null!=b)){null==this.points&&(this.points=[]);for(var c=1;c<this.bends.length-1;c++)null!=this.bends[c]&&null!=this.abspoints[c]&&(this.points[c-1]=b[c-1])}this.drawPreview();a||this.redrawHandles()}};\r\nmxEdgeHandler.prototype.redrawHandles=function(){var a=this.state.cell,b=this.labelShape.bounds;this.label=new mxPoint(this.state.absoluteOffset.x,this.state.absoluteOffset.y);this.labelShape.bounds=new mxRectangle(Math.round(this.label.x-b.width/2),Math.round(this.label.y-b.height/2),b.width,b.height);b=this.graph.getLabel(a);this.labelShape.visible=null!=b&&0<b.length&&this.graph.isCellEditable(this.state.cell)&&this.graph.isLabelMovable(a);if(null!=this.bends&&0<this.bends.length){var c=this.abspoints.length-\r\n1,a=this.abspoints[0],d=a.x,e=a.y,b=this.bends[0].bounds;this.bends[0].bounds=new mxRectangle(Math.floor(d-b.width/2),Math.floor(e-b.height/2),b.width,b.height);this.bends[0].fill=this.getHandleFillColor(0);this.bends[0].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[0].bounds);var c=this.abspoints[c],d=c.x,e=c.y,f=this.bends.length-1,b=this.bends[f].bounds;this.bends[f].bounds=new mxRectangle(Math.floor(d-b.width/2),Math.floor(e-b.height/2),b.width,b.height);this.bends[f].fill=\r\nthis.getHandleFillColor(f);this.bends[f].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[f].bounds);this.redrawInnerBends(a,c)}if(null!=this.abspoints&&null!=this.virtualBends&&0<this.virtualBends.length)for(c=this.abspoints[0],a=0;a<this.virtualBends.length;a++)null!=this.virtualBends[a]&&null!=this.abspoints[a+1]&&(d=this.abspoints[a+1],b=this.virtualBends[a],b.bounds=new mxRectangle(Math.floor(c.x+(d.x-c.x)/2-b.bounds.width/2),Math.floor(c.y+(d.y-c.y)/2-b.bounds.height/2),b.bounds.width,\r\nb.bounds.height),b.redraw(),mxUtils.setOpacity(b.node,this.virtualBendOpacity),c=d,this.manageLabelHandle&&this.checkLabelHandle(b.bounds));null!=this.labelShape&&this.labelShape.redraw();if(null!=this.customHandles)for(a=0;a<this.customHandles.length;a++)b=this.customHandles[a].shape.node.style.display,this.customHandles[a].redraw(),this.customHandles[a].shape.node.style.display=b,this.customHandles[a].shape.node.style.visibility=this.isCustomHandleVisible(this.customHandles[a])?"":"hidden"};\r\nmxEdgeHandler.prototype.isCustomHandleVisible=function(a){return!this.graph.isEditing()&&1==this.state.view.graph.getSelectionCount()};\r\nmxEdgeHandler.prototype.setHandlesVisible=function(a){if(null!=this.bends)for(var b=0;b<this.bends.length;b++)this.bends[b].node.style.display=a?"":"none";if(null!=this.virtualBends)for(b=0;b<this.virtualBends.length;b++)this.virtualBends[b].node.style.display=a?"":"none";null!=this.labelShape&&(this.labelShape.node.style.display=a?"":"none");if(null!=this.customHandles)for(b=0;b<this.customHandles.length;b++)this.customHandles[b].setVisible(a)};\r\nmxEdgeHandler.prototype.redrawInnerBends=function(a,b){for(var c=1;c<this.bends.length-1;c++)if(null!=this.bends[c])if(null!=this.abspoints[c]){var d=this.abspoints[c].x,e=this.abspoints[c].y,f=this.bends[c].bounds;this.bends[c].node.style.visibility="visible";this.bends[c].bounds=new mxRectangle(Math.round(d-f.width/2),Math.round(e-f.height/2),f.width,f.height);this.manageLabelHandle?this.checkLabelHandle(this.bends[c].bounds):null==this.handleImage&&this.labelShape.visible&&mxUtils.intersects(this.bends[c].bounds,\r\nthis.labelShape.bounds)&&(w=mxConstants.HANDLE_SIZE+3,h=mxConstants.HANDLE_SIZE+3,this.bends[c].bounds=new mxRectangle(Math.round(d-w/2),Math.round(e-h/2),w,h));this.bends[c].redraw()}else this.bends[c].destroy(),this.bends[c]=null};mxEdgeHandler.prototype.checkLabelHandle=function(a){if(null!=this.labelShape){var b=this.labelShape.bounds;mxUtils.intersects(a,b)&&(a.getCenterY()<b.getCenterY()?b.y=a.y+a.height:b.y=a.y-b.height)}};\r\nmxEdgeHandler.prototype.drawPreview=function(){try{if(this.isLabel){var a=this.labelShape.bounds,b=new mxRectangle(Math.round(this.label.x-a.width/2),Math.round(this.label.y-a.height/2),a.width,a.height);this.labelShape.bounds.equals(b)||(this.labelShape.bounds=b,this.labelShape.redraw())}null==this.shape||mxUtils.equalPoints(this.shape.points,this.abspoints)||(this.shape.apply(this.state),this.shape.points=this.abspoints.slice(),this.shape.scale=this.state.view.scale,this.shape.isDashed=this.isSelectionDashed(),\r\nthis.shape.stroke=this.getSelectionColor(),this.shape.strokewidth=this.getSelectionStrokeWidth()/this.shape.scale/this.shape.scale,this.shape.isShadow=!1,this.shape.redraw());this.updateParentHighlight()}catch(c){}};\r\nmxEdgeHandler.prototype.refresh=function(){null!=this.state&&(this.abspoints=this.getSelectionPoints(this.state),this.points=[],null!=this.bends&&(this.destroyBends(this.bends),this.bends=this.createBends()),null!=this.virtualBends&&(this.destroyBends(this.virtualBends),this.virtualBends=this.createVirtualBends()),null!=this.customHandles&&(this.destroyBends(this.customHandles),this.customHandles=this.createCustomHandles()),null!=this.labelShape&&null!=this.labelShape.node&&null!=this.labelShape.node.parentNode&&\r\nthis.labelShape.node.parentNode.appendChild(this.labelShape.node))};mxEdgeHandler.prototype.isDestroyed=function(){return null==this.shape};mxEdgeHandler.prototype.destroyBends=function(a){if(null!=a)for(var b=0;b<a.length;b++)null!=a[b]&&a[b].destroy()};\r\nmxEdgeHandler.prototype.destroy=function(){null!=this.escapeHandler&&(this.state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.marker&&(this.marker.destroy(),this.marker=null);null!=this.shape&&(this.shape.destroy(),this.shape=null);if(null!=this.parentHighlight){var a=this.graph.model.getParent(this.state.cell),a=this.graph.view.getState(a);null!=a&&a.parentHighlight==this.parentHighlight&&(a.parentHighlight=null);this.parentHighlight.destroy();this.parentHighlight=\r\nnull}null!=this.labelShape&&(this.labelShape.destroy(),this.labelShape=null);null!=this.constraintHandler&&(this.constraintHandler.destroy(),this.constraintHandler=null);this.destroyBends(this.virtualBends);this.virtualBends=null;this.destroyBends(this.customHandles);this.customHandles=null;this.destroyBends(this.bends);this.bends=null;this.removeHint()};function mxElbowEdgeHandler(a){mxEdgeHandler.call(this,a)}mxUtils.extend(mxElbowEdgeHandler,mxEdgeHandler);\r\nmxElbowEdgeHandler.prototype.flipEnabled=!0;mxElbowEdgeHandler.prototype.doubleClickOrientationResource="none"!=mxClient.language?"doubleClickOrientation":"";\r\nmxElbowEdgeHandler.prototype.createBends=function(){var a=[],b=this.createHandleShape(0);this.initBend(b);b.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);a.push(b);a.push(this.createVirtualBend(mxUtils.bind(this,function(a){!mxEvent.isConsumed(a)&&this.flipEnabled&&(this.graph.flipEdge(this.state.cell,a),mxEvent.consume(a))})));this.points.push(new mxPoint(0,0));b=this.createHandleShape(2);this.initBend(b);b.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);a.push(b);return a};\r\nmxElbowEdgeHandler.prototype.createVirtualBend=function(a){var b=this.createHandleShape();this.initBend(b,a);b.setCursor(this.getCursorForBend());this.graph.isCellBendable(this.state.cell)||(b.node.style.display="none");return b};\r\nmxElbowEdgeHandler.prototype.getCursorForBend=function(){return this.state.style[mxConstants.STYLE_EDGE]==mxEdgeStyle.TopToBottom||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.EDGESTYLE_TOPTOBOTTOM||(this.state.style[mxConstants.STYLE_EDGE]==mxEdgeStyle.ElbowConnector||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.EDGESTYLE_ELBOW)&&this.state.style[mxConstants.STYLE_ELBOW]==mxConstants.ELBOW_VERTICAL?"row-resize":"col-resize"};\r\nmxElbowEdgeHandler.prototype.getTooltipForNode=function(a){var b=null;null==this.bends||null==this.bends[1]||a!=this.bends[1].node&&a.parentNode!=this.bends[1].node||(b=this.doubleClickOrientationResource,b=mxResources.get(b)||b);return b};\r\nmxElbowEdgeHandler.prototype.convertPoint=function(a,b){var c=this.graph.getView().getScale(),d=this.graph.getView().getTranslate(),e=this.state.origin;b&&(a.x=this.graph.snap(a.x),a.y=this.graph.snap(a.y));a.x=Math.round(a.x/c-d.x-e.x);a.y=Math.round(a.y/c-d.y-e.y);return a};\r\nmxElbowEdgeHandler.prototype.redrawInnerBends=function(a,b){var c=this.graph.getModel().getGeometry(this.state.cell),d=this.state.absolutePoints,e=null;1<d.length?(a=d[1],b=d[d.length-2]):null!=c.points&&0<c.points.length&&(e=d[0]);e=null==e?new mxPoint(a.x+(b.x-a.x)/2,a.y+(b.y-a.y)/2):new mxPoint(this.graph.getView().scale*(e.x+this.graph.getView().translate.x+this.state.origin.x),this.graph.getView().scale*(e.y+this.graph.getView().translate.y+this.state.origin.y));d=this.bends[1].bounds;c=d.width;\r\nd=d.height;c=new mxRectangle(Math.round(e.x-c/2),Math.round(e.y-d/2),c,d);this.manageLabelHandle?this.checkLabelHandle(c):null==this.handleImage&&this.labelShape.visible&&mxUtils.intersects(c,this.labelShape.bounds)&&(c=mxConstants.HANDLE_SIZE+3,d=mxConstants.HANDLE_SIZE+3,c=new mxRectangle(Math.floor(e.x-c/2),Math.floor(e.y-d/2),c,d));this.bends[1].bounds=c;this.bends[1].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[1].bounds)};\r\nfunction mxEdgeSegmentHandler(a){mxEdgeHandler.call(this,a)}mxUtils.extend(mxEdgeSegmentHandler,mxElbowEdgeHandler);\r\nmxEdgeSegmentHandler.prototype.getCurrentPoints=function(){var a=this.state.absolutePoints;if(null!=a){var b=Math.max(1,this.graph.view.scale);if(2==a.length||3==a.length&&(Math.abs(a[0].x-a[1].x)<b&&Math.abs(a[1].x-a[2].x)<b||Math.abs(a[0].y-a[1].y)<b&&Math.abs(a[1].y-a[2].y)<b))var b=a[0].x+(a[a.length-1].x-a[0].x)/2,c=a[0].y+(a[a.length-1].y-a[0].y)/2,a=[a[0],new mxPoint(b,c),new mxPoint(b,c),a[a.length-1]]}return a};\r\nmxEdgeSegmentHandler.prototype.getPreviewPoints=function(a){if(this.isSource||this.isTarget)return mxElbowEdgeHandler.prototype.getPreviewPoints.apply(this,arguments);var b=this.getCurrentPoints(),c=this.convertPoint(b[0].clone(),!1);a=this.convertPoint(a.clone(),!1);for(var d=[],e=1;e<b.length;e++){var f=this.convertPoint(b[e].clone(),!1);e==this.index&&(0==Math.round(c.x-f.x)&&(c.x=a.x,f.x=a.x),0==Math.round(c.y-f.y)&&(c.y=a.y,f.y=a.y));e<b.length-1&&d.push(f);c=f}if(1==d.length){var b=this.state.getVisibleTerminalState(!0),\r\nc=this.state.getVisibleTerminalState(!1),f=this.state.view.getScale(),g=this.state.view.getTranslate(),e=d[0].x*f+g.x,f=d[0].y*f+g.y;if(null!=b&&mxUtils.contains(b,e,f)||null!=c&&mxUtils.contains(c,e,f))d=[a,a]}return d};\r\nmxEdgeSegmentHandler.prototype.updatePreviewState=function(a,b,c,d){mxEdgeHandler.prototype.updatePreviewState.apply(this,arguments);if(!this.isSource&&!this.isTarget){b=this.convertPoint(b.clone(),!1);for(var e=a.absolutePoints,f=e[0],g=e[1],k=[],l=2;l<e.length;l++){var m=e[l];0==Math.round(f.x-g.x)&&0==Math.round(g.x-m.x)||0==Math.round(f.y-g.y)&&0==Math.round(g.y-m.y)||k.push(this.convertPoint(g.clone(),!1));f=g;g=m}f=this.state.getVisibleTerminalState(!0);g=this.state.getVisibleTerminalState(!1);\r\nl=this.state.absolutePoints;if(0==k.length&&(0==Math.round(e[0].x-e[e.length-1].x)||0==Math.round(e[0].y-e[e.length-1].y)))k=[b,b];else if(5==e.length&&2==k.length&&null!=f&&null!=g&&null!=l&&0==Math.round(l[0].x-l[l.length-1].x)){var k=this.graph.getView(),l=k.getScale(),m=k.getTranslate(),e=k.getRoutingCenterY(f)/l-m.y,n=this.graph.getConnectionConstraint(a,f,!0);null!=n&&(n=this.graph.getConnectionPoint(f,n),null!=n&&(this.convertPoint(n,!1),e=n.y));k=k.getRoutingCenterY(g)/l-m.y;if(l=this.graph.getConnectionConstraint(a,\r\ng,!1))n=this.graph.getConnectionPoint(g,l),null!=n&&(this.convertPoint(n,!1),k=n.y);k=[new mxPoint(b.x,e),new mxPoint(b.x,k)]}this.points=k;a.view.updateFixedTerminalPoints(a,f,g);a.view.updatePoints(a,this.points,f,g);a.view.updateFloatingTerminalPoints(a,f,g)}};\r\nmxEdgeSegmentHandler.prototype.connect=function(a,b,c,d,e){var f=this.graph.getModel(),g=f.getGeometry(a),k=null;if(null!=g&&null!=g.points&&0<g.points.length)for(var l=this.abspoints,m=l[0],n=l[1],k=[],p=2;p<l.length;p++){var q=l[p];0==Math.round(m.x-n.x)&&0==Math.round(n.x-q.x)||0==Math.round(m.y-n.y)&&0==Math.round(n.y-q.y)||k.push(this.convertPoint(n.clone(),!1));m=n;n=q}f.beginUpdate();try{null!=k&&(g=f.getGeometry(a),null!=g&&(g=g.clone(),g.points=k,f.setGeometry(a,g))),a=mxEdgeHandler.prototype.connect.apply(this,\r\narguments)}finally{f.endUpdate()}return a};mxEdgeSegmentHandler.prototype.getTooltipForNode=function(a){return null};mxEdgeSegmentHandler.prototype.start=function(a,b,c){mxEdgeHandler.prototype.start.apply(this,arguments);null==this.bends||null==this.bends[c]||this.isSource||this.isTarget||mxUtils.setOpacity(this.bends[c].node,100)};\r\nmxEdgeSegmentHandler.prototype.createBends=function(){var a=[],b=this.createHandleShape(0);this.initBend(b);b.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);a.push(b);var c=this.getCurrentPoints();if(this.graph.isCellBendable(this.state.cell)){null==this.points&&(this.points=[]);for(var d=0;d<c.length-1;d++){b=this.createVirtualBend();a.push(b);var e=0==Math.round(c[d].x-c[d+1].x);0==Math.round(c[d].y-c[d+1].y)&&d<c.length-2&&(e=0==Math.round(c[d].x-c[d+2].x));b.setCursor(e?"col-resize":"row-resize");\r\nthis.points.push(new mxPoint(0,0))}}b=this.createHandleShape(c.length);this.initBend(b);b.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);a.push(b);return a};mxEdgeSegmentHandler.prototype.redraw=function(){this.refresh();mxEdgeHandler.prototype.redraw.apply(this,arguments)};\r\nmxEdgeSegmentHandler.prototype.redrawInnerBends=function(a,b){if(this.graph.isCellBendable(this.state.cell)){var c=this.getCurrentPoints();if(null!=c&&1<c.length){var d=!1;if(4==c.length&&0==Math.round(c[1].x-c[2].x)&&0==Math.round(c[1].y-c[2].y))if(d=!0,0==Math.round(c[0].y-c[c.length-1].y)){var e=c[0].x+(c[c.length-1].x-c[0].x)/2;c[1]=new mxPoint(e,c[1].y);c[2]=new mxPoint(e,c[2].y)}else e=c[0].y+(c[c.length-1].y-c[0].y)/2,c[1]=new mxPoint(c[1].x,e),c[2]=new mxPoint(c[2].x,e);for(e=0;e<c.length-\r\n1;e++)if(null!=this.bends[e+1]){a=c[e];b=c[e+1];var f=new mxPoint(a.x+(b.x-a.x)/2,a.y+(b.y-a.y)/2),g=this.bends[e+1].bounds;this.bends[e+1].bounds=new mxRectangle(Math.floor(f.x-g.width/2),Math.floor(f.y-g.height/2),g.width,g.height);this.bends[e+1].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[e+1].bounds)}d&&(mxUtils.setOpacity(this.bends[1].node,this.virtualBendOpacity),mxUtils.setOpacity(this.bends[3].node,this.virtualBendOpacity))}}};\r\nfunction mxKeyHandler(a,b){null!=a&&(this.graph=a,this.target=b||document.documentElement,this.normalKeys=[],this.shiftKeys=[],this.controlKeys=[],this.controlShiftKeys=[],this.keydownHandler=mxUtils.bind(this,function(a){this.keyDown(a)}),mxEvent.addListener(this.target,"keydown",this.keydownHandler),mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()})))}mxKeyHandler.prototype.graph=null;mxKeyHandler.prototype.target=null;\r\nmxKeyHandler.prototype.normalKeys=null;mxKeyHandler.prototype.shiftKeys=null;mxKeyHandler.prototype.controlKeys=null;mxKeyHandler.prototype.controlShiftKeys=null;mxKeyHandler.prototype.enabled=!0;mxKeyHandler.prototype.isEnabled=function(){return this.enabled};mxKeyHandler.prototype.setEnabled=function(a){this.enabled=a};mxKeyHandler.prototype.bindKey=function(a,b){this.normalKeys[a]=b};mxKeyHandler.prototype.bindShiftKey=function(a,b){this.shiftKeys[a]=b};\r\nmxKeyHandler.prototype.bindControlKey=function(a,b){this.controlKeys[a]=b};mxKeyHandler.prototype.bindControlShiftKey=function(a,b){this.controlShiftKeys[a]=b};mxKeyHandler.prototype.isControlDown=function(a){return mxEvent.isControlDown(a)};mxKeyHandler.prototype.getFunction=function(a){return null==a||mxEvent.isAltDown(a)?null:this.isControlDown(a)?mxEvent.isShiftDown(a)?this.controlShiftKeys[a.keyCode]:this.controlKeys[a.keyCode]:mxEvent.isShiftDown(a)?this.shiftKeys[a.keyCode]:this.normalKeys[a.keyCode]};\r\nmxKeyHandler.prototype.isGraphEvent=function(a){var b=mxEvent.getSource(a);return b==this.target||b.parentNode==this.target||null!=this.graph.cellEditor&&this.graph.cellEditor.isEventSource(a)?!0:mxUtils.isAncestorNode(this.graph.container,b)};mxKeyHandler.prototype.keyDown=function(a){if(this.isEnabledForEvent(a))if(27==a.keyCode)this.escape(a);else if(!this.isEventIgnored(a)){var b=this.getFunction(a);null!=b&&(b(a),mxEvent.consume(a))}};\r\nmxKeyHandler.prototype.isEnabledForEvent=function(a){return this.graph.isEnabled()&&!mxEvent.isConsumed(a)&&this.isGraphEvent(a)&&this.isEnabled()};mxKeyHandler.prototype.isEventIgnored=function(a){return this.graph.isEditing()};mxKeyHandler.prototype.escape=function(a){this.graph.isEscapeEnabled()&&this.graph.escape(a)};\r\nmxKeyHandler.prototype.destroy=function(){null!=this.target&&null!=this.keydownHandler&&(mxEvent.removeListener(this.target,"keydown",this.keydownHandler),this.keydownHandler=null);this.target=null};function mxTooltipHandler(a,b){null!=a&&(this.graph=a,this.delay=b||500,this.graph.addMouseListener(this))}mxTooltipHandler.prototype.zIndex=10005;mxTooltipHandler.prototype.graph=null;mxTooltipHandler.prototype.delay=null;mxTooltipHandler.prototype.ignoreTouchEvents=!0;\r\nmxTooltipHandler.prototype.hideOnHover=!1;mxTooltipHandler.prototype.destroyed=!1;mxTooltipHandler.prototype.enabled=!0;mxTooltipHandler.prototype.isEnabled=function(){return this.enabled};mxTooltipHandler.prototype.setEnabled=function(a){this.enabled=a};mxTooltipHandler.prototype.isHideOnHover=function(){return this.hideOnHover};mxTooltipHandler.prototype.setHideOnHover=function(a){this.hideOnHover=a};\r\nmxTooltipHandler.prototype.init=function(){null!=document.body&&(this.div=document.createElement("div"),this.div.className="mxTooltip",this.div.style.visibility="hidden",document.body.appendChild(this.div),mxEvent.addGestureListeners(this.div,mxUtils.bind(this,function(a){"A"!=mxEvent.getSource(a).nodeName&&this.hideTooltip()})))};mxTooltipHandler.prototype.getStateForEvent=function(a){return a.getState()};mxTooltipHandler.prototype.mouseDown=function(a,b){this.reset(b,!1);this.hideTooltip()};\r\nmxTooltipHandler.prototype.mouseMove=function(a,b){if(b.getX()!=this.lastX||b.getY()!=this.lastY){this.reset(b,!0);var c=this.getStateForEvent(b);(this.isHideOnHover()||c!=this.state||b.getSource()!=this.node&&(!this.stateSource||null!=c&&this.stateSource==(b.isSource(c.shape)||!b.isSource(c.text))))&&this.hideTooltip()}this.lastX=b.getX();this.lastY=b.getY()};mxTooltipHandler.prototype.mouseUp=function(a,b){this.reset(b,!0);this.hideTooltip()};\r\nmxTooltipHandler.prototype.resetTimer=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null)};\r\nmxTooltipHandler.prototype.reset=function(a,b,c){if(!this.ignoreTouchEvents||mxEvent.isMouseEvent(a.getEvent()))if(this.resetTimer(),c=null!=c?c:this.getStateForEvent(a),b&&this.isEnabled()&&null!=c&&(null==this.div||"hidden"==this.div.style.visibility)){var d=a.getSource(),e=a.getX(),f=a.getY(),g=a.isSource(c.shape)||a.isSource(c.text);this.thread=window.setTimeout(mxUtils.bind(this,function(){if(!this.graph.isEditing()&&!this.graph.popupMenuHandler.isMenuShowing()&&!this.graph.isMouseDown){var a=\r\nthis.graph.getTooltip(c,d,e,f);this.show(a,e,f);this.state=c;this.node=d;this.stateSource=g}}),this.delay)}};mxTooltipHandler.prototype.hide=function(){this.resetTimer();this.hideTooltip()};mxTooltipHandler.prototype.hideTooltip=function(){null!=this.div&&(this.div.style.visibility="hidden",this.div.innerHTML="")};\r\nmxTooltipHandler.prototype.show=function(a,b,c){if(!this.destroyed&&null!=a&&0<a.length){null==this.div&&this.init();var d=mxUtils.getScrollOrigin();this.div.style.zIndex=this.zIndex;this.div.style.left=b+d.x+"px";this.div.style.top=c+mxConstants.TOOLTIP_VERTICAL_OFFSET+d.y+"px";mxUtils.isNode(a)?(this.div.innerHTML="",this.div.appendChild(a)):this.div.innerHTML=a.replace(/\\n/g,"<br>");this.div.style.visibility="";mxUtils.fit(this.div)}};\r\nmxTooltipHandler.prototype.destroy=function(){this.destroyed||(this.graph.removeMouseListener(this),mxEvent.release(this.div),null!=this.div&&null!=this.div.parentNode&&this.div.parentNode.removeChild(this.div),this.destroyed=!0,this.div=null)};function mxCellTracker(a,b,c){mxCellMarker.call(this,a,b);this.graph.addMouseListener(this);null!=c&&(this.getCell=c);mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()}))}mxUtils.extend(mxCellTracker,mxCellMarker);\r\nmxCellTracker.prototype.mouseDown=function(a,b){};mxCellTracker.prototype.mouseMove=function(a,b){this.isEnabled()&&this.process(b)};mxCellTracker.prototype.mouseUp=function(a,b){};mxCellTracker.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.graph.removeMouseListener(this),mxCellMarker.prototype.destroy.apply(this))};\r\nfunction mxCellHighlight(a,b,c,d){null!=a&&(this.graph=a,this.highlightColor=null!=b?b:mxConstants.DEFAULT_VALID_COLOR,this.strokeWidth=null!=c?c:mxConstants.HIGHLIGHT_STROKEWIDTH,this.dashed=null!=d?d:!1,this.opacity=mxConstants.HIGHLIGHT_OPACITY,this.repaintHandler=mxUtils.bind(this,function(){if(null!=this.state){var a=this.graph.view.getState(this.state.cell);null==a?this.hide():(this.state=a,this.repaint())}}),this.graph.getView().addListener(mxEvent.SCALE,this.repaintHandler),this.graph.getView().addListener(mxEvent.TRANSLATE,\r\nthis.repaintHandler),this.graph.getView().addListener(mxEvent.SCALE_AND_TRANSLATE,this.repaintHandler),this.graph.getModel().addListener(mxEvent.CHANGE,this.repaintHandler),this.resetHandler=mxUtils.bind(this,function(){this.hide()}),this.graph.getView().addListener(mxEvent.DOWN,this.resetHandler),this.graph.getView().addListener(mxEvent.UP,this.resetHandler))}mxCellHighlight.prototype.keepOnTop=!1;mxCellHighlight.prototype.graph=null;mxCellHighlight.prototype.state=null;\r\nmxCellHighlight.prototype.spacing=2;mxCellHighlight.prototype.resetHandler=null;mxCellHighlight.prototype.setHighlightColor=function(a){this.highlightColor=a;null!=this.shape&&(this.shape.stroke=a)};mxCellHighlight.prototype.drawHighlight=function(){this.shape=this.createShape();this.repaint();this.keepOnTop||this.shape.node.parentNode.firstChild==this.shape.node||this.shape.node.parentNode.insertBefore(this.shape.node,this.shape.node.parentNode.firstChild)};\r\nmxCellHighlight.prototype.createShape=function(){var a=this.graph.cellRenderer.createShape(this.state);a.svgStrokeTolerance=this.graph.tolerance;a.points=this.state.absolutePoints;a.apply(this.state);a.stroke=this.highlightColor;a.opacity=this.opacity;a.isDashed=this.dashed;a.isShadow=!1;a.dialect=mxConstants.DIALECT_SVG;a.init(this.graph.getView().getOverlayPane());mxEvent.redirectMouseEvents(a.node,this.graph,this.state);this.graph.dialect!=mxConstants.DIALECT_SVG?a.pointerEvents=!1:a.svgPointerEvents=\r\n"stroke";return a};mxCellHighlight.prototype.getStrokeWidth=function(a){return this.strokeWidth};\r\nmxCellHighlight.prototype.repaint=function(){null!=this.state&&null!=this.shape&&(this.shape.scale=this.state.view.scale,this.graph.model.isEdge(this.state.cell)?(this.shape.strokewidth=this.getStrokeWidth(),this.shape.points=this.state.absolutePoints,this.shape.outline=!1):(this.shape.bounds=new mxRectangle(this.state.x-this.spacing,this.state.y-this.spacing,this.state.width+2*this.spacing,this.state.height+2*this.spacing),this.shape.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||\r\n"0"),this.shape.strokewidth=this.getStrokeWidth()/this.state.view.scale,this.shape.outline=!0),null!=this.state.shape&&this.shape.setCursor(this.state.shape.getCursor()),this.shape.redraw())};mxCellHighlight.prototype.hide=function(){this.highlight(null)};mxCellHighlight.prototype.highlight=function(a){this.state!=a&&(null!=this.shape&&(this.shape.destroy(),this.shape=null),this.state=a,null!=this.state&&this.drawHighlight())};\r\nmxCellHighlight.prototype.isHighlightAt=function(a,b){var c=!1;if(null!=this.shape&&null!=document.elementFromPoint)for(var d=document.elementFromPoint(a,b);null!=d;){if(d==this.shape.node){c=!0;break}d=d.parentNode}return c};mxCellHighlight.prototype.destroy=function(){this.graph.getView().removeListener(this.resetHandler);this.graph.getView().removeListener(this.repaintHandler);this.graph.getModel().removeListener(this.repaintHandler);null!=this.shape&&(this.shape.destroy(),this.shape=null)};\r\nvar mxCodecRegistry={codecs:[],aliases:[],register:function(a){if(null!=a){var b=a.getName();mxCodecRegistry.codecs[b]=a;var c=mxUtils.getFunctionName(a.template.constructor);c!=b&&mxCodecRegistry.addAlias(c,b)}return a},addAlias:function(a,b){mxCodecRegistry.aliases[a]=b},getCodec:function(a){var b=null;if(null!=a){var b=mxUtils.getFunctionName(a),c=mxCodecRegistry.aliases[b];null!=c&&(b=c);b=mxCodecRegistry.codecs[b];if(null==b)try{b=new mxObjectCodec(new a),mxCodecRegistry.register(b)}catch(d){}}return b}};\r\nfunction mxCodec(a){this.document=a||mxUtils.createXmlDocument();this.objects=[]}mxCodec.prototype.document=null;mxCodec.prototype.objects=null;mxCodec.prototype.elements=null;mxCodec.prototype.encodeDefaults=!1;mxCodec.prototype.putObject=function(a,b){return this.objects[a]=b};mxCodec.prototype.getObject=function(a){var b=null;null!=a&&(b=this.objects[a],null==b&&(b=this.lookup(a),null==b&&(a=this.getElementById(a),null!=a&&(b=this.decode(a)))));return b};mxCodec.prototype.lookup=function(a){return null};\r\nmxCodec.prototype.getElementById=function(a){this.updateElements();return this.elements[a]};mxCodec.prototype.updateElements=function(){null==this.elements&&(this.elements={},null!=this.document.documentElement&&this.addElement(this.document.documentElement))};\r\nmxCodec.prototype.addElement=function(a){if(a.nodeType==mxConstants.NODETYPE_ELEMENT){var b=a.getAttribute("id");if(null!=b)if(null==this.elements[b])this.elements[b]=a;else if(this.elements[b]!=a)throw Error(b+": Duplicate ID");}for(a=a.firstChild;null!=a;)this.addElement(a),a=a.nextSibling};mxCodec.prototype.getId=function(a){var b=null;null!=a&&(b=this.reference(a),null==b&&a instanceof mxCell&&(b=a.getId(),null==b&&(b=mxCellPath.create(a),0==b.length&&(b="root"))));return b};\r\nmxCodec.prototype.reference=function(a){return null};mxCodec.prototype.encode=function(a){var b=null;if(null!=a&&null!=a.constructor){var c=mxCodecRegistry.getCodec(a.constructor);null!=c?b=c.encode(this,a):mxUtils.isNode(a)?b=mxUtils.importNode(this.document,a,!0):mxLog.warn("mxCodec.encode: No codec for "+mxUtils.getFunctionName(a.constructor))}return b};\r\nmxCodec.prototype.decode=function(a,b){this.updateElements();var c=null;if(null!=a&&a.nodeType==mxConstants.NODETYPE_ELEMENT){c=null;try{c=window[a.nodeName]}catch(d){}c=mxCodecRegistry.getCodec(c);null!=c?c=c.decode(this,a,b):(c=a.cloneNode(!0),c.removeAttribute("as"))}return c};mxCodec.prototype.encodeCell=function(a,b,c){b.appendChild(this.encode(a));if(null==c||c){c=a.getChildCount();for(var d=0;d<c;d++)this.encodeCell(a.getChildAt(d),b)}};\r\nmxCodec.prototype.isCellCodec=function(a){return null!=a&&"function"==typeof a.isCellCodec?a.isCellCodec():!1};mxCodec.prototype.decodeCell=function(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&a.nodeType==mxConstants.NODETYPE_ELEMENT){c=mxCodecRegistry.getCodec(a.nodeName);if(!this.isCellCodec(c))for(var d=a.firstChild;null!=d&&!this.isCellCodec(c);)c=mxCodecRegistry.getCodec(d.nodeName),d=d.nextSibling;this.isCellCodec(c)||(c=mxCodecRegistry.getCodec(mxCell));c=c.decode(this,a);b&&this.insertIntoGraph(c)}return c};\r\nmxCodec.prototype.insertIntoGraph=function(a){var b=a.parent,c=a.getTerminal(!0),d=a.getTerminal(!1);a.setTerminal(null,!1);a.setTerminal(null,!0);a.parent=null;if(null!=b){if(b==a)throw Error(b.id+": Self Reference");b.insert(a)}null!=c&&c.insertEdge(a,!0);null!=d&&d.insertEdge(a,!1)};mxCodec.prototype.setAttribute=function(a,b,c){null!=b&&null!=c&&a.setAttribute(b,c)};\r\nfunction mxObjectCodec(a,b,c,d){this.template=a;this.exclude=null!=b?b:[];this.idrefs=null!=c?c:[];this.mapping=null!=d?d:[];this.reverse={};for(var e in this.mapping)this.reverse[this.mapping[e]]=e}mxObjectCodec.allowEval=!1;mxObjectCodec.prototype.template=null;mxObjectCodec.prototype.exclude=null;mxObjectCodec.prototype.idrefs=null;mxObjectCodec.prototype.mapping=null;mxObjectCodec.prototype.reverse=null;mxObjectCodec.prototype.getName=function(){return mxUtils.getFunctionName(this.template.constructor)};\r\nmxObjectCodec.prototype.cloneTemplate=function(){return new this.template.constructor};mxObjectCodec.prototype.getFieldName=function(a){if(null!=a){var b=this.reverse[a];null!=b&&(a=b)}return a};mxObjectCodec.prototype.getAttributeName=function(a){if(null!=a){var b=this.mapping[a];null!=b&&(a=b)}return a};mxObjectCodec.prototype.isExcluded=function(a,b,c,d){return b==mxObjectIdentity.FIELD_NAME||0<=mxUtils.indexOf(this.exclude,b)};\r\nmxObjectCodec.prototype.isReference=function(a,b,c,d){return 0<=mxUtils.indexOf(this.idrefs,b)};mxObjectCodec.prototype.encode=function(a,b){var c=a.document.createElement(this.getName());b=this.beforeEncode(a,b,c);this.encodeObject(a,b,c);return this.afterEncode(a,b,c)};mxObjectCodec.prototype.encodeObject=function(a,b,c){a.setAttribute(c,"id",a.getId(b));for(var d in b){var e=d,f=b[e];null==f||this.isExcluded(b,e,f,!0)||(mxUtils.isInteger(e)&&(e=null),this.encodeValue(a,b,e,f,c))}};\r\nmxObjectCodec.prototype.encodeValue=function(a,b,c,d,e){if(null!=d){if(this.isReference(b,c,d,!0)){var f=a.getId(d);if(null==f){mxLog.warn("mxObjectCodec.encode: No ID for "+this.getName()+"."+c+"="+d);return}d=f}f=this.template[c];if(null==c||a.encodeDefaults||f!=d)c=this.getAttributeName(c),this.writeAttribute(a,b,c,d,e)}};mxObjectCodec.prototype.writeAttribute=function(a,b,c,d,e){"object"!=typeof d?this.writePrimitiveAttribute(a,b,c,d,e):this.writeComplexAttribute(a,b,c,d,e)};\r\nmxObjectCodec.prototype.writePrimitiveAttribute=function(a,b,c,d,e){d=this.convertAttributeToXml(a,b,c,d,e);null==c?(b=a.document.createElement("add"),"function"==typeof d?b.appendChild(a.document.createTextNode(d)):a.setAttribute(b,"value",d),e.appendChild(b)):"function"!=typeof d&&a.setAttribute(e,c,d)};\r\nmxObjectCodec.prototype.writeComplexAttribute=function(a,b,c,d,e){a=a.encode(d);null!=a?(null!=c&&a.setAttribute("as",c),e.appendChild(a)):mxLog.warn("mxObjectCodec.encode: No node for "+this.getName()+"."+c+": "+d)};mxObjectCodec.prototype.convertAttributeToXml=function(a,b,c,d){this.isBooleanAttribute(a,b,c,d)&&(d=1==d?"1":"0");return d};mxObjectCodec.prototype.isBooleanAttribute=function(a,b,c,d){return"undefined"==typeof d.length&&(1==d||0==d)};\r\nmxObjectCodec.prototype.convertAttributeFromXml=function(a,b,c){var d=b.value;this.isNumericAttribute(a,b,c)&&(d=parseFloat(d),isNaN(d)||!isFinite(d))&&(d=0);return d};mxObjectCodec.prototype.isNumericAttribute=function(a,b,c){return c.constructor==mxGeometry&&("x"==b.name||"y"==b.name||"width"==b.name||"height"==b.name)||c.constructor==mxPoint&&("x"==b.name||"y"==b.name)||mxUtils.isNumeric(b.value)};mxObjectCodec.prototype.beforeEncode=function(a,b,c){return b};\r\nmxObjectCodec.prototype.afterEncode=function(a,b,c){return c};mxObjectCodec.prototype.decode=function(a,b,c){var d=b.getAttribute("id"),e=a.objects[d];null==e&&(e=c||this.cloneTemplate(),null!=d&&a.putObject(d,e));b=this.beforeDecode(a,b,e);this.decodeNode(a,b,e);return this.afterDecode(a,b,e)};mxObjectCodec.prototype.decodeNode=function(a,b,c){null!=b&&(this.decodeAttributes(a,b,c),this.decodeChildren(a,b,c))};\r\nmxObjectCodec.prototype.decodeAttributes=function(a,b,c){b=b.attributes;if(null!=b)for(var d=0;d<b.length;d++)this.decodeAttribute(a,b[d],c)};mxObjectCodec.prototype.isIgnoredAttribute=function(a,b,c){return"as"==b.nodeName||"id"==b.nodeName};\r\nmxObjectCodec.prototype.decodeAttribute=function(a,b,c){if(!this.isIgnoredAttribute(a,b,c)){var d=b.nodeName;b=this.convertAttributeFromXml(a,b,c);var e=this.getFieldName(d);if(this.isReference(c,e,b,!1)){a=a.getObject(b);if(null==a){mxLog.warn("mxObjectCodec.decode: No object for "+this.getName()+"."+d+"="+b);return}b=a}this.isExcluded(c,d,b,!1)||(c[d]=b)}};\r\nmxObjectCodec.prototype.decodeChildren=function(a,b,c){for(b=b.firstChild;null!=b;){var d=b.nextSibling;b.nodeType!=mxConstants.NODETYPE_ELEMENT||this.processInclude(a,b,c)||this.decodeChild(a,b,c);b=d}};\r\nmxObjectCodec.prototype.decodeChild=function(a,b,c){var d=this.getFieldName(b.getAttribute("as"));if(null==d||!this.isExcluded(c,d,b,!1)){var e=this.getFieldTemplate(c,d,b);"add"==b.nodeName?(a=b.getAttribute("value"),null==a&&mxObjectCodec.allowEval&&(a=mxUtils.eval(mxUtils.getTextContent(b)))):a=a.decode(b,e);try{this.addObjectValue(c,d,a,e)}catch(f){throw Error(f.message+" for "+b.nodeName);}}};\r\nmxObjectCodec.prototype.getFieldTemplate=function(a,b,c){a=a[b];a instanceof Array&&0<a.length&&(a=null);return a};mxObjectCodec.prototype.addObjectValue=function(a,b,c,d){null!=c&&c!=d&&(null!=b&&0<b.length?a[b]=c:a.push(c))};mxObjectCodec.prototype.processInclude=function(a,b,c){if("include"==b.nodeName){b=b.getAttribute("name");if(null!=b)try{var d=mxUtils.load(b).getDocumentElement();null!=d&&a.decode(d,c)}catch(e){}return!0}return!1};mxObjectCodec.prototype.beforeDecode=function(a,b,c){return b};\r\nmxObjectCodec.prototype.afterDecode=function(a,b,c){return c};\r\nmxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxCell,["children","edges","overlays","mxTransient"],["parent","source","target"]);a.isCellCodec=function(){return!0};a.isNumericAttribute=function(a,c,d){return"value"!==c.nodeName&&mxObjectCodec.prototype.isNumericAttribute.apply(this,arguments)};a.isExcluded=function(a,c,d,e){return mxObjectCodec.prototype.isExcluded.apply(this,arguments)||e&&"value"==c&&d.nodeType==mxConstants.NODETYPE_ELEMENT};a.afterEncode=function(a,c,d){if(null!=\r\nc.value&&c.value.nodeType==mxConstants.NODETYPE_ELEMENT){var b=d;d=mxUtils.importNode(a.document,c.value,!0);d.appendChild(b);a=b.getAttribute("id");d.setAttribute("id",a);b.removeAttribute("id")}return d};a.beforeDecode=function(a,c,d){var b=c.cloneNode(!0),f=this.getName();c.nodeName!=f?(b=c.getElementsByTagName(f)[0],null!=b&&b.parentNode==c?(mxUtils.removeWhitespace(b,!0),mxUtils.removeWhitespace(b,!1),b.parentNode.removeChild(b)):b=null,d.value=c.cloneNode(!0),c=d.value.getAttribute("id"),null!=\r\nc&&(d.setId(c),d.value.removeAttribute("id"))):d.setId(c.getAttribute("id"));if(null!=b)for(c=0;c<this.idrefs.length;c++){var f=this.idrefs[c],g=b.getAttribute(f);if(null!=g){b.removeAttribute(f);var k=a.objects[g]||a.lookup(g);null==k&&(g=a.getElementById(g),null!=g&&(k=(mxCodecRegistry.codecs[g.nodeName]||this).decode(a,g)));d[f]=k}}return b};return a}());\r\nmxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxGraphModel);a.encodeObject=function(a,c,d){var b=a.document.createElement("root");a.encodeCell(c.getRoot(),b);d.appendChild(b)};a.decodeChild=function(a,c,d){"root"==c.nodeName?this.decodeRoot(a,c,d):mxObjectCodec.prototype.decodeChild.apply(this,arguments)};a.decodeRoot=function(a,c,d){var b=null;for(c=c.firstChild;null!=c;){var f=a.decodeCell(c);null!=f&&null==f.getParent()&&(b=f);c=c.nextSibling}null!=b&&d.setRoot(b)};return a}());\r\nmxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxRootChange,["model","previous","root"]);a.afterEncode=function(a,c,d){a.encodeCell(c.root,d);return d};a.beforeDecode=function(a,c,d){if(null!=c.firstChild&&c.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT){c=c.cloneNode(!0);var b=c.firstChild;d.root=a.decodeCell(b,!1);d=b.nextSibling;b.parentNode.removeChild(b);for(b=d;null!=b;)d=b.nextSibling,a.decodeCell(b),b.parentNode.removeChild(b),b=d}return c};a.afterDecode=function(a,c,\r\nd){d.previous=d.root;return d};return a}());\r\nmxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxChildChange,["model","child","previousIndex"],["parent","previous"]);a.isReference=function(a,c,d,e){return"child"!=c||e&&!a.model.contains(a.previous)?0<=mxUtils.indexOf(this.idrefs,c):!0};a.isExcluded=function(a,c,d,e){return mxObjectCodec.prototype.isExcluded.apply(this,arguments)||e&&null!=d&&("previous"==c||"parent"==c)&&!a.model.contains(d)};a.afterEncode=function(a,c,d){this.isReference(c,"child",c.child,!0)?d.setAttribute("child",\r\na.getId(c.child)):a.encodeCell(c.child,d);return d};a.beforeDecode=function(a,c,d){if(null!=c.firstChild&&c.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT){c=c.cloneNode(!0);var b=c.firstChild;d.child=a.decodeCell(b,!1);d=b.nextSibling;b.parentNode.removeChild(b);for(b=d;null!=b;){d=b.nextSibling;if(b.nodeType==mxConstants.NODETYPE_ELEMENT){var f=b.getAttribute("id");null==a.lookup(f)&&a.decodeCell(b)}b.parentNode.removeChild(b);b=d}}else b=c.getAttribute("child"),d.child=a.getObject(b);return c};\r\na.afterDecode=function(a,c,d){null!=d.child&&(null!=d.child.parent&&null!=d.previous&&d.child.parent!=d.previous&&(d.previous=d.child.parent),d.child.parent=d.previous,d.previous=d.parent,d.previousIndex=d.index);return d};return a}());mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxTerminalChange,["model","previous"],["cell","terminal"]);a.afterDecode=function(a,c,d){d.previous=d.terminal;return d};return a}());\r\nvar mxGenericChangeCodec=function(a,b){var c=new mxObjectCodec(a,["model","previous"],["cell"]);c.afterDecode=function(a,c,f){mxUtils.isNode(f.cell)&&(f.cell=a.decodeCell(f.cell,!1));f.previous=f[b];return f};return c};mxCodecRegistry.register(mxGenericChangeCodec(new mxValueChange,"value"));mxCodecRegistry.register(mxGenericChangeCodec(new mxStyleChange,"style"));mxCodecRegistry.register(mxGenericChangeCodec(new mxGeometryChange,"geometry"));\r\nmxCodecRegistry.register(mxGenericChangeCodec(new mxCollapseChange,"collapsed"));mxCodecRegistry.register(mxGenericChangeCodec(new mxVisibleChange,"visible"));mxCodecRegistry.register(mxGenericChangeCodec(new mxCellAttributeChange,"value"));mxCodecRegistry.register(function(){return new mxObjectCodec(new mxGraph,"graphListeners eventListeners view container cellRenderer editor selection".split(" "))}());\r\nmxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxGraphView);a.encode=function(a,c){return this.encodeCell(a,c,c.graph.getModel().getRoot())};a.encodeCell=function(a,c,d){var b=c.graph.getModel(),f=c.getState(d),g=b.getParent(d);if(null==g||null!=f){var k=b.getChildCount(d),l=c.graph.getCellGeometry(d),m=null;g==b.getRoot()?m="layer":null==g?m="graph":b.isEdge(d)?m="edge":0<k&&null!=l?m="group":b.isVertex(d)&&(m="vertex");if(null!=m){var n=a.document.createElement(m);null!=c.graph.getLabel(d)&&\r\n(n.setAttribute("label",c.graph.getLabel(d)),c.graph.isHtmlLabel(d)&&n.setAttribute("html",!0));if(null==g){var p=c.getGraphBounds();null!=p&&(n.setAttribute("x",Math.round(p.x)),n.setAttribute("y",Math.round(p.y)),n.setAttribute("width",Math.round(p.width)),n.setAttribute("height",Math.round(p.height)));n.setAttribute("scale",c.scale)}else if(null!=f&&null!=l){for(p in f.style)g=f.style[p],"function"==typeof g&&"object"==typeof g&&(g=mxStyleRegistry.getName(g)),null!=g&&"function"!=typeof g&&"object"!=\r\ntypeof g&&n.setAttribute(p,g);g=f.absolutePoints;if(null!=g&&0<g.length){l=Math.round(g[0].x)+","+Math.round(g[0].y);for(p=1;p<g.length;p++)l+=" "+Math.round(g[p].x)+","+Math.round(g[p].y);n.setAttribute("points",l)}else n.setAttribute("x",Math.round(f.x)),n.setAttribute("y",Math.round(f.y)),n.setAttribute("width",Math.round(f.width)),n.setAttribute("height",Math.round(f.height));p=f.absoluteOffset;null!=p&&(0!=p.x&&n.setAttribute("dx",Math.round(p.x)),0!=p.y&&n.setAttribute("dy",Math.round(p.y)))}for(p=\r\n0;p<k;p++)f=this.encodeCell(a,c,b.getChildAt(d,p)),null!=f&&n.appendChild(f)}}return n};return a}());\r\nvar mxStylesheetCodec=mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxStylesheet);a.encode=function(a,c){var b=a.document.createElement(this.getName()),e;for(e in c.styles){var f=c.styles[e],g=a.document.createElement("add");if(null!=e){g.setAttribute("as",e);for(var k in f){var l=this.getStringValue(k,f[k]);if(null!=l){var m=a.document.createElement("add");m.setAttribute("value",l);m.setAttribute("as",k);g.appendChild(m)}}0<g.childNodes.length&&b.appendChild(g)}}return b};a.getStringValue=\r\nfunction(a,c){var b=typeof c;"function"==b?c=mxStyleRegistry.getName(c):"object"==b&&(c=null);return c};a.decode=function(a,c,d){d=d||new this.template.constructor;var b=c.getAttribute("id");null!=b&&(a.objects[b]=d);for(c=c.firstChild;null!=c;){if(!this.processInclude(a,c,d)&&"add"==c.nodeName&&(b=c.getAttribute("as"),null!=b)){var f=c.getAttribute("extend"),g=null!=f?mxUtils.clone(d.styles[f]):null;null==g&&(null!=f&&mxLog.warn("mxStylesheetCodec.decode: stylesheet "+f+" not found to extend"),g=\r\n{});for(f=c.firstChild;null!=f;){if(f.nodeType==mxConstants.NODETYPE_ELEMENT){var k=f.getAttribute("as");if("add"==f.nodeName){var l=mxUtils.getTextContent(f);null!=l&&0<l.length&&mxStylesheetCodec.allowEval?l=mxUtils.eval(l):(l=f.getAttribute("value"),mxUtils.isNumeric(l)&&(l=parseFloat(l)));null!=l&&(g[k]=l)}else"remove"==f.nodeName&&delete g[k]}f=f.nextSibling}d.putCellStyle(b,g)}c=c.nextSibling}return d};return a}());mxStylesheetCodec.allowEval=!0;/*\r\n GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html\r\n @author Jan Odvarko, http://odvarko.cz\r\n @created 2008-06-15\r\n @updated 2012-01-19\r\n @link http://jscolor.com\r\n*/\r\nvar mxJSColor={bindClass:"color",binding:!0,preloading:!0,install:function(){},init:function(){mxJSColor.preloading&&mxJSColor.preload()},getDir:function(){return IMAGE_PATH+"/"},detectDir:function(){for(var a=location.href,b=document.getElementsByTagName("base"),c=0;c<b.length;c+=1)b[c].href&&(a=b[c].href);b=document.getElementsByTagName("script");for(c=0;c<b.length;c+=1)if(b[c].src&&/(^|\\/)jscolor\\.js([?#].*)?$/i.test(b[c].src))return a=(new mxJSColor.URI(b[c].src)).toAbsolute(a),a.path=a.path.replace(/[^\\/]+$/,\r\n""),a.query=null,a.fragment=null,a.toString();return!1},preload:function(){for(var a in mxJSColor.imgRequire)mxJSColor.imgRequire.hasOwnProperty(a)&&mxJSColor.loadImage(a)},images:{pad:[181,101],sld:[16,101],cross:[15,15],arrow:[7,11]},imgRequire:{},imgLoaded:{},requireImage:function(a){mxJSColor.imgRequire[a]=!0},loadImage:function(a){mxJSColor.imgLoaded[a]||(mxJSColor.imgLoaded[a]=new Image,mxJSColor.imgLoaded[a].src=mxJSColor.getDir()+a)},fetchElement:function(a){return"string"===typeof a?document.getElementById(a):\r\na},addEvent:function(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)},fireEvent:function(a,b){if(a)if(document.createEvent){var c=document.createEvent("HTMLEvents");c.initEvent(b,!0,!0);a.dispatchEvent(c)}else if(document.createEventObject)c=document.createEventObject(),a.fireEvent("on"+b,c);else if(a["on"+b])a["on"+b]()},getElementPos:function(a){var b=a,c=0,d=0;if(b.offsetParent){do c+=b.offsetLeft,d+=b.offsetTop;while(b=b.offsetParent)}for(;(a=a.parentNode)&&\r\n"BODY"!==a.nodeName.toUpperCase();)c-=a.scrollLeft,d-=a.scrollTop;return[c,d]},getElementSize:function(a){return[a.offsetWidth,a.offsetHeight]},getRelMousePos:function(a){var b=0,c=0;a||(a=window.event);"number"===typeof a.offsetX?(b=a.offsetX,c=a.offsetY):"number"===typeof a.layerX&&(b=a.layerX,c=a.layerY);return{x:b,y:c}},getViewPos:function(){return"number"===typeof window.pageYOffset?[window.pageXOffset,window.pageYOffset]:document.body&&(document.body.scrollLeft||document.body.scrollTop)?[document.body.scrollLeft,\r\ndocument.body.scrollTop]:document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)?[document.documentElement.scrollLeft,document.documentElement.scrollTop]:[0,0]},getViewSize:function(){return"number"===typeof window.innerWidth?[window.innerWidth,window.innerHeight]:document.body&&(document.body.clientWidth||document.body.clientHeight)?[document.body.clientWidth,document.body.clientHeight]:document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?\r\n[document.documentElement.clientWidth,document.documentElement.clientHeight]:[0,0]},URI:function(a){function b(a){for(var b="";a;)if("../"===a.substr(0,3)||"./"===a.substr(0,2))a=a.replace(/^\\.+/,"").substr(1);else if("/./"===a.substr(0,3)||"/."===a)a="/"+a.substr(3);else if("/../"===a.substr(0,4)||"/.."===a)a="/"+a.substr(4),b=b.replace(/\\/?[^\\/]*$/,"");else if("."===a||".."===a)a="";else{var c=a.match(/^\\/?[^\\/]*/)[0];a=a.substr(c.length);b+=c}return b}this.authority=this.scheme=null;this.path=\r\n"";this.fragment=this.query=null;this.parse=function(a){a=a.match(/^(([A-Za-z][0-9A-Za-z+.-]*)(:))?((\\/\\/)([^\\/?#]*))?([^?#]*)((\\?)([^#]*))?((#)(.*))?/);this.scheme=a[3]?a[2]:null;this.authority=a[5]?a[6]:null;this.path=a[7];this.query=a[9]?a[10]:null;this.fragment=a[12]?a[13]:null;return this};this.toString=function(){var a="";null!==this.scheme&&(a=a+this.scheme+":");null!==this.authority&&(a=a+"//"+this.authority);null!==this.path&&(a+=this.path);null!==this.query&&(a=a+"?"+this.query);null!==\r\nthis.fragment&&(a=a+"#"+this.fragment);return a};this.toAbsolute=function(a){a=new mxJSColor.URI(a);var c=new mxJSColor.URI;if(null===a.scheme)return!1;null!==this.scheme&&this.scheme.toLowerCase()===a.scheme.toLowerCase()&&(this.scheme=null);null!==this.scheme?(c.scheme=this.scheme,c.authority=this.authority,c.path=b(this.path),c.query=this.query):(null!==this.authority?(c.authority=this.authority,c.path=b(this.path),c.query=this.query):(""===this.path?(c.path=a.path,c.query=null!==this.query?this.query:\r\na.query):("/"===this.path.substr(0,1)?c.path=b(this.path):(c.path=null!==a.authority&&""===a.path?"/"+this.path:a.path.replace(/[^\\/]+$/,"")+this.path,c.path=b(c.path)),c.query=this.query),c.authority=a.authority),c.scheme=a.scheme);c.fragment=this.fragment;return c};a&&this.parse(a)},color:function(a,b){function c(a,b,c){if(null===a)return[c,c,c];var d=Math.floor(a),e=c*(1-b);a=c*(1-b*(d%2?a-d:1-(a-d)));switch(d){case 6:case 0:return[c,a,e];case 1:return[a,c,e];case 2:return[e,c,a];case 3:return[e,\r\na,c];case 4:return[a,e,c];case 5:return[c,e,a]}}function d(b,c){if(!mxJSColor.picker){mxJSColor.picker={box:document.createElement("div"),boxB:document.createElement("div"),pad:document.createElement("div"),padB:document.createElement("div"),padM:document.createElement("div"),sld:document.createElement("div"),sldB:document.createElement("div"),sldM:document.createElement("div"),btn:document.createElement("div"),btnS:document.createElement("span"),btnT:document.createTextNode(r.pickerCloseText)};for(var d=\r\n0;d<mxJSColor.images.sld[1];d+=4){var k=document.createElement("div");k.style.height="4px";k.style.fontSize="1px";k.style.lineHeight="0";mxJSColor.picker.sld.appendChild(k)}mxJSColor.picker.sldB.appendChild(mxJSColor.picker.sld);mxJSColor.picker.box.appendChild(mxJSColor.picker.sldB);mxJSColor.picker.box.appendChild(mxJSColor.picker.sldM);mxJSColor.picker.padB.appendChild(mxJSColor.picker.pad);mxJSColor.picker.box.appendChild(mxJSColor.picker.padB);mxJSColor.picker.box.appendChild(mxJSColor.picker.padM);\r\nmxJSColor.picker.btnS.appendChild(mxJSColor.picker.btnT);mxJSColor.picker.btn.appendChild(mxJSColor.picker.btnS);mxJSColor.picker.box.appendChild(mxJSColor.picker.btn);mxJSColor.picker.boxB.appendChild(mxJSColor.picker.box)}var l=mxJSColor.picker;l.box.onmouseup=l.box.onmouseout=function(){mxClient.IS_TOUCH||a.focus()};l.box.onmousedown=function(){};l.box.onmousemove=function(a){if(y||B)y&&m(a),B&&n(a),document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges(),\r\np()};l.padM.onmouseup=l.padM.onmouseout=function(){y&&(y=!1,mxJSColor.fireEvent(u,"change"))};l.padM.onmousedown=function(a){switch(t){case 0:0===r.hsv[2]&&r.fromHSV(null,null,1);break;case 1:0===r.hsv[1]&&r.fromHSV(null,1,null)}y=!0;m(a);p()};l.sldM.onmouseup=l.sldM.onmouseout=function(){B&&(B=!1,mxJSColor.fireEvent(u,"change"))};l.sldM.onmousedown=function(a){B=!0;n(a);p()};d=e(r);l.box.style.width=d[0]+"px";l.box.style.height=d[1]+"px";l.boxB.style.position="absolute";l.boxB.style.clear="both";\r\nl.boxB.style.left=b+"px";l.boxB.style.top=c+"px";l.boxB.style.zIndex=r.pickerZIndex;l.boxB.style.border=r.pickerBorder+"px solid";l.boxB.style.borderColor=r.pickerBorderColor;l.boxB.style.background=r.pickerFaceColor;l.pad.style.width=mxJSColor.images.pad[0]+"px";l.pad.style.height=mxJSColor.images.pad[1]+"px";l.padB.style.position="absolute";l.padB.style.left=r.pickerFace+"px";l.padB.style.top=r.pickerFace+"px";l.padB.style.border=r.pickerInset+"px solid";l.padB.style.borderColor=r.pickerInsetColor;\r\nl.padM.style.position="absolute";l.padM.style.left="0";l.padM.style.top="0";l.padM.style.width=r.pickerFace+2*r.pickerInset+mxJSColor.images.pad[0]+mxJSColor.images.arrow[0]+"px";l.padM.style.height=l.box.style.height;l.padM.style.cursor="crosshair";l.sld.style.overflow="hidden";l.sld.style.width=mxJSColor.images.sld[0]+"px";l.sld.style.height=mxJSColor.images.sld[1]+"px";l.sldB.style.display=r.slider?"block":"none";l.sldB.style.position="absolute";l.sldB.style.right=r.pickerFace+"px";l.sldB.style.top=\r\nr.pickerFace+"px";l.sldB.style.border=r.pickerInset+"px solid";l.sldB.style.borderColor=r.pickerInsetColor;l.sldM.style.display=r.slider?"block":"none";l.sldM.style.position="absolute";l.sldM.style.right="0";l.sldM.style.top="0";l.sldM.style.width=mxJSColor.images.sld[0]+mxJSColor.images.arrow[0]+r.pickerFace+2*r.pickerInset+"px";l.sldM.style.height=l.box.style.height;try{l.sldM.style.cursor="pointer"}catch(F){l.sldM.style.cursor="hand"}l.btn.style.display=r.pickerClosable?"block":"none";l.btn.style.position=\r\n"absolute";l.btn.style.left=r.pickerFace+"px";l.btn.style.bottom=r.pickerFace+"px";l.btn.style.padding="0 15px";l.btn.style.height="18px";l.btn.style.border=r.pickerInset+"px solid";(function(){var a=r.pickerInsetColor.split(/\\s+/);l.btn.style.borderColor=2>a.length?a[0]:a[1]+" "+a[0]+" "+a[0]+" "+a[1]})();l.btn.style.color=r.pickerButtonColor;l.btn.style.font="12px sans-serif";l.btn.style.textAlign="center";try{l.btn.style.cursor="pointer"}catch(F){l.btn.style.cursor="hand"}l.btn.onmousedown=function(){r.hidePicker()};\r\nl.btnS.style.lineHeight=l.btn.style.height;switch(t){case 0:var q="hs.png";break;case 1:q="hv.png"}l.padM.style.backgroundImage="url(data:image/gif;base64,R0lGODlhDwAPAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAPAA8AAAIklB8Qx53b4otSUWcvyiz4/4AeQJbmKY4p1HHapBlwPL/uVRsFADs=)";l.padM.style.backgroundRepeat="no-repeat";l.sldM.style.backgroundImage="url(data:image/gif;base64,R0lGODlhBwALAKECAAAAAP///6g8eKg8eCH5BAEKAAIALAAAAAAHAAsAAAITTIQYcLnsgGxvijrxqdQq6DRJAQA7)";l.sldM.style.backgroundRepeat="no-repeat";\r\nl.pad.style.backgroundImage="url(\'"+mxJSColor.getDir()+q+"\')";l.pad.style.backgroundRepeat="no-repeat";l.pad.style.backgroundPosition="0 0";f();g();mxJSColor.picker.owner=r;document.getElementsByTagName("body")[0].appendChild(l.boxB)}function e(a){return[2*a.pickerInset+2*a.pickerFace+mxJSColor.images.pad[0]+(a.slider?2*a.pickerInset+2*mxJSColor.images.arrow[0]+mxJSColor.images.sld[0]:0),a.pickerClosable?4*a.pickerInset+3*a.pickerFace+mxJSColor.images.pad[1]+a.pickerButtonHeight:2*a.pickerInset+2*\r\na.pickerFace+mxJSColor.images.pad[1]]}function f(){switch(t){case 0:var a=1;break;case 1:a=2}mxJSColor.picker.padM.style.backgroundPosition=r.pickerFace+r.pickerInset+Math.round(r.hsv[0]/6*(mxJSColor.images.pad[0]-1))-Math.floor(mxJSColor.images.cross[0]/2)+"px "+(r.pickerFace+r.pickerInset+Math.round((1-r.hsv[a])*(mxJSColor.images.pad[1]-1))-Math.floor(mxJSColor.images.cross[1]/2))+"px";a=mxJSColor.picker.sld.childNodes;switch(t){case 0:for(var b=c(r.hsv[0],r.hsv[1],1),d=0;d<a.length;d+=1)a[d].style.backgroundColor=\r\n"rgb("+b[0]*(1-d/a.length)*100+"%,"+b[1]*(1-d/a.length)*100+"%,"+b[2]*(1-d/a.length)*100+"%)";break;case 1:var e,f=[r.hsv[2],0,0],d=Math.floor(r.hsv[0]),g=d%2?r.hsv[0]-d:1-(r.hsv[0]-d);switch(d){case 6:case 0:b=[0,1,2];break;case 1:b=[1,0,2];break;case 2:b=[2,0,1];break;case 3:b=[2,1,0];break;case 4:b=[1,2,0];break;case 5:b=[0,2,1]}for(d=0;d<a.length;d+=1)e=1-1/(a.length-1)*d,f[1]=f[0]*(1-e*g),f[2]=f[0]*(1-e),a[d].style.backgroundColor="rgb("+100*f[b[0]]+"%,"+100*f[b[1]]+"%,"+100*f[b[2]]+"%)"}}function g(){switch(t){case 0:var a=\r\n2;break;case 1:a=1}mxJSColor.picker.sldM.style.backgroundPosition="0 "+(r.pickerFace+r.pickerInset+Math.round((1-r.hsv[a])*(mxJSColor.images.sld[1]-1))-Math.floor(mxJSColor.images.arrow[1]/2))+"px"}function k(){return mxJSColor.picker&&mxJSColor.picker.owner===r}function l(){u!==a&&r.importColor()}function m(a){var b=mxJSColor.getRelMousePos(a);a=b.x-r.pickerFace-r.pickerInset;b=b.y-r.pickerFace-r.pickerInset;switch(t){case 0:r.fromHSV(6/(mxJSColor.images.pad[0]-1)*a,1-b/(mxJSColor.images.pad[1]-\r\n1),null,v);break;case 1:r.fromHSV(6/(mxJSColor.images.pad[0]-1)*a,null,1-b/(mxJSColor.images.pad[1]-1),v)}}function n(a){a=mxJSColor.getRelMousePos(a).y-r.pickerFace-r.pickerInset;switch(t){case 0:r.fromHSV(null,null,1-a/(mxJSColor.images.sld[1]-1),C);break;case 1:r.fromHSV(null,1-a/(mxJSColor.images.sld[1]-1),null,C)}}function p(){if(r.onImmediateChange)if("string"===typeof r.onImmediateChange)eval(r.onImmediateChange);else r.onImmediateChange(r)}this.adjust=this.required=!0;this.hash=!1;this.slider=\r\nthis.caps=!0;this.styleElement=this.valueElement=a;this.onImmediateChange=null;this.hsv=[0,0,1];this.rgb=[1,1,1];this.pickerOnfocus=!0;this.pickerMode="HSV";this.pickerPosition="bottom";this.pickerSmartPosition=!0;this.pickerButtonHeight=20;this.pickerClosable=!1;this.pickerCloseText="Close";this.pickerButtonColor="ButtonText";this.pickerFace=0;this.pickerFaceColor="ThreeDFace";this.pickerBorder=1;this.pickerBorderColor="ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight";this.pickerInset=\r\n1;this.pickerInsetColor="ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow";this.pickerZIndex=1E4;for(var q in b)b.hasOwnProperty(q)&&(this[q]=b[q]);this.hidePicker=function(){k()&&(delete mxJSColor.picker.owner,document.getElementsByTagName("body")[0].removeChild(mxJSColor.picker.boxB))};this.showPicker=function(){k()||(mxJSColor.getElementPos(a),mxJSColor.getElementSize(a),mxJSColor.getViewPos(),mxJSColor.getViewSize(),e(this),this.pickerPosition.toLowerCase(),d(0,0))};this.importColor=\r\nfunction(){u?this.adjust?!this.required&&/^\\s*$/.test(u.value)?(u.value="",x.style.backgroundImage=x.jscStyle.backgroundImage,x.style.backgroundColor=x.jscStyle.backgroundColor,x.style.color=x.jscStyle.color,this.exportColor(A|z)):this.fromString(u.value)||this.exportColor():this.fromString(u.value,A)||(x.style.backgroundImage=x.jscStyle.backgroundImage,x.style.backgroundColor=x.jscStyle.backgroundColor,x.style.color=x.jscStyle.color,this.exportColor(A|z)):this.exportColor()};this.exportColor=function(a){if(!(a&\r\nA)&&u){var b=this.toString();this.caps&&(b=b.toUpperCase());this.hash&&(b="#"+b);u.value=b}a&z||!x||(x.style.backgroundImage="none",x.style.backgroundColor="#"+this.toString(),x.style.color=.5>.213*this.rgb[0]+.715*this.rgb[1]+.072*this.rgb[2]?"#FFF":"#000");a&C||!k()||f();a&v||!k()||g()};this.fromHSV=function(a,b,d,e){0>a&&(a=0);6<a&&(a=6);0>b&&(b=0);1<b&&(b=1);0>d&&(d=0);1<d&&(d=1);this.rgb=c(null===a?this.hsv[0]:this.hsv[0]=a,null===b?this.hsv[1]:this.hsv[1]=b,null===d?this.hsv[2]:this.hsv[2]=\r\nd);this.exportColor(e)};this.fromRGB=function(a,b,c,d){0>a&&(a=0);1<a&&(a=1);0>b&&(b=0);1<b&&(b=1);0>c&&(c=0);1<c&&(c=1);a=null===a?this.rgb[0]:this.rgb[0]=a;b=null===b?this.rgb[1]:this.rgb[1]=b;var e=null===c?this.rgb[2]:this.rgb[2]=c,f=Math.min(Math.min(a,b),e);c=Math.max(Math.max(a,b),e);var g=c-f;0===g?a=[null,0,c]:(a=a===f?3+(e-b)/g:b===f?5+(a-e)/g:1+(b-a)/g,a=[6===a?0:a,g/c,c]);null!==a[0]&&(this.hsv[0]=a[0]);0!==a[2]&&(this.hsv[1]=a[1]);this.hsv[2]=a[2];this.exportColor(d)};this.fromString=\r\nfunction(a,b){var c=a.match(/^\\W*([0-9A-F]{3}([0-9A-F]{3})?)\\W*$/i);return c?(6===c[1].length?this.fromRGB(parseInt(c[1].substr(0,2),16)/255,parseInt(c[1].substr(2,2),16)/255,parseInt(c[1].substr(4,2),16)/255,b):this.fromRGB(parseInt(c[1].charAt(0)+c[1].charAt(0),16)/255,parseInt(c[1].charAt(1)+c[1].charAt(1),16)/255,parseInt(c[1].charAt(2)+c[1].charAt(2),16)/255,b),!0):!1};this.toString=function(){return(256|Math.round(255*this.rgb[0])).toString(16).substr(1)+(256|Math.round(255*this.rgb[1])).toString(16).substr(1)+\r\n(256|Math.round(255*this.rgb[2])).toString(16).substr(1)};var r=this,t="hvs"===this.pickerMode.toLowerCase()?1:0,u=mxJSColor.fetchElement(this.valueElement),x=mxJSColor.fetchElement(this.styleElement),y=!1,B=!1,A=1,z=2,C=4,v=8;u&&(q=function(){r.fromString(u.value,A);p()},mxJSColor.addEvent(u,"keyup",q),mxJSColor.addEvent(u,"input",q),mxJSColor.addEvent(u,"blur",l),u.setAttribute("autocomplete","off"));x&&(x.jscStyle={backgroundImage:x.style.backgroundImage,backgroundColor:x.style.backgroundColor,\r\ncolor:x.style.color});switch(t){case 0:mxJSColor.requireImage("hs.png");break;case 1:mxJSColor.requireImage("hv.png")}this.importColor()}};mxJSColor.install();\r\nEditor=function(a,c,d,b,f){mxEventSource.call(this);this.chromeless=null!=a?a:this.chromeless;this.initStencilRegistry();this.graph=b||this.createGraph(c,d);this.editable=null!=f?f:!a;this.undoManager=this.createUndoManager();this.status="";this.getOrCreateFilename=function(){return this.filename||mxResources.get("drawing",[Editor.pageCounter])+".xml"};this.getFilename=function(){return this.filename};this.setStatus=function(a){this.status=a;this.fireEvent(new mxEventObject("statusChanged"))};this.getStatus=\r\nfunction(){return this.status};this.graphChangeListener=function(a,b){var c=null!=b?b.getProperty("edit"):null;null!=c&&c.ignoreEdit||this.setModified(!0)};this.graph.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.graphChangeListener.apply(this,arguments)}));this.graph.resetViewOnRootChange=!1;this.init()};Editor.pageCounter=0;\r\n(function(){try{for(var a=window;null!=a.opener&&"undefined"!==typeof a.opener.Editor&&!isNaN(a.opener.Editor.pageCounter)&&a.opener!=a;)a=a.opener;null!=a&&(a.Editor.pageCounter++,Editor.pageCounter=a.Editor.pageCounter)}catch(c){}})();Editor.useLocalStorage="undefined"!=typeof Storage&&mxClient.IS_IOS;\r\nEditor.moveImage=mxClient.IS_SVG?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI4cHgiIGhlaWdodD0iMjhweCI+PGc+PC9nPjxnPjxnPjxnPjxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIuNCwyLjQpc2NhbGUoMC44KXJvdGF0ZSg0NSwxMiwxMikiIHN0cm9rZT0iIzI5YjZmMiIgZmlsbD0iIzI5YjZmMiIgZD0iTTE1LDNsMi4zLDIuM2wtMi44OSwyLjg3bDEuNDIsMS40MkwxOC43LDYuN0wyMSw5VjNIMTV6IE0zLDlsMi4zLTIuM2wyLjg3LDIuODlsMS40Mi0xLjQyTDYuNyw1LjNMOSwzSDNWOXogTTksMjEgbC0yLjMtMi4zbDIuODktMi44N2wtMS40Mi0xLjQyTDUuMywxNy4zTDMsMTV2Nkg5eiBNMjEsMTVsLTIuMywyLjNsLTIuODctMi44OWwtMS40MiwxLjQybDIuODksMi44N0wxNSwyMWg2VjE1eiIvPjwvZz48L2c+PC9nPjwvc3ZnPgo=":IMAGE_PATH+\r\n"/move.png";Editor.rowMoveImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAEBAMAAACw6DhOAAAAGFBMVEUzMzP///9tbW1QUFCKiopBQUF8fHxfX1/IXlmXAAAAFElEQVQImWNgNVdzYBAUFBRggLMAEzYBy29kEPgAAAAASUVORK5CYII=":IMAGE_PATH+"/thumb_horz.png";\r\nEditor.lightHelpImage=mxClient.IS_SVG?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDI0djI0SDB6Ii8+PHBhdGggZD0iTTExIDE4aDJ2LTJoLTJ2MnptMS0xNkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMCAxOGMtNC40MSAwLTgtMy41OS04LThzMy41OS04IDgtOCA4IDMuNTkgOCA4LTMuNTkgOC04IDh6bTAtMTRjLTIuMjEgMC00IDEuNzktNCA0aDJjMC0xLjEuOS0yIDItMnMyIC45IDIgMmMwIDItMyAxLjc1LTMgNWgyYzAtMi4yNSAzLTIuNSAzLTUgMC0yLjIxLTEuNzktNC00LTR6Ii8+PC9zdmc+":IMAGE_PATH+\r\n"/help.png";\r\nEditor.lightCheckmarkImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhFQAVAMQfAGxsbHx8fIqKioaGhvb29nJycvr6+sDAwJqamltbW5OTk+np6YGBgeTk5Ly8vJiYmP39/fLy8qWlpa6ursjIyOLi4vj4+N/f3+3t7fT09LCwsHZ2dubm5r6+vmZmZv///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OEY4NTZERTQ5QUFBMTFFMUE5MTVDOTM5MUZGMTE3M0QiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OEY4NTZERTU5QUFBMTFFMUE5MTVDOTM5MUZGMTE3M0QiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Rjg1NkRFMjlBQUExMUUxQTkxNUM5MzkxRkYxMTczRCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Rjg1NkRFMzlBQUExMUUxQTkxNUM5MzkxRkYxMTczRCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAB8ALAAAAAAVABUAAAVI4CeOZGmeaKqubKtylktSgCOLRyLd3+QJEJnh4VHcMoOfYQXQLBcBD4PA6ngGlIInEHEhPOANRkaIFhq8SuHCE1Hb8Lh8LgsBADs=":IMAGE_PATH+\r\n"/checkmark.gif";Editor.darkHelpImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAP1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////9Du/pqAAAAFXRSTlMAT30qCJRBboyDZyCgRzUUdF46MJlgXETgAAAAeklEQVQY022O2w4DIQhEQUURda/9/28tUO2+7CQS5sgQ4F1RapX78YUwRqQjTU8ILqQfKerTKTvACJ4nLX3krt+8aS82oI8aQC4KavRgtvEW/mDvsICgA03PSGRr79MqX1YPNIxzjyqtw8ZnnRo4t5a5undtJYRywau+ds4Cyza3E6YAAAAASUVORK5CYII=";Editor.darkCheckmarkImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAARVBMVEUAAACZmZkICAgEBASNjY2Dg4MYGBiTk5N5eXl1dXVmZmZQUFBCQkI3NzceHh4MDAykpKSJiYl+fn5sbGxaWlo/Pz8SEhK96uPlAAAAAXRSTlMAQObYZgAAAE5JREFUGNPFzTcSgDAQQ1HJGUfy/Y9K7V1qeOUfzQifCQZai1XHaz11LFysbDbzgDSSWMZiETz3+b8yNUc/MMsktxuC8XQBSncdLwz+8gCCggGXzBcozAAAAABJRU5ErkJggg==";\r\nEditor.maximizeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABXRSTlMA758vX1Pw3BoAAABJSURBVAjXY8AJQkODGBhUQ0MhbAUGBiYY24CBgRnGFmZgMISwgwwDGRhEhVVBbAVmEQYGRwMmBjIAQi/CTIRd6G5AuA3dzYQBAHj0EFdHkvV4AAAAAElFTkSuQmCC";Editor.zoomOutImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAElBMVEUAAAAAAAAsLCxxcXEhISFgYGChjTUxAAAAAXRSTlMAQObYZgAAAEdJREFUCNdjIAMwCQrB2YKCggJQJqMwA7MglK1owMBgqABVApITgLJZXFxgbIQ4Qj3CHIT5ggoIe5kgNkM1KSDYKBKqxPkDAPo5BAZBE54hAAAAAElFTkSuQmCC";\r\nEditor.zoomInImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAElBMVEUAAAAAAAAsLCwhISFxcXFgYGBavKaoAAAAAXRSTlMAQObYZgAAAElJREFUCNdjIAMwCQrB2YKCggJQJqMIA4sglK3owMzgqABVwsDMwCgAZTMbG8PYCHGEeoQ5CPMFFRD2MkFshmpSQLBRJFSJ8wcAEqcEM2uhl2MAAAAASUVORK5CYII=";Editor.zoomFitImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAD1BMVEUAAAAAAAAwMDBwcHBgYGC1xl09AAAAAXRSTlMAQObYZgAAAEFJREFUCNdjIAMwCQrB2YKCggJQJqMwA7MglK1owMBgqABVApITwMdGqEeYgzBfUAFhLxPEZqgmBQQbRUKFOH8AAK5OA3lA+FFOAAAAAElFTkSuQmCC";\r\nEditor.layersImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAAaVBMVEUAAAAgICAICAgdHR0PDw8WFhYICAgLCwsXFxcvLy8ODg4uLi4iIiIqKiokJCQYGBgKCgonJycFBQUCAgIqKiocHBwcHBwODg4eHh4cHBwnJycJCQkUFBQqKiojIyMuLi4ZGRkgICAEBATOWYXAAAAAGnRSTlMAD7+fnz8/H7/ff18/77+vr5+fn39/b28fH2xSoKsAAACQSURBVBjTrYxJEsMgDARZZMAY73sgCcn/HxnhKtnk7j6oRq0psfuoyndZ/SuODkHPLzfVT6KeyPePnJ7KrnkRjWMXTn4SMnN8mXe2SSM3ts8L/ZUxxrbAULSYJJULE0Iw9pjpenoICcgcX61mGgTgtCv9Be99pzCoDhNQWQnchD1mup5++CYGcoQexajZbfwAj/0MD8ZOaUgAAAAASUVORK5CYII=";\r\nEditor.previousImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABmJLR0QA/wD/AP+gvaeTAAAAh0lEQVQ4je3UsQnCUBCA4U8hpa1NsoEjpHQJS0dxADdwEMuMIJkgA1hYChbGQgMi+JC8q4L/AB/vDu7x74cWWEZhJU44RmA1zujR5GIbXF9YNrjD/Q0bDRY4fEBZ4P4LlgTnCbAf84pUM8/9hY08tMUtEoQ1LpEgrNBFglChFXR6Q6GfwwR6AGKJMF74Vtt3AAAAAElFTkSuQmCC";Editor.nextImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABmJLR0QA/wD/AP+gvaeTAAAAi0lEQVQ4jeXUIQ7CUAwA0MeGxWI2yylwnALJUdBcgYvM7QYLmjOQIAkIPmJZghiIvypoUtX0tfnJL38X5ZfaEgUeUcManFBHgS0SLlhHggk3bCPBhCf2keCQR8wjwYTDp6YiZxJmOU1jGw7vGALescuBxsArNlOwd/CM1VSM/ut1qCIw+uOwiMJ+OF4CQzBCXm3hyAAAAABJRU5ErkJggg==";\r\nEditor.editImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhCwALAIABAFdXV////yH5BAEAAAEALAAAAAALAAsAAAIZjB8AiKuc4jvLOGqzrjX6zmkWyChXaUJBAQA7":IMAGE_PATH+"/edit.gif";Editor.zoomOutLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAilBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2N2iNAAAALXRSTlMA+vTcKMM96GRBHwXxi0YaX1HLrKWhiHpWEOnOr52Vb2xKSDcT19PKv5l/Ngdk8+viAAABJklEQVQ4y4WT2XaDMAxEvWD2nSSUNEnTJN3r//+9Sj7ILAY6L0ijC4ONYVZRpo6cByrz2YKSUGorGTpz71lPVHvT+avoB5wIkU/mxk8veceSuNoLg44IzziXjvpih72wKQnm8yc2UoiP/LAd8jQfe2Xf4Pq+2EyYIvv9wbzHHCgwxDdlBtWZOdqDfTCVgqpygQpsZaojVAVc9UjQxnAJDIBhiQv84tq3gMQCAVTxVoSibXJf8tMuc7e1TB/DCmejBNg/w1Y3c+AM5vv4w7xM59/oXamrHaLVqPQ+OTCnmMZxgz0SdL5zji0/ld6j88qGa5KIiBB6WeJGKfUKwSMKLuXgvl1TW0tm5R9UQL/efSDYsnzxD8CinhBsTTdugJatKpJwf8v+ADb8QmvW7AeAAAAAAElFTkSuQmCC";\r\nEditor.zoomInLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAilBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2N2iNAAAALXRSTlMA+vTcKMM96GRBHwXxi0YaX1HLrKWhiHpWEOnOr52Vb2xKSDcT19PKv5l/Ngdk8+viAAABKElEQVQ4y4WT6WKCMBCENwkBwn2oFKvWqr3L+79es4EkQIDOH2d3Pxk2ABiJlB8JCXjqw4LikHVGLHTm3nM3UeVN5690GBBN0GwyV/3kkrUQR+WeKnREeKpzaXWd77CmJiXGfPIEI4V4yQ9TIW/ntlcMBe731Vts9w5TWG8F5j3mQI4hvrKpdGeYA7CX9qAcl650gVJartxRuhyHVghF8idQAIbFLvCLu28BsQEC6aKtCK6Pyb3JT7PmbmtNH8Ny56CotD/2qOs5cJbuffxgXmCib+xddVU5RNOhkvvkhTlFehzVWCOh3++MYElOhfdovaImnRYVmqDdsuhNp1QrBBE6uGC2+3ZNjGdg5B94oD+9uyVgWT79BwAxEBTWdOu3bWBVgsn/N/AHUD9IC01Oe40AAAAASUVORK5CYII=";\r\nEditor.actualSizeLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAilBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2N2iNAAAALXRSTlMA+vTcKMM96GRBHwXxi0YaX1HLrKWhiHpWEOnOr52Vb2xKSDcT19PKv5l/Ngdk8+viAAABIUlEQVQ4y4WT2XqDIBCFBxDc9yTWNEnTJN3r+79eGT4BEbXnaubMr8dBBaM450dCQp4LWFAascGIRd48eB4cNYE7f6XjgGiCFs5c+dml6CFN6j1V6IQIlHPpdV/usKcmJcV88gQTRXjLD9Mhb+fWq8YG9/uCmTCFjeeDeY85UGKIUGUuqzN42kv7oCouq9oHamlzVR1lVfpAIu1QVRiW+sAv7r4FpAYIZZVsRXB9TP5Dfpo1d1trCgzz1iiptH/sUbdz4CzN9+mLeXHn3+hdddd4RDegsrvzwZwSs2GLPRJidAqCLTlVwaMPqpYMWjTWBB2WRW86pVkhSKyDK2bdt2tmagZG4sBD/evdLQHLEvQfAOKRoLCmG1FAB6uKmby+gz+REDn7O5+EwQAAAABJRU5ErkJggg==";\r\nEditor.printLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAXVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9RKvvlAAAAHnRSTlMAydnl77qbMLT093H7K4Nd4Ktn082+lYt5bkklEgP44nQSAAAApUlEQVQ4y73P2Q6DIBRF0cOgbRHHzhP//5m9mBAQKjG1cT0Yc7ITAMu1LNQgUZiQ2DYoNQ0sCQb6qgHAfRx48opq3J9AZ6xuF7uOew8Ik1OsCZRS2UAC9V+D9a+QZYxNA45YFQftPtSkATOhw7dAc0vPBwKWiIOjP0JZ0yMuQJ27g36DipOUsqRAM0dR8KD1/ILHaHSE/w8DIx09E3g/BTce6rHUB5sAPKvfF+JdAAAAAElFTkSuQmCC";\r\nEditor.layersLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAmVBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+/v7///+bnZkkAAAAMnRSTlMABPr8ByiD88KsTi/rvJb272mjeUA1CuPe1M/KjVxYHxMP6KZ0S9nYzGRGGRaznpGIbzaGUf0AAAHESURBVDjLbZLZYoIwEEVDgLCjbKIgAlqXqt3m/z+uNwu1rcyDhjl3ktnYL7OY254C0VX3yWFZfzDrOClbbgKxi0YDHjwl4jbnRkXxJS/C1YP3DbBhD1n7Ex4uaAqdVDb3yJ/4J/3nJD2to/ngQz/DfUvzMp4JJ5sSCaF5oXmemgQDfDxzbi+Kq4sU+vNcuAmx94JtyOP2DD4Epz2asWSCz4Z/4fECxyNj9zC9xNLHcdPEO+awDKeSaUu0W4twZQiO2hYVisTR3RCtK/c1X6t4xMEpiGqXqVntEBLolkZZsKY4QtwH6jzq67dEHlJysB1aNOD3XT7n1UkasQN59L4yC2RELMDSeCRtz3yV22Ub3ozIUTknYx8JWqDdQxbUes98cR2kZtUSveF/bAhcedwEWmlxIkpZUy4XOCb6VBjjxHvbwo/1lBAHHi2JCr0NI570QhyHq/DhJoE2lLgyA4RVe6KmZ47O/3b86MCP0HWa73A8/C3SUc5Qc1ajt6fgpXJ+RGpMvDSchepZDOOQRcZVIKcK90x2D7etqtI+56+u6n3sPriO6nfphitR4+O2m3EbM7lh3me1FM1o+LMI887rN+s3/wZdTFlpNVJiOAAAAABJRU5ErkJggg==";\r\nEditor.closeLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAUVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////8IN+deAAAAGnRSTlMAuvAIg/dDM/QlOeuFhj0S5s4vKgzjxJRQNiLSey0AAADNSURBVDjLfZLbEoMgDEQjRRRs1XqX///QNmOHJSnjPkHOGR7IEmeoGtJZstnwjqbRfIsmgEdtPCqe9Ynz7ZSc07rE2QiSc+qv8TvjRXA2PDUm3dpe82iJhOEUfxJJo3aCv+jKmRmH4lcCjCjeh9GWOdL/GZZkXH3PYYDrHBnfc4D/RVZf5sjoC1was+Y6HQxwaUxFvq/a0Pv343VCTxfBSRiB+ab3M3eiQZXmMNBJ3Y8pGRZtYQ7DgHMXJEdPLTaN/qBjzJOBc3nmNcbsA16bMR0oLqf+AAAAAElFTkSuQmCC";\r\nEditor.editLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAgVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9d3yJTAAAAKnRSTlMA+hzi3nRQWyXzkm0h2j3u54gzEgSXjlYoTBgJxL2loGpAOS3Jt7Wxm35Ga7gRAAAA6UlEQVQ4y63Q2XaCMBSF4Q0JBasoQ5DJqbXjfv8HbCK2BZNwo/8FXHx7rcMC7lQu0iX8qU/qtvAWCpoqH8dYzS0SwaV5eK/UAf8X9pd2CWKzuF5Jrftp1owXwnIGLUaL3PYndOHf4kNNXWrXK/m7CHunk7K8LE6YtBpcknwG9GKxnroY+ylBXcx4xKyx/u/EuXi509cP9V7OO1oyHnzrdFTcqLG/4ibBA5pIMr/4xvKzuQDkVy9wW8SgBFD6HDvuzMvrZcC9QlkfMzI7w64m+b4PqBMNHB05lH21PVxJo2/fBXxV4hB38PcD+5AkI4FuETsAAAAASUVORK5CYII=";\r\nEditor.previousLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAPFBMVEUAAAD////////////////////////////////////////////////////////////////////////////YSWgTAAAAE3RSTlMA7fci493c0MW8uJ6CZks4MxQHEZL6ewAAAFZJREFUOMvdkskRgDAMA4lDwg2B7b9XOlge/KKvdsa25KFb5XlRvxXC/DNBEv8IFNjBgGdDgXtFgTyhwDXiQAUHCvwa4Uv6mR6UR+1led2mVonvl+tML45qCQNQLIx7AAAAAElFTkSuQmCC";Editor.nextLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAPFBMVEUAAAD////////////////////////////////////////////////////////////////////////////YSWgTAAAAE3RSTlMA7fci493c0MW8uJ6CZks4MxQHEZL6ewAAAFRJREFUOMvd0skRgCAQBVEFwQ0V7fxzNQP6wI05v6pZ/kyj1b7FNgik2gQzzLcAwiUAigHOTwDHK4A1CmB5BJANJG1hQ9qafYcqFlZP3IFc9eVGrR+iIgkDQRUXIAAAAABJRU5ErkJggg==";\r\nEditor.refreshLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAolBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8ELnaCAAAANXRSTlMABfyE2QKU+dfNyyDyoVYKwnTv7N+6rntsYlFNQjEqEw316uSzf2c1JB3GvqebiVw6GAjQB4DQr10AAAE7SURBVDjLvZLXcoMwEABPIgRCx3TT3A3udqL//7UgAdGRcR4yk8k+idsdmgS/QyWEqD/axS2JDV33zlnzLHIzQ2MDq9OeJ3m8l76KKENYlxrmM/b65Ys1+8YxnTEZFIEY0vVhszFWfUGZDJpQTDznTgAe5k4XhQxILB7ruzBQn+kkyDXuHfRtjoYDEvH7J9Lz98dBZXXL94X0Ofco2PFlChKbjVzEdakoSlKjoNoqPYkJ/wUZAYwc+PpLj1Ei7+jdoBWlwQZoJv2H1w3CWgRvo7dd9DP5btgwCWz0M02+oVoxCcIWeY9PNmR6B++m9prMxYEISpCBYBlfy9bc745is7UUULAem1Ww7FfalsiA2uaJsgmWP3pQI9q9/yMLkaaHAp2fxhHff/cNq7dBdHXhGW7l+Mo2zU0Cf8knJ2xA0oJ8enwAAAAASUVORK5CYII=";\r\nEditor.backLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAclBMVEUAAAD////////////////+/v7////////////////////////////////////////////+/v7///////////////////////////////////////////////////////////////////////////////8vKLfTAAAAJXRSTlMACh7h9gby3NLIwzwZ55uVJgH57b+8tbCljYV1RRMQ46FrTzQw+vtxOQAAAJ5JREFUOMuF00cWgzAQA1DRDQFCbwFSdf8rZpdVrNH2z3tuMv7mldZQ2WN2yi8x+TT8JvyTkqvwpiKvwsOIrA1fWr+XGTklfj8dOQR+D3KyUF6QufBkJN0hfCazEv6sZBRCJDUcPasGKpu1RLtYE8lkHAPBQLoTsK/SfAyRw5FjAuhCzC2MSj0gJ+66lHatgXdKboD9tfREB5m9/+3iC9jHDYvsGNcUAAAAAElFTkSuQmCC";\r\nEditor.fullscreenLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAllBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AJcWoAAAAMXRSTlMA+wIFxPWPCIb446tnUxmsoIykgxTe29jQnpKBe2MNsZhVTR/KyLuWbFhEPjUq7L9z+bQj+gAAAWxJREFUOMttk4l2gkAMRTODCO4FtQgIbnWpS9v8/881iZFh8R51NO8GJ+gAjMN8zuTRFSw04cIOHQcqFHH6oaQFGxf0jeBjEgB8Y52TpW9Ag4zB5QICWOtHrgwGuFZBcw+gPP0MFS7+iiD5inOmDIQS9sZgTwUzwEzyxhxHVEEU7NdDUXsqUPtqjIgR2IZSCT4upzSeIeOdcMHnfDsx3giPoezfU6MrQGB5//SckLEG2xYscK4GfnUFqaix39zrwooaOD/cXoYuvHKQIc7pzd3HVPusp6t2FAW/RmjMonbl8vwHDeZo/GkleJC7e+p5XA/rAq1X/V10wKag04rBpa2/d0LL4OYYceOEtsG5jyMntI1wS+N1BGcQBl/CoLoPOl9ABrW/BP53e1bwSJHHlkIVchJwmHwyyfJ4kIvEnKtwkxNSEct83KSChT7WiWgDZ3ccZ0BM4tloJow2YUAtifNT3njnyD+y/pMsnP4DN3Y4yl1Gyk0AAAAASUVORK5CYII=";\r\nEditor.roughFillStyles=[{val:"auto",dispName:"Auto"},{val:"hachure",dispName:"Hachure"},{val:"solid",dispName:"Solid"},{val:"zigzag",dispName:"ZigZag"},{val:"cross-hatch",dispName:"Cross Hatch"},{val:"dots",dispName:"Dots"},{val:"dashed",dispName:"Dashed"},{val:"zigzag-line",dispName:"ZigZag Line"}];Editor.themes=null;Editor.ctrlKey=mxClient.IS_MAC?"Cmd":"Ctrl";Editor.hintOffset=20;Editor.fitWindowBorders=null;Editor.popupsAllowed=!0;Editor.simpleLabels=!1;\r\nEditor.enableNativeCipboard=window==window.top&&!mxClient.IS_FF&&null!=navigator.clipboard;Editor.darkMode=!1;Editor.isDarkMode=function(a){return Editor.darkMode||"dark"==uiTheme};Editor.helpImage=Editor.isDarkMode()&&mxClient.IS_SVG?Editor.darkHelpImage:Editor.lightHelpImage;Editor.checkmarkImage=Editor.isDarkMode()&&mxClient.IS_SVG?Editor.darkCheckmarkImage:Editor.lightCheckmarkImage;mxUtils.extend(Editor,mxEventSource);Editor.prototype.originalNoForeignObject=mxClient.NO_FO;\r\nEditor.prototype.transparentImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhMAAwAIAAAP///wAAACH5BAEAAAAALAAAAAAwADAAAAIxhI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8egpAAA7":IMAGE_PATH+"/transparent.gif";Editor.prototype.extendCanvas=!0;Editor.prototype.chromeless=!1;Editor.prototype.cancelFirst=!0;Editor.prototype.enabled=!0;Editor.prototype.filename=null;Editor.prototype.modified=!1;Editor.prototype.autosave=!0;Editor.prototype.initialTopSpacing=0;Editor.prototype.appName=document.title;\r\nEditor.prototype.editBlankUrl=window.location.protocol+"//"+window.location.host+"/";Editor.prototype.defaultGraphOverflow="hidden";Editor.prototype.init=function(){};Editor.prototype.isChromelessView=function(){return this.chromeless};Editor.prototype.setAutosave=function(a){this.autosave=a;this.fireEvent(new mxEventObject("autosaveChanged"))};Editor.prototype.getEditBlankUrl=function(a){return this.editBlankUrl+a};\r\nEditor.prototype.editAsNew=function(a,c){var d=null!=c?"?title="+encodeURIComponent(c):"";null!=urlParams.ui&&(d+=(0<d.length?"&":"?")+"ui="+urlParams.ui);if("undefined"!==typeof window.postMessage&&(null==document.documentMode||10<=document.documentMode)){var b=null,f=mxUtils.bind(this,function(c){"ready"==c.data&&c.source==b&&(mxEvent.removeListener(window,"message",f),b.postMessage(a,"*"))});mxEvent.addListener(window,"message",f);b=this.graph.openLink(this.getEditBlankUrl(d+(0<d.length?"&":"?")+\r\n"client=1"),null,!0)}else this.graph.openLink(this.getEditBlankUrl(d)+"#R"+encodeURIComponent(a))};Editor.prototype.createGraph=function(a,c){var d=new Graph(null,c,null,null,a);d.transparentBackground=!1;this.chromeless||(d.isBlankLink=function(a){return!this.isExternalProtocol(a)});return d};\r\nEditor.prototype.resetGraph=function(){this.graph.gridEnabled=this.graph.defaultGridEnabled&&(!this.isChromelessView()||"1"==urlParams.grid);this.graph.graphHandler.guidesEnabled=!0;this.graph.setTooltips(!0);this.graph.setConnectable(!0);this.graph.foldingEnabled=!0;this.graph.scrollbars=this.graph.defaultScrollbars;this.graph.pageVisible=this.graph.defaultPageVisible;this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;this.graph.background=\r\nnull;this.graph.pageScale=mxGraph.prototype.pageScale;this.graph.pageFormat=mxGraph.prototype.pageFormat;this.graph.currentScale=1;this.graph.currentTranslate.x=0;this.graph.currentTranslate.y=0;this.updateGraphComponents();this.graph.view.setScale(1)};\r\nEditor.prototype.readGraphState=function(a){var c=a.getAttribute("grid");if(null==c||""==c)c=this.graph.defaultGridEnabled?"1":"0";this.graph.gridEnabled="0"!=c&&(!this.isChromelessView()||"1"==urlParams.grid);this.graph.gridSize=parseFloat(a.getAttribute("gridSize"))||mxGraph.prototype.gridSize;this.graph.graphHandler.guidesEnabled="0"!=a.getAttribute("guides");this.graph.setTooltips("0"!=a.getAttribute("tooltips"));this.graph.setConnectable("0"!=a.getAttribute("connect"));this.graph.connectionArrowsEnabled=\r\n"0"!=a.getAttribute("arrows");this.graph.foldingEnabled="0"!=a.getAttribute("fold");this.isChromelessView()&&this.graph.foldingEnabled&&(this.graph.foldingEnabled="1"==urlParams.nav,this.graph.cellRenderer.forceControlClickHandler=this.graph.foldingEnabled);c=parseFloat(a.getAttribute("pageScale"));!isNaN(c)&&0<c?this.graph.pageScale=c:this.graph.pageScale=mxGraph.prototype.pageScale;this.graph.isLightboxView()||this.graph.isViewer()?this.graph.pageVisible=!1:(c=a.getAttribute("page"),this.graph.pageVisible=\r\nnull!=c?"0"!=c:this.graph.defaultPageVisible);this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;var c=parseFloat(a.getAttribute("pageWidth")),d=parseFloat(a.getAttribute("pageHeight"));isNaN(c)||isNaN(d)||(this.graph.pageFormat=new mxRectangle(0,0,c,d));a=a.getAttribute("background");this.graph.background=null!=a&&0<a.length?a:null};\r\nEditor.prototype.setGraphXml=function(a){if(null!=a){var c=new mxCodec(a.ownerDocument);if("mxGraphModel"==a.nodeName){this.graph.model.beginUpdate();try{this.graph.model.clear(),this.graph.view.scale=1,this.readGraphState(a),this.updateGraphComponents(),c.decode(a,this.graph.getModel())}finally{this.graph.model.endUpdate()}this.fireEvent(new mxEventObject("resetGraphView"))}else if("root"==a.nodeName){this.resetGraph();var d=c.document.createElement("mxGraphModel");d.appendChild(a);c.decode(d,this.graph.getModel());\r\nthis.updateGraphComponents();this.fireEvent(new mxEventObject("resetGraphView"))}else throw{message:mxResources.get("cannotOpenFile"),node:a,toString:function(){return this.message}};}else this.resetGraph(),this.graph.model.clear(),this.fireEvent(new mxEventObject("resetGraphView"))};\r\nEditor.prototype.getGraphXml=function(a){a=(null!=a?a:1)?(new mxCodec(mxUtils.createXmlDocument())).encode(this.graph.getModel()):this.graph.encodeCells(mxUtils.sortCells(this.graph.model.getTopmostCells(this.graph.getSelectionCells())));if(0!=this.graph.view.translate.x||0!=this.graph.view.translate.y)a.setAttribute("dx",Math.round(100*this.graph.view.translate.x)/100),a.setAttribute("dy",Math.round(100*this.graph.view.translate.y)/100);a.setAttribute("grid",this.graph.isGridEnabled()?"1":"0");a.setAttribute("gridSize",\r\nthis.graph.gridSize);a.setAttribute("guides",this.graph.graphHandler.guidesEnabled?"1":"0");a.setAttribute("tooltips",this.graph.tooltipHandler.isEnabled()?"1":"0");a.setAttribute("connect",this.graph.connectionHandler.isEnabled()?"1":"0");a.setAttribute("arrows",this.graph.connectionArrowsEnabled?"1":"0");a.setAttribute("fold",this.graph.foldingEnabled?"1":"0");a.setAttribute("page",this.graph.pageVisible?"1":"0");a.setAttribute("pageScale",this.graph.pageScale);a.setAttribute("pageWidth",this.graph.pageFormat.width);\r\na.setAttribute("pageHeight",this.graph.pageFormat.height);null!=this.graph.background&&a.setAttribute("background",this.graph.background);return a};Editor.prototype.updateGraphComponents=function(){var a=this.graph;null!=a.container&&(a.view.validateBackground(),a.container.style.overflow=a.scrollbars?"auto":this.defaultGraphOverflow,this.fireEvent(new mxEventObject("updateGraphComponents")))};Editor.prototype.setModified=function(a){this.modified=a};\r\nEditor.prototype.setFilename=function(a){this.filename=a};\r\nEditor.prototype.createUndoManager=function(){var a=this.graph,c=new mxUndoManager;this.undoListener=function(a,d){c.undoableEditHappened(d.getProperty("edit"))};var d=mxUtils.bind(this,function(a,c){this.undoListener.apply(this,arguments)});a.getModel().addListener(mxEvent.UNDO,d);a.getView().addListener(mxEvent.UNDO,d);d=function(b,c){var d=a.getSelectionCellsForChanges(c.getProperty("edit").changes,function(a){return!(a instanceof mxChildChange)});if(0<d.length){a.getModel();for(var f=[],g=0;g<\r\nd.length;g++)null!=a.view.getState(d[g])&&f.push(d[g]);a.setSelectionCells(f)}};c.addListener(mxEvent.UNDO,d);c.addListener(mxEvent.REDO,d);return c};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(a){this.consumer=this.producer=null;this.done=a;this.args=null};OpenFile.prototype.setConsumer=function(a){this.consumer=a;this.execute()};\r\nOpenFile.prototype.setData=function(){this.args=arguments;this.execute()};OpenFile.prototype.error=function(a){this.cancel(!0);mxUtils.alert(a)};OpenFile.prototype.execute=function(){null!=this.consumer&&null!=this.args&&(this.cancel(!1),this.consumer.apply(this,this.args))};OpenFile.prototype.cancel=function(a){null!=this.done&&this.done(null!=a?a:!0)};\r\nfunction Dialog(a,c,d,b,f,e,h,g,k,l,m){var n=k?57:0,p=d,t=b,r=k?0:64,v=mxUtils.getDocumentSize();null!=window.innerHeight&&(v.height=window.innerHeight);var u=v.height,w=Math.max(1,Math.round((v.width-d-r)/2)),x=Math.max(1,Math.round((u-b-a.footerHeight)/3));c.style.maxHeight="100%";d=null!=document.body?Math.min(d,document.body.scrollWidth-r):d;b=Math.min(b,u-r);0<a.dialogs.length&&(this.zIndex+=2*a.dialogs.length);null==this.bg&&(this.bg=a.createDiv("background"),this.bg.style.position="absolute",\r\nthis.bg.style.background=Dialog.backdropColor,this.bg.style.height=u+"px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this.bg,this.bgOpacity));v=mxUtils.getDocumentScrollOrigin(document);this.bg.style.left=v.x+"px";this.bg.style.top=v.y+"px";w+=v.x;x+=v.y;f&&document.body.appendChild(this.bg);var B=a.createDiv(k?"geTransDialog":"geDialog");f=this.getPosition(w,x,d,b);w=f.x;x=f.y;B.style.width=d+"px";B.style.height=b+"px";B.style.left=w+"px";B.style.top=x+"px";B.style.zIndex=\r\nthis.zIndex;B.appendChild(c);document.body.appendChild(B);!g&&c.clientHeight>B.clientHeight-r&&(c.style.overflowY="auto");if(e&&(e=document.createElement("img"),e.setAttribute("src",Dialog.prototype.closeImage),e.setAttribute("title",mxResources.get("close")),e.className="geDialogClose",e.style.top=x+14+"px",e.style.left=w+d+38-n+"px",e.style.zIndex=this.zIndex,mxEvent.addListener(e,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})),document.body.appendChild(e),this.dialogImg=e,!m)){var E=!1;\r\nmxEvent.addGestureListeners(this.bg,mxUtils.bind(this,function(a){E=!0}),null,mxUtils.bind(this,function(b){E&&(a.hideDialog(!0),E=!1)}))}this.resizeListener=mxUtils.bind(this,function(){if(null!=l){var e=l();null!=e&&(p=d=e.w,t=b=e.h)}e=mxUtils.getDocumentSize();u=e.height;this.bg.style.height=u+"px";w=Math.max(1,Math.round((e.width-d-r)/2));x=Math.max(1,Math.round((u-b-a.footerHeight)/3));d=null!=document.body?Math.min(p,document.body.scrollWidth-r):p;b=Math.min(t,u-r);e=this.getPosition(w,x,d,\r\nb);w=e.x;x=e.y;B.style.left=w+"px";B.style.top=x+"px";B.style.width=d+"px";B.style.height=b+"px";!g&&c.clientHeight>B.clientHeight-r&&(c.style.overflowY="auto");null!=this.dialogImg&&(this.dialogImg.style.top=x+14+"px",this.dialogImg.style.left=w+d+38-n+"px")});mxEvent.addListener(window,"resize",this.resizeListener);this.onDialogClose=h;this.container=B;a.editor.fireEvent(new mxEventObject("showDialog"))}Dialog.backdropColor="white";Dialog.prototype.zIndex=mxPopupMenu.prototype.zIndex-2;\r\nDialog.prototype.noColorImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkEzRDlBMUUwODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkEzRDlBMUUxODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTNEOUExREU4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTNEOUExREY4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xh3fmAAAABlBMVEX////MzMw46qqDAAAAGElEQVR42mJggAJGKGAYIIGBth8KAAIMAEUQAIElnLuQAAAAAElFTkSuQmCC":\r\nIMAGE_PATH+"/nocolor.png";Dialog.prototype.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEV7mr3///+wksspAAAAAnRSTlP/AOW3MEoAAAAdSURBVAgdY9jXwCDDwNDRwHCwgeExmASygSL7GgB12QiqNHZZIwAAAABJRU5ErkJggg==":IMAGE_PATH+"/close.png";\r\nDialog.prototype.clearImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQAKAIABAMDAwP///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUIzOEM1NzI4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUIzOEM1NzM4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QjM4QzU3MDg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QjM4QzU3MTg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAAEALAAAAAANAAoAAAIXTGCJebD9jEOTqRlttXdrB32PJ2ncyRQAOw==":IMAGE_PATH+\r\n"/clear.gif";\r\nDialog.prototype.lockedImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzdDMDZCODExNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzdDMDZCODIxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozN0MwNkI3RjE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozN0MwNkI4MDE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvqMCFYAAAAVUExURZmZmb+/v7KysqysrMzMzLGxsf///4g8N1cAAAAHdFJOU////////wAaSwNGAAAAPElEQVR42lTMQQ4AIQgEwUa0//9kTQirOweYOgDqAMbZUr10AGlAwx4/BJ2QJ4U0L5brYjovvpv32xZgAHZaATFtMbu4AAAAAElFTkSuQmCC":IMAGE_PATH+\r\n"/locked.png";\r\nDialog.prototype.unlockedImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzdDMDZCN0QxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzdDMDZCN0UxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozN0MwNkI3QjE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozN0MwNkI3QzE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkKMpVwAAAAYUExURZmZmbKysr+/v6ysrOXl5czMzLGxsf///zHN5lwAAAAIdFJOU/////////8A3oO9WQAAADxJREFUeNpUzFESACAEBNBVsfe/cZJU+8Mzs8CIABCidtfGOndnYsT40HDSiCcbPdoJo10o9aI677cpwACRoAF3dFNlswAAAABJRU5ErkJggg==":IMAGE_PATH+\r\n"/unlocked.png";Dialog.prototype.bgOpacity=80;Dialog.prototype.getPosition=function(a,c){return new mxPoint(a,c)};Dialog.prototype.close=function(a,c){if(null!=this.onDialogClose){if(0==this.onDialogClose(a,c))return!1;this.onDialogClose=null}null!=this.dialogImg&&(this.dialogImg.parentNode.removeChild(this.dialogImg),this.dialogImg=null);null!=this.bg&&null!=this.bg.parentNode&&this.bg.parentNode.removeChild(this.bg);mxEvent.removeListener(window,"resize",this.resizeListener);this.container.parentNode.removeChild(this.container)};\r\nvar ErrorDialog=function(a,c,d,b,f,e,h,g,k,l,m){k=null!=k?k:!0;var n=document.createElement("div");n.style.textAlign="center";if(null!=c){var p=document.createElement("div");p.style.padding="0px";p.style.margin="0px";p.style.fontSize="18px";p.style.paddingBottom="16px";p.style.marginBottom="10px";p.style.borderBottom="1px solid #c0c0c0";p.style.color="gray";p.style.whiteSpace="nowrap";p.style.textOverflow="ellipsis";p.style.overflow="hidden";mxUtils.write(p,c);p.setAttribute("title",c);n.appendChild(p)}c=\r\ndocument.createElement("div");c.style.lineHeight="1.2em";c.style.padding="6px";c.innerHTML=d;n.appendChild(c);d=document.createElement("div");d.style.marginTop="12px";d.style.textAlign="center";null!=e&&(c=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();e()}),c.className="geBtn",d.appendChild(c),d.style.textAlign="center");null!=l&&(l=mxUtils.button(l,function(){null!=m&&m()}),l.className="geBtn",d.appendChild(l));var t=mxUtils.button(b,function(){k&&a.hideDialog();null!=f&&f()});\r\nt.className="geBtn";d.appendChild(t);null!=h&&(b=mxUtils.button(h,function(){k&&a.hideDialog();null!=g&&g()}),b.className="geBtn gePrimaryBtn",d.appendChild(b));this.init=function(){t.focus()};n.appendChild(d);this.container=n},PrintDialog=function(a,c){this.create(a,c)};\r\nPrintDialog.prototype.create=function(a){function c(a){var b=g.checked||l.checked,c=parseInt(n.value)/100;isNaN(c)&&(c=1,n.value="100%");var c=.75*c,e=d.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,f=1/d.pageScale;if(b){var h=g.checked?1:parseInt(m.value);isNaN(h)||(f=mxUtils.getScaleForPageCount(h,d,e))}d.getGraphBounds();var k=h=0,e=mxRectangle.fromRectangle(e);e.width=Math.ceil(e.width*c);e.height=Math.ceil(e.height*c);f*=c;!b&&d.pageVisible?(c=d.getPageLayout(),h-=c.x*e.width,k-=c.y*e.height):\r\nb=!0;b=PrintDialog.createPrintPreview(d,f,e,0,h,k,b);b.open();a&&PrintDialog.printPreview(b)}var d=a.editor.graph,b,f,e=document.createElement("table");e.style.width="100%";e.style.height="100%";var h=document.createElement("tbody");b=document.createElement("tr");var g=document.createElement("input");g.setAttribute("type","checkbox");f=document.createElement("td");f.setAttribute("colspan","2");f.style.fontSize="10pt";f.appendChild(g);var k=document.createElement("span");mxUtils.write(k," "+mxResources.get("fitPage"));\r\nf.appendChild(k);mxEvent.addListener(k,"click",function(a){g.checked=!g.checked;l.checked=!g.checked;mxEvent.consume(a)});mxEvent.addListener(g,"change",function(){l.checked=!g.checked});b.appendChild(f);h.appendChild(b);b=b.cloneNode(!1);var l=document.createElement("input");l.setAttribute("type","checkbox");f=document.createElement("td");f.style.fontSize="10pt";f.appendChild(l);k=document.createElement("span");mxUtils.write(k," "+mxResources.get("posterPrint")+":");f.appendChild(k);mxEvent.addListener(k,\r\n"click",function(a){l.checked=!l.checked;g.checked=!l.checked;mxEvent.consume(a)});b.appendChild(f);var m=document.createElement("input");m.setAttribute("value","1");m.setAttribute("type","number");m.setAttribute("min","1");m.setAttribute("size","4");m.setAttribute("disabled","disabled");m.style.width="50px";f=document.createElement("td");f.style.fontSize="10pt";f.appendChild(m);mxUtils.write(f," "+mxResources.get("pages")+" (max)");b.appendChild(f);h.appendChild(b);mxEvent.addListener(l,"change",\r\nfunction(){l.checked?m.removeAttribute("disabled"):m.setAttribute("disabled","disabled");g.checked=!l.checked});b=b.cloneNode(!1);f=document.createElement("td");mxUtils.write(f,mxResources.get("pageScale")+":");b.appendChild(f);f=document.createElement("td");var n=document.createElement("input");n.setAttribute("value","100 %");n.setAttribute("size","5");n.style.width="50px";f.appendChild(n);b.appendChild(f);h.appendChild(b);b=document.createElement("tr");f=document.createElement("td");f.colSpan=2;\r\nf.style.paddingTop="20px";f.setAttribute("align","right");k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&f.appendChild(k);if(PrintDialog.previewEnabled){var p=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();c(!1)});p.className="geBtn";f.appendChild(p)}p=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();c(!0)});p.className="geBtn gePrimaryBtn";f.appendChild(p);a.editor.cancelFirst||\r\nf.appendChild(k);b.appendChild(f);h.appendChild(b);e.appendChild(h);this.container=e};PrintDialog.printPreview=function(a){try{if(null!=a.wnd){var c=function(){a.wnd.focus();a.wnd.print();a.wnd.close()};mxClient.IS_GC?window.setTimeout(c,500):c()}}catch(d){}};\r\nPrintDialog.createPrintPreview=function(a,c,d,b,f,e,h){c=new mxPrintPreview(a,c,d,b,f,e);c.title=mxResources.get("preview");c.printBackgroundImage=!0;c.autoOrigin=h;a=a.background;if(null==a||""==a||a==mxConstants.NONE)a="#ffffff";c.backgroundColor=a;var g=c.writeHead;c.writeHead=function(a){g.apply(this,arguments);a.writeln(\'<style type="text/css">\');a.writeln("@media screen {");a.writeln(" body > div { padding:30px;box-sizing:content-box; }");a.writeln("}");a.writeln("</style>")};return c};\r\nPrintDialog.previewEnabled=!0;\r\nvar PageSetupDialog=function(a){function c(){null==m||m==mxConstants.NONE?(l.style.backgroundColor="",l.style.backgroundImage="url(\'"+Dialog.prototype.noColorImage+"\')"):(l.style.backgroundColor=m,l.style.backgroundImage="")}function d(){null==t?(p.removeAttribute("title"),p.style.fontSize="",p.innerHTML=mxUtils.htmlEntities(mxResources.get("change"))+"..."):(p.setAttribute("title",t.src),p.style.fontSize="11px",p.innerHTML=mxUtils.htmlEntities(t.src.substring(0,42))+"...")}var b=a.editor.graph,f,\r\ne,h=document.createElement("table");h.style.width="100%";h.style.height="100%";var g=document.createElement("tbody");f=document.createElement("tr");e=document.createElement("td");e.style.verticalAlign="top";e.style.fontSize="10pt";mxUtils.write(e,mxResources.get("paperSize")+":");f.appendChild(e);e=document.createElement("td");e.style.verticalAlign="top";e.style.fontSize="10pt";var k=PageSetupDialog.addPageFormatPanel(e,"pagesetupdialog",b.pageFormat);f.appendChild(e);g.appendChild(f);f=document.createElement("tr");\r\ne=document.createElement("td");mxUtils.write(e,mxResources.get("background")+":");f.appendChild(e);e=document.createElement("td");e.style.whiteSpace="nowrap";document.createElement("input").setAttribute("type","text");var l=document.createElement("button");l.style.width="18px";l.style.height="18px";l.style.marginRight="20px";l.style.backgroundPosition="center center";l.style.backgroundRepeat="no-repeat";var m=b.background;c();mxEvent.addListener(l,"click",function(b){a.pickColor(m||"none",function(a){m=\r\na;c()});mxEvent.consume(b)});e.appendChild(l);mxUtils.write(e,mxResources.get("gridSize")+":");var n=document.createElement("input");n.setAttribute("type","number");n.setAttribute("min","0");n.style.width="40px";n.style.marginLeft="6px";n.value=b.getGridSize();e.appendChild(n);mxEvent.addListener(n,"change",function(){var a=parseInt(n.value);n.value=Math.max(1,isNaN(a)?b.getGridSize():a)});f.appendChild(e);g.appendChild(f);f=document.createElement("tr");e=document.createElement("td");mxUtils.write(e,\r\nmxResources.get("image")+":");f.appendChild(e);e=document.createElement("td");var p=document.createElement("a");p.style.textDecoration="underline";p.style.cursor="pointer";p.style.color="#a0a0a0";var t=b.backgroundImage;mxEvent.addListener(p,"click",function(b){a.showBackgroundImageDialog(function(a,b){b||(t=a,d())},t);mxEvent.consume(b)});d();e.appendChild(p);f.appendChild(e);g.appendChild(f);f=document.createElement("tr");e=document.createElement("td");e.colSpan=2;e.style.paddingTop="16px";e.setAttribute("align",\r\n"right");var r=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});r.className="geBtn";a.editor.cancelFirst&&e.appendChild(r);var v=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var c=parseInt(n.value);isNaN(c)||b.gridSize===c||b.setGridSize(c);c=new ChangePageSetup(a,m,t,k.get());c.ignoreColor=b.background==m;c.ignoreImage=(null!=b.backgroundImage?b.backgroundImage.src:null)===(null!=t?t.src:null);b.pageFormat.width==c.previousFormat.width&&b.pageFormat.height==\r\nc.previousFormat.height&&c.ignoreColor&&c.ignoreImage||b.model.execute(c)});v.className="geBtn gePrimaryBtn";e.appendChild(v);a.editor.cancelFirst||e.appendChild(r);f.appendChild(e);g.appendChild(f);h.appendChild(g);this.container=h};\r\nPageSetupDialog.addPageFormatPanel=function(a,c,d,b){function f(a,b,c){if(c||n!=document.activeElement&&p!=document.activeElement){a=!1;for(b=0;b<r.length;b++)c=r[b],x?"custom"==c.key&&(g.value=c.key,x=!1):null!=c.format&&("a4"==c.key?826==d.width?(d=mxRectangle.fromRectangle(d),d.width=827):826==d.height&&(d=mxRectangle.fromRectangle(d),d.height=827):"a5"==c.key&&(584==d.width?(d=mxRectangle.fromRectangle(d),d.width=583):584==d.height&&(d=mxRectangle.fromRectangle(d),d.height=583)),d.width==c.format.width&&\r\nd.height==c.format.height?(g.value=c.key,e.setAttribute("checked","checked"),e.defaultChecked=!0,e.checked=!0,h.removeAttribute("checked"),h.defaultChecked=!1,h.checked=!1,a=!0):d.width==c.format.height&&d.height==c.format.width&&(g.value=c.key,e.removeAttribute("checked"),e.defaultChecked=!1,e.checked=!1,h.setAttribute("checked","checked"),h.defaultChecked=!0,a=h.checked=!0));a?(k.style.display="",m.style.display="none"):(n.value=d.width/100,p.value=d.height/100,e.setAttribute("checked","checked"),\r\ng.value="custom",k.style.display="none",m.style.display="")}}c="format-"+c;var e=document.createElement("input");e.setAttribute("name",c);e.setAttribute("type","radio");e.setAttribute("value","portrait");var h=document.createElement("input");h.setAttribute("name",c);h.setAttribute("type","radio");h.setAttribute("value","landscape");var g=document.createElement("select");g.style.marginBottom="8px";g.style.width="202px";var k=document.createElement("div");k.style.marginLeft="4px";k.style.width="210px";\r\nk.style.height="24px";e.style.marginRight="6px";k.appendChild(e);c=document.createElement("span");c.style.maxWidth="100px";mxUtils.write(c,mxResources.get("portrait"));k.appendChild(c);h.style.marginLeft="10px";h.style.marginRight="6px";k.appendChild(h);var l=document.createElement("span");l.style.width="100px";mxUtils.write(l,mxResources.get("landscape"));k.appendChild(l);var m=document.createElement("div");m.style.marginLeft="4px";m.style.width="210px";m.style.height="24px";var n=document.createElement("input");\r\nn.setAttribute("size","7");n.style.textAlign="right";m.appendChild(n);mxUtils.write(m," in x ");var p=document.createElement("input");p.setAttribute("size","7");p.style.textAlign="right";m.appendChild(p);mxUtils.write(m," in");k.style.display="none";m.style.display="none";for(var t={},r=PageSetupDialog.getFormats(),v=0;v<r.length;v++){var u=r[v];t[u.key]=u;var w=document.createElement("option");w.setAttribute("value",u.key);mxUtils.write(w,u.title);g.appendChild(w)}var x=!1;f();a.appendChild(g);mxUtils.br(a);\r\na.appendChild(k);a.appendChild(m);var B=d,E=function(a,c){var e=t[g.value];null!=e.format?(n.value=e.format.width/100,p.value=e.format.height/100,m.style.display="none",k.style.display=""):(k.style.display="none",m.style.display="");e=parseFloat(n.value);if(isNaN(e)||0>=e)n.value=d.width/100;e=parseFloat(p.value);if(isNaN(e)||0>=e)p.value=d.height/100;e=new mxRectangle(0,0,Math.floor(100*parseFloat(n.value)),Math.floor(100*parseFloat(p.value)));"custom"!=g.value&&h.checked&&(e=new mxRectangle(0,0,\r\ne.height,e.width));c&&x||e.width==B.width&&e.height==B.height||(B=e,null!=b&&b(B))};mxEvent.addListener(c,"click",function(a){e.checked=!0;E(a);mxEvent.consume(a)});mxEvent.addListener(l,"click",function(a){h.checked=!0;E(a);mxEvent.consume(a)});mxEvent.addListener(n,"blur",E);mxEvent.addListener(n,"click",E);mxEvent.addListener(p,"blur",E);mxEvent.addListener(p,"click",E);mxEvent.addListener(h,"change",E);mxEvent.addListener(e,"change",E);mxEvent.addListener(g,"change",function(a){x="custom"==g.value;\r\nE(a,!0)});E();return{set:function(a){d=a;f(null,null,!0)},get:function(){return B},widthInput:n,heightInput:p}};\r\nPageSetupDialog.getFormats=function(){return[{key:"letter",title:\'US-Letter (8,5" x 11")\',format:mxConstants.PAGE_FORMAT_LETTER_PORTRAIT},{key:"legal",title:\'US-Legal (8,5" x 14")\',format:new mxRectangle(0,0,850,1400)},{key:"tabloid",title:\'US-Tabloid (11" x 17")\',format:new mxRectangle(0,0,1100,1700)},{key:"executive",title:\'US-Executive (7" x 10")\',format:new mxRectangle(0,0,700,1E3)},{key:"a0",title:"A0 (841 mm x 1189 mm)",format:new mxRectangle(0,0,3300,4681)},{key:"a1",title:"A1 (594 mm x 841 mm)",\r\nformat:new mxRectangle(0,0,2339,3300)},{key:"a2",title:"A2 (420 mm x 594 mm)",format:new mxRectangle(0,0,1654,2336)},{key:"a3",title:"A3 (297 mm x 420 mm)",format:new mxRectangle(0,0,1169,1654)},{key:"a4",title:"A4 (210 mm x 297 mm)",format:mxConstants.PAGE_FORMAT_A4_PORTRAIT},{key:"a5",title:"A5 (148 mm x 210 mm)",format:new mxRectangle(0,0,583,827)},{key:"a6",title:"A6 (105 mm x 148 mm)",format:new mxRectangle(0,0,413,583)},{key:"a7",title:"A7 (74 mm x 105 mm)",format:new mxRectangle(0,0,291,413)},\r\n{key:"b4",title:"B4 (250 mm x 353 mm)",format:new mxRectangle(0,0,980,1390)},{key:"b5",title:"B5 (176 mm x 250 mm)",format:new mxRectangle(0,0,690,980)},{key:"16-9",title:"16:9 (1600 x 900)",format:new mxRectangle(0,0,900,1600)},{key:"16-10",title:"16:10 (1920 x 1200)",format:new mxRectangle(0,0,1200,1920)},{key:"4-3",title:"4:3 (1600 x 1200)",format:new mxRectangle(0,0,1200,1600)},{key:"custom",title:mxResources.get("custom"),format:null}]};\r\nvar FilenameDialog=function(a,c,d,b,f,e,h,g,k,l,m,n){k=null!=k?k:!0;var p,t,r=document.createElement("table"),v=document.createElement("tbody");r.style.marginTop="8px";p=document.createElement("tr");t=document.createElement("td");t.style.whiteSpace="nowrap";t.style.fontSize="10pt";t.style.width=m?"80px":"120px";mxUtils.write(t,(f||mxResources.get("filename"))+":");p.appendChild(t);var u=document.createElement("input");u.setAttribute("value",c||"");u.style.marginLeft="4px";u.style.width=null!=n?n+\r\n"px":"180px";var w=mxUtils.button(d,function(){if(null==e||e(u.value))k&&a.hideDialog(),b(u.value)});w.className="geBtn gePrimaryBtn";this.init=function(){if(null!=f||null==h)if(u.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?u.select():document.execCommand("selectAll",!1,null),Graph.fileSupport){var a=r.parentNode;if(null!=a){var b=null;mxEvent.addListener(a,"dragleave",function(a){null!=b&&(b.style.backgroundColor="",b=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(a,\r\n"dragover",mxUtils.bind(this,function(a){null==b&&(!mxClient.IS_IE||10<document.documentMode)&&(b=u,b.style.backgroundColor="#ebf2f9");a.stopPropagation();a.preventDefault()}));mxEvent.addListener(a,"drop",mxUtils.bind(this,function(a){null!=b&&(b.style.backgroundColor="",b=null);0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")&&(u.value=decodeURIComponent(a.dataTransfer.getData("text/uri-list")),w.click());a.stopPropagation();a.preventDefault()}))}}};t=document.createElement("td");t.style.whiteSpace=\r\n"nowrap";t.appendChild(u);p.appendChild(t);if(null!=f||null==h)v.appendChild(p),null!=m&&(null!=a.editor.diagramFileTypes&&(p=FilenameDialog.createFileTypes(a,u,a.editor.diagramFileTypes),p.style.marginLeft="6px",p.style.width="74px",t.appendChild(p),u.style.width=null!=n?n-40+"px":"140px"),t.appendChild(FilenameDialog.createTypeHint(a,u,m)));null!=h&&(p=document.createElement("tr"),t=document.createElement("td"),t.colSpan=2,t.appendChild(h),p.appendChild(t),v.appendChild(p));p=document.createElement("tr");\r\nt=document.createElement("td");t.colSpan=2;t.style.paddingTop="20px";t.style.whiteSpace="nowrap";t.setAttribute("align","right");m=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=l&&l()});m.className="geBtn";a.editor.cancelFirst&&t.appendChild(m);null!=g&&(n=mxUtils.button(mxResources.get("help"),function(){a.editor.graph.openLink(g)}),n.className="geBtn",t.appendChild(n));mxEvent.addListener(u,"keypress",function(a){13==a.keyCode&&w.click()});t.appendChild(w);a.editor.cancelFirst||\r\nt.appendChild(m);p.appendChild(t);v.appendChild(p);r.appendChild(v);this.container=r};FilenameDialog.filenameHelpLink=null;\r\nFilenameDialog.createTypeHint=function(a,c,d){var b=document.createElement("img");b.style.cssText="vertical-align:top;height:16px;width:16px;margin-left:4px;background-repeat:no-repeat;background-position:center bottom;cursor:pointer;";mxUtils.setOpacity(b,70);var f=function(){b.setAttribute("src",Editor.helpImage);b.setAttribute("title",mxResources.get("help"));for(var a=0;a<d.length;a++)if(0<d[a].ext.length&&c.value.toLowerCase().substring(c.value.length-d[a].ext.length-1)=="."+d[a].ext){b.setAttribute("src",\r\nmxClient.imageBasePath+"/warning.png");b.setAttribute("title",mxResources.get(d[a].title));break}};mxEvent.addListener(c,"keyup",f);mxEvent.addListener(c,"change",f);mxEvent.addListener(b,"click",function(c){var d=b.getAttribute("title");b.getAttribute("src")==Editor.helpImage?a.editor.graph.openLink(FilenameDialog.filenameHelpLink):""!=d&&a.showError(null,d,mxResources.get("help"),function(){a.editor.graph.openLink(FilenameDialog.filenameHelpLink)},null,mxResources.get("ok"),null,null,null,340,90);\r\nmxEvent.consume(c)});f();return b};\r\nFilenameDialog.createFileTypes=function(a,c,d){var b=document.createElement("select");for(a=0;a<d.length;a++){var f=document.createElement("option");f.setAttribute("value",a);mxUtils.write(f,mxResources.get(d[a].description)+" (."+d[a].extension+")");b.appendChild(f)}mxEvent.addListener(b,"change",function(a){a=d[b.value].extension;var e=c.value.lastIndexOf(".");0<e?(a=d[b.value].extension,c.value=c.value.substring(0,e+1)+a):c.value=c.value+"."+a;"createEvent"in document?(a=document.createEvent("HTMLEvents"),\r\na.initEvent("change",!1,!0),c.dispatchEvent(a)):c.fireEvent("onchange")});a=function(a){var e=c.value.lastIndexOf(".");a=0;if(0<e)for(var e=c.value.toLowerCase().substring(e+1),g=0;g<d.length;g++)if(e==d[g].extension){a=g;break}b.value=a};mxEvent.addListener(c,"change",a);mxEvent.addListener(c,"keyup",a);a();return b};\r\n(function(){mxGraphView.prototype.validateBackgroundPage=function(){var a=this.graph;if(null!=a.container&&!a.transparentBackground){if(a.pageVisible){var b=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var c=a.container.firstChild;null!=c&&c.nodeType!=mxConstants.NODETYPE_ELEMENT;)c=c.nextSibling;null!=c&&(this.backgroundPageShape=this.createBackgroundPageShape(b),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=mxConstants.DIALECT_STRICTHTML,\r\nthis.backgroundPageShape.init(a.container),c.style.position="absolute",a.container.insertBefore(this.backgroundPageShape.node,c),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(b){a.dblClick(b)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(b){a.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){null!=\r\na.tooltipHandler&&a.tooltipHandler.isHideOnHover()&&a.tooltipHandler.hide();a.isMouseDown&&!mxEvent.isConsumed(b)&&a.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){a.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b))})))}else this.backgroundPageShape.scale=1,this.backgroundPageShape.bounds=b,this.backgroundPageShape.redraw()}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null);this.validateBackgroundStyles()}};\r\nmxGraphView.prototype.validateBackgroundStyles=function(){var a=this.graph,b=null==a.background||a.background==mxConstants.NONE?a.defaultPageBackgroundColor:a.background,c=null!=b&&this.gridColor!=b.toLowerCase()?this.gridColor:"#ffffff",d="none",e="";if(a.isGridEnabled()||a.gridVisible){e=10;mxClient.IS_SVG?(d=unescape(encodeURIComponent(this.createSvgGrid(c))),d=window.btoa?btoa(d):Base64.encode(d,!0),d="url(data:image/svg+xml;base64,"+d+")",e=a.gridSize*this.scale*this.gridSteps):d="url("+this.gridImage+\r\n")";var f=c=0;null!=a.view.backgroundPageShape&&(f=this.getBackgroundPageBounds(),c=1+f.x,f=1+f.y);e=-Math.round(e-mxUtils.mod(this.translate.x*this.scale-c,e))+"px "+-Math.round(e-mxUtils.mod(this.translate.y*this.scale-f,e))+"px"}c=a.view.canvas;null!=c.ownerSVGElement&&(c=c.ownerSVGElement);null!=a.view.backgroundPageShape?(a.view.backgroundPageShape.node.style.backgroundPosition=e,a.view.backgroundPageShape.node.style.backgroundImage=d,a.view.backgroundPageShape.node.style.backgroundColor=b,a.view.backgroundPageShape.node.style.borderColor=\r\na.defaultPageBorderColor,a.container.className="geDiagramContainer geDiagramBackdrop",c.style.backgroundImage="none",c.style.backgroundColor=""):(a.container.className="geDiagramContainer",c.style.backgroundPosition=e,c.style.backgroundColor=b,c.style.backgroundImage=d)};mxGraphView.prototype.createSvgGrid=function(a){for(var b=this.graph.gridSize*this.scale;b<this.minGridSize;)b*=2;for(var c=this.gridSteps*b,d=[],e=1;e<this.gridSteps;e++){var f=e*b;d.push("M 0 "+f+" L "+c+" "+f+" M "+f+" 0 L "+f+\r\n" "+c)}return\'<svg width="\'+c+\'" height="\'+c+\'" xmlns="\'+mxConstants.NS_SVG+\'"><defs><pattern id="grid" width="\'+c+\'" height="\'+c+\'" patternUnits="userSpaceOnUse"><path d="\'+d.join(" ")+\'" fill="none" stroke="\'+a+\'" opacity="0.2" stroke-width="1"/><path d="M \'+c+" 0 L 0 0 0 "+c+\'" fill="none" stroke="\'+a+\'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>\'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(b,c){a.apply(this,arguments);\r\nif(null!=this.shiftPreview1){var d=this.view.canvas;null!=d.ownerSVGElement&&(d=d.ownerSVGElement);var e=this.gridSize*this.view.scale*this.view.gridSteps,e=-Math.round(e-mxUtils.mod(this.view.translate.x*this.view.scale+b,e))+"px "+-Math.round(e-mxUtils.mod(this.view.translate.y*this.view.scale+c,e))+"px";d.style.backgroundPosition=e}};mxGraph.prototype.updatePageBreaks=function(a,b,c){var d=this.view.scale,e=this.view.translate,f=this.pageFormat,g=d*this.pageScale,h=this.view.getBackgroundPageBounds();\r\nb=h.width;c=h.height;var k=new mxRectangle(d*e.x,d*e.y,f.width*g,f.height*g),v=(a=a&&Math.min(k.width,k.height)>this.minPageBreakDist)?Math.ceil(c/k.height)-1:0,u=a?Math.ceil(b/k.width)-1:0,w=h.x+b,x=h.y+c;null==this.horizontalPageBreaks&&0<v&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<u&&(this.verticalPageBreaks=[]);a=mxUtils.bind(this,function(a){if(null!=a){for(var b=a==this.horizontalPageBreaks?v:u,c=0;c<=b;c++){var d=a==this.horizontalPageBreaks?[new mxPoint(Math.round(h.x),\r\nMath.round(h.y+(c+1)*k.height)),new mxPoint(Math.round(w),Math.round(h.y+(c+1)*k.height))]:[new mxPoint(Math.round(h.x+(c+1)*k.width),Math.round(h.y)),new mxPoint(Math.round(h.x+(c+1)*k.width),Math.round(x))];null!=a[c]?(a[c].points=d,a[c].redraw()):(d=new mxPolyline(d,this.pageBreakColor),d.dialect=this.dialect,d.isDashed=this.pageBreakDashed,d.pointerEvents=!1,d.init(this.view.backgroundPane),d.redraw(),a[c]=d)}for(c=b;c<a.length;c++)a[c].destroy();a.splice(b,a.length-b)}});a(this.horizontalPageBreaks);\r\na(this.verticalPageBreaks)};var c=mxGraphHandler.prototype.shouldRemoveCellsFromParent;mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(a,b,d){for(var e=0;e<b.length;e++){if(this.graph.isTableCell(b[e])||this.graph.isTableRow(b[e]))return!1;if(this.graph.getModel().isVertex(b[e])){var f=this.graph.getCellGeometry(b[e]);if(null!=f&&f.relative)return!1}}return c.apply(this,arguments)};var d=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var a=\r\nd.apply(this,arguments);a.intersects=mxUtils.bind(this,function(b,c){return this.isConnecting()?!0:mxCellMarker.prototype.intersects.apply(a,arguments)});return a};mxGraphView.prototype.createBackgroundPageShape=function(a){return new mxRectangleShape(a,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var a=this.getGraphBounds(),b=0<a.width?a.x/this.scale-this.translate.x:0,c=0<a.height?a.y/this.scale-this.translate.y:0,d=this.graph.pageFormat,\r\ne=this.graph.pageScale,f=d.width*e,d=d.height*e,e=Math.floor(Math.min(0,b)/f),p=Math.floor(Math.min(0,c)/d);return new mxRectangle(this.scale*(this.translate.x+e*f),this.scale*(this.translate.y+p*d),this.scale*(Math.ceil(Math.max(1,b+a.width/this.scale)/f)-e)*f,this.scale*(Math.ceil(Math.max(1,c+a.height/this.scale)/d)-p)*d)};var b=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(a,c){b.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||\r\nthis.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=a+"px",this.view.backgroundPageShape.node.style.marginTop=c+"px")};var f=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(a,b,c,d,e,n){var g=f.apply(this,arguments);null==n||n||mxEvent.addListener(g,"mousedown",function(a){mxEvent.consume(a)});return g};var e=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=\r\nfunction(a,b,c){var d,f=this.graph.model.getParent(a);if(b)d=this.graph.model.isEdge(a)?null:this.graph.getCellGeometry(a),d=!this.graph.model.isEdge(f)&&!this.graph.isSiblingSelected(a)&&(null!=d&&d.relative||!this.graph.isContainer(f)||this.graph.isPart(a));else if(d=e.apply(this,arguments),this.graph.isTableCell(a)||this.graph.isTableRow(a))d=f,this.graph.isTable(d)||(d=this.graph.model.getParent(d)),d=!this.graph.selectionCellsHandler.isHandled(d)||this.graph.isCellSelected(d)&&this.graph.isToggleEvent(c.getEvent())||\r\nthis.graph.isCellSelected(a)&&!this.graph.isToggleEvent(c.getEvent())||this.graph.isTableCell(a)&&this.graph.isCellSelected(f);return d};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(a){a=a.getCell();for(var b=this.graph.getModel(),c=b.getParent(a),d=this.graph.view.getState(c),e=this.graph.isCellSelected(a);null!=d&&(b.isVertex(c)||b.isEdge(c));){var f=this.graph.isCellSelected(c),e=e||f;if(f||!e&&(this.graph.isTableCell(a)||this.graph.isTableRow(a)))a=c;c=b.getParent(c)}return a}})();EditorUi=function(a,c,d){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=c||document.body;var b=this.editor.graph;b.lightbox=d;this.initialDefaultVertexStyle=mxUtils.clone(b.defaultVertexStyle);this.initialDefaultEdgeStyle=mxUtils.clone(b.defaultEdgeStyle);b.useCssTransforms&&(this.lazyZoomDelay=0);mxClient.IS_SVG?mxPopupMenu.prototype.submenuImage="data:image/gif;base64,R0lGODlhCQAJAIAAAP///zMzMyH5BAEAAAAALAAAAAAJAAkAAAIPhI8WebHsHopSOVgb26AAADs=":(new Image).src=\r\nmxPopupMenu.prototype.submenuImage;mxClient.IS_SVG||null==mxConnectionHandler.prototype.connectImage||((new Image).src=mxConnectionHandler.prototype.connectImage.src);this.editor.chromeless&&!this.editor.editable&&(this.footerHeight=0,b.isEnabled=function(){return!1},b.panningHandler.isForcePanningEvent=function(a){return!mxEvent.isPopupTrigger(a.getEvent())});this.actions=new Actions(this);this.menus=this.createMenus();if(!b.standalone){var f="rounded shadow glass dashed dashPattern labelBackgroundColor comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification sketchStyle pointerEvents".split(" "),\r\ne="shape edgeStyle curved rounded elbow jumpStyle jumpSize comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification sketchStyle".split(" ");this.setDefaultStyle=function(a){try{var c=b.view.getState(a);if(null!=c){var d=a.clone();d.style="";var e=b.getCellStyle(d);a=[];var d=[],f;for(f in c.style)e[f]!=c.style[f]&&(a.push(c.style[f]),d.push(f));for(var g=b.getModel().getStyle(c.cell),h=null!=g?g.split(";"):[],g=0;g<h.length;g++){var k=\r\nh[g],l=k.indexOf("=");if(0<=l){f=k.substring(0,l);var m=k.substring(l+1);null!=e[f]&&"none"==m&&(a.push(m),d.push(f))}}b.getModel().isEdge(c.cell)?b.currentEdgeStyle={}:b.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",d,"values",a,"cells",[c.cell]))}}catch(S){this.handleError(S)}};this.clearDefaultStyle=function(){b.currentEdgeStyle=mxUtils.clone(b.defaultEdgeStyle);b.currentVertexStyle=mxUtils.clone(b.defaultVertexStyle);this.fireEvent(new mxEventObject("styleChanged",\r\n"keys",[],"values",[],"cells",[]))};var h=["fontFamily","fontSource","fontSize","fontColor"];for(c=0;c<h.length;c++)0>mxUtils.indexOf(f,h[c])&&f.push(h[c]);var g="edgeStyle startArrow startFill startSize endArrow endFill endSize".split(" "),k=[["startArrow","startFill","endArrow","endFill"],["startSize","endSize"],["sourcePerimeterSpacing","targetPerimeterSpacing"],["strokeColor","strokeWidth"],["fillColor","gradientColor","gradientDirection"],["align","verticalAlign"],["opacity"],["html"]];for(c=\r\n0;c<k.length;c++)for(d=0;d<k[c].length;d++)f.push(k[c][d]);for(c=0;c<e.length;c++)0>mxUtils.indexOf(f,e[c])&&f.push(e[c]);var l=function(a,c,d,g,h,l,m){g=null!=g?g:b.currentVertexStyle;h=null!=h?h:b.currentEdgeStyle;d=null!=d?d:b.getModel();if(m){m=[];for(var p=0;p<a.length;p++)m=m.concat(d.getDescendants(a[p]));a=m}d.beginUpdate();try{for(p=0;p<a.length;p++){var n=a[p],t;if(c)t=["fontSize","fontFamily","fontColor"];else{var r=d.getStyle(n),ba=null!=r?r.split(";"):[];t=f.slice();for(var u=0;u<ba.length;u++){var v=\r\nba[u],P=v.indexOf("=");if(0<=P){var w=v.substring(0,P),y=mxUtils.indexOf(t,w);0<=y&&t.splice(y,1);for(m=0;m<k.length;m++){var x=k[m];if(0<=mxUtils.indexOf(x,w))for(var z=0;z<x.length;z++){var E=mxUtils.indexOf(t,x[z]);0<=E&&t.splice(E,1)}}}}}var Z=d.isEdge(n);m=Z?h:g;for(var B=d.getStyle(n),u=0;u<t.length;u++){var w=t[u],H=m[w];null!=H&&("shape"!=w||Z)&&(!Z||l||0>mxUtils.indexOf(e,w))&&(B=mxUtils.setStyle(B,w,H))}Editor.simpleLabels&&(B=mxUtils.setStyle(mxUtils.setStyle(B,"html",null),"whiteSpace",\r\nnull));d.setStyle(n,B)}}finally{d.endUpdate()}};b.addListener("cellsInserted",function(a,b){l(b.getProperty("cells"))});b.addListener("textInserted",function(a,b){l(b.getProperty("cells"),!0)});this.insertHandler=l;this.createDivs();this.createUi();this.refresh();var m=mxUtils.bind(this,function(a){null==a&&(a=window.event);return b.isEditing()||null!=a&&this.isSelectionAllowed(a)});this.container==document.body&&(this.menubarContainer.onselectstart=m,this.menubarContainer.onmousedown=m,this.toolbarContainer.onselectstart=\r\nm,this.toolbarContainer.onmousedown=m,this.diagramContainer.onselectstart=m,this.diagramContainer.onmousedown=m,this.sidebarContainer.onselectstart=m,this.sidebarContainer.onmousedown=m,this.formatContainer.onselectstart=m,this.formatContainer.onmousedown=m,this.footerContainer.onselectstart=m,this.footerContainer.onmousedown=m,null!=this.tabContainer&&(this.tabContainer.onselectstart=m));!this.editor.chromeless||this.editor.editable?(c=function(a){if(null!=a){var b=mxEvent.getSource(a);if("A"==b.nodeName)for(;null!=\r\nb;){if("geHint"==b.className)return!0;b=b.parentNode}}return m(a)},mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",c):this.diagramContainer.oncontextmenu=c):b.panningHandler.usePopupTrigger=!1;b.init(this.diagramContainer);mxClient.IS_SVG&&null!=b.view.getDrawPane()&&(c=b.view.getDrawPane().ownerSVGElement,null!=c&&(c.style.position="absolute"));this.hoverIcons=this.createHoverIcons();if(null!=b.graphHandler){var n=\r\nb.graphHandler.start;b.graphHandler.start=function(){null!=z.hoverIcons&&z.hoverIcons.reset();n.apply(this,arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(a){var b=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(a)-b.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(a)-b.y-this.diagramContainer.clientHeight?this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var p=\r\n!1,t=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(a,b){return p||t.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(a){32!=a.which||b.isEditing()?mxEvent.isConsumed(a)||27!=a.keyCode||this.hideDialog(null,!0):(p=!0,this.hoverIcons.reset(),b.container.style.cursor="move",b.isEditing()||mxEvent.getSource(a)!=b.container||mxEvent.consume(a))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(a){b.container.style.cursor=\r\n"";p=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var r=b.panningHandler.isForcePanningEvent;b.panningHandler.isForcePanningEvent=function(a){return r.apply(this,arguments)||p||mxEvent.isMouseEvent(a.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(a.getEvent()))&&(!mxEvent.isControlDown(a.getEvent())&&mxEvent.isRightMouseButton(a.getEvent())||mxEvent.isMiddleMouseButton(a.getEvent()))};var v=b.cellEditor.isStopEditingEvent;b.cellEditor.isStopEditingEvent=function(a){return v.apply(this,\r\narguments)||13==a.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a)||mxClient.IS_SF&&mxEvent.isShiftDown(a))};var u=b.isZoomWheelEvent;b.isZoomWheelEvent=function(){return p||u.apply(this,arguments)};var w=!1,x=null,B=null,E=null,G=mxUtils.bind(this,function(){if(null!=this.toolbar&&w!=b.cellEditor.isContentEditing()){for(var a=this.toolbar.container.firstChild,c=[];null!=a;){var d=a.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,a)&&(a.parentNode.removeChild(a),\r\nc.push(a));a=d}a=this.toolbar.fontMenu;d=this.toolbar.sizeMenu;if(null==E)this.toolbar.createTextToolbar();else{for(var e=0;e<E.length;e++)this.toolbar.container.appendChild(E[e]);this.toolbar.fontMenu=x;this.toolbar.sizeMenu=B}w=b.cellEditor.isContentEditing();x=a;B=d;E=c}}),z=this,I=b.cellEditor.startEditing;b.cellEditor.startEditing=function(){I.apply(this,arguments);G();if(b.cellEditor.isContentEditing()){var a=!1,c=function(){a||(a=!0,window.setTimeout(function(){var c=b.getSelectedEditingElement();\r\nnull!=c&&(c=mxUtils.getCurrentStyle(c),null!=c&&null!=z.toolbar&&(z.toolbar.setFontName(Graph.stripQuotes(c.fontFamily)),z.toolbar.setFontSize(parseInt(c.fontSize))));a=!1},0))};mxEvent.addListener(b.cellEditor.textarea,"input",c);mxEvent.addListener(b.cellEditor.textarea,"touchend",c);mxEvent.addListener(b.cellEditor.textarea,"mouseup",c);mxEvent.addListener(b.cellEditor.textarea,"keyup",c);c()}};var y=b.cellEditor.stopEditing;b.cellEditor.stopEditing=function(a,b){try{y.apply(this,arguments),G()}catch(P){z.handleError(P)}};\r\nb.container.setAttribute("tabindex","0");b.container.style.cursor="default";if(window.self===window.top&&null!=b.container.parentNode)try{b.container.focus()}catch(L){}var H=b.fireMouseEvent;b.fireMouseEvent=function(a,b,c){a==mxEvent.MOUSE_DOWN&&this.container.focus();H.apply(this,arguments)};b.popupMenuHandler.autoExpand=!0;null!=this.menus&&(b.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(a,b,c){this.menus.createPopupMenu(a,b,c)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,\r\nfunction(a){b.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=function(){return keyHandler};b.connectionHandler.addListener(mxEvent.CONNECT,function(a,c){var d=[c.getProperty("cell")];c.getProperty("terminalInserted")&&(d.push(c.getProperty("terminal")),window.setTimeout(function(){null!=z.hoverIcons&&z.hoverIcons.update(b.view.getState(d[d.length-1]))},0));l(d)});this.addListener("styleChanged",mxUtils.bind(this,function(a,c){var d=c.getProperty("cells"),\r\nk=!1,l=!1;if(0<d.length)for(var m=0;m<d.length&&(k=b.getModel().isVertex(d[m])||k,!(l=b.getModel().isEdge(d[m])||l)||!k);m++);else l=k=!0;for(var d=c.getProperty("keys"),p=c.getProperty("values"),m=0;m<d.length;m++){var n=0<=mxUtils.indexOf(h,d[m]);if("strokeColor"!=d[m]||null!=p[m]&&"none"!=p[m])if(0<=mxUtils.indexOf(e,d[m]))l||0<=mxUtils.indexOf(g,d[m])?null==p[m]?delete b.currentEdgeStyle[d[m]]:b.currentEdgeStyle[d[m]]=p[m]:k&&0<=mxUtils.indexOf(f,d[m])&&(null==p[m]?delete b.currentVertexStyle[d[m]]:\r\nb.currentVertexStyle[d[m]]=p[m]);else if(0<=mxUtils.indexOf(f,d[m])){if(k||n)null==p[m]?delete b.currentVertexStyle[d[m]]:b.currentVertexStyle[d[m]]=p[m];if(l||n||0<=mxUtils.indexOf(g,d[m]))null==p[m]?delete b.currentEdgeStyle[d[m]]:b.currentEdgeStyle[d[m]]=p[m]}}null!=this.toolbar&&(this.toolbar.setFontName(b.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(b.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className=\r\n"orthogonalEdgeStyle"==b.currentEdgeStyle.edgeStyle&&"1"==b.currentEdgeStyle.curved?"geSprite geSprite-curved":"straight"==b.currentEdgeStyle.edgeStyle||"none"==b.currentEdgeStyle.edgeStyle||null==b.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==b.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==b.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==b.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==\r\nb.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==b.currentEdgeStyle.elbow?"verticalisometric":"horizontalisometric"):"geSprite geSprite-orthogonal"),null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==b.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==b.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==b.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"),null!=this.toolbar.lineStartMenu&&\r\n(this.toolbar.lineStartMenu.getElementsByTagName("div")[0].className=this.getCssClassForMarker("start",b.currentEdgeStyle.shape,b.currentEdgeStyle[mxConstants.STYLE_STARTARROW],mxUtils.getValue(b.currentEdgeStyle,"startFill","1"))),null!=this.toolbar.lineEndMenu&&(this.toolbar.lineEndMenu.getElementsByTagName("div")[0].className=this.getCssClassForMarker("end",b.currentEdgeStyle.shape,b.currentEdgeStyle[mxConstants.STYLE_ENDARROW],mxUtils.getValue(b.currentEdgeStyle,"endFill","1"))))}));null!=this.toolbar&&\r\n(a=mxUtils.bind(this,function(){var a=b.currentVertexStyle.fontFamily||"Helvetica",c=String(b.currentVertexStyle.fontSize||"12"),d=b.getView().getState(b.getSelectionCell());null!=d&&(a=d.style[mxConstants.STYLE_FONTFAMILY]||a,c=d.style[mxConstants.STYLE_FONTSIZE]||c,10<a.length&&(a=a.substring(0,8)+"..."));this.toolbar.setFontName(a);this.toolbar.setFontSize(c)}),b.getSelectionModel().addListener(mxEvent.CHANGE,a),b.getModel().addListener(mxEvent.CHANGE,a));b.addListener(mxEvent.CELLS_ADDED,function(a,\r\nc){var d=c.getProperty("cells"),e=c.getProperty("parent");b.getModel().isLayer(e)&&!b.isCellVisible(e)&&null!=d&&0<d.length&&b.getModel().setVisible(e,!0)});this.gestureHandler=mxUtils.bind(this,function(a){null!=this.currentMenu&&mxEvent.getSource(a)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);this.resizeHandler=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){null!=this.editor.graph&&this.refresh()}),0)});mxEvent.addListener(window,\r\n"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,\r\nfunction(){b.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){b.view.validateBackground()}));b.addListener("gridSizeChanged",mxUtils.bind(this,function(){b.isGridEnabled()&&b.view.validateBackground()}));this.editor.resetGraph()}this.init();b.standalone||this.open()};mxUtils.extend(EditorUi,mxEventSource);EditorUi.compactUi=!0;EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.menubarHeight=30;\r\nEditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.toolbarHeight=38;EditorUi.prototype.footerHeight=28;EditorUi.prototype.sidebarFooterHeight=34;EditorUi.prototype.hsplitPosition=640>=screen.width?118:"large"!=urlParams["sidebar-entries"]?212:240;EditorUi.prototype.allowAnimation=!0;EditorUi.prototype.lightboxMaxFitScale=2;EditorUi.prototype.lightboxVerticalDivider=4;EditorUi.prototype.hsplitClickEnabled=!1;\r\nEditorUi.prototype.init=function(){var a=this.editor.graph;if(!a.standalone){"0"!=urlParams["shape-picker"]&&this.installShapePicker();mxEvent.addListener(a.container,"scroll",mxUtils.bind(this,function(){a.tooltipHandler.hide();null!=a.connectionHandler&&null!=a.connectionHandler.constraintHandler&&a.connectionHandler.constraintHandler.reset()}));a.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){a.tooltipHandler.hide();var b=a.getRubberband();null!=b&&b.cancel()}));mxEvent.addListener(a.container,\r\n"keydown",mxUtils.bind(this,function(a){this.onKeyDown(a)}));mxEvent.addListener(a.container,"keypress",mxUtils.bind(this,function(a){this.onKeyPress(a)}));this.addUndoListener();this.addBeforeUnloadListener();a.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));a.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));var c=a.setDefaultParent,d=this;this.editor.graph.setDefaultParent=function(){c.apply(this,\r\narguments);d.updateActionStates()};a.editLink=d.actions.get("editLink").funct;this.updateActionStates();this.initClipboard();this.initCanvas();null!=this.format&&this.format.init()}};\r\nEditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,c=this;a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,b){"mouseDown"==b.getProperty("eventName")&&c.hideShapePicker()}));a.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){c.hideShapePicker(!0)}));a.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){c.hideShapePicker(!0)}));a.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){c.hideShapePicker(!0)}));var d=\r\na.popupMenuHandler.isMenuShowing;a.popupMenuHandler.isMenuShowing=function(){return d.apply(this,arguments)||null!=c.shapePicker};var b=a.dblClick;a.dblClick=function(d,e){if(this.isEnabled())if(null!=e||null==c.sidebar||mxEvent.isShiftDown(d)||a.isCellLocked(a.getDefaultParent()))b.apply(this,arguments);else{mxEvent.consume(d);var f=mxUtils.convertPoint(this.container,mxEvent.getClientX(d),mxEvent.getClientY(d));window.setTimeout(mxUtils.bind(this,function(){c.showShapePicker(f.x,f.y)}),30)}};if(null!=\r\nthis.hoverIcons){var f=this.hoverIcons.drag;this.hoverIcons.drag=function(){c.hideShapePicker();f.apply(this,arguments)};var e=this.hoverIcons.execute;this.hoverIcons.execute=function(b,d,f){var g=f.getEvent();this.graph.isCloneEvent(g)||mxEvent.isShiftDown(g)?e.apply(this,arguments):this.graph.connectVertex(b.cell,d,this.graph.defaultEdgeLength,g,null,null,mxUtils.bind(this,function(e,g,h){var k=a.getCompositeParent(b.cell);e=a.getCellGeometry(k);for(f.consume();null!=k&&a.model.isVertex(k)&&null!=\r\ne&&e.relative;)cell=k,k=a.model.getParent(cell),e=a.getCellGeometry(k);window.setTimeout(mxUtils.bind(this,function(){c.showShapePicker(f.getGraphX(),f.getGraphY(),k,mxUtils.bind(this,function(b){h(b);null!=c.hoverIcons&&c.hoverIcons.update(a.view.getState(b))}),d)}),30)}),mxUtils.bind(this,function(a){this.graph.selectCellsForConnectVertex(a,g,this)}))}}};\r\nEditorUi.prototype.showShapePicker=function(a,c,d,b,f){a=this.createShapePicker(a,c,d,b,f,mxUtils.bind(this,function(){this.hideShapePicker()}),this.getCellsForShapePicker(d));null!=a&&(null!=this.hoverIcons&&this.hoverIcons.reset(),c=this.editor.graph,c.popupMenuHandler.hideMenu(),c.tooltipHandler.hideTooltip(),this.hideCurrentMenu(),this.hideShapePicker(),this.shapePickerCallback=b,this.shapePicker=a)};\r\nEditorUi.prototype.createShapePicker=function(a,c,d,b,f,e,h){var g=null;if(null!=h&&0<h.length){var k=this,l=this.editor.graph,g=document.createElement("div");f=l.view.getState(d);var m=null==d||null!=f&&l.isTransparentState(f)?null:l.copyStyle(d);d=6>h.length?35*h.length:140;g.className="geToolbarContainer geSidebarContainer geSidebar";g.style.cssText="position:absolute;left:"+a+"px;top:"+c+"px;width:"+d+"px;border-radius:10px;padding:4px;text-align:center;box-shadow:0px 0px 3px 1px #d1d1d1;padding: 6px 0 8px 0;z-index: "+\r\nmxPopupMenu.prototype.zIndex+1+";";mxUtils.setPrefixedStyle(g.style,"transform","translate(-22px,-22px)");null!=l.background&&l.background!=mxConstants.NONE&&(g.style.backgroundColor=l.background);l.container.appendChild(g);d=mxUtils.bind(this,function(d){var f=document.createElement("a");f.className="geItem";f.style.cssText="position:relative;display:inline-block;position:relative;width:30px;height:30px;cursor:pointer;overflow:hidden;padding:3px 0 0 3px;";g.appendChild(f);null!=m&&"1"!=urlParams.sketch?\r\nthis.sidebar.graph.pasteStyle(m,[d]):k.insertHandler([d],""!=d.value&&"1"!=urlParams.sketch,this.sidebar.graph.model);this.sidebar.createThumb([d],25,25,f,null,!0,!1,d.geometry.width,d.geometry.height);mxEvent.addListener(f,"click",function(){var f=l.cloneCell(d);if(null!=b)b(f);else{f.geometry.x=l.snap(Math.round(a/l.view.scale)-l.view.translate.x-d.geometry.width/2);f.geometry.y=l.snap(Math.round(c/l.view.scale)-l.view.translate.y-d.geometry.height/2);l.model.beginUpdate();try{l.addCell(f)}finally{l.model.endUpdate()}l.setSelectionCell(f);\r\nl.scrollCellToVisible(f);l.startEditingAtCell(f);null!=k.hoverIcons&&k.hoverIcons.update(l.view.getState(f))}null!=e&&e()})});for(f=0;f<h.length;f++)d(h[f]);h=g.offsetTop+g.clientHeight-(l.container.scrollTop+l.container.offsetHeight);0<h&&(g.style.top=Math.max(l.container.scrollTop+22,c-h)+"px");h=g.offsetLeft+g.clientWidth-(l.container.scrollLeft+l.container.offsetWidth);0<h&&(g.style.left=Math.max(l.container.scrollLeft+22,a-h)+"px")}return g};\r\nEditorUi.prototype.getCellsForShapePicker=function(a){var c=mxUtils.bind(this,function(a,b,c,e){return this.editor.graph.createVertex(null,null,e||"",0,0,b||120,c||60,a,!1)});return[null!=a?this.editor.graph.cloneCell(a):c("text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;",40,20,"Text"),c("whiteSpace=wrap;html=1;"),c("rounded=1;whiteSpace=wrap;html=1;"),c("ellipse;whiteSpace=wrap;html=1;"),c("rhombus;whiteSpace=wrap;html=1;",80,80),c("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;"),\r\nc("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60),c("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",120,80),c("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80),c("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;"),c("triangle;whiteSpace=wrap;html=1;",60,80),c("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",120,80),c("shape=tape;whiteSpace=wrap;html=1;",120,100),c("ellipse;shape=cloud;whiteSpace=wrap;html=1;",\r\n120,80),c("shape=cylinder;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;",60,80),c("shape=callout;rounded=1;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;",120,80),c("shape=doubleArrow;whiteSpace=wrap;html=1;arrowWidth=0.4;arrowSize=0.3;"),c("shape=singleArrow;whiteSpace=wrap;html=1;arrowWidth=0.4;arrowSize=0.4;",80,60),c("shape=singleArrow;whiteSpace=wrap;html=1;arrowWidth=0.4;arrowSize=0.4;flipH=1;",80,60),c("shape=waypoint;sketch=0;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",\r\n40,40)]};EditorUi.prototype.hideShapePicker=function(a){null!=this.shapePicker&&(this.shapePicker.parentNode.removeChild(this.shapePicker),this.shapePicker=null,a||null==this.shapePickerCallback||this.shapePickerCallback(),this.shapePickerCallback=null)};\r\nEditorUi.prototype.onKeyDown=function(a){var c=this.editor.graph;if(9==a.which&&c.isEnabled()&&!mxEvent.isControlDown(a)){if(c.isEditing())if(mxEvent.isAltDown(a))c.stopEditing(!1);else try{c.cellEditor.isContentEditing()&&c.cellEditor.isTextSelected()?document.execCommand(mxEvent.isShiftDown(a)?"outdent":"indent",!1,null):mxEvent.isShiftDown(a)?c.stopEditing(!1):c.cellEditor.insertTab(c.cellEditor.isContentEditing()?null:4)}catch(d){}else mxEvent.isAltDown(a)?c.selectParentCell():c.selectCell(!mxEvent.isShiftDown(a));\r\nmxEvent.consume(a)}};\r\nEditorUi.prototype.onKeyPress=function(a){var c=this.editor.graph;!this.isImmediateEditingEvent(a)||c.isEditing()||c.isSelectionEmpty()||0===a.which||27===a.which||mxEvent.isAltDown(a)||mxEvent.isControlDown(a)||mxEvent.isMetaDown(a)||(c.escape(),c.startEditing(),mxClient.IS_FF&&(c=c.cellEditor,null!=c.textarea&&(c.textarea.innerHTML=String.fromCharCode(a.which),a=document.createRange(),a.selectNodeContents(c.textarea),a.collapse(!1),c=window.getSelection(),c.removeAllRanges(),c.addRange(a))))};\r\nEditorUi.prototype.isImmediateEditingEvent=function(a){return!0};\r\nEditorUi.prototype.getCssClassForMarker=function(a,c,d,b){return"flexArrow"==c?null!=d&&d!=mxConstants.NONE?"geSprite geSprite-"+a+"blocktrans":"geSprite geSprite-noarrow":"box"==d||"halfCircle"==d?"geSprite geSvgSprite geSprite-"+d+("end"==a?" geFlipSprite":""):d==mxConstants.ARROW_CLASSIC?"1"==b?"geSprite geSprite-"+a+"classic":"geSprite geSprite-"+a+"classictrans":d==mxConstants.ARROW_CLASSIC_THIN?"1"==b?"geSprite geSprite-"+a+"classicthin":"geSprite geSprite-"+a+"classicthintrans":d==mxConstants.ARROW_OPEN?\r\n"geSprite geSprite-"+a+"open":d==mxConstants.ARROW_OPEN_THIN?"geSprite geSprite-"+a+"openthin":d==mxConstants.ARROW_BLOCK?"1"==b?"geSprite geSprite-"+a+"block":"geSprite geSprite-"+a+"blocktrans":d==mxConstants.ARROW_BLOCK_THIN?"1"==b?"geSprite geSprite-"+a+"blockthin":"geSprite geSprite-"+a+"blockthintrans":d==mxConstants.ARROW_OVAL?"1"==b?"geSprite geSprite-"+a+"oval":"geSprite geSprite-"+a+"ovaltrans":d==mxConstants.ARROW_DIAMOND?"1"==b?"geSprite geSprite-"+a+"diamond":"geSprite geSprite-"+a+"diamondtrans":\r\nd==mxConstants.ARROW_DIAMOND_THIN?"1"==b?"geSprite geSprite-"+a+"thindiamond":"geSprite geSprite-"+a+"thindiamondtrans":"openAsync"==d?"geSprite geSprite-"+a+"openasync":"dash"==d?"geSprite geSprite-"+a+"dash":"cross"==d?"geSprite geSprite-"+a+"cross":"async"==d?"1"==b?"geSprite geSprite-"+a+"async":"geSprite geSprite-"+a+"asynctrans":"circle"==d||"circlePlus"==d?"1"==b||"circle"==d?"geSprite geSprite-"+a+"circle":"geSprite geSprite-"+a+"circleplus":"ERone"==d?"geSprite geSprite-"+a+"erone":"ERmandOne"==\r\nd?"geSprite geSprite-"+a+"eronetoone":"ERmany"==d?"geSprite geSprite-"+a+"ermany":"ERoneToMany"==d?"geSprite geSprite-"+a+"eronetomany":"ERzeroToOne"==d?"geSprite geSprite-"+a+"eroneopt":"ERzeroToMany"==d?"geSprite geSprite-"+a+"ermanyopt":"geSprite geSprite-noarrow"};EditorUi.prototype.createMenus=function(){return null};\r\nEditorUi.prototype.updatePasteActionStates=function(){var a=this.editor.graph,c=this.actions.get("paste"),d=this.actions.get("pasteHere");c.setEnabled(this.editor.graph.cellEditor.isContentEditing()||(!mxClient.IS_FF&&null!=navigator.clipboard||!mxClipboard.isEmpty())&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()));d.setEnabled(c.isEnabled())};\r\nEditorUi.prototype.initClipboard=function(){var a=this,c=mxClipboard.cut;mxClipboard.cut=function(b){b.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):c.apply(this,arguments);a.updatePasteActionStates()};mxClipboard.copy=function(b){var c=null;if(b.cellEditor.isContentEditing())document.execCommand("copy",!1,null);else{for(var c=c||b.getSelectionCells(),c=b.getExportableCells(b.model.getTopmostCells(c)),d={},e=b.createCellLookup(c),f=b.cloneCells(c,null,d),m=new mxGraphModel,n=m.getChildAt(m.getRoot(),\r\n0),p=0;p<f.length;p++){m.add(n,f[p]);var t=b.view.getState(c[p]);if(null!=t){var r=b.getCellGeometry(f[p]);null!=r&&r.relative&&!m.isEdge(c[p])&&null==e[mxObjectIdentity.get(m.getParent(c[p]))]&&(r.offset=null,r.relative=!1,r.x=t.x/t.view.scale-t.view.translate.x,r.y=t.y/t.view.scale-t.view.translate.y)}}b.updateCustomLinks(b.createCellMapping(d,e),f);mxClipboard.insertCount=1;mxClipboard.setCells(f)}a.updatePasteActionStates();return c};var d=mxClipboard.paste;mxClipboard.paste=function(b){var c=\r\nnull;b.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):c=d.apply(this,arguments);a.updatePasteActionStates();return c};var b=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){b.apply(this,arguments);a.updatePasteActionStates()};var f=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(b,c){f.apply(this,arguments);a.updatePasteActionStates()};this.updatePasteActionStates()};\r\nEditorUi.prototype.lazyZoomDelay=20;EditorUi.prototype.wheelZoomDelay=400;EditorUi.prototype.buttonZoomDelay=600;\r\nEditorUi.prototype.initCanvas=function(){var a=this.editor.graph;a.timerAutoScroll=!0;a.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.max(0,Math.round((a.container.offsetHeight-34)/a.view.scale)))};a.view.getBackgroundPageBounds=function(){var a=this.graph.getPageLayout(),b=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+a.x*b.width),this.scale*(this.translate.y+a.y*b.height),this.scale*a.width*b.width,\r\nthis.scale*a.height*b.height)};a.getPreferredPageSize=function(a,b,c){a=this.getPageLayout();b=this.getPageSize();return new mxRectangle(0,0,a.width*b.width,a.height*b.height)};var c=null,d=this;if(this.editor.isChromelessView()){this.chromelessResize=c=mxUtils.bind(this,function(b,c,d,e){if(null!=a.container&&!a.isViewer()){d=null!=d?d:0;e=null!=e?e:0;var f=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),g=mxUtils.hasScrollbars(a.container),h=a.view.translate,k=a.view.scale,m=mxRectangle.fromRectangle(f);\r\nm.x=m.x/k-h.x;m.y=m.y/k-h.y;m.width/=k;m.height/=k;var h=a.container.scrollTop,l=a.container.scrollLeft,p=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)p+=3;var n=a.container.offsetWidth-p,p=a.container.offsetHeight-p;b=b?Math.max(.3,Math.min(c||1,n/m.width)):k;c=(n-b*m.width)/2/b;var r=0==this.lightboxVerticalDivider?0:(p-b*m.height)/this.lightboxVerticalDivider/b;g&&(c=Math.max(c,0),r=Math.max(r,0));if(g||f.width<n||f.height<p)a.view.scaleAndTranslate(b,Math.floor(c-\r\nm.x),Math.floor(r-m.y)),a.container.scrollTop=h*b/k,a.container.scrollLeft=l*b/k;else if(0!=d||0!=e)f=a.view.translate,a.view.setTranslate(Math.floor(f.x+d/k),Math.floor(f.y+e/k))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var b=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",b);this.destroyFunctions.push(function(){mxEvent.removeListener(window,"resize",b)});this.editor.addListener("resetGraphView",mxUtils.bind(this,\r\nfunction(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(b){a.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(b){a.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var f=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position="fixed";this.chromelessToolbar.style.overflow="hidden";this.chromelessToolbar.style.boxSizing=\r\n"border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.backgroundColor="#000000";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left=a.isViewer()?"0":"50%";mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"borderRadius","20px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out");var e=mxUtils.bind(this,function(){var b=mxUtils.getCurrentStyle(a.container);a.isViewer()?this.chromelessToolbar.style.top=\r\n"0":this.chromelessToolbar.style.bottom=(null!=b?parseInt(b["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",e);e();var h=0,e=mxUtils.bind(this,function(a,b,c){h++;var d=document.createElement("span");d.style.paddingLeft="8px";d.style.paddingRight="8px";d.style.cursor="pointer";mxEvent.addListener(d,"click",a);null!=c&&d.setAttribute("title",c);a=document.createElement("img");a.setAttribute("border","0");\r\na.setAttribute("src",b);d.appendChild(a);this.chromelessToolbar.appendChild(d);return d});null!=f.backBtn&&e(mxUtils.bind(this,function(a){window.location.href=f.backBtn.url;mxEvent.consume(a)}),Editor.backLargeImage,mxResources.get("back",null,"Back"));if(this.isPagesEnabled()){var g=e(mxUtils.bind(this,function(a){this.actions.get("previousPage").funct();mxEvent.consume(a)}),Editor.previousLargeImage,mxResources.get("previousPage")),k=document.createElement("div");k.style.display="inline-block";\r\nk.style.verticalAlign="top";k.style.fontFamily="Helvetica,Arial";k.style.marginTop="8px";k.style.fontSize="14px";k.style.color="#ffffff";this.chromelessToolbar.appendChild(k);var l=e(mxUtils.bind(this,function(a){this.actions.get("nextPage").funct();mxEvent.consume(a)}),Editor.nextLargeImage,mxResources.get("nextPage")),m=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&(k.innerHTML="",mxUtils.write(k,mxUtils.indexOf(this.pages,this.currentPage)+1+" / "+\r\nthis.pages.length))});g.style.paddingLeft="0px";g.style.paddingRight="4px";l.style.paddingLeft="4px";l.style.paddingRight="0px";var n=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(l.style.display="",g.style.display="",k.style.display="inline-block"):(l.style.display="none",g.style.display="none",k.style.display="none");m()});this.editor.addListener("resetGraphView",n);this.editor.addListener("pageSelected",m)}e(mxUtils.bind(this,function(a){this.actions.get("zoomOut").funct();\r\nmxEvent.consume(a)}),Editor.zoomOutLargeImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");e(mxUtils.bind(this,function(a){this.actions.get("zoomIn").funct();mxEvent.consume(a)}),Editor.zoomInLargeImage,mxResources.get("zoomIn")+" (Alt+Mousewheel)");e(mxUtils.bind(this,function(b){a.isLightboxView()?(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(b)}),Editor.actualSizeLargeImage,mxResources.get("fit"));var p=null,t=null,r=mxUtils.bind(this,\r\nfunction(a){null!=p&&(window.clearTimeout(p),p=null);null!=t&&(window.clearTimeout(t),t=null);p=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);p=null;t=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display="none";t=null}),600)}),a||200)}),v=mxUtils.bind(this,function(a){null!=p&&(window.clearTimeout(p),p=null);null!=t&&(window.clearTimeout(t),t=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,\r\na||30)});if("1"==urlParams.layers){this.layersDialog=null;var u=e(mxUtils.bind(this,function(b){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog();mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog=null}));var c=u.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius",\r\n"5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily="Helvetica,Arial";this.layersDialog.style.backgroundColor="#000000";this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.color="#ffffff";mxUtils.setOpacity(this.layersDialog,70);this.layersDialog.style.left=c.left+"px";this.layersDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+this.chromelessToolbar.offsetHeight+4+"px";c=mxUtils.getCurrentStyle(this.editor.graph.container);\r\nthis.layersDialog.style.zIndex=c.zIndex;document.body.appendChild(this.layersDialog)}mxEvent.consume(b)}),Editor.layersLargeImage,mxResources.get("layers")),w=a.getModel();w.addListener(mxEvent.CHANGE,function(){u.style.display=1<w.getChildCount(w.root)?"":"none"})}("1"!=urlParams.openInSameWin||navigator.standalone)&&this.addChromelessToolbarItems(e);null==this.editor.editButtonLink&&null==this.editor.editButtonFunc||e(mxUtils.bind(this,function(b){null!=this.editor.editButtonFunc?this.editor.editButtonFunc():\r\n"_blank"==this.editor.editButtonLink?this.editor.editAsNew(this.getEditBlankXml()):a.openLink(this.editor.editButtonLink,"editWindow");mxEvent.consume(b)}),Editor.editLargeImage,mxResources.get("edit"));if(null!=this.lightboxToolbarActions)for(n=0;n<this.lightboxToolbarActions.length;n++){var x=this.lightboxToolbarActions[n];x.elem=e(x.fn,x.icon,x.tooltip)}null!=f.refreshBtn&&e(mxUtils.bind(this,function(a){f.refreshBtn.url?window.location.href=f.refreshBtn.url:window.location.reload();mxEvent.consume(a)}),\r\nEditor.refreshLargeImage,mxResources.get("refresh",null,"Refresh"));null!=f.fullscreenBtn&&window.self!==window.top&&e(mxUtils.bind(this,function(b){f.fullscreenBtn.url?a.openLink(f.fullscreenBtn.url):a.openLink(window.location.href);mxEvent.consume(b)}),Editor.fullscreenLargeImage,mxResources.get("openInNewWindow",null,"Open in New Window"));(f.closeBtn&&window.self===window.top||a.lightbox&&("1"==urlParams.close||this.container!=document.body))&&e(mxUtils.bind(this,function(a){"1"==urlParams.close||\r\nf.closeBtn?window.close():(this.destroy(),mxEvent.consume(a))}),Editor.closeLargeImage,mxResources.get("close")+" (Escape)");this.chromelessToolbar.style.display="none";a.isViewer()||mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transform","translate(-50%,0)");a.container.appendChild(this.chromelessToolbar);mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||(mxEvent.isShiftDown(a)||v(30),r())}));mxEvent.addListener(this.chromelessToolbar,\r\nmxClient.IS_POINTER?"pointermove":"mousemove",function(a){mxEvent.consume(a)});mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(a){mxEvent.isShiftDown(a)?r():v(100)}));mxEvent.addListener(this.chromelessToolbar,"mousemove",mxUtils.bind(this,function(a){mxEvent.isShiftDown(a)?r():v(100);mxEvent.consume(a)}));mxEvent.addListener(this.chromelessToolbar,"mouseleave",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||v(30)}));var B=a.getTolerance();a.addMouseListener({startX:0,\r\nstartY:0,scrollLeft:0,scrollTop:0,mouseDown:function(b,c){this.startX=c.getGraphX();this.startY=c.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(a,b){},mouseUp:function(b,c){mxEvent.isTouchEvent(c.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<B&&Math.abs(this.scrollTop-a.container.scrollTop)<B&&Math.abs(this.startX-c.getGraphX())<B&&Math.abs(this.startY-c.getGraphY())<B&&(0<parseFloat(d.chromelessToolbar.style.opacity||0)?\r\nr():v(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var E=a.view.validate;a.view.validate=function(){if(null!=this.graph.container&&mxUtils.hasScrollbars(this.graph.container)){var a=this.graph.getPagePadding(),b=this.graph.getPageSize();this.translate.x=a.x-(this.x0||0)*b.width;this.translate.y=a.y-(this.y0||0)*b.height}E.apply(this,arguments)};if(!a.isViewer()){var G=a.sizeDidChange;a.sizeDidChange=function(){if(null!=this.container&&mxUtils.hasScrollbars(this.container)){var b=\r\nthis.getPageLayout(),c=this.getPagePadding(),d=this.getPageSize(),e=Math.ceil(2*c.x+b.width*d.width),f=Math.ceil(2*c.y+b.height*d.height),g=a.minimumGraphSize;if(null==g||g.width!=e||g.height!=f)a.minimumGraphSize=new mxRectangle(0,0,e,f);e=c.x-b.x*d.width;c=c.y-b.y*d.height;this.autoTranslate||this.view.translate.x==e&&this.view.translate.y==c?G.apply(this,arguments):(this.autoTranslate=!0,this.view.x0=b.x,this.view.y0=b.y,b=a.view.translate.x,d=a.view.translate.y,a.view.setTranslate(e,c),a.container.scrollLeft+=\r\nMath.round((e-b)*a.view.scale),a.container.scrollTop+=Math.round((c-d)*a.view.scale),this.autoTranslate=!1)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var z=a.view.getBackgroundPane(),I=a.view.getDrawPane();a.cumulativeZoomFactor=1;var y=null,H=null,L=null,O=null,P=null,M=function(b){null!=y&&window.clearTimeout(y);window.setTimeout(function(){if(!a.isMouseDown||O)y=window.setTimeout(mxUtils.bind(this,function(){a.isFastZoomEnabled()&&(null!=a.view.backgroundPageShape&&\r\nnull!=a.view.backgroundPageShape.node&&(mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform-origin",null),mxUtils.setPrefixedStyle(a.view.backgroundPageShape.node.style,"transform",null)),I.style.transformOrigin="",z.style.transformOrigin="",mxClient.IS_SF?(I.style.transform="scale(1)",z.style.transform="scale(1)",window.setTimeout(function(){I.style.transform="";z.style.transform=""},0)):(I.style.transform="",z.style.transform=""),a.view.getDecoratorPane().style.opacity="",\r\na.view.getOverlayPane().style.opacity="");var b=new mxPoint(a.container.scrollLeft,a.container.scrollTop),e=mxUtils.getOffset(a.container),f=a.view.scale,g=0,k=0;null!=H&&(g=a.container.offsetWidth/2-H.x+e.x,k=a.container.offsetHeight/2-H.y+e.y);a.zoom(a.cumulativeZoomFactor);a.view.scale!=f&&(null!=L&&(g+=b.x-L.x,k+=b.y-L.y),null!=c&&d.chromelessResize(!1,null,g*(a.cumulativeZoomFactor-1),k*(a.cumulativeZoomFactor-1)),!mxUtils.hasScrollbars(a.container)||0==g&&0==k||(a.container.scrollLeft-=g*(a.cumulativeZoomFactor-\r\n1),a.container.scrollTop-=k*(a.cumulativeZoomFactor-1)));null!=P&&I.setAttribute("filter",P);a.cumulativeZoomFactor=1;P=O=H=L=y=null}),null!=b?b:a.isFastZoomEnabled()?d.wheelZoomDelay:d.lazyZoomDelay)},0)},W=Date.now();a.lazyZoom=function(b,c,e){(c=c||!a.scrollbars)&&(H=new mxPoint(a.container.offsetLeft+a.container.clientWidth/2,a.container.offsetTop+a.container.clientHeight/2));if(mxClient.IS_IOS||!(15>Date.now()-W)){W=Date.now();b?.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=\r\n(this.view.scale+.05)/this.view.scale:(this.cumulativeZoomFactor*=this.zoomFactor,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*20)/20/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor*=(this.view.scale-.05)/this.view.scale:(this.cumulativeZoomFactor/=this.zoomFactor,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*20)/20/this.view.scale);this.cumulativeZoomFactor=Math.max(.05,Math.min(this.view.scale*\r\nthis.cumulativeZoomFactor,160))/this.view.scale;if(a.isFastZoomEnabled()){null==P&&""!=I.getAttribute("filter")&&(P=I.getAttribute("filter"),I.removeAttribute("filter"));L=new mxPoint(a.container.scrollLeft,a.container.scrollTop);b=c?a.container.scrollLeft+a.container.clientWidth/2:H.x+a.container.scrollLeft-a.container.offsetLeft;var f=c?a.container.scrollTop+a.container.clientHeight/2:H.y+a.container.scrollTop-a.container.offsetTop;I.style.transformOrigin=b+"px "+f+"px";I.style.transform="scale("+\r\nthis.cumulativeZoomFactor+")";z.style.transformOrigin=b+"px "+f+"px";z.style.transform="scale("+this.cumulativeZoomFactor+")";null!=a.view.backgroundPageShape&&null!=a.view.backgroundPageShape.node&&(b=a.view.backgroundPageShape.node,mxUtils.setPrefixedStyle(b.style,"transform-origin",(c?a.container.clientWidth/2+a.container.scrollLeft-b.offsetLeft+"px":H.x+a.container.scrollLeft-b.offsetLeft-a.container.offsetLeft+"px")+" "+(c?a.container.clientHeight/2+a.container.scrollTop-b.offsetTop+"px":H.y+\r\na.container.scrollTop-b.offsetTop-a.container.offsetTop+"px")),mxUtils.setPrefixedStyle(b.style,"transform","scale("+this.cumulativeZoomFactor+")"));a.view.getDecoratorPane().style.opacity="0";a.view.getOverlayPane().style.opacity="0";null!=d.hoverIcons&&d.hoverIcons.reset()}M(e)}};mxEvent.addGestureListeners(a.container,function(a){null!=y&&window.clearTimeout(y)},null,function(b){1!=a.cumulativeZoomFactor&&M(0)});mxEvent.addListener(a.container,"scroll",function(b){null==y||a.isMouseDown||1==a.cumulativeZoomFactor||\r\nM(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(b,c,d,e,f){if(null==this.dialogs||0==this.dialogs.length)if(!a.scrollbars&&!d&&a.isScrollWheelEvent(b))d=a.view.getTranslate(),e=40/a.view.scale,mxEvent.isShiftDown(b)?a.view.setTranslate(d.x+(c?-e:e),d.y):a.view.setTranslate(d.x,d.y+(c?e:-e));else if(d||a.isZoomWheelEvent(b))for(var g=mxEvent.getSource(b);null!=g;){if(g==a.container)return a.tooltipHandler.hideTooltip(),H=null!=e&&null!=f?new mxPoint(e,f):new mxPoint(mxEvent.getClientX(b),\r\nmxEvent.getClientY(b)),O=d,a.lazyZoom(c),mxEvent.consume(b),!1;g=g.parentNode}}),a.container);a.panningHandler.zoomGraph=function(b){a.cumulativeZoomFactor=b.scale;a.lazyZoom(0<b.scale,!0);mxEvent.consume(b)}};EditorUi.prototype.addChromelessToolbarItems=function(a){a(mxUtils.bind(this,function(a){this.actions.get("print").funct();mxEvent.consume(a)}),Editor.printLargeImage,mxResources.get("print"))};EditorUi.prototype.isPagesEnabled=function(){return this.editor.editable||"1"!=urlParams["hide-pages"]};\r\nEditorUi.prototype.createTemporaryGraph=function(a){var c=new Graph(document.createElement("div"));c.stylesheet.styles=mxUtils.clone(a.styles);c.resetViewOnRootChange=!1;c.setConnectable(!1);c.gridEnabled=!1;c.autoScroll=!1;c.setTooltips(!1);c.setEnabled(!1);c.container.style.visibility="hidden";c.container.style.position="absolute";c.container.style.overflow="hidden";c.container.style.height="1px";c.container.style.width="1px";return c};\r\nEditorUi.prototype.addChromelessClickHandler=function(){var a=urlParams.highlight;null!=a&&0<a.length&&(a="#"+a);this.editor.graph.addClickHandler(a)};EditorUi.prototype.toggleFormatPanel=function(a){a=null!=a?a:0==this.formatWidth;null!=this.format&&(this.formatWidth=a?240:0,this.formatContainer.style.display=a?"":"none",this.refresh(),this.format.refresh(),this.fireEvent(new mxEventObject("formatWidthChanged")))};\r\nEditorUi.prototype.lightboxFit=function(a){if(this.isDiagramEmpty())this.editor.graph.view.setScale(1);else{var c=urlParams.border,d=60;null!=c&&(d=parseInt(c));this.editor.graph.maxFitScale=this.lightboxMaxFitScale;this.editor.graph.fit(d,null,null,null,null,null,a);this.editor.graph.maxFitScale=null}};EditorUi.prototype.isDiagramEmpty=function(){var a=this.editor.graph.getModel();return 1==a.getChildCount(a.root)&&0==a.getChildCount(a.getChildAt(a.root,0))};\r\nEditorUi.prototype.isSelectionAllowed=function(a){return"SELECT"==mxEvent.getSource(a).nodeName||"INPUT"==mxEvent.getSource(a).nodeName&&mxUtils.isAncestorNode(this.formatContainer,mxEvent.getSource(a))};EditorUi.prototype.addBeforeUnloadListener=function(){window.onbeforeunload=mxUtils.bind(this,function(){if(!this.editor.isChromelessView())return this.onBeforeUnload()})};EditorUi.prototype.onBeforeUnload=function(){if(this.editor.modified)return mxResources.get("allChangesLost")};\r\nEditorUi.prototype.open=function(){try{null!=window.opener&&null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(a,c){try{var d=mxUtils.parseXml(a);this.editor.setGraphXml(d.documentElement);this.editor.setModified(!1);this.editor.undoManager.clear();null!=c&&(this.editor.setFilename(c),this.updateDocumentTitle())}catch(b){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+b.message)}}))}catch(a){}this.editor.graph.view.validate();this.editor.graph.sizeDidChange();\r\nthis.editor.fireEvent(new mxEventObject("resetGraphView"))};EditorUi.prototype.showPopupMenu=function(a,c,d,b){this.editor.graph.popupMenuHandler.hideMenu();var f=new mxPopupMenu(a);f.div.className+=" geMenubarMenu";f.smartSeparators=!0;f.showDisabled=!0;f.autoExpand=!0;f.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(f,arguments);f.destroy()});f.popup(c,d,null,b);this.setCurrentMenu(f)};\r\nEditorUi.prototype.setCurrentMenu=function(a,c){this.currentMenuElt=c;this.currentMenu=a};EditorUi.prototype.resetCurrentMenu=function(){this.currentMenu=this.currentMenuElt=null};EditorUi.prototype.hideCurrentMenu=function(){null!=this.currentMenu&&(this.currentMenu.hideMenu(),this.resetCurrentMenu())};EditorUi.prototype.updateDocumentTitle=function(){var a=this.editor.getOrCreateFilename();null!=this.editor.appName&&(a+=" - "+this.editor.appName);document.title=a};\r\nEditorUi.prototype.createHoverIcons=function(){return new HoverIcons(this.editor.graph)};EditorUi.prototype.redo=function(){try{this.editor.graph.isEditing()?document.execCommand("redo",!1,null):this.editor.undoManager.redo()}catch(a){}};EditorUi.prototype.undo=function(){try{var a=this.editor.graph;if(a.isEditing()){var c=a.cellEditor.textarea.innerHTML;document.execCommand("undo",!1,null);c==a.cellEditor.textarea.innerHTML&&(a.stopEditing(!0),this.editor.undoManager.undo())}else this.editor.undoManager.undo()}catch(d){}};\r\nEditorUi.prototype.canRedo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canRedo()};EditorUi.prototype.canUndo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canUndo()};EditorUi.prototype.getEditBlankXml=function(){return mxUtils.getXml(this.editor.getGraphXml())};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var c=0<a.indexOf("?")?1:0,d;for(d in urlParams)a=0==c?a+"?":a+"&",a+=d+"="+urlParams[d],c++;return a};\r\nEditorUi.prototype.setScrollbars=function(a){var c=this.editor.graph,d=c.container.style.overflow;c.scrollbars=a;this.editor.updateGraphComponents();d!=c.container.style.overflow&&(c.container.scrollTop=0,c.container.scrollLeft=0,c.view.scaleAndTranslate(1,0,0),this.resetScrollbars());this.fireEvent(new mxEventObject("scrollbarsChanged"))};EditorUi.prototype.hasScrollbars=function(){return this.editor.graph.scrollbars};\r\nEditorUi.prototype.resetScrollbars=function(){var a=this.editor.graph;if(!this.editor.extendCanvas)a.container.scrollTop=0,a.container.scrollLeft=0,mxUtils.hasScrollbars(a.container)||a.view.setTranslate(0,0);else if(!this.editor.isChromelessView())if(mxUtils.hasScrollbars(a.container))if(a.pageVisible){var c=a.getPagePadding();a.container.scrollTop=Math.floor(c.y-this.editor.initialTopSpacing)-1;a.container.scrollLeft=Math.floor(Math.min(c.x,(a.container.scrollWidth-a.container.clientWidth)/2))-\r\n1;c=a.getGraphBounds();0<c.width&&0<c.height&&(c.x>a.container.scrollLeft+.9*a.container.clientWidth&&(a.container.scrollLeft=Math.min(c.x+c.width-a.container.clientWidth,c.x-10)),c.y>a.container.scrollTop+.9*a.container.clientHeight&&(a.container.scrollTop=Math.min(c.y+c.height-a.container.clientHeight,c.y-10)))}else{var c=a.getGraphBounds(),d=Math.max(c.width,a.scrollTileSize.width*a.view.scale);a.container.scrollTop=Math.floor(Math.max(0,c.y-Math.max(20,(a.container.clientHeight-Math.max(c.height,\r\na.scrollTileSize.height*a.view.scale))/4)));a.container.scrollLeft=Math.floor(Math.max(0,c.x-Math.max(0,(a.container.clientWidth-d)/2)))}else{var c=mxRectangle.fromRectangle(a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds()),d=a.view.translate,b=a.view.scale;c.x=c.x/b-d.x;c.y=c.y/b-d.y;c.width/=b;c.height/=b;a.view.setTranslate(Math.floor(Math.max(0,(a.container.clientWidth-c.width)/2)-c.x+2),Math.floor((a.pageVisible?0:Math.max(0,(a.container.clientHeight-c.height)/4))-c.y+1))}};\r\nEditorUi.prototype.setPageVisible=function(a){var c=this.editor.graph,d=mxUtils.hasScrollbars(c.container),b=0,f=0;d&&(b=c.view.translate.x*c.view.scale-c.container.scrollLeft,f=c.view.translate.y*c.view.scale-c.container.scrollTop);c.pageVisible=a;c.pageBreaksVisible=a;c.preferPageSize=a;c.view.validateBackground();d&&(a=c.getSelectionCells(),c.clearSelection(),c.setSelectionCells(a));c.sizeDidChange();d&&(c.container.scrollLeft=c.view.translate.x*c.view.scale-b,c.container.scrollTop=c.view.translate.y*\r\nc.view.scale-f);this.fireEvent(new mxEventObject("pageViewChanged"))};function ChangeGridColor(a,c){this.ui=a;this.color=c}ChangeGridColor.prototype.execute=function(){var a=this.ui.editor.graph.view.gridColor;this.ui.setGridColor(this.color);this.color=a};(function(){var a=new mxObjectCodec(new ChangeGridColor,["ui"]);mxCodecRegistry.register(a)})();\r\nfunction ChangePageSetup(a,c,d,b,f){this.ui=a;this.previousColor=this.color=c;this.previousImage=this.image=d;this.previousFormat=this.format=b;this.previousPageScale=this.pageScale=f;this.ignoreImage=this.ignoreColor=!1}\r\nChangePageSetup.prototype.execute=function(){var a=this.ui.editor.graph;if(!this.ignoreColor){this.color=this.previousColor;var c=a.background;this.ui.setBackgroundColor(this.previousColor);this.previousColor=c}this.ignoreImage||(this.image=this.previousImage,c=a.backgroundImage,this.ui.setBackgroundImage(this.previousImage),this.previousImage=c);null!=this.previousFormat&&(this.format=this.previousFormat,c=a.pageFormat,this.previousFormat.width!=c.width||this.previousFormat.height!=c.height)&&(this.ui.setPageFormat(this.previousFormat),\r\nthis.previousFormat=c);null!=this.foldingEnabled&&this.foldingEnabled!=this.ui.editor.graph.foldingEnabled&&(this.ui.setFoldingEnabled(this.foldingEnabled),this.foldingEnabled=!this.foldingEnabled);null!=this.previousPageScale&&(a=this.ui.editor.graph.pageScale,this.previousPageScale!=a&&(this.ui.setPageScale(this.previousPageScale),this.previousPageScale=a))};\r\n(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat","previousPageScale"]);a.afterDecode=function(a,d,b){b.previousColor=b.color;b.previousImage=b.image;b.previousFormat=b.format;b.previousPageScale=b.pageScale;null!=b.foldingEnabled&&(b.foldingEnabled=!b.foldingEnabled);return b};mxCodecRegistry.register(a)})();EditorUi.prototype.setBackgroundColor=function(a){this.editor.graph.background=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("backgroundColorChanged"))};\r\nEditorUi.prototype.setFoldingEnabled=function(a){this.editor.graph.foldingEnabled=a;this.editor.graph.view.revalidate();this.fireEvent(new mxEventObject("foldingEnabledChanged"))};EditorUi.prototype.setPageFormat=function(a,c){c=null!=c?c:"1"==urlParams.sketch;this.editor.graph.pageFormat=a;c||(this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct());this.fireEvent(new mxEventObject("pageFormatChanged"))};\r\nEditorUi.prototype.setPageScale=function(a){this.editor.graph.pageScale=a;this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct();this.fireEvent(new mxEventObject("pageScaleChanged"))};EditorUi.prototype.setGridColor=function(a){this.editor.graph.view.gridColor=a;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("gridColorChanged"))};\r\nEditorUi.prototype.addUndoListener=function(){var a=this.actions.get("undo"),c=this.actions.get("redo"),d=this.editor.undoManager,b=mxUtils.bind(this,function(){a.setEnabled(this.canUndo());c.setEnabled(this.canRedo())});d.addListener(mxEvent.ADD,b);d.addListener(mxEvent.UNDO,b);d.addListener(mxEvent.REDO,b);d.addListener(mxEvent.CLEAR,b);var f=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){f.apply(this,arguments);b()};var e=this.editor.graph.cellEditor.stopEditing;\r\nthis.editor.graph.cellEditor.stopEditing=function(a,c){e.apply(this,arguments);b()};b()};\r\nEditorUi.prototype.updateActionStates=function(){var a=this.editor.graph,c=!1,d=!1,b=!1,f=!1,e=[],h=a.getSelectionCells();if(null!=h)for(var g=0;g<h.length;g++){var k=h[g];a.isCellEditable(k)&&(e.push(k),f=!0,a.getModel().isEdge(k)&&(b=!0),a.getModel().isVertex(k)&&(c=!0,0<a.getModel().getChildCount(k)||a.isContainer(k)))&&(d=!0)}h="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 sharp strokeColor".split(" ");for(g=\r\n0;g<h.length;g++)this.actions.get(h[g]).setEnabled(f);this.actions.get("lockUnlock").setEnabled(!a.isSelectionEmpty());this.actions.get("setAsDefaultStyle").setEnabled(1==a.getSelectionCount());this.actions.get("clearWaypoints").setEnabled(f);this.actions.get("copySize").setEnabled(1==a.getSelectionCount());this.actions.get("bringForward").setEnabled(1==e.length);this.actions.get("sendBackward").setEnabled(1==e.length);this.actions.get("turn").setEnabled(0<a.getResizableCells(a.getSelectionCells()).length);\r\nthis.actions.get("curved").setEnabled(b);this.actions.get("rotation").setEnabled(c);this.actions.get("wordWrap").setEnabled(c);this.actions.get("autosize").setEnabled(c);b=c&&1==a.getSelectionCount();this.actions.get("group").setEnabled(1<a.getSelectionCount()||b&&!a.isContainer(a.getSelectionCell()));this.actions.get("ungroup").setEnabled(d);this.actions.get("removeFromGroup").setEnabled(b&&a.getModel().isVertex(a.getModel().getParent(e[0])));a.view.getState(a.getSelectionCell());this.menus.get("navigation").setEnabled(f||\r\nnull!=a.view.currentRoot);this.actions.get("collapsible").setEnabled(c&&(a.isContainer(a.getSelectionCell())||0<a.model.getChildCount(a.getSelectionCell())));this.actions.get("home").setEnabled(null!=a.view.currentRoot);this.actions.get("exitGroup").setEnabled(null!=a.view.currentRoot);this.actions.get("enterGroup").setEnabled(1==a.getSelectionCount()&&a.isValidRoot(a.getSelectionCell()));d=1==a.getSelectionCount()&&a.isCellFoldable(a.getSelectionCell());this.actions.get("expand").setEnabled(d);this.actions.get("collapse").setEnabled(d);\r\nthis.actions.get("editLink").setEnabled(1==e.length);this.actions.get("openLink").setEnabled(1==a.getSelectionCount()&&null!=a.getLinkForCell(a.getSelectionCell()));this.actions.get("guides").setEnabled(a.isEnabled());this.actions.get("grid").setEnabled(!this.editor.chromeless||this.editor.editable);e=a.isEnabled()&&!a.isCellLocked(a.getDefaultParent());this.menus.get("layout").setEnabled(e);this.menus.get("insert").setEnabled(e);this.menus.get("direction").setEnabled(e&&c);this.menus.get("align").setEnabled(e&&\r\nc&&1<a.getSelectionCount());this.menus.get("distribute").setEnabled(e&&c&&1<a.getSelectionCount());this.actions.get("selectVertices").setEnabled(e);this.actions.get("selectEdges").setEnabled(e);this.actions.get("selectAll").setEnabled(e);this.actions.get("selectNone").setEnabled(e);this.updatePasteActionStates()};EditorUi.prototype.zeroOffset=new mxPoint(0,0);EditorUi.prototype.getDiagramContainerOffset=function(){return this.zeroOffset};\r\nEditorUi.prototype.refresh=function(a){a=null!=a?a:!0;var c=this.container.clientWidth,d=this.container.clientHeight;this.container==document.body&&(c=document.body.clientWidth||document.documentElement.clientWidth,d=document.documentElement.clientHeight);var b=0;mxClient.IS_IOS&&!window.navigator.standalone&&window.innerHeight!=document.documentElement.clientHeight&&(b=document.documentElement.clientHeight-window.innerHeight,window.scrollTo(0,0));var f=Math.max(0,Math.min(this.hsplitPosition,c-this.splitSize-\r\n20)),e=0;null!=this.menubar&&(this.menubarContainer.style.height=this.menubarHeight+"px",e+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.style.top=this.menubarHeight+"px",this.toolbarContainer.style.height=this.toolbarHeight+"px",e+=this.toolbarHeight);0<e&&(e+=1);c=0;if(null!=this.sidebarFooterContainer){var h=this.footerHeight+b,c=Math.max(0,Math.min(d-e-h,this.sidebarFooterHeight));this.sidebarFooterContainer.style.width=f+"px";this.sidebarFooterContainer.style.height=c+"px";\r\nthis.sidebarFooterContainer.style.bottom=h+"px"}d=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=e+"px";this.sidebarContainer.style.width=f+"px";this.formatContainer.style.top=e+"px";this.formatContainer.style.width=d+"px";this.formatContainer.style.display=null!=this.format?"":"none";var h=this.getDiagramContainerOffset(),g=null!=this.hsplit.parentNode?f+this.splitSize:0;this.diagramContainer.style.left=g+h.x+"px";this.diagramContainer.style.top=e+h.y+"px";this.footerContainer.style.height=\r\nthis.footerHeight+"px";this.hsplit.style.top=this.sidebarContainer.style.top;this.hsplit.style.bottom=this.footerHeight+b+"px";this.hsplit.style.left=f+"px";this.footerContainer.style.display=0==this.footerHeight?"none":"";null!=this.tabContainer&&(this.tabContainer.style.left=g+"px");0<this.footerHeight&&(this.footerContainer.style.bottom=b+"px");this.diagramContainer.style.right=d+"px";f=0;null!=this.tabContainer&&(this.tabContainer.style.bottom=this.footerHeight+b+"px",this.tabContainer.style.right=\r\nthis.diagramContainer.style.right,f=this.tabContainer.clientHeight);this.sidebarContainer.style.bottom=this.footerHeight+c+b+"px";this.formatContainer.style.bottom=this.footerHeight+b+"px";this.diagramContainer.style.bottom=this.footerHeight+b+f+"px";a&&this.editor.graph.sizeDidChange()};EditorUi.prototype.createTabContainer=function(){return null};\r\nEditorUi.prototype.createDivs=function(){this.menubarContainer=this.createDiv("geMenubarContainer");this.toolbarContainer=this.createDiv("geToolbarContainer");this.sidebarContainer=this.createDiv("geSidebarContainer");this.formatContainer=this.createDiv("geSidebarContainer geFormatContainer");this.diagramContainer=this.createDiv("geDiagramContainer");this.footerContainer=this.createDiv("geFooterContainer");this.hsplit=this.createDiv("geHsplit");this.hsplit.setAttribute("title",mxResources.get("collapseExpand"));\r\nthis.menubarContainer.style.top="0px";this.menubarContainer.style.left="0px";this.menubarContainer.style.right="0px";this.toolbarContainer.style.left="0px";this.toolbarContainer.style.right="0px";this.sidebarContainer.style.left="0px";this.formatContainer.style.right="0px";this.formatContainer.style.zIndex="1";this.diagramContainer.style.right=(null!=this.format?this.formatWidth:0)+"px";this.footerContainer.style.left="0px";this.footerContainer.style.right="0px";this.footerContainer.style.bottom=\r\n"0px";this.footerContainer.style.zIndex=mxPopupMenu.prototype.zIndex-3;this.hsplit.style.width=this.splitSize+"px";if(this.sidebarFooterContainer=this.createSidebarFooterContainer())this.sidebarFooterContainer.style.left="0px";this.editor.chromeless?this.diagramContainer.style.border="none":this.tabContainer=this.createTabContainer()};EditorUi.prototype.createSidebarFooterContainer=function(){return null};\r\nEditorUi.prototype.createUi=function(){this.menubar=this.editor.chromeless?null:this.menus.createMenubar(this.createDiv("geMenubar"));null!=this.menubar&&this.menubarContainer.appendChild(this.menubar.container);null!=this.menubar&&(this.statusContainer=this.createStatusContainer(),this.editor.addListener("statusChanged",mxUtils.bind(this,function(){this.setStatusText(this.editor.getStatus())})),this.setStatusText(this.editor.getStatus()),this.menubar.container.appendChild(this.statusContainer),this.container.appendChild(this.menubarContainer));\r\nthis.sidebar=this.editor.chromeless?null:this.createSidebar(this.sidebarContainer);null!=this.sidebar&&this.container.appendChild(this.sidebarContainer);this.format=this.editor.chromeless||!this.formatEnabled?null:this.createFormat(this.formatContainer);null!=this.format&&this.container.appendChild(this.formatContainer);var a=this.editor.chromeless?null:this.createFooter();null!=a&&(this.footerContainer.appendChild(a),this.container.appendChild(this.footerContainer));null!=this.sidebar&&this.sidebarFooterContainer&&\r\nthis.container.appendChild(this.sidebarFooterContainer);this.container.appendChild(this.diagramContainer);null!=this.container&&null!=this.tabContainer&&this.container.appendChild(this.tabContainer);this.toolbar=this.editor.chromeless?null:this.createToolbar(this.createDiv("geToolbar"));null!=this.toolbar&&(this.toolbarContainer.appendChild(this.toolbar.container),this.container.appendChild(this.toolbarContainer));null!=this.sidebar&&(this.container.appendChild(this.hsplit),this.addSplitHandler(this.hsplit,\r\n!0,0,mxUtils.bind(this,function(a){this.hsplitPosition=a;this.refresh()})))};EditorUi.prototype.createStatusContainer=function(){var a=document.createElement("a");a.className="geItem geStatus";return a};EditorUi.prototype.setStatusText=function(a){this.statusContainer.innerHTML=a};EditorUi.prototype.createToolbar=function(a){return new Toolbar(this,a)};EditorUi.prototype.createSidebar=function(a){return new Sidebar(this,a)};EditorUi.prototype.createFormat=function(a){return new Format(this,a)};\r\nEditorUi.prototype.createFooter=function(){return this.createDiv("geFooter")};EditorUi.prototype.createDiv=function(a){var c=document.createElement("div");c.className=a;return c};\r\nEditorUi.prototype.addSplitHandler=function(a,c,d,b){function f(a){if(null!=h){var e=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a));b(Math.max(0,g+(c?e.x-h.x:h.y-e.y)-d));mxEvent.consume(a);g!=m()&&(k=!0,l=null)}}function e(a){f(a);h=g=null}var h=null,g=null,k=!0,l=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var m=mxUtils.bind(this,function(){var b=parseInt(c?a.style.left:a.style.bottom);c||(b=b+d-this.footerHeight);return b});mxEvent.addGestureListeners(a,function(a){h=new mxPoint(mxEvent.getClientX(a),\r\nmxEvent.getClientY(a));g=m();k=!1;mxEvent.consume(a)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){if(!k&&this.hsplitClickEnabled){var c=null!=l?l-d:0;l=m();b(c);mxEvent.consume(a)}}));mxEvent.addGestureListeners(document,null,f,e);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,f,e)})};\r\nEditorUi.prototype.handleError=function(a,c,d,b,f){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=c){f=mxUtils.htmlEntities(mxResources.get("unknownError"));var e=mxResources.get("ok");c=null!=c?c:mxResources.get("error");null!=a&&null!=a.message&&(f=mxUtils.htmlEntities(a.message));this.showError(c,f,e,d,null,null,null,null,null,null,null,null,b?d:null)}else null!=d&&d()};\r\nEditorUi.prototype.showError=function(a,c,d,b,f,e,h,g,k,l,m,n,p){a=new ErrorDialog(this,a,c,d||mxResources.get("ok"),b,f,e,h,n,g,k);c=Math.ceil(null!=c?c.length/50:1);this.showDialog(a.container,l||340,m||100+20*c,!0,!1,p);a.init()};EditorUi.prototype.showDialog=function(a,c,d,b,f,e,h,g,k,l){this.editor.graph.tooltipHandler.resetTimer();this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,c,d,b,f,e,h,g,k,l);this.dialogs.push(this.dialog)};\r\nEditorUi.prototype.hideDialog=function(a,c,d){null!=this.dialogs&&0<this.dialogs.length&&(null==d||d==this.dialog.container.firstChild)&&(d=this.dialogs.pop(),0==d.close(a,c)?this.dialogs.push(d):(this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,this.editor.fireEvent(new mxEventObject("hideDialog")),null==this.dialog&&"hidden"!=this.editor.graph.container.style.visibility&&window.setTimeout(mxUtils.bind(this,function(){this.editor.graph.isEditing()&&null!=this.editor.graph.cellEditor.textarea?\r\nthis.editor.graph.cellEditor.textarea.focus():(mxUtils.clearSelection(),this.editor.graph.container.focus())}),0)))};EditorUi.prototype.ctrlEnter=function(){var a=this.editor.graph;if(a.isEnabled())try{for(var c=a.getSelectionCells(),d=new mxDictionary,b=[],f=0;f<c.length;f++){var e=a.isTableCell(c[f])?a.model.getParent(c[f]):c[f];null==e||d.get(e)||(d.put(e,!0),b.push(e))}a.setSelectionCells(a.duplicateCells(b,!1))}catch(h){this.handleError(h)}};\r\nEditorUi.prototype.pickColor=function(a,c){var d=this.editor.graph,b=d.cellEditor.saveSelection(),f=230+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12)),e=new ColorDialog(this,a||"none",function(a){d.cellEditor.restoreSelection(b);c(a)},function(){d.cellEditor.restoreSelection(b)});this.showDialog(e.container,230,f,!0,!1);e.init()};\r\nEditorUi.prototype.openFile=function(){window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:320,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null})};\r\nEditorUi.prototype.extractGraphModelFromHtml=function(a){var c=null;try{var d=a.indexOf("&lt;mxGraphModel ");if(0<=d){var b=a.lastIndexOf("&lt;/mxGraphModel&gt;");b>d&&(c=a.substring(d,b+21).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/\\\\&quot;/g,\'"\').replace(/\\n/g,""))}}catch(f){}return c};\r\nEditorUi.prototype.readGraphModelFromClipboard=function(a){this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(c){null!=c?a(c):this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(c){if(null!=c){var b=decodeURIComponent(c);this.isCompatibleString(b)&&(c=b)}a(c)}),"text")}),"html")};\r\nEditorUi.prototype.readGraphModelFromClipboardWithType=function(a,c){navigator.clipboard.read().then(mxUtils.bind(this,function(d){if(null!=d&&0<d.length&&"html"==c&&0<=mxUtils.indexOf(d[0].types,"text/html"))d[0].getType("text/html").then(mxUtils.bind(this,function(b){b.text().then(mxUtils.bind(this,function(b){try{var c=this.parseHtmlData(b),d="text/plain"!=c.getAttribute("data-type")?c.innerHTML:mxUtils.trim(null==c.innerText?mxUtils.getTextContent(c):c.innerText);try{var f=d.lastIndexOf("%3E");\r\n0<=f&&f<d.length-3&&(d=d.substring(0,f+3))}catch(m){}try{var k=c.getElementsByTagName("span"),l=null!=k&&0<k.length?mxUtils.trim(decodeURIComponent(k[0].textContent)):decodeURIComponent(d);this.isCompatibleString(l)&&(d=l)}catch(m){}}catch(m){}a(this.isCompatibleString(d)?d:null)}))["catch"](function(b){a(null)})}))["catch"](function(b){a(null)});else if(null!=d&&0<d.length&&"text"==c&&0<=mxUtils.indexOf(d[0].types,"text/plain"))d[0].getType("text/plain").then(function(b){b.text().then(function(b){a(b)})["catch"](function(){a(null)})})["catch"](function(){a(null)});\r\nelse a(null)}))["catch"](function(c){a(null)})};\r\nEditorUi.prototype.parseHtmlData=function(a){var c=null;if(null!=a&&0<a.length){var d="<meta "==a.substring(0,6),c=document.createElement("div");c.innerHTML=(d?\'<meta charset="utf-8">\':"")+this.editor.graph.sanitizeHtml(a);asHtml=!0;a=c.getElementsByTagName("style");if(null!=a)for(;0<a.length;)a[0].parentNode.removeChild(a[0]);null!=c.firstChild&&c.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=c.firstChild.nextSibling&&c.firstChild.nextSibling.nodeType==mxConstants.NODETYPE_ELEMENT&&"META"==\r\nc.firstChild.nodeName&&"A"==c.firstChild.nextSibling.nodeName&&null==c.firstChild.nextSibling.nextSibling&&(a=null==c.firstChild.nextSibling.innerText?mxUtils.getTextContent(c.firstChild.nextSibling):c.firstChild.nextSibling.innerText,a==c.firstChild.nextSibling.getAttribute("href")&&(mxUtils.setTextContent(c,a),asHtml=!1));d=d&&null!=c.firstChild?c.firstChild.nextSibling:c.firstChild;null!=d&&null==d.nextSibling&&d.nodeType==mxConstants.NODETYPE_ELEMENT&&"IMG"==d.nodeName?(a=d.getAttribute("src"),\r\nnull!=a&&("data:image/png;base64,"==a.substring(0,22)&&(d=this.extractGraphModelFromPng(a),null!=d&&0<d.length&&(a=d)),mxUtils.setTextContent(c,a),asHtml=!1)):(d=c.getElementsByTagName("img"),1==d.length&&(d=d[0],a=d.getAttribute("src"),null!=a&&d.parentNode==c&&1==c.children.length&&("data:image/png;base64,"==a.substring(0,22)&&(d=this.extractGraphModelFromPng(a),null!=d&&0<d.length&&(a=d)),mxUtils.setTextContent(c,a),asHtml=!1)));asHtml&&Graph.removePasteFormatting(c)}asHtml||c.setAttribute("data-type",\r\n"text/plain");return c};\r\nEditorUi.prototype.extractGraphModelFromEvent=function(a){var c=null,d=null;null!=a&&(a=null!=a.dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(10==document.documentMode||11==document.documentMode?d=a.getData("Text"):(d=0<=mxUtils.indexOf(a.types,"text/html")?a.getData("text/html"):null,mxUtils.indexOf(a.types,null==d||0==d.length)&&(d=a.getData("text/plain"))),null!=d&&(d=Graph.zapGremlins(mxUtils.trim(d)),a=this.extractGraphModelFromHtml(d),null!=a&&(d=a))));null!=d&&this.isCompatibleString(d)&&\r\n(c=d);return c};EditorUi.prototype.isCompatibleString=function(a){return!1};EditorUi.prototype.saveFile=function(a){a||null==this.editor.filename?(a=new FilenameDialog(this,this.editor.getOrCreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(a){this.save(a)}),null,mxUtils.bind(this,function(a){if(null!=a&&0<a.length)return!0;mxUtils.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(a.container,300,100,!0,!0),a.init()):this.save(this.editor.getOrCreateFilename())};\r\nEditorUi.prototype.save=function(a){if(null!=a){this.editor.graph.isEditing()&&this.editor.graph.stopEditing();var c=mxUtils.getXml(this.editor.getGraphXml());try{if(Editor.useLocalStorage){if(null!=localStorage.getItem(a)&&!mxUtils.confirm(mxResources.get("replaceIt",[a])))return;localStorage.setItem(a,c);this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("saved"))+" "+new Date)}else if(c.length<MAX_REQUEST_SIZE)(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(a)+"&xml="+encodeURIComponent(c))).simulate(document,\r\n"_blank");else{mxUtils.alert(mxResources.get("drawingTooLarge"));mxUtils.popup(c);return}this.editor.setModified(!1);this.editor.setFilename(a);this.updateDocumentTitle()}catch(d){this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("errorSavingFile")))}}};\r\nEditorUi.prototype.executeLayout=function(a,c,d){var b=this.editor.graph;if(b.isEnabled()){b.getModel().beginUpdate();try{a()}catch(f){throw f;}finally{this.allowAnimation&&c&&(null==navigator.userAgent||0>navigator.userAgent.indexOf("Camino"))?(a=new mxMorphing(b),a.addListener(mxEvent.DONE,mxUtils.bind(this,function(){b.getModel().endUpdate();null!=d&&d()})),a.startAnimation()):(b.getModel().endUpdate(),null!=d&&d())}}};\r\nEditorUi.prototype.showImageDialog=function(a,c,d,b){b=this.editor.graph.cellEditor;var f=b.saveSelection(),e=mxUtils.prompt(a,c);b.restoreSelection(f);if(null!=e&&0<e.length){var h=new Image;h.onload=function(){d(e,h.width,h.height)};h.onerror=function(){d(null);mxUtils.alert(mxResources.get("fileNotFound"))};h.src=e}else d(null)};EditorUi.prototype.showLinkDialog=function(a,c,d){a=new LinkDialog(this,a,c,d);this.showDialog(a.container,420,90,!0,!0);a.init()};\r\nEditorUi.prototype.showDataDialog=function(a){null!=a&&(a=new EditDataDialog(this,a),this.showDialog(a.container,480,420,!0,!1,null,!1),a.init())};\r\nEditorUi.prototype.showBackgroundImageDialog=function(a,c){a=null!=a?a:mxUtils.bind(this,function(a){a=new ChangePageSetup(this,null,a);a.ignoreColor=!0;this.editor.graph.model.execute(a)});var d=mxUtils.prompt(mxResources.get("backgroundImage"),null!=c?c.src:"");null!=d&&0<d.length?(c=new Image,c.onload=function(){a(new mxImage(d,c.width,c.height),!1)},c.onerror=function(){a(null,!0);mxUtils.alert(mxResources.get("fileNotFound"))},c.src=d):a(null)};\r\nEditorUi.prototype.setBackgroundImage=function(a){this.editor.graph.setBackgroundImage(a);this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImageChanged"))};EditorUi.prototype.confirm=function(a,c,d){mxUtils.confirm(a)?null!=c&&c():null!=d&&d()};EditorUi.prototype.createOutline=function(a){var c=new mxOutline(this.editor.graph);mxEvent.addListener(window,"resize",function(){c.update(!1)});return c};\r\nEditorUi.prototype.altShiftActions={67:"clearWaypoints",65:"connectionArrows",76:"editLink",80:"connectionPoints",84:"editTooltip",86:"pasteSize",88:"copySize",66:"copyData",69:"pasteData"};\r\nEditorUi.prototype.createKeyHandler=function(a){function c(a,c,d){h.push(function(){if(!b.isSelectionEmpty()&&b.isEnabled())if(c=null!=c?c:1,d){b.getModel().beginUpdate();try{for(var e=b.getSelectionCells(),f=0;f<e.length;f++)if(b.getModel().isVertex(e[f])&&b.isCellResizable(e[f])){var g=b.getCellGeometry(e[f]);null!=g&&(g=g.clone(),37==a?g.width=Math.max(0,g.width-c):38==a?g.height=Math.max(0,g.height-c):39==a?g.width+=c:40==a&&(g.height+=c),b.getModel().setGeometry(e[f],g))}}finally{b.getModel().endUpdate()}}else{var k=\r\nb.getSelectionCell(),g=b.model.getParent(k),e=null;1==b.getSelectionCount()&&b.model.isVertex(k)&&null!=b.layoutManager&&!b.isCellLocked(k)&&(e=b.layoutManager.getLayout(g));if(null!=e&&e.constructor==mxStackLayout)e=g.getIndex(k),37==a||38==a?b.model.add(g,k,Math.max(0,e-1)):39!=a&&40!=a||b.model.add(g,k,Math.min(b.model.getChildCount(g),e+1));else{e=b.getMovableCells(b.getSelectionCells());k=[];for(f=0;f<e.length;f++)g=b.getCurrentCellStyle(e[f]),"1"==mxUtils.getValue(g,"part","0")?(g=b.model.getParent(e[f]),\r\nb.model.isVertex(g)&&0>mxUtils.indexOf(e,g)&&k.push(g)):k.push(e[f]);0<k.length&&(e=g=0,37==a?g=-c:38==a?e=-c:39==a?g=c:40==a&&(e=c),b.moveCells(k,g,e))}}});null!=g&&window.clearTimeout(g);g=window.setTimeout(function(){if(0<h.length){b.getModel().beginUpdate();try{for(var a=0;a<h.length;a++)h[a]();h=[]}finally{b.getModel().endUpdate()}}},200)}var d=this,b=this.editor.graph,f=new mxKeyHandler(b),e=f.isEventIgnored;f.isEventIgnored=function(a){return!(mxEvent.isShiftDown(a)&&9==a.keyCode)&&(!this.isControlDown(a)||\r\nmxEvent.isShiftDown(a)||90!=a.keyCode&&89!=a.keyCode&&188!=a.keyCode&&190!=a.keyCode&&85!=a.keyCode)&&(66!=a.keyCode&&73!=a.keyCode||!this.isControlDown(a)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&e.apply(this,arguments)};f.isEnabledForEvent=function(a){return!mxEvent.isConsumed(a)&&this.isGraphEvent(a)&&this.isEnabled()&&(null==d.dialogs||0==d.dialogs.length)};f.isControlDown=function(a){return mxEvent.isControlDown(a)||mxClient.IS_MAC&&a.metaKey};var h=[],g=\r\nnull,k={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},l=f.getFunction;mxKeyHandler.prototype.getFunction=function(a){if(b.isEnabled()){if(mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){var e=d.actions.get(d.altShiftActions[a.keyCode]);if(null!=e)return e.funct}if(null!=k[a.keyCode]&&!b.isSelectionEmpty())if(!this.isControlDown(a)&&mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){if(b.model.isVertex(b.getSelectionCell()))return function(){var c=\r\nb.connectVertex(b.getSelectionCell(),k[a.keyCode],b.defaultEdgeLength,a,!0);null!=c&&0<c.length&&(1==c.length&&b.model.isEdge(c[0])?b.setSelectionCell(b.model.getTerminal(c[0],!1)):b.setSelectionCell(c[c.length-1]),b.scrollCellToVisible(b.getSelectionCell()),null!=d.hoverIcons&&d.hoverIcons.update(b.view.getState(b.getSelectionCell())))}}else return this.isControlDown(a)?function(){c(a.keyCode,mxEvent.isShiftDown(a)?b.gridSize:null,!0)}:function(){c(a.keyCode,mxEvent.isShiftDown(a)?b.gridSize:null)}}return l.apply(this,\r\narguments)};f.bindAction=mxUtils.bind(this,function(a,b,c,d){var e=this.actions.get(c);null!=e&&(c=function(){e.isEnabled()&&e.funct()},b?d?f.bindControlShiftKey(a,c):f.bindControlKey(a,c):d?f.bindShiftKey(a,c):f.bindKey(a,c))});var m=this,n=f.escape;f.escape=function(a){n.apply(this,arguments)};f.enter=function(){};f.bindControlShiftKey(36,function(){b.exitGroup()});f.bindControlShiftKey(35,function(){b.enterGroup()});f.bindShiftKey(36,function(){b.home()});f.bindKey(35,function(){b.refresh()});\r\nf.bindAction(107,!0,"zoomIn");f.bindAction(109,!0,"zoomOut");f.bindAction(80,!0,"print");f.bindAction(79,!0,"outline",!0);if(!this.editor.chromeless||this.editor.editable)f.bindControlKey(36,function(){b.isEnabled()&&b.foldCells(!0)}),f.bindControlKey(35,function(){b.isEnabled()&&b.foldCells(!1)}),f.bindControlKey(13,function(){m.ctrlEnter()}),f.bindAction(8,!1,"delete"),f.bindAction(8,!0,"deleteAll"),f.bindAction(8,!1,"deleteLabels",!0),f.bindAction(46,!1,"delete"),f.bindAction(46,!0,"deleteAll"),\r\nf.bindAction(46,!1,"deleteLabels",!0),f.bindAction(36,!1,"resetView"),f.bindAction(72,!0,"fitWindow",!0),f.bindAction(74,!0,"fitPage"),f.bindAction(74,!0,"fitTwoPages",!0),f.bindAction(48,!0,"customZoom"),f.bindAction(82,!0,"turn"),f.bindAction(82,!0,"clearDefaultStyle",!0),f.bindAction(83,!0,"save"),f.bindAction(83,!0,"saveAs",!0),f.bindAction(65,!0,"selectAll"),f.bindAction(65,!0,"selectNone",!0),f.bindAction(73,!0,"selectVertices",!0),f.bindAction(69,!0,"selectEdges",!0),f.bindAction(69,!0,"editStyle"),\r\nf.bindAction(66,!0,"bold"),f.bindAction(66,!0,"toBack",!0),f.bindAction(70,!0,"toFront",!0),f.bindAction(68,!0,"duplicate"),f.bindAction(68,!0,"setAsDefaultStyle",!0),f.bindAction(90,!0,"undo"),f.bindAction(89,!0,"autosize",!0),f.bindAction(88,!0,"cut"),f.bindAction(67,!0,"copy"),f.bindAction(86,!0,"paste"),f.bindAction(71,!0,"group"),f.bindAction(77,!0,"editData"),f.bindAction(71,!0,"grid",!0),f.bindAction(73,!0,"italic"),f.bindAction(76,!0,"lockUnlock"),f.bindAction(76,!0,"layers",!0),f.bindAction(80,\r\n!0,"formatPanel",!0),f.bindAction(85,!0,"underline"),f.bindAction(85,!0,"ungroup",!0),f.bindAction(190,!0,"superscript"),f.bindAction(188,!0,"subscript"),f.bindAction(13,!1,"keyPressEnter"),f.bindKey(113,function(){b.isEnabled()&&b.startEditingAtCell()});mxClient.IS_WIN?f.bindAction(89,!0,"redo"):f.bindAction(90,!0,"redo",!0);return f};\r\nEditorUi.prototype.destroy=function(){null!=this.editor&&(this.editor.destroy(),this.editor=null);null!=this.menubar&&(this.menubar.destroy(),this.menubar=null);null!=this.toolbar&&(this.toolbar.destroy(),this.toolbar=null);null!=this.sidebar&&(this.sidebar.destroy(),this.sidebar=null);null!=this.keyHandler&&(this.keyHandler.destroy(),this.keyHandler=null);null!=this.keydownHandler&&(mxEvent.removeListener(document,"keydown",this.keydownHandler),this.keydownHandler=null);null!=this.keyupHandler&&\r\n(mxEvent.removeListener(document,"keyup",this.keyupHandler),this.keyupHandler=null);null!=this.resizeHandler&&(mxEvent.removeListener(window,"resize",this.resizeHandler),this.resizeHandler=null);null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null);null!=this.orientationChangeHandler&&(mxEvent.removeListener(window,"orientationchange",this.orientationChangeHandler),this.orientationChangeHandler=null);null!=this.scrollHandler&&(mxEvent.removeListener(window,\r\n"scroll",this.scrollHandler),this.scrollHandler=null);if(null!=this.destroyFunctions){for(var a=0;a<this.destroyFunctions.length;a++)this.destroyFunctions[a]();this.destroyFunctions=null}for(var c=[this.menubarContainer,this.toolbarContainer,this.sidebarContainer,this.formatContainer,this.diagramContainer,this.footerContainer,this.chromelessToolbar,this.hsplit,this.sidebarFooterContainer,this.layersDialog],a=0;a<c.length;a++)null!=c[a]&&null!=c[a].parentNode&&c[a].parentNode.removeChild(c[a])};function Sidebar(a,c){this.editorUi=a;this.container=c;this.palettes={};this.taglist={};this.lastCreated=0;this.showTooltips=!0;this.graph=a.createTemporaryGraph(this.editorUi.editor.graph.getStylesheet());this.graph.cellRenderer.minSvgStrokeWidth=this.minThumbStrokeWidth;this.graph.cellRenderer.antiAlias=this.thumbAntiAlias;this.graph.container.style.visibility="hidden";this.graph.foldingEnabled=!1;document.body.appendChild(this.graph.container);this.pointerUpHandler=mxUtils.bind(this,function(){if(null==\r\nthis.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)this.showTooltips=!0,this.hideTooltip()});mxEvent.addListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler);this.pointerDownHandler=mxUtils.bind(this,function(){if(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)this.showTooltips=!1,this.hideTooltip()});mxEvent.addListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler);this.pointerMoveHandler=\r\nmxUtils.bind(this,function(a){if(300<Date.now()-this.lastCreated&&(null==this.tooltipCloseImage||"none"==this.tooltipCloseImage.style.display)){for(a=mxEvent.getSource(a);null!=a;){if(a==this.currentElt)return;a=a.parentNode}this.hideTooltip()}});mxEvent.addListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler);this.pointerOutHandler=mxUtils.bind(this,function(a){null==a.toElement&&null==a.relatedTarget&&this.hideTooltip()});mxEvent.addListener(document,mxClient.IS_POINTER?\r\n"pointerout":"mouseout",this.pointerOutHandler);mxEvent.addListener(c,"scroll",mxUtils.bind(this,function(){this.showTooltips=!0;this.hideTooltip()}));this.init()}\r\nSidebar.prototype.init=function(){var a=STENCIL_PATH;this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette(a);this.setCurrentSearchEntryLibrary("arrows");this.addStencilPalette("arrows",mxResources.get("arrows"),a+"/arrows.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2");this.setCurrentSearchEntryLibrary();this.addUmlPalette(!1);this.addBpmnPalette(a,!1);this.setCurrentSearchEntryLibrary("flowchart");\r\nthis.addStencilPalette("flowchart","Flowchart",a+"/flowchart.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2");this.setCurrentSearchEntryLibrary();this.setCurrentSearchEntryLibrary("clipart");this.addImagePalette("clipart",mxResources.get("clipart"),a+"/clipart/","_128x128.png","Earth_globe Empty_Folder Full_Folder Gear Lock Software Virus Email Database Router_Icon iPad iMac Laptop MacBook Monitor_Tower Printer Server_Tower Workstation Firewall_02 Wireless_Router_N Credit_Card Piggy_Bank Graph Safe Shopping_Cart Suit1 Suit2 Suit3 Pilot1 Worker1 Soldier1 Doctor1 Tech1 Security1 Telesales1".split(" "),\r\nnull,{Wireless_Router_N:"wireless router switch wap wifi access point wlan",Router_Icon:"router switch"});this.setCurrentSearchEntryLibrary()};\r\nSidebar.prototype.collapsedImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNUQyRTJFNjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozNUQyRTJFNzZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MEUxNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MEUyNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhSMj6lrwAjcC1GyahV+dcZJgeIIFgA7":IMAGE_PATH+\r\n"/collapsed.gif";\r\nSidebar.prototype.expandedImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxREY3NzBERjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxREY3NzBFMDZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MERENkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MERFNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7":IMAGE_PATH+\r\n"/expanded.gif";\r\nSidebar.prototype.searchImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAEaSURBVHjabNGxS5VxFIfxz71XaWuQUJCG/gCHhgTD9VpEETg4aMOlQRp0EoezObgcd220KQiXmpretTAHQRBdojlQEJyukPdt+b1ywfvAGc7wnHP4nlZd1yKijQW8xzNc4Su+ZOYfQ3T6/f4YNvEJYzjELXp4VVXVz263+7cR2niBxAFeZ2YPi3iHR/gYERPDwhpOsd6sz8x/mfkNG3iOlWFhFj8y89J9KvzGXER0GuEaD42mgwHqUtoljbcRsTBCeINpfM/MgZLKPpaxFxGbOCqDXmILN7hoJrTKH+axhxmcYRxP0MIDnOBDZv5q1XUNIuJxifJp+UNV7t7BFM6xeic0RMQ4Bpl5W/ol7GISx/eEUUTECrbx+f8A8xhiZht9zsgAAAAASUVORK5CYII=":IMAGE_PATH+\r\n"/search.png";Sidebar.prototype.enableTooltips=!0;Sidebar.prototype.tooltipBorder=16;Sidebar.prototype.tooltipDelay=300;Sidebar.prototype.dropTargetDelay=200;Sidebar.prototype.gearImage=STENCIL_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.thumbWidth=42;Sidebar.prototype.thumbHeight=42;Sidebar.prototype.minThumbStrokeWidth=1;Sidebar.prototype.thumbAntiAlias=!1;Sidebar.prototype.thumbPadding=5<=document.documentMode?2:3;Sidebar.prototype.thumbBorder=2;\r\n"large"!=urlParams["sidebar-entries"]&&(Sidebar.prototype.thumbPadding=5<=document.documentMode?0:1,Sidebar.prototype.thumbBorder=1,Sidebar.prototype.thumbWidth=32,Sidebar.prototype.thumbHeight=30,Sidebar.prototype.minThumbStrokeWidth=1.3,Sidebar.prototype.thumbAntiAlias=!0);Sidebar.prototype.sidebarTitleSize=9;Sidebar.prototype.sidebarTitles=!1;Sidebar.prototype.tooltipTitles=!0;Sidebar.prototype.maxTooltipWidth=400;Sidebar.prototype.maxTooltipHeight=400;Sidebar.prototype.addStencilsToIndex=!0;\r\nSidebar.prototype.defaultImageWidth=80;Sidebar.prototype.defaultImageHeight=80;Sidebar.prototype.tooltipMouseDown=null;\r\nSidebar.prototype.getTooltipOffset=function(a,c){var d=c.height+2*this.tooltipBorder;return new mxPoint(this.container.offsetWidth+this.editorUi.splitSize+10+this.editorUi.container.offsetLeft,Math.min(Math.max(document.body.clientHeight||0,document.documentElement.clientHeight)-d-20,Math.max(0,this.editorUi.container.offsetTop+this.container.offsetTop+a.offsetTop-this.container.scrollTop-d/2+16)))};\r\nSidebar.prototype.createTooltip=function(a,c,d,b,f,e,h,g,k,l){this.tooltipMouseDown=k;null==this.tooltip&&(this.tooltip=document.createElement("div"),this.tooltip.className="geSidebarTooltip",this.tooltip.style.userSelect="none",this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1,document.body.appendChild(this.tooltip),mxEvent.addMouseWheelListener(mxUtils.bind(this,function(a){this.hideTooltip()}),this.tooltip),this.graph2=new Graph(this.tooltip,null,null,this.editorUi.editor.graph.getStylesheet()),\r\nthis.graph2.resetViewOnRootChange=!1,this.graph2.foldingEnabled=!1,this.graph2.gridEnabled=!1,this.graph2.autoScroll=!1,this.graph2.setTooltips(!1),this.graph2.setConnectable(!1),this.graph2.setPanning(!1),this.graph2.setEnabled(!1),this.graph2.openLink=mxUtils.bind(this,function(){this.hideTooltip()}),mxEvent.addGestureListeners(this.tooltip,mxUtils.bind(this,function(a){null!=this.tooltipMouseDown&&this.tooltipMouseDown(a);window.setTimeout(mxUtils.bind(this,function(){null!=this.tooltipCloseImage&&\r\n"none"!=this.tooltipCloseImage.style.display||this.hideTooltip()}),0)}),null,mxUtils.bind(this,function(a){this.hideTooltip()})),mxClient.IS_SVG||(this.graph2.view.canvas.style.position="relative"),k=document.createElement("img"),k.setAttribute("src",Dialog.prototype.closeImage),k.setAttribute("title",mxResources.get("close")),k.style.position="absolute",k.style.cursor="default",k.style.padding="8px",k.style.right="2px",k.style.top="2px",this.tooltip.appendChild(k),this.tooltipCloseImage=k,mxEvent.addListener(k,\r\n"click",mxUtils.bind(this,function(a){this.hideTooltip();mxEvent.consume(a)})));this.tooltipCloseImage.style.display=l?"":"none";this.graph2.model.clear();this.graph2.view.setTranslate(this.tooltipBorder,this.tooltipBorder);this.graph2.view.scale=!g&&(d>this.maxTooltipWidth||b>this.maxTooltipHeight)?Math.round(100*Math.min(this.maxTooltipWidth/d,this.maxTooltipHeight/b))/100:1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==e||e;e=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;\r\nc=this.graph2.cloneCells(c);this.editorUi.insertHandler(c,null,this.graph2.model);this.graph2.addCells(c);mxClient.NO_FO=e;c=this.graph2.getGraphBounds();g&&0<d&&0<b&&(c.width>d||c.height>b)?(d=Math.round(100*Math.min(d/c.width,b/c.height))/100,mxClient.NO_FO?(this.graph2.view.setScale(Math.round(100*Math.min(this.maxTooltipWidth/c.width,this.maxTooltipHeight/c.height))/100),c=this.graph2.getGraphBounds()):(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="scale("+d+")",this.graph2.view.getDrawPane().ownerSVGElement.style.transformOrigin=\r\n"0 0",c.width*=d,c.height*=d)):mxClient.NO_FO||(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="");d=c.width+2*this.tooltipBorder+4;b=c.height+2*this.tooltipBorder;this.tooltip.style.overflow="visible";this.tooltip.style.width=d+"px";g=d;this.tooltipTitles&&null!=f&&0<f.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.style.borderTop="1px solid gray",this.tooltipTitle.style.textAlign="center",this.tooltipTitle.style.width="100%",this.tooltipTitle.style.overflow=\r\n"hidden",this.tooltipTitle.style.position="absolute",this.tooltipTitle.style.paddingTop="6px",this.tooltipTitle.style.bottom="6px",this.tooltip.appendChild(this.tooltipTitle)):this.tooltipTitle.innerHTML="",this.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,f),g=Math.min(this.maxTooltipWidth,Math.max(d,this.tooltipTitle.scrollWidth+4)),f=this.tooltipTitle.offsetHeight+10,b+=f,mxClient.IS_SVG?this.tooltipTitle.style.marginTop=2-f+"px":(b-=6,this.tooltipTitle.style.top=b-f+"px")):null!=\r\nthis.tooltipTitle&&null!=this.tooltipTitle.parentNode&&(this.tooltipTitle.style.display="none");g>d&&(this.tooltip.style.width=g+"px");this.tooltip.style.height=b+"px";f=-Math.round(c.x-this.tooltipBorder)+(g>d?(g-d)/2:0);d=-Math.round(c.y-this.tooltipBorder);h=null!=h?h:this.getTooltipOffset(a,c);a=h.x;h=h.y;mxClient.IS_SVG?0!=f||0!=d?this.graph2.view.canvas.setAttribute("transform","translate("+f+","+d+")"):this.graph2.view.canvas.removeAttribute("transform"):(this.graph2.view.drawPane.style.left=\r\nf+"px",this.graph2.view.drawPane.style.top=d+"px");this.tooltip.style.position="absolute";this.tooltip.style.left=a+"px";this.tooltip.style.top=h+"px";mxUtils.fit(this.tooltip);this.lastCreated=Date.now()};\r\nSidebar.prototype.showTooltip=function(a,c,d,b,f,e){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=a){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);var h=mxUtils.bind(this,function(){this.createTooltip(a,c,d,b,f,e)});null!=this.tooltip&&"none"!=this.tooltip.style.display?h():this.thread=window.setTimeout(h,this.tooltipDelay);this.currentElt=a}};\r\nSidebar.prototype.hideTooltip=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);null!=this.tooltip&&(this.tooltip.style.display="none",this.currentElt=null);this.tooltipMouseDown=null};Sidebar.prototype.addDataEntry=function(a,c,d,b,f){return this.addEntry(a,mxUtils.bind(this,function(){return this.createVertexTemplateFromData(f,c,d,b)}))};\r\nSidebar.prototype.addEntries=function(a){for(var c=0;c<a.length;c++)mxUtils.bind(this,function(a){var b=a.data,c=null!=a.title?a.title:"";null!=a.tags&&(c+=" "+a.tags);null!=b&&0<c.length?this.addEntry(c,mxUtils.bind(this,function(){b=this.editorUi.convertDataUri(b);var c="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==a.aspect&&(c+="aspect=fixed;");return this.createVertexTemplate(c+"image="+b,a.w,a.h,"",a.title||"",!1,!1,!0)})):null!=a.xml&&0<c.length&&this.addEntry(c,\r\nmxUtils.bind(this,function(){var b=this.editorUi.stringToCells(Graph.decompress(a.xml));return this.createVertexTemplateFromCells(b,a.w,a.h,a.title||"",!0,!1,!0)}))})(a[c])};Sidebar.prototype.setCurrentSearchEntryLibrary=function(a,c){this.currentSearchEntryLibrary=null!=a?{id:a,lib:c}:null};\r\nSidebar.prototype.addEntry=function(a,c){if(null!=this.taglist&&null!=a&&0<a.length){null!=this.currentSearchEntryLibrary&&(c.parentLibraries=[this.currentSearchEntryLibrary]);for(var d=a.toLowerCase().replace(/[\\/\\,\\(\\)]/g," ").split(" "),b=[],f={},e=0;e<d.length;e++){null==f[d[e]]&&(f[d[e]]=!0,b.push(d[e]));var h=d[e].replace(/\\.*\\d*$/,"");h!=d[e]&&null==f[h]&&(f[h]=!0,b.push(h))}for(e=0;e<b.length;e++)this.addEntryForTag(b[e],c)}return c};\r\nSidebar.prototype.addEntryForTag=function(a,c){if(null!=a&&1<a.length){var d=this.taglist[a];"object"!==typeof d&&(d={entries:[]},this.taglist[a]=d);d.entries.push(c)}};\r\nSidebar.prototype.searchEntries=function(a,c,d,b,f){if(null!=this.taglist&&null!=a){var e=a.toLowerCase().split(" ");f=new mxDictionary;var h=(d+1)*c;a=[];for(var g=0,k=0;k<e.length;k++)if(0<e[k].length){var l=this.taglist[e[k]],m=new mxDictionary;if(null!=l){var n=l.entries;a=[];for(var p=0;p<n.length;p++)if(l=n[p],0==g==(null==f.get(l))&&(m.put(l,l),a.push(l),k==e.length-1&&a.length==h)){b(a.slice(d*c,h),h,!0,e);return}}else a=[];f=m;g++}f=a.length;b(a.slice(d*c,(d+1)*c),f,!1,e)}else b([],null,\r\nnull,e)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var c=[],d={},b=0;b<a.length;b++)null==d[a[b]]&&(d[a[b]]="1",c.push(a[b]));return c.join(" ")}return null};Sidebar.prototype.cloneCell=function(a,c){var d=a.clone();null!=c&&(d.value=c);return d};Sidebar.prototype.showPopupMenuForEntry=function(a,c,d){};\r\nSidebar.prototype.addSearchPalette=function(a){var c=document.createElement("div");c.style.visibility="hidden";this.container.appendChild(c);var d=document.createElement("div");d.className="geSidebar";d.style.boxSizing="border-box";d.style.overflow="hidden";d.style.width="100%";d.style.padding="8px";d.style.paddingTop="14px";d.style.paddingBottom="0px";a||(d.style.display="none");var b=document.createElement("div");b.style.whiteSpace="nowrap";b.style.textOverflow="clip";b.style.paddingBottom="8px";\r\nb.style.cursor="default";var f=document.createElement("input");f.setAttribute("placeholder",mxResources.get("searchShapes"));f.setAttribute("type","text");f.style.fontSize="12px";f.style.overflow="hidden";f.style.boxSizing="border-box";f.style.border="solid 1px #d5d5d5";f.style.borderRadius="4px";f.style.width="100%";f.style.outline="none";f.style.padding="6px";f.style.paddingRight="20px";b.appendChild(f);var e=document.createElement("img");e.setAttribute("src",Sidebar.prototype.searchImage);e.setAttribute("title",\r\nmxResources.get("search"));e.style.position="relative";e.style.left="-18px";e.style.top="1px";e.style.background="url(\'"+this.editorUi.editor.transparentImage+"\')";var h;b.appendChild(e);d.appendChild(b);var g=document.createElement("center"),k=mxUtils.button(mxResources.get("moreResults"),function(){h()});k.style.display="none";k.style.lineHeight="normal";k.style.fontSize="12px";k.style.padding="6px 12px 6px 12px";k.style.marginTop="4px";k.style.marginBottom="8px";g.style.paddingTop="4px";g.style.paddingBottom=\r\n"4px";g.appendChild(k);d.appendChild(g);var l="",m=!1,n=!1,p=0,t={},r=12,v=mxUtils.bind(this,function(){m=!1;this.currentSearch=null;for(var a=d.firstChild;null!=a;){var c=a.nextSibling;a!=b&&a!=g&&a.parentNode.removeChild(a);a=c}});mxEvent.addListener(e,"click",function(){e.getAttribute("src")==Dialog.prototype.closeImage&&(e.setAttribute("src",Sidebar.prototype.searchImage),e.setAttribute("title",mxResources.get("search")),k.style.display="none",l=f.value="",v());f.focus()});h=mxUtils.bind(this,\r\nfunction(){r=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=f.value){if(null!=g.parentNode&&(l!=f.value&&(v(),l=f.value,t={},n=!1,p=0),!m&&!n)){k.setAttribute("disabled","true");k.style.display="";k.style.cursor="wait";k.innerHTML=mxResources.get("loading")+"...";m=!0;var a={};this.currentSearch=a;this.searchEntries(l,r,p,mxUtils.bind(this,function(b,c,e,f){if(this.currentSearch==a){b=null!=b?b:[];m=!1;p++;this.insertSearchHint(d,l,r,p,b,c,e,f);\r\n0==b.length&&1==p&&(l="");null!=g.parentNode&&g.parentNode.removeChild(g);for(c=0;c<b.length;c++)mxUtils.bind(this,function(a){try{var b=a();null==t[b.innerHTML]?(t[b.innerHTML]=null!=a.parentLibraries?a.parentLibraries.slice():[],d.appendChild(b)):null!=a.parentLibraries&&(t[b.innerHTML]=t[b.innerHTML].concat(a.parentLibraries));mxEvent.addGestureListeners(b,null,null,mxUtils.bind(this,function(a){var c=t[b.innerHTML];mxEvent.isPopupTrigger(a)&&this.showPopupMenuForEntry(b,c,a)}));mxEvent.disableContextMenu(b)}catch(I){}})(b[c]);\r\ne?(k.removeAttribute("disabled"),k.innerHTML=mxResources.get("moreResults")):(k.innerHTML=mxResources.get("reset"),k.style.display="none",n=!0);k.style.cursor="";d.appendChild(g)}}),mxUtils.bind(this,function(){k.style.cursor=""}))}}else v(),l=f.value="",t={},k.style.display="none",n=!1,f.focus()});this.searchShapes=function(a){f.value=a;h()};mxEvent.addListener(f,"keydown",mxUtils.bind(this,function(a){13==a.keyCode&&(h(),mxEvent.consume(a))}));mxEvent.addListener(f,"keyup",mxUtils.bind(this,function(a){""==\r\nf.value?(e.setAttribute("src",Sidebar.prototype.searchImage),e.setAttribute("title",mxResources.get("search"))):(e.setAttribute("src",Dialog.prototype.closeImage),e.setAttribute("title",mxResources.get("reset")));""==f.value?(n=!0,k.style.display="none"):f.value!=l?(k.style.display="none",n=!1):m||(k.style.display=n?"none":"")}));mxEvent.addListener(f,"mousedown",function(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=!0});mxEvent.addListener(f,"selectstart",function(a){a.stopPropagation&&\r\na.stopPropagation();a.cancelBubble=!0});a=document.createElement("div");a.appendChild(d);this.container.appendChild(a);this.palettes.search=[c,a]};\r\nSidebar.prototype.insertSearchHint=function(a,c,d,b,f,e,h,g){0==f.length&&1==b&&(d=document.createElement("div"),d.className="geTitle",d.style.cssText="background-color:transparent;border-color:transparent;color:gray;padding:6px 0px 0px 0px !important;margin:4px 8px 4px 8px;text-align:center;cursor:default !important",mxUtils.write(d,mxResources.get("noResultsFor",[c])),a.appendChild(d))};\r\nSidebar.prototype.addGeneralPalette=function(a){this.setCurrentSearchEntryLibrary("general","general");var c=this,d=new mxCell("List Item",new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");d.vertex=!0;var b=[this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;",120,60,"","Rectangle",null,null,"rect rectangle box"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;",\r\n120,60,"","Rounded Rectangle",null,null,"rounded rect rectangle box"),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;",40,20,"Text","Text",null,null,"text textbox textarea label"),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;",190,120,"<h1>Heading</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>",\r\n"Textbox",null,null,"text textbox textarea"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",120,80,"","Ellipse",null,null,"oval ellipse state"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Square",null,null,"square"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Circle",null,null,"circle"),this.createVertexTemplateEntry("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;",120,60,"","Process",null,\r\nnull,"process task"),this.createVertexTemplateEntry("rhombus;whiteSpace=wrap;html=1;",80,80,"","Diamond",null,null,"diamond rhombus if condition decision conditional question test"),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60,"","Parallelogram"),this.createVertexTemplateEntry("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",120,80,"","Hexagon",null,null,"hexagon preparation"),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;",\r\n60,80,"","Triangle",null,null,"triangle logic inverter buffer"),this.createVertexTemplateEntry("shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;",60,80,"","Cylinder",null,null,"cylinder data database"),this.createVertexTemplateEntry("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80,"","Cloud",null,null,"cloud network"),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",120,80,"","Document"),this.createVertexTemplateEntry("shape=internalStorage;whiteSpace=wrap;html=1;backgroundOutline=1;",\r\n80,80,"","Internal Storage"),this.createVertexTemplateEntry("shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;",120,80,"","Cube"),this.createVertexTemplateEntry("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80,"","Step"),this.createVertexTemplateEntry("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60,"","Trapezoid"),this.createVertexTemplateEntry("shape=tape;whiteSpace=wrap;html=1;",\r\n120,100,"","Tape"),this.createVertexTemplateEntry("shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;",80,100,"","Note"),this.createVertexTemplateEntry("shape=card;whiteSpace=wrap;html=1;",80,100,"","Card"),this.createVertexTemplateEntry("shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;",120,80,"","Callout",null,null,"bubble chat thought speech message"),this.createVertexTemplateEntry("shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;",\r\n30,60,"Actor","Actor",!1,null,"user person human stickman"),this.createVertexTemplateEntry("shape=xor;whiteSpace=wrap;html=1;",60,80,"","Or",null,null,"logic or"),this.createVertexTemplateEntry("shape=or;whiteSpace=wrap;html=1;",60,80,"","And",null,null,"logic and"),this.createVertexTemplateEntry("shape=dataStorage;whiteSpace=wrap;html=1;fixedSize=1;",100,80,"","Data Storage"),this.createVertexTemplateEntry("swimlane;startSize=0;",200,200,"","Container",null,null,"container swimlane lane pool group"),\r\nthis.createVertexTemplateEntry("swimlane;",200,200,"Vertical Container","Container",null,null,"container swimlane lane pool group"),this.createVertexTemplateEntry("swimlane;horizontal=0;",200,200,"Horizontal Container","Horizontal Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var a=new mxCell("List",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;");\r\na.vertex=!0;a.insert(c.cloneCell(d,"Item 1"));a.insert(c.cloneCell(d,"Item 2"));a.insert(c.cloneCell(d,"Item 3"));return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return c.createVertexTemplateFromCells([c.cloneCell(d,"List Item")],d.geometry.width,d.geometry.height,"List Item")}),this.addEntry("curve",mxUtils.bind(this,function(){var a=new mxCell("",new mxGeometry(0,0,50,50),"curved=1;endArrow=classic;html=1;");\r\na.geometry.setTerminalPoint(new mxPoint(0,50),!0);a.geometry.setTerminalPoint(new mxPoint(50,0),!1);a.geometry.points=[new mxPoint(50,50),new mxPoint(0,0)];a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],a.geometry.width,a.geometry.height,"Curve")})),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;startArrow=classic;html=1;",100,100,"","Bidirectional Arrow",null,"line lines connector connectors connection connections arrow arrows bidirectional"),this.createEdgeTemplateEntry("shape=flexArrow;endArrow=classic;html=1;",\r\n50,50,"","Arrow",null,"line lines connector connectors connection connections arrow arrows directional directed"),this.createEdgeTemplateEntry("endArrow=none;dashed=1;html=1;",50,50,"","Dashed Line",null,"line lines connector connectors connection connections arrow arrows dashed undirected no"),this.createEdgeTemplateEntry("endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;",50,50,"","Dotted Line",null,"line lines connector connectors connection connections arrow arrows dotted undirected no"),\r\nthis.createEdgeTemplateEntry("endArrow=none;html=1;",50,50,"","Line",null,"line lines connector connectors connection connections arrow arrows simple undirected plain blank no"),this.createEdgeTemplateEntry("endArrow=classic;startArrow=classic;html=1;",50,50,"","Bidirectional Connector",null,"line lines connector connectors connection connections arrow arrows bidirectional"),this.createEdgeTemplateEntry("endArrow=classic;html=1;",50,50,"","Directional Connector",null,"line lines connector connectors connection connections arrow arrows directional directed"),\r\nthis.createEdgeTemplateEntry("shape=link;html=1;",100,0,"","Link",null,"line lines connector connectors connection connections arrow arrows link"),this.addEntry("line lines connector connectors connection connections arrow arrows edge title",mxUtils.bind(this,function(){var a=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(100,0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("Label",\r\nnew mxGeometry(0,0,0,0),"edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return this.createEdgeTemplateFromCells([a],100,0,"Connector with Label")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",mxUtils.bind(this,function(){var a=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,\r\n0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("Label",new mxGeometry(0,0,0,0),"edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);b=new mxCell("Source",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return this.createEdgeTemplateFromCells([a],160,0,"Connector with 2 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge title multiplicity",\r\nmxUtils.bind(this,function(){var a=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=classic;html=1;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("Label",new mxGeometry(0,0,0,0),"edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);b=new mxCell("Source",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");\r\nb.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);b=new mxCell("Target",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=bottom;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return this.createEdgeTemplateFromCells([a],160,0,"Connector with 3 Labels")})),this.addEntry("line lines connector connectors connection connections arrow arrows edge shape symbol message mail email",mxUtils.bind(this,function(){var a=new mxCell("",new mxGeometry(0,\r\n0,0,0),"endArrow=classic;html=1;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(100,0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("",new mxGeometry(0,0,20,14),"shape=message;html=1;outlineConnect=0;");b.geometry.relative=!0;b.vertex=!0;b.geometry.offset=new mxPoint(-10,-7);a.insert(b);return this.createEdgeTemplateFromCells([a],100,0,"Connector with Symbol")}))];this.addPaletteFunctions("general",mxResources.get("general"),null!=a?a:!0,b);this.setCurrentSearchEntryLibrary()};\r\nSidebar.prototype.addMiscPalette=function(a){var c=this;this.setCurrentSearchEntryLibrary("general","misc");var d=[this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;fontSize=24;fontStyle=1;verticalAlign=middle;align=center;",100,40,"Title","Title",null,null,"text heading title"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",100,80,"<ul><li>Value 1</li><li>Value 2</li><li>Value 3</li></ul>",\r\n"Unordered List"),this.createVertexTemplateEntry("text;strokeColor=none;fillColor=none;html=1;whiteSpace=wrap;verticalAlign=middle;overflow=hidden;",100,80,"<ol><li>Value 1</li><li>Value 2</li><li>Value 3</li></ol>","Ordered List"),this.addDataEntry("table",180,120,"Table 1","7ZjBTuMwEIafJtdVnFDoXhtYLnBZeAHTTGtLjieyB9Lu0zNO3FYVVM0upMASKZU8Y49jf3+tX06SF9Xq2sla3WIJJsmvkrxwiNS1qlUBxiRZqsskv0yyLOVfkv060Cva3rSWDiz1Kci6gidpHqHLdAlPaxMTXsk6NEk+hNRMUcXLvBTcbJQmuKvlPPQ3vAnOeZKO7vSfkEo5nqMlqS24WDNHY2TtdTtZN0JpU97INT7S5jWbaBaXB45gdXCLbSru7xqwAnJrHtLoklQcMe0wpAr0Um3KIptU+i6x3NbuiHEjQnsdYN4fIC+ZtDS/YU7SLvuwfMmqdFjfS7cEiokatSVwV09Mw8fcQhtToMGA3KINLyKsY6eBxab2AYmwioGLYLaTtlAmM34YU5H+mCQT3k3BsdjF/IThjgq0nhwLHeYA6akB31vA7N8EPHsH/c6G1c/aMHqn35ulQUa5MNhwqHRZgn3lPyD6cs+Pcj8fCPtkxP4C+2of+QlUOB9VOKTC1hxOIMPF6CGDech6X6ZTWMr0O5+qiw+zlJ8j9k9gKSIdZfgMniLEaCpDm8r0hKYi/uKm/v+dK3H8ij/YQRr4hv81wX+AsXzrm/oRHQZ0Fg53nyPbvr2vlc8="),\r\nthis.addDataEntry("table",180,120,"Table 2","7ZhRb5swEMc/Da+TDSFJX0u7vrQv7bR3NzjBkvEhcynJPv3OYDeLUlS0JURTkUDyne+M+f05nXCUZOXuwYqqeIJc6ii5j5LMAmA3KneZ1DqKmcqj5C6KY0Z3FH/vmeXtLKuElQaHJMRdwpvQW9l5OkeNe+0ddSEqN0Tx6ly3BZa0zTtOw6ZQKF8qsXLzDb0E+WoUFl/UL+diZK/AoFBGWp+zAq1FVat2sS6iUDp/FHvYYnhMsFz0tjSPlF/7aAvNn6bfv7Qod70MWpcH8CChlGj3FNKoHAsfsew4sUKqTRHSPDwm6s6xec89IKWBp/ox4WQ4YdoyKqGf5QqF2QyBfQozt1D9EHYj0TsqUAalvX8jGgHaWmmdgQaniQHjHoRQ+Ukt1yH3FRChDOA9mPdFWyjpLV2EKWPf0iilt8nI5gebLhduMQNTo6Uvwa0hRY2NrHGogPHfCTg7g36zE/1+tsOY8bMKaYyLPgj5zxoBMV1raMgsVJ5L88HHwIcKkHwqwPxC/NNe/uctpP+S/+6Y/QhyzHvlSCY5QkI8nh6Lqb1crL3sj2Uao9sse8tr9oXKa3G1bnPTyz+d+I/fbTjr1WM+6XGFdsP51G8u3W+WI/YbfnoAEAps8YUKjH9+QnCxijo9IAgKLCcFrtFz+v/4byZBRmg6ZB4OQNu5o/PR3w=="),\r\nthis.addDataEntry("table title",180,150,"Table with Title 1","7VjBbqMwEP0arisMpeleQ7u9tJemP+CGCbZkbGRPQtKv37FxGnWTKJVa0q6CBJLnecbg9xg9mSQvm/W95a14NBWoJL9L8tIag/2oWZegVJKlskry2yTLUrqT7M+RWRZm05Zb0PiRgqwvWHG1hB555i8KetThRkXUCd76IYbZfOqQW5zJV4/lKQFzo5FLDZYAFmKleOtkSL8NGUKq6oFvzBK3C22j6YKqZ/FpvporWWsaz2kbfslpa6Qf3a0IcDEpvjpYhPXR7Qco7v0eTANoN5TSyQpFzLjpKUoFyFpsy4oIctcD9Vvtjk0aREIPk5vvkXuUV3pllFw9wRy5rgPFAhsVd9oJiTBr+dyndvSxHCS4sqZ95rYGjMC/pHlsIZUqjTJeJ220fxCaNk4qWGxrXwyiaWJgIzFviwZSiildRFOZ/iqSgnZTUsx2MV0+3WJptENLX4dfA7jDDhx+VMDssICbSHGU6ZSeV18g59Wwcmrts3dyflopQ8wulOkoFLKqQH+mj/KTfXQ9EO3FSPse7ev3lJ9BhetRhWMqsOx8MkxGSxnaUiZntJSbS+6qybdZyu+R9h9gKSwdZfgJnsLYaCpDmwpjZ3QVtn+qv6DGYqeP/IN10sAn/v+T+G9wlos+qp/QYUBroXD36zLMvfuz+Rc="),\r\nthis.addDataEntry("table title",180,150,"Table with Title 2","7VjBbqMwEP0arivAJdtcod1e0ktT7d0NBiwZG9nTQvbrd2xMsy1B7WoTglaVQJp5nhnwe/gdCEhWd3eaNtW9ypkIyG1AMq0U9FHdZUyIIA55HpCbII5DvIP4x8Rq5FbDhmom4TMNcd/wQsUz65FH+iRYjxrYC4+aijY2BLdKUgNUw5b/shgJEdgpCZRLphGIXC4EbQx35TeuouIi39C9eoZh0JClBe9Y/qBa47u1ajc4zPjWAodv/cvYZSp4KTHe4S7tE9NGcRvdviAwzPA7YxpYN8mOgzw1d0zVDPQeS1qeQ+UrrnsGw4rxshraEg9S0wPla++BbAw838e5JyPuJ2nHVwZOxQPbAZWlU6CCWvidthUHtm3ozpa2+C0d5T/XqnmkumTggWOkFVyITAllZZRK2geBanyDYMXQ+6QAVD2o5Yl5HepISVK8kKYs/JYECe4mwzw65HjZcg2ZkgY0fjx2BqMGWmbgswLGxwXce4q9TB/pSU4g59VIzuikekppqw96/rVU4TupFFJbCNViWvE8Z/JfDhL58CBdnYn3ZMT7TxfG4cL5H1ysr00NPpDLctN3rmYSqHsrzp8H5VyCrf4H33sv5rJ8bzWj730fyXlaPZfte6uL+d71pO8tnP95fW9CoAv43vrL987te+sZfS8KR3qSZR+8k56r9cWML4omnW/hAszrfBMKnd/5MD38wXBrb35w/AY="),\r\nthis.addDataEntry("crossfunctional cross-functional cross functional flowchart swimlane table",400,400,"Cross-Functional Flowchart","5ZjfbpswFMafhstNGJK2u1xY05tOmtYn8OAstmRsZB8C6dPvmD9NN6CNqoStTCKSz/GxcX6f+ZAJ4iSv7ywvxFeTgQri2yBOrDHYtvI6AaWCKJRZEH8JoiikXxBtJ3pZ0xsW3ILGUwZE7YA9VyW0Gbq5cx+2pU5RGs198VaZKhXcYlvs8KC6Yid44ZvIf/jUJhVSZff8YErss320saa6lxocdYS+1Kgy188zDukWD/LRT7jqShQvnGzmbkospKV1cg/fwbWFPgt1wXXWBYWRGsHe7olAP/NPo/GhWzWjmCu509ROwZdSoqMAFqGeJNmkOox3YHJAe6CSSmYo2opV2NIOBcidwD+S3LWJ3dPYozDU6LQZ1yke6PQ5RWMpxYaiVDJXXHs9hLHykf48yfiMTrOO9YYuWlkSflwHaxqXUMyOMV2+3GJitEPLZYMBuMMKHM4o1ynSROPSHHoF2hGvKcWiMyi1Gij1TXAHrymVGq0h7Z6jCz8OJyGNx5HWk0if6J0d6XoSabQgpOxqTqZXk0zjBTGNbuZkej1p0i/u0/dp0mfw5bEdfzljvhmo8/aNPj/J63/Hjj8tGOS8JszCBaOc13sZG6DszffFF9p/a75j8lzOfNnwoPmedjqbOPv9Dftlw7PgglDObMDD09qCWF7UgSk8fqZq+n77ivUL"),\r\nthis.createVertexTemplateEntry("text;html=1;strokeColor=#c0c0c0;fillColor=#ffffff;overflow=fill;rounded=0;",280,160,\'<table border="1" width="100%" height="100%" cellpadding="4" style="width:100%;height:100%;border-collapse:collapse;"><tr style="background-color:#A7C942;color:#ffffff;border:1px solid #98bf21;"><th align="left">Title 1</th><th align="left">Title 2</th><th align="left">Title 3</th></tr><tr style="border:1px solid #98bf21;"><td>Value 1</td><td>Value 2</td><td>Value 3</td></tr><tr style="background-color:#EAF2D3;border:1px solid #98bf21;"><td>Value 4</td><td>Value 5</td><td>Value 6</td></tr><tr style="border:1px solid #98bf21;"><td>Value 7</td><td>Value 8</td><td>Value 9</td></tr><tr style="background-color:#EAF2D3;border:1px solid #98bf21;"><td>Value 10</td><td>Value 11</td><td>Value 12</td></tr></table>\',\r\n"HTML Table 1"),this.createVertexTemplateEntry("text;html=1;strokeColor=#c0c0c0;fillColor=none;overflow=fill;",180,140,\'<table border="0" width="100%" height="100%" style="width:100%;height:100%;border-collapse:collapse;"><tr><td align="center">Value 1</td><td align="center">Value 2</td><td align="center">Value 3</td></tr><tr><td align="center">Value 4</td><td align="center">Value 5</td><td align="center">Value 6</td></tr><tr><td align="center">Value 7</td><td align="center">Value 8</td><td align="center">Value 9</td></tr></table>\',\r\n"HTML Table 2"),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;overflow=fill;",180,140,\'<table border="1" width="100%" height="100%" style="width:100%;height:100%;border-collapse:collapse;"><tr><td align="center">Value 1</td><td align="center">Value 2</td><td align="center">Value 3</td></tr><tr><td align="center">Value 4</td><td align="center">Value 5</td><td align="center">Value 6</td></tr><tr><td align="center">Value 7</td><td align="center">Value 8</td><td align="center">Value 9</td></tr></table>\',\r\n"HTML Table 3"),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;overflow=fill;",160,140,\'<table border="1" width="100%" height="100%" cellpadding="4" style="width:100%;height:100%;border-collapse:collapse;"><tr><th align="center"><b>Title</b></th></tr><tr><td align="center">Section 1.1\\nSection 1.2\\nSection 1.3</td></tr><tr><td align="center">Section 2.1\\nSection 2.2\\nSection 2.3</td></tr></table>\',"HTML Table 4"),this.addEntry("link hyperlink",mxUtils.bind(this,function(){var a=\r\nnew mxCell("Link",new mxGeometry(0,0,60,40),"text;html=1;strokeColor=none;fillColor=none;whiteSpace=wrap;align=center;verticalAlign=middle;fontColor=#0000EE;fontStyle=4;");a.vertex=!0;this.graph.setLinkForCell(a,"https://www.draw.io");return this.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Link")})),this.addEntry("timestamp date time text label",mxUtils.bind(this,function(){var a=new mxCell("%date{ddd mmm dd yyyy HH:MM:ss}%",new mxGeometry(0,0,160,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");\r\na.vertex=!0;this.graph.setAttributeForCell(a,"placeholders","1");return this.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Timestamp")})),this.addEntry("variable placeholder metadata hello world text label",mxUtils.bind(this,function(){var a=new mxCell("%name% Text",new mxGeometry(0,0,80,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;");a.vertex=!0;this.graph.setAttributeForCell(a,"placeholders","1");this.graph.setAttributeForCell(a,\r\n"name","Variable");return this.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Variable")})),this.createVertexTemplateEntry("shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;",120,80,"","Double Rectangle",null,null,"rect rectangle box double"),this.createVertexTemplateEntry("shape=ext;double=1;rounded=1;whiteSpace=wrap;html=1;",120,80,"","Double Rounded Rectangle",null,null,"rounded rect rectangle box double"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;",\r\n100,60,"","Double Ellipse",null,null,"oval ellipse start end state double"),this.createVertexTemplateEntry("shape=ext;double=1;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Square",null,null,"double square"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Circle",null,null,"double circle"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;strokeWidth=2;fillWeight=4;hachureGap=8;hachureAngle=45;fillColor=#1ba1e2;sketch=1;",\r\n120,60,"","Rectangle Sketch",!0,null,"rectangle rect box text sketch comic retro"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;strokeWidth=2;fillWeight=2;hachureGap=8;fillColor=#990000;fillStyle=dots;sketch=1;",120,60,"","Ellipse Sketch",!0,null,"ellipse oval sketch comic retro"),this.createVertexTemplateEntry("rhombus;whiteSpace=wrap;html=1;strokeWidth=2;fillWeight=-1;hachureGap=8;fillStyle=cross-hatch;fillColor=#006600;sketch=1;",120,60,"","Diamond Sketch",!0,null,"diamond sketch comic retro"),\r\nthis.createVertexTemplateEntry("html=1;whiteSpace=wrap;shape=isoCube2;backgroundOutline=1;isoAngle=15;",90,100,"","Isometric Cube",!0,null,"cube box iso isometric"),this.createVertexTemplateEntry("html=1;whiteSpace=wrap;aspect=fixed;shape=isoRectangle;",150,90,"","Isometric Square",!0,null,"rectangle rect box iso isometric"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;",50,100,"","Isometric Edge 1"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;elbow=vertical;",\r\n50,100,"","Isometric Edge 2"),this.createVertexTemplateEntry("shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;",20,120,"","Left Curly Bracket"),this.createVertexTemplateEntry("shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;",20,120,"","Right Curly Bracket"),this.createVertexTemplateEntry("line;strokeWidth=2;html=1;",160,10,"","Horizontal Line"),this.createVertexTemplateEntry("line;strokeWidth=2;direction=south;html=1;",10,160,"","Vertical Line"),this.createVertexTemplateEntry("line;strokeWidth=4;html=1;perimeter=backbonePerimeter;points=[];outlineConnect=0;",\r\n160,10,"","Horizontal Backbone",!1,null,"backbone bus network"),this.createVertexTemplateEntry("line;strokeWidth=4;direction=south;html=1;perimeter=backbonePerimeter;points=[];outlineConnect=0;",10,160,"","Vertical Backbone",!1,null,"backbone bus network"),this.createVertexTemplateEntry("shape=crossbar;whiteSpace=wrap;html=1;rounded=1;",120,20,"","Horizontal Crossbar",!1,null,"crossbar distance measure dimension unit"),this.createVertexTemplateEntry("shape=crossbar;whiteSpace=wrap;html=1;rounded=1;direction=south;",\r\n20,120,"","Vertical Crossbar",!1,null,"crossbar distance measure dimension unit"),this.createVertexTemplateEntry("shape=image;html=1;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=1;aspect=fixed;image="+this.gearImage,52,61,"","Image (Fixed Aspect)",!1,null,"fixed image icon symbol"),this.createVertexTemplateEntry("shape=image;html=1;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;image="+this.gearImage,50,60,"","Image (Variable Aspect)",!1,null,"strechted image icon symbol"),\r\nthis.createVertexTemplateEntry("icon;html=1;image="+this.gearImage,60,60,"Icon","Icon",!1,null,"icon image symbol"),this.createVertexTemplateEntry("label;whiteSpace=wrap;html=1;image="+this.gearImage,140,60,"Label","Label 1",null,null,"label image icon symbol"),this.createVertexTemplateEntry("label;whiteSpace=wrap;html=1;align=center;verticalAlign=bottom;spacingLeft=0;spacingBottom=4;imageAlign=center;imageVerticalAlign=top;image="+this.gearImage,120,80,"Label","Label 2",null,null,"label image icon symbol"),\r\nthis.addEntry("shape group container",function(){var a=new mxCell("Label",new mxGeometry(0,0,160,70),"html=1;whiteSpace=wrap;container=1;recursiveResize=0;collapsible=0;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,20,20,30),"triangle;html=1;whiteSpace=wrap;");d.vertex=!0;a.insert(d);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Shape Group")}),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;fillColor=none;",120,\r\n60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;top=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=1;right=1;left=1;top=0;fillColor=none;routingCenterX=-0.5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=waypoint;sketch=0;fillStyle=solid;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",\r\n40,40,"","Waypoint"),this.createEdgeTemplateEntry("edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;",50,50,"","Manual Line",null,"line lines connector connectors connection connections arrow arrows manual"),this.createEdgeTemplateEntry("shape=filledEdge;rounded=0;fixDash=1;endArrow=none;strokeWidth=10;fillColor=#ffffff;edgeStyle=orthogonalEdgeStyle;",60,40,"","Filled Edge"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=horizontal;endArrow=classic;html=1;",50,50,"","Horizontal Elbow",\r\nnull,"line lines connector connectors connection connections arrow arrows elbow horizontal"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;elbow=vertical;endArrow=classic;html=1;",50,50,"","Vertical Elbow",null,"line lines connector connectors connection connections arrow arrows elbow vertical")];this.addPaletteFunctions("misc",mxResources.get("misc"),null!=a?a:!0,d);this.setCurrentSearchEntryLibrary()};\r\nSidebar.prototype.addAdvancedPalette=function(a){this.setCurrentSearchEntryLibrary("general","advanced");this.addPaletteFunctions("advanced",mxResources.get("advanced"),null!=a?a:!1,this.createAdvancedShapes());this.setCurrentSearchEntryLibrary()};\r\nSidebar.prototype.addBasicPalette=function(a){this.setCurrentSearchEntryLibrary("basic");this.addStencilPalette("basic",mxResources.get("basic"),a+"/basic.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2",null,null,null,null,[this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",\r\n120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle")]);this.setCurrentSearchEntryLibrary()};\r\nSidebar.prototype.createAdvancedShapes=function(){var a=this,c=new mxCell("List Item",new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");c.vertex=!0;return[this.createVertexTemplateEntry("shape=tapeData;whiteSpace=wrap;html=1;perimeter=ellipsePerimeter;",80,80,"","Tape Data"),this.createVertexTemplateEntry("shape=manualInput;whiteSpace=wrap;html=1;",\r\n80,80,"","Manual Input"),this.createVertexTemplateEntry("shape=loopLimit;whiteSpace=wrap;html=1;",100,80,"","Loop Limit"),this.createVertexTemplateEntry("shape=offPageConnector;whiteSpace=wrap;html=1;",80,80,"","Off Page Connector"),this.createVertexTemplateEntry("shape=delay;whiteSpace=wrap;html=1;",80,40,"","Delay"),this.createVertexTemplateEntry("shape=display;whiteSpace=wrap;html=1;",80,40,"","Display"),this.createVertexTemplateEntry("shape=singleArrow;direction=west;whiteSpace=wrap;html=1;",\r\n100,60,"","Arrow Left"),this.createVertexTemplateEntry("shape=singleArrow;whiteSpace=wrap;html=1;",100,60,"","Arrow Right"),this.createVertexTemplateEntry("shape=singleArrow;direction=north;whiteSpace=wrap;html=1;",60,100,"","Arrow Up"),this.createVertexTemplateEntry("shape=singleArrow;direction=south;whiteSpace=wrap;html=1;",60,100,"","Arrow Down"),this.createVertexTemplateEntry("shape=doubleArrow;whiteSpace=wrap;html=1;",100,60,"","Double Arrow"),this.createVertexTemplateEntry("shape=doubleArrow;direction=south;whiteSpace=wrap;html=1;",\r\n60,100,"","Double Arrow Vertical",null,null,"double arrow"),this.createVertexTemplateEntry("shape=actor;whiteSpace=wrap;html=1;",40,60,"","User",null,null,"user person human"),this.createVertexTemplateEntry("shape=cross;whiteSpace=wrap;html=1;",80,80,"","Cross"),this.createVertexTemplateEntry("shape=corner;whiteSpace=wrap;html=1;",80,80,"","Corner"),this.createVertexTemplateEntry("shape=tee;whiteSpace=wrap;html=1;",80,80,"","Tee"),this.createVertexTemplateEntry("shape=datastore;whiteSpace=wrap;html=1;",\r\n60,60,"","Data Store",null,null,"data store cylinder database"),this.createVertexTemplateEntry("shape=orEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Or",null,null,"or circle oval ellipse"),this.createVertexTemplateEntry("shape=sumEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Sum",null,null,"sum circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",\r\n80,80,"","Ellipse with horizontal divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;line=vertical;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Ellipse with vertical divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=sortShape;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;",80,80,"","Sort",null,null,"sort"),this.createVertexTemplateEntry("shape=collate;whiteSpace=wrap;html=1;",80,80,"","Collate",\r\nnull,null,"collate"),this.createVertexTemplateEntry("shape=switch;whiteSpace=wrap;html=1;",60,60,"","Switch",null,null,"switch router"),this.addEntry("process bar",function(){return a.createVertexTemplateFromData("zZXRaoMwFIafJpcDjbNrb2233rRQ8AkyPdPQaCRJV+3T7yTG2rUVBoOtgpDzn/xJzncCIdGyateKNeVW5iBI9EqipZLS9KOqXYIQhAY8J9GKUBrgT+jbRDZ02aBhCmrzEwPtDZ9MHKBXdkpmoDWKCVN9VptO+Kw+8kqwGqMkK7nIN6yTB7uTNizbD1FSSsVPsjYMC1qFKHxwIZZSSIVxLZ1/nJNar5+oQPMT7IYCrqUta1ENzuqGaeOFTArBGs3f3Vmtoo2Se7ja1h00kSoHK4bBIKUNy3hdoPYU0mF91i9mT8EEL2ocZ3gKa00ayWujLZY4IfHKFonVDLsRGgXuQ90zBmWgneyTk3yT1iArMKrDKUeem9L3ajHrbSXwohxsQd/ggOleKM7ese048J2/fwuim1uQGmhQCW8vQMkacP3GCQgBFMftHEsr7cYYe95CnmKTPMFbYD8CQ++DGQy+/M5X4ku5wHYmdIktfvk9tecpavThqS3m/0YtnqIWPTy1cD77K2wYjo+Ay317I74A",\r\n296,100,"Process Bar")}),this.createVertexTemplateEntry("swimlane;",200,200,"Container","Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var d=new mxCell("List",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;");d.vertex=!0;d.insert(a.cloneCell(c,"Item 1"));d.insert(a.cloneCell(c,"Item 2"));\r\nd.insert(a.cloneCell(c,"Item 3"));return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return a.createVertexTemplateFromCells([a.cloneCell(c,"List Item")],c.geometry.width,c.geometry.height,"List Item")})]};\r\nSidebar.prototype.createAdvancedShapes=function(){var a=this,c=new mxCell("List Item",new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");c.vertex=!0;return[this.createVertexTemplateEntry("shape=tapeData;whiteSpace=wrap;html=1;perimeter=ellipsePerimeter;",80,80,"","Tape Data"),this.createVertexTemplateEntry("shape=manualInput;whiteSpace=wrap;html=1;",\r\n80,80,"","Manual Input"),this.createVertexTemplateEntry("shape=loopLimit;whiteSpace=wrap;html=1;",100,80,"","Loop Limit"),this.createVertexTemplateEntry("shape=offPageConnector;whiteSpace=wrap;html=1;",80,80,"","Off Page Connector"),this.createVertexTemplateEntry("shape=delay;whiteSpace=wrap;html=1;",80,40,"","Delay"),this.createVertexTemplateEntry("shape=display;whiteSpace=wrap;html=1;",80,40,"","Display"),this.createVertexTemplateEntry("shape=singleArrow;direction=west;whiteSpace=wrap;html=1;",\r\n100,60,"","Arrow Left"),this.createVertexTemplateEntry("shape=singleArrow;whiteSpace=wrap;html=1;",100,60,"","Arrow Right"),this.createVertexTemplateEntry("shape=singleArrow;direction=north;whiteSpace=wrap;html=1;",60,100,"","Arrow Up"),this.createVertexTemplateEntry("shape=singleArrow;direction=south;whiteSpace=wrap;html=1;",60,100,"","Arrow Down"),this.createVertexTemplateEntry("shape=doubleArrow;whiteSpace=wrap;html=1;",100,60,"","Double Arrow"),this.createVertexTemplateEntry("shape=doubleArrow;direction=south;whiteSpace=wrap;html=1;",\r\n60,100,"","Double Arrow Vertical",null,null,"double arrow"),this.createVertexTemplateEntry("shape=actor;whiteSpace=wrap;html=1;",40,60,"","User",null,null,"user person human"),this.createVertexTemplateEntry("shape=cross;whiteSpace=wrap;html=1;",80,80,"","Cross"),this.createVertexTemplateEntry("shape=corner;whiteSpace=wrap;html=1;",80,80,"","Corner"),this.createVertexTemplateEntry("shape=tee;whiteSpace=wrap;html=1;",80,80,"","Tee"),this.createVertexTemplateEntry("shape=datastore;whiteSpace=wrap;html=1;",\r\n60,60,"","Data Store",null,null,"data store cylinder database"),this.createVertexTemplateEntry("shape=orEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Or",null,null,"or circle oval ellipse"),this.createVertexTemplateEntry("shape=sumEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Sum",null,null,"sum circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",\r\n80,80,"","Ellipse with horizontal divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=lineEllipse;line=vertical;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Ellipse with vertical divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape=sortShape;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;",80,80,"","Sort",null,null,"sort"),this.createVertexTemplateEntry("shape=collate;whiteSpace=wrap;html=1;",80,80,"","Collate",\r\nnull,null,"collate"),this.createVertexTemplateEntry("shape=switch;whiteSpace=wrap;html=1;",60,60,"","Switch",null,null,"switch router"),this.addEntry("process bar",function(){return a.createVertexTemplateFromData("zZXRaoMwFIafJpcDjbNrb2233rRQ8AkyPdPQaCRJV+3T7yTG2rUVBoOtgpDzn/xJzncCIdGyateKNeVW5iBI9EqipZLS9KOqXYIQhAY8J9GKUBrgT+jbRDZ02aBhCmrzEwPtDZ9MHKBXdkpmoDWKCVN9VptO+Kw+8kqwGqMkK7nIN6yTB7uTNizbD1FSSsVPsjYMC1qFKHxwIZZSSIVxLZ1/nJNar5+oQPMT7IYCrqUta1ENzuqGaeOFTArBGs3f3Vmtoo2Se7ja1h00kSoHK4bBIKUNy3hdoPYU0mF91i9mT8EEL2ocZ3gKa00ayWujLZY4IfHKFonVDLsRGgXuQ90zBmWgneyTk3yT1iArMKrDKUeem9L3ajHrbSXwohxsQd/ggOleKM7ese048J2/fwuim1uQGmhQCW8vQMkacP3GCQgBFMftHEsr7cYYe95CnmKTPMFbYD8CQ++DGQy+/M5X4ku5wHYmdIktfvk9tecpavThqS3m/0YtnqIWPTy1cD77K2wYjo+Ay317I74A",\r\n296,100,"Process Bar")}),this.createVertexTemplateEntry("swimlane;",200,200,"Container","Container",null,null,"container swimlane lane pool group"),this.addEntry("list group erd table",function(){var d=new mxCell("List",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;");d.vertex=!0;d.insert(a.cloneCell(c,"Item 1"));d.insert(a.cloneCell(c,"Item 2"));\r\nd.insert(a.cloneCell(c,"Item 3"));return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"List")}),this.addEntry("list item entry value group erd table",function(){return a.createVertexTemplateFromCells([a.cloneCell(c,"List Item")],c.geometry.width,c.geometry.height,"List Item")})]};\r\nSidebar.prototype.addBasicPalette=function(a){this.setCurrentSearchEntryLibrary("basic");this.addStencilPalette("basic",mxResources.get("basic"),a+"/basic.xml",";whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#000000;strokeWidth=2",null,null,null,null,[this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",\r\n120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle")]);this.setCurrentSearchEntryLibrary()};\r\nSidebar.prototype.addUmlPalette=function(a){var c=this,d=new mxCell("+ field: type",new mxGeometry(0,0,100,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");d.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");\r\nb.vertex=!0;this.setCurrentSearchEntryLibrary("uml");var f=[this.createVertexTemplateEntry("html=1;",110,50,"Object","Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("html=1;",110,50,"&laquo;interface&raquo;<br><b>Name</b>","Interface",null,null,"uml static class interface object instance annotated annotation"),this.addEntry("uml static class object instance",function(){var a=new mxCell("Classname",new mxGeometry(0,0,160,90),"swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;");\r\na.vertex=!0;a.insert(d.clone());a.insert(b.clone());a.insert(c.cloneCell(d,"+ method(type): type"));return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Class")}),this.addEntry("uml static class section subsection",function(){var a=new mxCell("Classname",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;");a.vertex=\r\n!0;a.insert(d.clone());a.insert(d.clone());a.insert(d.clone());return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Class 2")}),this.addEntry("uml static class item member method function variable field attribute label",function(){return c.createVertexTemplateFromCells([c.cloneCell(d,"+ item: attribute")],d.geometry.width,d.geometry.height,"Item 1")}),this.addEntry("uml static class item member method function variable field attribute label",function(){var a=new mxCell("item: attribute",\r\nnew mxGeometry(0,0,120,d.geometry.height),"label;fontStyle=0;strokeColor=none;fillColor=none;align=left;verticalAlign=top;overflow=hidden;spacingLeft=28;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;imageWidth=16;imageHeight=16;image="+c.gearImage);a.vertex=!0;return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Item 2")}),this.addEntry("uml static class divider hline line separator",function(){return c.createVertexTemplateFromCells([b.clone()],\r\nb.geometry.width,b.geometry.height,"Divider")}),this.addEntry("uml static class spacer space gap separator",function(){var a=new mxCell("",new mxGeometry(0,0,20,14),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=4;spacingRight=4;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;align=center;fontStyle=1;verticalAlign=middle;spacingLeft=3;spacingRight=3;strokeColor=none;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;",\r\n80,26,"Title","Title",null,null,"uml static class title label"),this.addEntry("uml static class component",function(){var a=new mxCell("&laquo;Annotation&raquo;<br/><b>Component</b>",new mxGeometry(0,0,180,90),"html=1;dropTarget=0;");a.vertex=!0;var b=new mxCell("",new mxGeometry(1,0,20,20),"shape=module;jettyWidth=8;jettyHeight=4;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-27,7);a.insert(b);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Component")}),\r\nthis.addEntry("uml static class component",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:6px;text-align:center;"><b>Component</b></p><hr/><p style="margin:0px;margin-left:8px;">+ Attribute1: Type<br/>+ Attribute2: Type</p>\',new mxGeometry(0,0,180,90),"align=left;overflow=fill;html=1;dropTarget=0;");a.vertex=!0;var b=new mxCell("",new mxGeometry(1,0,20,20),"shape=component;jettyWidth=8;jettyHeight=4;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-24,4);a.insert(b);\r\nreturn c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Component with Attributes")}),this.createVertexTemplateEntry("verticalAlign=top;align=left;spacingTop=8;spacingLeft=2;spacingRight=12;shape=cube;size=10;direction=south;fontStyle=4;html=1;",180,120,"Block","Block",null,null,"uml static class block"),this.createVertexTemplateEntry("shape=module;align=left;spacingLeft=20;align=center;verticalAlign=top;",100,50,"Module","Module",null,null,"uml static class module component"),\r\nthis.createVertexTemplateEntry("shape=folder;fontStyle=1;spacingTop=10;tabWidth=40;tabHeight=14;tabPosition=left;html=1;",70,50,"package","Package",null,null,"uml static class package"),this.createVertexTemplateEntry("verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;",160,90,\'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"><b>Object:Type</b></p><hr/><p style="margin:0px;margin-left:8px;">field1 = value1<br/>field2 = value2<br>field3 = value3</p>\',\r\n"Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("verticalAlign=top;align=left;overflow=fill;html=1;",180,90,\'<div style="box-sizing:border-box;width:100%;background:#e4e4e4;padding:2px;">Tablename</div><table style="width:100%;font-size:1em;" cellpadding="2" cellspacing="0"><tr><td>PK</td><td>uniqueId</td></tr><tr><td>FK1</td><td>foreignKey</td></tr><tr><td></td><td>fieldname</td></tr></table>\',"Entity",null,null,"er entity table"),this.addEntry("uml static class object instance",\r\nfunction(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1"/><div style="height:2px;"></div>\',new mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Class 3")}),this.addEntry("uml static class object instance",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1"/><div style="height:2px;"></div><hr size="1"/><div style="height:2px;"></div>\',\r\nnew mxGeometry(0,0,140,60),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Class 4")}),this.addEntry("uml static class object instance",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Class</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;">+ field: Type</p><hr size="1"/><p style="margin:0px;margin-left:4px;">+ method(): Type</p>\',\r\nnew mxGeometry(0,0,160,90),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Class 5")}),this.addEntry("uml static class object instance",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><i>&lt;&lt;Interface&gt;&gt;</i><br/><b>Interface</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;">+ field1: Type<br/>+ field2: Type</p><hr size="1"/><p style="margin:0px;margin-left:4px;">+ method1(Type): Type<br/>+ method2(Type, Type): Type</p>\',\r\nnew mxGeometry(0,0,190,140),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Interface 2")}),this.createVertexTemplateEntry("shape=providedRequiredInterface;html=1;verticalLabelPosition=bottom;",20,20,"","Provided/Required Interface",null,null,"uml provided required interface lollipop notation"),this.createVertexTemplateEntry("shape=requiredInterface;html=1;verticalLabelPosition=bottom;",\r\n10,20,"","Required Interface",null,null,"uml required interface lollipop notation"),this.addEntry("uml lollipop notation provided required interface",function(){return c.createVertexTemplateFromData("zVTBrptADPyavVYEkt4b0uQd3pMq5dD2uAUD27dgZJwE8vX1spsQlETtpVWRIjFjex3PmFVJWvc70m31hjlYlXxWSUqI7N/qPgVrVRyZXCUbFceR/FS8fRJdjNGo1QQN/0lB7AuO2h7AM57oeLCBIDw0Obj8SCVrJK6wxEbbV8RWyIWQP4F52Juzq9AHRqEqrm2IQpN/IsKTwAYb8MzWWBuO9B0hL2E2BGsqIQyxvJ9rzApD7QBrYBokhcBqNsf5UbrzsLzmXUu/oJET42jwGat5QYcHyiDkTDLKy03TiRrFfSx08m+FrrQtUkOZvZdbFKThmwMfVhf4fQ43/W3uZriiPPT+KKhjwnf4anKuQv//wsg+NPJ7/9d9Xf7eVykwbeeMOFWGYd/qzEVO8tHP/Suw4a2ujXV/+gXsEdhkOgSC8os44BQt0tggicZHeG1N2QiXibhAV48epRayEDd8MT7Ct06TUaXVWq027tCuhcx5VZjebeeaoDNn/WMcb/p+j0AM/dNr6InLl4Lgzylsk6OCgRWYsuI592gNZh5OhgmcblPv7+1l+ws=",\r\n40,10,"Lollipop Notation")}),this.createVertexTemplateEntry("shape=umlBoundary;whiteSpace=wrap;html=1;",100,80,"Boundary Object","Boundary Object",null,null,"uml boundary object"),this.createVertexTemplateEntry("ellipse;shape=umlEntity;whiteSpace=wrap;html=1;",80,80,"Entity Object","Entity Object",null,null,"uml entity object"),this.createVertexTemplateEntry("ellipse;shape=umlControl;whiteSpace=wrap;html=1;",70,80,"Control Object","Control Object",null,null,"uml control object"),this.createVertexTemplateEntry("shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;",\r\n30,60,"Actor","Actor",!1,null,"uml actor"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;",140,70,"Use Case","Use Case",null,null,"uml use case usecase"),this.addEntry("uml activity state start",function(){var a=new mxCell("",new mxGeometry(0,0,30,30),"ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");\r\nb.geometry.setTerminalPoint(new mxPoint(15,90),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],30,90,"Start")}),this.addEntry("uml activity state",function(){var a=new mxCell("Activity",new mxGeometry(0,0,120,40),"rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");\r\nb.geometry.setTerminalPoint(new mxPoint(60,100),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],120,100,"Activity")}),this.addEntry("uml activity composite state",function(){var a=new mxCell("Composite State",new mxGeometry(0,0,160,60),"swimlane;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=0;resizeLast=1;container=0;fontColor=#000000;collapsible=0;rounded=1;arcSize=30;strokeColor=#ff0000;fillColor=#ffffc0;swimlaneFillColor=#ffffc0;dropTarget=0;");\r\na.vertex=!0;var b=new mxCell("Subtitle",new mxGeometry(0,0,200,26),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;fontColor=#000000;");b.vertex=!0;a.insert(b);b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");b.geometry.setTerminalPoint(new mxPoint(80,120),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,\r\n!0);return c.createVertexTemplateFromCells([a,b],160,120,"Composite State")}),this.addEntry("uml activity condition",function(){var a=new mxCell("Condition",new mxGeometry(0,0,80,40),"rhombus;whiteSpace=wrap;html=1;fillColor=#ffffc0;strokeColor=#ff0000;");a.vertex=!0;var b=new mxCell("no",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");b.geometry.setTerminalPoint(new mxPoint(180,20),!1);b.geometry.relative=\r\n!0;b.geometry.x=-1;b.edge=!0;a.insertEdge(b,!0);var d=new mxCell("yes",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=top;endArrow=open;endSize=8;strokeColor=#ff0000;");d.geometry.setTerminalPoint(new mxPoint(40,100),!1);d.geometry.relative=!0;d.geometry.x=-1;d.edge=!0;a.insertEdge(d,!0);return c.createVertexTemplateFromCells([a,b,d],180,100,"Condition")}),this.addEntry("uml activity fork join",function(){var a=new mxCell("",new mxGeometry(0,0,200,10),"shape=line;html=1;strokeWidth=6;strokeColor=#ff0000;");\r\na.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;");b.geometry.setTerminalPoint(new mxPoint(100,80),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],200,80,"Fork/Join")}),this.createVertexTemplateEntry("ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#ff0000;",30,30,"","End",null,null,"uml activity state end"),this.createVertexTemplateEntry("shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;",\r\n100,300,":Object","Lifeline",null,null,"uml sequence participant lifeline"),this.createVertexTemplateEntry("shape=umlLifeline;participant=umlActor;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;verticalAlign=top;spacingTop=36;outlineConnect=0;",20,300,"","Actor Lifeline",null,null,"uml sequence participant lifeline actor"),this.createVertexTemplateEntry("shape=umlLifeline;participant=umlBoundary;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;verticalAlign=top;spacingTop=36;outlineConnect=0;",\r\n50,300,"","Boundary Lifeline",null,null,"uml sequence participant lifeline boundary"),this.createVertexTemplateEntry("shape=umlLifeline;participant=umlEntity;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;verticalAlign=top;spacingTop=36;outlineConnect=0;",40,300,"","Entity Lifeline",null,null,"uml sequence participant lifeline entity"),this.createVertexTemplateEntry("shape=umlLifeline;participant=umlControl;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;verticalAlign=top;spacingTop=36;outlineConnect=0;",\r\n40,300,"","Control Lifeline",null,null,"uml sequence participant lifeline control"),this.createVertexTemplateEntry("shape=umlFrame;whiteSpace=wrap;html=1;",300,200,"frame","Frame",null,null,"uml sequence frame"),this.createVertexTemplateEntry("shape=umlDestroy;whiteSpace=wrap;html=1;strokeWidth=3;",30,30,"","Destruction",null,null,"uml sequence destruction destroy"),this.addEntry("uml sequence invoke invocation call activation",function(){var a=new mxCell("",new mxGeometry(0,0,10,80),"html=1;points=[];perimeter=orthogonalPerimeter;");\r\na.vertex=!0;var b=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow=oval;endArrow=block;startSize=8;");b.geometry.setTerminalPoint(new mxPoint(-60,0),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return c.createVertexTemplateFromCells([a,b],10,80,"Found Message")}),this.addEntry("uml sequence invoke call delegation synchronous invocation activation",function(){var a=new mxCell("",new mxGeometry(0,0,10,80),"html=1;points=[];perimeter=orthogonalPerimeter;");\r\na.vertex=!0;var b=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;");b.geometry.setTerminalPoint(new mxPoint(-70,0),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);var d=new mxCell("return",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;exitX=0;exitY=0.95;");d.geometry.setTerminalPoint(new mxPoint(-70,76),!1);d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);return c.createVertexTemplateFromCells([a,\r\nb,d],10,80,"Synchronous Invocation")}),this.addEntry("uml sequence self call recursion delegation activation",function(){var a=new mxCell("",new mxGeometry(-5,20,10,40),"html=1;points=[];perimeter=orthogonalPerimeter;");a.vertex=!0;var b=new mxCell("self call",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.points=[new mxPoint(30,0)];b.geometry.relative=\r\n!0;b.edge=!0;a.insertEdge(b,!1);return c.createVertexTemplateFromCells([a,b],10,60,"Self Call")}),this.addEntry("uml sequence invoke call delegation callback activation",function(){return c.createVertexTemplateFromData("xZRNT8MwDIZ/Ta6oaymD47rBTkiTuMAxW6wmIm0q19s6fj1OE3V0Y2iCA4dK8euP2I+riGxedUuUjX52CqzIHkU2R+conKpuDtaKNDFKZAuRpgl/In264J303qSRCDVdk5CGhJ20WwhKEFo62ChoqritxURkReNMTa2X80LkC68AmgoIkEWHpF3pamlXR7WIFwASdBeb7KXY4RIc5+KBQ/ZGkY4RYY5Egyl1zLqLmmyDXQ6Zx4n5EIf+HkB2BmAjrV3LzftPIPw4hgNn1pQ1a2tH5Cp2QK1miG7vNeu4iJe4pdeY2BtvbCQDGlAljMCQxBJotJ8rWCFYSWY3LvUdmZi68rvkkLiU6QnL1m1xAzHoBOdw61WEb88II9AW67/ydQ2wq1Cy1aAGvOrFfPh6997qDA3g+dxzv3nIL6MPU/8T+kMw8+m4QPgdfrEJNo8PSQj/+s58Ag==",\r\n10,60,"Callback")}),this.createVertexTemplateEntry("html=1;points=[];perimeter=orthogonalPerimeter;",10,80,"","Activation",null,null,"uml sequence activation"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;startArrow=oval;startFill=1;endArrow=block;startSize=8;",60,0,"dispatch","Found Message 1",null,"uml sequence message call invoke dispatch"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;startArrow=circle;startFill=1;endArrow=open;startSize=6;endSize=8;",80,0,"dispatch",\r\n"Found Message 2",null,"uml sequence message call invoke dispatch"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;endArrow=block;",80,0,"dispatch","Message",null,"uml sequence message call invoke dispatch"),this.addEntry("uml sequence return message",function(){var a=new mxCell("return",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;");a.geometry.setTerminalPoint(new mxPoint(80,0),!0);a.geometry.setTerminalPoint(new mxPoint(0,0),!1);a.geometry.relative=\r\n!0;a.edge=!0;return c.createEdgeTemplateFromCells([a],80,0,"Return")}),this.addEntry("uml relation",function(){var a=new mxCell("name",new mxGeometry(0,0,0,0),"endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.geometry.x=-1;a.edge=!0;var b=new mxCell("1",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");\r\nb.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return c.createEdgeTemplateFromCells([a],160,0,"Relation 1")}),this.addEntry("uml association",function(){var a=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=orthogonalEdgeStyle;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("parent",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;");\r\nb.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);b=new mxCell("child",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=bottom;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return c.createEdgeTemplateFromCells([a],160,0,"Association 1")}),this.addEntry("uml aggregation",function(){var a=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");\r\na.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.geometry.x=-1;a.geometry.y=3;a.edge=!0;return c.createEdgeTemplateFromCells([a],160,0,"Aggregation 1")}),this.addEntry("uml composition",function(){var a=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;");a.geometry.setTerminalPoint(new mxPoint(0,\r\n0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.geometry.x=-1;a.geometry.y=3;a.edge=!0;return c.createEdgeTemplateFromCells([a],160,0,"Composition 1")}),this.addEntry("uml relation",function(){var a=new mxCell("Relation",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=\r\n!0;a.edge=!0;var b=new mxCell("0..n",new mxGeometry(-1,0,0,0),"edgeLabel;resizable=0;html=1;align=left;verticalAlign=top;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);b=new mxCell("1",new mxGeometry(1,0,0,0),"edgeLabel;resizable=0;html=1;align=right;verticalAlign=top;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return c.createEdgeTemplateFromCells([a],160,0,"Relation 2")}),this.createEdgeTemplateEntry("endArrow=open;endSize=12;dashed=1;html=1;",160,\r\n0,"Use","Dependency",null,"uml dependency use"),this.createEdgeTemplateEntry("endArrow=block;endSize=16;endFill=0;html=1;",160,0,"Extends","Generalization",null,"uml generalization extend"),this.createEdgeTemplateEntry("endArrow=block;startArrow=block;endFill=1;startFill=1;html=1;",160,0,"","Association 2",null,"uml association"),this.createEdgeTemplateEntry("endArrow=open;startArrow=circlePlus;endFill=0;startFill=0;endSize=8;html=1;",160,0,"","Inner Class",null,"uml inner class"),this.createEdgeTemplateEntry("endArrow=open;startArrow=cross;endFill=0;startFill=0;endSize=8;startSize=10;html=1;",\r\n160,0,"","Terminate",null,"uml terminate"),this.createEdgeTemplateEntry("endArrow=block;dashed=1;endFill=0;endSize=12;html=1;",160,0,"","Implementation",null,"uml realization implementation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=0;endSize=24;html=1;",160,0,"","Aggregation 2",null,"uml aggregation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=1;endSize=24;html=1;",160,0,"","Composition 2",null,"uml composition"),this.createEdgeTemplateEntry("endArrow=open;endFill=1;endSize=12;html=1;",\r\n160,0,"","Association 3",null,"uml association")];this.addPaletteFunctions("uml",mxResources.get("uml"),a||!1,f);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.createTitle=function(a){var c=document.createElement("a");c.setAttribute("title",mxResources.get("sidebarTooltip"));c.className="geTitle";mxUtils.write(c,a);return c};\r\nSidebar.prototype.createThumb=function(a,c,d,b,f,e,h,g,k){this.graph.labelsVisible=null==e||e;e=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.view.scaleAndTranslate(1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();g=Math.floor(100*Math.min((c-2*this.thumbBorder)/a.width,(d-2*this.thumbBorder)/a.height))/100;this.graph.view.scaleAndTranslate(g,Math.floor((c-a.width*g)/2/g-a.x),Math.floor((d-a.height*g)/2/g-a.y));this.graph.dialect!=mxConstants.DIALECT_SVG||\r\nmxClient.NO_FO||null==this.graph.view.getCanvas().ownerSVGElement?(g=this.graph.container.cloneNode(!1),g.innerHTML=this.graph.container.innerHTML):g=this.graph.view.getCanvas().ownerSVGElement.cloneNode(!0);this.graph.getModel().clear();mxClient.NO_FO=e;g.style.position="relative";g.style.overflow="hidden";g.style.left=this.thumbBorder+"px";g.style.top=this.thumbBorder+"px";g.style.width=c+"px";g.style.height=d+"px";g.style.visibility="";g.style.minWidth="";g.style.minHeight="";b.appendChild(g);\r\nthis.sidebarTitles&&null!=f&&0!=h&&(b.style.height=this.thumbHeight+0+this.sidebarTitleSize+8+"px",c=document.createElement("div"),c.style.fontSize=this.sidebarTitleSize+"px",c.style.color="#303030",c.style.textAlign="center",c.style.whiteSpace="nowrap",mxClient.IS_IE&&(c.style.height=this.sidebarTitleSize+12+"px"),c.style.paddingTop="4px",mxUtils.write(c,f),b.appendChild(c));return a};\r\nSidebar.prototype.createSection=function(a){return mxUtils.bind(this,function(){var c=document.createElement("div");c.setAttribute("title",a);c.style.textOverflow="ellipsis";c.style.whiteSpace="nowrap";c.style.textAlign="center";c.style.overflow="hidden";c.style.width="100%";c.style.padding="14px 0";mxUtils.write(c,a);return c})};\r\nSidebar.prototype.createItem=function(a,c,d,b,f,e,h,g){g=null!=g?g:!0;var k=document.createElement("a");k.className="geItem";k.style.overflow="hidden";var l=2*this.thumbBorder;k.style.width=this.thumbWidth+l+"px";k.style.height=this.thumbHeight+l+"px";k.style.padding=this.thumbPadding+"px";mxEvent.addListener(k,"click",function(a){mxEvent.consume(a)});a=this.graph.cloneCells(a);this.editorUi.insertHandler(a,null,this.graph.model,Graph.prototype.defaultVertexStyle,Graph.prototype.defaultEdgeStyle,\r\n"1"==urlParams.sketch,"1"==urlParams.sketch);this.createThumb(a,this.thumbWidth,this.thumbHeight,k,c,d,b,f,e);var m=new mxRectangle(0,0,f,e);1<a.length||a[0].vertex?(b=this.createDragSource(k,this.createDropHandler(a,!0,h,m),this.createDragPreview(f,e),a,m),this.addClickHandler(k,b,a),b.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):null!=a[0]&&a[0].edge&&(b=this.createDragSource(k,this.createDropHandler(a,!1,h,m),this.createDragPreview(f,\r\ne),a,m),this.addClickHandler(k,b,a));!mxClient.IS_IOS&&g&&mxEvent.addGestureListeners(k,null,mxUtils.bind(this,function(b){mxEvent.isMouseEvent(b)&&this.showTooltip(k,a,m.width,m.height,c,d)}));return k};\r\nSidebar.prototype.updateShapes=function(a,c){var d=this.editorUi.editor.graph,b=d.getCellStyle(a),f=[];d.model.beginUpdate();try{for(var e=d.getModel().getStyle(a),h="shadow dashed dashPattern fontFamily fontSize fontColor align startFill startSize endFill endSize strokeColor strokeWidth fillColor gradientColor html part noEdgeStyle edgeStyle elbow childLayout recursiveResize container collapsible connectable comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification sketchStyle".split(" "),g=\r\n0;g<c.length;g++){var k=c[g];if(d.getModel().isVertex(k)==d.getModel().isVertex(a)||d.getModel().isEdge(k)==d.getModel().isEdge(a)){var l=d.getCurrentCellStyle(c[g]);d.getModel().setStyle(k,e);if("1"==mxUtils.getValue(l,"composite","0"))for(var m=d.model.getChildCount(k);0<=m;m--)d.model.remove(d.model.getChildAt(k,m));"umlLifeline"==l[mxConstants.STYLE_SHAPE]&&"umlLifeline"!=b[mxConstants.STYLE_SHAPE]&&(d.setCellStyles(mxConstants.STYLE_SHAPE,"umlLifeline",[k]),d.setCellStyles("participant",b[mxConstants.STYLE_SHAPE],\r\n[k]));for(m=0;m<h.length;m++){var n=l[h[m]];null!=n&&d.setCellStyles(h[m],n,[k])}f.push(k)}}}finally{d.model.endUpdate()}return f};\r\nSidebar.prototype.createDropHandler=function(a,c,d,b){d=null!=d?d:!0;return mxUtils.bind(this,function(f,e,h,g,k,l){for(l=l?null:mxEvent.isTouchEvent(e)||mxEvent.isPenEvent(e)?document.elementFromPoint(mxEvent.getClientX(e),mxEvent.getClientY(e)):mxEvent.getSource(e);null!=l&&l!=this.container;)l=l.parentNode;if(null==l&&f.isEnabled()){a=f.getImportableCells(a);if(0<a.length){f.stopEditing();l=null==h||mxEvent.isAltDown(e)?!1:f.isValidDropTarget(h,a,e);var m=null;null==h||l||(h=null);if(!f.isCellLocked(h||\r\nf.getDefaultParent())){f.model.beginUpdate();try{g=Math.round(g);k=Math.round(k);if(c&&f.isSplitTarget(h,a,e)){var n=f.view.scale,p=f.view.translate,t=(g+p.x)*n,r=(k+p.y)*n,v=f.cloneCells(a);f.splitEdge(h,v,null,g-b.width/2,k-b.height/2,t,r);m=v}else 0<a.length&&(m=f.importCells(a,g,k,h));if(null!=f.layoutManager){var u=f.layoutManager.getLayout(h);if(null!=u)for(n=f.view.scale,p=f.view.translate,t=(g+p.x)*n,r=(k+p.y)*n,h=0;h<m.length;h++)u.moveCell(m[h],t,r)}!d||null!=e&&mxEvent.isShiftDown(e)||\r\nf.fireEvent(new mxEventObject("cellsInserted","cells",m))}catch(w){this.editorUi.handleError(w)}finally{f.model.endUpdate()}null!=m&&0<m.length&&(f.scrollCellToVisible(m[0]),f.setSelectionCells(m));f.editAfterInsert&&null!=e&&mxEvent.isMouseEvent(e)&&null!=m&&1==m.length&&window.setTimeout(function(){f.startEditing(m[0])},0)}}mxEvent.consume(e)}})};\r\nSidebar.prototype.createDragPreview=function(a,c){var d=document.createElement("div");d.className="geDragPreview";d.style.width=a+"px";d.style.height=c+"px";return d};\r\nSidebar.prototype.dropAndConnect=function(a,c,d,b,f){var e=this.getDropAndConnectGeometry(a,c[b],d,c),h=[];if(null!=e){var g=this.editorUi.editor.graph,k=null;g.model.beginUpdate();try{var l=g.getCellGeometry(a),m=g.getCellGeometry(c[b]),n=g.model.getParent(a),p=!0;if(null!=g.layoutManager){var t=g.layoutManager.getLayout(n);null!=t&&t.constructor==mxStackLayout&&(p=!1)}var h=g.model.isEdge(a)?null:g.view.getState(n),r=t=0;if(null!=h){var v=h.origin,t=v.x,r=v.y,u=e.getTerminalPoint(!1);null!=u&&(u.x+=\r\nv.x,u.y+=v.y)}var w=!g.isTableRow(a)&&!g.isTableCell(a)&&(g.model.isEdge(a)||null!=l&&!l.relative&&p),x=g.getCellAt((e.x+t+g.view.translate.x)*g.view.scale,(e.y+r+g.view.translate.y)*g.view.scale,null,null,null,function(a,b,c){return!g.isContainer(a.cell)});if(null!=x&&x!=n)h=g.view.getState(x),null!=h&&(v=h.origin,n=x,w=!0,g.model.isEdge(a)||(e.x-=v.x-t,e.y-=v.y-r));else if(!p||g.isTableRow(a)||g.isTableCell(a))e.x+=t,e.y+=r;t=m.x;r=m.y;g.model.isEdge(c[b])&&(r=t=0);h=c=g.importCells(c,e.x-(w?t:\r\n0),e.y-(w?r:0),w?n:null);if(g.model.isEdge(a))g.model.setTerminal(a,c[b],d==mxConstants.DIRECTION_NORTH);else if(g.model.isEdge(c[b])){g.model.setTerminal(c[b],a,!0);var B=g.getCellGeometry(c[b]);B.points=null;if(null!=B.getTerminalPoint(!1))B.setTerminalPoint(e.getTerminalPoint(!1),!1);else if(w&&g.model.isVertex(n)){var E=g.view.getState(n),v=E.cell!=g.view.currentRoot?E.origin:new mxPoint(0,0);g.cellsMoved(c,v.x,v.y,null,null,!0)}}else m=g.getCellGeometry(c[b]),t=e.x-Math.round(m.x),r=e.y-Math.round(m.y),\r\ne.x=Math.round(m.x),e.y=Math.round(m.y),g.model.setGeometry(c[b],e),g.cellsMoved(c,t,r,null,null,!0),h=c.slice(),k=1==h.length?h[0]:null,c.push(g.insertEdge(null,null,"",a,c[b],g.createCurrentEdgeStyle()));null!=f&&mxEvent.isShiftDown(f)||g.fireEvent(new mxEventObject("cellsInserted","cells",c))}catch(G){this.editorUi.handleError(G)}finally{g.model.endUpdate()}g.editAfterInsert&&null!=f&&mxEvent.isMouseEvent(f)&&null!=k&&window.setTimeout(function(){g.startEditing(k)},0)}return h};\r\nSidebar.prototype.getDropAndConnectGeometry=function(a,c,d,b){var f=this.editorUi.editor.graph,e=f.view,h=1<b.length,g=f.getCellGeometry(a);b=f.getCellGeometry(c);null!=g&&null!=b&&(b=b.clone(),f.model.isEdge(a)?(a=f.view.getState(a),g=a.absolutePoints,c=g[0],f=g[g.length-1],d==mxConstants.DIRECTION_NORTH?(b.x=c.x/e.scale-e.translate.x-b.width/2,b.y=c.y/e.scale-e.translate.y-b.height/2):(b.x=f.x/e.scale-e.translate.x-b.width/2,b.y=f.y/e.scale-e.translate.y-b.height/2)):(g.relative&&(a=f.view.getState(a),\r\ng=g.clone(),g.x=(a.x-e.translate.x)/e.scale,g.y=(a.y-e.translate.y)/e.scale),e=f.defaultEdgeLength,f.model.isEdge(c)&&null!=b.getTerminalPoint(!0)&&null!=b.getTerminalPoint(!1)?(c=b.getTerminalPoint(!0),f=b.getTerminalPoint(!1),e=f.x-c.x,c=f.y-c.y,e=Math.sqrt(e*e+c*c),b.x=g.getCenterX(),b.y=g.getCenterY(),b.width=1,b.height=1,d==mxConstants.DIRECTION_NORTH?(b.height=e,b.y=g.y-e,b.setTerminalPoint(new mxPoint(b.x,b.y),!1)):d==mxConstants.DIRECTION_EAST?(b.width=e,b.x=g.x+g.width,b.setTerminalPoint(new mxPoint(b.x+\r\nb.width,b.y),!1)):d==mxConstants.DIRECTION_SOUTH?(b.height=e,b.y=g.y+g.height,b.setTerminalPoint(new mxPoint(b.x,b.y+b.height),!1)):d==mxConstants.DIRECTION_WEST&&(b.width=e,b.x=g.x-e,b.setTerminalPoint(new mxPoint(b.x,b.y),!1))):(!h&&45<b.width&&45<b.height&&45<g.width&&45<g.height&&(b.width*=g.height/b.height,b.height=g.height),b.x=g.x+g.width/2-b.width/2,b.y=g.y+g.height/2-b.height/2,d==mxConstants.DIRECTION_NORTH?b.y=b.y-g.height/2-b.height/2-e:d==mxConstants.DIRECTION_EAST?b.x=b.x+g.width/2+\r\nb.width/2+e:d==mxConstants.DIRECTION_SOUTH?b.y=b.y+g.height/2+b.height/2+e:d==mxConstants.DIRECTION_WEST&&(b.x=b.x-g.width/2-b.width/2-e),f.model.isEdge(c)&&null!=b.getTerminalPoint(!0)&&null!=c.getTerminal(!1)&&(g=f.getCellGeometry(c.getTerminal(!1)),null!=g&&(d==mxConstants.DIRECTION_NORTH?(b.x-=g.getCenterX(),b.y-=g.getCenterY()+g.height/2):d==mxConstants.DIRECTION_EAST?(b.x-=g.getCenterX()-g.width/2,b.y-=g.getCenterY()):d==mxConstants.DIRECTION_SOUTH?(b.x-=g.getCenterX(),b.y-=g.getCenterY()-g.height/\r\n2):d==mxConstants.DIRECTION_WEST&&(b.x-=g.getCenterX()+g.width/2,b.y-=g.getCenterY()))))));return b};Sidebar.prototype.isDropStyleEnabled=function(a,c){var d=!0;if(null!=c&&1==a.length){var b=this.graph.getCellStyle(a[c]);null!=b&&(d=mxUtils.getValue(b,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(b,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE)}return d};\r\nSidebar.prototype.isDropStyleTargetIgnored=function(a){return this.graph.isSwimlane(a.cell)||this.graph.isTableCell(a.cell)||this.graph.isTableRow(a.cell)||this.graph.isTable(a.cell)};\r\nSidebar.prototype.createDragSource=function(a,c,d,b,f){function e(a,b){var c;c=mxUtils.createImage(a.src);c.style.width=a.width+"px";c.style.height=a.height+"px";null!=b&&c.setAttribute("title",b);mxUtils.setOpacity(c,a==this.refreshTarget?30:20);c.style.position="absolute";c.style.cursor="crosshair";return c}function h(a,b,c,d){null!=d.parentNode&&(mxUtils.contains(c,a,b)?(mxUtils.setOpacity(d,100),M=d):mxUtils.setOpacity(d,d==y?30:20));return c}for(var g=this.editorUi,k=g.editor.graph,l=null,m=\r\nnull,n=this,p=0;p<b.length&&(null==m&&k.model.isVertex(b[p])?m=p:null==l&&k.model.isEdge(b[p])&&null==k.model.getTerminal(b[p],!0)&&(l=p),null==m||null==l);p++);var t=this.isDropStyleEnabled(b,m),r=mxUtils.makeDraggable(a,k,mxUtils.bind(this,function(a,d,e,f,g){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=b&&null!=x&&M==y){var k=a.isCellSelected(x.cell)?a.getSelectionCells():[x.cell],k=this.updateShapes(a.model.isEdge(x.cell)?b[0]:b[m],k);a.setSelectionCells(k)}else null!=\r\nb&&null!=M&&null!=u&&M!=y?(k=a.model.isEdge(u.cell)||null==l?m:l,a.setSelectionCells(this.dropAndConnect(u.cell,b,P,k,d))):c.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(a.view.getState(a.getSelectionCell()))}),d,0,0,k.autoscroll,!0,!0);k.addListener(mxEvent.ESCAPE,function(a,b){r.isActive()&&r.reset()});var v=r.mouseDown;r.mouseDown=function(a){mxEvent.isPopupTrigger(a)||mxEvent.isMultiTouchEvent(a)||k.isCellLocked(k.getDefaultParent())||(k.stopEditing(),\r\nv.apply(this,arguments))};var u=null,w=null,x=null,B=!1,E=e(this.triangleUp,mxResources.get("connect")),G=e(this.triangleRight,mxResources.get("connect")),z=e(this.triangleDown,mxResources.get("connect")),I=e(this.triangleLeft,mxResources.get("connect")),y=e(this.refreshTarget,mxResources.get("replace")),H=null,L=e(this.roundDrop),O=e(this.roundDrop),P=mxConstants.DIRECTION_NORTH,M=null,W=r.createPreviewElement;r.createPreviewElement=function(a){var b=W.apply(this,arguments);mxClient.IS_SVG&&(b.style.pointerEvents=\r\n"none");this.previewElementWidth=b.style.width;this.previewElementHeight=b.style.height;return b};var ba=r.dragEnter;r.dragEnter=function(a,b){null!=g.hoverIcons&&g.hoverIcons.setDisplay("none");ba.apply(this,arguments)};var Z=r.dragExit;r.dragExit=function(a,b){null!=g.hoverIcons&&g.hoverIcons.setDisplay("");Z.apply(this,arguments)};r.dragOver=function(a,c){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=M&&this.currentGuide.hide();if(null!=this.previewElement){var d=\r\na.view;if(null!=x&&M==y)this.previewElement.style.display=a.model.isEdge(x.cell)?"none":"",this.previewElement.style.left=x.x+"px",this.previewElement.style.top=x.y+"px",this.previewElement.style.width=x.width+"px",this.previewElement.style.height=x.height+"px";else if(null!=u&&null!=M){null!=r.currentHighlight&&null!=r.currentHighlight.state&&r.currentHighlight.hide();var e=a.model.isEdge(u.cell)||null==l?m:l,g=n.getDropAndConnectGeometry(u.cell,b[e],P,b),k=a.model.isEdge(u.cell)?null:a.getCellGeometry(u.cell),\r\nh=a.getCellGeometry(b[e]),p=a.model.getParent(u.cell),t=d.translate.x*d.scale,v=d.translate.y*d.scale;null!=k&&!k.relative&&a.model.isVertex(p)&&p!=d.currentRoot&&(v=d.getState(p),t=v.x,v=v.y);k=h.x;h=h.y;a.model.isEdge(b[e])&&(h=k=0);this.previewElement.style.left=(g.x-k)*d.scale+t+"px";this.previewElement.style.top=(g.y-h)*d.scale+v+"px";1==b.length&&(this.previewElement.style.width=g.width*d.scale+"px",this.previewElement.style.height=g.height*d.scale+"px");this.previewElement.style.display=""}else null!=\r\nr.currentHighlight.state&&a.model.isEdge(r.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-f.width*d.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-f.height*d.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="")}};var T=(new Date).getTime(),R=0,Q=null,S=this.editorUi.editor.graph.getCellStyle(b[0]);\r\nr.getDropTarget=mxUtils.bind(this,function(a,c,d,e){var f=mxEvent.isAltDown(e)||null==b?null:a.getCellAt(c,d,null,null,null,function(b,c,d){return a.isContainer(b.cell)});if(null!=f&&!this.graph.isCellConnectable(f)&&!this.graph.model.isEdge(f)){var g=this.graph.getModel().getParent(f);this.graph.getModel().isVertex(g)&&this.graph.isCellConnectable(g)&&(f=g)}a.isCellLocked(f)&&(f=null);var k=a.view.getState(f),g=M=null;Q!=k?(T=(new Date).getTime(),R=0,Q=k,null!=this.updateThread&&window.clearTimeout(this.updateThread),\r\nnull!=k&&(this.updateThread=window.setTimeout(function(){null==M&&(Q=k,r.getDropTarget(a,c,d,e))},this.dropTargetDelay+10))):R=(new Date).getTime()-T;if(t&&2500>R&&null!=k&&!mxEvent.isShiftDown(e)&&(mxUtils.getValue(k.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(S,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(k.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(k.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(k.style,\r\nmxConstants.STYLE_GRADIENTCOLOR,mxConstants.NONE)!=mxConstants.NONE)||"image"==mxUtils.getValue(S,mxConstants.STYLE_SHAPE)||1500<R||a.model.isEdge(k.cell))&&R>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(k)&&(a.model.isVertex(k.cell)&&null!=m||a.model.isEdge(k.cell)&&a.model.isEdge(b[0]))){if(a.isCellEditable(k.cell)){x=k;var l=a.model.isEdge(k.cell)?a.view.getPoint(k):new mxPoint(k.getCenterX(),k.getCenterY()),l=new mxRectangle(l.x-this.refreshTarget.width/2,l.y-this.refreshTarget.height/\r\n2,this.refreshTarget.width,this.refreshTarget.height);y.style.left=Math.floor(l.x)+"px";y.style.top=Math.floor(l.y)+"px";null==H&&(a.container.appendChild(y),H=y.parentNode);h(c,d,l,y)}}else null==x||!mxUtils.contains(x,c,d)||1500<R&&!mxEvent.isShiftDown(e)?(x=null,null!=H&&(y.parentNode.removeChild(y),H=null)):null!=x&&null!=H&&(l=a.model.isEdge(x.cell)?a.view.getPoint(x):new mxPoint(x.getCenterX(),x.getCenterY()),l=new mxRectangle(l.x-this.refreshTarget.width/2,l.y-this.refreshTarget.height/2,this.refreshTarget.width,\r\nthis.refreshTarget.height),h(c,d,l,y));if(B&&null!=u&&!mxEvent.isAltDown(e)&&null==M){g=mxRectangle.fromRectangle(u);if(a.model.isEdge(u.cell)){var n=u.absolutePoints;null!=L.parentNode&&(l=n[0],g.add(h(c,d,new mxRectangle(l.x-this.roundDrop.width/2,l.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),L)));null!=O.parentNode&&(n=n[n.length-1],g.add(h(c,d,new mxRectangle(n.x-this.roundDrop.width/2,n.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),O)))}else l=\r\nmxRectangle.fromRectangle(u),null!=u.shape&&null!=u.shape.boundingBox&&(l=mxRectangle.fromRectangle(u.shape.boundingBox)),l.grow(this.graph.tolerance),l.grow(HoverIcons.prototype.arrowSpacing),n=this.graph.selectionCellsHandler.getHandler(u.cell),null!=n&&(l.x-=n.horizontalOffset/2,l.y-=n.verticalOffset/2,l.width+=n.horizontalOffset,l.height+=n.verticalOffset,null!=n.rotationShape&&null!=n.rotationShape.node&&"hidden"!=n.rotationShape.node.style.visibility&&"none"!=n.rotationShape.node.style.display&&\r\nnull!=n.rotationShape.boundingBox&&l.add(n.rotationShape.boundingBox)),g.add(h(c,d,new mxRectangle(u.getCenterX()-this.triangleUp.width/2,l.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),E)),g.add(h(c,d,new mxRectangle(l.x+l.width,u.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),G)),g.add(h(c,d,new mxRectangle(u.getCenterX()-this.triangleDown.width/2,l.y+l.height,this.triangleDown.width,this.triangleDown.height),z)),g.add(h(c,d,\r\nnew mxRectangle(l.x-this.triangleLeft.width,u.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),I));null!=g&&g.grow(10)}P=mxConstants.DIRECTION_NORTH;M==G?P=mxConstants.DIRECTION_EAST:M==z||M==O?P=mxConstants.DIRECTION_SOUTH:M==I&&(P=mxConstants.DIRECTION_WEST);null!=x&&M==y&&(k=x);l=(null==m||a.isCellConnectable(b[m]))&&(a.model.isEdge(f)&&null!=m||a.model.isVertex(f)&&a.isCellConnectable(f));if(null!=u&&5E3<=R||u!=k&&(null==g||!mxUtils.contains(g,c,d)||500<\r\nR&&null==M&&l))if(B=!1,u=5E3>R&&R>this.dropTargetDelay||a.model.isEdge(f)?k:null,null!=u&&l){g=[L,O,E,G,z,I];for(l=0;l<g.length;l++)null!=g[l].parentNode&&g[l].parentNode.removeChild(g[l]);a.model.isEdge(f)?(n=k.absolutePoints,null!=n&&(l=n[0],n=n[n.length-1],g=a.tolerance,new mxRectangle(c-g,d-g,2*g,2*g),L.style.left=Math.floor(l.x-this.roundDrop.width/2)+"px",L.style.top=Math.floor(l.y-this.roundDrop.height/2)+"px",O.style.left=Math.floor(n.x-this.roundDrop.width/2)+"px",O.style.top=Math.floor(n.y-\r\nthis.roundDrop.height/2)+"px",null==a.model.getTerminal(f,!0)&&a.container.appendChild(L),null==a.model.getTerminal(f,!1)&&a.container.appendChild(O))):(l=mxRectangle.fromRectangle(k),null!=k.shape&&null!=k.shape.boundingBox&&(l=mxRectangle.fromRectangle(k.shape.boundingBox)),l.grow(this.graph.tolerance),l.grow(HoverIcons.prototype.arrowSpacing),n=this.graph.selectionCellsHandler.getHandler(k.cell),null!=n&&(l.x-=n.horizontalOffset/2,l.y-=n.verticalOffset/2,l.width+=n.horizontalOffset,l.height+=n.verticalOffset,\r\nnull!=n.rotationShape&&null!=n.rotationShape.node&&"hidden"!=n.rotationShape.node.style.visibility&&"none"!=n.rotationShape.node.style.display&&null!=n.rotationShape.boundingBox&&l.add(n.rotationShape.boundingBox)),E.style.left=Math.floor(k.getCenterX()-this.triangleUp.width/2)+"px",E.style.top=Math.floor(l.y-this.triangleUp.height)+"px",G.style.left=Math.floor(l.x+l.width)+"px",G.style.top=Math.floor(k.getCenterY()-this.triangleRight.height/2)+"px",z.style.left=E.style.left,z.style.top=Math.floor(l.y+\r\nl.height)+"px",I.style.left=Math.floor(l.x-this.triangleLeft.width)+"px",I.style.top=G.style.top,"eastwest"!=k.style.portConstraint&&(a.container.appendChild(E),a.container.appendChild(z)),a.container.appendChild(G),a.container.appendChild(I));null!=k&&(w=a.selectionCellsHandler.getHandler(k.cell),null!=w&&null!=w.setHandlesVisible&&w.setHandlesVisible(!1));B=!0}else for(g=[L,O,E,G,z,I],l=0;l<g.length;l++)null!=g[l].parentNode&&g[l].parentNode.removeChild(g[l]);B||null==w||w.setHandlesVisible(!0);\r\nf=mxEvent.isAltDown(e)&&!mxEvent.isShiftDown(e)||null!=x&&M==y?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);g=a.getModel();if(null!=f&&(null!=M||!a.isSplitTarget(f,b,e))){for(;null!=f&&!a.isValidDropTarget(f,b,e)&&g.isVertex(g.getParent(f));)f=g.getParent(f);null!=f&&(a.view.currentRoot==f||!a.isValidRoot(f)&&0==a.getModel().getChildCount(f)||a.isCellLocked(f)||g.isEdge(f)||!a.isValidDropTarget(f,b,e))&&(f=null)}a.isCellLocked(f)&&(f=null);return f});r.stopDrag=function(){mxDragSource.prototype.stopDrag.apply(this,\r\narguments);for(var a=[L,O,y,E,G,z,I],b=0;b<a.length;b++)null!=a[b].parentNode&&a[b].parentNode.removeChild(a[b]);null!=u&&null!=w&&w.reset();M=H=x=u=w=null};return r};\r\nSidebar.prototype.itemClicked=function(a,c,d,b){b=this.editorUi.editor.graph;b.container.focus();if(mxEvent.isAltDown(d)&&1==b.getSelectionCount()&&b.model.isVertex(b.getSelectionCell())){c=null;for(var f=0;f<a.length&&null==c;f++)b.model.isVertex(a[f])&&(c=f);null!=c&&(b.setSelectionCells(this.dropAndConnect(b.getSelectionCell(),a,mxEvent.isMetaDown(d)||mxEvent.isControlDown(d)?mxEvent.isShiftDown(d)?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH:mxEvent.isShiftDown(d)?mxConstants.DIRECTION_EAST:\r\nmxConstants.DIRECTION_SOUTH,c,d)),b.scrollCellToVisible(b.getSelectionCell()))}else mxEvent.isShiftDown(d)&&!b.isSelectionEmpty()?(d=b.getEditableCells(b.getSelectionCells()),this.updateShapes(a[0],d),b.scrollCellToVisible(d)):(a=mxEvent.isAltDown(d)?b.getFreeInsertPoint():b.getCenterInsertPoint(b.getBoundingBoxFromGeometry(a,!0)),c.drop(b,d,null,a.x,a.y,!0))};\r\nSidebar.prototype.addClickHandler=function(a,c,d){var b=c.mouseDown,f=c.mouseMove,e=c.mouseUp,h=this.editorUi.editor.graph.tolerance,g=null,k=this;c.mouseDown=function(c){b.apply(this,arguments);g=new mxPoint(mxEvent.getClientX(c),mxEvent.getClientY(c));null!=this.dragElement&&(this.dragElement.style.display="none",mxUtils.setOpacity(a,50))};c.mouseMove=function(b){null!=this.dragElement&&"none"==this.dragElement.style.display&&null!=g&&(Math.abs(g.x-mxEvent.getClientX(b))>h||Math.abs(g.y-mxEvent.getClientY(b))>\r\nh)&&(this.dragElement.style.display="",mxUtils.setOpacity(a,100));f.apply(this,arguments)};c.mouseUp=function(b){try{mxEvent.isPopupTrigger(b)||null!=this.currentGraph||null==this.dragElement||"none"!=this.dragElement.style.display||k.itemClicked(d,c,b,a),e.apply(c,arguments),mxUtils.setOpacity(a,100),g=null,k.currentElt=a}catch(m){c.reset(),k.editorUi.handleError(m)}}};\r\nSidebar.prototype.createVertexTemplateEntry=function(a,c,d,b,f,e,h,g){g=null!=g&&0<g.length?g:null!=f?f.toLowerCase():"";return this.addEntry(g,mxUtils.bind(this,function(){return this.createVertexTemplate(a,c,d,b,f,e,h)}))};Sidebar.prototype.createVertexTemplate=function(a,c,d,b,f,e,h,g,k){a=[new mxCell(null!=b?b:"",new mxGeometry(0,0,c,d),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,c,d,f,e,h,g,k)};\r\nSidebar.prototype.createVertexTemplateFromData=function(a,c,d,b,f,e,h,g){a=mxUtils.parseXml(Graph.decompress(a));var k=new mxCodec(a),l=new mxGraphModel;k.decode(a.documentElement,l);a=this.graph.cloneCells(l.root.getChildAt(0).children);return this.createVertexTemplateFromCells(a,c,d,b,f,e,h,g)};Sidebar.prototype.createVertexTemplateFromCells=function(a,c,d,b,f,e,h,g){return this.createItem(a,b,f,e,c,d,h,g)};\r\nSidebar.prototype.createEdgeTemplateEntry=function(a,c,d,b,f,e,h,g,k){h=null!=h&&0<h.length?h:f.toLowerCase();return this.addEntry(h,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,c,d,b,f,e,g,k)}))};\r\nSidebar.prototype.createEdgeTemplate=function(a,c,d,b,f,e,h,g){a=new mxCell(null!=b?b:"",new mxGeometry(0,0,c,d),a);a.geometry.setTerminalPoint(new mxPoint(0,d),!0);a.geometry.setTerminalPoint(new mxPoint(c,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],c,d,f,e,h,g)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,c,d,b,f,e,h){return this.createItem(a,b,f,!0,c,d,e,h)};\r\nSidebar.prototype.addPaletteFunctions=function(a,c,d,b){this.addPalette(a,c,d,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};\r\nSidebar.prototype.addPalette=function(a,c,d,b){c=this.createTitle(c);this.container.appendChild(c);var f=document.createElement("div");f.className="geSidebar";mxClient.IS_POINTER&&(f.style.touchAction="none");d?(b(f),b=null):f.style.display="none";this.addFoldingHandler(c,f,b);d=document.createElement("div");d.appendChild(f);this.container.appendChild(d);null!=a&&(this.palettes[a]=[c,d]);return f};\r\nSidebar.prototype.addFoldingHandler=function(a,c,d){var b=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==c.style.display?"url(\'"+this.collapsedImage+"\')":"url(\'"+this.expandedImage+"\')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="0% 50%";mxEvent.addListener(a,"click",mxUtils.bind(this,function(f){if("none"==c.style.display){if(b)c.style.display="block";else if(b=!0,null!=d){a.style.cursor="wait";var e=a.innerHTML;a.innerHTML=mxResources.get("loading")+\r\n"...";window.setTimeout(function(){c.style.display="block";a.style.cursor="";a.innerHTML=e;var b=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;d(c,a);mxClient.NO_FO=b},mxClient.IS_FF?20:0)}else c.style.display="block";a.style.backgroundImage="url(\'"+this.expandedImage+"\')"}else a.style.backgroundImage="url(\'"+this.collapsedImage+"\')",c.style.display="none";mxEvent.consume(f)}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}))};\r\nSidebar.prototype.removePalette=function(a){var c=this.palettes[a];if(null!=c){this.palettes[a]=null;for(a=0;a<c.length;a++)this.container.removeChild(c[a]);return!0}return!1};\r\nSidebar.prototype.addImagePalette=function(a,c,d,b,f,e,h){for(var g=[],k=0;k<f.length;k++)mxUtils.bind(this,function(a,c,e){if(null==e){e=a.lastIndexOf("/");var f=a.lastIndexOf(".");e=a.substring(0<=e?e+1:0,0<=f?f:a.length).replace(/[-_]/g," ")}g.push(this.createVertexTemplateEntry("image;html=1;image="+d+a+b,this.defaultImageWidth,this.defaultImageHeight,"",c,null!=c,null,this.filterTags(e)))})(f[k],null!=e?e[k]:null,null!=h?h[f[k]]:null);this.addPaletteFunctions(a,c,!1,g)};\r\nSidebar.prototype.getTagsForStencil=function(a,c,d){a=a.split(".");for(var b=1;b<a.length;b++)a[b]=a[b].replace(/_/g," ");a.push(c.replace(/_/g," "));null!=d&&a.push(d);return a.slice(1,a.length)};\r\nSidebar.prototype.addStencilPalette=function(a,c,d,b,f,e,h,g,k,l){h=null!=h?h:1;if(this.addStencilsToIndex){var m=[];if(null!=k)for(l=0;l<k.length;l++)m.push(k[l]);mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(a,c,d,e,k){if(null==f||0>mxUtils.indexOf(f,c)){d=this.getTagsForStencil(a,c);var l=null!=g?g[c]:null;null!=l&&d.push(l);m.push(this.createVertexTemplateEntry("shape="+a+c.toLowerCase()+b,Math.round(e*h),Math.round(k*h),"",c.replace(/_/g," "),null,null,this.filterTags(d.join(" "))))}}),\r\n!0,!0);this.addPaletteFunctions(a,c,!1,m)}else this.addPalette(a,c,!1,mxUtils.bind(this,function(a){null==b&&(b="");null!=e&&e.call(this,a);if(null!=k)for(var c=0;c<k.length;c++)k[c](a);mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(c,d,e,g,k){(null==f||0>mxUtils.indexOf(f,d))&&a.appendChild(this.createVertexTemplate("shape="+c+d.toLowerCase()+b,Math.round(g*h),Math.round(k*h),"",d.replace(/_/g," "),!0))}),!0)}))};\r\nSidebar.prototype.destroy=function(){null!=this.graph&&(null!=this.graph.container&&null!=this.graph.container.parentNode&&this.graph.container.parentNode.removeChild(this.graph.container),this.graph.destroy(),this.graph=null);null!=this.pointerUpHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),this.pointerUpHandler=null);null!=this.pointerDownHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),\r\nthis.pointerDownHandler=null);null!=this.pointerMoveHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHandler=null);null!=this.pointerOutHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler),this.pointerOutHandler=null)};"undefined"!==typeof html4&&(html4.ATTRIBS["a::target"]=0,html4.ATTRIBS["source::src"]=0,html4.ATTRIBS["video::src"]=0);(function(){var a=[["nbsp","160"],["shy","173"]],c=mxUtils.parseXml;mxUtils.parseXml=function(d){for(var b=0;b<a.length;b++)d=d.replace(new RegExp("&"+a[b][0]+";","g"),"&#"+a[b][1]+";");return c(d)}})();\r\nDate.prototype.toISOString||function(){function a(a){a=String(a);1===a.length&&(a="0"+a);return a}Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1E3).toFixed(3)).slice(2,5)+"Z"}}();Date.now||(Date.now=function(){return(new Date).getTime()});\r\nUint8Array.from||(Uint8Array.from=function(){var a=Object.prototype.toString,c=function(b){return"function"===typeof b||"[object Function]"===a.call(b)},d=Math.pow(2,53)-1;return function(a){var b=Object(a);if(null==a)throw new TypeError("Array.from requires an array-like object - not null or undefined");var e=1<arguments.length?arguments[1]:void 0,h;if("undefined"!==typeof e){if(!c(e))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(h=\r\narguments[2])}var g;g=Number(b.length);g=isNaN(g)?0:0!==g&&isFinite(g)?(0<g?1:-1)*Math.floor(Math.abs(g)):g;g=Math.min(Math.max(g,0),d);for(var k=c(this)?Object(new this(g)):Array(g),l=0,m;l<g;)m=b[l],k[l]=e?"undefined"===typeof h?e(m,l):e.call(h,m,l):m,l+=1;k.length=g;return k}}());mxConstants.POINTS=1;mxConstants.MILLIMETERS=2;mxConstants.INCHES=3;mxConstants.PIXELS_PER_MM=3.937;mxConstants.PIXELS_PER_INCH=100;mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";\r\nmxConstants.VML_SHADOWCOLOR="#d0d0d0";mxGraph.prototype.pageBreakColor="#c0c0c0";mxGraph.prototype.pageScale=1;(function(){try{if(null!=navigator&&null!=navigator.language){var a=navigator.language.toLowerCase();mxGraph.prototype.pageFormat="en-us"===a||"en-ca"===a||"es-mx"===a?mxConstants.PAGE_FORMAT_LETTER_PORTRAIT:mxConstants.PAGE_FORMAT_A4_PORTRAIT}}catch(c){}})();mxText.prototype.baseSpacingTop=5;mxText.prototype.baseSpacingBottom=1;mxGraphModel.prototype.ignoreRelativeEdgeParent=!1;\r\nmxGraphView.prototype.gridImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs=":IMAGE_PATH+"/grid.gif";mxGraphView.prototype.gridSteps=4;mxGraphView.prototype.minGridSize=4;mxGraphView.prototype.defaultGridColor="#d0d0d0";mxGraphView.prototype.defaultDarkGridColor="#6e6e6e";mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultGridColor;mxGraphView.prototype.unit=mxConstants.POINTS;\r\nmxGraphView.prototype.setUnit=function(a){this.unit!=a&&(this.unit=a,this.fireEvent(new mxEventObject("unitChanged","unit",a)))};mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";mxShape.prototype.getConstraints=function(a,c,d){return null};\r\nmxImageShape.prototype.getImageDataUri=function(){var a=this.image;if("data:image/svg+xml;base64,"==a.substring(0,26)&&null!=this.style&&"1"==mxUtils.getValue(this.style,"clipSvg","0")){if(null==this.clippedSvg||this.clippedImage!=a)this.clippedSvg=Graph.clipSvgDataUri(a),this.clippedImage=a;a=this.clippedSvg}return a};\r\nGraph=function(a,c,d,b,f,e){mxGraph.call(this,a,c,d,b);this.themes=f||this.defaultThemes;this.currentEdgeStyle=mxUtils.clone(this.defaultEdgeStyle);this.currentVertexStyle=mxUtils.clone(this.defaultVertexStyle);this.standalone=null!=e?e:!1;a=this.baseUrl;c=a.indexOf("//");this.domainPathUrl=this.domainUrl="";0<c&&(c=a.indexOf("/",c+2),0<c&&(this.domainUrl=a.substring(0,c)),c=a.lastIndexOf("/"),0<c&&(this.domainPathUrl=a.substring(0,c+1)));this.isHtmlLabel=function(a){a=this.getCurrentCellStyle(a);\r\nreturn null!=a?"1"==a.html||"wrap"==a[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.edgeMode){var h=null,g=null,k=null,l=null,m=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,b){if("mouseDown"==b.getProperty("eventName")&&this.isEnabled()){var c=b.getProperty("event"),d=c.getState();if(!mxEvent.isAltDown(c.getEvent())&&null!=d)if(this.model.isEdge(d.cell))if(h=new mxPoint(c.getGraphX(),c.getGraphY()),m=this.isCellSelected(d.cell),k=d,g=c,null!=d.text&&null!=d.text.boundingBox&&\r\nmxUtils.contains(d.text.boundingBox,c.getGraphX(),c.getGraphY()))l=mxEvent.LABEL_HANDLE;else{var e=this.selectionCellsHandler.getHandler(d.cell);null!=e&&null!=e.bends&&0<e.bends.length&&(l=e.getHandleForEvent(c))}else if(!this.panningHandler.isActive()&&!mxEvent.isControlDown(c.getEvent())&&(e=this.selectionCellsHandler.getHandler(d.cell),null==e||null==e.getHandleForEvent(c))){var f=new mxRectangle(c.getGraphX()-1,c.getGraphY()-1);f.grow(mxEvent.isTouchEvent(c.getEvent())?mxShape.prototype.svgStrokeTolerance-\r\n1:(mxShape.prototype.svgStrokeTolerance+1)/2);if(this.isTableCell(d.cell)&&!this.isCellSelected(d.cell)){var n=this.model.getParent(d.cell),e=this.model.getParent(n);if(!this.isCellSelected(e)&&(mxUtils.intersects(f,new mxRectangle(d.x,d.y-2,d.width,3))&&this.model.getChildAt(e,0)!=n||mxUtils.intersects(f,new mxRectangle(d.x,d.y+d.height-2,d.width,3))||mxUtils.intersects(f,new mxRectangle(d.x-2,d.y,2,d.height))&&this.model.getChildAt(n,0)!=d.cell||mxUtils.intersects(f,new mxRectangle(d.x+d.width-\r\n2,d.y,2,d.height)))&&(n=this.selectionCellsHandler.isHandled(e),this.selectCellForEvent(e,c.getEvent()),e=this.selectionCellsHandler.getHandler(e),null!=e)){var p=e.getHandleForEvent(c);null!=p&&(e.start(c.getGraphX(),c.getGraphY(),p),e.blockDelayedSelection=!n,c.consume())}}for(;!c.isConsumed()&&null!=d&&(this.isTableCell(d.cell)||this.isTableRow(d.cell)||this.isTable(d.cell));)this.isSwimlane(d.cell)&&(e=this.getActualStartSize(d.cell),n=this.view.scale,(0<e.x||0<e.width)&&mxUtils.intersects(f,\r\nnew mxRectangle(d.x+(e.x-e.width-1)*n+(0==e.x?d.width:0),d.y,1,d.height))||(0<e.y||0<e.height)&&mxUtils.intersects(f,new mxRectangle(d.x,d.y+(e.y-e.height-1)*n+(0==e.y?d.height:0),d.width,1)))&&(this.selectCellForEvent(d.cell,c.getEvent()),e=this.selectionCellsHandler.getHandler(d.cell),null!=e&&(p=mxEvent.CUSTOM_HANDLE-e.customHandles.length+1,e.start(c.getGraphX(),c.getGraphY(),p),c.consume())),d=this.view.getState(this.model.getParent(d.cell))}}}));this.addMouseListener({mouseDown:function(a,b){},\r\nmouseMove:mxUtils.bind(this,function(a,b){var c=this.selectionCellsHandler.handlers.map,d;for(d in c)if(null!=c[d].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isAltDown(b.getEvent()))if(d=this.tolerance,null!=h&&null!=k&&null!=g){if(c=k,Math.abs(h.x-b.getGraphX())>d||Math.abs(h.y-b.getGraphY())>d){var e=this.selectionCellsHandler.getHandler(c.cell);null==e&&this.model.isEdge(c.cell)&&(e=this.createHandler(c));if(null!=e&&null!=e.bends&&0<e.bends.length){d=e.getHandleForEvent(g);\r\nvar f=this.view.getEdgeStyle(c),n=f==mxEdgeStyle.EntityRelation;m||l!=mxEvent.LABEL_HANDLE||(d=l);if(n&&0!=d&&d!=e.bends.length-1&&d!=mxEvent.LABEL_HANDLE)!n||null==c.visibleSourceState&&null==c.visibleTargetState||(this.graphHandler.reset(),b.consume());else if(d==mxEvent.LABEL_HANDLE||0==d||null!=c.visibleSourceState||d==e.bends.length-1||null!=c.visibleTargetState)n||d==mxEvent.LABEL_HANDLE||(n=c.absolutePoints,null!=n&&(null==f&&null==d||f==mxEdgeStyle.OrthConnector)&&(d=l,null==d&&(d=new mxRectangle(h.x,\r\nh.y),d.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(d,n[0].x,n[0].y)?d=0:mxUtils.contains(d,n[n.length-1].x,n[n.length-1].y)?d=e.bends.length-1:null!=f&&(2==n.length||3==n.length&&(0==Math.round(n[0].x-n[1].x)&&0==Math.round(n[1].x-n[2].x)||0==Math.round(n[0].y-n[1].y)&&0==Math.round(n[1].y-n[2].y)))?d=2:(d=mxUtils.findNearestSegment(c,h.x,h.y),d=null==f?mxEvent.VIRTUAL_HANDLE-d:d+1))),null==d&&(d=mxEvent.VIRTUAL_HANDLE)),e.start(b.getGraphX(),b.getGraphX(),d),b.consume(),this.graphHandler.reset()}null!=\r\ne&&(this.selectionCellsHandler.isHandlerActive(e)?this.isCellSelected(c.cell)||(this.selectionCellsHandler.handlers.put(c.cell,e),this.selectCellForEvent(c.cell,b.getEvent())):this.isCellSelected(c.cell)||e.destroy());m=!1;h=g=k=l=null}}else if(c=b.getState(),null!=c&&this.isCellEditable(c.cell)){e=null;if(this.model.isEdge(c.cell)){if(d=new mxRectangle(b.getGraphX(),b.getGraphY()),d.grow(mxEdgeHandler.prototype.handleImage.width/2),n=c.absolutePoints,null!=n)if(null!=c.text&&null!=c.text.boundingBox&&\r\nmxUtils.contains(c.text.boundingBox,b.getGraphX(),b.getGraphY()))e="move";else if(mxUtils.contains(d,n[0].x,n[0].y)||mxUtils.contains(d,n[n.length-1].x,n[n.length-1].y))e="pointer";else if(null!=c.visibleSourceState||null!=c.visibleTargetState)d=this.view.getEdgeStyle(c),e="crosshair",d!=mxEdgeStyle.EntityRelation&&this.isOrthogonal(c)&&(d=mxUtils.findNearestSegment(c,b.getGraphX(),b.getGraphY()),d<n.length-1&&0<=d&&(e=0==Math.round(n[d].x-n[d+1].x)?"col-resize":"row-resize"))}else if(!mxEvent.isControlDown(b.getEvent())){d=\r\nnew mxRectangle(b.getGraphX()-1,b.getGraphY()-1);d.grow(mxShape.prototype.svgStrokeTolerance/2);if(this.isTableCell(c.cell)&&(n=this.model.getParent(c.cell),f=this.model.getParent(n),!this.isCellSelected(f)))if(mxUtils.intersects(d,new mxRectangle(c.x-2,c.y,2,c.height))&&this.model.getChildAt(n,0)!=c.cell||mxUtils.intersects(d,new mxRectangle(c.x+c.width-2,c.y,2,c.height)))e="col-resize";else if(mxUtils.intersects(d,new mxRectangle(c.x,c.y-2,c.width,3))&&this.model.getChildAt(f,0)!=n||mxUtils.intersects(d,\r\nnew mxRectangle(c.x,c.y+c.height-2,c.width,3)))e="row-resize";for(n=c;null==e&&null!=n&&(this.isTableCell(n.cell)||this.isTableRow(n.cell)||this.isTable(n.cell));){if(this.isSwimlane(n.cell)){var f=this.getActualStartSize(n.cell),p=this.view.scale;(0<f.x||0<f.width)&&mxUtils.intersects(d,new mxRectangle(n.x+(f.x-f.width-1)*p+(0==f.x?n.width*p:0),n.y,1,n.height))?e="col-resize":(0<f.y||0<f.height)&&mxUtils.intersects(d,new mxRectangle(n.x,n.y+(f.y-f.height-1)*p+(0==f.y?n.height:0),n.width,1))&&(e=\r\n"row-resize")}n=this.view.getState(this.model.getParent(n.cell))}}null!=e&&c.setCursor(e)}}),mouseUp:mxUtils.bind(this,function(a,b){l=h=g=k=null})})}this.cellRenderer.minSvgStrokeWidth=.1;this.cellRenderer.getLabelValue=function(a){var b=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);a.view.graph.isHtmlLabel(a.cell)&&(b=1!=a.style.html?mxUtils.htmlEntities(b,!1):a.view.graph.sanitizeHtml(b));return b};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0);this.setDropEnabled(!0);\r\nthis.setPanning(!0);this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(a,b){return!1};this.alternateEdgeStyle="vertical";null==b&&this.loadStylesheet();var n=this.graphHandler.getGuideStates;this.graphHandler.getGuideStates=\r\nfunction(){var a=n.apply(this,arguments);if(this.graph.pageVisible){for(var b=[],c=this.graph.pageFormat,d=this.graph.pageScale,e=c.width*d,c=c.height*d,d=this.graph.view.translate,f=this.graph.view.scale,g=this.graph.getPageLayout(),k=0;k<g.width;k++)b.push(new mxRectangle(((g.x+k)*e+d.x)*f,(g.y*c+d.y)*f,e*f,c*f));for(k=1;k<g.height;k++)b.push(new mxRectangle((g.x*e+d.x)*f,((g.y+k)*c+d.y)*f,e*f,c*f));a=b.concat(a)}return a};mxDragSource.prototype.dragElementZIndex=mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=\r\nfunction(a,b){return null==a.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=function(a){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var p=this.graphHandler.getCells;this.graphHandler.getCells=function(a){for(var b=p.apply(this,arguments),c=new mxDictionary,d=[],e=0;e<b.length;e++){var f=this.graph.isTableCell(a)&&this.graph.isTableCell(b[e])&&\r\nthis.graph.isCellSelected(b[e])?this.graph.model.getParent(b[e]):this.graph.isTableRow(a)&&this.graph.isTableRow(b[e])&&this.graph.isCellSelected(b[e])?b[e]:this.graph.getCompositeParent(b[e]);null==f||c.get(f)||(c.put(f,!0),d.push(f))}return d};var t=this.graphHandler.start;this.graphHandler.start=function(a,b,c,d){var e=!1;this.graph.isTableCell(a)&&(this.graph.isCellSelected(a)?e=!0:a=this.graph.model.getParent(a));e||this.graph.isTableRow(a)&&this.graph.isCellSelected(a)||(a=this.graph.getCompositeParent(a));\r\nt.apply(this,arguments)};this.connectionHandler.createTargetVertex=function(a,b){b=this.graph.getCompositeParent(b);return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};var r=new mxRubberband(this);this.getRubberband=function(){return r};var v=(new Date).getTime(),u=0,w=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var a=this.currentState;w.apply(this,arguments);a!=this.currentState?(v=(new Date).getTime(),u=0):u=(new Date).getTime()-v};var x=\r\nthis.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(a){return null!=this.currentState&&a.getState()==this.currentState&&2E3<u||(null==this.currentState||"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&x.apply(this,arguments)};var B=this.isToggleEvent;this.isToggleEvent=function(a){return B.apply(this,arguments)||!mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(a)};var E=r.isForceRubberbandEvent;r.isForceRubberbandEvent=function(a){return E.apply(this,\r\narguments)&&!mxEvent.isShiftDown(a.getEvent())&&!mxEvent.isControlDown(a.getEvent())||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(a.getEvent())||mxUtils.hasScrollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==a.getState()&&mxEvent.isTouchEvent(a.getEvent())};var G=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&(G=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,\r\nmxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=G)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(a){return mxEvent.isMouseEvent(a.getEvent())};var z=this.click;this.click=function(a){var b=null==a.state&&null!=a.sourceState&&this.isCellLocked(a.sourceState.cell);if(this.isEnabled()&&!b||a.isConsumed())return z.apply(this,arguments);var c=b?a.sourceState.cell:a.getCell();null!=c&&(c=this.getClickableLinkForCell(c),null!=c&&(this.isCustomLink(c)?\r\nthis.customLinkClicked(c):this.openLink(c)));this.isEnabled()&&b&&this.clearSelection()};this.tooltipHandler.getStateForEvent=function(a){return a.sourceState};var I=this.tooltipHandler.show;this.tooltipHandler.show=function(){I.apply(this,arguments);if(null!=this.div)for(var a=this.div.getElementsByTagName("a"),b=0;b<a.length;b++)null!=a[b].getAttribute("href")&&null==a[b].getAttribute("target")&&a[b].setAttribute("target","_blank")};this.tooltipHandler.getStateForEvent=function(a){return a.sourceState};\r\nthis.getCursorForMouseEvent=function(a){var b=null==a.state&&null!=a.sourceState&&this.isCellLocked(a.sourceState.cell);return this.getCursorForCell(b?a.sourceState.cell:a.getCell())};var y=this.getCursorForCell;this.getCursorForCell=function(a){if(!this.isEnabled()||this.isCellLocked(a)){if(null!=this.getClickableLinkForCell(a))return"pointer";if(this.isCellLocked(a))return"default"}return y.apply(this,arguments)};this.selectRegion=function(a,b){var c=this.getCells(a.x,a.y,a.width,a.height,null,\r\nnull,null,function(a){return"1"==mxUtils.getValue(a.style,"locked","0")},!0);this.selectCellsForEvent(c,b);return c};var H=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(a,b,c){return this.graph.isCellSelected(a)?!1:H.apply(this,arguments)};this.isCellLocked=function(a){for(;null!=a;){if("1"==mxUtils.getValue(this.getCurrentCellStyle(a),"locked","0"))return!0;a=this.model.getParent(a)}return!1};var L=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,\r\nmxUtils.bind(this,function(a,b){if("mouseDown"==b.getProperty("eventName")){var c=b.getProperty("event").getState();L=null==c||this.isSelectionEmpty()||this.isCellSelected(c.cell)?null:this.getSelectionCells()}}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(a,b){if(!mxEvent.isMultiTouchEvent(b)){var c=b.getProperty("event"),d=b.getProperty("cell");null==d?(c=mxUtils.convertPoint(this.container,mxEvent.getClientX(c),mxEvent.getClientY(c)),r.start(c.x,c.y)):null!=L?this.addSelectionCells(L):\r\n1<this.getSelectionCount()&&this.isCellSelected(d)&&this.removeSelectionCell(d);L=null;b.consume()}}));this.connectionHandler.selectCells=function(a,b){this.graph.setSelectionCell(b||a)};this.connectionHandler.constraintHandler.isStateIgnored=function(a,b){var c=a.view.graph;return b&&(c.isCellSelected(a.cell)||c.isTableRow(a.cell)&&c.selectionCellsHandler.isHandled(c.model.getParent(a.cell)))};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var a=this.connectionHandler.constraintHandler;\r\nnull!=a.currentFocus&&a.isStateIgnored(a.currentFocus,!0)&&(a.currentFocus=null,a.constraints=null,a.destroyIcons());a.destroyFocusHighlight()}));Graph.touchStyle&&this.initTouch();var O=this.updateMouseEvent;this.updateMouseEvent=function(a){a=O.apply(this,arguments);null!=a.state&&this.isCellLocked(a.getCell())&&(a.state=null);return a}}this.currentTranslate=new mxPoint(0,0)};\r\nGraph.touchStyle=mxClient.IS_TOUCH||mxClient.IS_FF&&mxClient.IS_WIN||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints||null==window.urlParams||"1"==urlParams.touch;Graph.fileSupport=null!=window.File&&null!=window.FileReader&&null!=window.FileList&&(null==window.urlParams||"0"!=urlParams.filesupport);Graph.translateDiagram="1"==urlParams["translate-diagram"];Graph.diagramLanguage=null!=urlParams["diagram-language"]?urlParams["diagram-language"]:mxClient.language;Graph.lineJumpsEnabled=!0;\r\nGraph.defaultJumpSize=6;Graph.minTableColumnWidth=20;Graph.minTableRowHeight=20;Graph.foreignObjectWarningText="Viewer does not support full SVG 1.1";Graph.foreignObjectWarningLink="https://www.diagrams.net/doc/faq/svg-export-text-problems";Graph.pasteStyles="rounded shadow dashed dashPattern fontFamily fontSource fontSize fontColor fontStyle align verticalAlign strokeColor strokeWidth fillColor gradientColor swimlaneFillColor textOpacity gradientDirection glass labelBackgroundColor labelBorderColor opacity spacing spacingTop spacingLeft spacingBottom spacingRight endFill endArrow endSize targetPerimeterSpacing startFill startArrow startSize sourcePerimeterSpacing arcSize comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification comicStyle".split(" ");\r\nGraph.createSvgImage=function(a,c,d,b,f){d=unescape(encodeURIComponent(\'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="\'+a+\'px" height="\'+c+\'px" \'+(null!=b&&null!=f?\'viewBox="0 0 \'+b+" "+f+\'" \':"")+\'version="1.1">\'+d+"</svg>"));return new mxImage("data:image/svg+xml;base64,"+(window.btoa?btoa(d):Base64.encode(d,!0)),a,c)};\r\nGraph.zapGremlins=function(a){for(var c=0,d=[],b=0;b<a.length;b++){var f=a.charCodeAt(b);(32<=f||9==f||10==f||13==f)&&65535!=f&&65534!=f||(d.push(a.substring(c,b)),c=b+1)}0<c&&c<a.length&&d.push(a.substring(c));return 0==d.length?a:d.join("")};Graph.stringToBytes=function(a){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]=a.charCodeAt(d);return c};Graph.bytesToString=function(a){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]=String.fromCharCode(a[d]);return c.join("")};\r\nGraph.base64EncodeUnicode=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(a,d){return String.fromCharCode(parseInt(d,16))}))};Graph.base64DecodeUnicode=function(a){return decodeURIComponent(Array.prototype.map.call(atob(a),function(a){return"%"+("00"+a.charCodeAt(0).toString(16)).slice(-2)}).join(""))};Graph.compressNode=function(a,c){var d=mxUtils.getXml(a);return Graph.compress(c?d:Graph.zapGremlins(d))};\r\nGraph.arrayBufferToString=function(a){var c="";a=new Uint8Array(a);for(var d=a.byteLength,b=0;b<d;b++)c+=String.fromCharCode(a[b]);return c};Graph.stringToArrayBuffer=function(a){return Uint8Array.from(a,function(a){return a.charCodeAt(0)})};\r\nGraph.arrayBufferIndexOfString=function(a,c,d){var b=c.charCodeAt(0),f=1,e=-1;for(d=d||0;d<a.byteLength;d++)if(a[d]==b){e=d;break}for(d=e+1;-1<e&&d<a.byteLength&&d<e+c.length-1;d++){if(a[d]!=c.charCodeAt(f))return Graph.arrayBufferIndexOfString(a,c,e+1);f++}return f==c.length-1?e:-1};Graph.compress=function(a,c){if(null==a||0==a.length||"undefined"===typeof pako)return a;var d=c?pako.deflate(encodeURIComponent(a)):pako.deflateRaw(encodeURIComponent(a));return btoa(Graph.arrayBufferToString(new Uint8Array(d)))};\r\nGraph.decompress=function(a,c,d){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=Graph.stringToArrayBuffer(atob(a));c=decodeURIComponent(c?pako.inflate(a,{to:"string"}):pako.inflateRaw(a,{to:"string"}));return d?c:Graph.zapGremlins(c)};Graph.removePasteFormatting=function(a){for(;null!=a;)null!=a.firstChild&&Graph.removePasteFormatting(a.firstChild),a.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=a.style&&(a.style.whiteSpace="","#000000"==a.style.color&&(a.style.color="")),a=a.nextSibling};\r\nGraph.sanitizeHtml=function(a,c){return html_sanitize(a,function(a){return null!=a&&"javascript:"!==a.toString().toLowerCase().substring(0,11)?a:null},function(a){return a})};Graph.sanitizeSvg=function(a){for(var c=a.getElementsByTagName("*"),d=0;d<c.length;d++)for(var b=0;b<c[d].attributes.length;b++){var f=c[d].attributes[b];2<f.name.length&&"on"==f.name.toLowerCase().substring(0,2)&&c[d].removeAttribute(f.name)}for(a=a.getElementsByTagName("script");0<a.length;)a[0].parentNode.removeChild(a[0])};\r\nGraph.clipSvgDataUri=function(a){if(!mxClient.IS_IE&&!mxClient.IS_IE11&&null!=a&&"data:image/svg+xml;base64,"==a.substring(0,26))try{var c=document.createElement("div");c.style.position="absolute";c.style.visibility="hidden";var d=decodeURIComponent(escape(atob(a.substring(26)))),b=d.indexOf("<svg");if(0<=b){c.innerHTML=d.substring(b);Graph.sanitizeSvg(c);var f=c.getElementsByTagName("svg");if(0<f.length){document.body.appendChild(c);try{var e=f[0].getBBox();0<e.width&&0<e.height&&(c.getElementsByTagName("svg")[0].setAttribute("viewBox",\r\ne.x+" "+e.y+" "+e.width+" "+e.height),c.getElementsByTagName("svg")[0].setAttribute("width",e.width),c.getElementsByTagName("svg")[0].setAttribute("height",e.height))}catch(h){}finally{document.body.removeChild(c)}a=Editor.createSvgDataUri(mxUtils.getXml(f[0]))}}}catch(h){}return a};\r\nGraph.stripQuotes=function(a){null!=a&&("\'"==a.charAt(0)&&(a=a.substring(1)),"\'"==a.charAt(a.length-1)&&(a=a.substring(0,a.length-1)),\'"\'==a.charAt(0)&&(a=a.substring(1)),\'"\'==a.charAt(a.length-1)&&(a=a.substring(0,a.length-1)));return a};Graph.isLink=function(a){return null!=a&&Graph.linkPattern.test(a)};Graph.linkPattern=/^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$/i;mxUtils.extend(Graph,mxGraph);\r\nGraph.prototype.minFitScale=null;Graph.prototype.maxFitScale=null;Graph.prototype.linkPolicy="frame"==urlParams.target?"blank":urlParams.target||"auto";Graph.prototype.linkTarget="frame"==urlParams.target?"_self":"_blank";Graph.prototype.linkRelation="nofollow noopener noreferrer";Graph.prototype.defaultScrollbars=!mxClient.IS_IOS;Graph.prototype.defaultPageVisible=!0;Graph.prototype.defaultGridEnabled=!0;Graph.prototype.lightbox=!1;Graph.prototype.defaultPageBackgroundColor="#ffffff";\r\nGraph.prototype.defaultPageBorderColor="#ffffff";Graph.prototype.scrollTileSize=new mxRectangle(0,0,400,400);Graph.prototype.transparentBackground=!0;Graph.prototype.selectParentAfterDelete=!1;Graph.prototype.defaultEdgeLength=80;Graph.prototype.edgeMode=!1;Graph.prototype.connectionArrowsEnabled=!0;Graph.prototype.placeholderPattern=RegExp("%(date{.*}|[^%^{^}]+)%","g");Graph.prototype.absoluteUrlPattern=/^(?:[a-z]+:)?\\/\\//i;Graph.prototype.defaultThemeName="default";\r\nGraph.prototype.defaultThemes={};Graph.prototype.baseUrl=null!=urlParams.base?decodeURIComponent(urlParams.base):(window!=window.top?document.referrer:document.location.toString()).split("#")[0];Graph.prototype.editAfterInsert=!1;Graph.prototype.builtInProperties=["label","tooltip","placeholders","placeholder"];Graph.prototype.standalone=!1;Graph.prototype.enableFlowAnimation=!1;\r\nGraph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(a,b){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var c=a.view.graph.tolerance,d=!0,h=null,g=mxUtils.bind(this,function(a){d=!0;h=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a))}),k=mxUtils.bind(this,function(a){d=d&&null!=h&&Math.abs(h.x-mxEvent.getClientX(a))<c&&Math.abs(h.y-mxEvent.getClientY(a))<c}),l=mxUtils.bind(this,function(c){if(d)for(var e=mxEvent.getSource(c);null!=\r\ne&&e!=b.node;){if("a"==e.nodeName.toLowerCase()){a.view.graph.labelLinkClicked(a,e,c);break}e=e.parentNode}});mxEvent.addGestureListeners(b.node,g,k,l);mxEvent.addListener(b.node,"click",function(a){mxEvent.consume(a)})};if(null!=this.tooltipHandler){var c=this.tooltipHandler.init;this.tooltipHandler.init=function(){c.apply(this,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(a){var b=mxEvent.getSource(a);"A"==b.nodeName&&(b=b.getAttribute("href"),null!=\r\nb&&this.graph.isCustomLink(b)&&(mxEvent.isTouchEvent(a)||!mxEvent.isPopupTrigger(a))&&this.graph.customLinkClicked(b)&&mxEvent.consume(a))}))}}this.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){if(null!=this.container&&this.flowAnimationStyle){var c=this.flowAnimationStyle.getAttribute("id");this.flowAnimationStyle.innerHTML=this.getFlowAnimationStyleCss(c)}}));this.initLayoutManager()};\r\n(function(){Graph.prototype.useCssTransforms=!1;Graph.prototype.currentScale=1;Graph.prototype.currentTranslate=new mxPoint(0,0);Graph.prototype.getVerticesAndEdges=function(a,b){a=null!=a?a:!0;b=null!=b?b:!0;var c=this.model;return c.filterDescendants(function(d){return a&&c.isVertex(d)||b&&c.isEdge(d)},c.getRoot())};Graph.prototype.getCommonStyle=function(a){for(var b={},c=0;c<a.length;c++){var d=this.view.getState(a[c]);this.mergeStyle(d.style,b,0==c)}return b};Graph.prototype.mergeStyle=function(a,\r\nb,c){if(null!=a){var d={},e;for(e in a){var f=a[e];null!=f&&(d[e]=!0,null==b[e]&&c?b[e]=f:b[e]!=f&&delete b[e])}for(e in b)d[e]||delete b[e]}};Graph.prototype.getStartEditingCell=function(a,b){var c=this.getCellStyle(a),c=parseInt(mxUtils.getValue(c,mxConstants.STYLE_STARTSIZE,0));this.isTable(a)&&(!this.isSwimlane(a)||0==c)&&""==this.getLabel(a)&&0<this.model.getChildCount(a)&&(a=this.model.getChildAt(a,0),c=this.getCellStyle(a),c=parseInt(mxUtils.getValue(c,mxConstants.STYLE_STARTSIZE,0)));if(this.isTableRow(a)&&\r\n(!this.isSwimlane(a)||0==c)&&""==this.getLabel(a)&&0<this.model.getChildCount(a))for(c=0;c<this.model.getChildCount(a);c++){var d=this.model.getChildAt(a,c);if(this.isCellEditable(d)){a=d;break}}return a};Graph.prototype.copyStyle=function(a){var b=null;if(null!=a){b=mxUtils.clone(this.getCurrentCellStyle(a));a=this.model.getStyle(a);a=null!=a?a.split(";"):[];for(var c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");if(0<=e){var f=d.substring(0,e),d=d.substring(e+1);null==b[f]&&d==mxConstants.NONE&&\r\n(b[f]=mxConstants.NONE)}}}return b};Graph.prototype.pasteStyle=function(a,b,c){c=null!=c?c:Graph.pasteStyles;this.model.beginUpdate();try{for(var d=0;d<b.length;d++)for(var e=this.getCurrentCellStyle(b[d]),f=0;f<c.length;f++){var g=e[c[f]],h=a[c[f]];g==h||null==g&&h==mxConstants.NONE||this.setCellStyles(c[f],h,[b[d]])}}finally{this.model.endUpdate()}};Graph.prototype.isFastZoomEnabled=function(){return"nocss"!=urlParams.zoom&&!mxClient.NO_FO&&!mxClient.IS_EDGE&&!this.useCssTransforms&&(this.isCssTransformsSupported()||\r\nmxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO&&(!this.lightbox||!mxClient.IS_SF)};Graph.prototype.getCellAt=function(a,b,c,d,f,m){this.useCssTransforms&&(a=a/this.currentScale-this.currentTranslate.x,b=b/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=function(a,b,c,d,f,m){d=null!=d?d:!0;f=null!=f?f:!0;null==c&&(c=this.getCurrentRoot(),\r\nnull==c&&(c=this.getModel().getRoot()));if(null!=c)for(var e=this.model.getChildCount(c)-1;0<=e;e--){var g=this.model.getChildAt(c,e),k=this.getScaledCellAt(a,b,g,d,f,m);if(null!=k)return k;if(this.isCellVisible(g)&&(f&&this.model.isEdge(g)||d&&this.model.isVertex(g))&&(k=this.view.getState(g),null!=k&&(null==m||!m(k,a,b))&&this.intersects(k,a,b)))return g}return null};Graph.prototype.isRecursiveVertexResize=function(a){return!this.isSwimlane(a.cell)&&0<this.model.getChildCount(a.cell)&&!this.isCellCollapsed(a.cell)&&\r\n"1"==mxUtils.getValue(a.style,"recursiveResize","1")&&null==mxUtils.getValue(a.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(a){for(var b=this.getCellGeometry(a);null!=b&&b.relative;)a=this.getModel().getParent(a),b=this.getCellGeometry(cellToClone);return a};Graph.prototype.isPart=function(a){return"1"==mxUtils.getValue(this.getCurrentCellStyle(a),"part","0")||this.isTableCell(a)||this.isTableRow(a)};Graph.prototype.getCompositeParent=function(a){for(;this.isPart(a);){var b=\r\nthis.model.getParent(a);if(!this.model.isVertex(b))break;a=b}return a};Graph.prototype.filterSelectionCells=function(a){var b=this.getSelectionCells();if(null!=a){for(var c=[],d=0;d<b.length;d++)a(b[d])||c.push(b[d]);b=c}return b};mxCellHighlight.prototype.getStrokeWidth=function(a){a=this.strokeWidth;this.graph.useCssTransforms&&(a/=this.graph.currentScale);return a};mxGraphView.prototype.getGraphBounds=function(){var a=this.graphBounds;if(this.graph.useCssTransforms)var b=this.graph.currentTranslate,\r\nc=this.graph.currentScale,a=new mxRectangle((a.x+b.x)*c,(a.y+b.y)*c,a.width*c,a.height*c);return a};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?this.validate():this.revalidate();this.graph.sizeDidChange()};var a=mxGraphView.prototype.validate;mxGraphView.prototype.validate=function(b){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=\r\n0,this.translate.y=0);a.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,this.translate.y=this.graph.currentTranslate.y)};var c=mxGraph.prototype.getCellsForGroup;Graph.prototype.getCellsForGroup=function(a){a=c.apply(this,arguments);for(var b=[],d=0;d<a.length;d++)this.isTableRow(a[d])||this.isTableCell(a[d])||b.push(a[d]);return b};var d=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsForUngroup=\r\nfunction(a){a=d.apply(this,arguments);for(var b=[],c=0;c<a.length;c++)this.isTable(a[c])||this.isTableRow(a[c])||this.isTableCell(a[c])||b.push(a[c]);return b};Graph.prototype.updateCssTransform=function(){var a=this.view.getDrawPane();if(null!=a)if(a=a.parentNode,this.useCssTransforms){var b=a.getAttribute("transform");a.setAttribute("transformOrigin","0 0");var c=Math.round(100*this.currentScale)/100;a.setAttribute("transform","scale("+c+","+c+")translate("+Math.round(100*this.currentTranslate.x)/\r\n100+","+Math.round(100*this.currentTranslate.y)/100+")");b!=a.getAttribute("transform")&&this.fireEvent(new mxEventObject("cssTransformChanged"),"transform",a.getAttribute("transform"))}else a.removeAttribute("transformOrigin"),a.removeAttribute("transform")};var b=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var a=this.graph.useCssTransforms,c=this.scale,d=this.translate;a&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);\r\nb.apply(this,arguments);a&&(this.scale=c,this.translate=d)};var f=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(a,b,c){var d=this.useCssTransforms,e=this.view.scale,g=this.view.translate;d&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);f.apply(this,arguments);d&&(this.view.scale=e,this.view.translate=g,this.useCssTransforms=!0)}})();Graph.prototype.isLightboxView=function(){return this.lightbox};Graph.prototype.isViewer=function(){return!1};\r\nGraph.prototype.labelLinkClicked=function(a,c,d){c=c.getAttribute("href");if(null!=c&&!this.isCustomLink(c)&&(mxEvent.isLeftMouseButton(d)&&!mxEvent.isPopupTrigger(d)||mxEvent.isTouchEvent(d))){if(!this.isEnabled()||this.isCellLocked(a.cell))a=this.isBlankLink(c)?this.linkTarget:"_top",this.openLink(this.getAbsoluteUrl(c),a);mxEvent.consume(d)}};\r\nGraph.prototype.openLink=function(a,c,d){var b=window;try{if("_self"==c&&window!=window.top)window.location.href=a;else if(a.substring(0,this.baseUrl.length)==this.baseUrl&&"#"==a.charAt(this.baseUrl.length)&&"_top"==c&&window==window.top){var f=a.split("#")[1];window.location.hash=="#"+f&&(window.location.hash="");window.location.hash=f}else b=window.open(a,null!=c?c:"_blank"),null==b||d||(b.opener=null)}catch(e){}return b};\r\nGraph.prototype.getLinkTitle=function(a){return a.substring(a.lastIndexOf("/")+1)};Graph.prototype.isCustomLink=function(a){return"data:"==a.substring(0,5)};Graph.prototype.customLinkClicked=function(a){return!1};Graph.prototype.isExternalProtocol=function(a){return"mailto:"===a.substring(0,7)};Graph.prototype.isBlankLink=function(a){return!this.isExternalProtocol(a)&&("blank"===this.linkPolicy||"self"!==this.linkPolicy&&!this.isRelativeUrl(a)&&a.substring(0,this.domainUrl.length)!==this.domainUrl)};\r\nGraph.prototype.isRelativeUrl=function(a){return null!=a&&!this.absoluteUrlPattern.test(a)&&"data:"!==a.substring(0,5)&&!this.isExternalProtocol(a)};Graph.prototype.getAbsoluteUrl=function(a){null!=a&&this.isRelativeUrl(a)&&(a="#"==a.charAt(0)?this.baseUrl+a:"/"==a.charAt(0)?this.domainUrl+a:this.domainPathUrl+a);return a};\r\nGraph.prototype.initLayoutManager=function(){this.layoutManager=new mxLayoutManager(this);this.layoutManager.hasLayout=function(a,c){return null!=this.graph.getCellStyle(a).childLayout};this.layoutManager.getLayout=function(a,c){var d=this.graph.model.getParent(a);if(c!=mxEvent.BEGIN_UPDATE||this.hasLayout(d,c)){d=this.graph.getCellStyle(a);if("stackLayout"==d.childLayout){var b=new mxStackLayout(this.graph,!0);b.resizeParentMax="1"==mxUtils.getValue(d,"resizeParentMax","1");b.horizontal="1"==mxUtils.getValue(d,\r\n"horizontalStack","1");b.resizeParent="1"==mxUtils.getValue(d,"resizeParent","1");b.resizeLast="1"==mxUtils.getValue(d,"resizeLast","0");b.spacing=d.stackSpacing||b.spacing;b.border=d.stackBorder||b.border;b.marginLeft=d.marginLeft||0;b.marginRight=d.marginRight||0;b.marginTop=d.marginTop||0;b.marginBottom=d.marginBottom||0;b.allowGaps=d.allowGaps||0;b.fill=!0;b.allowGaps&&(b.gridSize=parseFloat(mxUtils.getValue(d,"stackUnitSize",20)));return b}if("treeLayout"==d.childLayout)return b=new mxCompactTreeLayout(this.graph),\r\nb.horizontal="1"==mxUtils.getValue(d,"horizontalTree","1"),b.resizeParent="1"==mxUtils.getValue(d,"resizeParent","1"),b.groupPadding=mxUtils.getValue(d,"parentPadding",20),b.levelDistance=mxUtils.getValue(d,"treeLevelDistance",30),b.maintainParentLocation=!0,b.edgeRouting=!1,b.resetEdges=!1,b;if("flowLayout"==d.childLayout)return b=new mxHierarchicalLayout(this.graph,mxUtils.getValue(d,"flowOrientation",mxConstants.DIRECTION_EAST)),b.resizeParent="1"==mxUtils.getValue(d,"resizeParent","1"),b.parentBorder=\r\nmxUtils.getValue(d,"parentPadding",20),b.maintainParentLocation=!0,b.intraCellSpacing=mxUtils.getValue(d,"intraCellSpacing",mxHierarchicalLayout.prototype.intraCellSpacing),b.interRankCellSpacing=mxUtils.getValue(d,"interRankCellSpacing",mxHierarchicalLayout.prototype.interRankCellSpacing),b.interHierarchySpacing=mxUtils.getValue(d,"interHierarchySpacing",mxHierarchicalLayout.prototype.interHierarchySpacing),b.parallelEdgeSpacing=mxUtils.getValue(d,"parallelEdgeSpacing",mxHierarchicalLayout.prototype.parallelEdgeSpacing),\r\nb;if("circleLayout"==d.childLayout)return new mxCircleLayout(this.graph);if("organicLayout"==d.childLayout)return new mxFastOrganicLayout(this.graph);if("tableLayout"==d.childLayout)return new TableLayout(this.graph)}return null}};Graph.prototype.getPageSize=function(){return this.pageVisible?new mxRectangle(0,0,this.pageFormat.width*this.pageScale,this.pageFormat.height*this.pageScale):this.scrollTileSize};\r\nGraph.prototype.getPageLayout=function(){var a=this.getPageSize(),c=this.getGraphBounds();if(0==c.width||0==c.height)return new mxRectangle(0,0,1,1);var d=Math.floor(Math.ceil(c.x/this.view.scale-this.view.translate.x)/a.width),b=Math.floor(Math.ceil(c.y/this.view.scale-this.view.translate.y)/a.height);return new mxRectangle(d,b,Math.ceil((Math.floor((c.x+c.width)/this.view.scale)-this.view.translate.x)/a.width)-d,Math.ceil((Math.floor((c.y+c.height)/this.view.scale)-this.view.translate.y)/a.height)-\r\nb)};Graph.prototype.sanitizeHtml=function(a,c){return Graph.sanitizeHtml(a,c)};Graph.prototype.updatePlaceholders=function(){var a=!1,c;for(c in this.model.cells){var d=this.model.cells[c];this.isReplacePlaceholders(d)&&(this.view.invalidate(d,!1,!1),a=!0)}a&&this.view.validate()};Graph.prototype.isReplacePlaceholders=function(a){return null!=a.value&&"object"==typeof a.value&&"1"==a.value.getAttribute("placeholders")};Graph.prototype.isZoomWheelEvent=function(a){return mxEvent.isAltDown(a)||mxEvent.isControlDown(a)};\r\nGraph.prototype.isScrollWheelEvent=function(a){return!this.isZoomWheelEvent(a)};Graph.prototype.isTransparentClickEvent=function(a){return mxEvent.isAltDown(a)||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(a)};Graph.prototype.isIgnoreTerminalEvent=function(a){return mxEvent.isShiftDown(a)&&(mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a))};Graph.prototype.isEdgeIgnored=function(a){var c=!1;null!=a&&(a=this.getCurrentCellStyle(a),c="1"==mxUtils.getValue(a,"ignoreEdge","0"));return c};\r\nGraph.prototype.isSplitTarget=function(a,c,d){return!this.model.isEdge(c[0])&&!mxEvent.isAltDown(d)&&!mxEvent.isShiftDown(d)&&mxGraph.prototype.isSplitTarget.apply(this,arguments)};Graph.prototype.getLabel=function(a){var c=mxGraph.prototype.getLabel.apply(this,arguments);null!=c&&this.isReplacePlaceholders(a)&&null==a.getAttribute("placeholder")&&(c=this.replacePlaceholders(a,c));return c};\r\nGraph.prototype.isLabelMovable=function(a){var c=this.getCurrentCellStyle(a);return!this.isCellLocked(a)&&(this.model.isEdge(a)&&this.edgeLabelsMovable||this.model.isVertex(a)&&(this.vertexLabelsMovable||"1"==mxUtils.getValue(c,"labelMovable","0")))};Graph.prototype.setGridSize=function(a){this.gridSize=a;this.fireEvent(new mxEventObject("gridSizeChanged"))};Graph.prototype.setDefaultParent=function(a){this.defaultParent=a;this.fireEvent(new mxEventObject("defaultParentChanged"))};\r\nGraph.prototype.getClickableLinkForCell=function(a){do{var c=this.getLinkForCell(a);if(null!=c)return c;a=this.model.getParent(a)}while(null!=a);return null};Graph.prototype.getGlobalVariable=function(a){var c=null;"date"==a?c=(new Date).toLocaleDateString():"time"==a?c=(new Date).toLocaleTimeString():"timestamp"==a?c=(new Date).toLocaleString():"date{"==a.substring(0,5)&&(a=a.substring(5,a.length-1),c=this.formatDate(new Date,a));return c};\r\nGraph.prototype.formatDate=function(a,c,d){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",\r\nshortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd\'T\'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd\'T\'HH:MM:ss\'Z\'"}});var b=this.dateFormatCache,f=/\\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\\d{4})?)\\b/g,e=/[^-+\\dA-Z]/g,h=function(a,b){a=String(a);for(b=b||2;a.length<b;)a="0"+a;return a};1!=arguments.length||"[object String]"!=Object.prototype.toString.call(a)||\r\n/\\d/.test(a)||(c=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");c=String(b.masks[c]||c||b.masks["default"]);"UTC:"==c.slice(0,4)&&(c=c.slice(4),d=!0);var g=d?"getUTC":"get",k=a[g+"Date"](),l=a[g+"Day"](),m=a[g+"Month"](),n=a[g+"FullYear"](),p=a[g+"Hours"](),t=a[g+"Minutes"](),r=a[g+"Seconds"](),g=a[g+"Milliseconds"](),v=d?0:a.getTimezoneOffset(),u={d:k,dd:h(k),ddd:b.i18n.dayNames[l],dddd:b.i18n.dayNames[l+7],m:m+1,mm:h(m+1),mmm:b.i18n.monthNames[m],mmmm:b.i18n.monthNames[m+\r\n12],yy:String(n).slice(2),yyyy:n,h:p%12||12,hh:h(p%12||12),H:p,HH:h(p),M:t,MM:h(t),s:r,ss:h(r),l:h(g,3),L:h(99<g?Math.round(g/10):g),t:12>p?"a":"p",tt:12>p?"am":"pm",T:12>p?"A":"P",TT:12>p?"AM":"PM",Z:d?"UTC":(String(a).match(f)||[""]).pop().replace(e,""),o:(0<v?"-":"+")+h(100*Math.floor(Math.abs(v)/60)+Math.abs(v)%60,4),S:["th","st","nd","rd"][3<k%10?0:(10!=k%100-k%10)*k%10]};return c.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\\1?|[LloSZ]|"[^"]*"|\'[^\']*\'/g,function(a){return a in u?u[a]:a.slice(1,\r\na.length-1)})};Graph.prototype.getLayerForCells=function(a){var c=null;if(0<a.length){for(c=a[0];!this.model.isLayer(c);)c=this.model.getParent(c);for(var d=1;d<a.length;d++)if(!this.model.isAncestor(c,a[d])){c=null;break}}return c};\r\nGraph.prototype.createLayersDialog=function(a){var c=document.createElement("div");c.style.position="absolute";for(var d=this.getModel(),b=d.getChildCount(d.root),f=0;f<b;f++)mxUtils.bind(this,function(b){var e=document.createElement("div");e.style.overflow="hidden";e.style.textOverflow="ellipsis";e.style.padding="2px";e.style.whiteSpace="nowrap";var f=document.createElement("input");f.style.display="inline-block";f.setAttribute("type","checkbox");d.isVisible(b)&&(f.setAttribute("checked","checked"),\r\nf.defaultChecked=!0);e.appendChild(f);var k=this.convertValueToString(b)||mxResources.get("background")||"Background";e.setAttribute("title",k);mxUtils.write(e,k);c.appendChild(e);mxEvent.addListener(f,"click",function(){null!=f.getAttribute("checked")?f.removeAttribute("checked"):f.setAttribute("checked","checked");d.setVisible(b,f.checked);null!=a&&a(b)})})(d.getChildAt(d.root,f));return c};\r\nGraph.prototype.replacePlaceholders=function(a,c,d,b){b=[];if(null!=c){for(var f=0;match=this.placeholderPattern.exec(c);){var e=match[0];if(2<e.length&&"%label%"!=e&&"%tooltip%"!=e){var h=null;if(match.index>f&&"%"==c.charAt(match.index-1))h=e.substring(1);else{var g=e.substring(1,e.length-1);if("id"==g)h=a.id;else if(0>g.indexOf("{"))for(var k=a;null==h&&null!=k;)null!=k.value&&"object"==typeof k.value&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(h=k.getAttribute(g+"_"+Graph.diagramLanguage)),\r\nnull==h&&(h=k.hasAttribute(g)?null!=k.getAttribute(g)?k.getAttribute(g):"":null)),k=this.model.getParent(k);null==h&&(h=this.getGlobalVariable(g));null==h&&null!=d&&(h=d[g])}b.push(c.substring(f,match.index)+(null!=h?h:e));f=match.index+e.length}}b.push(c.substring(f))}return b.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var c=[],d=0;d<a.length;d++){var b=this.model.getCell(a[d].id);null!=b&&c.push(b)}this.setSelectionCells(c)}else this.clearSelection()};\r\nGraph.prototype.selectCellsForConnectVertex=function(a,c,d){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),this.scrollCellToVisible(a[1]),null!=d&&(mxEvent.isTouchEvent(c)?d.update(d.getState(this.view.getState(a[1]))):d.reset())):this.setSelectionCells(a)};Graph.prototype.isCloneConnectSource=function(a){var c=null;null!=this.layoutManager&&(c=this.layoutManager.getLayout(this.model.getParent(a)));return this.isTableRow(a)||this.isTableCell(a)||null!=c&&c.constructor==mxStackLayout};\r\nGraph.prototype.connectVertex=function(a,c,d,b,f,e,h,g){e=e?e:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry.relative&&this.model.isVertex(a.parent);)a=a.parent;var k=this.isCloneConnectSource(a),l=k?a:this.getCompositeParent(a),m=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(l.geometry.x,l.geometry.y);c==mxConstants.DIRECTION_NORTH?(m.x+=l.geometry.width/2,m.y-=d):c==\r\nmxConstants.DIRECTION_SOUTH?(m.x+=l.geometry.width/2,m.y+=l.geometry.height+d):(m.x=c==mxConstants.DIRECTION_WEST?m.x-d:m.x+(l.geometry.width+d),m.y+=l.geometry.height/2);var n=this.view.getState(this.model.getParent(a));d=this.view.scale;var p=this.view.translate,l=p.x*d,p=p.y*d;null!=n&&this.model.isVertex(n.cell)&&(l=n.x,p=n.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(m.x+=a.parent.geometry.x,m.y+=a.parent.geometry.y);e=e?null:(new mxRectangle(l+m.x*d,p+m.y*d)).grow(40*d);e=null!=e?\r\nthis.getCells(0,0,0,0,null,null,e,null,!0):null;var n=this.view.getState(a),t=null,r=null;if(null!=e){e=e.reverse();for(var v=0;v<e.length;v++)if(!this.isCellLocked(e[v])&&!this.model.isEdge(e[v])&&e[v]!=a)if(!this.model.isAncestor(a,e[v])&&this.isContainer(e[v])&&(null==t||e[v]==this.model.getParent(a)))t=e[v];else if(null==r&&this.isCellConnectable(e[v])&&!this.model.isAncestor(e[v],a)&&!this.isSwimlane(e[v])){var u=this.view.getState(e[v]);null==n||null==u||mxUtils.intersects(n,u)||(r=e[v])}}var w=\r\n!mxEvent.isShiftDown(b)||mxEvent.isControlDown(b)||f;w&&("1"!=urlParams.sketch||f)&&(c==mxConstants.DIRECTION_NORTH?m.y-=a.geometry.height/2:c==mxConstants.DIRECTION_SOUTH?m.y+=a.geometry.height/2:m.x=c==mxConstants.DIRECTION_WEST?m.x-a.geometry.width/2:m.x+a.geometry.width/2);var x=[],B=r,r=t;f=mxUtils.bind(this,function(d){if(null==h||null!=d||null==r&&k){this.model.beginUpdate();try{if(null==B&&w){var e=this.getAbsoluteParent(null!=d?d:a),e=k?a:this.getCompositeParent(e);B=null!=d?d:this.duplicateCells([e],\r\n!1)[0];null!=d&&this.addCells([B],this.model.getParent(a),null,null,null,!0);var f=this.getCellGeometry(B);null!=f&&(null!=d&&"1"==urlParams.sketch&&(c==mxConstants.DIRECTION_NORTH?m.y-=f.height/2:c==mxConstants.DIRECTION_SOUTH?m.y+=f.height/2:m.x=c==mxConstants.DIRECTION_WEST?m.x-f.width/2:m.x+f.width/2),f.x=m.x-f.width/2,f.y=m.y-f.height/2);null!=t?(this.addCells([B],t,null,null,null,!0),r=null):w&&!k&&this.addCells([B],this.getDefaultParent(),null,null,null,!0)}var l=mxEvent.isControlDown(b)&&\r\nmxEvent.isShiftDown(b)&&w||null==r&&k?null:this.insertEdge(this.model.getParent(a),null,"",a,B,this.createCurrentEdgeStyle());if(null!=l&&this.connectionHandler.insertBeforeSource){var n=null;for(d=a;null!=d.parent&&null!=d.geometry&&d.geometry.relative&&d.parent!=l.parent;)d=this.model.getParent(d);null!=d&&null!=d.parent&&d.parent==l.parent&&(n=d.parent.getIndex(d),this.model.add(d.parent,l,n))}null==r&&null!=B&&null!=a.parent&&k&&c==mxConstants.DIRECTION_WEST&&(n=a.parent.getIndex(a),this.model.add(a.parent,\r\nB,n));null!=l&&x.push(l);null==r&&null!=B&&x.push(B);null==B&&null!=l&&l.geometry.setTerminalPoint(m,!1);null!=l&&this.fireEvent(new mxEventObject("cellsInserted","cells",[l]))}finally{this.model.endUpdate()}}if(null!=g)g(x);else return x});if(null==h||null!=B||!w||null==r&&k)return f(B);h(l+m.x*d,p+m.y*d,f)};\r\nGraph.prototype.getIndexableText=function(){var a=document.createElement("div"),c=[],d,b;for(b in this.model.cells)if(d=this.model.cells[b],this.model.isVertex(d)||this.model.isEdge(d))this.isHtmlLabel(d)?(a.innerHTML=this.sanitizeHtml(this.getLabel(d)),d=mxUtils.extractTextWithWhitespace([a])):d=this.getLabel(d),d=mxUtils.trim(d.replace(/[\\x00-\\x1F\\x7F-\\x9F]|\\s+/g," ")),0<d.length&&c.push(d);return c.join(" ")};\r\nGraph.prototype.convertValueToString=function(a){var c=this.model.getValue(a);if(null!=c&&"object"==typeof c){var d=null;if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder"))for(var c=a.getAttribute("placeholder"),b=a;null==d&&null!=b;)null!=b.value&&"object"==typeof b.value&&(d=b.hasAttribute(c)?null!=b.getAttribute(c)?b.getAttribute(c):"":null),b=this.model.getParent(b);else d=null,Graph.translateDiagram&&null!=Graph.diagramLanguage&&(d=c.getAttribute("label_"+Graph.diagramLanguage)),\r\nnull==d&&(d=c.getAttribute("label")||"");return d||""}return mxGraph.prototype.convertValueToString.apply(this,arguments)};Graph.prototype.getLinksForState=function(a){return null!=a&&null!=a.text&&null!=a.text.node?a.text.node.getElementsByTagName("a"):null};Graph.prototype.getLinkForCell=function(a){return null!=a.value&&"object"==typeof a.value?(a=a.value.getAttribute("link"),null!=a&&"javascript:"===a.toLowerCase().substring(0,11)&&(a=a.substring(11)),a):null};\r\nGraph.prototype.getLinkTargetForCell=function(a){return null!=a.value&&"object"==typeof a.value?a.value.getAttribute("linkTarget"):null};Graph.prototype.getCellStyle=function(a){var c=mxGraph.prototype.getCellStyle.apply(this,arguments);if(null!=a&&null!=this.layoutManager){var d=this.model.getParent(a);this.model.isVertex(d)&&this.isCellCollapsed(a)&&(d=this.layoutManager.getLayout(d),null!=d&&d.constructor==mxStackLayout&&(c[mxConstants.STYLE_HORIZONTAL]=!d.horizontal))}return c};\r\nGraph.prototype.updateAlternateBounds=function(a,c,d){if(null!=a&&null!=c&&null!=this.layoutManager&&null!=c.alternateBounds){var b=this.layoutManager.getLayout(this.model.getParent(a));null!=b&&b.constructor==mxStackLayout&&(b.horizontal?c.alternateBounds.height=0:c.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.isMoveCellsEvent=function(a,c){return mxEvent.isShiftDown(a)||"1"==mxUtils.getValue(c.style,"moveCells","0")};\r\nGraph.prototype.foldCells=function(a,c,d,b,f){c=null!=c?c:!1;null==d&&(d=this.getFoldableCells(this.getSelectionCells(),a));if(null!=d){this.model.beginUpdate();try{if(mxGraph.prototype.foldCells.apply(this,arguments),null!=this.layoutManager)for(var e=0;e<d.length;e++){var h=this.view.getState(d[e]),g=this.getCellGeometry(d[e]);if(null!=h&&null!=g){var k=Math.round(g.width-h.width/this.view.scale),l=Math.round(g.height-h.height/this.view.scale);if(0!=l||0!=k){var m=this.model.getParent(d[e]),n=this.layoutManager.getLayout(m);\r\nnull==n?null!=f&&this.isMoveCellsEvent(f,h)&&this.moveSiblings(h,m,k,l):null!=f&&mxEvent.isAltDown(f)||n.constructor!=mxStackLayout||n.resizeLast||this.resizeParentStacks(m,n,k,l)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(d)}};\r\nGraph.prototype.moveSiblings=function(a,c,d,b){this.model.beginUpdate();try{var f=this.getCellsBeyond(a.x,a.y,c,!0,!0);for(c=0;c<f.length;c++)if(f[c]!=a.cell){var e=this.view.getState(f[c]),h=this.getCellGeometry(f[c]);null!=e&&null!=h&&(h=h.clone(),h.translate(Math.round(d*Math.max(0,Math.min(1,(e.x-a.x)/a.width))),Math.round(b*Math.max(0,Math.min(1,(e.y-a.y)/a.height)))),this.model.setGeometry(f[c],h))}}finally{this.model.endUpdate()}};\r\nGraph.prototype.resizeParentStacks=function(a,c,d,b){if(null!=this.layoutManager&&null!=c&&c.constructor==mxStackLayout&&!c.resizeLast){this.model.beginUpdate();try{for(var f=c.horizontal;null!=a&&null!=c&&c.constructor==mxStackLayout&&c.horizontal==f&&!c.resizeLast;){var e=this.getCellGeometry(a),h=this.view.getState(a);null!=h&&null!=e&&(e=e.clone(),c.horizontal?e.width+=d+Math.min(0,h.width/this.view.scale-e.width):e.height+=b+Math.min(0,h.height/this.view.scale-e.height),this.model.setGeometry(a,\r\ne));a=this.model.getParent(a);c=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(a){var c=this.getCurrentCellStyle(a);return this.isSwimlane(a)?"0"!=c.container:"1"==c.container};Graph.prototype.isCellConnectable=function(a){var c=this.getCurrentCellStyle(a);return null!=c.connectable?"0"!=c.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments)};\r\nGraph.prototype.isLabelMovable=function(a){var c=this.getCurrentCellStyle(a);return null!=c.movableLabel?"0"!=c.movableLabel:mxGraph.prototype.isLabelMovable.apply(this,arguments)};Graph.prototype.selectAll=function(a){a=a||this.getDefaultParent();this.isCellLocked(a)||mxGraph.prototype.selectAll.apply(this,arguments)};Graph.prototype.selectCells=function(a,c,d){d=d||this.getDefaultParent();this.isCellLocked(d)||mxGraph.prototype.selectCells.apply(this,arguments)};\r\nGraph.prototype.getSwimlaneAt=function(a,c,d){var b=mxGraph.prototype.getSwimlaneAt.apply(this,arguments);this.isCellLocked(b)&&(b=null);return b};Graph.prototype.isCellFoldable=function(a){var c=this.getCurrentCellStyle(a);return this.foldingEnabled&&"0"!=mxUtils.getValue(c,mxConstants.STYLE_RESIZABLE,"1")&&("1"==c.treeFolding||!this.isCellLocked(a)&&(this.isContainer(a)&&"0"!=c.collapsible||!this.isContainer(a)&&"1"==c.collapsible))};\r\nGraph.prototype.reset=function(){this.isEditing()&&this.stopEditing(!0);this.escape();this.isSelectionEmpty()||this.clearSelection()};Graph.prototype.zoom=function(a,c){a=Math.max(.01,Math.min(this.view.scale*a,160))/this.view.scale;mxGraph.prototype.zoom.apply(this,arguments)};Graph.prototype.zoomIn=function(){.15>this.view.scale?this.zoom((this.view.scale+.01)/this.view.scale):this.zoom(Math.round(this.view.scale*this.zoomFactor*20)/20/this.view.scale)};\r\nGraph.prototype.zoomOut=function(){.15>=this.view.scale?this.zoom((this.view.scale-.01)/this.view.scale):this.zoom(Math.round(1/this.zoomFactor*this.view.scale*20)/20/this.view.scale)};\r\nGraph.prototype.fitWindow=function(a,c){c=null!=c?c:10;var d=this.container.clientWidth-c,b=this.container.clientHeight-c,f=Math.floor(20*Math.min(d/a.width,b/a.height))/20;this.zoomTo(f);if(mxUtils.hasScrollbars(this.container)){var e=this.view.translate;this.container.scrollTop=(a.y+e.y)*f-Math.max((b-a.height*f)/2+c/2,0);this.container.scrollLeft=(a.x+e.x)*f-Math.max((d-a.width*f)/2+c/2,0)}};\r\nGraph.prototype.getTooltipForCell=function(a){var c="";if(mxUtils.isNode(a.value)){var d=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&(d=a.value.getAttribute("tooltip_"+Graph.diagramLanguage));null==d&&(d=a.value.getAttribute("tooltip"));if(null!=d)null!=d&&this.isReplacePlaceholders(a)&&(d=this.replacePlaceholders(a,d)),c=this.sanitizeHtml(d);else{d=this.builtInProperties;a=a.value.attributes;var b=[];this.isEnabled()&&(d.push("linkTarget"),d.push("link"));for(var f=0;f<a.length;f++)0>\r\nmxUtils.indexOf(d,a[f].nodeName)&&0<a[f].nodeValue.length&&b.push({name:a[f].nodeName,value:a[f].nodeValue});b.sort(function(a,b){return a.name<b.name?-1:a.name>b.name?1:0});for(f=0;f<b.length;f++)"link"==b[f].name&&this.isCustomLink(b[f].value)||(c+=("link"!=b[f].name?"<b>"+b[f].name+":</b> ":"")+mxUtils.htmlEntities(b[f].value)+"\\n");0<c.length&&(c=c.substring(0,c.length-1),mxClient.IS_SVG&&(c=\'<div style="max-width:360px;text-overflow:ellipsis;overflow:hidden;">\'+c+"</div>"))}}return c};\r\nGraph.prototype.getFlowAnimationStyle=function(){var a=document.getElementsByTagName("head")[0];if(null!=a&&null==this.flowAnimationStyle){this.flowAnimationStyle=document.createElement("style");this.flowAnimationStyle.setAttribute("id","geEditorFlowAnimation-"+Editor.guid());this.flowAnimationStyle.type="text/css";var c=this.flowAnimationStyle.getAttribute("id");this.flowAnimationStyle.innerHTML=this.getFlowAnimationStyleCss(c);a.appendChild(this.flowAnimationStyle)}return this.flowAnimationStyle};\r\nGraph.prototype.getFlowAnimationStyleCss=function(a){return"."+a+" {\\nanimation: "+a+" 0.5s linear;\\nanimation-iteration-count: infinite;\\n}\\n@keyframes "+a+" {\\nto {\\nstroke-dashoffset: "+-16*this.view.scale+";\\n}\\n}"};Graph.prototype.stringToBytes=function(a){return Graph.stringToBytes(a)};Graph.prototype.bytesToString=function(a){return Graph.bytesToString(a)};Graph.prototype.compressNode=function(a){return Graph.compressNode(a)};Graph.prototype.compress=function(a,c){return Graph.compress(a,c)};\r\nGraph.prototype.decompress=function(a,c){return Graph.decompress(a,c)};Graph.prototype.zapGremlins=function(a){return Graph.zapGremlins(a)};HoverIcons=function(a){this.graph=a;this.init()};HoverIcons.prototype.arrowSpacing=2;HoverIcons.prototype.updateDelay=500;HoverIcons.prototype.activationDelay=140;HoverIcons.prototype.currentState=null;HoverIcons.prototype.activeArrow=null;HoverIcons.prototype.inactiveOpacity=15;HoverIcons.prototype.cssCursor="copy";HoverIcons.prototype.checkCollisions=!0;\r\nHoverIcons.prototype.arrowFill="#29b6f2";HoverIcons.prototype.triangleUp=mxClient.IS_SVG?Graph.createSvgImage(18,28,\'<path d="m 6 26 L 12 26 L 12 12 L 18 12 L 9 1 L 1 12 L 6 12 z" stroke="#fff" fill="\'+HoverIcons.prototype.arrowFill+\'"/>\'):new mxImage(IMAGE_PATH+"/triangle-up.png",26,14);\r\nHoverIcons.prototype.triangleRight=mxClient.IS_SVG?Graph.createSvgImage(26,18,\'<path d="m 1 6 L 14 6 L 14 1 L 26 9 L 14 18 L 14 12 L 1 12 z" stroke="#fff" fill="\'+HoverIcons.prototype.arrowFill+\'"/>\'):new mxImage(IMAGE_PATH+"/triangle-right.png",14,26);HoverIcons.prototype.triangleDown=mxClient.IS_SVG?Graph.createSvgImage(18,26,\'<path d="m 6 1 L 6 14 L 1 14 L 9 26 L 18 14 L 12 14 L 12 1 z" stroke="#fff" fill="\'+HoverIcons.prototype.arrowFill+\'"/>\'):new mxImage(IMAGE_PATH+"/triangle-down.png",26,14);\r\nHoverIcons.prototype.triangleLeft=mxClient.IS_SVG?Graph.createSvgImage(28,18,\'<path d="m 1 9 L 12 1 L 12 6 L 26 6 L 26 12 L 12 12 L 12 18 z" stroke="#fff" fill="\'+HoverIcons.prototype.arrowFill+\'"/>\'):new mxImage(IMAGE_PATH+"/triangle-left.png",14,26);HoverIcons.prototype.roundDrop=mxClient.IS_SVG?Graph.createSvgImage(26,26,\'<circle cx="13" cy="13" r="12" stroke="#fff" fill="\'+HoverIcons.prototype.arrowFill+\'"/>\'):new mxImage(IMAGE_PATH+"/round-drop.png",26,26);\r\nHoverIcons.prototype.refreshTarget=new mxImage(mxClient.IS_SVG?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjM2cHgiIGhlaWdodD0iMzZweCI+PGVsbGlwc2UgZmlsbD0iIzI5YjZmMiIgY3g9IjEyIiBjeT0iMTIiIHJ4PSIxMiIgcnk9IjEyIi8+PHBhdGggdHJhbnNmb3JtPSJzY2FsZSgwLjgpIHRyYW5zbGF0ZSgyLjQsIDIuNCkiIHN0cm9rZT0iI2ZmZiIgZmlsbD0iI2ZmZiIgZD0iTTEyIDZ2M2w0LTQtNC00djNjLTQuNDIgMC04IDMuNTgtOCA4IDAgMS41Ny40NiAzLjAzIDEuMjQgNC4yNkw2LjcgMTQuOGMtLjQ1LS44My0uNy0xLjc5LS43LTIuOCAwLTMuMzEgMi42OS02IDYtNnptNi43NiAxLjc0TDE3LjMgOS4yYy40NC44NC43IDEuNzkuNyAyLjggMCAzLjMxLTIuNjkgNi02IDZ2LTNsLTQgNCA0IDR2LTNjNC40MiAwIDgtMy41OCA4LTggMC0xLjU3LS40Ni0zLjAzLTEuMjQtNC4yNnoiLz48cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PC9zdmc+Cg==":\r\nIMAGE_PATH+"/refresh.png",38,38);HoverIcons.prototype.tolerance=mxClient.IS_TOUCH?6:0;\r\nHoverIcons.prototype.init=function(){this.arrowUp=this.createArrow(this.triangleUp,mxResources.get("plusTooltip"));this.arrowRight=this.createArrow(this.triangleRight,mxResources.get("plusTooltip"));this.arrowDown=this.createArrow(this.triangleDown,mxResources.get("plusTooltip"));this.arrowLeft=this.createArrow(this.triangleLeft,mxResources.get("plusTooltip"));this.elts=[this.arrowUp,this.arrowRight,this.arrowDown,this.arrowLeft];this.resetHandler=mxUtils.bind(this,function(){this.reset()});this.repaintHandler=\r\nmxUtils.bind(this,function(){this.repaint()});this.graph.selectionModel.addListener(mxEvent.CHANGE,this.resetHandler);this.graph.model.addListener(mxEvent.CHANGE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE,this.repaintHandler);this.graph.view.addListener(mxEvent.DOWN,this.repaintHandler);this.graph.view.addListener(mxEvent.UP,this.repaintHandler);\r\nthis.graph.addListener(mxEvent.ROOT,this.repaintHandler);this.graph.addListener(mxEvent.ESCAPE,this.resetHandler);mxEvent.addListener(this.graph.container,"scroll",this.resetHandler);this.graph.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){this.mouseDownPoint=null}));mxEvent.addListener(this.graph.container,"mouseleave",mxUtils.bind(this,function(a){null!=a.relatedTarget&&mxEvent.getSource(a)==this.graph.container&&this.setDisplay("none")}));this.graph.addListener(mxEvent.START_EDITING,\r\nmxUtils.bind(this,function(a){this.reset()}));var a=this.graph.click;this.graph.click=mxUtils.bind(this,function(c){a.apply(this.graph,arguments);null==this.currentState||this.graph.isCellSelected(this.currentState.cell)||!mxEvent.isTouchEvent(c.getEvent())||this.graph.model.isVertex(c.getCell())||this.reset()});var c=!1;this.graph.addMouseListener({mouseDown:mxUtils.bind(this,function(a,b){c=!1;var d=b.getEvent();if(this.isResetEvent(d))this.reset();else if(!this.isActive()){var e=this.getState(b.getState());\r\nnull==e&&mxEvent.isTouchEvent(d)||this.update(e)}this.setDisplay("none")}),mouseMove:mxUtils.bind(this,function(a,b){var d=b.getEvent();this.isResetEvent(d)?this.reset():this.graph.isMouseDown||mxEvent.isTouchEvent(d)||this.update(this.getState(b.getState()),b.getGraphX(),b.getGraphY());null!=this.graph.connectionHandler&&null!=this.graph.connectionHandler.shape&&(c=!0)}),mouseUp:mxUtils.bind(this,function(a,b){var d=b.getEvent();mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(d),mxEvent.getClientY(d));\r\nthis.isResetEvent(d)?this.reset():this.isActive()&&!c&&null!=this.mouseDownPoint?this.click(this.currentState,this.getDirection(),b):this.isActive()?1==this.graph.getSelectionCount()&&this.graph.model.isEdge(this.graph.getSelectionCell())?this.reset():this.update(this.getState(this.graph.view.getState(this.graph.getCellAt(b.getGraphX(),b.getGraphY())))):mxEvent.isTouchEvent(d)||null!=this.bbox&&mxUtils.contains(this.bbox,b.getGraphX(),b.getGraphY())?(this.setDisplay(""),this.repaint()):mxEvent.isTouchEvent(d)||\r\nthis.reset();c=!1;this.resetActiveArrow()})})};HoverIcons.prototype.isResetEvent=function(a,c){return mxEvent.isAltDown(a)||null==this.activeArrow&&mxEvent.isShiftDown(a)||mxEvent.isPopupTrigger(a)&&!this.graph.isCloneEvent(a)};\r\nHoverIcons.prototype.createArrow=function(a,c){var d=null,d=mxUtils.createImage(a.src);d.style.width=a.width+"px";d.style.height=a.height+"px";d.style.padding=this.tolerance+"px";null!=c&&d.setAttribute("title",c);d.style.position="absolute";d.style.cursor=this.cssCursor;mxEvent.addGestureListeners(d,mxUtils.bind(this,function(a){null==this.currentState||this.isResetEvent(a)||(this.mouseDownPoint=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(a),mxEvent.getClientY(a)),this.drag(a,this.mouseDownPoint.x,\r\nthis.mouseDownPoint.y),this.activeArrow=d,this.setDisplay("none"),mxEvent.consume(a))}));mxEvent.redirectMouseEvents(d,this.graph,this.currentState);mxEvent.addListener(d,"mouseenter",mxUtils.bind(this,function(a){mxEvent.isMouseEvent(a)&&(null!=this.activeArrow&&this.activeArrow!=d&&mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.graph.connectionHandler.constraintHandler.reset(),mxUtils.setOpacity(d,100),this.activeArrow=d)}));mxEvent.addListener(d,"mouseleave",mxUtils.bind(this,function(a){this.graph.isMouseDown||\r\nthis.resetActiveArrow()}));return d};HoverIcons.prototype.resetActiveArrow=function(){null!=this.activeArrow&&(mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.activeArrow=null)};HoverIcons.prototype.getDirection=function(){var a=mxConstants.DIRECTION_EAST;this.activeArrow==this.arrowUp?a=mxConstants.DIRECTION_NORTH:this.activeArrow==this.arrowDown?a=mxConstants.DIRECTION_SOUTH:this.activeArrow==this.arrowLeft&&(a=mxConstants.DIRECTION_WEST);return a};\r\nHoverIcons.prototype.visitNodes=function(a){for(var c=0;c<this.elts.length;c++)null!=this.elts[c]&&a(this.elts[c])};HoverIcons.prototype.removeNodes=function(){this.visitNodes(function(a){null!=a.parentNode&&a.parentNode.removeChild(a)})};HoverIcons.prototype.setDisplay=function(a){this.visitNodes(function(c){c.style.display=a})};HoverIcons.prototype.isActive=function(){return null!=this.activeArrow&&null!=this.currentState};\r\nHoverIcons.prototype.drag=function(a,c,d){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);null!=this.currentState&&(this.graph.connectionHandler.start(this.currentState,c,d),this.graph.isMouseTrigger=mxEvent.isMouseEvent(a),this.graph.isMouseDown=!0,c=this.graph.selectionCellsHandler.getHandler(this.currentState.cell),null!=c&&c.setHandlesVisible(!1),c=this.graph.connectionHandler.edgeState,null!=a&&mxEvent.isShiftDown(a)&&mxEvent.isControlDown(a)&&null!=c&&"orthogonalEdgeStyle"===\r\nmxUtils.getValue(c.style,mxConstants.STYLE_EDGE,null)&&(a=this.getDirection(),c.cell.style=mxUtils.setStyle(c.cell.style,"sourcePortConstraint",a),c.style.sourcePortConstraint=a))};HoverIcons.prototype.getStateAt=function(a,c,d){return this.graph.view.getState(this.graph.getCellAt(c,d))};\r\nHoverIcons.prototype.click=function(a,c,d){var b=d.getEvent(),f=d.getGraphX(),e=d.getGraphY(),f=this.getStateAt(a,f,e);null==f||!this.graph.model.isEdge(f.cell)||this.graph.isCloneEvent(b)||f.getVisibleTerminalState(!0)!=a&&f.getVisibleTerminalState(!1)!=a?null!=a&&this.execute(a,c,d):(this.graph.setSelectionCell(f.cell),this.reset());d.consume()};\r\nHoverIcons.prototype.execute=function(a,c,d){d=d.getEvent();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(a.cell,c,this.graph.defaultEdgeLength,d,this.graph.isCloneEvent(d),this.graph.isCloneEvent(d)),d,this)};HoverIcons.prototype.reset=function(a){null!=a&&!a||null==this.updateThread||window.clearTimeout(this.updateThread);this.activeArrow=this.currentState=this.mouseDownPoint=null;this.removeNodes();this.bbox=null};\r\nHoverIcons.prototype.repaint=function(){this.bbox=null;if(null!=this.currentState){this.currentState=this.getState(this.currentState);if(null!=this.currentState&&this.graph.model.isVertex(this.currentState.cell)&&this.graph.isCellConnectable(this.currentState.cell)){var a=mxRectangle.fromRectangle(this.currentState);null!=this.currentState.shape&&null!=this.currentState.shape.boundingBox&&(a=mxRectangle.fromRectangle(this.currentState.shape.boundingBox));a.grow(this.graph.tolerance);a.grow(this.arrowSpacing);\r\nvar c=this.graph.selectionCellsHandler.getHandler(this.currentState.cell);this.graph.isTableRow(this.currentState.cell)&&(c=this.graph.selectionCellsHandler.getHandler(this.graph.model.getParent(this.currentState.cell)));var d=null;null!=c&&(a.x-=c.horizontalOffset/2,a.y-=c.verticalOffset/2,a.width+=c.horizontalOffset,a.height+=c.verticalOffset,null!=c.rotationShape&&null!=c.rotationShape.node&&"hidden"!=c.rotationShape.node.style.visibility&&"none"!=c.rotationShape.node.style.display&&null!=c.rotationShape.boundingBox&&\r\n(d=c.rotationShape.boundingBox));c=mxUtils.bind(this,function(a,b,c){if(null!=d){var e=new mxRectangle(b,c,a.clientWidth,a.clientHeight);mxUtils.intersects(e,d)&&(a==this.arrowUp?c-=e.y+e.height-d.y:a==this.arrowRight?b+=d.x+d.width-e.x:a==this.arrowDown?c+=d.y+d.height-e.y:a==this.arrowLeft&&(b-=e.x+e.width-d.x))}a.style.left=b+"px";a.style.top=c+"px";mxUtils.setOpacity(a,this.inactiveOpacity)});c(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this.tolerance),Math.round(a.y-\r\nthis.triangleUp.height-this.tolerance));c(this.arrowRight,Math.round(a.x+a.width-this.tolerance),Math.round(this.currentState.getCenterY()-this.triangleRight.height/2-this.tolerance));c(this.arrowDown,parseInt(this.arrowUp.style.left),Math.round(a.y+a.height-this.tolerance));c(this.arrowLeft,Math.round(a.x-this.triangleLeft.width-this.tolerance),parseInt(this.arrowRight.style.top));if(this.checkCollisions){var c=this.graph.getCellAt(a.x+a.width+this.triangleRight.width/2,this.currentState.getCenterY()),\r\nb=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),f=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2),a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=c&&c==b&&b==f&&f==a&&(a=f=b=c=null);var e=this.graph.getCellGeometry(this.currentState.cell),h=mxUtils.bind(this,function(a,b){var c=this.graph.model.isVertex(a)&&this.graph.getCellGeometry(a);null==a||this.graph.model.isAncestor(a,\r\nthis.currentState.cell)||this.graph.isSwimlane(a)||!(null==c||null==e||c.height<3*e.height&&c.width<3*e.width)?b.style.visibility="visible":b.style.visibility="hidden"});h(c,this.arrowRight);h(b,this.arrowLeft);h(f,this.arrowUp);h(a,this.arrowDown)}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),\r\nthis.arrowRight.setAttribute("title",mxResources.get("plusTooltip")),this.arrowUp.setAttribute("title",mxResources.get("plusTooltip")),this.arrowDown.setAttribute("title",mxResources.get("plusTooltip"))):(this.arrowLeft.removeAttribute("title"),this.arrowRight.removeAttribute("title"),this.arrowUp.removeAttribute("title"),this.arrowDown.removeAttribute("title"))}else this.reset();null!=this.currentState&&(this.bbox=this.computeBoundingBox(),null!=this.bbox&&this.bbox.grow(10))}};\r\nHoverIcons.prototype.computeBoundingBox=function(){var a=this.graph.model.isEdge(this.currentState.cell)?null:mxRectangle.fromRectangle(this.currentState);this.visitNodes(function(c){null!=c.parentNode&&(c=new mxRectangle(c.offsetLeft,c.offsetTop,c.offsetWidth,c.offsetHeight),null==a?a=c:a.add(c))});return a};\r\nHoverIcons.prototype.getState=function(a){if(null!=a)if(a=a.cell,this.graph.getModel().contains(a)){if(this.graph.getModel().isVertex(a)&&!this.graph.isCellConnectable(a)){var c=this.graph.getModel().getParent(a);this.graph.getModel().isVertex(c)&&this.graph.isCellConnectable(c)&&(a=c)}if(this.graph.isCellLocked(a)||this.graph.model.isEdge(a))a=null;a=this.graph.view.getState(a);null!=a&&null==a.style&&(a=null)}else a=null;return a};\r\nHoverIcons.prototype.update=function(a,c,d){if(!this.graph.connectionArrowsEnabled||null!=a&&"0"==mxUtils.getValue(a.style,"allowArrows","1"))this.reset();else{null!=a&&null!=a.cell.geometry&&a.cell.geometry.relative&&this.graph.model.isEdge(a.cell.parent)&&(a=null);var b=null;this.prev!=a||this.isActive()?(this.startTime=(new Date).getTime(),this.prev=a,b=0,null!=this.updateThread&&window.clearTimeout(this.updateThread),null!=a&&(this.updateThread=window.setTimeout(mxUtils.bind(this,function(){this.isActive()||\r\nthis.graph.isMouseDown||this.graph.panningHandler.isActive()||(this.prev=a,this.update(a,c,d))}),this.updateDelay+10))):null!=this.startTime&&(b=(new Date).getTime()-this.startTime);this.setDisplay("");null!=this.currentState&&this.currentState!=a&&b<this.activationDelay&&null!=this.bbox&&!mxUtils.contains(this.bbox,c,d)?this.reset(!1):(null!=this.currentState||b>this.activationDelay)&&this.currentState!=a&&(b>this.updateDelay&&null!=a||null==this.bbox||null==c||null==d||!mxUtils.contains(this.bbox,\r\nc,d))&&(null!=a&&this.graph.isEnabled()?(this.removeNodes(),this.setCurrentState(a),this.repaint(),this.graph.connectionHandler.constraintHandler.currentFocus!=a&&this.graph.connectionHandler.constraintHandler.reset()):this.reset())}};\r\nHoverIcons.prototype.setCurrentState=function(a){"eastwest"!=a.style.portConstraint&&(this.graph.container.appendChild(this.arrowUp),this.graph.container.appendChild(this.arrowDown));this.graph.container.appendChild(this.arrowRight);this.graph.container.appendChild(this.arrowLeft);this.currentState=a};Graph.prototype.createParent=function(a,c,d,b,f){a=this.cloneCell(a);for(var e=0;e<d;e++){var h=this.cloneCell(c),g=this.getCellGeometry(h);null!=g&&(g.x+=e*b,g.y+=e*f);a.insert(h)}return a};\r\nGraph.prototype.createTable=function(a,c,d,b,f,e,h,g,k){d=null!=d?d:60;b=null!=b?b:40;e=null!=e?e:30;g=null!=g?g:"shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;top=0;left=0;bottom=0;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;";k=null!=k?k:"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;";return this.createParent(this.createVertex(null,null,null!=f?f:"",0,0,c*d,\r\na*b+(null!=f?e:0),null!=h?h:"shape=table;startSize="+(null!=f?e:"0")+";container=1;collapsible=0;childLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,c*d,b,g),this.createVertex(null,null,"",0,0,d,b,k),c,d,0),a,0,b)};Graph.prototype.setTableValues=function(a,c,d){for(var b=this.model.getChildCells(a,!0),f=0;f<b.length;f++)if(null!=d&&(b[f].value=d[f]),null!=c)for(var e=this.model.getChildCells(b[f],!0),h=0;h<e.length;h++)null!=c[f][h]&&(e[h].value=c[f][h]);return a};\r\nGraph.prototype.createCrossFunctionalSwimlane=function(a,c,d,b,f,e,h,g,k){d=null!=d?d:120;b=null!=b?b:120;var l=null==f?0:40;h=null!=h?h:"swimlane;horizontal=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;startSize="+l+";collapsible=0;recursiveResize=0;expand=0;pointerEvents=0;";g=null!=g?g:"swimlane;connectable=0;startSize=40;collapsible=0;recursiveResize=0;expand=0;pointerEvents=0;";k=null!=k?k:"swimlane;connectable=0;startSize="+(null==f?"40":"0")+";collapsible=0;recursiveResize=0;expand=0;pointerEvents=0;";\r\nf=this.createVertex(null,null,null!=f?f:"",0,0,c*d,a*b,null!=e?e:"shape=table;childLayout=tableLayout;rowLines=0;columnLines=0;startSize="+l+";"+(null==f?"fillColor=none;":"")+"collapsible=0;recursiveResize=0;expand=0;pointerEvents=0;");e=mxUtils.getValue(this.getCellStyle(f),mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);f.geometry.width+=e;f.geometry.height+=e;h=this.createVertex(null,null,"",0,e,c*d+e,b,h);f.insert(this.createParent(h,this.createVertex(null,null,"",e,0,d,b,g),c,d,0));\r\nreturn 1<a?(h.geometry.y=b+e,this.createParent(f,this.createParent(h,this.createVertex(null,null,"",e,0,d,b,k),c,d,0),a-1,0,b)):f};Graph.prototype.isTableCell=function(a){return this.model.isVertex(a)&&this.isTableRow(this.model.getParent(a))};Graph.prototype.isTableRow=function(a){return this.model.isVertex(a)&&this.isTable(this.model.getParent(a))};Graph.prototype.isTable=function(a){a=this.getCellStyle(a);return null!=a&&"tableLayout"==a.childLayout};\r\nGraph.prototype.setTableRowHeight=function(a,c,d){d=null!=d?d:!0;var b=this.getModel();b.beginUpdate();try{var f=this.getCellGeometry(a);if(null!=f){f=f.clone();f.height+=c;b.setGeometry(a,f);var e=b.getParent(a),h=b.getChildCells(e,!0);if(!d){var g=mxUtils.indexOf(h,a);if(g<h.length-1){var k=h[g+1],l=this.getCellGeometry(k);null!=l&&(l=l.clone(),l.y+=c,l.height-=c,b.setGeometry(k,l))}}var m=this.getCellGeometry(e);null!=m&&(d||(d=a==h[h.length-1]),d&&(m=m.clone(),m.height+=c,b.setGeometry(e,m)));\r\nnull!=this.layoutManager&&this.layoutManager.executeLayout(e,!0)}}finally{b.endUpdate()}};\r\nGraph.prototype.setTableColumnWidth=function(a,c,d){d=null!=d?d:!1;var b=this.getModel(),f=b.getParent(a),e=b.getParent(f),h=b.getChildCells(f,!0);a=mxUtils.indexOf(h,a);var g=a==h.length-1;b.beginUpdate();try{for(var k=b.getChildCells(e,!0),l=0;l<k.length;l++){var f=k[l],h=b.getChildCells(f,!0),m=h[a],n=this.getCellGeometry(m);null!=n&&(n=n.clone(),n.width+=c,b.setGeometry(m,n));a<h.length-1&&(m=h[a+1],n=this.getCellGeometry(m),null!=n&&(n=n.clone(),n.x+=c,d||(n.width-=c),b.setGeometry(m,n)))}if(g||\r\nd){var p=this.getCellGeometry(e);null!=p&&(p=p.clone(),p.width+=c,b.setGeometry(e,p))}null!=this.layoutManager&&this.layoutManager.executeLayout(e,!0)}finally{b.endUpdate()}};function TableLayout(a){mxGraphLayout.call(this,a)}TableLayout.prototype=new mxStackLayout;TableLayout.prototype.constructor=TableLayout;TableLayout.prototype.isHorizontal=function(){return!1};TableLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!this.graph.isCellVisible(a)};\r\nTableLayout.prototype.getSize=function(a,c){for(var d=0,b=0;b<a.length;b++)if(!this.isVertexIgnored(a[b])){var f=this.graph.getCellGeometry(a[b]);null!=f&&(d+=c?f.width:f.height)}return d};TableLayout.prototype.getRowLayout=function(a,c){for(var d=this.graph.model.getChildCells(a,!0),b=this.graph.getActualStartSize(a,!0),f=this.getSize(d,!0),e=c-b.x-b.width,h=[],b=b.x,g=0;g<d.length;g++){var k=this.graph.getCellGeometry(d[g]);null!=k&&(b+=k.width*e/f,h.push(Math.round(b)))}return h};\r\nTableLayout.prototype.layoutRow=function(a,c,d,b){var f=this.graph.getModel(),e=f.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var h=a.x,g=0;null!=c&&(c=c.slice(),c.splice(0,0,a.x));for(var k=0;k<e.length;k++){var l=this.graph.getCellGeometry(e[k]);null!=l&&(l=l.clone(),l.y=a.y,l.height=d-a.y-a.height,null!=c?(l.x=c[k],l.width=c[k+1]-l.x,k==e.length-1&&k<c.length-2&&(l.width=b-l.x-a.x-a.width)):(l.x=h,h+=l.width,k==e.length-1?l.width=b-a.x-a.width-g:g+=l.width),f.setGeometry(e[k],l))}return g};\r\nTableLayout.prototype.execute=function(a){if(null!=a){var c=this.graph.getActualStartSize(a,!0),d=this.graph.getCellGeometry(a),b=this.graph.getCellStyle(a),f="1"==mxUtils.getValue(b,"resizeLastRow","0"),e="1"==mxUtils.getValue(b,"resizeLast","0"),b="1"==mxUtils.getValue(b,"fixedRows","0"),h=this.graph.getModel(),g=0;h.beginUpdate();try{var k=d.height-c.y-c.height,l=d.width-c.x-c.width,m=h.getChildCells(a,!0),n=this.getSize(m,!1);if(0<k&&0<l&&0<m.length&&0<n){if(f){var p=this.graph.getCellGeometry(m[m.length-\r\n1]);null!=p&&(p=p.clone(),p.height=k-n+p.height,h.setGeometry(m[m.length-1],p))}for(var t=e?null:this.getRowLayout(m[0],l),r=c.y,v=0;v<m.length;v++)p=this.graph.getCellGeometry(m[v]),null!=p&&(p=p.clone(),p.x=c.x,p.width=l,p.y=Math.round(r),r=f||b?r+p.height:r+p.height/n*k,p.height=Math.round(r)-p.y,h.setGeometry(m[v],p)),g=Math.max(g,this.layoutRow(m[v],t,p.height,l));b&&k<n&&(d=d.clone(),d.height=r+c.height,h.setGeometry(a,d));e&&l<g+Graph.minTableColumnWidth&&(d=d.clone(),d.width=g+c.width+c.x+\r\nGraph.minTableColumnWidth,h.setGeometry(a,d))}}finally{h.endUpdate()}}};\r\n(function(){var a=mxGraphView.prototype.resetValidationState;mxGraphView.prototype.resetValidationState=function(){a.apply(this,arguments);this.validEdges=[]};var c=mxGraphView.prototype.validateCellState;mxGraphView.prototype.validateCellState=function(a,b){b=null!=b?b:!0;var d=this.getState(a);null!=d&&b&&this.graph.model.isEdge(d.cell)&&null!=d.style&&1!=d.style[mxConstants.STYLE_CURVED]&&!d.invalid&&this.updateLineJumps(d)&&this.graph.cellRenderer.redraw(d,!1,this.isRendering());d=c.apply(this,\r\narguments);null!=d&&b&&this.graph.model.isEdge(d.cell)&&null!=d.style&&1!=d.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(d);return d};var d=mxShape.prototype.paint;mxShape.prototype.paint=function(){d.apply(this,arguments);if(null!=this.state&&null!=this.node&&this.state.view.graph.enableFlowAnimation&&this.state.view.graph.model.isEdge(this.state.cell)&&"1"==mxUtils.getValue(this.state.style,"flowAnimation","0")){var a=this.node.getElementsByTagName("path");if(1<a.length){"1"!=mxUtils.getValue(this.state.style,\r\nmxConstants.STYLE_DASHED,"0")&&a[1].setAttribute("stroke-dasharray",8*this.state.view.scale);var b=this.state.view.graph.getFlowAnimationStyle();null!=b&&a[1].setAttribute("class",b.getAttribute("id"))}}};var b=mxCellRenderer.prototype.isShapeInvalid;mxCellRenderer.prototype.isShapeInvalid=function(a,c){return b.apply(this,arguments)||null!=a.routedPoints&&null!=c.routedPoints&&!mxUtils.equalPoints(c.routedPoints,a.routedPoints)};var f=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=\r\nfunction(a){f.apply(this,arguments);this.graph.model.isEdge(a.cell)&&1!=a.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(a)};mxGraphView.prototype.updateLineJumps=function(a){var b=a.absolutePoints;if(Graph.lineJumpsEnabled){var c=null!=a.routedPoints,d=null;if(null!=b&&null!=this.validEdges&&"none"!==mxUtils.getValue(a.style,"jumpStyle","none")){for(var e=function(b,c,e){var f=new mxPoint(c,e);f.type=b;d.push(f);f=null!=a.routedPoints?a.routedPoints[d.length-1]:null;return null==f||f.type!=\r\nb||f.x!=c||f.y!=e},f=.5*this.scale,c=!1,d=[],g=0;g<b.length-1;g++){for(var k=b[g+1],h=b[g],l=[],m=b[g+2];g<b.length-2&&mxUtils.ptSegDistSq(h.x,h.y,m.x,m.y,k.x,k.y)<1*this.scale*this.scale;)k=m,g++,m=b[g+2];for(var c=e(0,h.x,h.y)||c,G=0;G<this.validEdges.length;G++){var z=this.validEdges[G],I=z.absolutePoints;if(null!=I&&mxUtils.intersects(a,z)&&"1"!=z.style.noJump)for(z=0;z<I.length-1;z++){for(var y=I[z+1],H=I[z],m=I[z+2];z<I.length-2&&mxUtils.ptSegDistSq(H.x,H.y,m.x,m.y,y.x,y.y)<1*this.scale*this.scale;)y=\r\nm,z++,m=I[z+2];m=mxUtils.intersection(h.x,h.y,k.x,k.y,H.x,H.y,y.x,y.y);if(null!=m&&(Math.abs(m.x-h.x)>f||Math.abs(m.y-h.y)>f)&&(Math.abs(m.x-k.x)>f||Math.abs(m.y-k.y)>f)&&(Math.abs(m.x-H.x)>f||Math.abs(m.y-H.y)>f)&&(Math.abs(m.x-y.x)>f||Math.abs(m.y-y.y)>f)){y=m.x-h.x;H=m.y-h.y;m={distSq:y*y+H*H,x:m.x,y:m.y};for(y=0;y<l.length;y++)if(l[y].distSq>m.distSq){l.splice(y,0,m);m=null;break}null==m||0!=l.length&&l[l.length-1].x===m.x&&l[l.length-1].y===m.y||l.push(m)}}}for(z=0;z<l.length;z++)c=e(1,l[z].x,\r\nl[z].y)||c}m=b[b.length-1];c=e(0,m.x,m.y)||c}a.routedPoints=d;return c}return!1};var e=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(a,b,c){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)e.apply(this,arguments);else{var d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,f=(parseInt(mxUtils.getValue(this.style,\r\n"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,g=mxUtils.getValue(this.style,"jumpStyle","none"),k=!0,h=null,l=null,m=[],n=null;a.begin();for(var p=0;p<this.state.routedPoints.length;p++){var z=this.state.routedPoints[p],I=new mxPoint(z.x/this.scale,z.y/this.scale);0==p?I=b[0]:p==this.state.routedPoints.length-1&&(I=b[b.length-1]);var y=!1;if(null!=h&&1==z.type){var H=this.state.routedPoints[p+1],z=H.x/this.scale-I.x,H=H.y/this.scale-I.y,z=z*z+H*H;null==n&&(n=new mxPoint(I.x-h.x,I.y-h.y),\r\nl=Math.sqrt(n.x*n.x+n.y*n.y),0<l?(n.x=n.x*f/l,n.y=n.y*f/l):n=null);z>f*f&&0<l&&(z=h.x-I.x,H=h.y-I.y,z=z*z+H*H,z>f*f&&(y=new mxPoint(I.x-n.x,I.y-n.y),z=new mxPoint(I.x+n.x,I.y+n.y),m.push(y),this.addPoints(a,m,c,d,!1,null,k),m=0>Math.round(n.x)||0==Math.round(n.x)&&0>=Math.round(n.y)?1:-1,k=!1,"sharp"==g?(a.lineTo(y.x-n.y*m,y.y+n.x*m),a.lineTo(z.x-n.y*m,z.y+n.x*m),a.lineTo(z.x,z.y)):"line"==g?(a.moveTo(y.x+n.y*m,y.y-n.x*m),a.lineTo(y.x-n.y*m,y.y+n.x*m),a.moveTo(z.x-n.y*m,z.y+n.x*m),a.lineTo(z.x+n.y*\r\nm,z.y-n.x*m),a.moveTo(z.x,z.y)):"arc"==g?(m*=1.3,a.curveTo(y.x-n.y*m,y.y+n.x*m,z.x-n.y*m,z.y+n.x*m,z.x,z.y)):(a.moveTo(z.x,z.y),k=!0),m=[z],y=!0))}else n=null;y||(m.push(I),h=I)}this.addPoints(a,m,c,d,!1,null,k);a.stroke()}};var h=mxGraphView.prototype.getFixedTerminalPoint;mxGraphView.prototype.getFixedTerminalPoint=function(a,b,c,d){return null!=b&&"centerPerimeter"==b.style[mxConstants.STYLE_PERIMETER]?new mxPoint(b.getCenterX(),b.getCenterY()):h.apply(this,arguments)};var g=mxGraphView.prototype.updateFloatingTerminalPoint;\r\nmxGraphView.prototype.updateFloatingTerminalPoint=function(a,b,c,d){if(null==b||null==a||"1"!=b.style.snapToPoint&&"1"!=a.style.snapToPoint)g.apply(this,arguments);else{b=this.getTerminalPort(a,b,d);var e=this.getNextPoint(a,c,d),f=this.graph.isOrthogonal(a),k=mxUtils.toRadians(Number(b.style[mxConstants.STYLE_ROTATION]||"0")),h=new mxPoint(b.getCenterX(),b.getCenterY());if(0!=k)var l=Math.cos(-k),m=Math.sin(-k),e=mxUtils.getRotatedPoint(e,l,m,h);l=parseFloat(a.style[mxConstants.STYLE_PERIMETER_SPACING]||\r\n0);l+=parseFloat(a.style[d?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);e=this.getPerimeterPoint(b,e,0==k&&f,l);0!=k&&(l=Math.cos(k),m=Math.sin(k),e=mxUtils.getRotatedPoint(e,l,m,h));a.setAbsoluteTerminalPoint(this.snapToAnchorPoint(a,b,c,d,e),d)}};mxGraphView.prototype.snapToAnchorPoint=function(a,b,c,d,e){if(null!=b&&null!=a){a=this.graph.getAllConnectionConstraints(b);d=c=null;if(null!=a)for(var f=0;f<a.length;f++){var g=this.graph.getConnectionPoint(b,\r\na[f]);if(null!=g){var k=(g.x-e.x)*(g.x-e.x)+(g.y-e.y)*(g.y-e.y);if(null==d||k<d)c=g,d=k}}null!=c&&(e=c)}return e};var k=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(a,b,c){var d=k.apply(this,arguments);"1"==a.getAttribute("placeholders")&&null!=c.state&&(d=c.state.view.graph.replacePlaceholders(c.state.cell,d));return d};var l=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(a){if(null!=a.style&&"undefined"!==typeof pako){var b=\r\nmxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);if(null!=b&&"string"===typeof b&&"stencil("==b.substring(0,8))try{var c=b.substring(8,b.length-1),d=mxUtils.parseXml(Graph.decompress(c));return new mxShape(new mxStencil(d.documentElement))}catch(r){null!=window.console&&console.log("Error in shape: "+r)}}return l.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0;mxStencilRegistry.allowEval=!0;mxStencilRegistry.packages=[];\r\nmxStencilRegistry.filesLoaded={};\r\nmxStencilRegistry.getStencil=function(a){var c=mxStencilRegistry.stencils[a];if(null==c&&null==mxCellRenderer.defaultShapes[a]&&mxStencilRegistry.dynamicLoading){var d=mxStencilRegistry.getBasenameForStencil(a);if(null!=d){c=mxStencilRegistry.libraries[d];if(null!=c){if(null==mxStencilRegistry.packages[d]){for(var b=0;b<c.length;b++){var f=c[b];if(!mxStencilRegistry.filesLoaded[f])if(mxStencilRegistry.filesLoaded[f]=!0,".xml"==f.toLowerCase().substring(f.length-4,f.length))mxStencilRegistry.loadStencilSet(f,\r\nnull);else if(".js"==f.toLowerCase().substring(f.length-3,f.length))try{if(mxStencilRegistry.allowEval){var e=mxUtils.load(f);null!=e&&200<=e.getStatus()&&299>=e.getStatus()&&eval.call(window,e.getText())}}catch(h){null!=window.console&&console.log("error in getStencil:",a,d,c,f,h)}}mxStencilRegistry.packages[d]=1}}else d=d.replace("_-_","_"),mxStencilRegistry.loadStencilSet(STENCIL_PATH+"/"+d+".xml",null);c=mxStencilRegistry.stencils[a]}}return c};\r\nmxStencilRegistry.getBasenameForStencil=function(a){var c=null;if(null!=a&&"string"===typeof a&&(a=a.split("."),0<a.length&&"mxgraph"==a[0]))for(var c=a[1],d=2;d<a.length-1;d++)c+="/"+a[d];return c};\r\nmxStencilRegistry.loadStencilSet=function(a,c,d,b){var f=mxStencilRegistry.packages[a];if(null!=d&&d||null==f){var e=!1;if(null==f)try{if(b){mxStencilRegistry.loadStencil(a,mxUtils.bind(this,function(b){null!=b&&null!=b.documentElement&&(mxStencilRegistry.packages[a]=b,e=!0,mxStencilRegistry.parseStencilSet(b.documentElement,c,e))}));return}f=mxStencilRegistry.loadStencil(a);mxStencilRegistry.packages[a]=f;e=!0}catch(h){null!=window.console&&console.log("error in loadStencilSet:",a,h)}null!=f&&null!=\r\nf.documentElement&&mxStencilRegistry.parseStencilSet(f.documentElement,c,e)}};mxStencilRegistry.loadStencil=function(a,c){if(null!=c)mxUtils.get(a,mxUtils.bind(this,function(a){c(200<=a.getStatus()&&299>=a.getStatus()?a.getXml():null)}));else return mxUtils.load(a).getXml()};mxStencilRegistry.parseStencilSets=function(a){for(var c=0;c<a.length;c++)mxStencilRegistry.parseStencilSet(mxUtils.parseXml(a[c]).documentElement)};\r\nmxStencilRegistry.parseStencilSet=function(a,c,d){if("stencils"==a.nodeName)for(var b=a.firstChild;null!=b;)"shapes"==b.nodeName&&mxStencilRegistry.parseStencilSet(b,c,d),b=b.nextSibling;else{d=null!=d?d:!0;var b=a.firstChild,f="";a=a.getAttribute("name");for(null!=a&&(f=a+".");null!=b;){if(b.nodeType==mxConstants.NODETYPE_ELEMENT&&(a=b.getAttribute("name"),null!=a)){var f=f.toLowerCase(),e=a.replace(/ /g,"_");d&&mxStencilRegistry.addStencil(f+e.toLowerCase(),new mxStencil(b));if(null!=c){var h=b.getAttribute("w"),\r\ng=b.getAttribute("h"),h=null==h?80:parseInt(h,10),g=null==g?80:parseInt(g,10);c(f,e,a,h,g)}}b=b.nextSibling}}};\r\n"undefined"!=typeof mxVertexHandler&&function(){function a(){var a=document.createElement("div");a.className="geHint";a.style.whiteSpace="nowrap";a.style.position="absolute";return a}function c(a,b){switch(b){case mxConstants.POINTS:return a;case mxConstants.MILLIMETERS:return(a/mxConstants.PIXELS_PER_MM).toFixed(1);case mxConstants.INCHES:return(a/mxConstants.PIXELS_PER_INCH).toFixed(2)}}mxConstants.HANDLE_FILLCOLOR="#29b6f2";mxConstants.HANDLE_STROKECOLOR="#0088cf";mxConstants.VERTEX_SELECTION_COLOR=\r\n"#00a8ff";mxConstants.OUTLINE_COLOR="#00a8ff";mxConstants.OUTLINE_HANDLE_FILLCOLOR="#99ccff";mxConstants.OUTLINE_HANDLE_STROKECOLOR="#00a8ff";mxConstants.CONNECT_HANDLE_FILLCOLOR="#cee7ff";mxConstants.EDGE_SELECTION_COLOR="#00a8ff";mxConstants.DEFAULT_VALID_COLOR="#00a8ff";mxConstants.LABEL_HANDLE_FILLCOLOR="#cee7ff";mxConstants.GUIDE_COLOR="#0088cf";mxConstants.HIGHLIGHT_OPACITY=30;mxConstants.HIGHLIGHT_SIZE=5;mxEdgeHandler.prototype.snapToTerminals=!0;mxGraphHandler.prototype.guidesEnabled=!0;mxGraphHandler.prototype.removeEmptyParents=\r\n!0;mxRubberband.prototype.fadeOut=!0;mxGuide.prototype.isEnabledForEvent=function(a){return!mxEvent.isAltDown(a)};var d=mxGraphLayout.prototype.isVertexIgnored;mxGraphLayout.prototype.isVertexIgnored=function(a){return d.apply(this,arguments)||this.graph.isTableRow(a)||this.graph.isTableCell(a)};var b=mxGraphLayout.prototype.isEdgeIgnored;mxGraphLayout.prototype.isEdgeIgnored=function(a){return b.apply(this,arguments)||this.graph.isEdgeIgnored(a)};var f=mxConnectionHandler.prototype.isCreateTarget;\r\nmxConnectionHandler.prototype.isCreateTarget=function(a){return this.graph.isCloneEvent(a)||f.apply(this,arguments)};mxConstraintHandler.prototype.createHighlightShape=function(){var a=new mxEllipse(null,this.highlightColor,this.highlightColor,0);a.opacity=mxConstants.HIGHLIGHT_OPACITY;return a};mxConnectionHandler.prototype.livePreview=!0;mxConnectionHandler.prototype.cursor="crosshair";mxConnectionHandler.prototype.createEdgeState=function(a){a=this.graph.createCurrentEdgeStyle();a=this.graph.createEdge(null,\r\nnull,null,null,null,a);a=new mxCellState(this.graph.view,a,this.graph.getCellStyle(a));for(var b in this.graph.currentEdgeStyle)a.style[b]=this.graph.currentEdgeStyle[b];return a};var e=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.createShape=function(){var a=e.apply(this,arguments);a.isDashed="1"==this.graph.currentEdgeStyle[mxConstants.STYLE_DASHED];return a};mxConnectionHandler.prototype.updatePreview=function(a){};var h=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=\r\nfunction(){var a=h.apply(this,arguments),b=a.getCell;a.getCell=mxUtils.bind(this,function(a){var c=b.apply(this,arguments);this.error=null;return c});return a};Graph.prototype.defaultVertexStyle={};Graph.prototype.defaultEdgeStyle={edgeStyle:"orthogonalEdgeStyle",rounded:"0",jettySize:"auto",orthogonalLoop:"1"};Graph.prototype.createCurrentEdgeStyle=function(){for(var a="edgeStyle="+(this.currentEdgeStyle.edgeStyle||"none")+";",b="shape curved rounded comic sketch fillWeight hachureGap hachureAngle jiggle disableMultiStroke disableMultiStrokeFill fillStyle curveFitting simplification comicStyle jumpStyle jumpSize".split(" "),\r\nc=0;c<b.length;c++)null!=this.currentEdgeStyle[b[c]]&&(a+=b[c]+"="+this.currentEdgeStyle[b[c]]+";");null!=this.currentEdgeStyle.orthogonalLoop?a+="orthogonalLoop="+this.currentEdgeStyle.orthogonalLoop+";":null!=Graph.prototype.defaultEdgeStyle.orthogonalLoop&&(a+="orthogonalLoop="+Graph.prototype.defaultEdgeStyle.orthogonalLoop+";");null!=this.currentEdgeStyle.jettySize?a+="jettySize="+this.currentEdgeStyle.jettySize+";":null!=Graph.prototype.defaultEdgeStyle.jettySize&&(a+="jettySize="+Graph.prototype.defaultEdgeStyle.jettySize+\r\n";");"elbowEdgeStyle"==this.currentEdgeStyle.edgeStyle&&null!=this.currentEdgeStyle.elbow&&(a+="elbow="+this.currentEdgeStyle.elbow+";");return a=null!=this.currentEdgeStyle.html?a+("html="+this.currentEdgeStyle.html+";"):a+"html=1;"};Graph.prototype.updateCellStyles=function(a,b,c){this.model.beginUpdate();try{for(var d=0;d<c.length;d++)if(this.model.isVertex(c[d])||this.model.isEdge(c[d])){this.setCellStyles(a,null,[c[d]]);var e=this.getCellStyle(c[d])[a];b!=(null==e?mxConstants.NONE:e)&&this.setCellStyles(a,\r\nb,[c[d]])}}finally{this.model.endUpdate()}};Graph.prototype.getPagePadding=function(){return new mxPoint(0,0)};Graph.prototype.loadStylesheet=function(){var a=null!=this.themes?this.themes[this.defaultThemeName]:mxStyleRegistry.dynamicLoading?mxUtils.load(STYLE_PATH+"/default.xml").getDocumentElement():null;null!=a&&(new mxCodec(a.ownerDocument)).decode(a,this.getStylesheet())};Graph.prototype.createCellLookup=function(a,b){b=null!=b?b:{};for(var c=0;c<a.length;c++){var d=a[c];b[mxObjectIdentity.get(d)]=\r\nd.getId();for(var e=this.model.getChildCount(d),f=0;f<e;f++)this.createCellLookup([this.model.getChildAt(d,f)],b)}return b};Graph.prototype.createCellMapping=function(a,b,c){c=null!=c?c:{};for(var d in a){var e=b[d];null==c[e]&&(c[e]=a[d].getId()||"")}return c};Graph.prototype.importGraphModel=function(a,b,c,d){b=null!=b?b:0;c=null!=c?c:0;var e=new mxCodec(a.ownerDocument),f=new mxGraphModel;e.decode(a,f);a=[];var e={},g={},k=f.getChildren(this.cloneCell(f.root,this.isCloneInvalidEdges(),e));if(null!=\r\nk){var h=this.createCellLookup([f.root]),k=k.slice();this.model.beginUpdate();try{if(1!=k.length||this.isCellLocked(this.getDefaultParent()))for(f=0;f<k.length;f++)K=this.model.getChildren(this.moveCells([k[f]],b,c,!1,this.model.getRoot())[0]),null!=K&&(a=a.concat(K));else{var K=f.getChildren(k[0]);null!=K&&(a=this.moveCells(K,b,c,!1,this.getDefaultParent()),g[f.getChildAt(f.root,0).getId()]=this.getDefaultParent().getId())}if(null!=a&&(this.createCellMapping(e,h,g),this.updateCustomLinks(g,a),d)){this.isGridEnabled()&&\r\n(b=this.snap(b),c=this.snap(c));var l=this.getBoundingBoxFromGeometry(a,!0);null!=l&&this.moveCells(a,b-l.x,c-l.y)}}finally{this.model.endUpdate()}}return a};Graph.prototype.encodeCells=function(a){for(var b={},c=this.cloneCells(a,null,b),d=new mxDictionary,e=0;e<a.length;e++)d.put(a[e],!0);for(var f=new mxCodec,g=new mxGraphModel,k=g.getChildAt(g.getRoot(),0),e=0;e<c.length;e++){g.add(k,c[e]);var h=this.view.getState(a[e]);if(null!=h){var K=this.getCellGeometry(c[e]);null!=K&&K.relative&&!this.model.isEdge(a[e])&&\r\nnull==d.get(this.model.getParent(a[e]))&&(K.offset=null,K.relative=!1,K.x=h.x/h.view.scale-h.view.translate.x,K.y=h.y/h.view.scale-h.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(b,this.createCellLookup(a)),c);return f.encode(g)};Graph.prototype.isSwimlane=function(a,b){if(null!=a&&this.model.getParent(a)!=this.model.getRoot()&&!this.model.isEdge(a)){var c=this.getCurrentCellStyle(a,b)[mxConstants.STYLE_SHAPE];return c==mxConstants.SHAPE_SWIMLANE||"table"==c}return!1};var g=Graph.prototype.isExtendParent;\r\nGraph.prototype.isExtendParent=function(a){var b=this.model.getParent(a);if(null!=b){var c=this.getCurrentCellStyle(b);if(null!=c.expand)return"0"!=c.expand}return g.apply(this,arguments)&&(null==b||!this.isTable(b))};var k=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(a,b,c,d,e,f,g,h){null==h&&(h=this.model.getParent(a),this.isTable(h)||this.isTableRow(h))&&(h=this.getCellAt(f,g,null,!0,!1));c=null;this.model.beginUpdate();try{c=k.apply(this,[a,b,c,d,e,f,g,h]);this.model.setValue(c,\r\n"");var K=this.getChildCells(c,!0);for(b=0;b<K.length;b++){var l=this.getCellGeometry(K[b]);null!=l&&l.relative&&0<l.x&&this.model.remove(K[b])}var m=this.getChildCells(a,!0);for(b=0;b<m.length;b++)l=this.getCellGeometry(m[b]),null!=l&&l.relative&&0>=l.x&&this.model.remove(m[b]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,null,[c]);this.setCellStyles(mxConstants.STYLE_ENDARROW,mxConstants.NONE,[c]);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,null,[a]);this.setCellStyles(mxConstants.STYLE_STARTARROW,\r\nmxConstants.NONE,[a]);var n=this.model.getTerminal(c,!1);if(null!=n){var aa=this.getCurrentCellStyle(n);null!=aa&&"1"==aa.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[a]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[a]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[c]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[c]))}}finally{this.model.endUpdate()}return c};var l=Graph.prototype.selectCell;Graph.prototype.selectCell=function(a,b,c){if(b||c)l.apply(this,arguments);\r\nelse{var d=this.getSelectionCell(),e=null,f=[],g=mxUtils.bind(this,function(b){if(null!=this.view.getState(b)&&(this.model.isVertex(b)||this.model.isEdge(b)))if(f.push(b),b==d)e=f.length-1;else if(a&&null==d&&0<f.length||null!=e&&a&&f.length>e||!a&&0<e)return;for(var c=0;c<this.model.getChildCount(b);c++)g(this.model.getChildAt(b,c))});g(this.model.root);0<f.length&&(e=null!=e?mxUtils.mod(e+(a?1:-1),f.length):0,this.setSelectionCell(f[e]))}};var m=Graph.prototype.moveCells;Graph.prototype.moveCells=\r\nfunction(a,b,c,d,e,f,g){g=null!=g?g:{};if(this.isTable(e)){for(var k=[],h=0;h<a.length;h++)this.isTable(a[h])?k=k.concat(this.model.getChildCells(a[h],!0).reverse()):k.push(a[h]);a=k}this.model.beginUpdate();try{k=[];for(h=0;h<a.length;h++)if(null!=e&&this.isTableRow(a[h])){var K=this.model.getParent(a[h]),l=this.getCellGeometry(a[h]);this.isTable(K)&&k.push(K);if(null!=K&&null!=l&&this.isTable(K)&&this.isTable(e)&&(d||K!=e)){if(!d){var n=this.getCellGeometry(K);null!=n&&(n=n.clone(),n.height-=l.height,\r\nthis.model.setGeometry(K,n))}n=this.getCellGeometry(e);null!=n&&(n=n.clone(),n.height+=l.height,this.model.setGeometry(e,n));var aa=this.model.getChildCells(e,!0);if(0<aa.length){a[h]=d?this.cloneCell(a[h]):a[h];var ca=this.model.getChildCells(a[h],!0),p=this.model.getChildCells(aa[0],!0),U=p.length-ca.length;if(0<U)for(var r=0;r<U;r++){var Y=this.cloneCell(ca[ca.length-1]);null!=Y&&(Y.value="",this.model.add(a[h],Y))}else if(0>U)for(r=0;r>U;r--)this.model.remove(ca[ca.length+r-1]);ca=this.model.getChildCells(a[h],\r\n!0);for(r=0;r<p.length;r++){var t=this.getCellGeometry(p[r]),la=this.getCellGeometry(ca[r]);null!=t&&null!=la&&(la=la.clone(),la.width=t.width,this.model.setGeometry(ca[r],la))}}}}for(var u=m.apply(this,arguments),h=0;h<k.length;h++)!d&&this.model.contains(k[h])&&0==this.model.getChildCount(k[h])&&this.model.remove(k[h]);d&&this.updateCustomLinks(this.createCellMapping(g,this.createCellLookup(a)),u)}finally{this.model.endUpdate()}return u};var n=Graph.prototype.removeCells;Graph.prototype.removeCells=\r\nfunction(a,b){var c=[];this.model.beginUpdate();try{for(var d=0;d<a.length;d++)if(this.isTableCell(a[d])){var e=this.model.getParent(a[d]),f=this.model.getParent(e);1==this.model.getChildCount(e)&&1==this.model.getChildCount(f)?0>mxUtils.indexOf(a,f)&&0>mxUtils.indexOf(c,f)&&c.push(f):this.labelChanged(a[d],"")}else{if(this.isTableRow(a[d])&&(f=this.model.getParent(a[d]),0>mxUtils.indexOf(a,f)&&0>mxUtils.indexOf(c,f))){for(var g=this.model.getChildCells(f,!0),k=0,h=0;h<g.length;h++)0<=mxUtils.indexOf(a,\r\ng[h])&&k++;k==g.length&&c.push(f)}c.push(a[d])}c=n.apply(this,[c,b])}finally{this.model.endUpdate()}return c};Graph.prototype.updateCustomLinks=function(a,b){for(var c=0;c<b.length;c++)null!=b[c]&&this.updateCustomLinksForCell(a,b[c])};Graph.prototype.updateCustomLinksForCell=function(a,b){};Graph.prototype.getAllConnectionConstraints=function(a,b){if(null!=a){var c=mxUtils.getValue(a.style,"points",null);if(null!=c){var d=[];try{for(var e=JSON.parse(c),c=0;c<e.length;c++){var f=e[c];d.push(new mxConnectionConstraint(new mxPoint(f[0],\r\nf[1]),2<f.length?"0"!=f[2]:!0,null,3<f.length?f[3]:0,4<f.length?f[4]:0))}}catch(Ba){}return d}if(null!=a.shape&&null!=a.shape.bounds){f=a.shape.direction;e=a.shape.bounds;c=a.shape.scale;d=e.width/c;e=e.height/c;if(f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTION_SOUTH)f=d,d=e,e=f;c=a.shape.getConstraints(a.style,d,e);if(null!=c)return c;if(null!=a.shape.stencil&&null!=a.shape.stencil.constraints)return a.shape.stencil.constraints;if(null!=a.shape.constraints)return a.shape.constraints}}return null};\r\nGraph.prototype.flipEdge=function(a){if(null!=a){var b=this.getCurrentCellStyle(a),b=mxUtils.getValue(b,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL)==mxConstants.ELBOW_HORIZONTAL?mxConstants.ELBOW_VERTICAL:mxConstants.ELBOW_HORIZONTAL;this.setCellStyles(mxConstants.STYLE_ELBOW,b,[a])}};Graph.prototype.isValidRoot=function(a){for(var b=this.model.getChildCount(a),c=0,d=0;d<b;d++){var e=this.model.getChildAt(a,d);this.model.isVertex(e)&&(e=this.getCellGeometry(e),null==e||e.relative||c++)}return 0<\r\nc||this.isContainer(a)};Graph.prototype.isValidDropTarget=function(a,b,c){for(var d=this.getCurrentCellStyle(a),e=!0,f=!0,g=0;g<b.length&&f;g++)e=e&&this.isTable(b[g]),f=f&&this.isTableRow(b[g]);return("1"!=mxUtils.getValue(d,"part","0")||this.isContainer(a))&&"0"!=mxUtils.getValue(d,"dropTarget","1")&&(mxGraph.prototype.isValidDropTarget.apply(this,arguments)||this.isContainer(a))&&!this.isTableRow(a)&&(!this.isTable(a)||f||e)};Graph.prototype.createGroupCell=function(){var a=mxGraph.prototype.createGroupCell.apply(this,\r\narguments);a.setStyle("group");return a};Graph.prototype.isExtendParentsOnAdd=function(a){var b=mxGraph.prototype.isExtendParentsOnAdd.apply(this,arguments);if(b&&null!=a&&null!=this.layoutManager){var c=this.model.getParent(a);null!=c&&(c=this.layoutManager.getLayout(c),null!=c&&c.constructor==mxStackLayout&&(b=!1))}return b};Graph.prototype.getPreferredSizeForCell=function(a){var b=mxGraph.prototype.getPreferredSizeForCell.apply(this,arguments);null!=b&&(b.width+=10,b.height+=4,this.gridEnabled&&\r\n(b.width=this.snap(b.width),b.height=this.snap(b.height)));return b};Graph.prototype.turnShapes=function(a,b){var c=this.getModel(),d=[];c.beginUpdate();try{for(var e=0;e<a.length;e++){var f=a[e];if(c.isEdge(f)){var g=c.getTerminal(f,!0),k=c.getTerminal(f,!1);c.setTerminal(f,k,!0);c.setTerminal(f,g,!1);var h=c.getGeometry(f);if(null!=h){h=h.clone();null!=h.points&&h.points.reverse();var K=h.getTerminalPoint(!0),l=h.getTerminalPoint(!1);h.setTerminalPoint(K,!1);h.setTerminalPoint(l,!0);c.setGeometry(f,\r\nh);var m=this.view.getState(f),n=this.view.getState(g),aa=this.view.getState(k);if(null!=m){var p=null!=n?this.getConnectionConstraint(m,n,!0):null,r=null!=aa?this.getConnectionConstraint(m,aa,!1):null;this.setConnectionConstraint(f,g,!0,r);this.setConnectionConstraint(f,k,!1,p);var t=mxUtils.getValue(m.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(m.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING),[f]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,\r\nt,[f])}d.push(f)}}else if(c.isVertex(f)&&(h=this.getCellGeometry(f),null!=h)){if(!(this.isTable(f)||this.isTableRow(f)||this.isTableCell(f)||this.isSwimlane(f))){h=h.clone();h.x+=h.width/2-h.height/2;h.y+=h.height/2-h.width/2;var u=h.width;h.width=h.height;h.height=u;c.setGeometry(f,h)}var v=this.view.getState(f);if(null!=v){var y=[mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],z=mxUtils.getValue(v.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);\r\nthis.setCellStyles(mxConstants.STYLE_DIRECTION,y[mxUtils.mod(mxUtils.indexOf(y,z)+(b?-1:1),y.length)],[f])}d.push(f)}}}finally{c.endUpdate()}return d};Graph.prototype.stencilHasPlaceholders=function(a){if(null!=a&&null!=a.fgNode)for(a=a.fgNode.firstChild;null!=a;){if("text"==a.nodeName&&"1"==a.getAttribute("placeholders"))return!0;a=a.nextSibling}return!1};var p=Graph.prototype.processChange;Graph.prototype.processChange=function(a){if(a instanceof mxGeometryChange&&(this.isTableCell(a.cell)||this.isTableRow(a.cell))&&\r\n(null==a.previous&&null!=a.geometry||null!=a.previous&&!a.previous.equals(a.geometry))){var b=a.cell;this.isTableCell(b)&&(b=this.model.getParent(b));this.isTableRow(b)&&(b=this.model.getParent(b));var c=this.view.getState(b);null!=c&&null!=c.shape&&(this.view.invalidate(b),c.shape.bounds=null)}p.apply(this,arguments);a instanceof mxValueChange&&null!=a.cell&&null!=a.cell.value&&"object"==typeof a.cell.value&&this.invalidateDescendantsWithPlaceholders(a.cell)};Graph.prototype.invalidateDescendantsWithPlaceholders=\r\nfunction(a){a=this.model.getDescendants(a);if(0<a.length)for(var b=0;b<a.length;b++){var c=this.view.getState(a[b]);null!=c&&null!=c.shape&&null!=c.shape.stencil&&this.stencilHasPlaceholders(c.shape.stencil)?this.removeStateForCell(a[b]):this.isReplacePlaceholders(a[b])&&this.view.invalidate(a[b],!1,!1)}};Graph.prototype.replaceElement=function(a,b){for(var c=a.ownerDocument.createElement(null!=b?b:"span"),d=Array.prototype.slice.call(a.attributes);attr=d.pop();)c.setAttribute(attr.nodeName,attr.nodeValue);\r\nc.innerHTML=a.innerHTML;a.parentNode.replaceChild(c,a)};Graph.prototype.processElements=function(a,b){if(null!=a)for(var c=a.getElementsByTagName("*"),d=0;d<c.length;d++)b(c[d])};Graph.prototype.updateLabelElements=function(a,b,c){a=null!=a?a:this.getSelectionCells();for(var d=document.createElement("div"),e=0;e<a.length;e++)if(this.isHtmlLabel(a[e])){var f=this.convertValueToString(a[e]);if(null!=f&&0<f.length){d.innerHTML=f;for(var g=d.getElementsByTagName(null!=c?c:"*"),k=0;k<g.length;k++)b(g[k]);\r\nd.innerHTML!=f&&this.cellLabelChanged(a[e],d.innerHTML)}}};Graph.prototype.cellLabelChanged=function(a,b,c){b=Graph.zapGremlins(b);this.model.beginUpdate();try{if(null!=a.value&&"object"==typeof a.value){if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder"))for(var d=a.getAttribute("placeholder"),e=a;null!=e;){if(e==this.model.getRoot()||null!=e.value&&"object"==typeof e.value&&e.hasAttribute(d)){this.setAttributeForCell(e,d,b);break}e=this.model.getParent(e)}var f=a.value.cloneNode(!0);\r\nGraph.translateDiagram&&null!=Graph.diagramLanguage&&f.hasAttribute("label_"+Graph.diagramLanguage)?f.setAttribute("label_"+Graph.diagramLanguage,b):f.setAttribute("label",b);b=f}mxGraph.prototype.cellLabelChanged.apply(this,arguments)}finally{this.model.endUpdate()}};Graph.prototype.cellsRemoved=function(a){if(null!=a){for(var b=new mxDictionary,c=0;c<a.length;c++)b.put(a[c],!0);for(var d=[],c=0;c<a.length;c++){var e=this.model.getParent(a[c]);null==e||b.get(e)||(b.put(e,!0),d.push(e))}for(c=0;c<\r\nd.length;c++)if(e=this.view.getState(d[c]),null!=e&&(this.model.isEdge(e.cell)||this.model.isVertex(e.cell))&&this.isCellDeletable(e.cell)&&this.isTransparentState(e)){for(var f=!0,g=0;g<this.model.getChildCount(e.cell)&&f;g++)b.get(this.model.getChildAt(e.cell,g))||(f=!1);f&&a.push(e.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(a){for(var b=[],c=0;c<a.length;c++)this.isCellDeletable(a[c])&&this.isTransparentState(this.view.getState(a[c]))&&\r\nb.push(a[c]);a=b;mxGraph.prototype.removeCellsAfterUngroup.apply(this,arguments)};Graph.prototype.setLinkForCell=function(a,b){this.setAttributeForCell(a,"link",b)};Graph.prototype.setTooltipForCell=function(a,b){var c="tooltip";Graph.translateDiagram&&null!=Graph.diagramLanguage&&mxUtils.isNode(a.value)&&a.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(c="tooltip_"+Graph.diagramLanguage);this.setAttributeForCell(a,c,b)};Graph.prototype.getAttributeForCell=function(a,b,c){a=null!=a.value&&\r\n"object"===typeof a.value?a.value.getAttribute(b):null;return null!=a?a:c};Graph.prototype.setAttributeForCell=function(a,b,c){var d;null!=a.value&&"object"==typeof a.value?d=a.value.cloneNode(!0):(d=mxUtils.createXmlDocument().createElement("UserObject"),d.setAttribute("label",a.value||""));null!=c?d.setAttribute(b,c):d.removeAttribute(b);this.model.setValue(a,d)};var t=Graph.prototype.getDropTarget;Graph.prototype.getDropTarget=function(a,b,c,d){this.getModel();if(mxEvent.isAltDown(b))return null;\r\nfor(var e=0;e<a.length;e++){var f=this.model.getParent(a[e]);if(this.model.isEdge(f)&&0>mxUtils.indexOf(a,f))return null}for(var f=t.apply(this,arguments),g=!0,e=0;e<a.length&&g;e++)g=g&&this.isTableRow(a[e]);g&&(this.isTableCell(f)&&(f=this.model.getParent(f)),this.isTableRow(f)&&(f=this.model.getParent(f)),this.isTable(f)||(f=null));return f};Graph.prototype.click=function(a){mxGraph.prototype.click.call(this,a);this.firstClickState=a.getState();this.firstClickSource=a.getSource()};Graph.prototype.dblClick=\r\nfunction(a,b){this.isEnabled()&&(b=this.insertTextForEvent(a,b),mxGraph.prototype.dblClick.call(this,a,b))};Graph.prototype.insertTextForEvent=function(a,b){var c=mxUtils.convertPoint(this.container,mxEvent.getClientX(a),mxEvent.getClientY(a));if(null!=a&&!this.model.isVertex(b)){var d=this.model.isEdge(b)?this.view.getState(b):null,e=mxEvent.getSource(a);this.firstClickState!=d||this.firstClickSource!=e||null!=d&&null!=d.text&&null!=d.text.node&&null!=d.text.boundingBox&&(mxUtils.contains(d.text.boundingBox,\r\nc.x,c.y)||mxUtils.isAncestorNode(d.text.node,mxEvent.getSource(a)))||(null!=d||this.isCellLocked(this.getDefaultParent()))&&(null==d||this.isCellLocked(d.cell))||!(null!=d||mxClient.IS_SVG&&e==this.view.getCanvas().ownerSVGElement)||(null==d&&(d=this.view.getState(this.getCellAt(c.x,c.y))),b=this.addText(c.x,c.y,d))}return b};Graph.prototype.getInsertPoint=function(){var a=this.getGridSize(),b=this.container.scrollLeft/this.view.scale-this.view.translate.x,c=this.container.scrollTop/this.view.scale-\r\nthis.view.translate.y;if(this.pageVisible)var d=this.getPageLayout(),e=this.getPageSize(),b=Math.max(b,d.x*e.width),c=Math.max(c,d.y*e.height);return new mxPoint(this.snap(b+a),this.snap(c+a))};Graph.prototype.getFreeInsertPoint=function(){var a=this.view,b=this.getGraphBounds(),c=this.getInsertPoint(),d=this.snap(Math.round(Math.max(c.x,b.x/a.scale-a.translate.x+(0==b.width?2*this.gridSize:0)))),a=this.snap(Math.round(Math.max(c.y,(b.y+b.height)/a.scale-a.translate.y+2*this.gridSize)));return new mxPoint(d,\r\na)};Graph.prototype.getCenterInsertPoint=function(a){a=null!=a?a:new mxRectangle;return mxUtils.hasScrollbars(this.container)?new mxPoint(this.snap(Math.round((this.container.scrollLeft+this.container.clientWidth/2)/this.view.scale-this.view.translate.x-a.width/2)),this.snap(Math.round((this.container.scrollTop+this.container.clientHeight/2)/this.view.scale-this.view.translate.y-a.height/2))):new mxPoint(this.snap(Math.round(this.container.clientWidth/2/this.view.scale-this.view.translate.x-a.width/\r\n2)),this.snap(Math.round(this.container.clientHeight/2/this.view.scale-this.view.translate.y-a.height/2)))};Graph.prototype.isMouseInsertPoint=function(){return!1};Graph.prototype.addText=function(a,b,c){var d=new mxCell;d.value="Text";d.geometry=new mxGeometry(0,0,0,0);d.vertex=!0;if(null!=c&&this.model.isEdge(c.cell)){d.style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];";d.geometry.relative=!0;d.connectable=!1;var e=this.view.getRelativePoint(c,a,b);d.geometry.x=Math.round(1E4*\r\ne.x)/1E4;d.geometry.y=Math.round(e.y);d.geometry.offset=new mxPoint(0,0);var e=this.view.getPoint(c,d.geometry),f=this.view.scale;d.geometry.offset=new mxPoint(Math.round((a-e.x)/f),Math.round((b-e.y)/f))}else e=this.view.translate,d.style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];",d.geometry.width=40,d.geometry.height=20,d.geometry.x=Math.round(a/this.view.scale)-e.x-(null!=c?c.origin.x:0),d.geometry.y=Math.round(b/this.view.scale)-e.y-(null!=c?c.origin.y:0),d.style+=\r\n"autosize=1;";this.getModel().beginUpdate();try{this.addCells([d],null!=c?c.cell:null),this.fireEvent(new mxEventObject("textInserted","cells",[d])),this.autoSizeCell(d)}finally{this.getModel().endUpdate()}return d};Graph.prototype.addClickHandler=function(a,b,c){var d=mxUtils.bind(this,function(){var a=this.container.getElementsByTagName("a");if(null!=a)for(var c=0;c<a.length;c++){var d=this.getAbsoluteUrl(a[c].getAttribute("href"));null!=d&&(a[c].setAttribute("rel",this.linkRelation),a[c].setAttribute("href",\r\nd),null!=b&&mxEvent.addGestureListeners(a[c],null,null,b))}});this.model.addListener(mxEvent.CHANGE,d);d();var e=this.container.style.cursor,f=this.getTolerance(),g=this,k={currentState:null,currentLink:null,currentTarget:null,highlight:null!=a&&""!=a&&a!=mxConstants.NONE?new mxCellHighlight(g,a,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(a){var b=a.sourceState;if(null==b||null==g.getLinkForCell(b.cell))a=g.getCellAt(a.getGraphX(),a.getGraphY(),null,null,null,function(a,\r\nb,c){return null==g.getLinkForCell(a.cell)}),b=g.view.getState(a);b!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=b,null!=this.currentState&&this.activate(this.currentState))},mouseDown:function(a,b){this.startX=b.getGraphX();this.startY=b.getGraphY();this.scrollLeft=g.container.scrollLeft;this.scrollTop=g.container.scrollTop;null==this.currentLink&&"auto"==g.container.style.overflow&&(g.container.style.cursor="move");this.updateCurrentState(b)},mouseMove:function(a,\r\nb){if(g.isMouseDown){if(null!=this.currentLink){var c=Math.abs(this.startX-b.getGraphX()),d=Math.abs(this.startY-b.getGraphY());(c>f||d>f)&&this.clear()}}else{for(c=b.getSource();null!=c&&"a"!=c.nodeName.toLowerCase();)c=c.parentNode;null!=c?this.clear():(null!=g.tooltipHandler&&null!=this.currentLink&&null!=this.currentState&&g.tooltipHandler.reset(b,!0,this.currentState),(null==this.currentState||b.getState()!=this.currentState&&null!=b.sourceState||!g.intersects(this.currentState,b.getGraphX(),\r\nb.getGraphY()))&&this.updateCurrentState(b))}},mouseUp:function(a,d){for(var e=d.getSource(),k=d.getEvent();null!=e&&"a"!=e.nodeName.toLowerCase();)e=e.parentNode;null==e&&Math.abs(this.scrollLeft-g.container.scrollLeft)<f&&Math.abs(this.scrollTop-g.container.scrollTop)<f&&(null==d.sourceState||!d.isSource(d.sourceState.control))&&((mxEvent.isLeftMouseButton(k)||mxEvent.isMiddleMouseButton(k))&&!mxEvent.isPopupTrigger(k)||mxEvent.isTouchEvent(k))&&(null!=this.currentLink?(e=g.isBlankLink(this.currentLink),\r\n"data:"!==this.currentLink.substring(0,5)&&e||null==b||b(k,this.currentLink),mxEvent.isConsumed(k)||(k=null!=this.currentTarget?this.currentTarget:mxEvent.isMiddleMouseButton(k)?"_blank":e?g.linkTarget:"_top",g.openLink(this.currentLink,k),d.consume())):null!=c&&!d.isConsumed()&&Math.abs(this.scrollLeft-g.container.scrollLeft)<f&&Math.abs(this.scrollTop-g.container.scrollTop)<f&&Math.abs(this.startX-d.getGraphX())<f&&Math.abs(this.startY-d.getGraphY())<f&&c(d.getEvent()));this.clear()},activate:function(a){this.currentLink=\r\ng.getAbsoluteUrl(g.getLinkForCell(a.cell));null!=this.currentLink&&(this.currentTarget=g.getLinkTargetForCell(a.cell),g.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(a))},clear:function(){null!=g.container&&(g.container.style.cursor=e);this.currentLink=this.currentState=this.currentTarget=null;null!=this.highlight&&this.highlight.hide();null!=g.tooltipHandler&&g.tooltipHandler.hide()}};g.click=function(a){};g.addMouseListener(k);mxEvent.addListener(document,"mouseleave",\r\nfunction(a){k.clear()})};Graph.prototype.duplicateCells=function(a,b){a=null!=a?a:this.getSelectionCells();b=null!=b?b:!0;for(var c=0;c<a.length;c++)this.isTableCell(a[c])&&(a[c]=this.model.getParent(a[c]));a=this.model.getTopmostCells(a);var d=this.getModel(),e=this.gridSize,f=[];d.beginUpdate();try{for(var g=this.cloneCells(a,!1,null,!0),c=0;c<a.length;c++){var k=d.getParent(a[c]),h=this.moveCells([g[c]],e,e,!1)[0];f.push(h);if(b)d.add(k,g[c]);else{var l=k.getIndex(a[c]);d.add(k,g[c],l+1)}if(this.isTable(k)){var m=\r\nthis.getCellGeometry(g[c]),n=this.getCellGeometry(k);null!=m&&null!=n&&(n=n.clone(),n.height+=m.height,d.setGeometry(k,n))}}}finally{d.endUpdate()}return f};Graph.prototype.insertImage=function(a,b,c){if(null!=a&&null!=this.cellEditor.textarea){for(var d=this.cellEditor.textarea.getElementsByTagName("img"),e=[],f=0;f<d.length;f++)e.push(d[f]);document.execCommand("insertimage",!1,a);a=this.cellEditor.textarea.getElementsByTagName("img");if(a.length==e.length+1)for(f=a.length-1;0<=f;f--)if(0==f||a[f]!=\r\ne[f-1]){a[f].setAttribute("width",b);a[f].setAttribute("height",c);break}}};Graph.prototype.insertLink=function(a){if(null!=this.cellEditor.textarea)if(0==a.length)document.execCommand("unlink",!1);else if(mxClient.IS_FF){for(var b=this.cellEditor.textarea.getElementsByTagName("a"),c=[],d=0;d<b.length;d++)c.push(b[d]);document.execCommand("createlink",!1,mxUtils.trim(a));b=this.cellEditor.textarea.getElementsByTagName("a");if(b.length==c.length+1)for(d=b.length-1;0<=d;d--)if(b[d]!=c[d-1]){for(b=b[d].getElementsByTagName("a");0<\r\nb.length;){for(c=b[0].parentNode;null!=b[0].firstChild;)c.insertBefore(b[0].firstChild,b[0]);c.removeChild(b[0])}break}}else document.execCommand("createlink",!1,mxUtils.trim(a))};Graph.prototype.isCellResizable=function(a){var b=mxGraph.prototype.isCellResizable.apply(this,arguments),c=this.getCurrentCellStyle(a);return!this.isTableCell(a)&&!this.isTableRow(a)&&(b||"0"!=mxUtils.getValue(c,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==c[mxConstants.STYLE_WHITE_SPACE])};Graph.prototype.distributeCells=\r\nfunction(a,b){null==b&&(b=this.getSelectionCells());if(null!=b&&1<b.length){for(var c=[],d=null,e=null,f=0;f<b.length;f++)if(this.getModel().isVertex(b[f])){var g=this.view.getState(b[f]);if(null!=g){var k=a?g.getCenterX():g.getCenterY(),d=null!=d?Math.max(d,k):k,e=null!=e?Math.min(e,k):k;c.push(g)}}if(2<c.length){c.sort(function(b,c){return a?b.x-c.x:b.y-c.y});g=this.view.translate;k=this.view.scale;e=e/k-(a?g.x:g.y);d=d/k-(a?g.x:g.y);this.getModel().beginUpdate();try{for(var h=(d-e)/(c.length-1),\r\nd=e,f=1;f<c.length-1;f++){var l=this.view.getState(this.model.getParent(c[f].cell)),m=this.getCellGeometry(c[f].cell),d=d+h;null!=m&&null!=l&&(m=m.clone(),a?m.x=Math.round(d-m.width/2)-l.origin.x:m.y=Math.round(d-m.height/2)-l.origin.y,this.getModel().setGeometry(c[f].cell,m))}}finally{this.getModel().endUpdate()}}}return b};Graph.prototype.isCloneEvent=function(a){return mxClient.IS_MAC&&mxEvent.isMetaDown(a)||mxEvent.isControlDown(a)};Graph.prototype.createSvgImageExport=function(){var a=new mxImageExport;\r\na.getLinkForCellState=mxUtils.bind(this,function(a,b){return this.getLinkForCell(a.cell)});return a};Graph.prototype.getSvg=function(a,b,c,d,e,f,g,k,h,l,m,n,p,r){var K=null;if(null!=r)for(K=new mxDictionary,m=0;m<r.length;m++)K.put(r[m],!0);if(r=this.useCssTransforms)this.useCssTransforms=!1,this.view.revalidate(),this.sizeDidChange();try{b=null!=b?b:1;c=null!=c?c:0;e=null!=e?e:!0;f=null!=f?f:!0;g=null!=g?g:!0;var aa="page"==p?this.view.getBackgroundPageBounds():f&&null==K||d||"diagram"==p?this.getGraphBounds():\r\nthis.getBoundingBox(this.getSelectionCells());if(null==aa)throw Error(mxResources.get("drawingEmpty"));var ca=this.view.scale,t=mxUtils.createXmlDocument(),U=null!=t.createElementNS?t.createElementNS(mxConstants.NS_SVG,"svg"):t.createElement("svg");null!=a&&(null!=U.style?U.style.backgroundColor=a:U.setAttribute("style","background-color:"+a));null==t.createElementNS?(U.setAttribute("xmlns",mxConstants.NS_SVG),U.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):U.setAttributeNS("http://www.w3.org/2000/xmlns/",\r\n"xmlns:xlink",mxConstants.NS_XLINK);a=b/ca;var u=Math.max(1,Math.ceil(aa.width*a)+2*c)+(l?5:0),y=Math.max(1,Math.ceil(aa.height*a)+2*c)+(l?5:0);U.setAttribute("version","1.1");U.setAttribute("width",u+"px");U.setAttribute("height",y+"px");U.setAttribute("viewBox",(e?"-0.5 -0.5":"0 0")+" "+u+" "+y);t.appendChild(U);var v=null!=t.createElementNS?t.createElementNS(mxConstants.NS_SVG,"g"):t.createElement("g");U.appendChild(v);var Y=this.createSvgCanvas(v);Y.foOffset=e?-.5:0;Y.textOffset=e?-.5:0;Y.imageOffset=\r\ne?-.5:0;Y.translate(Math.floor(c/b-aa.x/ca),Math.floor(c/b-aa.y/ca));var z=document.createElement("div"),w=Y.getAlternateText;Y.getAlternateText=function(a,b,c,d,e,f,g,k,h,l,m,n,q){if(null!=f&&0<this.state.fontSize)try{mxUtils.isNode(f)?f=f.innerText:(z.innerHTML=f,f=mxUtils.extractTextWithWhitespace(z.childNodes));for(var D=Math.ceil(2*d/this.state.fontSize),C=[],A=0,F=0;(0==D||A<D)&&F<f.length;){var J=f.charCodeAt(F);if(10==J||13==J){if(0<A)break}else C.push(f.charAt(F)),255>J&&A++;F++}C.length<\r\nf.length&&1<f.length-C.length&&(f=mxUtils.trim(C.join(""))+"...");return f}catch(cb){return w.apply(this,arguments)}else return w.apply(this,arguments)};var H=this.backgroundImage;if(null!=H){b=ca/b;var S=this.view.translate,x=new mxRectangle(S.x*b,S.y*b,H.width*b,H.height*b);mxUtils.intersects(aa,x)&&Y.image(S.x,S.y,H.width,H.height,H.src,!0)}Y.scale(a);Y.textEnabled=g;k=null!=k?k:this.createSvgImageExport();var la=k.drawCellState,I=k.getLinkForCellState;k.getLinkForCellState=function(a,b){var c=\r\nI.apply(this,arguments);return null==c||a.view.graph.isCustomLink(c)?null:c};k.getLinkTargetForCellState=function(a,b){return a.view.graph.getLinkTargetForCell(a.cell)};k.drawCellState=function(a,b){for(var c=a.view.graph,d=null!=K?K.get(a.cell):c.isCellSelected(a.cell),e=c.model.getParent(a.cell);!(f&&null==K||d)&&null!=e;)d=null!=K?K.get(e):c.isCellSelected(e),e=c.model.getParent(e);(f&&null==K||d)&&la.apply(this,arguments)};k.drawState(this.getView().getState(this.model.root),Y);this.updateSvgLinks(U,\r\nh,!0);this.addForeignObjectWarning(Y,U);return U}finally{r&&(this.useCssTransforms=!0,this.view.revalidate(),this.sizeDidChange())}};Graph.prototype.addForeignObjectWarning=function(a,b){if("0"!=urlParams["svg-warning"]&&0<b.getElementsByTagName("foreignObject").length){var c=a.createElement("switch"),d=a.createElement("g");d.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility");var e=a.createElement("a");e.setAttribute("transform","translate(0,-5)");null==e.setAttributeNS||\r\nb.ownerDocument!=document&&null==document.documentMode?(e.setAttribute("xlink:href",Graph.foreignObjectWarningLink),e.setAttribute("target","_blank")):(e.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",Graph.foreignObjectWarningLink),e.setAttributeNS(mxConstants.NS_XLINK,"target","_blank"));var f=a.createElement("text");f.setAttribute("text-anchor","middle");f.setAttribute("font-size","10px");f.setAttribute("x","50%");f.setAttribute("y","100%");mxUtils.write(f,Graph.foreignObjectWarningText);c.appendChild(d);\r\ne.appendChild(f);c.appendChild(e);b.appendChild(c)}};Graph.prototype.updateSvgLinks=function(a,b,c){a=a.getElementsByTagName("a");for(var d=0;d<a.length;d++)if(null==a[d].getAttribute("target")){var e=a[d].getAttribute("href");null==e&&(e=a[d].getAttribute("xlink:href"));null!=e&&(null!=b&&/^https?:\\/\\//.test(e)?a[d].setAttribute("target",b):c&&this.isCustomLink(e)&&a[d].setAttribute("href","javascript:void(0);"))}};Graph.prototype.createSvgCanvas=function(a){a=new mxSvgCanvas2D(a);a.pointerEvents=\r\n!0;return a};Graph.prototype.getSelectedElement=function(){var a=null;if(window.getSelection){var b=window.getSelection();b.getRangeAt&&b.rangeCount&&(a=b.getRangeAt(0).commonAncestorContainer)}else document.selection&&(a=document.selection.createRange().parentElement());return a};Graph.prototype.getSelectedEditingElement=function(){for(var a=this.getSelectedElement();null!=a&&a.nodeType!=mxConstants.NODETYPE_ELEMENT;)a=a.parentNode;null!=a&&a==this.cellEditor.textarea&&1==this.cellEditor.textarea.children.length&&\r\nthis.cellEditor.textarea.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT&&(a=this.cellEditor.textarea.firstChild);return a};Graph.prototype.getParentByName=function(a,b,c){for(;null!=a&&a.nodeName!=b;){if(a==c)return null;a=a.parentNode}return a};Graph.prototype.getParentByNames=function(a,b,c){for(;null!=a&&!(0<=mxUtils.indexOf(b,a.nodeName));){if(a==c)return null;a=a.parentNode}return a};Graph.prototype.selectNode=function(a){var b=null;if(window.getSelection){if(b=window.getSelection(),b.getRangeAt&&\r\nb.rangeCount){var c=document.createRange();c.selectNode(a);b.removeAllRanges();b.addRange(c)}}else(b=document.selection)&&"Control"!=b.type&&(a=b.createRange(),a.collapse(!0),c=b.createRange(),c.setEndPoint("StartToStart",a),c.select())};Graph.prototype.deleteCells=function(a,b){var c=null;if(null!=a&&0<a.length){this.model.beginUpdate();try{for(var d=0;d<a.length;d++){var e=this.model.getParent(a[d]);if(this.isTable(e)){var f=this.getCellGeometry(a[d]),g=this.getCellGeometry(e);null!=f&&null!=g&&\r\n(g=g.clone(),g.height-=f.height,this.model.setGeometry(e,g))}}var k=this.selectParentAfterDelete?this.model.getParents(a):null;this.removeCells(a,b)}finally{this.model.endUpdate()}if(null!=k)for(c=[],d=0;d<k.length;d++)this.model.contains(k[d])&&(this.model.isVertex(k[d])||this.model.isEdge(k[d]))&&c.push(k[d])}return c};Graph.prototype.insertTableColumn=function(a,b){var c=this.getModel();c.beginUpdate();try{var d=a,e=0;if(this.isTableCell(a))var f=c.getParent(a),d=c.getParent(f),e=mxUtils.indexOf(c.getChildCells(f,\r\n!0),a);else this.isTableRow(a)?d=c.getParent(a):a=c.getChildCells(d,!0)[0],b||(e=c.getChildCells(a,!0).length-1);for(var g=c.getChildCells(d,!0),k=Graph.minTableColumnWidth,f=0;f<g.length;f++){var h=c.getChildCells(g[f],!0)[e],l=c.cloneCell(h,!1),m=this.getCellGeometry(l);l.value=null;if(null!=m){var k=m.width,n=this.getCellGeometry(g[f]);null!=n&&(m.height=n.height)}c.add(g[f],l,e+(b?0:1))}var K=this.getCellGeometry(d);null!=K&&(K=K.clone(),K.width+=k,c.setGeometry(d,K))}finally{c.endUpdate()}};\r\nGraph.prototype.insertTableRow=function(a,b){var c=this.getModel();c.beginUpdate();try{var d=a,e=a;if(this.isTableCell(a))e=c.getParent(a),d=c.getParent(e);else if(this.isTableRow(a))d=c.getParent(a);else var f=c.getChildCells(d,!0),e=f[b?0:f.length-1];var g=c.getChildCells(e,!0),k=d.getIndex(e),e=c.cloneCell(e,!1);e.value=null;var h=this.getCellGeometry(e);if(null!=h){for(f=0;f<g.length;f++){a=c.cloneCell(g[f],!1);e.insert(a);a.value=null;var l=this.getCellGeometry(a);null!=l&&(l.height=h.height)}c.add(d,\r\ne,k+(b?0:1));var m=this.getCellGeometry(d);null!=m&&(m=m.clone(),m.height+=h.height,c.setGeometry(d,m))}}finally{c.endUpdate()}};Graph.prototype.deleteTableColumn=function(a){var b=this.getModel();b.beginUpdate();try{var c=a,d=a;this.isTableCell(a)&&(d=b.getParent(a));this.isTableRow(d)&&(c=b.getParent(d));var e=b.getChildCells(c,!0);if(0==e.length)b.remove(c);else{this.isTableRow(d)||(d=e[0]);var f=b.getChildCells(d,!0);if(1>=f.length)b.remove(c);else{var g=f.length-1;this.isTableCell(a)&&(g=mxUtils.indexOf(f,\r\na));for(d=a=0;d<e.length;d++){var k=b.getChildCells(e[d],!0)[g];b.remove(k);var h=this.getCellGeometry(k);null!=h&&(a=Math.max(a,h.width))}var l=this.getCellGeometry(c);null!=l&&(l=l.clone(),l.width-=a,b.setGeometry(c,l))}}}finally{b.endUpdate()}};Graph.prototype.deleteTableRow=function(a){var b=this.getModel();b.beginUpdate();try{var c=a,d=a;this.isTableCell(a)&&(a=d=b.getParent(a));this.isTableRow(a)&&(c=b.getParent(d));var e=b.getChildCells(c,!0);if(1>=e.length)b.remove(c);else{this.isTableRow(d)||\r\n(d=e[e.length-1]);b.remove(d);a=0;var f=this.getCellGeometry(d);null!=f&&(a=f.height);var g=this.getCellGeometry(c);null!=g&&(g=g.clone(),g.height-=a,b.setGeometry(c,g))}}finally{b.endUpdate()}};Graph.prototype.insertRow=function(a,b){for(var c=a.tBodies[0],d=c.rows[0].cells,e=0,f=0;f<d.length;f++)var g=d[f].getAttribute("colspan"),e=e+(null!=g?parseInt(g):1);c=c.insertRow(b);for(f=0;f<e;f++)mxUtils.br(c.insertCell(-1));return c.cells[0]};Graph.prototype.deleteRow=function(a,b){a.tBodies[0].deleteRow(b)};\r\nGraph.prototype.insertColumn=function(a,b){var c=a.tHead;if(null!=c)for(var d=0;d<c.rows.length;d++){var e=document.createElement("th");c.rows[d].appendChild(e);mxUtils.br(e)}c=a.tBodies[0];for(d=0;d<c.rows.length;d++)e=c.rows[d].insertCell(b),mxUtils.br(e);return c.rows[0].cells[0<=b?b:c.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(a,b){if(0<=b)for(var c=a.tBodies[0].rows,d=0;d<c.length;d++)c[d].cells.length>b&&c[d].deleteCell(b)};Graph.prototype.pasteHtmlAtCaret=function(a){var b;\r\nif(window.getSelection){if(b=window.getSelection(),b.getRangeAt&&b.rangeCount){b=b.getRangeAt(0);b.deleteContents();var c=document.createElement("div");c.innerHTML=a;a=document.createDocumentFragment();for(var d;d=c.firstChild;)lastNode=a.appendChild(d);b.insertNode(a)}}else(b=document.selection)&&"Control"!=b.type&&b.createRange().pasteHTML(a)};Graph.prototype.createLinkForHint=function(a,b){function c(a,b){a.length>b&&(a=a.substring(0,Math.round(b/2))+"..."+a.substring(a.length-Math.round(b/4)));\r\nreturn a}a=null!=a?a:"javascript:void(0);";if(null==b||0==b.length)b=this.isCustomLink(a)?this.getLinkTitle(a):a;var d=document.createElement("a");d.setAttribute("rel",this.linkRelation);d.setAttribute("href",this.getAbsoluteUrl(a));d.setAttribute("title",c(this.isCustomLink(a)?this.getLinkTitle(a):a,80));null!=this.linkTarget&&d.setAttribute("target",this.linkTarget);mxUtils.write(d,c(b,40));this.isCustomLink(a)&&mxEvent.addListener(d,"click",mxUtils.bind(this,function(b){this.customLinkClicked(a);\r\nmxEvent.consume(b)}));return d};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(a,b){this.popupMenuHandler.hideMenu()});var a=this.updateMouseEvent;this.updateMouseEvent=function(b){b=a.apply(this,arguments);if(mxEvent.isTouchEvent(b.getEvent())&&null==b.getState()){var c=this.getCellAt(b.graphX,b.graphY);null!=c&&this.isSwimlane(c)&&this.hitsSwimlaneContent(c,b.graphX,\r\nb.graphY)||(b.state=this.view.getState(c),null!=b.state&&null!=b.state.shape&&(this.container.style.cursor=b.state.shape.node.style.cursor))}null==b.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return b};var b=!1,c=!1,d=!1,e=this.fireMouseEvent;this.fireMouseEvent=function(a,f,g){a==mxEvent.MOUSE_DOWN&&(f=this.updateMouseEvent(f),b=this.isCellSelected(f.getCell()),c=this.isSelectionEmpty(),d=this.popupMenuHandler.isMenuShowing());e.apply(this,arguments)};this.popupMenuHandler.mouseUp=\r\nmxUtils.bind(this,function(a,e){this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==e.getState()||!e.isSource(e.getState().control))&&(this.popupMenuHandler.popupTrigger||!d&&!mxEvent.isMouseEvent(e.getEvent())&&(c&&null==e.getCell()&&this.isSelectionEmpty()||b&&this.isCellSelected(e.getCell())));var f=b?mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(a){if(!this.isEditing()){var b=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(e.getX()+\r\nb.x+1,e.getY()+b.y+1,a,e.getEvent())}}),500)}):null;mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[a,e,f])})};mxCellEditor.prototype.isContentEditing=function(){var a=this.graph.view.getState(this.editingCell);return null!=a&&1==a.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var a="";window.getSelection?a=window.getSelection():\r\ndocument.getSelection?a=document.getSelection():document.selection&&(a=document.selection.createRange().text);return""!=a};mxCellEditor.prototype.insertTab=function(a){var b=this.textarea.ownerDocument.defaultView.getSelection(),c=b.getRangeAt(0),d="\\t";if(null!=a)for(d="";0<a;)d+=" ",a--;a=document.createElement("span");a.style.whiteSpace="pre";a.appendChild(document.createTextNode(d));c.insertNode(a);c.setStartAfter(a);c.setEndAfter(a);b.removeAllRanges();b.addRange(c)};mxCellEditor.prototype.alignText=\r\nfunction(a,b){var c=null!=b&&mxEvent.isShiftDown(b);if(c||null!=window.getSelection&&null!=window.getSelection().containsNode){var d=!0;this.graph.processElements(this.textarea,function(a){c||window.getSelection().containsNode(a,!0)?(a.removeAttribute("align"),a.style.textAlign=null):d=!1});d&&this.graph.cellEditor.setAlign(a)}document.execCommand("justify"+a.toLowerCase(),!1,null)};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var a=window.getSelection();if(a.getRangeAt&&\r\na.rangeCount){for(var b=[],c=0,d=a.rangeCount;c<d;++c)b.push(a.getRangeAt(c));return b}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(a){try{if(a)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var b=0,c=a.length;b<c;++b)sel.addRange(a[b])}else document.selection&&a.select&&a.select()}catch(U){}};var r=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=\r\nfunction(a){null!=a.text&&(a.text.replaceLinefeeds="0"!=mxUtils.getValue(a.style,"nl2Br","1"));r.apply(this,arguments)};var v=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(a,b){this.isKeepFocusEvent(a)||!mxEvent.isAltDown(a.getEvent())?v.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(a){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var u=mxCellEditor.prototype.startEditing;\r\nmxCellEditor.prototype.startEditing=function(a,b){a=this.graph.getStartEditingCell(a,b);u.apply(this,arguments);var c=this.graph.view.getState(a);this.textarea.className=null!=c&&1==c.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(a);var c=this.graph.getModel().getParent(a),d=this.graph.getCellGeometry(a);if(this.graph.getModel().isEdge(c)&&null!=d&&d.relative||this.graph.getModel().isEdge(a))this.textarea.style.outline=\r\nmxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_FF&&mxClient.IS_WIN?"gray dotted 1px":""};var w=mxCellEditor.prototype.installListeners;mxCellEditor.prototype.installListeners=function(a){function b(a,c){c.originalNode=a;a=a.firstChild;for(var d=c.firstChild;null!=a&&null!=d;)b(a,d),a=a.nextSibling,d=d.nextSibling;return c}function c(a,b){if(null!=a)if(b.originalNode!=a)d(a);else for(a=a.firstChild,b=b.firstChild;null!=a;){var e=a.nextSibling;null==b?d(a):(c(a,b),b=b.nextSibling);a=e}}function d(a){for(var b=\r\na.firstChild;null!=b;){var c=b.nextSibling;d(b);b=c}1==a.nodeType&&("BR"===a.nodeName||null!=a.firstChild)||3==a.nodeType&&0!=mxUtils.trim(mxUtils.getTextContent(a)).length?(3==a.nodeType&&mxUtils.setTextContent(a,mxUtils.getTextContent(a).replace(/\\n|\\r/g,"")),1==a.nodeType&&(a.removeAttribute("style"),a.removeAttribute("class"),a.removeAttribute("width"),a.removeAttribute("cellpadding"),a.removeAttribute("cellspacing"),a.removeAttribute("border"))):a.parentNode.removeChild(a)}w.apply(this,arguments);\r\n7!==document.documentMode&&8!==document.documentMode&&mxEvent.addListener(this.textarea,"paste",mxUtils.bind(this,function(a){var d=b(this.textarea,this.textarea.cloneNode(!0));window.setTimeout(mxUtils.bind(this,function(){null!=this.textarea&&(0<=this.textarea.innerHTML.indexOf("<o:OfficeDocumentSettings>")||0<=this.textarea.innerHTML.indexOf("\\x3c!--[if !mso]>")?c(this.textarea,d):Graph.removePasteFormatting(this.textarea))}),0)}))};mxCellEditor.prototype.toggleViewMode=function(){var a=this.graph.view.getState(this.editingCell);\r\nif(null!=a){var b=null!=a&&"0"!=mxUtils.getValue(a.style,"nl2Br","1"),c=this.saveSelection();if(this.codeViewMode){h=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<h.length&&"\\n"==h.charAt(h.length-1)&&(h=h.substring(0,h.length-1));h=this.graph.sanitizeHtml(b?h.replace(/\\n/g,"<br/>"):h,!0);this.textarea.className="mxCellEditor geContentEditable";var d=mxUtils.getValue(a.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),b=mxUtils.getValue(a.style,mxConstants.STYLE_FONTFAMILY,\r\nmxConstants.DEFAULT_FONTFAMILY),e=mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,g=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,k=[];(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&k.push("underline");(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,\r\n0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&k.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.textDecoration=k.join(" ");this.textarea.style.fontWeight=f?"bold":"normal";this.textarea.style.fontStyle=g?"italic":"";this.textarea.style.fontFamily=b;this.textarea.style.textAlign=e;this.textarea.style.padding=\r\n"0px";this.textarea.innerHTML!=h&&(this.textarea.innerHTML=h,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerHTML="");var h=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(h=mxUtils.replaceTrailingNewlines(h,"<div><br></div>"));h=this.graph.sanitizeHtml(b?\r\nh.replace(/\\n/g,"").replace(/&lt;br\\s*.?&gt;/g,"<br>"):h,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var d=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;\r\nthis.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=h&&(this.textarea.innerHTML=h);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=c;this.resize()}};var x=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(a,b){if(null!=this.textarea)if(a=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=\r\na){var c=a.view.scale;this.bounds=mxRectangle.fromRectangle(a);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*c;this.bounds.height=60*c;var d=null!=a.text?a.text.margin:null;null==d&&(d=mxUtils.getAlignmentAsPoint(mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=d.x*this.bounds.width;this.bounds.y+=d.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-\r\n4)/c)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/c)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/c)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*c);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/c)+(this.textarea.offsetWidth-this.textarea.clientWidth)+\r\n"px",this.bounds.width=parseInt(this.textarea.style.width)*c);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+c+","+c+")")}else this.textarea.style.height="",this.textarea.style.overflow="",x.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(a,b){if("0"==mxUtils.getValue(a.style,"html",\r\n"0"))return mxCellEditorGetInitialValue.apply(this,arguments);var c=this.graph.getEditingValue(a.cell,b);"1"==mxUtils.getValue(a.style,"nl2Br","1")&&(c=c.replace(/\\n/g,"<br/>"));return c=this.graph.sanitizeHtml(c,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(a){if("0"==mxUtils.getValue(a.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var b=this.graph.sanitizeHtml(this.textarea.innerHTML,!0);return b=\r\n"1"==mxUtils.getValue(a.style,"nl2Br","1")?b.replace(/\\r\\n/g,"<br/>").replace(/\\n/g,"<br/>"):b.replace(/\\r\\n/g,"").replace(/\\n/g,"")};var B=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(a){this.codeViewMode&&this.toggleViewMode();B.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(K){}};var E=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(a,b){this.graph.getModel().beginUpdate();\r\ntry{E.apply(this,arguments),""==b&&this.graph.isCellDeletable(a.cell)&&0==this.graph.model.getChildCount(a.cell)&&this.graph.isTransparentState(a)&&this.graph.removeCells([a.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(a){var b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);null!=b&&b!=mxConstants.NONE||!(null!=a.cell.geometry&&0<a.cell.geometry.width)||0==mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0)&&0!=\r\nmxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,1)||(b=mxUtils.getValue(a.style,mxConstants.STYLE_FILLCOLOR,null));b==mxConstants.NONE&&(b=null);return b};mxCellEditor.prototype.getMinimumSize=function(a){var b=this.graph.getView().scale;return new mxRectangle(0,0,null==a.text?30:a.text.size*b+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(a,b){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&\r\n!mxEvent.isAltDown(b.getEvent)};mxGraphView.prototype.formatUnitText=function(a){return a?c(a,this.unit):a};mxGraphHandler.prototype.updateHint=function(b){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var d=this.graph.view.translate,e=this.graph.view.scale;b=this.roundLength((this.bounds.x+this.currentDx)/e-d.x);d=this.roundLength((this.bounds.y+this.currentDy)/e-d.y);e=this.graph.view.unit;this.hint.innerHTML=\r\nc(b,e)+", "+c(d,e);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(this.hint.parentNode.removeChild(this.hint),this.hint=null)};var G=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(a,b){G.apply(this,arguments);var c=this.graph.getCellStyle(a);if(null==\r\nc.childLayout){var d=this.graph.model.getParent(a),e=null!=d?this.graph.getCellGeometry(d):null;if(null!=e&&(c=this.graph.getCellStyle(d),"stackLayout"==c.childLayout)){var f=parseFloat(mxUtils.getValue(c,"stackBorder",mxStackLayout.prototype.border)),c="1"==mxUtils.getValue(c,"horizontalStack","1"),g=this.graph.getActualStartSize(d),e=e.clone();c?e.height=b.height+g.y+g.height+2*f:e.width=b.width+g.x+g.width+2*f;this.graph.model.setGeometry(d,e)}}};var z=mxSelectionCellsHandler.prototype.getHandledSelectionCells;\r\nmxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function a(a){c.get(a)||(c.put(a,!0),e.push(a))}for(var b=z.apply(this,arguments),c=new mxDictionary,d=this.graph.model,e=[],f=0;f<b.length;f++){var g=b[f];this.graph.isTableCell(g)?a(d.getParent(d.getParent(g))):this.graph.isTableRow(g)&&a(d.getParent(g));a(g)}return e};var I=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(a){var b=I.apply(this,arguments);b.stroke=\r\n"#C0C0C0";b.strokewidth=1;return b};var y=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(a){var b=y.apply(this,arguments);b.stroke="#C0C0C0";b.strokewidth=1;return b};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var a=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+a.x/2,this.bounds.y+this.rotationHandleVSpacing-\r\na.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(a,b){return this.graph.isRecursiveVertexResize(a)&&!mxEvent.isControlDown(b.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(a,b){return!(!this.graph.isSwimlane(a.cell)&&0<this.graph.model.getChildCount(a.cell)&&!this.graph.isCellCollapsed(a.cell)&&"1"==mxUtils.getValue(a.style,"recursiveResize","1")&&null==mxUtils.getValue(a.style,"childLayout",null))&&mxEvent.isControlDown(b.getEvent())||mxEvent.isMetaDown(b.getEvent())};\r\nvar H=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return H.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var L=mxVertexHandler.prototype.isParentHighlightVisible;\r\nmxVertexHandler.prototype.isParentHighlightVisible=function(){return L.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var O=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(a){return a.tableHandle||O.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var a=0;this.graph.isTableRow(this.state.cell)?\r\na=1:this.graph.isTableCell(this.state.cell)&&(a=2);return a};var P=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return P.apply(this,arguments).grow(-this.getSelectionBorderInset())};var M=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var a=M.apply(this,arguments);if(this.graph.isTable(this.state.cell)){var b=this.graph,c=b.model,d=this.state,e=this.selectionBorder,f=this;null==\r\na&&(a=[]);var g=b.view.getCellStates(c.getChildCells(this.state.cell,!0));if(0<g.length){for(var k=b.view.getCellStates(c.getChildCells(g[0].cell,!0)),c=0;c<k.length;c++)mxUtils.bind(this,function(c){var g=k[c],h=c<k.length-1?k[c+1]:null,l=new mxLine(new mxRectangle,mxConstants.NONE,1,!0);l.isDashed=e.isDashed;l.svgStrokeTolerance++;l=new mxHandle(g,"col-resize",null,l);l.tableHandle=!0;var m=0;l.shape.node.parentNode.insertBefore(l.shape.node,l.shape.node.parentNode.firstChild);l.redraw=function(){if(null!=\r\nthis.shape&&null!=this.state.shape){var a=b.getActualStartSize(d.cell);this.shape.stroke=0==m?mxConstants.NONE:e.stroke;this.shape.bounds.x=this.state.x+this.state.width+m*this.graph.view.scale;this.shape.bounds.width=1;this.shape.bounds.y=d.y+(c==k.length-1?0:a.y*this.graph.view.scale);this.shape.bounds.height=d.height-(c==k.length-1?0:(a.height+a.y)*this.graph.view.scale);this.shape.redraw()}};var n=!1;l.setPosition=function(a,c,d){m=Math.max(Graph.minTableColumnWidth-a.width,c.x-a.x-a.width);n=\r\nmxEvent.isShiftDown(d.getEvent());null==h||n||(m=Math.min((h.x+h.width-g.x-g.width)/b.view.scale-Graph.minTableColumnWidth,m))};l.execute=function(a){if(0!=m)b.setTableColumnWidth(this.state.cell,m,n);else if(!f.blockDelayedSelection){var c=b.getCellAt(a.getGraphX(),a.getGraphY())||d.cell;b.graphHandler.selectCellForEvent(c,a)}m=0};l.reset=function(){m=0};a.push(l)})(c);for(c=0;c<g.length;c++)mxUtils.bind(this,function(c){c=g[c];var k=new mxLine(new mxRectangle,mxConstants.NONE,1);k.isDashed=e.isDashed;\r\nk.svgStrokeTolerance++;c=new mxHandle(c,"row-resize",null,k);c.tableHandle=!0;var h=0;c.shape.node.parentNode.insertBefore(c.shape.node,c.shape.node.parentNode.firstChild);c.redraw=function(){null!=this.shape&&null!=this.state.shape&&(this.shape.stroke=0==h?mxConstants.NONE:e.stroke,this.shape.bounds.x=this.state.x,this.shape.bounds.width=this.state.width,this.shape.bounds.y=this.state.y+this.state.height+h*this.graph.view.scale,this.shape.bounds.height=1,this.shape.redraw())};c.setPosition=function(a,\r\nb,c){h=Math.max(Graph.minTableRowHeight-a.height,b.y-a.y-a.height)};c.execute=function(a){if(0!=h)b.setTableRowHeight(this.state.cell,h,!mxEvent.isShiftDown(a.getEvent()));else if(!f.blockDelayedSelection){var c=b.getCellAt(a.getGraphX(),a.getGraphY())||d.cell;b.graphHandler.selectCellForEvent(c,a)}h=0};c.reset=function(){h=0};a.push(c)})(c)}}return null!=a?a.reverse():null};var W=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(a){W.apply(this,arguments);\r\nif(null!=this.moveHandles)for(var b=0;b<this.moveHandles.length;b++)this.moveHandles[b].style.visibility=a?"":"hidden";if(null!=this.cornerHandles)for(b=0;b<this.cornerHandles.length;b++)this.cornerHandles[b].node.style.visibility=a?"":"hidden"};mxVertexHandler.prototype.refreshMoveHandles=function(){var a=this.graph.model;if(null!=this.moveHandles){for(var b=0;b<this.moveHandles.length;b++)this.moveHandles[b].parentNode.removeChild(this.moveHandles[b]);this.moveHandles=null}this.moveHandles=[];for(b=\r\n0;b<a.getChildCount(this.state.cell);b++)mxUtils.bind(this,function(b){if(null!=b&&a.isVertex(b.cell)){var c=mxUtils.createImage(Editor.rowMoveImage);c.style.position="absolute";c.style.cursor="pointer";c.style.width="7px";c.style.height="4px";c.style.padding="4px 2px 4px 2px";c.rowState=b;mxEvent.addGestureListeners(c,mxUtils.bind(this,function(a){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(a)&&this.graph.isCellSelected(b.cell)||this.graph.selectCellForEvent(b.cell,\r\na);mxEvent.isPopupTrigger(a)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(a),mxEvent.getClientY(a),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(a),this.graph.isMouseDown=!0);mxEvent.consume(a)}),null,mxUtils.bind(this,function(a){mxEvent.isPopupTrigger(a)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(a),mxEvent.getClientY(a),b.cell,a),mxEvent.consume(a))}));this.moveHandles.push(c);this.graph.container.appendChild(c)}})(this.graph.view.getState(a.getChildAt(this.state.cell,\r\nb)))};mxVertexHandler.prototype.refresh=function(){if(null!=this.customHandles){for(var a=0;a<this.customHandles.length;a++)this.customHandles[a].destroy();this.customHandles=this.createCustomHandles()}this.graph.isTable(this.state.cell)&&this.refreshMoveHandles()};var ba=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var a=new mxPoint(0,0),b=this.tolerance,c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&mxStencilRegistry.getStencil(c);\r\nc=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!c&&null!=this.customHandles)for(var d=0;d<this.customHandles.length;d++)if(null!=this.customHandles[d].shape&&null!=this.customHandles[d].shape.bounds){var e=this.customHandles[d].shape.bounds,f=e.getCenterX(),g=e.getCenterY();if(Math.abs(this.state.x-f)<e.width/2||Math.abs(this.state.y-g)<e.height/2||Math.abs(this.state.x+this.state.width-f)<e.width/2||Math.abs(this.state.y+this.state.height-g)<e.height/\r\n2){c=!0;break}}c&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(b/=2,this.graph.isTable(this.state.cell)&&(b+=7),a.x=this.sizers[0].bounds.width+b,a.y=this.sizers[0].bounds.height+b):a=ba.apply(this,arguments);return a};mxVertexHandler.prototype.updateHint=function(b){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{b=\r\nthis.state.view.scale;var d=this.state.view.unit;this.hint.innerHTML=c(this.roundLength(this.bounds.width/b),d)+" x "+c(this.roundLength(this.bounds.height/b),d)}b=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==b&&(b=this.bounds);this.hint.style.left=b.x+Math.round((b.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=b.y+b.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};\r\nmxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var Z=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(a,b){Z.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var T=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=\r\nfunction(a,b){T.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(b,d){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var e=this.graph.view.translate,f=this.graph.view.scale,g=this.roundLength(d.x/f-e.x),e=this.roundLength(d.y/f-e.y),f=this.graph.view.unit;this.hint.innerHTML=c(g,f)+", "+c(e,f);this.hint.style.visibility="visible";if(this.isSource||this.isTarget)null!=\r\nthis.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(g=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*g.x)+"%, "+Math.round(100*g.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(b.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(b.getGraphY(),d.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};mxEdgeHandler.prototype.removeHint=\r\nmxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=mxClient.IS_SVG?Graph.createSvgImage(18,18,\'<circle cx="9" cy="9" r="5" stroke="#fff" fill="\'+HoverIcons.prototype.arrowFill+\'" stroke-width="1"/>\'):new mxImage(IMAGE_PATH+"/handle-main.png",17,17);HoverIcons.prototype.secondaryHandle=mxClient.IS_SVG?Graph.createSvgImage(16,16,\'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>\'):new mxImage(IMAGE_PATH+"/handle-secondary.png",17,17);HoverIcons.prototype.fixedHandle=\r\nmxClient.IS_SVG?Graph.createSvgImage(22,22,\'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22" stroke-width="1"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>\'):new mxImage(IMAGE_PATH+"/handle-fixed.png",17,17);HoverIcons.prototype.terminalHandle=mxClient.IS_SVG?Graph.createSvgImage(22,22,\'<circle cx="11" cy="11" r="6" stroke="#fff" fill="\'+HoverIcons.prototype.arrowFill+\'" stroke-width="1"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>\'):new mxImage(IMAGE_PATH+"/handle-terminal.png",\r\n17,17);HoverIcons.prototype.rotationHandle=mxClient.IS_SVG?Graph.createSvgImage(16,16,\'<path stroke="\'+HoverIcons.prototype.arrowFill+\'" fill="\'+HoverIcons.prototype.arrowFill+\'" d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z"/>\',\r\n24,24):new mxImage(IMAGE_PATH+"/handle-rotate.png",16,16);mxClient.IS_SVG&&(mxConstraintHandler.prototype.pointImage=Graph.createSvgImage(5,5,\'<path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke="\'+HoverIcons.prototype.arrowFill+\'"/>\'));mxVertexHandler.TABLE_HANDLE_COLOR="#fca000";mxVertexHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxVertexHandler.prototype.secondaryHandleImage=HoverIcons.prototype.secondaryHandle;mxEdgeHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxEdgeHandler.prototype.terminalHandleImage=\r\nHoverIcons.prototype.terminalHandle;mxEdgeHandler.prototype.fixedHandleImage=HoverIcons.prototype.fixedHandle;mxEdgeHandler.prototype.labelHandleImage=HoverIcons.prototype.secondaryHandle;mxOutline.prototype.sizerImage=HoverIcons.prototype.mainHandle;null!=window.Sidebar&&(Sidebar.prototype.triangleUp=HoverIcons.prototype.triangleUp,Sidebar.prototype.triangleRight=HoverIcons.prototype.triangleRight,Sidebar.prototype.triangleDown=HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prototype.triangleLeft,\r\nSidebar.prototype.refreshTarget=HoverIcons.prototype.refreshTarget,Sidebar.prototype.roundDrop=HoverIcons.prototype.roundDrop);mxClient.IS_SVG||((new Image).src=HoverIcons.prototype.mainHandle.src,(new Image).src=HoverIcons.prototype.fixedHandle.src,(new Image).src=HoverIcons.prototype.terminalHandle.src,(new Image).src=HoverIcons.prototype.secondaryHandle.src,(new Image).src=HoverIcons.prototype.rotationHandle.src,(new Image).src=HoverIcons.prototype.triangleUp.src,(new Image).src=HoverIcons.prototype.triangleRight.src,\r\n(new Image).src=HoverIcons.prototype.triangleDown.src,(new Image).src=HoverIcons.prototype.triangleLeft.src,(new Image).src=HoverIcons.prototype.refreshTarget.src,(new Image).src=HoverIcons.prototype.roundDrop.src);mxVertexHandler.prototype.rotationEnabled=!0;mxVertexHandler.prototype.manageSizers=!0;mxVertexHandler.prototype.livePreview=!0;mxGraphHandler.prototype.maxLivePreview=16;mxRubberband.prototype.defaultOpacity=30;mxConnectionHandler.prototype.outlineConnect=!0;mxCellHighlight.prototype.keepOnTop=\r\n!0;mxVertexHandler.prototype.parentHighlightEnabled=!0;mxEdgeHandler.prototype.parentHighlightEnabled=!0;mxEdgeHandler.prototype.dblClickRemoveEnabled=!0;mxEdgeHandler.prototype.straightRemoveEnabled=!0;mxEdgeHandler.prototype.virtualBendsEnabled=!0;mxEdgeHandler.prototype.mergeRemoveEnabled=!0;mxEdgeHandler.prototype.manageLabelHandle=!0;mxEdgeHandler.prototype.outlineConnect=!0;mxEdgeHandler.prototype.isAddVirtualBendEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};mxEdgeHandler.prototype.isCustomHandleEvent=\r\nfunction(a){return!mxEvent.isShiftDown(a.getEvent())};if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-16,mxConstraintHandler.prototype.getTolerance=function(a){return mxEvent.isMouseEvent(a.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=\r\nfunction(a){var b=a.getEvent();return null==a.getState()&&!mxEvent.isMouseEvent(b)||mxEvent.isPopupTrigger(b)&&(null==a.getState()||mxEvent.isControlDown(b)||mxEvent.isShiftDown(b))};var R=mxGraphHandler.prototype.mouseDown;mxGraphHandler.prototype.mouseDown=function(a,b){R.apply(this,arguments);mxEvent.isTouchEvent(b.getEvent())&&this.graph.isCellSelected(b.getCell())&&1<this.graph.getSelectionCount()&&(this.delayedSelection=!1)}}else mxPanningHandler.prototype.isPanningTrigger=function(a){var b=\r\na.getEvent();return mxEvent.isLeftMouseButton(b)&&(this.useLeftButtonForPanning&&null==a.getState()||mxEvent.isControlDown(b)&&!mxEvent.isShiftDown(b))||this.usePopupTrigger&&mxEvent.isPopupTrigger(b)};mxRubberband.prototype.isSpaceEvent=function(a){return this.graph.isEnabled()&&!this.graph.isCellLocked(this.graph.getDefaultParent())&&mxEvent.isControlDown(a.getEvent())&&mxEvent.isShiftDown(a.getEvent())};mxRubberband.prototype.cancelled=!1;mxRubberband.prototype.cancel=function(){this.isActive()&&\r\n(this.cancelled=!0,this.reset())};mxRubberband.prototype.mouseUp=function(a,b){if(this.cancelled)this.cancelled=!1,b.consume();else{var c=null!=this.div&&"none"!=this.div.style.display,d=null,e=null,f=null,g=null;null!=this.first&&null!=this.currentX&&null!=this.currentY&&(d=this.first.x,e=this.first.y,f=(this.currentX-d)/this.graph.view.scale,g=(this.currentY-e)/this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g),this.graph.isGridEnabled()||(Math.abs(f)<\r\nthis.graph.tolerance&&(f=0),Math.abs(g)<this.graph.tolerance&&(g=0))));this.reset();if(c){if(mxEvent.isAltDown(b.getEvent())&&this.graph.isToggleEvent(b.getEvent())){var f=new mxRectangle(this.x,this.y,this.width,this.height),k=this.graph.getCells(f.x,f.y,f.width,f.height);this.graph.removeSelectionCells(k)}else if(this.isSpaceEvent(b)){this.graph.model.beginUpdate();try{for(k=this.graph.getCellsBeyond(d,e,this.graph.getDefaultParent(),!0,!0),c=0;c<k.length;c++)if(this.graph.isCellMovable(k[c])){var h=\r\nthis.graph.view.getState(k[c]),l=this.graph.getCellGeometry(k[c]);null!=h&&null!=l&&(l=l.clone(),l.translate(f,g),this.graph.model.setGeometry(k[c],l))}}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(f,b.getEvent());b.consume()}}};mxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var c=mxUtils.getScrollOrigin(this.graph.container),d=mxUtils.getOffset(this.graph.container);c.x-=d.x;c.y-=d.y;\r\nvar d=b.getX()+c.x,c=b.getY()+c.y,e=this.first.x-d,f=this.first.y-c,g=this.graph.tolerance;if(null!=this.div||Math.abs(e)>g||Math.abs(f)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(d,c),this.isSpaceEvent(b)?(d=this.x+this.width,c=this.y+this.height,e=this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(this.width=this.graph.snap(this.width/e)*e,this.height=this.graph.snap(this.height/e)*e,this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=\r\n0),this.height<this.graph.tolerance&&(this.height=0)),this.x<this.first.x&&(this.x=d-this.width),this.y<this.first.y&&(this.y=c-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",null==this.secondDiv&&(this.secondDiv=\r\nthis.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),\r\nthis.secondDiv=null)),b.consume()}};var Q=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);Q.apply(this,arguments)};var S=(new Date).getTime(),ga=0,na=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d){na.apply(this,arguments);c!=this.currentTerminalState?(S=(new Date).getTime(),ga=0):ga=(new Date).getTime()-S;this.currentTerminalState=\r\nc};var oa=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&&2E3<ga||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&oa.apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=function(a,b){var c=null!=a&&0==a,d=this.state.getVisibleTerminalState(c),e=null!=a&&(0==a||a>=this.state.absolutePoints.length-\r\n1||this.constructor==mxElbowEdgeHandler&&2==a)?this.graph.getConnectionConstraint(this.state,d,c):null,c=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(c),e):null)?this.fixedHandleImage:null!=e&&null!=d?this.terminalHandleImage:this.handleImage;if(null!=c)return c=new mxImageShape(new mxRectangle(0,0,c.width,c.height),c.src),c.preserveImageAspect=!1,c;c=mxConstants.HANDLE_SIZE;this.preferHtml&&--c;return new mxRectangleShape(new mxRectangle(0,0,c,c),mxConstants.HANDLE_FILLCOLOR,\r\nmxConstants.HANDLE_STROKECOLOR)};var pa=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(a,b,c){this.handleImage=b==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:b==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return pa.apply(this,arguments)};var ea=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(a){if(null!=a&&1==a.length){var b=this.graph.getModel(),c=b.getParent(a[0]),d=this.graph.getCellGeometry(a[0]);\r\nif(b.isEdge(c)&&null!=d&&d.relative&&(b=this.graph.view.getState(a[0]),null!=b&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox))return mxRectangle.fromRectangle(b.text.boundingBox)}return ea.apply(this,arguments)};var qa=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=function(){for(var a=qa.apply(this,arguments),b=[],c=0;c<a.length;c++)"1"!=mxUtils.getValue(a[c].style,"part","0")&&b.push(a[c]);return b};var ua=mxVertexHandler.prototype.getSelectionBounds;\r\nmxVertexHandler.prototype.getSelectionBounds=function(a){var b=this.graph.getModel(),c=b.getParent(a.cell),d=this.graph.getCellGeometry(a.cell);return b.isEdge(c)&&null!=d&&d.relative&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox?(b=a.text.unrotatedBoundingBox||a.text.boundingBox,new mxRectangle(Math.round(b.x),Math.round(b.y),Math.round(b.width),Math.round(b.height))):ua.apply(this,arguments)};var ra=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(a,\r\nb){var c=this.graph.getModel(),d=c.getParent(this.state.cell),e=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(b)==mxEvent.ROTATION_HANDLE||!c.isEdge(d)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&ra.apply(this,arguments)};mxVertexHandler.prototype.rotateClick=function(){var a=mxUtils.getValue(this.state.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),b=mxUtils.getValue(this.state.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);\r\nthis.state.view.graph.model.isVertex(this.state.cell)&&a==mxConstants.NONE&&b==mxConstants.NONE?(a=mxUtils.mod(mxUtils.getValue(this.state.style,mxConstants.STYLE_ROTATION,0)+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,a,[this.state.cell])):this.state.view.graph.turnShapes([this.state.cell])};var va=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(a,b){va.apply(this,arguments);null!=this.graph.graphHandler.first&&(null!=this.rotationShape&&\r\nnull!=this.rotationShape.node&&(this.rotationShape.node.style.display="none"),null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display="none"))};var ka=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(a,b){ka.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.linkHint&&"none"==this.linkHint.style.display&&(this.linkHint.style.display=\r\n"");this.blockDelayedSelection=null};var ha=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){ha.apply(this,arguments);var a=!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));if(this.graph.isTable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var b=0;4>b;b++){var c=new mxRectangleShape(new mxRectangle(0,\r\n0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);c.dialect=mxConstants.DIALECT_SVG;c.init(this.graph.view.getOverlayPane());this.cornerHandles.push(c)}}var d=mxUtils.bind(this,function(){null!=this.specialHandle&&(this.specialHandle.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.changeHandler=mxUtils.bind(this,function(a,b){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),this.graph.getLinksForState(this.state));\r\nd()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.changeHandler);this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(a,b){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);b=this.graph.getLinkForCell(this.state.cell);c=this.graph.getLinksForState(this.state);this.updateLinkHint(b,c);if(null!=b||null!=c&&0<c.length)a=!0;a&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=\r\nfunction(b,c){try{if(null==b&&(null==c||0==c.length)||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=b||null!=c&&0<c.length){null==this.linkHint&&(this.linkHint=a(),this.linkHint.style.padding="6px 8px 6px 8px",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.graph.container.appendChild(this.linkHint));this.linkHint.innerHTML="";if(null!=b&&(this.linkHint.appendChild(this.graph.createLinkForHint(b)),\r\nthis.graph.isEnabled()&&"function"===typeof this.graph.editLink)){var d=document.createElement("img");d.setAttribute("src",Editor.editImage);d.setAttribute("title",mxResources.get("editLink"));d.setAttribute("width","11");d.setAttribute("height","11");d.style.marginLeft="10px";d.style.marginBottom="-1px";d.style.cursor="pointer";this.linkHint.appendChild(d);mxEvent.addListener(d,"click",mxUtils.bind(this,function(a){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(a)}));\r\nvar e=document.createElement("img");e.setAttribute("src",Dialog.prototype.clearImage);e.setAttribute("title",mxResources.get("removeIt",[mxResources.get("link")]));e.setAttribute("width","13");e.setAttribute("height","10");e.style.marginLeft="4px";e.style.marginBottom="-1px";e.style.cursor="pointer";this.linkHint.appendChild(e);mxEvent.addListener(e,"click",mxUtils.bind(this,function(a){this.graph.setLinkForCell(this.state.cell,null);mxEvent.consume(a)}))}if(null!=c)for(d=0;d<c.length;d++){var f=\r\ndocument.createElement("div");f.style.marginTop=null!=b||0<d?"6px":"0px";f.appendChild(this.graph.createLinkForHint(c[d].getAttribute("href"),mxUtils.getTextContent(c[d])));this.linkHint.appendChild(f)}}}catch(la){}};mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var ia=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){ia.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});\r\nvar a=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.changeHandler=mxUtils.bind(this,function(b,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),this.graph.getLinksForState(this.state));a();this.redrawHandles()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,\r\nthis.changeHandler);this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var b=this.graph.getLinkForCell(this.state.cell),c=this.graph.getLinksForState(this.state);if(null!=b||null!=c&&0<c.length)this.updateLinkHint(b,c),this.redrawHandles()};var da=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){da.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var fa=mxVertexHandler.prototype.redrawHandles;\r\nmxVertexHandler.prototype.redrawHandles=function(){if(null!=this.moveHandles)for(var a=0;a<this.moveHandles.length;a++)this.moveHandles[a].style.left=this.moveHandles[a].rowState.x+this.moveHandles[a].rowState.width-5+"px",this.moveHandles[a].style.top=this.moveHandles[a].rowState.y+this.moveHandles[a].rowState.height/2-6+"px";if(null!=this.cornerHandles){var a=this.getSelectionBorderInset(),b=this.cornerHandles,c=b[0].bounds.height/2;b[0].bounds.x=this.state.x-b[0].bounds.width/2+a;b[0].bounds.y=\r\nthis.state.y-c+a;b[0].redraw();b[1].bounds.x=b[0].bounds.x+this.state.width-2*a;b[1].bounds.y=b[0].bounds.y;b[1].redraw();b[2].bounds.x=b[0].bounds.x;b[2].bounds.y=this.state.y+this.state.height-2*a;b[2].redraw();b[3].bounds.x=b[1].bounds.x;b[3].bounds.y=b[2].bounds.y;b[3].redraw();for(a=0;a<this.cornerHandles.length;a++)this.cornerHandles[a].node.style.display=1==this.graph.getSelectionCount()?"":"none"}null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=\r\nnull!=this.moveHandles||1!=this.graph.getSelectionCount()||null!=this.index&&this.index!=mxEvent.ROTATION_HANDLE?"none":"");fa.apply(this);null!=this.state&&null!=this.linkHint&&(a=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),b=new mxRectangle(this.state.x,this.state.y-22,this.state.width+24,this.state.height+22),c=mxUtils.getBoundingBox(b,this.state.style[mxConstants.STYLE_ROTATION]||"0",a),a=null!=c?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||\r\n"0"):this.state,b=null!=this.state.text?this.state.text.boundingBox:null,null==c&&(c=this.state),c=c.y+c.height,null!=b&&(c=Math.max(c,b.y+b.height)),this.linkHint.style.left=Math.max(0,Math.round(a.x+(a.width-this.linkHint.clientWidth)/2))+"px",this.linkHint.style.top=Math.round(c+this.verticalOffset/2+Editor.hintOffset)+"px")};var ma=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){ma.apply(this,arguments);if(null!=this.moveHandles){for(var a=0;a<this.moveHandles.length;a++)null!=\r\nthis.moveHandles[a]&&null!=this.moveHandles[a].parentNode&&this.moveHandles[a].parentNode.removeChild(this.moveHandles[a]);this.moveHandles=null}if(null!=this.cornerHandles){for(a=0;a<this.cornerHandles.length;a++)null!=this.cornerHandles[a]&&null!=this.cornerHandles[a].node&&null!=this.cornerHandles[a].node.parentNode&&this.cornerHandles[a].node.parentNode.removeChild(this.cornerHandles[a].node);this.cornerHandles=null}null!=this.linkHint&&(null!=this.linkHint.parentNode&&this.linkHint.parentNode.removeChild(this.linkHint),\r\nthis.linkHint=null);null!=this.changeHandler&&(this.graph.getSelectionModel().removeListener(this.changeHandler),this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var ja=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(ja.apply(this),null!=this.state&&null!=this.linkHint)){var a=this.state;null!=this.state.text&&\r\nnull!=this.state.text.bounds&&(a=new mxRectangle(a.x,a.y,a.width,a.height),a.add(this.state.text.bounds));this.linkHint.style.left=Math.max(0,Math.round(a.x+(a.width-this.linkHint.clientWidth)/2))+"px";this.linkHint.style.top=Math.round(a.y+a.height+Editor.hintOffset)+"px"}};var X=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){X.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var sa=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=\r\nfunction(){sa.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getSelectionModel().removeListener(this.changeHandler),this.changeHandler=null)}}();Format=function(a,c){this.editorUi=a;this.container=c};Format.inactiveTabBackgroundColor="#f1f3f4";Format.prototype.labelIndex=0;Format.prototype.diagramIndex=0;Format.prototype.currentIndex=0;Format.prototype.showCloseButton=!0;Format.prototype.roundableShapes="label rectangle internalStorage corner parallelogram swimlane triangle trapezoid ext step tee process link rhombus offPageConnector loopLimit hexagon manualInput card curlyBracket singleArrow callout doubleArrow flexArrow umlLifeline".split(" ");\r\nFormat.prototype.init=function(){var a=this.editorUi,c=a.editor,d=c.graph;this.update=mxUtils.bind(this,function(a,c){this.clearSelectionState();this.refresh()});d.getSelectionModel().addListener(mxEvent.CHANGE,this.update);d.addListener(mxEvent.EDITING_STARTED,this.update);d.addListener(mxEvent.EDITING_STOPPED,this.update);d.getModel().addListener(mxEvent.CHANGE,this.update);d.getView().addListener("unitChanged",this.update);d.addListener(mxEvent.ROOT,mxUtils.bind(this,function(){this.refresh()}));\r\na.addListener("styleChanged",mxUtils.bind(this,function(a,c){this.refresh()}));c.addListener("autosaveChanged",mxUtils.bind(this,function(){this.refresh()}));this.refresh()};Format.prototype.clearSelectionState=function(){this.selectionState=null};Format.prototype.getSelectionState=function(){null==this.selectionState&&(this.selectionState=this.createSelectionState());return this.selectionState};\r\nFormat.prototype.createSelectionState=function(){for(var a=this.editorUi.editor.graph.getSelectionCells(),c=this.initSelectionState(),d=!0,b=0;b<a.length;b++){var f=this.editorUi.editor.graph.getCurrentCellStyle(a[b]);"0"!=mxUtils.getValue(f,mxConstants.STYLE_EDITABLE,"1")&&(this.updateSelectionStateForCell(c,a[b],a,d),d=!1)}return c};\r\nFormat.prototype.initSelectionState=function(){return{vertices:[],edges:[],cells:[],x:null,y:null,width:null,height:null,style:{},containsImage:!1,containsLabel:!1,fill:!0,glass:!0,rounded:!0,autoSize:!1,image:!0,shadow:!0,lineJumps:!0,resizable:!0,table:!1,cell:!1,row:!1,movable:!0,rotatable:!0,stroke:!0}};\r\nFormat.prototype.updateSelectionStateForCell=function(a,c,d,b){d=this.editorUi.editor.graph;a.cells.push(c);if(d.getModel().isVertex(c)){a.resizable=a.resizable&&d.isCellResizable(c);a.rotatable=a.rotatable&&d.isCellRotatable(c);a.movable=a.movable&&d.isCellMovable(c)&&!d.isTableRow(c)&&!d.isTableCell(c);a.table=a.table||d.isTable(c);a.cell=a.cell||d.isTableCell(c);a.row=a.row||d.isTableRow(c);a.vertices.push(c);var f=d.getCellGeometry(c);if(null!=f&&(0<f.width?null==a.width?a.width=f.width:a.width!=\r\nf.width&&(a.width=""):a.containsLabel=!0,0<f.height?null==a.height?a.height=f.height:a.height!=f.height&&(a.height=""):a.containsLabel=!0,!f.relative||null!=f.offset)){var e=f.relative?f.offset.x:f.x,f=f.relative?f.offset.y:f.y;null==a.x?a.x=e:a.x!=e&&(a.x="");null==a.y?a.y=f:a.y!=f&&(a.y="")}}else d.getModel().isEdge(c)&&(a.edges.push(c),a.resizable=!1,a.rotatable=!1,a.movable=!1);c=d.view.getState(c);null!=c&&(a.autoSize=a.autoSize||this.isAutoSizeState(c),a.glass=a.glass&&this.isGlassState(c),\r\na.rounded=a.rounded&&this.isRoundedState(c),a.lineJumps=a.lineJumps&&this.isLineJumpState(c),a.image=a.image&&this.isImageState(c),a.shadow=a.shadow&&this.isShadowState(c),a.fill=a.fill&&this.isFillState(c),a.stroke=a.stroke&&this.isStrokeState(c),e=mxUtils.getValue(c.style,mxConstants.STYLE_SHAPE,null),a.containsImage=a.containsImage||"image"==e,d.mergeStyle(c.style,a.style,b))};\r\nFormat.prototype.isFillState=function(a){return!this.isSpecialColor(a.style[mxConstants.STYLE_FILLCOLOR])&&(a.view.graph.model.isVertex(a.cell)||"arrow"==mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null)||"filledEdge"==mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null)||"flexArrow"==mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null))};Format.prototype.isStrokeState=function(a){return!this.isSpecialColor(a.style[mxConstants.STYLE_STROKECOLOR])};\r\nFormat.prototype.isSpecialColor=function(a){return 0<=mxUtils.indexOf([mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_FILLCOLOR,"inherit","swimlane","indicated"],a)};Format.prototype.isGlassState=function(a){a=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);return"label"==a||"rectangle"==a||"internalStorage"==a||"ext"==a||"umlLifeline"==a||"swimlane"==a||"process"==a};\r\nFormat.prototype.isRoundedState=function(a){return null!=a.shape?a.shape.isRoundable():0<=mxUtils.indexOf(this.roundableShapes,mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null))};Format.prototype.isLineJumpState=function(a){var c=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);return!mxUtils.getValue(a.style,mxConstants.STYLE_CURVED,!1)&&("connector"==c||"filledEdge"==c)};Format.prototype.isAutoSizeState=function(a){return"1"==mxUtils.getValue(a.style,mxConstants.STYLE_AUTOSIZE,null)};\r\nFormat.prototype.isImageState=function(a){a=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);return"label"==a||"image"==a};Format.prototype.isShadowState=function(a){return"image"!=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null)};Format.prototype.clear=function(){this.container.innerHTML="";if(null!=this.panels)for(var a=0;a<this.panels.length;a++)this.panels[a].destroy();this.panels=[]};\r\nFormat.prototype.refresh=function(){null!=this.pendingRefresh&&(window.clearTimeout(this.pendingRefresh),this.pendingRefresh=null);this.pendingRefresh=window.setTimeout(mxUtils.bind(this,function(){this.immediateRefresh()}))};\r\nFormat.prototype.immediateRefresh=function(){if("0px"!=this.container.style.width){this.clear();var a=this.editorUi,c=a.editor.graph,d=document.createElement("div");d.style.whiteSpace="nowrap";d.style.color="rgb(112, 112, 112)";d.style.textAlign="left";d.style.cursor="default";var b=document.createElement("div");b.className="geFormatSection";b.style.textAlign="center";b.style.fontWeight="bold";b.style.paddingTop="8px";b.style.fontSize="13px";b.style.borderWidth="0px 0px 1px 1px";b.style.borderStyle=\r\n"solid";b.style.display="inline-block";b.style.height="25px";b.style.overflow="hidden";b.style.width="100%";this.container.appendChild(d);mxEvent.addListener(b,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));var f=this.getSelectionState(),e=f.containsLabel,h=null,g=null,k=mxUtils.bind(this,function(a,b,d,f){var k=mxUtils.bind(this,function(f){h!=a&&(e?this.labelIndex=d:c.isSelectionEmpty()?this.diagramIndex=d:this.currentIndex=d,null!=h&&(h.style.backgroundColor=\r\nFormat.inactiveTabBackgroundColor,h.style.borderBottomWidth="1px"),h=a,h.style.backgroundColor="",h.style.borderBottomWidth="0px",g!=b&&(null!=g&&(g.style.display="none"),g=b,g.style.display=""))});mxEvent.addListener(a,"click",k);mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));(f&&null==h||d==(e?this.labelIndex:c.isSelectionEmpty()?this.diagramIndex:this.currentIndex))&&k()}),l=0;if(c.isSelectionEmpty()){mxUtils.write(b,mxResources.get("diagram"));\r\nb.style.borderLeftWidth="0px";d.appendChild(b);f=d.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,f));this.container.appendChild(f);if(null!=Editor.styles){f.style.display="none";b.style.width=this.showCloseButton?"106px":"50%";b.style.cursor="pointer";b.style.backgroundColor=Format.inactiveTabBackgroundColor;var m=b.cloneNode(!1);m.style.borderLeftWidth="1px";m.style.borderRightWidth="1px";m.style.backgroundColor=Format.inactiveTabBackgroundColor;k(b,f,l++);var n=d.cloneNode(!1);n.style.display=\r\n"none";mxUtils.write(m,mxResources.get("style"));d.appendChild(m);this.panels.push(new DiagramStylePanel(this,a,n));this.container.appendChild(n);k(m,n,l++)}this.showCloseButton&&(m=b.cloneNode(!1),m.style.borderLeftWidth="1px",m.style.borderRightWidth="1px",m.style.borderBottomWidth="1px",m.style.backgroundColor=Format.inactiveTabBackgroundColor,m.style.position="absolute",m.style.right="0px",m.style.top="0px",m.style.width="25px",k=document.createElement("img"),k.setAttribute("border","0"),k.setAttribute("src",\r\nDialog.prototype.closeImage),k.setAttribute("title",mxResources.get("hide")),k.style.position="absolute",k.style.display="block",k.style.right="0px",k.style.top="8px",k.style.cursor="pointer",k.style.marginTop="1px",k.style.marginRight="6px",k.style.border="1px solid transparent",k.style.padding="1px",k.style.opacity=.5,m.appendChild(k),mxEvent.addListener(k,"click",function(){a.actions.get("formatPanel").funct()}),d.appendChild(m))}else if(c.isEditing())mxUtils.write(b,mxResources.get("text")),d.appendChild(b),\r\nthis.panels.push(new TextFormatPanel(this,a,d));else{b.style.backgroundColor=Format.inactiveTabBackgroundColor;b.style.borderLeftWidth="1px";b.style.cursor="pointer";b.style.width=e||0==f.cells.length?"50%":"33.3%";var m=b.cloneNode(!1),p=m.cloneNode(!1);m.style.backgroundColor=Format.inactiveTabBackgroundColor;p.style.backgroundColor=Format.inactiveTabBackgroundColor;e?m.style.borderLeftWidth="0px":(b.style.borderLeftWidth="0px",mxUtils.write(b,mxResources.get("style")),d.appendChild(b),n=d.cloneNode(!1),\r\nn.style.display="none",this.panels.push(new StyleFormatPanel(this,a,n)),this.container.appendChild(n),k(b,n,l++));mxUtils.write(m,mxResources.get("text"));d.appendChild(m);b=d.cloneNode(!1);b.style.display="none";this.panels.push(new TextFormatPanel(this,a,b));this.container.appendChild(b);mxUtils.write(p,mxResources.get("arrange"));d.appendChild(p);d=d.cloneNode(!1);d.style.display="none";this.panels.push(new ArrangePanel(this,a,d));this.container.appendChild(d);0<f.cells.length?k(m,b,l++):m.style.display=\r\n"none";k(p,d,l++,!0)}}};BaseFormatPanel=function(a,c,d){this.format=a;this.editorUi=c;this.container=d;this.listeners=[]};BaseFormatPanel.prototype.buttonBackgroundColor="white";\r\nBaseFormatPanel.prototype.installInputHandler=function(a,c,d,b,f,e,h,g){e=null!=e?e:"";g=null!=g?g:!1;var k=this.editorUi,l=k.editor.graph;b=null!=b?b:1;f=null!=f?f:999;var m=null,n=!1,p=mxUtils.bind(this,function(p){var r=g?parseFloat(a.value):parseInt(a.value);isNaN(r)||c!=mxConstants.STYLE_ROTATION||(r=mxUtils.mod(Math.round(100*r),36E3)/100);r=Math.min(f,Math.max(b,isNaN(r)?d:r));if(l.cellEditor.isContentEditing()&&h)n||(n=!0,null!=m&&(l.cellEditor.restoreSelection(m),m=null),h(r),a.value=r+e,\r\nn=!1);else if(r!=mxUtils.getValue(this.format.getSelectionState().style,c,d)){l.isEditing()&&l.stopEditing(!0);l.getModel().beginUpdate();try{var t=this.format.getSelectionState().cells;l.setCellStyles(c,r,t);c==mxConstants.STYLE_FONTSIZE&&l.updateLabelElements(t,function(a){a.style.fontSize=r+"px";a.removeAttribute("size")});for(var u=0;u<t.length;u++)0==l.model.getChildCount(t[u])&&l.autoSizeCell(t[u],!1);k.fireEvent(new mxEventObject("styleChanged","keys",[c],"values",[r],"cells",t))}finally{l.getModel().endUpdate()}}a.value=\r\nr+e;mxEvent.consume(p)});h&&l.cellEditor.isContentEditing()&&(mxEvent.addListener(a,"mousedown",function(){document.activeElement==l.cellEditor.textarea&&(m=l.cellEditor.saveSelection())}),mxEvent.addListener(a,"touchstart",function(){document.activeElement==l.cellEditor.textarea&&(m=l.cellEditor.saveSelection())}));mxEvent.addListener(a,"change",p);mxEvent.addListener(a,"blur",p);return p};\r\nBaseFormatPanel.prototype.createPanel=function(){var a=document.createElement("div");a.className="geFormatSection";a.style.padding="12px 0px 12px 18px";return a};BaseFormatPanel.prototype.createTitle=function(a){var c=document.createElement("div");c.style.padding="0px 0px 6px 0px";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.width="200px";c.style.fontWeight="bold";mxUtils.write(c,a);return c};\r\nBaseFormatPanel.prototype.createStepper=function(a,c,d,b,f,e,h){d=null!=d?d:1;b=null!=b?b:8;if(mxClient.IS_MT||8<=document.documentMode)b+=1;var g=document.createElement("div");mxUtils.setPrefixedStyle(g.style,"borderRadius","3px");g.style.border="1px solid rgb(192, 192, 192)";g.style.position="absolute";var k=document.createElement("div");k.style.borderBottom="1px solid rgb(192, 192, 192)";k.style.position="relative";k.style.height=b+"px";k.style.width="10px";k.className="geBtnUp";g.appendChild(k);\r\nvar l=k.cloneNode(!1);l.style.border="none";l.style.height=b+"px";l.className="geBtnDown";g.appendChild(l);mxEvent.addListener(l,"click",function(b){""==a.value&&(a.value=e||"2");var f=h?parseFloat(a.value):parseInt(a.value);isNaN(f)||(a.value=f-d,null!=c&&c(b));mxEvent.consume(b)});mxEvent.addListener(k,"click",function(b){""==a.value&&(a.value=e||"0");var f=h?parseFloat(a.value):parseInt(a.value);isNaN(f)||(a.value=f+d,null!=c&&c(b));mxEvent.consume(b)});if(f){var m=null;mxEvent.addGestureListeners(g,\r\nfunction(a){mxEvent.consume(a)},null,function(a){if(null!=m){try{m.select()}catch(p){}m=null;mxEvent.consume(a)}})}return g};\r\nBaseFormatPanel.prototype.createOption=function(a,c,d,b,f){var e=document.createElement("div");e.style.padding="6px 0px 1px 0px";e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.width="200px";e.style.height="18px";var h=document.createElement("input");h.setAttribute("type","checkbox");h.style.margin="0px 6px 0px 0px";e.appendChild(h);var g=document.createElement("span");mxUtils.write(g,a);e.appendChild(g);var k=!1,l=c(),m=function(a){k||(k=!0,a?(h.setAttribute("checked","checked"),h.defaultChecked=\r\n!0,h.checked=!0):(h.removeAttribute("checked"),h.defaultChecked=!1,h.checked=!1),l!=a&&(l=a,c()!=l&&d(l)),k=!1)};mxEvent.addListener(e,"click",function(a){if("disabled"!=h.getAttribute("disabled")){a=mxEvent.getSource(a);if(a==e||a==g)h.checked=!h.checked;m(h.checked)}});m(l);null!=b&&(b.install(m),this.listeners.push(b));null!=f&&f(e);return e};\r\nBaseFormatPanel.prototype.createCellOption=function(a,c,d,b,f,e,h,g,k){var l=this.editorUi,m=l.editor.graph,n=this;b=null!=b?"null"==b?null:b:1;f=null!=f?"null"==f?null:f:0;var p=null!=k?m.getCommonStyle(k):this.format.getSelectionState().style;return this.createOption(a,function(){return mxUtils.getValue(p,c,d)!=f},function(a){g&&m.stopEditing();if(null!=h)h.funct();else{m.getModel().beginUpdate();try{var d=null!=k?k:n.format.getSelectionState().cells;a=a?b:f;m.setCellStyles(c,a,d);null!=e&&e(d,\r\na);l.fireEvent(new mxEventObject("styleChanged","keys",[c],"values",[a],"cells",d))}finally{m.getModel().endUpdate()}}},{install:function(a){this.listener=function(){a(mxUtils.getValue(p,c,d)!=f)};m.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){m.getModel().removeListener(this.listener)}})};\r\nBaseFormatPanel.prototype.createColorOption=function(a,c,d,b,f,e,h){var g=document.createElement("div");g.style.padding="6px 0px 1px 0px";g.style.whiteSpace="nowrap";g.style.overflow="hidden";g.style.width="200px";g.style.height="18px";var k=document.createElement("input");k.setAttribute("type","checkbox");k.style.margin="0px 6px 0px 0px";h||g.appendChild(k);var l=document.createElement("span");mxUtils.write(l,a);g.appendChild(l);var m=c(),n=!1,p=null,t=function(a,f,g){n||(n=!0,a=/(^#?[a-zA-Z0-9]*$)/.test(a)?\r\na:b,p.innerHTML=\'<div style="width:36px;height:12px;margin:3px;border:1px solid black;background-color:\'+mxUtils.htmlEntities(null!=a&&a!=mxConstants.NONE?a:b)+\';"></div>\',null!=a&&a!=mxConstants.NONE?(k.setAttribute("checked","checked"),k.defaultChecked=!0,k.checked=!0):(k.removeAttribute("checked"),k.defaultChecked=!1,k.checked=!1),p.style.display=k.checked||h?"":"none",null!=e&&e(a),f||(m=a,(g||h||c()!=m)&&d(m)),n=!1)},p=mxUtils.button("",mxUtils.bind(this,function(a){this.editorUi.pickColor(m,\r\nfunction(a){t(a,null,!0)});mxEvent.consume(a)}));p.style.position="absolute";p.style.marginTop="-4px";p.style.right="20px";p.style.height="22px";p.className="geColorBtn";p.style.display=k.checked||h?"":"none";g.appendChild(p);mxEvent.addListener(g,"click",function(a){a=mxEvent.getSource(a);if(a==k||"INPUT"!=a.nodeName)a!=k&&(k.checked=!k.checked),k.checked||null==m||m==mxConstants.NONE||b==mxConstants.NONE||(b=m),t(k.checked?b:mxConstants.NONE)});t(m,!0);null!=f&&(f.install(t),this.listeners.push(f));\r\nreturn g};\r\nBaseFormatPanel.prototype.createCellColorOption=function(a,c,d,b,f){var e=this.editorUi,h=e.editor.graph,g=this;return this.createColorOption(a,function(){var a=h.view.getState(g.format.getSelectionState().cells[0]);return null!=a?mxUtils.getValue(a.style,c,null):null},function(a){h.getModel().beginUpdate();try{var b=g.format.getSelectionState().cells;h.setCellStyles(c,a,b);null!=f&&f(a);e.fireEvent(new mxEventObject("styleChanged","keys",[c],"values",[a],"cells",b))}finally{h.getModel().endUpdate()}},d||\r\nmxConstants.NONE,{install:function(a){this.listener=function(){var b=h.view.getState(g.format.getSelectionState().cells[0]);null!=b&&a(mxUtils.getValue(b.style,c,null))};h.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){h.getModel().removeListener(this.listener)}},b)};\r\nBaseFormatPanel.prototype.addArrow=function(a,c){c=null!=c?c:10;var d=document.createElement("div");d.style.display="inline-block";d.style.padding="6px";d.style.paddingRight="4px";var b=10-c;2==b?d.style.paddingTop="6px":0<b?d.style.paddingTop=6-b+"px":d.style.marginTop="-2px";d.style.height=c+"px";d.style.borderLeft="1px solid #a0a0a0";d.innerHTML=\'<img border="0" src="\'+(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUeNpidHB2ZyAGsACxDRBPIKCuA6TwCBB/h2rABu4A8SYmKCcXiP/iUFgAxL9gCi8A8SwsirZCMQMTkmANEH9E4v+CmsaArvAdyNFI/FlQ92EoBIE+qCRIUz168DBgsU4OqhinQpgHMABAgAEALY4XLIsJ20oAAAAASUVORK5CYII=":\r\nIMAGE_PATH+"/dropdown.png")+\'" style="margin-bottom:4px;">\';mxUtils.setOpacity(d,70);b=a.getElementsByTagName("div")[0];null!=b&&(b.style.paddingRight="6px",b.style.marginLeft="4px",b.style.marginTop="-1px",b.style.display="inline-block",mxUtils.setOpacity(b,60));mxUtils.setOpacity(a,100);a.style.border="1px solid #a0a0a0";a.style.backgroundColor=this.buttonBackgroundColor;a.style.backgroundImage="none";a.style.width="auto";a.className+=" geColorBtn";mxUtils.setPrefixedStyle(a.style,"borderRadius",\r\n"3px");a.appendChild(d);return b};BaseFormatPanel.prototype.addUnitInput=function(a,c,d,b,f,e,h,g,k){h=null!=h?h:0;c=document.createElement("input");c.style.position="absolute";c.style.textAlign="right";c.style.marginTop="-2px";c.style.right=d+12+"px";c.style.width=b+"px";a.appendChild(c);b=this.createStepper(c,f,e,null,g,null,k);b.style.marginTop=h-2+"px";b.style.right=d+"px";a.appendChild(b);return c};\r\nBaseFormatPanel.prototype.createRelativeOption=function(a,c,d,b,f){d=null!=d?d:44;var e=this.editorUi.editor.graph,h=this.createPanel();h.style.paddingTop="10px";h.style.paddingBottom="10px";mxUtils.write(h,a);h.style.fontWeight="bold";a=mxUtils.bind(this,function(a){if(null!=b)b(g);else{var d=parseInt(g.value),d=Math.min(100,Math.max(0,isNaN(d)?100:d)),f=e.view.getState(this.format.getSelectionState().cells[0]);null!=f&&d!=mxUtils.getValue(f.style,c,100)&&(100==d&&(d=null),f=this.format.getSelectionState().cells,\r\ne.setCellStyles(c,d,f),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[c],"values",[d],"cells",f)));g.value=(null!=d?d:"100")+" %"}mxEvent.consume(a)});var g=this.addUnitInput(h,"%",20,d,a,10,-14,null!=b);if(null!=c){var k=mxUtils.bind(this,function(a,b,d){if(d||g!=document.activeElement)a=this.format.getSelectionState(),a=parseInt(mxUtils.getValue(a.style,c,100)),g.value=isNaN(a)?"":a+" %"});mxEvent.addListener(g,"keydown",function(a){13==a.keyCode?(e.container.focus(),mxEvent.consume(a)):\r\n27==a.keyCode&&(k(null,null,!0),e.container.focus(),mxEvent.consume(a))});e.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){e.getModel().removeListener(k)}});k()}mxEvent.addListener(g,"blur",a);mxEvent.addListener(g,"change",a);null!=f&&f(g);return h};\r\nBaseFormatPanel.prototype.addLabel=function(a,c,d,b){b=null!=b?b:61;var f=document.createElement("div");mxUtils.write(f,c);f.style.position="absolute";f.style.right=d+"px";f.style.width=b+"px";f.style.marginTop="6px";f.style.textAlign="center";a.appendChild(f)};\r\nBaseFormatPanel.prototype.addKeyHandler=function(a,c){mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(a){13==a.keyCode?(this.editorUi.editor.graph.container.focus(),mxEvent.consume(a)):27==a.keyCode&&(null!=c&&c(null,null,!0),this.editorUi.editor.graph.container.focus(),mxEvent.consume(a))}))};\r\nBaseFormatPanel.prototype.styleButtons=function(a){for(var c=0;c<a.length;c++)mxUtils.setPrefixedStyle(a[c].style,"borderRadius","3px"),mxUtils.setOpacity(a[c],100),a[c].style.border="1px solid #a0a0a0",a[c].style.padding="4px",a[c].style.paddingTop="3px",a[c].style.paddingRight="1px",a[c].style.margin="1px",a[c].style.width="24px",a[c].style.height="20px",a[c].className+=" geColorBtn"};\r\nBaseFormatPanel.prototype.destroy=function(){if(null!=this.listeners){for(var a=0;a<this.listeners.length;a++)this.listeners[a].destroy();this.listeners=null}};ArrangePanel=function(a,c,d){BaseFormatPanel.call(this,a,c,d);this.init()};mxUtils.extend(ArrangePanel,BaseFormatPanel);\r\nArrangePanel.prototype.init=function(){var a=this.editorUi.editor.graph,c=this.format.getSelectionState();0<c.cells.length&&(this.container.appendChild(this.addLayerOps(this.createPanel())),this.addGeometry(this.container),this.addEdgeGeometry(this.container),c.containsLabel&&0!=c.edges.length||this.container.appendChild(this.addAngle(this.createPanel())),c.containsLabel||0!=c.edges.length||"rectangle"==c.style.shape||"label"==c.style.shape||this.container.appendChild(this.addFlip(this.createPanel())),\r\n1<c.vertices.length&&(this.container.appendChild(this.addAlign(this.createPanel())),this.container.appendChild(this.addDistribute(this.createPanel()))),(a.isTable(c.vertices[0])||a.isTableRow(c.vertices[0])||a.isTableCell(c.vertices[0]))&&this.container.appendChild(this.addTable(this.createPanel())));this.container.appendChild(this.addGroupOps(this.createPanel()));c.containsLabel&&(a=document.createElement("div"),a.style.width="100%",a.style.marginTop="0px",a.style.fontWeight="bold",a.style.padding=\r\n"10px 0 0 18px",mxUtils.write(a,mxResources.get("style")),this.container.appendChild(a),new StyleFormatPanel(this.format,this.editorUi,this.container))};\r\nArrangePanel.prototype.addTable=function(a){var c=this.editorUi,d=c.editor.graph,b=this.format.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="10px";var f=document.createElement("div");f.style.marginTop="2px";f.style.marginBottom="8px";f.style.fontWeight="bold";mxUtils.write(f,mxResources.get("table"));a.appendChild(f);f=document.createElement("div");f.style.position="relative";f.style.paddingLeft="0px";f.style.borderWidth="0px";f.className="geToolbarContainer";var e=[c.toolbar.addButton("geSprite-insertcolumnbefore",\r\nmxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{d.insertTableColumn(b.vertices[0],!0)}catch(h){c.handleError(h)}}),f),c.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{d.insertTableColumn(b.vertices[0],!1)}catch(h){c.handleError(h)}}),f),c.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{d.deleteTableColumn(b.vertices[0])}catch(h){c.handleError(h)}}),\r\nf),c.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{d.insertTableRow(b.vertices[0],!0)}catch(h){c.handleError(h)}}),f),c.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{d.insertTableRow(b.vertices[0],!1)}catch(h){c.handleError(h)}}),f),c.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{d.deleteTableRow(b.vertices[0])}catch(h){c.handleError(h)}}),\r\nf)];this.styleButtons(e);a.appendChild(f);e[2].style.marginRight="9px";return a};\r\nArrangePanel.prototype.addLayerOps=function(a){var c=this.editorUi,d=c.editor.graph,b=mxUtils.button(mxResources.get("toFront"),function(a){c.actions.get("toFront").funct()});b.setAttribute("title",mxResources.get("toFront")+" ("+this.editorUi.actions.get("toFront").shortcut+")");b.style.width="100px";b.style.marginRight="2px";a.appendChild(b);b=mxUtils.button(mxResources.get("toBack"),function(a){c.actions.get("toBack").funct()});b.setAttribute("title",mxResources.get("toBack")+" ("+this.editorUi.actions.get("toBack").shortcut+\r\n")");b.style.width="100px";a.appendChild(b);1==d.getSelectionCount()&&(mxUtils.br(a),b=mxUtils.button(mxResources.get("bringForward"),function(a){c.actions.get("bringForward").funct()}),b.setAttribute("title",mxResources.get("bringForward")),b.style.width="100px",b.style.marginRight="2px",a.appendChild(b),b=mxUtils.button(mxResources.get("sendBackward"),function(a){c.actions.get("sendBackward").funct()}),b.setAttribute("title",mxResources.get("sendBackward")),b.style.width="100px",a.appendChild(b));\r\nreturn a};\r\nArrangePanel.prototype.addGroupOps=function(a){var c=this.editorUi,d=c.editor.graph,b=this.format.getSelectionState(),f=b.cells[0],e=0,h=null;a.style.paddingTop="8px";a.style.paddingBottom="6px";1<d.getSelectionCount()?(h=mxUtils.button(mxResources.get("group"),function(a){c.actions.get("group").funct()}),h.setAttribute("title",mxResources.get("group")+" ("+this.editorUi.actions.get("group").shortcut+")"),h.style.width="202px",h.style.marginBottom="2px",a.appendChild(h),e++):!(1!=b.cells.length||d.getModel().isEdge(f)||\r\nd.isSwimlane(f)||d.isTable(f)||b.row||b.cell)&&0<d.getModel().getChildCount(f)&&(h=mxUtils.button(mxResources.get("ungroup"),function(a){c.actions.get("ungroup").funct()}),h.setAttribute("title",mxResources.get("ungroup")+" ("+this.editorUi.actions.get("ungroup").shortcut+")"),h.style.width="202px",h.style.marginBottom="2px",a.appendChild(h),e++);if(d.getModel().isVertex(d.getSelectionCell())&&(0<e&&(mxUtils.br(a),e=0),h=mxUtils.button(mxResources.get("copySize"),function(a){c.actions.get("copySize").funct(a)}),\r\nh.setAttribute("title",mxResources.get("copySize")+" ("+this.editorUi.actions.get("copySize").shortcut+")"),h.style.width="202px",h.style.marginBottom="2px",a.appendChild(h),e++,null!=c.copiedSize&&0<b.vertices.length)){var g=mxUtils.button(mxResources.get("pasteSize"),function(a){c.actions.get("pasteSize").funct(a)});g.setAttribute("title",mxResources.get("pasteSize")+" ("+this.editorUi.actions.get("pasteSize").shortcut+")");a.appendChild(g);e++;h.style.width="100px";h.style.marginBottom="2px";g.style.width=\r\n"100px";g.style.marginBottom="2px"}0<d.getSelectionCount()&&(0<e&&(mxUtils.br(a),e=0),h=mxUtils.button(mxResources.get("copyData"),function(a){c.actions.get("copyData").funct(a)}),h.setAttribute("title",mxResources.get("copyData")+" ("+this.editorUi.actions.get("copyData").shortcut+")"),h.style.width="202px",h.style.marginBottom="2px",a.appendChild(h),e++,null!=c.copiedValue&&0<b.cells.length&&(g=mxUtils.button(mxResources.get("pasteData"),function(a){c.actions.get("pasteData").funct(a)}),g.setAttribute("title",\r\nmxResources.get("pasteData")+" ("+this.editorUi.actions.get("pasteData").shortcut+")"),a.appendChild(g),e++,h.style.width="100px",h.style.marginBottom="2px",g.style.width="100px",g.style.marginBottom="2px"));1==b.cells.length&&d.getModel().isVertex(f)&&!b.row&&!b.cell&&d.getModel().isVertex(d.getModel().getParent(f))?(0<e&&mxUtils.br(a),h=mxUtils.button(mxResources.get("removeFromGroup"),function(a){c.actions.get("removeFromGroup").funct()}),h.setAttribute("title",mxResources.get("removeFromGroup")),\r\nh.style.width="202px",h.style.marginBottom="2px",a.appendChild(h),e++):0<b.cells.length&&(0<e&&mxUtils.br(a),h=mxUtils.button(mxResources.get("clearWaypoints"),mxUtils.bind(this,function(a){this.editorUi.actions.get("clearWaypoints").funct(a)})),h.setAttribute("title",mxResources.get("clearWaypoints")+" ("+this.editorUi.actions.get("clearWaypoints").shortcut+")"),h.style.width="202px",h.style.marginBottom="2px",a.appendChild(h),e++);1==b.cells.length&&(0<e&&mxUtils.br(a),h=mxUtils.button(mxResources.get("editData"),\r\nmxUtils.bind(this,function(a){this.editorUi.actions.get("editData").funct()})),h.setAttribute("title",mxResources.get("editData")+" ("+this.editorUi.actions.get("editData").shortcut+")"),h.style.width="100px",h.style.marginBottom="2px",a.appendChild(h),e++,h=mxUtils.button(mxResources.get("editLink"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editLink").funct()})),h.setAttribute("title",mxResources.get("editLink")+" ("+this.editorUi.actions.get("editLink").shortcut+")"),h.style.width=\r\n"100px",h.style.marginLeft="2px",h.style.marginBottom="2px",a.appendChild(h),e++);0==e&&(a.style.display="none");return a};\r\nArrangePanel.prototype.addAlign=function(a){var c=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="12px";a.appendChild(this.createTitle(mxResources.get("align")));var d=document.createElement("div");d.style.position="relative";d.style.paddingLeft="0px";d.style.borderWidth="0px";d.className="geToolbarContainer";var b=this.editorUi.toolbar.addButton("geSprite-alignleft",mxResources.get("left"),function(){c.alignCells(mxConstants.ALIGN_LEFT)},d),f=this.editorUi.toolbar.addButton("geSprite-aligncenter",\r\nmxResources.get("center"),function(){c.alignCells(mxConstants.ALIGN_CENTER)},d),e=this.editorUi.toolbar.addButton("geSprite-alignright",mxResources.get("right"),function(){c.alignCells(mxConstants.ALIGN_RIGHT)},d),h=this.editorUi.toolbar.addButton("geSprite-aligntop",mxResources.get("top"),function(){c.alignCells(mxConstants.ALIGN_TOP)},d),g=this.editorUi.toolbar.addButton("geSprite-alignmiddle",mxResources.get("middle"),function(){c.alignCells(mxConstants.ALIGN_MIDDLE)},d),k=this.editorUi.toolbar.addButton("geSprite-alignbottom",\r\nmxResources.get("bottom"),function(){c.alignCells(mxConstants.ALIGN_BOTTOM)},d);this.styleButtons([b,f,e,h,g,k]);e.style.marginRight="6px";a.appendChild(d);return a};\r\nArrangePanel.prototype.addFlip=function(a){var c=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="10px";var d=document.createElement("div");d.style.marginTop="2px";d.style.marginBottom="8px";d.style.fontWeight="bold";mxUtils.write(d,mxResources.get("flip"));a.appendChild(d);d=mxUtils.button(mxResources.get("horizontal"),function(a){c.toggleCellStyles(mxConstants.STYLE_FLIPH,!1)});d.setAttribute("title",mxResources.get("horizontal"));d.style.width="100px";d.style.marginRight=\r\n"2px";a.appendChild(d);d=mxUtils.button(mxResources.get("vertical"),function(a){c.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)});d.setAttribute("title",mxResources.get("vertical"));d.style.width="100px";a.appendChild(d);return a};\r\nArrangePanel.prototype.addDistribute=function(a){var c=this.editorUi.editor.graph;a.style.paddingTop="6px";a.style.paddingBottom="12px";a.appendChild(this.createTitle(mxResources.get("distribute")));var d=mxUtils.button(mxResources.get("horizontal"),function(a){c.distributeCells(!0)});d.setAttribute("title",mxResources.get("horizontal"));d.style.width="100px";d.style.marginRight="2px";a.appendChild(d);d=mxUtils.button(mxResources.get("vertical"),function(a){c.distributeCells(!1)});d.setAttribute("title",\r\nmxResources.get("vertical"));d.style.width="100px";a.appendChild(d);return a};\r\nArrangePanel.prototype.addAngle=function(a){var c=this.editorUi,d=c.editor.graph,b=this.format.getSelectionState();a.style.paddingBottom="8px";var f=document.createElement("div");f.style.position="absolute";f.style.width="70px";f.style.marginTop="0px";f.style.fontWeight="bold";var e=null,h=null,g=null;!b.rotatable||b.table||b.row||b.cell?a.style.paddingTop="8px":(mxUtils.write(f,mxResources.get("angle")),a.appendChild(f),e=this.addUnitInput(a,"°",20,44,function(){h.apply(this,arguments)}),mxUtils.br(a),\r\na.style.paddingTop="10px");b.containsLabel||(f=mxResources.get("reverse"),0<b.vertices.length&&0<b.edges.length?f=mxResources.get("turn")+" / "+f:0<b.vertices.length&&(f=mxResources.get("turn")),g=mxUtils.button(f,function(a){c.actions.get("turn").funct(a)}),g.setAttribute("title",f+" ("+this.editorUi.actions.get("turn").shortcut+")"),g.style.width="202px",a.appendChild(g),null!=e&&(g.style.marginTop="8px"));if(null!=e){var k=mxUtils.bind(this,function(a,c,d){if(d||document.activeElement!=e)b=this.format.getSelectionState(),\r\na=parseFloat(mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION,0)),e.value=isNaN(a)?"":a+"°"}),h=this.installInputHandler(e,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(e,k);d.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){d.getModel().removeListener(k)}});k()}return a};BaseFormatPanel.prototype.getUnit=function(){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return"pt";case mxConstants.INCHES:return\'"\';case mxConstants.MILLIMETERS:return"mm"}};\r\nBaseFormatPanel.prototype.inUnit=function(a){return this.editorUi.editor.graph.view.formatUnitText(a)};BaseFormatPanel.prototype.fromUnit=function(a){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return a;case mxConstants.INCHES:return a*mxConstants.PIXELS_PER_INCH;case mxConstants.MILLIMETERS:return a*mxConstants.PIXELS_PER_MM}};BaseFormatPanel.prototype.isFloatUnit=function(){return this.editorUi.editor.graph.view.unit!=mxConstants.POINTS};\r\nBaseFormatPanel.prototype.getUnitStep=function(){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return 1;case mxConstants.INCHES:return.1;case mxConstants.MILLIMETERS:return.5}};\r\nArrangePanel.prototype.addGeometry=function(a){var c=this,d=this.editorUi,b=d.editor.graph,f=b.getModel(),e=this.format.getSelectionState(),h=this.createPanel();h.style.paddingBottom="8px";var g=document.createElement("div");g.style.position="absolute";g.style.width="50px";g.style.marginTop="0px";g.style.fontWeight="bold";mxUtils.write(g,mxResources.get("size"));h.appendChild(g);var k,l,m,n,p=this.addUnitInput(h,this.getUnit(),84,44,function(){k.apply(this,arguments)},this.getUnitStep(),null,null,\r\nthis.isFloatUnit()),t=this.addUnitInput(h,this.getUnit(),20,44,function(){l.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),r=document.createElement("div");r.className="geSprite geSprite-fit";r.setAttribute("title",mxResources.get("autosize")+" ("+this.editorUi.actions.get("autosize").shortcut+")");r.style.position="relative";r.style.cursor="pointer";r.style.marginTop="-3px";r.style.border="0px";r.style.left="42px";mxUtils.setOpacity(r,50);mxEvent.addListener(r,"mouseenter",\r\nfunction(){mxUtils.setOpacity(r,100)});mxEvent.addListener(r,"mouseleave",function(){mxUtils.setOpacity(r,50)});mxEvent.addListener(r,"click",function(){d.actions.get("autosize").funct()});h.appendChild(r);e.row?(p.style.visibility="hidden",p.nextSibling.style.visibility="hidden"):this.addLabel(h,mxResources.get("width"),84);this.addLabel(h,mxResources.get("height"),20);mxUtils.br(h);g=document.createElement("div");g.style.paddingTop="8px";g.style.paddingRight="20px";g.style.whiteSpace="nowrap";g.style.textAlign=\r\n"right";var v=this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPECT,null,"fixed","null");v.style.width="100%";g.appendChild(v);e.cell||e.row?r.style.visibility="hidden":h.appendChild(g);var u=v.getElementsByTagName("input")[0];this.addKeyHandler(p,E);this.addKeyHandler(t,E);k=this.addGeometryHandler(p,function(a,d,e){if(b.isTableCell(e))return b.setTableColumnWidth(e,d-a.width,!0),!0;0<a.width&&(d=Math.max(1,c.fromUnit(d)),u.checked&&(a.height=Math.round(a.height*\r\nd*100/a.width)/100),a.width=d)});l=this.addGeometryHandler(t,function(a,d,e){b.isTableCell(e)&&(e=b.model.getParent(e));if(b.isTableRow(e))return b.setTableRowHeight(e,d-a.height),!0;0<a.height&&(d=Math.max(1,c.fromUnit(d)),u.checked&&(a.width=Math.round(a.width*d*100/a.height)/100),a.height=d)});(e.resizable||e.row||e.cell)&&a.appendChild(h);var w=this.createPanel();w.style.paddingBottom="30px";g=document.createElement("div");g.style.position="absolute";g.style.width="70px";g.style.marginTop="0px";\r\ng.style.fontWeight="bold";mxUtils.write(g,mxResources.get("position"));w.appendChild(g);var x=this.addUnitInput(w,this.getUnit(),84,44,function(){m.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),B=this.addUnitInput(w,this.getUnit(),20,44,function(){n.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(w);this.addLabel(w,mxResources.get("left"),84);this.addLabel(w,mxResources.get("top"),20);var E=mxUtils.bind(this,function(a,c,d){e=this.format.getSelectionState();\r\nif(e.containsLabel||e.vertices.length!=b.getSelectionCount()||null==e.width||null==e.height)h.style.display="none";else{h.style.display="";if(d||document.activeElement!=p)p.value=this.inUnit(e.width)+(""==e.width?"":" "+this.getUnit());if(d||document.activeElement!=t)t.value=this.inUnit(e.height)+(""==e.height?"":" "+this.getUnit())}if(e.vertices.length==b.getSelectionCount()&&null!=e.x&&null!=e.y){w.style.display="";if(d||document.activeElement!=x)x.value=this.inUnit(e.x)+(""==e.x?"":" "+this.getUnit());\r\nif(d||document.activeElement!=B)B.value=this.inUnit(e.y)+(""==e.y?"":" "+this.getUnit())}else w.style.display="none"});this.addKeyHandler(x,E);this.addKeyHandler(B,E);f.addListener(mxEvent.CHANGE,E);this.listeners.push({destroy:function(){f.removeListener(E)}});E();m=this.addGeometryHandler(x,function(a,b){b=c.fromUnit(b);a.relative?a.offset.x=b:a.x=b});n=this.addGeometryHandler(B,function(a,b){b=c.fromUnit(b);a.relative?a.offset.y=b:a.y=b});if(e.movable){if(0==e.edges.length&&1==e.vertices.length&&\r\nf.isEdge(f.getParent(e.vertices[0]))){var G=b.getCellGeometry(e.vertices[0]);null!=G&&G.relative&&(g=mxUtils.button(mxResources.get("center"),mxUtils.bind(this,function(a){f.beginUpdate();try{G=G.clone(),G.x=0,G.y=0,G.offset=new mxPoint,f.setGeometry(e.vertices[0],G)}finally{f.endUpdate()}})),g.setAttribute("title",mxResources.get("center")),g.style.width="202px",g.style.position="absolute",mxUtils.br(w),mxUtils.br(w),w.appendChild(g))}a.appendChild(w)}};\r\nArrangePanel.prototype.addGeometryHandler=function(a,c){function d(d){if(""!=a.value){var g=parseFloat(a.value);if(isNaN(g))a.value=f+" "+e.getUnit();else if(g!=f){b.getModel().beginUpdate();try{for(var k=e.format.getSelectionState().cells,h=0;h<k.length;h++)if(b.getModel().isVertex(k[h])){var m=b.getCellGeometry(k[h]);if(null!=m&&(m=m.clone(),!c(m,g,k[h]))){var n=b.view.getState(k[h]);null!=n&&b.isRecursiveVertexResize(n)&&b.resizeChildCells(k[h],m);b.getModel().setGeometry(k[h],m);b.constrainChildCells(k[h])}}}finally{b.getModel().endUpdate()}f=\r\ng;a.value=g+" "+e.getUnit()}}mxEvent.consume(d)}var b=this.editorUi.editor.graph,f=null,e=this;mxEvent.addListener(a,"blur",d);mxEvent.addListener(a,"change",d);mxEvent.addListener(a,"focus",function(){f=a.value});return d};\r\nArrangePanel.prototype.addEdgeGeometryHandler=function(a,c){function d(d){if(""!=a.value){var g=parseFloat(a.value);if(isNaN(g))a.value=f+" pt";else if(g!=f){b.getModel().beginUpdate();try{for(var k=e.format.getSelectionState().cells,h=0;h<k.length;h++)if(b.getModel().isEdge(k[h])){var m=b.getCellGeometry(k[h]);null!=m&&(m=m.clone(),c(m,g),b.getModel().setGeometry(k[h],m))}}finally{b.getModel().endUpdate()}f=g;a.value=g+" pt"}}mxEvent.consume(d)}var b=this.editorUi.editor.graph,f=null,e=this;mxEvent.addListener(a,\r\n"blur",d);mxEvent.addListener(a,"change",d);mxEvent.addListener(a,"focus",function(){f=a.value});return d};\r\nArrangePanel.prototype.addEdgeGeometry=function(a){var c=this.editorUi,d=c.editor.graph,b=this.format.getSelectionState(),f=this.createPanel(),e=document.createElement("div");e.style.position="absolute";e.style.width="70px";e.style.marginTop="0px";e.style.fontWeight="bold";mxUtils.write(e,mxResources.get("width"));f.appendChild(e);var h,g,k,l,m,n=this.addUnitInput(f,"pt",20,44,function(){h.apply(this,arguments)});mxUtils.br(f);this.addKeyHandler(n,x);h=mxUtils.bind(this,function(a){var e=parseInt(n.value),\r\ne=Math.min(999,Math.max(1,isNaN(e)?1:e));if(e!=mxUtils.getValue(b.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth)){var f=this.format.getSelectionState().cells;d.setCellStyles("width",e,f);c.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[e],"cells",f))}n.value=e+" pt";mxEvent.consume(a)});mxEvent.addListener(n,"blur",h);mxEvent.addListener(n,"change",h);a.appendChild(f);var p=this.createPanel();p.style.paddingBottom="30px";e=document.createElement("div");\r\ne.style.position="absolute";e.style.width="70px";e.style.marginTop="0px";e.style.fontWeight="bold";mxUtils.write(e,"Start");p.appendChild(e);var t=this.addUnitInput(p,"pt",84,44,function(){l.apply(this,arguments)}),r=this.addUnitInput(p,"pt",20,44,function(){m.apply(this,arguments)});mxUtils.br(p);this.addLabel(p,mxResources.get("left"),84);this.addLabel(p,mxResources.get("top"),20);a.appendChild(p);this.addKeyHandler(t,x);this.addKeyHandler(r,x);var v=this.createPanel();v.style.paddingBottom="30px";\r\ne=document.createElement("div");e.style.position="absolute";e.style.width="70px";e.style.marginTop="0px";e.style.fontWeight="bold";mxUtils.write(e,"End");v.appendChild(e);var u=this.addUnitInput(v,"pt",84,44,function(){g.apply(this,arguments)}),w=this.addUnitInput(v,"pt",20,44,function(){k.apply(this,arguments)});mxUtils.br(v);this.addLabel(v,mxResources.get("left"),84);this.addLabel(v,mxResources.get("top"),20);a.appendChild(v);this.addKeyHandler(u,x);this.addKeyHandler(w,x);var x=mxUtils.bind(this,\r\nfunction(a,c,e){b=this.format.getSelectionState();a=b.cells[0];if("link"==b.style.shape||"flexArrow"==b.style.shape){if(f.style.display="",e||document.activeElement!=n)e=mxUtils.getValue(b.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth),n.value=e+" pt"}else f.style.display="none";1==b.cells.length&&d.model.isEdge(a)?(e=d.model.getGeometry(a),null!=e.sourcePoint&&null==d.model.getTerminal(a,!0)?(t.value=e.sourcePoint.x,r.value=e.sourcePoint.y):p.style.display="none",null!=\r\ne.targetPoint&&null==d.model.getTerminal(a,!1)?(u.value=e.targetPoint.x,w.value=e.targetPoint.y):v.style.display="none"):(p.style.display="none",v.style.display="none")});l=this.addEdgeGeometryHandler(t,function(a,b){a.sourcePoint.x=b});m=this.addEdgeGeometryHandler(r,function(a,b){a.sourcePoint.y=b});g=this.addEdgeGeometryHandler(u,function(a,b){a.targetPoint.x=b});k=this.addEdgeGeometryHandler(w,function(a,b){a.targetPoint.y=b});d.getModel().addListener(mxEvent.CHANGE,x);this.listeners.push({destroy:function(){d.getModel().removeListener(x)}});\r\nx()};TextFormatPanel=function(a,c,d){BaseFormatPanel.call(this,a,c,d);this.init()};mxUtils.extend(TextFormatPanel,BaseFormatPanel);TextFormatPanel.prototype.init=function(){this.container.style.borderBottom="none";this.addFont(this.container)};\r\nTextFormatPanel.prototype.addFont=function(a){function c(a,b){a.style.backgroundImage=b?Editor.isDarkMode()?"linear-gradient(rgb(0 161 241) 0px, rgb(0, 97, 146) 100%)":"linear-gradient(#c5ecff 0px,#87d4fb 100%)":""}var d=this.editorUi,b=d.editor.graph,f=this.format.getSelectionState(),e=this.createTitle(mxResources.get("font"));e.style.paddingLeft="18px";e.style.paddingTop="10px";e.style.paddingBottom="6px";a.appendChild(e);e=this.createPanel();e.style.paddingTop="2px";e.style.paddingBottom="2px";\r\ne.style.position="relative";e.style.marginLeft="-2px";e.style.borderWidth="0px";e.className="geToolbarContainer";if(b.cellEditor.isContentEditing()){var h=e.cloneNode(),g=this.editorUi.toolbar.addMenu(mxResources.get("style"),mxResources.get("style"),!0,"formatBlock",h,null,!0);g.style.color="rgb(112, 112, 112)";g.style.whiteSpace="nowrap";g.style.overflow="hidden";g.style.margin="0px";this.addArrow(g);g.style.width="192px";g.style.height="15px";g=g.getElementsByTagName("div")[0];g.style.cssFloat=\r\n"right";a.appendChild(h)}a.appendChild(e);h=this.createPanel();h.style.marginTop="8px";h.style.borderTop="1px solid #c0c0c0";h.style.paddingTop="6px";h.style.paddingBottom="6px";var k=this.editorUi.toolbar.addMenu("Helvetica",mxResources.get("fontFamily"),!0,"fontFamily",e,null,!0);k.style.color="rgb(112, 112, 112)";k.style.whiteSpace="nowrap";k.style.overflow="hidden";k.style.margin="0px";this.addArrow(k);k.style.width="192px";k.style.height="15px";g=e.cloneNode(!1);g.style.marginLeft="-3px";var l=\r\nthis.editorUi.toolbar.addItems(["bold","italic","underline"],g,!0);l[0].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");l[1].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");l[2].setAttribute("title",mxResources.get("underline")+" ("+this.editorUi.actions.get("underline").shortcut+")");var m=this.editorUi.toolbar.addItems(["vertical"],g,!0)[0];a.appendChild(g);this.styleButtons(l);this.styleButtons([m]);\r\nvar n=e.cloneNode(!1);n.style.marginLeft="-3px";n.style.paddingBottom="0px";var p=function(a){return function(){return a()}},t=this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),b.cellEditor.isContentEditing()?function(a){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,a)}:p(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT])),n),r=this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),b.cellEditor.isContentEditing()?\r\nfunction(a){b.cellEditor.alignText(mxConstants.ALIGN_CENTER,a)}:p(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_CENTER])),n),v=this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),b.cellEditor.isContentEditing()?function(a){b.cellEditor.alignText(mxConstants.ALIGN_RIGHT,a)}:p(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_RIGHT])),n);this.styleButtons([t,r,v]);if(b.cellEditor.isContentEditing()){var u=\r\nthis.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("strikethrough"),function(){document.execCommand("strikeThrough",!1,null)},g);this.styleButtons([u]);u.firstChild.style.background="url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIDBoMjR2MjRIMFYweiIvPjwvZGVmcz48Y2xpcFBhdGggaWQ9ImIiPjx1c2UgeGxpbms6aHJlZj0iI2EiIG92ZXJmbG93PSJ2aXNpYmxlIi8+PC9jbGlwUGF0aD48cGF0aCBjbGlwLXBhdGg9InVybCgjYikiIGZpbGw9IiMwMTAxMDEiIGQ9Ik03LjI0IDguNzVjLS4yNi0uNDgtLjM5LTEuMDMtLjM5LTEuNjcgMC0uNjEuMTMtMS4xNi40LTEuNjcuMjYtLjUuNjMtLjkzIDEuMTEtMS4yOS40OC0uMzUgMS4wNS0uNjMgMS43LS44My42Ni0uMTkgMS4zOS0uMjkgMi4xOC0uMjkuODEgMCAxLjU0LjExIDIuMjEuMzQuNjYuMjIgMS4yMy41NCAxLjY5Ljk0LjQ3LjQuODMuODggMS4wOCAxLjQzLjI1LjU1LjM4IDEuMTUuMzggMS44MWgtMy4wMWMwLS4zMS0uMDUtLjU5LS4xNS0uODUtLjA5LS4yNy0uMjQtLjQ5LS40NC0uNjgtLjItLjE5LS40NS0uMzMtLjc1LS40NC0uMy0uMS0uNjYtLjE2LTEuMDYtLjE2LS4zOSAwLS43NC4wNC0xLjAzLjEzLS4yOS4wOS0uNTMuMjEtLjcyLjM2LS4xOS4xNi0uMzQuMzQtLjQ0LjU1LS4xLjIxLS4xNS40My0uMTUuNjYgMCAuNDguMjUuODguNzQgMS4yMS4zOC4yNS43Ny40OCAxLjQxLjdINy4zOWMtLjA1LS4wOC0uMTEtLjE3LS4xNS0uMjV6TTIxIDEydi0ySDN2Mmg5LjYyYy4xOC4wNy40LjE0LjU1LjIuMzcuMTcuNjYuMzQuODcuNTEuMjEuMTcuMzUuMzYuNDMuNTcuMDcuMi4xMS40My4xMS42OSAwIC4yMy0uMDUuNDUtLjE0LjY2LS4wOS4yLS4yMy4zOC0uNDIuNTMtLjE5LjE1LS40Mi4yNi0uNzEuMzUtLjI5LjA4LS42My4xMy0xLjAxLjEzLS40MyAwLS44My0uMDQtMS4xOC0uMTNzLS42Ni0uMjMtLjkxLS40MmMtLjI1LS4xOS0uNDUtLjQ0LS41OS0uNzUtLjE0LS4zMS0uMjUtLjc2LS4yNS0xLjIxSDYuNGMwIC41NS4wOCAxLjEzLjI0IDEuNTguMTYuNDUuMzcuODUuNjUgMS4yMS4yOC4zNS42LjY2Ljk4LjkyLjM3LjI2Ljc4LjQ4IDEuMjIuNjUuNDQuMTcuOS4zIDEuMzguMzkuNDguMDguOTYuMTMgMS40NC4xMy44IDAgMS41My0uMDkgMi4xOC0uMjhzMS4yMS0uNDUgMS42Ny0uNzljLjQ2LS4zNC44Mi0uNzcgMS4wNy0xLjI3cy4zOC0xLjA3LjM4LTEuNzFjMC0uNi0uMS0xLjE0LS4zMS0xLjYxLS4wNS0uMTEtLjExLS4yMy0uMTctLjMzSDIxeiIvPjwvc3ZnPg==)";\r\nu.firstChild.style.backgroundPosition="2px 2px";u.firstChild.style.backgroundSize="18px 18px";this.styleButtons([u])}var w=this.editorUi.toolbar.addButton("geSprite-top",mxResources.get("top"),p(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP])),n),x=this.editorUi.toolbar.addButton("geSprite-middle",mxResources.get("middle"),p(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE])),n),B=this.editorUi.toolbar.addButton("geSprite-bottom",\r\nmxResources.get("bottom"),p(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM])),n);this.styleButtons([w,x,B]);a.appendChild(n);var E,G,z,I,y,H,L;b.cellEditor.isContentEditing()?(w.style.display="none",x.style.display="none",B.style.display="none",m.style.display="none",z=this.editorUi.toolbar.addButton("geSprite-justifyfull",mxResources.get("block"),function(){1==z.style.opacity&&document.execCommand("justifyfull",!1,null)},n),z.style.marginRight=\r\n"9px",z.style.opacity=1,this.styleButtons([z,E=this.editorUi.toolbar.addButton("geSprite-subscript",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)",function(){document.execCommand("subscript",!1,null)},n),G=this.editorUi.toolbar.addButton("geSprite-superscript",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)",function(){document.execCommand("superscript",!1,null)},n)]),E.style.marginLeft="9px",p=n.cloneNode(!1),p.style.paddingTop="4px",n=[this.editorUi.toolbar.addButton("geSprite-orderedlist",\r\nmxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},p),this.editorUi.toolbar.addButton("geSprite-unorderedlist",mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},p),this.editorUi.toolbar.addButton("geSprite-outdent",mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",!1,null)},p),this.editorUi.toolbar.addButton("geSprite-indent",mxResources.get("increaseIndent"),function(){document.execCommand("indent",\r\n!1,null)},p),this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},p),this.editorUi.toolbar.addButton("geSprite-code",mxResources.get("html"),function(){b.cellEditor.toggleViewMode()},p)],this.styleButtons(n),n[n.length-2].style.marginLeft="9px",a.appendChild(p)):(l[2].style.marginRight="9px",v.style.marginRight="9px");n=e.cloneNode(!1);n.style.marginLeft="0px";n.style.paddingTop="8px";n.style.paddingBottom=\r\n"4px";n.style.fontWeight="normal";mxUtils.write(n,mxResources.get("position"));var O=document.createElement("select");O.style.position="absolute";O.style.right="20px";O.style.width="97px";O.style.marginTop="-2px";for(var u="topLeft top topRight left center right bottomLeft bottom bottomRight".split(" "),P={topLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM],top:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM],\r\ntopRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM],left:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE],center:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE],right:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE],bottomLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_RIGHT,\r\nmxConstants.ALIGN_TOP],bottom:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]},p=0;p<u.length;p++){var M=document.createElement("option");M.setAttribute("value",u[p]);mxUtils.write(M,mxResources.get(u[p]));O.appendChild(M)}n.appendChild(O);u=e.cloneNode(!1);u.style.marginLeft="0px";u.style.paddingTop="4px";u.style.paddingBottom="4px";u.style.fontWeight=\r\n"normal";mxUtils.write(u,mxResources.get("writingDirection"));var W=document.createElement("select");W.style.position="absolute";W.style.right="20px";W.style.width="97px";W.style.marginTop="-2px";for(var M=["automatic","leftToRight","rightToLeft"],ba={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,rightToLeft:mxConstants.TEXT_DIRECTION_RTL},p=0;p<M.length;p++){var Z=document.createElement("option");Z.setAttribute("value",M[p]);mxUtils.write(Z,mxResources.get(M[p]));W.appendChild(Z)}u.appendChild(W);\r\nb.isEditing()||(a.appendChild(n),mxEvent.addListener(O,"change",function(a){b.getModel().beginUpdate();try{var c=P[O.value];null!=c&&(b.setCellStyles(mxConstants.STYLE_LABEL_POSITION,c[0],f.cells),b.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION,c[1],f.cells),b.setCellStyles(mxConstants.STYLE_ALIGN,c[2],f.cells),b.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,c[3],f.cells))}finally{b.getModel().endUpdate()}mxEvent.consume(a)}),a.appendChild(u),mxEvent.addListener(W,"change",function(a){b.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,\r\nba[W.value],f.cells);mxEvent.consume(a)}));var T=document.createElement("input");T.style.textAlign="right";T.style.marginTop="4px";T.style.position="absolute";T.style.right="32px";T.style.width="40px";T.style.height="17px";g.appendChild(T);var R=null,n=this.installInputHandler(T,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize,1,999," pt",function(a){if(window.getSelection&&!mxClient.IS_IE&&!mxClient.IS_IE11){var c=function(c,e){null!=b.cellEditor.textarea&&c!=b.cellEditor.textarea&&b.cellEditor.textarea.contains(c)&&\r\n(e||d.containsNode(c,!0))&&("FONT"==c.nodeName?(c.removeAttribute("size"),c.style.fontSize=a+"px"):mxUtils.getCurrentStyle(c).fontSize!=a+"px"&&(mxUtils.getCurrentStyle(c.parentNode).fontSize!=a+"px"?c.style.fontSize=a+"px":c.style.fontSize=""))},d=window.getSelection(),e=0<d.rangeCount?d.getRangeAt(0).commonAncestorContainer:b.cellEditor.textarea;e!=b.cellEditor.textarea&&e.nodeType==mxConstants.NODETYPE_ELEMENT||document.execCommand("fontSize",!1,"1");e!=b.cellEditor.textarea&&(e=e.parentNode);\r\nif(null!=e&&e.nodeType==mxConstants.NODETYPE_ELEMENT){var f=e.getElementsByTagName("*");c(e);for(e=0;e<f.length;e++)c(f[e])}T.value=a+" pt"}else if(window.getSelection||document.selection)if(c=function(a,b){for(;null!=b;){if(b===a)return!0;b=b.parentNode}return!1},f=null,document.selection?f=document.selection.createRange().parentElement():(d=window.getSelection(),0<d.rangeCount&&(f=d.getRangeAt(0).commonAncestorContainer)),null!=f&&c(b.cellEditor.textarea,f))for(R=a,document.execCommand("fontSize",\r\n!1,"4"),f=b.cellEditor.textarea.getElementsByTagName("font"),e=0;e<f.length;e++)if("4"==f[e].getAttribute("size")){f[e].removeAttribute("size");f[e].style.fontSize=R+"px";window.setTimeout(function(){T.value=R+" pt";R=null},0);break}},!0),n=this.createStepper(T,n,1,10,!0,Menus.prototype.defaultFontSize);n.style.display=T.style.display;n.style.marginTop="4px";n.style.right="20px";g.appendChild(n);g=k.getElementsByTagName("div")[0];g.style.cssFloat="right";var Q=null,S="#ffffff",ga=null,na="#000000",\r\noa=b.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("backgroundColor"),function(){return S},function(a){document.execCommand("backcolor",!1,a!=mxConstants.NONE?a:"transparent")},"#ffffff",{install:function(a){Q=a},destroy:function(){Q=null}},null,!0):this.createCellColorOption(mxResources.get("backgroundColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"#ffffff",null,function(a){b.updateLabelElements(f.cells,function(a){a.style.backgroundColor=null})});oa.style.fontWeight="bold";\r\nvar pa=this.createCellColorOption(mxResources.get("borderColor"),mxConstants.STYLE_LABEL_BORDERCOLOR,"#000000");pa.style.fontWeight="bold";g=1<=f.vertices.length?b.stylesheet.getDefaultVertexStyle():b.stylesheet.getDefaultEdgeStyle();g=b.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("fontColor"),function(){return na},function(a){if(mxClient.IS_FF){for(var c=b.cellEditor.textarea.getElementsByTagName("font"),d=[],e=0;e<c.length;e++)d.push({node:c[e],color:c[e].getAttribute("color")});\r\ndocument.execCommand("forecolor",!1,a!=mxConstants.NONE?a:"transparent");a=b.cellEditor.textarea.getElementsByTagName("font");for(e=0;e<a.length;e++)if(e>=d.length||a[e]!=d[e].node||a[e]==d[e].node&&a[e].getAttribute("color")!=d[e].color){d=a[e].firstChild;if(null!=d&&"A"==d.nodeName&&null==d.nextSibling&&null!=d.firstChild){a[e].parentNode.insertBefore(d,a[e]);for(c=d.firstChild;null!=c;){var f=c.nextSibling;a[e].appendChild(c);c=f}d.appendChild(a[e])}break}}else document.execCommand("forecolor",\r\n!1,a!=mxConstants.NONE?a:"transparent")},null!=g[mxConstants.STYLE_FONTCOLOR]?g[mxConstants.STYLE_FONTCOLOR]:"#000000",{install:function(a){ga=a},destroy:function(){ga=null}},null,!0):this.createCellColorOption(mxResources.get("fontColor"),mxConstants.STYLE_FONTCOLOR,null!=g[mxConstants.STYLE_FONTCOLOR]?g[mxConstants.STYLE_FONTCOLOR]:"#000000",function(a){oa.style.display=a==mxConstants.NONE?"none":"";pa.style.display=oa.style.display},function(a){a==mxConstants.NONE?b.setCellStyles(mxConstants.STYLE_NOLABEL,\r\n"1",f.cells):b.setCellStyles(mxConstants.STYLE_NOLABEL,null,f.cells);b.updateCellStyles(mxConstants.STYLE_FONTCOLOR,a,f.cells);b.updateLabelElements(f.cells,function(a){a.removeAttribute("color");a.style.color=null})});g.style.fontWeight="bold";h.appendChild(g);h.appendChild(oa);b.cellEditor.isContentEditing()||h.appendChild(pa);a.appendChild(h);h=this.createPanel();h.style.paddingTop="2px";h.style.paddingBottom="4px";g=b.filterSelectionCells(mxUtils.bind(this,function(a){var c=b.view.getState(a);\r\nreturn null==c||this.format.isAutoSizeState(c)||b.getModel().isEdge(a)||!b.isTableRow(a)&&!b.isTableCell(a)&&!b.isCellResizable(a)}));n=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",null,null,!0,g);n.style.fontWeight="bold";0<g.length&&h.appendChild(n);g=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,d.actions.get("formattedText"));g.style.fontWeight="bold";h.appendChild(g);g=this.createPanel();g.style.paddingTop=\r\n"10px";g.style.paddingBottom="28px";g.style.fontWeight="normal";n=document.createElement("div");n.style.position="absolute";n.style.width="70px";n.style.marginTop="0px";n.style.fontWeight="bold";mxUtils.write(n,mxResources.get("spacing"));g.appendChild(n);var ea,qa,ua,ra,va,ka=this.addUnitInput(g,"pt",91,44,function(){ea.apply(this,arguments)}),ha=this.addUnitInput(g,"pt",20,44,function(){qa.apply(this,arguments)});mxUtils.br(g);this.addLabel(g,mxResources.get("top"),91);this.addLabel(g,mxResources.get("global"),\r\n20);mxUtils.br(g);mxUtils.br(g);var ia=this.addUnitInput(g,"pt",162,44,function(){ua.apply(this,arguments)}),da=this.addUnitInput(g,"pt",91,44,function(){ra.apply(this,arguments)}),fa=this.addUnitInput(g,"pt",20,44,function(){va.apply(this,arguments)});mxUtils.br(g);this.addLabel(g,mxResources.get("left"),162);this.addLabel(g,mxResources.get("bottom"),91);this.addLabel(g,mxResources.get("right"),20);if(b.cellEditor.isContentEditing()){var ma=null,ja=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),\r\nnull,null,function(a){var c=""==a.value?120:parseInt(a.value),c=Math.max(0,isNaN(c)?120:c);null!=ma&&(b.cellEditor.restoreSelection(ma),ma=null);for(var d=b.getSelectedElement();null!=d&&d.nodeType!=mxConstants.NODETYPE_ELEMENT;)d=d.parentNode;null!=d&&d==b.cellEditor.textarea&&null!=b.cellEditor.textarea.firstChild&&("P"!=b.cellEditor.textarea.firstChild.nodeName&&(b.cellEditor.textarea.innerHTML="<p>"+b.cellEditor.textarea.innerHTML+"</p>"),d=b.cellEditor.textarea.firstChild);null!=d&&null!=b.cellEditor.textarea&&\r\nd!=b.cellEditor.textarea&&b.cellEditor.textarea.contains(d)&&(d.style.lineHeight=c+"%");a.value=c+" %"},function(a){ja=a;mxEvent.addListener(a,"mousedown",function(){document.activeElement==b.cellEditor.textarea&&(ma=b.cellEditor.saveSelection())});mxEvent.addListener(a,"touchstart",function(){document.activeElement==b.cellEditor.textarea&&(ma=b.cellEditor.saveSelection())});a.value="120 %"}));h=e.cloneNode(!1);h.style.paddingLeft="0px";g=this.editorUi.toolbar.addItems(["link","image"],h,!0);n=[this.editorUi.toolbar.addButton("geSprite-horizontalrule",\r\nmxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},h),this.editorUi.toolbar.addMenuFunctionInContainer(h,"geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.addInsertTableItem(a)}))];this.styleButtons(g);this.styleButtons(n);g=this.createPanel();g.style.paddingTop="10px";g.style.paddingBottom="10px";g.appendChild(this.createTitle(mxResources.get("insert")));g.appendChild(h);a.appendChild(g);g=e.cloneNode(!1);\r\ng.style.paddingLeft="0px";n=[this.editorUi.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=y&&b.insertColumn(y,null!=H?H.cellIndex:0)}catch(K){this.editorUi.handleError(K)}}),g),this.editorUi.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=y&&b.insertColumn(y,null!=H?H.cellIndex+1:-1)}catch(K){this.editorUi.handleError(K)}}),g),this.editorUi.toolbar.addButton("geSprite-deletecolumn",\r\nmxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=y&&null!=H&&b.deleteColumn(y,H.cellIndex)}catch(K){this.editorUi.handleError(K)}}),g),this.editorUi.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=y&&null!=L&&b.insertRow(y,L.sectionRowIndex)}catch(K){this.editorUi.handleError(K)}}),g),this.editorUi.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{null!=\r\ny&&null!=L&&b.insertRow(y,L.sectionRowIndex+1)}catch(K){this.editorUi.handleError(K)}}),g),this.editorUi.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=y&&null!=L&&b.deleteRow(y,L.sectionRowIndex)}catch(K){this.editorUi.handleError(K)}}),g)];this.styleButtons(n);n[2].style.marginRight="9px";h=this.createPanel();h.style.paddingTop="10px";h.style.paddingBottom="10px";h.appendChild(this.createTitle(mxResources.get("table")));h.appendChild(g);\r\ne=e.cloneNode(!1);e.style.paddingLeft="0px";n=[this.editorUi.toolbar.addButton("geSprite-strokecolor",mxResources.get("borderColor"),mxUtils.bind(this,function(a){if(null!=y){var c=y.style.borderColor.replace(/\\brgb\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});this.editorUi.pickColor(c,function(c){var d=null==H||null!=a&&mxEvent.isShiftDown(a)?y:H;b.processElements(d,\r\nfunction(a){a.style.border=null});null==c||c==mxConstants.NONE?(d.removeAttribute("border"),d.style.border="",d.style.borderCollapse=""):(d.setAttribute("border","1"),d.style.border="1px solid "+c,d.style.borderCollapse="collapse")})}}),e),this.editorUi.toolbar.addButton("geSprite-fillcolor",mxResources.get("backgroundColor"),mxUtils.bind(this,function(a){if(null!=y){var c=y.style.backgroundColor.replace(/\\brgb\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+\r\n("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});this.editorUi.pickColor(c,function(c){var d=null==H||null!=a&&mxEvent.isShiftDown(a)?y:H;b.processElements(d,function(a){a.style.backgroundColor=null});d.style.backgroundColor=null==c||c==mxConstants.NONE?"":c})}}),e),this.editorUi.toolbar.addButton("geSprite-fit",mxResources.get("spacing"),function(){if(null!=y){var a=y.getAttribute("cellPadding")||0,a=new FilenameDialog(d,a,mxResources.get("apply"),mxUtils.bind(this,\r\nfunction(a){null!=a&&0<a.length?y.setAttribute("cellPadding",a):y.removeAttribute("cellPadding")}),mxResources.get("spacing"));d.showDialog(a.container,300,80,!0,!0);a.init()}},e),this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),function(){null!=y&&y.setAttribute("align","left")},e),this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),function(){null!=y&&y.setAttribute("align","center")},e),this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),\r\nfunction(){null!=y&&y.setAttribute("align","right")},e)];this.styleButtons(n);n[2].style.marginRight="9px";h.appendChild(e);a.appendChild(h);I=h}else a.appendChild(h),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(g);var X=mxUtils.bind(this,function(a,b,d){f=this.format.getSelectionState();a=mxUtils.getValue(f.style,mxConstants.STYLE_FONTSTYLE,0);c(l[0],(a&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);c(l[1],(a&mxConstants.FONT_ITALIC)==\r\nmxConstants.FONT_ITALIC);c(l[2],(a&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);k.firstChild.nodeValue=mxUtils.getValue(f.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont);c(m,"0"==mxUtils.getValue(f.style,mxConstants.STYLE_HORIZONTAL,"1"));if(d||document.activeElement!=T)a=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),T.value=isNaN(a)?"":a+" pt";a=mxUtils.getValue(f.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);\r\nc(t,a==mxConstants.ALIGN_LEFT);c(r,a==mxConstants.ALIGN_CENTER);c(v,a==mxConstants.ALIGN_RIGHT);a=mxUtils.getValue(f.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);c(w,a==mxConstants.ALIGN_TOP);c(x,a==mxConstants.ALIGN_MIDDLE);c(B,a==mxConstants.ALIGN_BOTTOM);a=mxUtils.getValue(f.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);b=mxUtils.getValue(f.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);O.value=a==mxConstants.ALIGN_LEFT&&b==mxConstants.ALIGN_TOP?\r\n"topLeft":a==mxConstants.ALIGN_CENTER&&b==mxConstants.ALIGN_TOP?"top":a==mxConstants.ALIGN_RIGHT&&b==mxConstants.ALIGN_TOP?"topRight":a==mxConstants.ALIGN_LEFT&&b==mxConstants.ALIGN_BOTTOM?"bottomLeft":a==mxConstants.ALIGN_CENTER&&b==mxConstants.ALIGN_BOTTOM?"bottom":a==mxConstants.ALIGN_RIGHT&&b==mxConstants.ALIGN_BOTTOM?"bottomRight":a==mxConstants.ALIGN_LEFT?"left":a==mxConstants.ALIGN_RIGHT?"right":"center";a=mxUtils.getValue(f.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);\r\na==mxConstants.TEXT_DIRECTION_RTL?W.value="rightToLeft":a==mxConstants.TEXT_DIRECTION_LTR?W.value="leftToRight":a==mxConstants.TEXT_DIRECTION_AUTO&&(W.value="automatic");if(d||document.activeElement!=ha)a=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_SPACING,2)),ha.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=ka)a=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_SPACING_TOP,0)),ka.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=fa)a=parseFloat(mxUtils.getValue(f.style,\r\nmxConstants.STYLE_SPACING_RIGHT,0)),fa.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=da)a=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_SPACING_BOTTOM,0)),da.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=ia)a=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_SPACING_LEFT,0)),ia.value=isNaN(a)?"":a+" pt"});qa=this.installInputHandler(ha,mxConstants.STYLE_SPACING,2,-999,999," pt");ea=this.installInputHandler(ka,mxConstants.STYLE_SPACING_TOP,0,-999,999," pt");va=this.installInputHandler(fa,\r\nmxConstants.STYLE_SPACING_RIGHT,0,-999,999," pt");ra=this.installInputHandler(da,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999," pt");ua=this.installInputHandler(ia,mxConstants.STYLE_SPACING_LEFT,0,-999,999," pt");this.addKeyHandler(T,X);this.addKeyHandler(ha,X);this.addKeyHandler(ka,X);this.addKeyHandler(fa,X);this.addKeyHandler(da,X);this.addKeyHandler(ia,X);b.getModel().addListener(mxEvent.CHANGE,X);this.listeners.push({destroy:function(){b.getModel().removeListener(X)}});X();if(b.cellEditor.isContentEditing()){var sa=\r\n!1,e=function(){sa||(sa=!0,window.setTimeout(function(){var a=b.getSelectedEditingElement();if(null!=a){var d=function(a,b){if(null!=a&&null!=b){if(a==b)return!0;if(a.length>b.length+1)return a.substring(a.length-b.length-1,a.length)=="-"+b}return!1},e=function(c){if(null!=b.getParentByName(a,c,b.cellEditor.textarea))return!0;for(var d=a;null!=d&&1==d.childNodes.length;)if(d=d.childNodes[0],d.nodeName==c)return!0;return!1},g=function(a){a=null!=a?a.fontSize:null;return null!=a&&"px"==a.substring(a.length-\r\n2)?parseFloat(a):mxConstants.DEFAULT_FONTSIZE},h=function(a,b,c){return null!=c.style&&null!=b?(b=b.lineHeight,null!=c.style.lineHeight&&"%"==c.style.lineHeight.substring(c.style.lineHeight.length-1)?parseInt(c.style.lineHeight)/100:"px"==b.substring(b.length-2)?parseFloat(b)/a:parseInt(b)):""},m=mxUtils.getCurrentStyle(a),n=g(m),p=h(n,m,a),u=a.getElementsByTagName("*");if(0<u.length&&window.getSelection&&!mxClient.IS_IE&&!mxClient.IS_IE11)for(var w=window.getSelection(),x=0;x<u.length;x++)if(w.containsNode(u[x],\r\n!0)){temp=mxUtils.getCurrentStyle(u[x]);var n=Math.max(g(temp),n),B=h(n,temp,u[x]);if(B!=p||isNaN(B))p=""}null!=m&&(c(l[0],"bold"==m.fontWeight||400<m.fontWeight||e("B")||e("STRONG")),c(l[1],"italic"==m.fontStyle||e("I")||e("EM")),c(l[2],e("U")),c(G,e("SUP")),c(E,e("SUB")),b.cellEditor.isTableSelected()?(c(z,d(m.textAlign,"justify")),c(t,d(m.textAlign,"left")),c(r,d(m.textAlign,"center")),c(v,d(m.textAlign,"right"))):(e=b.cellEditor.align||mxUtils.getValue(f.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),\r\nd(m.textAlign,"justify")?(c(z,d(m.textAlign,"justify")),c(t,!1),c(r,!1),c(v,!1)):(c(z,!1),c(t,e==mxConstants.ALIGN_LEFT),c(r,e==mxConstants.ALIGN_CENTER),c(v,e==mxConstants.ALIGN_RIGHT))),y=b.getParentByName(a,"TABLE",b.cellEditor.textarea),L=null==y?null:b.getParentByName(a,"TR",y),H=null==y?null:b.getParentByNames(a,["TD","TH"],y),I.style.display=null!=y?"":"none",document.activeElement!=T&&("FONT"==a.nodeName&&"4"==a.getAttribute("size")&&null!=R?(a.removeAttribute("size"),a.style.fontSize=R+" pt",\r\nR=null):T.value=isNaN(n)?"":n+" pt",B=parseFloat(p),isNaN(B)?ja.value="100 %":ja.value=Math.round(100*B)+" %"),d=m.color.replace(/\\brgb\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)}),n=m.backgroundColor.replace(/\\brgb\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+\r\n("0"+Number(d).toString(16)).substr(-2)}),null!=ga&&(na="#"==d.charAt(0)?d:"#000000",ga(na,!0)),null!=Q&&(S="#"==n.charAt(0)?n:null,Q(S,!0)),null!=k.firstChild&&(k.firstChild.nodeValue=Graph.stripQuotes(m.fontFamily)))}sa=!1},0))};(mxClient.IS_FF||mxClient.IS_EDGE||mxClient.IS_IE||mxClient.IS_IE11)&&mxEvent.addListener(b.cellEditor.textarea,"DOMSubtreeModified",e);mxEvent.addListener(b.cellEditor.textarea,"input",e);mxEvent.addListener(b.cellEditor.textarea,"touchend",e);mxEvent.addListener(b.cellEditor.textarea,\r\n"mouseup",e);mxEvent.addListener(b.cellEditor.textarea,"keyup",e);this.listeners.push({destroy:function(){}});e()}return a};StyleFormatPanel=function(a,c,d){BaseFormatPanel.call(this,a,c,d);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);StyleFormatPanel.prototype.defaultStrokeColor="black";\r\nStyleFormatPanel.prototype.init=function(){var a=this.format.getSelectionState();!a.containsLabel&&0<a.cells.length&&(a.containsImage&&1==a.vertices.length&&"image"==a.style.shape&&null!=a.style.image&&"data:image/svg+xml;"==a.style.image.substring(0,19)&&this.container.appendChild(this.addSvgStyles(this.createPanel())),a.containsImage&&"image"!=a.style.shape||this.container.appendChild(this.addFill(this.createPanel())),this.container.appendChild(this.addStroke(this.createPanel())),this.container.appendChild(this.addLineJumps(this.createPanel())),\r\na=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY,41),a.style.paddingTop="8px",a.style.paddingBottom="8px",this.container.appendChild(a),this.container.appendChild(this.addEffects(this.createPanel())));a=this.addEditOps(this.createPanel());null!=a.firstChild&&mxUtils.br(a);this.container.appendChild(this.addStyleOps(a))};\r\nStyleFormatPanel.prototype.getCssRules=function(a){var c=document.implementation.createHTMLDocument(""),d=document.createElement("style");mxUtils.setTextContent(d,a);c.body.appendChild(d);return d.sheet.cssRules};\r\nStyleFormatPanel.prototype.addSvgStyles=function(a){var c=this.format.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";a.style.fontWeight="bold";a.style.display="none";try{var d=c.style.editableCssRules;if(null!=d){var b=new RegExp(d),f=c.style.image.substring(c.style.image.indexOf(",")+1),e=window.atob?atob(f):Base64.decode(f,!0),h=mxUtils.parseXml(e);if(null!=h)for(var g=h.getElementsByTagName("style"),c=0;c<g.length;c++)for(var k=this.getCssRules(mxUtils.getTextContent(g[c])),\r\nd=0;d<k.length;d++)this.addSvgRule(a,k[d],h,g[c],k,d,b)}}catch(l){}return a};\r\nStyleFormatPanel.prototype.addSvgRule=function(a,c,d,b,f,e,h){var g=this.editorUi.editor.graph;h.test(c.selectorText)&&(h=mxUtils.bind(this,function(c,h,m){var k=mxUtils.trim(c.style[h]);""!=k&&"url("!=k.substring(0,4)&&(c=this.createColorOption(m+" "+c.selectorText,function(){var a=k;return(a=a.match(/^rgba?[\\s+]?\\([\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?/i))&&4===a.length?"#"+("0"+parseInt(a[1],10).toString(16)).slice(-2)+("0"+parseInt(a[2],10).toString(16)).slice(-2)+("0"+parseInt(a[3],\r\n10).toString(16)).slice(-2):""},mxUtils.bind(this,function(a){f[e].style[h]=a;a="";for(var c=0;c<f.length;c++)a+=f[c].cssText+" ";b.textContent=a;a=mxUtils.getXml(d.documentElement);g.setCellStyles(mxConstants.STYLE_IMAGE,"data:image/svg+xml,"+(window.btoa?btoa(a):Base64.encode(a,!0)),this.format.getSelectionState().cells)}),"#ffffff",{install:function(a){},destroy:function(){}}),a.appendChild(c),a.style.display="")}),h(c,"fill",mxResources.get("fill")),h(c,"stroke",mxResources.get("line")),h(c,"stop-color",\r\nmxResources.get("gradient")))};\r\nStyleFormatPanel.prototype.addEditOps=function(a){var c=this.format.getSelectionState(),d=null;1==c.cells.length&&(d=mxUtils.button(mxResources.get("editStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editStyle").funct()})),d.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi.actions.get("editStyle").shortcut+")"),d.style.width="202px",d.style.marginBottom="2px",a.appendChild(d));c.image&&0<c.cells.length&&(c=mxUtils.button(mxResources.get("editImage"),mxUtils.bind(this,\r\nfunction(a){this.editorUi.actions.get("image").funct()})),c.setAttribute("title",mxResources.get("editImage")),c.style.marginBottom="2px",null==d?c.style.width="202px":(d.style.width="100px",c.style.width="100px",c.style.marginLeft="2px"),a.appendChild(c));return a};\r\nStyleFormatPanel.prototype.addFill=function(a){var c=this.editorUi,d=c.editor.graph,b=this.format.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";var f=document.createElement("select");f.style.position="absolute";f.style.marginTop="-2px";f.style.right="72px";f.style.width="70px";var e=f.cloneNode(!1);mxEvent.addListener(f,"click",function(a){mxEvent.consume(a)});mxEvent.addListener(e,"click",function(a){mxEvent.consume(a)});var h=1<=b.vertices.length?d.stylesheet.getDefaultVertexStyle():\r\nd.stylesheet.getDefaultEdgeStyle(),g=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,null!=h[mxConstants.STYLE_GRADIENTCOLOR]?h[mxConstants.STYLE_GRADIENTCOLOR]:"#ffffff",function(a){f.style.display=null==a||a==mxConstants.NONE?"none":""},function(a){d.updateCellStyles(mxConstants.STYLE_GRADIENTCOLOR,a,d.getSelectionCells())}),k="image"==b.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.STYLE_FILLCOLOR,l="image"==b.style.shape?mxResources.get("background"):\r\nmxResources.get("fill"),h=1<=b.vertices.length?d.stylesheet.getDefaultVertexStyle():d.stylesheet.getDefaultEdgeStyle(),h=this.createCellColorOption(l,k,null!=h[k]?h[k]:"#ffffff",null,mxUtils.bind(this,function(a){d.updateCellStyles(k,a,b.cells)}));h.style.fontWeight="bold";l=mxUtils.getValue(b.style,k,null);g.style.display=null!=l&&l!=mxConstants.NONE&&b.fill&&"image"!=b.style.shape?"":"none";for(var m=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,\r\nmxConstants.DIRECTION_RADIAL],l=0;l<m.length;l++){var n=document.createElement("option");n.setAttribute("value",m[l]);mxUtils.write(n,mxResources.get(m[l]));f.appendChild(n)}g.appendChild(f);for(l=0;l<Editor.roughFillStyles.length;l++)m=document.createElement("option"),m.setAttribute("value",Editor.roughFillStyles[l].val),mxUtils.write(m,Editor.roughFillStyles[l].dispName),e.appendChild(m);h.appendChild(e);var p=mxUtils.bind(this,function(){b=this.format.getSelectionState();var c=mxUtils.getValue(b.style,\r\nmxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),d=mxUtils.getValue(b.style,"fillStyle","auto");""==c&&(c=mxConstants.DIRECTION_SOUTH);f.value=c;e.value=d;a.style.display=b.fill?"":"none";c=mxUtils.getValue(b.style,mxConstants.STYLE_FILLCOLOR,null);!b.fill||b.containsImage||null==c||c==mxConstants.NONE||"filledEdge"==b.style.shape?(e.style.display="none",g.style.display="none"):(e.style.display="1"==b.style.sketch?"":"none",g.style.display="1"!=b.style.sketch||"solid"==d||"auto"==\r\nd?"":"none")});d.getModel().addListener(mxEvent.CHANGE,p);this.listeners.push({destroy:function(){d.getModel().removeListener(p)}});p();mxEvent.addListener(f,"change",function(a){d.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,f.value,b.cells);c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[f.value],"cells",b.cells));mxEvent.consume(a)});mxEvent.addListener(e,"change",function(a){d.setCellStyles("fillStyle",e.value,b.cells);c.fireEvent(new mxEventObject("styleChanged",\r\n"keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[f.value],"cells",b.cells));mxEvent.consume(a)});a.appendChild(h);a.appendChild(g);h=this.getCustomColors();for(l=0;l<h.length;l++)a.appendChild(this.createCellColorOption(h[l].title,h[l].key,h[l].defaultValue));return a};\r\nStyleFormatPanel.prototype.getCustomColors=function(){var a=this.format.getSelectionState(),c=[];"swimlane"!=a.style.shape&&"table"!=a.style.shape||c.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"#ffffff"});return c};\r\nStyleFormatPanel.prototype.addStroke=function(a){function c(a){var c=parseFloat(u.value),c=Math.min(999,Math.max(0,isNaN(c)?1:c));c!=mxUtils.getValue(e.style,mxConstants.STYLE_STROKEWIDTH,1)&&(f.setCellStyles(mxConstants.STYLE_STROKEWIDTH,c,e.cells),b.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[c],"cells",e.cells)));u.value=c+" pt";mxEvent.consume(a)}function d(a){var c=parseFloat(w.value),c=Math.min(999,Math.max(0,isNaN(c)?1:c));c!=mxUtils.getValue(e.style,\r\nmxConstants.STYLE_STROKEWIDTH,1)&&(f.setCellStyles(mxConstants.STYLE_STROKEWIDTH,c,e.cells),b.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[c],"cells",e.cells)));w.value=c+" pt";mxEvent.consume(a)}var b=this.editorUi,f=b.editor.graph,e=this.format.getSelectionState();a.style.paddingTop="4px";a.style.paddingBottom="4px";a.style.whiteSpace="normal";var h=document.createElement("div");h.style.fontWeight="bold";e.stroke||(h.style.display="none");var g=document.createElement("select");\r\ng.style.position="absolute";g.style.marginTop="-2px";g.style.right="72px";g.style.width="80px";for(var k=["sharp","rounded","curved"],l=0;l<k.length;l++){var m=document.createElement("option");m.setAttribute("value",k[l]);mxUtils.write(m,mxResources.get(k[l]));g.appendChild(m)}mxEvent.addListener(g,"change",function(a){f.getModel().beginUpdate();try{var c=[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],d=["0",null];"rounded"==g.value?d=["1",null]:"curved"==g.value&&(d=[null,"1"]);for(var k=0;k<\r\nc.length;k++)f.setCellStyles(c[k],d[k],e.cells);b.fireEvent(new mxEventObject("styleChanged","keys",c,"values",d,"cells",e.cells))}finally{f.getModel().endUpdate()}mxEvent.consume(a)});mxEvent.addListener(g,"click",function(a){mxEvent.consume(a)});var n="image"==e.style.shape?mxConstants.STYLE_IMAGE_BORDER:mxConstants.STYLE_STROKECOLOR,k="image"==e.style.shape?mxResources.get("border"):mxResources.get("line"),l=1<=e.vertices.length?f.stylesheet.getDefaultVertexStyle():f.stylesheet.getDefaultEdgeStyle(),\r\nk=this.createCellColorOption(k,n,null!=l[n]?l[n]:"#000000",null,mxUtils.bind(this,function(a){f.updateCellStyles(n,a,e.cells)}));k.appendChild(g);h.appendChild(k);var p=h.cloneNode(!1);p.style.fontWeight="normal";p.style.whiteSpace="nowrap";p.style.position="relative";p.style.paddingLeft="16px";p.style.marginBottom="2px";p.style.marginTop="2px";p.className="geToolbarContainer";var t=mxUtils.bind(this,function(a,b,c,d,e){a=this.editorUi.menus.styleChange(a,"",d,e,"geIcon",null);d=document.createElement("div");\r\nd.style.width=b+"px";d.style.height="1px";d.style.borderBottom="1px "+c+" "+this.defaultStrokeColor;d.style.paddingTop="6px";a.firstChild.firstChild.style.padding="0px 4px 0px 4px";a.firstChild.firstChild.style.width=b+"px";a.firstChild.firstChild.appendChild(d);return a}),l=this.editorUi.toolbar.addMenuFunctionInContainer(p,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(a){t(a,75,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",\r\nmxResources.get("solid"));t(a,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed"));t(a,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");t(a,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");t(a,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],\r\n["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")})),r=p.cloneNode(!1),v=this.editorUi.toolbar.addMenuFunctionInContainer(r,"geSprite-connection",mxResources.get("connection"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.styleChange(a,\r\n"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,\r\nmxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),m=this.editorUi.toolbar.addMenuFunctionInContainer(r,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(a){t(a,33,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));t(a,33,"dashed",[mxConstants.STYLE_DASHED,\r\nmxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed"));t(a,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");t(a,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");t(a,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+\r\n" (3)")})),k=p.cloneNode(!1),u=document.createElement("input");u.style.textAlign="right";u.style.marginTop="min"==uiTheme?"0px":"2px";u.style.width="41px";u.setAttribute("title",mxResources.get("linewidth"));p.appendChild(u);var w=u.cloneNode(!0);r.appendChild(w);var x=this.createStepper(u,c,1,9);x.style.display=u.style.display;x.style.marginTop="min"==uiTheme?"0px":"2px";p.appendChild(x);var B=this.createStepper(w,d,1,9);B.style.display=w.style.display;B.style.marginTop="min"==uiTheme?"0px":"2px";\r\nr.appendChild(B);u.style.position="absolute";u.style.height="15px";u.style.left="141px";x.style.left="190px";w.style.position="absolute";w.style.left="141px";w.style.height="15px";B.style.left="190px";mxEvent.addListener(u,"blur",c);mxEvent.addListener(u,"change",c);mxEvent.addListener(w,"blur",d);mxEvent.addListener(w,"change",d);var E=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(a){"arrow"!=e.style.shape&&(this.editorUi.menus.edgeStyleChange(a,\r\n"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,\r\nmxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("simple")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title",mxResources.get("simple")),this.editorUi.menus.edgeStyleChange(a,\r\n"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",\r\nmxResources.get("isometric")),"connector"==e.style.shape&&this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,\r\n!0).setAttribute("title",mxResources.get("entityRelation")))})),G=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-startclassic",mxResources.get("linestart"),!1,mxUtils.bind(this,function(a){if("connector"==e.style.shape||"flexArrow"==e.style.shape||"filledEdge"==e.style.shape){var b=this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.NONE,0],"geIcon",null,!1);b.setAttribute("title",mxResources.get("none"));b.firstChild.firstChild.innerHTML=\r\n\'<font style="font-size:10px;">\'+mxUtils.htmlEntities(mxResources.get("none"))+"</font>";"connector"==e.style.shape||"filledEdge"==e.style.shape?(this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,1],"geIcon geSprite geSprite-startclassic",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,1],"geIcon geSprite geSprite-startclassicthin",\r\nnull,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN,0],"geIcon geSprite geSprite-startopen",null,!1).setAttribute("title",mxResources.get("openArrow")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN_THIN,0],"geIcon geSprite geSprite-startopenthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["openAsync",0],"geIcon geSprite geSprite-startopenasync",\r\nnull,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,1],"geIcon geSprite geSprite-startblock",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,1],"geIcon geSprite geSprite-startblockthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",1],"geIcon geSprite geSprite-startasync",\r\nnull,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,1],"geIcon geSprite geSprite-startoval",null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND,1],"geIcon geSprite geSprite-startdiamond",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],\r\n[mxConstants.ARROW_DIAMOND_THIN,1],"geIcon geSprite geSprite-startthindiamond",null,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,0],"geIcon geSprite geSprite-startclassictrans",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,0],"geIcon geSprite geSprite-startclassicthintrans",\r\nnull,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,0],"geIcon geSprite geSprite-startblocktrans",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK_THIN,0],"geIcon geSprite geSprite-startblockthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",0],"geIcon geSprite geSprite-startasynctrans",\r\nnull,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,0],"geIcon geSprite geSprite-startovaltrans",null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND,0],"geIcon geSprite geSprite-startdiamondtrans",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,\r\n"startFill"],[mxConstants.ARROW_DIAMOND_THIN,0],"geIcon geSprite geSprite-startthindiamondtrans",null,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["box",0],"geIcon geSprite geSvgSprite geSprite-box",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["halfCircle",0],"geIcon geSprite geSvgSprite geSprite-halfCircle",null,!1),this.editorUi.menus.edgeStyleChange(a,\r\n"",[mxConstants.STYLE_STARTARROW,"startFill"],["dash",0],"geIcon geSprite geSprite-startdash",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["cross",0],"geIcon geSprite geSprite-startcross",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circlePlus",0],"geIcon geSprite geSprite-startcircleplus",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circle",1],"geIcon geSprite geSprite-startcircle",\r\nnull,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERone",0],"geIcon geSprite geSprite-starterone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmandOne",0],"geIcon geSprite geSprite-starteronetoone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmany",0],"geIcon geSprite geSprite-startermany",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,\r\n"startFill"],["ERoneToMany",0],"geIcon geSprite geSprite-starteronetomany",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToOne",1],"geIcon geSprite geSprite-starteroneopt",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToMany",1],"geIcon geSprite geSprite-startermanyopt",null,!1)):this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-startblocktrans",\r\nnull,!1).setAttribute("title",mxResources.get("block"))}})),z=this.editorUi.toolbar.addMenuFunctionInContainer(k,"geSprite-endclassic",mxResources.get("lineend"),!1,mxUtils.bind(this,function(a){if("connector"==e.style.shape||"flexArrow"==e.style.shape||"filledEdge"==e.style.shape){var b=this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.NONE,0],"geIcon",null,!1);b.setAttribute("title",mxResources.get("none"));b.firstChild.firstChild.innerHTML=\'<font style="font-size:10px;">\'+\r\nmxUtils.htmlEntities(mxResources.get("none"))+"</font>";"connector"==e.style.shape||"filledEdge"==e.style.shape?(this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,1],"geIcon geSprite geSprite-endclassic",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,1],"geIcon geSprite geSprite-endclassicthin",null,!1),this.editorUi.menus.edgeStyleChange(a,\r\n"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN,0],"geIcon geSprite geSprite-endopen",null,!1).setAttribute("title",mxResources.get("openArrow")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN_THIN,0],"geIcon geSprite geSprite-endopenthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["openAsync",0],"geIcon geSprite geSprite-endopenasync",null,!1),this.editorUi.menus.edgeStyleChange(a,\r\n"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,1],"geIcon geSprite geSprite-endblock",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,1],"geIcon geSprite geSprite-endblockthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",1],"geIcon geSprite geSprite-endasync",null,!1),this.editorUi.menus.edgeStyleChange(a,"",\r\n[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,1],"geIcon geSprite geSprite-endoval",null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,1],"geIcon geSprite geSprite-enddiamond",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,1],"geIcon geSprite geSprite-endthindiamond",\r\nnull,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,0],"geIcon geSprite geSprite-endclassictrans",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,0],"geIcon geSprite geSprite-endclassicthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,\r\n"endFill"],[mxConstants.ARROW_BLOCK,0],"geIcon geSprite geSprite-endblocktrans",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,0],"geIcon geSprite geSprite-endblockthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",0],"geIcon geSprite geSprite-endasynctrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,\r\n"endFill"],[mxConstants.ARROW_OVAL,0],"geIcon geSprite geSprite-endovaltrans",null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND,0],"geIcon geSprite geSprite-enddiamondtrans",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,0],"geIcon geSprite geSprite-endthindiamondtrans",\r\nnull,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["box",0],"geIcon geSprite geSvgSprite geFlipSprite geSprite-box",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["halfCircle",0],"geIcon geSprite geSvgSprite geFlipSprite geSprite-halfCircle",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["dash",0],"geIcon geSprite geSprite-enddash",\r\nnull,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["cross",0],"geIcon geSprite geSprite-endcross",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circlePlus",0],"geIcon geSprite geSprite-endcircleplus",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circle",1],"geIcon geSprite geSprite-endcircle",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,\r\n"endFill"],["ERone",0],"geIcon geSprite geSprite-enderone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmandOne",0],"geIcon geSprite geSprite-enderonetoone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmany",0],"geIcon geSprite geSprite-endermany",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERoneToMany",0],"geIcon geSprite geSprite-enderonetomany",null,!1),\r\nthis.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToOne",1],"geIcon geSprite geSprite-enderoneopt",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",1],"geIcon geSprite geSprite-endermanyopt",null,!1)):this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-endblocktrans",null,!1).setAttribute("title",mxResources.get("block"))}}));this.addArrow(v,\r\n8);this.addArrow(E);this.addArrow(G);this.addArrow(z);x=this.addArrow(l,9);x.className="geIcon";x.style.width="auto";B=this.addArrow(m,9);B.className="geIcon";B.style.width="22px";var I=document.createElement("div");I.style.width="85px";I.style.height="1px";I.style.borderBottom="1px solid "+this.defaultStrokeColor;I.style.marginBottom="9px";x.appendChild(I);var y=document.createElement("div");y.style.width="23px";y.style.height="1px";y.style.borderBottom="1px solid "+this.defaultStrokeColor;y.style.marginBottom=\r\n"9px";B.appendChild(y);l.style.height="15px";m.style.height="15px";v.style.height="15px";E.style.height="17px";G.style.marginLeft="3px";G.style.height="17px";z.style.marginLeft="3px";z.style.height="17px";a.appendChild(h);a.appendChild(r);a.appendChild(p);l=p.cloneNode(!1);l.style.paddingBottom="6px";l.style.paddingTop="4px";l.style.fontWeight="normal";m=document.createElement("div");m.style.position="absolute";m.style.marginLeft="3px";m.style.marginBottom="12px";m.style.marginTop="2px";m.style.fontWeight=\r\n"normal";m.style.width="76px";mxUtils.write(m,mxResources.get("lineend"));l.appendChild(m);var H,L,O=this.addUnitInput(l,"pt",74,33,function(){H.apply(this,arguments)}),P=this.addUnitInput(l,"pt",20,33,function(){L.apply(this,arguments)});mxUtils.br(l);x=document.createElement("div");x.style.height="8px";l.appendChild(x);m=m.cloneNode(!1);mxUtils.write(m,mxResources.get("linestart"));l.appendChild(m);var M,W,ba=this.addUnitInput(l,"pt",74,33,function(){M.apply(this,arguments)}),Z=this.addUnitInput(l,\r\n"pt",20,33,function(){W.apply(this,arguments)});mxUtils.br(l);this.addLabel(l,mxResources.get("spacing"),74,50);this.addLabel(l,mxResources.get("size"),20,50);mxUtils.br(l);h=h.cloneNode(!1);h.style.fontWeight="normal";h.style.position="relative";h.style.paddingLeft="16px";h.style.marginBottom="2px";h.style.marginTop="6px";h.style.borderWidth="0px";h.style.paddingBottom="18px";m=document.createElement("div");m.style.position="absolute";m.style.marginLeft="3px";m.style.marginBottom="12px";m.style.marginTop=\r\n"1px";m.style.fontWeight="normal";m.style.width="120px";mxUtils.write(m,mxResources.get("perimeter"));h.appendChild(m);var T,R=this.addUnitInput(h,"pt",20,41,function(){T.apply(this,arguments)});e.edges.length==e.cells.length?(a.appendChild(k),a.appendChild(l)):e.vertices.length==e.cells.length&&a.appendChild(h);var Q=mxUtils.bind(this,function(a,c,d){function f(a,c,d,f){d=d.getElementsByTagName("div")[0];null!=d&&(d.className=b.getCssClassForMarker(f,e.style.shape,a,c),"geSprite geSprite-noarrow"==\r\nd.className&&(d.innerHTML=mxUtils.htmlEntities(mxResources.get("none")),d.style.backgroundImage="none",d.style.verticalAlign="top",d.style.marginTop="5px",d.style.fontSize="10px",d.style.filter="none",d.style.color=this.defaultStrokeColor,d.nextSibling.style.marginTop="0px"));return d}e=this.format.getSelectionState();mxUtils.getValue(e.style,n,null);if(d||document.activeElement!=u)a=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_STROKEWIDTH,1)),u.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=\r\nw)a=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_STROKEWIDTH,1)),w.value=isNaN(a)?"":a+" pt";g.style.visibility="connector"==e.style.shape||"filledEdge"==e.style.shape?"":"hidden";"1"==mxUtils.getValue(e.style,mxConstants.STYLE_CURVED,null)?g.value="curved":"1"==mxUtils.getValue(e.style,mxConstants.STYLE_ROUNDED,null)&&(g.value="rounded");"1"==mxUtils.getValue(e.style,mxConstants.STYLE_DASHED,null)?null==mxUtils.getValue(e.style,mxConstants.STYLE_DASH_PATTERN,null)?I.style.borderBottom="1px dashed "+\r\nthis.defaultStrokeColor:I.style.borderBottom="1px dotted "+this.defaultStrokeColor:I.style.borderBottom="1px solid "+this.defaultStrokeColor;y.style.borderBottom=I.style.borderBottom;a=E.getElementsByTagName("div")[0];null!=a&&(c=mxUtils.getValue(e.style,mxConstants.STYLE_EDGE,null),"1"==mxUtils.getValue(e.style,mxConstants.STYLE_NOEDGESTYLE,null)&&(c=null),"orthogonalEdgeStyle"==c&&"1"==mxUtils.getValue(e.style,mxConstants.STYLE_CURVED,null)?a.className="geSprite geSprite-curved":a.className="straight"==\r\nc||"none"==c||null==c?"geSprite geSprite-straight":"entityRelationEdgeStyle"==c?"geSprite geSprite-entity":"elbowEdgeStyle"==c?"geSprite "+("vertical"==mxUtils.getValue(e.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalelbow":"geSprite-horizontalelbow"):"isometricEdgeStyle"==c?"geSprite "+("vertical"==mxUtils.getValue(e.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalisometric":"geSprite-horizontalisometric"):"geSprite geSprite-orthogonal");a=v.getElementsByTagName("div")[0];null!=a&&\r\n(a.className="link"==e.style.shape?"geSprite geSprite-linkedge":"flexArrow"==e.style.shape?"geSprite geSprite-arrow":"arrow"==e.style.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection");e.edges.length==e.cells.length?(r.style.display="",p.style.display="none"):(r.style.display="none",p.style.display="");a=f(mxUtils.getValue(e.style,mxConstants.STYLE_STARTARROW,null),mxUtils.getValue(e.style,"startFill","1"),G,"start");c=f(mxUtils.getValue(e.style,mxConstants.STYLE_ENDARROW,null),\r\nmxUtils.getValue(e.style,"endFill","1"),z,"end");null!=a&&null!=c&&("arrow"==e.style.shape?(a.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-endblocktrans"):"link"==e.style.shape&&(a.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-noarrow"));mxUtils.setOpacity(E,"arrow"==e.style.shape?30:100);"connector"!=e.style.shape&&"flexArrow"!=e.style.shape&&"filledEdge"!=e.style.shape?(mxUtils.setOpacity(G,30),mxUtils.setOpacity(z,30)):(mxUtils.setOpacity(G,100),mxUtils.setOpacity(z,\r\n100));if(d||document.activeElement!=Z)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),Z.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=ba)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),ba.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=P)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),P.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=ba)a=parseInt(mxUtils.getValue(e.style,\r\nmxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),O.value=isNaN(a)?"":a+" pt";if(d||document.activeElement!=R)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_PERIMETER_SPACING,0)),R.value=isNaN(a)?"":a+" pt"});W=this.installInputHandler(Z,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");M=this.installInputHandler(ba,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999," pt");L=this.installInputHandler(P,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");\r\nH=this.installInputHandler(O,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0,-999,999," pt");T=this.installInputHandler(R,mxConstants.STYLE_PERIMETER_SPACING,0,0,999," pt");this.addKeyHandler(u,Q);this.addKeyHandler(Z,Q);this.addKeyHandler(ba,Q);this.addKeyHandler(P,Q);this.addKeyHandler(O,Q);this.addKeyHandler(R,Q);f.getModel().addListener(mxEvent.CHANGE,Q);this.listeners.push({destroy:function(){f.getModel().removeListener(Q)}});Q();return a};\r\nStyleFormatPanel.prototype.addLineJumps=function(a){var c=this.format.getSelectionState();if(Graph.lineJumpsEnabled&&0<c.edges.length&&0==c.vertices.length&&c.lineJumps){a.style.padding="8px 0px 24px 18px";var d=this.editorUi,b=d.editor.graph,f=document.createElement("div");f.style.position="absolute";f.style.fontWeight="bold";f.style.width="80px";mxUtils.write(f,mxResources.get("lineJumps"));a.appendChild(f);var e=document.createElement("select");e.style.position="absolute";e.style.marginTop="-2px";\r\ne.style.right="76px";e.style.width="62px";for(var f=["none","arc","gap","sharp","line"],h=0;h<f.length;h++){var g=document.createElement("option");g.setAttribute("value",f[h]);mxUtils.write(g,mxResources.get(f[h]));e.appendChild(g)}mxEvent.addListener(e,"change",function(a){b.getModel().beginUpdate();try{b.setCellStyles("jumpStyle",e.value,c.cells),d.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[e.value],"cells",c.cells))}finally{b.getModel().endUpdate()}mxEvent.consume(a)});\r\nmxEvent.addListener(e,"click",function(a){mxEvent.consume(a)});a.appendChild(e);var k,l=this.addUnitInput(a,"pt",22,33,function(){k.apply(this,arguments)});k=this.installInputHandler(l,"jumpSize",Graph.defaultJumpSize,0,999," pt");var m=mxUtils.bind(this,function(a,b,d){c=this.format.getSelectionState();e.value=mxUtils.getValue(c.style,"jumpStyle","none");if(d||document.activeElement!=l)a=parseInt(mxUtils.getValue(c.style,"jumpSize",Graph.defaultJumpSize)),l.value=isNaN(a)?"":a+" pt"});this.addKeyHandler(l,\r\nm);b.getModel().addListener(mxEvent.CHANGE,m);this.listeners.push({destroy:function(){b.getModel().removeListener(m)}});m()}else a.style.display="none";return a};\r\nStyleFormatPanel.prototype.addEffects=function(a){var c=this.editorUi.editor.graph,d=this.format.getSelectionState();a.style.paddingTop="0px";a.style.paddingBottom="2px";var b=document.createElement("table");b.style.width="100%";b.style.fontWeight="bold";b.style.paddingRight="20px";var f=document.createElement("tbody"),e=document.createElement("tr");e.style.padding="0px";var h=document.createElement("td");h.style.padding="0px";h.style.width="50%";h.setAttribute("valign","top");var g=h.cloneNode(!0);\r\ng.style.paddingLeft="8px";e.appendChild(h);e.appendChild(g);f.appendChild(e);b.appendChild(f);a.appendChild(b);var k=h,l=0,m=mxUtils.bind(this,function(a,b,c){a=this.createCellOption(a,b,c);a.style.width="100%";k.appendChild(a);k=k==h?g:h;l++}),n=mxUtils.bind(this,function(a,b,c){d=this.format.getSelectionState();h.innerHTML="";g.innerHTML="";k=h;d.rounded&&m(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);"swimlane"==d.style.shape&&m(mxResources.get("divider"),"swimlaneLine",1);d.containsImage||\r\nm(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);d.glass&&m(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);m(mxResources.get("sketch"),"sketch",0)});c.getModel().addListener(mxEvent.CHANGE,n);this.listeners.push({destroy:function(){c.getModel().removeListener(n)}});n();return a};\r\nStyleFormatPanel.prototype.addStyleOps=function(a){a.style.paddingTop="10px";a.style.paddingBottom="10px";var c=mxUtils.button(mxResources.get("setAsDefaultStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("setAsDefaultStyle").funct()}));c.setAttribute("title",mxResources.get("setAsDefaultStyle")+" ("+this.editorUi.actions.get("setAsDefaultStyle").shortcut+")");c.style.width="202px";a.appendChild(c);return a};DiagramStylePanel=function(a,c,d){BaseFormatPanel.call(this,a,c,d);this.init()};\r\nmxUtils.extend(DiagramStylePanel,BaseFormatPanel);DiagramStylePanel.prototype.init=function(){this.container.appendChild(this.addView(this.createPanel()))};\r\nDiagramStylePanel.prototype.addView=function(a){var c=this.editorUi,d=c.editor.graph,b=d.getModel();a.style.whiteSpace="normal";var f="1"==d.currentVertexStyle.sketch&&"1"==d.currentEdgeStyle.sketch,e="1"==d.currentVertexStyle.rounded,h="1"==d.currentEdgeStyle.curved,g=document.createElement("div");g.style.paddingBottom="12px";g.style.marginRight="16px";a.style.paddingTop="8px";var k=document.createElement("table");k.style.width="100%";k.style.fontWeight="bold";var l=document.createElement("tbody"),\r\nm=document.createElement("tr");m.style.padding="0px";var n=document.createElement("td");n.style.padding="0px";n.style.width="50%";n.setAttribute("valign","middle");var p=n.cloneNode(!0);p.style.paddingLeft="8px";m.appendChild(n);m.appendChild(p);l.appendChild(m);k.appendChild(l);n.appendChild(this.createOption(mxResources.get("sketch"),function(){return f},function(a){(f=a)?(d.currentEdgeStyle.sketch="1",d.currentVertexStyle.sketch="1"):(delete d.currentEdgeStyle.sketch,delete d.currentVertexStyle.sketch);\r\nd.updateCellStyles("sketch",a?"1":null,d.getVerticesAndEdges())},null,function(a){a.style.width="auto"}));p.appendChild(this.createOption(mxResources.get("rounded"),function(){return e},function(a){(e=a)?d.currentVertexStyle.rounded="1":delete d.currentVertexStyle.rounded;d.updateCellStyles("rounded",a?"1":null,d.getVerticesAndEdges(!0,!0))},null,function(a){a.style.width="auto"}));n=n.cloneNode(!1);p=p.cloneNode(!1);m=m.cloneNode(!1);m.appendChild(n);m.appendChild(p);l.appendChild(m);n.appendChild(this.createOption(mxResources.get("curved"),\r\nfunction(){return h},function(a){(h=a)?d.currentEdgeStyle.curved="1":delete d.currentEdgeStyle.curved;d.updateCellStyles("curved",a?"1":null,d.getVerticesAndEdges(!1,!0))},null,function(a){a.style.width="auto"}));g.appendChild(k);a.appendChild(g);var t=["fillColor","strokeColor","fontColor","gradientColor"],r=mxUtils.bind(this,function(a,c){var e=d.getVerticesAndEdges();b.beginUpdate();try{for(var f=0;f<e.length;f++){var g=d.getCellStyle(e[f]);null!=g.labelBackgroundColor&&d.updateCellStyles("labelBackgroundColor",\r\nnull!=c?c.background:null,[e[f]]);for(var k=b.isEdge(e[f]),h=b.getStyle(e[f]),l=k?d.currentEdgeStyle:d.currentVertexStyle,m=0;m<a.length;m++)if(null!=g[a[m]]&&g[a[m]]!=mxConstants.NONE||a[m]!=mxConstants.STYLE_FILLCOLOR&&a[m]!=mxConstants.STYLE_STROKECOLOR)h=mxUtils.setStyle(h,a[m],l[a[m]]);b.setStyle(e[f],h)}}finally{b.endUpdate()}}),v=mxUtils.bind(this,function(a,b,c){if(null!=a)for(var d=0;d<b.length;d++)if(null!=a[b[d]]&&a[b[d]]!=mxConstants.NONE||b[d]!=mxConstants.STYLE_FILLCOLOR&&b[d]!=mxConstants.STYLE_STROKECOLOR)a[b[d]]=\r\nc[b[d]]}),u=mxUtils.bind(this,function(a,b,c,e,f){if(null!=a){null!=c&&null!=b.labelBackgroundColor&&(e=null!=e?e.background:null,f=null!=f?f:d,null==e&&(e=f.background),null==e&&(e=f.defaultPageBackgroundColor),b.labelBackgroundColor=e);for(var g in a)if(null==c||null!=b[g]&&b[g]!=mxConstants.NONE||g!=mxConstants.STYLE_FILLCOLOR&&g!=mxConstants.STYLE_STROKECOLOR)b[g]=a[g]}}),n=mxUtils.button(mxResources.get("reset"),mxUtils.bind(this,function(a){a=d.getVerticesAndEdges(!0,!0);if(0<a.length){b.beginUpdate();\r\ntry{d.updateCellStyles("sketch",null,a),d.updateCellStyles("rounded",null,a),d.updateCellStyles("curved",null,d.getVerticesAndEdges(!1,!0))}finally{b.endUpdate()}}d.defaultVertexStyle=mxUtils.clone(c.initialDefaultVertexStyle);d.defaultEdgeStyle=mxUtils.clone(c.initialDefaultEdgeStyle);c.clearDefaultStyle()}));n.setAttribute("title",mxResources.get("reset"));n.style.textOverflow="ellipsis";n.style.maxWidth="90px";p.appendChild(n);var w=mxUtils.bind(this,function(a,c,e,f,g){var k=document.createElement("div");\r\nk.style.cssText="position:absolute;display:inline-block;width:100%;height:100%;overflow:hidden;pointer-events:none;";g.appendChild(k);var h=new Graph(k,null,null,d.getStylesheet());h.resetViewOnRootChange=!1;h.foldingEnabled=!1;h.gridEnabled=!1;h.autoScroll=!1;h.setTooltips(!1);h.setConnectable(!1);h.setPanning(!1);h.setEnabled(!1);h.getCellStyle=function(g){var k=mxUtils.clone(Graph.prototype.getCellStyle.apply(this,arguments)),l=d.stylesheet.getDefaultVertexStyle(),m=c;b.isEdge(g)&&(l=d.stylesheet.getDefaultEdgeStyle(),\r\nm=e);v(k,t,l);u(a,k,g,f,h);u(m,k,g,f,h);return k};h.model.beginUpdate();try{var l=h.insertVertex(h.getDefaultParent(),null,"Shape",14,8,70,40,"strokeWidth=2;"),m=h.insertEdge(h.getDefaultParent(),null,"Connector",l,l,"edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endSize=5;strokeWidth=2;");m.geometry.points=[new mxPoint(32,70)];m.geometry.offset=new mxPoint(0,8)}finally{h.model.endUpdate()}}),x=document.createElement("div");x.style.position="relative";a.appendChild(x);null==\r\nthis.format.cachedStyleEntries&&(this.format.cachedStyleEntries=[]);var B=mxUtils.bind(this,function(a,g,k,l,m){var n=this.format.cachedStyleEntries[m];null==n&&(n=document.createElement("div"),n.style.cssText="display:inline-block;position:relative;width:96px;height:90px;cursor:pointer;border:1px solid gray;margin:2px;overflow:hidden;",null!=l&&null!=l.background&&(n.style.backgroundColor=l.background),w(a,g,k,l,n),mxEvent.addGestureListeners(n,mxUtils.bind(this,function(a){n.style.opacity=.5}),\r\nnull,mxUtils.bind(this,function(m){n.style.opacity=1;d.defaultVertexStyle=mxUtils.clone(c.initialDefaultVertexStyle);d.defaultEdgeStyle=mxUtils.clone(c.initialDefaultEdgeStyle);u(a,d.defaultVertexStyle);u(a,d.defaultEdgeStyle);u(g,d.defaultVertexStyle);u(k,d.defaultEdgeStyle);c.clearDefaultStyle();f?(d.currentEdgeStyle.sketch="1",d.currentVertexStyle.sketch="1"):(d.currentEdgeStyle.sketch="0",d.currentVertexStyle.sketch="0");d.currentVertexStyle.rounded=e?"1":"0";d.currentEdgeStyle.rounded="1";d.currentEdgeStyle.curved=\r\nh?"1":"0";b.beginUpdate();try{r(t,l);var p=new ChangePageSetup(c,null!=l?l.background:null);p.ignoreImage=!0;b.execute(p);b.execute(new ChangeGridColor(c,null!=l&&null!=l.gridColor?l.gridColor:d.view.defaultGridColor))}finally{b.endUpdate()}})),mxEvent.addListener(n,"mouseenter",mxUtils.bind(this,function(c){var e=d.getCellStyle;c=d.background;var f=d.view.gridColor;d.background=null!=l?l.background:null;d.view.gridColor=null!=l&&null!=l.gridColor?l.gridColor:d.view.defaultGridColor;d.getCellStyle=\r\nfunction(c){var f=mxUtils.clone(e.apply(this,arguments)),h=d.stylesheet.getDefaultVertexStyle(),m=g;b.isEdge(c)&&(h=d.stylesheet.getDefaultEdgeStyle(),m=k);v(f,t,h);u(a,f,c,l);u(m,f,c,l);return f};d.refresh();d.getCellStyle=e;d.background=c;d.view.gridColor=f})),mxEvent.addListener(n,"mouseleave",mxUtils.bind(this,function(a){d.refresh()})),mxClient.IS_IE||mxClient.IS_IE11||(this.format.cachedStyleEntries[m]=n));x.appendChild(n)}),E=Math.ceil(Editor.styles.length/10);this.format.currentStylePage=\r\nnull!=this.format.currentStylePage?this.format.currentStylePage:0;var G=[],z=mxUtils.bind(this,function(){0<G.length&&(G[this.format.currentStylePage].style.background="#84d7ff");for(var a=10*this.format.currentStylePage;a<Math.min(10*(this.format.currentStylePage+1),Editor.styles.length);a++){var b=Editor.styles[a];B(b.commonStyle,b.vertexStyle,b.edgeStyle,b.graph,a)}}),I=mxUtils.bind(this,function(a){0<=a&&a<E&&(G[this.format.currentStylePage].style.background="transparent",x.innerHTML="",this.format.currentStylePage=\r\na,z())});if(1<E){g=document.createElement("div");g.style.whiteSpace="nowrap";g.style.position="relative";g.style.textAlign="center";g.style.paddingTop="4px";g.style.width="210px";a.style.paddingBottom="8px";for(p=0;p<E;p++){var y=document.createElement("div");y.style.display="inline-block";y.style.width="6px";y.style.height="6px";y.style.marginLeft="4px";y.style.marginRight="3px";y.style.borderRadius="3px";y.style.cursor="pointer";y.style.background="transparent";y.style.border="1px solid #b5b6b7";\r\nmxUtils.bind(this,function(a,b){mxEvent.addListener(y,"click",mxUtils.bind(this,function(){I(a)}))})(p,y);g.appendChild(y);G.push(y)}a.appendChild(g);z();15>E&&(k=function(a){mxEvent.addListener(a,"mouseenter",function(){a.style.opacity="1"});mxEvent.addListener(a,"mouseleave",function(){a.style.opacity="0.5"})},n=document.createElement("div"),n.style.cssText="position:absolute;left:0px;top:4px;bottom:0px;width:20px;margin:0px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ4eHh3d3d1dXVxcXF2dnZ2dnZ2dnZxcXF2dnYmb3w1AAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADRJREFUCNdjwACMAmBKaiGYs2oJmLPKAZ3DabU8AMRTXpUKopislqFyVzCAuUZgikkBZjoAcMYLnp53P/UAAAAASUVORK5CYII=);",\r\nmxEvent.addListener(n,"click",mxUtils.bind(this,function(){I(mxUtils.mod(this.format.currentStylePage-1,E))})),p=document.createElement("div"),p.style.cssText="position:absolute;right:2px;top:4px;bottom:0px;width:20px;margin:0px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYBuwCcAAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADZJREFUCNdjQAOMAmBKaiGY8loF5rKswsZlrVo8AUiFrTICcbIWK8A5DF1gDoMymMPApIAwHwCS0Qx/U7qCBQAAAABJRU5ErkJggg==);",\r\ng.appendChild(n),g.appendChild(p),mxEvent.addListener(p,"click",mxUtils.bind(this,function(){I(mxUtils.mod(this.format.currentStylePage+1,E))})),k(n),k(p))}else z();return a};DiagramFormatPanel=function(a,c,d){BaseFormatPanel.call(this,a,c,d);this.init()};mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.showPageView=!0;DiagramFormatPanel.prototype.showBackgroundImageOption=!0;\r\nDiagramFormatPanel.prototype.init=function(){var a=this.editorUi.editor.graph;this.container.appendChild(this.addView(this.createPanel()));a.isEnabled()&&(this.container.appendChild(this.addOptions(this.createPanel())),this.container.appendChild(this.addPaperSize(this.createPanel())),this.container.appendChild(this.addStyleOps(this.createPanel())))};\r\nDiagramFormatPanel.prototype.addView=function(a){var c=this.editorUi,d=c.editor.graph;a.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(a);DiagramFormatPanel.showPageView&&a.appendChild(this.createOption(mxResources.get("pageView"),function(){return d.pageVisible},function(a){c.actions.get("pageView").funct()},{install:function(a){this.listener=function(){a(d.pageVisible)};c.addListener("pageViewChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}}));\r\nif(d.isEnabled()){var b=this.createColorOption(mxResources.get("background"),function(){return d.background},function(a){a=new ChangePageSetup(c,a);a.ignoreImage=!0;d.model.execute(a)},"#ffffff",{install:function(a){this.listener=function(){a(d.background)};c.addListener("backgroundColorChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}});if(this.showBackgroundImageOption){var f=mxUtils.button(mxResources.get("image"),function(a){c.showBackgroundImageDialog(null,c.editor.graph.backgroundImage);\r\nmxEvent.consume(a)});f.style.position="absolute";f.className="geColorBtn";f.style.marginTop="-4px";f.style.paddingBottom=11==document.documentMode||mxClient.IS_MT?"0px":"2px";f.style.height="22px";f.style.right="72px";f.style.width="56px";b.appendChild(f)}a.appendChild(b)}return a};\r\nDiagramFormatPanel.prototype.addOptions=function(a){var c=this.editorUi,d=c.editor.graph;a.appendChild(this.createTitle(mxResources.get("options")));d.isEnabled()&&(a.appendChild(this.createOption(mxResources.get("connectionArrows"),function(){return d.connectionArrowsEnabled},function(a){c.actions.get("connectionArrows").funct()},{install:function(a){this.listener=function(){a(d.connectionArrowsEnabled)};c.addListener("connectionArrowsChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}})),\r\na.appendChild(this.createOption(mxResources.get("connectionPoints"),function(){return d.connectionHandler.isEnabled()},function(a){c.actions.get("connectionPoints").funct()},{install:function(a){this.listener=function(){a(d.connectionHandler.isEnabled())};c.addListener("connectionPointsChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}})),a.appendChild(this.createOption(mxResources.get("guides"),function(){return d.graphHandler.guidesEnabled},function(a){c.actions.get("guides").funct()},\r\n{install:function(a){this.listener=function(){a(d.graphHandler.guidesEnabled)};c.addListener("guidesEnabledChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}})));return a};\r\nDiagramFormatPanel.prototype.addGridOption=function(a){function c(a){var b=d.isFloatUnit()?parseFloat(e.value):parseInt(e.value),b=d.fromUnit(Math.max(d.inUnit(1),isNaN(b)?d.inUnit(10):b));b!=f.getGridSize()&&f.setGridSize(b);e.value=d.inUnit(b)+" "+d.getUnit();mxEvent.consume(a)}var d=this,b=this.editorUi,f=b.editor.graph,e=document.createElement("input");e.style.position="absolute";e.style.textAlign="right";e.style.width="38px";e.value=this.inUnit(f.getGridSize())+" "+this.getUnit();var h=this.createStepper(e,\r\nc,this.getUnitStep(),null,null,null,this.isFloatUnit());e.style.display=f.isGridEnabled()?"":"none";h.style.display=e.style.display;mxEvent.addListener(e,"keydown",function(a){13==a.keyCode?(f.container.focus(),mxEvent.consume(a)):27==a.keyCode&&(e.value=f.getGridSize(),f.container.focus(),mxEvent.consume(a))});mxEvent.addListener(e,"blur",c);mxEvent.addListener(e,"change",c);if(mxClient.IS_SVG){e.style.marginTop="-2px";e.style.right="84px";h.style.marginTop=mxClient.IS_FF?"-16px":"-18px";h.style.right=\r\n"72px";var g=this.createColorOption(mxResources.get("grid"),function(){var a=f.view.gridColor;return f.isGridEnabled()?a:null},function(a){var c=f.isGridEnabled();a==mxConstants.NONE?f.setGridEnabled(!1):(f.setGridEnabled(!0),b.setGridColor(a));e.style.display=f.isGridEnabled()?"":"none";h.style.display=e.style.display;c!=f.isGridEnabled()&&b.fireEvent(new mxEventObject("gridEnabledChanged"))},Editor.isDarkMode()?f.view.defaultDarkGridColor:f.view.defaultGridColor,{install:function(a){this.listener=\r\nfunction(){a(f.isGridEnabled()?f.view.gridColor:null)};b.addListener("gridColorChanged",this.listener);b.addListener("gridEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});g.appendChild(e);g.appendChild(h);a.appendChild(g)}else e.style.marginTop="2px",e.style.right="32px",h.style.marginTop="2px",h.style.right="20px",a.appendChild(e),a.appendChild(h),a.appendChild(this.createOption(mxResources.get("grid"),function(){return f.isGridEnabled()},function(a){f.setGridEnabled(a);\r\nf.isGridEnabled()&&(f.view.gridColor="#e0e0e0");b.fireEvent(new mxEventObject("gridEnabledChanged"))},{install:function(a){this.listener=function(){e.style.display=f.isGridEnabled()?"":"none";h.style.display=e.style.display;a(f.isGridEnabled())};b.addListener("gridEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}))};DiagramFormatPanel.prototype.addDocumentProperties=function(a){a.appendChild(this.createTitle(mxResources.get("options")));return a};\r\nDiagramFormatPanel.prototype.addPaperSize=function(a){var c=this.editorUi,d=c.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var b=PageSetupDialog.addPageFormatPanel(a,"formatpanel",d.pageFormat,function(a){if(null==d.pageFormat||d.pageFormat.width!=a.width||d.pageFormat.height!=a.height)a=new ChangePageSetup(c,null,null,a),a.ignoreColor=!0,a.ignoreImage=!0,d.model.execute(a)});this.addKeyHandler(b.widthInput,function(){b.set(d.pageFormat)});this.addKeyHandler(b.heightInput,\r\nfunction(){b.set(d.pageFormat)});var f=function(){b.set(d.pageFormat)};c.addListener("pageFormatChanged",f);this.listeners.push({destroy:function(){c.removeListener(f)}});d.getModel().addListener(mxEvent.CHANGE,f);this.listeners.push({destroy:function(){d.getModel().removeListener(f)}});return a};\r\nDiagramFormatPanel.prototype.addStyleOps=function(a){var c=mxUtils.button(mxResources.get("editData"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editData").funct()}));c.setAttribute("title",mxResources.get("editData")+" ("+this.editorUi.actions.get("editData").shortcut+")");c.style.width="202px";c.style.marginBottom="2px";a.appendChild(c);mxUtils.br(a);c=mxUtils.button(mxResources.get("clearDefaultStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("clearDefaultStyle").funct()}));\r\nc.setAttribute("title",mxResources.get("clearDefaultStyle")+" ("+this.editorUi.actions.get("clearDefaultStyle").shortcut+")");c.style.width="202px";a.appendChild(c);return a};DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};(function(){function a(){mxSwimlane.call(this)}function c(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function b(){mxActor.call(this)}function f(){mxCylinder.call(this)}function e(){mxCylinder.call(this)}function h(){mxCylinder.call(this)}function g(){mxCylinder.call(this)}function k(){mxShape.call(this)}function l(){mxShape.call(this)}function m(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1}function n(){mxActor.call(this)}function p(){mxCylinder.call(this)}\r\nfunction t(){mxCylinder.call(this)}function r(){mxActor.call(this)}function v(){mxActor.call(this)}function u(){mxActor.call(this)}function w(){mxActor.call(this)}function x(){mxActor.call(this)}function B(){mxActor.call(this)}function E(){mxActor.call(this)}function G(a,b){this.canvas=a;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=b;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,G.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;\r\nthis.canvas.moveTo=mxUtils.bind(this,G.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,G.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,G.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=mxUtils.bind(this,G.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,G.prototype.arcTo)}function z(){mxRectangleShape.call(this)}function I(){mxRectangleShape.call(this)}\r\nfunction y(){mxActor.call(this)}function H(){mxActor.call(this)}function L(){mxActor.call(this)}function O(){mxRectangleShape.call(this)}function P(){mxRectangleShape.call(this)}function M(){mxCylinder.call(this)}function W(){mxShape.call(this)}function ba(){mxShape.call(this)}function Z(){mxEllipse.call(this)}function T(){mxShape.call(this)}function R(){mxShape.call(this)}function Q(){mxRectangleShape.call(this)}function S(){mxShape.call(this)}function ga(){mxShape.call(this)}function na(){mxShape.call(this)}\r\nfunction oa(){mxShape.call(this)}function pa(){mxShape.call(this)}function ea(){mxCylinder.call(this)}function qa(){mxCylinder.call(this)}function ua(){mxRectangleShape.call(this)}function ra(){mxDoubleEllipse.call(this)}function va(){mxDoubleEllipse.call(this)}function ka(){mxArrowConnector.call(this);this.spacing=0}function ha(){mxArrowConnector.call(this);this.spacing=0}function ia(){mxActor.call(this)}function da(){mxRectangleShape.call(this)}function fa(){mxActor.call(this)}function ma(){mxActor.call(this)}\r\nfunction ja(){mxActor.call(this)}function X(){mxActor.call(this)}function sa(){mxActor.call(this)}function K(){mxActor.call(this)}function aa(){mxActor.call(this)}function ca(){mxActor.call(this)}function U(){mxActor.call(this)}function Y(){mxActor.call(this)}function la(){mxEllipse.call(this)}function Ba(){mxEllipse.call(this)}function Ea(){mxEllipse.call(this)}function Ma(){mxRhombus.call(this)}function Na(){mxEllipse.call(this)}function Oa(){mxEllipse.call(this)}function Fa(){mxEllipse.call(this)}\r\nfunction Ga(){mxEllipse.call(this)}function Ha(){mxActor.call(this)}function za(){mxActor.call(this)}function Aa(){mxActor.call(this)}function N(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;this.stroke=c;this.strokewidth=null!=d?d:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=!0;this.indent=2;this.rectOutline="single"}function xa(){mxConnector.call(this)}function Ra(a,b,c,d,e,f,g,k,h,l){g+=h;var q=d.clone();d.x-=e*(2*g+h);d.y-=f*(2*g+h);e*=g+h;f*=g+h;return function(){a.ellipse(q.x-\r\ne-g,q.y-f-g,2*g,2*g);l?a.fillAndStroke():a.stroke()}}mxUtils.extend(a,mxSwimlane);a.prototype.getLabelBounds=function(a){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};a.prototype.paintVertexShape=function(a,b,c,d,e){0==this.getTitleSize()?mxRectangleShape.prototype.paintBackground.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),a.translate(-b,-c));this.paintForeground(a,\r\nb,c,d,e)};a.prototype.paintForeground=function(a,b,c,d,e){if(null!=this.state){var q=this.flipH,f=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)var g=q,q=f,f=g;a.rotate(-this.getShapeRotation(),q,f,b+d/2,c+e/2);s=this.scale;b=this.bounds.x/s;c=this.bounds.y/s;d=this.bounds.width/s;e=this.bounds.height/s;this.paintTableForeground(a,b,c,d,e)}};a.prototype.paintTableForeground=function(a,b,c,d,e){var q=this.state.view.graph,f=q.getActualStartSize(this.state.cell),\r\ng=q.model.getChildCells(this.state.cell,!0);if(0<g.length){var D="0"!=mxUtils.getValue(this.state.style,"rowLines","1"),A="0"!=mxUtils.getValue(this.state.style,"columnLines","1");if(D)for(D=1;D<g.length;D++){var k=q.getCellGeometry(g[D]);null!=k&&(a.begin(),a.moveTo(b+f.x,c+k.y),a.lineTo(b+d-f.width,c+k.y),a.end(),a.stroke())}if(A)for(d=q.model.getChildCells(g[0],!0),D=1;D<d.length;D++)k=q.getCellGeometry(d[D]),null!=k&&(a.begin(),a.moveTo(b+k.x+f.x,c+f.y),a.lineTo(b+k.x+f.x,c+e-f.height),a.end(),\r\na.stroke())}};mxCellRenderer.registerShape("table",a);mxUtils.extend(c,mxCylinder);c.prototype.size=20;c.prototype.darkOpacity=0;c.prototype.darkOpacity2=0;c.prototype.paintVertexShape=function(a,b,c,d,e){var q=Math.max(0,Math.min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),f=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),g=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));\r\na.translate(b,c);a.begin();a.moveTo(0,0);a.lineTo(d-q,0);a.lineTo(d,q);a.lineTo(d,e);a.lineTo(q,e);a.lineTo(0,e-q);a.lineTo(0,0);a.close();a.end();a.fillAndStroke();this.outline||(a.setShadow(!1),0!=f&&(a.setFillAlpha(Math.abs(f)),a.setFillColor(0>f?"#FFFFFF":"#000000"),a.begin(),a.moveTo(0,0),a.lineTo(d-q,0),a.lineTo(d,q),a.lineTo(q,q),a.close(),a.fill()),0!=g&&(a.setFillAlpha(Math.abs(g)),a.setFillColor(0>g?"#FFFFFF":"#000000"),a.begin(),a.moveTo(0,0),a.lineTo(q,q),a.lineTo(q,e),a.lineTo(0,e-q),\r\na.close(),a.fill()),a.begin(),a.moveTo(q,e),a.lineTo(q,q),a.lineTo(0,0),a.moveTo(q,q),a.lineTo(d,q),a.end(),a.stroke())};c.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)?(a=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(a,a,0,0)):null};mxCellRenderer.registerShape("cube",c);var Pa=Math.tan(mxUtils.toRadians(30)),ya=(.5-Pa)/2;mxCellRenderer.registerShape("isoRectangle",b);mxUtils.extend(d,mxCylinder);d.prototype.size=\r\n6;d.prototype.paintVertexShape=function(a,b,c,d,e){a.setFillColor(this.stroke);var q=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;a.ellipse(b+.5*(d-q),c+.5*(e-q),q,q);a.fill();a.setFillColor(mxConstants.NONE);a.rect(b,c,d,e);a.fill()};mxCellRenderer.registerShape("waypoint",d);mxUtils.extend(b,mxActor);b.prototype.size=20;b.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/Pa);a.translate((d-b)/2,(e-b)/2+b/4);a.moveTo(0,.25*b);a.lineTo(.5*b,b*ya);\r\na.lineTo(b,.25*b);a.lineTo(.5*b,(.5-ya)*b);a.lineTo(0,.25*b);a.close();a.end()};mxCellRenderer.registerShape("isoRectangle",b);mxUtils.extend(f,mxCylinder);f.prototype.size=20;f.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(d,e/(.5+Pa));f?(a.moveTo(0,.25*b),a.lineTo(.5*b,(.5-ya)*b),a.lineTo(b,.25*b),a.moveTo(.5*b,(.5-ya)*b),a.lineTo(.5*b,(1-ya)*b)):(a.translate((d-b)/2,(e-b)/2),a.moveTo(0,.25*b),a.lineTo(.5*b,b*ya),a.lineTo(b,.25*b),a.lineTo(b,.75*b),a.lineTo(.5*b,(1-ya)*b),a.lineTo(0,.75*\r\nb),a.close());a.end()};mxCellRenderer.registerShape("isoCube",f);mxUtils.extend(e,mxCylinder);e.prototype.redrawPath=function(a,b,c,d,e,f){b=Math.min(e/2,Math.round(e/8)+this.strokewidth-1);if(f&&null!=this.fill||!f&&null==this.fill)a.moveTo(0,b),a.curveTo(0,2*b,d,2*b,d,b),f||(a.stroke(),a.begin()),a.translate(0,b/2),a.moveTo(0,b),a.curveTo(0,2*b,d,2*b,d,b),f||(a.stroke(),a.begin()),a.translate(0,b/2),a.moveTo(0,b),a.curveTo(0,2*b,d,2*b,d,b),f||(a.stroke(),a.begin()),a.translate(0,-b);f||(a.moveTo(0,\r\nb),a.curveTo(0,-b/3,d,-b/3,d,b),a.lineTo(d,e-b),a.curveTo(d,e+b/3,0,e+b/3,0,e-b),a.close())};e.prototype.getLabelMargins=function(a){return new mxRectangle(0,2.5*Math.min(a.height/2,Math.round(a.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("datastore",e);mxUtils.extend(h,mxCylinder);h.prototype.size=30;h.prototype.darkOpacity=0;h.prototype.paintVertexShape=function(a,b,c,d,e){var q=Math.max(0,Math.min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),f=\r\nMath.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));a.translate(b,c);a.begin();a.moveTo(0,0);a.lineTo(d-q,0);a.lineTo(d,q);a.lineTo(d,e);a.lineTo(0,e);a.lineTo(0,0);a.close();a.end();a.fillAndStroke();this.outline||(a.setShadow(!1),0!=f&&(a.setFillAlpha(Math.abs(f)),a.setFillColor(0>f?"#FFFFFF":"#000000"),a.begin(),a.moveTo(d-q,0),a.lineTo(d-q,q),a.lineTo(d,q),a.close(),a.fill()),a.begin(),a.moveTo(d-q,0),a.lineTo(d-q,q),a.lineTo(d,q),a.end(),a.stroke())};\r\nmxCellRenderer.registerShape("note",h);mxUtils.extend(g,h);mxCellRenderer.registerShape("note2",g);g.prototype.getLabelMargins=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var b=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(a.height*this.scale,b*this.scale),0,0)}return null};mxUtils.extend(k,mxShape);k.prototype.isoAngle=15;k.prototype.paintVertexShape=function(a,b,c,d,e){var q=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*\r\nMath.PI/200,q=Math.min(d*Math.tan(q),.5*e);a.translate(b,c);a.begin();a.moveTo(.5*d,0);a.lineTo(d,q);a.lineTo(d,e-q);a.lineTo(.5*d,e);a.lineTo(0,e-q);a.lineTo(0,q);a.close();a.fillAndStroke();a.setShadow(!1);a.begin();a.moveTo(0,q);a.lineTo(.5*d,2*q);a.lineTo(d,q);a.moveTo(.5*d,2*q);a.lineTo(.5*d,e);a.stroke()};mxCellRenderer.registerShape("isoCube2",k);mxUtils.extend(l,mxShape);l.prototype.size=15;l.prototype.paintVertexShape=function(a,b,c,d,e){var q=Math.max(0,Math.min(.5*e,parseFloat(mxUtils.getValue(this.style,\r\n"size",this.size))));a.translate(b,c);0==q?(a.rect(0,0,d,e),a.fillAndStroke()):(a.begin(),a.moveTo(0,q),a.arcTo(.5*d,q,0,0,1,.5*d,0),a.arcTo(.5*d,q,0,0,1,d,q),a.lineTo(d,e-q),a.arcTo(.5*d,q,0,0,1,.5*d,e),a.arcTo(.5*d,q,0,0,1,0,e-q),a.close(),a.fillAndStroke(),a.setShadow(!1),a.begin(),a.moveTo(d,q),a.arcTo(.5*d,q,0,0,1,.5*d,2*q),a.arcTo(.5*d,q,0,0,1,0,q),a.stroke())};mxCellRenderer.registerShape("cylinder2",l);mxUtils.extend(m,mxCylinder);m.prototype.size=15;m.prototype.paintVertexShape=function(a,\r\nb,c,d,e){var q=Math.max(0,Math.min(.5*e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),f=mxUtils.getValue(this.style,"lid",!0);a.translate(b,c);0==q?(a.rect(0,0,d,e),a.fillAndStroke()):(a.begin(),f?(a.moveTo(0,q),a.arcTo(.5*d,q,0,0,1,.5*d,0),a.arcTo(.5*d,q,0,0,1,d,q)):(a.moveTo(0,0),a.arcTo(.5*d,q,0,0,0,.5*d,q),a.arcTo(.5*d,q,0,0,0,d,0)),a.lineTo(d,e-q),a.arcTo(.5*d,q,0,0,1,.5*d,e),a.arcTo(.5*d,q,0,0,1,0,e-q),a.close(),a.fillAndStroke(),a.setShadow(!1),f&&(a.begin(),a.moveTo(d,q),a.arcTo(.5*\r\nd,q,0,0,1,.5*d,2*q),a.arcTo(.5*d,q,0,0,1,0,q),a.stroke()))};mxCellRenderer.registerShape("cylinder3",m);mxUtils.extend(n,mxActor);n.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(0,0);a.quadTo(d/2,.5*e,d,0);a.quadTo(.5*d,e/2,d,e);a.quadTo(d/2,.5*e,0,e);a.quadTo(.5*d,e/2,0,0);a.end()};mxCellRenderer.registerShape("switch",n);mxUtils.extend(p,mxCylinder);p.prototype.tabWidth=60;p.prototype.tabHeight=20;p.prototype.tabPosition="right";p.prototype.arcSize=.1;p.prototype.paintVertexShape=function(a,\r\nb,c,d,e){a.translate(b,c);b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var q=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),f=mxUtils.getValue(this.style,"rounded",!1),g=mxUtils.getValue(this.style,"absoluteArcSize",!1),k=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));g||(k*=Math.min(d,e));k=Math.min(k,.5*d,.5*(e-c));b=Math.max(b,\r\nk);b=Math.min(d-k,b);f||(k=0);a.begin();"left"==q?(a.moveTo(Math.max(k,0),c),a.lineTo(Math.max(k,0),0),a.lineTo(b,0),a.lineTo(b,c)):(a.moveTo(d-b,c),a.lineTo(d-b,0),a.lineTo(d-Math.max(k,0),0),a.lineTo(d-Math.max(k,0),c));f?(a.moveTo(0,k+c),a.arcTo(k,k,0,0,1,k,c),a.lineTo(d-k,c),a.arcTo(k,k,0,0,1,d,k+c),a.lineTo(d,e-k),a.arcTo(k,k,0,0,1,d-k,e),a.lineTo(k,e),a.arcTo(k,k,0,0,1,0,e-k)):(a.moveTo(0,c),a.lineTo(d,c),a.lineTo(d,e),a.lineTo(0,e));a.close();a.fillAndStroke();a.setShadow(!1);"triangle"==mxUtils.getValue(this.style,\r\n"folderSymbol",null)&&(a.begin(),a.moveTo(d-30,c+20),a.lineTo(d-20,c+10),a.lineTo(d-10,c+20),a.close(),a.stroke())};mxCellRenderer.registerShape("folder",p);p.prototype.getLabelMargins=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var b=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var c=mxUtils.getValue(this.style,"tabWidth",15)*this.scale,b=mxUtils.getValue(this.style,"tabHeight",15)*this.scale,d=mxUtils.getValue(this.style,\r\n"rounded",!1),e=mxUtils.getValue(this.style,"absoluteArcSize",!1),q=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));e||(q*=Math.min(a.width,a.height));q=Math.min(q,.5*a.width,.5*(a.height-b));d||(q=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(q,0,Math.min(a.width,a.width-c),Math.min(a.height,a.height-b)):new mxRectangle(Math.min(a.width,a.width-c),0,q,Math.min(a.height,a.height-b))}return new mxRectangle(0,Math.min(a.height,b),0,0)}return null};\r\nmxUtils.extend(t,mxCylinder);t.prototype.arcSize=.1;t.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);var q=mxUtils.getValue(this.style,"rounded",!1),f=mxUtils.getValue(this.style,"absoluteArcSize",!1);b=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));c=mxUtils.getValue(this.style,"umlStateConnection",null);f||(b*=Math.min(d,e));b=Math.min(b,.5*d,.5*e);q||(b=0);q=0;null!=c&&(q=10);a.begin();a.moveTo(q,b);a.arcTo(b,b,0,0,1,q+b,0);a.lineTo(d-b,0);a.arcTo(b,b,0,0,1,d,\r\nb);a.lineTo(d,e-b);a.arcTo(b,b,0,0,1,d-b,e);a.lineTo(q+b,e);a.arcTo(b,b,0,0,1,q,e-b);a.close();a.fillAndStroke();a.setShadow(!1);"collapseState"==mxUtils.getValue(this.style,"umlStateSymbol",null)&&(a.roundrect(d-40,e-20,10,10,3,3),a.stroke(),a.roundrect(d-20,e-20,10,10,3,3),a.stroke(),a.begin(),a.moveTo(d-30,e-15),a.lineTo(d-20,e-15),a.stroke());"connPointRefEntry"==c?(a.ellipse(0,.5*e-10,20,20),a.fillAndStroke()):"connPointRefExit"==c&&(a.ellipse(0,.5*e-10,20,20),a.fillAndStroke(),a.begin(),a.moveTo(5,\r\n.5*e-5),a.lineTo(15,.5*e+5),a.moveTo(15,.5*e-5),a.lineTo(5,.5*e+5),a.stroke())};t.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};mxCellRenderer.registerShape("umlState",t);mxUtils.extend(r,mxActor);r.prototype.size=30;r.prototype.isRoundable=function(){return!0};r.prototype.redrawPath=function(a,b,c,d,e){b=Math.max(0,Math.min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,\r\n"size",this.size)))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(b,0),new mxPoint(d,0),new mxPoint(d,e),new mxPoint(0,e),new mxPoint(0,b)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("card",r);mxUtils.extend(v,mxActor);v.prototype.size=.4;v.prototype.redrawPath=function(a,b,c,d,e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(0,b/2);a.quadTo(d/4,1.4*b,d/2,b/2);a.quadTo(3*\r\nd/4,b*(1-1.4),d,b/2);a.lineTo(d,e-b/2);a.quadTo(3*d/4,e-1.4*b,d/2,e-b/2);a.quadTo(d/4,e-b*(1-1.4),0,e-b/2);a.lineTo(0,b/2);a.close();a.end()};v.prototype.getLabelBounds=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var b=mxUtils.getValue(this.style,"size",this.size),c=a.width,d=a.height;if(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return b*=d,new mxRectangle(a.x,a.y+b,c,d-2*b);b*=c;return new mxRectangle(a.x+b,a.y,c-\r\n2*b,d)}return a};mxCellRenderer.registerShape("tape",v);mxUtils.extend(u,mxActor);u.prototype.size=.3;u.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*a.height):null};u.prototype.redrawPath=function(a,b,c,d,e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(0,0);a.lineTo(d,0);a.lineTo(d,e-b/2);a.quadTo(3*d/4,e-1.4*b,d/2,e-b/2);a.quadTo(d/\r\n4,e-b*(1-1.4),0,e-b/2);a.lineTo(0,b/2);a.close();a.end()};mxCellRenderer.registerShape("document",u);var Wa=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(a,b,c,d){var e=mxUtils.getValue(this.style,"size");return null!=e?d*Math.max(0,Math.min(1,e)):Wa.apply(this,arguments)};mxCylinder.prototype.getLabelMargins=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var b=2*mxUtils.getValue(this.style,"size",.15);return new mxRectangle(0,Math.min(this.maxHeight*\r\nthis.scale,a.height*b),0,0)}return null};m.prototype.getLabelMargins=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var b=mxUtils.getValue(this.style,"size",15);mxUtils.getValue(this.style,"lid",!0)||(b/=2);return new mxRectangle(0,Math.min(a.height*this.scale,2*b*this.scale),0,Math.max(0,.3*b*this.scale))}return null};p.prototype.getLabelMargins=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var b=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,\r\n"labelInHeader",!1)){var c=mxUtils.getValue(this.style,"tabWidth",15)*this.scale,b=mxUtils.getValue(this.style,"tabHeight",15)*this.scale,d=mxUtils.getValue(this.style,"rounded",!1),e=mxUtils.getValue(this.style,"absoluteArcSize",!1),q=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));e||(q*=Math.min(a.width,a.height));q=Math.min(q,.5*a.width,.5*(a.height-b));d||(q=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(q,0,Math.min(a.width,a.width-\r\nc),Math.min(a.height,a.height-b)):new mxRectangle(Math.min(a.width,a.width-c),0,q,Math.min(a.height,a.height-b))}return new mxRectangle(0,Math.min(a.height,b),0,0)}return null};t.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};g.prototype.getLabelMargins=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var b=mxUtils.getValue(this.style,"size",\r\n15);return new mxRectangle(0,Math.min(a.height*this.scale,b*this.scale),0,Math.max(0,b*this.scale))}return null};mxUtils.extend(w,mxActor);w.prototype.size=.2;w.prototype.fixedSize=20;w.prototype.isRoundable=function(){return!0};w.prototype.redrawPath=function(a,b,c,d,e){b="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,\r\nmxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,e),new mxPoint(b,0),new mxPoint(d,0),new mxPoint(d-b,e)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("parallelogram",w);mxUtils.extend(x,mxActor);x.prototype.size=.2;x.prototype.fixedSize=20;x.prototype.isRoundable=function(){return!0};x.prototype.redrawPath=function(a,b,c,d,e){b="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*d,parseFloat(mxUtils.getValue(this.style,"size",\r\nthis.fixedSize)))):d*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,e),new mxPoint(b,0),new mxPoint(d-b,0),new mxPoint(d,e)],this.isRounded,c,!0)};mxCellRenderer.registerShape("trapezoid",x);mxUtils.extend(B,mxActor);B.prototype.size=.5;B.prototype.redrawPath=function(a,b,c,d,e){a.setFillColor(null);b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,\r\n"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(d,0),new mxPoint(b,0),new mxPoint(b,e/2),new mxPoint(0,e/2),new mxPoint(b,e/2),new mxPoint(b,e),new mxPoint(d,e)],this.isRounded,c,!1);a.end()};mxCellRenderer.registerShape("curlyBracket",B);mxUtils.extend(E,mxActor);E.prototype.redrawPath=function(a,b,c,d,e){a.setStrokeWidth(1);a.setFillColor(this.stroke);b=d/5;a.rect(0,0,b,e);a.fillAndStroke();a.rect(2*b,0,b,e);\r\na.fillAndStroke();a.rect(4*b,0,b,e);a.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",E);G.prototype.moveTo=function(a,b){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=b;this.firstX=a;this.firstY=b};G.prototype.close=function(){null!=this.firstX&&null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,arguments));this.originalClose.apply(this.canvas,arguments)};G.prototype.quadTo=function(a,b,c,d){this.originalQuadTo.apply(this.canvas,\r\narguments);this.lastX=c;this.lastY=d};G.prototype.curveTo=function(a,b,c,d,e,f){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=e;this.lastY=f};G.prototype.arcTo=function(a,b,c,d,e,f,g){this.originalArcTo.apply(this.canvas,arguments);this.lastX=f;this.lastY=g};G.prototype.lineTo=function(a,b){if(null!=this.lastX&&null!=this.lastY){var c=function(a){return"number"===typeof a?a?0>a?-1:1:a===a?0:NaN:NaN},d=Math.abs(a-this.lastX),e=Math.abs(b-this.lastY),q=Math.sqrt(d*d+e*e);if(2>q){this.originalLineTo.apply(this.canvas,\r\narguments);this.lastX=a;this.lastY=b;return}var f=Math.round(q/10),g=this.defaultVariation;5>f&&(f=5,g/=3);for(var k=c(a-this.lastX)*d/f,c=c(b-this.lastY)*e/f,d=d/q,e=e/q,q=0;q<f;q++){var h=(Math.random()-.5)*g;this.originalLineTo.call(this.canvas,k*q+this.lastX-h*e,c*q+this.lastY-h*d)}this.originalLineTo.call(this.canvas,a,b)}else this.originalLineTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=b};G.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;\r\nthis.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};mxShape.prototype.defaultJiggle=1.5;var Xa=mxShape.prototype.beforePaint;mxShape.prototype.beforePaint=function(a){Xa.apply(this,arguments);null==a.handJiggle&&(a.handJiggle=this.createHandJiggle(a))};var Ya=mxShape.prototype.afterPaint;mxShape.prototype.afterPaint=function(a){Ya.apply(this,arguments);null!=a.handJiggle&&(a.handJiggle.destroy(),\r\ndelete a.handJiggle)};mxShape.prototype.createComicCanvas=function(a){return new G(a,mxUtils.getValue(this.style,"jiggle",this.defaultJiggle))};mxShape.prototype.createHandJiggle=function(a){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")?null:this.createComicCanvas(a)};mxRhombus.prototype.defaultJiggle=2;var Za=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=function(){return!this.outline&&(null==this.style||"0"==mxUtils.getValue(this.style,\r\n"comic","0")&&"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0"))&&Za.apply(this,arguments)};var bb=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(a,b,c,d,e){if(null==a.handJiggle||a.handJiggle.constructor!=G)bb.apply(this,arguments);else{var q=!0;null!=this.style&&(q="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(q||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)q||\r\nnull!=this.fill&&this.fill!=mxConstants.NONE||(a.pointerEvents=!1),a.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?q=Math.min(d/2,Math.min(e/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,q=Math.min(d*q,e*q)),a.moveTo(b+q,c),a.lineTo(b+d-q,c),a.quadTo(b+d,c,b+d,c+q),a.lineTo(b+d,c+e-q),a.quadTo(b+d,c+e,b+d-q,\r\nc+e),a.lineTo(b+q,c+e),a.quadTo(b,c+e,b,c+e-q),a.lineTo(b,c+q),a.quadTo(b,c,b+q,c)):(a.moveTo(b,c),a.lineTo(b+d,c),a.lineTo(b+d,c+e),a.lineTo(b,c+e),a.lineTo(b,c)),a.close(),a.end(),a.fillAndStroke()}};mxUtils.extend(z,mxRectangleShape);z.prototype.size=.1;z.prototype.fixedSize=!1;z.prototype.isHtmlAllowed=function(){return!1};z.prototype.getLabelBounds=function(a){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||\r\nthis.direction==mxConstants.DIRECTION_WEST)){var b=a.width,c=a.height;a=new mxRectangle(a.x,a.y,b,c);var d=b*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded)var e=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,d=Math.max(d,Math.min(b*e,c*e));a.x+=Math.round(d);a.width-=Math.round(2*d)}return a};z.prototype.paintForeground=function(a,b,c,d,e){var q=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),\r\nf=parseFloat(mxUtils.getValue(this.style,"size",this.size)),f=q?Math.max(0,Math.min(d,f)):d*Math.max(0,Math.min(1,f));this.isRounded&&(q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.max(f,Math.min(d*q,e*q)));f=Math.round(f);a.begin();a.moveTo(b+f,c);a.lineTo(b+f,c+e);a.moveTo(b+d-f,c);a.lineTo(b+d-f,c+e);a.end();a.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("process",z);mxCellRenderer.registerShape("process2",\r\nz);mxUtils.extend(I,mxRectangleShape);I.prototype.paintBackground=function(a,b,c,d,e){a.setFillColor(mxConstants.NONE);a.rect(b,c,d,e);a.fill()};I.prototype.paintForeground=function(a,b,c,d,e){};mxCellRenderer.registerShape("transparent",I);mxUtils.extend(y,mxHexagon);y.prototype.size=30;y.prototype.position=.5;y.prototype.position2=.5;y.prototype.base=20;y.prototype.getLabelMargins=function(){return new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};y.prototype.isRoundable=\r\nfunction(){return!0};y.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var q=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),f=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2)))),g=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"base",this.base))));\r\nthis.addPoints(a,[new mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,e-c),new mxPoint(Math.min(d,q+g),e-c),new mxPoint(f,e),new mxPoint(Math.max(0,q),e-c),new mxPoint(0,e-c)],this.isRounded,b,!0,[4])};mxCellRenderer.registerShape("callout",y);mxUtils.extend(H,mxActor);H.prototype.size=.2;H.prototype.fixedSize=20;H.prototype.isRoundable=function(){return!0};H.prototype.redrawPath=function(a,b,c,d,e){b="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,\r\n"size",this.fixedSize)))):d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(d-b,0),new mxPoint(d,e/2),new mxPoint(d-b,e),new mxPoint(0,e),new mxPoint(b,e/2)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("step",H);mxUtils.extend(L,mxHexagon);L.prototype.size=.25;L.prototype.fixedSize=20;L.prototype.isRoundable=function(){return!0};\r\nL.prototype.redrawPath=function(a,b,c,d,e){b="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*d,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(b,0),new mxPoint(d-b,0),new mxPoint(d,.5*e),new mxPoint(d-b,e),new mxPoint(b,e),new mxPoint(0,.5*e)],this.isRounded,c,\r\n!0)};mxCellRenderer.registerShape("hexagon",L);mxUtils.extend(O,mxRectangleShape);O.prototype.isHtmlAllowed=function(){return!1};O.prototype.paintForeground=function(a,b,c,d,e){var f=Math.min(d/5,e/5)+1;a.begin();a.moveTo(b+d/2,c+f);a.lineTo(b+d/2,c+e-f);a.moveTo(b+f,c+e/2);a.lineTo(b+d-f,c+e/2);a.end();a.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",O);var Ua=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(a){if(1==\r\nthis.style["double"]){var b=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(a.x+b,a.y+b,a.width-2*b,a.height-2*b)}return a};mxRhombus.prototype.paintVertexShape=function(a,b,c,d,e){Ua.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var f=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);b+=f;c+=f;d-=2*f;e-=2*f;0<d&&0<e&&(a.setShadow(!1),Ua.apply(this,[a,b,c,d,e]))}};mxUtils.extend(P,\r\nmxRectangleShape);P.prototype.isHtmlAllowed=function(){return!1};P.prototype.getLabelBounds=function(a){if(1==this.style["double"]){var b=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(a.x+b,a.y+b,a.width-2*b,a.height-2*b)}return a};P.prototype.paintForeground=function(a,b,c,d,e){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var f=Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||\r\n0);b+=f;c+=f;d-=2*f;e-=2*f;0<d&&0<e&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}a.setDashed(!1);var f=0,q;do{q=mxCellRenderer.defaultShapes[this.style["symbol"+f]];if(null!=q){var g=this.style["symbol"+f+"Align"],k=this.style["symbol"+f+"VerticalAlign"],h=this.style["symbol"+f+"Width"],D=this.style["symbol"+f+"Height"],A=this.style["symbol"+f+"Spacing"]||0,C=this.style["symbol"+f+"VSpacing"]||A,F=this.style["symbol"+f+"ArcSpacing"];null!=F&&(F*=this.getArcSize(d+this.strokewidth,\r\ne+this.strokewidth),A+=F,C+=F);var F=b,l=c,F=g==mxConstants.ALIGN_CENTER?F+(d-h)/2:g==mxConstants.ALIGN_RIGHT?F+(d-h-A):F+A,l=k==mxConstants.ALIGN_MIDDLE?l+(e-D)/2:k==mxConstants.ALIGN_BOTTOM?l+(e-D-C):l+C;a.save();g=new q;g.style=this.style;q.prototype.paintVertexShape.call(g,a,F,l,h,D);a.restore()}f++}while(null!=q)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",P);mxUtils.extend(M,mxCylinder);M.prototype.redrawPath=function(a,b,c,d,e,f){f?(a.moveTo(0,\r\n0),a.lineTo(d/2,e/2),a.lineTo(d,0),a.end()):(a.moveTo(0,0),a.lineTo(d,0),a.lineTo(d,e),a.lineTo(0,e),a.close())};mxCellRenderer.registerShape("message",M);mxUtils.extend(W,mxShape);W.prototype.paintBackground=function(a,b,c,d,e){a.translate(b,c);a.ellipse(d/4,0,d/2,e/4);a.fillAndStroke();a.begin();a.moveTo(d/2,e/4);a.lineTo(d/2,2*e/3);a.moveTo(d/2,e/3);a.lineTo(0,e/3);a.moveTo(d/2,e/3);a.lineTo(d,e/3);a.moveTo(d/2,2*e/3);a.lineTo(0,e);a.moveTo(d/2,2*e/3);a.lineTo(d,e);a.end();a.stroke()};mxCellRenderer.registerShape("umlActor",\r\nW);mxUtils.extend(ba,mxShape);ba.prototype.getLabelMargins=function(a){return new mxRectangle(a.width/6,0,0,0)};ba.prototype.paintBackground=function(a,b,c,d,e){a.translate(b,c);a.begin();a.moveTo(0,e/4);a.lineTo(0,3*e/4);a.end();a.stroke();a.begin();a.moveTo(0,e/2);a.lineTo(d/6,e/2);a.end();a.stroke();a.ellipse(d/6,0,5*d/6,e);a.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",ba);mxUtils.extend(Z,mxEllipse);Z.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,\r\narguments);a.begin();a.moveTo(b+d/8,c+e);a.lineTo(b+7*d/8,c+e);a.end();a.stroke()};mxCellRenderer.registerShape("umlEntity",Z);mxUtils.extend(T,mxShape);T.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);a.begin();a.moveTo(d,0);a.lineTo(0,e);a.moveTo(0,0);a.lineTo(d,e);a.end();a.stroke()};mxCellRenderer.registerShape("umlDestroy",T);mxUtils.extend(R,mxShape);R.prototype.getLabelBounds=function(a){return new mxRectangle(a.x,a.y+a.height/8,a.width,7*a.height/8)};R.prototype.paintBackground=\r\nfunction(a,b,c,d,e){a.translate(b,c);a.begin();a.moveTo(3*d/8,e/8*1.1);a.lineTo(5*d/8,0);a.end();a.stroke();a.ellipse(0,e/8,d,7*e/8);a.fillAndStroke()};R.prototype.paintForeground=function(a,b,c,d,e){a.begin();a.moveTo(3*d/8,e/8*1.1);a.lineTo(5*d/8,e/4);a.end();a.stroke()};mxCellRenderer.registerShape("umlControl",R);mxUtils.extend(Q,mxRectangleShape);Q.prototype.size=40;Q.prototype.isHtmlAllowed=function(){return!1};Q.prototype.getLabelBounds=function(a){var b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.style,\r\n"size",this.size))*this.scale));return new mxRectangle(a.x,a.y,a.width,b)};Q.prototype.paintBackground=function(a,b,c,d,e){var f=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),q=mxUtils.getValue(this.style,"participant");null==q||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,a,b,c,d,f):(q=this.state.view.graph.cellRenderer.getShape(q),null!=q&&q!=Q&&(q=new q,q.apply(this.state),a.save(),q.paintVertexShape(a,b,c,d,f),a.restore()));f<e&&(a.setDashed("1"==\r\nmxUtils.getValue(this.style,"lifelineDashed","1")),a.begin(),a.moveTo(b+d/2,c+f),a.lineTo(b+d/2,c+e),a.end(),a.stroke())};Q.prototype.paintForeground=function(a,b,c,d,e){var f=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,a,b,c,d,Math.min(e,f))};mxCellRenderer.registerShape("umlLifeline",Q);mxUtils.extend(S,mxShape);S.prototype.width=60;S.prototype.height=30;S.prototype.corner=10;S.prototype.getLabelMargins=function(a){return new mxRectangle(0,\r\n0,a.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),a.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};S.prototype.paintBackground=function(a,b,c,d,e){var f=this.corner,q=Math.min(d,Math.max(f,parseFloat(mxUtils.getValue(this.style,"width",this.width)))),g=Math.min(e,Math.max(1.5*f,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),k=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);k!=mxConstants.NONE&&\r\n(a.setFillColor(k),a.rect(b,c,d,e),a.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(this.getGradientBounds(a,b,c,d,e),a.setGradient(this.fill,this.gradient,b,c,d,e,this.gradientDirection)):a.setFillColor(this.fill);a.begin();a.moveTo(b,c);a.lineTo(b+q,c);a.lineTo(b+q,c+Math.max(0,g-1.5*f));a.lineTo(b+Math.max(0,q-f),c+g);a.lineTo(b,c+g);a.close();a.fillAndStroke();a.begin();a.moveTo(b+q,c);a.lineTo(b+d,c);a.lineTo(b+d,c+e);a.lineTo(b,c+e);a.lineTo(b,\r\nc+g);a.stroke()};mxCellRenderer.registerShape("umlFrame",S);mxPerimeter.CenterPerimeter=function(a,b,c,d){return new mxPoint(a.getCenterX(),a.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);mxPerimeter.LifelinePerimeter=function(a,b,c,d){d=Q.prototype.size;null!=b&&(d=mxUtils.getValue(b.style,"size",d)*b.view.scale);b=parseFloat(b.style[mxConstants.STYLE_STROKEWIDTH]||1)*b.view.scale/2-1;c.x<a.getCenterX()&&(b=-1*(b+1));return new mxPoint(a.getCenterX()+b,Math.min(a.y+\r\na.height,Math.max(a.y+d,c.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(a,b,c,d){d=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(a,b,c,d){d=parseFloat(b.style[mxConstants.STYLE_STROKEWIDTH]||1)*b.view.scale/2-1;null!=b.style.backboneSize&&(d+=parseFloat(b.style.backboneSize)*b.view.scale/\r\n2-1);if("south"==b.style[mxConstants.STYLE_DIRECTION]||"north"==b.style[mxConstants.STYLE_DIRECTION])return c.x<a.getCenterX()&&(d=-1*(d+1)),new mxPoint(a.getCenterX()+d,Math.min(a.y+a.height,Math.max(a.y,c.y)));c.y<a.getCenterY()&&(d=-1*(d+1));return new mxPoint(Math.min(a.x+a.width,Math.max(a.x,c.x)),a.getCenterY()+d)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=function(a,b,c,d){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(a,\r\nnew mxRectangle(0,0,0,Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(b.style,"size",y.prototype.size))*b.view.scale))),b.style),b,c,d)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(a,b,c,d){var e="0"!=mxUtils.getValue(b.style,"fixedSize","0"),f=e?w.prototype.fixedSize:w.prototype.size;null!=b&&(f=mxUtils.getValue(b.style,"size",f));e&&(f*=b.view.scale);var q=a.x,g=a.y,k=a.width,h=a.height;b=null!=b?mxUtils.getValue(b.style,\r\nmxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH?(e=e?Math.max(0,Math.min(h,f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(q,g),new mxPoint(q+k,g+e),new mxPoint(q+k,g+h),new mxPoint(q,g+h-e),new mxPoint(q,g)]):(e=e?Math.max(0,Math.min(.5*k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(q+e,g),new mxPoint(q+k,g),new mxPoint(q+k-e,g+h),new mxPoint(q,g+h),new mxPoint(q+e,g)]);h=a.getCenterX();a=a.getCenterY();\r\na=new mxPoint(h,a);d&&(c.x<q||c.x>q+k?a.y=c.y:a.x=c.x);return mxUtils.getPerimeterPoint(g,a,c)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(a,b,c,d){var e="0"!=mxUtils.getValue(b.style,"fixedSize","0"),f=e?x.prototype.fixedSize:x.prototype.size;null!=b&&(f=mxUtils.getValue(b.style,"size",f));e&&(f*=b.view.scale);var q=a.x,g=a.y,k=a.width,h=a.height;b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):\r\nmxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_EAST?(e=e?Math.max(0,Math.min(.5*k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(q+e,g),new mxPoint(q+k-e,g),new mxPoint(q+k,g+h),new mxPoint(q,g+h),new mxPoint(q+e,g)]):b==mxConstants.DIRECTION_WEST?(e=e?Math.max(0,Math.min(k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(q,g),new mxPoint(q+k,g),new mxPoint(q+k-e,g+h),new mxPoint(q+e,g+h),new mxPoint(q,g)]):b==mxConstants.DIRECTION_NORTH?(e=e?Math.max(0,Math.min(h,f)):h*Math.max(0,Math.min(1,f)),\r\ng=[new mxPoint(q,g+e),new mxPoint(q+k,g),new mxPoint(q+k,g+h),new mxPoint(q,g+h-e),new mxPoint(q,g+e)]):(e=e?Math.max(0,Math.min(h,f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(q,g),new mxPoint(q+k,g+e),new mxPoint(q+k,g+h-e),new mxPoint(q,g+h),new mxPoint(q,g)]);h=a.getCenterX();a=a.getCenterY();a=new mxPoint(h,a);d&&(c.x<q||c.x>q+k?a.y=c.y:a.x=c.x);return mxUtils.getPerimeterPoint(g,a,c)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(a,\r\nb,c,d){var e="0"!=mxUtils.getValue(b.style,"fixedSize","0"),f=e?H.prototype.fixedSize:H.prototype.size;null!=b&&(f=mxUtils.getValue(b.style,"size",f));e&&(f*=b.view.scale);var q=a.x,g=a.y,k=a.width,h=a.height,A=a.getCenterX();a=a.getCenterY();b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_EAST?(e=e?Math.max(0,Math.min(k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(q,g),new mxPoint(q+k-e,g),new mxPoint(q+\r\nk,a),new mxPoint(q+k-e,g+h),new mxPoint(q,g+h),new mxPoint(q+e,a),new mxPoint(q,g)]):b==mxConstants.DIRECTION_WEST?(e=e?Math.max(0,Math.min(k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(q+e,g),new mxPoint(q+k,g),new mxPoint(q+k-e,a),new mxPoint(q+k,g+h),new mxPoint(q+e,g+h),new mxPoint(q,a),new mxPoint(q+e,g)]):b==mxConstants.DIRECTION_NORTH?(e=e?Math.max(0,Math.min(h,f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(q,g+e),new mxPoint(A,g),new mxPoint(q+k,g+e),new mxPoint(q+k,g+h),new mxPoint(A,\r\ng+h-e),new mxPoint(q,g+h),new mxPoint(q,g+e)]):(e=e?Math.max(0,Math.min(h,f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(q,g),new mxPoint(A,g+e),new mxPoint(q+k,g),new mxPoint(q+k,g+h-e),new mxPoint(A,g+h),new mxPoint(q,g+h-e),new mxPoint(q,g)]);A=new mxPoint(A,a);d&&(c.x<q||c.x>q+k?A.y=c.y:A.x=c.x);return mxUtils.getPerimeterPoint(g,A,c)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(a,b,c,d){var e="0"!=mxUtils.getValue(b.style,"fixedSize",\r\n"0"),f=e?L.prototype.fixedSize:L.prototype.size;null!=b&&(f=mxUtils.getValue(b.style,"size",f));e&&(f*=b.view.scale);var q=a.x,g=a.y,k=a.width,h=a.height,A=a.getCenterX();a=a.getCenterY();b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH?(e=e?Math.max(0,Math.min(h,f)):h*Math.max(0,Math.min(1,f)),g=[new mxPoint(A,g),new mxPoint(q+k,g+e),new mxPoint(q+k,g+h-e),new mxPoint(A,\r\ng+h),new mxPoint(q,g+h-e),new mxPoint(q,g+e),new mxPoint(A,g)]):(e=e?Math.max(0,Math.min(k,f)):k*Math.max(0,Math.min(1,f)),g=[new mxPoint(q+e,g),new mxPoint(q+k-e,g),new mxPoint(q+k,a),new mxPoint(q+k-e,g+h),new mxPoint(q+e,g+h),new mxPoint(q,a),new mxPoint(q+e,g)]);A=new mxPoint(A,a);d&&(c.x<q||c.x>q+k?A.y=c.y:A.x=c.x);return mxUtils.getPerimeterPoint(g,A,c)};mxStyleRegistry.putValue("hexagonPerimeter2",mxPerimeter.HexagonPerimeter2);mxUtils.extend(ga,mxShape);ga.prototype.size=10;ga.prototype.paintBackground=\r\nfunction(a,b,c,d,e){var f=parseFloat(mxUtils.getValue(this.style,"size",this.size));a.translate(b,c);a.ellipse((d-f)/2,0,f,f);a.fillAndStroke();a.begin();a.moveTo(d/2,f);a.lineTo(d/2,e);a.end();a.stroke()};mxCellRenderer.registerShape("lollipop",ga);mxUtils.extend(na,mxShape);na.prototype.size=10;na.prototype.inset=2;na.prototype.paintBackground=function(a,b,c,d,e){var f=parseFloat(mxUtils.getValue(this.style,"size",this.size)),q=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;\r\na.translate(b,c);a.begin();a.moveTo(d/2,f+q);a.lineTo(d/2,e);a.end();a.stroke();a.begin();a.moveTo((d-f)/2-q,f/2);a.quadTo((d-f)/2-q,f+q,d/2,f+q);a.quadTo((d+f)/2+q,f+q,(d+f)/2+q,f/2);a.end();a.stroke()};mxCellRenderer.registerShape("requires",na);mxUtils.extend(oa,mxShape);oa.prototype.paintBackground=function(a,b,c,d,e){a.translate(b,c);a.begin();a.moveTo(0,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,0,e);a.end();a.stroke()};mxCellRenderer.registerShape("requiredInterface",oa);mxUtils.extend(pa,mxShape);\r\npa.prototype.inset=2;pa.prototype.paintBackground=function(a,b,c,d,e){var f=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;a.translate(b,c);a.ellipse(0,f,d-2*f,e-2*f);a.fillAndStroke();a.begin();a.moveTo(d/2,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d/2,e);a.end();a.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",pa);mxUtils.extend(ea,mxCylinder);ea.prototype.jettyWidth=20;ea.prototype.jettyHeight=10;ea.prototype.redrawPath=function(a,b,c,d,e,f){var q=parseFloat(mxUtils.getValue(this.style,\r\n"jettyWidth",this.jettyWidth));b=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));c=q/2;var q=c+q/2,g=Math.min(b,e-b),k=Math.min(g+2*b,e-b);f?(a.moveTo(c,g),a.lineTo(q,g),a.lineTo(q,g+b),a.lineTo(c,g+b),a.moveTo(c,k),a.lineTo(q,k),a.lineTo(q,k+b),a.lineTo(c,k+b)):(a.moveTo(c,0),a.lineTo(d,0),a.lineTo(d,e),a.lineTo(c,e),a.lineTo(c,k+b),a.lineTo(0,k+b),a.lineTo(0,k),a.lineTo(c,k),a.lineTo(c,g+b),a.lineTo(0,g+b),a.lineTo(0,g),a.lineTo(c,g),a.close());a.end()};mxCellRenderer.registerShape("module",\r\nea);mxUtils.extend(qa,mxCylinder);qa.prototype.jettyWidth=32;qa.prototype.jettyHeight=12;qa.prototype.redrawPath=function(a,b,c,d,e,f){var q=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));b=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));c=q/2;var q=c+q/2,g=.3*e-b/2,k=.7*e-b/2;f?(a.moveTo(c,g),a.lineTo(q,g),a.lineTo(q,g+b),a.lineTo(c,g+b),a.moveTo(c,k),a.lineTo(q,k),a.lineTo(q,k+b),a.lineTo(c,k+b)):(a.moveTo(c,0),a.lineTo(d,0),a.lineTo(d,e),a.lineTo(c,\r\ne),a.lineTo(c,k+b),a.lineTo(0,k+b),a.lineTo(0,k),a.lineTo(c,k),a.lineTo(c,g+b),a.lineTo(0,g+b),a.lineTo(0,g),a.lineTo(c,g),a.close());a.end()};mxCellRenderer.registerShape("component",qa);mxUtils.extend(ua,mxRectangleShape);ua.prototype.paintForeground=function(a,b,c,d,e){var f=d/2,q=e/2,g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;a.begin();this.addPoints(a,[new mxPoint(b+f,c),new mxPoint(b+d,c+q),new mxPoint(b+f,c+e),new mxPoint(b,c+q)],this.isRounded,g,!0);\r\na.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",ua);mxUtils.extend(ra,mxDoubleEllipse);ra.prototype.outerStroke=!0;ra.prototype.paintVertexShape=function(a,b,c,d,e){var f=Math.min(4,Math.min(d/5,e/5));0<d&&0<e&&(a.ellipse(b+f,c+f,d-2*f,e-2*f),a.fillAndStroke());a.setShadow(!1);this.outerStroke&&(a.ellipse(b,c,d,e),a.stroke())};mxCellRenderer.registerShape("endState",ra);mxUtils.extend(va,ra);va.prototype.outerStroke=!1;\r\nmxCellRenderer.registerShape("startState",va);mxUtils.extend(ka,mxArrowConnector);ka.prototype.defaultWidth=4;ka.prototype.isOpenEnded=function(){return!0};ka.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};ka.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",ka);mxUtils.extend(ha,mxArrowConnector);ha.prototype.defaultWidth=10;ha.prototype.defaultArrowWidth=20;ha.prototype.getStartArrowWidth=\r\nfunction(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};ha.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};ha.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",ha);mxUtils.extend(ia,mxActor);ia.prototype.size=30;ia.prototype.isRoundable=function(){return!0};\r\nia.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size)));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,e),new mxPoint(0,b),new mxPoint(d,0),new mxPoint(d,e)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("manualInput",ia);mxUtils.extend(da,mxRectangleShape);da.prototype.dx=20;da.prototype.dy=20;da.prototype.isHtmlAllowed=function(){return!1};da.prototype.paintForeground=\r\nfunction(a,b,c,d,e){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var f=0;if(this.isRounded)var q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.max(f,Math.min(d*q,e*q));q=Math.max(f,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));f=Math.max(f,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.begin();a.moveTo(b,c+f);a.lineTo(b+d,c+f);a.end();a.stroke();a.begin();a.moveTo(b+q,c);a.lineTo(b+\r\nq,c+e);a.end();a.stroke()};mxCellRenderer.registerShape("internalStorage",da);mxUtils.extend(fa,mxActor);fa.prototype.dx=20;fa.prototype.dy=20;fa.prototype.redrawPath=function(a,b,c,d,e){b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,\r\n[new mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,c),new mxPoint(b,c),new mxPoint(b,e),new mxPoint(0,e)],this.isRounded,f,!0);a.end()};mxCellRenderer.registerShape("corner",fa);mxUtils.extend(ma,mxActor);ma.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(0,0);a.lineTo(0,e);a.end();a.moveTo(d,0);a.lineTo(d,e);a.end();a.moveTo(0,e/2);a.lineTo(d,e/2);a.end()};mxCellRenderer.registerShape("crossbar",ma);mxUtils.extend(ja,mxActor);ja.prototype.dx=20;ja.prototype.dy=20;ja.prototype.redrawPath=function(a,\r\nb,c,d,e){b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,c),new mxPoint((d+b)/2,c),new mxPoint((d+b)/2,e),new mxPoint((d-b)/2,e),new mxPoint((d-b)/2,c),new mxPoint(0,c)],this.isRounded,\r\nf,!0);a.end()};mxCellRenderer.registerShape("tee",ja);mxUtils.extend(X,mxActor);X.prototype.arrowWidth=.3;X.prototype.arrowSize=.2;X.prototype.redrawPath=function(a,b,c,d,e){var f=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));c=(e-f)/2;var f=c+f,g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,\r\nc),new mxPoint(d-b,c),new mxPoint(d-b,0),new mxPoint(d,e/2),new mxPoint(d-b,e),new mxPoint(d-b,f),new mxPoint(0,f)],this.isRounded,g,!0);a.end()};mxCellRenderer.registerShape("singleArrow",X);mxUtils.extend(sa,mxActor);sa.prototype.redrawPath=function(a,b,c,d,e){var f=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",X.prototype.arrowWidth))));b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",X.prototype.arrowSize))));c=(e-f)/2;var f=c+f,g=mxUtils.getValue(this.style,\r\nmxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,e/2),new mxPoint(b,0),new mxPoint(b,c),new mxPoint(d-b,c),new mxPoint(d-b,0),new mxPoint(d,e/2),new mxPoint(d-b,e),new mxPoint(d-b,f),new mxPoint(b,f),new mxPoint(b,e)],this.isRounded,g,!0);a.end()};mxCellRenderer.registerShape("doubleArrow",sa);mxUtils.extend(K,mxActor);K.prototype.size=.1;K.prototype.fixedSize=20;K.prototype.redrawPath=function(a,b,c,d,e){b="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,\r\nMath.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(b,0);a.lineTo(d,0);a.quadTo(d-2*b,e/2,d,e);a.lineTo(b,e);a.quadTo(b-2*b,e/2,b,0);a.close();a.end()};mxCellRenderer.registerShape("dataStorage",K);mxUtils.extend(aa,mxActor);aa.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(0,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,0,e);a.close();a.end()};mxCellRenderer.registerShape("or",aa);mxUtils.extend(ca,\r\nmxActor);ca.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(0,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,0,e);a.quadTo(d/2,e/2,0,0);a.close();a.end()};mxCellRenderer.registerShape("xor",ca);mxUtils.extend(U,mxActor);U.prototype.size=20;U.prototype.isRoundable=function(){return!0};U.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d/2,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,\r\n[new mxPoint(b,0),new mxPoint(d-b,0),new mxPoint(d,.8*b),new mxPoint(d,e),new mxPoint(0,e),new mxPoint(0,.8*b)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("loopLimit",U);mxUtils.extend(Y,mxActor);Y.prototype.size=.375;Y.prototype.isRoundable=function(){return!0};Y.prototype.redrawPath=function(a,b,c,d,e){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,\r\n[new mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,e-b),new mxPoint(d/2,e),new mxPoint(0,e-b)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("offPageConnector",Y);mxUtils.extend(la,mxEllipse);la.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(b+d/2,c+e);a.lineTo(b+d,c+e);a.end();a.stroke()};mxCellRenderer.registerShape("tapeData",la);mxUtils.extend(Ba,mxEllipse);Ba.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,\r\narguments);a.setShadow(!1);a.begin();a.moveTo(b,c+e/2);a.lineTo(b+d,c+e/2);a.end();a.stroke();a.begin();a.moveTo(b+d/2,c);a.lineTo(b+d/2,c+e);a.end();a.stroke()};mxCellRenderer.registerShape("orEllipse",Ba);mxUtils.extend(Ea,mxEllipse);Ea.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(b+.145*d,c+.145*e);a.lineTo(b+.855*d,c+.855*e);a.end();a.stroke();a.begin();a.moveTo(b+.855*d,c+.145*e);a.lineTo(b+.145*d,\r\nc+.855*e);a.end();a.stroke()};mxCellRenderer.registerShape("sumEllipse",Ea);mxUtils.extend(Ma,mxRhombus);Ma.prototype.paintVertexShape=function(a,b,c,d,e){mxRhombus.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(b,c+e/2);a.lineTo(b+d,c+e/2);a.end();a.stroke()};mxCellRenderer.registerShape("sortShape",Ma);mxUtils.extend(Na,mxEllipse);Na.prototype.paintVertexShape=function(a,b,c,d,e){a.begin();a.moveTo(b,c);a.lineTo(b+d,c);a.lineTo(b+d/2,c+e/2);a.close();a.fillAndStroke();\r\na.begin();a.moveTo(b,c+e);a.lineTo(b+d,c+e);a.lineTo(b+d/2,c+e/2);a.close();a.fillAndStroke()};mxCellRenderer.registerShape("collate",Na);mxUtils.extend(Oa,mxEllipse);Oa.prototype.paintVertexShape=function(a,b,c,d,e){var f=c+e-5;a.begin();a.moveTo(b,c);a.lineTo(b,c+e);a.moveTo(b,f);a.lineTo(b+10,f-5);a.moveTo(b,f);a.lineTo(b+10,f+5);a.moveTo(b,f);a.lineTo(b+d,f);a.moveTo(b+d,c);a.lineTo(b+d,c+e);a.moveTo(b+d,f);a.lineTo(b+d-10,f-5);a.moveTo(b+d,f);a.lineTo(b+d-10,f+5);a.end();a.stroke()};mxCellRenderer.registerShape("dimension",\r\nOa);mxUtils.extend(Fa,mxEllipse);Fa.prototype.paintVertexShape=function(a,b,c,d,e){this.outline||a.setStrokeColor(null);if(null!=this.style){var f=a.pointerEvents;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||null!=this.fill&&this.fill!=mxConstants.NONE||(a.pointerEvents=!1);a.rect(b,c,d,e);a.fill();a.pointerEvents=f;a.setStrokeColor(this.stroke);a.begin();a.moveTo(b,c);this.outline||"1"==mxUtils.getValue(this.style,"top","1")?a.lineTo(b+d,c):a.moveTo(b+d,c);this.outline||\r\n"1"==mxUtils.getValue(this.style,"right","1")?a.lineTo(b+d,c+e):a.moveTo(b+d,c+e);this.outline||"1"==mxUtils.getValue(this.style,"bottom","1")?a.lineTo(b,c+e):a.moveTo(b,c+e);(this.outline||"1"==mxUtils.getValue(this.style,"left","1"))&&a.lineTo(b,c);a.end();a.stroke()}};mxCellRenderer.registerShape("partialRectangle",Fa);mxUtils.extend(Ga,mxEllipse);Ga.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();"vertical"==mxUtils.getValue(this.style,\r\n"line")?(a.moveTo(b+d/2,c),a.lineTo(b+d/2,c+e)):(a.moveTo(b,c+e/2),a.lineTo(b+d,c+e/2));a.end();a.stroke()};mxCellRenderer.registerShape("lineEllipse",Ga);mxUtils.extend(Ha,mxActor);Ha.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/2);a.moveTo(0,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineTo(0,e);a.close();a.end()};mxCellRenderer.registerShape("delay",Ha);mxUtils.extend(za,mxActor);za.prototype.size=.2;za.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(e,d);var f=\r\nMath.max(0,Math.min(b,b*parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=(e-f)/2;c=b+f;var g=(d-f)/2,f=g+f;a.moveTo(0,b);a.lineTo(g,b);a.lineTo(g,0);a.lineTo(f,0);a.lineTo(f,b);a.lineTo(d,b);a.lineTo(d,c);a.lineTo(f,c);a.lineTo(f,e);a.lineTo(g,e);a.lineTo(g,c);a.lineTo(0,c);a.close();a.end()};mxCellRenderer.registerShape("cross",za);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.25;Aa.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/2);c=Math.min(d-b,Math.max(0,parseFloat(mxUtils.getValue(this.style,\r\n"size",this.size)))*d);a.moveTo(0,e/2);a.lineTo(c,0);a.lineTo(d-b,0);a.quadTo(d,0,d,e/2);a.quadTo(d,e,d-b,e);a.lineTo(c,e);a.close();a.end()};mxCellRenderer.registerShape("display",Aa);mxUtils.extend(N,mxActor);N.prototype.cst={RECT2:"mxgraph.basic.rect"};N.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",\r\ndispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",\r\ntype:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",\r\ntype:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",\r\ndispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},\r\n{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];N.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);this.strictDrawShape(a,0,0,d,e)};N.prototype.strictDrawShape=function(a,b,c,d,e,f){var g=f&&f.rectStyle?f.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),k=f&&f.absoluteCornerSize?f.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),h=f&&f.size?f.size:Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,\r\n"size",this.size)))),q=f&&f.rectOutline?f.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),l=f&&f.indent?f.indent:Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),m=f&&f.dashed?f.dashed:mxUtils.getValue(this.style,"dashed",!1),n=f&&f.dashPattern?f.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),p=f&&f.relIndent?f.relIndent:Math.max(0,Math.min(50,l)),A=f&&f.top?f.top:mxUtils.getValue(this.style,"top",!0),D=f&&f.right?f.right:mxUtils.getValue(this.style,\r\n"right",!0),C=f&&f.bottom?f.bottom:mxUtils.getValue(this.style,"bottom",!0),r=f&&f.left?f.left:mxUtils.getValue(this.style,"left",!0),F=f&&f.topLeftStyle?f.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),t=f&&f.topRightStyle?f.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),u=f&&f.bottomRightStyle?f.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),J=f&&f.bottomLeftStyle?f.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle",\r\n"default"),y=f&&f.fillColor?f.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");f&&f.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var v=f&&f.strokeWidth?f.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),w=f&&f.fillColor2?f.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),x=f&&f.gradientColor2?f.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),z=f&&f.gradientDirection2?f.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2",\r\n"south"),B=f&&f.opacity?f.opacity:mxUtils.getValue(this.style,"opacity","100"),I=Math.max(0,Math.min(50,h));f=N.prototype;a.setDashed(m);n&&""!=n&&a.setDashPattern(n);a.setStrokeWidth(v);h=Math.min(.5*e,.5*d,h);k||(h=I*Math.min(d,e)/100);h=Math.min(h,.5*Math.min(d,e));k||(l=Math.min(p*Math.min(d,e)/100));l=Math.min(l,.5*Math.min(d,e)-h);(A||D||C||r)&&"frame"!=q&&(a.begin(),A?f.moveNW(a,b,c,d,e,g,F,h,r):a.moveTo(0,0),A&&f.paintNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),D&&f.paintNE(a,b,c,\r\nd,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),C&&f.paintSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),r&&f.paintSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),a.close(),a.fill(),a.setShadow(!1),a.setFillColor(w),m=k=B,"none"==w&&(k=0),"none"==x&&(m=0),a.setGradient(w,x,0,0,d,e,z,k,m),a.begin(),A?f.moveNWInner(a,b,c,d,e,g,F,h,l,A,r):a.moveTo(l,0),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),r&&C&&f.paintSWInner(a,b,c,d,e,g,J,h,l,C),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),C&&D&&f.paintSEInner(a,\r\nb,c,d,e,g,u,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),D&&A&&f.paintNEInner(a,b,c,d,e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),A&&r&&f.paintNWInner(a,b,c,d,e,g,F,h,l),a.fill(),"none"==y&&(a.begin(),f.paintFolds(a,b,c,d,e,g,F,t,u,J,h,A,D,C,r),a.stroke()));A||D||C||!r?A||D||!C||r?!A&&!D&&C&&r?"frame"!=q?(a.begin(),f.moveSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.paintSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),"double"==q&&(f.moveNWInner(a,b,c,d,e,g,F,h,l,A,r),f.paintLeftInner(a,\r\nb,c,d,e,g,J,h,l,C,r),f.paintSWInner(a,b,c,d,e,g,J,h,l,C),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C)),a.stroke()):(a.begin(),f.moveSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.paintSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.lineNWInner(a,b,c,d,e,g,F,h,l,A,r),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),f.paintSWInner(a,b,c,d,e,g,J,h,l,C),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),a.close(),a.fillAndStroke()):A||!D||C||r?!A&&D&&!C&&r?"frame"!=q?(a.begin(),f.moveSW(a,b,c,d,e,g,F,h,C),\r\nf.paintLeft(a,b,c,d,e,g,F,h,A),"double"==q&&(f.moveNWInner(a,b,c,d,e,g,F,h,l,A,r),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r)),a.stroke(),a.begin(),f.moveNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),"double"==q&&(f.moveSEInner(a,b,c,d,e,g,u,h,l,C),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D)),a.stroke()):(a.begin(),f.moveSW(a,b,c,d,e,g,F,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.lineNWInner(a,b,c,d,e,g,F,h,l,A,r),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),a.close(),a.fillAndStroke(),a.begin(),f.moveNE(a,\r\nb,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.lineSEInner(a,b,c,d,e,g,u,h,l,C),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),a.close(),a.fillAndStroke()):!A&&D&&C&&!r?"frame"!=q?(a.begin(),f.moveNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.paintSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),"double"==q&&(f.moveSWInner(a,b,c,d,e,g,J,h,l,r),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),f.paintSEInner(a,b,c,d,e,g,u,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D)),a.stroke()):(a.begin(),\r\nf.moveNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.paintSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.lineSWInner(a,b,c,d,e,g,J,h,l,r),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),f.paintSEInner(a,b,c,d,e,g,u,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),a.close(),a.fillAndStroke()):!A&&D&&C&&r?"frame"!=q?(a.begin(),f.moveNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.paintSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.paintSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,\r\nb,c,d,e,g,F,h,A),"double"==q&&(f.moveNWInner(a,b,c,d,e,g,F,h,l,A,r),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),f.paintSWInner(a,b,c,d,e,g,J,h,l,C),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),f.paintSEInner(a,b,c,d,e,g,u,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D)),a.stroke()):(a.begin(),f.moveNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.paintSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.paintSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.lineNWInner(a,b,c,d,e,g,F,h,l,A,\r\nr),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),f.paintSWInner(a,b,c,d,e,g,J,h,l,C),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),f.paintSEInner(a,b,c,d,e,g,u,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),a.close(),a.fillAndStroke()):!A||D||C||r?A&&!D&&!C&&r?"frame"!=q?(a.begin(),f.moveSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.paintNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),"double"==q&&(f.moveNEInner(a,b,c,d,e,g,t,h,l,D),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),f.paintNWInner(a,b,c,d,\r\ne,g,F,h,l),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r)),a.stroke()):(a.begin(),f.moveSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.paintNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.lineNEInner(a,b,c,d,e,g,t,h,l,D),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),f.paintNWInner(a,b,c,d,e,g,F,h,l),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),a.close(),a.fillAndStroke()):A&&!D&&C&&!r?"frame"!=q?(a.begin(),f.moveNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),"double"==q&&(f.moveNEInner(a,b,c,d,e,\r\ng,t,h,l,D),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A)),a.stroke(),a.begin(),f.moveSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),"double"==q&&(f.moveSWInner(a,b,c,d,e,g,J,h,l,r),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C)),a.stroke()):(a.begin(),f.moveNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.lineNEInner(a,b,c,d,e,g,t,h,l,D),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),a.close(),a.fillAndStroke(),a.begin(),f.moveSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.lineSWInner(a,b,c,d,\r\ne,g,J,h,l,r),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),a.close(),a.fillAndStroke()):A&&!D&&C&&r?"frame"!=q?(a.begin(),f.moveSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.paintSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.paintNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),"double"==q&&(f.moveNEInner(a,b,c,d,e,g,t,h,l,D),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),f.paintNWInner(a,b,c,d,e,g,F,h,l),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),f.paintSWInner(a,b,c,d,e,g,J,h,l,C),f.paintBottomInner(a,\r\nb,c,d,e,g,u,h,l,D,C)),a.stroke()):(a.begin(),f.moveSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.paintSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.paintNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.lineNEInner(a,b,c,d,e,g,t,h,l,D),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),f.paintNWInner(a,b,c,d,e,g,F,h,l),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),f.paintSWInner(a,b,c,d,e,g,J,h,l,C),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),a.close(),a.fillAndStroke()):A&&D&&!C&&!r?"frame"!=\r\nq?(a.begin(),f.moveNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.paintNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),"double"==q&&(f.moveSEInner(a,b,c,d,e,g,u,h,l,C),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),f.paintNEInner(a,b,c,d,e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A)),a.stroke()):(a.begin(),f.moveNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.paintNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.lineSEInner(a,b,c,d,e,g,u,h,l,C),f.paintRightInner(a,b,c,d,e,\r\ng,t,h,l,A,D),f.paintNEInner(a,b,c,d,e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),a.close(),a.fillAndStroke()):A&&D&&!C&&r?"frame"!=q?(a.begin(),f.moveSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.paintNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.paintNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),"double"==q&&(f.moveSEInner(a,b,c,d,e,g,u,h,l,C),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),f.paintNEInner(a,b,c,d,e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),f.paintNWInner(a,\r\nb,c,d,e,g,F,h,l),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r)),a.stroke()):(a.begin(),f.moveSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.paintNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.paintNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.lineSEInner(a,b,c,d,e,g,u,h,l,C),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),f.paintNEInner(a,b,c,d,e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),f.paintNWInner(a,b,c,d,e,g,F,h,l),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),a.close(),a.fillAndStroke()):\r\nA&&D&&C&&!r?"frame"!=q?(a.begin(),f.moveNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.paintNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.paintSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),"double"==q&&(f.moveSWInner(a,b,c,d,e,g,J,h,l,r),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),f.paintSEInner(a,b,c,d,e,g,u,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),f.paintNEInner(a,b,c,d,e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A)),a.stroke()):(a.begin(),f.moveNW(a,b,c,d,e,g,F,\r\nh,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.paintNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.paintSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.lineSWInner(a,b,c,d,e,g,J,h,l,r),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),f.paintSEInner(a,b,c,d,e,g,u,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),f.paintNEInner(a,b,c,d,e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),a.close(),a.fillAndStroke()):A&&D&&C&&r&&("frame"!=q?(a.begin(),f.moveNW(a,b,c,d,e,g,F,h,r),f.paintNW(a,b,c,d,e,g,F,h,\r\nr),f.paintTop(a,b,c,d,e,g,t,h,D),f.paintNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.paintSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.paintSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),a.close(),"double"==q&&(f.moveSWInner(a,b,c,d,e,g,J,h,l,r),f.paintSWInner(a,b,c,d,e,g,J,h,l,C),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),f.paintSEInner(a,b,c,d,e,g,u,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),f.paintNEInner(a,b,c,d,e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),\r\nf.paintNWInner(a,b,c,d,e,g,F,h,l),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),a.close()),a.stroke()):(a.begin(),f.moveNW(a,b,c,d,e,g,F,h,r),f.paintNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),f.paintNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.paintSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.paintSW(a,b,c,d,e,g,J,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),a.close(),f.moveSWInner(a,b,c,d,e,g,J,h,l,r),f.paintSWInner(a,b,c,d,e,g,J,h,l,C),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),\r\nf.paintSEInner(a,b,c,d,e,g,u,h,l),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),f.paintNEInner(a,b,c,d,e,g,t,h,l),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),f.paintNWInner(a,b,c,d,e,g,F,h,l),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),a.close(),a.fillAndStroke())):"frame"!=q?(a.begin(),f.moveNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),"double"==q&&(f.moveNEInner(a,b,c,d,e,g,t,h,l,D),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A)),a.stroke()):(a.begin(),f.moveNW(a,b,c,d,e,g,F,h,r),f.paintTop(a,b,c,d,e,g,t,h,D),\r\nf.lineNEInner(a,b,c,d,e,g,t,h,l,D),f.paintTopInner(a,b,c,d,e,g,F,h,l,r,A),a.close(),a.fillAndStroke()):"frame"!=q?(a.begin(),f.moveNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),"double"==q&&(f.moveSEInner(a,b,c,d,e,g,u,h,l,C),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D)),a.stroke()):(a.begin(),f.moveNE(a,b,c,d,e,g,t,h,A),f.paintRight(a,b,c,d,e,g,u,h,C),f.lineSEInner(a,b,c,d,e,g,u,h,l,C),f.paintRightInner(a,b,c,d,e,g,t,h,l,A,D),a.close(),a.fillAndStroke()):"frame"!=q?(a.begin(),f.moveSE(a,b,c,\r\nd,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),"double"==q&&(f.moveSWInner(a,b,c,d,e,g,J,h,l,r),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C)),a.stroke()):(a.begin(),f.moveSE(a,b,c,d,e,g,u,h,D),f.paintBottom(a,b,c,d,e,g,J,h,r),f.lineSWInner(a,b,c,d,e,g,J,h,l,r),f.paintBottomInner(a,b,c,d,e,g,u,h,l,D,C),a.close(),a.fillAndStroke()):"frame"!=q?(a.begin(),f.moveSW(a,b,c,d,e,g,F,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),"double"==q&&(f.moveNWInner(a,b,c,d,e,g,F,h,l,A,r),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r)),\r\na.stroke()):(a.begin(),f.moveSW(a,b,c,d,e,g,F,h,C),f.paintLeft(a,b,c,d,e,g,F,h,A),f.lineNWInner(a,b,c,d,e,g,F,h,l,A,r),f.paintLeftInner(a,b,c,d,e,g,J,h,l,C,r),a.close(),a.fillAndStroke());a.begin();f.paintFolds(a,b,c,d,e,g,F,t,u,J,h,A,D,C,r);a.stroke()};N.prototype.moveNW=function(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.moveTo(0,0):a.moveTo(0,h)};N.prototype.moveNE=function(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.moveTo(d,0):a.moveTo(d-h,0)};N.prototype.moveSE=\r\nfunction(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.moveTo(d,e):a.moveTo(d,e-h)};N.prototype.moveSW=function(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.moveTo(0,e):a.moveTo(h,e)};N.prototype.paintNW=function(a,b,c,d,e,f,g,h,k){if(k)if("rounded"==g||"default"==g&&"rounded"==f||"invRound"==g||"default"==g&&"invRound"==f){b=0;if("rounded"==g||"default"==g&&"rounded"==f)b=1;a.arcTo(h,h,0,0,b,h,0)}else("snip"==g||"default"==g&&"snip"==f||"fold"==g||"default"==\r\ng&&"fold"==f)&&a.lineTo(h,0);else a.lineTo(0,0)};N.prototype.paintTop=function(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.lineTo(d,0):a.lineTo(d-h,0)};N.prototype.paintNE=function(a,b,c,d,e,f,g,h,k){if(k)if("rounded"==g||"default"==g&&"rounded"==f||"invRound"==g||"default"==g&&"invRound"==f){b=0;if("rounded"==g||"default"==g&&"rounded"==f)b=1;a.arcTo(h,h,0,0,b,d,h)}else("snip"==g||"default"==g&&"snip"==f||"fold"==g||"default"==g&&"fold"==f)&&a.lineTo(d,h);else a.lineTo(d,0)};\r\nN.prototype.paintRight=function(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.lineTo(d,e):a.lineTo(d,e-h)};N.prototype.paintLeft=function(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.lineTo(0,0):a.lineTo(0,h)};N.prototype.paintSE=function(a,b,c,d,e,f,g,h,k){if(k)if("rounded"==g||"default"==g&&"rounded"==f||"invRound"==g||"default"==g&&"invRound"==f){b=0;if("rounded"==g||"default"==g&&"rounded"==f)b=1;a.arcTo(h,h,0,0,b,d-h,e)}else("snip"==g||"default"==g&&"snip"==\r\nf||"fold"==g||"default"==g&&"fold"==f)&&a.lineTo(d-h,e);else a.lineTo(d,e)};N.prototype.paintBottom=function(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.lineTo(0,e):a.lineTo(h,e)};N.prototype.paintSW=function(a,b,c,d,e,f,g,h,k){if(k)if("rounded"==g||"default"==g&&"rounded"==f||"invRound"==g||"default"==g&&"invRound"==f){b=0;if("rounded"==g||"default"==g&&"rounded"==f)b=1;a.arcTo(h,h,0,0,b,0,e-h)}else("snip"==g||"default"==g&&"snip"==f||"fold"==g||"default"==g&&"fold"==f)&&a.lineTo(0,\r\ne-h);else a.lineTo(0,e)};N.prototype.paintNWInner=function(a,b,c,d,e,f,g,h,k){if("rounded"==g||"default"==g&&"rounded"==f)a.arcTo(h-.5*k,h-.5*k,0,0,0,k,.5*k+h);else if("invRound"==g||"default"==g&&"invRound"==f)a.arcTo(h+k,h+k,0,0,1,k,k+h);else if("snip"==g||"default"==g&&"snip"==f)a.lineTo(k,.5*k+h);else if("fold"==g||"default"==g&&"fold"==f)a.lineTo(k+h,k+h),a.lineTo(k,k+h)};N.prototype.paintTopInner=function(a,b,c,d,e,f,g,h,k,l,m){l||m?!l&&m?a.lineTo(0,k):l&&!m?a.lineTo(k,0):l?"square"==g||"default"==\r\ng&&"square"==f?a.lineTo(k,k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.lineTo(h+.5*k,k):a.lineTo(h+k,k):a.lineTo(0,k):a.lineTo(0,0)};N.prototype.paintNEInner=function(a,b,c,d,e,f,g,h,k){if("rounded"==g||"default"==g&&"rounded"==f)a.arcTo(h-.5*k,h-.5*k,0,0,0,d-h-.5*k,k);else if("invRound"==g||"default"==g&&"invRound"==f)a.arcTo(h+k,h+k,0,0,1,d-h-k,k);else if("snip"==g||"default"==g&&"snip"==f)a.lineTo(d-h-.5*k,k);else if("fold"==g||"default"==g&&"fold"==f)a.lineTo(d-\r\nh-k,h+k),a.lineTo(d-h-k,k)};N.prototype.paintRightInner=function(a,b,c,d,e,f,g,h,k,l,m){l||m?!l&&m?a.lineTo(d-k,0):l&&!m?a.lineTo(d,k):l?"square"==g||"default"==g&&"square"==f?a.lineTo(d-k,k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.lineTo(d-k,h+.5*k):a.lineTo(d-k,h+k):a.lineTo(d-k,0):a.lineTo(d,0)};N.prototype.paintLeftInner=function(a,b,c,d,e,f,g,h,k,l,m){l||m?!l&&m?a.lineTo(k,e):l&&!m?a.lineTo(0,e-k):l?"square"==g||"default"==g&&"square"==f?a.lineTo(k,e-k):\r\n"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.lineTo(k,e-h-.5*k):a.lineTo(k,e-h-k):a.lineTo(k,e):a.lineTo(0,e)};N.prototype.paintSEInner=function(a,b,c,d,e,f,g,h,k){if("rounded"==g||"default"==g&&"rounded"==f)a.arcTo(h-.5*k,h-.5*k,0,0,0,d-k,e-h-.5*k);else if("invRound"==g||"default"==g&&"invRound"==f)a.arcTo(h+k,h+k,0,0,1,d-k,e-h-k);else if("snip"==g||"default"==g&&"snip"==f)a.lineTo(d-k,e-h-.5*k);else if("fold"==g||"default"==g&&"fold"==f)a.lineTo(d-h-k,e-h-k),a.lineTo(d-\r\nk,e-h-k)};N.prototype.paintBottomInner=function(a,b,c,d,e,f,g,h,k,l,m){l||m?!l&&m?a.lineTo(d,e-k):l&&!m?a.lineTo(d-k,e):"square"==g||"default"==g&&"square"==f||!l?a.lineTo(d-k,e-k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.lineTo(d-h-.5*k,e-k):a.lineTo(d-h-k,e-k):a.lineTo(d,e)};N.prototype.paintSWInner=function(a,b,c,d,e,f,g,h,k,l){if(!l)a.lineTo(k,e);else if("square"==g||"default"==g&&"square"==f)a.lineTo(k,e-k);else if("rounded"==g||"default"==g&&"rounded"==\r\nf)a.arcTo(h-.5*k,h-.5*k,0,0,0,h+.5*k,e-k);else if("invRound"==g||"default"==g&&"invRound"==f)a.arcTo(h+k,h+k,0,0,1,h+k,e-k);else if("snip"==g||"default"==g&&"snip"==f)a.lineTo(h+.5*k,e-k);else if("fold"==g||"default"==g&&"fold"==f)a.lineTo(k+h,e-h-k),a.lineTo(k+h,e-k)};N.prototype.moveSWInner=function(a,b,c,d,e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f?a.moveTo(k,e-k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.moveTo(k,e-h-.5*k):("invRound"==g||"default"==\r\ng&&"invRound"==f||"fold"==g||"default"==g&&"fold"==f)&&a.moveTo(k,e-h-k):a.moveTo(0,e-k)};N.prototype.lineSWInner=function(a,b,c,d,e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f?a.lineTo(k,e-k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.lineTo(k,e-h-.5*k):("invRound"==g||"default"==g&&"invRound"==f||"fold"==g||"default"==g&&"fold"==f)&&a.lineTo(k,e-h-k):a.lineTo(0,e-k)};N.prototype.moveSEInner=function(a,b,c,d,e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==\r\nf?a.moveTo(d-k,e-k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.moveTo(d-k,e-h-.5*k):("invRound"==g||"default"==g&&"invRound"==f||"fold"==g||"default"==g&&"fold"==f)&&a.moveTo(d-k,e-h-k):a.moveTo(d-k,e)};N.prototype.lineSEInner=function(a,b,c,d,e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f?a.lineTo(d-k,e-k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.lineTo(d-k,e-h-.5*k):("invRound"==g||"default"==g&&"invRound"==f||"fold"==\r\ng||"default"==g&&"fold"==f)&&a.lineTo(d-k,e-h-k):a.lineTo(d-k,e)};N.prototype.moveNEInner=function(a,b,c,d,e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f||l?a.moveTo(d-k,k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.moveTo(d-k,h+.5*k):("invRound"==g||"default"==g&&"invRound"==f||"fold"==g||"default"==g&&"fold"==f)&&a.moveTo(d-k,h+k):a.moveTo(d,k)};N.prototype.lineNEInner=function(a,b,c,d,e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f||l?a.lineTo(d-\r\nk,k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.lineTo(d-k,h+.5*k):("invRound"==g||"default"==g&&"invRound"==f||"fold"==g||"default"==g&&"fold"==f)&&a.lineTo(d-k,h+k):a.lineTo(d,k)};N.prototype.moveNWInner=function(a,b,c,d,e,f,g,h,k,l,m){l||m?!l&&m?a.moveTo(k,0):l&&!m?a.moveTo(0,k):"square"==g||"default"==g&&"square"==f?a.moveTo(k,k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.moveTo(k,h+.5*k):("invRound"==g||"default"==g&&"invRound"==\r\nf||"fold"==g||"default"==g&&"fold"==f)&&a.moveTo(k,h+k):a.moveTo(0,0)};N.prototype.lineNWInner=function(a,b,c,d,e,f,g,h,k,l,m){l||m?!l&&m?a.lineTo(k,0):l&&!m?a.lineTo(0,k):"square"==g||"default"==g&&"square"==f?a.lineTo(k,k):"rounded"==g||"default"==g&&"rounded"==f||"snip"==g||"default"==g&&"snip"==f?a.lineTo(k,h+.5*k):("invRound"==g||"default"==g&&"invRound"==f||"fold"==g||"default"==g&&"fold"==f)&&a.lineTo(k,h+k):a.lineTo(0,0)};N.prototype.paintFolds=function(a,b,c,d,e,f,g,h,k,l,m,n,p,r,t){if("fold"==\r\nf||"fold"==g||"fold"==h||"fold"==k||"fold"==l)("fold"==g||"default"==g&&"fold"==f)&&n&&t&&(a.moveTo(0,m),a.lineTo(m,m),a.lineTo(m,0)),("fold"==h||"default"==h&&"fold"==f)&&n&&p&&(a.moveTo(d-m,0),a.lineTo(d-m,m),a.lineTo(d,m)),("fold"==k||"default"==k&&"fold"==f)&&r&&p&&(a.moveTo(d-m,e),a.lineTo(d-m,e-m),a.lineTo(d,e-m)),("fold"==l||"default"==l&&"fold"==f)&&r&&t&&(a.moveTo(0,e-m),a.lineTo(m,e-m),a.lineTo(m,e))};mxCellRenderer.registerShape(N.prototype.cst.RECT2,N);N.prototype.constraints=null;mxUtils.extend(xa,\r\nmxConnector);xa.prototype.origPaintEdgeShape=xa.prototype.paintEdgeShape;xa.prototype.paintEdgeShape=function(a,b,c){for(var d=[],e=0;e<b.length;e++)d.push(mxUtils.clone(b[e]));var e=a.state.dashed,f=a.state.fixDash;xa.prototype.origPaintEdgeShape.apply(this,[a,d,c]);3<=a.state.strokeWidth&&(d=mxUtils.getValue(this.style,"fillColor",null),null!=d&&(a.setStrokeColor(d),a.setStrokeWidth(a.state.strokeWidth-2),a.setDashed(e,f),xa.prototype.origPaintEdgeShape.apply(this,[a,b,c])))};mxCellRenderer.registerShape("filledEdge",\r\nxa);"undefined"!==typeof StyleFormatPanel&&function(){var a=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var b=this.format.getSelectionState(),c=a.apply(this,arguments);"umlFrame"==b.style.shape&&c.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"#ffffff"});return c}}();mxMarker.addMarker("dash",function(a,b,c,d,e,f,g,h,k,l){var q=e*(g+k+1),m=f*(g+k+1);return function(){a.begin();a.moveTo(d.x-q/2-m/2,d.y-m/2+q/2);a.lineTo(d.x+\r\nm/2-3*q/2,d.y-3*m/2-q/2);a.stroke()}});mxMarker.addMarker("box",function(a,b,c,d,e,f,g,h,k,l){var q=e*(g+k+1),m=f*(g+k+1),n=d.x+q/2,p=d.y+m/2;d.x-=q;d.y-=m;return function(){a.begin();a.moveTo(n-q/2-m/2,p-m/2+q/2);a.lineTo(n-q/2+m/2,p-m/2-q/2);a.lineTo(n+m/2-3*q/2,p-3*m/2-q/2);a.lineTo(n-m/2-3*q/2,p-3*m/2+q/2);a.close();l?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("cross",function(a,b,c,d,e,f,g,h,k,l){var q=e*(g+k+1),m=f*(g+k+1);return function(){a.begin();a.moveTo(d.x-q/2-m/2,d.y-m/2+q/2);\r\na.lineTo(d.x+m/2-3*q/2,d.y-3*m/2-q/2);a.moveTo(d.x-q/2+m/2,d.y-m/2-q/2);a.lineTo(d.x-m/2-3*q/2,d.y-3*m/2+q/2);a.stroke()}});mxMarker.addMarker("circle",Ra);mxMarker.addMarker("circlePlus",function(a,b,c,d,e,f,g,h,k,l){var q=d.clone(),m=Ra.apply(this,arguments),n=e*(g+2*k),p=f*(g+2*k);return function(){m.apply(this,arguments);a.begin();a.moveTo(q.x-e*k,q.y-f*k);a.lineTo(q.x-2*n+e*k,q.y-2*p+f*k);a.moveTo(q.x-n-p+f*k,q.y-p+n-e*k);a.lineTo(q.x+p-n-f*k,q.y-p-n+e*k);a.stroke()}});mxMarker.addMarker("halfCircle",\r\nfunction(a,b,c,d,e,f,g,h,k,l){var q=e*(g+k+1),m=f*(g+k+1),n=d.clone();d.x-=q;d.y-=m;return function(){a.begin();a.moveTo(n.x-m,n.y+q);a.quadTo(d.x-m,d.y+q,d.x,d.y);a.quadTo(d.x+m,d.y-q,n.x+m,n.y-q);a.stroke()}});mxMarker.addMarker("async",function(a,b,c,d,e,f,g,h,k,l){b=e*k*1.118;c=f*k*1.118;e*=g+k;f*=g+k;var q=d.clone();q.x-=b;q.y-=c;d.x+=1*-e-b;d.y+=1*-f-c;return function(){a.begin();a.moveTo(q.x,q.y);h?a.lineTo(q.x-e-f/2,q.y-f+e/2):a.lineTo(q.x+f/2-e,q.y-f-e/2);a.lineTo(q.x-e,q.y-f);a.close();\r\nl?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("openAsync",function(a){a=null!=a?a:2;return function(b,c,d,e,f,g,h,k,l,q){f*=h+l;g*=h+l;var m=e.clone();return function(){b.begin();b.moveTo(m.x,m.y);k?b.lineTo(m.x-f-g/a,m.y-g+f/a):b.lineTo(m.x+g/a-f,m.y-g-f/a);b.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var Va=function(a,b,c){return Da(a,["width"],b,function(b,d,e,f,g){g=a.shape.getEdgeWidth()*a.view.scale+c;return new mxPoint(f.x+d*b/4+e*g/2,f.y+e*b/4-d*g/2)},function(b,d,e,f,\r\ng,h){b=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,h.x,h.y));a.style.width=Math.round(2*b)/a.view.scale-c})},Da=function(a,b,c,d,e){return V(a,b,function(b){var e=a.absolutePoints,f=e.length-1;b=a.view.translate;var g=a.view.scale,h=c?e[0]:e[f],e=c?e[1]:e[f-1],f=e.x-h.x,k=e.y-h.y,l=Math.sqrt(f*f+k*k),h=d.call(this,l,f/l,k/l,h,e);return new mxPoint(h.x/g-b.x,h.y/g-b.y)},function(b,d,f){var g=a.absolutePoints,h=g.length-1;b=a.view.translate;var k=a.view.scale,l=c?g[0]:g[h],g=c?g[1]:g[h-1],h=g.x-l.x,\r\nq=g.y-l.y,m=Math.sqrt(h*h+q*q);d.x=(d.x+b.x)*k;d.y=(d.y+b.y)*k;e.call(this,m,h/m,q/m,l,g,d,f)})},wa=function(a){return function(b){return[V(b,["arrowWidth","arrowSize"],function(b){var c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",X.prototype.arrowWidth))),d=Math.max(0,Math.min(a,mxUtils.getValue(this.state.style,"arrowSize",X.prototype.arrowSize)));return new mxPoint(b.x+(1-d)*b.width,b.y+(1-c)*b.height/2)},function(b,c){this.state.style.arrowWidth=Math.max(0,Math.min(1,\r\nMath.abs(b.y+b.height/2-c.y)/b.height*2));this.state.style.arrowSize=Math.max(0,Math.min(a,(b.x+b.width-c.x)/b.width))})]}},Sa=function(a){return function(b){return[V(b,["size"],function(b){var c=Math.max(0,Math.min(.5*b.height,parseFloat(mxUtils.getValue(this.state.style,"size",a))));return new mxPoint(b.x,b.y+c)},function(a,b){this.state.style.size=Math.max(0,b.y-a.y)},!0)]}},Qa=function(a,b,c){return function(d){var e=[V(d,["size"],function(c){var d=Math.max(0,Math.min(c.width,Math.min(c.height,\r\nparseFloat(mxUtils.getValue(this.state.style,"size",b)))))*a;return new mxPoint(c.x+d,c.y+d)},function(b,c){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(b.width,c.x-b.x),Math.min(b.height,c.y-b.y)))/a)},!1)];c&&mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&e.push(ta(d));return e}},Ia=function(a,b,c,d,e){c=null!=c?c:.5;return function(f){var g=[V(f,["size"],function(b){var c=null!=e?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,d=parseFloat(mxUtils.getValue(this.state.style,\r\n"size",c?e:a));return new mxPoint(b.x+Math.max(0,Math.min(.5*b.width,d*(c?1:b.width))),b.getCenterY())},function(a,b,d){a=null!=e&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?b.x-a.x:Math.max(0,Math.min(c,(b.x-a.x)/a.width));this.state.style.size=a},!1,d)];b&&mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&g.push(ta(f));return g}},Ta=function(a,b,c){a=null!=a?a:.5;return function(d){var e=[V(d,["size"],function(d){var e=null!=c?"0"!=mxUtils.getValue(this.state.style,"fixedSize",\r\n"0"):null,f=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",e?c:b)));return new mxPoint(d.x+Math.min(.75*d.width*a,f*(e?.75:.75*d.width)),d.y+d.height/4)},function(b,d){var e=null!=c&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?d.x-b.x:Math.max(0,Math.min(a,(d.x-b.x)/b.width*.75));this.state.style.size=e},!1,!0)];mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDED,!1)&&e.push(ta(d));return e}},Ca=function(){return function(a){var b=[];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,\r\n!1)&&b.push(ta(a));return b}},ta=function(a,b){return V(a,[mxConstants.STYLE_ARCSIZE],function(c){var d=null!=b?b:c.height/8;if("1"==mxUtils.getValue(a.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var e=mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(c.x+c.width-Math.min(c.width/2,e),c.y+d)}e=Math.max(0,parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(c.x+c.width-Math.min(Math.max(c.width/\r\n2,c.height/2),Math.min(c.width,c.height)*e),c.y+d)},function(b,c,d){"1"==mxUtils.getValue(a.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(b.width,2*(b.x+b.width-c.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(b.width-c.x+b.x)/Math.min(b.width,b.height))))})},V=function(a,b,c,d,e,f,g){var h=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);h.execute=function(a){for(var c=\r\n0;c<b.length;c++)this.copyStyle(b[c]);g&&g(a)};h.getPosition=c;h.setPosition=d;h.ignoreGrid=null!=e?e:!0;if(f){var k=h.positionChanged;h.positionChanged=function(){k.apply(this,arguments);a.view.invalidate(this.state.cell);a.view.validate()}}return h},Ja={link:function(a){return[Va(a,!0,10),Va(a,!1,10)]},flexArrow:function(a){var b=a.view.graph.gridSize/a.view.scale,c=[];mxUtils.getValue(a.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(c.push(Da(a,["width",mxConstants.STYLE_STARTSIZE,\r\nmxConstants.STYLE_ENDSIZE],!0,function(b,c,d,e,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},function(c,d,e,f,g,h,k){c=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,h.x,h.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,h.x,h.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*\r\n(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*c)/a.view.scale;mxEvent.isControlDown(k.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]);mxEvent.isAltDown(k.getEvent())||Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<b/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE])})),c.push(Da(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],\r\n!0,function(b,c,d,e,f){b=(a.shape.getStartArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)-c*b/2)},function(c,d,e,f,g,h,k){c=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,h.x,h.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,h.x,h.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(d-a.shape.strokewidth)/\r\n3)/100/a.view.scale;a.style.startWidth=Math.max(0,Math.round(2*c)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(k.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE],a.style.endWidth=a.style.startWidth);mxEvent.isAltDown(k.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<b/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(a.style.startWidth)-\r\nparseFloat(a.style.endWidth))<b&&(a.style.startWidth=a.style.endWidth))})));mxUtils.getValue(a.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(c.push(Da(a,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(b,c,d,e,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*a.view.scale)-d*b/2,e.y+d*(f+a.shape.strokewidth*\r\na.view.scale)+c*b/2)},function(c,d,e,f,g,h,k){c=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,h.x,h.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,h.x,h.y);a.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*c)/a.view.scale;mxEvent.isControlDown(k.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]);mxEvent.isAltDown(k.getEvent())||Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-parseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<\r\nb/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE])})),c.push(Da(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(b,c,d,e,f){b=(a.shape.getEndArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*a.view.scale)-d*b/2,e.y+d*(f+a.shape.strokewidth*a.view.scale)+c*b/2)},function(c,d,e,f,g,h,k){c=\r\nMath.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,h.x,h.y));d=mxUtils.ptLineDist(f.x,f.y,f.x+e,f.y-d,h.x,h.y);a.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(d-a.shape.strokewidth)/3)/100/a.view.scale;a.style.endWidth=Math.max(0,Math.round(2*c)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(k.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE],a.style.startWidth=a.style.endWidth);mxEvent.isAltDown(k.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-\r\nparseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<b/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(a.style.endWidth)-parseFloat(a.style.startWidth))<b&&(a.style.endWidth=a.style.startWidth))})));return c},swimlane:function(a){var b=[];if(mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED)){var c=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));b.push(ta(a,c/2))}b.push(V(a,[mxConstants.STYLE_STARTSIZE],\r\nfunction(b){var c=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(b.getCenterX(),b.y+Math.max(0,Math.min(b.height,c))):new mxPoint(b.x+Math.max(0,Math.min(b.width,c)),b.getCenterY())},function(b,c){a.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(b.height,c.y-b.y))):Math.round(Math.max(0,\r\nMath.min(b.width,c.x-b.x)))},!1,null,function(b){if(mxEvent.isControlDown(b.getEvent())&&(b=a.view.graph,b.isTableRow(a.cell)||b.isTableCell(a.cell))){for(var c=b.getSwimlaneDirection(a.style),d=b.model.getParent(a.cell),d=b.model.getChildCells(d,!0),e=[],f=0;f<d.length;f++)d[f]!=a.cell&&b.isSwimlane(d[f])&&b.getSwimlaneDirection(b.getCurrentCellStyle(d[f]))==c&&e.push(d[f]);b.setCellStyles(mxConstants.STYLE_STARTSIZE,a.style[mxConstants.STYLE_STARTSIZE],e)}}));return b},label:Ca(),ext:Ca(),rectangle:Ca(),\r\ntriangle:Ca(),rhombus:Ca(),umlLifeline:function(a){return[V(a,["size"],function(a){var b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"size",Q.prototype.size))));return new mxPoint(a.getCenterX(),a.y+b)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)]},umlFrame:function(a){return[V(a,["width","height"],function(a){var b=Math.max(S.prototype.corner,Math.min(a.width,mxUtils.getValue(this.state.style,"width",S.prototype.width))),\r\nc=Math.max(1.5*S.prototype.corner,Math.min(a.height,mxUtils.getValue(this.state.style,"height",S.prototype.height)));return new mxPoint(a.x+b,a.y+c)},function(a,b){this.state.style.width=Math.round(Math.max(S.prototype.corner,Math.min(a.width,b.x-a.x)));this.state.style.height=Math.round(Math.max(1.5*S.prototype.corner,Math.min(a.height,b.y-a.y)))},!1)]},process:function(a){var b=[V(a,["size"],function(a){var b="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),c=parseFloat(mxUtils.getValue(this.state.style,\r\n"size",z.prototype.size));return b?new mxPoint(a.x+c,a.y+a.height/4):new mxPoint(a.x+a.width*c,a.y+a.height/4)},function(a,b){var c="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*a.width,b.x-a.x)):Math.max(0,Math.min(.5,(b.x-a.x)/a.width));this.state.style.size=c},!1)];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ta(a));return b},cross:function(a){return[V(a,["size"],function(a){var b=Math.min(a.width,a.height),b=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,\r\n"size",za.prototype.size)))*b/2;return new mxPoint(a.getCenterX()-b,a.getCenterY()-b)},function(a,b){var c=Math.min(a.width,a.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,a.getCenterY()-b.y)/c*2,Math.max(0,a.getCenterX()-b.x)/c*2)))})]},note:function(a){return[V(a,["size"],function(a){var b=Math.max(0,Math.min(a.width,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"size",h.prototype.size)))));return new mxPoint(a.x+a.width-b,a.y+b)},function(a,b){this.state.style.size=\r\nMath.round(Math.max(0,Math.min(Math.min(a.width,a.x+a.width-b.x),Math.min(a.height,b.y-a.y))))})]},note2:function(a){return[V(a,["size"],function(a){var b=Math.max(0,Math.min(a.width,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"size",g.prototype.size)))));return new mxPoint(a.x+a.width-b,a.y+b)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(a.width,a.x+a.width-b.x),Math.min(a.height,b.y-a.y))))})]},manualInput:function(a){var b=[V(a,["size"],function(a){var b=\r\nMath.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"size",ia.prototype.size)));return new mxPoint(a.x+a.width/4,a.y+3*b/4)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.min(a.height,4*(b.y-a.y)/3)))},!1)];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ta(a));return b},dataStorage:function(a){return[V(a,["size"],function(a){var b="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),c=parseFloat(mxUtils.getValue(this.state.style,"size",b?K.prototype.fixedSize:\r\nK.prototype.size));return new mxPoint(a.x+a.width-c*(b?1:a.width),a.getCenterY())},function(a,b){var c="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(a.width,a.x+a.width-b.x)):Math.max(0,Math.min(1,(a.x+a.width-b.x)/a.width));this.state.style.size=c},!1)]},callout:function(a){var b=[V(a,["size","position"],function(a){var b=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"size",y.prototype.size))),c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,\r\n"position",y.prototype.position)));mxUtils.getValue(this.state.style,"base",y.prototype.base);return new mxPoint(a.x+c*a.width,a.y+a.height-b)},function(a,b){mxUtils.getValue(this.state.style,"base",y.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(a.height,a.y+a.height-b.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(b.x-a.x)/a.width)))/100},!1),V(a,["position2"],function(a){var b=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",y.prototype.position2)));\r\nreturn new mxPoint(a.x+b*a.width,a.y+a.height)},function(a,b){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(b.x-a.x)/a.width)))/100},!1),V(a,["base"],function(a){var b=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"size",y.prototype.size))),c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",y.prototype.position))),d=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"base",y.prototype.base)));return new mxPoint(a.x+Math.min(a.width,\r\nc*a.width+d),a.y+a.height-b)},function(a,b){var c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",y.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(a.width,b.x-a.x-c*a.width)))},!1)];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ta(a));return b},internalStorage:function(a){var b=[V(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",da.prototype.dx))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,\r\n"dy",da.prototype.dy)));return new mxPoint(a.x+b,a.y+c)},function(a,b){this.state.style.dx=Math.round(Math.max(0,Math.min(a.width,b.x-a.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ta(a));return b},module:function(a){return[V(a,["jettyWidth","jettyHeight"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"jettyWidth",ea.prototype.jettyWidth))),c=Math.max(0,Math.min(a.height,\r\nmxUtils.getValue(this.state.style,"jettyHeight",ea.prototype.jettyHeight)));return new mxPoint(a.x+b/2,a.y+2*c)},function(a,b){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(a.width,b.x-a.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(a.height,b.y-a.y))/2)})]},corner:function(a){return[V(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",fa.prototype.dx))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,\r\n"dy",fa.prototype.dy)));return new mxPoint(a.x+b,a.y+c)},function(a,b){this.state.style.dx=Math.round(Math.max(0,Math.min(a.width,b.x-a.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)]},tee:function(a){return[V(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",ja.prototype.dx))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"dy",ja.prototype.dy)));return new mxPoint(a.x+(a.width+b)/2,a.y+c)},function(a,\r\nb){this.state.style.dx=Math.round(Math.max(0,2*Math.min(a.width/2,b.x-a.x-a.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)]},singleArrow:wa(1),doubleArrow:wa(.5),folder:function(a){return[V(a,["tabWidth","tabHeight"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"tabWidth",p.prototype.tabWidth))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"tabHeight",p.prototype.tabHeight)));mxUtils.getValue(this.state.style,\r\n"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(b=a.width-b);return new mxPoint(a.x+b,a.y+c)},function(a,b){var c=Math.max(0,Math.min(a.width,b.x-a.x));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(c=a.width-c);this.state.style.tabWidth=Math.round(c);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)]},document:function(a){return[V(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,\r\n"size",u.prototype.size))));return new mxPoint(a.x+3*a.width/4,a.y+(1-b)*a.height)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,(a.y+a.height-b.y)/a.height))},!1)]},tape:function(a){return[V(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",v.prototype.size))));return new mxPoint(a.getCenterX(),a.y+b*a.height/2)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,(b.y-a.y)/a.height*2))},!1)]},isoCube2:function(a){return[V(a,\r\n["isoAngle"],function(a){var b=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",k.isoAngle))))*Math.PI/200;return new mxPoint(a.x,a.y+Math.min(a.width*Math.tan(b),.5*a.height))},function(a,b){this.state.style.isoAngle=Math.max(0,50*(b.y-a.y)/a.height)},!0)]},cylinder2:Sa(l.prototype.size),cylinder3:Sa(m.prototype.size),offPageConnector:function(a){return[V(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",Y.prototype.size))));\r\nreturn new mxPoint(a.getCenterX(),a.y+(1-b)*a.height)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,(a.y+a.height-b.y)/a.height))},!1)]},"mxgraph.basic.rect":function(a){var b=[Graph.createHandle(a,["size"],function(a){var b=Math.max(0,Math.min(a.width/2,a.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(a.x+b,a.y+b)},function(a,b){this.state.style.size=Math.round(100*Math.max(0,Math.min(a.height/2,a.width/2,b.x-a.x)))/100})];a=Graph.createHandle(a,\r\n["indent"],function(a){var b=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));return new mxPoint(a.x+.75*a.width,a.y+b*a.height/200)},function(a,b){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(b.y-a.y)/a.height)))/100});b.push(a);return b},step:Ia(H.prototype.size,!0,null,!0,H.prototype.fixedSize),hexagon:Ia(L.prototype.size,!0,.5,!0,L.prototype.fixedSize),curlyBracket:Ia(B.prototype.size,!1),display:Ia(Aa.prototype.size,!1),cube:Qa(1,\r\nc.prototype.size,!1),card:Qa(.5,r.prototype.size,!0),loopLimit:Qa(.5,U.prototype.size,!0),trapezoid:Ta(.5,x.prototype.size,x.prototype.fixedSize),parallelogram:Ta(1,w.prototype.size,w.prototype.fixedSize)};Graph.createHandle=V;Graph.handleFactory=Ja;var $a=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var a=$a.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var b=this.state.style.shape;null==mxCellRenderer.defaultShapes[b]&&\r\nnull==mxStencilRegistry.getStencil(b)?b=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(b=mxConstants.SHAPE_SWIMLANE);b=Ja[b];null==b&&null!=this.state.shape&&this.state.shape.isRoundable()&&(b=Ja[mxConstants.SHAPE_RECTANGLE]);null!=b&&(b=b(this.state),null!=b&&(a=null==a?b:a.concat(b)))}return a};mxEdgeHandler.prototype.createCustomHandles=function(){var a=this.state.style.shape;null==mxCellRenderer.defaultShapes[a]&&null==mxStencilRegistry.getStencil(a)&&(a=mxConstants.SHAPE_CONNECTOR);\r\na=Ja[a];return null!=a?a(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Ka=new mxPoint(1,0),La=new mxPoint(1,0),wa=mxUtils.toRadians(-30),Ka=mxUtils.getRotatedPoint(Ka,Math.cos(wa),Math.sin(wa)),wa=mxUtils.toRadians(-150),La=mxUtils.getRotatedPoint(La,Math.cos(wa),Math.sin(wa));mxEdgeStyle.IsometricConnector=function(a,b,c,d,e){var f=a.view;d=null!=d&&0<d.length?d[0]:null;var g=a.absolutePoints,h=g[0],g=g[g.length-1];null!=d&&(d=f.transformControlPoint(a,d));null==\r\nh&&null!=b&&(h=new mxPoint(b.getCenterX(),b.getCenterY()));null==g&&null!=c&&(g=new mxPoint(c.getCenterX(),c.getCenterY()));var k=Ka.x,l=Ka.y,m=La.x,n=La.y,q="horizontal"==mxUtils.getValue(a.style,"elbow","horizontal");if(null!=g&&null!=h){a=function(a,b,c){a-=p.x;var d=b-p.y;b=(n*a-m*d)/(k*n-l*m);a=(l*a-k*d)/(l*m-k*n);q?(c&&(p=new mxPoint(p.x+k*b,p.y+l*b),e.push(p)),p=new mxPoint(p.x+m*a,p.y+n*a)):(c&&(p=new mxPoint(p.x+m*a,p.y+n*a),e.push(p)),p=new mxPoint(p.x+k*b,p.y+l*b));e.push(p)};var p=h;null==\r\nd&&(d=new mxPoint(h.x+(g.x-h.x)/2,h.y+(g.y-h.y)/2));a(d.x,d.y,!0);a(g.x,g.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var ab=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(a,b){if(b==mxEdgeStyle.IsometricConnector){var c=new mxElbowEdgeHandler(a);c.snapToTerminals=!1;return c}return ab.apply(this,arguments)};b.prototype.constraints=[];f.prototype.getConstraints=function(a,b,c){a=[];var d=Math.tan(mxUtils.toRadians(30)),e=(.5-\r\nd)/2,d=Math.min(b,c/(.5+d));b=(b-d)/2;c=(c-d)/2;a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,c+.25*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b+.5*d,c+d*e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b+d,c+.25*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b+d,c+.75*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b+.5*d,c+(1-e)*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,c+.75*d));return a};k.prototype.getConstraints=\r\nfunction(a,b,c){a=[];var d=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200,d=Math.min(b*Math.tan(d),.5*c);a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,d));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,c-d));a.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,0,c-d));a.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,d));return a};y.prototype.getConstraints=function(a,b,c){a=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var e=b*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,\r\n"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1));a.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));a.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));a.push(new mxConnectionConstraint(new mxPoint(1,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,.5*(c-d)));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,\r\nb,c-d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,c-d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(c-d)));b>=2*d&&a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return a};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,\r\n0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,\r\n1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];Fa.prototype.constraints=mxRectangleShape.prototype.constraints;\r\nmxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;O.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;h.prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(b,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,.5*(b-d),0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-d,0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-.5*d,.5*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,.5*(c+d)));a.push(new mxConnectionConstraint(new mxPoint(1,1),!1));a.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));a.push(new mxConnectionConstraint(new mxPoint(0,1),!1));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n.5),!1));b>=2*d&&a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return a};r.prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(b,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));a.push(new mxConnectionConstraint(new mxPoint(1,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+d),0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*d,.5*d));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,0,d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(c+d)));a.push(new mxConnectionConstraint(new mxPoint(0,1),!1));a.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));a.push(new mxConnectionConstraint(new mxPoint(1,1),!1));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));b>=2*d&&a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return a};c.prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(b,Math.min(c,parseFloat(mxUtils.getValue(this.style,\r\n"size",this.size)))));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-d),0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-d,0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-.5*d,.5*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,.5*(c+d)));a.push(new mxConnectionConstraint(new mxPoint(1,1),!1));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,.5*(b+d),c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*d,c-.5*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,c-d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(c-d)));return a};m.prototype.getConstraints=function(a,b,c){a=[];b=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n.5),!1));a.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,b));a.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,b));a.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-b));a.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-b));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,b+.5*(.5*c-b)));a.push(new mxConnectionConstraint(new mxPoint(1,\r\n0),!1,null,0,b+.5*(.5*c-b)));a.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,c-b-.5*(.5*c-b)));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,c-b-.5*(.5*c-b)));a.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*b));a.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*b));a.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-b));a.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-b));return a};p.prototype.getConstraints=\r\nfunction(a,b,c){a=[];var d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(a.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*d,0)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,0)),a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,d,e)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+d),e))):(a.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-.5*d,0)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-d,0)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-d,e)),a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-d),e)));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,e));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,b,.25*(c-e)+e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,.5*(c-e)+e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,.75*(c-e)+e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(c-e)+e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(c-e)+e));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,0,.75*(c-e)+e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,c));a.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));a.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));a.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return a};da.prototype.constraints=mxRectangleShape.prototype.constraints;K.prototype.constraints=mxRectangleShape.prototype.constraints;la.prototype.constraints=mxEllipse.prototype.constraints;Ba.prototype.constraints=mxEllipse.prototype.constraints;\r\nEa.prototype.constraints=mxEllipse.prototype.constraints;Ga.prototype.constraints=mxEllipse.prototype.constraints;ia.prototype.constraints=mxRectangleShape.prototype.constraints;Ha.prototype.constraints=mxRectangleShape.prototype.constraints;Aa.prototype.getConstraints=function(a,b,c){a=[];var d=Math.min(b,c/2),e=Math.min(b-d,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*b);a.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,e,0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(e+b-d),0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-d,0));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-d,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(e+b-d),c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,c));return a};ea.prototype.getConstraints=function(a,b,c){b=parseFloat(mxUtils.getValue(a,\r\n"jettyWidth",ea.prototype.jettyWidth))/2;a=parseFloat(mxUtils.getValue(a,"jettyHeight",ea.prototype.jettyHeight));var d=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,b),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,\r\n.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,b),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(c-.5*a,1.5*a)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(c-.5*a,3.5*a))];c>5*a&&d.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,b));c>8*a&&d.push(new mxConnectionConstraint(new mxPoint(0,\r\n.5),!1,null,b));c>15*a&&d.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,b));return d};U.prototype.constraints=mxRectangleShape.prototype.constraints;Y.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,\r\n.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];W.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,\r\n.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];qa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,\r\n.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,\r\n.75),!0),new mxConnectionConstraint(new mxPoint(.75,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];n.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,\r\n.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];v.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,\r\n.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];H.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,\r\n.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ga.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,\r\n0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,\r\n.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,\r\n1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,\r\n.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];w.prototype.constraints=mxRectangleShape.prototype.constraints;x.prototype.constraints=mxRectangleShape.prototype.constraints;u.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,\r\n0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;ja.prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,\r\n"dy",this.dy))));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1));a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));a.push(new mxConnectionConstraint(new mxPoint(1,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,.5*e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*b+.25*d,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+d),e));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,.5*(b+d),.5*(c+e)));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+d),c));a.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-d),c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-d),.5*(c+e)));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-d),e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*b-.25*d,e));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,0,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*e));return a};fa.prototype.getConstraints=function(a,b,c){a=[];var d=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),e=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1));a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));a.push(new mxConnectionConstraint(new mxPoint(1,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,b,.5*e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+d),e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,.5*(c+e)));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*d,c));a.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n1),!1));return a};ma.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];X.prototype.getConstraints=\r\nfunction(a,b,c){a=[];var d=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),e=b*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize)))),d=(c-d)/2;a.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-e),d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-e,0));a.push(new mxConnectionConstraint(new mxPoint(1,\r\n.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-e,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-e),c-d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,c-d));return a};sa.prototype.getConstraints=function(a,b,c){a=[];var d=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",X.prototype.arrowWidth)))),e=b*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",X.prototype.arrowSize)))),d=(c-d)/2;a.push(new mxConnectionConstraint(new mxPoint(0,\r\n.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*b,d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-e,0));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-e,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*b,c-d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,c));return a};za.prototype.getConstraints=\r\nfunction(a,b,c){a=[];var d=Math.min(c,b),e=Math.max(0,Math.min(d,d*parseFloat(mxUtils.getValue(this.style,"size",this.size)))),d=(c-e)/2,f=d+e,g=(b-e)/2,e=g+e;a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,g,.5*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,g,0));a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,0));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,.5*d));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,e,d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,g,c-.5*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,g,c));a.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,c-.5*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,e,f));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+e),d));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,b,d));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,f));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b+e),f));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,g,f));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*g,d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,d));a.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));a.push(new mxConnectionConstraint(new mxPoint(0,\r\n0),!1,null,0,f));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*g,f));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,g,d));return a};Q.prototype.constraints=null;aa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,\r\n.9),!1)];ca.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];oa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,\r\n.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)]})();function Actions(a){this.editorUi=a;this.actions={};this.init()}\r\nActions.prototype.init=function(){function a(a){b.escape();a=b.deleteCells(b.getDeletableCells(b.getSelectionCells()),a);null!=a&&b.setSelectionCells(a)}var c=this.editorUi,d=c.editor,b=d.graph,f=function(){return Action.prototype.isEnabled.apply(this,arguments)&&b.isEnabled()};this.addAction("new...",function(){b.openLink(c.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";c.openFile()});this.addAction("smartFit",function(){b.popupMenuHandler.hideMenu();var a=\r\nb.view.scale,d=b.view.translate.x,e=b.view.translate.y;c.actions.get("resetView").funct();1E-5>Math.abs(a-b.view.scale)&&d==b.view.translate.x&&e==b.view.translate.y&&c.actions.get(b.pageVisible?"fitPage":"fitWindow").funct()});this.addAction("keyPressEnter",function(){b.isEnabled()&&(b.isSelectionEmpty()?c.actions.get("smartFit").funct():b.startEditingAtCell())});this.addAction("import...",function(){window.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){c.hideDialog()}));\r\nwindow.openFile.setConsumer(mxUtils.bind(this,function(a,b){try{var c=mxUtils.parseXml(a);d.graph.setSelectionCells(d.graph.importGraphModel(c.documentElement))}catch(m){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+m.message)}}));c.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=null})}).isEnabled=f;this.addAction("save",function(){c.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=f;this.addAction("saveAs...",function(){c.saveFile(!0)},null,\r\nnull,Editor.ctrlKey+"+Shift+S").isEnabled=f;this.addAction("export...",function(){c.showDialog((new ExportDialog(c)).container,300,304,!0,!0)});this.addAction("editDiagram...",function(){var a=new EditDiagramDialog(c);c.showDialog(a.container,620,420,!0,!1);a.init()});this.addAction("pageSetup...",function(){c.showDialog((new PageSetupDialog(c)).container,320,220,!0,!0)}).isEnabled=f;this.addAction("print...",function(){c.showDialog((new PrintDialog(c)).container,300,180,!0,!0)},null,"sprite-print",\r\nEditor.ctrlKey+"+P");this.addAction("preview",function(){mxUtils.show(b,null,10,10)});this.addAction("undo",function(){c.undo()},null,"sprite-undo",Editor.ctrlKey+"+Z");this.addAction("redo",function(){c.redo()},null,"sprite-redo",mxClient.IS_WIN?Editor.ctrlKey+"+Y":Editor.ctrlKey+"+Shift+Z");this.addAction("cut",function(){var a=null;try{a=c.copyXml(),null!=a&&b.removeCells(a)}catch(k){}null==a&&mxClipboard.cut(b)},null,"sprite-cut",Editor.ctrlKey+"+X");this.addAction("copy",function(){try{c.copyXml()}catch(g){}try{mxClipboard.copy(b)}catch(g){c.handleError(g)}},\r\nnull,"sprite-copy",Editor.ctrlKey+"+C");this.addAction("paste",function(){if(b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())){var a=!1;try{Editor.enableNativeCipboard&&(c.readGraphModelFromClipboard(function(a){if(null!=a){b.getModel().beginUpdate();try{c.pasteXml(a,!0)}finally{b.getModel().endUpdate()}}else mxClipboard.paste(b)}),a=!0)}catch(k){}a||mxClipboard.paste(b)}},!1,"sprite-paste",Editor.ctrlKey+"+V");this.addAction("pasteHere",function(a){function d(a){if(null!=a){for(var c=!0,d=0;d<\r\na.length&&c;d++)c=c&&b.model.isEdge(a[d]);var e=b.view.translate,d=b.view.scale,f=e.x,g=e.y,e=null;if(1==a.length&&c){var h=b.getCellGeometry(a[0]);null!=h&&(e=h.getTerminalPoint(!0))}e=null!=e?e:b.getBoundingBoxFromGeometry(a,c);null!=e&&(c=Math.round(b.snap(b.popupMenuHandler.triggerX/d-f)),d=Math.round(b.snap(b.popupMenuHandler.triggerY/d-g)),b.cellsMoved(a,c-e.x,d-e.y))}}function e(){b.getModel().beginUpdate();try{d(mxClipboard.paste(b))}finally{b.getModel().endUpdate()}}if(b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())){a=\r\n!1;try{Editor.enableNativeCipboard&&(c.readGraphModelFromClipboard(function(a){if(null!=a){b.getModel().beginUpdate();try{d(c.pasteXml(a,!0))}finally{b.getModel().endUpdate()}}else e()}),a=!0)}catch(m){}a||e()}});this.addAction("copySize",function(){var a=b.getSelectionCell();b.isEnabled()&&null!=a&&b.getModel().isVertex(a)&&(a=b.getCellGeometry(a),null!=a&&(c.copiedSize=new mxRectangle(a.x,a.y,a.width,a.height)))},null,null,"Alt+Shift+X");this.addAction("pasteSize",function(){if(b.isEnabled()&&!b.isSelectionEmpty()&&\r\nnull!=c.copiedSize){b.getModel().beginUpdate();try{for(var a=b.getResizableCells(b.getSelectionCells()),d=0;d<a.length;d++)if(b.getModel().isVertex(a[d])){var e=b.getCellGeometry(a[d]);null!=e&&(e=e.clone(),e.width=c.copiedSize.width,e.height=c.copiedSize.height,b.getModel().setGeometry(a[d],e))}}finally{b.getModel().endUpdate()}}},null,null,"Alt+Shift+V");this.addAction("copyData",function(){var a=b.getSelectionCell()||b.getModel().getRoot();b.isEnabled()&&null!=a&&(a=a.cloneValue(),null==a||isNaN(a.nodeType)||\r\n(c.copiedValue=a))},null,null,"Alt+Shift+B");this.addAction("pasteData",function(a){function d(c,d){var f=e.getValue(c);d=c.cloneValue(d);d.removeAttribute("placeholders");null==f||isNaN(f.nodeType)||d.setAttribute("placeholders",f.getAttribute("placeholders"));null!=a&&(mxEvent.isMetaDown(a)||mxEvent.isControlDown(a))||d.setAttribute("label",b.convertValueToString(c));e.setValue(c,d)}var e=b.getModel();if(b.isEnabled()&&!b.isSelectionEmpty()&&null!=c.copiedValue){e.beginUpdate();try{var f=b.getEditableCells(b.getSelectionCells());\r\nif(0==f.length)d(e.getRoot(),c.copiedValue);else for(var g=0;g<f.length;g++)d(f[g],c.copiedValue)}finally{e.endUpdate()}}},null,null,"Alt+Shift+E");this.addAction("delete",function(b){a(null!=b&&mxEvent.isControlDown(b))},null,null,"Delete");this.addAction("deleteAll",function(){a(!0)});this.addAction("deleteLabels",function(){if(!b.isSelectionEmpty()){b.getModel().beginUpdate();try{for(var a=b.getSelectionCells(),c=0;c<a.length;c++)b.cellLabelChanged(a[c],"")}finally{b.getModel().endUpdate()}}},\r\nnull,null,Editor.ctrlKey+"+Delete");this.addAction("duplicate",function(){try{b.setSelectionCells(b.duplicateCells()),b.scrollCellToVisible(b.getSelectionCell())}catch(g){c.handleError(g)}},null,null,Editor.ctrlKey+"+D");this.put("turn",new Action(mxResources.get("turn")+" / "+mxResources.get("reverse"),function(a){b.turnShapes(b.getResizableCells(b.getSelectionCells()),null!=a?mxEvent.isShiftDown(a):!1)},null,null,Editor.ctrlKey+"+R"));this.put("selectConnections",new Action(mxResources.get("selectEdges"),\r\nfunction(a){a=b.getSelectionCell();b.isEnabled()&&null!=a&&b.addSelectionCells(b.getEdges(a))}));this.addAction("selectVertices",function(){b.selectVertices(null,!0)},null,null,Editor.ctrlKey+"+Shift+I");this.addAction("selectEdges",function(){b.selectEdges()},null,null,Editor.ctrlKey+"+Shift+E");this.addAction("selectAll",function(){b.selectAll(null,!0)},null,null,Editor.ctrlKey+"+A");this.addAction("selectNone",function(){b.clearSelection()},null,null,Editor.ctrlKey+"+Shift+A");this.addAction("lockUnlock",\r\nfunction(){if(!b.isSelectionEmpty()){b.getModel().beginUpdate();try{var a=b.getSelectionCells(),c=b.getCurrentCellStyle(b.getSelectionCell()),d=1==mxUtils.getValue(c,mxConstants.STYLE_EDITABLE,1)?0:1;b.setCellStyles(mxConstants.STYLE_MOVABLE,d,a);b.setCellStyles(mxConstants.STYLE_RESIZABLE,d,a);b.setCellStyles(mxConstants.STYLE_ROTATABLE,d,a);b.setCellStyles(mxConstants.STYLE_DELETABLE,d,a);b.setCellStyles(mxConstants.STYLE_EDITABLE,d,a);b.setCellStyles("connectable",d,a)}finally{b.getModel().endUpdate()}}},\r\nnull,null,Editor.ctrlKey+"+L");this.addAction("home",function(){b.home()},null,null,"Shift+Home");this.addAction("exitGroup",function(){b.exitGroup()},null,null,Editor.ctrlKey+"+Shift+Home");this.addAction("enterGroup",function(){b.enterGroup()},null,null,Editor.ctrlKey+"+Shift+End");this.addAction("collapse",function(){b.foldCells(!0)},null,null,Editor.ctrlKey+"+Home");this.addAction("expand",function(){b.foldCells(!1)},null,null,Editor.ctrlKey+"+End");this.addAction("toFront",function(){b.orderCells(!1)},\r\nnull,null,Editor.ctrlKey+"+Shift+F");this.addAction("toBack",function(){b.orderCells(!0)},null,null,Editor.ctrlKey+"+Shift+B");this.addAction("bringForward",function(a){b.orderCells(!1,null,!0)});this.addAction("sendBackward",function(a){b.orderCells(!0,null,!0)});this.addAction("group",function(){if(b.isEnabled()){var a=mxUtils.sortCells(b.getSelectionCells(),!0);1!=a.length||b.isTable(a[0])||b.isTableRow(a[0])?(a=b.getCellsForGroup(a),1<a.length&&b.setSelectionCell(b.groupCells(null,0,a))):b.setCellStyles("container",\r\n"1")}},null,null,Editor.ctrlKey+"+G");this.addAction("ungroup",function(){if(b.isEnabled()){var a=b.getEditableCells(b.getSelectionCells());b.model.beginUpdate();try{var c=b.ungroupCells();if(null!=a)for(var d=0;d<a.length;d++)b.model.contains(a[d])&&(0==b.model.getChildCount(a[d])&&b.model.isVertex(a[d])&&b.setCellStyles("container","0",[a[d]]),c.push(a[d]))}finally{b.model.endUpdate()}0<c.length&&b.setSelectionCells(c)}},null,null,Editor.ctrlKey+"+Shift+U");this.addAction("removeFromGroup",function(){if(b.isEnabled()){var a=\r\nb.getSelectionCells();if(null!=a){for(var c=[],d=0;d<a.length;d++)b.isTableRow(a[d])||b.isTableCell(a[d])||c.push(a[d]);b.removeCellsFromParent(c)}}});this.addAction("edit",function(){b.isEnabled()&&b.startEditingAtCell()},null,null,"F2/Enter");this.addAction("editData...",function(){var a=b.getSelectionCell()||b.getModel().getRoot();c.showDataDialog(a)},null,null,Editor.ctrlKey+"+M");this.addAction("editTooltip...",function(){var a=b.getSelectionCell();if(b.isEnabled()&&null!=a&&b.isCellEditable(a)){var d=\r\n"";if(mxUtils.isNode(a.value)){var e=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&a.value.hasAttribute("tooltip_"+Graph.diagramLanguage)&&(e=a.value.getAttribute("tooltip_"+Graph.diagramLanguage));null==e&&(e=a.value.getAttribute("tooltip"));null!=e&&(d=e)}d=new TextareaDialog(c,mxResources.get("editTooltip")+":",d,function(c){b.setTooltipForCell(a,c)});c.showDialog(d.container,320,200,!0,!0);d.init()}},null,null,"Alt+Shift+T");this.addAction("openLink",function(){var a=b.getLinkForCell(b.getSelectionCell());\r\nnull!=a&&b.openLink(a)});this.addAction("editLink...",function(){var a=b.getSelectionCell();if(b.isEnabled()&&null!=a&&b.isCellEditable(a)){var d=b.getLinkForCell(a)||"";c.showLinkDialog(d,mxResources.get("apply"),function(c,d,e){c=mxUtils.trim(c);b.setLinkForCell(a,0<c.length?c:null);b.setAttributeForCell(a,"linkTarget",e)},!0,b.getLinkTargetForCell(a))}},null,null,"Alt+Shift+L");this.put("insertImage",new Action(mxResources.get("image")+"...",function(){b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&\r\n(b.clearSelection(),c.actions.get("image").funct())})).isEnabled=f;this.put("insertLink",new Action(mxResources.get("link")+"...",function(){b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&c.showLinkDialog("",mxResources.get("insert"),function(a,c,d){a=mxUtils.trim(a);if(0<a.length){var e=null,f=b.getLinkTitle(a);null!=c&&0<c.length&&(e=c[0].iconUrl,f=c[0].name||c[0].type,f=f.charAt(0).toUpperCase()+f.substring(1),30<f.length&&(f=f.substring(0,30)+"..."));c=new mxCell(f,new mxGeometry(0,0,100,\r\n40),"fontColor=#0000EE;fontStyle=4;rounded=1;overflow=hidden;"+(null!=e?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+e:"spacing=10;"));c.vertex=!0;e=b.getCenterInsertPoint(b.getBoundingBoxFromGeometry([c],!0));c.geometry.x=e.x;c.geometry.y=e.y;b.setAttributeForCell(c,"linkTarget",d);b.setLinkForCell(c,a);b.cellSizeUpdated(c,!0);b.getModel().beginUpdate();try{c=b.addCell(c),b.fireEvent(new mxEventObject("cellsInserted","cells",[c]))}finally{b.getModel().endUpdate()}b.setSelectionCell(c);\r\nb.scrollCellToVisible(b.getSelectionCell())}},!0)})).isEnabled=f;this.addAction("link...",mxUtils.bind(this,function(){if(b.isEnabled())if(b.cellEditor.isContentEditing()){var a=b.getSelectedElement(),d=b.getParentByName(a,"A",b.cellEditor.textarea),e="";if(null==d&&null!=a&&null!=a.getElementsByTagName)for(var f=a.getElementsByTagName("a"),h=0;h<f.length&&null==d;h++)f[h].textContent==a.textContent&&(d=f[h]);null!=d&&"A"==d.nodeName&&(e=d.getAttribute("href")||"",b.selectNode(d));var p=b.cellEditor.saveSelection();\r\nc.showLinkDialog(e,mxResources.get("apply"),mxUtils.bind(this,function(a){b.cellEditor.restoreSelection(p);null!=a&&b.insertLink(a)}))}else b.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=f;this.addAction("autosize",function(){var a=b.getSelectionCells();if(null!=a){b.getModel().beginUpdate();try{for(var c=0;c<a.length;c++){var d=a[c];0<b.getModel().getChildCount(d)?b.updateGroupBounds([d],20):b.updateCellSize(d)}}finally{b.getModel().endUpdate()}}},null,\r\nnull,Editor.ctrlKey+"+Shift+Y");this.addAction("formattedText",function(){b.stopEditing();var a=b.getCommonStyle(b.getSelectionCells()),a="1"==mxUtils.getValue(a,"html","0")?null:"1";b.getModel().beginUpdate();try{for(var d=b.getEditableCells(b.getSelectionCells()),e=0;e<d.length;e++)if(state=b.getView().getState(d[e]),null!=state){var f=mxUtils.getValue(state.style,"html","0");if("1"==f&&null==a){var h=b.convertValueToString(state.cell);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(h=h.replace(/\\n/g,\r\n"").replace(/<br\\s*.?>/g,"\\n"));var p=document.createElement("div");p.innerHTML=b.sanitizeHtml(h);h=mxUtils.extractTextWithWhitespace(p.childNodes);b.cellLabelChanged(state.cell,h);b.setCellStyles("html",a,[d[e]])}else"0"==f&&"1"==a&&(h=mxUtils.htmlEntities(b.convertValueToString(state.cell),!1),"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(h=h.replace(/\\n/g,"<br/>")),b.cellLabelChanged(state.cell,b.sanitizeHtml(h)),b.setCellStyles("html",a,[d[e]]))}c.fireEvent(new mxEventObject("styleChanged",\r\n"keys",["html"],"values",[null!=a?a:"0"],"cells",d))}finally{b.getModel().endUpdate()}});this.addAction("wordWrap",function(){var a=b.getView().getState(b.getSelectionCell()),c="wrap";b.stopEditing();null!=a&&"wrap"==a.style[mxConstants.STYLE_WHITE_SPACE]&&(c=null);b.setCellStyles(mxConstants.STYLE_WHITE_SPACE,c)});this.addAction("rotation",function(){var a="0",d=b.getView().getState(b.getSelectionCell());null!=d&&(a=d.style[mxConstants.STYLE_ROTATION]||a);a=new FilenameDialog(c,a,mxResources.get("apply"),\r\nfunction(a){null!=a&&0<a.length&&b.setCellStyles(mxConstants.STYLE_ROTATION,a)},mxResources.get("enterValue")+" ("+mxResources.get("rotation")+" 0-360)");c.showDialog(a.container,375,80,!0,!0);a.init()});this.addAction("resetView",function(){b.zoomTo(1);c.resetScrollbars()},null,null,"Enter/Home");this.addAction("zoomIn",function(a){b.isFastZoomEnabled()?b.lazyZoom(!0,!0,c.buttonZoomDelay):b.zoomIn()},null,null,Editor.ctrlKey+" + (Numpad) / Alt+Mousewheel");this.addAction("zoomOut",function(a){b.isFastZoomEnabled()?\r\nb.lazyZoom(!1,!0,c.buttonZoomDelay):b.zoomOut()},null,null,Editor.ctrlKey+" - (Numpad) / Alt+Mousewheel");this.addAction("fitWindow",function(){var a=b.isSelectionEmpty()?b.getGraphBounds():b.getBoundingBox(b.getSelectionCells()),d=b.view.translate,e=b.view.scale;a.x=a.x/e-d.x;a.y=a.y/e-d.y;a.width/=e;a.height/=e;null!=b.backgroundImage&&a.add(new mxRectangle(0,0,b.backgroundImage.width,b.backgroundImage.height));0==a.width||0==a.height?(b.zoomTo(1),c.resetScrollbars()):(d=Editor.fitWindowBorders,\r\nnull!=d&&(a.x-=d.x,a.y-=d.y,a.width+=d.width+d.x,a.height+=d.height+d.y),b.fitWindow(a))},null,null,Editor.ctrlKey+"+Shift+H");this.addAction("fitPage",mxUtils.bind(this,function(){b.pageVisible||this.get("pageView").funct();var a=b.pageFormat,c=b.pageScale;b.zoomTo(Math.floor(20*Math.min((b.container.clientWidth-10)/a.width/c,(b.container.clientHeight-10)/a.height/c))/20);mxUtils.hasScrollbars(b.container)&&(a=b.getPagePadding(),b.container.scrollTop=a.y*b.view.scale-1,b.container.scrollLeft=Math.min(a.x*\r\nb.view.scale,(b.container.scrollWidth-b.container.clientWidth)/2)-1)}),null,null,Editor.ctrlKey+"+J");this.addAction("fitTwoPages",mxUtils.bind(this,function(){b.pageVisible||this.get("pageView").funct();var a=b.pageFormat,c=b.pageScale;b.zoomTo(Math.floor(20*Math.min((b.container.clientWidth-10)/(2*a.width)/c,(b.container.clientHeight-10)/a.height/c))/20);mxUtils.hasScrollbars(b.container)&&(a=b.getPagePadding(),b.container.scrollTop=Math.min(a.y,(b.container.scrollHeight-b.container.clientHeight)/\r\n2),b.container.scrollLeft=Math.min(a.x,(b.container.scrollWidth-b.container.clientWidth)/2))}),null,null,Editor.ctrlKey+"+Shift+J");this.addAction("fitPageWidth",mxUtils.bind(this,function(){b.pageVisible||this.get("pageView").funct();b.zoomTo(Math.floor(20*(b.container.clientWidth-10)/b.pageFormat.width/b.pageScale)/20);if(mxUtils.hasScrollbars(b.container)){var a=b.getPagePadding();b.container.scrollLeft=Math.min(a.x*b.view.scale,(b.container.scrollWidth-b.container.clientWidth)/2)}}));this.put("customZoom",\r\nnew Action(mxResources.get("custom")+"...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.editorUi,parseInt(100*b.getView().getScale()),mxResources.get("apply"),mxUtils.bind(this,function(a){a=parseInt(a);!isNaN(a)&&0<a&&b.zoomTo(a/100)}),mxResources.get("zoom")+" (%)");this.editorUi.showDialog(a.container,300,80,!0,!0);a.init()}),null,null,Editor.ctrlKey+"+0"));this.addAction("pageScale...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.editorUi,parseInt(100*b.pageScale),\r\nmxResources.get("apply"),mxUtils.bind(this,function(a){a=parseInt(a);!isNaN(a)&&0<a&&(a=new ChangePageSetup(c,null,null,null,a/100),a.ignoreColor=!0,a.ignoreImage=!0,b.model.execute(a))}),mxResources.get("pageScale")+" (%)");this.editorUi.showDialog(a.container,300,80,!0,!0);a.init()}));var e=null,e=this.addAction("grid",function(){b.setGridEnabled(!b.isGridEnabled());c.fireEvent(new mxEventObject("gridEnabledChanged"))},null,null,Editor.ctrlKey+"+Shift+G");e.setToggleAction(!0);e.setSelectedCallback(function(){return b.isGridEnabled()});\r\ne.setEnabled(!1);e=this.addAction("guides",function(){b.graphHandler.guidesEnabled=!b.graphHandler.guidesEnabled;c.fireEvent(new mxEventObject("guidesEnabledChanged"))});e.setToggleAction(!0);e.setSelectedCallback(function(){return b.graphHandler.guidesEnabled});e.setEnabled(!1);e=this.addAction("tooltips",function(){b.tooltipHandler.setEnabled(!b.tooltipHandler.isEnabled());c.fireEvent(new mxEventObject("tooltipsEnabledChanged"))});e.setToggleAction(!0);e.setSelectedCallback(function(){return b.tooltipHandler.isEnabled()});\r\ne=this.addAction("collapseExpand",function(){var a=new ChangePageSetup(c);a.ignoreColor=!0;a.ignoreImage=!0;a.foldingEnabled=!b.foldingEnabled;b.model.execute(a)});e.setToggleAction(!0);e.setSelectedCallback(function(){return b.foldingEnabled});e.isEnabled=f;e=this.addAction("scrollbars",function(){c.setScrollbars(!c.hasScrollbars())});e.setToggleAction(!0);e.setSelectedCallback(function(){return b.scrollbars});e=this.addAction("pageView",mxUtils.bind(this,function(){c.setPageVisible(!b.pageVisible)}));\r\ne.setToggleAction(!0);e.setSelectedCallback(function(){return b.pageVisible});e=this.addAction("connectionArrows",function(){b.connectionArrowsEnabled=!b.connectionArrowsEnabled;c.fireEvent(new mxEventObject("connectionArrowsChanged"))},null,null,"Alt+Shift+A");e.setToggleAction(!0);e.setSelectedCallback(function(){return b.connectionArrowsEnabled});e=this.addAction("connectionPoints",function(){b.setConnectable(!b.connectionHandler.isEnabled());c.fireEvent(new mxEventObject("connectionPointsChanged"))},\r\nnull,null,"Alt+Shift+P");e.setToggleAction(!0);e.setSelectedCallback(function(){return b.connectionHandler.isEnabled()});e=this.addAction("copyConnect",function(){b.connectionHandler.setCreateTarget(!b.connectionHandler.isCreateTarget());c.fireEvent(new mxEventObject("copyConnectChanged"))});e.setToggleAction(!0);e.setSelectedCallback(function(){return b.connectionHandler.isCreateTarget()});e.isEnabled=f;e=this.addAction("autosave",function(){c.editor.setAutosave(!c.editor.autosave)});e.setToggleAction(!0);\r\ne.setSelectedCallback(function(){return c.editor.autosave});e.isEnabled=f;e.visible=!1;this.addAction("help",function(){var a="";mxResources.isLanguageSupported(mxClient.language)&&(a="_"+mxClient.language);b.openLink(RESOURCES_PATH+"/help"+a+".html")});var h=!1;this.put("about",new Action(mxResources.get("about")+" Graph Editor...",function(){h||(c.showDialog((new AboutDialog(c)).container,320,280,!0,!0,function(){h=!1}),h=!0)}));e=mxUtils.bind(this,function(a,c,d,e){return this.addAction(a,function(){if(null!=\r\nd&&b.cellEditor.isContentEditing())d();else{b.stopEditing(!1);b.getModel().beginUpdate();try{var a=b.getEditableCells(b.getSelectionCells());b.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,c,a);(c&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?b.updateLabelElements(a,function(a){a.style.fontWeight=null;"B"==a.nodeName&&b.replaceElement(a)}):(c&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?b.updateLabelElements(a,function(a){a.style.fontStyle=null;"I"==a.nodeName&&b.replaceElement(a)}):(c&mxConstants.FONT_UNDERLINE)==\r\nmxConstants.FONT_UNDERLINE&&b.updateLabelElements(a,function(a){a.style.textDecoration=null;"U"==a.nodeName&&b.replaceElement(a)});for(var e=0;e<a.length;e++)0==b.model.getChildCount(a[e])&&b.autoSizeCell(a[e],!1)}finally{b.getModel().endUpdate()}}},null,null,e)});e("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");e("italic",mxConstants.FONT_ITALIC,function(){document.execCommand("italic",!1,null)},Editor.ctrlKey+"+I");e("underline",mxConstants.FONT_UNDERLINE,\r\nfunction(){document.execCommand("underline",!1,null)},Editor.ctrlKey+"+U");this.addAction("fontColor...",function(){c.menus.pickColor(mxConstants.STYLE_FONTCOLOR,"forecolor","000000")});this.addAction("strokeColor...",function(){c.menus.pickColor(mxConstants.STYLE_STROKECOLOR)});this.addAction("fillColor...",function(){c.menus.pickColor(mxConstants.STYLE_FILLCOLOR)});this.addAction("gradientColor...",function(){c.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR)});this.addAction("backgroundColor...",\r\nfunction(){c.menus.pickColor(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"backcolor")});this.addAction("borderColor...",function(){c.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOLOR)});this.addAction("vertical",function(){c.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL,!0)});this.addAction("shadow",function(){c.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_DASHED,null),b.setCellStyles(mxConstants.STYLE_DASH_PATTERN,\r\nnull),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",[null,null],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("dashed",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_DASHED,"1"),b.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1",null],"cells",\r\nb.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("dotted",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_DASHED,"1"),b.setCellStyles(mxConstants.STYLE_DASH_PATTERN,"1 4"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1","1 4"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("sharp",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_ROUNDED,\r\n"0"),b.setCellStyles(mxConstants.STYLE_CURVED,"0"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","0"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("rounded",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_ROUNDED,"1"),b.setCellStyles(mxConstants.STYLE_CURVED,"0"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],\r\n"values",["1","0"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("toggleRounded",function(){if(!b.isSelectionEmpty()&&b.isEnabled()){b.getModel().beginUpdate();try{var a=b.getSelectionCells(),d=b.getCurrentCellStyle(a[0]),e="1"==mxUtils.getValue(d,mxConstants.STYLE_ROUNDED,"0")?"0":"1";b.setCellStyles(mxConstants.STYLE_ROUNDED,e);b.setCellStyles(mxConstants.STYLE_CURVED,null);c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],\r\n"values",[e,"0"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}}});this.addAction("curved",function(){b.getModel().beginUpdate();try{b.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),b.setCellStyles(mxConstants.STYLE_CURVED,"1"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","1"],"cells",b.getSelectionCells()))}finally{b.getModel().endUpdate()}});this.addAction("collapsible",function(){var a=b.view.getState(b.getSelectionCell()),\r\nd="1";null!=a&&null!=b.getFoldingImage(a)&&(d="0");b.setCellStyles("collapsible",d);c.fireEvent(new mxEventObject("styleChanged","keys",["collapsible"],"values",[d],"cells",b.getSelectionCells()))});this.addAction("editStyle...",mxUtils.bind(this,function(){var a=b.getEditableCells(b.getSelectionCells());if(null!=a&&0<a.length){var c=b.getModel(),c=new TextareaDialog(this.editorUi,mxResources.get("editStyle")+":",c.getStyle(a[0])||"",function(c){null!=c&&b.setCellStyle(mxUtils.trim(c),a)},null,null,\r\n400,220);this.editorUi.showDialog(c.container,420,300,!0,!0);c.init()}}),null,null,Editor.ctrlKey+"+E");this.addAction("setAsDefaultStyle",function(){b.isEnabled()&&!b.isSelectionEmpty()&&c.setDefaultStyle(b.getSelectionCell())},null,null,Editor.ctrlKey+"+Shift+D");this.addAction("clearDefaultStyle",function(){b.isEnabled()&&c.clearDefaultStyle()},null,null,Editor.ctrlKey+"+Shift+R");this.addAction("addWaypoint",function(){var a=b.getSelectionCell();if(null!=a&&b.getModel().isEdge(a)){var c=d.graph.selectionCellsHandler.getHandler(a);\r\nif(c instanceof mxEdgeHandler){for(var e=b.view.translate,f=b.view.scale,h=e.x,e=e.y,a=b.getModel().getParent(a),p=b.getCellGeometry(a);b.getModel().isVertex(a)&&null!=p;)h+=p.x,e+=p.y,a=b.getModel().getParent(a),p=b.getCellGeometry(a);h=Math.round(b.snap(b.popupMenuHandler.triggerX/f-h));f=Math.round(b.snap(b.popupMenuHandler.triggerY/f-e));c.addPointAt(c.state,h,f)}}});this.addAction("removeWaypoint",function(){var a=c.actions.get("removeWaypoint");null!=a.handler&&a.handler.removePoint(a.handler.state,\r\na.index)});this.addAction("clearWaypoints",function(a){var c=b.getSelectionCells();if(null!=c){c=b.getEditableCells(b.addAllEdges(c));b.getModel().beginUpdate();try{for(var d=0;d<c.length;d++){var e=c[d];if(b.getModel().isEdge(e)){var f=b.getCellGeometry(e);mxEvent.isShiftDown(a)?(b.setCellStyles(mxConstants.STYLE_EXIT_X,null,[e]),b.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[e]),b.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[e]),b.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[e])):null!=f&&(f=\r\nf.clone(),f.points=null,f.x=0,f.y=0,f.offset=null,b.getModel().setGeometry(e,f))}}}finally{b.getModel().endUpdate()}}},null,null,"Alt+Shift+C");e=this.addAction("subscript",mxUtils.bind(this,function(){b.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),null,null,Editor.ctrlKey+"+,");e=this.addAction("superscript",mxUtils.bind(this,function(){b.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,Editor.ctrlKey+"+.");this.addAction("image...",\r\nfunction(){if(b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())){var a=mxResources.get("image")+" ("+mxResources.get("url")+"):",d=b.getView().getState(b.getSelectionCell()),e="";null!=d&&(e=d.style[mxConstants.STYLE_IMAGE]||e);var f=b.cellEditor.saveSelection();c.showImageDialog(a,e,function(a,c,d){if(b.cellEditor.isContentEditing())b.cellEditor.restoreSelection(f),b.insertImage(a,c,d);else{var e=b.getSelectionCells();if(null!=a&&(0<a.length||0<e.length)){var g=null;b.getModel().beginUpdate();\r\ntry{if(0==e.length){var e=[b.insertVertex(b.getDefaultParent(),null,"",0,0,c,d,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")],h=b.getCenterInsertPoint(b.getBoundingBoxFromGeometry(e,!0));e[0].geometry.x=h.x;e[0].geometry.y=h.y;g=e;b.fireEvent(new mxEventObject("cellsInserted","cells",g))}b.setCellStyles(mxConstants.STYLE_IMAGE,0<a.length?a:null,e);var k=b.getCurrentCellStyle(e[0]);"image"!=k[mxConstants.STYLE_SHAPE]&&"label"!=k[mxConstants.STYLE_SHAPE]?\r\nb.setCellStyles(mxConstants.STYLE_SHAPE,"image",e):0==a.length&&b.setCellStyles(mxConstants.STYLE_SHAPE,null,e);if(1==b.getSelectionCount()&&null!=c&&null!=d){var l=e[0],m=b.getModel().getGeometry(l);null!=m&&(m=m.clone(),m.width=c,m.height=d,b.getModel().setGeometry(l,m))}}finally{b.getModel().endUpdate()}null!=g&&(b.setSelectionCells(g),b.scrollCellToVisible(g[0]))}}},b.cellEditor.isContentEditing(),!b.cellEditor.isContentEditing())}}).isEnabled=f;e=this.addAction("layers",mxUtils.bind(this,function(){null==\r\nthis.layersWindow?(this.layersWindow=new LayersWindow(c,document.body.offsetWidth-280,120,220,196),this.layersWindow.window.addListener("show",function(){c.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.addListener("hide",function(){c.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.setVisible(!0),c.fireEvent(new mxEventObject("layers")),this.layersWindow.init()):this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,Editor.ctrlKey+\r\n"+Shift+L");e.setToggleAction(!0);e.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));e=this.addAction("formatPanel",mxUtils.bind(this,function(){c.toggleFormatPanel()}),null,null,Editor.ctrlKey+"+Shift+P");e.setToggleAction(!0);e.setSelectedCallback(mxUtils.bind(this,function(){return 0<c.formatWidth}));e=this.addAction("outline",mxUtils.bind(this,function(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(c,document.body.offsetWidth-\r\n260,100,180,180),this.outlineWindow.window.addListener("show",function(){c.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.addListener("hide",function(){c.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),c.fireEvent(new mxEventObject("outline"))):this.outlineWindow.window.setVisible(!this.outlineWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+O");e.setToggleAction(!0);e.setSelectedCallback(mxUtils.bind(this,function(){return null!=\r\nthis.outlineWindow&&this.outlineWindow.window.isVisible()}))};Actions.prototype.addAction=function(a,c,d,b,f){var e;"..."==a.substring(a.length-3)?(a=a.substring(0,a.length-3),e=mxResources.get(a)+"..."):e=mxResources.get(a);return this.put(a,new Action(e,c,d,b,f))};Actions.prototype.put=function(a,c){return this.actions[a]=c};Actions.prototype.get=function(a){return this.actions[a]};\r\nfunction Action(a,c,d,b,f){mxEventSource.call(this);this.label=a;this.funct=this.createFunction(c);this.enabled=null!=d?d:!0;this.iconCls=b;this.shortcut=f;this.visible=!0}mxUtils.extend(Action,mxEventSource);Action.prototype.createFunction=function(a){return a};Action.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};Action.prototype.isEnabled=function(){return this.enabled};\r\nAction.prototype.setToggleAction=function(a){this.toggleAction=a};Action.prototype.setSelectedCallback=function(a){this.selectedCallback=a};Action.prototype.isSelected=function(){return this.selectedCallback()};Menus=function(a){this.editorUi=a;this.menus={};this.init();mxClient.IS_SVG||((new Image).src=this.checkmarkImage)};Menus.prototype.defaultFont="Helvetica";Menus.prototype.defaultFontSize="12";Menus.prototype.defaultMenuItems="file edit view arrange extras help".split(" ");Menus.prototype.defaultFonts="Helvetica;Verdana;Times New Roman;Garamond;Comic Sans MS;Courier New;Georgia;Lucida Console;Tahoma".split(";");\r\nMenus.prototype.init=function(){var a=this.editorUi.editor.graph,c=mxUtils.bind(a,a.isEnabled);this.customFonts=[];this.customFontSizes=[];this.put("fontFamily",new Menu(mxUtils.bind(this,function(c,b){for(var d=mxUtils.bind(this,function(d){this.styleChange(c,d,[mxConstants.STYLE_FONTFAMILY],[d],null,b,function(){document.execCommand("fontname",!1,d)},function(){a.updateLabelElements(a.getSelectionCells(),function(b){b.removeAttribute("face");b.style.fontFamily=null;"PRE"==b.nodeName&&a.replaceElement(b,\r\n"div")})}).firstChild.nextSibling.style.fontFamily=d}),e=0;e<this.defaultFonts.length;e++)d(this.defaultFonts[e]);c.addSeparator(b);if(0<this.customFonts.length){for(e=0;e<this.customFonts.length;e++)d(this.customFonts[e]);c.addSeparator(b);c.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFonts=[];this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}),b);c.addSeparator(b)}this.promptChange(c,mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,\r\nmxConstants.STYLE_FONTFAMILY,b,!0,mxUtils.bind(this,function(a){0>mxUtils.indexOf(this.customFonts,a)&&(this.customFonts.push(a),this.editorUi.fireEvent(new mxEventObject("customFontsChanged")))}))})));this.put("formatBlock",new Menu(mxUtils.bind(this,function(c,b){function d(d,f){return c.addItem(d,null,mxUtils.bind(this,function(){null!=a.cellEditor.textarea&&(a.cellEditor.textarea.focus(),document.execCommand("formatBlock",!1,"<"+f+">"))}),b)}d(mxResources.get("normal"),"p");d("","h1").firstChild.nextSibling.innerHTML=\r\n\'<h1 style="margin:0px;">\'+mxResources.get("heading")+" 1</h1>";d("","h2").firstChild.nextSibling.innerHTML=\'<h2 style="margin:0px;">\'+mxResources.get("heading")+" 2</h2>";d("","h3").firstChild.nextSibling.innerHTML=\'<h3 style="margin:0px;">\'+mxResources.get("heading")+" 3</h3>";d("","h4").firstChild.nextSibling.innerHTML=\'<h4 style="margin:0px;">\'+mxResources.get("heading")+" 4</h4>";d("","h5").firstChild.nextSibling.innerHTML=\'<h5 style="margin:0px;">\'+mxResources.get("heading")+" 5</h5>";d("",\r\n"h6").firstChild.nextSibling.innerHTML=\'<h6 style="margin:0px;">\'+mxResources.get("heading")+" 6</h6>";d("","pre").firstChild.nextSibling.innerHTML=\'<pre style="margin:0px;">\'+mxResources.get("formatted")+"</pre>";d("","blockquote").firstChild.nextSibling.innerHTML=\'<blockquote style="margin-top:0px;margin-bottom:0px;">\'+mxResources.get("blockquote")+"</blockquote>"})));this.put("fontSize",new Menu(mxUtils.bind(this,function(c,b){for(var d=[6,8,9,10,11,12,14,18,24,36,48,72],e=mxUtils.bind(this,function(d){this.styleChange(c,\r\nd,[mxConstants.STYLE_FONTSIZE],[d],null,b,function(){if(null!=a.cellEditor.textarea){document.execCommand("fontSize",!1,"3");for(var b=a.cellEditor.textarea.getElementsByTagName("font"),c=0;c<b.length;c++)if("3"==b[c].getAttribute("size")){b[c].removeAttribute("size");b[c].style.fontSize=d+"px";break}}})}),h=0;h<d.length;h++)e(d[h]);c.addSeparator(b);if(0<this.customFontSizes.length){for(h=0;h<this.customFontSizes.length;h++)e(this.customFontSizes[h]);c.addSeparator(b);c.addItem(mxResources.get("reset"),\r\nnull,mxUtils.bind(this,function(){this.customFontSizes=[]}),b);c.addSeparator(b)}this.promptChange(c,mxResources.get("custom")+"...","(pt)","12",mxConstants.STYLE_FONTSIZE,b,!0,mxUtils.bind(this,function(a){this.customFontSizes.push(a)}))})));this.put("direction",new Menu(mxUtils.bind(this,function(c,b){c.addItem(mxResources.get("flipH"),null,function(){a.toggleCellStyles(mxConstants.STYLE_FLIPH,!1)},b);c.addItem(mxResources.get("flipV"),null,function(){a.toggleCellStyles(mxConstants.STYLE_FLIPV,\r\n!1)},b);this.addMenuItems(c,["-","rotation"],b)})));this.put("align",new Menu(mxUtils.bind(this,function(c,b){c.addItem(mxResources.get("leftAlign"),null,function(){a.alignCells(mxConstants.ALIGN_LEFT)},b);c.addItem(mxResources.get("center"),null,function(){a.alignCells(mxConstants.ALIGN_CENTER)},b);c.addItem(mxResources.get("rightAlign"),null,function(){a.alignCells(mxConstants.ALIGN_RIGHT)},b);c.addSeparator(b);c.addItem(mxResources.get("topAlign"),null,function(){a.alignCells(mxConstants.ALIGN_TOP)},\r\nb);c.addItem(mxResources.get("middle"),null,function(){a.alignCells(mxConstants.ALIGN_MIDDLE)},b);c.addItem(mxResources.get("bottomAlign"),null,function(){a.alignCells(mxConstants.ALIGN_BOTTOM)},b)})));this.put("distribute",new Menu(mxUtils.bind(this,function(c,b){c.addItem(mxResources.get("horizontal"),null,function(){a.distributeCells(!0)},b);c.addItem(mxResources.get("vertical"),null,function(){a.distributeCells(!1)},b)})));this.put("line",new Menu(mxUtils.bind(this,function(c,b){var d=a.view.getState(a.getSelectionCell());\r\nnull!=d&&(d=mxUtils.getValue(d.style,mxConstants.STYLE_SHAPE),"arrow"!=d&&(this.edgeStyleChange(c,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",b,!0).setAttribute("title",mxResources.get("straight")),this.edgeStyleChange(c,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",b,!0).setAttribute("title",mxResources.get("orthogonal")),\r\nthis.edgeStyleChange(c,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",b,!0).setAttribute("title",mxResources.get("simple")),this.edgeStyleChange(c,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",b,!0).setAttribute("title",mxResources.get("simple")),\r\nthis.edgeStyleChange(c,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",b,!0).setAttribute("title",mxResources.get("isometric")),this.edgeStyleChange(c,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",b,!0).setAttribute("title",\r\nmxResources.get("isometric")),"connector"==d&&this.edgeStyleChange(c,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",b,!0).setAttribute("title",mxResources.get("curved")),this.edgeStyleChange(c,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",b,!0).setAttribute("title",mxResources.get("entityRelation"))),\r\nc.addSeparator(b),this.styleChange(c,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",b,!0,null,!0).setAttribute("title",mxResources.get("line")),this.styleChange(c,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",b,!0,null,!0).setAttribute("title",mxResources.get("link")),this.styleChange(c,"",[mxConstants.STYLE_SHAPE,\r\nmxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",b,!0,null,!0).setAttribute("title",mxResources.get("arrow")),this.styleChange(c,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",b,!0,null,!0).setAttribute("title",mxResources.get("simpleArrow")))})));this.put("layout",new Menu(mxUtils.bind(this,function(c,b){var d=mxUtils.bind(this,\r\nfunction(a,b){var c=new FilenameDialog(this.editorUi,a,mxResources.get("apply"),function(a){b(parseFloat(a))},mxResources.get("spacing"));this.editorUi.showDialog(c.container,300,80,!0,!0);c.init()});c.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){var b=new mxHierarchicalLayout(a,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var c=a.getSelectionCells();b.execute(a.getDefaultParent(),0==c.length?null:c)},!0)}),b);c.addItem(mxResources.get("verticalFlow"),\r\nnull,mxUtils.bind(this,function(){var b=new mxHierarchicalLayout(a,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var c=a.getSelectionCells();b.execute(a.getDefaultParent(),0==c.length?null:c)},!0)}),b);c.addSeparator(b);c.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var b=a.getSelectionCell(),c=null;null==b||0==a.getModel().getChildCount(b)?0==a.getModel().getEdgeCount(b)&&(c=a.findTreeRoots(a.getDefaultParent())):c=a.findTreeRoots(b);null!=c&&\r\n0<c.length&&(b=c[0]);if(null!=b){var f=new mxCompactTreeLayout(a,!0);f.edgeRouting=!1;f.levelDistance=30;d(f.levelDistance,mxUtils.bind(this,function(c){f.levelDistance=c;this.editorUi.executeLayout(function(){f.execute(a.getDefaultParent(),b)},!0)}))}}),b);c.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var b=a.getSelectionCell(),c=null;null==b||0==a.getModel().getChildCount(b)?0==a.getModel().getEdgeCount(b)&&(c=a.findTreeRoots(a.getDefaultParent())):c=a.findTreeRoots(b);\r\nnull!=c&&0<c.length&&(b=c[0]);if(null!=b){var f=new mxCompactTreeLayout(a,!1);f.edgeRouting=!1;f.levelDistance=30;d(f.levelDistance,mxUtils.bind(this,function(c){f.levelDistance=c;this.editorUi.executeLayout(function(){f.execute(a.getDefaultParent(),b)},!0)}))}}),b);c.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var b=a.getSelectionCell(),c=null;null==b||0==a.getModel().getChildCount(b)?0==a.getModel().getEdgeCount(b)&&(c=a.findTreeRoots(a.getDefaultParent())):c=a.findTreeRoots(b);\r\nnull!=c&&0<c.length&&(b=c[0]);if(null!=b){var f=new mxRadialTreeLayout(a,!1);f.levelDistance=80;f.autoRadius=!0;d(f.levelDistance,mxUtils.bind(this,function(c){f.levelDistance=c;this.editorUi.executeLayout(function(){f.execute(a.getDefaultParent(),b);a.isSelectionEmpty()||(b=a.getModel().getParent(b),a.getModel().isVertex(b)&&a.updateGroupBounds([b],2*a.gridSize,!0))},!0)}))}}),b);c.addSeparator(b);c.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var b=new mxFastOrganicLayout(a);\r\nd(b.forceConstant,mxUtils.bind(this,function(c){b.forceConstant=c;this.editorUi.executeLayout(function(){var c=a.getSelectionCell();if(null==c||0==a.getModel().getChildCount(c))c=a.getDefaultParent();b.execute(c);a.getModel().isVertex(c)&&a.updateGroupBounds([c],2*a.gridSize,!0)},!0)}))}),b);c.addItem(mxResources.get("circle"),null,mxUtils.bind(this,function(){var b=new mxCircleLayout(a);this.editorUi.executeLayout(function(){var c=a.getSelectionCell();if(null==c||0==a.getModel().getChildCount(c))c=\r\na.getDefaultParent();b.execute(c);a.getModel().isVertex(c)&&a.updateGroupBounds([c],2*a.gridSize,!0)},!0)}),b)})));this.put("navigation",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),b)})));this.put("arrange",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["toFront","toBack","bringForward","sendBackward","-"],b);this.addSubmenu("direction",a,b);this.addMenuItems(a,["turn","-"],b);this.addSubmenu("align",\r\na,b);this.addSubmenu("distribute",a,b);a.addSeparator(b);this.addSubmenu("navigation",a,b);this.addSubmenu("insert",a,b);this.addSubmenu("layout",a,b);this.addMenuItems(a,"- group ungroup removeFromGroup - clearWaypoints autosize".split(" "),b)}))).isEnabled=c;this.put("insert",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["insertLink","insertImage"],b)})));this.put("view",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,(null!=this.editorUi.format?["formatPanel"]:[]).concat("outline layers - pageView pageScale - scrollbars tooltips - grid guides - connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),\r\nb))})));this.put("viewPanels",new Menu(mxUtils.bind(this,function(a,b){null!=this.editorUi.format&&this.addMenuItems(a,["formatPanel"],b);this.addMenuItems(a,["outline","layers"],b)})));this.put("viewZoom",new Menu(mxUtils.bind(this,function(c,b){this.addMenuItems(c,["resetView","-"],b);for(var d=[.25,.5,.75,1,1.25,1.5,2,3,4],e=0;e<d.length;e++)(function(d){c.addItem(100*d+"%",null,function(){a.zoomTo(d)},b)})(d[e]);this.addMenuItems(c,"- fitWindow fitPageWidth fitPage fitTwoPages - customZoom".split(" "),\r\nb)})));this.put("file",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"new open - save saveAs - import export - pageSetup print".split(" "),b)})));this.put("edit",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"undo redo - cut copy paste delete - duplicate - editData editTooltip - editStyle - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));this.put("extras",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,\r\n["copyConnect","collapseExpand","-","editDiagram"])})));this.put("help",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["help","-","about"])})))};Menus.prototype.put=function(a,c){return this.menus[a]=c};Menus.prototype.get=function(a){return this.menus[a]};Menus.prototype.addSubmenu=function(a,c,d,b){var f=this.get(a);null!=f&&(f=f.isEnabled(),c.showDisabled||f)&&(d=c.addItem(b||mxResources.get(a),null,null,d,null,f),this.addMenu(a,c,d))};\r\nMenus.prototype.addMenu=function(a,c,d){var b=this.get(a);null!=b&&(c.showDisabled||b.isEnabled())&&this.get(a).execute(c,d)};\r\nMenus.prototype.addInsertTableCellItem=function(a,c){var d=this.editorUi.editor.graph;this.addInsertTableItem(a,mxUtils.bind(this,function(a,c,e,h,g){c=g||mxEvent.isControlDown(a)||mxEvent.isMetaDown(a)?d.createCrossFunctionalSwimlane(c,e,null,null,h||mxEvent.isShiftDown(a)?"Cross-Functional Flowchart":null):d.createTable(c,e,null,null,h||mxEvent.isShiftDown(a)?"Table":null);a=mxEvent.isAltDown(a)?d.getFreeInsertPoint():d.getCenterInsertPoint(d.getBoundingBoxFromGeometry([c],!0));a=d.importCells([c],\r\na.x,a.y);null!=a&&0<a.length&&(d.scrollCellToVisible(a[0]),d.setSelectionCells(a))}),c)};\r\nMenus.prototype.addInsertTableItem=function(a,c,d){function b(a,b){for(var c=["<table>"],d=0;d<a;d++){c.push("<tr>");for(var e=0;e<b;e++)c.push("<td><br></td>");c.push("</tr>")}c.push("</table>");return c.join("")}function f(a){g=e.getParentByName(mxEvent.getSource(a),"TD");var b=!1;if(null!=g){h=e.getParentByName(g,"TR");for(var c=mxEvent.isMouseEvent(a)?2:4,d=m,f=Math.min(20,h.sectionRowIndex+c),c=Math.min(20,g.cellIndex+c),k=d.rows.length;k<f;k++)for(var l=d.insertRow(k),p=0;p<d.rows[0].cells.length;p++)l.insertCell(-1);\r\nfor(k=0;k<d.rows.length;k++)for(l=d.rows[k],p=l.cells.length;p<c;p++)l.insertCell(-1);n.innerHTML=g.cellIndex+1+"x"+(h.sectionRowIndex+1);for(d=0;d<m.rows.length;d++)for(f=m.rows[d],c=0;c<f.cells.length;c++)k=f.cells[c],d==h.sectionRowIndex&&c==g.cellIndex&&(b="blue"==k.style.backgroundColor),k.style.backgroundColor=d<=h.sectionRowIndex&&c<=g.cellIndex?"blue":"transparent"}mxEvent.consume(a);return b}c=null!=c?c:mxUtils.bind(this,function(a,c,d){var e=this.editorUi.editor.graph;a=e.getParentByName(mxEvent.getSource(a),\r\n"TD");if(null!=a&&null!=e.cellEditor.textarea){e.getParentByName(a,"TR");var f=e.cellEditor.textarea.getElementsByTagName("table");a=[];for(var g=0;g<f.length;g++)a.push(f[g]);e.container.focus();e.pasteHtmlAtCaret(b(c,d));c=e.cellEditor.textarea.getElementsByTagName("table");if(c.length==a.length+1)for(g=c.length-1;0<=g;g--)if(0==g||c[g]!=a[g-1]){e.selectNode(c[g].rows[0].cells[0]);break}}});var e=this.editorUi.editor.graph,h=null,g=null;a=a.addItem("",null,null,d,null,null,null,!0);a.firstChild.style.fontSize=\r\nMenus.prototype.defaultFontSize+"px";a.firstChild.innerHTML="";var k=document.createElement("input");k.setAttribute("id","geTitleOption");k.setAttribute("type","checkbox");a.firstChild.appendChild(k);d=document.createElement("label");mxUtils.write(d,mxResources.get("title"));d.setAttribute("for","geTitleOption");a.firstChild.appendChild(d);mxEvent.addGestureListeners(d,null,null,mxUtils.bind(this,function(a){mxEvent.consume(a)}));mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(a){mxEvent.consume(a)}));\r\nmxUtils.br(a.firstChild);var l=document.createElement("input");l.setAttribute("id","geContainerOption");l.setAttribute("type","checkbox");a.firstChild.appendChild(l);d=document.createElement("label");mxUtils.write(d,mxResources.get("container"));d.setAttribute("for","geContainerOption");a.firstChild.appendChild(d);mxEvent.addGestureListeners(d,null,null,mxUtils.bind(this,function(a){mxEvent.consume(a)}));mxEvent.addGestureListeners(l,null,null,mxUtils.bind(this,function(a){mxEvent.consume(a)}));mxUtils.br(a.firstChild);\r\nmxUtils.br(a.firstChild);var m=function(a,b){var c=document.createElement("table");c.setAttribute("border","1");c.style.borderCollapse="collapse";c.style.borderStyle="solid";c.setAttribute("cellPadding","8");for(var d=0;d<a;d++)for(var e=c.insertRow(d),f=0;f<b;f++)e.insertCell(-1);return c}(5,5);a.firstChild.appendChild(m);var n=document.createElement("div");n.style.padding="4px";n.innerHTML="1x1";a.firstChild.appendChild(n);mxEvent.addGestureListeners(m,null,null,mxUtils.bind(this,function(a){var b=\r\nf(a);null!=g&&null!=h&&b&&(c(a,h.sectionRowIndex+1,g.cellIndex+1,k.checked,l.checked),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(m,"mouseover",f)};\r\nMenus.prototype.edgeStyleChange=function(a,c,d,b,f,e,h){return this.showIconOnly(a.addItem(c,null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph;a.stopEditing(!1);a.getModel().beginUpdate();try{for(var c=a.getSelectionCells(),e=[],f=0;f<c.length;f++){var n=c[f];if(a.getModel().isEdge(n)){if(h){var p=a.getCellGeometry(n);null!=p&&(p=p.clone(),p.points=null,a.getModel().setGeometry(n,p))}for(var t=0;t<d.length;t++)a.setCellStyles(d[t],b[t],[n]);e.push(n)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",\r\n"keys",d,"values",b,"cells",e))}finally{a.getModel().endUpdate()}}),e,f))};Menus.prototype.showIconOnly=function(a){var c=a.getElementsByTagName("td");for(i=0;i<c.length;i++)"mxPopupMenuItem"==c[i].getAttribute("class")&&(c[i].style.display="none");return a};\r\nMenus.prototype.styleChange=function(a,c,d,b,f,e,h,g,k){var l=this.createStyleChangeFunction(d,b);a=a.addItem(c,null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph;null!=h&&a.cellEditor.isContentEditing()?h():l(g)}),e,f);k&&this.showIconOnly(a);return a};\r\nMenus.prototype.createStyleChangeFunction=function(a,c){return mxUtils.bind(this,function(d){var b=this.editorUi.editor.graph;b.stopEditing(!1);b.getModel().beginUpdate();try{for(var f=b.getEditableCells(b.getSelectionCells()),e=!1,h=0;h<a.length;h++)if(b.setCellStyles(a[h],c[h],f),a[h]==mxConstants.STYLE_ALIGN&&b.updateLabelElements(f,function(a){a.removeAttribute("align");a.style.textAlign=null}),a[h]==mxConstants.STYLE_FONTFAMILY||"fontSource"==a[h])e=!0;if(e)for(e=0;e<f.length;e++)0==b.model.getChildCount(f[e])&&\r\nb.autoSizeCell(f[e],!1);null!=d&&d();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",a,"values",c,"cells",f))}finally{b.getModel().endUpdate()}})};\r\nMenus.prototype.promptChange=function(a,c,d,b,f,e,h,g,k){return a.addItem(c,null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph,c=b,e=a.getView().getState(a.getSelectionCell());null!=e&&(c=e.style[f]||c);c=new FilenameDialog(this.editorUi,c,mxResources.get("apply"),mxUtils.bind(this,function(b){if(null!=b&&0<b.length){a.getModel().beginUpdate();try{a.stopEditing(!1),a.setCellStyles(f,b)}finally{a.getModel().endUpdate()}null!=g&&g(b)}}),mxResources.get("enterValue")+(0<d.length?" "+\r\nd:""));this.editorUi.showDialog(c.container,300,80,!0,!0);c.init()}),e,k,h)};\r\nMenus.prototype.pickColor=function(a,c,d){var b=this.editorUi.editor.graph,f=226+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));if(null!=c&&b.cellEditor.isContentEditing()){var e=b.cellEditor.saveSelection();a=new ColorDialog(this.editorUi,d||"000000",mxUtils.bind(this,function(a){b.cellEditor.restoreSelection(e);document.execCommand(c,!1,a!=mxConstants.NONE?a:"transparent")}),function(){b.cellEditor.restoreSelection(e)});this.editorUi.showDialog(a.container,\r\n230,f,!0,!0);a.init()}else{null==this.colorDialog&&(this.colorDialog=new ColorDialog(this.editorUi));this.colorDialog.currentColorKey=a;d=b.getView().getState(b.getSelectionCell());var h="none";null!=d&&(h=d.style[a]||h);"none"==h?(h="ffffff",this.colorDialog.picker.fromString("ffffff"),this.colorDialog.colorInput.value="none"):this.colorDialog.picker.fromString(h);this.editorUi.showDialog(this.colorDialog.container,230,f,!0,!0);this.colorDialog.init()}};\r\nMenus.prototype.toggleStyle=function(a,c){var d=this.editorUi.editor.graph,b=d.toggleCellStyles(a,c);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[a],"values",[b],"cells",d.getSelectionCells()))};\r\nMenus.prototype.addMenuItem=function(a,c,d,b,f,e){var h=this.editorUi.actions.get(c);return null!=h&&(a.showDisabled||h.isEnabled())&&h.visible?(c=a.addItem(e||h.label,null,function(a){h.funct(b,a)},d,f,h.isEnabled()),h.toggleAction&&h.isSelected()&&a.addCheckmark(c,Editor.checkmarkImage),this.addShortcut(c,h),c):null};\r\nMenus.prototype.addShortcut=function(a,c){if(null!=c.shortcut){var d=a.firstChild.nextSibling.nextSibling,b=document.createElement("span");b.style.color="gray";mxUtils.write(b,c.shortcut);d.appendChild(b)}};Menus.prototype.addMenuItems=function(a,c,d,b,f){for(var e=0;e<c.length;e++)"-"==c[e]?a.addSeparator(d):this.addMenuItem(a,c[e],d,b,null!=f?f[e]:null)};\r\nMenus.prototype.createPopupMenu=function(a,c,d){a.smartSeparators=!0;this.addPopupMenuHistoryItems(a,c,d);this.addPopupMenuEditItems(a,c,d);this.addPopupMenuStyleItems(a,c,d);this.addPopupMenuArrangeItems(a,c,d);this.addPopupMenuCellItems(a,c,d);this.addPopupMenuSelectionItems(a,c,d)};Menus.prototype.addPopupMenuHistoryItems=function(a,c,d){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["undo","redo"],null,d)};\r\nMenus.prototype.addPopupMenuEditItems=function(a,c,d){this.editorUi.editor.graph.isSelectionEmpty()?this.addMenuItems(a,["pasteHere"],null,d):this.addMenuItems(a,"delete - cut copy - duplicate".split(" "),null,d)};Menus.prototype.addPopupMenuStyleItems=function(a,c,d){1==this.editorUi.editor.graph.getSelectionCount()?this.addMenuItems(a,["-","setAsDefaultStyle"],null,d):this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","clearDefaultStyle"],null,d)};\r\nMenus.prototype.addPopupMenuArrangeItems=function(a,c,d){var b=this.editorUi.editor.graph;0<b.getEditableCells(b.getSelectionCells()).length&&(this.addMenuItems(a,["-","toFront","toBack"],null,d),1==b.getSelectionCount()&&this.addMenuItems(a,["bringForward","sendBackward"],null,d));1<b.getSelectionCount()?this.addMenuItems(a,["-","group"],null,d):1==b.getSelectionCount()&&!b.getModel().isEdge(c)&&!b.isSwimlane(c)&&0<b.getModel().getChildCount(c)&&b.isCellEditable(c)&&this.addMenuItems(a,["-","ungroup"],\r\nnull,d)};\r\nMenus.prototype.addPopupMenuCellItems=function(a,c,d){var b=this.editorUi.editor.graph;c=b.getSelectionCell();var f=b.view.getState(c);a.addSeparator();if(null!=f){var e=!1;1==b.getSelectionCount()&&b.getModel().isEdge(c)&&(a.addSeparator(),this.addSubmenu("line",a));if(b.getModel().isEdge(c)&&"entityRelationEdgeStyle"!=mxUtils.getValue(f.style,mxConstants.STYLE_EDGE,null)&&"arrow"!=mxUtils.getValue(f.style,mxConstants.STYLE_SHAPE,null)){var e=b.selectionCellsHandler.getHandler(c),h=!1;if(e instanceof mxEdgeHandler&&\r\nnull!=e.bends&&2<e.bends.length){var h=e.getHandleForEvent(b.updateMouseEvent(new mxMouseEvent(d))),g=this.editorUi.actions.get("removeWaypoint");g.handler=e;g.index=h;h=0<h&&h<e.bends.length-1}a.addSeparator();this.addMenuItem(a,"turn",null,d,null,mxResources.get("reverse"));this.addMenuItems(a,[h?"removeWaypoint":"addWaypoint"],null,d);e=b.getModel().getGeometry(c);e=null!=e&&null!=e.points&&0<e.points.length}1==b.getSelectionCount()&&(e||b.getModel().isVertex(c)&&0<b.getModel().getEdgeCount(c))&&\r\nthis.addMenuItems(a,["-","clearWaypoints"],null,d);1==b.getSelectionCount()&&b.isCellEditable(b.getSelectionCell())&&(this.addMenuItems(a,["-","editStyle","editData","editLink"],null,d),b.getModel().isVertex(c)&&null!=mxUtils.getValue(f.style,mxConstants.STYLE_IMAGE,null)&&(a.addSeparator(),this.addMenuItem(a,"image",null,d).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"..."))}};\r\nMenus.prototype.addPopupMenuSelectionItems=function(a,c,d){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","selectVertices","selectEdges","selectAll"],null,d)};Menus.prototype.createMenubar=function(a){for(var c=new Menubar(this.editorUi,a),d=this.defaultMenuItems,b=0;b<d.length;b++)mxUtils.bind(this,function(a){var e=c.addMenu(mxResources.get(d[b]),mxUtils.bind(this,function(){a.funct.apply(this,arguments)}));this.menuCreated(a,e)})(this.get(d[b]));return c};\r\nMenus.prototype.menuCreated=function(a,c,d){null!=c&&(d=null!=d?d:"geItem",a.addListener("stateChanged",function(){(c.enabled=a.enabled)?(c.className=d,8==document.documentMode&&(c.style.color="")):(c.className=d+" mxDisabled",8==document.documentMode&&(c.style.color="#c3c3c3"))}))};function Menubar(a,c){this.editorUi=a;this.container=c}Menubar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};\r\nMenubar.prototype.addMenu=function(a,c,d){var b=document.createElement("a");b.className="geItem";mxUtils.write(b,a);this.addMenuHandler(b,c);null!=d?this.container.insertBefore(b,d):this.container.appendChild(b);return b};\r\nMenubar.prototype.addMenuHandler=function(a,c){if(null!=c){var d=!0,b=mxUtils.bind(this,function(b){if(d&&null==a.enabled||a.enabled){this.editorUi.editor.graph.popupMenuHandler.hideMenu();var e=new mxPopupMenu(c);e.div.className+=" geMenubarMenu";e.smartSeparators=!0;e.showDisabled=!0;e.autoExpand=!0;e.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(e,arguments);this.editorUi.resetCurrentMenu();e.destroy()});var f=mxUtils.getOffset(a);e.popup(f.x,f.y+a.offsetHeight,null,\r\nb);this.editorUi.setCurrentMenu(e,a)}mxEvent.consume(b)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(c){null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=a&&(this.editorUi.hideCurrentMenu(),b(c))}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(b){d=this.currentElt!=a;b.preventDefault()}));mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){b(a);d=!0}))}};Menubar.prototype.destroy=function(){};\r\nfunction Menu(a,c){mxEventSource.call(this);this.funct=a;this.enabled=null!=c?c:!0}mxUtils.extend(Menu,mxEventSource);Menu.prototype.isEnabled=function(){return this.enabled};Menu.prototype.setEnabled=function(a){this.enabled!=a&&(this.enabled=a,this.fireEvent(new mxEventObject("stateChanged")))};Menu.prototype.execute=function(a,c){this.funct(a,c)};EditorUi.prototype.createMenus=function(){return new Menus(this)};function Toolbar(a,c){this.editorUi=a;this.container=c;this.staticElements=[];this.init();this.gestureHandler=mxUtils.bind(this,function(a){null!=this.editorUi.currentMenu&&mxEvent.getSource(a)!=this.editorUi.currentMenu.div&&this.hideMenu()});mxEvent.addGestureListeners(document,this.gestureHandler)}\r\nToolbar.prototype.dropdownImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQANAIABAHt7e////yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCREM1NkJFMjE0NEMxMUU1ODk1Q0M5MjQ0MTA4QjNDMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCREM1NkJFMzE0NEMxMUU1ODk1Q0M5MjQ0MTA4QjNDMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkQzOUMzMjZCMTQ0QjExRTU4OTVDQzkyNDQxMDhCM0MxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkQzOUMzMjZDMTQ0QjExRTU4OTVDQzkyNDQxMDhCM0MxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7":IMAGE_PATH+\r\n"/dropdown.gif";Toolbar.prototype.dropdownImageHtml=\'<img border="0" style="position:absolute;right:4px;top:\'+(EditorUi.compactUi?6:8)+\'px;" src="\'+Toolbar.prototype.dropdownImage+\'" valign="middle"/>\';Toolbar.prototype.selectedBackground="#d0d0d0";Toolbar.prototype.unselectedBackground="none";Toolbar.prototype.staticElements=null;\r\nToolbar.prototype.init=function(){var a=screen.width,a=a-(740<screen.height?56:0);if(700<=a){var c=this.addMenu("",mxResources.get("view")+" ("+mxResources.get("panTooltip")+")",!0,"viewPanels",null,!0);this.addDropDownArrow(c,"geSprite-formatpanel",38,50,-4,-3,36,-8);this.addSeparator()}var d=this.addMenu("",mxResources.get("zoom")+" (Alt+Mousewheel)",!0,"viewZoom",null,!0);d.showDisabled=!0;d.style.whiteSpace="nowrap";d.style.position="relative";d.style.overflow="hidden";d.style.width=EditorUi.compactUi?\r\n"50px":"36px";420<=a&&(this.addSeparator(),c=this.addItems(["zoomIn","zoomOut"]),c[0].setAttribute("title",mxResources.get("zoomIn")+" ("+this.editorUi.actions.get("zoomIn").shortcut+")"),c[1].setAttribute("title",mxResources.get("zoomOut")+" ("+this.editorUi.actions.get("zoomOut").shortcut+")"));this.updateZoom=mxUtils.bind(this,function(){d.innerHTML=Math.round(100*this.editorUi.editor.graph.view.scale)+"%"+this.dropdownImageHtml;EditorUi.compactUi&&(d.getElementsByTagName("img")[0].style.right=\r\n"1px",d.getElementsByTagName("img")[0].style.top="5px")});this.editorUi.editor.graph.view.addListener(mxEvent.EVENT_SCALE,this.updateZoom);this.editorUi.editor.addListener("resetGraphView",this.updateZoom);c=this.addItems(["-","undo","redo"]);c[1].setAttribute("title",mxResources.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");c[2].setAttribute("title",mxResources.get("redo")+" ("+this.editorUi.actions.get("redo").shortcut+")");320<=a&&(c=this.addItems(["-","delete"]),c[1].setAttribute("title",\r\nmxResources.get("delete")+" ("+this.editorUi.actions.get("delete").shortcut+")"));550<=a&&this.addItems(["-","toFront","toBack"]);740<=a&&(this.addItems(["-","fillColor"]),780<=a&&(this.addItems(["strokeColor"]),820<=a&&this.addItems(["shadow"])));400<=a&&(this.addSeparator(),440<=a&&(this.edgeShapeMenu=this.addMenuFunction("",mxResources.get("connection"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_SHAPE,"width"],[null,null],"geIcon geSprite geSprite-connection",\r\nnull,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_SHAPE,"width"],["link",null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_SHAPE,"width"],["flexArrow",null],"geIcon geSprite geSprite-arrow",null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_SHAPE,"width"],["arrow",\r\nnull],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),this.addDropDownArrow(this.edgeShapeMenu,"geSprite-connection",44,50,0,0,22,-4)),this.edgeStyleMenu=this.addMenuFunction("geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",\r\nmxResources.get("straight"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",\r\nnull,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title",mxResources.get("simple"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",\r\nnull,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",mxResources.get("isometric"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,\r\nmxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation"))})),this.addDropDownArrow(this.edgeStyleMenu,"geSprite-orthogonal",44,50,0,0,22,-4));this.addSeparator();\r\na=this.addMenu("",mxResources.get("insert")+" ("+mxResources.get("doubleClickTooltip")+")",!0,"insert",null,!0);this.addDropDownArrow(a,"geSprite-plus",38,48,-4,-3,36,-8);this.addTableDropDown()};\r\nToolbar.prototype.addTableDropDown=function(){this.addSeparator();var a=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(a){var b=this.editorUi.editor.graph,c=b.getSelectionCell();if(b.isTableCell(c)||b.isTableRow(c)||b.isTable(c)){var d=a.addItem("",null,mxUtils.bind(this,function(){try{b.insertTableColumn(c,!0)}catch(h){this.editorUi.handleError(h)}}),null,"geIcon geSprite geSprite-insertcolumnbefore");d.setAttribute("title",mxResources.get("insertColumnBefore"));\r\nd=a.addItem("",null,mxUtils.bind(this,function(){try{b.insertTableColumn(c,!1)}catch(h){this.editorUi.handleError(h)}}),null,"geIcon geSprite geSprite-insertcolumnafter");d.setAttribute("title",mxResources.get("insertColumnAfter"));d=a.addItem("Delete column",null,mxUtils.bind(this,function(){if(null!=c)try{b.deleteTableColumn(c)}catch(h){this.editorUi.handleError(h)}}),null,"geIcon geSprite geSprite-deletecolumn");d.setAttribute("title",mxResources.get("deleteColumn"));d=a.addItem("",null,mxUtils.bind(this,\r\nfunction(){try{b.insertTableRow(c,!0)}catch(h){this.editorUi.handleError(h)}}),null,"geIcon geSprite geSprite-insertrowbefore");d.setAttribute("title",mxResources.get("insertRowBefore"));d=a.addItem("",null,mxUtils.bind(this,function(){try{b.insertTableRow(c,!1)}catch(h){this.editorUi.handleError(h)}}),null,"geIcon geSprite geSprite-insertrowafter");d.setAttribute("title",mxResources.get("insertRowAfter"));d=a.addItem("",null,mxUtils.bind(this,function(){try{b.deleteTableRow(c)}catch(h){this.editorUi.handleError(h)}}),\r\nnull,"geIcon geSprite geSprite-deleterow");d.setAttribute("title",mxResources.get("deleteRow"))}else this.editorUi.menus.addInsertTableCellItem(a)}));a.style.position="relative";a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.innerHTML=\'<div class="geSprite geSprite-table" style="margin-left:-2px;"></div>\'+this.dropdownImageHtml;a.style.width="30px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left="22px",a.getElementsByTagName("img")[0].style.top="5px");var c=this.editorUi.menus.get("insert");\r\nnull!=c&&"function"===typeof a.setEnabled&&c.addListener("stateChanged",function(){a.setEnabled(c.enabled)});return a};\r\nToolbar.prototype.addDropDownArrow=function(a,c,d,b,f,e,h,g){f=EditorUi.compactUi?f:g;a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.position="relative";a.innerHTML=\'<div class="geSprite \'+c+\'" style="margin-left:\'+f+"px;margin-top:"+e+\'px;"></div>\'+this.dropdownImageHtml;a.style.width=b-(null!=h?h:32)+"px";EditorUi.compactUi&&(a.getElementsByTagName("img")[0].style.left="24px",a.getElementsByTagName("img")[0].style.top="5px",a.style.width=d-10+"px")};\r\nToolbar.prototype.setFontName=function(a){null!=this.fontMenu&&(this.fontMenu.innerHTML=\'<div style="width:60px;overflow:hidden;display:inline-block;">\'+mxUtils.htmlEntities(a)+"</div>"+this.dropdownImageHtml)};Toolbar.prototype.setFontSize=function(a){null!=this.sizeMenu&&(this.sizeMenu.innerHTML=\'<div style="width:24px;overflow:hidden;display:inline-block;">\'+mxUtils.htmlEntities(a)+"</div>"+this.dropdownImageHtml)};\r\nToolbar.prototype.createTextToolbar=function(){var a=this.editorUi.editor.graph,c=this.addMenu("",mxResources.get("style"),!0,"formatBlock");c.style.position="relative";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.innerHTML=mxResources.get("style")+this.dropdownImageHtml;EditorUi.compactUi&&(c.style.paddingRight="18px",c.getElementsByTagName("img")[0].style.right="1px",c.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.fontMenu=this.addMenu("",mxResources.get("fontFamily"),\r\n!0,"fontFamily");this.fontMenu.style.position="relative";this.fontMenu.style.whiteSpace="nowrap";this.fontMenu.style.overflow="hidden";this.fontMenu.style.width="60px";this.setFontName(Menus.prototype.defaultFont);EditorUi.compactUi&&(this.fontMenu.style.paddingRight="18px",this.fontMenu.getElementsByTagName("img")[0].style.right="1px",this.fontMenu.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.sizeMenu=this.addMenu(Menus.prototype.defaultFontSize,mxResources.get("fontSize"),\r\n!0,"fontSize");this.sizeMenu.style.position="relative";this.sizeMenu.style.whiteSpace="nowrap";this.sizeMenu.style.overflow="hidden";this.sizeMenu.style.width="24px";this.setFontSize(Menus.prototype.defaultFontSize);EditorUi.compactUi&&(this.sizeMenu.style.paddingRight="18px",this.sizeMenu.getElementsByTagName("img")[0].style.right="1px",this.sizeMenu.getElementsByTagName("img")[0].style.top="5px");c=this.addItems("- undo redo - bold italic underline".split(" "));c[1].setAttribute("title",mxResources.get("undo")+\r\n" ("+this.editorUi.actions.get("undo").shortcut+")");c[2].setAttribute("title",mxResources.get("redo")+" ("+this.editorUi.actions.get("redo").shortcut+")");c[4].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");c[5].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");c[6].setAttribute("title",mxResources.get("underline")+" ("+this.editorUi.actions.get("underline").shortcut+")");c=this.addMenuFunction("",\r\nmxResources.get("align"),!1,mxUtils.bind(this,function(b){d=b.addItem("",null,mxUtils.bind(this,function(b){a.cellEditor.alignText(mxConstants.ALIGN_LEFT,b)}),null,"geIcon geSprite geSprite-left");d.setAttribute("title",mxResources.get("left"));d=b.addItem("",null,mxUtils.bind(this,function(b){a.cellEditor.alignText(mxConstants.ALIGN_CENTER,b)}),null,"geIcon geSprite geSprite-center");d.setAttribute("title",mxResources.get("center"));d=b.addItem("",null,mxUtils.bind(this,function(b){a.cellEditor.alignText(mxConstants.ALIGN_RIGHT,\r\nb)}),null,"geIcon geSprite geSprite-right");d.setAttribute("title",mxResources.get("right"));d=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyfull",!1,null)}),null,"geIcon geSprite geSprite-justifyfull");d.setAttribute("title",mxResources.get("justifyfull"));d=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}),null,"geIcon geSprite geSprite-orderedlist");d.setAttribute("title",mxResources.get("numberedList"));d=b.addItem("",\r\nnull,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}),null,"geIcon geSprite geSprite-unorderedlist");d.setAttribute("title",mxResources.get("bulletedList"));d=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}),null,"geIcon geSprite geSprite-outdent");d.setAttribute("title",mxResources.get("decreaseIndent"));d=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("indent",!1,null)}),null,"geIcon geSprite geSprite-indent");\r\nd.setAttribute("title",mxResources.get("increaseIndent"))}));c.style.position="relative";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.innerHTML=\'<div class="geSprite geSprite-left" style="margin-left:-2px;"></div>\'+this.dropdownImageHtml;c.style.width="30px";EditorUi.compactUi&&(c.getElementsByTagName("img")[0].style.left="22px",c.getElementsByTagName("img")[0].style.top="5px");c=this.addMenuFunction("",mxResources.get("format"),!1,mxUtils.bind(this,function(a){d=a.addItem("",null,this.editorUi.actions.get("subscript").funct,\r\nnull,"geIcon geSprite geSprite-subscript");d.setAttribute("title",mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)");d=a.addItem("",null,this.editorUi.actions.get("superscript").funct,null,"geIcon geSprite geSprite-superscript");d.setAttribute("title",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)");d=a.addItem("",null,this.editorUi.actions.get("fontColor").funct,null,"geIcon geSprite geSprite-fontcolor");d.setAttribute("title",mxResources.get("fontColor"));d=a.addItem("",null,this.editorUi.actions.get("backgroundColor").funct,\r\nnull,"geIcon geSprite geSprite-fontbackground");d.setAttribute("title",mxResources.get("backgroundColor"));d=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}),null,"geIcon geSprite geSprite-removeformat");d.setAttribute("title",mxResources.get("removeFormat"))}));c.style.position="relative";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.innerHTML=\'<div class="geSprite geSprite-dots" style="margin-left:-2px;"></div>\'+this.dropdownImageHtml;c.style.width=\r\n"30px";EditorUi.compactUi&&(c.getElementsByTagName("img")[0].style.left="22px",c.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.addButton("geIcon geSprite geSprite-code",mxResources.get("html"),function(){a.cellEditor.toggleViewMode();0<a.cellEditor.textarea.innerHTML.length&&("&nbsp;"!=a.cellEditor.textarea.innerHTML||!a.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",!1,null)})});this.addSeparator();c=this.addMenuFunction("",mxResources.get("insert"),\r\n!0,mxUtils.bind(this,function(a){a.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));a.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));a.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",!1,null)}))}));c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.position="relative";c.innerHTML=\r\n\'<div class="geSprite geSprite-plus" style="margin-left:-4px;margin-top:-3px;"></div>\'+this.dropdownImageHtml;c.style.width="16px";EditorUi.compactUi&&(c.getElementsByTagName("img")[0].style.left="24px",c.getElementsByTagName("img")[0].style.top="5px",c.style.width="30px");this.addSeparator();var d=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(b){var c=a.getSelectedElement(),d=a.getParentByNames(c,["TD","TH"],a.cellEditor.text2),h=a.getParentByName(c,\r\n"TR",a.cellEditor.text2);if(null==h)this.editorUi.menus.addInsertTableItem(b);else{var g=a.getParentByName(h,"TABLE",a.cellEditor.text2),c=b.addItem("",null,mxUtils.bind(this,function(){try{a.selectNode(a.insertColumn(g,null!=d?d.cellIndex:0))}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-insertcolumnbefore");c.setAttribute("title",mxResources.get("insertColumnBefore"));c=b.addItem("",null,mxUtils.bind(this,function(){try{a.selectNode(a.insertColumn(g,null!=d?d.cellIndex+\r\n1:-1))}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-insertcolumnafter");c.setAttribute("title",mxResources.get("insertColumnAfter"));c=b.addItem("Delete column",null,mxUtils.bind(this,function(){if(null!=d)try{a.deleteColumn(g,d.cellIndex)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-deletecolumn");c.setAttribute("title",mxResources.get("deleteColumn"));c=b.addItem("",null,mxUtils.bind(this,function(){try{a.selectNode(a.insertRow(g,h.sectionRowIndex))}catch(k){this.editorUi.handleError(k)}}),\r\nnull,"geIcon geSprite geSprite-insertrowbefore");c.setAttribute("title",mxResources.get("insertRowBefore"));c=b.addItem("",null,mxUtils.bind(this,function(){try{a.selectNode(a.insertRow(g,h.sectionRowIndex+1))}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-insertrowafter");c.setAttribute("title",mxResources.get("insertRowAfter"));c=b.addItem("",null,mxUtils.bind(this,function(){try{a.deleteRow(g,h.sectionRowIndex)}catch(k){this.editorUi.handleError(k)}}),null,"geIcon geSprite geSprite-deleterow");\r\nc.setAttribute("title",mxResources.get("deleteRow"));c=b.addItem("",null,mxUtils.bind(this,function(){var a=g.style.borderColor.replace(/\\brgb\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){null==a||a==mxConstants.NONE?(g.removeAttribute("border"),g.style.border="",g.style.borderCollapse=""):(g.setAttribute("border",\r\n"1"),g.style.border="1px solid "+a,g.style.borderCollapse="collapse")})}),null,"geIcon geSprite geSprite-strokecolor");c.setAttribute("title",mxResources.get("borderColor"));c=b.addItem("",null,mxUtils.bind(this,function(){var a=g.style.backgroundColor.replace(/\\brgb\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)/g,function(a,b,c,d){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){g.style.backgroundColor=\r\nnull==a||a==mxConstants.NONE?"":a})}),null,"geIcon geSprite geSprite-fillcolor");c.setAttribute("title",mxResources.get("backgroundColor"));c=b.addItem("",null,mxUtils.bind(this,function(){var a=g.getAttribute("cellPadding")||0,a=new FilenameDialog(this.editorUi,a,mxResources.get("apply"),mxUtils.bind(this,function(a){null!=a&&0<a.length?g.setAttribute("cellPadding",a):g.removeAttribute("cellPadding")}),mxResources.get("spacing"));this.editorUi.showDialog(a.container,300,80,!0,!0);a.init()}),null,\r\n"geIcon geSprite geSprite-fit");c.setAttribute("title",mxResources.get("spacing"));c=b.addItem("",null,mxUtils.bind(this,function(){g.setAttribute("align","left")}),null,"geIcon geSprite geSprite-left");c.setAttribute("title",mxResources.get("left"));c=b.addItem("",null,mxUtils.bind(this,function(){g.setAttribute("align","center")}),null,"geIcon geSprite geSprite-center");c.setAttribute("title",mxResources.get("center"));c=b.addItem("",null,mxUtils.bind(this,function(){g.setAttribute("align","right")}),\r\nnull,"geIcon geSprite geSprite-right");c.setAttribute("title",mxResources.get("right"))}}));d.style.position="relative";d.style.whiteSpace="nowrap";d.style.overflow="hidden";d.innerHTML=\'<div class="geSprite geSprite-table" style="margin-left:-2px;"></div>\'+this.dropdownImageHtml;d.style.width="30px";EditorUi.compactUi&&(d.getElementsByTagName("img")[0].style.left="22px",d.getElementsByTagName("img")[0].style.top="5px")};Toolbar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};\r\nToolbar.prototype.addMenu=function(a,c,d,b,f,e,h){var g=this.editorUi.menus.get(b),k=this.addMenuFunction(a,c,d,function(){g.funct.apply(g,arguments)},f,e);h||"function"!==typeof k.setEnabled||g.addListener("stateChanged",function(){k.setEnabled(g.enabled)});return k};Toolbar.prototype.addMenuFunction=function(a,c,d,b,f,e){return this.addMenuFunctionInContainer(null!=f?f:this.container,a,c,d,b,e)};\r\nToolbar.prototype.addMenuFunctionInContainer=function(a,c,d,b,f,e){c=b?this.createLabel(c):this.createButton(c);this.initElement(c,d);this.addMenuHandler(c,b,f,e);a.appendChild(c);return c};Toolbar.prototype.addSeparator=function(a){a=null!=a?a:this.container;var c=document.createElement("div");c.className="geSeparator";a.appendChild(c);return c};\r\nToolbar.prototype.addItems=function(a,c,d){for(var b=[],f=0;f<a.length;f++){var e=a[f];"-"==e?b.push(this.addSeparator(c)):b.push(this.addItem("geSprite-"+e.toLowerCase(),e,c,d))}return b};Toolbar.prototype.addItem=function(a,c,d,b){var f=this.editorUi.actions.get(c),e=null;null!=f&&(c=f.label,null!=f.shortcut&&(c+=" ("+f.shortcut+")"),e=this.addButton(a,c,f.funct,d),b||"function"!==typeof e.setEnabled||(e.setEnabled(f.enabled),f.addListener("stateChanged",function(){e.setEnabled(f.enabled)})));return e};\r\nToolbar.prototype.addButton=function(a,c,d,b){a=this.createButton(a);b=null!=b?b:this.container;this.initElement(a,c);this.addClickHandler(a,d);b.appendChild(a);return a};Toolbar.prototype.initElement=function(a,c){null!=c&&a.setAttribute("title",c);this.addEnabledState(a)};Toolbar.prototype.addEnabledState=function(a){var c=a.className;a.setEnabled=function(d){a.enabled=d;a.className=d?c:c+" mxDisabled"};a.setEnabled(!0)};\r\nToolbar.prototype.addClickHandler=function(a,c){null!=c&&(mxEvent.addListener(a,"click",function(d){a.enabled&&c(d);mxEvent.consume(d)}),mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()})))};Toolbar.prototype.createButton=function(a){var c=document.createElement("a");c.className="geButton";var d=document.createElement("div");null!=a&&(d.className="geSprite "+a);c.appendChild(d);return c};\r\nToolbar.prototype.createLabel=function(a,c){var d=document.createElement("a");d.className="geLabel";mxUtils.write(d,a);return d};\r\nToolbar.prototype.addMenuHandler=function(a,c,d,b){if(null!=d){var f=this.editorUi.editor.graph,e=null,h=!0;mxEvent.addListener(a,"click",mxUtils.bind(this,function(g){if(h&&(null==a.enabled||a.enabled)){f.popupMenuHandler.hideMenu();e=new mxPopupMenu(d);e.div.className+=" geToolbarMenu";e.showDisabled=b;e.labels=c;e.autoExpand=!0;var k=mxUtils.getOffset(a);e.popup(k.x,k.y+a.offsetHeight,null,g);this.editorUi.setCurrentMenu(e,a);!c&&e.div.scrollHeight>e.div.clientHeight&&(e.div.style.width="40px");\r\ne.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(e,arguments);this.editorUi.resetCurrentMenu();e.destroy()});e.addListener(mxEvent.EVENT_HIDE,mxUtils.bind(this,function(){this.currentElt=null}))}h=!0;mxEvent.consume(g)}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(b){h=this.currentElt!=a;b.preventDefault()}))}};\r\nToolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.frameBorder="0";a.setAttribute("width",(Editor.useLocalStorage?640:320)+0+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+0+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorDialog=function(a,c,d,b){function f(){var b=g.value;/(^#?[a-zA-Z0-9]*$)/.test(b)?("none"!=\r\nb&&"#"!=b.charAt(0)&&(b="#"+b),ColorDialog.addRecentColor("none"!=b?b.substring(1):b,12),k(b),a.hideDialog()):a.handleError({message:mxResources.get("invalidInput")})}function e(){var a=h(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);a.style.marginBottom="8px";return a}function h(a,b,c,d){b=null!=b?b:12;var h=document.createElement("table");h.style.borderCollapse="collapse";h.setAttribute("cellspacing","0");h.style.marginBottom="20px";h.style.cellSpacing="0px";\r\nvar k=document.createElement("tbody");h.appendChild(k);for(var n=a.length/b,p=0;p<n;p++){for(var r=document.createElement("tr"),t=0;t<b;t++)(function(a){var b=document.createElement("td");b.style.border="1px solid black";b.style.padding="0px";b.style.width="16px";b.style.height="16px";null==a&&(a=c);"none"==a?b.style.background="url(\'"+Dialog.prototype.noColorImage+"\')":b.style.backgroundColor="#"+a;r.appendChild(b);null!=a&&(b.style.cursor="pointer",mxEvent.addListener(b,"click",function(){"none"==\r\na?(l.fromString("ffffff"),g.value="none"):l.fromString(a)}),mxEvent.addListener(b,"dblclick",f))})(a[p*b+t]);k.appendChild(r)}d&&(a=document.createElement("td"),a.setAttribute("title",mxResources.get("reset")),a.style.border="1px solid black",a.style.padding="0px",a.style.width="16px",a.style.height="16px",a.style.backgroundImage="url(\'"+Dialog.prototype.closeImage+"\')",a.style.backgroundPosition="center center",a.style.backgroundRepeat="no-repeat",a.style.cursor="pointer",r.appendChild(a),mxEvent.addListener(a,\r\n"click",function(){ColorDialog.resetRecentColors();h.parentNode.replaceChild(e(),h)}));m.appendChild(h);return h}this.editorUi=a;var g=document.createElement("input");g.style.marginBottom="10px";g.style.width="216px";mxClient.IS_IE&&(g.style.marginTop="10px",document.body.appendChild(g));var k=null!=d?d:this.createApplyFunction();this.init=function(){mxClient.IS_TOUCH||g.focus()};var l=new mxJSColor.color(g);l.pickerOnfocus=!1;l.showPicker();d=document.createElement("div");mxJSColor.picker.box.style.position=\r\n"relative";mxJSColor.picker.box.style.width="230px";mxJSColor.picker.box.style.height="100px";mxJSColor.picker.box.style.paddingBottom="10px";d.appendChild(mxJSColor.picker.box);var m=document.createElement("center");d.appendChild(g);mxUtils.br(d);e();var n=h(this.presetColors);n.style.marginBottom="8px";n=h(this.defaultColors);n.style.marginBottom="16px";d.appendChild(m);n=document.createElement("div");n.style.textAlign="right";n.style.whiteSpace="nowrap";var p=mxUtils.button(mxResources.get("cancel"),\r\nfunction(){a.hideDialog();null!=b&&b()});p.className="geBtn";a.editor.cancelFirst&&n.appendChild(p);var t=mxUtils.button(mxResources.get("apply"),f);t.className="geBtn gePrimaryBtn";n.appendChild(t);a.editor.cancelFirst||n.appendChild(p);null!=c&&("none"==c?(l.fromString("ffffff"),g.value="none"):l.fromString(c));d.appendChild(n);this.picker=l;this.colorInput=g;mxEvent.addListener(d,"keydown",function(c){27==c.keyCode&&(a.hideDialog(),null!=b&&b(),mxEvent.consume(c))});this.container=d};\r\nColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");\r\nColorDialog.prototype.createApplyFunction=function(){return mxUtils.bind(this,function(a){var c=this.editorUi.editor.graph;c.getModel().beginUpdate();try{c.setCellStyles(this.currentColorKey,a),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[this.currentColorKey],"values",[a],"cells",c.getSelectionCells()))}finally{c.getModel().endUpdate()}})};ColorDialog.recentColors=[];\r\nColorDialog.addRecentColor=function(a,c){null!=a&&(mxUtils.remove(a,ColorDialog.recentColors),ColorDialog.recentColors.splice(0,0,a),ColorDialog.recentColors.length>=c&&ColorDialog.recentColors.pop())};ColorDialog.resetRecentColors=function(){ColorDialog.recentColors=[]};\r\nvar AboutDialog=function(a){var c=document.createElement("div");c.setAttribute("align","center");var d=document.createElement("h3");mxUtils.write(d,mxResources.get("about")+" GraphEditor");c.appendChild(d);d=document.createElement("img");d.style.border="0px";d.setAttribute("width","176");d.setAttribute("width","151");d.setAttribute("src",IMAGE_PATH+"/logo.png");c.appendChild(d);mxUtils.br(c);mxUtils.write(c,"Powered by mxGraph "+mxClient.VERSION);mxUtils.br(c);d=document.createElement("a");d.setAttribute("href",\r\n"http://www.jgraph.com/");d.setAttribute("target","_blank");mxUtils.write(d,"www.jgraph.com");c.appendChild(d);mxUtils.br(c);mxUtils.br(c);d=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});d.className="geBtn gePrimaryBtn";c.appendChild(d);this.container=c},TextareaDialog=function(a,c,d,b,f,e,h,g,k,l,m,n,p,t){h=null!=h?h:300;g=null!=g?g:120;l=null!=l?l:!1;var r,v,u=document.createElement("table"),w=document.createElement("tbody");r=document.createElement("tr");v=document.createElement("td");\r\nv.style.fontSize="10pt";v.style.width="100px";mxUtils.write(v,c);r.appendChild(v);w.appendChild(r);r=document.createElement("tr");v=document.createElement("td");var x=document.createElement("textarea");m&&x.setAttribute("wrap","off");x.setAttribute("spellcheck","false");x.setAttribute("autocorrect","off");x.setAttribute("autocomplete","off");x.setAttribute("autocapitalize","off");mxUtils.write(x,d||"");x.style.resize="none";x.style.width=h+"px";x.style.height=g+"px";this.textarea=x;this.init=function(){x.focus();\r\nx.scrollTop=0};v.appendChild(x);r.appendChild(v);w.appendChild(r);r=document.createElement("tr");v=document.createElement("td");v.style.paddingTop="14px";v.style.whiteSpace="nowrap";v.setAttribute("align","right");null!=p&&(c=mxUtils.button(mxResources.get("help"),function(){a.editor.graph.openLink(p)}),c.className="geBtn",v.appendChild(c));if(null!=t)for(c=0;c<t.length;c++)(function(a,b){var c=mxUtils.button(a,function(a){b(a,x)});c.className="geBtn";v.appendChild(c)})(t[c][0],t[c][1]);e=mxUtils.button(e||\r\nmxResources.get("cancel"),function(){a.hideDialog();null!=f&&f()});e.className="geBtn";a.editor.cancelFirst&&v.appendChild(e);null!=k&&k(v,x);null!=b&&(k=mxUtils.button(n||mxResources.get("apply"),function(){l||a.hideDialog();b(x.value)}),k.className="geBtn gePrimaryBtn",v.appendChild(k));a.editor.cancelFirst||v.appendChild(e);r.appendChild(v);w.appendChild(r);u.appendChild(w);this.container=u},EditDiagramDialog=function(a){var c=document.createElement("div");c.style.textAlign="right";var d=document.createElement("textarea");\r\nd.setAttribute("wrap","off");d.setAttribute("spellcheck","false");d.setAttribute("autocorrect","off");d.setAttribute("autocomplete","off");d.setAttribute("autocapitalize","off");d.style.overflow="auto";d.style.resize="none";d.style.width="600px";d.style.height="360px";d.style.marginBottom="16px";d.value=mxUtils.getPrettyXml(a.editor.getGraphXml());c.appendChild(d);this.init=function(){d.focus()};Graph.fileSupport&&(d.addEventListener("dragover",function(a){a.stopPropagation();a.preventDefault()},\r\n!1),d.addEventListener("drop",function(b){b.stopPropagation();b.preventDefault();if(0<b.dataTransfer.files.length){b=b.dataTransfer.files[0];var c=new FileReader;c.onload=function(a){d.value=a.target.result};c.readAsText(b)}else d.value=a.extractGraphModelFromEvent(b)},!1));var b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});b.className="geBtn";a.editor.cancelFirst&&c.appendChild(b);var f=document.createElement("select");f.style.width="180px";f.className="geBtn";if(a.editor.graph.isEnabled()){var e=\r\ndocument.createElement("option");e.setAttribute("value","replace");mxUtils.write(e,mxResources.get("replaceExistingDrawing"));f.appendChild(e)}e=document.createElement("option");e.setAttribute("value","new");mxUtils.write(e,mxResources.get("openInNewWindow"));EditDiagramDialog.showNewWindowOption&&f.appendChild(e);a.editor.graph.isEnabled()&&(e=document.createElement("option"),e.setAttribute("value","import"),mxUtils.write(e,mxResources.get("addToExistingDrawing")),f.appendChild(e));c.appendChild(f);\r\ne=mxUtils.button(mxResources.get("ok"),function(){var b=Graph.zapGremlins(mxUtils.trim(d.value)),c=null;if("new"==f.value)a.hideDialog(),a.editor.editAsNew(b);else if("replace"==f.value){a.editor.graph.model.beginUpdate();try{a.editor.setGraphXml(mxUtils.parseXml(b).documentElement),a.hideDialog()}catch(n){c=n}finally{a.editor.graph.model.endUpdate()}}else if("import"==f.value){a.editor.graph.model.beginUpdate();try{var e=mxUtils.parseXml(b),l=new mxGraphModel;(new mxCodec(e)).decode(e.documentElement,\r\nl);var m=l.getChildren(l.getChildAt(l.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(m));a.hideDialog()}catch(n){c=n}finally{a.editor.graph.model.endUpdate()}}null!=c&&mxUtils.alert(c.message)});e.className="geBtn gePrimaryBtn";c.appendChild(e);a.editor.cancelFirst||c.appendChild(b);this.container=c};EditDiagramDialog.showNewWindowOption=!0;\r\nvar ExportDialog=function(a){function c(){var a=m.value,b=a.lastIndexOf(".");m.value=0<b?a.substring(0,b+1)+n.value:a+"."+n.value;"xml"===n.value?(p.setAttribute("disabled","true"),t.setAttribute("disabled","true"),r.setAttribute("disabled","true"),E.setAttribute("disabled","true")):(p.removeAttribute("disabled"),t.removeAttribute("disabled"),r.removeAttribute("disabled"),E.removeAttribute("disabled"));"png"===n.value||"svg"===n.value||"pdf"===n.value?x.removeAttribute("disabled"):x.setAttribute("disabled",\r\n"disabled");"png"===n.value||"jpg"===n.value||"pdf"===n.value?B.removeAttribute("disabled"):B.setAttribute("disabled","disabled");"png"===n.value?(v.removeAttribute("disabled"),u.removeAttribute("disabled")):(v.setAttribute("disabled","disabled"),u.setAttribute("disabled","disabled"))}function d(){t.style.backgroundColor=t.value*r.value>MAX_AREA||0>=t.value?"red":"";r.style.backgroundColor=t.value*r.value>MAX_AREA||0>=r.value?"red":""}var b=a.editor.graph,f=b.getGraphBounds(),e=b.view.scale,h=Math.ceil(f.width/\r\ne),g=Math.ceil(f.height/e),k,e=document.createElement("table"),l=document.createElement("tbody");e.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");f=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";k.style.width="100px";mxUtils.write(k,mxResources.get("filename")+":");f.appendChild(k);var m=document.createElement("input");m.setAttribute("value",a.editor.getOrCreateFilename());m.style.width="180px";k=document.createElement("td");k.appendChild(m);f.appendChild(k);\r\nl.appendChild(f);f=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("format")+":");f.appendChild(k);var n=document.createElement("select");n.style.width="180px";k=document.createElement("option");k.setAttribute("value","png");mxUtils.write(k,mxResources.get("formatPng"));n.appendChild(k);k=document.createElement("option");ExportDialog.showGifOption&&(k.setAttribute("value","gif"),mxUtils.write(k,mxResources.get("formatGif")),n.appendChild(k));\r\nk=document.createElement("option");k.setAttribute("value","jpg");mxUtils.write(k,mxResources.get("formatJpg"));n.appendChild(k);k=document.createElement("option");k.setAttribute("value","pdf");mxUtils.write(k,mxResources.get("formatPdf"));n.appendChild(k);k=document.createElement("option");k.setAttribute("value","svg");mxUtils.write(k,mxResources.get("formatSvg"));n.appendChild(k);ExportDialog.showXmlOption&&(k=document.createElement("option"),k.setAttribute("value","xml"),mxUtils.write(k,mxResources.get("formatXml")),\r\nn.appendChild(k));k=document.createElement("td");k.appendChild(n);f.appendChild(k);l.appendChild(f);f=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("zoom")+" (%):");f.appendChild(k);var p=document.createElement("input");p.setAttribute("type","number");p.setAttribute("value","100");p.style.width="180px";k=document.createElement("td");k.appendChild(p);f.appendChild(k);l.appendChild(f);f=document.createElement("tr");k=document.createElement("td");\r\nk.style.fontSize="10pt";mxUtils.write(k,mxResources.get("width")+":");f.appendChild(k);var t=document.createElement("input");t.setAttribute("value",h);t.style.width="180px";k=document.createElement("td");k.appendChild(t);f.appendChild(k);l.appendChild(f);f=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("height")+":");f.appendChild(k);var r=document.createElement("input");r.setAttribute("value",g);r.style.width="180px";k=document.createElement("td");\r\nk.appendChild(r);f.appendChild(k);l.appendChild(f);f=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("dpi")+":");f.appendChild(k);var v=document.createElement("select");v.style.width="180px";k=document.createElement("option");k.setAttribute("value","100");mxUtils.write(k,"100dpi");v.appendChild(k);k=document.createElement("option");k.setAttribute("value","200");mxUtils.write(k,"200dpi");v.appendChild(k);k=document.createElement("option");\r\nk.setAttribute("value","300");mxUtils.write(k,"300dpi");v.appendChild(k);k=document.createElement("option");k.setAttribute("value","400");mxUtils.write(k,"400dpi");v.appendChild(k);k=document.createElement("option");k.setAttribute("value","custom");mxUtils.write(k,mxResources.get("custom"));v.appendChild(k);var u=document.createElement("input");u.style.width="180px";u.style.display="none";u.setAttribute("value","100");u.setAttribute("type","number");u.setAttribute("min","50");u.setAttribute("step",\r\n"50");var w=!1;mxEvent.addListener(v,"change",function(){"custom"==this.value?(this.style.display="none",u.style.display="",u.focus()):(u.value=this.value,w||(p.value=this.value))});mxEvent.addListener(u,"change",function(){var a=parseInt(u.value);isNaN(a)||0>=a?u.style.backgroundColor="red":(u.style.backgroundColor="",w||(p.value=a))});k=document.createElement("td");k.appendChild(v);k.appendChild(u);f.appendChild(k);l.appendChild(f);f=document.createElement("tr");k=document.createElement("td");k.style.fontSize=\r\n"10pt";mxUtils.write(k,mxResources.get("background")+":");f.appendChild(k);var x=document.createElement("input");x.setAttribute("type","checkbox");x.checked=null==b.background||b.background==mxConstants.NONE;k=document.createElement("td");k.appendChild(x);mxUtils.write(k,mxResources.get("transparent"));f.appendChild(k);l.appendChild(f);f=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("grid")+":");f.appendChild(k);var B=document.createElement("input");\r\nB.setAttribute("type","checkbox");B.checked=!1;k=document.createElement("td");k.appendChild(B);f.appendChild(k);l.appendChild(f);f=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("borderWidth")+":");f.appendChild(k);var E=document.createElement("input");E.setAttribute("type","number");E.setAttribute("value",ExportDialog.lastBorderValue);E.style.width="180px";k=document.createElement("td");k.appendChild(E);f.appendChild(k);l.appendChild(f);\r\ne.appendChild(l);mxEvent.addListener(n,"change",c);c();mxEvent.addListener(p,"change",function(){w=!0;var a=Math.max(0,parseFloat(p.value)||100)/100;p.value=parseFloat((100*a).toFixed(2));0<h?(t.value=Math.floor(h*a),r.value=Math.floor(g*a)):(p.value="100",t.value=h,r.value=g);d()});mxEvent.addListener(t,"change",function(){var a=parseInt(t.value)/h;0<a?(p.value=parseFloat((100*a).toFixed(2)),r.value=Math.floor(g*a)):(p.value="100",t.value=h,r.value=g);d()});mxEvent.addListener(r,"change",function(){var a=\r\nparseInt(r.value)/g;0<a?(p.value=parseFloat((100*a).toFixed(2)),t.value=Math.floor(h*a)):(p.value="100",t.value=h,r.value=g);d()});f=document.createElement("tr");k=document.createElement("td");k.setAttribute("align","right");k.style.paddingTop="22px";k.colSpan=2;var G=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(p.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var c=m.value,d=n.value,e=Math.max(0,parseFloat(p.value)||100)/100,f=Math.max(0,parseInt(E.value)),\r\ng=b.background,h=Math.max(1,parseInt(u.value));if(("svg"==d||"png"==d||"pdf"==d)&&x.checked)g=null;else if(null==g||g==mxConstants.NONE)g="#ffffff";ExportDialog.lastBorderValue=f;ExportDialog.exportFile(a,c,d,g,e,f,h,B.checked)}}));G.className="geBtn gePrimaryBtn";var z=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});z.className="geBtn";a.editor.cancelFirst?(k.appendChild(z),k.appendChild(G)):(k.appendChild(G),k.appendChild(z));f.appendChild(k);l.appendChild(f);e.appendChild(l);\r\nthis.container=e};ExportDialog.lastBorderValue=0;ExportDialog.showGifOption=!0;ExportDialog.showXmlOption=!0;\r\nExportDialog.exportFile=function(a,c,d,b,f,e,h,g){g=a.editor.graph;if("xml"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),c,d);else if("svg"==d)ExportDialog.saveLocalFile(a,mxUtils.getXml(g.getSvg(b,f,e)),c,d);else{var k=g.getGraphBounds(),l=mxUtils.createXmlDocument(),m=l.createElement("output");l.appendChild(m);l=new mxXmlCanvas2D(m);l.translate(Math.floor((e/f-k.x)/g.view.scale),Math.floor((e/f-k.y)/g.view.scale));l.scale(f/g.view.scale);(new mxImageExport).drawState(g.getView().getState(g.model.root),\r\nl);m="xml="+encodeURIComponent(mxUtils.getXml(m));l=Math.ceil(k.width*f/g.view.scale+2*e);f=Math.ceil(k.height*f/g.view.scale+2*e);m.length<=MAX_REQUEST_SIZE&&l*f<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+d+"&filename="+encodeURIComponent(c)+"&bg="+(null!=b?b:"none")+"&w="+l+"&h="+f+"&"+m+"&dpi="+h)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};\r\nExportDialog.saveLocalFile=function(a,c,d,b){c.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURIComponent(c)+"&filename="+encodeURIComponent(d)+"&format="+b)).simulate(document,"_blank")):(mxUtils.alert(mxResources.get("drawingTooLarge")),mxUtils.popup(xml))};\r\nvar EditDataDialog=function(a,c){function d(){0<B.value.length?E.removeAttribute("disabled"):E.setAttribute("disabled","disabled")}var b=document.createElement("div"),f=a.editor.graph,e=f.getModel().getValue(c);if(!mxUtils.isNode(e)){var h=mxUtils.createXmlDocument().createElement("object");h.setAttribute("label",e||"");e=h}var g={};try{var k=mxUtils.getValue(a.editor.graph.getCurrentCellStyle(c),"metaData",null);null!=k&&(g=JSON.parse(k))}catch(z){}var l=new mxForm("properties");l.table.style.width=\r\n"100%";for(var m=e.attributes,n=[],p=[],t=0,r=null!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,c):null,v=function(a,b){var c=document.createElement("div");c.style.position="relative";c.style.paddingRight="20px";c.style.boxSizing="border-box";c.style.width="100%";var d=document.createElement("a"),e=mxUtils.createImage(Dialog.prototype.closeImage);e.style.height="9px";e.style.fontSize="9px";e.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";d.className="geButton";d.setAttribute("title",\r\nmxResources.get("delete"));d.style.position="absolute";d.style.top="4px";d.style.right="0px";d.style.margin="0px";d.style.width="9px";d.style.height="9px";d.style.cursor="pointer";d.appendChild(e);e=function(a){return function(){for(var b=0,c=0;c<n.length;c++){if(n[c]==a){p[c]=null;l.table.deleteRow(b+(null!=r?1:0));break}null!=p[c]&&b++}}}(b);mxEvent.addListener(d,"click",e);e=a.parentNode;c.appendChild(a);c.appendChild(d);e.appendChild(c)},h=function(a,b,c){n[a]=b;p[a]=l.addTextarea(n[t]+":",c,\r\n2);p[a].style.width="100%";0<c.indexOf("\\n")&&p[a].setAttribute("rows","2");v(p[a],b);null!=g[b]&&0==g[b].editable&&p[a].setAttribute("disabled","disabled")},k=[],u=f.getModel().getParent(c)==f.getModel().getRoot(),w=0;w<m.length;w++)!u&&"label"==m[w].nodeName||"placeholders"==m[w].nodeName||k.push({name:m[w].nodeName,value:m[w].nodeValue});k.sort(function(a,b){return a.name<b.name?-1:a.name>b.name?1:0});if(null!=r){m=document.createElement("div");m.style.width="100%";m.style.fontSize="11px";m.style.textAlign=\r\n"center";mxUtils.write(m,r);var x=l.addField(mxResources.get("id")+":",m);mxEvent.addListener(m,"dblclick",function(b){if(mxEvent.isControlDown(b)||mxEvent.isMetaDown(b))b=new FilenameDialog(a,r,mxResources.get("apply"),mxUtils.bind(this,function(b){null!=b&&0<b.length&&b!=r&&(null==f.getModel().getCell(b)?(f.getModel().cellRemoved(c),c.setId(b),r=b,x.innerHTML=mxUtils.htmlEntities(b),f.getModel().cellAdded(c)):a.handleError({message:mxResources.get("alreadyExst",[b])}))}),mxResources.get("id")),\r\na.showDialog(b.container,300,80,!0,!0),b.init()})}for(w=0;w<k.length;w++)h(t,k[w].name,k[w].value),t++;k=document.createElement("div");k.style.cssText="position:absolute;left:30px;right:30px;overflow-y:auto;top:30px;bottom:80px;";k.appendChild(l.table);h=document.createElement("div");h.style.boxSizing="border-box";h.style.paddingRight="160px";h.style.whiteSpace="nowrap";h.style.marginTop="6px";h.style.width="100%";var B=document.createElement("input");B.setAttribute("placeholder",mxResources.get("enterPropertyName"));\r\nB.setAttribute("type","text");B.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"36":"40");B.style.boxSizing="border-box";B.style.marginLeft="2px";B.style.width="100%";h.appendChild(B);k.appendChild(h);b.appendChild(k);var E=mxUtils.button(mxResources.get("addProperty"),function(){var a=B.value;if(0<a.length&&"label"!=a&&"placeholders"!=a&&0>a.indexOf(":"))try{var b=mxUtils.indexOf(n,a);if(0<=b&&null!=p[b])p[b].focus();else{e.cloneNode(!1).setAttribute(a,"");0<=b&&(n.splice(b,1),p.splice(b,1));\r\nn.push(a);var c=l.addTextarea(a+":","",2);c.style.width="100%";p.push(c);v(c,a);c.focus()}E.setAttribute("disabled","disabled");B.value=""}catch(H){mxUtils.alert(H)}else mxUtils.alert(mxResources.get("invalidName"))});this.init=function(){0<p.length?p[0].focus():B.focus()};E.setAttribute("title",mxResources.get("addProperty"));E.setAttribute("disabled","disabled");E.style.textOverflow="ellipsis";E.style.position="absolute";E.style.overflow="hidden";E.style.width="144px";E.style.right="0px";E.className=\r\n"geBtn";h.appendChild(E);k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});k.className="geBtn";h=mxUtils.button(mxResources.get("apply"),function(){try{a.hideDialog.apply(a,arguments);e=e.cloneNode(!0);for(var b=!1,d=0;d<n.length;d++)null==p[d]?e.removeAttribute(n[d]):(e.setAttribute(n[d],p[d].value),b=b||"placeholder"==n[d]&&"1"==e.getAttribute("placeholders"));b&&e.removeAttribute("label");f.getModel().setValue(c,e)}catch(y){mxUtils.alert(y)}});h.className=\r\n"geBtn gePrimaryBtn";mxEvent.addListener(B,"keyup",d);mxEvent.addListener(B,"change",d);m=document.createElement("div");m.style.cssText="position:absolute;left:30px;right:30px;text-align:right;bottom:30px;height:40px;";if(a.editor.graph.getModel().isVertex(c)||a.editor.graph.getModel().isEdge(c)){u=document.createElement("span");u.style.marginRight="10px";w=document.createElement("input");w.setAttribute("type","checkbox");w.style.marginRight="6px";"1"==e.getAttribute("placeholders")&&(w.setAttribute("checked",\r\n"checked"),w.defaultChecked=!0);mxEvent.addListener(w,"click",function(){"1"==e.getAttribute("placeholders")?e.removeAttribute("placeholders"):e.setAttribute("placeholders","1")});u.appendChild(w);mxUtils.write(u,mxResources.get("placeholders"));if(null!=EditDataDialog.placeholderHelpLink){w=document.createElement("a");w.setAttribute("href",EditDataDialog.placeholderHelpLink);w.setAttribute("title",mxResources.get("help"));w.setAttribute("target","_blank");w.style.marginLeft="8px";w.style.cursor=\r\n"help";var G=document.createElement("img");mxUtils.setOpacity(G,50);G.style.height="16px";G.style.width="16px";G.setAttribute("border","0");G.setAttribute("valign","middle");G.style.marginTop=mxClient.IS_IE11?"0px":"-4px";G.setAttribute("src",Editor.helpImage);w.appendChild(G);u.appendChild(w)}m.appendChild(u)}a.editor.cancelFirst?(m.appendChild(k),m.appendChild(h)):(m.appendChild(h),m.appendChild(k));b.appendChild(m);this.container=b};\r\nEditDataDialog.getDisplayIdForCell=function(a,c){var d=null;null!=a.editor.graph.getModel().getParent(c)&&(d=c.getId());return d};EditDataDialog.placeholderHelpLink=null;\r\nvar LinkDialog=function(a,c,d,b){var f=document.createElement("div");mxUtils.write(f,mxResources.get("editLink")+":");var e=document.createElement("div");e.className="geTitle";e.style.backgroundColor="transparent";e.style.borderColor="transparent";e.style.whiteSpace="nowrap";e.style.textOverflow="clip";e.style.cursor="default";e.style.paddingRight="20px";var h=document.createElement("input");h.setAttribute("value",c);h.setAttribute("placeholder","http://www.example.com/");h.setAttribute("type","text");\r\nh.style.marginTop="6px";h.style.width="400px";h.style.backgroundImage="url(\'"+Dialog.prototype.clearImage+"\')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="100% 50%";h.style.paddingRight="14px";c=document.createElement("div");c.setAttribute("title",mxResources.get("reset"));c.style.position="relative";c.style.left="-16px";c.style.width="12px";c.style.height="14px";c.style.cursor="pointer";c.style.display="inline-block";c.style.top="3px";c.style.background="url("+IMAGE_PATH+"/transparent.gif)";\r\nmxEvent.addListener(c,"click",function(){h.value="";h.focus()});e.appendChild(h);e.appendChild(c);f.appendChild(e);this.init=function(){h.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?h.select():document.execCommand("selectAll",!1,null)};e=document.createElement("div");e.style.marginTop="18px";e.style.textAlign="right";mxEvent.addListener(h,"keypress",function(c){13==c.keyCode&&(a.hideDialog(),b(h.value))});c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});\r\nc.className="geBtn";a.editor.cancelFirst&&e.appendChild(c);d=mxUtils.button(d,function(){a.hideDialog();b(h.value)});d.className="geBtn gePrimaryBtn";e.appendChild(d);a.editor.cancelFirst||e.appendChild(c);f.appendChild(e);this.container=f},OutlineWindow=function(a,c,d,b,f){var e=document.createElement("div");e.style.position="absolute";e.style.width="100%";e.style.height="100%";e.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),e,c,d,b,f,!0,!0);this.window.minimumSize=\r\nnew mxRectangle(0,0,80,80);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.setLocation=function(a,b){var c=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-("1"==urlParams.sketch?\r\n3:48)));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var h=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",h);var g=a.createOutline(this.window);this.destroy=function(){mxEvent.removeListener(window,"resize",h);this.window.destroy();g.destroy()};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit();g.setSuspended(!1)}));this.window.addListener(mxEvent.HIDE,\r\nmxUtils.bind(this,function(){g.setSuspended(!0)}));this.window.addListener(mxEvent.NORMALIZE,mxUtils.bind(this,function(){g.setSuspended(!1)}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){g.setSuspended(!0)}));g.init(e);var k=a.actions.get("zoomIn"),l=a.actions.get("zoomOut");mxEvent.addMouseWheelListener(function(a,b){for(var c=!1,d=mxEvent.getSource(a);null!=d;){if(d==g.svg){c=!0;break}d=d.parentNode}c&&(b?k.funct():l.funct())})},LayersWindow=function(a,c,d,b,f){function e(b){if(k.isEnabled()&&\r\nnull!=b){var c=k.convertValueToString(b),c=new FilenameDialog(a,c||mxResources.get("background"),mxResources.get("rename"),mxUtils.bind(this,function(a){null!=a&&k.cellLabelChanged(b,a)}),mxResources.get("enterName"));a.showDialog(c.container,300,100,!0,!0);c.init()}}function h(){var a=G.get(k.getLayerForCells(k.getSelectionCells()));null!=a?a.appendChild(z):null!=z.parentNode&&z.parentNode.removeChild(z)}function g(){function a(a,b,c,d){var f=document.createElement("div");f.className="geToolbarContainer";\r\nG.put(c,f);f.style.overflow="hidden";f.style.position="relative";f.style.padding="4px";f.style.height="22px";f.style.display="block";f.style.backgroundColor=Editor.isDarkMode()?Dialog.backdropColor:"whiteSmoke";f.style.borderWidth="0px 0px 1px 0px";f.style.borderColor="#c3c3c3";f.style.borderStyle="solid";f.style.whiteSpace="nowrap";f.setAttribute("title",b);var g=document.createElement("div");g.style.display="inline-block";g.style.width="100%";g.style.textOverflow="ellipsis";g.style.overflow="hidden";\r\nmxEvent.addListener(f,"dragover",function(b){b.dataTransfer.dropEffect="move";t=a;b.stopPropagation();b.preventDefault()});mxEvent.addListener(f,"dragstart",function(a){p=f;mxClient.IS_FF&&a.dataTransfer.setData("Text","<layer/>")});mxEvent.addListener(f,"dragend",function(a){null!=p&&null!=t&&k.addCell(c,k.model.root,t);t=p=null;a.stopPropagation();a.preventDefault()});var h=document.createElement("img");h.setAttribute("draggable","false");h.setAttribute("align","top");h.setAttribute("border","0");\r\nh.style.padding="4px";h.setAttribute("title",mxResources.get("lockUnlock"));var l=k.getCurrentCellStyle(c);"1"==mxUtils.getValue(l,"locked","0")?h.setAttribute("src",Dialog.prototype.lockedImage):h.setAttribute("src",Dialog.prototype.unlockedImage);k.isEnabled()&&(h.style.cursor="pointer");mxEvent.addListener(h,"click",function(a){if(k.isEnabled()){var b=null;k.getModel().beginUpdate();try{b="1"==mxUtils.getValue(l,"locked","0")?null:"1",k.setCellStyles("locked",b,[c])}finally{k.getModel().endUpdate()}"1"==\r\nb&&k.removeSelectionCells(k.getModel().getDescendants(c));mxEvent.consume(a)}});g.appendChild(h);h=document.createElement("input");h.setAttribute("type","checkbox");h.setAttribute("title",mxResources.get(k.model.isVisible(c)?"hide":"show"));h.style.marginLeft="4px";h.style.marginRight="6px";h.style.marginTop="4px";g.appendChild(h);k.model.isVisible(c)&&(h.setAttribute("checked","checked"),h.defaultChecked=!0);mxEvent.addListener(h,"click",function(a){k.model.setVisible(c,!k.model.isVisible(c));mxEvent.consume(a)});\r\nmxUtils.write(g,b);f.appendChild(g);if(k.isEnabled()){if(mxClient.IS_TOUCH||mxClient.IS_POINTER||mxClient.IS_IE&&10>document.documentMode)b=document.createElement("div"),b.style.display="block",b.style.textAlign="right",b.style.whiteSpace="nowrap",b.style.position="absolute",b.style.right="6px",b.style.top="6px",0<a&&(g=document.createElement("a"),g.setAttribute("title",mxResources.get("toBack")),g.className="geButton",g.style.cssFloat="none",g.innerHTML="&#9660;",g.style.width="14px",g.style.height=\r\n"14px",g.style.fontSize="14px",g.style.margin="0px",g.style.marginTop="-1px",b.appendChild(g),mxEvent.addListener(g,"click",function(b){k.isEnabled()&&k.addCell(c,k.model.root,a-1);mxEvent.consume(b)})),0<=a&&a<r-1&&(g=document.createElement("a"),g.setAttribute("title",mxResources.get("toFront")),g.className="geButton",g.style.cssFloat="none",g.innerHTML="&#9650;",g.style.width="14px",g.style.height="14px",g.style.fontSize="14px",g.style.margin="0px",g.style.marginTop="-1px",b.appendChild(g),mxEvent.addListener(g,\r\n"click",function(b){k.isEnabled()&&k.addCell(c,k.model.root,a+1);mxEvent.consume(b)})),f.appendChild(b);mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode)&&(f.setAttribute("draggable","true"),f.style.cursor="move")}mxEvent.addListener(f,"dblclick",function(a){var b=mxEvent.getSource(a).nodeName;"INPUT"!=b&&"IMG"!=b&&(e(c),mxEvent.consume(a))});k.getDefaultParent()==c&&(f.style.background=Editor.isDarkMode()?"#505759":"#e6eff8",f.style.fontWeight=k.isEnabled()?"bold":"",v=c);mxEvent.addListener(f,\r\n"click",function(a){k.isEnabled()&&(k.setDefaultParent(d),k.view.setCurrentRoot(null),mxEvent.isShiftDown(a)&&k.setSelectionCells(c.children),mxEvent.consume(a))});n.appendChild(f)}r=k.model.getChildCount(k.model.root);n.innerHTML="";G.clear();for(var b=r-1;0<=b;b--)mxUtils.bind(this,function(c){a(b,k.convertValueToString(c)||mxResources.get("background"),c,c)})(k.model.getChildAt(k.model.root,b));var c=k.convertValueToString(v)||mxResources.get("background");w.setAttribute("title",mxResources.get("removeIt",\r\n[c]));E.setAttribute("title",mxResources.get("duplicateIt",[c]));B.setAttribute("title",mxResources.get("editData"));k.isSelectionEmpty()&&(x.className="geButton mxDisabled");h()}var k=a.editor.graph,l=document.createElement("div");l.style.userSelect="none";l.style.background=Editor.isDarkMode()?Dialog.backdropColor:"#fff";l.style.border="1px solid whiteSmoke";l.style.height="100%";l.style.marginBottom="10px";l.style.overflow="auto";var m=EditorUi.compactUi?"26px":"30px",n=document.createElement("div");\r\nn.style.backgroundColor=Editor.isDarkMode()?Dialog.backdropColor:"#fff";n.style.position="absolute";n.style.overflow="auto";n.style.left="0px";n.style.right="0px";n.style.top="0px";n.style.bottom=parseInt(m)+7+"px";l.appendChild(n);var p=null,t=null;mxEvent.addListener(l,"dragover",function(a){a.dataTransfer.dropEffect="move";t=0;a.stopPropagation();a.preventDefault()});mxEvent.addListener(l,"drop",function(a){a.stopPropagation();a.preventDefault()});var r=null,v=null,u=document.createElement("div");\r\nu.className="geToolbarContainer";u.style.position="absolute";u.style.bottom="0px";u.style.left="0px";u.style.right="0px";u.style.height=m;u.style.overflow="hidden";u.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";u.style.backgroundColor=Editor.isDarkMode()?Dialog.backdropColor:"whiteSmoke";u.style.borderWidth="1px 0px 0px 0px";u.style.borderColor="#c3c3c3";u.style.borderStyle="solid";u.style.display="block";u.style.whiteSpace="nowrap";m=document.createElement("a");m.className="geButton";\r\nvar w=m.cloneNode();w.innerHTML=\'<div class="geSprite geSprite-delete" style="display:inline-block;"></div>\';mxEvent.addListener(w,"click",function(a){if(k.isEnabled()){k.model.beginUpdate();try{var b=k.model.root.getIndex(v);k.removeCells([v],!1);0==k.model.getChildCount(k.model.root)?(k.model.add(k.model.root,new mxCell),k.setDefaultParent(null)):0<b&&b<=k.model.getChildCount(k.model.root)?k.setDefaultParent(k.model.getChildAt(k.model.root,b-1)):k.setDefaultParent(null)}finally{k.model.endUpdate()}}mxEvent.consume(a)});\r\nk.isEnabled()||(w.className="geButton mxDisabled");u.appendChild(w);var x=m.cloneNode();x.setAttribute("title",mxUtils.trim(mxResources.get("moveSelectionTo",["..."])));x.innerHTML=\'<div class="geSprite geSprite-insert" style="display:inline-block;"></div>\';mxEvent.addListener(x,"click",function(b){if(k.isEnabled()&&!k.isSelectionEmpty()){var c=mxUtils.getOffset(x);a.showPopupMenu(mxUtils.bind(this,function(a,b){for(var c=r-1;0<=c;c--)mxUtils.bind(this,function(c){var d=a.addItem(k.convertValueToString(c)||\r\nmxResources.get("background"),null,mxUtils.bind(this,function(){k.moveCells(k.getSelectionCells(),0,0,!1,c)}),b);1==k.getSelectionCount()&&k.model.isAncestor(c,k.getSelectionCell())&&a.addCheckmark(d,Editor.checkmarkImage)})(k.model.getChildAt(k.model.root,c))}),c.x,c.y+x.offsetHeight,b)}});u.appendChild(x);var B=m.cloneNode();B.innerHTML=\'<div class="geSprite geSprite-dots" style="display:inline-block;"></div>\';B.setAttribute("title",mxResources.get("rename"));mxEvent.addListener(B,"click",function(b){k.isEnabled()&&\r\na.showDataDialog(v);mxEvent.consume(b)});k.isEnabled()||(B.className="geButton mxDisabled");u.appendChild(B);var E=m.cloneNode();E.innerHTML=\'<div class="geSprite geSprite-duplicate" style="display:inline-block;"></div>\';mxEvent.addListener(E,"click",function(a){if(k.isEnabled()){a=null;k.model.beginUpdate();try{a=k.cloneCell(v),k.cellLabelChanged(a,mxResources.get("untitledLayer")),a.setVisible(!0),a=k.addCell(a,k.model.root),k.setDefaultParent(a)}finally{k.model.endUpdate()}null==a||k.isCellLocked(a)||\r\nk.selectAll(a)}});k.isEnabled()||(E.className="geButton mxDisabled");u.appendChild(E);m=m.cloneNode();m.innerHTML=\'<div class="geSprite geSprite-plus" style="display:inline-block;"></div>\';m.setAttribute("title",mxResources.get("addLayer"));mxEvent.addListener(m,"click",function(a){if(k.isEnabled()){k.model.beginUpdate();try{var b=k.addCell(new mxCell(mxResources.get("untitledLayer")),k.model.root);k.setDefaultParent(b)}finally{k.model.endUpdate()}}mxEvent.consume(a)});k.isEnabled()||(m.className=\r\n"geButton mxDisabled");u.appendChild(m);l.appendChild(u);var G=new mxDictionary,z=document.createElement("span");z.setAttribute("title",mxResources.get("selectionOnly"));z.innerHTML="&#8226;";z.style.position="absolute";z.style.fontWeight="bold";z.style.fontSize="16pt";z.style.right="6px";z.style.top="5px";g();k.model.addListener(mxEvent.CHANGE,g);k.addListener("defaultParentChanged",g);k.selectionModel.addListener(mxEvent.CHANGE,function(){k.isSelectionEmpty()?x.className="geButton mxDisabled":x.className=\r\n"geButton";h()});this.window=new mxWindow(mxResources.get("layers"),l,c,d,b,f,!0,!0);this.window.minimumSize=new mxRectangle(0,0,120,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.init=function(){n.scrollTop=n.scrollHeight-n.clientHeight};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.refreshLayers=g;this.window.setLocation=function(a,b){var c=window.innerHeight||\r\ndocument.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-("1"==urlParams.sketch?3:48)));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var I=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,\r\n"resize",I);this.destroy=function(){mxEvent.removeListener(window,"resize",I);this.window.destroy()}};\r\n(function(){Sidebar.prototype.tagIndex="5V1dV+M6sv01rDvngax0oLvveYQEaGaAziE0PW8sxVYSDbblI9uk6V9/VVWS7ST+kB0zL3etbmIn3ltlfZRKUqkU/rpRLN6MmFJym5yM/8QL/Xnw7yLceXQ03fA3JaOTyfjCQCKZehvu66tErCMW6J9E1M4jlJcFTJWIPP1VIKK1ixj/zML4VBRiTMaf9HOKx8G7/lwy71V/ZJEv8Vv8cKea9KW646tU41nk678/4tK7SZVu5FpC9oz/TDPVnkEPJlsn4wVma1lEnVemGByy6q+M+SXkSmaQ6Vv27gJeBDzyOQDMu1ma5FVEEVBEtuokgQhdyZ62Uv/9qWWoYPRltgx4A3U970/hc6BnIuD+kdI+KbGTcelGce6ec4evOBl/k0r8llGKtWBTvulF98xVKjzEvxWXDVS/M8VHF57Hk0TDpzpxJQGScC9TIoX3euXvVV/UcWWpDFkqsCYyfaM/1ly36vGfgVhv0oiasyfh7ypgyaaBaKHl5/nThqb5VeAvZEigXx8k0AolJJUkVjo7jGBOHFOm29Se3FZin6VsyRL42V+2U90z9crTOGAeIEK8Q1UCnMlGxk4CLWb/gsflKt0y/MLnbzyQccgjaIivAjgTT/Gtr4Quf9cXXWRLjRKxyRwvkBko75hHnjisPzUkP/kyESnHtwoAtQ7kkrehL7UyzUAtLrh6E5g7Nnn9iYo2SWW8ZVr1QYsTIW8gE+ll5kHWQlXGdr/Qug1Zl/RDe2O4FL+fWPBaiJSUZGoDT6HRYT3DN9Gdgy4agY3Q59gj+iIOdAOB/MmYYlHKqYp5PMLaFHMVirSSG2XYySnnZrGHNW19JdaZoiYxGV8LbGq+9DKsT0APT3Sk1ldzXaZszQvOpfzlkndUYodytAPDOEuxuocyEqlUmM+Jbm6HevkAq0sAW8+MB9BmQJs+8HQr1Wup3G2zL6uCetJZjXKofV7J+FLnUUWtxZyLTYa20FzpV1GxEgnVdxH4JOgyS0QECr4F3z3nEUHWUQfUjUi/ZUv7tjqTGaCkl0q6Wou0Ef9tdhslUBAn9Xq4GshZkG6gTmx0m8EqvuGoYzb4iwMYdDnVMcpbS2QM3TYB3mM0Sp71/0fuSVPf7lmki1d10DN3LE6x0/CKut+GuddVgGpRyFCtc/sZYS/Cm9FySdUj3sgIPlOZeZvWNAm1o0uTXH81UO3zZEEqQDkwD5q37t+zdAOqNe/RS/aJ6Tdi5purBt73xV930PiLapT8HTTXqz2Kh7JloQ26bIlVOtAl6dIY9uBPMhbeCdgtu/ZLJeEe1XdduTSPrpc6v9+TlIf64jakMpeQ9RumQFVr3YiV3vcb+eZyy9Viw4Ogl1p+nM2xmofSyNSdYgHjnSzA6m26fu+wTKtwYM30S1LXTkxPsYp0qp+nbu8yg271r4xnWM3/hoseBI+8qttygmLlSfLhZtmsS7CZUd1Kds295iT2m4dTh7aH0qLgF2QqGo5qVVdLtHiPvIp2mdDXinvvXtBgGhLRI4/1sJs09z5TqY6sRCNVqlU+2qxPDNuRuxm20MqLmqNOO3CqHRqxEGEclC3jNtATkMOLhFZpOynrH5FAc3UlcKRsbJHvy/9wD8iylUSFJHhrrfmRYBPaZCGDZ2Mu6QXolr3prFf16OdvsxOjqyqUVPXzVEngw+g2Qrur8WehCxWnqu71sE9gv/QWnrSalK00WglxllLFX+VXVaxv1TMae7yFcRrlV2059PNiNr2+wdxh60gmKamJ7trRDvIm4xsecYXqxI7z6sQ5pICWKDHp6jFiEyjpgtLioL1lU6MmSu3VHZm0QtcI1RVNeCPPjIeKHnuZLamxJzHnNIzdyIzsV2+DJm+Y22ZVlPINS35AxuFl1Bo4nQ5IJ7PIfxyW8xzGplLgaG9BGginPqsrUhn55RCZiLoxbRn4v4dAbkYubdBLFkWoRfXYs24CvPz8lGzpNZchT1XDzN8OSEkcF8ZBhnP+1cq2jJgddJORxMmOmMX7w5A96HXzILoS882Mr/IBWqAHTcjxejheKQPvJRo3kWNuP0g0msMlzn6upFoK36/o6A6R34t5fG0RKMGiNdXSwyFVJX4R6mwE9Y+GsodSb1gcv7cCTRUWmCEx1rI2SAbsPvY2+m9QmTl7mCeBdrAdKeMnTGC24X4ylMvU3qWtzY2Yf5/QdB+kwyKPB1i9agqkwEqZJqm+HLULWY27rx0Q72mUWoass8VjGOIQHihN0cRKenQVagMsqEtZ40YXPq4geB2yGWCXNjHdvWUBLwzZJqO0hL+TVEJ2va5urbACZWbCVYXEuLKywZep5bhnERlBRuANDHRa5c1HgwZlFJY2kWnipFFzIUE+znKy+EtINIQLcbvWDo8tdUmlOANNl1A7/85EXGmvHeBG00tYB81LS0AuLBVnVATUY8Ryv9DreSbjX5/Gw7BN6qTSVmRHniapOrKd1UqFa33dmLRcn4eiO68TzJgwXYga5OrAdj+l/P+s/3w5u4BXnkOdFpGwo5wOb+7Cf+7CX/0GtfRfzjCN8YfJX05g2BeQMAv9mxwCtgIWyOwr5L/o7pR+6SJ3Fe/5QLwwr4C6BIv1fKyzpToXHJTbLiG8/GQotrMJyTgA31zp7sYz07uavDfhI0+ET93fNFPKrlqZnmkCBaS85u7Qkeu8E9ciU7jYt/Oin4Cirkdwp8G3qlPh7jTYKupVrjsR5kytjqzkeYIFXRodnI/DcJL3VsvKmexWjgEoQCsdT/N5gLf5grrxeJ6vHTm4gO6UlxdM9fCJr5VdTooZGIdRDXwVSKniAK23gL3Xr/TsPT66RK06s+5MS1xeX2UqEqZDcGRYCDPKrMfWwKV89WhCtCt0umFC9cHJWKCO87lZ93ND0Yx1Ilesax5NH5/A6H4+Kc+ulmZcK+SoYJnx5BWnwRUNUOzoqJMouyS0VN6PSOkRm10jTnAgsGXKVzQTWkNVwXMVcD3cwHzgiccCc+0iwrV+eIB8vYYrzXPHQmiE1ZMQ1dCqZe8YRowhM391K5bkoGWFgTnpJC0cvypov69W1PHZKu61VvUKlrlgOFehv8dRqYiSVFVPrFeh9R+a6FKwUKF/2DYN5EtABZqrc/t6ZBF2b+Aky+I4EDDf0hE76YPlKyXWsFCNdaYrfEHqwDPaoVMBPZl25/OkuXfYh1AuGViPJI2HzBH4syPx50fiP/fFS0ErkVp1KFpUCxjqH1AdWqWlSspDr9t9mp8sRe05lZKcAbbwhWfvXCT5uaMGgh6KpJLW1xfoBw3LaFijA7pLbA/dLBaAHq0vExEoc+vIsCVvS8dsgKfzHs2zF5UcNegfdc9XQw7LtzEBEfnVuw5qsk9o/ZpU+TG0Qy5lmqJsZZKl/bKVR1cmoRI9kMKywhvIGYGrFIq+bi/73BQ0hZ97urenL6JXo5mqakobbtIVV66p/w8gNxay1cYALkHB9QnaBuTxx//OCudewXQalev3OcXoIopkah29PmH7C415oHVru0dODdPkGKapDAJyVt7oUe06YBVuotXIfZ+gJPdtaYfWuto0odAH8LSEDeELJ+eFgmTOYjMjHzutTu3jF0WpG5cTsOdrF/oO4OA7ZEqfB4GIEzsLWN3o6/CT3nipaAhKotcVWg06C0PjypdFnnW8zKDa16wc7zM8ads4WfHympGqW4QkbMBZ9BJqM5HWi99YkIFBog0Hzio7lkrk6FpEIqHNUzdS+rD2lUqc/dJZEPYVaHSDy8bczBP5mZ0nMo6LJDO2Kt7crnZYv2dpIkqO4Lj+UwiaZGA0N9XXHbZnPaKg7UVm+cmsVbpgLwQqTBDlK2QRjYqU9WGg36q1rR4EKSmgVoQS93g0qWbzMLnj/zKeThc2Ny9xdcxvW89tJ4FBZ+TrYS822IEJJ+OfG7MBproKdaU+lm6ha0k6VD5Wkg2Rn63EH5QRvWjn4LGOw95S7TY+lo3TH5bgr0x4r7qHlmhA5xdL8inC2+X+qnIjibHk+hEt7HPJHmiPr5FDKwqa25qJBIaLoGOvda+c0H4n10rRyKPrgymjDoVVMM5x8qynOBbcSwY9gDZTfidm4q9hNigH6Zq7EjwAgaEWn4CdRLdtSHCS1yLr+oE6voukO1CwEDCn2jNsm2CDCNlvtAe2HK3BYr8H2yZ1uJHuZl7so7STbMGZwqkd6+yc2C8a0q/ngU2T1/pvyFPmk83Tn/jK+AeZjy7QxdUCkrSe3NbTqNgL40jzsEOzt6u1D9tkTG81GT/skQ2ayLenp/lHp2H3zgzG+tdOZtsNHX1oJuNi99VAhH9Z9NF0P6/LNDBfboa6fZhgGdkTPhmqg3Eaf+zelGaa70Uruxfjpw7m7dWUBlIMPOJLqqEnlbYw7m/rCMN8W4EIq3yU28lRr/00O6EP07B7pPtJPgO3BzSObqMkNTPyh4nQVpli6C+Kh7umeGXIdYrzyrTE4a54V+7GdziaNakWdy8rutDfP+5Q6uGXHqZnFasiznRQXfSQERvNwMTfZtcLB/4N88lR1Bd6tC6Wmg+3UpO1nNAGReekn+dT/fCb2QYDbrLizeyyPyxWZ8bSBMBkfKP5KJTH8MncwhpdhJEJPjKZR2kWM4anfp4/4AqMtort1M9HJXJkDjXvCa99fDR7j1goZ+Ci5eNlH6zuA1JT24fiScpErMTelfGWWtwxQgHFjjzCtuJuPPlabFdZTK9hY7OU1LD5pjsLmKV+V7LRWsksxq1hcNHhDR5nYFYqnRg0I1Y7DGhmMD12qaM7njEng52y6I//yONAG9BDsy/0hb98H4T2Hv7Q9t5BMyMPDTB4Nn9XzMNV9SGpaZMwKq/cRu6MBdc0PRqMupDoGiLfYQUGNXqIoSzglobh11Ll0aDyYCql7wahxgrlvX5sEk9cZ8huDzRQKtakbzDk+1FCGCwTPmIQ6tuLe/08bRLHSBvMs1uV8of6M2tpff8UM/Pjklg8LY7ij2R0alrmSxLrke4KNjZKlWGvuIKL9jaT+K844epjeCsbzgtnkPNwXuM/X3fC4BwyjB44eY2kUW1gqzKElvowWzyKevTim5hHprYrSXGfbPU290OwgmbZRoHEXmVmBwR7emHQ9K589FG7k96B/hk0nQWuRNKy6Ee92NUl1NrCPFkWodFqXT7dWLX8EYuTjUw/LIFnGWQh/wD6BXjF5f1UsZTtMB/UxgsRVUy8uA9OYDJGlyEbZyNpS1HacBx90z06HU8knhzZ+GJAVIo1Vl/L92CjS6WtHnxx8r5FZ4xmPbZPYWNQQGbmEnRmuZ+BSxs5k2zBqQJpskiklWy1PIuQ4XrcZbGXdyOzpNmGIhLrhZhgucX6peINVyxIRreX0Gvda5tspRgFQCo8FlPjIwyemeTOGHtHJCIiCLF1sTgfj3fTib1jX+DJSDoQaa0feE+++5K/Z4mSnEGL3N11JS8SdE9HeEraqGfFD0fVEJwXKwldJ25PbrDKdG6T+y0F1RlOcDth5Q1LnHvED0S48Kx/2FCEsd33NxRhFplVkqLAB2obiywGV+ucayDaPEbVTg7QOnlfSrsfbDAhf+w3rmPInvWoA13OtB5XbLiyp9hIlxATesgqVVuZanqbKm6MJh1Y9lBCLL9k9Gl8cwW+HVN5dYJRLrKWiYZmurNPX2FH4z9mJNcfpaWJPKJ1YKpu6aZ3cv+m5HAb00cnVoSnzXdi39v8OjrjroXiW7JZiggXhh5ecLu4/2OIdA7Ih+C08S2Hz/Mi1Fqe56VEdMY8L6Zn4/H4j64J+gKCZEl0trLXXWAjGMsGJWQg26I8EcMmW9IrrmlhBZrg+JIlHLZJUsDSTda8UlJHNIXvj2Y5Dm0N7+NY9pee1o2LUIfB7vYSCPXf0b/4OxT2bsD8RsTjfKH/6Z9VXOcwfICpjK3rhMzX9DytZOyWPLfXrWCUPg9NPwImrq4cFDp2bgze3FOyVbYDpm9SprndbD67s+TRiPMDD27nJfk83rKrqZ7X5xQq0q9YDHNhWMhV5/fLowhZv+42gEJbG6qJssvEbZBSVOXSZTsKYuja+uiYEEIglnuoh940Z5eYnsnancUvHRghyGUuRsN2kzpsWYZVmcuVBAd9W77MgSF8cWI9JZs5sAeipm0DrrRhtrqDCGj+YStWogZxgwj9oEfBAkdsCZHMvHQ0uwCj1xdrQQeRMG1SSzqzI4JDRSpiZTWQ8TCDQIm6wsMEi66wv1qClVex6HKgZJe6zcRte5SqGO6zX6dWll1JmiVrIz2g68ZgQnab6IEXIcRmwh3ZYRxAHN5hGCfHMT5dGKlkiVuP1WAvj64TsOvFLGDWJOJAP/lY+rOPooctUXaFcG5CMCa1a0AHPB6LmSeMTZjfdEePpjmWiipzbiI1JJMhSCDb6SkZvNPUfwVnB0LYx541RzxuJ/k8hFT3ptWjI2OJC8b3RVLQnYF/CSf9GYYUlJRr45LCdn5cmnOM+J+nGctEOKfpC22h0DCFPGOcUCZPT0PubViEX01O6XyqRR4tbFvn7ONCdyczP8nnzoqrvnzzLNmUx3kP0PNFsKof4FFvGGqlYWNjR/bvu+xaITXs0W3mplMCaGSq9dDgslfw95VecO/809fRxfT0YkqMuRWRmxYdiWa1RIXZ4s43G5IMY9p07mxL6Mn4UtAY33ZVfdkuC2NpZQ2orngTjbcXfnaxl7EVNqU7WUX1OZLvoBYVfDWmbgulWK24yneHH1cVriJPvce4Kh95HZSwgX8Tx5T8neyLftHFIDycVUHfSFbhqFqHRluMTCF73Rk7urVIY0gLE+jEreOr5DkbiOfzMTy0c16rX25fTSgzM38k16QXl41tRaVVG+mqHQ9Kj2tRjO4N49KlY/vbrXN4V1f3WuAjOGZmozND0lk84L9yZ3zmzFEzTpQwu8YD2B2viUbXWWKDSOkmchQHFhbnzo2qkgRHQ8tEBty9dVYSnR8lzW0QZLBgZ46HuswCmA8R9ltgtcHh8HNJD3RKA4PMUdZbLlFOtrvUhnEyICPSHGYAsR3mR598eOA4RDUx91qTOIbeVNIBkpDJiqcJlB1dnsAJOg2hOSqwoxkt5cC8PixAfV9cX8Gqx8PJzjAM7N5oP9h+T2rYzFYabfWizslupwMJu8s4qIywhoDnZ+gK/DqkqPM94mMlfji1sFJxfTppGJD3YpwMzng2OOP54IyfB2f8cgzjvK6saydCejFOBmc8G5zxfHDGz4MzfunPCEXQt3+YDK4TahiP0Ak1jEfohBrGI3RCDeMROqGG8QidMBlcJ9QwHqETahiP0Ak1jEfohBrGI3RCDWMfnSDjVL6Y+cxIeMnoK67frkNzxEEetjrhb7XHe/VlzX35Z/NSCj73REj+FIdndDml9mfNO0Si1lGgL+nuK5gEjn+Du6vZ3iiMhyK1J7EeLjJ0IJ0MTApUp8xL0fUFY+1PIThD4lH4kcAc0ZZ7fsEUO87W7k3yOaX2XX9x6sksJg8y+L2461euSImrmyKhGTR4ZOeLfsTzjUylzdYYbqqzuZbvRY8OMSAUjkF3l2M7rL3GgfcSMN/nCg7P1gX0PUvjzEbVbDt124lo0ptoAFl6SwF7LF4S3QbMsrY0LjilL47hGt08fS+aQ3tDMPNvaYbHaMjVCm4278rUQudkb2+mtp+2Z3RgWoYf/YJS812Jv/v7mYQmH57QA7rd3d5cFu+VZMFuaksRSzpcr7Lp9ktr8l9M6+y/mNb5x6Y1f5j/18prJ60PLq+dtD64vHbS+uDyAhVlI6M799fdE5h8YAK31gsPt6BVaZt6RsUp69DTk3fr9ROx1h3yS5LHHaarfvARrtguLAODtUQzBeyZU8d6kM5KpOZkDlwuH5J18iGsZwOxPmOw7TcZpG2xuxs4cH33aI5Jd5J0A/u0wKZ8oZC56GjUdHaNAwVZp8aD2xqnlQ7dlXy5uknqlI8rfmfa4p+V00n/cZ2kaqGdDEA7r5a267C7hbLPjMiWvXFYo0Y/ZnPdiBUy+ToCJYpL0l6tk/j+06MLbE6e4m3OCmUMBlbBmIwYySAVIUXwCUXkNy1blzguKWaN4jE6VDljtma3rNJVX2ak5eHgFEcCGB0nG3TrWcrDQ+wrQdSQmIkm0+0tpXzFpGTTidwVMBCtiEwAsXob3RfLWCX4ypxyl0oZVL1mDXTKAh75Jk66e3WYbjBMgC8SL0vqzqOpBO7WH5vDDkAZ6haFYTV80TxG3EGhkULjQpwqMUeO68F4KirOKKgkwXBn/2FvzDVZc9pEc2C+SiA3Pgq6yskW3VGGFYeCeDJ2blwWhh1SQRGzpMmTZIdgizN+NtQNGoLctdpe2WPnJ+N/XIVx+o67L/O4wYoztyZe5jFhh4EpiyoZ6kje0SLH+OEmmkWxpN90tkyJ4zpgyWbHhcM19WsZkH6Ras0i8du55AloXNdaztzYgSmjVSMTb53tH+BUg7xhGZYONOBme6EMCujYxrX+rN3BeYD6xunkoQ3XlnTdTqBDlETN0hSK5ABzV3IzOXRyoYOyyjWjlS7C4Gzl2KFuctjgTfkpR62bf3bRrzgai5lv1GzlwbDVWPlKbkk35kykmnDxNfh7Eyk+b73cNsoi+HsbRY71qHcpDnlyBic7MhgeB3Q5TsmbJMsckqeTLbVSk+tI5EHclWjjK84IzRcv3ASRtGEiPyEv+h/61AUTSdPlpplatvIkMKP6LPiW06Ed6OhY1wfKmLYftpG+gY7Fc4RyhcXwxBznF3yQ2LXoERXmbJgl6LsIFIGoOEPugOC7tnWi/CywOxNXSxuzuPakZB7BoTLnqxhxGxNtsOAVRmUdSnF0fvb2MtDBzKimE2/MA2mNB7qTEI8873ZXiid0El/MsdYrniqHt38sni8oclZHCnqsvxCLcqZV5+t+fnro/r7m5ryWStYNhRnMYvM+Tnm60EOFmFThlPqfZeZcvRe6EzZntaWkS0wsOJ8spTa4HjHk+6Ibt48fQlPMCVXtlFkLkvG2iMbZYpnXMBwMWHzFas7yPYRn2FSxmTraXlU05nQ71NwNh5Uc4uTB2MANp7Sh5+EmdN03vFN026Vw7ud/xJ2r5Q8KdgOHyTIb+oN5bt1bHpGwXf/vNj8HUrMgLTPqDioiQ1eBf7KAoiFR2zLDcwecuIa+t7TluwWGYR+m9rzA4ghBJ5iZsdwJqknTOi4mHXJ0HtARirSFPaHPBXL1KyZjxYJaSwJh5izfLind6Vpr9KPN18QcHuVG8GizwuetHvkllLGJuoi6sGeG/eObVOI3NJkAhoY154U58DxDm/F6suBsH7TdDa8wy2tA3fQ6YlC9NOXTGgF0TuGI+bD1SyTEX3M0aAXOM1NHtJU7n0ZywCkYmwWjBz30PNV21NvJzuSeO0EfLBzLSaFI8HQybXkJbo+4tZ/tLMW0krl0QcGMLniY2CkXc+kC1c9lJPUyS1OcetH6+4SiDIMPmf4dGpT+0lgaIX3TQmvUXIL7tS5MjYlzg7gjwTfSQF3xN9z0aDhTy1PUXKarOmnpnCoJzWDUmgLFgLBZGF0hcDmELWGhtiVWVYyHIcbCnNNabPDKOwolTaRtHq1FxLnabcBlpslwVCMGezrNyo69hvxMhe7NKq2yCuzowiK1zpsqmSSnl5yFGAIM7kBRVJ1H68B2DYvgp5cBwwNf58z3A5yua4hje1NQxjHTqlC3Bed2VIAx6JNYZTRNUNy1A2UYw6GIJmxFftcFSGvDF8JELCgYOq0S75NO7UvgzpwS72R8qv8/ZWop8DTbmR5fknemaluT2kvj5fRFJLLje6ss2UCcubWuqSZOMX53Uj4XDH+0nxTziHBunKMpfIOWCGTtjU0KwgfbJPYIawXWuUKzqHiBn+9NQxjAUFssWiW8m2z0WSihRldm5Q/ElaZpXEz/6FMhmihnSOm+CF/mw3DTbBjZdrj6CLXi3E5041VrkdJWbsdN3SXA6E78nQk8jJVwWuBLIXHTLNl9S9Ec04PI8pHWKvfRbYEEcvuS8CixfoyRS1PbcJa+8F+wBL2m181vTnDqPM0v3FlG1+IX+QKnipndmk/ZksMe4W/ANBlflVJJs2W7StlP4oAHehqJJ3NiUn8MSXwN4xO/eAtQGNcsGjSN/bzqTf4DMn7D4rLAvbO91851AIa6CmB9wgvHx0e30ekd9TiPUo9cwMH+3uBFFLT571cSLcAO8roTkUFVIjoWj5N7XieKjDzA4dPtYd3b+jiPZCB+xaTSDirhaBFZnWFuWhNLdP3Sb/diemM6EMb2ms3QNzgeGsc+dOUKGM1ktsSZMgjAqTjuIn5idqksZYIGnp6A8MItr205EY/N+dkKcxzX0bLo3kLK9I8hiEr5BNFrh+KEfgwopR5JhgOTPkq5+gBK/QFjy4GFftODSX9ILqqJg5X/TGjj1R8yV3cYSdoPqRDXLMCAGUNSBtJGzhgsO/Y4jyg+xbxXE4/UhoiespQF77gOa0e7eWi0s/FkrD9WNG0CW882fBvwlNxvvFfyzRgorU/HptUVBG6zdODOGk83i2jQkJ/09x4uccbM/F6NH7EINuHhNEZktuOlMlO0SkxXYfnHZpoRBlaYybU5t2wpfL9lQyThV1L6NUm34kZThkF9C91FPjq0dLTEeyeea4Zle02yhLzFiaaEfORJyjLFIrtJa9XA0Uow6UZAnjseLcPmbjwh94VHlsZGJvFhyLlaFp2fuFnzDo/N8PQNxE4Sv5tiJNcw3WJ05d/Mzi2K0n03poX0KACac1zyGqKn2QyqF6wS7MV+zr3Ffc5W5pn9sNl7vLq9ZZrziinM8xgi12CwVt16W+ucAf8z04VDZ2xY+BrLXtdGBSPi9wrCaqp7RnE87+gFdANgfrM75R4c7dvjxeDKy9T7IFTkqpPoAXYQiJZlrB3kA4/TjEKfHyvEPMjQ8/9oogUz+xaPZ4rkdhWwV3hy27QQUIXFY31wI1PasqxWgZv0xJ31xJ13xv3QajQbpCI/82OJnMLpHwJG11x3p1i4shPunlAdMbY+mDQ74SadcT/xlUw/yfthJ12wCVtxPGJgw35XmVR1CLBmupkxBU53VCE5e4Jdu6a1N/jU1l1rz5B4AuZARroHljjTAMIHFadYVUBjqegcRrgofTqgIKykRANWm7VhSMLHsnbdtYLhX+yd4fYTuTUr3ZK8TFkk6wIn7BA84rk3y4CZBY38HByV/9CefZZqa1Lfl8YJ/XyCfkewgYfsgze+EV67KWnwCyZouIcpJvqubXp6Dx4JM7UHUTRkQsZPvlpZHKKVgpsUaIrDDQU11B6PcKoPHFdt7I03bXa7mAqW41X3yDo3lSmmJL/vwBFhASlaZ0jsXfm6MfThLpmtsXarWZdaWwJP3MEp9za1p9FUGY8NLHuHwdEZkWHpAMndYxfT4lC6Wk739fkD6OMCDguCJSBoA4IClZL1lcDRBKiPmgie8rc3xdFw+kwjeHIM+OwY8Pkx4M9dwLDLEephqUG/cXOaBJxi241gdIG+4kXW43VXMcosk0FYzgZhOR+E5fMgLF8GYfnan+USwwljIWfLACtK/kQvqslwVGfDUZ0PQTVlefBuPZhz8PpuYJkMwnI2CMv5kSxwXGOqMvSUXAmcQrK3XWhuFO41mYyfKrRZTYG1ki5oNfaSB2hC6bslXXbkMUtOTIXkCwSfOD/vaNHt0ykmoqEaniUbpOlZskEanyYLB3zLcLiXhOpJgh1RuSzNZBias2Fozoeh+TwMzZdhaL52pzEGUM0iQB1kRM61k/HD1QkeK5NuTjntucUb3rj/tprpZ8605QWTue7CtACZEpkVMuFND5kWP3MmIwfedJDpkq3XNBgIMnvlDFVLdMVZ0HaSDRPKa4knt0sAoRsm4wvsLhYye9Oj0RIfhHRISpdp4+kRO8y0lcR7L3nwnGCMOLdFAsNyFfA3490RiFWHF8OdweQFbLdrOSJxvmjOlJkv6jLjZBjmZqunZ7Og8kSzaixkPM4YUa53yfEfsR6TCvKKsRd7//4P";\r\nSidebar.prototype.searchIndexData="7Z1rU+M40Kh/zVbN+wEq98vHkHDbJUxeHGDrfFEpjkh0cKwc2R6G/fVHchKGKMwuRo7Usr21xQyBzUaPW62+qfuP9tkf3bM/Go0ofg2I+POP5kB+t8Rr8kdztPq54Hi9PMWcs5fodCD/QCP2Ev7RPFvGq0D8Sl389QfhMfVxcINnJJiwiMaUiV8ZzVgcs9W7XxgEdCF/ELO1eDWKOXsmj3QeL8VrjbdXhixgXLzyR6NZS/8RP5EfrTEUX182H7Jb23y73Hzb726+pfO3NWw+89t/F9DZBz/qjuRPsxK4IU+xdQK7JS/3gZghcEcXy5IjuF9bX7+lTXBGwjjdAyglYR2DIgZGMaQboeIgdgNMCL2mGQhDHAQsicXhmMwCAoRF245+2LH43wTPgZCwtDV2JMDsjo4iET1DHJbkB2chEAj9zh6EjiGzYUi5nwSYQ6GwvyU6fTMU/kxW6xO6FQVUt49hXxj6VjA0yoohtSJxOIejIVUQHYMgvCXma3Q+X5A5uiJQD09T+vKWxf5SkPDEOnDwtlns49iXkKYhHJU1tfG1dmIBBMW+MJgKQbzXFEBA2FES4JRD14py8AISzgkHHJUxJhBbEtMXhh7xawVDwhAfmqAppgEcdWHHB/NiTtdwINiJX3vil2gkKIA+Sk2JxJRTqIZVx1B4Zk9XoivG6T8sjHFgn4clkdjj8bBdlnUaavDOkGt6j6YJB2pfmQpgbhnI1DdMEJ2GURCA7Mzdyg07o1sQkPJ/dknAieAZ3hk+jXx2OktoMKfhIjo94zj0l+j70xP1yT6NNaNhTPj5DxLG0fa1OY6EDSa+kWt5okHwfo3NTk8s54PVP6X/fEjqi8jx9jufyI8oXmBJHNBQ/E/DkPjx9gOqsNv1fRO2fQA7xfMh6/QnZztuWszPw3lZgLf2gLcPjQAjwC9JSDj10e7dio69v2971Zu2uDOxqnAlSy7Kgr5eU9zkQ5vPCPrx6L7oqDv7/lbv0N8yQtpb4SAQ8h2JDxxFRYe+82F2Gr1lB/qUBMRnq1UiPjq6YklU+KO0Xts/S3uWFMsheTQZVvDNwL8PqViWWOtr4Yk3m/uK5rA08ojEhYCvpYBHabnHWhiP6yXhOIhOr8/GaIxp+MTxqvA6RynJ/CDk/x/PYLjj+EejJkiKr5NfLPN/LjSkaOC1Uke70A+mtb85PogagHowU/aSrq3Yz2Q/oNU9DGiBeSY3eL1ZaaEfiOIFd+pwH8gY+4I+i5aFfyb9/WeS2X0w+Eyoz9l6ycLCH/O9/0zVgXkoxXc1uj1nbK7JEA3m4igRjuAQ83nRn0xH8QFBbxN0x+SP/BI8F5d2DKfblRX6ifT382xNwKe852OxksI/EeWIz575NPhE1gQ/F/+JtPdd+D7kPZKE6JHx5yjGGyLFfjK99r6PAtiR9xLx3e7HhX8uyo45vPUH5rlM8SwgcdEfiHLMtwEbXlPCVzRUy2KL90g6yiMBfKrcF9+XVzYIZI/xgc4JE278Snxb9MfS2S/R+aAsG8xjeSQzdCaLPIt/vCsFwZBDw2UyhuFlGkNBJAh2z2XF5klAotN67fIcXQzZedGfiBqG/IL2eiP49kzGG4o5Po9mvdtC30YkehaL/R80DJIoDRS//XrRn1N3/5RpfmHnGHlOf8vndBEwxqun9FZTCu0pyf+LLKP2XmjsL9Hmf1D0Z9PraFsEJp7NBeXkRdYAe4T/oD7ZPh2xqV688f8U/SEpcczeFyLLJh7S/rMp/EOpO6HVvFdx2qxKdNqo4RmgttsD5XGCg91p8+t/ir49eEN5mbHwaq2ldFbLXH6c75OaizPGjxn/ZQmchwuxCPRtiP0lQaPtzwv/XNSivsw2wY6U3lPYvcvJMMBRhC7ojBM0XMpccvD2MIr+LNRTJnNCJq9nITjQWRKTeWnQK5FlW9vghon1zEvCXKkzameuJ86HuQw+LjhL1qURdjUGmTkhrwN+mcw2xtECx8LNe5WRxtoZjsgUXSWzoqNXjttWZu9OMPpl/1xuEebyGIby9TI8A+Wec3an4XjPYNdYYfumJXsS3cyn7vGeRLUPbNIfD7yy7IG2YgVlNvqP9xQ2nRhKsBMAn8rbG+o4KM1+0G1xdLxn8TC5LctTUPzhlrWzYSW+ntbbjeLfQe/rHsdj8eWrhDvdWk3m2ygpfMcdpd4je6hHh3O3XathHqFv3Xa9WfjgsnqTzKhID3yfRBGaSKqFB71/xSL7BTEt0MPC14hpZ0n0+HpF56vIb/bmRFp8R+PC89UNtWvx9Qao3S6+AddWenFkDqtrQY6ojyacyTOv+BkMJWjywZzXo8rzHarXSmMv9xTWmR1yLdbTQdH51mu61/70AI9Rs1d85azcUcp+YV8L8kPhLTi7FvLfk6LzVV1po3zPzrzCm8iqGt61HzREmBP8LIeFn7GfRSetNNs0q4rPOJ0vCl+v3tVNomghnnrCPi5BxF5t52tUkIcyNzvGIV6Ursy/aTSOPMTF57sfuWgajVwIvsKN5mmDPRou0OYSS9GRW02NDEeja3QhvhSdsl3felj8wHJ/35bLXr2kxVf+NQ3FFR2zcim0ZdSe22AeFj4Qp10Wrw/5PqTxKzr/ueYlGH2ktgqwwDttPFN0ztr9F7U4y1nSfowG/v9LKC++q6IOrTYap9vBHu4+cqFRd3Qv5euilteGpxyH0RPjq7R71a9bxNPzwld3KaPrDIu6dzIe3BU+raIWxpj1X7zxSeEJq+2/zAbxvHs08go/WbRe2+9FmP2ChRbk+7PCFyiqAxXNVtCNSFyKi9OKx5K9G7AWZBafzFnhS5mb+4yNxkVHk2nR8SpGW/aLPVp8vZtB4UOiSqcjs7W2I9lmaszmxc9wt22q4sfRGF3QoAROttKTKPswKB3OMkWF7mi4KDrlerNjUS1fcJY2QJuXp4BcGS5rVkmnXT6Enh6s1wHFoV94Za342Gavtu56qpRGtq1ejrjC4XxJgsIPSVTqyc2WzFxN0tnsRWes1NeZtfGuULPRLDzhusVj8HpYeF9QCWZkn2Gvx7fwwftuzSZf+UlDEiMv5kQOeio67Xptv07U7CWU6+8e8m7Oig5Z7bxjNFVyXfh7VIor0jV6y+d6Mi38jL6DklujZRmC8APa1WaU5HaE1eYO1xOBe7VKQrGaEmQA1UCd4SNwgkbeTdEZd21eJb6eFv4IVPWF0fjQn2ffR0UH3FAawRi1Mf4ihW9O2doX4LrRSyeCb+ErxpXrw9knw+sAvhncopgh8UfRMasFzEYNtxu6WMYvRH5Fg8KfeXa9khsWLjjBcvTXpPCliOpMNqPKYzwofDFtbz913TAqyeNh4fm2bd7gGZ/X68W/zqrdXVwLMZnTMoQqFCOuZ9QLGRMimzmsA1z86paWzXjFmETLyn47OmSxelQvQQ9b7ZlAWphpSNHD4O+iQ27rjpvRgsxmNCAlylkrCT+jBcxjr/DunnKhxGyR1vi+8MpCyYaYjdaP/y68/Kpd240G4W4Hw/JUgfcUx9qoCXdbDSk5Ll9hIuOwDNUWysUzs/qCxBELS9CQUrkOZdRCFpBfGH/elg+tSPHHRylnoFkb7pb8TKJSdPGzrKAl5oacW3KBZ/JC1PnPmITz4mtsu01AN9zbJRBvCJy7JeCsXNrpGE2wfvdjEhSdsJI6MesTfr/16mUYl6Z2wDaan/q+TteBBivhfD/R4h+Cyn1Vs27LjnbaLHHNeOENaqVRlNl7aZPBCNWLTliZSmc2rC8JNwpPeD/QYbZIYyI8b3Tty9UVm7JSy2zWmJucFT59ojTDMJvQngyRx57iF8wLH9xXSrrMTgkVnB/onLCiQ1ZLa43mAiejwk+A2Pkgu4slNaNW8mRc/MvBjX3Chg1jzmLms60fEpShCFQxL8yOqJv8fVF0vmr3cKNBjDsck1VS+HmhVodZ3pE1wSXo86kIstnpt3L0H0HeC439ZXn69Km6w6xcTzzxb9ERW22N4RH+gwpRLjpk5cKU2eqBLeS05wtnZctMmQ3KeSRGU7Yuw4zyet3meeh5hfcElXiR2aF0nneDpoSvaFgGH1Dtvmw0xOxNC9+xT6lrNtsK2Ct+vyI1hG9WfktyT0oZ5Gy2NtF7KH4eymYQY0oC4ssufeIDlyKrumu5ZSVRImnLAc6kBHd66k1FORutw5iKpRdelq1eUJtOUAlavih5P7ORuE1RHJYrLzblTt+iiTHlif9cdMIH2tjsuZdwTgpf2lnv7NfFmb3GOn0oOt9206II35/d9euFr7y3e1HnfnyJPMJp8RMjljlX6b2j8n3ASVD4085qWOihdONIzHoeD5NbmTeVn5hXiZBjw/YKr46tCvPjoGrwclS+117hx/X19gH3jQkwm5NVhHA4R+slC0l0OsSzgKSD3FdFh66UtDSzlyin9P5o1AQ/8XWSEsznKZAgQOn7Ff0hNLUnNB/tIVzg4lcbNTq6lsnR8F8xFq/LsAXUCujsyv9oz+B6Ug4tpBg4X4iXHO0RbNvmDnxZm45K+kB6oB5IGWyj/T4SjeylZUfjn77VyVMJDudaB+zBUAolBPhgvrsoh4+mzBz6QjX80R6BbLBQDvtUewJGTs9gTdg6IKeDcM7ZgoQsidCE8KgEVYX7BSzZL/tOUnJfRz7GPnpkK1x80vt2T72W2fDRRx2WA7Vq3tTbmQNwuqwnQ9lrufig9+2YeitzlEcX9F0ShjRclIF2bz9x3c9cRqTL2qOxnIBWDiWiXAHuZ44TaNOOhVFTEtFu7Bvj2ceL5wa7FLJtDzeXbTF4dCrMn9K1A85e93m3oaXBeTAdo827VLCNwJ7ixa7rSzm4a7eL0ud+xhme+ziKS4JcbTOeObOtj1z2JhGfGe16lZQSvA0dc0kXeEbjnY7ZqZxS8rch+NeDUTlh2xD26wlKbx4vWfhaTurZm2fnQN0bXpeEtnqdJXszUX3c+2UY5eDeV6azWVDkt8PzksAGoMhvSfwUsJeyAFcG02QOHeoD342n2TVsLAt5ZcpV5usE+uRLAtq+Ttm8A7oO0VlCAxm8LTp0pcHgW2sEC9QfabxEHg2oz8KtL1p0+kpHlex9SvXhV9EW08DXuDS468qFmezzx3LgHTMux2SVg7hSfJX9rr8+8Omoyg8Zg/3AKuVtEPcj/kECEi7isqTiAPidj5QL5qWJY6kJicw1nV8nHhE/4TR+PR3KXhcUXQjyLzgo/LiAltK+JXO+2duC02Iuv0Vv71Rw5KqUZ9YreSAvi3w3lJaSmVVKHrAvcUyeCVkXX4MrI4GzX1PPBXeC+bzwpBWLMHNsNg/S19+98pyUSm+dzLer8gB+w4rfo1bp75m9nXUeoG9J/ML4c2mMkpaiuDOHY/OAPrn+uzTqRPUurUj5Nv1QGuZKNZBZZ4f/SEs9U1/nPqRPlMzRZDsFIs0sF988VGacfMUaTynq8JdTTkKxILnOqJzcs98M1+c+EjrGjxl/LQlyJb/5FU9IF/kFDUhUCtg5RLHygF0S0VZof8VW1KV9xaLCd9ZWr4N/xUTU5Xw9mT6URKpzMMh1aY+pz9kLmZVDaUMA/v2qJNIN4ITcvMOm1q0c+Uxl2FL2+tkcoMtGlJz9LIvZrcSxvpJc00bOnuIXzAk6w5Fw8cvBXenHlD11nwN32XQC8zkqg3EIQZ9vqwvLIeBKCKWXuQJLH/h9SOOy6PG2km2zED7Z1BfKeGE57HEAQcLHx8eSyHdnvx+W0Uj4Rm9vMxFp3Oo8XNDi90fVno6zPfF0mAcsKXxpSr2nNIysZVcl2qRHNHomcVx4oW7rTpDUR30xRLs3KThsJWTVym4E6sOmM+FaDpdYfM4ASSlHXjKLXqO4+E3G9Z2eHPCL43KIZ+KzFt7HVFSLDdx3JEgT9ViIOo7xDEeF1zGKZZj9qo8+9an4IRpwjotf9mZfozySGRoGSVSCeLhdwzC9Vk82fSUvZHvDXfO383gpPKlS3Lrv6Hb08LYUdR9AOZoc6IdUcsA9DHAUoRZqlwS6cg88e6vxXKArHT23DSbr9eL3ae5D0DFv/Msh8rpztfNAvu+ZXuAZp35J+B80PrQi85ckJClz9hSXw5xRskTZ+03mgf1afOIgoJvvkRfj4l/RUrMX2bNzeXD3Rrcl0S9t5bKnFd43+JVw1EB3ZMViUhLyqmb/Qnw9N/TNkjAH4aSOL/9GvVqthsZJENNoz4wv+gPQbgyfywOQ3E92ZuSmdrQc+JVZWXasmhR/kOqdUil81ZWyJ/tbg3JEpOYpOnb1nLWj9Cdnf5dEzFWLMnuWKQ/cnInXVys8C8qiXkBEhMt8mloiTle/ztOScFc0jJWD9FcoDE0uH9H4clh47B0A5+gD5XGCA3RTInkHEYPf1KxXCVYL0MsBHEY87JHx5wVnybqifnzqL9smxKcDmVINcdFhK50V39owfB72rm2zDuxLId7hHE0JX9EQF741lzLCrL77sVnod3hOGZqyl+LX4jW7ipRnbr+QB3APp7nT4l/TUMeBtDIHdXPFLS8OFP7UVHRK9qKMPJA/0pMLKocKF5229rC4fGhv36PgsBXtnf36aJ6w0Rmn8xJc/tpvLZK9L3GuzG/YpoUlGqzXAcVh8VNEfd2O57nyn3IcRmvGC38LTG3TZQf7zeAWyZpezoKg+Mb5gb+fOa71Jegc+8+neO2fDiZD5K0wj9H9xEP1Wq120pS1MA8D1Ljfhx8oPDhdLON3Cw/Ik/w2WmOfhoub9LtRva0+IvFR5uzl4+f19lQOMHX2MTUPwyJySR9Skj8Qy8yDT3uLpg0YzQfGrwk03XZKpg6YTP3QE8ufzEadDeVXVO/X2rKgieIAydph8Wvxtk/Yb2dLuwxsuNNUOsgadSdZZdVIubBq1VPxEngqZJ9C1ujX3BQvC1ux0a+7yeqDiNvxWTmqtqywalesPsmq2W+0K1afZdWqWH2SVbdTa4Ln0jFvHwguLfBcPrgmYIBLBzyXj/L3BsD0wYNp1g8j2McHU4evYRofpFOODabXbNU2ofxNWP/ku3DgQnlgbScRilX/LtQPiZ2FU2vgDVC73Wuf/I0Gc7yO6Q/yNrbRBWQWHN6BdyejunXwW9GCg7tl0wDPxp7cNMRWq+j8jg58U9GCCb1lA99c7B32VjDDxgHDqN4/vCZoAk5fHFVwqVjSNAJKBy6UesvOPurX6jW4VBotS7LSl78OlUqnfVjsfWwqAsD8rStfs9aEJDRK2ap5OEPMhffJ0UT8gMS/Sp1QQ+1eCEmMLOjh34JqA+Zkwaf6LacOZIGyYAoOcYyD1yhGLXG8f3yJExIhK1vujVCjJ8zm/S7OIfm45SckaFb23xu0VgXtS9AqQL8H1GnXmifn8BC1lPmrFrWVQNRyAJGFJOJ7RB0HENU/aIdnklEfPKFGw3yY6B2hutBFgOH0zScX3+AoXm+jhp4YR1cTQLjUe+Dmc9S/o9VspLRGJAjg8vpgJJktXq0afF5Wgisf4qrXHMAFSLzqlfLKQqtZSdeHvK7nJIx3Y7XTutCPZuGW3NG7nnio1RYKyiNhJD8wVDYW4lHb8iw08H15LXh7RxUuIgvic0t+JpHMcNfQrjHg225zoD7LGrGG8B2mu0E65z9jEs5BVwdY49RotKYTdHlesfoEq2ZjMhGbsaL1SVrTcUXrs7Ravcn/VrQ+T6vSWp9j1azVO/DCnnDoVPmpf6PTaVV0fkunXcnO7+m0BZ1Jhef3ePqdKVwuVqIBOy738OXGGp+OvHoEnY61XdWRV0ig07FQS7Gh05XNtuq1Ey9gu6olOXM4imgEl5aNq7bvcfUcw9W1iqvlFi0bF9zf0eq7RatRM1++8/3WQ/V2s9beHyY6TKKYrQjf5Q4mAY6fGF/BhWfhTNyyExp/eIO877fn032IFbR/hTYeIG90BR1Zb39olYXC+w2xVru1kbGTQ2ic/aCRQCMbMcAjeCh05svMNgw7H89MhomtoTTabdTNFwRNlq+RbBz8q2lF6x55MeNY7akOScAsOACHoD5Ua4XqNmsQW5E6OxvE1gKMzcImvR96qC2LGcF7AhasDAmn02j17ie7pJ/sTMj9XTN4qKgsaK0NqjSO6hQqC5pKoho2GmjcRJvJznDpWBIkQadW4fkXPC0X6FjbWi0nhMcank6F51/wtNxQPdbwSOlpgMdjwZJ+HJyftOsNuEwsnFaSSadicsik24LLxIJqkUy6zVbVNe4QSreCsg/l4Rw1+oC3jxWVIqC0KyiHUDoVlEMo3XalaT+iUqnaQyq9SlYUKmT2Qbt65NW7NbicbGia33BqQuYESJ46FafT5fr0aoKEA9m+/NX67n2nBECENHtJXE2+iifl4b1GMVkhPx37ex76AYsSDrgcIWsyLyc8XUfw1FtWxCfqtN3gkzW893U81+ETDekZDufoYnQHXe00zMnNhLMbcVQJfXzTadT8bUR4I05g+RhUy+/5dCo+/8qn14bKp9m1zmd0U+/U0GUPDhRd7yIXKM1GjVRUDqh0KiofUllXVA6o9IDLSlYvMy8qsGXFEpV2ReWAShv4wWwBinfTaNYiUFR61nWtgNKGDcWcpOxaCg43lcHoIiA/T+o18e8IDh0bbhGdrU6vz8aoXq/Vag8DdD/xAAHRnF4uFqZBpF2rnTQa8Klk3UV6VLrtFrph/mYvRSwgaIxDvIBclpdV9+oBuhfKBcdogkPyi9FfNK74pHyaDuiZrPPJtYB0HACSNfKtBWT+U3jOcFkYVbdCKuTBDBhH1pyaLo62TKZdPcAFYlR5CCDddiUeWxo/m8LjQeMCFd9p4mg3KxzvcVTS8R5HR0pHEy4OoyftFgdg6TCNA/hmMY2jD/iUNcyiC3lytXEW7UqJ/sLRE1rj7zZcHEY92Z/NfoXj+ZSJrwE5vSUxx9tC2r+bJ40zePd5NQPw39OFagIaTprysvxgOhzsqo6hYVKs1nrG1qK5YepWmP4T07Rfg01J9YGyTk7OD1OtgvMhnG2RpNTZcNFktXPyIbPG3EfT1kkdvOhY5rM77NGYzZMAUK0tiDP/jVPxepzkwufvljzroaOxssX+7vxCU22ufUKbbXUuWwKuOY0IGrdcOOWz5kxyp9R2gVK9ZQNTddb/G5nqlP8PQvDP96zp67zItMCTyVp9qEsmCbcue8eZ+8OGNbJCaHdXfzdt/fznmsuRKRtlhBqtNarX0OXsHBBCy3ppn+C2Spr+Q+aolZL6DcsK4AHAKqL973hSN+Wth2clR4egRjjGQyLN8O39/5m8/78dmdXsAGKlWbaSA6udWqrXpJLaMuo21hWkDyD97+jufUeJSxyTF/wKr6uEfWK7SHfjBHDhi2kLfY8LoMtkAOxzJzIjFveR4HIDF4zpMIkEs5nYhRrycpmwhgac49eK0DtC/+fCe6PUrTcKVGiWN5wmZDiG00QCzgXlBE3roC/LmFfFKZW/G3VYVBogqLSAUYEhKy3Q94ks6ZW/W52SU1nT+Sle0BiL4yc6HWz/Jv5jcSBRztWg15pRGck4/0HCONq+tiPjp0EO8YKwEWM5PfFGQTljccxW735hsP0vY7ZW+aloejUlkHOIZr35+wEZ8fpuXVEObNC3QegvGf+fiswBmSFnUXRyRvCqonNIZ0QjHyqX5uGxZIyLbKxATjYB5QmezwMClVLLovRcpt0nINOxubeuSCA/PVQ0HziVxtBcr9YkCAjYA8smmwlnsOD0FR+q2bAHZ5rwGQ3BqhtjR9Z6jTmOkwiRgKzkqk/HOFwyNc9pDYz0d/fI1LLtqN36/mjUzrcrzAOSx/xnEktXYtueTawU3bJ//gEDrrnPLePpfixsyXrNeIzOpEdHYiCo6qqIQUJ1QxZAMDXaIHfiltMdDaGAUnVWI5syPzIo75lyODvPvnaXC+T0KVmQ6HT49nep2kfEx2ltyzfP5+QlDRyxgM6RtxR2FRTToX6gvjIx/LXkvNAJh4UulshbEzIHA0kVtGxK/hiQJoQ/MSG9BJo8AUSViM8Lxo0BuOHe9BNYoQLIjKSHh3AGIcUuAe4+YTCsVtX2+zdCAK0Ci3LEVmnhPeMROkE0YqdnAXshaeLtAodQAWUUo1+LFMbntfc9B0y/3lOiesB+kqzQJFmtK2T/jQx9e5NZOKFy4MRGVPwexwswGU3gvM7/L/FjONlx4LQmNIpZWMH6FCwZvqpQfQ4Vk0ktcT7CSd+AJxZj/lrB+hSs1JeuWH2KlcyisorVjhVP41QRWnAazoVCPx1uXgEK6IMSzH/js12dgHO5XV9+hIT1zuCqc1CgrjCoaAxkVNerNfbjCtUnUP2JwZ55oDhtjM8K1X+gSt9qiHZvi8bYF69BqY2BiG1MgyDN4CSBWBH9p7IaMsGqzsWvUauOyM9Qq/T+Zzk90BnHcoUVqh2qOafiHU5H8g+gUDJe/kiXkj0x+B6EvBmT0Hnat+sMcJ2QBTDb+KZwiH+QV8YFngCsgjbM51Xakt/FquUxtv12uMSr2Sa7LDPwT/L1aqNJXlcEx+k432QFF0i2IJ0ekE0cXAhIskIbdSyEZpqsZoEUpEpBbzF5a45fKxw7HGmQ+5e8yGqxX9+N2Q8pOzvNU3ZkT4TMJbOL9M9d5glN8QzO1c56raWjgjZL+zoaeS2PcbkOHKDNm4EBo6WbjwAGfRsTsV5AufGmwqhtH9F2jz1g4dVDwWRZlDYnGKj7eCoRQ4JD41jsnuj0TJg48/TsAsKjpXU8XWzXpQGEE/wcLzlLFksgSJo9rT2jjWQY4NVa+OMXAQ4XRHgOyTqAc6uuradR9OkwASeM0hZCMIgoW6hnHEglH+9wiF2zIrI7JongiAgsKOjbiMTCdpELOxG2DHsqir2SO6jzn+tALK3i9B+cZKu7kzsS0SjGIdwwKSxMaRij2om/RSesn/m7xh5AyDS0HIjcuIyS1epV0PkBJm7Ra9sFkwhBCaCwsOxWXbEIjMetsMjWi0sfxXW4uS4EBIdCw7RgXMul+UupQ2QweBNG//YrLAHl/LEdl/iY03fhem7+eh0ioXB8SCUWtpG9wal4bHhw+kR9giay92jFJGVyR+aJD8Zi6do15e6SdZxwAmnP2A5UeCR4OhGKRBavhQt0RwKCI7JJqgBBdJi3bBlmRAMSwtlEdVWnGJcZ8VWc0BvHCAgUu66QF3NMQzASYjlAvqMB63KbZSgPYm1ASNj2lR8oeZGHzWWAowgIE800db5M0LcbOaEEUPmHrejkUpZykp8bv5DL3Fs4J2EERtP2dJSKrFOVHTzflqeNZ8QS6TtP6JqgtAr27b2B8Orr7LL8eZ0HxI859VNYYCBpGnj5Y7qgP2VjRXmsC7WEpsmMRDDlS9VT2Y62/MldYcrXNATHqf+f8xHNYoK0/YDp9P19Jm1qGmy2IFTjAII0vSd2QcNQ6K+K2ReZ/bFpYAkVnfXj8YBdwDbRNPEDsDf8oAlcGrSvYH0OlremvDDdPg3g2rNcoWKzLWTpDkQ4nKMLLquonDDwMw6oy5/aHZkJgwwMH9Wwb9qlk/YGT2VKbj1FpFAdCLTOvkxla5VgGlqjgpYdWrOC9iG0TSZvImPOINV9H9YRubG7YKJST8Z+pulb+bOaLml4ckGDFTr/gdeMA7pApDfkNn9U9ycf6CwgrIBFCu+RJ39r7lIQ2jSzFf0pUV2HJzc0JGh7T3osX4VCqK/lMaZL0ebixVh8blhc9DxpPS5/hQQDasrQtYhC/NcyfjfBMZQ70o2ODRzrZLWOTof4B41fQU3kaTT3NWwmW0cu5MssyNuwnRQIGB9W2S6drjUiYBzUxh6Rrj0iULxPazIi23iA0h9aZQI6JC5xhLZj4WCg6DYsyYQk8W7yGwwaB2WAxg6WS4I5pC3S7u5HE+qmQFwxTv9hYbxVnkBw1NvKFPi6MSBFuk+pw2FCuLzGH4gPDASFGs3tm0KRzmqCtD1Uy6JjngQYu1N1TsztEC+ZrYSbR9MaYDjCUa/tA+lmur+lB0TIBWAS9Z6xjSK7ucKZRNLfb/mWLQ+mgwHedOF+f19bGDtEHrafFRKMutLspd4ytUHQCZrT8L3vDgWJXkx4i6Q2ur7VAvM2M7nC8h7Lue+nEuOjR8YrNvts0ts1bIUXIYFjtAOBI/39ish7Ilevc46ToBKUfSw39P8ldI7+JFCuDwPhckd8uubMT0vtKzR7aDYZ/80g+grNezRpvKBCskMiB1sLzbIJoHzbqBqo9fFfxPOVidbv8WzQvPMLKj4f8HlzDyo6H9CRxl4F5gMwlcb5LZrNmn6k3crWAfbJihSm0XPOpDhbyCyyhLWpVaowfYBpz2DeGocVqA9ApTZiReY0Imuclu1Hp5d8UwPo7V76Q46dJHEcvB9FCYOYXnX/2wqzx5Hf8dqMl36Hq0KzQ7MvQvQJbOMPu3SEy/HqB4D65wGjowSXK0r/RinaXHWYcGkC0Fj+rAKWEZhUV48EjAUOjNuE8BUOxYLRON2RFaYPMckuoAmnSJiYyUyYTBWmDzGJfVYh+ggRC+icPtG0D1jAIgImdAKNjpyNULF5xyadDLvbU6UHI16TjusK+0sakuj0/GfMk3SqMLC4SF2nYYS3WaZw/8fbheZJClaYBByoCQkC4Zn8I18ENHBCjScBACVjt+A2HlRMd0yIFRijCB6m7Xui7Tuib7/uE1XQPg1tVxtcIdsi+yE2Hwmi0zMMpdZImRyUrd3Pw2Y5OhjQt2vvOxT5sAyDcxLI+NCIJ1BqgJXb7xnTRvkiASUqeo00tMEk4fN2Mk569+IsXQkUNprJRl04AorwKWKCpjh8hoJEkZeuUdUylIZLOllKbKWUivhzKCxlwqEWdnZNi8xvAaFvZ4yBiUSrnLLNFTg2p0oLfRLVDVmA7SBdr9lRTuhbGnpNBwVsKvrSv17iCFC3bcVEzDZ6SBfVdjBTdcAdgJHmIeMI2mAvrbaXulAuGPfJ/GTE8VMsyLC0yGoKqGmQcme5n+nOsjadhIfYh3KTXclhWEHRgMnC8LmdttYSnz6AIhrN/ZZBZoMSksYVC+A09OzaDNFc4eBpMxZx29pz84ZA0BzYcd1MYxt04VyHckY86PNmv12IWRfzT+w/C5tt7ojoZGquo8vmr5D5zycsiSGFPtt1i5oGUjtppZlKr2cYhNwtdwQDal6n5gkydZfRJSJrktBZEjwjTxDBCyh2it7sa10qaV474fQfoWFBq9aGWXN2wtkaDRbb4mMYSKwqFFiapGXTnH27eQUpjmQ1vr2pbxxxCubwtcxjc8Igb70kHMpBYzc+sAvlgz5kzLo2gNSHVX0qOcDOFmbrv50Pj7dsxRmOwFxDVDtEWgJTFW/8O5o7xp6ggulb5pJOqYQmO/sxk7pZH3DHSHxyOFeaDo5mC0fSFok0WyCfTj0LaEZUfkDYisYuFik1jhxVDQukLnAQEWBgFCu4Xm9Y4BKwTYsgyFvLvJ+kgAGvks0CApQsrLf2lXCmiVa5gECPNF6iCfafAbWmtUplM3wCWji72dlnYjTrLltBoG9nBFJTPyXfYR5Hau9WPFIe8k9pzz09CRdAwBlRvCJitWBKatVkqlGV8otPau9uzDh5KHsJf8I+QdfhnMpeh3DuFCvGXc8mr/NwU6N9xtPqFjAy1bHpQf2G0aYnVOpGyeHs4kyHQsvqtcff0NoiOtnVkW3Kp8AQa8AjBulKieqANow6oL8BdAdpywEUIO+ZcjgqHKQITZeyQV0grIIoCUBZBTAEiq3AZPj6+2Xz2UYw5wXkIgmCk2kyIwfn2ZBROG0xGjajYjtWEwrmeAchOx5ZUQdkp25adiLx2aJTHFKhiKPTMznwvP7fMJ5oEAxZIING4n/UrKX/iNejmLNnsvtJyNLZpl8EdQD8QK6UeaWHR1q6uA9ppT8ZbFaty6vhCC81n/zBQOijAxsR4o6A9RQr4LCy1gwvVwRsF2z6fezp+LzYAn0PhfcmtKyj1A5rp45PLfE/UXIIgtZbO4XdCXmYHzg6rgvhxqArHPvCf3l1hJsiZR8Uhxwd218kDD9T4wuRV//wBt/ReY0Ziz5RJQ4Dl2KLWRCvW4aE9o/cBGbDtvDIZ+apg6B1UMRlwdb3AhY7Y1Ps9wLpWbApvBA/O6q9rGzGGM8+0ySj4rXhNSXz+Ss6+9TAdhDMOv/ZnudozJ4Ym8vun46Q0pauC7Her2Ia4jB6uwsQEFfMiW7LJjP29EQc1V2dzEejDqkRp6GsP0SPOHYpEGZTuhRmDUeYdTsWmV3gKEbpG7gBS9mUH1RhHROW+IKm3J0YmELrg2thR6T1V0ifnNH1+0GculFdf0eiGCcch7Ezel5tjmdUZ73j5YqOV8pE6rXMUcIvAlsSHMRLH3NyOgjEZwtxOpV+TObUp6Ez21NxiTIHDa/eMGgyDIXsLUlEsSvklPPSHrkoolEqezeyGXco7TTvVfztE33nQJDs6ZppeZE845iGjkADI35DzOdUrHnhTBpOiW1kNnRzJEeQF+OnJzTgxBm91wWyW4c4XiKxOle47YvdR11ITIGTv+BK2qmrWwCUF7URwU+uMOuDYcZXOHbqcFDQZa7Pyw0dFSuLnQl+q/EQa+bI+aujrpdVZOjRoWK9pmYWLy9uF3hFg1c04dgX63BG7HRTe7nhozyK0YA6GiC3B+6ShEQswNGjwd5+3bwPOp8nm/vvjvKzJnfifbg7gfR6TTknMgeG8+XWcISbKm6Zi7tzw8aiNY1x4IzEwdmoO3KuyFxPN+mVF7nr1SoJ6T/p8eDM+QrF278On4iwhFkSoRGNCHa1ct4mwbUQPfExXQEHJXNzLT5gGMkcmAyqu0IPjtil+evAteR1tw4E4F90HhJXQpxgqN0koTt3hRRo1pzYMV6tmPiZK8l9MEou1W1ppxvxQddyfgN3BaFyk8haoHiH8IbOOHbn2i00CbwjPuNzZzQfHHxhvGk1GDhzCVC7aj83eHfXjiADE3+6JQl3KXUNRtZuk5hTlwLsutcC8wL3PfRdEjgwJ8P3JEYTpwIn7Q4QkZssMV9h3xWRazeBiNxk+RqlxpxsoInXrvBTXQlrcndHFlSs3Kk8LJRgpydeQDc4XCSfmpUNAp7a+K5nLRvrMZ+KfesR/oP67tTXQUnyeAlfuNNy66BpjTVu09HIEWZg/Igpc6fbz8EI58z3XPOidh+IYzViSehMXZ2yRa3ZJI9LQgJ/iSlHA18cDRGdBcSZ6pPdhX2gGBuOYrSm/T7G2HQEo9p6w6w0hjhOZGE75s4cINrBlNt0zV+H9Weypu7kxHq6lwB0cY3xWmzHG3cuhfVsC9gYc2e8LeusCPcTZ7ysXdt/e5uRORNF0j4YdVndknWcOFPipW2O6eKaBEnMHIHV0Y2O68Ly5B+u7ER1pKLxneiF7OUpcKdFr/W96CWhM+64dlI5D1iuON0gYLniWls3TiWsVgXrc7CmURLiFXUFl5IfNo7rnuMwccVN7LQsq60H4hAs3Tt+X4a1JmwdkNMzPHt1xnxQ3MR6rZEV1yRdtSYuVwyIrm7yQ5fWcInDRdp5MXaqpkU316vNjYViwYnvEDM1kGpc1i7ICjszp0S7B7surbE7rNSWFW/fm6Tljovd1I1H5AHLlROyqRt31oaVrFauJDTUJuzGYU3InIgVU+zMoagbTNUl5i3Zi0PjXNR6WPPKawvMFf2lBnKM+0OeWG0QOFMgoVa+Zr81rAvsPqQR+ekILjUCbdzwesRiKcJ/vGNs5YwWU9zuL/S0zhWbK7qsp1vMr08tkOO8HMHVtm2NPbKVQ25RS7vRfD68XNmNLWviFeEnEr+enlG2xP9g7krBfr2m+JKZJ2h46cK/TmyIE4cChtrZbW1cS7JKL6s+Erx2FlvmU1IX2wUOgo1t4T+7kmXTbracBzSWxMhbksCdcnLrW/SC4wV1JlDd1a2+18V1hcN5QNAjjZdOdXzU7SKnzY0uluiBBTFeuHOzrWX7INij5oxZqxuRzZWaM8V1ugVQutT+ImSNRs5c/dC+h6XL69aV4nzrJsYtC0+uWUj/SW1aPKdOFaoo4y4zx2f16aHzMHZmXwKQNuStmENRRuvu5q+cLxpyFkUOodMtstZF55o2eyvn/PJsGl1iXkDX6MqlqGNXO6ytzSxmnKA7YdbG6H7tjPvUte0IKNxccaAsajWfktAnp2JFjGNBzxmrQxvZZuUazMZ4ERJX2oB2dS+Q5MCL+sLY8NnalRia9qUbfWa3iR8Q7E6xmX5QIzdkrip/C1L2SMP5SrBwhJg6qN0ksTXjcXQ6WK2XNCbYobSTbumBl65cAxn3l+5081RFLLse08R1hiMyw85syba2EtPlRUPmJ0GJGj9pE2PCI3/BwbMrwHSvd+UALEY3OAl9Rzv9tTNXsusiG+LV2qGrEor12jWuxba8HDVd21Z4PVF3ijJsWxWS14K71LFZ8SezR6+1iYXMnfoVNXeZvVw2F1yu6C/1FnTLvAJLuy7f0CdX4ojaLfu1iQV0NXMoYamdHdflJRO8aCh0fsxfkfdMZU2Go/rsC8nLY9BzRb2psmfe/H/1A4e2qnJ4Ghe2EeUxOqPOdOlU5csCsB8OiZd2NkmXFnsJl4KEc4eAImbGjVoVnKP637xCO/9JuE+jSp99ktcF5eSFMVec84POItnrpLSBRUuXVNnBkLjsxcU5EXNGhym1eHXj2n9HbELdSfbadtIlMzQMCA4dss/2Ja1jfGtessCVCT/q+Afjtqxk5Y5oabcV0ccVzlmAHcGlPTpaF9cVFvr+MqBzd0RMYdbpGGdGn505H7Wn1+QAyyHRUoKwxg/GK8ZlMZT/jKYcU1dKoqxH/q99grbGa4Xs88i8Zxw7hGzftPjKXSVdZsK0YBx5L3S1coibbRvjTxLLeKKjuIybF3/hV+xMpaJtNXZDnwj6UxyYzlxPOgiMGWc2ZjHjM1ni6UowUREz88Urv5A13ETWNK7GJtQPqe9ayzLbVRhbalMs59I7uj07xp3MPWqO7lDzFYx3OFwQvhuu5I602S4tVrg5I2+6s+K0uTH/GTlW1Kg9aSkfaHJIgkvjvOzv0XSsxCzALgW2bZdN3bEXaeO6gks5P+vGcSWhQ0lftWON+S354Agp1Zw1XkzsYRqgM4d2onaXAm1gIY0xf0UjKl6JcODaxFDbroAnPppwoB4oeUkhOcJNe0CaPrdkhpFbxdmKrBnPcXqERPjFTVpt4wEhjwRP6DJJCzSqpHAmck5HHo0nN2UymMxkpwx3dFnHtnfuPVP0Z7JaO8JrV9Bij1dA5g7Jl3pPzngSRfAia6n5HVNmfdvKbIWDjQvlVhsb+7cmvDANAvG5s8Jm3tAQyFZs5s6kIdUFML89BTGh0hhx5yhQu0GYl7KEO3QPQG1hZh7XtkjPnbTmvq2xa8togVjDFWJKVVDmYdw5EHNnQ+p3+tekNSVhSJ3pWWnbqKhCPRlgybi1I6x2sX1rLvijUylx7flB2rTEB4vSZhgVsk8iW+KApKkkh6DZbuos+9JHbln41uWMsTm6xPGScIeoWSuMiom/PB04VPOvuyWnYsEanBz1gvqZvSAdTkO8Ihy7KlPZ20TlwMpRucoej9BiRYIATZabFbpAq6Vr1mvRYqsVdrXRtVnFLlCtE4cSabqjM7RYceZMYtumTJ3/X+K7UjGnRpkzVxpqgZK2ujuDBNX4stHNlzZIdGjeg26bLB1WY2dDpV2j1vqEvbhz8tUtnnxy9DVzBZRSoZq5RkkLlOe5gslmOGFKArKW3owznnJrP071hXRhPrxc8ZabupWo+eBqOoJLmdH81l7ZNK+WK7zqILRX2xFcVnfjvXfmCKaWbjm4DqYHOicMbYKijvBSbIiW0TPxEW+ac4+xL/50xS/s6jad+CoyjsM0T5heAz1tocclEWrMGe9HCdNkPx731q8PcED5DLuSZFWH3fWz+0T541sH2CH7X20flj1OcSyCrngE9dq+C9XOHmo9FkJXvIS+dlLtWARd8Rv0o2jHIuiKK6HdNetoBDuuENzfxV/x9Y+FsOsIQvVaYCt74UreCFezRCD0XfFDtFtU5g4w9JeMu2MP6tYtHomfK9ag9pyqI/FzxhTUrTY+Ej9nDEHtQqKc+Z1R/9V3KCADzQzc8nPnANFtqncsgM6cINp5/iMBdPQIaWfPoR0JoDNniAIQjA50JpawfwhnbyaXO8AkcvUAAXACC3iOHh4N+4eHgOfowdHM3JPpGPBcOTR6+xHorxSS5UxviB0KuyidmqwrPQnPFaWnRk3tb1xJz1WtB0L0XNF62o0jjwHvhvnOzBVU6l+slx/IFt9zMkdXdLF8wa+OYFSb1lnfwxeEc1fgKTLYsR4vkFfCYp64s4mVE8R63veC8eeAPjlz/1A5RKwXEF1id8IFHe3a5iPAc8Vy1q/aPQI8ZwxnaFVrEp4rhjM8yeMsCedIeVs3YKoWjPWc2xXmM7lwF+llb2KfOz0SUJ+t3eleogZgOtYDMG65bx1oRRt/ErJ2xgJUs23WhS+l54oJqN/8JGd6N2LrxkuWRA7VvEDbv+8YuiKHbWgG4ZitydxVEbR/CWmDzxXpA1exMWYx42nVi5sEO9YzIRMs1oGD4BV5yWxF+EKI4yMn7kRVldSIdaCyWRIWUonSXuluUuxb39iez5hD+JRqXvv4CI7RGQlcie33oF3MFADRRF6KcwQguAtd3pK66xtbjwym9JyxCqGVok5x6Ir5osYE29bDqlP8kzoCD5zVMmUvaOBOQFXhZ78iQbyfH7t0DVhpX2vd+dgBdPTosF/YJufMhc7IXxua2bzB54r0dXSnsh4HnzOVHdDusG7weS4XJYCQwZUzClB13CBYMCtn9J96gxXABk78Z3eErw9O+CQ+R6WvBUDzSXzOnL5K9137zm+Kz5XKSnC3WDf4nLm7r9ygtp5I3+BzpQlgF1zINMXnSgNA9eiwfvLeh0RAQncMOzp20H7C6IEsqexe4tSdOAWilfjfDxKcDjinP2Q7/ItA1rRFjvA7mHvyFQ9ErF8LHHtB5zhyJVOu3oL7it2SA7Hbc1d45XDS5sFL7PGlI8h2MmUb2aMjvPKoa86Bl+fMlgTCiyXVlsyIrNqSmXg9EnfsCqW1knG74gwvFnjhTL2dYoYZN1zP3KlxUkXrK16SJis+Ixx5S3cGuO/r+6+1idNjRnASvyIPB+6kUjvWoTH2jAbhXNoWAg91S+aUM9O4SpNNue7Ep8OuTC9XujN8bZSLJrJoSV29JvGlWgc9XAzHaLh053aTWh78pcmHesgSzknov6Lzn/4Sh+4YaIqsGbdnh0kkFuBKJFa10b6STdbCNWIvYRRjyl0lZlzARpyGz2nMnyXi0KSumGk7X8neqTnaJkumLHHm6GxYPjrPA/JDXmt1hFdHNc2M+wLnkfjUDhFTL1J/paIjH2BIngWuUFNOAfP78o3avTOOpmKamd+aCWeOsOopVxSMB7LPf1JnQthKAMO4RXYlzFc/cQVXu2f7iLxiMXEl1qOW+tiBha7DJ8ZXTl1wUZquGz8hr1crKl6ukGVA9kvK3LmNYTvl+x5awxFobdvVUXIIhzPx624Od/U0aUVxml+SIR9HK437X7njrUVtnEQkWblCK4eeFlq0bhmaYC4Di64Qs51V2uJy5qTs5jAGJxdgrpyS1k2LiSSDvj8J8198QmeLyixsTYfOyTzam+vBEpIlPpwjuLq2I2OytMeZZKUiW8ZtMM+p1K7tOzZTKryiGI2xv6TOtKDsWY8nbrFNEu4vceQKN+t7c5qEoTNxWOsJkfu1W2Uqii7Tk6726P8D";\r\nSidebar.prototype.gearImage=GRAPH_IMAGE_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.libAliases={aws2:"aws3",gcp:"gcp2"};Sidebar.prototype.defaultEntries="general;uml;er;bpmn;flowchart;basic;arrows2";Sidebar.prototype.signs="Animals Food Healthcare Nature People Safety Science Sports Tech Transportation Travel".split(" ");Sidebar.prototype.ibm="Analytics Applications Blockchain Data DevOps Infrastructure Management Miscellaneous Security Social Users VPC Boxes Connectors".split(" ");Sidebar.prototype.allied_telesis=\r\n"Buildings;Computer and Terminals;Media Converters;Security;Storage;Switch;Wireless".split(";");Sidebar.prototype.gcp="Cards;Big Data;Compute;Developer Tools;Extras;Identity and Security;Machine Learning;Management Tools;Networking;Storage Databases".split(";");Sidebar.prototype.gcp2="Paths;Zones;Service Cards;Compute;API Management;Security;Data Analytics;Data Transfer;Cloud AI;Internet of Things;Databases;Storage;Management Tools;Networking;Developer Tools;Expanded Product Cards;User Device Cards;Product Cards;General Icons;Icons AI Machine Learning;Icons Compute;Icons Data Analytics;Icons Management Tools;Icons Networking;Icons Developer Tools;Icons API Management;Icons Internet of Things;Icons Databases;Icons Storage;Icons Security;Icons Migration;Icons Hybrid and Multi Cloud".split(";");\r\nSidebar.prototype.rack="General;APC;Cisco;Dell;F5;HP;HPE Aruba Gateways Controllers;HPE Aruba Security;HPE Aruba Switches;IBM;Oracle".split(";");Sidebar.prototype.pids="Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";");Sidebar.prototype.cisco="Buildings;Computers and Peripherals;Controllers and Modules;Directors;Hubs and Gateways;Misc;Modems and Phones;People;Routers;Security;Servers;Storage;Switches;Wireless".split(";");\r\nSidebar.prototype.cisco19="LAN Switching;Routing WAN;Network Management;Data Center;Wireless LAN;Collaboration;Security Clouds Connectors;Endpoint Client Device Icons;DNA SD Access;SD WAN Viptela;ETA Stealthwatch;SAFE".split(";");Sidebar.prototype.cisco_safe="Architecture;Business Icons;Capability;Design;IoT Things Icons;People Places Things Icons;Security Icons;Technology Icons;Threat".split(";");Sidebar.prototype.sysml="Model Elements;Blocks;Ports and Flows;Constraint Blocks;Activities;Interactions;State Machines;Use Cases;Allocations;Requirements;Profiles;Stereotypes".split(";");\r\nSidebar.prototype.eip="Message Construction;Message Routing;Message Transformation;Messaging Channels;Messaging Endpoints;Messaging Systems;System Management".split(";");Sidebar.prototype.gmdl="Bottom Navigation;Bottom Sheets;Buttons;Cards;Chips;Dialogs;Dividers;Grid Lists;Icons;Lists;Menus;Misc;Pickers;Selection Controls;Sliders;Steppers;Tabs;Text Fields".split(";");Sidebar.prototype.aws2="Analytics;Application Services;Compute;Database;Developer Tools;Enterprise Applications;Game Development;General;Internet of Things;Management Tools;Mobile Services;Networking;On-Demand Workforce;SDKs;Security and Identity;Storage and Content Delivery;Groups".split(";");\r\nSidebar.prototype.aws3="Analytics;Application Services;Artificial Intelligence;Business Productivity;Compute;Contact Center;Database;Desktop and App Streaming;Developer Tools;Game Development;General;Groups;Internet of Things;Management Tools;Messaging;Migration;Mobile Services;Networking and Content Delivery;On Demand Workforce;SDKs;Security Identity and Compliance;Storage".split(";");Sidebar.prototype.aws4b="Arrows;General Resources;Illustrations;Groups Light;Groups Dark;Analytics;Application Integration;AR VR;Cost Management;Business Productivity;Compute;Customer Engagement;Database;Desktop App Streaming;Developer Tools;Game Development;Internet of Things;IoT Things;IoT Resources;Machine Learning;Management Tools;Media Services;Migration;Mobile Services;Network Content Delivery;Security Identity Compliance;Storage".split(";");\r\nSidebar.prototype.aws4="Arrows;General Resources;Illustrations;Groups;Analytics;Application Integration;AR VR;Cost Management;Blockchain;Business Applications;EC2 Instance Types;Compute;Containers;Customer Enablement;Customer Engagement;Database;End User Computing;Developer Tools;Game Tech;Internet of Things;IoT Things;IoT Resources;Machine Learning;Management Governance;Media Services;Migration Transfer;Mobile;Network Content Delivery;Quantum Technologies;Robotics;Satellite;Serverless;Security Identity Compliance;Storage".split(";");\r\nSidebar.prototype.office="Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.veeam="Data Center;Misc;Software;Storage;UsersStatus;VASComponents;Backup Replication;Products;VMs and Tape;2D;3D".split(";");Sidebar.prototype.veeam2="Auxiliary;Data Center;Features;General;Products and Components;Software;States;Storage;3D".split(";");Sidebar.prototype.archimate3="Application;Business;Composite;Implementation and Migration;Motivation;Physical;Relationships;Strategy;Technology".split(";");\r\nSidebar.prototype.electrical="LogicGates Resistors Capacitors Inductors SwitchesRelays Diodes Sources Transistors Misc Audio PlcLadder Abstract Optical VacuumTubes Waveforms Instruments RotMech Transmission".split(" ");Sidebar.prototype.customEntries=null;Sidebar.prototype.enabledLibraries=null;Sidebar.prototype.maxPreloadCount=20;Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"uml25"},{id:"search"},{id:"er"},{id:"azure2",prefix:"azure2",libs:"AI Machine Learning;Analytics;App Services;Azure Stack;Azure VMware Solution;Blockchain;Compute;Containers;CXP;Databases;DevOps;General;Identity;Integration;Internet of Things;Intune;IoT;Management Governance;Migrate;Mixed Reality;Monitor;Networking;Other;Preview;Security;Storage;Web".split(";")},\r\n{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},{id:"flowchart"},{id:"basic"},{id:"infographic"},{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"vvd"},{id:"sitemap"},{id:"c4"},{id:"dfd"},{id:"threatModeling"},{id:"kubernetes"},{id:"cisco19",prefix:"cisco19",libs:Sidebar.prototype.cisco19},{id:"mscae",prefix:"mscae",libs:"Companies;EnterpriseFlat;IntuneFlat;OMSFlat;System CenterFlat;AI and ML Service;Analytics Service;Compute Service;Compute Service VM;Container Service;Databases Service;DevOps Service;General Service;Identity Service;Integration Service;Internet of Things Service;Intune Service;Management and Governance Service;Management and Governance Service Media;Migrate Service;Mixed Reality Service;Mobile Service;Networking Service;Other Category Service;Security Service;Storage Service;Web Service".split(";")},\r\n{id:"active_directory"},{id:"bpmn2",prefix:"bpmn2",libs:["General","Tasks","Choreographies","Events","Gateways"]},{id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"ibm",prefix:"ibm",libs:Sidebar.prototype.ibm},{id:"allied_telesis",prefix:"allied_telesis",libs:Sidebar.prototype.allied_telesis},{id:"cumulus",libs:["cumulus"]},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},\r\n{id:"pid2",prefix:"pid2",libs:"Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";")},{id:"signs",prefix:"signs",libs:Sidebar.prototype.signs},{id:"gcp",prefix:"gcp",libs:Sidebar.prototype.gcp},{id:"gcp2",prefix:"gcp2",libs:Sidebar.prototype.gcp2},{id:"rack",prefix:"rack",libs:Sidebar.prototype.rack},\r\n{id:"electrical",prefix:"electrical",libs:Sidebar.prototype.electrical},{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"aws3",prefix:"aws3",libs:Sidebar.prototype.aws3},{id:"aws4b",prefix:"aws4b",libs:Sidebar.prototype.aws4b},{id:"aws4",prefix:"aws4",libs:Sidebar.prototype.aws4},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"cisco_safe",prefix:"cisco_safe",libs:Sidebar.prototype.cisco_safe},{id:"office",prefix:"office",\r\nlibs:Sidebar.prototype.office},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"veeam2",prefix:"veeam2",libs:Sidebar.prototype.veeam2},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"atlassian",libs:["atlassian"]},{id:"fluid_power",libs:["fluid_power"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"webicons",\r\nlibs:["webicons","weblogos"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a=Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(c,b,d,e,l,m,p,n){if(null!=n&&1==e){var f=null;if(0<=mxUtils.indexOf(n,"text"))f="Double click anywhere in the diagram to insert text.";else for(var g="line lines arrow arrows connect connection connections connector connectors curve curves link links directed directional bidirectional".split(" "),h=0;h<g.length;h++)if(0<=mxUtils.indexOf(n,\r\ng[h])){f="Need help with connections?";break}if(null!=f&&!this.hideSearchHint){var k=document.createElement("a");k.setAttribute("href","https://youtu.be/Z0D96ZikMkc");k.setAttribute("target","_blank");k.className="geTitle";k.style.cssText="background-color:#ffd350;border-radius:6px;color:black;border:1px solid black !important;text-align:center;white-space:normal;padding:6px 0px 6px 0px !important;margin:4px 4px 8px 2px;font-size:12px;";mxUtils.write(k,f);f=document.createElement("img");f.setAttribute("src",\r\nDialog.prototype.closeImage);f.setAttribute("title",mxResources.get("hide"));f.className="geDialogClose";f.style.position="relative";f.style.cursor="default";f.style.top="1px";f.style.right="0px";mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){k.parentNode.removeChild(k);this.hideSearchHint=!0;mxEvent.consume(a)}));k.appendChild(f);c.appendChild(k);this.hideSearchHint=!0}}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(a,c){this.showPalettes(a,c)};Sidebar.prototype.togglePalette=\r\nfunction(a){this.showPalette(a)};Sidebar.prototype.showPalettes=function(a,c,b){for(var d=0;d<c.length;d++)this.showPalette(a+c[d],b)};Sidebar.prototype.showPalette=function(a,c){var b=this.palettes[a];if(null!=b)for(var d=null!=c?c?"block":"none":"none"==b[0].style.display?"block":"none",e=0;e<b.length;e++)b[e].style.display=d;return b};Sidebar.prototype.getConfigurationById=function(a){for(var c=0;c<this.configuration.length;c++)if(this.configuration[c].id==a)return this.configuration[c];if(null!=\r\nthis.customEntries)for(c=0;c<this.customEntries.length;c++)for(var b=this.customEntries[c],d=0;d<b.entries.length;d++){var e=b.entries[d];if(e.id==a)return{id:e.id,libs:e.libs}}return null};Sidebar.prototype.isEntryVisible=function(a){var c=this.getConfigurationById(a);if(null!=c){var b=this.palettes[null!=c.libs?(c.prefix||"")+c.libs[0]:a];if(null!=b)return"none"!=b[0].style.display}if(null!=this.customEntries)for(c=0;c<this.customEntries.length;c++)for(var b=this.customEntries[c],d=0;d<b.entries.length;d++){var e=\r\nb.entries[d];if(e.id==a){if(null!=e.libs&&0<e.libs.length&&(b=this.palettes[e.id+".0"],null!=b))return"none"!=b[0].style.display;break}}return!1};Sidebar.prototype.showEntries=function(a,c,b){var d=[];c&&(mxSettings.setLibraries(a),mxSettings.save());null!=a&&(b||0<a.length)?d.push(a):(a=!1,null!=urlParams.libs&&0<urlParams.libs.length&&(d.push(decodeURIComponent(urlParams.libs)),a="draw.io"==this.editorUi.getServiceName()),a||(null!=mxSettings&&null!=mxSettings.settings?d.push(mxSettings.getLibraries()):\r\nd.push(this.defaultEntries)));c=d.join(";").split(";");d={};for(a=0;a<c.length;a++)d[this.libAliases[c[a]]||c[a]]=!0;for(a=0;a<this.configuration.length;a++)"search"!=this.configuration[a].id&&this.showPalettes(this.configuration[a].prefix||"",this.configuration[a].libs||[this.configuration[a].id],1==d[this.configuration[a].id]);if(null!=this.customEntries)for(a=0;a<this.customEntries.length;a++)for(c=this.customEntries[a],b=0;b<c.entries.length;b++){var e=c.entries[b];if(null!=e.libs&&0<e.libs.length){for(var f=\r\n[],g=0;g<e.libs.length;g++)f.push(e.id+"."+g);this.showPalettes("",f,d[e.id])}}};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.png"},\r\n{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.get("software"),entries:[{title:"Active Directory",id:"active_directory",image:IMAGE_PATH+"/sidebar-active_directory.png"},{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:"Atlassian",id:"atlassian",image:IMAGE_PATH+"/sidebar-atlassian.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:"C4",\r\nid:"c4",image:IMAGE_PATH+"/sidebar-c4.png"},{title:"Data Flow Diagram",id:"dfd",image:IMAGE_PATH+"/sidebar-dfd.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:"Sitemap",id:"sitemap",image:IMAGE_PATH+"/sidebar-sitemap.png"},{title:mxResources.get("uml")+" 2.5",id:"uml25",image:IMAGE_PATH+\r\n"/sidebar-uml25.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:"Allied Telesis",id:"allied_telesis",image:IMAGE_PATH+"/sidebar-allied_telesis.png"},{title:"AWS17",id:"aws3",image:IMAGE_PATH+"/sidebar-aws3.png"},{title:"AWS18",id:"aws4b",image:IMAGE_PATH+"/sidebar-aws4b.png"},{title:"AWS19",id:"aws4",image:IMAGE_PATH+"/sidebar-aws4.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},\r\n{title:mxResources.get("azure"),id:"azure2",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud & Enterprise",id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Cisco19",id:"cisco19",image:IMAGE_PATH+"/sidebar-cisco19.png"},{title:"Cisco Safe",id:"cisco_safe",image:IMAGE_PATH+"/sidebar-cisco_safe.png"},{title:"Cumulus",id:"cumulus",image:IMAGE_PATH+"/sidebar-cumulus.png"},{title:"Citrix",id:"citrix",image:IMAGE_PATH+\r\n"/sidebar-citrix.png"},{title:"Google Cloud Platform",id:"gcp2",image:IMAGE_PATH+"/sidebar-gcp2.png"},{title:"IBM",id:"ibm",image:IMAGE_PATH+"/sidebar-ibm.png"},{title:"Kubernetes",id:"kubernetes",image:IMAGE_PATH+"/sidebar-kubernetes.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},{title:"Veeam",id:"veeam2",image:IMAGE_PATH+\r\n"/sidebar-veeam.png"},{title:"VMware",id:"vvd",image:IMAGE_PATH+"/sidebar-vvd.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn")+" 2.0",id:"bpmn2",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"},{title:"Value Stream Mapping",\r\nid:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"}]},{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:"Infographic",id:"infographic",image:IMAGE_PATH+"/sidebar-infographic.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",\r\nimage:IMAGE_PATH+"/sidebar-floorplans.png"},{title:"Fluid Power (ISO 1219)",id:"fluid_power",image:IMAGE_PATH+"/sidebar-fluid_power.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:"Threat Modeling",id:"threatModeling",image:IMAGE_PATH+"/sidebar-threatmodeling.png"},{title:"Web Icons",id:"webicons",image:IMAGE_PATH+"/sidebar-webIcons.png"},{title:mxResources.get("signs"),id:"signs",\r\nimage:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=!1;this.shapetags={};null!=this.tagIndex&&(this.addTagIndex(Graph.decompress(this.tagIndex)),this.tagIndex=null);this.initPalettes()};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(a,c,b){var d=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==c.style.display?"url(\'"+this.collapsedImage+"\')":"url(\'"+this.expandedImage+"\')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition=\r\n"0% 50%";var e=document.createElement("button");e.style.marginLeft="4px";mxUtils.write(e,"Save");mxEvent.addListener(a,"click",mxUtils.bind(this,function(f){if("BUTTON"==mxEvent.getSource(f).nodeName){f=a.cloneNode(!0);f.style.backgroundImage="";f.style.textDecoration="none";f.style.fontWeight="bold";f.style.fontSize="14px";f.style.color="rgb(80, 80, 80)";f.style.width="456px";f.style.backgroundColor="#ffffff";f.style.paddingLeft="6px";var g=f.getElementsByTagName("button")[0];g.parentNode.removeChild(g);\r\nvar h=c.cloneNode(!0);h.style.backgroundColor="#ffffff";h.style.borderColor="transparent";h.style.width="456px";f=(new DOMParser).parseFromString(\'<body style="background:#ffffff;font-family:Helvetica,Arial;">\'+f.outerHTML+h.outerHTML+"</body>","text/html");this.editorUi.editor.convertImages(f.documentElement,mxUtils.bind(this,function(a){var c=\'<!DOCTYPE html><html><head><link rel="stylesheet" type="text/css" href="https://www.draw.io/styles/grapheditor.css"></head>\'+mxUtils.getXml(a)+"</html>";\r\nh.style.position="absolute";window.document.body.appendChild(h);var b=h.clientHeight+18;h.parentNode.removeChild(h);this.editorUi.confirm("Image data created",mxUtils.bind(this,function(){(new mxXmlRequest(EXPORT_URL,"w=456&h="+b+"&html="+encodeURIComponent(Graph.compress(c)))).simulate(document,"_blank")}),null,mxResources.get("save"),mxResources.get("cancel"))}))}else{if("none"==c.style.display){if(d)a.appendChild(e);else if(d=!0,null!=b){null!=e.parentNode&&e.parentNode.removeChild(e);a.style.cursor=\r\n"wait";var k=a.innerHTML;a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){b(c);a.style.cursor="";a.innerHTML=k;a.appendChild(e)},0)}else a.appendChild(e);a.style.backgroundImage="url(\'"+this.expandedImage+"\')";c.style.display="block"}else a.style.backgroundImage="url(\'"+this.collapsedImage+"\')",c.style.display="none",null!=e.parentNode&&e.parentNode.removeChild(e);mxEvent.consume(f)}}))});Sidebar.prototype.extractShapeStyle=function(a){if(null!=a&&"shape="==a.substring(0,\r\n6)){var c=a.indexOf(";");0>c&&(c=a.length);return a.substring(6,c)}return null};var b=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(a,c,d){var e=b.apply(this,arguments);null!=this.shapetags&&(a=a.toLowerCase(),c=c.toLowerCase(),null!=this.shapetags[a]&&e.push(this.shapetags[a]),c=a+"."+c,null!=this.shapetags[c]&&e.push(this.shapetags[c]));return e};Sidebar.prototype.addTagIndex=function(a){a=a.split("\\n");for(var c=0;c<a.length;c++)if(null!=a[c]){var b=a[c].split("\\t");\r\nif(1<b.length){var d=b[0].toLowerCase().replace(" ","_"),b=mxUtils.trim(b.slice(1,b.length).join(" ").toLowerCase());0<b.length&&(this.shapetags[d]=b)}}};Sidebar.prototype.showPopupMenuForEntry=function(a,c,b){if(null!=c&&0<c.length){var d=mxUtils.getOffset(a);this.editorUi.showPopupMenu(mxUtils.bind(this,function(a,d){a.addItem(mxResources.get("openLibrary"),null,mxUtils.bind(this,function(){for(var a=0;a<c.length;a++)mxUtils.bind(this,function(d){d=this.getConfigurationById(d.id);if(null!=d){this.showPalettes(d.prefix||\r\n"",d.libs||[d.id],!0);var e=this.showPalette(c[a].lib||c[a].id,!0);null!=e&&1<e.length&&null!=e[1].firstChild&&(null==e[1].firstChild.firstChild||"none"==e[1].firstChild.style.display)&&e[0].click();window.setTimeout(function(){e[1].scrollIntoView(!0)},0);mxEvent.consume(b)}})(c[a])}))}),d.x,d.y+a.offsetHeight,b)}};Sidebar.prototype.addSearchIndex=function(a){if(null!=a)for(var c=0;c<a.length;c++)if(null!=a[c].style){var b=a[c].style,d=this.extractShapeStyle(b);if(null!=d){var e=d.lastIndexOf(".");\r\nif(0<e){var f=d.substring(0,e),d=d.substring(e+1,d.length),e=this.getTagsForStencil(f,d,a[c].tags);if(null!=e){var p=b.indexOf(";"),b="shape="+f+"."+d.toLowerCase()+";"+(0>p?"":b.substring(p+1));this.setCurrentSearchEntryLibrary(a[c].id,a[c].lib);this.createVertexTemplateEntry(b,parseInt(a[c].w),parseInt(a[c].h),"",d.replace(/_/g," "),null,null,this.filterTags(e.join(" ")));this.setCurrentSearchEntryLibrary()}}}}};Sidebar.prototype.initPalettes=function(){var a=GRAPH_IMAGE_PATH,c=STENCIL_PATH,b=this.signs,\r\nd=this.rack,e=this.pids,m=this.cisco,p=this.sysml;"1"==urlParams.createindex&&(this.createdSearchIndex=[]);this.addSearchPalette(!0);if(null!=this.customEntries)for(var n=0,q=0;q<this.customEntries.length;q++)for(var r=this.customEntries[q],u=0;u<r.entries.length;u++)for(var t=r.entries[u],v=0;v<t.libs.length;v++)mxUtils.bind(this,function(a){var c=null,b=null,d=null,e=null,f=mxUtils.bind(this,function(a,c){var b=document.createElement("span");b.style.paddingBottom="6px";b.style.paddingTop="6px";\r\nb.style.fontSize="11px";mxUtils.write(b,a);c.innerHTML=\'<img align="top" src="\'+mxGraph.prototype.warningImage.src+\'"/> \';c.appendChild(b)}),g=mxUtils.bind(this,function(){null!=d&&null!=e&&(null!=b?(d.style.display="block",e.innerHTML="",mxUtils.write(e,this.editorUi.getResource(a.title)),f(b,d)):null!=c?(this.editorUi.addLibraryEntries(c,d),d.style.display="block",e.innerHTML="",mxUtils.write(e,this.editorUi.getResource(a.title))):(d.style.display="none",e.innerHTML="",mxUtils.write(e,mxResources.get("loading")+\r\n"...")))});if(null==a.data&&null!=a.url&&!a.preload&&n>=this.maxPreloadCount)this.addPalette(t.id+"."+v,this.editorUi.getResource(a.title),!1,mxUtils.bind(this,function(c,b){var d=mxUtils.bind(this,function(a){this.setCurrentSearchEntryLibrary(t.id,t.id+"."+v);this.addEntries(a);this.setCurrentSearchEntryLibrary();this.editorUi.addLibraryEntries(a,c)});c.style.display="none";b.innerHTML="";mxUtils.write(b,mxResources.get("loading")+"...");var e=a.url;this.editorUi.editor.isCorsEnabledForUrl(e)||(e=\r\nPROXY_URL+"?url="+encodeURIComponent(e));this.editorUi.editor.loadUrl(e,mxUtils.bind(this,function(e){c.style.display="block";b.innerHTML="";mxUtils.write(b,this.editorUi.getResource(a.title));try{var g=mxUtils.parseXml(e);if("mxlibrary"==g.documentElement.nodeName){var h=JSON.parse(mxUtils.getTextContent(g.documentElement));d(h)}else f(mxResources.get("notALibraryFile"),c)}catch(C){f(mxResources.get("error")+": "+C.message,c)}}))}));else if(this.addPalette(t.id+"."+v,this.editorUi.getResource(a.title),\r\n!1,mxUtils.bind(this,function(a,c){d=a;e=c;g()})),null!=a.data)this.setCurrentSearchEntryLibrary(t.id,t.id+"."+v),this.addEntries(a.data),this.setCurrentSearchEntryLibrary(),c=a.data,g();else if(null!=a.url){n++;var h=a.url;this.editorUi.editor.isCorsEnabledForUrl(h)||(h=PROXY_URL+"?url="+encodeURIComponent(h));this.editorUi.editor.loadUrl(h,mxUtils.bind(this,function(a){try{var d=mxUtils.parseXml(a);"mxlibrary"==d.documentElement.nodeName?(c=JSON.parse(mxUtils.getTextContent(d.documentElement)),\r\nthis.addEntries(c)):b=mxResources.get("notALibraryFile");g()}catch(B){b=mxResources.get("error")+": "+B.message,g()}}),mxUtils.bind(this,function(a){b=null!=a&&null!=a.message?a.message:a;g()}))}else b=mxResources.get("invalidInput"),g()})(t.libs[v]);this.addGeneralPalette(null==this.customEntries);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),c+"/arrows.xml",";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+\r\n"=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",a+"/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(" "),\r\n"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");\r\nthis.addImagePalette("finance","Clipart / Finance",a+"/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",a+"/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(" "),\r\n"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",a+"/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(" "),\r\n"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",\r\nRouter:"router switch",Router_Icon:"router switch"});this.setCurrentSearchEntryLibrary("clipart","people");this.addImagePalette("people","Clipart / People",a+"/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(" "));\r\nthis.setCurrentSearchEntryLibrary("clipart","telco");this.addImagePalette("telco","Clipart / Telecommunication",a+"/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();\r\nthis.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(m,c);this.addCisco19Palette();this.addCiscoSafePalette();\r\nthis.addCumulusPalette();this.addCitrixPalette();this.addGCP2Palette();this.addIBMPalette();this.addNetworkPalette();this.addOfficePalette();this.addRackPalette(d,c);this.addVeeamPalette();this.addVeeam2Palette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addBpmn2Palette();this.addSysMLPalette(p,c);this.addLeanMappingPalette();this.addCabinetsPalette();this.addInfographicPalette();this.addEipPalette();this.addElectricalPalette();this.addFloorplanPalette();this.addFluidPowerPalette();\r\nthis.addGMDLPalette();this.addPidPalette(e,c);this.addThreatModelingPalette();this.addWebIconsPalette();this.addWebLogosPalette();this.addSignsPalette(b,c);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(a,c,b,d,l,m,p,n,q,r){e.apply(this,arguments);p=null!=p?p:1;mxStencilRegistry.loadStencilSet(b,\r\nmxUtils.bind(this,function(c,b,e,f,g){if(null!=this.createdSearchIndex&&null==l||0>mxUtils.indexOf(l,b))c={style:"shape="+c+b+d,w:Math.round(f*p),h:Math.round(g*p)},b=null!=n?n[b]:null,null!=b&&(c.tags=b),null!=r&&(c.id=r,c.lib=a),this.createdSearchIndex.push(c)}),!0)}}Sidebar.prototype.extractIconsFromResponse=function(a,c){for(var b=0;b<a.icons.length;b++){for(var d=a.icons[b].raster_sizes,e=d.length-1;0<e&&128<d[e].size;)e--;var f=d[e].size,d=d[e].formats[0].preview_url;null!=f&&null!=d&&mxUtils.bind(this,\r\nfunction(a,b){c.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+b,a,a,"")}))})(f,d)}};var c=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(a,b,d,e,l){var f=e;null!=this.searchIndexData&&(this.addSearchIndex(JSON.parse(Graph.decompress(this.searchIndexData))),this.searchIndexData=null);null!=ICONSEARCH_PATH&&(e=mxUtils.bind(this,\r\nfunction(c,e,g,h){!this.editorUi.isOffline()&&c.length<=b/4?(g=d-Math.ceil((e-b/4)/b),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(a)+"&p="+g+"&c="+b,mxUtils.bind(this,function(a){try{if(200<=a.getStatus()&&299>=a.getStatus())if(null!=a.getText()&&0<a.getText().length)try{var g=JSON.parse(a.getText());null==g||null==g.icons?(f(c,e,!1,h),this.editorUi.handleError(g)):(this.extractIconsFromResponse(g,c),f(c,(d-1)*b+c.length,g.icons.length==b,h))}catch(v){f(c,e,!1,h),this.editorUi.handleError(v)}else f(c,\r\ne,!1,h);else f(c,e,!1,h),this.editorUi.handleError({message:mxResources.get("unknownError")})}catch(v){f(c,e,!1,h),this.editorUi.handleError(v)}},function(){f(c,e,!1,h)}))):f(c,e,g||!this.editorUi.isOffline(),h)}));c.apply(this,arguments)};var d=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(a,c,b){var e=this.editorUi.editor.graph,f=!1;if(null!=a&&1==e.getSelectionCount()&&e.getModel().isVertex(a[0])){var g=e.cloneCell(a[0]);if(e.getModel().isEdge(e.getSelectionCell())&&null==\r\ne.getModel().getTerminal(e.getSelectionCell(),!1)&&e.getModel().isVertex(g)){e.getModel().beginUpdate();try{var h=e.view.getState(e.getSelectionCell());if(null!=h){var n=e.view.translate,q=e.view.scale,r=h.absolutePoints[h.absolutePoints.length-1];g.geometry.x=r.x/q-n.x-g.geometry.width/2;g.geometry.y=r.y/q-n.y-g.geometry.height/2}e.addCell(g);e.getModel().setTerminal(e.getSelectionCell(),g,!1);null!=b&&mxEvent.isShiftDown(b)||e.fireEvent(new mxEventObject("cellsInserted","cells",[g]))}catch(u){this.editorUi.handleError(u)}finally{e.getModel().endUpdate()}e.scrollCellToVisible(g);\r\ne.setSelectionCell(g);f=!0}}f||d.apply(this,arguments)}})();(function(){Sidebar.prototype.addActiveDirectoryPalette=function(){this.setCurrentSearchEntryLibrary("active_directory");var a=[this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/active_directory.svg;",50,42.5,"","Active Directory",!1,null,this.getTagsForStencil("ms active directory ","active directory","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cd_dvd.svg;",\r\n50,50,"","CD / DVD",!1,null,this.getTagsForStencil("ms active directory ","cd dvd compact digital video disc","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cell_phone.svg;",21,50,"","Cell Phone",!1,null,this.getTagsForStencil("ms active directory ","cell phone","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cluster_server.svg;",\r\n50,50,"","Cluster Server",!1,null,this.getTagsForStencil("ms active directory ","active","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/community_discussion.svg;",50,45,"","Community Discussion",!1,null,this.getTagsForStencil("ms active directory ","community discussion","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/data_jack.svg;",\r\n50*.55,50,"","Data Jack",!1,null,this.getTagsForStencil("ms active directory ","data jack","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database.svg;",50,37,"","Database",!1,null,this.getTagsForStencil("ms active directory ","database","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database_cube.svg;",\r\n45,50,"","Database Cube",!1,null,this.getTagsForStencil("ms active directory ","database cube","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database_partition_2.svg;",50,37,"","Database Partition 2",!1,null,this.getTagsForStencil("ms active directory ","database partition two","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database_partition_3.svg;",\r\n50,37,"","Database Partition 3",!1,null,this.getTagsForStencil("ms active directory ","database partition three","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database_partition_4.svg;",50,37,"","Database Partition 4",!1,null,this.getTagsForStencil("ms active directory ","database partition four","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database_partition_5.svg;",\r\n50,37,"","Database Partition 5",!1,null,this.getTagsForStencil("ms active directory ","database partition five","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database_server.svg;",41,50,"","Database Server",!1,null,this.getTagsForStencil("ms active directory ","database server","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/databases.svg;",\r\n50,49,"","Databases",!1,null,this.getTagsForStencil("ms active directory ","databases","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/documents.svg;",33,50,"","Documents",!1,null,this.getTagsForStencil("ms active directory ","documents","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/domain_controller.svg;",\r\n35,50,"","Domain Controller",!1,null,this.getTagsForStencil("ms active directory ","domain controller","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/fax.svg;",50,37.5,"","Fax",!1,null,this.getTagsForStencil("ms active directory ","fax","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/firewall.svg;",\r\n30.5,50,"","Firewall",!1,null,this.getTagsForStencil("ms active directory ","firewall","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/folder.svg;",36.5,50,"","Folder",!1,null,this.getTagsForStencil("ms active directory ","folder","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/folder_open.svg;",\r\n46,50,"","Folder Open",!1,null,this.getTagsForStencil("ms active directory ","folder open","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/generic_node.svg;",50,49,"","Generic Node",!1,null,this.getTagsForStencil("ms active directory ","generic node","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/generic_server.svg;",\r\n50*.56,50,"","Generic Server",!1,null,this.getTagsForStencil("ms active directory ","generic server","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/hard_disk.svg;",50,27,"","Hard Disk",!1,null,this.getTagsForStencil("ms active directory ","hard disk","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/home.svg;",\r\n50,48.5,"","Home",!1,null,this.getTagsForStencil("ms active directory ","home","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/home_page.svg;",50,45,"","Home Page",!1,null,this.getTagsForStencil("ms active directory ","home page","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/input_output_filter.svg;",\r\n33.5,50,"","Input/Output Filter",!1,null,this.getTagsForStencil("ms active directory ","input output filter io","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/interface.svg;",50,23.5,"","Interface",!1,null,this.getTagsForStencil("ms active directory ","active","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/internet_cloud.svg;",\r\n50,31.5,"","Internet Cloud",!1,null,this.getTagsForStencil("ms active directory ","internet cloud","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/internet_globe.svg;",50,50,"","Internet Globe",!1,null,this.getTagsForStencil("ms active directory ","internet globe","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/key.svg;",\r\n50,37,"","Key",!1,null,this.getTagsForStencil("ms active directory ","key","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/laptop_client.svg;",45,50,"","Laptop Client",!1,null,this.getTagsForStencil("ms active directory ","laptop client","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/list.svg;",\r\n35,50,"","List",!1,null,this.getTagsForStencil("ms active directory ","list","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/mac_client.svg;",47,50,"","Mac Client",!1,null,this.getTagsForStencil("ms active directory ","mac macintosh client","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/mainframe.svg;",\r\n50,47.5,"","Mainframe",!1,null,this.getTagsForStencil("ms active directory ","mainframe","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/mainframe_host.svg;",36,50,"","Mainframe Host",!1,null,this.getTagsForStencil("ms active directory ","mainframe host","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/meeting.svg;",\r\n50,45.5,"","Meeting",!1,null,this.getTagsForStencil("ms active directory ","meeting","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/modem.svg;",50,41.5,"","Modem",!1,null,this.getTagsForStencil("ms active directory ","modem","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/my_sites.svg;",\r\n50,45,"","My Sites",!1,null,this.getTagsForStencil("ms active directory ","my sites","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/not_secure.svg;",44,50,"","Not Secure",!1,null,this.getTagsForStencil("ms active directory ","not secure","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/pda.svg;",\r\n27,50,"","PDA",!1,null,this.getTagsForStencil("ms active directory ","pda personal digital assistant","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/phone.svg;",50,39.5,"","Phone",!1,null,this.getTagsForStencil("ms active directory ","phone","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/printer.svg;",\r\n50,33,"","Printer",!1,null,this.getTagsForStencil("ms active directory ","printer","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/router.svg;",50,38,"","Router",!1,null,this.getTagsForStencil("ms active directory ","router","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/secure.svg;",\r\n32,50,"","Secure",!1,null,this.getTagsForStencil("ms active directory ","secure","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/security.svg;",31.5,50,"","Security",!1,null,this.getTagsForStencil("ms active directory ","security","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/server_farm.svg;",\r\n50,50,"","Server Farm",!1,null,this.getTagsForStencil("ms active directory ","server farm","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/shadowed_router.svg;",41,50,"","Shadowed Router",!1,null,this.getTagsForStencil("ms active directory ","shadowed router","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/site_collection.svg;",\r\n50,47,"","Site Collection",!1,null,this.getTagsForStencil("ms active directory ","site collection","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/sql_server.svg;",38.5,50,"","SQL Server",!1,null,this.getTagsForStencil("ms active directory ","sql server","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/sub_site.svg;",\r\n50,43,"","Sub-site",!1,null,this.getTagsForStencil("ms active directory ","sub site","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/switch.svg;",50,50,"","Switch",!1,null,this.getTagsForStencil("ms active directory ","switch","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/tablet_pc.svg;",\r\n36.5,50,"","Tablet PC",!1,null,this.getTagsForStencil("ms active directory ","tablet pc","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/tunnel.svg;",50,10,"","Tunnel",!1,null,this.getTagsForStencil("ms active directory ","tunnel","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/user.svg;",\r\n18.5,50,"","User",!1,null,this.getTagsForStencil("ms active directory ","user","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/user_accounts.svg;",50,48.5,"","User Accounts",!1,null,this.getTagsForStencil("ms active directory ","user accounts","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/users.svg;",\r\n33,50,"","Users",!1,null,this.getTagsForStencil("ms active directory ","users","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/vista_client.svg;",38,50,"","Vista Client",!1,null,this.getTagsForStencil("ms active directory ","vista client","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/vista_terminal.svg;",\r\n32.5,50,"","Vista Terminal",!1,null,this.getTagsForStencil("ms active directory ","vista terminal","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/web_server.svg;",40,50,"","Web Server",!1,null,this.getTagsForStencil("ms active directory ","web server","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/wiki_site.svg;",\r\n50,50,"","Wiki Site",!1,null,this.getTagsForStencil("ms active directory ","wiki site","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/windows_domain.svg;",50,42.5,"","Windows Domain",!1,null,this.getTagsForStencil("ms active directory ","windows domain","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/windows_router.svg;",\r\n40,50,"","Windows Router",!1,null,this.getTagsForStencil("ms active directory ","windows router","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/windows_server.svg;",41,50,"","Windows Server",!1,null,this.getTagsForStencil("ms active directory ","windows server","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/windows_server_2.svg;",\r\n40,50,"","Windows Server",!1,null,this.getTagsForStencil("ms active directory ","windows server","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/wiring_hub.svg;",50,34,"","Wiring Hub",!1,null,this.getTagsForStencil("ms active directory ","wiring hub","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/workspace_site.svg;",\r\n50,48.5,"","Workspace Site",!1,null,this.getTagsForStencil("ms active directory ","workspace site","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/workstation_client.svg;",42.5,50,"","Workstation Client",!1,null,this.getTagsForStencil("ms active directory ","workstation client","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/writer.svg;",\r\n48,50,"","Writer",!1,null,this.getTagsForStencil("ms active directory ","writer","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/writing.svg;",49,50,"","Writing",!1,null,this.getTagsForStencil("ms active directory ","writing","ibm").join(" "))];this.addPalette("active_directory","Active Directory",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}));\r\nthis.setCurrentSearchEntryLibrary()}})();(function(){var a=Sidebar.prototype.createAdvancedShapes;Sidebar.prototype.createAdvancedShapes=function(){this.setCurrentSearchEntryLibrary("general","advanced");var b=a.apply(this,arguments),e=this,c=new mxCell("Vertical Flow Layout",new mxGeometry(0,0,270,280),"swimlane;startSize=20;horizontal=1;childLayout=flowLayout;flowOrientation=north;resizable=0;interRankCellSpacing=50;containerType=tree;");c.vertex=!0;var d=new mxCell("Start",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");d.vertex=\r\n!0;c.insert(d);var f=new mxCell("Task",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");f.vertex=!0;c.insert(f);var g=new mxCell("",new mxGeometry(0,0,0,0),"html=1;curved=1;");g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);f.insertEdge(g,!1);c.insert(g);var h=new mxCell("Task",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");h.vertex=!0;c.insert(h);g=g.clone();d.insertEdge(g,!0);h.insertEdge(g,!1);c.insert(g);d=new mxCell("End",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");\r\nd.vertex=!0;c.insert(d);g=g.clone();f.insertEdge(g,!0);d.insertEdge(g,!1);c.insert(g);g=g.clone();h.insertEdge(g,!0);d.insertEdge(g,!1);c.insert(g);b=b.concat([this.addDataEntry("container swimlane pool horizontal",480,380,"Horizontal Pool 1","xZRBTsMwEEVP4709Doh1A3TTSpV6AqsZ1RZOXNkuTXp6JrFDVWgKSEAXkTx//njy38JMlnU792qnl65Cy+QTk6V3LqZT3ZZoLQNuKiYfGQCnj8HzRFcMXb5THpv4nQFIA6/K7jEpK+dsEkPsbBbDwdRWNVTNNtrYaqE6t+8XhKg2L2M18xjMEVfjdvFBWqqWVE6qdt4cXROVzTa6x8c1OamGc8e6X5Hn8t+ij9hOJh6kHHeOrsboO7IcTBV1chQPiQrXaLY6j8lRVCEJ2/fZE0A6ZIaXecpPPBc9NuDiGtMr6X8SHC4H73I3x/uKg4Bf4FBMcYCbcxDFf4K4mwIhbw4C7v8QBJWnV2zonT1ybw=="),\r\nthis.addDataEntry("container swimlane pool horizontal",480,360,"Horizontal Pool 2","zZRBbsIwEEVP470zTlHXpC0bkJA4gUVG2KoTI9tAwunrxENRaIJaqa1YRPL8+ZPJf4rMRFE1Cyf3amVLNEy8MlE4a0M6VU2BxjDgumTihQHw+DB4m+hmfZfvpcM6fGcA0sBRmgMmZW2tSaIPrSHRn3RlZB2r+VZpUy5law/dAh/k9v1SzR16fcb1ZXt2I61kE1UeVWWdPts6SENCfI8Lm+iMNQwdm24F2ehr0QVsJhP3EsVdoK0wuDZaTroMKjny50SFK9Q7RWNiRqL0Sdh9zl4BxgMxHOcpvvBcdtiAZ/eY3kn/k+AwHpwG6E8YcJiNcMjgFzjkUxzgYTi0N3H/hcvTFBfxaFwg/0MusbzecX1vcAV+AA=="),this.addDataEntry("container swimlane pool horizontal",\r\n360,480,"Vertical Pool 1","xZRRb8IgFIV/De/00pk9222+aGKyX0DsjZBRMYBK/fXeFpyba5dlWboHEu45nMB3HmCiauLCyb1a2RoNE89MVM7akHZNrNAYBlzXTDwxAE6LwcuIW/Qu30uHu/CTAKTAUZoDJmVtrUmiD63Joj/pxsgdTfON0qZeytYeugt8kJu36zR36PUZ19fbiztpJSOpnFSKufBKBs3QCfkZ6ALGUZReyhwLtA0G19KRk66DSifELOFyhXqrcqx8zKL0Sdi+Z2/N0CaXM1yU+FLUsusDePFdWb/jhGHONruZ5gN2AUPYsz/ALsewYTLseMf4HzU8jNUgpq4ByulqoPH2E/Xep4/qAg=="),this.addDataEntry("container swimlane pool vertical",380,480,"Vertical Pool 2","vZRBbsIwEEVP470zTquuSVs2ICFxAouMsFUnRrYpCafvJHYILaRiQxaRPG/8Pfnfkpkoqmbp5EGtbYmGiQ8mCmdtiKuqKdAYBlyXTLwzAE4fg8+JbtZ3+UE6rMMjAoiCb2mOGMnGWhOhD61J0J90ZWRN1WKntClXsrXHboAPcvc1VAuHXp9xM0zP/qC1bIhyoiRzYUsNqqEDyjp9tnWQJu0YwbYbkU5Lf4suYDPpuEfJ7hJthcG1tOWky6DiDvEWU+EK9V4lWT5A6SPYX7RjgLRIGd7PU9zkuepiA579l+lNHA/5hPs+kyBd/LXtDJ5lO5+yDXPbzvI5fb9M+RazX/frE31TOT5Jfe/Xi/UD"),\r\nthis.addDataEntry("vertical tree layout",280,190,"Vertical Tree Layout","5ZVNU4MwEIZ/DXcgteq1UHvRi+14T2GHZCYQJiyl9Ne7gWCLtE5ntAf1wJB99yPJk83EY1G+XxleihedgvLY0mOR0Rr7Ub6PQCkv9GXqsdgLQ58+L3y64A06r19yAwVekxD2CTuuauiVNzAoE26DNgaAfs+81TX2gRW2ygVWjcwVL8haVMgNruXBemhCthDayIMukMqwOCAhEVKlrhCLkQoPxklsNx+LbQEDlTzwrRrsxAbIAsymLcFVINmtnpYM+4sEOsltfwU6BzQthTQyReEoPPSUfAEyE0PaoxN51QvZR+4RKA0c0/N82YTvqz3bzywbIRHWJU+s3VA3WC6YD/Su2mZ4fpsuwfWB347NEwiBfwbC7AcYzCYMItsNJAX/C8TdBMRk/5BmsHYmqK1ulkdh0Qnk2A1XdMTG6LpIIXUXpq9sy33NiWbXtUlg1K50nTPAk9Ob0jSgOMrduPp34MwvdsmU0p/ukvvf2CXz23QJmce3sPONnsp3"),\r\nthis.addDataEntry("horizontal tree layout",310,160,"Horizontal Tree Layout","5ZXNUoMwEMefJncgtd4LVQ96sX2BtOxAZgJhwlJKn94NSQWkdTqjHtQDA/vfL/LLZsJ4XBwfjajyF52CYnzNeGy0RvdVHGNQikWBTBlPWBQF9LDo4Yo37L1BJQyUeEtC5BIOQjXglCdt5EmXKGzY1gDQ61l0ukEXWmOnfGjdykKJkqxVjcLgRp6sh1ryVT6U4YkV9rlUqS/EE6TCZ2MU2/fjSUiigVqexK7v1efbAFmC2XYV+Aok+/8Hg3C8yqCXPIBH0AWg6SiklSnmLoKHjlOQg8zyc9rSi6J2QvaeOyClD0/1MmE+I/xqd/cjyzaXCJtK7K3d0jxYLlgoT+OmZUaXl+kT/CQE3dQcQQiDCxAW38BgMWMQ22kgKfxfIO5mIGbrhzSDjTdB7XS7HoRVL5BjfLrGdIxuyhRSf2RcbVvwc1LUXzdmD5OBpQOdAY72b87TgBIoD9PqX8GzvDonc05/ek7uf+ecLH9mTsgcbsTeN7kw3wA="),\r\nthis.addEntry("vertical flow layout",function(){return e.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Vertical Flow Layout",!0)}),this.addEntry("horizontal flow layout",function(){var a=e.graph.cloneCell(c);a.geometry=new mxGeometry(0,0,460,150);a.style="swimlane;html=1;startSize=20;horizontal=0;childLayout=flowLayout;flowOrientation=west;resizable=0;interRankCellSpacing=50;containerType=tree;";a.value="Horizontal Flow Layout";return e.createVertexTemplateFromCells([a],a.geometry.width,\r\na.geometry.height,"Horizontal Flow Layout",!0)})]);this.setCurrentSearchEntryLibrary();return b}})();(function(){Sidebar.prototype.addAlliedTelesisPalette=function(){this.setCurrentSearchEntryLibrary("allied_telesis","allied_telesisBuildings");this.addAlliedTelesisBuildingsPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.setCurrentSearchEntryLibrary("allied_telesis","allied_telesisComputer and Terminals");this.addAlliedTelesisComputerTerminalsPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");\r\nthis.setCurrentSearchEntryLibrary("allied_telesis","allied_telesisMedia Converters");this.addAlliedTelesisMediaConvertersPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.setCurrentSearchEntryLibrary("allied_telesis","allied_telesisSecurity");this.addAlliedTelesisSecurityPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.setCurrentSearchEntryLibrary("allied_telesis",\r\n"allied_telesisStorage");this.addAlliedTelesisStoragePalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.setCurrentSearchEntryLibrary("allied_telesis","allied_telesisSwitch");this.addAlliedTelesisSwitchPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.setCurrentSearchEntryLibrary("allied_telesis","allied_telesisWireless");this.addAlliedTelesisWirelessPalette(60,\r\n"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAlliedTelesisBuildingsPalette=function(a,b,e,c){c+="buildings/";var d=[this.createVertexTemplateEntry(c+"Apartments.svg;",.9*a,1.75*a,"","Apartments",!1,null,this.getTagsForStencil("buildings","apartments",b).join(" ")),this.createVertexTemplateEntry(c+"Building_Cluster.svg;",2.02*a,1.85*a,"","Building Cluster",!1,null,\r\nthis.getTagsForStencil("buildings","building cluster",b).join(" ")),this.createVertexTemplateEntry(c+"Large_Building.svg;",1.25*a,1.25*a,"","Large Building",!1,null,this.getTagsForStencil("buildings","large building",b).join(" ")),this.createVertexTemplateEntry(c+"Long_Building.svg;",2.09*a,2.16*a,"","Long Building",!1,null,this.getTagsForStencil("buildings","long building",b).join(" ")),this.createVertexTemplateEntry(c+"Medium_Business_Building.svg;",.91*a,1.17*a,"","Medium Business Building",!1,\r\nnull,this.getTagsForStencil("buildings","medium business building",b).join(" ")),this.createVertexTemplateEntry(c+"School_Building.svg;",2.75*a,2.78*a,"","School Building",!1,null,this.getTagsForStencil("buildings","school building",b).join(" ")),this.createVertexTemplateEntry(c+"Secure_Building.svg;",2.72*a,1.86*a,"","Secure Building",!1,null,this.getTagsForStencil("buildings","secure building",b).join(" "))];this.addPalette("allied_telesisBuildings","Allied Telesis / Buildings",!1,mxUtils.bind(this,\r\nfunction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisComputerTerminalsPalette=function(a,b,e,c){c+="computer_and_terminals/";var d=[this.createVertexTemplateEntry(c+"IP_TV.svg;",.82*a,.84*a,"","IP TV",!1,null,this.getTagsForStencil("computer terminals","ip tv internet protocol television",b).join(" ")),this.createVertexTemplateEntry(c+"Keypad.svg;",.44*a,.8*a,"","Keypad",!1,null,this.getTagsForStencil("computer terminals","keypad",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"Laptop.svg;",.7*a,.71*a,"","Laptop",!1,null,this.getTagsForStencil("computer terminals","laptop",b).join(" ")),this.createVertexTemplateEntry(c+"Personal_Computer.svg;",.76*a,1.03*a,"","Personal Computer",!1,null,this.getTagsForStencil("computer terminals","personal computer",b).join(" ")),this.createVertexTemplateEntry(c+"Personal_Computer_Wireless.svg;",1.05*a,1.07*a,"","Personal Computer Wireless",!1,null,this.getTagsForStencil("computer terminals","personal computer wireless",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"Personal_Computer_with_Server.svg;",1.04*a,1.04*a,"","Personal Computer with Server",!1,null,this.getTagsForStencil("computer terminals","Personal Computer Server",b).join(" ")),this.createVertexTemplateEntry(c+"POS_keypad.svg;",.62*a,.46*a,"","POS Keypad",!1,null,this.getTagsForStencil("computer terminals","pos keypad",b).join(" ")),this.createVertexTemplateEntry(c+"POS_Printer.svg;",.62*a,.54*a,"","POS Printer",!1,null,this.getTagsForStencil("computer terminals","pos printer",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"Server_Desktop.svg;",.71*a,.9*a,"","Server Desktop",!1,null,this.getTagsForStencil("computer terminals","server desktop",b).join(" ")),this.createVertexTemplateEntry(c+"Smartphone.svg;",.33*a,.72*a,"","Smartphone",!1,null,this.getTagsForStencil("computer terminals","smartphone",b).join(" ")),this.createVertexTemplateEntry(c+"Tablet.svg;",.45*a,.95*a,"","Tablet",!1,null,this.getTagsForStencil("computer terminals","tablet",b).join(" ")),this.createVertexTemplateEntry(c+"Tablet_Alternative.svg;",.58*\r\na,.8*a,"","Tablet Alternative",!1,null,this.getTagsForStencil("computer terminals","tablet alternative",b).join(" ")),this.createVertexTemplateEntry(c+"Vdeo_Conference_Terminal.svg;",.53*a,.75*a,"","Vdeo Conference Terminal",!1,null,this.getTagsForStencil("computer terminals","vdeo conference terminal",b).join(" ")),this.createVertexTemplateEntry(c+"VOIP_IP_phone.svg;",.5*a,.76*a,"","VOIP IP Phone",!1,null,this.getTagsForStencil("computer terminals","voip ip phone voice over internet protocol",b).join(" "))];\r\nthis.addPalette("allied_telesisComputer and Terminals","Allied Telesis / Computer and Terminals",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisMediaConvertersPalette=function(a,b,e,c){c+="media_converters/";var d=[this.createVertexTemplateEntry(c+"Industrial_Media_Converter.svg;",.5*a,.95*a,"","Industrial Media Converter",!1,null,this.getTagsForStencil("media converters","industrial media converter",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"Industrial_Media_Converter_POE.svg;",.5*a,.95*a,"","Industrial Media Converter POE",!1,null,this.getTagsForStencil("media converters","industrial media converter poe",b).join(" ")),this.createVertexTemplateEntry(c+"Media_Converter_Modular.svg;",1.18*a,.91*a,"","Media Converter Modular",!1,null,this.getTagsForStencil("media converters","media converter modular",b).join(" ")),this.createVertexTemplateEntry(c+"Media_Converter_Standalone.svg;",.76*a,.62*a,"","Media Converter Standalone",!1,null,this.getTagsForStencil("media converters",\r\n"media converter standalone",b).join(" ")),this.createVertexTemplateEntry(c+"Media_Converter_Standalone_POE.svg;",.76*a,.62*a,"","Media Converter Standalone POE",!1,null,this.getTagsForStencil("media converters","media converter standalone poe",b).join(" "))];this.addPalette("allied_telesisMedia Converters","Allied Telesis / Media Converters",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisSecurityPalette=function(a,b,e,c){c+=\r\n"security/";var d=[this.createVertexTemplateEntry(c+"DVS_Surveillance_Monitor.svg;",.7*a,1*a,"","DVS Surveillance Monitor",!1,null,this.getTagsForStencil("security","dvs surveillance monitor",b).join(" ")),this.createVertexTemplateEntry(c+"EtherGRID.svg;",1.49*a,1.08*a,"","EtherGRID",!1,null,this.getTagsForStencil("security","ethergrid",b).join(" ")),this.createVertexTemplateEntry(c+"POE_DVS_Camera.svg;",.85*a,.67*a,"","POE DVS Camera",!1,null,this.getTagsForStencil("security","poe dvs camera",b).join(" ")),\r\nthis.createVertexTemplateEntry(c+"POS.svg;",1.13*a,1.2*a,"","POS",!1,null,this.getTagsForStencil("security","pos",b).join(" ")),this.createVertexTemplateEntry(c+"Router_UTM.svg;",.93*a,.66*a,"","Router UTM",!1,null,this.getTagsForStencil("security","router utm",b).join(" ")),this.createVertexTemplateEntry(c+"Router_VPN.svg;",.93*a,.66*a,"","Router VPN",!1,null,this.getTagsForStencil("security","router vpn",b).join(" ")),this.createVertexTemplateEntry(c+"Surveillance_Camera_Ceiling.svg;",.62*a,.59*\r\na,"","Surveillance Camera Ceiling",!1,null,this.getTagsForStencil("security","surveillance camera ceiling",b).join(" "))];this.addPalette("allied_telesisSecurity","Allied Telesis / Security",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisStoragePalette=function(a,b,e,c){c+="storage/";var d=[this.createVertexTemplateEntry(c+"Datacenter_Server_Half_Rack_ToR.svg;",1.47*a,1.91*a,"","Datacenter Server Half Rack ToR",!1,null,this.getTagsForStencil("storage",\r\n"datacenter server half rack tor",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Rack.svg;",1.47*a,2.98*a,"","Datacenter Server Rack",!1,null,this.getTagsForStencil("storage","datacenter server rack",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Rack_EoR.svg;",1.43*a,2.89*a,"","Datacenter Server Rack EoR",!1,null,this.getTagsForStencil("storage","datacenter server rack eor",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Rack_Storage_Unit_Small.svg;",\r\n1.29*a,1.12*a,"","Datacenter Server Rack Storage Unit Small",!1,null,this.getTagsForStencil("storage","datacenter server rack storage unit small",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Rack_ToR.svg;",1.47*a,2.98*a,"","Datacenter Server Rack ToR",!1,null,this.getTagsForStencil("storage","datacenter server rack tor",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Storage_Unit_Large.svg;",1.28*a,1.32*a,"","Datacenter Server Storage Unit Large",!1,null,this.getTagsForStencil("storage",\r\n"datacenter server storage unit large",b).join(" "))];this.addPalette("allied_telesisStorage","Allied Telesis / Storage",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisSwitchPalette=function(a,b,e,c){c+="switch/";var d=[this.createVertexTemplateEntry(c+"Industrial_Ethernet_IE200.svg;",.67*a,.94*a,"","Industrial Ethernet IE200",!1,null,this.getTagsForStencil("switch","industrial ethernet ie200",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"Industrial_Ethernet_IE200_POE.svg;",.67*a,.94*a,"","Industrial Ethernet IE200 POE",!1,null,this.getTagsForStencil("switch","industrial ethernet ie200 poe",b).join(" ")),this.createVertexTemplateEntry(c+"Industrial_Ethernet_IE300.svg;",1.16*a,1.29*a,"","Industrial_Ethernet_IE300",!1,null,this.getTagsForStencil("switch","industrial ethernet ie300",b).join(" ")),this.createVertexTemplateEntry(c+"Modular_Switch_SBx8106.svg;",1.43*a,1.23*a,"","Modular Switch SBx8106",!1,null,this.getTagsForStencil("switch",\r\n"modular switch sbx8106",b).join(" ")),this.createVertexTemplateEntry(c+"Modular_Switch_SBx8112.svg;",1.49*a,1.53*a,"","Modular Switch SBx8112",!1,null,this.getTagsForStencil("switch","modular switch sbx8112",b).join(" ")),this.createVertexTemplateEntry(c+"Modular_Switch_SXx908GEN2.svg;",1.3*a,1.11*a,"","Modular Switch SXx908GEN2",!1,null,this.getTagsForStencil("switch","modular switch sxx908gen2",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L2.svg;",1.24*a,.85*a,"","Switch 24 port L2",\r\n!1,null,this.getTagsForStencil("switch","switch 24 port l2",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L2_POE.svg;",1.24*a,.85*a,"","Switch 24 port L2 POE",!1,null,this.getTagsForStencil("switch","switch 24 port l2 poe",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L3.svg;",1.24*a,.85*a,"","Switch 24 port L3",!1,null,this.getTagsForStencil("switch","switch 24 port l3",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L3_Alternative.svg;",1.3*a,.88*\r\na,"","Switch 24 port L3 Alternative",!1,null,this.getTagsForStencil("switch","switch 24 port l3 alternative",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L3_POE.svg;",1.24*a,.85*a,"","Switch 24 port L3 POE",!1,null,this.getTagsForStencil("switch","switch 24 port l3 poe",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_48_port_L2.svg;",1.3*a,.88*a,"","Switch 48 port L2",!1,null,this.getTagsForStencil("switch","switch 48 port l2",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"Switch_48_port_L2_POE.svg;",1.3*a,.88*a,"","Switch 48 port L2 POE",!1,null,this.getTagsForStencil("switch","switch 48 port l2 poe",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_48_port_L3.svg;",1.3*a,.88*a,"","Switch 48 port L3",!1,null,this.getTagsForStencil("switch","switch 48 port l3",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_48_port_L3_POE.svg;",1.3*a,.88*a,"","Switch 48 port L3 POE",!1,null,this.getTagsForStencil("switch","switch 48 port l3 poe",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"Switch_52_port_L3.svg;",1.3*a,.88*a,"","Switch 52 port L3",!1,null,this.getTagsForStencil("switch","switch 52 port l3",b).join(" "))];this.addPalette("allied_telesisSwitch","Allied Telesis / Switch",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisWirelessPalette=function(a,b,e,c){c+="wireless/";var d=[this.createVertexTemplateEntry(c+"Access_Point_Indoor.svg;",.61*a,.91*a,"","Access Point Indoor",!1,null,this.getTagsForStencil("wireless",\r\n"access point indoor",b).join(" ")),this.createVertexTemplateEntry(c+"Access_Point_Outdoor.svg;",.43*a,1.66*a,"","Access Point Outdoor",!1,null,this.getTagsForStencil("wireless","access point outdoor",b).join(" ")),this.createVertexTemplateEntry(c+"Laptop_Wireless.svg;",.96*a,.79*a,"","Laptop Wireless",!1,null,this.getTagsForStencil("wireless","laptop wireless",b).join(" "))];this.addPalette("allied_telesisWireless","Allied Telesis / Wireless",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addAndroidPalette=function(){var a=this,b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.android.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;strokeColor=none;shape=",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.android.";\r\nthis.setCurrentSearchEntryLibrary("android");var d=[this.createVertexTemplateEntry(b+"phone2;strokeColor=#c0c0c0;",200,390,"","Phone",null,null,"android phone mobile portrait"),this.createVertexTemplateEntry(b+"phone2;strokeColor=#c0c0c0;direction=south;",390,200,"","Phone (landscape)",null,null,"android phone mobile landscape"),this.createVertexTemplateEntry(b+"tab2;strokeColor=#c0c0c0;",472,686,"","Tab",null,null,"android tab tablet portrait"),this.createVertexTemplateEntry(b+"tab2;strokeColor=#c0c0c0;direction=north;",\r\n686,472,"","Tab (landscape)",null,null,"android tab tablet landscape"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar;fillColor=#1A1A1A;strokeColor=#c0c0c0;strokeWidth=2;fontColor=#FFFFFF;",185,30,"","Action Bar",null,null,"android action bar dark portrait"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar;fillColor=#E6E6E6;strokeColor=#c0c0c0;strokeWidth=2;",185,30,"","Action Bar (Bright)",\r\nnull,null,"android action bar bright portrait"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar_landscape;fillColor=#1A1A1A;strokeColor=#c0c0c0;strokeWidth=2;fontColor=#FFFFFF;",320,30,"","Action Bar Landscape",null,null,"android action bar landscape dark"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar_landscape;fillColor=#E6E6E6;strokeColor=#c0c0c0;strokeWidth=2;",320,30,"","Action Bar Landscape (Bright)",\r\nnull,null,"android action bar bright landscape"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#666666;align=center;strokeColor=#4D4D4D;fontColor=#ffffff;",105.5,16.88,"Normal","Button (Normal)",null,null,"android button normal"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#666666;align=center;strokeColor=#999999;fontColor=#ffffff;",105.5,16.88,"Focused","Button (Focused)",null,\r\nnull,"android button focused"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#999999;align=center;strokeColor=#666666;fontColor=#ffffff;strokeWidth=2;",105.5,16.88,"Pressed","Button (Pressed)",null,null,"android button pressed"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#333333;align=center;strokeColor=#4D4D4D;fontColor=#666666;",105.5,16.88,"Focused disabled","Button (Focused, Disabled)",\r\nnull,null,"android button focused disabled"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#333333;align=center;strokeColor=#333333;fontColor=#666666;",105.5,16.88,"Disabled","Button (Disabled)",null,null,"android button disabled"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#E6E6E6;align=center;strokeColor=#E6E6E6;fontColor=#333333;",105.5,16.88,"Normal","Button (Normal, Bright)",\r\nnull,null,"android button normal bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#E6E6E6;align=center;strokeColor=#B3B3B3;fontColor=#333333;",105.5,16.88,"Focused","Button (Focused, Bright)",null,null,"android button focused bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#B3B3B3;align=center;strokeColor=#E6E6E6;fontColor=#333333;strokeWidth=2;",105.5,16.88,"Pressed",\r\n"Button (Pressed, Bright)",null,null,"android button pressed bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#F4F4F4;align=center;strokeColor=#E6E6E6;fontColor=#CCCCCC;",105.5,16.88,"Focused disabled","Button (Focused, Disabled, Bright)",null,null,"android button focused disabled bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#F4F4F4;align=center;strokeColor=#F4F4F4;fontColor=#CCCCCC;",\r\n105.5,16.88,"Disabled","Button (Disabled, Bright)",null,null,"android button disabled bright"),this.addEntry("android checkboxes checkbox",function(){var c=new mxCell("",new mxGeometry(0,0,165,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=transparent;strokeColor=#33b5e5");c.vertex=!0;var b=new mxCell("Setting 1",new mxGeometry(0,0,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");b.vertex=!0;c.insert(b);\r\nvar d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");d.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;resizable=0;");b.vertex=!0;d.insert(b);b=new mxCell("Setting 2",new mxGeometry(0,12.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");\r\nb.vertex=!0;c.insert(b);d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");d.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;resizable=0;");b.vertex=!0;d.insert(b);b=new mxCell("Setting 3",new mxGeometry(0,25,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");\r\nb.vertex=!0;c.insert(b);d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");d.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.checkbox;rSize=0;resizable=0;");b.vertex=!0;d.insert(b);b=new mxCell("Setting 4",new mxGeometry(0,37.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");\r\nb.vertex=!0;c.insert(b);d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");d.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;resizable=0;");b.vertex=!0;d.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Checkboxes")}),this.addEntry("android radiobuttons radiobutton",\r\nfunction(){var c=new mxCell("",new mxGeometry(0,0,165,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=transparent;strokeColor=#33b5e5");c.vertex=!0;var b=new mxCell("Option 1",new mxGeometry(0,0,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");b.vertex=!0;c.insert(b);var d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");d.vertex=\r\n!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=ellipse;resizable=0;html=1;");b.vertex=!0;d.insert(b);b=new mxCell("Option 2",new mxGeometry(0,12.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");b.vertex=!0;c.insert(b);d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");\r\nd.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=ellipse;resizable=0;html=1;");b.vertex=!0;d.insert(b);b=new mxCell("Option 3",new mxGeometry(0,25,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");b.vertex=!0;c.insert(b);d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");\r\nd.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"shape=ellipse;strokeColor=inherit;resizable=0;fillColor=#33b5e5;html=1;");b.vertex=!0;d.insert(b);b=new mxCell("Option 4",new mxGeometry(0,37.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");b.vertex=!0;c.insert(b);d=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");\r\nd.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=ellipse;resizable=0;html=1;");b.vertex=!0;d.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Radiobuttons")}),this.createVertexTemplateEntry(b+"contact_badge_focused;",40,40,"","Contact Badge Focused",null,null,"android contact badge focused"),this.createVertexTemplateEntry(b+"contact_badge_focused;",60,60,"","Contact Badge Focused",\r\nnull,null,"android contact badge focused"),this.createVertexTemplateEntry(b+"contact_badge_normal;",40,40,"","Contact Badge Normal",null,null,"android contact badge normal"),this.createVertexTemplateEntry(b+"contact_badge_normal;",60,60,"","Contact Badge Normal",null,null,"android contact badge normal"),this.createVertexTemplateEntry(b+"contact_badge_pressed;",40,40,"","Contact Badge Pressed",null,null,"android contact badge pressed"),this.createVertexTemplateEntry(b+"contact_badge_pressed;",60,60,\r\n"","Contact Badge Pressed",null,null,"android contact badge pressed"),this.addEntry("android contextual action bar dark portrait",function(){var c=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar;fillColor=#002E3E;");c.vertex=!0;var b=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,\r\nc.geometry.height,"Contextual Action Bar")}),this.addEntry("android contextual action bar bright portrait",function(){var c=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_white;fillColor=#E6E6E6;");c.vertex=!0;var b=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Action Bar (Bright)")}),\r\nthis.addEntry("android contextual action bar landscape dark",function(){var c=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_landscape;fillColor=#002E3E;");c.vertex=!0;var b=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Action Bar Landscape")}),\r\nthis.addEntry("android contextual action bar landscape bright",function(){var c=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_landscape_white;fillColor=#E6E6E6;");c.vertex=!0;var b=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Action Bar Landscape (Bright)")}),\r\nthis.addEntry("android contextual split action bar dark",function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar;fillColor=#002E3E;fontColor=#FFFFFF;");c.vertex=!0;var b=new mxCell("Contextual",new mxGeometry(0,0,185,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,185,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;\r\nc.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar")}),this.addEntry("android contextual split action bar bright",function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_white;fillColor=#E6E6E6;");c.vertex=!0;var b=new mxCell("Contextual",new mxGeometry(0,0,185,30),"shape=transparent;fontStyle=1;");b.vertex=!0;c.insert(b);b=new mxCell("Action",\r\nnew mxGeometry(0,40,185,30),"shape=transparent;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar (Bright)")}),this.addEntry("android contextual split action bar landscape dark",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_landscape;fillColor=#002E3E;fontColor=#FFFFFF;");c.vertex=!0;var b=new mxCell("Contextual",\r\nnew mxGeometry(0,0,320,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,320,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar Landscape")}),this.addEntry("android contextual split action bar landscape bright",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_landscape_white;fillColor=#E6E6E6;");\r\nc.vertex=!0;var b=new mxCell("Contextual",new mxGeometry(0,0,320,30),"shape=transparent;fontStyle=1;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,320,30),"shape=transparent;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar Landscape (Bright)")}),this.createVertexTemplateEntry(b+"indeterminate_progress_bar;strokeColor=#33B5E5;pointerEvents=1",149,5,"","Indeterminate Progress Bar",\r\nnull,null,"android indeterminate progress bar"),this.createVertexTemplateEntry(b+"indeterminateSpinner;",50,50,"","Indeterminate Spinner",null,null,"android indeterminate spinner"),this.createVertexTemplateEntry(b+"keyboard;",185,100,"","Keyboard",null,null,"android keyboard"),this.addEntry("android menu bar",function(){var c=new mxCell("",new mxGeometry(0,0,185,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;strokeColor=#888888;fillColor=#444444;");c.vertex=!0;var b=\r\nnew mxCell("Menu Item 1",new mxGeometry(0,0,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;");b.vertex=!0;c.insert(b);b=new mxCell("Menu Item 2",new mxGeometry(0,12.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;");\r\nb.vertex=!0;c.insert(b);b=new mxCell("Menu Item 3",new mxGeometry(0,25,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;");b.vertex=!0;c.insert(b);b=new mxCell("Menu Item 4",new mxGeometry(0,37.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;");\r\nb.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Menu bar")}),this.addEntry("android menu bar",function(){var c=new mxCell("",new mxGeometry(0,0,185,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;strokeColor=#eeeeee;fillColor=#ffffff;gradientColor=none;");c.vertex=!0;var b=new mxCell("Menu Item 1",new mxGeometry(0,0,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;");\r\nb.vertex=!0;c.insert(b);b=new mxCell("Menu Item 2",new mxGeometry(0,12.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;");b.vertex=!0;c.insert(b);b=new mxCell("Menu Item 3",new mxGeometry(0,25,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;");\r\nb.vertex=!0;c.insert(b);b=new mxCell("Menu Item 4",new mxGeometry(0,37.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Menu bar")}),this.createVertexTemplateEntry(c+"navigation_bar_1;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",\r\nnull,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_1_landscape;fillColor=#1A1A1A;strokeColor=#999999;",320,30,"","Navigation Bar Landscape",null,null,"android navigation bar landscape horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_1_vertical;fillColor=#1A1A1A;strokeColor=#999999;",30,320,"","Navigation Bar Vertical",null,null,"android navigation bar vertical"),this.createVertexTemplateEntry(c+"navigation_bar_2;fillColor=#1A1A1A;strokeColor=#999999;",\r\n185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_3;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_3_landscape;fillColor=#1A1A1A;strokeColor=#999999;",320,30,"","Navigation Bar Landscape",null,null,"android navigation bar landscape horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_4;fillColor=#1A1A1A;strokeColor=#999999;",\r\n185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_5;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_5_vertical;fillColor=#1A1A1A;strokeColor=#999999;",30,320,"","Navigation Bar Vertical",null,null,"android navigation bar vertical"),this.createVertexTemplateEntry(c+"navigation_bar_6;fillColor=#1A1A1A;strokeColor=#999999;",\r\n185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(b+"progressBar;strokeColor=#33b5e5;dx1=0.8;dx2=0.6;strokeWidth=2;",185,5,"","Progress Bar",null,null,"android progress bar"),this.createVertexTemplateEntry(b+"progressScrubberDisabled;dx=0.3;fillColor=#33b5e5;",185,16,"","Progress Scrubber Disabled",null,null,"android progress scrubber disabled"),this.createVertexTemplateEntry(b+"progressScrubberFocused;dx=0.3;fillColor=#33b5e5;",185,16,"","Progress Scrubber Focused",\r\nnull,null,"android progress scrubber focused"),this.createVertexTemplateEntry(b+"progressScrubberPressed;dx=0.3;fillColor=#33b5e5;",185,16,"","Progress Scrubber Pressed",null,null,"android progress scrubber pressed"),this.createVertexTemplateEntry(b+"quickscroll2;dy=0.5;fillColor=#33b5e5;strokeColor=#66D5F5;",58,320,"","Quickscroll",null,null,"android quickscroll quick scroll"),this.createVertexTemplateEntry(b+"quickscroll3;dy=0.5;fillColor=#33b5e5;strokeColor=#66D5F5;",6,320,"","Quickscroll",null,\r\nnull,"android quickscroll quick scroll"),this.addEntry("android quick contact",function(){var c=new mxCell("",new mxGeometry(0,0,150,165),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.quick_contact;");c.vertex=!0;var b=new mxCell("Name",new mxGeometry(0,65,150,18),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;fontStyle=1;fontColor=#FFFFFF;");b.vertex=!0;c.insert(b);b=new mxCell("Item 1",new mxGeometry(0,108,120,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;align=left;spacingLeft=10;");\r\nb.vertex=!0;c.insert(b);b=new mxCell("Item 2",new mxGeometry(0,136,120,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;align=left;spacingLeft=10;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Quick Contact")}),this.addEntry("android scrollable tab scroll",function(){var c=new mxCell("",new mxGeometry(0,0,185,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;fillColor=#444444;strokeColor=none;");\r\nc.vertex=!0;var b=new mxCell("One",new mxGeometry(0,0,46.25,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=left;fontColor=#FFFFFF;");b.vertex=!0;c.insert(b);b=new mxCell("Tab Two",new mxGeometry(46.25,0,92.5,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontColor=#FFFFFF;");b.vertex=!0;c.insert(b);b=new mxCell("Tab",new mxGeometry(138.75,0,46.25,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=right;fontColor=#FFFFFF;");\r\nb.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Scrollable Tab")}),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.scrollbars2;fillColor=#999999;strokeColor=none;",56,56,"","Scrollbars",null,null,"android scrollbar scroll bar"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#1A1A1A;strokeColor=#1A1A1A;fontColor=#FFFFFF;",168.8,16.88,"Normal",\r\n"Section Header (Normal)",null,null,"android section header normal dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#4D4D4D;strokeColor=#4D4D4D;fontColor=#FFFFFF;",168.8,16.88,"Pressed","Section Header (Pressed)",null,null,"android section header pressed dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#33b5e5;strokeColor=#33B5E5;fontColor=#FFFFFF;",168.8,16.88,"Activated",\r\n"Section Header (Activated)",null,null,"android section header activated dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#006699;strokeColor=#33B5E5;fontColor=#FFFFFF;",168.8,16.88,"Focused","Section Header (Focused)",null,null,"android section header focused dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#006699;strokeColor=#33B5E5;fontColor=#B3B3B3;",168.8,16.88,"Disabled focused",\r\n"Section Header (Disabled focused)",null,null,"android section header disabled focused dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#1A1A1A;strokeColor=#1A1A1A;fontColor=#B3B3B3;",168.8,16.88,"Disabled","Section Header (Disabled)",null,null,"android section header disabled dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#FFFFFF;strokeColor=#FFFFFF;fontColor=#4D4D4D;",\r\n168.8,16.88,"Normal","Section Header (Normal, Bright)",null,null,"android section header normal bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#f6f6f6;strokeColor=#f6f6f6;fontColor=#4D4D4D;",168.8,16.88,"Pressed","Section Header (Pressed, Bright)",null,null,"android section header pressed bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#33b5e5;strokeColor=#33B5E5;fontColor=#4D4D4D;",\r\n168.8,16.88,"Activated","Section Header (Activated, Bright)",null,null,"android section header activated bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#99e5ff;strokeColor=#33B5E5;fontColor=#4D4D4D;",168.8,16.88,"Focused","Section Header (Focused, Bright)",null,null,"android section header focused bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#99e5ff;strokeColor=#33B5E5;fontColor=#B3B3B3;",\r\n168.8,16.88,"Disabled focused","Section Header (Disabled focused, Bright)",null,null,"android section header disabled focused bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#FFFFFF;strokeColor=#FFFFFF;fontColor=#B3B3B3;",168.8,16.88,"Disabled","Section Header (Disabled, Bright)",null,null,"android section header disabled bright"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;align=center;fillColor=#999999;strokeColor=#999999;verticalAlign=bottom",\r\n110,10,"Item","Spinner Normal",null,null,"android spinner normal"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;align=center;fillColor=#33b5e5;strokeColor=#33b5e5;verticalAlign=bottom",110,10,"Item","Spinner Focused",null,null,"android spinner focused"),this.addEntry("android spinner disabled focused",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#207585;strokeColor=#33b5e5;");\r\nc.vertex=!0;var b=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=1;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#999999;fillColor=#999999;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Disabled Focused")}),this.addEntry("android spinner disabled focused light bright",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#ccf2ff;strokeColor=#88c5f5;");\r\nc.vertex=!0;var b=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#666666;align=center;verticalAlign=middle;strokeColor=#cccccc;fillColor=#cccccc;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Disabled Focused Bright")}),this.addEntry("android spinner pressed",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#33b5e5;strokeColor=#33b5e5;");\r\nc.vertex=!0;var b=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#aaeeff;fillColor=#aaeeff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Pressed")}),this.addEntry("android spinner pressed light bright",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#33b5e5;strokeColor=#33b5e5;");\r\nc.vertex=!0;var b=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#666666;fillColor=#666666;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Pressed Bright")}),this.addEntry("android split action bar dark",function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar;fillColor=#1A1A1A;");\r\nc.vertex=!0;var b=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar")}),this.addEntry("android split action bar bright",\r\nfunction(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar;fillColor=#E6E6E6;");c.vertex=!0;var b=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],\r\nc.geometry.width,c.geometry.height,"Split Action Bar (Bright)")}),this.addEntry("android split action bar landscape dark",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar_landscape;fillColor=#1A1A1A;");c.vertex=!0;var b=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);b=new mxCell("Action",\r\nnew mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar Landscape")}),this.addEntry("android split action bar landscape bright",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar_landscape;fillColor=#E6E6E6;");c.vertex=!0;\r\nvar b=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);b=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar Landscape (Bright)")}),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.statusBar;align=center;fillColor=#000000;strokeColor=#ffffff;fontColor=#ffffff;fontSize=10;",\r\n183.57,15.825,"","Status bar (portrait)",null,null,"android status bar portrait"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.statusBar;align=center;fillColor=#000000;strokeColor=#ffffff;fontColor=#ffffff;fontSize=10;",320.087,15.825,"","Status bar (landscape)",null,null,"android status bar landscape"),this.createVertexTemplateEntry(b+"switch_off;fillColor=#666666;",80,20,"","Switch Off",null,null,"android switch off"),this.createVertexTemplateEntry(b+\r\n"switch_off;fillColor=#E6E6E6;",80,20,"","Switch Off",null,null,"android switch off"),this.createVertexTemplateEntry(b+"switch_on;fillColor=#666666;",80,20,"","Switch On",null,null,"android switch on"),this.createVertexTemplateEntry(b+"switch_on;fillColor=#E6E6E6;",80,20,"","Switch On",null,null,"android switch on"),this.addDataEntry("android tab tabulator bar dark",185,30,"Tab Bar Dark","3ZZfb8IgEMA/Da8NhdY/r+02n/bkkj1jQSGjxVCc7T79KMVpp81qnG6RhIS744D7cVwAOM2rmSZr/qwokwA/ApxqpUw7yquUSQkQFBTgB4AQtB2gpx5r6KxwTTQrzBAH1Dq8E7lhraZVlKaWXlEard7Yq6CGW0UIcMJNLv2w5ISqrRWgFSgpOaNesJZ1s0JerZroAlJQrQQNtGaZPVqi5+KD+blLIWWqpNJuRxy51qzhtt5ZClVYh8SfmGnDqt6oncqHPGMqZ0bXdsrWR9HMmMStG2dixb0bbmlBUrby6st1z9AOPMbTSPER0heysIrw2mRJkfEGVLJUhZn7bUIvH+BdujaUJPqRZDQK0JVYRj0s/yZLv2PtZi2E02mW9WXtNe6gOuJ/m1uJ/2PRwHgRs/iiohGdxlz7SxgPZnw54lFP4uO7KiLeYYqCm+bvuAdudI9wQzwJxjfFOxlQHjwgKdzr7D7ZQwBUNC9fqMLqS7VpTv87UMJdytWdmnb4QYDHeND5eKy4/845W+e39wk="),\r\nthis.addDataEntry("android tab tabulator bar dark",185,30,"Tab Bar Dark","3ZZRb4MgEIB/Da9GQdvuVbf1aU9dsmdaaCFDaZCuul8/1OtqV81cOrulJCbcHQfcx3k5RJK0mBu6FU+acYXIAyKJ0do2s7RIuFII+5Ihco8w9t2H8GOPNait/pYantkhDrhxeKNqxxtNo8htqUCRW6Nf+YtkVjhFgEgsbKpgmgvK9N4JvhMYzQVnIDjLttohLTZVdB7NmNGSecbwlbtabBbyncPatVQq0Uqb+kQS1qPaoz76YMl05hxiuDE3lhe9UdcqCHnOdcqtKd2SPURRrZhFjZvgciPAjTS0fJo38ubT9cjQTQBjN1JyhvSZLp0iGJsszVaiAhWvdWYXcEwAcgvvuh5DSeJvSYYTD4/EMuxh+TdZ+hVrK2shNzsTdgz8xRn66zxI9B/rBSHLiEcX1YuwG3MJjzAdzPhyxJOenCc3VT/A4Q57V83faQ/c8BbhBmTmTa+KdzagPAAgJTsqZhsAk9WfL3Xm9LneVbf/HSjBIeXKk5rW7g38czz453iceOzkattJo/cB"),\r\nthis.addDataEntry("android tab tabulator bar bright",185,30,"Tab Bar Bright","3ZZfb4MgEMA/Da9GQdvutW7r0566ZM+0YCFDaJCuuk8/QLr+cWYuXbulJCbcHSfc784TgPKynmm8Zk+KUAHQA0C5Vsq0s7LOqRAAxpwAdA8gjO0D4GOPNfHWeI01lWaIA2wd3rDY0FbTKirTiKCojFav9IUTw6wiAWjKTCnCtGKYqK0VYisQXDFKgmAta/eGsl656CIsiVacRFrTpT3aVM/5Ow1rCy5EroTSfkdE/XDv8FvvLFJJpwwnptrQujdqrwohz6gqqdGNXbINUbgVk6x1Y5SvWHBDLa0YV628+nTdM7STgPFrpKiD9BkvrCK5NFksl8yBmhZKmnnYJgnyAd6RH0NJwm9JpqMIXohl2sPyb6r0FOtx1abpMiuyvqo9yUHhx5k5qDv8r5OV7D82DYQWGe3FPwhz+jXmJiRhPJjx+YhHPYWPbqqJBIc7GF21fsc9cNNbhJugSTS+Kt7JgPYQAAkuu//5QwCEuy+fK2n1ldq40/8OlGRXcs1RTzu8IMRdPPDneKy4v85529Ft7wM="),\r\nthis.addDataEntry("android tab tabulator bar bright",185,30,"Tab Bar Bright","3Zbfb8IgEMf/Gl6bFlp1r3abT3tyyZ5RUMhoMRRnu79+0J6zzjbr4nSLJE2473H8+HC9gEialTNDN+JJM64QeUAkNVrbppeVKVcK4VAyRO4RxqH7EH7s8Ua1N9xQw3M7JAA3AW9UbXmjNEJhKwVCYY1+5S+SWeGECJGpsJmCbiEo0ztnhM5gtBCcgeE8Gz9DVq796QKaM6MlC4zhS7e1qZnLdw5jV1KpVCtt6hUJr5ufo15678l17kXYMTeWl72nriU48ozrjFtTuSE7OIUfMUmaMMHlWkAYaWiFtGjs9WfogaHrAMZupOQE6TNdOCG6NFmaL4UHNV3p3M5hmQjsFt5R3YaSxN+SjEcBvhDLuIfl32TpV6ytrIXc7EzYS+AvT9Bf50KS/1gvCFkkPDmrXsTdmCu4hPFgxucjHvXkPLmp+gEBdzi4av6Oe+DGtwg3IpNgfFW8kwHlAQAp2VEx2wCY9H++1LnTC731u/8dKNE+5aqjmtZ+G4SnePDP8Tjz8JKrfUcPvQ8="),\r\nthis.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.textfield;align=center;strokeColor=#4D4D4D;pointerEvents=1",174,30,"","Textfield Disabled",null,null,"android textfield disabled"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.textfield;align=center;strokeColor=#999999;pointerEvents=1",174,30,"","Textfield Normal",null,null,"android textfield normal"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.textfield;align=center;strokeColor=#33b5e5;pointerEvents=1",\r\n174,30,"","Textfield Activated",null,null,"android textfield activated"),this.createVertexTemplateEntry(b+"text_insertion_point;",20,30,"","Text Insertion Point",null,null,"android textfield insertion point"),this.createVertexTemplateEntry(b+"textSelHandles;fillColor=#33b5e5;strokeColor=#0099cc;",168.8,42.2,"","Text Selection Handles",null,null,"android text selection handle"),this.createVertexTemplateEntry(b+"time_picker;",150,230,"","Time Picker (Bright)",null,null,"android time picker bright"),\r\nthis.createVertexTemplateEntry(b+"time_picker_dark;",150,230,"","Time Picker (Dark)",null,null,"android time picker dark"),this.createVertexTemplateEntry(e+"rect;fillColor=#33b5e5;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#0099cc;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#aa66cc;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#9933cc;",50,50,"","Color",\r\nnull,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#99cc00;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#669900;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#ffbb33;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#ff8800;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#ff4444;",50,\r\n50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#cc0000;",50,50,"","Color",null,null,"android color")];this.addPalette("android",mxResources.get("android"),!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addArchiMatePalette=function(){this.setCurrentSearchEntryLibrary("archimate");this.addPaletteFunctions("archimate",mxResources.get("archiMate21"),!1,[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=actor",100,75,"","Business Actor",null,null,this.getTagsForStencil("mxgraph.archimate","application","archimate business actor").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=role",\r\n100,75,"","Business Role",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business role").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=collab",100,75,"","Business Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business collaboration").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=interface",\r\n100,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=interface2",100,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.location",\r\n100,75,"","Location",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate location").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=process",100,75,"","Business Process",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business process").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=function",\r\n100,75,"","Business Function",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business function").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=interaction",100,75,"","Business Interaction",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interaction").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=event",\r\n100,75,"","Business Event",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business event").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=service",100,75,"","Business Service",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business service").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.businessObject;overflow=fill",\r\n100,75,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>\',"Business Object",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business object").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.representation",100,75,"","Representation",null,null,\r\nthis.getTagsForStencil("mxgraph.archimate","","archimate representation").join(" ")),this.createVertexTemplateEntry("fillColor=#ffff99;whiteSpace=wrap;shape=cloud;html=1;",100,75,"","Meaning",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate meaning").join(" ")),this.createVertexTemplateEntry("fillColor=#ffff99;whiteSpace=wrap;shape=ellipse;html=1;",100,56.25,"","Value",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate value").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.product;overflow=fill",\r\n100,75,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="left"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>\',"Product",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate product").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.businessObject;overflow=fill",100,75,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>\',\r\n"Contract",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate contract").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=comp",100,75,"","Application Component",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application component").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=collab",\r\n100,75,"","Application Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application collaboration").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=interface",100,75,"","Application Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=interface2",\r\n100,75,"","Application Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=function",100,75,"","Application Function",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application function").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=interaction",\r\n100,75,"","Application Interaction",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application interaction").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.application;appType=service",100,75,"","Application Service",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application service").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate.businessObject;overflow=fill",\r\n100,75,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>\',"Data Object",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate data object").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=node",100,75,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate",\r\n"","archimate node").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.tech;techType=device",100,75,"","Device",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate device").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=network",100,75,"","Network",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate network").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=commPath",100,75,"","Communications Path",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate communications path").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=interface",100,75,"","Infrastructure Interface",null,null,this.getTagsForStencil("mxgraph.archimate",\r\n"","archimate infrastructure interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=interface2",100,75,"","Infrastructure Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infrastructure interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=sysSw",100,75,"","System Software",\r\nnull,null,this.getTagsForStencil("mxgraph.archimate","","archimate system software").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.business;busType=function",100,75,"","Infrastructure Function",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infraastructure function").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.business;busType=service",\r\n100,75,"","Infrastructure Service",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infrastructure service").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.application;appType=artifact",100,75,"","Artifact",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate artifact").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=none;elbow=vertical",100,75,"","Association",\r\nnull,this.getTagsForStencil("mxgraph.archimate","","archimate association").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=1;dashed=1",100,75,"","Access",null,this.getTagsForStencil("mxgraph.archimate","","archimate access").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=none;elbow=vertical;endFill=0;dashed=1",100,75,"","Access",null,this.getTagsForStencil("mxgraph.archimate","","archimate access").join(" ")),\r\nthis.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=1",100,75,"","Used by",null,this.getTagsForStencil("mxgraph.archimate","","archimate used by").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;elbow=vertical;endFill=0;dashed=1",100,75,"","Realization",null,this.getTagsForStencil("mxgraph.archimate","","archimate realization").join(" ")),this.createEdgeTemplateEntry("endArrow=oval;html=1;endFill=1;startArrow=oval;startFill=1;edgeStyle=elbowEdgeStyle;elbow=vertical",\r\n100,75,"","Assignment",null,this.getTagsForStencil("mxgraph.archimate","","archimate assignment").join(" ")),this.createEdgeTemplateEntry("endArrow=none;html=1;endFill=0;startArrow=diamondThin;startFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical",100,75,"","Aggregation",null,this.getTagsForStencil("mxgraph.archimate","","archimate aggregation").join(" ")),this.createEdgeTemplateEntry("endArrow=none;html=1;endFill=0;startArrow=diamondThin;startFill=1;edgeStyle=elbowEdgeStyle;elbow=vertical",100,75,\r\n"","Composition",null,this.getTagsForStencil("mxgraph.archimate","","archimate composition").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=1;startArrow=none;startFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;dashed=1",100,75,"","A",null,this.getTagsForStencil("mxgraph.archimate","","archimate ").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=1;startArrow=none;startFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;dashed=1",100,75,"","Flow",null,this.getTagsForStencil("mxgraph.archimate",\r\n"","archimate flow").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=1;startArrow=none;startFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;dashed=0",100,75,"","Triggering",null,this.getTagsForStencil("mxgraph.archimate","","archimate triggering").join(" ")),this.createVertexTemplateEntry("swimlane;html=1;fillColor=#ffffff;whiteSpace=wrap",100,75,"","Grouping",null,this.getTagsForStencil("mxgraph.archimate","","archimate grouping").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;fillColor=#000000",\r\n10,10,"","Junction",null,this.getTagsForStencil("mxgraph.archimate","","archimate junction").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical",100,75,"","Specialization",null,this.getTagsForStencil("mxgraph.archimate","","archimate specialization").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffccff;shape=mxgraph.archimate.motiv;motivType=stake",100,75,"","Stakeholder",null,null,this.getTagsForStencil("mxgraph.archimate",\r\n"","archimate stakeholder").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffccff;shape=mxgraph.archimate.motiv;motivType=driver",100,75,"","Driver",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate driver").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffccff;shape=mxgraph.archimate.motiv;motivType=assess",100,75,"","Assessment",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate assesment").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ccccff;shape=mxgraph.archimate.motiv;motivType=goal",100,75,"","Goal",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate goal").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ccccff;shape=mxgraph.archimate.motiv;motivType=req",100,75,"","Requirement",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate goal").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ccccff;shape=mxgraph.archimate.motiv;motivType=const",\r\n100,75,"","Constraint",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate constraint").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ccccff;shape=mxgraph.archimate.motiv;motivType=princ",100,75,"","Principle",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate principle").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffe0e0;shape=mxgraph.archimate.rounded=1",100,75,"","Work Package",\r\nnull,null,this.getTagsForStencil("mxgraph.archimate","","archimate work package").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffe0e0;shape=mxgraph.archimate.representation",100,75,"","Deliverable",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate deliverable").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.tech;techType=plateau",100,75,"","Plateau",null,\r\nnull,this.getTagsForStencil("mxgraph.archimate","","archimate plateau").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ff99;shape=mxgraph.archimate.gap",100,75,"","Gap",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate gap").join(" "))]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addArchimate3Palette=function(){this.setCurrentSearchEntryLibrary("archimate3","archimate3Application");this.addArchimate3ApplicationPalette();this.setCurrentSearchEntryLibrary("archimate3","archimate3Business");this.addArchimate3BusinessPalette();this.setCurrentSearchEntryLibrary("archimate3","archimate3Composite");this.addArchimate3CompositePalette();this.setCurrentSearchEntryLibrary("archimate3","archimate3Implementation and Migration");this.addArchimate3ImplementationAndMigrationPalette();\r\nthis.setCurrentSearchEntryLibrary("archimate3","archimate3Motivation");this.addArchimate3MotivationPalette();this.setCurrentSearchEntryLibrary("archimate3","archimate3Physical");this.addArchimate3PhysicalPalette();this.setCurrentSearchEntryLibrary("archimate3","archimate3Relationships");this.addArchimate3RelationshipsPalette();this.setCurrentSearchEntryLibrary("archimate3","archimate3Strategy");this.addArchimate3StrategyPalette();this.setCurrentSearchEntryLibrary("archimate3","archimate3Technology");\r\nthis.addArchimate3TechnologyPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addArchimate3ApplicationPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.application;appType=comp;archiType=square;",150,75,"","Application Component",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer component").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.component;",\r\n70,75,"","Component",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer component").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.application;appType=collab;archiType=square;",150,75,"","Application Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer collaboration").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.collaboration;",\r\n60,35,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer collaboration").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.application;appType=interface;archiType=square;",150,75,"","Application Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer component").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.interface;",\r\n70,35,"","Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.application;appType=proc;archiType=rounded;",150,75,"","Application Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer process").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.process;",\r\n150,75,"","Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer process").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.application;appType=func;archiType=rounded;",150,75,"","Application Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer function").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.function;",\r\n75,75,"","Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer function").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.application;appType=interaction;archiType=rounded;",150,75,"","Application Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer interaction").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.interaction;",\r\n75,75,"","Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer interaction").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.application;appType=serv;archiType=rounded",150,75,"","Application Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer service").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.service;",\r\n60,35,"","Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer service").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.application;appType=event;archiType=rounded",150,75,"","Application Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer event").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.event;",\r\n60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer event").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#99ffff;shape=mxgraph.archimate3.businessObject;overflow=fill",150,75,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>\',"Data Object",\r\nnull,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer data object").join(" "))];this.addPalette("archimate3Application","Archimate 3.0 / Application",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3BusinessPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.application;appType=actor;archiType=square;",150,75,\r\n"","Business Actor",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer actor").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.archimate3.actor;",50,95,"","Actor",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer actor").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.application;appType=role;archiType=square;",\r\n150,75,"","Business Role",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer role").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.role;",85,50,"","Role",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer role").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.application;appType=collab;archiType=square;",\r\n150,75,"","Business Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer collaboration").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.collaboration;",60,35,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer collaboration").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.application;appType=interface;archiType=square;",\r\n150,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer component").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.interface;",70,35,"","Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.application;appType=proc;archiType=rounded;",\r\n150,75,"","Business Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer process").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.process;",150,75,"","Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer process").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.application;appType=func;archiType=rounded;",\r\n150,75,"","Business Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer function").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.function;",75,75,"","Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer function").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.application;appType=interaction;archiType=rounded;",\r\n150,75,"","Business Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer interaction").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.interaction;",75,75,"","Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer interaction").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.application;appType=serv;archiType=rounded;",\r\n150,75,"","Business Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer service").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.service;",60,35,"","Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer service").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.application;appType=event;archiType=rounded;",\r\n150,75,"","Application Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer event").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.event;",60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer event").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.businessObject;overflow=fill;",\r\n150,75,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr style="height:20px;"><td align="center"></td></tr><tr><td align="left" valign="top" style="padding:4px;"></td></tr></table>\',"Business Object",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer data object").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.contract;",150,75,"","Contract",null,null,\r\nthis.getTagsForStencil("mxgraph.archimate3","","archimate business layer contract").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.product;",150,75,"","Product",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer product").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate3.representation;",150,90,"","Representation",\r\nnull,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer representation").join(" "))];this.addPalette("archimate3Business","Archimate 3.0 / Business",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3CompositePalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#FFB973;shape=mxgraph.archimate3.application;appType=location;archiType=square;",150,75,"",\r\n"Location",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate composite element location").join(" ")),this.createVertexTemplateEntry("shape=folder;spacingTop=10;tabWidth=100;tabHeight=25;tabPosition=left;html=1;dashed=1;",150,105,"","Group",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate composite element actor").join(" "))];this.addPalette("archimate3Composite","Archimate 3.0 / Composite",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};\r\nSidebar.prototype.addArchimate3ImplementationAndMigrationPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#FFE0E0;shape=mxgraph.archimate3.application;archiType=rounded;",150,75,"","Work Package",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element work package").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#FFE0E0;shape=mxgraph.archimate3.application;appType=event;archiType=rounded;",\r\n150,75,"","Implementation Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element implementation event").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#FFE0E0;shape=mxgraph.archimate3.event;",60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element event").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#FFE0E0;shape=mxgraph.archimate3.deliverable;",\r\n150,60,"","Deliverable",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element deliverable").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#E0FFE0;shape=mxgraph.archimate3.tech;techType=plateau;",150,75,"","Plateau",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element plateau").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#E0FFE0;shape=mxgraph.archimate3.gap;",\r\n150,60,"","Gap",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element gap").join(" "))];this.addPalette("archimate3Implementation and Migration","Archimate 3.0 / Implementation and Migration",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3MotivationPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.application;appType=role;archiType=oct;",\r\n150,75,"","Stakeholder",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element stakeholder").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.application;appType=driver;archiType=oct;",150,75,"","Driver",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element driver").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.application;appType=assess;archiType=oct;",\r\n150,75,"","Assesment",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element assessment").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;whiteSpace=wrap;fillColor=#CCCCFF;perimeter=ellipsePerimeter;",150,75,"","Value",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element value").join(" ")),this.createVertexTemplateEntry("shape=cloud;html=1;whiteSpace=wrap;fillColor=#CCCCFF;",150,75,"","Meaning",\r\nnull,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element meaning").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.application;appType=goal;archiType=oct;",150,75,"","Goal",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element goal").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.application;appType=outcome;archiType=oct;",\r\n150,75,"","Outcome",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element outcome").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.application;appType=principle;archiType=oct;",150,75,"","Principle",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element principle").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.application;appType=requirement;archiType=oct;",\r\n150,75,"","Requirement",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element requirement").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.requirement;",100,50,"","Requirement",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element requirement").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.application;appType=constraint;archiType=oct;",\r\n150,75,"","Constraint",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element constraint").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#CCCCFF;shape=mxgraph.archimate3.constraint;",100,50,"","Constraint",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element constraint").join(" "))];this.addPalette("archimate3Motivation","Archimate 3.0 / Motivation",!1,mxUtils.bind(this,\r\nfunction(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3PhysicalPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.tech;techType=facility;",150,75,"","Facility",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element facility").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.tech;techType=equipment;",\r\n150,75,"","Equipment",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element equipment").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=material;archiType=square;",150,75,"","Material",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element material").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=distribution;archiType=square;",\r\n150,75,"","Distribution Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element distribution").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.distribution;",90,40,"","Distribution Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element distribution").join(" "))];this.addPalette("archimate3Physical","Archimate 3.0 / Physical",!1,mxUtils.bind(this,\r\nfunction(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3RelationshipsPalette=function(){var a=this,b=[this.createEdgeTemplateEntry("html=1;endArrow=diamondThin;endFill=1;edgeStyle=elbowEdgeStyle;elbow=vertical;endSize=10;",160,0,"","Composition",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship composition").join(" ")),this.createEdgeTemplateEntry("html=1;endArrow=diamondThin;endFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;endSize=10;",\r\n160,0,"","Aggregation",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship aggregation").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=1;startArrow=oval;startFill=1;edgeStyle=elbowEdgeStyle;elbow=vertical;",160,0,"","Assignment",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship assignment").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;elbow=vertical;endFill=0;dashed=1;",160,0,"","Realization",\r\nnull,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship realization").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=1;",160,0,"","Serving",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship serving").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=none;elbow=vertical;dashed=1;startFill=0;dashPattern=1 4;",160,0,"","Access",null,this.getTagsForStencil("mxgraph.archimate3",\r\n"","archimate relationship access").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=0;dashed=1;startArrow=open;startFill=0;dashPattern=1 4;",160,0,"","Access",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship access").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=0;dashed=1;dashPattern=1 4;",160,0,"","Access",null,this.getTagsForStencil("mxgraph.archimate3",\r\n"","archimate relationship access").join(" ")),this.addEntry("uml influence",function(){var b=new mxCell("+/-",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;endArrow=open;elbow=vertical;endFill=0;dashed=1;dashPattern=6 4;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.geometry.relative=!0;b.geometry.x=1;b.geometry.y=10;b.edge=!0;return a.createEdgeTemplateFromCells([b],160,0,"Influence")}),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;dashed=0;elbow=vertical;endFill=1;",\r\n160,0,"","Triggering",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship triggering").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;dashed=1;elbow=vertical;endFill=1;dashPattern=6 4;",160,0,"","Flow",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship flow").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;",160,0,"","Specialization",null,this.getTagsForStencil("mxgraph.archimate3",\r\n"","archimate relationship specialization").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=none;elbow=vertical;",160,0,"","Association",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship association").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;fillColor=#000000",10,10,"","And Junction",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship junction").join(" ")),\r\nthis.createVertexTemplateEntry("ellipse;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;fillColor=#ffffff",10,10,"","Or Junction",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship junction").join(" "))];this.addPalette("archimate3Relationships","Archimate 3.0 / Relationships",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addArchimate3StrategyPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#F5DEAA;shape=mxgraph.archimate3.application;appType=resource;archiType=square;",\r\n150,75,"","Resource",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy resource").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#F5DEAA;shape=mxgraph.archimate3.application;appType=capability;archiType=rounded;",150,75,"","Capability",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy capability").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#F5DEAA;shape=mxgraph.archimate3.application;appType=course;archiType=rounded;",\r\n150,75,"","Course of Action",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy course action").join(" "))];this.addPalette("archimate3Strategy","Archimate 3.0 / Strategy",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3TechnologyPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=node;archiType=square;",\r\n150,75,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology node").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.node;",100,60,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology node").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.tech;techType=device;",150,75,"","Device",\r\nnull,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology device").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.device;",80,65,"","Device",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology device").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=sysSw;archiType=square;",150,\r\n75,"","System Software",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology system software").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.tech;techType=sysSw;",120,75,"","System Software",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology system software").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=collab;archiType=square;",\r\n150,75,"","Technology Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology collaboration").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.collaboration;",60,35,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology collaboration").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=interface;archiType=square;",\r\n150,75,"","Technology Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology component").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.interface;",70,35,"","Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=proc;archiType=rounded;",\r\n150,75,"","Technology Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology process").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.process;",150,75,"","Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology process").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=func;archiType=rounded;",\r\n150,75,"","Technology Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology function").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.function;",75,75,"","Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology function").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=interaction;archiType=rounded;",\r\n150,75,"","Technology Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology interaction").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.interaction;",75,75,"","Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology interaction").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=serv;archiType=rounded",\r\n150,75,"","Technology Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology service").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.service;",60,35,"","Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology service").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=event;archiType=rounded",\r\n150,75,"","Technology Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology event").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.event;",60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology event").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=artifact;archiType=square;",\r\n150,75,"","Technology Artifact",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology artifact").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.artifact;",50,75,"","Artifact",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology artifact").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=netw;archiType=square;",\r\n150,75,"","Communication Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology communication network").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.commNetw;strokeWidth=6;",100,30,"","Communication Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology communication network").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=path;archiType=square;",\r\n150,75,"","Path",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology communication network").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.path;strokeWidth=6;",100,30,"","Path",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology path").join(" "))];this.addPalette("archimate3Technology","Archimate 3.0 / Technology",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addArrows2Palette=function(){this.setCurrentSearchEntryLibrary("arrows2");var a=[this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;notch=0;",100,70,"","Arrow Right",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow right").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;flipH=1;notch=0;",\r\n100,70,"","Arrow Left",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow left").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;direction=north;notch=0;",70,100,"","Arrow Up",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow up").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;direction=south;notch=0;",\r\n70,100,"","Arrow Down",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow down").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=30;notch=30;",100,60,"","Chevron Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow chevron").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;notch=15;",\r\n100,70,"","Notched Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow notched").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=10;",100,30,"","Notched Signal-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow notched signal in").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;",\r\n100,30,"","Signal-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow signal in").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0.67;dx=20;notch=0;",100,60,"","Slender Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow slender").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.twoWayArrow;dy=0.6;dx=35;",\r\n100,60,"","Two Way Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.twoWayArrow;dy=0.65;dx=22;",100,60,"","Slender Two Way Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow slender two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.stylisedArrow;dy=0.6;dx=40;notch=15;feather=0.4;",\r\n100,60,"","Stylised Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow stylised notch notched").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.sharpArrow;dy1=0.67;dx1=18;dx2=18;notch=0;",100,60,"","Sharp Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow sharp").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.sharpArrow2;dy1=0.67;dx1=18;dx2=18;dy3=0.15;dx3=27;notch=0;",\r\n100,60,"","Sharp Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow sharp").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.calloutArrow;dy=10;dx=20;notch=60;arrowHead=10;",100,60,"","Callout with Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendArrow;dy=15;dx=38;notch=0;arrowHead=55;rounded=0;",\r\n100,100,"","Bend Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendArrow;dy=15;dx=38;notch=0;arrowHead=55;rounded=1;",100,100,"","Bend Arrow (rounded)",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend rounded").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendDoubleArrow;dy=15;dx=38;arrowHead=55;rounded=0;",\r\n100,100,"","Bend Double Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend double two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendDoubleArrow;dy=15;dx=38;arrowHead=55;rounded=1;",100,100,"","Bend Double Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend double two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.calloutDoubleArrow;dy=10;dx=20;notch=24;arrowHead=10;",\r\n100,50,"","Callout with Double Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout double two way").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.calloutQuadArrow;dy=10;dx=20;notch=24;arrowHead=10;",100,100,"","Callout with Quad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout quad four war").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.calloutDouble90Arrow;dy1=10;dx1=20;dx2=70;dy2=70;arrowHead=10;",\r\n100,100,"","Callout with Double Arrow 90"+String.fromCharCode(176),null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout double two way orthogonal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.quadArrow;dy=10;dx=20;notch=24;arrowHead=10;",100,100,"","Quad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow four way quad").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.triadArrow;dy=10;dx=20;arrowHead=40;",\r\n100,70,"","Triad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow three way triad").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.tailedArrow;dy1=10;dx1=20;notch=0;arrowHead=20;dx2=25;dy2=30;",100,60,"","Tailed Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow tailed").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.tailedNotchedArrow;dy1=10;dx1=20;notch=20;arrowHead=20;dx2=25;dy2=30;",\r\n100,60,"","Tailed Arrow with Notch",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow tailed notch notched").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.stripedArrow;dy=0.6;dx=40;notch=25;",100,70,"","Striped Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow striped").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.jumpInArrow;dy=15;dx=38;arrowHead=55;",\r\n100,100,"","Jump-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow jump in").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=11;arrowHead=43;dx2=25;",100,100,"","U Turn Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow u turn uturn").join(" "))];this.addPalette("arrows2",mxResources.get("arrows"),!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}));\r\nthis.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addAtlassianPalette=function(){var a=this;this.setCurrentSearchEntryLibrary("atlassian");var b=[this.addEntry("atlassian issue ticket bug jira task feature request",function(){var b=new mxCell("Task description",new mxGeometry(0,0,200,50),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.issue;issueType=story;issuePriority=blocker;issueStatus=inProgress;verticalAlign=top;align=left;whiteSpace=wrap;overflow=hidden;spacingTop=25;strokeColor=#A8ADB0;fillColor=#EEEEEE;fontSize=12;backgroundOutline=1;");\r\nb.vertex=!0;var c=new mxCell("ID",new mxGeometry(0,0,60,20),"strokeColor=none;fillColor=none;part=1;resizable=0;align=left;autosize=1;points=[];deletable=0;connectable=0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Issue")}),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Atlassian_Logo.svg;",66,66,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.atlassian",\r\n"atlassian logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bamboo_Logo.svg;",64,74,"","Bamboo",null,null,this.getTagsForStencil("mxgraph.atlassian","bamboo logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bitbucket_Logo.svg;",57,50,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.atlassian","bitbucket logo atlassian","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Clover_Logo.svg;",\r\n71,71,"","Clover",null,null,this.getTagsForStencil("mxgraph.atlassian","clover logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Confluence_Logo.svg;",63,57,"","Confluence",null,null,this.getTagsForStencil("mxgraph.atlassian","confluence logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crowd_Logo.svg;",66,65,"","Crowd",null,null,this.getTagsForStencil("mxgraph.atlassian","crowd logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crucible_Logo.svg;",\r\n61,61,"","Crucible",null,null,this.getTagsForStencil("mxgraph.atlassian","crucible logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Fisheye_Logo.svg;",71,59,"","Fisheye",null,null,this.getTagsForStencil("mxgraph.atlassian","fisheye logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Hipchat_Logo.svg;",66,62,"","Hipchat",null,null,this.getTagsForStencil("mxgraph.atlassian","hipchat logo atlassian","atlassian ").join(" ")),\r\nthis.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Logo.svg;",72,72,"","Jira",null,null,this.getTagsForStencil("mxgraph.atlassian","jira logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Core_Logo.svg;",55,66,"","Jira Core",null,null,this.getTagsForStencil("mxgraph.atlassian","jira core logo atlassian","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Service_Desk_Logo.svg;",59,76,"","Jira Service Desk",\r\nnull,null,this.getTagsForStencil("mxgraph.atlassian","jira service desk logo atlassian","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Software_Logo.svg;",74,76,"","Jira Software",null,null,this.getTagsForStencil("mxgraph.atlassian","jira software logo atlassian","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Sourcetree_Logo.svg;",57,71,"","Sourcetree",null,null,this.getTagsForStencil("mxgraph.atlassian","sourcetree logo",\r\n"atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Statuspage_Logo.svg;",75,52,"","Statuspage",null,null,this.getTagsForStencil("mxgraph.atlassian","statuspage logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Stride_Logo.svg;",69,57,"","Stride",null,null,this.getTagsForStencil("mxgraph.atlassian","stride logo atlassian","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Trello_Logo.svg;",\r\n70,70,"","Trello",null,null,this.getTagsForStencil("mxgraph.atlassian","trello logo","atlassian ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=46;fontStyle=1;html=1",96,96,"MM","Avatar (Large)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=25;fontStyle=1;html=1",\r\n48,48,"MM","Avatar (Main)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#36B37E;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1",32,32,"MM","Avatar (Normal)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1",\r\n24,24,"MM","Avatar (Small)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#FF5630;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1",16,16,"M","Avatar (Tiny)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.addEntry("atlassian avatar available",function(){var b=new mxCell("MM",new mxGeometry(0,\r\n0,32,32),"shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,1,10,10),"shape=ellipse;fillColor=#36B37E;strokeColor=#ffffff;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Avatar (Available)")}),this.addEntry("atlassian avatar away",\r\nfunction(){var b=new mxCell("MM",new mxGeometry(0,0,32,32),"shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,1,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.away;fillColor=#7A869A;strokeColor=#ffffff;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"Avatar (Away)")}),this.addEntry("atlassian avatar do not disturb unavailable",function(){var b=new mxCell("MM",new mxGeometry(0,0,32,32),"shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,1,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.do_not_disturb;fillColor=#FF5630;strokeColor=#ffffff;strokeWidth=2;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Avatar (Do not disturb)")}),this.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=14;fontStyle=1;html=1",40,40,"&lt;/&gt;","Container Avatar (Large)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar large").join(" ")),\r\nthis.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1",32,32,"&lt;/&gt;","Container Avatar (Medium)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar medium").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1",\r\n24,24,"&lt;/&gt;","Container Avatar (Small)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar small").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#0065FF;strokeColor=none;html=1",10,10,"","Dot Badge",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian dot badge").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#0065FF;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=1;arcSize=50",\r\n40,25,"13","Bold Badge",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian bold badge").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#E3FCEF;strokeColor=none;html=1;fontColor=#016745;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=0;arcSize=50",40,25,"+1","Subtle Badge",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian subtle badge").join(" ")),this.addEntry("atlassian banner",function(){var b=new mxCell("",new mxGeometry(0,\r\n0,625,50),"rounded=0;fillColor=#FFAB00;strokeColor=none;html=1");b.vertex=!0;var c=new mxCell("<b>More information?</b> See the <u>recovery process documentation</u>.",new mxGeometry(.15,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#172B4C;strokeColor=none;fontColor=#172B4C;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"Banner")}),this.addEntry("atlassian banner",function(){var b=new mxCell("",new mxGeometry(0,0,625,50),"rounded=0;fillColor=#DE350A;strokeColor=none;html=1");b.vertex=!0;var c=new mxCell("A database error has occurred. Please reload the page.",new mxGeometry(.15,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#ffffff;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(0,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Banner")}),this.createVertexTemplateEntry("fillColor=none;strokeColor=none;html=1;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=0",360,25,"Atlassian / Atlassian Connect / atlassian-connect-js-extra","Breadcrumb",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian breadcrumb").join(" ")),this.addEntry("atlassian button primary",\r\nfunction(){var b=new mxCell("Pay now",new mxGeometry(25,0,86,33),"rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],111,33,"Button (Primary)")}),this.addEntry("atlassian button standard",function(){var b=new mxCell("Create Group",new mxGeometry(25,\r\n0,115,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],140,33,"Button (Standard)")}),this.addEntry("atlassian button link",function(){var b=new mxCell("Visit documentation",new mxGeometry(25,0,125,33),"fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],150,33,"Button (Link)")}),this.addEntry("atlassian button primary",function(){var b=new mxCell("Submit",new mxGeometry(25,0,80,33),"rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,\r\n14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],105,33,"Button (Primary)")}),this.addEntry("atlassian button standard",function(){var b=new mxCell("Done",new mxGeometry(25,0,55,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([b,c],80,33,"Button (Standard)")}),this.addEntry("atlassian button link",function(){var b=new mxCell("Click here",new mxGeometry(25,0,75,33),"fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],100,33,"Button (Link)")}),\r\nthis.createVertexTemplateEntry("rounded=1;fillColor=#0057D8;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=12",86,33,"Primary","Button (Primary)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian button primary").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=12",86,33,"Standard","Button (Standard)",null,null,this.getTagsForStencil("mxgraph.atlassian",\r\n"","atlassian button standard").join(" ")),this.createVertexTemplateEntry("fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=center;verticalAlign=middle;fontStyle=0;fontSize=12",86,33,"Link button","Button (Link)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian button link").join(" ")),this.addEntry("atlassian dropdown button",function(){var b=new mxCell("Dropdown button",new mxGeometry(0,0,140,33),"rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=left;fontSize=12;spacingLeft=10");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,12,6),"shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (dropdown)")}),this.addEntry("atlassian button label only",function(){var b=new mxCell("Label only",new mxGeometry(0,0,80,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");\r\nb.vertex=!0;return a.createVertexTemplateFromCells([b],80,33,"Button (label only)")}),this.addEntry("atlassian button icon and label",function(){var b=new mxCell("Icon and label",new mxGeometry(0,0,120,33),"rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-6);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],120,33,"Button (icon and label)")}),this.addEntry("atlassian button icon only",function(){var b=new mxCell("",new mxGeometry(0,0,32,33),"rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-6);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],32,33,"Button (icon only)")}),this.addEntry("atlassian button subtle",function(){var b=new mxCell("Subtle",new mxGeometry(0,0,80,33),"rounded=1;align=left;fillColor=none;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-6);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],80,33,"Button (subtle)")}),this.addEntry("atlassian button disabled",function(){var b=new mxCell("Disabled button",new mxGeometry(0,0,110,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#A5ADBA;fontSize=12");b.vertex=!0;return a.createVertexTemplateFromCells([b],110,33,"Button (disabled)")}),this.addDataEntry("atlassian split button",80,33,\r\n"Button (split)","rZRfb4IwFMU/TR9doFXnXsXhy5Ys8WHPjVygWWlJuTrdp1+hBUV0kjgTk/bce/rndxoIi4rD2vAyf9cJSMJeCYuM1uhGxSECKQkNRELYilAa2D+h8Y1q2FSDkhtQOMZAnWHP5Q6csimlQKdWeJReNXqnEqhNIWHLVEgZaalNU2RxGNN4avUKjf6CtqK0su5ljoVsfVrhmW/2Mn9eBFbnUmTKahJS9G0b8VNvHdJ62ZJvhcremuoqDPyZwSAcbt67kfyl16ALQHO0Ld8iwdx1LPxCOYgs9y7GnMYrN8865wmiHXiO15myAdMBzirnZT1EI7jKanWZCANbFLrmUOldfchLzh2vvzmPoUOv0+kbjv4FPc3c/IxdSIfs5k4yIDmKPfSWusbTb/+hhT1Vt/fEv9h298lFIjpNK8BBHt0lRkU0HR+RFOpWPP0YbEBp8+u/edf06dHR/0vnThrtS340DjZ7nL+dnj5prv38i/cL"),\r\nthis.addDataEntry("atlassian button grouped",320,33,"Button (grouped)","7ZZNb4JAEIZ/zR5rYFetvUqLvTRp0kPPGxlg48KSZVHsr+8AC37S0kQ9mJqY7MwwHzzviBDmJeVC8yx+UwFIwl4I87RSpjklpQdSEuqIgLBnQqmDX0L9nqhbR52Ma0jNkATaJKy5LKDxNI7cbKV15EarFXyKwMTocAmb5zEP1AYNB42A5zEE1uBSRCmel9geNDpik8hdVlaVTMqout1RoparIhtpDUscda4/xFcVdqs6oZDSU1LpegTmuz71x1WNepa9SFh/ukg7ZXtboA2UvWhql+WyAJWA0Vu8ZGOLYJRZfE4MIoptGmONj+eNHXWpO9B4sKzPc2cn3OeFMSpF36kCWhVp0DEOVWpaVtTae0QmT9PHWXedLXLMNFUp/Akn6gM5Nn1tOVSKDoJMf4U8+4GxBsmNWMNB+XPgbYd3JbAxdcrD0m2GCsMczIlQ3VyDtBv3a8f+tbuYdu70GuJN+sUb3/zRVzGz7Y8fgHexKIcJt1mbh6v85qf9a+Peem0khHe9NZfek57/ZDR371nNSuy/hn0D"),\r\nthis.addEntry("atlassian button compact",function(){var b=new mxCell("Compact",new mxGeometry(0,0,86,33),"rounded=1;fillColor=#F1F2F4;align=center;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(107,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");c.vertex=!0;var d=new mxCell("",new mxGeometry(117,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");d.vertex=!0;var f=new mxCell("",new mxGeometry(127,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");\r\nf.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],133,33,"Button (compact)")}),this.addDataEntry("atlassian button grouped group",556,33,"Button (grouped)","3Zhdb5swFIZ/DZeNDA4kuRxp003qpEq76LUVDFgxGNlOm+zXz8YmhTofVIM0W6RI+MCxj5/3+NjgwWWxe+Soyn+yBFMPPnhwyRmT5qrYLTGlXgBI4sF7LwiA+nvB6sRdv74LKsRxKfs4BMbhFdEtNpaHhEhjFHJPrZGzbZlg7eN7ME4JpUtGGa9vQgCicKUGiBElWalsazU4VjdjITnb4ObRkpWquziXBW06YqVsdZTWP2v/RX7rwf0mQswl3p2cZW2yU3zErMCS79UjbySRuXkiNCBAjkmWWy8IjQ0J084Onu/I1IWldpwgdAguWVHowD4FceWvgtV0AIjhIprNwZAQrUMYGo8W0/lITKcO029CaCz/GVJ/Chyms5GYhg5Th6bB8mJj0SBEjhL2php69gkSec0aHGPawqe8Kt1lsct0YZsUbL3ZVhPO8VpNKOYNQnBGs65E7eLQjXIIGQLfTe1gOpIOkaPDD5XX4JmzjGMhvloUN80vLAcb6Uct7aLqL6MKAQs16PeGtw66l7jhxdq/OKMlxxRJ8oo73R8T2I7wzIiu7U3uRKDrwdJUYOkkxCGuXjkyc3LkhfFNSpXqQ6QHxanslxwaV7yVkpXOur2ZHBEVWpMye6onZYL7m7TpOlwnie4WY2TRvEfFt7pLTlCZaWucEF0RiFb8XrCtnv3HIn0Q9/w+2keEWR8R9qYFJm6ZbrbhtijRMJrYk3Mz+h0cQaKFI9ET0pX7ypuALgi3vswH2gqiIVZx373eB5eX4D9+hA2Be4QNo3GOTr5/GWeT4cqTVAKPWryMvKerV9gpID50QB3hFA2AyX2pv2VMwVdhct/cbxkTvA4m1Xz/+mR2tPbHqT8="),\r\nthis.addDataEntry("atlassian button grouped group responsive",551,104,"Button (grouped, responsive)","7Vnfj6IwEP5reLwNbYXFx9PTvZdLLrmHeyYySrOFmrbu6v3110JB2S4urj9wjSaYzpRph+9rZ4bikXG2fhLxMv3FE2AemXhkLDhXZStbj4ExD/s08cgPD2NfXx6etvSiotdfxgJy1cUAlwYvMVtBqSkVUm2YVUgl+DP8pYlKtQJ5ZCTTOOGvWvC1kMQyhcQKMaOLXLdnenoQWpGqjG2tlmbIbL0wj/uQ8dnzavkgBMy0qyPxh/4z3ciMM6eMjTnjonCBTNEUTwdmjMKXnZ558at7Ki+rxwKhYN0KTaGyuDwBz0CJjb7l1Q5i4CElfH4KdJFaM0JKXSxLeVGbboHWDYv1+7gTB/fvUhrsLow+g7karZTiuUMBz1UlYyvvAB8Mw8eovs/6+5a6nOdwEGvaB5B60p8V3Mb1TlziD7kM91ApgMWKvkBj+GP4HbTy6yuu/zJwmBZ8lSc1lzcH//AU8NsZfnOqJ8b+uslsZcHncwnKoav2qxODgcPgmGeZeeBLB0iD1y3v0abBzpKJzrdkvkXnWDPhPZu2sYsD3+EXofA82fXxnl1Pu3PD68quUf/77GaCcgu1rUE52LNnjw3K1dgnDcrDDovFkqwN6VKCGzJr0pqMWJrq5dIF72g/3rbs2FiROPi/A3/YDnTXHYX8r4QS7gsl9JVQIn2hdD9UaOckCi9XBqH7KcOJkyW6smMG5J4z3FglpO8b4ACHk54Zvp16CLknG4cnsTfIH5PEyjV8fRVRl5f564Gpt5LIfde+Zph6q4ncV9ZJQs1ep1JqjZmDFEFzp9nXgWOH4ulTMfmDfFBbNvPB8UXXYBA2WCeRW4P5wTu8H068Frcf78rgvPtt7z8="),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox_2;fillColor=#0057D8;strokeColor=none;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10",12,12,"Text","Checkbox (on)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian checkbox on").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0",\r\n12,12,"Text","Checkbox (off)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian checkbox on").join(" ")),this.addDataEntry("atlassian checkbox group",150,173,"Checkbox group","7VfdbpswFH4abisDIWGXLYTepNKkPsDk2AewYmxkOy3Z08+ASTOcTu2yRqtUJCSfX3O+7/iHIM6a7l7htn6QFHgQr4M4U1KacdR0GXAeRIjRIM6DKEL2DaLiFWs4WFGLFQjzloBoDHjCfA+j5hE4EAPUaoksSwA9umhz4M6lZJxnkktlRSGF1d5po+QOZspSCvPIfvZRYTjJLk0vY84qYcccSuPMU4YgipNvy1WK3PeBMtC9WuOgcgXeg2zAqIN1eWbU1M4jcZlqYFXtwhw2COtRro6hL4jZgQPtPICxB+Batwq0lh5sSu4FBeqKPwXRVlugIioSD0lrydM8W8c+Pmh4fBh7rBjB/NapG0Yphxn8aEaPhe+O4y3w71Izw2QfqEakjgk3M/sxsW4xYaLaDPPnYZ+7Ng13heoaU/ns5qRY1wMEFxE7BbgkB0eFE09pj3zWJ90lrC881jPctntiYfB5fwMWg6Xt/Zuu6jeDG2w41pphcUNqILut7H5EftcglKzy9E/r73M0zD/vhSS5Wi8kXi8UHJt+7poZ+OqG/6Ab0uvtDEuvGzZSVFaz5Zjsvs6EK58JIbreRrDyqL+l9H2Mv2sFl8NzQjaxGIH6W7oXH07RxMnCX47LM9ezOL6ck/TMQS2IvWdfcqf1L6mfhwMXsJotk4+jxIovvzOD7be/nV8="),\r\nthis.addDataEntry("atlassian dropdown button",100,53,"Button (dropdown)","tZRNb8IwDIZ/TY5MaQJsu1JWLps0icPOEU3biDSuUpeP/fqlJJRBy8aEdqjkvPYbu4+lEB6Xu4UVVfEGqdSEvxAeWwD0UbmLpdaEUZUSPieMUfcRllzJRocsrYSVBm8xMG/YCN1IryxRYFN7uca9DrKFxqSydUWEzzKldQwarDsbMK5mVqOFtbwQCyz10QIGj1nC+OR5+vhEnS60yo3TtMwwlC3VZ9s1am11JVbK5K+H7DyivRI/v7Qod1cZHKQAYCGhlGj3rmSrUixCBfWcaCFVXgRbYEdF7c95Zz0RdUGAOgyY9wB/gF1nGrZ/QOx4JVHCkvH/cGZDnO/guj/H9xtmzu/HPO5h7uGtC1G1IVolTN6qs1RZuUIFLZcamnbKS+4dv5+530KLD9M6NwR29GHSh8f67KZeslILVBt5dtUQz9D+HZSbqus9Oq4qdB9dbASyrJbY20f3E0MrcsfTM+bLv79yXw=="),\r\nthis.addDataEntry("atlassian dropdown button open",110,200,"Button (dropdown, open)","7ZfLbuIwFIafJsuOHDvmshwC6WYqVdNF1x7iJFZNjGxzm6cfB5u04CSEZtiBhGSfCzbff86BBChe7Z8lWRcvIqU8QIsAxVIIbVerfUw5DyBgaYDmAYTAvAOYtHjDoxesiaSl7pMAbcKW8A21ljdN9EZZs9IH7sxSbMqUVllhgGYZ4zwWXEizL0VpYmZKS/FBL4yFXvFTiij1yRtAhKej8QQYO+EsL42N00y7sDf2tzo1rNLUmixZmf86euch8ELs/anUdN/K4GhyAJ6pWFEtDyZkx1JduAhgOYGCsrxwaY4dIMru8zr1k6hZOKjNgJEH+F3Ij4yL3Q2IDS+I0QRPbuecHV/dnGET5wFcD+f4rmFGaDjmyMPs4VUFWVdLLRkp88o6S5mkS81ExUWJTXXLS+41v27ufWihZlrnCY4d+IF9eNBnN7ImSTnRbEvPPqqJpzv+VTBzq/rsp5NU7vSnC0VElimqPT3qL9FLInxdos4OaFHCeObJIlzgylOQ1DSWTf/SE0QuXa1HvZTqrms88qUJG+o6jKLhhT3yqMVcKMOonR3w2SVRgpNxWxXX2MAFthtHhjd86qElqTKJ7w5Yv3bB14d2E/XTNPluSxzOuP/XDhh7Wv6mW0Z3N6nZ9XP7ENIXEk3voOTEU/LnH1KmRoWHlPeTcgzvIOXUk7LHH7SHksOUDAEeLqXZfj4o2fCvz1H/AA=="),\r\nthis.addDataEntry("atlassian dropdown avatar",160,167,"Button (avatar)","7ZjRcqIwFIafhss6QAT0ckXtTXfGme7MXqdyhMwG4iSh1T79JhKoAiJWu9NudQYHTs4h8p0/P4iFwnRzz/E6+ckioBaaWSjkjMliL92EQKnl2iSy0NRyXVttljs/MursRu015pDJPgVuUfCMaQ5FJEwYE6BiWG0RCBJnwIssIbfUZHGWZxHokzgWmqwIpSGjjKvjjGUqZyIkZ3+gFkxkSssSlsly1HKRN/aDka3imKoJVYzCSpq0R/KqZ3V0mVjjJcnih93o1LEbKcXlAJewOYpkFzI87oGlIPlWpbyQSCYmw2CzEyBxYsrKGBbFcVyVvgFWO4ZxO2/U4H0GWsXJ9dDIG/XgewmI7eH17nPxWrggdDmX4WkuIsFrvSs5wVmso5OIcFhKwrRgBMv1r6wDW+0+J4H1oYXaaR0WGHb2wGvCc5vs/CLEgWJJnuHgVG08zfQLRtSvqua+K1tlZr+rdYStVgJkox/VRfRqkddo0QKTWDvFr5y3eUTZsHQTa38bECaCAVmyTAxyofL79mpf9scdpCrucBC33UEofgK6YIIYKfGiPxOtB7LE9KE2npIo2umvTPhhpqwGLtFTh4LKZXLgSsOrSMipKagU61Ul5F/ofscFMp3PnJmnRxIcsRdTvqcWzJdGBcNezem2Rs9vrm6/xRodp6MRfb0xOIea3aQ2H869eXDMAitgdg3Y2cuotiCrNcvVQ8Qr/Dao+nmtf/oW3ca7vBW9dzFsD3R6Ve2PPrd9Vilfxj6Db2ef40uMoOu5/OYBTQ9A4w/oYCmTvRY+4lQF1HcOVNxM4EwTGH87E6j+495c4B+4QPAhLWx564IF6MsKE5w+Ab8ZwblG4HQ/sP8HTqAO394LFun7rw3/Ag=="),\r\nthis.addDataEntry("atlassian flag message",333,90,"Flag message","vVXbTuMwEP2aPIIcO+nSR9IWXnYltCB4dpNJYuHYkW1oul+/vqW0pKhIBXr1mYtnfOYkSciiG24V7ds/sgKekFVCFkpKE1bdsADOE4xYlZBlgjGy3wTffOBNvRf1VIEwn0nAIeGV8hcIlmDQZsujQckXUYGLTxNS1IzzheRSeSep/cvatVHyGfY8y5tVusqdp6WV3MT01nQ8Lqkq79k/VySLTYAyMHx4EG+Kp7gF2YFRWxuyYZVpQwQhJKS1wJo2ps0DAYjqgJtd6hstdhGZOc4SmbB0/3D99+HiKnfF7M4YrQGE/SsVUGPJek/i3rl3fCALKqpbzy0Knt7Fd0PjBHFJDadaMyouyxbK57UcpgMgs4L8Wk0GIKSAQ7prKUzkO81GHBt0xTldA7+TmhkmhbWpQGFBOWsc5lA7qHtaMtH89mgZ1XVqdPjk6NJsOrnRpoBTw17hYPtj44wV7iSzhTGK/eA8ZGwP4biBrGsNZqKGXZufEkg2Ecgjg40L0NpaHE32M6Ndbym0U7vCeOZXznFdWb0gI+2PgMF1rnvlj/AjIopSOVc/Du/pEqFsXqCpfr5IL3iGpoIZ1XimYMato2By9A2CyU/fd8+c9nDsplz4987zFAnF50zlMOFnrukLMv/yi9rCt+duCN9/LP8H"),\r\nthis.addDataEntry("atlassian multiple flag message",333,150,"Multiple flag message","vVZdb9owFP010Z6GnBjQ+spXNambKvVhj5NJboiFY0e2KaG/ftcfoaGhohKwAJF9r48dn3OuSULndfuoWVP9UgWIhC4TOtdK2dCq2zkIkWSEFwldJFlG8Jdkq0+yqc+ShmmQ9iuALABemdhBiISAsQdxDBCtdrIAB0kTOiu5EHMllPZ5WvoL48ZqtYVeZrFapsuJy1SsUPsIr2wtYpPp/IW/uXXG8TlAW2g/3YsPxY08gqrB6gMO2fPCVmEEpTTAKuCbqoNNAgmEmRDYHLHv1GAjsnOeKTpg6jcvrVs+VzLnBrBluUXWPhKIu29cs243TucRe9tpCPe/TOCOh5yuVpMpJQNOpZJwymCppI0UpuOuH5d2eMHWIJ6V4ZYriTEdWJkxwTeuL6B0XdOwnMvNk+8tomcuqZFdVCMdnxEjxjQIZvkrnEx/TqC4wrPiuHBG4vNkk4A4nHa7CVRZGrADfY+P+SXJxwPJf9pvBiNrMO5ReOk0r3rKE+7SXDoDIE8gcxfMmXcHk4Uf78cUYHLNGy8LBqG1HdrsGtB+llLpOnDUgdkeDO5gNPBY3z/RJddax/V7liT+GlpnX3ELL+gfh9ujwW/kHVxxaJ4puYl5ummieT4eDzcxz+TyydoT43hCOoYLZip/2pKQOT09rGDGcCZH7bkzd+Y/x8yfSGh2jSqngP9T39/pw/0LfDrQ6InLratHhbdaaYh1mLgjEb9TVjfILfL8w6FdyyX6KJaHmr6t1nkF+Xat2g9/Ffcq9fHD7Eyp37Oys7tUdppm19sGu+8vZGF4/33tHw=="),\r\nthis.addDataEntry("atlassian multiple flag message",333,120,"Flag message","vVXLjtowFP2aLIscG6i6DY/pYkYaaRZVlya5iS0cO7UNhH597dgJ0IAYCdogIt+3fe65TkIWdfuiacPeVAEiIauELLRSNqzqdgFCJBjxIiHLBGPk/gle37CmnRU1VIO0nwnAIWBPxQ6CJiiMPYqo0GonC/D+aUKykguxUELpzkjK7nF6Y7XawplluV6lq5m3MFqoQwxnthZxSXX+wX/7ItO4CdAW2psH6VTxFC+garD66FwOvLAseBBCQhgDXrE+LCKAqAmKaog94eIWEZrrMJERTD/VzufU4N7SHQ+jXEkJuXVI/Y3g2aEHMJATCmpYBywKlsb7123l2TChVlBjOJWTnEG+3ah2jD6ZZ+TraoS+VBIusS6VtBHsdNrLcYO+uKAbEO/KcMuVdDod8Muo4JWXBZReNA3NuaxeO2nZA3unb/hu39LplbZFnQZBLd/DRfprrYwV3hV3hTGK+8GzEHG8FPsEqiwN2BEThm1+ihzTG+RgdO/ZsQGQvmThhwgjq/yLeUvlRqtJPIzzXzs/8dmay2Iwf6d86/Mo2am48aziFiYn/xHVzgkSafAoN7x8xjnUPWNuHJjb2ocjiI87OAo/iRyu4pgdc/QUdvRpIjtm6B+wY3b/hn3wfmivXb9Z9xssPyKg+JGuXAb8nwH+Qr49fYKdePrCBvfzD/Af"),\r\nthis.addDataEntry("atlassian inline dialog",292,228,"Inline dialog","5VdNc5swEP0tPXCsR0iGJMf6I+khnWYm0+mxo8BiNBESleTY6a+vhATBBieeJpzKjI20K61W7z0WEZFltb9RtC6/yRx4RNYRWSopjW9V+yVwHmHE8oisIoyR/UX4+oQ3bryopgqEOWcC9hOeKN+Ct3iDNs88GJTcihzc+Dgii4JxvpRcqsZJiuaydm2UfISeZ3W9jteJ85Q0l7swvTQVD02qsnv2xy0yD0mAMrA/uZHGFHZxA7ICo57tkB3LTRk2cxWyL4FtynbalUcAUe0Nm27uCy62EaAZh4kMYPqhwRpM6f6/snpZUuPWqOsBfn3EhBQwACsYe9AUUpiATTxv+yFiAx1nG2HbHApzFnb4bezmaIhdEA9SwKlhT3AQfwzPsMSdZMLBERLCiZ/xHLpHAWRRaDADOro8z2JoPmDop9zy3K0qt24L1HKlbEPWIOyNM/Go3XwxTiNnmd2yFM0QbYC6ULLw8VycByV32kYk11MzjkK/93Ch5jpWAlnsSmbgvqaZm7ezVWVKdaSTqCNBE6gjGajju5fBKfrHaO3R1dU0x0FOddnUR+Q9tRtf7TeuqM+o4VRrRsUsKyF7fJD7X3hYRhFKLlaXp3RyJvmOZata/iWYK5bnHE6IqRWbS4bTB+B3UrNG8GSlPMddwNsjfxdYW6Uxsblt1l/F6IPUFo+VcfwhYiPoQGwxnkJt6UBtK1dIUlrVjrVa2sUWLqmSPr28RVrV2YxSbgJNtpt1zKe/t+5csAiCyS/7pnTj7jcuecTMpzaIzdXH8f7/tVZN8yaLEzyBfC7eeSab4wSn61NEHpSu0eNY+6j923msRWqOD6G6CtD1mEpGiCLk/ae1y7cBPC7Tlc4ozOzeQNWKaZhZGo0tbfrsI28D7zm4XbyKG5odSqzr9xU+ncA/x4cFsuu/R+G2+/JF44f3P3j+Ag=="),\r\nthis.addDataEntry("atlassian inline dialog",340,450,"Inline dialog","7VnbbuIwEP2aPBblyuURAnQfqFSJavdxZYghVh0b2YbCfv2OE3N1aEGQh0hBAmU8thOfc2Y8OE4QZ9tXgVbpG08wdYKRE8SCc1VcZdsYU+r4LkmcYOj4vgtfxx9f8Xq5110hgZm6ZYBfDNggusampRjgSrWjpknwNUuwHuE5wWBBKI055SJ3BsPRyBu1oV0qwT/x3sM4w7oxRQn/AtsFI1UZNZMgMZ+Sf3r+SHsWnClje752U7JkYMxhGRimG2ywUGSOaN84MpIk8HjFw4MPb68CkDeZ1b9inmEldtDliyQqLXqEZskpJstUncOAZGEvDyOPaMKFAbQc3MACd6qQUPrmSM1TwpZwqVIi9Rgp1/gO5Pf4VgA6xQt1HXKYfoXm8OyTvNvQcx9hYXvOwAkpvlsRK6HFyn2CX+QfC3sdCmMIheiUAO8aAZ7Bf4wyQnfQ8BuLBDF0QUto7JObuPnHpusRFnZGrzYLQVlshM+gIbJo6CfJPjSwkBYpt6r/BO9TKA+2mdGC8Bb8wh9zybfJRGCKFNngs/nLQDS3eOeEqWOU7DHbnZv7CfhiIbGyODg85020tO+NjqOme7ekKFBwGPf64/E5U0WnPwZH/1lk9ErICKIqyIjcCsjo/EwGpJqVvsy2S11EtAiXnRaZcyZblPNPyNN/lxRJeSM3fhh0ot7j3LS/TffeGXRuK7LyjhfZxHnPIe5ln+bM7V86rSoCqWtx947IErZ492MtGBQ1dzC5lnkRdPNG5EdBN+raubCsy8U2clkUWJt9MKBohuk7l0QRrkeKgqJDwTC58B8Kh6sVxdNyb0nqDauIds+tItx7lmSmKIMG+F1jau+IjWJqpJjAr0Axh+L7KJkJ1mUkiEbhDWaNaGotmnZYhWg8SzQxklivMk5RNisrvhvV1Eg1vXYVqrGPiiZE5pmGZCsJYDaaqa9mDvXqczVjn4B9oCzTq3ybDzlDNGlUU2fVtKsogz37hK6fa6b541R/xfQqKYPtw8RYEKn4KtV6cQdrxoCLpqyps3QCv5Ji2D7w/AB5aNVMMwKrbCRTY8lElVTC9rFsTFiiV/mLz2ZNlqm1ZLpPKITBPL7CL7qfvuH/Dw=="),\r\nthis.addDataEntry("atlassian inline edit",350,55,"Inline edit","7ZbNbqMwEICfhmMiY0PSHLuk9NJKlXro2QWDrRgb2U5K9unXwDSFhTRZZfe2kVDmx2Mz38wAAUmq5tHQmj/rnMmAPAQkMVq7XqqahEkZYCTygGwDjJG/Apye8YadF9XUMOWuCcB9wIHKPestr7URPrYzW3eUYC6ElImW2nhVaeWtP6wzesd+M3JX+SS2oRcLrdyr+NluEJ502BF5nUpRKi9LVsB5B2Yca86m0pkgj0emK+bM0S/5ELnjkE7Up4s4EyWHMECAqO318hT6BcYLwGaeE5lwule50d6N0cJfd/D/sn+XwnIvZbqq/J3bCUmj9ypnOUCiJgNGmxbRgHKASdH9Jqi9J0o292k65t0vegMauLXUNBOqfGoBk218C+QjsIRNhsw3M8xJfDvzaML8f1eOCcWXCZ3rthBP2y1FKU7jiwxvgAIBBEHyn111N9NVM8g2tyNbXUY2HClOc/0BnZFTyzuSqPfU7fqqKduH95I6Sa0VVC0zzrLd7MziGK8eZgb1GqDxt0DRMh4BPekDouFMEwJ3wyR14sBGp89Rhht40d0r4vP0xfjwRTTeQBeFZW5SpFMWV9Vt/c/r1vz1ml0Ygmg8BGR9VcnCP39uePXri6JnP/zg+AU="),\r\nthis.addDataEntry("atlassian inline edit",130,222,"Inline edit","7VnbbpswGH4aLouMHUJy2RzoLlqpUqXt2gomeAMcGadJ9vSzwSQBQ8sKqdItSK38+wT+Dr/BsdA82T9wvImeWEBiCy0tNOeMiaKU7Ockji0IaGChhQUhkH8W9FtanbwVbDAnqegyABYDXnG8JUXNM6eMU3EoGjJxiHVDSON4zmLGZZiyVNbOMsHZL1KrjEQil7FwZDFkqXihv9UEzjHWMwIZ45iuU1mOSSh0czmZBZE7HXsToB+QcEH2rYvMq/QKHwhLiOByAWBHAxHpHkjPFBG6jvQwDQ7AWRGvj0NPkMmCRq0ZQWQg+E3ewECPs20akEADg/lK4zJV6z5DVq4bumjiTjrAW7T/0IuEqmaDVzRdP+Z4LhAwQQ3zq459D4wPGkq3GPEe5MjtD/nIgNyAO4vwRhWT/Vp5y8acs10GbVnPN/cqUHAFB0cp0Z7kwV4FIxsUgfy/cO1p0Q3l3eA4b1GBZyNPBikTq0iLuZGtGrW+D+SlZqGcrARlad6VK8hmnVhAb7IA7AYaGlhwNIScxFjQV1K5XRM1+o7PjMoHgWBfnVrf/c6rTsDCMCPCYPb42J3IdruTnQmykTjuIirIi3SCqttJ+quuOTmxlTXTWAaP6pL1Ul0BJSeHlbRL0/k4obFC5jvhAU5xLR+OTG8CoNVRy4vnYsnYNhdLVkwD7LHbUzrVAX8pJG8QHd2Vli6FhC4gpPH7QmpL0shUwDGPVgUkWxb+0lm6horyhB3hgO3yoH/G9UC3jOu4sH/K9QzwnvBPueI6gjXlNuxHVfvVfTXyXd9rtWUJH6g6uuE1onQZNF123F45USY68dOFkvHHXjQQ6ueTQ0XCg9pico35NQx1Jvz0/Fpuxh/Ir94gW/MwGfUzdubpTTn/sHIGlUo56fn+QQK6TUzFNHzBdPzw/O+3BzS9BHWOQV2rzWPawE7+unw/A6DBvp3egsAg7ijrBk6s7iUgN09lHqWwb1YZzioevARv5llQq1Wu7GACLmbAm7d8a3azKRzGpl/nZMIxz6GeaDrwR9HNxW+42AEXSb9XeeR0dOhXOnIqLHJlb7YXzQkdTplu2vm62ukjFhmeftgrup//7vcH"),\r\nthis.addDataEntry("atlassian inline edit",230,60,"Inline edit","vVZNb+MgEP01PtYiEMfJsXE2vXSlSpV2z8gmMSo2FpDG2V+/g8FJ/JHWVbZrKREzMAO892ZEQJKiflK0yn/KjImA/AhIoqQ0blTUCRMiwIhnAdkEGCP4BXh7Y3bWzKKKKlaaKQHYBbxTcWDO86K4VNyc3IQ2J+EndlyIRAqpwCxlCd61Nkq+sZ4zNwVcYzOD4U6W5pX/sQlmZ9tnRGBTwfcljAXbGT/dJgswiVaLeIn8AZkyrL55ycblb/jEZMGMggugI89M7lfEPlPO+D73YR4cRLWz9+fQC2Qw8KiNI0gGCD7L4wA8JQ9lxjKPC1Wph2Vlr30FLFx713wDdGFmnqwet9suxG7Rb39RbD0VTXm5f24w3RA0BBY1Xx//O3A+eTgjF/EZ7CS6H/b5APYB5jqnlR0W9d7WV0iVkkeNQ/Cr6tEaFq7sNLNqDJeNUVtjHiJnwP8mClduGWmW4UUzY404JDEYpTRp7gU9WhA9fvFmjeLEZuGKpYZLy4CWBwvZehIL5EMWUDhCwwgLMw+hYoIa/s46241R43d8kRwOglHdTe13f4i7CeRup5kZMHs+9iSyo+lka8MqwPGYc8NeoRKs7wj0d6vmUo43WRsWVo/HOY7wAo67BnVlnF0qrKUdim5LCy4sMr+YymhJez1xPrU2x8WiXRoULqI7pdMN+KKQ4n+io4e2pFshkW8Q0uJzIV331pxm0MudSDKq84ti+q3FCKo1p2WY5ix9G23erVz6wrqj77YBq24NkuUk3pb3d+H42/Gs/zOW5zdBi2U8rZl+/SUB5uWd57R8/Qz8Cw=="),\r\nthis.addDataEntry("atlassian inline message",150,180,"Inline message","7VfbTuMwEP2avFa5kLY80paiXcFqBVrxiNxk2nhx7GA7tPD1O3bc9OKAQC2IlaiUynPx2D5zZpwEybhcXUhSFVciBxYk50EylkLoZlSuxsBYEIc0D5JJEMchPkE8fcEaWWtYEQlcv2VC3Ex4JKyGRnOWZaAU6hg8gnElVcVoRjQVXDXeSj8x5z2njI0FExJFLjhqR0pLcQ97yrng+oY+m1lRtJZdGCMTRhccxwzm2pnXEYI4SU/7g2HotgpSw+rF41qVO+sFiBK0fEKXp8aauCBLmuvCTUidrgC6KFwUh1pIVCMv2kgbLHHg4OyGNvGg/fnj+sxDsNAlcyCoguRiiUKIQk5UAbkT0FIZ/3K1MFTpEc2IUpTwXlZAdj8Tq7vYwLaVDYQtDNPBZPhaSnaczc9PhcEb08/OnLqkec5gL4XhXorNZhiZAfstFDXMQaVs4G0DXu7Z28CqIhnli0u7/iQ6KO/rCS6Io0G/gwaxz4K17hAWnHgsGAs+R4Fn8M2FL8CFYfppXEg9LoxIORPimwdfgAdR9HlNoe8TgepZnd2DNpGzTNRc//eXbZR0lNZH3bYDD9JfsERFrUAquwfrPgMDqTkALoePhIcalJE0lmH4V1DeOwrucUc1vI67K7Yj4N5xvbUYHxv3oYe7B5/XqJ5rCc3/HWF4Ur9LTafDkW08b+lS0SAenYwP6S5vbW/bfXmnIaWHpM1NaF9OX0vjB2XxtCOLfWawmOFgYQZXNdO0YrDToBofjN66Baa5JVG4O7yFTQmSWouSWICZOT7lj1TbsNyIfKdsbVVuNUc8SZhDBTxH8HGMeUTARC0327IFrjXaVa97N+t9Gx6hd9ZSqf9Qi+YQ9p7Mh9uq5nx/qpzY3bpF3VJbUDRR12iEwngdsqIEkuOcUkh4cZW9ipOIQ25fFGy7l5nrSolfaXP78yoNLZPpeXSetpZbx8Kdl5KO22SrRpYFJvYGC8WsvcTa9+omDjeqa0fp2H9xOEJxxR3FdNJRTVH6/vsdxc0Xu7XtfND/Aw=="),\r\nthis.addEntry("atlassian inline message subtitle",function(){var b=new mxCell("i",new mxGeometry(0,0,20,20),"shape=ellipse;fillColor=#403294;strokeColor=none;fontSize=14;fontStyle=1;align=center;fontColor=#ffffff");b.vertex=!0;var c=new mxCell(\'<font color="#0057d8">Log in</font> to learn about Confluence\',new mxGeometry(0,30,230,33),"rounded=1;arcSize=3;fillColor=#ffffff;strokeColor=#DFE1E5;strokeWidth=1;shadow=1;align=left;html=1;whiteSpace=wrap;spacingLeft=20;spacingRight=20;fontSize=12;");c.vertex=\r\n!0;var d=new mxCell("Want more information?",new mxGeometry(30,0,200,20),"fillColor=none;strokeColor=none;align=left;html=1;whiteSpace=wrap;fontSize=11;fontColor=#596780");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],230,63,"Inline message with subtitle")}),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",70,20,"DEFAULT","Lozenge (state, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian",\r\n"lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#DFE1E6;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",70,20,"DEFAULT","Lozenge (state, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364",70,20,"SUCCESS","Lozenge (success, subtle)",\r\nnull,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#008364;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",70,20,"SUCCESS","Lozenge (success, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#BA3200",\r\n70,20,"REMOVED","Lozenge (problem, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#BA3200;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",70,20,"REMOVED","Lozenge (problem, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8",\r\n100,20,"IN PROGRESS","Lozenge (current, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#0057D8;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",100,20,"IN PROGRESS","Lozenge (current, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#6554C0",\r\n50,20,"NEW","Lozenge (new, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#6554C0;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",50,20,"NEW","Lozenge (new, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",\r\n60,20,"MOVED","Lozenge (moved, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#FFAB00;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",60,20,"MOVED","Lozenge (moved, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.addEntry("atlassian inline message subtitle",function(){var b=new mxCell("Yeah, progress!",\r\nnew mxGeometry(0,0,120,20),"dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff");b.vertex=!0;var c=new mxCell("IN PROGRESS",new mxGeometry(10,30,100,20),"dashed=0;html=1;rounded=1;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],120,50,"Lozenge (tooltip)")}),this.addEntry("atlassian inline message subtitle",function(){var b=\r\nnew mxCell("SUCCESS",new mxGeometry(25,0,70,20),"dashed=0;html=1;rounded=1;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364");b.vertex=!0;var c=new mxCell("Don\'t stop believin\'",new mxGeometry(0,30,120,20),"dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],120,50,"Lozenge (tooltip)")}),this.addDataEntry("atlassian modal dialog",\r\n330,210,"Modal dialog","1VZtb5swEP41fGxlTJN2H9ukrTZp0rROmvbRhSN4NRyzTUj263cHhiSDbpGmTRoSfrmXx+d77hBRsip3j1bVxXvMwETJfZSsLKLvV+VuBcZEUugsStaRlILeSD68oo07raiVhcqf4yB7h60yDfSSSC4Nud4902LDi0GQI0FK4fze9KbLbw0Oigunv5P0lgziq3p3UA4oX7CxpMyUK55R2WxApdB64NPDSDwJINPbGbMZ6akokkksZiMQ2tHgC6Ax19b5bqerDc17bPiywLq2gGoUGWS1ri5p/NS5vnv7ke/9hLlvKfFzZxj9Aj0Ch5AqGpeqrCkqVaOjyR17MfRd47tjnAfFMJhzOAW2Y3iM5GoA1qqKx7wB5tbAlucV+/vgxfi6rNF6VfXAOdpSeY18M/WM3XEBtUX7QtPFJPDa4ldIvevBg1ClXm+11+DGQIJGO9eAu3yNLHlSTbLwJZX/OiadxabKIAu7XBuzQoO2s0vy7uGceYsvcKRZP9zH94tQkU9dQa5jyUk2elPRxkA+FOyRm+geBixUhm04Vdl0gKBdW2gPT7VKWdBSu7I5bZmNZC3ZewvW61SZ23CYx3q8Jutg92qPdqLQoI+AJXi7Zx505oveIkn6PhYF6E0R3GQchMr1gs3oe2h5WoSun/8CJJMvwG2WTcjh2uwI4Zuey5QQi+v1zYSpCiv4BUkppQXsYBBCECPK55AUOSUyVMY5GZe/zfhiJuFJSJYFQ62zhRP4ORLCCR9Qd10X4pEiYO8DwOInHjHPHfgJi2OgZxF7NSF2paqUvwx/zG1g8B/RunizvL4R/wGty79AK20PfwO9+fHPwg8="),\r\nthis.addDataEntry("atlassian detailed modal dialog",330,210,"Modal dialog (detailed)","1Zdfb5swEMA/DY+JwBRIH7v86TZt0rROmvY0uWCCF8Mx2yTpPv3OYNIQ6JouSbVFCth3vvPZP98Bjj/Nt7eSltlHSJhw/LnjTyWAblr5dsqEcIjLE8efOYS4+HfI4gmtV2vdkkpW6GMMSGOwpqJijcQhoUDTN/fYWJpGK0gBXRJX6QfRDA1/VtAqRor/QukNDvCuyu2jsvXyDSqJyoSq7B6oTFqvGFrjuDsZinsBJHw9MGxA2hU5xPfcwQhcrvCiM4bXlEul6x4vlnh/gMoslhndJmPFTiTAqHkxxuuX2vT9u89m3XeQ6g1u/NAcgq9Y48GEEFO8hjQvMSpagsKb2rcyrt9Uup5GaUaNG0hNOBlsduEZT6pkzGhpYa5pxQxbwdbmPjX22loZ/zwvQWpaNI5TkDnVHMzK6D3U01mvG5ArvI16gZcSfrBYq8a5FdJY8zXXnKldIFbDlaqYGj8Fi3ROE8l0jsd/5qFOQlUkLLG9lAsxBQGyHuen9c/smZawYnua2WLuzQN7Iu/qAznziNlkwZcFdgRL2wO7Z+bWP+Mwowls7KxUxq0L7G0yrtldSWMj2GC6muHYNTT8GTHWayY1j6m4sZNpKG1yoYJtn0zQWmSz85ZBzrR8MBB4orNmhO83SexmjC8za0Y8K6SqESx3to/5jg2b8sPp7/fS/yZJemTMwaxpmGUei8l1g2g26WEqoGB/IBTjtjDZDrAhuDsvX+2mkD5FeyyO2XEyvONdg4dOb49GMADDtxspmcCcWrOO7RAgO/sn4HU62qlHXkvazj4KDyBDmiqme4h3qziK+lWP+pQWsakZJ4O3eF+JeXAdRhP3P2cevQbyoIf8Ay9W/xrwXmGuS8jZ8D4D1L4qnZ7EB0TbfDsr0HDgxe0cZXsRLSaL66Gn69ydk3nUeTJGF2HjuZessKQLxwsvACd6Hg6+a5SmmW+X5uV/zEFFYx5DocYCYIXvFd+Xgip1TLohHHLlR8F1l/Nh+TyGVfiCMumOgz470kfXyk5F1+bRrlBegNykR+5tEwRumn7Fcun9Rbk8/Wn4ouffmcrlQT6OgjM8/rD7+AndDN//wv4N"),\r\nthis.addDataEntry("atlassian small modal dialog",410,410,"Modal dialog (small)","7Zndb9owEMD/mmhPrewECH1s+ehLq1brpD5ObnIQq06cOabA/vqdE0MTHFq0kolWQ4rA9vns3O/u/IEXjNLVtWJ5citjEF4w8YKRklJXv9LVCITwfMJjLxh7vk/w8fzpnlZatpKcKcj0IR38qsMLEwuoai7jGCsYPk+KZVFi1IFKeVFwmVXShV4LK53oFOc8pl5wpeQiiyG2pRkXYiSFVKVcMCs/WF9oJZ+h1jKeTuikb3rITD/w30YxTjq4YoLPMywImGnbXOtGyo9RmLBYLu2oTEVWhSktE67hIWeRqViijY04Fnk23wzyAkrziIlLO5iW+WYq9iWtSY0grPZauayyJr4GmYJWaxRZ8lgnlUSPViRIAnye6J1KVlQV823fV2j4w3JrZxg4DK825DKWgsMsZkVScjIGOAhgJjNw2NnKGjZK27G9mnKj49HaxXfB9i8G4ZAcZHT/XaNT0mJ0GxJEgWCav0BDfxsIO8S95DiyT1ZNNeuqONghKWezArTDcTvPg9D2HLQwP8eKOwQ8PwZZNPg0nA6nF22hOSETfxI2wip0CduIuilLY0o6RhqELUiDoAukwy6Q9h2kDyAgMrPQCdTT7louzKuzcoZalq+HjHgpy6IIisI2nEqAk68c4JQGHbjDwHGHR4WrVo3wqcD90tmb9ruI9dCB+2OdG7bfvB4+OFoWV3GfVV9cHW/R/p/a3+IddsF7uD+3LwpQJl0vE5PII2aAL22kl7ldJ7yoZ/8l14lclKk+z5VEnSeUC750ovdJF4n+wvGNOwx4Vc7+1wIX9hPC+6VTvd/rIvQ3B7ka3+9gAtwcNvG1eKGlPdbtOT9vD7KGdgM9tuRGPl3NzUXBOdOC4XGcZedRAtHzk1z99N3kT0g/HA/f8oa24/SOV+yej1MexwJaskHdu8xkBHsCcS8LNIA0HVWFdavwZqd9q9hZc47kYL7rX5u6I/tXJ0sLpY5/bU/5MS4yuu125u3NAZn6037rlcxwPJoEn8pJGvlxXyR9Nk8KyKALT3Lv/G5BHes24f2sU3eAjSNFaH9cC/9ik2EvFj+Attlh3SjVsA+625ue0V4T/Fknl0nUvSgcYQYB8Q83HseB/vGtx4HQ+x1CDztgjsXX/w4q8fpfC38A"),\r\nthis.addDataEntry("atlassian medium modal dialog",616,420,"Modal dialog (medium)","7Vptb5s6FP41+biJlwLpxy4J3aTualIn3Y9XLhjwncHMmCS9v37HxhCCSZpNMN12idSCj185z+PHh5Ms3FW+v+eozD6zGNOFu1m4K86YaO7y/QpTunAsEi/c9cJxLPhbOOGJWlvVWiXiuBCXdHCaDltEa9xYGkMlnqk2ZCKHZa3thfuBs7qIcaxLCaF0xSjjqp2bqA/YK8HZN9yrWYcbe+PJHqwQj+Q/OTCsy/2AKEkLKFCcCF3d62apjxwwQzHb6VkRj/QQsrTLiMCPJYqkYQdulM2hSIq0nWSLuSARond6MsHKdin6IbXXZEO8P+lIZdJevMcsx4I/Q5MdiUXWtPBtv+mWYZJmutuNRsBCVWNIu74HXOBGQzMOkzsCk09bnx3h5X+vWVvxrlKeuoMGdlDuD5Vwl8rrIxYCXFW1o8E6mgGb6tYck23PBNDYVq8WOh03GPa5xwXmiJ5sPxxwZLQX5xj4I+podHhkIJQXxEvTC3dliRFHBZDovB9+ZeW/sqCfXcaUc//FBElgvwjCipd4MVzIaeXoa0XBCmzIhDb2FMJ2xhXisGvbMf7WW9AZaEgnIGMScMmWd17c8rZtmVve9bWRYwp+3OKjCcZ0QM/xhREFmF5RqxzPx8V2AJYkFRaGjHQLvUhZbl4+AEB+S3lLiYIoJhxHkh1gqlgtPWFK/sYCyfcNhC5T2gvcPuZ1dxqv2+6x2/053O4Zbu9E8rdvopEtMw1KrjUCkzMRSsFvQMk3UHrMIBBxrH9hMRAHOaFyKTwMYzlcclxVKMWVAeLZwCm0Qif0RgOn5Xq1cc9ERgNkhzqXkzimeAC5NcIQip4w/cIqovc1b/DqBnwY1HcD61jrQc2/Vmdhj7Bd4CbtMaoy5YKp6GU7Jrta28Tsup2DXYHBrjWpSorkYwqSY9m0gH/OzbuM1RzuEsZzJM5JxCmPqxql4vk+lW8b75GgqKoIKt5HGY6+PbH9P47JTRklrJfnhOZ10PLVMc6e5bRfGpT7SOKGaOp0B4dwvCV4BxJmPcmnj3GCanrl3B/BOW8Ozt2e4lxKkivN/kSaLeegWeeJA8++1lxFaRa4Rq4H5/BuG6nXWhA8weQlv8ZrbzBe69gwLcVsg2KfpFuv7Hlj7LmZhT1mrt32DO4cHWyXpt7DIFyGtyfyMM4mWPTT5oHJpGNcPZOC3q0fLKdC0vNMJF13EiSNlJk7C5JmOj4nRS1GDpKfSdnMueU7Jk2Vf5svs+Mshxj6c2BoJj4fWCpniWOlezIVZ0WZfN22YiTQ/xbaWdT89Wl2MMtON/O0mwI9yTPfqsqmrXrHuMYAbywG6HLX0/LJzCivGJffp7SEkl9cw6S1YDlSQNDnK7feGremiEqgePiZSNO8/yuSHw=="),\r\nthis.addDataEntry("atlassian error modal dialog",470,190,"Modal dialog (error)","vZbdb5swEMD/lj2gPrXiIyTNYwtptYdNkzpp2qMDBrwZHzImJPvrdzZOAoVU0bIEKY7vfB+2f2eDE0Tl9lWSqvgCKeVOsHKCSAKorlduI8q547ssdYLY8X0Xf47/cmLUM6NuRSQV6hwHv3PYEN7QTvMTGlRgAN2uoVH4rwAbnB1VWqsK3f6CNbZ3X2mroBV3Dyh8zrDZGf9KQkJpir2WqcI4sVpHTBQDgZ1nUq4BzLiZUEVlSQTOmu/6uYgZTEBkLG8ksc41VYqJHANGKHHITWih00laN1xpOQN5zIuzfeiWWqsdt0stVIkbHntO8CyhESlNrZThnCLgGEDbBZl5UF8rCb9pbyR+WXmrUHuAUG/sjw7s+SgTznKBAqeZssM9N9c8OmBBUmhtViKTfQiU2oIp+laRRCtaLBBtjiKuGxW+9t5QqVhC+JNNpqBn9F0LcaDtLGO0ptuTdWJUtkheKZRUyZ3BkyI/YzFbdLXkFpTlxd5taZWk7hT5wfdYdtixlTddhcGoCmNbAO+IpaQuDCW9rHPxxasgdJ9G+AQI+gG5BHeGyr2BnYJ7iPLD7os/pmvL5ZxN96c3feiwG0g9IPMJHoHdS0k5npYNHfhOMbLZvwET6pj63pu5g+z383ecIcvwGI4oH1ZxFvjZCHxERILX4OXgLd4bMQ+X88WjewPm4RWZL26BPBwh/zSijddipbuygHLd1CPO01BPnPrp0zkugsNd7E5VxPFyDi6h3CPpT5Dc6y4k6Q9B+tfgOD95Z+PsK6iZAvsSOOcc/8vJfZx+z+7PrXfyvfuf+C2vdxTDIUAvuBwgisfPys68/9X5Fw=="),\r\nthis.addDataEntry("atlassian warning modal dialog",470,220,"Modal dialog (warning)","vVfbbuIwEP2aPBblQgh9LAH60kqVutp9XJl4IN46cWSb2379jhMDuVGxLYBE5LFnbGfOmUucIM52z5IU6augwJ1g5gSxFEJXo2wXA+eO7zLqBFPH9138O/78zKpXrroFkZDrSwz8ymBD+BqqmVexYfkK5wj+/4gFPhegtwA5jpQmK1A4yMjeLEggH0ZVarYkicYhhQJyCnnCQA1QfgcO5QI5mJtxTsun2UOCWnNdHZmIfMlZos0JW1ZedGH0KVMFJ3swVilIGFS3VnrP7a1TnaHvpp4TTKRY4wWolZa4TSy4kKVesCx/OK+0FB9QW5nOZ94sNBYi1+/sr9nY81EmnK1yFDgstV2umbnlz2yYEiq29lQik8MWKG1TpuG9IImZ2CLWRh1F89LB1DfWG0AXJoQ/2cO0qCn9MMI0MHoWLtSG3VnIyymL9zOIDLTclx6lOq00hlFFC/QmW6XW7MAVl6hqYnW0PTEIB5ZE/YQK+ggFHbwoUWmJkXmpS8Gbz58mla8b4OUih09wS9AvIA8K9gqnXX5Zr/hdbC1ZLnG53+/ypsG+IdXgGPWgEVhPSuBEsw00bPsQsqe/CZbr09EP3tBtnP4waqEslksFuoPx8S0ugn3YgT0meYL57PvAW3jvhHn4OIrG7h0wD2+IeXQPyMMzkV4VjRbsmB0LM8x2K1PrBuTvGtN4+fxNOPr5K9FeU/YifzKMW4wYtwhgmMXJAvibUEwzYZgiK+8fE/BLaz1jlBrjdhloJ+yjXo3TNn2/lBbT8DukqhHH70vd7lWI4zd5064HV6HNqEObY4tg24MLM8ZXcoTXX8/rBLl6PqhD93i7oG9hNw5vgF3Uwe5NihV2cOrY1KEA2P2kHRibCf7UID12I38Wz6Zz7xye9QDrZPNmyHnuJw1bgwfXCs274et5/g0AHncAPpvJlYbiTG/bW9bPZvKektykg/vkzYYBzmPpoAxOaNYCfE4yxo1rfoKkJCetuB9eyoNgQpnEbFQlfyXW5lITVW3jDkbhpT149B/NgTsIO+2B18Ok6DrdwaFZO3QHwfeJhOLpm7VSr3/S/gM="),\r\nthis.addDataEntry("atlassian multi select",270,390,"Multi-select","vVjbbuIwEP2aPBY5CQnlEUKokBZaqd1dad9cYhKrJmYdc2m/fsfYQMilhNsiIeLJjMc+Z2Y8xnKD+eZJ4EUy5hFhlhtabiA4l/ppvgkIY5aDaGS5A8txEHwtZ1jz1t6+RQssSCqbGDjaYIXZkmjJK2FkKmkag1jSOYGfL56STCtm8pMZxUTOYbkD23L7M8pYwBkXME5BGUSZFPyDFIQznspX+qUmsJUdZjROYcDITJrXOwvLcb2u33lEIF8nVJLXBZ4qwzVgBTKzbiIk2dTufSsyG38ifE6k+ASVNY1kYjQ8jQ9KCI0TY2YwQzjT43hvekASHgyY1cC6JWBLAAq+TCMSGQyxmBpougVEAYrZ9lOCFd60g25vCGvq5+jQSr/NLh0lAfCA0h9bnAcuKoONtp8iJ1eA/Gmw9LRFDnOnU4G5616Pefs05lmCF+oxk2RRE1k5IA8MobqQLmNdoA717LDtgjwWOKLkAHouJ4Z4TpkC7BcREU5xIVXaTely+xEVKnu5EmV8qRbVz/Q0qOV7TRPHreb02MAwjFpliu0KhjtaJAjDkq7I0VRVrBv3L5zCqva+H3YsG+8Phbjhs1lGZClq9ptoFEheKZB6DGcf+JoUDoNwMLTrwuiM7D0jGo7r7RXEf0N1VTLvCuiVXHvHTNvoDlT7p2tGnpsER3xt6kGEs+RQHExhmW9idZi3sISIyShOW5uqsu09+n5nWMF2E5K8K7Ozc7fktP9DcnYqGPOZCvd3eIjltsZpgYp/UJ3ucff/LrlW2HUXOZG2fekFo+EIVoHeRuMQfv48T8LdhLA2PeexHxCXfEd0lROBQxtVvw0gaWdcpBTnpmtsPSErHF1k+SxIDOfEBZa1NkXF35AhULhkMze38HjTUBg//5y89UaTq2OhybKLuz9p0xMUGvN66m/hY1uxoOTd1ckowsl9PYyBJ3wxVGe7m5B3oduFO+7pROJXSusPtuNGpvHtYzAM7dArdBpOdSNS1a/sz9Pj9kmNqlpz0wiZtkidknSKWc/4knyxW4nZI7KKzZOTE70p/YHduCn+/qLjo4YXne4NbpeP59wuUZnRAwEnmlGuoJJqi9voFERdJnbdSrOWslMNW9ML4aUtiaGlXbC4pAWB4eEfGa2e/8PmHw=="),\r\nthis.addDataEntry("atlassian multi select avatar",340,320,"Multi-select with avatars","7VpZc9owGPw1fgwjXxyPYI62Q9pMSabPii2wWmFRSwTor6+EZQOWcZwap1MKMxw6Le3utzoGw/aW20kMV+E9DRAx7JFhezGlPPm13HqIEMMCODDsoWFZQLwNa3ym1NyXghWMUcSrNLCSBi+QrFGS02cMLyKEkgLGd0QVhHwphjc0DXswx4R4lNBYpCMaiQoDxmP6A+Uy5zTiM/xLdmDKdpCIrkWCoDlXxWkLw7LdXrvTBSJ/E2KOZivoy4YbgY3IU+NEMUfbs3PdZ6mJThBdIh7vRJUNDnioargJHiBEeBGqZgojAFmSXmRND8iJHwq8YiBtDUgNwJiuowAFCkMY+wqaXg5RAcV8/9JgFSWO1+uPxZgGR3Qklb6pWVoyR4CHo8V0j/PQBjrYYP/Kc1ID5J3C0k1aHGFuOwWY23Z9zB0N83sY72AU6eI9h70LdPBH3mg4Ns9p+g24C1FUxD0fKlV4sEt5AC2diJ57XvsxIpDjF3TyuCJy1BMfKBYDsYAan+pZPfzOzEUUnc8Z4hq32bAr0e2+HmLH5IQwoBuRkGAHkIV79kFSspL1l9uF9N0W5AQK04NRa1sUcW633e6MC+iuQpJTTNJpgxLKOjpjnYsQdmc6p5TZDTDWfp2xPBmYsk4L+zRirTVDcZXFRnBkuXbX7Z5GZy7wMkstCTw9hE0pGAKfEXmgDHNMZcs4IWMgucc+JNNc+RIHgZxfVqGvHpkV1NFOiVqsksXtT/XSaEh3NIFMMYMi5wOW9W4m/q4mboL3sPHuP2jjnf/axns3G69h42e0c002nnZa/fRT+bwzHI/MkXtsBKfeX81my88sbaBRUHhmySrWObRkC8MBq9nTZDKaPX788nmmwVb1qH0UMTFiApvU4ArO3bkFDmgrl0qrURREoTqqV4IeFGN/rPdOyQGxpuCb0bt+bVKi94LdSbaBeI1LKqniu9TC8tReiIDSE3pNAhyzCQL065ZPa8ZxJPI8yMT5X0yoTdKFQST9DPz2z7W8XRscyfiQ1V7I7+/Ml5044LCn8Oky7VEMLuk0qfyOa+Fblz337616VcLeKbBY5yLbonS1TDXoNqFB/fqpP52KjKfZ6OvNyC/tI91GONTvlGZQBDoQn2tEWE0fYUx1c3OSK3ES0+w2IUP9omyKYCQvQmYcvaCorhAJU93chHgtQnQb2VfpF3JyOyVn6YVw+Yziukr0/bSfmxSvRYpdpwkp6veEDxAv5Nb+cR1Hgul6QlzxpJebDK9Ehpl51ZGhSB7+fJFUP/5vxm8="),\r\nthis.addDataEntry("atlassian error message",340,150,"Error message","rZZtj6MgEMc/jS/bIGhbX/bJzSV3yWV3k3tNFJUcFQPstr1Pf6NSq8Xumu2amDDDDMLvz4Ae2R5OT4pWxS+ZMuGRvUe2SkrTtg6nLRPCw4inHtl5GCN4PRzf6fWbXlRRxUozJQG3Ce9UvLHW80NraDZebc7CegtzgLntfI9sMi7EVgqpwC5lCQEbbZT8y26cmSzNC/9XD+DXeVTwvARDsMzY7kuGh0kYLZYrBP5jwQ17qWhSJx4BDPjsJJky7HR3oY3LrvKJyQMz6gwhR56awkaELQxUMJ4XNs0CQlS3dt6lXrFBw5Ibp0hcis+zFXEoKvlWpiy1IKlKLJ/oBivwyJrHYQs9wTZaxzCxTU+TNuiPXSquPUCQl/nPBvYudIGj5rnV5QHQZ8szbDN63Ekwwp2Qx7kHDvePNq4uaCqPYNSrTqkuGiVQ21PV8YdTXlfinBpBtea0nCdCauaqEy3XaB2P7/wpCMk4wmGCBYrmLlE/cIFefIoJavg7G4w1Rtl+/7fkMK3u4zO8Gnx+thyOILNMM+Oo1K1iknChI9xrwWrhmAJy0EghEqNSmmZBupJl+kk1Ta6fXbz392F/PwyL0b85u/AHh9WldhJQFuY9qMl6C/CEirWNMbK61uVrbTRl+Q0lt0DTSi76hqNu4Sj33A3RF8chM35HDEWL/RjHAfjvH5RTaIWf3gRjF8HlQHqwfrpLxooT3ED/Sv2Aef0laMP7fwz/AQ=="),\r\nthis.addDataEntry("atlassian progress tracker",470,30,"Progress tracker","3dZRb4IwEADgX8N7AUF9VJw+7cksyx4bOW2zwpFSh+7X7wpl6tBoMpnJTEh6V+9ovyjFC5Nst9C8EM+YgvLCJy9MNKJpRtkuAaW8gMnUC2deEDC6vGB+YdavZ1nBNeTmloKgKfjgagtNpkmUZq9cYi2VSlChrsOQsTiaU7tpaTS+QzuTYw42KXiKFcWMAo3bPAV7J58irldL+WmbRszdFbSB3cWV1ym37AVgBkbv6SuuwG2MVTI1oknR2pqcALkRbReX42UTb747HVho4GTOK4UdpVdQK+rTwRImU26/x26tzjmyNebGwfi1k5KbnAIFa+Omj/ijcTwcWdxKSAPLgq9sYUU/IMr9hnV/ynXEGp9RDe6gOuioJhq4AdvWqtZ7+3NgVn96AG4LWrrL4OOewKMO+EuhkKd2/QINPgLbPUx6wg5GV7GHPWHHHew33GrKpGC4VOU/enS4ggF7GPbw+jFGJ1Nhh1QoixJ+KBPPJJrMppMbDrY7SLV/xSMa/z5nF4WHt4d67uTl4gs="),\r\nthis.addDataEntry("atlassian radio button group",150,173,"Radio button group","7VbNbqMwEH4a7gZCkh5baHrpSlV76NmLJ8FaYyPb3YY+/Q4wpA2mq2rTblWpSEieGWbA30/iKM3r/ZXlTfXDCFBRehmluTXGD6t6n4NSUcKkiNIiShKGd5RsXqnGfZU13IL2b2lIhobfXD3AkLkBW0vnpNFuqDnfKqptpVK5UcZiqI3G7IXz1vyCSXJrtL+TT11XHI8xjeliruRO41rB1lN5nBAlaXa2XK0ZfRhYD/tXN9enaGdXYGrwtsVHHqXwFT2R0aQK5K6iNgKFcTfEu0PrM1S4ILTmkUsD5G6BC8wYrdoAOVfxplviDNm4DiNrHrQAQYi8RBYh2LBNsskCeLFSrIv8Mg1BY/0VYtsBKEuuzildSyEUTDhhE84Q0wvFf4K6MU56lAIm7QDfYeD1pH4Y7BpeSr277t9fxN3syteKNopACPNI7xTcVT0EJ7E9NtCQlvih8KUWklAKY+4UKSwCKdxb6eENIpjQvu2vOdoZy1bF+lC5p00tvpQQ3oHj+IjjbBlyPGP3+B3sns3YHbmQpUcBf7v9s92+/n9uXwZKOBehBP5K+MTNM/+ecz8KI9clQgT2X9lefDhD7ejVLOBkOePOND2dk1XASc51icepU04w4ZHk63BADatjl3wgJRg+n1r72tGh9g8="),\r\nthis.addDataEntry("atlassian single select",340,320,"Single select","1Zdtb9owEIB/TaTtQ5GTEFo+pryJinbVwrbPHjGJVxOzxBS6X7/zS0JCAs2glVakqvh8Z989dzZnyx2sdpMUr+N7HhJmuSPLHaScC/1ttRsQxiwH0dByh5bjIPiznPGRWVvNojVOSSLaGDja4BmzDdGSYJ1SsFXiTLwwI47FCpwb2pZ7u6SMDTjjKYwTnoDCbSZS/kQOhEueiID+kQvY0g4zGiUwYGQpzHRuYTmu1+9d3yCQb2MqSLDGC2m4BTIgM16SVJDd0UiVyIQ5IXxFRPoCKlsaithoeJoGigmNYmNmCCGc6XFUmO65wReDrhmjW8MIvtYYpnyThCQ0GHG6MHT6B1CBxlJ9amRhpjvo+2Nw67aUEa30wwTqSAnwo0k0U6iHXh03Up/DrFyA+cXQ9LRFibrbbaDuupdT79aonyrbLMYh38JARh3iLFaZQHpmLfVXu0gexA4WDGcZxUlnwXhG6tnpX/vIHzfXfRuEbjPCqoEBijp1ona3DjSXpYRhQZ9JZa0mymb/R66Oe775lXNT2f7quroCXy4zImpZKqJolTivIXE9Ji+Fn/AlEurEa4EsW1BdFPB7vzdcK+RXRkmkbYNvk8komE+/PAT5MuCRXqm6OohrO4b0uSSCbWx0dLbq83d55usLCxpxCOGOrix515wf16fxRmxSIitcXdKfX4/uvYKZ8Yhn8N++NCR/oYr17JBOp+ww4Dbmb1eH/mwGJsHj1+nD/JxK/Mdg29mMNxnlSSltLTMeSIs3zbW8EKQj2qM3zvyZ6T7NYDCVIHLnu+/E44Emv7D5EaGdTucDgLmb3ksy/jsRGWJGnj5CgeTXovO/gziheCg93lFV+9nWHexwPLJHeUuaPxBk03r6gVB0rEUjV+2i5ajp7WBaYdMYq0O1wMw3ewm+zj0xMSLrsH12SqK51B/aXoHmom65h9p1y4XiJe1y7/V2eZ9RVM/oPgFNr71SXXCJSsgQ1WFLSQYZyl8ndits3qtvuZOvinOb4Dwt/cubXhjun/FavfzK/ws="),\r\nthis.addDataEntry("atlassian avatar single select",340,470,"Avatar single select","7Zpdc6IwFIZ/DZd1AgHFS7/q7I7tOmt39nInhQjZBuKS0Nb99ZtIsGqopYvcODjTlnydJO95chJSLThJXucZ2sR3LMTUgjMLTjLGRPGUvE4wpZYDSGjBqeU4QP5Yzu07pfauFGxQhlNRp4FTNHhGNMdFzohzEqUYFwVcbKkuiEUihze1LTheE0onjLJMplOWygpjLjL2hE8y1ywVK/JXGbBVO0SlaZmgeC10cdnCcqA37A98IPNfYiLwaoMC1fBFaiPz9DhxJvDru3PdZemJzjFLsMi2ssoLCUWsa3iFHiDGJIp1M60RQLxIR/umb8rJBy1etZDQENIQMGN5GuJQa4iyQEszPFFUSrHefQxZZYk7GY5u5ZjGB+4oKv3Us3RUjhSPpNFip/MUAlNssPuc+qSByFutpVe0ONAcuhWaQ9hcc/djzXmMNuoxeY3UGusRxgc9ErCU9yhjT1KjXxFFnNeBWqrmuHDgDc+rX0dDWK3hcQOtKOiZktqeqWiZl2GKBHnGR7aqZNb9LxmRw9p3fgPBUfc3g7L/0gZbrzkWhqP286jlO++z66X2CpnezuyZp0piFLIXY7nZF6C8D+pR7toXCC19Q6rVj/l8tnr48u1+ZahWNzYfEJxhLqUpCa4I1MfhxAEVoX2X1qOw343tdZT3PgzizuBMQPlf/LVnTx12EdgHn4EdmLDvg/VHnmTKUUJNxQYVjr2M/GfjeUP5XbsF+X1D/juUEZRK9RxwH+VbnFrqDNCn5alEJoO9/P0/uTqOjQ8wfsvqR+pvkhZWXICE2k6k8V7AktKkHGBhtaj9mV0q5ziruzl50Pf8YyCqD13lwjWPCipuUvSI6ZJxIghTDbPCy2MFDgkQXZyUJyQM1Uz2FUa6x33Bpda9W3F2cy+y6znHm57bxpY3NDAcLRYy48dq9r2L4xcOJH4bHiw3h8OtGMlVDuTvHFPeMIpwrs10YeQ6woht+21QaBsULjBKkeJQ4GecNuWQcm2m4/BKOPTaOFbZ5uXRBHGsZjmJUfKIs6YgBkFppyPxSkj03TZING/flohE6nj/kGepdHQzDjeisNJReB0UOvagDQrN+8juPbMD8SyIXhvXTbZ5udptzB2J50n0YRskVtxd40fEhcRFZi9jQslGYUlZHjZ9e94EOysdkddBJCzhuSyR5l189/LccXiOQ3fYBofmPyW+5jIuqrCoNuuGFP4OlI0OwStB0HeaIyiTb98rKqoffu3oHw=="),\r\nthis.addDataEntry("atlassian grouped single select",360,260,"Single select (grouped)","7Vltb5swEP41SN2HRAby+jGvbaXuRUm3aR9dMMGrwRm4TbJfPxsbApimSIFuWhMpin32Gft57s7HxbBnwf46glv/I3URMeyFYc8iSplsBfsZIsSwAHYNe25YFuBfw1q+MGomo2ALIxSyOgqWVHiG5AlJyW0c82YijdmBKKnPAr63uWnYUw8TMqOERrwf0pBPmMYsoo+oJPRoyNb4t1jAFHqQ4E3IOwR5TA2nGoZl98eD4Qhw+c7HDK230BGKOw6M2iGKGNq/eMpEpI54jWiAWHTgU3bYZb6a0ZdIAB/hja/UFDoAxrK/yVSPmPGGgq0aQluHcNUZ2RqEEX0KXeQqFGHkKHDGJUw5GF7y0YDlI73ZeLLkG5vmCJGTvqujWkLC4cPh5i5Bet7X0QbJp0zKGUAfFJ59qZHD3R5U4G7b5+Pe03A/ZbWxD1264x1xahfGfsIEkCNbMT/Yb4QbdiEjMI4xDLsOoTHS2RkPJ2CyrDb7OhDa1RAWFRSgoKsjavZ0QFNZhAhk+BkV1qpCWT3/C8V8W9nDO9ao8PjOsLgC9bwYMY2l7BS1iOu/TlzRV2p7x3y5MBf9PNtFVzNLYck6EYdSz3A4bygqepwgGDuQTNQcRrdHr7sXncTpGnCo1HlecygLNBDJBhoxN7fr+8+rH1y4XkxWs5t/6l5QS6nNmLXQ7r9+T/RO3BNnule6zCG9klrwrqFG4tXapztumFzKdwyopxoBZI4v5Vhc+vGHpum1mqMXNERv5igt0GsO3oDfUUX0HBAB7QNvbERD5R9SytfLBrjeLY9m/J5jmIZi0fAncsQJYkRkA8v0D3gRDfiPQyPRe6AwcrvdrmYg6eXJ94i3VZclAJORDMkNGkvRMOwpgQ+IfKExTo5lzyNJbRan70rjAXZdoawF8mwgnzmUkqmm7PCtokyvDSsct558EepIK617/6cmxQ3xm3pubgu1aBudzMyyXOxEbjaqSM2aYbXTK2ZmbbCabjVH6+zrarX4dH/JAFrxzTFog0VTY/GSAvylFKAdgvWqzSUHuOQAp940yoWuZuxQL339D1mAdK/3nAbUKK2llBGcuwfyNUitQKnXaZrxosp6yLloZ29wrfhNVQWsFL9TgQhzSQxOwRv8eqJyQlrFzYmqY79co7hu6Uq4WiRVrmPsf0SH95ALvGW1Z9iALfHu8c8hOT3/39Ef"),\r\nthis.addDataEntry("atlassian single select",360,380,"Single select","7Zlbb9owFMc/TaTtgcqOCZRH7qrUbpXY2mc3cYiFiZFjbv30sxOHEhwuEniaJpAQ8eU48f/n40OOPdSfb8YCL5IXHhHmoaGH+oJzWVzNN33CmOcDGnlo4Pk+UF/PHx1phXkrWGBBUnmJgV8YrDBbkqJmuKChqmE0nRVtmdwy05bIuXrCAfRQL6aM9TnjQpVTnqoOvUwKPiMHlTFP5YR+6gGgtsOMTlNVYCSWprm08HwUdFrtR6Dq1wmVZLLAoTZcK3nMcxIhyeboXPMqM9Ex4XMixVZ1WdNIJqZHUOgBEkKniTEzGgGcFeXpzvRLOXVhxKsXEllCvqlnpVPsoa6qf6FZaMkp+DKNSGQUxSI0QnUO9FXCxPnHElm1NPud7kg9ZG8PTtHp3Uzb1zVKSppOn3PVB4GtPMg/h4CuEH1rtA0Kiz0GqFXDAKHrGTQtBqdWcJbgiK9VQc86wlmSkwBFy0L3n2+m2jEfsGQ4yyhOH0LGM2LT6bS7oDuqd4FLJET1ElYNjKDgwVYUNm1ByzpBGJZ0RSpj1als7v/KqXqs3c0b/mPl9o12dQQexxmRFqXdLC4CF5wHV/WVi71jMBrCYbBPu+pq8GCL8k/sSaVnhIobEVWP04BpiFnX9JF88eV1v3Qhd7obOFTpPGcd6ha7WssCM/k9Hg8nv55+/pj8U+HBDGUeBl4kdHA+XDRPhIsrPascZltGJgeO1bb4wUbIaDjTfdKVElFLkuBM/6oZgG+T9wYCCH2/NVz/dnDBjeAi9NfgNoEDuI8W3O7gTVU01HcYUYk/mMYaEYkpy6e0omR9h+wKcsuFB3csyL3lNKYbfZ800nPFQuBUbu9cXXHtuHBeCGrAUqaJSpLJYhKk2JjvXN1EXCchF8IasCJdqjdYECZYyDtQZ0CdhFlo50gGJNMa69j6cefpjqeTiArtVM0wndKUEKHe1fKJYaZme8fqCqubgGpnf0YEy6XQETRmWJPNiFjR8B5SnaF18xYL7fzQUxrpWap/vrPCae9A3QB1E1LtvJKFrUzCMrrHaT+lbeW769J+QkXqz53ZVWmhbcXgXPoNXomjTLcGTvS380KThK8LT9KLC/A4v2qq108wxzJMijayoGH2v3rYUcA7mO79rYGaLnjbqSLNW/+BzY8ojnA9mXMfgZE/Cmqd73HQH6JLj5js3PmcRhEjFll70TD8Qdgrz6ikXBuKgs5uwOeD9t3A1dMwCA52kyMHQ1csrdqTHHuhla8alY3Ev8k6a0B0uNJusLOo4tdZddF9/yj7Dw=="),\r\nthis.addDataEntry("atlassian table",400,230,"Table","7Zpbj+IgFMc/TR810IvWx/E2ySabbHYe9nHCtGjJYDGAM7qffqmlHS043mrV2TExESgVfuf0zzlQxxvMlo8czZOfLMbU8UaON+CMyfzXbDnAlDouILHjDR3XBerruOMdrXDdCuaI41Qe0sHNO7whusB5zW88Z4JIxld5k5ArqpsSOVMDHELH608IpQNGGVfllKXqgr6QnL3iSuWEpfKJ/M1uALN+iJJpqgoUT6RuLno4rhf0Ot0QqPr3hEj8NEdR1vFd0dHDxFzi5c6prqv0PB8xm2GZTQK8k1gm+oogxwESTKaJ7qYRASTy8rTs+gFO/dDs7Bw9g6OaFkUvjCOFUnwVlLqDBzSyTbTgQmh9A61BUyRonv2kZAPfHz02NY/+Bu5ttorUcDyCo0C1cCwU3qIbPIfTanv6G5h8z4IJ1oApsGDqoNlcTYxm/pHdqKiY5hUVipwt0hjHmhPikfa2oOKka+96GA7Hn3nqxsWT9WfDYyOFD6vGfgaXRIg+6IYZieNsNBan3fZ/tyjr0cNNG59vN9+0m+eaZivqzjFbxzCbx+NnSl44ql+B3b2yAdafzyxQEq9BRrp5j4J6x6BeWqJuUekeLiqz5TRbntuEiW6bRCwV7YVYu2/loSj93JAYN/DCIKyDWDH3AplvQWYh5p9PLLxTYuBqxHoWYv3OObI7BmN3HBwou2UEUJ/sgooIgJpkt7BVULGVRRAupAfFCnyMe7PJhES4LXC04ESu2pRFr89zziSOZGZPY9EcdQahb7fe+fD8qqP3DHjQFnrU4OgQ7od3hJePHvxsaf2qwUUYNBZcQDO92+vVQtESbRERnCrnThcRxYg/VyOO3eJ9uDt/7s+gHWz5c1neowZQrxocUyTJG976fxtMPYJfjKiRlX/fgtuPU6u3fQf18AssDWOU8zjMPmbaiCBctWIkkheGeGxY60sHgD1oWZsvJfhHpJU3Fc/4234ZmjJ/qXgG2lLMe0DmXg+Zmd7dBzJwPWQnpGa3HYn1zJTjYpGYmaX9eDLwHZNxwOHQO3Sjp1w77iYWg15zOz3QzAcRiloCRf/XKg+9Bvd53BPyupsQ4MoyD73m9i3cA9K5m2TmXpHZCZnWTTADV2RmZj/fRxYnr2Td5rYVLEdy/+2hBQwbTFqth3z3oDJVZe42l09YTtjug1lVmZtkZsvBvo8ujji6sMrCpVThhKO5286YYdhcymw9pttB7+beL7ngCyaq+PEaWr63vfmW2j8="),\r\nthis.addDataEntry("atlassian table",620,230,"Table","7Vtbb6M6EP41eWwEOATyGJJmV0e72lV7tOdx5YKTWAXMcmnS/fVnhksaMLRpCjRpUymVr2B/4xnPNzYDMvO2X0IarL8Lh7kDcj0gs1CIOEt52xlz3YGmcGdA5gNNU+A30BYNtWpaqwQ0ZH58SAct6/BA3YRlJT+TtEHI/iQsiqOsPoof3bx+HXswyrk6INaSu+5MuCKEvC98aGBFcSjuWaVwKfz4lv/FB6jYj7p85UPGZcs4ry56DDSiT8aGqUD5Zs1jdhtQGztuAKJ8rCyM2bZxvmlRPtkvTHgsDh+hyYY78TpvoWeYKGvGV+u8W46TQqMsv9p1fUIPEjmA9WASCcwb9sDZhoUfBsa8w2iSw7UPq9IRrCMJVivhrvPRMNVrMCUdQapLkEpgRmsaYNLle+j9lw8NpmHtoV2GFoCaL67Vax1qQhYBukU39S0wPZanv4fSWKuBSW0BpvHhMHnbFRrxIReRMeS28KNhErGwshQBmmX6VweaphNTN1uAaDSSICqUqLSQRm9HyJB18/b65teVMQb8yRSqfvguDm3JQ5ZuK7geQHUV9gCzwQRfYs5lHuSHw+EAUSfY24Kki1oYBdQvoT7+k4hCPa82+ZTwZb4IPeo+NYDUKt57EnaAZvYO9KeGhXLvFTW9MUoNBr5PVYOt/LbvNLQ5jvj2r/2XweCjew65qwGuU2IqE1A/QFZxaYSjSQKHxszBx8HP434SpwjRlUB48EE3LMD01JoVMwHBZJMpTxCKM7SK4nZNpPaiiVTSv1oTmT8qH8ybbEHegeTLr1j3qmxAxzWmgbRgGkxp4b9oGmgYik2kDaE8DKaYQTidRxDGXBmaaWaLmdFQyTLwf64PJ1kzkjYD7cAazBhDmD+xfBHbOFulUYBlAzRTZ0ba2AGVtGMuUJgMl2KxXt4mkwLdZmOkjrsx1xNJJlFMV9xfSaIJReI7zMk1AdQ1X+C6DNdCW5CF/pxy1DkIhZLYgFq6CyCm3KbuNK/wuOPgaJr1ZE/lynqzt/W2IC5dL4mLTCRxdeUuFyIv6ZA1btQj6M2DqGZFLxQQ0juKSKmISGlXRDopi6jH7V1Va0R0yh5QAZn6fpDJlPosIBtN3g8ymTiDA0O9IHPMTC3d9A4teq31UBTdmJsHWo+dIM7GeoyVyn5sHrYfj1uQq8zcT1sVcohMeQ/sbOnLTHzBaJwgWVqkVGp+/etKBT5kYi8vEOEHIUnfEhsht2hKcJ64kdbEjfQmcmTx+C6x71mc8stARDwWKIULUWoiSuZYWuCdESX1iCDK52BK2qi849aYna6YkirHbZY1ZkdLTU2DsBASjPBdqFQhT6O805o1zLcQeetcSo5HTF5UszsacXsooM9vgNMVSSzLbCeGo2SWm75ufCNiufSOuT/R4Ge6GWag7t73rVKfv7cFZ3lUFvWEHKa6eguSlqMcp+1UNbDYHp0srS7QcA6Qqe8H2ZkS/yqL7ROyOuL/YVjsEt77NTe7J8ZoDzW+LTDamiP+01aLHCKV9BfNqTuv3yOyupqxwjmP6B1uxkq8Zin7y7WAAoNL93YgenG1FBqmB4cDPFF0Yc2m0f2zJ8ML5nIoVr5S5jN3nw+PzQY+jBJtPiy8cOCXODAsRUklOiPBr7lw8blIMBlpFbH0d15Yc7/jcmD4osDGZQ9L1WQXq6sTw5rrJhcXqw8XSyX9nRocc7XiJHwso0euIQcB6o8NwDdO3Q5beB5HB8J9yG734r3Ung4SjvSJ/hFrHMevdDRzEKqmfBNi3zfCyVl1vhHCo/ywsRCePnrWMXpfD+iZG6Xde0BGj8cA5IgYzCfxgCoXpursSFceEJHDPH17QFN9OremZ+UBVa5MqYbssnb2iYEcZHpZjw6J8+/EcInzPxPnV83+Av2kLtZkNUv7cj2ufz+MyLGu0/ZVG04WesXsiFjIKWBWPVroFbNXXKJotAMNJv4JvTbWVSWaYxgSRhMZokkLCNWFBpq9eQDLEZvcGDk0WqeejZLVlJ3QGOhFxKk/tNfMvr8T2zdunud/hfDgXbCFaACRowH/rjlGvH/e4OsoJu8YQ37nsXCF/O94z1U1NGs0fz9BVj3XtrfKshx3FKIkx64811fcWzi5bw41OfzV1keHkH363DutK30N/j8="),\r\nthis.addDataEntry("atlassian table",630,230,"Table","7Zprj5s4FIZ/DdpPi3wJBD42yUylbltVrbT7mQkmeGswNZ4m6a/fw62TxE6namK6IhNpJvENwfPar88R9uiy2L1WSZW/kykTHr3z6FJJqbtfxW7JhPAI4qlHVx4hCP48cn+mFbetqEoUK/XPDCDdgK+JeGRdzfukYF1lrfeir8x1Abe2wh5dZFyIpRRSQbmUJXRY1FrJz+ykMpOl/sS/NRfAzbhE8E0JBcEy3TcPIzxCgzicRwjqtznX7FOVrJuBW+DS3yBTmu3OPmRb1T/hayYLptUeumx5qvO+R9CBQDnjm7wf1sNBSd2VN9+HPiGDHz01O0FqEGyfeiIE+wEU9aQOiMaOgM4MoG+TWkPNWhYF1y7JrgEHU2OzDU22c0dsA4PtsoeKUlavFa80l+XEJu/MAhi7IhwahA2adZ5UzU/BD/D9098bPMfiAPcxWyC1ur/DdwG0KFYD3mEYvoTT/vjxDzCF1IIJXwHT3MCURwUqQ5KdxVXsNs026css42vmr2W5ZpWu/UyKlKn6ZG4CKjqbBSH90QS1dT6duG25v5tmhorkgYkPsubtSqEr1YE5neCHGsJ05uXmbduwCq6gFI3NCR1ZhAovFyr6+fk8CJQoJbc18aFeVa+aQjOp0z1uCPpRW9g1hZmPugJpuPhx14223WAhNS1NYe7TORRKqdd5L4Jd0WP5l3g5bzunXLF1rxZrthK6uIKrRP0q6CWZEVOS0M3aiQ1JfBjytH6QFywweiBZQmYpiWMvWF3b0cmzjo7aj9XRT9fU5VpgdCwGnVvEcGT4g6IHchAEEqGFuVCem7Vn9s5zm+WgwGBB30W9nOjp9LYQdRVQY2wBCuU3CQQmiKBhWU0xBDxP21W8gs0MkJewtyVilIj7d4aDPzALZ7TNbLFmWkN0UP9i3HNLYU84XtiDzSwUx/OpuXo4oqubqScC7dA9e+hcHU/e1S20nfmMmYbemKtbYLtzdTOb1ayoRKLZi60/b+vxiLZuprMTDNbjEW3dTEZvLVi30HZlNMTMNW/M1i2wndk6MRNRMHT9YunPWzom43k6MTNYinyI39Ffk3J1TMazdctbzUYq9ObxZmzdhtuZ05jZ5o35uo22O2M3c9GUPTxu/Gp/1ttLqU+tAhhl7cf2nu7Irn+PjUNNd/2LHH1YHsdyBRZ/J4783cxliY+mZ+/BiPZuJqyItvYu9jfj7xbezgzHTDs/skJ+ZVD3SoukrnlS/gGBJSqrAv4XXCmpfN+fuutbNHDn+maqCk/3Odkw/9/acujlxfmtzh+N5/zUTHcn6fzReM5PLS9Xg1tzfgtvV6ZDzeTUI6EYjLcN7wcK4ZdH2R1OoQgF8zQ6rAo3zfdisVzd/f0nQbNguAzcQXelrgdcUVaaF+0ZVJQJuW1YMWWeq5rYVmIR1dlWQs30+Oz28b875YdNUNc65gfFp6PrbdvRyfb/AA=="),\r\nthis.addDataEntry("atlassian table action",630,189,"Table with action","7Zxdc5s4FIZ/jS+dQQhh+7L+oDfb3cx0tnvZUUA22mDwAo6T/vqVzEfBRyROi5SYuJ12sPgwPOdw9L4CeYQX28fPKd2FX5KARSO8GuFFmiR5sbR9XLAoGtkWD0Z4ObJtS/wb2V7HWnRca+1oyuL8nB3sYocHGu1Z0TJPaeyHRXOWP0Vlc5hvxckt0QjP1zyKFkmUpOJznMRig3mWp8k9O2lcJ3H+lf+QB0ByPxrxTSw+RGydl6urPUY2JjN3MrVE+yHkOfu6o77c8SDIlKfI0pw9dl7msam8xs8s2bI8fRKbVDsUFKwDD/KwbCJlW8j4JiyPUtKyaFZ83tRH+slQLJQY1UgxRMpCHgcDQ2pPIFNHE1IHIP0UMqqVaFpcgVGkWJGmupASgPTvXUBzNrQ0xYo0nWli6gKmt/vjBin7b8+yXCdaX/BgqWG4jmsO7gSW1T2PgmxwUAkxVwWmACrAmYV0Jxcj3uD3T3lq4jLmDd5tuALU0luhFRFrUpYJvtVuqMcu/alNowHNxQpqqAdqszOoKdOskY4CjvfJm3uLJsHfoFJhcCEGVfLgHjBUKBscspxueLx5PQ7FjWg/c9+ddCh9AFSnFUaApy7diBDA+YXyWLR0SPJzcmy1XK1WnqLEdZFNk30csKC8oXsE674I1iWawEKTIwufteXxPmeZPPomueCUrSXOG+QsNDsj26XbnbhCcfFTWY/k0nlNHT2P+Eq+yxTJbVlkspw+16k3Nl4f/6g6dwmf+zT6VK7Y8iCQ56Do3dvhtqrP5Tlb/caVVDdEFVcM4opcRQ/n9hBX6LhAeNqVgqZ+iUUYYBApxya2u1JHqgdQszaoSta8JKCcHkBBH/X6PK5TU5nHr8so51lS1k2bVP25iQqSKptSFtGcP7DWt6vold9/m3BxXvWXj0/61rHdPkKyXmcsB/TrqzgvINCEXQPSFRDbQDygb7vGoyMeroFwQMdH70KpMr2U7YQK8uiOy/+jKDl8l03f98dxIeizL0cgndQdF+ojbQYbneMVy/TfPm7kc4CbbeLf73c3W575N7s02QjvnIn+Fd4WGE8dz+vUP9XGdrG1Z8u/YsUdTW8TeU1H7D3wtU8EqAtN6FSTFbehB0XWpJdctd4kV09ZTqDo05WrNjSg2BjJary9T1+E3g4ltJxkwI5TUVF1OU7F47WRjLRNphcM1HHfDii0en/drv58PUxBarFYWd4Zo011x9Ux2tQxAl/57F7M9cuiQFtxUHnG66CJnkET19ygieL534+APnBR7735fLFcfRsjMulHnLwLIT0zKKQVz/86c38wQnpmUEhDY4gsc/JPv5Cur8ZEhYeuT5Gtl6ukTbLE0OENWUoraqq2F9Wg3yukNO4nWd+HlDYJFLq+jyilFcS1FYfr80dzUnpmTkpjaErze7FJU0q7GI3X/HEsX67jKRtT3xe3gDwJsSSU3gXXsNPu1jYotPErnmgORmgjxXtTupQ2hjZxSAPWSPGagrZchaYQGUNpQmebZAkN4KCFtqqoahOGqqeAUmm7lzwadKq0TRJ1oCv8iFJbhVzbJByVXbxqbT1aG9nmxLYDbeu/2yRJjy9yC7ldqO2eBgPfh6AmBgW1o/KogxfUxJygdqBZ7GcA650IasUjLG25Cs1f9SrwQBS1SZjQ6MkHA8NV1Iqqqk3/qR4HSkXt9JOuCqK1AjGoqE0Shf7vQypqBXJtBeKMl0ObsytDGiSHUnsGNAuPwKxiTUs+0DyiWcZpfOOHzL+/Sx5VgnrquOTjCGpiTlATaE7hbXQZ02rRZAawaZtXW9165886Om+eQJNYfROdFpp6/pLTA0WC2xgVb5chpKA4mfZAEdq5b5wdJMZkn/rsGaQWROo5HvEmXWWiVZIUZbvxgw/NnjUTZUG4yz+Oa5XaUBCckukvZjjpCM5L9KvR1l+dxlEFu71DL/M2CDSRSxaxXETTulNPD+4O63M/hXCNqCKi1fjt74RUzrCpf9ap2Lz5q0//Aw=="),\r\nthis.addDataEntry("atlassian table action",350,30,"Table with action","3dbPb4IwFAfwv6b30oo/roJ42snDzs180GYPSko3dX/9iq2Kq0uWbbhkB5P2vX6h/YQghGf1fm1EKx/0FpDwFeGZ0dr6Ub3PAJEwqraE54Qx6n6EFZ90k2OXtsJAY78SYD7wKvAFfCUHKxR2vt7ZA4a6tLXbXZ4QviwVYqZRGzdvdOMWLDtr9DN8KJa6sRv11l8g6XMCVdW4CUJpQ/uUIIxzPp8UxSkWbtzHdlJZ2LTiqS/sHFXYMxgL+0/PfSyFQ69B12DNwS3Zqa2VfkXqaagEVcmQClxUdH5enZMXRDcIjrdNeWyqyvL+oOliOpvTsUFDYBbgBr6TkXwnkW+m61rZP3hm70qc8Nh4OpJxGhtLgQhNBf+dmdGYeTES8zRijnA7Kdp+iGqg+Ri25o6xHOhfUzu4vFglq9R1DHRO+xRLfsJ0uD7+QInfeqMmv8A0G5np/NdzF6Zb78VvKLnp5Tvh2Lv6jHgH"),\r\nthis.createVertexTemplateEntry("dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#596780;fontStyle=1;fontSize=11;shadow=0",60,20,"Tag text","Tag",null,null,this.getTagsForStencil("mxgraph.atlassian","tag","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0",60,20,"Tag link","Tag link",null,null,this.getTagsForStencil("mxgraph.atlassian",\r\n"tag","atlassian ").join(" ")),this.addEntry("atlassian tag removable",function(){var b=new mxCell("Removable tag",new mxGeometry(0,0,100,20),"dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=left;rounded=1;arcSize=10;fontColor=#596780;fontStyle=1;fontSize=11;shadow=0;spacingLeft=3");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,6,6),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.x;strokeColor=#596780;strokeWidth=2");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-11,-3);c.vertex=\r\n!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Removable tag")}),this.addEntry("atlassian tag removable link",function(){var b=new mxCell("Removable tag link",new mxGeometry(0,0,130,20),"dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=left;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0;spacingLeft=3");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,6,6),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.x;strokeColor=#596780;strokeWidth=2");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-11,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Removable tag link")}),this.addEntry("atlassian text field",function(){var b=new mxCell(\'Name<sup><font color="#ff0000">*</font></sup>\',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Messina Cake",new mxGeometry(0,\r\n25,290,33),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field")}),this.addEntry("atlassian password field",function(){var b=new mxCell(\'Password<sup><font color="#ff0000">*</font></sup>\',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;",\r\nnew mxGeometry(0,25,290,33),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Password field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Project name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Watermelon Squad",new mxGeometry(0,\r\n25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Project name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Watermelon Squad",new mxGeometry(0,\r\n25,290,40),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,65,"Text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Location",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Location",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,290,40),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,\r\nc],290,65,"Text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Details",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("eg. ATP, VOSS etc",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,\r\nc],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Details",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("eg. ATP, VOSS etc",new mxGeometry(0,25,290,40),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,\r\nc],290,65,"Text field")}),this.addEntry("atlassian text field help",function(){var b=new mxCell("Form label",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Banana bread",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,\r\nc],290,58,"Text field with placeholder text")}),this.addEntry("atlassian text field tooltip",function(){var b=new mxCell("Selected help",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;var d=new mxCell("<b>Not great</b><div>The best password is hard to guess. Try again.</div>",\r\nnew mxGeometry(300,0,180,80),"html=1;rounded=1;strokeColor=#DFE1E5;fontSize=12;align=left;shadow=1;arcSize=1;whiteSpace=wrap;verticalAlign=top;spacingLeft=15;spacingRight=15;spacingTop=10");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],480,80,"Text field with tooltip")}),this.addDataEntry("atlassian text field tooltip",480,80,"Text field with tooltip","pVXbjpswEP0aHndlINDlcZckm0qtVDWV+uyCAauOTW2TS7++Y+wQiEmbKkghnsFnzJwzMwRxvju+S9w2n0VJWBCvgjiXQmi72h1zwlgQIVoG8TKIIgS/IFrfeBr2T1GLJeH6HkBkAXvMOmI9G7EnElwfC8Hhb0NYa/cofWJuT0UZywUTEkwuOHjflJbiJ7lyNnoHGS1DWFaC6y39bQKExsaM1hwMRirtHp/BQRQnWfrhBZ1h7mA/jH13IjU53sy/d7nk34nYES1PsOVAS904DhaWI9QQWjcO5nhDWFm7HqAXNmHhCJ0nN/bI3WLGzOkbzJWh94pXKTpektLlimXhUs1M5iPOgaGqv3wiVYsLyutPvbVMPGUAusiz1/V6Ko/d9N2REvmKoP66UiB6RIGTIzqxiLEg2Ywgcfy4IAtPEOppoBrcmiUgaatulvaVHGmSLHLk0zbI9LdCvo/GeJ7GKcCRip59VsMXn9SzTxKGNd2TSaw5pt35XwSF1xoOf4oXk+OfsmkEUVWKaE+pIYu7xEv8bgK42aBUR5Q5ThqTC/NmeI8pwz+Y8ZSduWthbo1ZBlHKzlMHzGLQK/3Vmcn7ZrqkyDAoN3KldY+hhJU9iFe07iTwJvjzOSIkYYPazV51jVpu2uy32tvr3uV6Fa4Sr4L+NVGH/oX6LsXBGzHGOjRUky0MEOM4wDcJfKYoaYHZq4uuRetNmTC5uL664hr7vhnMMkSPTAsHgDz8cYFmxkX6//MbzMuH1xbo+Lv8Bw=="),\r\nthis.addDataEntry("atlassian toggle subtle",30,16,"Subtle toggle","rVRrb8IgFP01fNRQsO673fTTkiX7BcTeCpGWBlDrfv0o4KOvaTKbNOHcJ/ccANGsbDaa1fxT5SAR/UA000rZsCqbDKREBIsc0XdECHY/IusJb+K9uGYaKvtMAgkJRyYPECzBYOxZRkMhpMyUVNpDSpcr+uZqrYzVag8XT6UqF7/S6lDl0BZPHGJ6+y1+2jopjo1AW2gmN+tNcacbUCVYfXYhJ5FbHiJoLMRB7PglaxlszAS8u2beJneLOPw4EfQxEYazul26RFEbmKKgx1fhv6emJ+PTdxPOUdZ5GvAdNwkZ4SbaNEhmxRE6tcYIi/2/lHDbujafJYtO+1mPclUUBuyA8OsUT2mweKwBt6WMh8vJkauTA9iBnBnujx0OHi9U2ezaizVnVjJjBKvmWw7b/UC4l6j0hy7LoSzpS1TpaUL/r4mDt8cnhN+/Tb8="),\r\nthis.addDataEntry("atlassian toggle bold",40,20,"Bold toggle","rVRdb8IgFP01PGooWOez3ebTkiV72DOxt0KkpQHUul8/WrC1aztNtEkTzv3kngMgmuTVRrOSf6gUJKJviCZaKetXeZWAlIhgkSL6igjB7kfkfcIbNV5cMg2FvSeB+IQjkwfwFm8w9iyDIRNSJkoq3UBKl2v64mqtjdVqDxdPoQoXv9bqUKRQF48cYnr7JX7qOjEOjUBbqCY325jCTjegcrD67EJOIrXcRyxCIQ5ix0NWmBEz4/Guzewmd4sw/DgR9DYRhrOyXrpEURqYouAPX1nz3TU9GZ++n3AOss5jj6+4iZZDbi42DZJZcYRerTHCQv9PJdy22uazaNVrP1v1K6gsM2AHhLdT3KXB4rYG3OYyHC4nR6pODmAHUmZ4c+yw9zRC5dWuvlhzZiUzRrBivuWw3Q+E61S6eL4DqeQR3f5TauQUr54i1LIvU/y4TA5275EPv36ufgE="),\r\nthis.addDataEntry("atlassian toggle bold tooltip",280,112,"Bold toggle with tooltip","7ZdNk6IwEIZ/DcexQhBljqPoXGarpnYPe47QQGoCcZM46v76DSSoGBitUrf2sFRp5as75HnpbvCCebl7FWRdfOMpMC9YeMFccK5Mq9zNgTEPI5p6QexhjPTPw8uBWb+ZRWsioFLXGGBj8EnYBszIC2N8W/vYNAsF/NqAVNKsk2rP7LqMMjbnjAvdrXilR2dSCf4BZ4OFKvWpYl83M16pH/R37cCv+4TRvNIdBpmy062xh4PweTKNUGtmN3bdmPsHoWA3yKAZsgBegZegxF4v2dJUFZbD2HBCBdC8sGaWHSLS9POD6ZGoblio/YADB/CXJPW5g8ksmC6GcAq+qVJILQoiEksiRLeQ2NsDh8biBMyjuIwvc5EFWddNbUjXcvABO8OXNddVMIJ+GF0DiwaNXDb+xGXTjglgRNFP6PjqA2b3f+dU39Zh8yc/6mz/FHU98CyToBzgh1NcpUF4WYOT6NVypDozBHEdkymRRfMUIjPTCFXu8jqRjYhiREpKqlFSQPLhCHdUqZ35aaHiW3T7Sqmepzi6i1CTrkzhA2SaODLFVJKVluhylh5KFz5yI8ef4tk4viGPJ1ohEG4mP4h9msnRPTO5NRiHHTV60pnvh4/JZ9PBQspVoaFgtJEgtEBIcf1Xgshr/VRB67GVIFVS1PaUOKr+I6X3roJZhdqqdVqJowdVnMhR6DtsBVW0yuvdqFTcOhwOoLOIWaIlXoZ9+S2O4vkicMmi5nIFqCnShLAXO1zSNGVwQQENdsbICtg7l/ocvDYUBtrB4dvZ/MGxXJNEH/2t2d/kgyuS/e0x2g3RaU+I4p6qim/X/9nRf9ZGnX7xhobPf/X/qvo+cuP/TvLr7vEryhTd04+sPw=="),\r\nthis.addDataEntry("atlassian toggle bold disabled",280,112,"Bold toggle disabled","tZVNj4IwEIZ/DUdNAfHjuKDraZNNPOy5wgCNhZK2Ku6v30KLwgKria6JSWem87YzT1ssN8jKLcdF+sEioJa7sdyAMyb1KCsDoNRyEIksd205DlJ/y3kfidp1FBWYQy4fSXB0wgnTI2iPdgh5ocYRE0oDRhmvTded++5CaflCcnaAJpKzXM33OTvmEVTitrIwD3fku9LxkFkIuIRydLO1y+x0CywDyS9qyplEMtUzZkYoBZKkJsvUiLDQdnLNvFWuBqb44Ua49xshUlxUQ5VICgFjLfjVr9XbeuVvHqreGa6+m3AxWKeetlu9sef93jQ+DhRLcoKO1lDDzPqfjKhtXRef2MvO8pNlV4HFsQDZa/i1iocYzO4zSGVGzeFSOCJ2VgZSRoRFWh87pCM1qKxMqos1xZJiIQjOp2EK4aEH7kapiXyZpjrPcPuL1MApXr4E1LyLyfsHTF4P0+64FyEne0XgN7CxB8FG/atiLxx/th67Vy30Mctlo1PLUpLkyggVEuBmQks4rn9Notkc6gk98UKZhFkf9cJ7yYOlzNtXQUNrfzR+AA=="),\r\nthis.addDataEntry("atlassian toggle bold disabled",280,112,"Bold toggle disabled","tVVdb4MgFP01PLZB0HXPtbNPS5bsYc+kopIhGKCt3a8fCrZadW3SrkkT7se53HsOIMBxWW8VqYp3mVIO8BvAsZLSuFVZx5RzgCBLAd4AhKD9A5TMRIM2CiuiqDD3AJADHAjfU+dxDm1O3DsyxnksuVStiZMgQUkI8FobJb9pFxFS2Py1knuR0qZ4YC2idp/sp6kTQb8RVYbWs822Lt/plsqSGnWyKUeWmsJlhL5QQVleeJSfERLt7PyMvExuF374aSLwbSJ0QapmaYGs0nSOgiu+YhSvNvdNj6anP3khl5GD9NgIXsZsdD5FOTHsQAfbTVHkd/yQzDaCYD04GX7zxesQL7NMUzMi+Nz1XZyHtzkvTMn9YbL0p/JoDWiNlOiiPWbQRVphyjpvLtKSGE60ZkQs65FIF0W6yJenEz2i0RDwh2ITgj1Hr0VwpRj+B8WikWIxETubY7W4lm7uKQjg+JIEK7QON3M3qncIMilMV6cty1kurLGzAlHlE3qFs/bXAX1zcFTogbfJA8IJqaOnPFXWvHwPnGb9z8Uv"),\r\nthis.addDataEntry("atlassian bold subtle disabled",280,112,"Bold subtle disabled","tZXfboIwFMafhktNoaLxcqjzaskSn6DCARoLJW1V3NOv0PqPwnSZMyHpOe35evx+tHh4UdRrQar8gyfAPLzy8EJwrsyoqBfAmBcgmnh46QUB0o8XvA/M+u0sqoiAUj1TEJiCA2F7MBmTkOrEbCKljC0446INMZ5GeKa1IqkE38F5puSlXh8Jvi8TaMR9HRERb+hXoxMiuxEIBfVgs23KdroGXoASJ73kdNfskSYqNxlsZXOgWX7WmJockSbOLjpXH/TAWtFvC35si8xJ1Qx1Ia0kDBnScW/+tpxHq6e8CPq9uC+wzqBx6HjjBz3e2JwARhQ9wJ1Wn2F2/09OdVuXzUf+5G77UcdynqYSlGP45V88xWDymEGuCmZfNY0j4UcdIB0kRObtS4jMTAuqqLPmmI2JYkRKSspxnEO8c8C9hNIPXKYulvAlVDpM8D8wCR0mm/1WxoJutd1dOkN3gY/cc+HPgmiyHDpEN5xTXqqzTivLaFbqINZEQNgFN8Jp+zsX2uaQI/SHy8kWYJf0LHRR2/v4N7eTDq8fBAPt9nvxDQ=="),\r\nthis.addDataEntry("atlassian bold subtle disabled",280,112,"Bold subtle disabled","tZXRboMgFIafhss2CNre1669WrJkT0AqKhmCAdraPf1QsK1F2y7rTEw4B87PyfcLApxWzVaRunyXGeUAvwGcKimNG1VNSjkHCLIM4DVACNoXoM3EbNTNwpooKswzBcgVHAjfU5dxCW1O3CdyxnkquVRdiDfRBm1igFfaKPlF+xkhhV2/UnIvMtqKRzYiavfJvludBPqNqDK0mWy2S/lOt1RW1KiTXXIaNHtkmSldBnvZkrKi7DUWLke0i4uzzoWDHXgU41jwYyy6JHU7tIWs1nQKyA29FKXL9XMs0F0WcJ4ENCI0QsPnFOXEsAMdbDeGyO/4IZltBMFmgN5vPrtBLPNcUxMAPnf9FPP4MfPSVNx/WhZ/Jo82gDbIiC67jw66mc6YqinaYzUnhhOtGRHzJjDpJY4MC+74k4T2JC9xZxbBoT/4H/xJAn9SInZ2jSV/a9TUNRDB8EhES7SK11Pn58ryXArT63SynBXCBjtrEFV+wZVw3j19oW8OBkJ/uJd8QRxavRjx2l/Fv7mYbHj5FzjPrn8VPw=="),\r\nthis.createVertexTemplateEntry("rounded=1;arcSize=10;fillColor=#172B4D;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#ffffff;fontStyle=0;fontSize=11",65,20,"Tooltip","Tooltip",null,null,this.getTagsForStencil("mxgraph.atlassian","tag","atlassian ").join(" ")),this.addDataEntry("atlassian comment",470,125,"Comment","3Vddb9owFP01kbaHonwDj0BLt2pbpX489NFNLomFY2exM2C/fteOSUNdqkkt27RIIfb19fXJOffaxIsW1fayIXX5VeTAvOjCixaNEKprVdsFMOaFPs296NwLQx9vL1weGQ3MqF+TBrj6nQlhN+EHYS10ls4g1Y5ZgyxJrZvVttAwR1TI8YhmgstRK6HxovmKMrYQTDRmQrQyF9qlasQaBiNhEk2SiV0SGgXbo7CNyWK+BFGBanbosqG5KjuPyEItgRalOrQR2fWLfuYTB9iwNLxMSeRQckUrNMxbzikvpENQqSqMdR48Y4ILDg4J1rgSXN3SnzpAgK85J4wWHDsMVsoOD2jzzYX2TUkV3NYk0xM3qMZbqLQT4i5BhsxOfZdZm0dvYjZ2mJ3d3326vnEYbUTLc8gtqaTJLFeJm2zLcBktk9d4Hjgn03Q88Qd8Z0iSSWFNIc0Im9mBiua5RvMC5Yfq+fu+Ra8B9wnxdnWCMHHkSZLTyJM48kQYFaf5s7ZopcJG6Afpn8//XrZT5H8wdQsgCE5UAalD8V1J+Br3FH+Fbxv6qgQNpcH3PGvr0X+61+wOGR0w37u8N/Njh/kH0XphSipd0aQW0uwC6FLhy1CkLu/laIBIPO56kTLUrMCjoHfgpIKROSJ0kWxKYh7QwNEQpWB5FwHpF70bWm04Lbu2M4Fe0RJbn02YCqpH0BEQO9vrpzH1EqbfW/3vYY5ixtmU4Ek8MA1yaW98JNm6MDvumQ0y0ysVjx/CODYL6S0gjJNBe/xxGDQtzDP2r0BKjXyOazR7gKhMh9G6IYa2KECq5wzumdUNDUqrx/HnivCWmDTCrgF3A93zAe97vL9d409rll4IvkKJOabtv1Q77gmjxAkqKnZPizh6oaLSd6ioiVNRN1CzXZeaXVkhJxO96RnVL3Kqjg6eAwMFR4e/0PVf0POk584z5QLfle69NkPsPn1RmLGDD45f"),\r\nthis.addDataEntry("atlassian linear discussion",470,125,"Linear discussion","7VZtb5swEP41SNuHIseQpP2YkrWb1EqVWmmfDRiwamxmGxL263d+oSFVUrXSqn1ZJOLzHXe+l+exiJKs3d8q0jX3sqQ8Sr5FSaakNF5q9xnlPMKIlVGyjTBG8ET45ox14ayoI4oK8x4H7B0GwnvqNRFecXC9riREwKiQXCpnWf3qbVbXEU6WV6v1JZqrVnVYnW8+Ke6JMkxAmAfSjZMVsskPHgivI5zBuukUs6ktVmAkbQdWketuFhYcfVbHp5VsmKkgvQU6bf3OIPwjaf15P+BpyEBhkaqkipYgjbJXsAi6s5ml8xJRKwUzUsUg/myorYrZDhGl2ED1IeiOuRYLaVg1+phvVHSc/euUiSinCKggwg2ktSl7A0yH08JMqVRKQnHI0Mam8gR/JQUsmBbQEL995mutRYU2Iw+o0A3prNjua4vVmEm9jlkhhY57TZXFC1SdvYAlqdwP9Noo+UxnFrxMLpeXAWGP7LcNu8C2Vs5qARtOqwmAMzfkfqDnJKf8QWpmmLSvK1Y39v3GtNyGAnGgALuC8E2IaKRtuu5IwUT9ZDfbCweSoLpzJ26XgQzgTfdnCeVUgU23FKZh1OimXpomkCr1Xg31qc11RPt9/eJ5YCcIgaCnyZp8LlkdM9Ad2UGtBf3nbN0oi/MddUD0lOqUHFgNAztLTujuTaChaWRv2x9iSMHHKUTpuM5JB8DQjqq7OI4/wkvPxcBLKSqmWnsvvGceaXFFgBnz5A9Em5Q5KZ5rJXtRXoQgG3hP1fkXnKbuoMz1YDmT119PDDlF0x18ZirIdez/1fCJV8PoresQ5O/fFLA9fDI429EXxR8="),\r\nthis.addDataEntry("atlassian nested discussion",450,160,"Nested discussion","7Vfdb5swEP9rkLaHRMSQpH3MR9M9NOvUdtqzgQt4NZgZk6T763dnk4Z0ZGmkbtKmIRHO98V92L8LXjDLt9eal9lSJSC94MoLZlop46h8OwMpPeaLxAvmHmM+3h5bHJEOrNQvuYbCvMaAOYM1lzU4jsdGEk2nJbIr8yQde/StppCmUhTQy0CkGa4mqBKi/+FejlTaPK2XlcI4mB8rqfSBI48Fw8vR+MI/bhvtGHf8K/q4z3i2E2FC0V7dH2DUM3x+VGvII9BIInPU0nZxHPpHdvmS9zZZJ2J9TiHC+JKvVm1WRwwRjx9Treoi6TVOKBCdRu9YGHrUZqoAC4ctevy+I8bQX3JjMtigypf6aI3IQ8wL/N0AvQh6uqaVyUSFD1XExI41cIPEAhJB+TlZbawiKSSKQl20XtNRnD/aie4QzmzZsb17B6V8og5cMQ/lEzpcV640bdYcJFDZDpg34hFOb9mT5WMHhWNVxksi821KKNMXqhr3RayKql9XeFQwTyHl7DnJYGUv5FdGq0doSdgwuBheNJW5F9/JLR69YMqlSAtcSFjtCtcy8+1FzeMRyE+qEkYoUteujdPM5JJcIbkGbUTM5aTxaFRJkZQ8FkX6QIt5b+DvWTf2jfNhA2NoDdujUGhZDQ5eg8rBaOrVRiQmcxpBg4e7Hdbm8cqt02fLPa4i0UBrN8wGfwPMHoGFNtCe2J5NGD/nQ4JeZXcMZTPwy+0vA/qN+Df5/PDh9q47v9ckd2aN/UHwhrPptFILHu5rDTv4dkieKIvL3PSpycTP+JoenEpe5zm3B0JDqTTlCnigiJFjhBnZPDjwpx/MILAn0eG85JWxY6Fp8VJFQpJgAZBQ72iCx0pDzHWCdA/v29iozop0YNyrkj+3Qv/uSDhRif8z4swZ0RiE7t+0/+SW48Zna4LQPn45QXa8MyYILvcfAVZ28I3wAw=="),\r\nthis.addDataEntry("atlassian comment",320,213,"Comment","7Zldj5s4FIZ/DZcTYRwIuWy+KlVdabWtVPXSDU6wBjCynUlmf32PwTAhdhKmIdPdaiKNBhvb4Od9feyTeHieHz4KUqZ/8YRmHl56eC44V/VVfpjTLPMCnyUeXnhB4MOfF6zO3EXVXb8kghaqT4eg7vBEsh2ta+Y8z3Xnql6q58zUpyqHt1sgD882LMvmPOMCygUvoMFMKsEf6UnlhhfqC/tXD4BCKJOMbQsoZHSjzO2mhxdgv/pA/T5lin4pyVp33AMa845UKHo4O8+qykzyI+U5VeIZmuxZotK6xbRG4aeUbVPTy+DxiazL27bnCzS4MNzcDLHF0IInU1Lqy4w5aMHcw2k0ifXcW8o3TPm5O7UjAjhwIEADIBj3R5AfttrtI8blZMTWvJCjnaTixFbAZFN9XLSCEMdhfAuiQxeRITZ2EbOBNXW3AAstYJ9YDhWzXVGwYiuHXn7Bb1p+pkN0FfS9FmdkgcYwKnTzP+y2Owlxzg98FL0973bJ34M3Cq8CR+hOxCcW8a8pKR7B0v4GJh/4KqX6VQRM+2FXjv5sq0c2+VaNocnHFvnvfOcFEclLzaTkMPbsScPXOzwDdEkrh6BEQixuRVqDZluIRG2DguR0VEUovWb2Kan+UUHPDpHyLKlHAPy8bQa1Zjgtu67POLTCq/+UETQoodiaZB/MEIrfwR5xaNsjctgjDG+3x9Syxz+0zPS7tR4BJrGOmfrK/8we6W/YiO4aGE/wI0dgvNvybALu//yUhOK3OyYhZCH7+lzWgQMGS6vwcoJQ8F2R0MR4lIi1sd70ArwTR0owHQz9uSotQhfdxXKJltHxib1p9M1gCS5Yu7sihre1QyJnWMF4AI3sHPJS0ACHJ3wPBc0hITKtpPLrOx3v/yCSrUdrwaXULJND0+5Ui3EQBtHSltfU98J75TzVweuP7KiNxjbdpk7QjCj2RDtjuZCb5//NmU7Am4c/NBu7efzDpDsC32wkVZZk7Sz6qdgjiz23siADPsfeuSMMEJLiruEbQkeCOKP4eAC7vyLXhZ6slLR31Db75eu+BMAXSbVeveBdh3UHci7qyvRwsiUM41w7l34X5GwoeQM97JT7XY8zekRvIIedj18J7L1PmIsVnIHC4z0ddQ9EL1vEuJ9UF5VC05PUGllCIeyI+pN4gKhv59bLhNnfkr+Q9G2Sq/EqXE3OmbpzMDqGaGdLx8lU96yKfPvUaRIBPBNUQsfmfNpz9UzcmlyD3pwsf3WBNBrfY0XYiTAEIqroK9S8lO6+C+kQEk9vVxKKL7+M1c2Pfzj7CQ=="),\r\nthis.addDataEntry("atlassian date picker",150,53,"Date picker","pZRdb4IwFIZ/DZea0orC5QbqzZYs2cWyy0YO0Ky0pFSH+/UrtqKsmJl4QXI++p5ynjcQkLTutoo21avMgQdkHZBUSaltVHcpcB5gxPKAZAHGyDwB3tzohqcuaqgCoe8RYCs4UL4HW8lMgFFONdhWq4/ctQrGeSq5VCYVUpjqc6uV/II/xUrXZpEsNGEhhX5nP/2AcMjdRGRyylkpTMyh0K59HhZgEiXLVYz+yPyxdgVQGrqbGE4lx2ALsgatjubIN8t15VAsLCpUASsrJ3P4EG1tXg7SC1QTOK7TjInH+FPulakIWvuQldyLHHK3KFU7t2fSr31lgMGzWW3iTeJTbBu6Y6J8OWVZ5NlkpNl6Ha6XY6/soQ9HBP9nh8OPH8F/dJQjq7hyI4wm3CDkcTcWnhueBW1Fmz6su7L/MOdlnfP5jnIQOVW+DdHTMo7D6Y/hHjZkms1Y4Eih+QSq2Cd1ringVLMDjGZN4XP3v0lmXmu4fIaT0fWzZDxBFkUL2sM/bDHliEkv/zd7/Pr39ws="),\r\nthis.addDataEntry("atlassian date picker",320,415,"Date picker","1Zxdb9owFIZ/DZdFthOH5HIl0E1au2lt1euMGIiaYBTSFvbrZ0igkGMqtvorSJXyUSfk8bHzvj5H9Lxhsb4pk+X8lqcs73mjnjcsOa/qrWI9ZHneIyhLe17cIwSJvx4ZnzmLd2fRMinZorqkAakbvCb5C6uPxGKDoDSpWH1qVW3y5tQ0y/Mhz3kpdhd8IY5er6qSP7PWwXlViAeJsdic8kV1n/3ZXgAf9psrIrGf5NlsIbZzNq2a0/uL9YhHo2AQolYzeNn6EVhZsfVZDLtDDYMbxgtWlRvxL29ZWs0bFH6NCs1ZNps3zRp8KFnV+7ND03eoYqPhKmfsAcYPPE02AG/JXxYpS5tHTMpJ84TR9oGP0Asw090H8lstk0m2mH3f7cUUdJBoihAdxOFpL9X/9NSwILAjCPVCGrbAk8+A3zR8ad3iqB8wlfSD532+H3zQD6ALVvNkud0s1rPtkOzPijTvT5KcLdKkhN1wwCIZBpew8eRsThs0pFBfgiqEpPbHSpYnVfbKTq4lw9fc/yfPxNc63PyKRCe3v4pOr8Cn0xWrAP7DU1zUI/Tfe6Tgk+eXZX/Ky2LVL0s22YZ92YSkNODj8QiP6AdjSNwi5W+7ofD5gA5gL3lEFtBUwcwSAH53/JUVv1kpjhKEKcQpm68l8/ol4z8AE/Ml+OiHMR+gk6jDAaBJkISmrwDmQBKMQb4NL60UI8nrTQHIPbnzIGXTrAqOoYzjrKscCfVtgYwAyPvHO1UMo90HvNHVj2hyOqIp5CfTXSr4YQQA3v7oHsDAHkAMAD48jjoHECN7BKG/ehrF3SPo2yMocU9fH7tHMLRHEPqe8a9vnSNo80UCfcr9l4fuEbT4JoFOxcNaAQYqgJ3yigzygmZEGS60+2jAFdjDBT2HZCXBMVxtWWKSF7QWnvu8fGu8CHQSvvu8Qnu8oHFQthSljZfF6X4/Wx3xCtznZW++l6RUBu7zai1tegZ5QQsQOs+rvRRskhcU/JHzvNp6wigwqO/3q28qiDUZy4+SD74Kgr5FghLF/x+SX+AaDUfxGF0ceN71ubzzYf1UpQoxyhTagv2CnMPj2OqLAhoD7L4zsPmq8KA1wO57g3aIDQwCg95AXZ7amBgxCQyaA+y+OwBqxCQxaA+w+/4AqA+TxKBBwO47BKAtTBKDFgG77xGsTvzQI+y/jcvEbM780BN0IA3QCjFZxYw2YJI8gPuCP7AIDOp9dZkAbXm5trYwScyHer8LuQDfIjEo+DuQDWhrC6PEoOLvQj7A4sTvQ8XfhYyAxZnfh4q/AzmBdogZLGHxoeDvQFKgHWEmgUlqftzX+0BbmCSmsepHnxhrSwuTwDTW/egD1lYWJoFpLPzRV4ZncdanUO4rU/v6gFmc9anG0h9ThZ4mS1ko1PrKpL42Xu34MslLY+mPuQULk8A01v6YExUmgWks/jEnKkwC01n8Y05VmCSmptjHtqzQR0zsvv8GSv3DAsc/kfIX"),\r\nthis.addEntry("atlassian text field",function(){var b=new mxCell("Your name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Sally Lu",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field")}),\r\nthis.addEntry("atlassian text field required",function(){var b=new mxCell(\'Requirements<sup><font color="#ff0000">*</font></sup>\',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Design, eating, drinking",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=\r\n!0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field with required fields")}),this.addEntry("atlassian disabled text field",function(){var b=new mxCell("Guests",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#B3BAC5;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Kris Wesley",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#B3BAC5;fontSize=12");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Disabled text field")}),this.addDataEntry("atlassian text field disabled",370,543,"Disabled text field","7Vlbc5s4FP41vOxDBxC+PcbY9KHdncymnT4rcGzUCokVch3vr68EggakOG6MnXZazxh0Owfzfecm2UNx8fBW4DL/m2dAPbT2UCw4l02reIiBUi/0SeahlReGvvp6YfLEbFDP+iUWwOQpAmEj8BXTHTQjsQAsQY1hrUjwz5DKZlElD9Qs2hBKY065UF3GmRpdVlLwLzAYzGWhXmkVqOaGM3lH/tcKgq5vNPqqjynZMtWmsJFmulXmhSiYhcsoHogN1c7Ny4CQ8PAkIPWQQeMt8AKkOKgle5LJ3IASNaD5OZBtbsQMkD6umv62E/0Or2oYhN1oIwvt2wbgSisWGvV9DvX9wHdC3QSUvCKSCwJ6DSVf4Y26f8jh0ImkCgJMGIiqkdNDmKnrVvBdqYkjBaHYoY7oVRuuZ+5BShC1tkwr5WKLGamwJJxVb04xgAGBTnsYsOrXnwGLYd9u9jmRcFfiVE/ulaOoMc0wSTG9MY+UvDyH+oNheNJIPLIENHNYQjQ53xKipyxBDTJcKAamtEZREzjd6mY7pLGqeWphnP63480CtNnUgD4aamT/aoXV72rk+zrVcO9Jr+3uk8V0NvefcfdgBM5bfq/h/ROL80/qdxZAObMQV57LMsjMW2ORmpdeaAwesVFzrj8OB1Q+Q9j2fd1bTSzOlGgUL26SpE9cs+iTwSM82WnP52Jh+1+4cPnfCFxMLS7e6Yj6x+mu4XRB5GD6Ul43s5herj/cHEVbYRHHa7/2jB+FvIU4VViofGqB3LnccZDRsh8BzkH9oU1vBs0jLFyKhLlFwp3EVX5O2EtmyTxZvCjsrdbrYD39wbDX944Rw17gykGXinsLi4gVVKkgpa7zfqMQ1Fn1NUJQ4NuZP8c6n5C6Ci9KLiSuE0xTjJfAS6qrcMnV5Qvjew8lJztL9NM6y8Uqd0coQ1MHm0EwQu3eGaCreC9BFKSq9K7p9d3ppF1zNAIBaH5Nd7IPLT5W9d4VpylUPyvul8gdkX9N3O3ji38BZ1or09e9IPrgaAB+leNSN5UuUlZwZP9ihR7fn8xWcyveREf2JANehuGmIFlG4Vli0JLie6C3+qxE50W0Eg2UncL3g/lOcT+idpH/nMKtjTct58jmPHDFujEot88pDOWc0cMJXPdz1DAr+UmYuJPOfBWv0S/Fcz9B5jjTSbt+ZqYq3RqCUYyhX8RHE4cxhA5jCEcwBvsA4x8dOP9YwatbgWMLcTErsI9Obnf3lDy7mxvQPgjuxw+KrTOubnv9Is6ji/NkiJkENjGuuhShEYixTzpizFKgL66HnirqfxUSjMCs7ywX5ER1v/91V8/1/tn7Bg=="),\r\nthis.addEntry("atlassian error message field",function(){var b=new mxCell("Email",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#FFAB00;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,-10);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],290,58,"Error message field")}),this.addEntry("atlassian error message field",function(){var b=new mxCell("Email",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");\r\nc.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,-10);d.vertex=!0;c.insert(d);d=new mxCell("Please enter a valid address.",new mxGeometry(310,22,200,46),"rounded=1;arcSize=9;align=center;strokeColor=#DFE1E5;html=1;strokeWidth=1;fontSize=12;shadow=1");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],290,58,"Error message field")})];this.addPalette("atlassian",\r\n"Atlassian",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addAWSPalette=function(){this.setCurrentSearchEntryLibrary("aws2","aws2Analytics");this.addAWSAnalyticsPalette();this.setCurrentSearchEntryLibrary("aws2","aws2Application Services");this.addAWSApplicationServicesPalette();this.setCurrentSearchEntryLibrary("aws2","aws2Compute");this.addAWSComputePalette();this.setCurrentSearchEntryLibrary("aws2","aws2Database");this.addAWSDatabasePalette();this.setCurrentSearchEntryLibrary("aws2","aws2Developer Tools");this.addAWSDeveloperToolsPalette();\r\nthis.setCurrentSearchEntryLibrary("aws2","aws2Enterprise Applications");this.addAWSEnterpriseApplicationsPalette();this.setCurrentSearchEntryLibrary("aws2","aws2Game Development");this.addAWSGameDevelopmentPalette();this.setCurrentSearchEntryLibrary("aws2","aws2General");this.addAWSGeneralPalette();this.setCurrentSearchEntryLibrary("aws2","aws2Internet of Things");this.addAWSInternetOfThingsPalette();this.setCurrentSearchEntryLibrary("aws2","aws2Management Tools");this.addAWSManagementToolsPalette();\r\nthis.setCurrentSearchEntryLibrary("aws2","aws2Mobile Services");this.addAWSMobileServicesPalette();this.setCurrentSearchEntryLibrary("aws2","aws2Networking");this.addAWSNetworkingPalette();this.setCurrentSearchEntryLibrary("aws2","aws2On-Demand Workforce");this.addAWSOnDemandWorkforcePalette();this.setCurrentSearchEntryLibrary("aws2","aws2SDKs");this.addAWSSDKPalette();this.setCurrentSearchEntryLibrary("aws2","aws2Security and Identity");this.addAWSSecurityAndIdentityPalette();this.setCurrentSearchEntryLibrary("aws2",\r\n"aws2Storage and Content Delivery");this.addAWSStorageAndContentDeliveryPalette();this.setCurrentSearchEntryLibrary("aws2","aws2Groups");this.addAWSGroupPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAWSAnalyticsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Analytics","AWS / Analytics",!1,[this.createVertexTemplateEntry(a+"analytics.data_pipeline;strokeColor=none;",60,72,"","Data Pipeline",null,null,this.getTagsForStencil("mxgraph.aws.analytics",\r\n"data pipeline","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.elasticsearch;strokeColor=none;",60,72,"","ElasticSearch",null,null,this.getTagsForStencil("mxgraph.aws.analytics","elasticsearch","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.emr;strokeColor=none;",60,72,"","EMR",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+\r\n"compute_and_networking.emr_cluster;strokeColor=none;",49,55,"","EMR Cluster",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr cluster","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_engine;strokeColor=none;",74,53,"","EMR Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_hdfs_cluster;strokeColor=none;",\r\n54,56,"","EMR HDFS Cluster",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr hdfs cluster","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_mapr_m3_engine;strokeColor=none;",74,53,"","EMR MapR M3 Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr mapr m3 engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_mapr_m5_engine;strokeColor=none;",\r\n74,53,"","EMR MapR M5 Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr mapr m5 engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_mapr_m7_engine;strokeColor=none;",74,53,"","EMR MapR M7 Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr mapr m7 engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis;strokeColor=none;",59,72,"","Kinesis",\r\nnull,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis_analytics;strokeColor=none;",66,67,"","Kinesis Analytics",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis analytics","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis_enabledapp;strokeColor=none;",58,60,"","Kinesis EnabledApp",null,null,this.getTagsForStencil("mxgraph.aws.analytics",\r\n"kinesis enabledapp enabled app","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis_firehose;strokeColor=none;",53,56,"","Kinesis Firehose",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis firehose","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.kinesis_streams;strokeColor=none;",53,56,"","Kinesis Streams",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis streams",\r\n"aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.machine_learning;strokeColor=none;",60,72,"","Machine Learning",null,null,this.getTagsForStencil("mxgraph.aws.analytics","machine learning","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.quicksight;strokeColor=none;",60,66,"","QuickSight",null,null,this.getTagsForStencil("mxgraph.aws.analytics","quicksight","aws group amazon web service analytics").join(" "))])};\r\nSidebar.prototype.addAWSApplicationServicesPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Application Services","AWS / Application Services",!1,[this.createVertexTemplateEntry(a+"app_services.api_gateway;strokeColor=none;",60,72,"","API Gateway",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","api gateway","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.appstream;strokeColor=none;",\r\n59,72,"","AppStream",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","appstream","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.cloudsearch;strokeColor=none;",59,72,"","CloudSearch",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","cloudsearch","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.cloudsearch_sdf_metadata;strokeColor=none;",\r\n52,56,"","CloudSearch SDF Metadata",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","cloudsearch sdf metadata","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.elastic_transcoder;strokeColor=none;",59,72,"","Elastic Transcoder",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","elastic transcoder","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.ses;strokeColor=none;",\r\n61,72,"","SES",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","ses","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.email;strokeColor=none;",73,54,"","SES Email",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","ses email","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.sqs;strokeColor=none;",59,72,"","SQS",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices",\r\n"sqs","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.sqs_message;strokeColor=none;",37,42,"","SQS Message",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","sqs message","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.sqs_queue;strokeColor=none;",65,42,"","SQS Queue",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","sqs queue","aws group amazon web service application services").join(" ")),\r\nthis.createVertexTemplateEntry(a+"app_services.swf;strokeColor=none;",59,72,"","SWF",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","swf","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+"app_services.swf_decider;strokeColor=none;",55,57,"","SWF Decider",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","swf decider","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(a+\r\n"app_services.swf_worker;strokeColor=none;",53,56,"","SWF Worker",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","swf worker","aws group amazon web service application services").join(" "))])};Sidebar.prototype.addAWSComputePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.compute_and_networking.";this.addPaletteFunctions("aws2Compute","AWS / Compute",!1,[this.createVertexTemplateEntry(a+"auto_scaling;strokeColor=none;",59,57,"","Auto Scaling",\r\nnull,null,this.getTagsForStencil("mxgraph.aws.compute","auto scaling","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2;strokeColor=none;",59,72,"","EC2",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_ami;strokeColor=none;",53,56,"","EC2 AMI",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 ami","aws group amazon web service compute").join(" ")),\r\nthis.createVertexTemplateEntry(a+"ec2_cloudwatch;strokeColor=none;",53,56,"","EC2 CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 cloudwatch","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_db_on_instance;strokeColor=none;",52,56,"","EC2 DB On Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 db on instance database","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_elastic_ip;strokeColor=none;",\r\n67,22,"","EC2 Elastic IP",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 elastic ip","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_instance;strokeColor=none;",52,56,"","EC2 Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 instance","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_instances;strokeColor=none;",50,57,"","EC2 Instances",null,null,this.getTagsForStencil("mxgraph.aws.compute",\r\n"ec2 instances","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_optimized_instance;strokeColor=none;",53,56,"","EC2 Optimized Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 optimized instance","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_spot_instance;strokeColor=none;",53,57,"","EC2 Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 spot instance","aws group amazon web service compute").join(" ")),\r\nthis.createVertexTemplateEntry(a+"ec2_container_registry;strokeColor=none;",61,63,"","EC2 Container Registry",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 container registry","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"ec2_container_service;strokeColor=none;",61,63,"","EC2 Container Service",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 container service","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+\r\n"elastic_beanstalk;strokeColor=none;",59,82,"","Elastic Beanstalk",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic beanstalk","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"elastic_beanstalk_application;strokeColor=none;",31,57,"","Elastic Beanstalk Application",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic beanstalk application","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"elastic_beanstalk_deployment;strokeColor=none;",\r\n50,66,"","Elastic Beanstalk Deployment",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic beanstalk deployment","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"elastic_load_balancing_2;strokeColor=none;",56,58,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic load balancing","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(a+"lambda;strokeColor=none;",59,72,"","Lambda",null,\r\nnull,this.getTagsForStencil("mxgraph.aws.compute","lambda","aws group amazon web service compute").join(" "))])};Sidebar.prototype.addAWSDatabasePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Database","AWS / Database",!1,[this.createVertexTemplateEntry(a+"database.database_migration_service;strokeColor=none;",64,72,"","Database Migration Service",null,null,this.getTagsForStencil("mxgraph.aws.database","database migration service",\r\n"aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb;strokeColor=none;",59,72,"","DynamoDB",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb_attribute;strokeColor=none;",54,56,"","DynamoDB Attribute",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb attribute","aws group amazon web service database").join(" ")),\r\nthis.createVertexTemplateEntry(a+"database.dynamodb_attributes;strokeColor=none;",52,56,"","DynamoDB Attributes",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb attributes","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb_global_secondary_indexes;strokeColor=none;",53,56,"","DynamoDB Global Secondary Index",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb global secondary indexes","aws group amazon web service database").join(" ")),\r\nthis.createVertexTemplateEntry(a+"database.dynamodb_item;strokeColor=none;",55,56,"","DynamoDB Item",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb item","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb_items;strokeColor=none;",52,57,"","DynamoDB Items",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb items","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.dynamodb_table;strokeColor=none;",\r\n60,56,"","DynamoDB Table",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb table","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.elasticcache_memcache;strokeColor=none;",52,55,"","ElasticCache MemCache",null,null,this.getTagsForStencil("mxgraph.aws.database","elasticcache memcache","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.elasticcache;strokeColor=none;",59,72,"","ElasticCache",null,\r\nnull,this.getTagsForStencil("mxgraph.aws.database","elasticcache","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.elasticcache_node;strokeColor=none;",52,55,"","ElasticCache Node",null,null,this.getTagsForStencil("mxgraph.aws.database","elasticcache node","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.elasticcache_redis;strokeColor=none;",52,55,"","ElasticCache Redis",null,null,this.getTagsForStencil("mxgraph.aws.database",\r\n"elasticcache redis","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds;strokeColor=none;",63,72,"","RDS",null,null,this.getTagsForStencil("mxgraph.aws.database","rds","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_db_instance;strokeColor=none;",43,56,"","RDS DB Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+\r\n"database.rds_instance_read_replica;strokeColor=none;",43,56,"","RDS Instance Read Replica",null,null,this.getTagsForStencil("mxgraph.aws.database","rds instance read replica","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_instance_standby;strokeColor=none;",43,56,"","RDS Instance Standby",null,null,this.getTagsForStencil("mxgraph.aws.database","rds instance standby","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+\r\n"database.rds_ms_sql_instance;strokeColor=none;",52,55,"","RDS MS SQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds ms sql instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_ms_sql_instance_2;strokeColor=none;",52,56,"","RDS MS SQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds ms sql instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_mysql_db_instance;strokeColor=none;",\r\n52,55,"","RDS MySQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds mysql db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_mysql_db_instance_2;strokeColor=none;",52,56,"","RDS MySQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds mysql db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_oracle_db_instance;strokeColor=none;",52,55,\r\n"","RDS Oracle Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds oracle db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_oracle_db_instance_2;strokeColor=none;",52,56,"","RDS Oracle Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds oracle db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_replica_sets_with_piop;strokeColor=none;",53,\r\n55,"","RDS PIOP",null,null,this.getTagsForStencil("mxgraph.aws.database","rds piop","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_postgresql;strokeColor=none;",52,55,"","RDS PostgreSQL",null,null,this.getTagsForStencil("mxgraph.aws.database","rds postgresql","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_mastersql;strokeColor=none;",52,56,"","RDS SQL Master",null,null,this.getTagsForStencil("mxgraph.aws.database",\r\n"rds sql master","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.rds_slavesql;strokeColor=none;",52,56,"","RDS SQL Slave",null,null,this.getTagsForStencil("mxgraph.aws.database","rds sql slave","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.redshift;strokeColor=none;",60,66,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws.database","redshift","aws group amazon web service database").join(" ")),\r\nthis.createVertexTemplateEntry(a+"database.redshift_dense_compute_node;strokeColor=none;",49,55,"","Redshift Dense Compute Node",null,null,this.getTagsForStencil("mxgraph.aws.database","redshift dense compute node","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(a+"database.redshift_dense_storage_node;strokeColor=none;",49,55,"","Redshift Dense Storage Node",null,null,this.getTagsForStencil("mxgraph.aws.database","redshift dense storage node","aws group amazon web service database").join(" "))])};\r\nSidebar.prototype.addAWSDeveloperToolsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Developer Tools","AWS / Developer Tools",!1,[this.createVertexTemplateEntry(a+"developer_tools.code_commit;strokeColor=none;",68,82,"","Code Commit",null,null,this.getTagsForStencil("mxgraph.aws.developerTools","code commit","aws group amazon web service developer tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.codedeploy;strokeColor=none;",\r\n59,72,"","Code Deploy",null,null,this.getTagsForStencil("mxgraph.aws.developerTools","codedeploy","aws group amazon web service developer tools").join(" ")),this.createVertexTemplateEntry(a+"developer_tools.code_pipeline;strokeColor=none;",60,72,"","Code Pipeline",null,null,this.getTagsForStencil("mxgraph.aws.developerTools","code pipeline","aws group amazon web service developer tools").join(" "))])};Sidebar.prototype.addAWSEnterpriseApplicationsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+\r\n"=mxgraph.aws2.";this.addPaletteFunctions("aws2Enterprise Applications","AWS / Enterprise Applications",!1,[this.createVertexTemplateEntry(a+"enterprise_applications.workdocs;strokeColor=none;",74,85,"","WorkDocs",null,null,this.getTagsForStencil("mxgraph.aws.enterpriseApplications","workdocs","aws group amazon web service enterprise applications").join(" ")),this.createVertexTemplateEntry(a+"enterprise_applications.workmail;strokeColor=none;",74,85,"","WorkMail",null,null,this.getTagsForStencil("mxgraph.aws.enterpriseApplications",\r\n"workmail","aws group amazon web service enterprise applications").join(" ")),this.createVertexTemplateEntry(a+"enterprise_applications.workspaces;strokeColor=none;",74,85,"","WorkSpaces",null,null,this.getTagsForStencil("mxgraph.aws.enterpriseApplications","workspaces","aws group amazon web service enterprise applications").join(" "))])};Sidebar.prototype.addAWSGameDevelopmentPalette=function(){this.addPaletteFunctions("aws2Game Development","AWS / Game Development",!1,[this.createVertexTemplateEntry("dashed=0;html=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws2.game_development.gamelift;strokeColor=none;",62,75,"","GameLift",null,null,this.getTagsForStencil("mxgraph.aws.gameDevelopment","game lift","aws amazon web service game development").join(" "))])};Sidebar.prototype.addAWSGeneralPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2General","AWS / General",!1,[this.createVertexTemplateEntry(a+"non-service_specific.client;strokeColor=none;",57,57,"",\r\n"Client",null,null,this.getTagsForStencil("mxgraph.aws.general","client","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.cloud;strokeColor=none;",70,46,"","Cloud",null,null,this.getTagsForStencil("mxgraph.aws.general","cloud","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.corporate_data_center;strokeColor=none;",42,57,"","Corporate Data Center",null,null,this.getTagsForStencil("mxgraph.aws.general",\r\n"corporate data center","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.disk;strokeColor=none;",57,57,"","Disk",null,null,this.getTagsForStencil("mxgraph.aws.general","disk","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.forums;strokeColor=none;",76,73,"","Forums",null,null,this.getTagsForStencil("mxgraph.aws.general","forums","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+\r\n"non-service_specific.generic_database;strokeColor=none;",44,57,"","Generic Database",null,null,this.getTagsForStencil("mxgraph.aws.general","generic database","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.internet;strokeColor=none;",70,46,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws.general","internet","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.management_console;strokeColor=none;",\r\n57,57,"","Management Console",null,null,this.getTagsForStencil("mxgraph.aws.general","management console","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.mobile_client;strokeColor=none;",37,57,"","Mobile Client",null,null,this.getTagsForStencil("mxgraph.aws.general","mobile client","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.multimedia;strokeColor=none;",59,57,"","Multimedia",null,null,this.getTagsForStencil("mxgraph.aws.general",\r\n"multimedia","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.tape_storage;strokeColor=none;",68,38,"","Tape Storage",null,null,this.getTagsForStencil("mxgraph.aws.general","tape storage","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.traditional_server;strokeColor=none;",41,56,"","Traditional Server",null,null,this.getTagsForStencil("mxgraph.aws.general","traditional server","aws amazon web service general").join(" ")),\r\nthis.createVertexTemplateEntry(a+"non-service_specific.user;strokeColor=none;",41,56,"","User",null,null,this.getTagsForStencil("mxgraph.aws.general","user","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.users;strokeColor=none;",58,56,"","Users",null,null,this.getTagsForStencil("mxgraph.aws.general","users","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"non-service_specific.virtual_private_cloud;strokeColor=none;",\r\n70,46,"","Virtual Private Cloud",null,null,this.getTagsForStencil("mxgraph.aws.general","vpc virtual private cloud","aws amazon web service general").join(" "))])};Sidebar.prototype.addAWSInternetOfThingsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.internet_of_things.";this.addPaletteFunctions("aws2Internet of Things","AWS / Internet of Things",!1,[this.createVertexTemplateEntry(a+"action;strokeColor=none;",55,57,"","Action",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",\r\n"action","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"actuator;strokeColor=none;",68,80,"","Actuator",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","actuator","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"aws-iot;strokeColor=none;",60,72,"","AWS IOT",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","aws iot","aws group amazon web service internet of things iot").join(" ")),\r\nthis.createVertexTemplateEntry(a+"bank;strokeColor=none;",71,71,"","Bank",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","bank","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"bicycle;strokeColor=none;",71,71,"","Bicycle",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","bicycle","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"camera;strokeColor=none;",71,71,"","Camera",\r\nnull,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","camera","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"car;strokeColor=none;",71,71,"","Car",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","car","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"cart;strokeColor=none;",71,71,"","Cart",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","cart","aws group amazon web service internet of things iot").join(" ")),\r\nthis.createVertexTemplateEntry(a+"certificate;strokeColor=none;",56,77,"","Certificate",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","certificate","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"coffee_pot;strokeColor=none;",71,71,"","Coffee Pot",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","coffee pot","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"desired_state;strokeColor=none;",\r\n53,57,"","Desired State",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","desired_state","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"door_lock;strokeColor=none;",71,71,"","Door Lock",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","door lock","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"factory;strokeColor=none;",71,71,"","Factory",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",\r\n"factory","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"generic_iot_thing;strokeColor=none;",71,71,"","Generic IOT Thing",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","generic iot thing","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"hardware_board;strokeColor=none;",75,87,"","Hardware Board",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","hardware_board",\r\n"aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"house;strokeColor=none;",71,71,"","House",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","house","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"http_protocol;strokeColor=none;",56,59,"","HTTP Protocol",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","http protocol","aws group amazon web service internet of things iot").join(" ")),\r\nthis.createVertexTemplateEntry(a+"http2_protocol;strokeColor=none;",56,59,"","HTTP2 Protocol",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","http2 protocol","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"lightbulb;strokeColor=none;",71,71,"","Lightbulb",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","lightbulb","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"medical_emergency;strokeColor=none;",\r\n71,71,"","Medical Emergency",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","medical_emergency","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"mqtt_protocol;strokeColor=none;",56,59,"","MQTT Protocol",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","mqtt protocol","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"police_emergency;strokeColor=none;",71,71,"","Police Emergency",\r\nnull,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","police_emergency","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"policy;strokeColor=none;",49,79,"","Policy",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","policy","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"reported_state;strokeColor=none;",53,57,"","Reported State",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",\r\n"reported_state","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"rule;strokeColor=none;",44,87,"","Rule",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","rule","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"sensor;strokeColor=none;",68,80,"","Sensor",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","sensor","aws group amazon web service internet of things iot").join(" ")),\r\nthis.createVertexTemplateEntry(a+"servo;strokeColor=none;",75,53,"","Servo",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","servo","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"shadow;strokeColor=none;",75,80,"","Shadow",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","shadow","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"simulator;strokeColor=none;",67,70,"",\r\n"Simulator",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","simulator","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"thermostat;strokeColor=none;",71,71,"","Thermostat",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","thermostat","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"topic;strokeColor=none;",44,59,"","Topic",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",\r\n"topic","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"travel;strokeColor=none;",71,71,"","Travel",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","travel","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(a+"utility;strokeColor=none;",71,71,"","Utility",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","utility","aws group amazon web service internet of things iot").join(" ")),\r\nthis.createVertexTemplateEntry(a+"windfarm;strokeColor=none;",71,71,"","Windfarm",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","windfarm","aws group amazon web service internet of things iot").join(" "))])};Sidebar.prototype.addAWSManagementToolsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Management Tools","AWS / Management Tools",!1,[this.createVertexTemplateEntry(a+"deployment_and_management.cloudformation;strokeColor=none;",\r\n59,72,"","CloudFormation",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudformation","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudformation_stack;strokeColor=none;",64,49,"","CloudFormation Stack",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudformation stack","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudformation_template;strokeColor=none;",\r\n48,56,"","CloudFormation Template",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudformation template","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudtrail;strokeColor=none;",59,72,"","CloudTrail",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudtrail","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudwatch;strokeColor=none;",\r\n63,72,"","CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudwatch","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.cloudwatch_alarm;strokeColor=none;",48,58,"","CloudWatch Alarm",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudwatch alarm","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"administration_and_security.config;strokeColor=none;",\r\n59,72,"","Config",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","config","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks;strokeColor=none;",59,72,"","OpsWorks",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_apps;strokeColor=none;",72,72,"","OpsWorks Apps",\r\nnull,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks apps","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_deployments;strokeColor=none;",72,68,"","OpsWorks Deployments",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks deployments","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_instances;strokeColor=none;",\r\n72,72,"","OpsWorks Instances",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks instances","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_layers;strokeColor=none;",72,72,"","OpsWorks Layers",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks layers","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_monitoring;strokeColor=none;",\r\n72,60,"","OpsWorks Monitoring",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks monitoring","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_permissions;strokeColor=none;",59,72,"","OpsWorks Permissions",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks permissions","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_resources;strokeColor=none;",\r\n59,72,"","OpsWorks Resources",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks resources","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.opsworks_stack;strokeColor=none;",60,70,"","OpsWorks Stack",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks stack","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"management_tools.service_catalog;strokeColor=none;",\r\n60,70,"","Service Catalog",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","service catalog","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"administration_and_security.trusted_advisor;strokeColor=none;",60,72,"","Trusted Advisor",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","trusted advisor","aws group amazon web service management tools").join(" "))])};Sidebar.prototype.addAWSMobileServicesPalette=function(){var a="dashed=0;html=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Mobile Services","AWS / Mobile Services",!1,[this.createVertexTemplateEntry(a+"mobile_services.aws_mobile_hub;strokeColor=none;",83,86,"","AWS Mobile Hub",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","aws mobile hub","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.cognito;strokeColor=none;",59,72,"","Cognito",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices",\r\n"cognito","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.device_farm;strokeColor=none;",68,82,"","Device Farm",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","device farm","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.mobile_analytics;strokeColor=none;",70,72,"","Mobile Analytics",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","mobile analytics",\r\n"aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.sns;strokeColor=none;",69,69,"","SNS",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.sns_email_notification;strokeColor=none;",90,56,"","SNS Email Notification",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns email notification","aws group amazon web service mobile services").join(" ")),\r\nthis.createVertexTemplateEntry(a+"mobile_services.sns_http_notification;strokeColor=none;",90,56,"","SNS HTTP Notification",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns http notification","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_services.sns_topic;strokeColor=none;",90,56,"","SNS Topic",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns topic","aws group amazon web service mobile services").join(" "))])};\r\nSidebar.prototype.addAWSNetworkingPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Networking","AWS / Networking",!1,[this.createVertexTemplateEntry(a+"compute_and_networking.aws_direct_connect;strokeColor=none;",59,72,"","Direct Connect",null,null,this.getTagsForStencil("mxgraph.aws.networking","direct connect","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.route_53;strokeColor=none;",\r\n59,72,"","Route 53",null,null,this.getTagsForStencil("mxgraph.aws.networking","route 53","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.route_53_hosted_zone;strokeColor=none;",58,56,"","Route 53 Hosted Zone",null,null,this.getTagsForStencil("mxgraph.aws.networking","route 53 hosted zone","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.route_53_route_table;strokeColor=none;",\r\n66,61,"","Route 53 Table",null,null,this.getTagsForStencil("mxgraph.aws.networking","route 53 table","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc;strokeColor=none;",59,72,"","VPC",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpc_customer_gateway;strokeColor=none;",61,64,"","VPC Customer Gateway",\r\nnull,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud customer gateway","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpc_endpoints;strokeColor=none;",61,64,"","VPC Endpoints",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud endpoints","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpc_flowlogs;strokeColor=none;",61,64,"","VPC Flowlogs",\r\nnull,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud flowlogs","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc_internet_gateway;strokeColor=none;",55,57,"","VPC Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud internet gateway","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc_peering;strokeColor=none;",\r\n55,57,"","VPC Peering",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud peering","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpc_router;strokeColor=none;",61,64,"","VPC Router",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud router","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc_vpn_connection;strokeColor=none;",\r\n52,41,"","VPC VPN Connection",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud vpn connection","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.vpc_vpn_gateway;strokeColor=none;",55,57,"","VPC VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud vpn gateway","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(a+"networking.vpcnat_gateway;strokeColor=none;",\r\n61,64,"","VPCNAT Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud vpcnat gateway","aws group amazon web service networking").join(" "))])};Sidebar.prototype.addAWSOnDemandWorkforcePalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2On-Demand Workforce","AWS / On-Demand Workforce",!1,[this.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk;strokeColor=none;",60,72,"","Mechanical Turk",\r\nnull,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk_assignment_task;strokeColor=none;",41,56,"","Mechanical Turk Assignment Task",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk assignment task","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk_human_intelligence_tasks;strokeColor=none;",\r\n46,50,"","Mechanical Turk Human Intelligence Task (HIT)",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk human intelligence task hit","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk_requester;strokeColor=none;",49,57,"","Mechanical Turk Requester",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk requester","aws group amazon web service on demand workforce").join(" ")),\r\nthis.createVertexTemplateEntry(a+"on-demand_workforce.mechanical_turk_workers;strokeColor=none;",59,57,"","Mechanical Turk Workers",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk workers","aws group amazon web service on demand workforce").join(" "))])};Sidebar.prototype.addAWSSDKPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2SDKs","AWS / SDKs",!1,[this.createVertexTemplateEntry(a+"sdks.android;strokeColor=none;",\r\n62,72,"","Android",null,null,this.getTagsForStencil("mxgraph.aws.sdks","android","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.cli;strokeColor=none;",62,72,"","CLI",null,null,this.getTagsForStencil("mxgraph.aws.sdks","cli","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.aws_toolkit_for_eclipse;strokeColor=none;",62,72,"","Toolkit for Eclipse",null,null,this.getTagsForStencil("mxgraph.aws.sdks",\r\n"toolkit eclipse","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.aws_toolkit_for_visual_studio;strokeColor=none;",62,72,"","Toolkit for Visual Studio",null,null,this.getTagsForStencil("mxgraph.aws.sdks","toolkit visual studio","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.tools_for_windows_powershell;strokeColor=none;",62,72,"","Tools for Windows PowerShell",null,null,this.getTagsForStencil("mxgraph.aws.sdks",\r\n"tools windows powershell","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.ios;strokeColor=none;",62,72,"","iOS",null,null,this.getTagsForStencil("mxgraph.aws.sdks","ios","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.java;strokeColor=none;",62,72,"","Java",null,null,this.getTagsForStencil("mxgraph.aws.sdks","java","aws group amazon web service sdk softvare development kit").join(" ")),\r\nthis.createVertexTemplateEntry(a+"sdks.javascript;strokeColor=none;",62,72,"","JavaScript",null,null,this.getTagsForStencil("mxgraph.aws.sdks","javascript","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.net;strokeColor=none;",62,72,"","Net",null,null,this.getTagsForStencil("mxgraph.aws.sdks","net","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.nodejs;strokeColor=none;",62,\r\n72,"","NodeJS",null,null,this.getTagsForStencil("mxgraph.aws.sdks","nodejs","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.php;strokeColor=none;",62,72,"","PHP",null,null,this.getTagsForStencil("mxgraph.aws.sdks","php","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.python;strokeColor=none;",62,72,"","Python",null,null,this.getTagsForStencil("mxgraph.aws.sdks","python","aws group amazon web service sdk softvare development kit").join(" ")),\r\nthis.createVertexTemplateEntry(a+"sdks.ruby;strokeColor=none;",62,72,"","Ruby",null,null,this.getTagsForStencil("mxgraph.aws.sdks","ruby","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(a+"sdks.xamarin;strokeColor=none;",62,72,"","Xamarin",null,null,this.getTagsForStencil("mxgraph.aws.sdks","xamarin","aws group amazon web service sdk softvare development kit").join(" "))])};Sidebar.prototype.addAWSSecurityAndIdentityPalette=function(){var a="dashed=0;html=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Security and Identity","AWS / Security and Identity",!1,[this.createVertexTemplateEntry(a+"security_and_identity.acm;strokeColor=none;",68,55,"","ACM",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","acm","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.acm_certificate_manager;strokeColor=none;",65,56,"","ACM Certificate Manager",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity",\r\n"acm certificate manager","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.service_catalog;strokeColor=none;",68,82,"","Inspector",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","service catalog","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.cloud_hsm;strokeColor=none;",60,72,"","Cloud HSM",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity",\r\n"cloud hsm","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.directory_service;strokeColor=none;",60,72,"","Directory Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","directory service","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam;strokeColor=none;",37,72,"","IAM",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity",\r\n"iam","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_add-on;strokeColor=none;",44,24,"","IAM Add-on",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam addon add on","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_sts;strokeColor=none;",54,31,"","IAM Security Token Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity",\r\n"iam sts security token service","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_security_token_service;strokeColor=none;",40,55,"","IAM Security Token Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam sts security token service","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_data_encryption_key;strokeColor=none;",\r\n40,53,"","IAM Data Encryption Key",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam data encryption key","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_encrypted_data;strokeColor=none;",38,49,"","IAM Encrypted Data",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam encrypted data","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_credentials;strokeColor=none;",\r\n53,39,"","IAM Long Term Security Credential",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam long term security credential","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_mfa_token;strokeColor=none;",53,53,"","IAM MFA Token",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam mfa token","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+\r\n"deployment_and_management.iam_permissions;strokeColor=none;",42,57,"","IAM Permissions",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam permissions","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"deployment_and_management.iam_roles;strokeColor=none;",84,72,"","IAM Role",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam role","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+\r\n"deployment_and_management.iam_short_term_credentials;strokeColor=none;",61,49,"","IAM Temporary Security Credential",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam temporary security credential","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.key_management_service;strokeColor=none;",68,82,"","Key Management Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","key management service",\r\n"aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(a+"security_and_identity.webapp_firewall;strokeColor=none;",68,82,"","WebApp Firewall",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","webapp firewall","aws group amazon web service security identity").join(" "))])};Sidebar.prototype.addAWSStorageAndContentDeliveryPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Storage and Content Delivery",\r\n"AWS / Storage and Content Delivery",!1,[this.createVertexTemplateEntry(a+"storage_and_content_delivery.cloudfront;strokeColor=none;",59,72,"","CloudFront",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","cloudfront","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.cloudfront_download_distribution;strokeColor=none;",55,57,"","CloudFront Download Distribution",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery",\r\n"cloudfront download distribution","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.cloudfront_edge_location;strokeColor=none;",55,57,"","CloudFront Edge Location",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","cloudfront edge location","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.cloudfront_streaming_distribution;strokeColor=none;",\r\n55,57,"","CloudFront Streaming Distribution",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","cloudfront streaming distribution","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.efs;strokeColor=none;",60,72,"","EFS",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","efs","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+\r\n"storage_and_content_delivery.ebs;strokeColor=none;",46,66,"","Elastic Block Store",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","ebs elastic block store","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.glacier;strokeColor=none;",59,71,"","Glacier",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","glacier","aws group amazon web service storage content delivery").join(" ")),\r\nthis.createVertexTemplateEntry(a+"storage_and_content_delivery.glacier_archive;strokeColor=none;",56,66,"","Glacier Archive",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","glacier archive","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.glacier_vault;strokeColor=none;",46,66,"","Glacier Vault",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","glacier vault","aws group amazon web service storage content delivery").join(" ")),\r\nthis.createVertexTemplateEntry(a+"storage_and_content_delivery.aws_import_export;strokeColor=none;",57,56,"","Import Export",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","aws import export","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.snowball;strokeColor=none;",68,82,"","Import Export Snowball",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","snowball","aws group amazon web service storage content delivery").join(" ")),\r\nthis.createVertexTemplateEntry(a+"storage_and_content_delivery.s3;strokeColor=none;",59,72,"","S3",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.s3_bucket;strokeColor=none;",54,56,"","S3 Bucket",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3 bucket","aws group amazon web service storage content delivery").join(" ")),\r\nthis.createVertexTemplateEntry(a+"storage_and_content_delivery.s3_bucket_with_objects;strokeColor=none;",55,56,"","S3 Bucket with Objects",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3 bucket with objects","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.s3_objects;strokeColor=none;",37,40,"","S3 Objects",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3 objects",\r\n"aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.ebs_snapshot;strokeColor=none;",53,65,"","Snapshot",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","snapshot","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.aws_storage_gateway;strokeColor=none;",59,72,"","Storage Gateway",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery",\r\n"storage gateway","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.storage_gateway_cached_volumn;strokeColor=none;",52,66,"","Storage Gateway Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway cached volume","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.storage_gateway_non-cached_volumn;strokeColor=none;",\r\n52,66,"","Storage Gateway Non-Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway non cached volume","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.storage_gateway_virtual_tape_library;strokeColor=none;",52,66,"","Storage Gateway Virtual Tape Library",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway virtual tape library",\r\n"aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.ebs_volume;strokeColor=none;",46,66,"","Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","volume","aws group amazon web service storage content delivery").join(" "))])};Sidebar.prototype.addAWSGroupPalette=function(){var a=this,b="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws.groups.";this.addPaletteFunctions("aws2Groups","AWS / Groups",\r\n!1,[this.createVertexTemplateEntry(b+"auto_scaling_group;fillColor=none;gradientColor=none;",200,200,"","Auto Scaling Group",null,null,this.getTagsForStencil("mxgraph.aws.groups","auto_scaling_group","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(b+"availability_zone;strokeColor=#f69721;fillColor=none;gradientColor=none;",200,200,"","Availability Zone",null,null,this.getTagsForStencil("mxgraph.aws.groups","availability_zone","aws group amazon web service ").join(" ")),\r\nthis.addEntry("aws group amazon web service cloud",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(10,0,70,40),b+"aws_cloud_icon;strokeColor=none;fillColor=#F69721;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"AWS Cloud")}),this.addEntry("aws group amazon web service corporate data center",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;");\r\ne.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,40),b+"corporate_data_center_icon;strokeColor=none;fillColor=#6D6F70;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Corporate Data Center")}),this.addEntry("aws group amazon web service ec2 instance content",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"rrect;strokeColor=none;fillColor=#F69721;gradientColor=none;");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"EC2 Instance Contents")}),this.addEntry("aws group amazon web service EC2 Spot Fleet",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,43,40),b+"ec2_spot_instance;strokeColor=none;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"EC2 Spot Fleet")}),this.addEntry("aws group amazon web service elastic beanstalk container",\r\nfunction(){var e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"elastic_beanstalk_container_icon;strokeColor=none;fillColor=#2A6A35;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Elastic Beanstalk Container")}),this.createVertexTemplateEntry(b+"region;fillColor=none;gradientColor=none;",200,200,"","Region",null,null,this.getTagsForStencil("mxgraph.aws.groups",\r\n"region","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(b+"rrect;fillColor=none;gradientColor=none;",200,200,"","Security Group",null,null,this.getTagsForStencil("mxgraph.aws.groups","security","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(b+"rrect;fillColor=#F2F2F2;gradientColor=none;",200,200,"","Server Contents",null,null,this.getTagsForStencil("mxgraph.aws.groups","server content","aws group amazon web service ").join(" ")),this.addEntry("aws group amazon web service virtual private cloud",\r\nfunction(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(10,0,70,40),b+"virtual_private_cloud_icon;strokeColor=none;fillColor=#282560;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service virtual private cloud subnet vpc",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");\r\ne.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"vpc_subnet_icon;strokeColor=none;fillColor=#282560;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"VPC Subnet")})])}})();(function(){Sidebar.prototype.addAWS3Palette=function(){this.setCurrentSearchEntryLibrary("aws3","aws3Analytics");this.addAWS3AnalyticsPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Application Services");this.addAWS3ApplicationServicesPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Artificial Intelligence");this.addAWS3ArtificialIntelligencePalette();this.setCurrentSearchEntryLibrary("aws3","aws3Business Productivity");this.addAWS3BusinessProductivityPalette();this.setCurrentSearchEntryLibrary("aws3",\r\n"aws3Compute");this.addAWS3ComputePalette();this.setCurrentSearchEntryLibrary("aws3","aws3Contact Center");this.addAWS3ContactCenterPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Database");this.addAWS3DatabasePalette();this.setCurrentSearchEntryLibrary("aws3","aws3Desktop and App Streaming");this.addAWS3DesktopAndAppStreamingPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Developer Tools");this.addAWS3DeveloperToolsPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Game Development");\r\nthis.addAWS3GameDevelopmentPalette();this.setCurrentSearchEntryLibrary("aws3","aws3General");this.addAWS3GeneralPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Groups");this.addAWS3GroupsPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Internet of Things");this.addAWS3InternetOfThingsPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Management Tools");this.addAWS3ManagementToolsPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Messaging");this.addAWS3MessagingPalette();\r\nthis.setCurrentSearchEntryLibrary("aws3","aws3Migration");this.addAWS3MigrationPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Mobile Services");this.addAWS3MobileServicesPalette();this.setCurrentSearchEntryLibrary("aws3","aws3Networking and Content Delivery");this.addAWS3NetworkAndContentDeliveryPalette();this.setCurrentSearchEntryLibrary("aws3","aws3On Demand Workforce");this.addAWS3OnDemandWorkforcePalette();this.setCurrentSearchEntryLibrary("aws3","aws3SDKs");this.addAWS3SDKPalette();\r\nthis.setCurrentSearchEntryLibrary("aws3","aws3Security Identity and Compliance");this.addAWS3SecurityIdentityAndCompliancePalette();this.setCurrentSearchEntryLibrary("aws3","aws3Storage");this.addAWS3StoragePalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAWS3AnalyticsPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Analytics","AWS17 / Analytics",\r\n!1,[this.createVertexTemplateEntry(a+"athena;fillColor=#F58534;gradientColor=none;",76.5,76.5,"","Athena",null,null,this.getTagsForStencil("mxgraph.aws3","athena","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"cloudsearch;fillColor=#F58534;gradientColor=none;",76.5,93,"","CloudSearch",null,null,this.getTagsForStencil("mxgraph.aws3","cloudsearch cloud search","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"elasticsearch_service;fillColor=#F58534;gradientColor=none;",\r\n67.5,81,"","ElasticSearch Service",null,null,this.getTagsForStencil("mxgraph.aws3","elasticsearch elastic search service","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr;fillColor=#F58534;gradientColor=none;",67.5,81,"","EMR",null,null,this.getTagsForStencil("mxgraph.aws3","emr","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis;fillColor=#F58534;gradientColor=none;",67.5,81,"","Kinesis",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"kinesis","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"quicksight;fillColor=#00B7F4;gradientColor=none;",60,60,"","QuickSight",null,null,this.getTagsForStencil("mxgraph.aws3","quicksight quick sight","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"redshift;fillColor=#2E73B8;gradientColor=none;",67.5,75,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws3","redshift","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+\r\n"data_pipeline;fillColor=#F58534;gradientColor=none;",67.5,81,"","Data Pipeline",null,null,this.getTagsForStencil("mxgraph.aws3","data pipeline","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"search_documents;fillColor=#F58534;gradientColor=none;",60,63,"","Search Documents",null,null,this.getTagsForStencil("mxgraph.aws3","search documents","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr_cluster;fillColor=#F58534;gradientColor=none;",\r\n55.5,63,"","Cluster",null,null,this.getTagsForStencil("mxgraph.aws3","emr cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr_engine;fillColor=#F58534;gradientColor=none;",82.5,60,"","EMR engine",null,null,this.getTagsForStencil("mxgraph.aws3","emr engine","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr_engine_mapr_m3;fillColor=#F58534;gradientColor=none;",82.5,60,"","EMR engine MapR M3",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"emr engine MapR M3","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr_engine_mapr_m5;fillColor=#F58534;gradientColor=none;",82.5,60,"","EMR engine MapR M5",null,null,this.getTagsForStencil("mxgraph.aws3","emr engine MapR M5","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr_engine_mapr_m7;fillColor=#F58534;gradientColor=none;",82.5,60,"","EMR engine MapR M7",null,null,this.getTagsForStencil("mxgraph.aws3","emr engine MapR M7",\r\n"aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"glue;fillColor=#F58534;gradientColor=none;",82.5,99,"","Glue",null,null,this.getTagsForStencil("mxgraph.aws3","glue","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"hdfs_cluster;fillColor=#F58534;gradientColor=none;",61.5,63,"","HDFS Cluster",null,null,this.getTagsForStencil("mxgraph.aws3","hdfs Cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis_analytics;fillColor=#F58534;gradientColor=none;",\r\n73.5,75,"","Kinesis Analytics",null,null,this.getTagsForStencil("mxgraph.aws3","kinesis analytics","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis_enabled_app;fillColor=#F58534;gradientColor=none;",64.5,67.5,"","Kinesis-enabled app",null,null,this.getTagsForStencil("mxgraph.aws3","kinesis enabled app","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis_firehose;fillColor=#F58534;gradientColor=none;",60,64.5,"","Kinesis Firehose",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","kinesis firehose","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis_streams;fillColor=#F58534;gradientColor=none;",60,63,"","Kinesis Streams",null,null,this.getTagsForStencil("mxgraph.aws3","kinesis streams","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"dense_compute_node;fillColor=#2E73B8;gradientColor=none;",55.5,63,"","Dense Compute Node",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"dense compute node","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"dense_storage_node;fillColor=#2E73B8;gradientColor=none;",55.5,63,"","Dense Storage Node",null,null,this.getTagsForStencil("mxgraph.aws3","dense storage node","aws amazon web service analytics").join(" "))])};Sidebar.prototype.addAWS3ApplicationServicesPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";\r\nthis.addPaletteFunctions("aws3Application Services","AWS17 / Application Services",!1,[this.createVertexTemplateEntry(a+"elastic_transcoder;fillColor=#D9A741;gradientColor=none;",76.5,93,"","Elastic Transcoder",null,null,this.getTagsForStencil("mxgraph.aws3","elastic transcoder","aws amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"api_gateway;fillColor=#D9A741;gradientColor=none;",76.5,93,"","API Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","api gateway",\r\n"aws amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"step_functions;fillColor=#D9A741;gradientColor=none;",76.5,93,"","Step Functions",null,null,this.getTagsForStencil("mxgraph.aws3","step functions","aws amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"swf;fillColor=#D9A741;gradientColor=none;",76.5,93,"","SWF",null,null,this.getTagsForStencil("mxgraph.aws3","swf","aws amazon web service app application services").join(" ")),\r\nthis.createVertexTemplateEntry(a+"decider;fillColor=#D9A741;gradientColor=none;",61.5,64.5,"","Decider",null,null,this.getTagsForStencil("mxgraph.aws3","decider","aws amazon web service app application services").join(" ")),this.createVertexTemplateEntry(a+"worker;fillColor=#D9A741;gradientColor=none;",60,63,"","Worker",null,null,this.getTagsForStencil("mxgraph.aws3","worker","aws amazon web service app application services").join(" "))])};Sidebar.prototype.addAWS3ArtificialIntelligencePalette=function(){var a=\r\n"outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Artificial Intelligence","AWS17 / Artificial Intelligence",!1,[this.createVertexTemplateEntry(a+"lex;fillColor=#2E73B8;gradientColor=none;",76.5,81,"","Lex",null,null,this.getTagsForStencil("mxgraph.aws3","lex","aws amazon web service ai artificial intelligence").join(" ")),this.createVertexTemplateEntry(a+"machine_learning;fillColor=#2E73B8;gradientColor=none;",\r\n76.5,93,"","Machine Learning",null,null,this.getTagsForStencil("mxgraph.aws3","machine learning","aws amazon web service ai artificial intelligence").join(" ")),this.createVertexTemplateEntry(a+"polly;fillColor=#2E73B8;gradientColor=none;",76.5,93,"","Polly",null,null,this.getTagsForStencil("mxgraph.aws3","polly","aws amazon web service ai artificial intelligence").join(" ")),this.createVertexTemplateEntry(a+"rekognition;fillColor=#2E73B8;gradientColor=none;",76.5,93,"","Rekognition",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"rekognition","aws amazon web service ai artificial intelligence").join(" "))])};Sidebar.prototype.addAWS3BusinessProductivityPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Business Productivity","AWS17 / Business Productivity",!1,[this.createVertexTemplateEntry(a+"chime;fillColor=#03B5BB;gradientColor=none;",99,99,"","Chime",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"chime","aws amazon web service business productivity").join(" ")),this.createVertexTemplateEntry(a+"workdocs;fillColor=#D16A28;gradientColor=#F58435;gradientDirection=north;",82.5,94.5,"","WorkDocs",null,null,this.getTagsForStencil("mxgraph.aws3","workdocs work docs documents","aws amazon web service business productivity").join(" ")),this.createVertexTemplateEntry(a+"workmail;fillColor=#D16A28;gradientColor=#F58435;gradientDirection=north;",82.5,94.5,"","WorkMail",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"workmail work mail","aws amazon web service business productivity").join(" "))])};Sidebar.prototype.addAWS3ComputePalette=function(){var a=this,b="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Compute","AWS17 / Compute",!1,[this.createVertexTemplateEntry(b+"ami;fillColor=#F58534;gradientColor=none;",60,63,"","AMI",null,null,this.getTagsForStencil("mxgraph.aws3","ami","aws amazon web service compute").join(" ")),\r\nthis.createVertexTemplateEntry(b+"ec2;fillColor=#F58534;gradientColor=none;",76.5,93,"","EC2",null,null,this.getTagsForStencil("mxgraph.aws3","ec2","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_load_balancing;fillColor=#F58534;gradientColor=none;",76.5,93,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws3","elastic load balancing","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"auto_scaling;fillColor=#F58534;gradientColor=none;",\r\n79.5,76.5,"","Auto Scaling",null,null,this.getTagsForStencil("mxgraph.aws3","auto scaling","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_ip;fillColor=#F58534;gradientColor=none;",76.5,21,"","Elastic IP",null,null,this.getTagsForStencil("mxgraph.aws3","elastic ip","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_beanstalk;fillColor=#F58534;gradientColor=none;",67.5,93,"","Elastic Beanstalk",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"elastic beanstalk","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"lambda;fillColor=#F58534;gradientColor=none;",76.5,93,"","Lambda",null,null,this.getTagsForStencil("mxgraph.aws3","lambda","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ecs;fillColor=#F58534;gradientColor=none;",72,67.5,"","ECS",null,null,this.getTagsForStencil("mxgraph.aws3","ecs","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"db_on_instance;fillColor=#F58534;gradientColor=none;",\r\n60,64.5,"","DB on Instance",null,null,this.getTagsForStencil("mxgraph.aws3","db on instance database","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"instance;fillColor=#F58534;gradientColor=none;",60,63,"","Instance",null,null,this.getTagsForStencil("mxgraph.aws3","instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"lightsail;fillColor=#F58534;gradientColor=none;",76.5,82.5,"","Lightsail",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"lightsail","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"endpoints;fillColor=#F58534;gradientColor=none;",69,72,"","Endpoints",null,null,this.getTagsForStencil("mxgraph.aws3","endpoints","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"instances;fillColor=#F58534;gradientColor=none;",60,63,"","Instances",null,null,this.getTagsForStencil("mxgraph.aws3","instances","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+\r\n"elastic_network_interface;fillColor=#F58534;gradientColor=none;",69,72,"","Elastic Network Interface",null,null,this.getTagsForStencil("mxgraph.aws3","elastic network interface","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"internet_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","internet gateway","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"flow_logs;fillColor=#F58534;gradientColor=none;",\r\n69,72,"","Flow Logs",null,null,this.getTagsForStencil("mxgraph.aws3","flow logs","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"customer_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","Customer Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","customer gateway","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"instance_with_cloudwatch;fillColor=#F58534;gradientColor=none;",60,63,"","Instance with CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"instance with cloudwatch","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_network_adapter;fillColor=#F58534;gradientColor=none;",75,90,"","Elastic Network Adapter",null,null,this.getTagsForStencil("mxgraph.aws3","elastic network adapter","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"optimized_instance;fillColor=#F58534;gradientColor=none;",60,63,"","Optimized Instance",null,null,this.getTagsForStencil("mxgraph.aws3","optimized instance",\r\n"aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"rescue;fillColor=#F58534;gradientColor=none;",63,66,"","Rescue",null,null,this.getTagsForStencil("mxgraph.aws3","rescue","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"spot_instance;fillColor=#F58534;gradientColor=none;",60,63,"","Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws3","spot instance","aws amazon web service compute").join(" ")),this.addEntry("aws amazon web service computeSpot Fleet",\r\nfunction(){var e=new mxCell("",new mxGeometry(0,30,200,200),"rounded=1;fillColor=none;gradientColor=none;arcSize=10;dashed=1;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,43,40),b+"spot_instance;fillColor=#F58534;strokeColor=none;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"Spot Fleet")}),this.createVertexTemplateEntry(b+"ecr;fillColor=#F58534;gradientColor=none;",69,72,"","ECR",null,null,this.getTagsForStencil("mxgraph.aws3","ecr","aws amazon web service compute").join(" ")),\r\nthis.createVertexTemplateEntry(b+"vpn_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpn gateway virtual private network","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"deployment;fillColor=#F58534;gradientColor=none;",55.5,73.5,"","Deployment",null,null,this.getTagsForStencil("mxgraph.aws3","deployment","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpn_connection;fillColor=#F58534;gradientColor=none;",\r\n58.5,48,"","VPN Connection",null,null,this.getTagsForStencil("mxgraph.aws3","vpn connection virtual private network","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpc_peering;fillColor=#F58534;gradientColor=none;",69,72,"","VPC Peering",null,null,this.getTagsForStencil("mxgraph.aws3","vpc peering virtual private cloud","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"application;fillColor=#F58534;gradientColor=none;",34.5,64.5,"","Application",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","application","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_compute_container;fillColor=#F58534;gradientColor=none;",60,34.5,"","EC2 Compute Container",null,null,this.getTagsForStencil("mxgraph.aws3","ec2 compute container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_compute_container_2;fillColor=#F58534;gradientColor=none;",60,34.5,"","EC2 Compute Container",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"ec2 compute container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_compute_container_3;fillColor=#F58534;gradientColor=none;",60,34.5,"","EC2 Compute Container",null,null,this.getTagsForStencil("mxgraph.aws3","ec2 compute container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpc_nat_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","VPC NAT Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpc nat gateway virtual private cloud",\r\n"aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ecr_registry;fillColor=#F58534;gradientColor=none;",57,60,"","ECR Registry",null,null,this.getTagsForStencil("mxgraph.aws3","ecr registry","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"batch;fillColor=#F58534;gradientColor=none;",76.5,93,"","Batch",null,null,this.getTagsForStencil("mxgraph.aws3","batch","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"router;fillColor=#F58534;gradientColor=none;",\r\n69,72,"","Router",null,null,this.getTagsForStencil("mxgraph.aws3","router","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpc;fillColor=#F58534;gradientColor=none;",67.5,81,"","VPC",null,null,this.getTagsForStencil("mxgraph.aws3","vpc virtual private cloud","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"network_access_controllist;fillColor=#F58534;gradientColor=none;",69,72,"","Network Access Controllist",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"network access controllist","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"lambda_function;fillColor=#F58534;gradientColor=none;",69,72,"","Lambda Function",null,null,this.getTagsForStencil("mxgraph.aws3","lambda function","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"classic_load_balancer;fillColor=#F58534;gradientColor=none;",69,72,"","Classic Load Balancer",null,null,this.getTagsForStencil("mxgraph.aws3","classic load balancer",\r\n"aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"application_load_balancer;fillColor=#F58534;gradientColor=none;",69,72,"","Application Load Balancer",null,null,this.getTagsForStencil("mxgraph.aws3","application load balancer","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"x1_instance;fillColor=#F58534;gradientColor=none;",60,63,"","X1 Instance",null,null,this.getTagsForStencil("mxgraph.aws3","x1 instance","aws amazon web service compute").join(" "))])};\r\nSidebar.prototype.addAWS3ContactCenterPalette=function(){this.addPaletteFunctions("aws3Contact Center","AWS17 / Contact Center",!1,[this.createVertexTemplateEntry("outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.connect;fillColor=#759C3E;gradientColor=none;",90,69,"","Connect",null,null,this.getTagsForStencil("mxgraph.aws3","connect","aws amazon web service contact center").join(" "))])};Sidebar.prototype.addAWS3DatabasePalette=\r\nfunction(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Database","AWS17 / Database",!1,[this.createVertexTemplateEntry(a+"dynamo_db;fillColor=#2E73B8;gradientColor=none;",72,81,"","Dynamo DB",null,null,this.getTagsForStencil("mxgraph.aws3","dynamo","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"elasticache;fillColor=#2E73B8;gradientColor=none;",\r\n67.5,81,"","ElastiCache",null,null,this.getTagsForStencil("mxgraph.aws3","elasticache elastic cache","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"rds;fillColor=#2E73B8;gradientColor=none;",72,81,"","RDS",null,null,this.getTagsForStencil("mxgraph.aws3","rds","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"redshift;fillColor=#2E73B8;gradientColor=none;",67.5,75,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws3","redshift",\r\n"aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"redis;fillColor=#2E73B8;gradientColor=none;",60,63,"","Redis",null,null,this.getTagsForStencil("mxgraph.aws3","redis","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"rds_db_instance;fillColor=#2E73B8;gradientColor=none;",49.5,66,"","RDS DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3","rds instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+\r\n"rds_db_instance_read_replica;fillColor=#2E73B8;gradientColor=none;",49.5,66,"","RDS DB Instance Read Replica",null,null,this.getTagsForStencil("mxgraph.aws3","rds instance read replica","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"oracle_db_instance;fillColor=#2E73B8;gradientColor=none;",60,64.5,"","Oracle DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3","oracle instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+\r\n"piop;fillColor=#2E73B8;gradientColor=none;",60,63,"","PIOP",null,null,this.getTagsForStencil("mxgraph.aws3","piop","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"attribute;fillColor=#2E73B8;gradientColor=none;",63,66,"","Attribute",null,null,this.getTagsForStencil("mxgraph.aws3","attribute","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"attributes;fillColor=#2E73B8;gradientColor=none;",63,66,"","Attributes",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"attributes","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"item;fillColor=#2E73B8;gradientColor=none;",63,66,"","Item",null,null,this.getTagsForStencil("mxgraph.aws3","item","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"global_secondary_index;fillColor=#2E73B8;gradientColor=none;",67.5,66,"","Global Secondary Index",null,null,this.getTagsForStencil("mxgraph.aws3","global secondary index","aws amazon web service db database").join(" ")),\r\nthis.createVertexTemplateEntry(a+"items;fillColor=#2E73B8;gradientColor=none;",63,66,"","Items",null,null,this.getTagsForStencil("mxgraph.aws3","items","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"db_accelerator;fillColor=#2E73B8;gradientColor=none;",72,81,"","DB Accelerator",null,null,this.getTagsForStencil("mxgraph.aws3","db database accelerator","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"table;fillColor=#2E73B8;gradientColor=none;",\r\n67.5,66,"","Table",null,null,this.getTagsForStencil("mxgraph.aws3","table","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"memcached;fillColor=#2E73B8;gradientColor=none;",60,63,"","Memcached",null,null,this.getTagsForStencil("mxgraph.aws3","memcached","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"mysql_db_instance;fillColor=#2E73B8;gradientColor=none;",60,64.5,"","MySQL DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"mysql instance my sql","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"rds_db_instance_standby_multi_az;fillColor=#2E73B8;gradientColor=none;",49.5,66,"","RDS DB Instance standby (multi-AZ)",null,null,this.getTagsForStencil("mxgraph.aws3","rds instance standby multi","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"cache_node;fillColor=#2E73B8;gradientColor=none;",60,63,"","Cache Node",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"cache node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"sql_master;fillColor=#2E73B8;gradientColor=none;",60,64.5,"","SQL Master",null,null,this.getTagsForStencil("mxgraph.aws3","sql master","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"sql_slave;fillColor=#2E73B8;gradientColor=none;",60,64.5,"","SQL Slave",null,null,this.getTagsForStencil("mxgraph.aws3","sql slave","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+\r\n"ms_sql_instance_2;fillColor=#2E73B8;gradientColor=none;",60,63,"","MS SQL Instance",null,null,this.getTagsForStencil("mxgraph.aws3","ms sql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"mysql_db_instance_2;fillColor=#2E73B8;gradientColor=none;",60,63,"","MySQL DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3","mysql instance my sql","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"ms_sql_instance;fillColor=#2E73B8;gradientColor=none;",\r\n60,64.5,"","MS SQL Instance",null,null,this.getTagsForStencil("mxgraph.aws3","ms sql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"oracle_db_instance_2;fillColor=#2E73B8;gradientColor=none;",60,63,"","Oracle DB Instance",null,null,this.getTagsForStencil("mxgraph.aws3","oracle instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"postgre_sql_instance;fillColor=#2E73B8;gradientColor=none;",60,63,"","Postgre SQL Instance",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","postgre sql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"dense_compute_node;fillColor=#2E73B8;gradientColor=none;",55.5,63,"","Dense Compute Node",null,null,this.getTagsForStencil("mxgraph.aws3","dense compute node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"dense_storage_node;fillColor=#2E73B8;gradientColor=none;",55.5,63,"","Dense Storage Node",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"dense storage node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"database_migration_workflow_job;fillColor=#2E73B8;gradientColor=none;pointerEvents=1",46.5,87,"","Database Migration Workflow/Job",null,null,this.getTagsForStencil("mxgraph.aws3","database migration workflow job","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"database_migration_service;fillColor=#2E73B8;gradientColor=none;",72,81,"","Database Migration Service",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","database migration service","aws amazon web service db database").join(" "))])};Sidebar.prototype.addAWS3DesktopAndAppStreamingPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Desktop and App Streaming","AWS17 / Desktop and App Streaming",!1,[this.createVertexTemplateEntry(a+"appstream;fillColor=#D9A741;gradientColor=none;",\r\n76.5,93,"","AppStream",null,null,this.getTagsForStencil("mxgraph.aws3","appstream","aws amazon web service desktop app streaming application").join(" ")),this.createVertexTemplateEntry(a+"workspaces;fillColor=#D16A28;gradientColor=#F58435;gradientDirection=north;",82.5,94.5,"","WorkSpaces",null,null,this.getTagsForStencil("mxgraph.aws3","workspaces work spaces","aws amazon web service desktop app streaming application").join(" "))])};Sidebar.prototype.addAWS3DeveloperToolsPalette=function(){var a=\r\n"outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Developer Tools","AWS17 / Developer Tools",!1,[this.createVertexTemplateEntry(a+"codecommit;fillColor=#759C3E;gradientColor=none;",76.5,93,"","CodeCommit",null,null,this.getTagsForStencil("mxgraph.aws3","codecommit code commit","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(a+"codedeploy;fillColor=#759C3E;gradientColor=none;",\r\n67.5,81,"","CodeDeploy",null,null,this.getTagsForStencil("mxgraph.aws3","codedeploy code deploy","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(a+"codepipeline;fillColor=#759C3E;gradientColor=none;",67.5,81,"","CodePipeline",null,null,this.getTagsForStencil("mxgraph.aws3","codepipeline code pipeline","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(a+"codestar;fillColor=#759C3E;gradientColor=none;",67.5,81,"","CodeStar",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","codestar code star","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(a+"codebuild;fillColor=#759C3E;gradientColor=none;",76.5,93,"","CodeBuild",null,null,this.getTagsForStencil("mxgraph.aws3","codebuild code build","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(a+"x_ray;fillColor=#759C3E;gradientColor=none;",76.5,85.5,"","X-Ray",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"x ray","aws amazon web service dev developer tools").join(" "))])};Sidebar.prototype.addAWS3GameDevelopmentPalette=function(){this.addPaletteFunctions("aws3Game Development","AWS17 / Game Development",!1,[this.createVertexTemplateEntry("outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.gamelift;fillColor=#AD688B;gradientColor=none;",70.5,85.5,"","GameLift",null,null,this.getTagsForStencil("mxgraph.aws3","gamelift game lift",\r\n"aws amazon web service game development").join(" "))])};Sidebar.prototype.addAWS3GeneralPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3General","AWS17 / General",!1,[this.createVertexTemplateEntry(a+"management_console;fillColor=#F58534;gradientColor=none;",63,63,"","Management Console",null,null,this.getTagsForStencil("mxgraph.aws3","management console",\r\n"aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"cloud_2;fillColor=#F58534;gradientColor=none;",75,75,"","Cloud",null,null,this.getTagsForStencil("mxgraph.aws3","cloud","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"forums;fillColor=#F58534;gradientColor=none;",85.5,82.5,"","Forums",null,null,this.getTagsForStencil("mxgraph.aws3","forums","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"virtual_private_cloud;fillColor=#F58534;gradientColor=none;",\r\n79.5,54,"","Virtual Private Cloud",null,null,this.getTagsForStencil("mxgraph.aws3","virtual private cloud vpc","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"management_console;fillColor=#D2D3D3;gradientColor=none;",63,63,"","Client",null,null,this.getTagsForStencil("mxgraph.aws3","client","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"mobile_client;fillColor=#D2D3D3;gradientColor=none;",40.5,63,"","Mobile Client",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"mobile client","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"multimedia;fillColor=#D2D3D3;gradientColor=none;",66,63,"","Multimedia",null,null,this.getTagsForStencil("mxgraph.aws3","multimedia","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"user;fillColor=#D2D3D3;gradientColor=none;",45,63,"","User",null,null,this.getTagsForStencil("mxgraph.aws3","user","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"users;fillColor=#D2D3D3;gradientColor=none;",\r\n66,63,"","Users",null,null,this.getTagsForStencil("mxgraph.aws3","users","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"tape_storage;fillColor=#7D7C7C;gradientColor=none;",75,39,"","Tape Storage",null,null,this.getTagsForStencil("mxgraph.aws3","tape storage","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"corporate_data_center;fillColor=#7D7C7C;gradientColor=none;",46.5,63,"","Corporate Data Center",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"corporate data center","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"traditional_server;fillColor=#7D7C7C;gradientColor=none;",46.5,63,"","Traditional Server",null,null,this.getTagsForStencil("mxgraph.aws3","traditional server","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"disk;fillColor=#7D7C7C;gradientColor=none;",61.5,64.5,"","Disk",null,null,this.getTagsForStencil("mxgraph.aws3","disk","aws amazon web service general").join(" ")),\r\nthis.createVertexTemplateEntry(a+"generic_database;fillColor=#7D7C7C;gradientColor=none;",49.5,64.5,"","Generic Database",null,null,this.getTagsForStencil("mxgraph.aws3","generic database","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"internet;fillColor=#D2D3D3;gradientColor=none;",79.5,79.5,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws3","internet","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"internet_2;fillColor=#D2D3D3;gradientColor=none;",\r\n79.5,54,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws3","internet","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"internet_3;fillColor=#D2D3D3;gradientColor=none;",79.5,54,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws3","internet","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"office_building;fillColor=#7D7C7C;gradientColor=none;",33,79.5,"","Office Building",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"office building","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"saml_token;fillColor=#D2D3D3;gradientColor=none;",69,72,"","SAML Token",null,null,this.getTagsForStencil("mxgraph.aws3","saml token","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(a+"ssl_padlock;fillColor=#D2D3D3;gradientColor=none;",63,78,"","SSL Padlock",null,null,this.getTagsForStencil("mxgraph.aws3","ssl padlock","aws amazon web service general").join(" "))])};Sidebar.prototype.addAWS3GroupsPalette=\r\nfunction(){var a=this,b="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Groups","AWS17 / Groups",!1,[this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;fillColor=none;gradientColor=none;dashPattern=8 3 1 3;strokeWidth=2;",199.5,199.5,"","Auto Scaling Group",null,null,this.getTagsForStencil("mxgraph.aws3","auto scaling group","aws group amazon web service group groups").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#F59D56;fillColor=none;gradientColor=none;dashPattern=8 4;strokeWidth=2;",\r\n199.5,199.5,"","Availability Zone",null,null,this.getTagsForStencil("mxgraph.aws3","availability zone","aws group amazon web service group groups").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;fillColor=none;gradientColor=none;dashPattern=1 1;strokeWidth=2;",199.5,199.5,"","Region",null,null,this.getTagsForStencil("mxgraph.aws3","region","aws group amazon web service group groups").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#ff0000;fillColor=none;gradientColor=none;dashPattern=8 4;strokeWidth=2;",\r\n199.5,199.5,"","Security Group",null,null,this.getTagsForStencil("mxgraph.aws3","security group","aws group amazon web service group groups").join(" ")),this.addEntry("aws group amazon web service group groupselastic beanstalk container",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,41),b+"elastic_beanstalk;fillColor=#F58536;gradientColor=none;dashed=0;");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Elastic Beanstalk Container")}),this.addEntry("aws group amazon web service group groupsec2 instance container",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,41),b+"instance;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,\r\n220,"EC2 Instance Container")}),this.addEntry("aws group amazon web service group groupsvpc subnet",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,35),b+"permissions;fillColor=#D9A741;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"VPC Subnet")}),this.createVertexTemplateEntry("rounded=1;arcSize=10;strokeColor=none;fillColor=#DBDBDB;gradientColor=none;",\r\n199.5,199.5,"","Server Contents",null,null,this.getTagsForStencil("mxgraph.aws3","server contents","aws group amazon web service group groups").join(" ")),this.addEntry("aws group amazon web service group groupsvirtual private cloud",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,52,36),b+"virtual_private_cloud;fillColor=#F58536;gradientColor=none;dashed=0;");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service group groupscloud",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,52,36),b+"cloud;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"AWS Cloud")}),this.addEntry("aws group amazon web service group groupscorporate data center",\r\nfunction(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,42),b+"corporate_data_center;fillColor=#7D7C7C;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Corporate Data Center")})])};Sidebar.prototype.addAWS3InternetOfThingsPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Internet of Things","AWS17 / Internet of Things",!1,[this.createVertexTemplateEntry(a+"aws_iot;fillColor=#5294CF;gradientColor=none;",67.5,81,"","AWS IoT",null,null,this.getTagsForStencil("mxgraph.aws3","iot internet of things","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"greengrass;fillColor=#5294CF;gradientColor=none;",76.5,93,"","Greengrass",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"greengrass","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"action;fillColor=#5294CF;gradientColor=none;",63,64.5,"","Action",null,null,this.getTagsForStencil("mxgraph.aws3","action","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"actuator;fillColor=#5294CF;gradientColor=none;",76.5,90,"","Actuator",null,null,this.getTagsForStencil("mxgraph.aws3","actuator","aws amazon web service iot internet of things").join(" ")),\r\nthis.createVertexTemplateEntry(a+"certificate;fillColor=#5294CF;gradientColor=none;",63,85.5,"","Certificate",null,null,this.getTagsForStencil("mxgraph.aws3","certificate","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"desired_state;fillColor=#5294CF;gradientColor=none;",60,63,"","Desired State",null,null,this.getTagsForStencil("mxgraph.aws3","desired state","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+\r\n"hardware_board;fillColor=#5294CF;gradientColor=none;",84,100.5,"","Hardware Board",null,null,this.getTagsForStencil("mxgraph.aws3","hardware board","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"http_protocol;fillColor=#5294CF;gradientColor=none;",63,66,"","HTTP Protocol",null,null,this.getTagsForStencil("mxgraph.aws3","http protocol","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"http_2_protocol;fillColor=#5294CF;gradientColor=none;",\r\n63,66,"","HTTP/2 Protocol",null,null,this.getTagsForStencil("mxgraph.aws3","http 2 protocol","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"lambda_function;fillColor=#5294CF;gradientColor=none;",60,63,"","Lambda Function",null,null,this.getTagsForStencil("mxgraph.aws3","lambda function","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"mqtt_protocol;fillColor=#5294CF;gradientColor=none;",63,66,"","MQTT Protocol",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","mqtt protocol","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"policy;fillColor=#5294CF;gradientColor=none;",55.5,90,"","Policy",null,null,this.getTagsForStencil("mxgraph.aws3","policy","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"reported_state;fillColor=#5294CF;gradientColor=none;",60,63,"","Reported State",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"reported state","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"rule;fillColor=#5294CF;gradientColor=none;",49.5,99,"","Rule",null,null,this.getTagsForStencil("mxgraph.aws3","rule","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"sensor;fillColor=#5294CF;gradientColor=none;",76.5,90,"","Sensor",null,null,this.getTagsForStencil("mxgraph.aws3","sensor","aws amazon web service iot internet of things").join(" ")),\r\nthis.createVertexTemplateEntry(a+"servo;fillColor=#5294CF;gradientColor=none;",84,60,"","Servo",null,null,this.getTagsForStencil("mxgraph.aws3","servo","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"shadow;fillColor=#5294CF;gradientColor=none;",85.5,91.5,"","Shadow",null,null,this.getTagsForStencil("mxgraph.aws3","shadow","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"simulator;fillColor=#5294CF;gradientColor=none;",\r\n75,78,"","Simulator",null,null,this.getTagsForStencil("mxgraph.aws3","simulator","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"topic;fillColor=#5294CF;gradientColor=none;",49.5,66,"","Topic",null,null,this.getTagsForStencil("mxgraph.aws3","topic","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"bank;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Bank",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"bank","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"bicycle;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Bicycle",null,null,this.getTagsForStencil("mxgraph.aws3","bicycle","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"camera;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Camera",null,null,this.getTagsForStencil("mxgraph.aws3","camera","aws amazon web service iot internet of things").join(" ")),\r\nthis.createVertexTemplateEntry(a+"utility;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Utility",null,null,this.getTagsForStencil("mxgraph.aws3","utility","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"cart;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Cart",null,null,this.getTagsForStencil("mxgraph.aws3","cart","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"car;fillColor=#5294CF;gradientColor=none;",\r\n79.5,79.5,"","Car",null,null,this.getTagsForStencil("mxgraph.aws3","car","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"windfarm;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Windfarm",null,null,this.getTagsForStencil("mxgraph.aws3","windfarm","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"house;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","House",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"house","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"generic;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Generic",null,null,this.getTagsForStencil("mxgraph.aws3","generic","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"factory;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Factory",null,null,this.getTagsForStencil("mxgraph.aws3","factory","aws amazon web service iot internet of things").join(" ")),\r\nthis.createVertexTemplateEntry(a+"coffee_pot;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Coffee Pot",null,null,this.getTagsForStencil("mxgraph.aws3","coffee pot","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"door_lock;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Door Lock",null,null,this.getTagsForStencil("mxgraph.aws3","door lock","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"lightbulb;fillColor=#5294CF;gradientColor=none;",\r\n79.5,79.5,"","Lightbulb",null,null,this.getTagsForStencil("mxgraph.aws3","lightbulb","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"medical_emergency;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Medical Emergency",null,null,this.getTagsForStencil("mxgraph.aws3","medical emergency","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"police_emergency;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Police Emergency",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","police emergency","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"thermostat;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Thermostat",null,null,this.getTagsForStencil("mxgraph.aws3","thermostat","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"travel;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Travel",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"travel","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"echo;fillColor=#205B99;gradientColor=none;",40.5,93,"","Echo",null,null,this.getTagsForStencil("mxgraph.aws3","echo","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"alexa_skill;fillColor=#5294CF;gradientColor=none;",60,63,"","Alexa Skill",null,null,this.getTagsForStencil("mxgraph.aws3","alexa skill","aws amazon web service iot internet of things").join(" ")),\r\nthis.createVertexTemplateEntry(a+"alexa_smart_home_skill;fillColor=#5294CF;gradientColor=none;",90,70.5,"","Alexa Smart Home Skill",null,null,this.getTagsForStencil("mxgraph.aws3","alexa smart home skill","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"alexa_voice_service;fillColor=#5294CF;gradientColor=none;",60,63,"","Alexa Voice Service",null,null,this.getTagsForStencil("mxgraph.aws3","alexa voice service","aws amazon web service iot internet of things").join(" ")),\r\nthis.createVertexTemplateEntry(a+"alexa_enabled_device;fillColor=#5294CF;gradientColor=none;",79.5,79.5,"","Alexa Enabled Device",null,null,this.getTagsForStencil("mxgraph.aws3","alexa enabled device","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"fire_tv;fillColor=#5294CF;gradientColor=none;",75,55.5,"","Fire TV",null,null,this.getTagsForStencil("mxgraph.aws3","fire tv","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+\r\n"fire_tv_stick;fillColor=#5294CF;gradientColor=none;",85.5,33,"","Fire TV Stick",null,null,this.getTagsForStencil("mxgraph.aws3","fire tv stick","aws amazon web service iot internet of things").join(" "))])};Sidebar.prototype.addAWS3ManagementToolsPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Management Tools","AWS17 / Management Tools",!1,[this.createVertexTemplateEntry(a+\r\n"cloudwatch;fillColor=#759C3E;gradientColor=none;",82.5,93,"","CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws3","cloudwatch cloud watch","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"cloudformation;fillColor=#759C3E;gradientColor=none;",76.5,93,"","CloudFormation",null,null,this.getTagsForStencil("mxgraph.aws3","cloudformation cloud formation","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"cloudtrail;fillColor=#759C3E;gradientColor=none;",\r\n76.5,93,"","CloudTrail",null,null,this.getTagsForStencil("mxgraph.aws3","cloudtrail cloud trail","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"config;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Config",null,null,this.getTagsForStencil("mxgraph.aws3","config","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"managed_services;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Managed Services",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"managed services","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"opsworks;fillColor=#759C3E;gradientColor=none;",76.5,93,"","OpsWorks",null,null,this.getTagsForStencil("mxgraph.aws3","opsworks ops works","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"service_catalog;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Service Catalog",null,null,this.getTagsForStencil("mxgraph.aws3","service catalog","aws amazon web service management tools").join(" ")),\r\nthis.createVertexTemplateEntry(a+"trusted_advisor;fillColor=#759C3E;gradientColor=none;",67.5,81,"","Trusted Advisor",null,null,this.getTagsForStencil("mxgraph.aws3","trusted advisor","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"alarm;fillColor=#759C3E;gradientColor=none;",54,66,"","Alarm",null,null,this.getTagsForStencil("mxgraph.aws3","alarm","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"event_time_based;fillColor=#759C3E;gradientColor=none;",\r\n63,82.5,"","Event (Time Based)",null,null,this.getTagsForStencil("mxgraph.aws3","event time based","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"event_event_based;fillColor=#759C3E;gradientColor=none;",60,82.5,"","Event (Event Based)",null,null,this.getTagsForStencil("mxgraph.aws3","event based","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"config_rule;fillColor=#759C3E;gradientColor=none;",55.5,72,"","Config Rule",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","config rule","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"automation;fillColor=#759C3E;gradientColor=none;",78,81,"","Automation",null,null,this.getTagsForStencil("mxgraph.aws3","automation","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"documents;fillColor=#759C3E;gradientColor=none;",90,100.5,"","Documents",null,null,this.getTagsForStencil("mxgraph.aws3","documents",\r\n"aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"inventory;fillColor=#759C3E;gradientColor=none;",90,105,"","Inventory",null,null,this.getTagsForStencil("mxgraph.aws3","inventory","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"maintenance_window;fillColor=#759C3E;gradientColor=none;",75,78,"","Maintenance Window",null,null,this.getTagsForStencil("mxgraph.aws3","maintenance window","aws amazon web service management tools").join(" ")),\r\nthis.createVertexTemplateEntry(a+"parameter_store;fillColor=#759C3E;gradientColor=none;",75,102,"","Parameter Store",null,null,this.getTagsForStencil("mxgraph.aws3","parameter store","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"patch_manager;fillColor=#759C3E;gradientColor=none;",85.5,90,"","Patch Manager",null,null,this.getTagsForStencil("mxgraph.aws3","patch manager","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+\r\n"run_command;fillColor=#759C3E;gradientColor=none;",114,82.5,"","Run Command",null,null,this.getTagsForStencil("mxgraph.aws3","run command","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"state_manager;fillColor=#759C3E;gradientColor=none;",79.5,82.5,"","State Manager",null,null,this.getTagsForStencil("mxgraph.aws3","state manager","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"ec2_systems_manager;fillColor=#759C3E;gradientColor=none;",\r\n79.5,82.5,"","EC2 Systems Manager",null,null,this.getTagsForStencil("mxgraph.aws3","ec2 systems manager","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"stack_aws_cloudformation;fillColor=#759C3E;gradientColor=none;",73.5,58.5,"","Stack AWS CloudFormation",null,null,this.getTagsForStencil("mxgraph.aws3","stack cloudformation cloud formation","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"change_set;fillColor=#759C3E;gradientColor=none;",\r\n55.5,64.5,"","Change Set",null,null,this.getTagsForStencil("mxgraph.aws3","change set","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"template;fillColor=#759C3E;gradientColor=none;",55.5,64.5,"","Template",null,null,this.getTagsForStencil("mxgraph.aws3","template","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"apps;fillColor=#759C3E;gradientColor=none;",81,79.5,"","Apps",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"apps","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"deployments;fillColor=#759C3E;gradientColor=none;",81,76.5,"","Deployments",null,null,this.getTagsForStencil("mxgraph.aws3","deployments","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"instances_2;fillColor=#759C3E;gradientColor=none;",81,81,"","Instances",null,null,this.getTagsForStencil("mxgraph.aws3","instances","aws amazon web service management tools").join(" ")),\r\nthis.createVertexTemplateEntry(a+"layers;fillColor=#759C3E;gradientColor=none;",81,79.5,"","Layers",null,null,this.getTagsForStencil("mxgraph.aws3","layers","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"monitoring;fillColor=#759C3E;gradientColor=none;",81,67.5,"","Monitoring",null,null,this.getTagsForStencil("mxgraph.aws3","monitoring","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"permissions;fillColor=#759C3E;gradientColor=none;",\r\n67.5,79.5,"","Permissions",null,null,this.getTagsForStencil("mxgraph.aws3","permissions","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"resources;fillColor=#759C3E;gradientColor=none;",67.5,79.5,"","Resources",null,null,this.getTagsForStencil("mxgraph.aws3","resources","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"stack_aws_opsworks;fillColor=#759C3E;gradientColor=none;",79.5,79.5,"","Stack AWS OpsWorks",null,null,\r\nthis.getTagsForStencil("mxgraph.aws3","stack opsworks ops works","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"checklist;fillColor=#759C3E;gradientColor=none;",55.5,64.5,"","Checklist",null,null,this.getTagsForStencil("mxgraph.aws3","checklist","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"checklist_cost;fillColor=#759C3E;gradientColor=none;",67.5,75,"","Checklist Cost",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"checklist cost","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"checklist_fault_tolerance;fillColor=#759C3E;gradientColor=none;",57,72,"","Checklist Fault Tolerance",null,null,this.getTagsForStencil("mxgraph.aws3","checklist fault tolerance","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"checklist_performance;fillColor=#759C3E;gradientColor=none;",61.5,73.5,"","Checklist Performance",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"checklist performance","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(a+"checklist_security;fillColor=#759C3E;gradientColor=none;",54,69,"","Checklist Security",null,null,this.getTagsForStencil("mxgraph.aws3","checklist security","aws amazon web service management tools").join(" "))])};Sidebar.prototype.addAWS3MessagingPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+\r\n"=mxgraph.aws3.";this.addPaletteFunctions("aws3Messaging","AWS17 / Messaging",!1,[this.createVertexTemplateEntry(a+"pinpoint;fillColor=#AD688B;gradientColor=none;",76.5,87,"","Pinpoint",null,null,this.getTagsForStencil("mxgraph.aws3","pinpoint","aws amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"ses;fillColor=#D9A741;gradientColor=none;",79.5,93,"","SES",null,null,this.getTagsForStencil("mxgraph.aws3","ses","aws amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+\r\n"sns;fillColor=#D9A741;gradientColor=none;",76.5,76.5,"","SNS",null,null,this.getTagsForStencil("mxgraph.aws3","sns","aws amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"sqs;fillColor=#D9A741;gradientColor=none;",76.5,93,"","SQS",null,null,this.getTagsForStencil("mxgraph.aws3","sqs","aws amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"email;fillColor=#D9A741;gradientColor=none;",81,61.5,"","Email",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"email","aws amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"message;fillColor=#D9A741;gradientColor=none;",42,49.5,"","Message",null,null,this.getTagsForStencil("mxgraph.aws3","message","aws amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"queue;fillColor=#D9A741;gradientColor=none;",73.5,48,"","Queue",null,null,this.getTagsForStencil("mxgraph.aws3","queue","aws amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"email_notification;fillColor=#D9A741;gradientColor=none;",\r\n100.5,63,"","Email Notification",null,null,this.getTagsForStencil("mxgraph.aws3","email notification","aws amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"http_notification;fillColor=#D9A741;gradientColor=none;",100.5,63,"","HTTP Notification",null,null,this.getTagsForStencil("mxgraph.aws3","http notification","aws amazon web service messaging").join(" ")),this.createVertexTemplateEntry(a+"topic_2;fillColor=#D9A741;gradientColor=none;",93,58.5,"","Topic",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"topic","aws amazon web service messaging").join(" "))])};Sidebar.prototype.addAWS3MigrationPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Migration","AWS17 / Migration",!1,[this.createVertexTemplateEntry(a+"snowball;fillColor=#E05243;gradientColor=none;",67.5,81,"","Snowball",null,null,this.getTagsForStencil("mxgraph.aws3","snowball","aws amazon web service migration").join(" ")),\r\nthis.createVertexTemplateEntry(a+"server_migration_service;fillColor=#5294CF;gradientColor=none;",76.5,93,"","Server Migration Service",null,null,this.getTagsForStencil("mxgraph.aws3","server migration service","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(a+"import_export;fillColor=#E05243;gradientColor=none;",64.5,63,"","Import/Export",null,null,this.getTagsForStencil("mxgraph.aws3","Import Export","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(a+\r\n"database_migration_service;fillColor=#5294CF;gradientColor=none;",72,81,"","Database Migration Service",null,null,this.getTagsForStencil("mxgraph.aws3","database migration service","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(a+"database_migration_workflow_job;fillColor=#5294CF;gradientColor=none;pointerEvents=1",46.5,87,"","Database Migration Workflow Job",null,null,this.getTagsForStencil("mxgraph.aws3","database migration workflow job","aws amazon web service migration").join(" ")),\r\nthis.createVertexTemplateEntry(a+"application_discovery_service;fillColor=#5294CF;gradientColor=none;",76.5,93,"","Application Discovery Service",null,null,this.getTagsForStencil("mxgraph.aws3","application discovery service","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(a+"migration_hub_2;fillColor=#ABABAB;gradientColor=none;pointerEvents=1",114,121.5,"","Migration Hub",null,null,this.getTagsForStencil("mxgraph.aws3","migration hub","aws amazon web service migration").join(" "))])};\r\nSidebar.prototype.addAWS3MobileServicesPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Mobile Services","AWS17 / Mobile Services",!1,[this.createVertexTemplateEntry(a+"api_gateway;fillColor=#D9A741;gradientColor=none;",76.5,93,"","API Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","api gateway","aws amazon web service mobile services").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cognito;fillColor=#AD688B;gradientColor=none;",76.5,93,"","Cognito",null,null,this.getTagsForStencil("mxgraph.aws3","cognito","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_analytics;fillColor=#AD688B;gradientColor=none;",90,93,"","Mobile Analytics",null,null,this.getTagsForStencil("mxgraph.aws3","mobile analytics","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"pinpoint;fillColor=#AD688B;gradientColor=none;",\r\n76.5,87,"","Pinpoint",null,null,this.getTagsForStencil("mxgraph.aws3","pinpoint","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"device_farm;fillColor=#AD688B;gradientColor=none;",76.5,93,"","Device Farm",null,null,this.getTagsForStencil("mxgraph.aws3","device farm","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(a+"mobile_hub;fillColor=#AD688A;gradientColor=#F58435;gradientDirection=west;pointerEvents=1",75,81,"","Mobile Hub",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","mobile hub","aws amazon web service mobile services").join(" "))])};Sidebar.prototype.addAWS3NetworkAndContentDeliveryPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Networking and Content Delivery","AWS17 / Network and Content Delivery",!1,[this.createVertexTemplateEntry(a+"cloudfront;fillColor=#F58536;gradientColor=none;",\r\n76.5,93,"","CloudFront",null,null,this.getTagsForStencil("mxgraph.aws3","cloudfront cloud front","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"route_53;fillColor=#F58536;gradientColor=none;",70.5,85.5,"","Route 53",null,null,this.getTagsForStencil("mxgraph.aws3","route 53","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"vpc;fillColor=#F58536;gradientColor=none;",67.5,81,"","VPC",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"vpc virtual private cloud","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"network_access_controllist;fillColor=#F58534;gradientColor=none;",69,72,"","Network Access Controllist",null,null,this.getTagsForStencil("mxgraph.aws3","network access controllist","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"elastic_load_balancing;fillColor=#F58536;gradientColor=none;",76.5,93,"","Elastic Load Balancing",\r\nnull,null,this.getTagsForStencil("mxgraph.aws3","elastic load balancing","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"direct_connect;fillColor=#F58536;gradientColor=none;",67.5,81,"","Direct Connect",null,null,this.getTagsForStencil("mxgraph.aws3","direct connect","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"hosted_zone;fillColor=#F58536;gradientColor=none;",63,64.5,"","Hosted Zone",null,\r\nnull,this.getTagsForStencil("mxgraph.aws3","hosted zone","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"route_table;fillColor=#F58536;gradientColor=none;",75,69,"","Route Table",null,null,this.getTagsForStencil("mxgraph.aws3","route table","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"customer_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","Customer Gateway",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"customer gateway","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"endpoints;fillColor=#F58536;gradientColor=none;",69,72,"","Endpoints",null,null,this.getTagsForStencil("mxgraph.aws3","endpoints","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"flow_logs;fillColor=#F58536;gradientColor=none;",69,72,"","Flow Logs",null,null,this.getTagsForStencil("mxgraph.aws3","flow logs","aws amazon web service network and content delivery").join(" ")),\r\nthis.createVertexTemplateEntry(a+"internet_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","internet gateway","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"router;fillColor=#F58536;gradientColor=none;",69,72,"","Router",null,null,this.getTagsForStencil("mxgraph.aws3","router","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+\r\n"vpc_nat_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","VPC NAT Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpc nat gateway virtual private cloud","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"vpc_peering;fillColor=#F58536;gradientColor=none;",69,72,"","VPC Peering",null,null,this.getTagsForStencil("mxgraph.aws3","vpc peering virtual private cloud","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+\r\n"vpn_connection;fillColor=#F58536;gradientColor=none;",58.5,48,"","VPN Connection",null,null,this.getTagsForStencil("mxgraph.aws3","vpn connection","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"vpn_gateway;fillColor=#F58536;gradientColor=none;",69,72,"","VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpn gateway","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"classic_load_balancer;fillColor=#F58536;gradientColor=none;",\r\n69,72,"","Classic Load Balancer",null,null,this.getTagsForStencil("mxgraph.aws3","classic load balancer","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"elastic_network_adapter;fillColor=#F58536;gradientColor=none;",75,90,"","Elastic Network Adapter",null,null,this.getTagsForStencil("mxgraph.aws3","elastic network adapter","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"elastic_network_interface;fillColor=#F58536;gradientColor=none;",\r\n69,72,"","Elastic Network Interface",null,null,this.getTagsForStencil("mxgraph.aws3","elastic network interface","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"application_load_balancer;fillColor=#F58536;gradientColor=none;",69,72,"","Application Load Balancer",null,null,this.getTagsForStencil("mxgraph.aws3","application load balancer","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"streaming_distribution;fillColor=#F58536;gradientColor=none;",\r\n69,72,"","Streaming Distribution",null,null,this.getTagsForStencil("mxgraph.aws3","streaming distribution","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"download_distribution;fillColor=#F58536;gradientColor=none;",69,72,"","Download Distribution",null,null,this.getTagsForStencil("mxgraph.aws3","download distribution","aws amazon web service network and content delivery").join(" ")),this.createVertexTemplateEntry(a+"edge_location;fillColor=#F58536;gradientColor=none;",\r\n58.5,64.5,"","Edge Location",null,null,this.getTagsForStencil("mxgraph.aws3","edge location","aws amazon web service network and content delivery").join(" "))])};Sidebar.prototype.addAWS3OnDemandWorkforcePalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3On Demand Workforce","AWS17 / On-Demand Workforce",!1,[this.createVertexTemplateEntry(a+"mechanical_turk;fillColor=#ACACAC;gradientColor=none;",\r\n67.5,81,"","Mechanical Turk",null,null,this.getTagsForStencil("mxgraph.aws3","mechanical turk","aws amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"human_intelligence_tasks_hit;fillColor=#ACACAC;gradientColor=none;",52.5,55.5,"","Human Intelligence Tasks HIT",null,null,this.getTagsForStencil("mxgraph.aws3","human intelligence tasks hit","aws amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"requester;fillColor=#ACACAC;gradientColor=none;",\r\n55.5,64.5,"","Requester",null,null,this.getTagsForStencil("mxgraph.aws3","requester","aws amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"users;fillColor=#ACACAC;gradientColor=none;",66,63,"","Workers",null,null,this.getTagsForStencil("mxgraph.aws3","workers","aws amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(a+"assignment_task;fillColor=#ACACAC;gradientColor=none;",46.5,63,"","Assignment/Task",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"assignment task","aws amazon web service on demand workforce").join(" "))])};Sidebar.prototype.addAWS3SDKPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3SDKs","AWS17 / SDK",!1,[this.createVertexTemplateEntry(a+"android;fillColor=#96BF3D;gradientColor=none;",73.5,84,"","Android",null,null,this.getTagsForStencil("mxgraph.aws3","android","aws amazon web service sdk software development kit").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cli;fillColor=#444444;gradientColor=none;",72,82.5,"","CLI",null,null,this.getTagsForStencil("mxgraph.aws3","cli","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"toolkit_for_eclipse;fillColor=#342074;gradientColor=none;",70.5,78,"","Toolkit for Eclipse",null,null,this.getTagsForStencil("mxgraph.aws3","toolkit for eclipse","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+\r\n"toolkit_for_visual_studio;fillColor=#53B1CB;gradientColor=none;",70.5,78,"","Toolkit for Visual Studio",null,null,this.getTagsForStencil("mxgraph.aws3","toolkit for visual studio","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"toolkit_for_windows_powershell;fillColor=#737373;gradientColor=none;",70.5,78,"","Toolkit for Windows PowerShell",null,null,this.getTagsForStencil("mxgraph.aws3","toolkit for windows powershell","aws amazon web service sdk software development kit").join(" ")),\r\nthis.createVertexTemplateEntry(a+"android;fillColor=#CFCFCF;gradientColor=none;",73.5,84,"","iOS",null,null,this.getTagsForStencil("mxgraph.aws3","ios","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#AE1F23;gradientColor=none;",73.5,84,"","Ruby",null,null,this.getTagsForStencil("mxgraph.aws3","ruby","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#FFD44F;gradientColor=none;",\r\n73.5,84,"","Python (boto)",null,null,this.getTagsForStencil("mxgraph.aws3","python boto","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#5A69A4;gradientColor=none;",73.5,84,"","PHP",null,null,this.getTagsForStencil("mxgraph.aws3","php","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#115193;gradientColor=none;",73.5,84,"",".NET",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"dot net dotnet","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#205E00;gradientColor=none;",73.5,84,"","JavaScript",null,null,this.getTagsForStencil("mxgraph.aws3","js javascript","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#EE472A;gradientColor=none;",73.5,84,"","Java",null,null,this.getTagsForStencil("mxgraph.aws3","java","aws amazon web service sdk software development kit").join(" ")),\r\nthis.createVertexTemplateEntry(a+"android;fillColor=#4090D7;gradientColor=none;",73.5,84,"","Xamarin",null,null,this.getTagsForStencil("mxgraph.aws3","xamarin","aws amazon web service sdk software development kit").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#8CC64F;gradientColor=none;",73.5,84,"","Node.js",null,null,this.getTagsForStencil("mxgraph.aws3","node js nodejs","aws amazon web service sdk software development kit").join(" "))])};Sidebar.prototype.addAWS3SecurityIdentityAndCompliancePalette=\r\nfunction(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Security Identity and Compliance","AWS17 / Security Identity and Compliance",!1,[this.createVertexTemplateEntry(a+"inspector;fillColor=#759C3E;gradientColor=none;",67.5,81,"","Inspector",null,null,this.getTagsForStencil("mxgraph.aws3","inspector","aws amazon web service security and identity compliance").join(" ")),\r\nthis.createVertexTemplateEntry(a+"macie;fillColor=#34BBC9;gradientColor=none;pointerEvents=1",133.5,54,"","Macie",null,null,this.getTagsForStencil("mxgraph.aws3","macie","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"artifact;fillColor=#759C3E;gradientColor=none;",75,90,"","Artifact",null,null,this.getTagsForStencil("mxgraph.aws3","artifact","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+\r\n"certificate_manager;fillColor=#759C3E;gradientColor=none;",76.5,61.5,"","Certificate Manager",null,null,this.getTagsForStencil("mxgraph.aws3","certificate manager","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"cloudhsm;fillColor=#759C3E;gradientColor=none;",73.5,84,"","CloudHSM",null,null,this.getTagsForStencil("mxgraph.aws3","cloudhsm cloud hsm","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+\r\n"directory_service;fillColor=#759C3E;gradientColor=none;",67.5,81,"","Directory Service",null,null,this.getTagsForStencil("mxgraph.aws3","directory service","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"iam;fillColor=#759C3E;gradientColor=none;",42,81,"","IAM",null,null,this.getTagsForStencil("mxgraph.aws3","iam","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"kms;fillColor=#759C3E;gradientColor=none;",\r\n76.5,93,"","KMS",null,null,this.getTagsForStencil("mxgraph.aws3","kms","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"shield;fillColor=#759C3E;gradientColor=none;",76.5,70.5,"","Shield",null,null,this.getTagsForStencil("mxgraph.aws3","shield","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"organizations;fillColor=#759C3E;gradientColor=none;",76.5,93,"","Organizations",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"organizations","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"waf;fillColor=#759C3E;gradientColor=none;",76.5,93,"","WAF",null,null,this.getTagsForStencil("mxgraph.aws3","waf","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"agent;fillColor=#759C3E;gradientColor=none;",69,72,"","Agent",null,null,this.getTagsForStencil("mxgraph.aws3","agent","aws amazon web service security and identity compliance").join(" ")),\r\nthis.createVertexTemplateEntry(a+"certificate_manager_2;fillColor=#759C3E;gradientColor=none;",73.5,63,"","Certificate Manager",null,null,this.getTagsForStencil("mxgraph.aws3","certificate manager","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"clouddirectory;fillColor=#759C3E;gradientColor=none;",102,109.5,"","CloudDirectory",null,null,this.getTagsForStencil("mxgraph.aws3","cloud directory","aws amazon web service security and identity compliance").join(" ")),\r\nthis.createVertexTemplateEntry(a+"add_on;fillColor=#759C3E;gradientColor=none;",49.5,27,"","Add-On",null,null,this.getTagsForStencil("mxgraph.aws3","add on","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"sts;fillColor=#759C3E;gradientColor=none;",61.5,34.5,"","STS",null,null,this.getTagsForStencil("mxgraph.aws3","sts","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"sts_2;fillColor=#759C3E;gradientColor=none;",\r\n46.5,60,"","STS",null,null,this.getTagsForStencil("mxgraph.aws3","sts","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"data_encryption_key;fillColor=#7D7C7C;gradientColor=none;",46.5,60,"","Data Encryption Key",null,null,this.getTagsForStencil("mxgraph.aws3","data encryption key","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"encrypted_data;fillColor=#7D7C7C;gradientColor=none;",43.5,55.5,\r\n"","Encrypted Data",null,null,this.getTagsForStencil("mxgraph.aws3","encrypted data","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"long_term_security_credential;fillColor=#ffffff;gradientColor=none;",60,48,"","Long Term Security Credential",null,null,this.getTagsForStencil("mxgraph.aws3","long term security credential","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"mfa_token;fillColor=#7D7C7C;gradientColor=none;",\r\n61.5,61.5,"","MFA Token",null,null,this.getTagsForStencil("mxgraph.aws3","mfa token","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"permissions_2;fillColor=#D2D3D3;gradientColor=none;",46.5,63,"","Permissions",null,null,this.getTagsForStencil("mxgraph.aws3","permissions","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"role;fillColor=#759C3E;gradientColor=none;",94.5,79.5,"","Role",null,\r\nnull,this.getTagsForStencil("mxgraph.aws3","role","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"temporary_security_credential;fillColor=#ffffff;gradientColor=none;",67.5,60,"","Temporary Security Credential",null,null,this.getTagsForStencil("mxgraph.aws3","temporary security credential","aws amazon web service security and identity compliance").join(" ")),this.createVertexTemplateEntry(a+"filtering_rule;fillColor=#759C3E;gradientColor=none;",\r\n69,72,"","Filtering Rule",null,null,this.getTagsForStencil("mxgraph.aws3","filtering rule","aws amazon web service security and identity compliance").join(" "))])};Sidebar.prototype.addAWS3StoragePalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Storage","AWS17 / Storage",!1,[this.createVertexTemplateEntry(a+"s3;fillColor=#E05243;gradientColor=none;",76.5,93,\r\n"","S3",null,null,this.getTagsForStencil("mxgraph.aws3","s3","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"glacier;fillColor=#E05243;gradientColor=none;",76.5,93,"","Glacier",null,null,this.getTagsForStencil("mxgraph.aws3","glacier","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"storage_gateway;fillColor=#E05243;gradientColor=none;",76.5,93,"","Storage Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","storage gateway","aws amazon web service storage").join(" ")),\r\nthis.createVertexTemplateEntry(a+"efs;fillColor=#E05243;gradientColor=none;",76.5,93,"","EFS",null,null,this.getTagsForStencil("mxgraph.aws3","efs","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"archive;fillColor=#E05243;gradientColor=none;",57,75,"","Archive",null,null,this.getTagsForStencil("mxgraph.aws3","archive","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"vault;fillColor=#E05243;gradientColor=none;",54,75,"","Vault",null,null,\r\nthis.getTagsForStencil("mxgraph.aws3","vault","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"bucket;fillColor=#E05243;gradientColor=none;",60,61.5,"","Bucket",null,null,this.getTagsForStencil("mxgraph.aws3","bucket","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"bucket_with_objects;fillColor=#E05243;gradientColor=none;",60,61.5,"","Bucket with Objects",null,null,this.getTagsForStencil("mxgraph.aws3","bucket with objects","aws amazon web service storage").join(" ")),\r\nthis.createVertexTemplateEntry(a+"object;fillColor=#E05243;gradientColor=none;",42,45,"","Object",null,null,this.getTagsForStencil("mxgraph.aws3","object","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"virtual_tape_library;fillColor=#E05243;gradientColor=none;",60,73.5,"","Virtual Tape Library",null,null,this.getTagsForStencil("mxgraph.aws3","virtual tape library","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"cached_volume;fillColor=#E05243;gradientColor=none;",\r\n60,73.5,"","Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws3","cached volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"non_cached_volume;fillColor=#E05243;gradientColor=none;",60,73.5,"","Non-Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws3","non cached volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"snapshot;fillColor=#E05243;gradientColor=none;",60,73.5,"","Snapshot",null,null,this.getTagsForStencil("mxgraph.aws3",\r\n"snapshot","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"volume;fillColor=#E05243;gradientColor=none;",52.5,75,"","Volume",null,null,this.getTagsForStencil("mxgraph.aws3","volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"snowball;fillColor=#E05243;gradientColor=none;",67.5,81,"","Snowball",null,null,this.getTagsForStencil("mxgraph.aws3","snowball","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"efs_share;fillColor=#E05243;gradientColor=none;",\r\n69,63,"","EFS Share",null,null,this.getTagsForStencil("mxgraph.aws3","efs share","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"import_export;fillColor=#E05243;gradientColor=none;",64.5,63,"","Import/Export",null,null,this.getTagsForStencil("mxgraph.aws3","import export","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(a+"volume;fillColor=#E05243;gradientColor=none;",52.5,75,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3","ebs","aws amazon web service storage").join(" "))])}})();(function(){Sidebar.prototype.addAWS3DPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+"=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.";this.setCurrentSearchEntryLibrary("aws3d");this.addPaletteFunctions("aws3d","AWS 3D",!1,[this.createVertexTemplateEntry(a+"ami;aspect=fixed;fillColor=#E8CA45;strokeColor=#FFF215;",92,60,"","AMI",null,null,this.getTagsForStencil("mxgraph.aws3d",\r\n"ami","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"ami2;aspect=fixed;fillColor=#FF9900;strokeColor=#ffffff;",74,50,"","AMI",null,null,this.getTagsForStencil("mxgraph.aws3d","ami","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"application;fillColor=#4286c5;strokeColor=#57A2D8;aspect=fixed;",62,68.8,"","Application",null,null,this.getTagsForStencil("mxgraph.aws3d","application","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+\r\n"application2;fillColor=#86E83A;strokeColor=#B0F373;aspect=fixed;",62,53,"","Application",null,null,this.getTagsForStencil("mxgraph.aws3d","application","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,124,"","EC2 Instance",null,null,this.getTagsForStencil("mxgraph.aws3d","ec2 instance","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"client;aspect=fixed;strokeColor=none;fillColor=#777777;",\r\n60,104,"","Client",null,null,this.getTagsForStencil("mxgraph.aws3d","client","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"cloudfront;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",103.8,100*1.698,"","CloudFront",null,null,this.getTagsForStencil("mxgraph.aws3d","cloudfront","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"file;aspect=fixed;strokeColor=#2d6195;fillColor=#ffffff;",30.8,70.6,"","Content",null,null,this.getTagsForStencil("mxgraph.aws3d",\r\n"content","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"customerGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",116.7,102.8,"","Customer Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d","customer gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dataCenter;strokeColor=#5E5E5E;aspect=fixed;",123,142,"","Data Center",null,null,this.getTagsForStencil("mxgraph.aws3d","data center","aws 3d amazon web service").join(" ")),\r\nthis.createVertexTemplateEntry(a+"dataServer;strokeColor=#5E5E5E;aspect=fixed;",123,106,"","Data Server",null,null,this.getTagsForStencil("mxgraph.aws3d","data server","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"decider;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",74,50,"","Decider",null,null,this.getTagsForStencil("mxgraph.aws3d","decider","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dynamoDb;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",\r\n181.5,210,"","DynamoDB",null,null,this.getTagsForStencil("mxgraph.aws3d","dynamodb db database","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"ebs;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,60,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3d","ebs","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"ebs2;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,60,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3d","ebs","aws 3d amazon web service").join(" ")),\r\nthis.createVertexTemplateEntry(a+"elasticBeanstalk;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",182,140,"","Elastic Beanstalk",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic beanstalk","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"elasticLoadBalancing;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,88.17,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic load balancing elb","aws 3d amazon web service").join(" ")),\r\nthis.createVertexTemplateEntry(a+"elasticMapReduce;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","Elastic MapReduce",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic mapreduce","aws 3d amazon web service").join(" ")),this.addEntry("aws 3d amazon web serviceelasticache",function(){var b=new mxCell("",new mxGeometry(70,0,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");b.vertex=!0;var e=new mxCell("",new mxGeometry(0,40,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");\r\ne.vertex=!0;var c=new mxCell("",new mxGeometry(140,40,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");c.vertex=!0;var d=new mxCell("",new mxGeometry(70,80,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");d.vertex=!0;return sb.createVertexTemplateFromCells([b,e,c,d],264,204,"Elasticache")}),this.createVertexTemplateEntry(a+"email;aspect=fixed;strokeColor=#292929;",43,100*.57,"","Email",null,null,this.getTagsForStencil("mxgraph.aws3d",\r\n"email","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"email_service;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",151,192,"","Email Service",null,null,this.getTagsForStencil("mxgraph.aws3d","email service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"file;aspect=fixed;strokeColor=#292929;",30.8,70.6,"","File",null,null,this.getTagsForStencil("mxgraph.aws3d","file","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+\r\n"glacier;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",181,192,"","Glacier",null,null,this.getTagsForStencil("mxgraph.aws3d","glacier","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"image;strokeColor=none;fillColor=#777777;aspect=fixed;",50,86,"","Image/Video",null,null,this.getTagsForStencil("mxgraph.aws3d","image video","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"internetGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",\r\n116.7,102.8,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d","internet gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"lambda;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,109.5,"","Lambda",null,null,this.getTagsForStencil("mxgraph.aws3d","lambda","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"mobile_worker;aspect=fixed;strokeColor=none;fillColor=#777777;",36,90,"","Mobile Worker",null,null,this.getTagsForStencil("mxgraph.aws3d",\r\n"mobile worker","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"oracleDataCenter;fillColor=#ffffff;strokeColor=#5E5E5E;aspect=fixed;",123,142,"","Oracle Data Center",null,null,this.getTagsForStencil("mxgraph.aws3d","oracle data center","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"oracleDbServer;fillColor=#ffffff;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","Oracle Database Server",null,null,this.getTagsForStencil("mxgraph.aws3d","oracle database server db",\r\n"aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"oracleServer;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,142,"","Oracle Server",null,null,this.getTagsForStencil("mxgraph.aws3d","oracle server","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"rds;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","RDS",null,null,this.getTagsForStencil("mxgraph.aws3d","rds","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+\r\n"rdsMaster;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","RDS Master",null,null,this.getTagsForStencil("mxgraph.aws3d","rds master","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"rdsSlave;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","RDS Slave",null,null,this.getTagsForStencil("mxgraph.aws3d","rds slave","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"redshift;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",\r\n150,190,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws3d","redshift","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"route53;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",117.17,134.4,"","Route 53",null,null,this.getTagsForStencil("mxgraph.aws3d","route","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"s3;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",231.5,239,"","S3",null,null,this.getTagsForStencil("mxgraph.aws3d","s3",\r\n"aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"s3Bucket;fillColor=#4286c5;strokeColor=#57A2D8;aspect=fixed;",61.5,100*.638,"","S3 Bucket",null,null,this.getTagsForStencil("mxgraph.aws3d","s3 bucket","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"searchEngine;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",180,192,"","Search Engine",null,null,this.getTagsForStencil("mxgraph.aws3d","search engine","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+\r\n"secureConnection;fillColor=#000000;strokeColor=#ffffff;aspect=fixed;",100*.57,34,"","Secure Connection",null,null,this.getTagsForStencil("mxgraph.aws3d","secure connection","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"securityTokenService;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",180,192,"","Security Token Service",null,null,this.getTagsForStencil("mxgraph.aws3d","security token service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+\r\n"simpleDb;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,133,"","SimpleDB",null,null,this.getTagsForStencil("mxgraph.aws3d","simpledb simple db database","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"simpleDb2;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",181.5,192.6,"","SimpleDB",null,null,this.getTagsForStencil("mxgraph.aws3d","simpledb simple db database","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"snapshot;fillColor=#4286c5;strokeColor=#57A2D8;aspect=fixed;",\r\n92,60,"","Snapshot",null,null,this.getTagsForStencil("mxgraph.aws3d","snapshot","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"instance;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",123,97,"","Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws3d","spot instance","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"sqs;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",184,212.75,"","SQS",null,null,this.getTagsForStencil("mxgraph.aws3d",\r\n"sqs","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"end_user;strokeColor=none;fillColor=#777777;aspect=fixed;",49,100.46,"","User",null,null,this.getTagsForStencil("mxgraph.aws3d","user","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"vpcGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",116.7,102.8,"","VPC Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d","vpc gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+\r\n"worker;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",74,50,"","Worker",null,null,this.getTagsForStencil("mxgraph.aws3d","worker","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"workflowService;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",100*1.822,148.4,"","Workflow Service",null,null,this.getTagsForStencil("mxgraph.aws3d","workflow service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowNE;fillColor=#000000;aspect=fixed;",\r\n45.5,26,"","Arrow NE",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowSE;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow SE",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowSW;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow SW",null,null,this.getTagsForStencil("mxgraph.aws3d",\r\n"arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowNW;fillColor=#000000;aspect=fixed;",45.5,26,"","Arrow NW",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowlessNE;fillColor=#000000;aspect=fixed;",31.6,18,"","Arrowless NE",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),\r\nthis.createVertexTemplateEntry(a+"dashedEdgeDouble;fillColor=#000000;aspect=fixed;",31.6,18,"","Dashed Edge Double Arrow",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dashedArrowlessEdge;fillColor=#000000;aspect=fixed;",31.6,18,"","Dashed Arrowless Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+\r\n"dashedEdge;fillColor=#000000;aspect=fixed;",31.6,18,"","Dashed Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"flatEdge;fillColor=#000000;aspect=fixed;",63.2,36,"","Flat Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"flatDoubleEdge;fillColor=#000000;aspect=fixed;",252.8,144,\r\n"","Flat Double Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"arrowhead;aspect=fixed;",19,11,"","Arrowhead",null,null,this.getTagsForStencil("mxgraph.aws3d","arrowhead","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"edge;aspect=fixed;",97,107.4,"","Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","edge","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+\r\n"reference;aspect=fixed;",29.5,19.5,"","Reference",null,null,this.getTagsForStencil("mxgraph.aws3d","reference","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"spot;aspect=fixed;",62,36,"","Spot",null,null,this.getTagsForStencil("mxgraph.aws3d","spot","aws 3d amazon web service").join(" ")),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;",50,100,"isometric edge","Isometric Edge 1"),this.createEdgeTemplateEntry("edgeStyle=isometricEdgeStyle;endArrow=none;html=1;elbow=vertical;",\r\n50,100,"isometric edge","Isometric Edge 2")]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addAWS4Palette=function(){var a="outlineConnect=0;gradientColor=none;fontColor=#545B64;strokeColor=none;fillColor=#879196;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.setCurrentSearchEntryLibrary("aws4","aws4Arrows");this.addAWS4ArrowsPalette(1,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4General Resources");this.addAWS4GeneralResourcesPalette(1,\r\n"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Illustrations");this.addAWS4IllustrationsPalette(1,a,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Groups");this.addAWS4GroupsPalette(1,"mxgraph.aws4",this,"points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];");this.setCurrentSearchEntryLibrary("aws4","aws4Analytics");this.addAWS4AnalyticsPalette(1,100,100,78,"mxgraph.aws4",this);\r\nthis.setCurrentSearchEntryLibrary("aws4","aws4Application Integration");this.addAWS4ApplicationIntegrationPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4AR VR");this.addAWS4ARVRPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Cost Management");this.addAWS4CostManagementPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Blockchain");this.addAWS4BlockchainPalette(1,100,100,78,"mxgraph.aws4",\r\nthis);this.setCurrentSearchEntryLibrary("aws4","aws4Business Applications");this.addAWS4BusinessApplicationsPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4EC2 Instance Types");this.addAWS4EC2InstanceTypePalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Compute");this.addAWS4ComputePalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Containers");this.addAWS4ContainersPalette(1,100,100,\r\n78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Customer Enablement");this.addAWS4CustomerEnablementPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Customer Engagement");this.addAWS4CustomerEngagementPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Database");this.addAWS4DatabasePalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Developer Tools");this.addAWS4DeveloperToolsPalette(1,\r\n100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4End User Computing");this.addAWS4EndUserComputingPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Game Tech");this.addAWS4GameTechPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Internet of Things");this.addAWS4InternetOfThingsPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Machine Learning");this.addAWS4MachineLearningPalette(1,\r\n100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Management Governance");this.addAWS4ManagementGovernancePalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Media Services");this.addAWS4MediaServicesPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Migration Transfer");this.addAWS4MigrationTransferPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Mobile");this.addAWS4MobilePalette(1,\r\n100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Network Content Delivery");this.addAWS4NetworkContentDeliveryPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Quantum Technologies");this.addAWS4QuantumTechnologiesPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Robotics");this.addAWS4RoboticsPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Satellite");this.addAWS4SatellitePalette(1,\r\n100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Security Identity Compliance");this.addAWS4SecurityIdentityCompliancePalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Serverless");this.addAWS4ServerlessPalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4","aws4Storage");this.addAWS4StoragePalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAWS4ArrowsPalette=\r\nfunction(a,b,e){this.addPaletteFunctions("aws4Arrows","AWS / Arrows",!1,[this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=block;startFill=1;strokeColor=#545B64;rounded=0;",100*a,0*a,"","Default (left)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow default left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;",\r\n100*a,0*a,"","Default (left)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow default left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=block;startFill=1;endFill=1;strokeColor=#545B64;rounded=0;",100*a,0*a,"","Default (double)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow default double").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=openThin;startFill=0;strokeColor=#545B64;rounded=0;",\r\n100*a,0*a,"","Open (thin, left)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow open thin left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=openThin;elbow=vertical;startArrow=none;endFill=0;strokeColor=#545B64;rounded=0;",100*a,0*a,"","Open (thin, left)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow open thin left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=openThin;elbow=vertical;startArrow=openThin;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;",\r\n100*a,0*a,"","Open (thin, double)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow open thin double").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=open;startFill=0;strokeColor=#545B64;rounded=0;",100*a,0*a,"","Open (left)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow open left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=none;endFill=0;strokeColor=#545B64;rounded=0;",\r\n100*a,0*a,"","Open (left)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow open left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=open;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;",100*a,0*a,"","Open (double)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow open double").join(" "))])};Sidebar.prototype.addAWS4GeneralResourcesPalette=function(a,b,e){e="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#232F3E;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";var c="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];gradientDirection=north;outlineConnect=0;fontColor=#232F3E;gradientColor=#505863;fillColor=#1E262E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4General Resources",\r\n"AWS / General Resources",!1,[this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+b+".marketplace;",78*a,78*a,"","Marketplace",null,null,this.getTagsForStencil(b,"marketplace","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+b+".general;",78*a,78*a,"","General",null,null,this.getTagsForStencil(b,"general","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"client;",78*a,76*a,"","Client",null,\r\nnull,this.getTagsForStencil(b,"client","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"corporate_data_center;",53*a,78*a,"","Corporate Data Center",null,null,this.getTagsForStencil(b,"corporate data center","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"disk;",78*a,78*a,"","Disk",null,null,this.getTagsForStencil(b,"disk","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"email_2;",\r\n78*a,49*a,"","Email",null,null,this.getTagsForStencil(b,"email","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"forums;",78*a,76*a,"","Forums",null,null,this.getTagsForStencil(b,"forums","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"generic_database;",59*a,78*a,"","Generic Database",null,null,this.getTagsForStencil(b,"generic database","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+\r\n"generic_firewall;",78*a,66*a,"","Generic Firewall",null,null,this.getTagsForStencil(b,"generic firewall","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"internet;",78*a,48*a,"","Internet",null,null,this.getTagsForStencil(b,"internet","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"internet_alt1;",78*a,48*a,"","Internet",null,null,this.getTagsForStencil(b,"internet","aws amazon web service general resources ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"internet_alt2;",78*a,78*a,"","Internet",null,null,this.getTagsForStencil(b,"internet gateway","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"mobile_client;",41*a,78*a,"","Mobile Client",null,null,this.getTagsForStencil(b,"mobile client","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"multimedia;",78*a,73*a,"","Multimedia",null,null,this.getTagsForStencil(b,"multimedia","aws amazon web service general resources ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"office_building;",50*a,78*a,"","Office Building",null,null,this.getTagsForStencil(b,"office building","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"saml_token;",78*a,78*a,"","SAML Token",null,null,this.getTagsForStencil(b,"saml token","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"ssl_padlock;",78*a,76*a,"","SSL Padlock",null,null,this.getTagsForStencil(b,"ssl padlock","aws amazon web service general resources ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"tape_storage;",78*a,38*a,"","Tape Storage",null,null,this.getTagsForStencil(b,"tape storage","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"traditional_server;",45*a,78*a,"","Traditional Server",null,null,this.getTagsForStencil(b,"traditional server","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"user;",78*a,78*a,"","User",null,null,this.getTagsForStencil(b,"user","aws amazon web service general resources ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"users;",78*a,78*a,"","Users",null,null,this.getTagsForStencil(b,"users","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"external_toolkit;",68*a,78*a,"","Toolkit",null,null,this.getTagsForStencil(b,"external toolkit","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(e+"external_sdk;",68*a,78*a,"","SDK",null,null,this.getTagsForStencil(b,"external sdk software development kit","aws amazon web service general resources ").join(" "))])};\r\nSidebar.prototype.addAWS4IllustrationsPalette=function(a,b,e,c){this.addPaletteFunctions("aws4Illustrations","AWS / Illustrations",!1,[this.createVertexTemplateEntry(b+"illustration_users;pointerEvents=1",100*a,100*a,"users",null,null,null,this.getTagsForStencil(e,"users","aws amazon web service illustrations ").join(" ")),this.createVertexTemplateEntry(b+"illustration_notification;pointerEvents=1",100*a,81*a,"notification",null,null,null,this.getTagsForStencil(e,"users","aws amazon web service illustrations ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"illustration_devices;pointerEvents=1",100*a,73*a,"devices",null,null,null,this.getTagsForStencil(e,"devices","aws amazon web service illustrations ").join(" ")),this.createVertexTemplateEntry(b+"illustration_desktop;pointerEvents=1",100*a,91*a,"desktop",null,null,null,this.getTagsForStencil(e,"desktop","aws amazon web service illustrations ").join(" ")),this.createVertexTemplateEntry(b+"illustration_office_building;pointerEvents=1",100*a,71*a,"office building",null,\r\nnull,null,this.getTagsForStencil(e,"office building","aws amazon web service illustrations ").join(" "))])};Sidebar.prototype.addAWS4GroupsPalette=function(a,b,e,c){e=c+"outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Groups","AWS / Groups",!1,[this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_aws_cloud_alt;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;",\r\n130*a,130*a,"AWS Cloud",null,null,null,this.getTagsForStencil(b,"cloud","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_aws_cloud;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;",130*a,130*a,"AWS Cloud",null,null,null,this.getTagsForStencil(b,"cloud","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_region;strokeColor=#147EBA;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#147EBA;dashed=1;",\r\n130*a,130*a,"Region",null,null,null,this.getTagsForStencil(b,"region","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry("fillColor=none;strokeColor=#147EBA;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#147EBA;",130*a,130*a,"Availability Zone",null,null,null,this.getTagsForStencil(b,"availability zone","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry("fillColor=none;strokeColor=#DD3522;verticalAlign=top;fontStyle=0;fontColor=#DD3522;",\r\n130*a,130*a,"Security group",null,null,null,this.getTagsForStencil(b,"security","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"groupCenter;grIcon="+b+".group_auto_scaling_group;grStroke=1;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=center;fontColor=#D86613;dashed=1;spacingTop=25;",130*a,130*a,"Auto Scaling group",null,null,null,this.getTagsForStencil(b,"auto scaling","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+\r\n"group;grIcon="+b+".group_vpc;strokeColor=#248814;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#AAB7B8;dashed=0;",130*a,130*a,"VPC",null,null,null,this.getTagsForStencil(b,"vpc virtual private cloud","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_security_group;grStroke=0;strokeColor=#147EBA;fillColor=#E6F2F8;verticalAlign=top;align=left;spacingLeft=30;fontColor=#147EBA;dashed=0;",130*a,130*a,"Private subnet",null,\r\nnull,null,this.getTagsForStencil(b,"private subnet","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_security_group;grStroke=0;strokeColor=#248814;fillColor=#E9F3E6;verticalAlign=top;align=left;spacingLeft=30;fontColor=#248814;dashed=0;",130*a,130*a,"Public subnet",null,null,null,this.getTagsForStencil(b,"public subnet","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_on_premise;strokeColor=#5A6C86;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#5A6C86;dashed=0;",\r\n130*a,130*a,"Server contents",null,null,null,this.getTagsForStencil(b,"server contents","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_corporate_data_center;strokeColor=#5A6C86;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#5A6C86;dashed=0;",130*a,130*a,"Corporate data center",null,null,null,this.getTagsForStencil(b,"corporate data center","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+\r\n"group;grIcon="+b+".group_elastic_beanstalk;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#D86613;dashed=0;",130*a,130*a,"Elastic Beanstalk container",null,null,null,this.getTagsForStencil(b,"elastic beanstalk container","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_ec2_instance_contents;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#D86613;dashed=0;",\r\n130*a,130*a,"EC2 instance contents",null,null,null,this.getTagsForStencil(b,"ec2 instance contents","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_spot_fleet;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#D86613;dashed=0;",130*a,130*a,"Spot Fleet",null,null,null,this.getTagsForStencil(b,"spot fleet","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+\r\nb+".group_aws_step_functions_workflow;strokeColor=#CD2264;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#CD2264;dashed=0;",130*a,130*a,"AWS Step Functions workflow",null,null,null,this.getTagsForStencil(b,"step function","aws amazon web service groups group ").join(" ")),this.createVertexTemplateEntry("fillColor=none;strokeColor=#5A6C86;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#5A6C86;",130*a,130*a,"Generic group",null,null,null,this.getTagsForStencil(b,"generic","aws amazon web service groups group ").join(" ")),\r\nthis.createVertexTemplateEntry("fillColor=#EFF0F3;strokeColor=none;dashed=0;verticalAlign=top;fontStyle=0;fontColor=#232F3D;",130*a,130*a,"Generic group",null,null,null,this.getTagsForStencil(b,"generic","aws amazon web service groups group ").join(" "))])};Sidebar.prototype.addAWS4AnalyticsPalette=function(a,b,e,c,d,f,g){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#5A30B5;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Analytics",\r\n"AWS / Analytics",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".analytics;",c,c,"","Analytics",null,null,this.getTagsForStencil(d,"analytics","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".athena;",c,c,"","Athena",null,null,this.getTagsForStencil(d,"athena","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudsearch2;",c,c,"","CloudSearch",null,null,this.getTagsForStencil(d,\r\n"cloudsearch","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elasticsearch_service;",c,c,"","ElasticSearch Service",null,null,this.getTagsForStencil(d,"elasticsearch service","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".emr;",c,c,"","EMR",null,null,this.getTagsForStencil(d,"emr","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+\r\nd+".kinesis;",c,c,"","Kinesis",null,null,this.getTagsForStencil(d,"kinesis","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kinesis_data_analytics;",c,c,"","Kinesis Data Analytics",null,null,this.getTagsForStencil(d,"kinesis data analytics","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kinesis_data_firehose;",c,c,"","Kinesis Data Firehose",null,null,this.getTagsForStencil(d,\r\n"kinesis data firehose","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kinesis_data_streams;",c,c,"","Kinesis Data Streams",null,null,this.getTagsForStencil(d,"kinesis data streams","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kinesis_video_streams;",c,c,"","Kinesis Video Streams",null,null,this.getTagsForStencil(d,"kinesis video streams","aws amazon web service analytics ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".quicksight;",c,c,"","QuickSight",null,null,this.getTagsForStencil(d,"quicksight quick sight","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".redshift;",c,c,"","Redshift",null,null,this.getTagsForStencil(d,"redshift","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".data_pipeline;",c,c,"","Data Pipeline",null,null,this.getTagsForStencil(d,\r\n"data pipeline","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".managed_streaming_for_kafka;",c,c,"","Managed Streaming for Kafka",null,null,this.getTagsForStencil(d,"managed streaming for kafka","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".glue;",c,c,"","Glue",null,null,this.getTagsForStencil(d,"glue","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".glue_elastic_views;",c,c,"","Glue Elastic Views",null,null,this.getTagsForStencil(d,"glue elastic views","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lake_formation;",c,c,"","Lake Formation",null,null,this.getTagsForStencil(d,"lake formation","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".data_exchange;",c,c,"","Data Exchange",null,null,this.getTagsForStencil(d,\r\n"data aexchange","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".sql_workbench;",c,c,"","SQL Workbench",null,null,this.getTagsForStencil(d,"sql workbench","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"search_documents;",68*a,78*a,"","Search Documents",null,null,this.getTagsForStencil(d,"search documents","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"cluster;",78*a,78*\r\na,"","Cluster",null,null,this.getTagsForStencil(d,"hdfs cluster","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"data_lake_resource_icon;",78*a,78*a,"","Data Lake",null,null,this.getTagsForStencil(d,"data lake","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"emr_engine;",78*a,59*a,"","EMR Engine",null,null,this.getTagsForStencil(d,"emr engine","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"emr_engine_mapr_m3;",\r\n78*a,59*a,"","EMR Engine MapR M3",null,null,this.getTagsForStencil(d,"emr engine mapr m3","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"emr_engine_mapr_m5;",78*a,59*a,"","EMR Engine MapR M5",null,null,this.getTagsForStencil(d,"emr engine mapr m5","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"emr_engine_mapr_m7;",78*a,59*a,"","EMR Engine MapR M7",null,null,this.getTagsForStencil(d,"emr engine mapr m7","aws amazon web service analytics ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"hdfs_cluster;",78*a,78*a,"","HDFS Cluster",null,null,this.getTagsForStencil(d,"cluster","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"dense_compute_node;",78*a,78*a,"","Dense Compute Node",null,null,this.getTagsForStencil(d,"dense compute node","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"dense_storage_node;",78*a,78*a,"","Dense Storage Node",null,null,this.getTagsForStencil(d,"dense storage node",\r\n"aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"redshift_ra3;",78*a,78*a,"","Redshift RA3",null,null,this.getTagsForStencil(d,"redshift ra3","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"glue_crawlers;",78*a,78*a,"","Crawler",null,null,this.getTagsForStencil(d,"crawler","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"glue_databrew;",78*a,78*a,"","Glue DataBrew",null,null,this.getTagsForStencil(d,\r\n"glue databrew","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"glue_data_catalog;",72*a,78*a,"","Glue Data Catalog",null,null,this.getTagsForStencil(d,"glue data catalog","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"redshift_ml;",78*a,78*a,"","Redshift ML",null,null,this.getTagsForStencil(d,"redshift ml","aws amazon web service analytics ").join(" "))])};Sidebar.prototype.addAWS4ApplicationIntegrationPalette=function(a,b,e,c,\r\nd,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BC1356;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Application Integration","AWS / Application Integration",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".application_integration;",c,c,"","Application Integration",null,null,this.getTagsForStencil(d,"application integration","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".api_gateway;",c,c,"","API Gateway",null,null,this.getTagsForStencil(d,\r\n"api gateway","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".mq;",c,c,"","MQ",null,null,this.getTagsForStencil(d,"mq","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".sns;",c,c,"","Simple Notification Service",null,null,this.getTagsForStencil(d,"sns simple notification service","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".sqs;",c,c,"","Simple Queue Service",null,null,this.getTagsForStencil(d,"sqs simple queue service","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".appsync;",c,c,"","AppSync",null,null,this.getTagsForStencil(d,"appsync","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".eventbridge;",c,c,"","EventBridge",null,null,this.getTagsForStencil(d,\r\n"eventbridge event bridge","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".managed_workflows_for_apache_airflow;",c,c,"","Managed Workflows for Apache Airflow",null,null,this.getTagsForStencil(d,"managed workflows for apache airflow","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".step_functions;",c,c,"","Step Functions",null,null,this.getTagsForStencil(d,\r\n"step functions","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".mobile_application;",c,c,"","Console Mobile Application",null,null,this.getTagsForStencil(d,"console mobile application","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".express_workflow;",c,c,"","Express Workflows",null,null,this.getTagsForStencil(d,"express workflows","aws amazon web service application integration ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".appflow;",c,c,"","AppFlow",null,null,this.getTagsForStencil(d,"appflow","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+"endpoint;",78*a,78*a,"","API Gateway Endpoint",null,null,this.getTagsForStencil(d,"api application programming interface gateway endpoint","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+"email_notification;",78*a,78*a,"","Email Notification",\r\nnull,null,this.getTagsForStencil(d,"email notification","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+"event;",78*a,78*a,"","Event",null,null,this.getTagsForStencil(d,"event","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+"eventbridge_custom_event_bus_resource;",78*a,69*a,"","Custom Event Bus",null,null,this.getTagsForStencil(d,"eventbridge custom event bus resource","aws amazon web service application integration ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"eventbridge_default_event_bus_resource;",78*a,53*a,"","Default Event Bus",null,null,this.getTagsForStencil(d,"eventbridge default event bus resource","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+"eventbridge_saas_partner_event_bus_resource;",78*a,78*a,"","SaaS Event Bus",null,null,this.getTagsForStencil(d,"eventbridge saas partner event bus resource","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+\r\n"event_resource;",78*a,78*a,"","Event Resource",null,null,this.getTagsForStencil(d,"event resource","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+"http_notification;",78*a,78*a,"","HTTP Notification",null,null,this.getTagsForStencil(d,"http notification","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+"topic;",78*a,67*a,"","Topic",null,null,this.getTagsForStencil(d,"topic","aws amazon web service application integration ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"message;",76*a,78*a,"","Message",null,null,this.getTagsForStencil(d,"message","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+"queue;",78*a,47*a,"","Queue",null,null,this.getTagsForStencil(d,"queue","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(b+"rule_3;",78*a,68*a,"","Rule",null,null,this.getTagsForStencil(d,"rule","aws amazon web service application integration ").join(" "))])};\r\nSidebar.prototype.addAWS4ARVRPalette=function(a,b,e,c,d,f){a="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";\r\nthis.addPaletteFunctions("aws4AR VR","AWS / AR & VR",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".ar_vr;",c,c,"","AR & VR",null,null,this.getTagsForStencil(d,"ar vr augmented virtual reality","aws amazon web service ar vr augmented virtual reality ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".sumerian;",c,c,"","Sumerian",null,null,this.getTagsForStencil(d,"sumerian","aws amazon web service ar vr augmented virtual reality ").join(" "))])};Sidebar.prototype.addAWS4CostManagementPalette=\r\nfunction(a,b,e,c,d,f){a="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Cost Management",\r\n"AWS / Cost Management",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".cost_management;",c,c,"","Cost Management",null,null,this.getTagsForStencil(d,"cost management","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".budgets_2;",c,c,"","Budgets",null,null,this.getTagsForStencil(d,"budgets","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".cost_and_usage_report;",\r\nc,c,"","Cost & Usage Report",null,null,this.getTagsForStencil(d,"cost and usage report","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".cost_explorer;",c,c,"","Cost Explorer",null,null,this.getTagsForStencil(d,"cost explorer","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".reserved_instance_reporting;",c,c,"","Reserved Instance Reporting",null,null,this.getTagsForStencil(d,\r\n"reserved instance reporting","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".savings_plans;",c,c,"","Savings Plans",null,null,this.getTagsForStencil(d,"savings plans","aws amazon web service cost management ").join(" "))])};Sidebar.prototype.addAWS4BlockchainPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#D05C17;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Blockchain",\r\n"AWS / Blockchain",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".blockchain;",c,c,"","Blockchain",null,null,this.getTagsForStencil(d,"blockchain","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".managed_blockchain;",c,c,"","Managed Blockchain",null,null,this.getTagsForStencil(d,"managed blockchain","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".quantum_ledger_database;",\r\nc,c,"","Quantum Ledger Database",null,null,this.getTagsForStencil(d,"quantum ledger database","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(b+"blockchain_resource;",78*a,23*a,"","Blockchain Resource",null,null,this.getTagsForStencil(d,"blockchain resource","aws amazon web service cost management ").join(" "))])};Sidebar.prototype.addAWS4BusinessApplicationsPalette=function(a,b,e,c,d,f){a="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Business Applications","AWS / Business Applications",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".business_application;",c,c,"","Business Application",null,null,this.getTagsForStencil(d,"business application","aws amazon web service business applications ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".alexa_for_business;",c,c,"","Alexa for Business",null,null,this.getTagsForStencil(d,\r\n"alexa for business","aws amazon web service business applications ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".chime;",c,c,"","Chime",null,null,this.getTagsForStencil(d,"chime","aws amazon web service business applications ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".honeycode;",c,c,"","Honeycode",null,null,this.getTagsForStencil(d,"honeycode","aws amazon web service business applications ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+\r\nd+".workdocs;",c,c,"","WorkDocs",null,null,this.getTagsForStencil(d,"workdocs","aws amazon web service business applications ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".workmail;",c,c,"","WorkMail",null,null,this.getTagsForStencil(d,"workmail","aws amazon web service business applications ").join(" "))])};Sidebar.prototype.addAWS4EC2InstanceTypePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#D86613;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4EC2 Instance Types","AWS / EC2 Instance Types",!1,[this.createVertexTemplateEntry(b+"a1_instance;",48*a,48*a,"","A1 Instance",null,null,this.getTagsForStencil(d,"a1","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"c4_instance;",48*a,48*a,"","C4 Instance",null,null,this.getTagsForStencil(d,"c4","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"c5_instance;",\r\n48*a,48*a,"","C5 Instance",null,null,this.getTagsForStencil(d,"c5","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"c5a;",48*a,48*a,"","C5a Instance",null,null,this.getTagsForStencil(d,"c5a","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"c5d;",48*a,48*a,"","C5d Instance",null,null,this.getTagsForStencil(d,"c5d","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"c6gd;",48*a,48*\r\na,"","C6gd Instance",null,null,this.getTagsForStencil(d,"c6gd","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"c6g_instance;",48*a,48*a,"","C6g Instance",null,null,this.getTagsForStencil(d,"c6g","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"c5n_instance;",48*a,48*a,"","C5n Instance",null,null,this.getTagsForStencil(d,"c5n","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"d2_instance;",\r\n48*a,48*a,"","D2 Instance",null,null,this.getTagsForStencil(d,"d2","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"d3en_instance;",48*a,48*a,"","D3en Instance",null,null,this.getTagsForStencil(d,"d3en","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"d3_instance;",48*a,48*a,"","D3 Instance",null,null,this.getTagsForStencil(d,"d3","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+\r\n"db_on_instance2;",48*a,48*a,"","DB Instance",null,null,this.getTagsForStencil(d,"db on database","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"f1_instance;",48*a,48*a,"","F1 Instance",null,null,this.getTagsForStencil(d,"f1","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"g3_instance;",48*a,48*a,"","G3 Instance",null,null,this.getTagsForStencil(d,"g3","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+\r\n"g4ad_instance;",48*a,48*a,"","G4ad Instance",null,null,this.getTagsForStencil(d,"g4ad","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"g4dn;",48*a,48*a,"","G4dn Instance",null,null,this.getTagsForStencil(d,"g4dn","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"h1_instance;",48*a,48*a,"","H1 Instance",null,null,this.getTagsForStencil(d,"h1","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+\r\n"habana_gaudi;",48*a,48*a,"","Habana Gaudi Instance",null,null,this.getTagsForStencil(d,"habana gaudi","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"high_memory_instance;",48*a,48*a,"","High Memory Instance",null,null,this.getTagsForStencil(d,"high memory instance","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"i2;",48*a,48*a,"","I2 Instance",null,null,this.getTagsForStencil(d,"i2","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"i3en;",48*a,48*a,"","I3en Instance",null,null,this.getTagsForStencil(d,"i3en","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"i3_instance;",48*a,48*a,"","I3 Instance",null,null,this.getTagsForStencil(d,"i3","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"inf1;",48*a,48*a,"","Inf1",null,null,this.getTagsForStencil(d,"inf1","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+\r\n"inferentia;",78*a,74*a,"","Inferentia",null,null,this.getTagsForStencil(d,"inferentia","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"instance2;",48*a,48*a,"","Instance",null,null,this.getTagsForStencil(d,"","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"instances;",48*a,48*a,"","Instances",null,null,this.getTagsForStencil(d,"","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+\r\n"instance_with_cloudwatch2;",48*a,48*a,"","Instance with CloudWatch",null,null,this.getTagsForStencil(d,"instance with cloudwatch","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"m4_instance;",48*a,48*a,"","M4 Instance",null,null,this.getTagsForStencil(d,"m4","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"m5a_instance;",48*a,48*a,"","M5a Instance",null,null,this.getTagsForStencil(d,"m5a","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"m5d_instance;",48*a,48*a,"","M5d Instance",null,null,this.getTagsForStencil(d,"m5d","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"m5dn_instance;",48*a,48*a,"","M5dn Instance",null,null,this.getTagsForStencil(d,"m5dn","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"m5_instance;",48*a,48*a,"","M5 Instance",null,null,this.getTagsForStencil(d,"m5","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"m5n_instance;",48*a,48*a,"","M5n Instance",null,null,this.getTagsForStencil(d,"m5n","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"m5zn_instance;",48*a,48*a,"","M5zn Instance",null,null,this.getTagsForStencil(d,"m5zn","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"m6gd_instance;",48*a,48*a,"","M6gd Instance",null,null,this.getTagsForStencil(d,"m6gd","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"m6g_instance;",48*a,48*a,"","M6g Instance",null,null,this.getTagsForStencil(d,"m6g","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"mac_instance;",48*a,48*a,"","Mac Instance",null,null,this.getTagsForStencil(d,"mac","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"optimized_instance;",48*a,48*a,"","Optimized Instance",null,null,this.getTagsForStencil(d,"optimized instance","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"p2_instance;",48*a,48*a,"","P2 Instance",null,null,this.getTagsForStencil(d,"p2","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"p3dn_instance;",48*a,48*a,"","P3dn Instance",null,null,this.getTagsForStencil(d,"p3dn","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"p3_instance;",48*a,48*a,"","P3 Instance",null,null,this.getTagsForStencil(d,"p3","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"p4d_instance;",48*a,48*a,"","P4d Instance",null,null,this.getTagsForStencil(d,"p4d","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"p4_instance;",48*a,48*a,"","P4 Instance",null,null,this.getTagsForStencil(d,"p4","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"r4_instance;",48*a,48*a,"","R4 Instance",null,null,this.getTagsForStencil(d,"r4","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"r5ad_instance;",48*a,48*a,"","R5ad Instance",null,null,this.getTagsForStencil(d,"r5ad","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"r5a_instance;",48*a,48*a,"","R5a Instance",null,null,this.getTagsForStencil(d,"r5a","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"r5b_instance;",48*a,48*a,"","R5b Instance",null,null,this.getTagsForStencil(d,"r5b","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"r5d_instance;",48*a,48*a,"","R5d Instance",null,null,this.getTagsForStencil(d,"r5d","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"r5gd_instance;",48*a,48*a,"","R5gd Instance",null,null,this.getTagsForStencil(d,"r5gd","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"r5_instance;",48*a,48*a,"","R5 Instance",null,null,this.getTagsForStencil(d,"r5","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"r5n_instance;",48*a,48*a,"","R5n Instance",null,null,this.getTagsForStencil(d,"r5n","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"r6g_instance;",48*a,48*a,"","R6g Instance",null,null,this.getTagsForStencil(d,"r6g","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"rdn_instance;",48*a,48*a,"","Rdn Instance",null,null,this.getTagsForStencil(d,"rdn","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"spot_instance;",48*a,48*a,"","Spot Instance",null,null,this.getTagsForStencil(d,"spot","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"t2_instance;",48*a,48*a,"","T2 Instance",null,null,this.getTagsForStencil(d,"t2","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"t3a_instance;",48*a,48*a,"","T3a Instance",null,null,this.getTagsForStencil(d,"t3a","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"t3_instance;",48*a,48*a,"","T3 Instance",null,null,this.getTagsForStencil(d,"t3","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"t3_instance;",48*a,48*a,"","T3 Instance",null,null,this.getTagsForStencil(d,"t3","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"t4g_instance;",48*a,48*a,"","T4g Instance",null,null,this.getTagsForStencil(d,"t4g","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"trainium_instance;",48*a,48*a,"","Trainium Instance",null,null,this.getTagsForStencil(d,"trainium","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"x1e_instance;",48*a,48*a,"","X1e Instance",null,null,this.getTagsForStencil(d,"x1e","aws amazon web service ec2 instance type ").join(" ")),this.createVertexTemplateEntry(b+"x1_instance2;",48*a,48*a,"","X1 Instance",null,null,this.getTagsForStencil(d,"x1","aws amazon web service ec2 instance type ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"z1d_instance;",48*a,48*a,"","z1d Instance",null,null,this.getTagsForStencil(d,"z1d","aws amazon web service ec2 instance type ").join(" "))])};Sidebar.prototype.addAWS4ComputePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#D05C17;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";\r\ne="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Compute","AWS / Compute",\r\n!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".compute;",c,c,"","Compute",null,null,this.getTagsForStencil(d,"compute","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".ec2;",c,c,"","EC2",null,null,this.getTagsForStencil(d,"ec2","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".auto_scaling2;",c,c,"","EC2 Auto Scaling",null,null,this.getTagsForStencil(d,"ec2 auto scaling",\r\n"aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".auto_scaling3;",c,c,"","Auto Scaling",null,null,this.getTagsForStencil(d,"auto scaling","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".bottlerocket;",c,c,"","Bottlerocket",null,null,this.getTagsForStencil(d,"bottlerocket","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lightsail;",\r\nc,c,"","Lightsail",null,null,this.getTagsForStencil(d,"lightsail","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".batch;",c,c,"","Batch",null,null,this.getTagsForStencil(d,"batch","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".compute_optimizer;",c,c,"","Compute Optimizer",null,null,this.getTagsForStencil(d,"compute optimizer","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".elastic_beanstalk;",c,c,"","Elastic Beanstalk",null,null,this.getTagsForStencil(d,"elastic beanstalk","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_fabric_adapter;",c,c,"","Elastic Fabric Adapter",null,null,this.getTagsForStencil(d,"elastic fabric adapter","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".fargate;",c,c,"","Fargate",null,null,this.getTagsForStencil(d,\r\n"fargate","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".ec2_image_builder;",c,c,"","EC2 Image Builder",null,null,this.getTagsForStencil(d,"ec2 image builder","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lambda;",c,c,"","Lambda",null,null,this.getTagsForStencil(d,"lambda","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".local_zones;",\r\nc,c,"","Local Zones",null,null,this.getTagsForStencil(d,"local zones","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".nice_dcv;",c,c,"","Nice DCV",null,null,this.getTagsForStencil(d,"nice dcv","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".nitro_enclaves;",c,c,"","Nitro Enclaves",null,null,this.getTagsForStencil(d,"nitro enclaves","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".outposts;",c,c,"","Outposts",null,null,this.getTagsForStencil(d,"outposts","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".outposts_1u_and_2u_servers;",c,c,"","Outposts 1u and 2u Servers",null,null,this.getTagsForStencil(d,"outposts 1u and 2u servers","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".parallel_cluster;",c,c,"","Parallel Cluster",null,null,\r\nthis.getTagsForStencil(d,"parallel cluster","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".serverless_application_repository;",c,c,"","Serverless Application Repository",null,null,this.getTagsForStencil(d,"serverless application repository","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_deadline;",c,c,"","Thinkbox Deadline",null,null,this.getTagsForStencil(d,"thinkbox deadline",\r\n"aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_draft;",c,c,"","Thinkbox Draft",null,null,this.getTagsForStencil(d,"thinkbox draft","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_frost;",c,c,"","Thinkbox Frost",null,null,this.getTagsForStencil(d,"thinkbox frost","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+\r\nd+".thinkbox_krakatoa;",c,c,"","Thinkbox Krakatoa",null,null,this.getTagsForStencil(d,"thinkbox krakatoa","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_sequoia;",c,c,"","Thinkbox Sequoia",null,null,this.getTagsForStencil(d,"thinkbox sequoia","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_stoke;",c,c,"","Thinkbox Stoke",null,null,this.getTagsForStencil(d,"thinkbox stoke",\r\n"aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_xmesh;",c,c,"","Thinkbox XMesh",null,null,this.getTagsForStencil(d,"thinkbox xmesh","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_load_balancing;",c,c,"","Elastic Load Balancing",null,null,this.getTagsForStencil(d,"elastic load balancing","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".vmware_cloud_on_aws;",c,c,"","VMware Cloud on AWS",null,null,this.getTagsForStencil(d,"vmware cloud on aws virtual machine vm","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".wavelength;",c,c,"","Wavelength",null,null,this.getTagsForStencil(d,"wavelength","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"ami;",78*a,78*a,"","AMI",null,null,this.getTagsForStencil(d,"ami","aws amazon web service compute ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"auto_scaling2;",78*a,78*a,"","Auto Scaling",null,null,this.getTagsForStencil(d,"autoscaling auto scaling","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"elastic_ip_address;",78*a,33*a,"","Elastic IP Address",null,null,this.getTagsForStencil(d,"elastic ip itnernet protocol address","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"rescue;",78*a,78*a,"","Rescue",null,null,this.getTagsForStencil(d,"rescue",\r\n"aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"application;",50*a,78*a,"","Application",null,null,this.getTagsForStencil(d,"elastic beanstalk application","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"deployment;",78*a,74*a,"","Deployment",null,null,this.getTagsForStencil(d,"elastic beanstalk deployment","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(b+"lambda_function;",78*a,78*a,"","Lambda Function",\r\nnull,null,this.getTagsForStencil(d,"lambda function","aws amazon web service compute ").join(" "))])};Sidebar.prototype.addAWS4ContainersPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#D05C17;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Containers","AWS / Containers",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".containers;",c,c,"","Containers",null,null,this.getTagsForStencil(d,"","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".eks_anywhere;",c,c,"","EKS Anywhere",null,null,this.getTagsForStencil(d,"eks anywhere","aws amazon web service container containers ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".eks_cloud;",c,c,"","EKS Cloud",null,null,this.getTagsForStencil(d,"eks cloud","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".eks_distro;",c,c,"","EKS Distro",null,null,this.getTagsForStencil(d,"eks distro","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".eks;",c,c,"","Elastic Container Kubernetes",\r\nnull,null,this.getTagsForStencil(d,"elastic container service eks for kubernetes","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".ecr;",c,c,"","Elastic Container Registry",null,null,this.getTagsForStencil(d,"elastic container registry ecr","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".ecs;",c,c,"","Elastic Container Service",null,null,this.getTagsForStencil(d,\r\n"elastic container service ecs","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".fargate;",c,c,"","Fargate",null,null,this.getTagsForStencil(d,"fargate","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".red_hat_openshift;",c,c,"","Red Hat OpenShift",null,null,this.getTagsForStencil(d,"red hat openshift","aws amazon web service container containers ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"ecs_copilot_cli;",78*a,73*a,"","ECS copilot CLI",null,null,this.getTagsForStencil(d,"ecs copilot cli","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(b+"registry;",78*a,78*a,"","Registry",null,null,this.getTagsForStencil(d,"registry","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(b+"container_registry_image;",78*a,78*a,"","Image",null,null,this.getTagsForStencil(d,"image","aws amazon web service container containers ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"container_1;",78*a,50*a,"","Container",null,null,this.getTagsForStencil(d,"ecs elastic container service","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(b+"container_2;",78*a,50*a,"","Container",null,null,this.getTagsForStencil(d,"ecs elastic container service","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(b+"container_3;",78*a,50*a,"","Container",null,null,this.getTagsForStencil(d,\r\n"ecs elastic container service","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(b+"ecs_anywhere;",78*a,78*a,"","ECS Anywhere",null,null,this.getTagsForStencil(d,"ecs anywhere","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(b+"ecs_service;",64*a,78*a,"","Service",null,null,this.getTagsForStencil(d,"ecs elastic container service","aws amazon web service container containers ").join(" ")),this.createVertexTemplateEntry(b+\r\n"ecs_task;",59*a,78*a,"","Task",null,null,this.getTagsForStencil(d,"ecs elastic container service task","aws amazon web service container containers ").join(" "))])};Sidebar.prototype.addAWS4CustomerEnablementPalette=function(a,b,e,c,d,f){a="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Customer Enablement","AWS / Customer Enablement",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".customer_enablement;",c,c,"","Customer Enablement",null,null,this.getTagsForStencil(d,"customer enablement","aws amazon web service customer enablement ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".activate;",c,c,"","Activate",null,null,this.getTagsForStencil(d,"activate","aws amazon web service customer enablement ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".iq;",c,c,"","IQ",null,null,this.getTagsForStencil(d,"iq","aws amazon web service customer enablement ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".managed_services;",c,c,"","Managed Services",null,null,this.getTagsForStencil(d,"managed services","aws amazon web service customer enablement ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".professional_services;",c,c,"","Professional Services",\r\nnull,null,this.getTagsForStencil(d,"professional services","aws amazon web service customer enablement ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".support;",c,c,"","Support",null,null,this.getTagsForStencil(d,"support","aws amazon web service customer enablement ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".training_certification;",c,c,"","Training Certification",null,null,this.getTagsForStencil(d,"training certification","aws amazon web service customer enablement ").join(" "))])};\r\nSidebar.prototype.addAWS4CustomerEngagementPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#3334B9;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Customer Engagement","AWS / Customer Engagement",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".customer_engagement;",c,c,"","Customer Engagement",null,null,this.getTagsForStencil(d,"customer engagement","aws amazon web service customer engagement ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".connect;",c,c,"","Connect",null,null,this.getTagsForStencil(d,"connect","aws amazon web service customer engagement ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".pinpoint;",c,c,"","Pinpoint",null,null,this.getTagsForStencil(d,"pinpoint","aws amazon web service customer engagement ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".simple_email_service;",c,c,"","Simple Email Service",null,null,this.getTagsForStencil(d,"simple email service","aws amazon web service customer engagement ").join(" ")),this.createVertexTemplateEntry(b+"pinpoint_journey;",78*a,75*a,"","Pinpoint Journey",\r\nnull,null,this.getTagsForStencil(d,"pinpoint journey","aws amazon web service customer engagement ").join(" ")),this.createVertexTemplateEntry(b+"email;",78*a,69*a,"","Email",null,null,this.getTagsForStencil(d,"email","aws amazon web service customer engagement ").join(" "))])};Sidebar.prototype.addAWS4DatabasePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#3334B9;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Database",\r\n"AWS / Database",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".database;",c,c,"","Database",null,null,this.getTagsForStencil(d,"database","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".aurora;",c,c,"","Aurora",null,null,this.getTagsForStencil(d,"aurora","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".documentdb_with_mongodb_compatibility;",c,c,"","DocumentDB (with MongoDB Compatibility)",\r\nnull,null,this.getTagsForStencil(d,"documentdb with mongodb compatibility","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".dynamodb;",c,c,"","DynamoDB",null,null,this.getTagsForStencil(d,"dynamodb","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elasticache;",c,c,"","ElastiCache",null,null,this.getTagsForStencil(d,"elasticache","aws amazon web service db database ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".managed_apache_cassandra_service;",c,c,"","Managed Apache Cassandra Service",null,null,this.getTagsForStencil(d,"managed apache cassandra service","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".neptune;",c,c,"","Neptune",null,null,this.getTagsForStencil(d,"neptune","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".quantum_ledger_database;",\r\nc,c,"","Quantum Ledger Database",null,null,this.getTagsForStencil(d,"quantum ledger database db","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".rds;",c,c,"","RDS",null,null,this.getTagsForStencil(d,"rds","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".rds_on_vmware;",c,c,"","RDS on VMware",null,null,this.getTagsForStencil(d,"rds on vmware","aws amazon web service db database ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".redshift;",c,c,"","Redshift",null,null,this.getTagsForStencil(d,"redshift","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".timestream;",c,c,"","Timestream",null,null,this.getTagsForStencil(d,"timestream","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".database_migration_service;",c,c,"","Database Migration Service",\r\nnull,null,this.getTagsForStencil(d,"database migration service","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".keyspaces;",c,c,"","Keyspaces",null,null,this.getTagsForStencil(d,"keyspaces","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"attribute;",78*a,78*a,"","Attribute",null,null,this.getTagsForStencil(d,"dynamodb dynamo db database attribute","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+\r\n"attributes;",78*a,78*a,"","Attributes",null,null,this.getTagsForStencil(d,"dynamodb dynamo db database attributes","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"aurora_instance;",78*a,78*a,"","Aurora Instance",null,null,this.getTagsForStencil(d,"aurora instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"aurora_instance_alt;",78*a,78*a,"","Aurora Instance",null,null,this.getTagsForStencil(d,"aurora instance","aws amazon web service db database ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"rds_instance;",78*a,78*a,"","RDS Instance",null,null,this.getTagsForStencil(d,"rds instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_instance_alt;",78*a,78*a,"","RDS Instance",null,null,this.getTagsForStencil(d,"rds instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_mariadb_instance;",78*a,78*a,"","MariaDB Instance",null,null,this.getTagsForStencil(d,"mariadb maria db instance",\r\n"aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_mariadb_instance_alt;",78*a,78*a,"","MariaDB Instance",null,null,this.getTagsForStencil(d,"mariadb maria db instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_mysql_instance;",78*a,78*a,"","MySQL Instance",null,null,this.getTagsForStencil(d,"mysql instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_mysql_instance_alt;",\r\n78*a,78*a,"","MySQL Instance",null,null,this.getTagsForStencil(d,"mysql instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_oracle_instance;",78*a,78*a,"","Oracle Instance",null,null,this.getTagsForStencil(d,"oracle instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_oracle_instance_alt;",78*a,78*a,"","Oracle Instance",null,null,this.getTagsForStencil(d,"oracle instance","aws amazon web service db database ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"rds_piops;",78*a,78*a,"","PIOPS",null,null,this.getTagsForStencil(d,"piop","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_postgresql_instance;",78*a,78*a,"","Postgre SQL Instance",null,null,this.getTagsForStencil(d,"postgre sql instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_postgresql_instance_alt;",78*a,78*a,"","Postgre SQL Instance",null,null,this.getTagsForStencil(d,"postgre sql instance",\r\n"aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_proxy;",78*a,78*a,"","RDS Proxy",null,null,this.getTagsForStencil(d,"rds proxy","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_proxy_alt;",78*a,78*a,"","RDS Proxy",null,null,this.getTagsForStencil(d,"rds proxy","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_sql_server_instance;",78*a,78*a,"","SQL Server Instance",null,null,this.getTagsForStencil(d,\r\n"sql server instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"rds_sql_server_instance_alt;",78*a,78*a,"","SQL Server Instance",null,null,this.getTagsForStencil(d,"sql server instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"dynamodb_dax;",78*a,72*a,"","DAX",null,null,this.getTagsForStencil(d,"dynamodb dynamo db database dax","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"global_secondary_index;",\r\n78*a,78*a,"","Global Secondary Index",null,null,this.getTagsForStencil(d,"global secondary index","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"item;",78*a,78*a,"","Item",null,null,this.getTagsForStencil(d,"item","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"items;",78*a,78*a,"","Items",null,null,this.getTagsForStencil(d,"items","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"table;",78*\r\na,78*a,"","Table",null,null,this.getTagsForStencil(d,"table","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"cache_node;",78*a,78*a,"","Cache Node",null,null,this.getTagsForStencil(d,"elasticache elastic cache node","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"elasticache_for_memcached;",78*a,69*a,"","ElastiCache for Memcached",null,null,this.getTagsForStencil(d,"elasticache for memcached","aws amazon web service db database ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"elasticache_for_redis;",78*a,69*a,"","Elasticache for Redis",null,null,this.getTagsForStencil(d,"elasticache for redis","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"dense_compute_node;",78*a,78*a,"","Dense Compute Node",null,null,this.getTagsForStencil(d,"dense compute node","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"dense_storage_node;",78*a,78*a,"","Dense Storage Node",null,null,this.getTagsForStencil(d,\r\n"dense storage node","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(b+"database_migration_workflow_job;",50*a,78*a,"","Database Migration Workflow / Job",null,null,this.getTagsForStencil(d,"database migration workflow job","aws amazon web service db database ").join(" "))])};Sidebar.prototype.addAWS4DeveloperToolsPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#3334B9;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Developer Tools",\r\n"AWS / Developer Tools",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".developer_tools;",c,c,"","Developer Tools",null,null,this.getTagsForStencil(d,"developer tools","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloud9;",c,c,"","Cloud9",null,null,this.getTagsForStencil(d,"cloud9","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloud_development_kit;",\r\nc,c,"","Cloud Development Kit",null,null,this.getTagsForStencil(d,"cloud development kit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudshell;",c,c,"","CloudShell",null,null,this.getTagsForStencil(d,"cloudshell","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".codeartifact;",c,c,"","CodeArtifact",null,null,this.getTagsForStencil(d,"codeartifact","aws amazon web service dev developer tools ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".codebuild;",c,c,"","CodeBuild",null,null,this.getTagsForStencil(d,"codebuild","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".codecommit;",c,c,"","CodeCommit",null,null,this.getTagsForStencil(d,"codecommit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".codedeploy;",c,c,"","CodeDeploy",null,null,\r\nthis.getTagsForStencil(d,"codedeploy","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".codepipeline;",c,c,"","CodePipeline",null,null,this.getTagsForStencil(d,"codepipeline","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".codestar;",c,c,"","CodeStar",null,null,this.getTagsForStencil(d,"codestar","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".command_line_interface;",c,c,"","Command Line Interface",null,null,this.getTagsForStencil(d,"command line interface","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".tools_and_sdks;",c,c,"","Tools and SDKs",null,null,this.getTagsForStencil(d,"tools and sdks software development kit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".xray;",\r\nc,c,"","X-Ray",null,null,this.getTagsForStencil(d,"ray xray","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(b+"dynamodb_dax;",78*a,72*a,"","DAX",null,null,this.getTagsForStencil(d,"dynamodb dynamo db database dax","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(b+"cloud9;",78*a,50*a,"","Cloud9",null,null,this.getTagsForStencil(d,"cloud9","aws amazon web service dev developer tools ").join(" "))])};Sidebar.prototype.addAWS4EndUserComputingPalette=\r\nfunction(a,b,e,c,d,f){a="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#4AB29A;gradientDirection=north;fillColor=#116D5B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4End User Computing",\r\n"AWS / End User Computing",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".desktop_and_app_streaming;",c,c,"","End User Computing",null,null,this.getTagsForStencil(d,"desktop and app streaming","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".appstream_20;",c,c,"","Appstream 2.0",null,null,this.getTagsForStencil(d,"appstream","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+\r\nd+".workspaces;",c,c,"","WorkSpaces",null,null,this.getTagsForStencil(d,"workspaces","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".worklink;",c,c,"","WorkLink",null,null,this.getTagsForStencil(d,"worklink","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".workdocs;",c,c,"","WorkDocs",null,null,this.getTagsForStencil(d,"workdocs","aws amazon web service db database ").join(" "))])};\r\nSidebar.prototype.addAWS4GameTechPalette=function(a,b,e,c,d,f){a="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";\r\nthis.addPaletteFunctions("aws4Game Tech","AWS / Game Tech",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".game_tech2;",c,c,"","Game Tech",null,null,this.getTagsForStencil(d,"game tech","aws amazon web service game development ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".gamelift;",c,c,"","GameLift",null,null,this.getTagsForStencil(d,"gamelift","aws amazon web service game development ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+\r\nd+".lumberyard;",c,c,"","Lumberyard",null,null,this.getTagsForStencil(d,"lumberyard","aws amazon web service game development ").join(" "))])};Sidebar.prototype.addAWS4InternetOfThingsPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#277116;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Internet of Things","AWS / Internet of Things",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".internet_of_things;",c,c,"","Internet of Things",null,null,this.getTagsForStencil(d,"","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".freertos;",c,c,"","FreeRTOS",null,null,this.getTagsForStencil(d,"freertos","aws amazon web service internet of things iot ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_1click;",c,c,"","1Click",null,null,this.getTagsForStencil(d,"1click","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_analytics;",c,c,"","Analytics",null,null,this.getTagsForStencil(d,"analytics","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_button;",c,c,"","Button",null,null,this.getTagsForStencil(d,\r\n"button","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_core;",c,c,"","Core",null,null,this.getTagsForStencil(d,"core","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_device_defender;",c,c,"","Device Defender",null,null,this.getTagsForStencil(d,"device defender","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".iot_device_management;",c,c,"","Device Management",null,null,this.getTagsForStencil(d,"device management","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_events;",c,c,"","Events",null,null,this.getTagsForStencil(d,"events","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".greengrass;",c,c,"","Greengrass",null,null,this.getTagsForStencil(d,\r\n"greengrass","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_sitewise;",c,c,"","SiteWise",null,null,this.getTagsForStencil(d,"sitewise","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_things_graph;",c,c,"","Graph",null,null,this.getTagsForStencil(d,"graph","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+\r\n"iot_lorawan_protocol;",78*a,78*a,"","LoRaWAN Protocol",null,null,this.getTagsForStencil(d,"iot lorawan protocol","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"iot_sailboat;",78*a,78*a,"","Sailboat",null,null,this.getTagsForStencil(d,"iot sailboat","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"iot_analytics_channel;",65*a,78*a,"","Channel",null,null,this.getTagsForStencil(d,"analytics channel","aws amazon web service internet of things iot ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"data_set;",63*a,78*a,"","Data Set",null,null,this.getTagsForStencil(d,"data set","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"iot_analytics_data_store;",54*a,78*a,"","Data Store",null,null,this.getTagsForStencil(d,"analytics data store","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"iot_analytics_pipeline;",78*a,42*a,"","Pipeline",null,null,this.getTagsForStencil(d,"analytics pipeline",\r\n"aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"notebook;",68*a,78*a,"","Notebook",null,null,this.getTagsForStencil(d,"notebook","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"connector;",78*a,29*a,"","Connector",null,null,this.getTagsForStencil(d,"notebook","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"action;",78*a,78*a,"","Action",null,null,this.getTagsForStencil(d,\r\n"action","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"actuator;",72*a,78*a,"","Actuator",null,null,this.getTagsForStencil(d,"actuator","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"alexa_enabled_device;",72*a,78*a,"","Alexa Voice Service",null,null,this.getTagsForStencil(d,"alexa voice service","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"alexa_skill;",\r\n78*a,78*a,"","Alexa Skill",null,null,this.getTagsForStencil(d,"alexa skill","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"alexa_skill;",78*a,78*a,"","Alexa-Enabled Device",null,null,this.getTagsForStencil(d,"alexa enabled device","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"bank;",78*a,78*a,"","Bank",null,null,this.getTagsForStencil(d,"bank","aws amazon web service internet of things iot ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"bycicle;",78*a,78*a,"","Bycicle",null,null,this.getTagsForStencil(d,"bycicle","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"camera;",78*a,78*a,"","Camera",null,null,this.getTagsForStencil(d,"camera","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"car;",78*a,78*a,"","Car",null,null,this.getTagsForStencil(d,"car","aws amazon web service internet of things iot ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"cart;",78*a,78*a,"","Cart",null,null,this.getTagsForStencil(d,"cart","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"certificate_manager;",59*a,78*a,"","Certificate",null,null,this.getTagsForStencil(d,"certificate manager","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"coffee_pot;",78*a,78*a,"","Coffee Pot",null,null,this.getTagsForStencil(d,"coffee pot","aws amazon web service internet of things iot ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"desired_state;",78*a,78*a,"","Desired State",null,null,this.getTagsForStencil(d,"desired state","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"iot_device_gateway;",78*a,78*a,"","Device Gateway",null,null,this.getTagsForStencil(d,"device gateway","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"iot_device_jobs_resource;",64*a,78*a,"","Device Jobs",null,null,this.getTagsForStencil(d,\r\n"device jobs","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"door_lock;",78*a,78*a,"","Door Lock",null,null,this.getTagsForStencil(d,"door lock","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"echo;",41*a,78*a,"","Echo",null,null,this.getTagsForStencil(d,"echo","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"factory;",78*a,78*a,"","Factory",null,null,this.getTagsForStencil(d,\r\n"factory","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"firetv;",78*a,55*a,"","Fire TV",null,null,this.getTagsForStencil(d,"fire tv","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"firetv_stick;",78*a,34*a,"","Fire TV Stick",null,null,this.getTagsForStencil(d,"fire tv stick","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"generic;",78*a,78*a,"","Generic",null,\r\nnull,this.getTagsForStencil(d,"generic","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"hardware_board;",78*a,78*a,"","Hardware Board",null,null,this.getTagsForStencil(d,"hardware board","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"house;",78*a,78*a,"","House",null,null,this.getTagsForStencil(d,"house","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"http2_protocol;",\r\n78*a,78*a,"","HTTP2 protocol",null,null,this.getTagsForStencil(d,"http2 protocol","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"http_protocol;",78*a,78*a,"","HTTP protocol",null,null,this.getTagsForStencil(d,"http protocol","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"lambda_function;",78*a,78*a,"","Lambda Function",null,null,this.getTagsForStencil(d,"lambda function","aws amazon web service internet of things iot ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"lightbulb;",78*a,78*a,"","Lightbulb",null,null,this.getTagsForStencil(d,"lightbulb","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"medical_emergency;",78*a,78*a,"","Medical Emergency",null,null,this.getTagsForStencil(d,"medical emergency","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"mqtt_protocol;",78*a,78*a,"","MQTT Protocol",null,null,this.getTagsForStencil(d,"mqtt protocol",\r\n"aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"iot_over_the_air_update;",78*a,78*a,"","Over-The-Air Update",null,null,this.getTagsForStencil(d,"over the air update","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"police_emergency;",78*a,78*a,"","Police Emergency",null,null,this.getTagsForStencil(d,"police emergency","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+\r\n"policy;",78*a,67*a,"","Policy",null,null,this.getTagsForStencil(d,"policy","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"reported_state;",78*a,78*a,"","Reported State",null,null,this.getTagsForStencil(d,"reported state","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"rule;",46*a,78*a,"","Rule",null,null,this.getTagsForStencil(d,"rule","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+\r\n"sensor;",72*a,78*a,"","Sensor",null,null,this.getTagsForStencil(d,"sensor","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"servo;",78*a,56*a,"","Servo",null,null,this.getTagsForStencil(d,"servo","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"shadow;",78*a,77*a,"","Shadow",null,null,this.getTagsForStencil(d,"shadow","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+\r\n"simulator;",71*a,78*a,"","Simulator",null,null,this.getTagsForStencil(d,"simulator","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"thermostat;",78*a,78*a,"","Thermostat",null,null,this.getTagsForStencil(d,"thermostat","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"topic_2;",53*a,78*a,"","Topic",null,null,this.getTagsForStencil(d,"topic","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+\r\n"travel;",78*a,78*a,"","Travel",null,null,this.getTagsForStencil(d,"travel","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"utility;",78*a,78*a,"","Utility",null,null,this.getTagsForStencil(d,"utility","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(b+"windfarm;",78*a,78*a,"","Windfarm",null,null,this.getTagsForStencil(d,"windfarm","aws amazon web service internet of things iot ").join(" "))])};Sidebar.prototype.addAWS4MachineLearningPalette=\r\nfunction(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#116D5B;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#4AB29A;gradientDirection=north;fillColor=#116D5B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Machine Learning","AWS / Machine Learning",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".machine_learning;",c,c,"","Machine Learning",null,null,this.getTagsForStencil(d,"machine learning","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".augmented_ai;",c,c,"","Augmented AI",null,null,this.getTagsForStencil(d,"augmented ai","aws amazon web service machine learning ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".codeguru_2;",c,c,"","CodeGuru",null,null,this.getTagsForStencil(d,"codeguru","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".comprehend;",c,c,"","Comprehend",null,null,this.getTagsForStencil(d,"comprehend","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".deepcomposer;",c,c,"","DeepComposer",null,null,this.getTagsForStencil(d,\r\n"deepcomposer","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".devops_guru;",c,c,"","DevOps Guru",null,null,this.getTagsForStencil(d,"devops guru","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_inference_2;",c,c,"","Elastic Inference",null,null,this.getTagsForStencil(d,"elastic inference","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".forecast;",c,c,"","Forecast",null,null,this.getTagsForStencil(d,"forecast","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".fraud_detector;",c,c,"","Fraud Detector",null,null,this.getTagsForStencil(d,"fraud detector","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".healthlake;",c,c,"","HealthLake",null,null,this.getTagsForStencil(d,"healthlake",\r\n"aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kendra;",c,c,"","Kendra",null,null,this.getTagsForStencil(d,"kendra","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".neuron_ml_sdk;",c,c,"","Neuron ML SDK",null,null,this.getTagsForStencil(d,"neuron ml sdk software development kit","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".panorama;",c,c,"","Panorama",null,null,this.getTagsForStencil(d,"panorama","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lex;",c,c,"","Lex",null,null,this.getTagsForStencil(d,"lex","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lookout_for_equipment;",c,c,"","Lookout for Equipment",null,null,this.getTagsForStencil(d,"lookout for equipment",\r\n"aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lookout_for_metrics;",c,c,"","Lookout for Metrics",null,null,this.getTagsForStencil(d,"lookout for metrics","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lookout_for_vision;",c,c,"","Lookout for Vision",null,null,this.getTagsForStencil(d,"lookout for vision","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".monitron;",c,c,"","Monitron",null,null,this.getTagsForStencil(d,"monitron","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".personalize;",c,c,"","Personalize",null,null,this.getTagsForStencil(d,"personalize","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".polly;",c,c,"","Polly",null,null,this.getTagsForStencil(d,"polly","aws amazon web service machine learning ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".rekognition_2;",c,c,"","Rekognition",null,null,this.getTagsForStencil(d,"rekognition","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".sagemaker;",c,c,"","SageMaker",null,null,this.getTagsForStencil(d,"sagemaker","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".sagemaker_ground_truth;",c,c,"","SageMaker Ground Truth",\r\nnull,null,this.getTagsForStencil(d,"sagemaker ground truth","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".textract;",c,c,"","Textract",null,null,this.getTagsForStencil(d,"textract","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".transcribe;",c,c,"","Transcribe",null,null,this.getTagsForStencil(d,"transcribe","aws amazon web service machine learning ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".translate;",c,c,"","Translate",null,null,this.getTagsForStencil(d,"translate","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".apache_mxnet_on_aws;",c,c,"","Apache MXNet on AWS",null,null,this.getTagsForStencil(d,"apache mxnet on aws","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".deep_learning_amis;",c,\r\nc,"","Deep Learning AMIs",null,null,this.getTagsForStencil(d,"deep learning amis","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".deeplens;",c,c,"","DeepLens",null,null,this.getTagsForStencil(d,"deeplens","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".deepracer;",c,c,"","DeepRacer",null,null,this.getTagsForStencil(d,"deepracer","aws amazon web service machine learning ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".tensorflow_on_aws;",c,c,"","TensorFlow on AWS",null,null,this.getTagsForStencil(d,"tensorflow on aws","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".torchserve;",c,c,"","TorchServe",null,null,this.getTagsForStencil(d,"torchserve","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".deep_learning_containers;",\r\nc,c,"","Deep Learning Containers",null,null,this.getTagsForStencil(d,"deep learning containers","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(b+"devops_guru_insights;",77*a,78*a,"","DevOps Guru Insights",null,null,this.getTagsForStencil(d,"devops guru insights","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(b+"rekognition_image;",77*a,78*a,"","Rekognition image",null,null,this.getTagsForStencil(d,"rekognition image","aws amazon web service machine learning ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"rekognition_video;",77*a,78*a,"","Rekognition video",null,null,this.getTagsForStencil(d,"rekognition video","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(b+"sagemaker_model;",78*a,78*a,"","Model",null,null,this.getTagsForStencil(d,"sagemaker model","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(b+"sagemaker_notebook;",68*a,78*a,"","Notebook",null,null,this.getTagsForStencil(d,"sagemaker notebook",\r\n"aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(b+"sagemaker_train;",78*a,65*a,"","Train",null,null,this.getTagsForStencil(d,"sagemaker train","aws amazon web service machine learning ").join(" "))])};Sidebar.prototype.addAWS4ManagementGovernancePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BC1356;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Management Governance","AWS / Management & Governance",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".management_and_governance;",c,c,"","Management & Governance",null,null,this.getTagsForStencil(d,"management and governance","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudwatch_2;",c,c,"","CloudWatch",null,null,this.getTagsForStencil(d,\r\n"cloudwatch","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".managed_service_for_grafana;",c,c,"","Managed Service for Grafana",null,null,this.getTagsForStencil(d,"managed service for grafana","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".managed_service_for_prometheus;",c,c,"","Managed Service for Prometheus",null,null,this.getTagsForStencil(d,"managed service for prometheus",\r\n"aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".app_config;",c,c,"","App Config",null,null,this.getTagsForStencil(d,"app config","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".app_wizard;",c,c,"","App Wizard",null,null,this.getTagsForStencil(d,"app wizard","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+\r\nd+".application_auto_scaling;",c,c,"","Application Auto Scaling",null,null,this.getTagsForStencil(d,"app application auto scaling","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".autoscaling;",c,c,"","Auto Scaling",null,null,this.getTagsForStencil(d,"auto scaling","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".backint_agent;",c,c,"","Backint Agent",null,\r\nnull,this.getTagsForStencil(d,"backint agent","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".chatbot;",c,c,"","Chatbot",null,null,this.getTagsForStencil(d,"chatbot","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudformation;",c,c,"","CloudFormation",null,null,this.getTagsForStencil(d,"cloudformation","aws amazon web service management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudtrail;",c,c,"","CloudTrail",null,null,this.getTagsForStencil(d,"cloudtrail","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".codeguru;",c,c,"","CodeGuru",null,null,this.getTagsForStencil(d,"codeguru","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".command_line_interface;",c,c,"","Command Line Interface",\r\nnull,null,this.getTagsForStencil(d,"command line interface","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".compute_optimizer;",c,c,"","Compute Optimizer",null,null,this.getTagsForStencil(d,"compute optimizer","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".config;",c,c,"","Config",null,null,this.getTagsForStencil(d,"config","aws amazon web service management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".control_tower;",c,c,"","Control Tower",null,null,this.getTagsForStencil(d,"control tower","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".distro_for_opentelemetry;",c,c,"","Distro for OpenTelemetry",null,null,this.getTagsForStencil(d,"distro for opentelemetry","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+\r\nd+".fault_injection_simulator;",c,c,"","Fault Injection Simulator",null,null,this.getTagsForStencil(d,"fault injection simulator","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".license_manager;",c,c,"","License Manager",null,null,this.getTagsForStencil(d,"license manager","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".managed_services;",c,c,"","Managed Services",\r\nnull,null,this.getTagsForStencil(d,"managed services","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".management_console;",c,c,"","Management Console",null,null,this.getTagsForStencil(d,"management console","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".opsworks;",c,c,"","OpsWorks",null,null,this.getTagsForStencil(d,"opsworks","aws amazon web service management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".organizations;",c,c,"","Organizations",null,null,this.getTagsForStencil(d,"organizations","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".personal_health_dashboard;",c,c,"","Personal Health Dashboard",null,null,this.getTagsForStencil(d,"personal health dashboard","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+\r\nd+".proton;",c,c,"","Proton",null,null,this.getTagsForStencil(d,"proton","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".service_catalog;",c,c,"","Service Catalog",null,null,this.getTagsForStencil(d,"service catalog","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".systems_manager;",c,c,"","Systems Manager",null,null,this.getTagsForStencil(d,"systems manager",\r\n"aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".trusted_advisor;",c,c,"","Trusted Advisor",null,null,this.getTagsForStencil(d,"trusted advisor","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".well_architect_tool;",c,c,"","Well-Architected Tool",null,null,this.getTagsForStencil(d,"well architected tool","aws amazon web service management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"alarm;",78*a,78*a,"","Alarm",null,null,this.getTagsForStencil(d,"cloudwatch alarm","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"event_event_based;",78*a,78*a,"","Event (Event-Based)",null,null,this.getTagsForStencil(d,"cloudwatch event based","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"event_time_based;",78*a,78*a,"","Event (Time-Based)",null,null,this.getTagsForStencil(d,\r\n"cloudwatch event time based","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"logs;",78*a,58*a,"","CloudWatch Logs",null,null,this.getTagsForStencil(d,"cloudwatch logs","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"rule_2;",78*a,76*a,"","Rule",null,null,this.getTagsForStencil(d,"cloudwatch rule","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"change_set;",65*\r\na,78*a,"","Change Set",null,null,this.getTagsForStencil(d,"cloudformation change set","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"stack;",78*a,76*a,"","Stack",null,null,this.getTagsForStencil(d,"cloudformation stack","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"template;",65*a,78*a,"","Template",null,null,this.getTagsForStencil(d,"cloudformation template","aws amazon web service management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"license_manager_license_blending;",78*a,78*a,"","License Manager License Blending",null,null,this.getTagsForStencil(d,"license manager license blending","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"license_manager_application_discovery;",78*a,78*a,"","License Manager Application Discovery",null,null,this.getTagsForStencil(d,"license manager application discovery","aws amazon web service management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"opsworks_apps;",78*a,78*a,"","Apps",null,null,this.getTagsForStencil(d,"opsworks apps applications","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"deployments;",65*a,78*a,"","Deployments",null,null,this.getTagsForStencil(d,"opsworks deployments","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"instances_2;",78*a,78*a,"","Instances",null,null,this.getTagsForStencil(d,"opsworks instances",\r\n"aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"layers;",78*a,78*a,"","Layers",null,null,this.getTagsForStencil(d,"opsworks layers","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"logs;",78*a,58*a,"","Logs",null,null,this.getTagsForStencil(d,"opsworks logs","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"monitoring;",78*a,58*a,"","Monitoring",null,null,this.getTagsForStencil(d,\r\n"opsworks monitoring","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"opsworks_permissions;",54*a,78*a,"","Permissions",null,null,this.getTagsForStencil(d,"opsworks permissions","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"resources;",68*a,78*a,"","Resources",null,null,this.getTagsForStencil(d,"opsworks resources","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+\r\n"stack2;",78*a,78*a,"","Stack",null,null,this.getTagsForStencil(d,"stack","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"organizations_account;",74*a,78*a,"","Account",null,null,this.getTagsForStencil(d,"organizations account","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"organizations_management_account;",74*a,78*a,"","Organizations Management Account",null,null,this.getTagsForStencil(d,"organizations management account",\r\n"aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"organizations_organizational_unit;",78*a,67*a,"","Organizational Unit",null,null,this.getTagsForStencil(d,"organizations organizational unit","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"shield_shield_advanced;",70*a,78*a,"","Shield Advanced",null,null,this.getTagsForStencil(d,"shield advanced","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+\r\n"automation;",78*a,78*a,"","Automation",null,null,this.getTagsForStencil(d,"systems manager automation","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"documents;",64*a,78*a,"","Documents",null,null,this.getTagsForStencil(d,"systems manager documents","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"inventory;",78*a,78*a,"","Inventory",null,null,this.getTagsForStencil(d,"systems manager inventory","aws amazon web service management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"maintenance_windows;",78*a,78*a,"","Maintenance Windows",null,null,this.getTagsForStencil(d,"systems manager maintenance windows","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"parameter_store;",75*a,78*a,"","Parameter Store",null,null,this.getTagsForStencil(d,"systems manager parameter store","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"patch_manager;",78*a,78*a,"","Patch Manager",\r\nnull,null,this.getTagsForStencil(d,"systems manager patch manager","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"run_command;",78*a,55*a,"","Run Command",null,null,this.getTagsForStencil(d,"systems manager run command","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"state_manager;",78*a,78*a,"","State Manager",null,null,this.getTagsForStencil(d,"systems manager state","aws amazon web service management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"checklist;",66*a,78*a,"","Checklist",null,null,this.getTagsForStencil(d,"trusted advisor checklist","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"checklist_cost;",78*a,78*a,"","Checklist Cost",null,null,this.getTagsForStencil(d,"trusted advisor checklist cost","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"checklist_fault_tolerant;",78*a,77*a,"","Checklist Fault Tolerant",\r\nnull,null,this.getTagsForStencil(d,"trusted advisor fault tolerant","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"checklist_performance;",78*a,78*a,"","Checklist Performance",null,null,this.getTagsForStencil(d,"trusted advisor checklist performance","aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"checklist_security;",78*a,78*a,"","Checklist Security",null,null,this.getTagsForStencil(d,"trusted advisor checklist security",\r\n"aws amazon web service management governance ").join(" ")),this.createVertexTemplateEntry(b+"systems_manager_opscenter;",78*a,78*a,"","OpsCenter",null,null,this.getTagsForStencil(d,"opscenter","aws amazon web service management governance ").join(" "))])};Sidebar.prototype.addAWS4MediaServicesPalette=function(a,b,e,c,d,f){a="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Media Services","AWS / Media Services",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".media_services;",c,c,"","Media Services",null,null,this.getTagsForStencil(d,"media services","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental;",c,c,"","Appliances & Software",null,null,this.getTagsForStencil(d,"appliances software","aws amazon web service media services ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elastic_transcoder;",c,c,"","Elastic Transcoder",null,null,this.getTagsForStencil(d,"elastic transcoder","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".kinesis_video_streams;",c,c,"","Kinesis Video Streams",null,null,this.getTagsForStencil(d,"kinesis video streams","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+\r\nd+".elemental_mediaconnect;",c,c,"","Elemental MediaConnect",null,null,this.getTagsForStencil(d,"elemental mediaconnect","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_mediaconvert;",c,c,"","Elemental MediaConvert",null,null,this.getTagsForStencil(d,"elemental mediaconvert","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_medialive;",c,c,"","Elemental MediaLive",\r\nnull,null,this.getTagsForStencil(d,"elemental medialive","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_mediapackage;",c,c,"","Elemental MediaPackage",null,null,this.getTagsForStencil(d,"elemental mediapackage","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_mediastore;",c,c,"","Elemental MediaStore",null,null,this.getTagsForStencil(d,"elemental mediastore",\r\n"aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_mediatailor;",c,c,"","Elemental MediaTailor",null,null,this.getTagsForStencil(d,"elemental mediatailor","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental;",c,c,"","Elemental Conductor",null,null,this.getTagsForStencil(d,"elemental conductor","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+\r\n"resourceIcon;resIcon="+d+".elemental;",c,c,"","Elemental Delta",null,null,this.getTagsForStencil(d,"elemental delta","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental;",c,c,"","Elemental Live",null,null,this.getTagsForStencil(d,"elemental live","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental;",c,c,"","Elemental Server",null,null,this.getTagsForStencil(d,\r\n"elemental server","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".interactive_video;",c,c,"","Interactive Video",null,null,this.getTagsForStencil(d,"interactive video","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_link;",c,c,"","Elemental Link",null,null,this.getTagsForStencil(d,"elemental link","aws amazon web service media services ").join(" "))])};Sidebar.prototype.addAWS4MigrationTransferPalette=\r\nfunction(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#116D5B;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#4AB29A;gradientDirection=north;fillColor=#116D5B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Migration Transfer","AWS / Migration & Transfer",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".migration_and_transfer;",c,c,"","Migration & Transfer",null,null,this.getTagsForStencil(d,"migration and transfer","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".application_discovery_service;",c,c,"","Application Discovery Service",null,null,this.getTagsForStencil(d,\r\n"application discovery service","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".database_migration_service;",c,c,"","Database Migration Service",null,null,this.getTagsForStencil(d,"db database migration service","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".datasync;",c,c,"","DataSync",null,null,this.getTagsForStencil(d,"datasync","aws amazon web service migration transfer ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".migration_evaluator;",c,c,"","Migration Evaluator",null,null,this.getTagsForStencil(d,"migration evaluator","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".migration_hub;",c,c,"","Migration Hub",null,null,this.getTagsForStencil(d,"migration hub","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".server_migration_service;",\r\nc,c,"","Server Migration Service",null,null,this.getTagsForStencil(d,"server migration service","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowball;",c,c,"","Snowball",null,null,this.getTagsForStencil(d,"snowball","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowball_edge;",c,c,"","Snowball Edge",null,null,this.getTagsForStencil(d,"snowball edge","aws amazon web service migration transfer ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowmobile;",c,c,"","Snowmobile",null,null,this.getTagsForStencil(d,"snowmobile","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudendure_migration;",c,c,"","CloudEndure Migration",null,null,this.getTagsForStencil(d,"cloudendure migration","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".transfer_family;",\r\nc,c,"","Transfer Family",null,null,this.getTagsForStencil(d,"transfer family","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".transfer_for_sftp;",c,c,"","Transfer for SFTP",null,null,this.getTagsForStencil(d,"transfer for sftp","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(b+"agent2;",78*a,78*a,"","Agent",null,null,this.getTagsForStencil(d,"agent","aws amazon web service migration transfer ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"transfer_for_ftp_resource;",76*a,78*a,"","FTP",null,null,this.getTagsForStencil(d,"transfer for ftp resource","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(b+"transfer_for_ftps_resource;",76*a,78*a,"","FTPS",null,null,this.getTagsForStencil(d,"transfer for ftps resource","aws amazon web service migration transfer ").join(" ")),this.createVertexTemplateEntry(b+"transfer_for_sftp_resource;",76*a,78*a,"","SFTP",null,null,this.getTagsForStencil(d,\r\n"transfer for sftp resource","aws amazon web service migration transfer ").join(" "))])};Sidebar.prototype.addAWS4MobilePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#C7131F;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Mobile","AWS / Mobile",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".mobile;",c,c,"","Mobile",null,null,this.getTagsForStencil(d,"mobile","aws amazon web service mobile ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".api_gateway;",c,c,"","API Gateway",null,null,this.getTagsForStencil(d,"api application programming interface gateway","aws amazon web service mobile ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".pinpoint;",c,c,"","Pinpoint",null,null,this.getTagsForStencil(d,"pinpoint","aws amazon web service mobile ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".amplify;",c,c,"","Amplify",null,null,this.getTagsForStencil(d,"amplify","aws amazon web service mobile ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".appsync;",c,c,"","AppSync",null,null,this.getTagsForStencil(d,"appsync","aws amazon web service mobile ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".device_farm;",c,c,"","Device Farm",null,null,this.getTagsForStencil(d,"device farm","aws amazon web service mobile ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".pinpoint_journey;",c,c,"","Pinpoint Journey",null,null,this.getTagsForStencil(d,"pinpoint journey","aws amazon web service mobile ").join(" ")),this.createVertexTemplateEntry(b+"endpoint;",78*a,78*a,"","Endpoint",null,null,this.getTagsForStencil(d,"endpoint",\r\n"aws amazon web service mobile ").join(" "))])};Sidebar.prototype.addAWS4NetworkContentDeliveryPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#5A30B5;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Network Content Delivery","AWS / Network & Content Delivery",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".networking_and_content_delivery;",c,c,"","Networking and Content Delivery",null,null,this.getTagsForStencil(d,"networking and content delivery","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".api_gateway;",c,c,"","API Gateway",null,\r\nnull,this.getTagsForStencil(d,"api application programming interface gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloud_directory;",c,c,"","Cloud Directory",null,null,this.getTagsForStencil(d,"cloud directory","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudfront;",c,c,"","CloudFront",null,null,this.getTagsForStencil(d,"cloudfront",\r\n"aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".route_53;",c,c,"","Route 53",null,null,this.getTagsForStencil(d,"route 53","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".vpc_privatelink;",c,c,"","PrivateLink",null,null,this.getTagsForStencil(d,"privatelink","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".vpc;",c,c,"","VPC",null,null,this.getTagsForStencil(d,"vpc virtual private cloud","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".app_mesh;",c,c,"","App Mesh",null,null,this.getTagsForStencil(d,"app application mesh","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".client_vpn;",c,c,"","Client VPN",null,null,this.getTagsForStencil(d,\r\n"client vpn virtual private network","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".site_to_site_vpn;",c,c,"","Site-to-Site VPN",null,null,this.getTagsForStencil(d,"site to site s2s vpn virtual private network","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_load_balancing;",c,c,"","Elastic Load Balancing",null,null,this.getTagsForStencil(d,\r\n"elastic load balancing","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloud_map;",c,c,"","Cloud Map",null,null,this.getTagsForStencil(d,"cloud map","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".direct_connect;",c,c,"","Direct Connect",null,null,this.getTagsForStencil(d,"direct connect","aws amazon web service netowrk content delivery ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".global_accelerator;",c,c,"","Global Accelerator",null,null,this.getTagsForStencil(d,"global accelerator","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".transit_gateway;",c,c,"","Transit Gateway",null,null,this.getTagsForStencil(d,"transit gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"endpoint;",78*a,78*\r\na,"","Endpoint",null,null,this.getTagsForStencil(d,"endpoint","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"download_distribution;",78*a,78*a,"","Download Distribution",null,null,this.getTagsForStencil(d,"download distribution","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"cloudfront_functions;",78*a,78*a,"","CloudFront Functions",null,null,this.getTagsForStencil(d,"cloudfront functions","aws amazon web service netowrk content delivery ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"edge_location;",78*a,78*a,"","Edge Location",null,null,this.getTagsForStencil(d,"edge location","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"streaming_distribution;",78*a,78*a,"","Streaming Distribution",null,null,this.getTagsForStencil(d,"streaming distribution","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"hosted_zone;",78*a,77*a,"","Hosted Zone",null,null,this.getTagsForStencil(d,\r\n"hosted zone","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"route_table;",78*a,76*a,"","Route Table",null,null,this.getTagsForStencil(d,"route table","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"customer_gateway;",78*a,78*a,"","Router",null,null,this.getTagsForStencil(d,"vpc virtual private cloud customer gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+\r\n"elastic_network_adapter;",78*a,78*a,"","Elastic Network Adapter",null,null,this.getTagsForStencil(d,"vpc virtual private cloud elastic network adapter","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"elastic_network_interface;",78*a,78*a,"","Elastic Network Interface",null,null,this.getTagsForStencil(d,"vpc virtual private cloud elastic network interface","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+\r\n"endpoints;",78*a,78*a,"","Endpoints",null,null,this.getTagsForStencil(d,"vpc virtual private cloud endpoints","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"flow_logs;",78*a,78*a,"","Flow Logs",null,null,this.getTagsForStencil(d,"vpc virtual private cloud flow logs","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"gateway;",76*a,78*a,"","Gateway",null,null,this.getTagsForStencil(d,"gateway","aws amazon web service netowrk content delivery ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"internet_gateway;",78*a,78*a,"","Internet Gateway",null,null,this.getTagsForStencil(d,"vpc virtual private cloud internet gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"mesh;",78*a,77*a,"","Mesh",null,null,this.getTagsForStencil(d,"mesh","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"nat_gateway;",78*a,78*a,"","NAT Gateway",null,null,this.getTagsForStencil(d,\r\n"vpc virtual private cloud nat gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"namespace;",78*a,78*a,"","Namespace",null,null,this.getTagsForStencil(d,"namespace","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"network_access_control_list;",78*a,78*a,"","Network Access Control List",null,null,this.getTagsForStencil(d,"vpc virtual private cloud network access control list","aws amazon web service netowrk content delivery ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"peering;",78*a,78*a,"","Peering Connection",null,null,this.getTagsForStencil(d,"peering connection","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"vpc_reachability_analyzer;",78*a,78*a,"","VPC Reachability Analyzer",null,null,this.getTagsForStencil(d,"vpc reachability analyzer","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"resource;",76*a,78*a,"","Resource",null,null,\r\nthis.getTagsForStencil(d,"resource","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"service;",78*a,76*a,"","Service",null,null,this.getTagsForStencil(d,"service","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"application_load_balancer;",78*a,78*a,"","Application Load Balancer",null,null,this.getTagsForStencil(d,"application load balancer","aws amazon web service netowrk content delivery ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"classic_load_balancer;",78*a,78*a,"","Classic Load Balancer",null,null,this.getTagsForStencil(d,"classic load balancer","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"gateway_load_balancer;",78*a,78*a,"","Gateway Load Balancer",null,null,this.getTagsForStencil(d,"gateway load balancer","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"router;",78*a,78*a,"","Router",null,\r\nnull,this.getTagsForStencil(d,"router","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"virtual_gateway;",78*a,78*a,"","Virtual Gateway",null,null,this.getTagsForStencil(d,"virtual gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"virtual_node;",78*a,78*a,"","Virtual Node",null,null,this.getTagsForStencil(d,"virtual node","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+\r\n"virtual_router;",78*a,78*a,"","Virtual Router",null,null,this.getTagsForStencil(d,"virtual router","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"virtual_service;",78*a,74*a,"","Virtual Service",null,null,this.getTagsForStencil(d,"virtual service","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"vpn_connection;",70*a,78*a,"","VPN Connection",null,null,this.getTagsForStencil(d,"vpc virtual private cloud vpn network connection",\r\n"aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"vpn_gateway;",78*a,78*a,"","VPN Gateway",null,null,this.getTagsForStencil(d,"vpc virtual private cloud vpn network gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(b+"vpc_traffic_mirroring;",78*a,78*a,"","Traffic Mirroring",null,null,this.getTagsForStencil(d,"vpc virtual private cloud traffic mirroring","aws amazon web service netowrk content delivery ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"network_load_balancer;",78*a,78*a,"","Network Load Balancer",null,null,this.getTagsForStencil(d,"network load balancer","aws amazon web service netowrk content delivery ").join(" "))])};Sidebar.prototype.addAWS4QuantumTechnologiesPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#FF9900;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Quantum Technologies",\r\n"AWS / Quantum Technologies",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".quantum_technologies;",c,c,"","Quantum Technologies",null,null,this.getTagsForStencil(d,"quantum technologies","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".braket;",c,c,"","Braket",null,null,this.getTagsForStencil(d,"braket","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(b+"braket_chandelier;",\r\n78*a,78*a,"","Braket Chandelier",null,null,this.getTagsForStencil(d,"braket chandelier","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(b+"braket_chip;",78*a,78*a,"","Braket Chip",null,null,this.getTagsForStencil(d,"braket chip","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(b+"braket_qpu;",78*a,78*a,"","Braket QPU",null,null,this.getTagsForStencil(d,"braket qpu","aws amazon web service quantum technologies ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"braket_simulator;",78*a,70*a,"","Braket Simulator",null,null,this.getTagsForStencil(d,"braket simulator","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(b+"braket_simulator_1;",78*a,78*a,"","Braket Simulator",null,null,this.getTagsForStencil(d,"braket simulator","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(b+"braket_simulator_2;",78*a,78*a,"","Braket Simulator",null,null,this.getTagsForStencil(d,\r\n"braket simulator","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(b+"braket_simulator_3;",78*a,78*a,"","Braket Simulator",null,null,this.getTagsForStencil(d,"braket simulator","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(b+"braket_simulator_4;",78*a,78*a,"","Braket Simulator",null,null,this.getTagsForStencil(d,"braket simulator","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(b+\r\n"braket_state_vector;",78*a,78*a,"","Braket State Vector",null,null,this.getTagsForStencil(d,"braket state vector","aws amazon web service quantum technologies ").join(" ")),this.createVertexTemplateEntry(b+"braket_tensor_network;",78*a,78*a,"","Braket Tensor Network",null,null,this.getTagsForStencil(d,"braket tensor network","aws amazon web service quantum technologies ").join(" "))])};Sidebar.prototype.addAWS4RoboticsPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BE0917;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#FE5151;gradientDirection=north;fillColor=#BE0917;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Robotics",\r\n"AWS / Robotics",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".robotics;",c,c,"","Robotics",null,null,this.getTagsForStencil(d,"robotics","aws amazon web service robotics ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".robomaker;",c,c,"","RoboMaker",null,null,this.getTagsForStencil(d,"robomaker","aws amazon web service robotics ").join(" ")),this.createVertexTemplateEntry(b+"simulation;",78*a,64*a,"","Simulation",null,null,this.getTagsForStencil(d,"simulation",\r\n"aws amazon web service robotics ").join(" ")),this.createVertexTemplateEntry(b+"fleet_management;",78*a,78*a,"","Fleet Management",null,null,this.getTagsForStencil(d,"fleet management","aws amazon web service robotics ").join(" ")),this.createVertexTemplateEntry(b+"development_environment;",78*a,71*a,"","Development Environment",null,null,this.getTagsForStencil(d,"development environment","aws amazon web service robotics ").join(" ")),this.createVertexTemplateEntry(b+"cloud_extension_ros;",78*a,\r\n78*a,"","Cloud Extensions ROS",null,null,this.getTagsForStencil(d,"cloud extension ros","aws amazon web service robotics ").join(" "))])};Sidebar.prototype.addAWS4SatellitePalette=function(a,b,e,c,d,f){a="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#517DFD;gradientDirection=north;fillColor=#2F29AF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Satellite","AWS / Satellite",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".satellite;",c,c,"","Satellite",null,null,this.getTagsForStencil(d,"satellite","aws amazon web satellite ").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".ground_station;",c,c,"","Ground Station",null,null,this.getTagsForStencil(d,"ground station","aws amazon web satellite ").join(" "))])};Sidebar.prototype.addAWS4SecurityIdentityCompliancePalette=\r\nfunction(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#C7131F;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Security Identity Compliance","AWS / Security, Identity & Compliance",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".security_identity_and_compliance;",c,c,"","Security Identity and Compliance",null,null,this.getTagsForStencil(d,"security identity and compliance","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloud_directory;",c,\r\nc,"","Cloud Directory",null,null,this.getTagsForStencil(d,"cloud directory","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cognito;",c,c,"","Cognito",null,null,this.getTagsForStencil(d,"cognito","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".detective;",c,c,"","Detective",null,null,this.getTagsForStencil(d,"detective","aws amazon web service security identity compliance ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".guardduty;",c,c,"","GuardDuty",null,null,this.getTagsForStencil(d,"guardduty guard duty","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".inspector;",c,c,"","Inspector",null,null,this.getTagsForStencil(d,"inspector","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".macie;",c,c,"","Macie",\r\nnull,null,this.getTagsForStencil(d,"macie","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".artifact;",c,c,"","Artifact",null,null,this.getTagsForStencil(d,"artifact","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".audit_manager;",c,c,"","Audit Manager",null,null,this.getTagsForStencil(d,"audit manager","aws amazon web service security identity compliance ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".certificate_manager_3;",c,c,"","Certificate Manager",null,null,this.getTagsForStencil(d,"certificate manager","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudhsm;",c,c,"","CloudHSM",null,null,this.getTagsForStencil(d,"cloudhsm cloud hsm","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+\r\nd+".directory_service;",c,c,"","Directory Service",null,null,this.getTagsForStencil(d,"directory service","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".firewall_manager;",c,c,"","Firewall Manager",null,null,this.getTagsForStencil(d,"firewall manager","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".identity_and_access_management;",c,c,"",\r\n"Identity & Access Management",null,null,this.getTagsForStencil(d,"identity and access management","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".key_management_service;",c,c,"","Key Management Service",null,null,this.getTagsForStencil(d,"key management service","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".network_firewall;",c,c,"","Network Firewall",\r\nnull,null,this.getTagsForStencil(d,"network firewall","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".resource_access_manager;",c,c,"","Resource Access Manager",null,null,this.getTagsForStencil(d,"resource access manager","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".organizations;",c,c,"","Organizations",null,null,this.getTagsForStencil(d,\r\n"organizations","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".secrets_manager;",c,c,"","Secrets Manager",null,null,this.getTagsForStencil(d,"secrets manager","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".security_hub;",c,c,"","Security Hub",null,null,this.getTagsForStencil(d,"security hub","aws amazon web service security identity compliance ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".shield;",c,c,"","Shield",null,null,this.getTagsForStencil(d,"shield","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".signer;",c,c,"","Signer",null,null,this.getTagsForStencil(d,"signer","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".single_sign_on;",c,c,"","Single Sign-On",null,\r\nnull,this.getTagsForStencil(d,"single sign on","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".waf;",c,c,"","WAF",null,null,this.getTagsForStencil(d,"waf","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"access_analyzer;",78*a,77*a,"","IAM Access Analyzer",null,null,this.getTagsForStencil(d,"access analyzer","aws amazon web service security identity compliance ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"ad_connector;",78*a,73*a,"","AD Connector",null,null,this.getTagsForStencil(d,"ad connector","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"agent;",78*a,74*a,"","Agent",null,null,this.getTagsForStencil(d,"agent","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"certificate_manager_2;",78*a,72*a,"","Certificate Authority",null,null,this.getTagsForStencil(d,"certificate authority",\r\n"aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"addon;",78*a,40*a,"","Add-on",null,null,this.getTagsForStencil(d,"identity and access management iam addon add on","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"sts;",78*a,50*a,"","STS",null,null,this.getTagsForStencil(d,"identity and access management iam sts","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+\r\n"sts_alternate;",62*a,78*a,"","STS",null,null,this.getTagsForStencil(d,"identity and access management iam sts","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"data_encryption_key;",62*a,78*a,"","Data Encryption Key",null,null,this.getTagsForStencil(d,"identity and access management iam data encryption key","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"encrypted_data;",62*a,78*a,"","Encrypted Data",\r\nnull,null,this.getTagsForStencil(d,"identity and access management iam encrypted data","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"long_term_security_credential;",78*a,69*a,"","Long Term Security Credential",null,null,this.getTagsForStencil(d,"identity and access management iam long term security credential","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"mfa_token;",78*a,78*a,"","MFA Token",\r\nnull,null,this.getTagsForStencil(d,"identity and access management iam mfa token","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"permissions;",62*a,78*a,"","Permissions",null,null,this.getTagsForStencil(d,"identity and access management iam permissions","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"role;",78*a,44*a,"","Role",null,null,this.getTagsForStencil(d,"identity and access management iam role",\r\n"aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"temporary_security_credential;",77*a,78*a,"","Temporary Security Credential",null,null,this.getTagsForStencil(d,"identity and access management iam temporary security credential","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"network_firewall_endpoints;",78*a,78*a,"","Network Firewall Endpoints",null,null,this.getTagsForStencil(d,"network firewall endpoints",\r\n"aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"managed_ms_ad;",78*a,77*a,"","Managed MS AD",null,null,this.getTagsForStencil(d,"managed ms ad","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"organizations_account;",74*a,78*a,"","Organizations Account",null,null,this.getTagsForStencil(d,"organizations account","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+\r\n"organizations_organizational_unit;",78*a,67*a,"","Organizations Organizational Unit",null,null,this.getTagsForStencil(d,"organizations organizational unit","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"finding;",70*a,78*a,"","Finding",null,null,this.getTagsForStencil(d,"finding","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"shield_shield_advanced;",70*a,78*a,"","Shield Advanced",null,null,\r\nthis.getTagsForStencil(d,"shield advanced","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"filtering_rule;",78*a,78*a,"","Filtering Rule",null,null,this.getTagsForStencil(d,"filtering rule","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(b+"simple_ad;",78*a,77*a,"","Simple AD",null,null,this.getTagsForStencil(d,"simple ad","aws amazon web service security identity compliance ").join(" "))])};Sidebar.prototype.addAWS4ServerlessPalette=\r\nfunction(a,b,e,c,d,f){this.addPaletteFunctions("aws4Serverless","AWS / Serverless",!1,[this.createVertexTemplateEntry("points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.resourceIcon;resIcon="+d+".serverless;",c,c,"","Serverless",null,null,this.getTagsForStencil(d,"serverless","aws amazon web serverless ").join(" "))])};Sidebar.prototype.addAWS4StoragePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#277116;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";\r\ne="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Storage","AWS / Storage",\r\n!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".storage;",c,c,"","Storage",null,null,this.getTagsForStencil(d,"storage","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_block_store;",c,c,"","Elastic Block Store",null,null,this.getTagsForStencil(d,"elastic block store","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_file_system;",c,c,"","Elastic File System",\r\nnull,null,this.getTagsForStencil(d,"elastic file system","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".fsx;",c,c,"","FSx",null,null,this.getTagsForStencil(d,"fsx","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".fsx_for_lustre;",c,c,"","FSx for Lustre",null,null,this.getTagsForStencil(d,"fsx for lustre","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+\r\n"resourceIcon;resIcon="+d+".fsx_for_windows_file_server;",c,c,"","FSx for Windows File Server",null,null,this.getTagsForStencil(d,"fsx for windows file server","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".s3_on_outposts_storage;",c,c,"","S3 on Outposts Storage",null,null,this.getTagsForStencil(d,"s3 on outposts storage","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".infrequent_access_storage_class;",\r\nc,c,"","Infrequent Access Storage Class",null,null,this.getTagsForStencil(d,"infrequent access storage class","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".glacier;",c,c,"","S3 Glacier",null,null,this.getTagsForStencil(d,"s3 simple storage service glacier","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".s3;",c,c,"","Simple Storage Service (S3)",null,null,this.getTagsForStencil(d,\r\n"s3 simple storage service","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".backup;",c,c,"","Backup",null,null,this.getTagsForStencil(d,"backup","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowball;",c,c,"","Snowball",null,null,this.getTagsForStencil(d,"snowball","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowball_edge;",\r\nc,c,"","Snowball Edge",null,null,this.getTagsForStencil(d,"snowball edge","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowmobile;",c,c,"","Snowmobile",null,null,this.getTagsForStencil(d,"snowmobile","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".storage_gateway;",c,c,"","Storage Gateway",null,null,this.getTagsForStencil(d,"storage gateway","aws amazon web service storage ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudendure_disaster_recovery;",c,c,"","CloudEndure Disaster Recovery",null,null,this.getTagsForStencil(d,"cloudendure disaster recovery","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".efs_infrequentaccess;",c,c,"","EFS InfrequentAccess",null,null,this.getTagsForStencil(d,"efs infrequent access","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+\r\nd+".efs_standard;",c,c,"","EFS Standard",null,null,this.getTagsForStencil(d,"efs standard","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowcone;",c,c,"","Snowcone",null,null,this.getTagsForStencil(d,"snowcone","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"snapshot;",56*a,78*a,"","Snapshot",null,null,this.getTagsForStencil(d,"snapshot","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+\r\n"volume;",62*a,78*a,"","Volume",null,null,this.getTagsForStencil(d,"volume","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"elastic_block_store_volume_gp3;",64*a,78*a,"","Elastic Block Store Volume gp3",null,null,this.getTagsForStencil(d,"elastic block store volume gp3","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"file_gateway;",69*a,78*a,"","File Gateway",null,null,this.getTagsForStencil(d,"file gateway","aws amazon web service storage ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"file_system;",78*a,73*a,"","File System",null,null,this.getTagsForStencil(d,"file system","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"elastic_file_system_infrequent_access;",78*a,76*a,"","Elastic File System Infrequent Access",null,null,this.getTagsForStencil(d,"efs elastic file system infrequent access","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"elastic_file_system_one_zone_infrequent_access;",\r\n78*a,78*a,"","Elastic File System One Zone Infrequent Access",null,null,this.getTagsForStencil(d,"efs elastic file system one zone infrequent access","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"elastic_file_system_standard;",78*a,78*a,"","Elastic File System Standard",null,null,this.getTagsForStencil(d,"efs elastic file system standard","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"general_access_points;",65*a,78*a,"","Access Points",\r\nnull,null,this.getTagsForStencil(d,"access points","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"archive;",63*a,78*a,"","Vault",null,null,this.getTagsForStencil(d,"s3 simple storage service glacier archive","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"vault;",62*a,78*a,"","Archive",null,null,this.getTagsForStencil(d,"s3 simple storage service glacier vault","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+\r\n"bucket;",75*a,78*a,"","Bucket",null,null,this.getTagsForStencil(d,"s3 simple storage service bucket","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"intelligent_tiering;",75*a,78*a,"","Intelligent Tiering",null,null,this.getTagsForStencil(d,"intelligent tiering","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"s3_on_outposts;",78*a,78*a,"","S3 On Outposts",null,null,this.getTagsForStencil(d,"s3 on outposts","aws amazon web service storage ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"standard_ia;",75*a,78*a,"","Standard IA",null,null,this.getTagsForStencil(d,"standard ia","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"s3_storage_lens;",78*a,78*a,"","S3 Storage Lens",null,null,this.getTagsForStencil(d,"s3 storage lens","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"one_zone_ia;",75*a,78*a,"","One Zone IA",null,null,this.getTagsForStencil(d,"one zone ia","aws amazon web service storage ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"glacier;",75*a,78*a,"","Glacier",null,null,this.getTagsForStencil(d,"glacier","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"glacier_deep_archive;",75*a,78*a,"","Glacier Deep Archive",null,null,this.getTagsForStencil(d,"glacier deep archive","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"bucket_with_objects;",75*a,78*a,"","Bucket with Objects",null,null,this.getTagsForStencil(d,"s3 simple storage service bucket with objects",\r\n"aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"replication;",76*a,78*a,"","Replication",null,null,this.getTagsForStencil(d,"replication","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"replication_time_control;",76*a,78*a,"","Replication Time Control",null,null,this.getTagsForStencil(d,"replication time control","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"object;",78*a,78*a,"","Object",null,null,this.getTagsForStencil(d,\r\n"s3 simple storage service object","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"import_export;",78*a,61*a,"","Snowball Import Export",null,null,this.getTagsForStencil(d,"snowball import export","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"tape_gateway;",74*a,78*a,"","Tape Gateway",null,null,this.getTagsForStencil(d,"tape gateway","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"volume_gateway;",65*\r\na,78*a,"","Volume Gateway",null,null,this.getTagsForStencil(d,"volume gateway","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"cached_volume;",62*a,78*a,"","Cached Volume",null,null,this.getTagsForStencil(d,"storage gateway cached volume","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"non_cached_volume;",62*a,78*a,"","Non-Cached Volume",null,null,this.getTagsForStencil(d,"storage gateway non cached volume","aws amazon web service storage ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"virtual_tape_library;",62*a,78*a,"","Virtual Tape Library",null,null,this.getTagsForStencil(d,"storage gateway virtual tape library vtl","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"multiple_volumes_resource;",78*a,60*a,"","Multiple Volumes",null,null,this.getTagsForStencil(d,"multiple volumes","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(b+"vpc_access_points;",53*a,78*a,"","VPC Access Points",null,\r\nnull,this.getTagsForStencil(d,"vpc virtual private cloud access points","aws amazon web service storage ").join(" "))])}})();(function(){Sidebar.prototype.addAWS4bPalette=function(){var a="outlineConnect=0;fontColor=#232F3E;gradientColor=none;strokeColor=#ffffff;fillColor=#232F3E;dashed=0;verticalLabelPosition=middle;verticalAlign=bottom;align=center;html=1;whiteSpace=wrap;fontSize=10;fontStyle=1;spacing=3;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.",b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;strokeColor=#232F3E;fillColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.aws4.",e="outlineConnect=0;gradientColor=none;fontColor=#545B64;strokeColor=none;fillColor=#879196;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.",c="outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.setCurrentSearchEntryLibrary("aws4b","aws4bArrows");this.addAWS4bArrowsPalette("mxgraph.aws4",\r\nthis);this.setCurrentSearchEntryLibrary("aws4b","aws4bGeneral Resources");this.addAWS4bGeneralResourcesPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bIllustrations");this.addAWS4bIllustrationsPalette(e,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bGroups Light");this.addAWS4bGroupsLightPalette(c,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bGroups Dark");this.addAWS4bGroupsDarkPalette(c,"mxgraph.aws4",this);\r\nthis.setCurrentSearchEntryLibrary("aws4b","aws4bAnalytics");this.addAWS4bAnalyticsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bApplication Integration");this.addAWS4bApplicationIntegrationPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bAR VR");this.addAWS4bARVRPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bCost Management");this.addAWS4bCostManagementPalette(80,100,\r\n60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bBusiness Productivity");this.addAWS4bBusinessProductivityPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bCompute");this.addAWS4bComputePalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bCustomer Engagement");this.addAWS4bCustomerEngagementPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bDatabase");this.addAWS4bDatabasePalette(80,\r\n100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bDesktop App Streaming");this.addAWS4bDesktopAppStreamingPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bDeveloper Tools");this.addAWS4bDeveloperToolsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bGame Development");this.addAWS4bGameDevelopmentPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bInternet of Things");\r\nthis.addAWS4bInternetOfThingsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bIoT Things");this.addAWS4bIOTThingsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bIoT Resources");this.addAWS4bIOTResourcesPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bMachine Learning");this.addAWS4bMachineLearningPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b",\r\n"aws4bManagement Tools");this.addAWS4bManagementToolsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bMedia Services");this.addAWS4bMediaServicesPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bMigration");this.addAWS4bMigrationPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bMobile Services");this.addAWS4bMobileServicesPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b",\r\n"aws4bNetwork Content Delivery");this.addAWS4bNetworkContentDeliveryPalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bSecurity Identity Compliance");this.addAWS4bSecurityIdentityCompliancePalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary("aws4b","aws4bStorage");this.addAWS4bStoragePalette(80,100,60,a,b,"mxgraph.aws4",this);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAWS4bArrowsPalette=function(a,b){this.addPaletteFunctions("aws4bArrows",\r\n"AWS18 / Arrows",!1,[this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=block;startFill=1;strokeColor=#545B64;rounded=0;",100,0,"","Default (left)",null,this.getTagsForStencil(a,"","aws amazon web service arrows arrow default left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;",100,0,"","Default (left)",null,this.getTagsForStencil(a,\r\n"","aws amazon web service arrows arrow default left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=block;startFill=1;endFill=1;strokeColor=#545B64;rounded=0;",100,0,"","Default (double)",null,this.getTagsForStencil(a,"","aws amazon web service arrows arrow default double").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=openThin;startFill=0;strokeColor=#545B64;rounded=0;",\r\n100,0,"","Open (thin, left)",null,this.getTagsForStencil(a,"","aws amazon web service arrows arrow open thin left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=openThin;elbow=vertical;startArrow=none;endFill=0;strokeColor=#545B64;rounded=0;",100,0,"","Open (thin, left)",null,this.getTagsForStencil(a,"","aws amazon web service arrows arrow open thin left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=openThin;elbow=vertical;startArrow=openThin;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;",\r\n100,0,"","Open (thin, double)",null,this.getTagsForStencil(a,"","aws amazon web service arrows arrow open thin double").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=open;startFill=0;strokeColor=#545B64;rounded=0;",100,0,"","Open (left)",null,this.getTagsForStencil(a,"","aws amazon web service arrows arrow open left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=none;endFill=0;strokeColor=#545B64;rounded=0;",\r\n100,0,"","Open (left)",null,this.getTagsForStencil(a,"","aws amazon web service arrows arrow open left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=open;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;",100,0,"","Open (double)",null,this.getTagsForStencil(a,"","aws amazon web service arrows arrow open double").join(" "))])};Sidebar.prototype.addAWS4bGeneralResourcesPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bGeneral Resources",\r\n"AWS18 / General Resources",!1,[this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".aws_cloud;",e,e,"AWS Cloud",null,null,null,this.getTagsForStencil(f,"cloud","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".client;",e,e,"Client",null,null,null,this.getTagsForStencil(f,"client","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".corporate_data_center;",e,e,\r\n"Corporate\\ndata center",null,null,null,this.getTagsForStencil(f,"corporate data center","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".disk;",e,e,"Disk",null,null,null,this.getTagsForStencil(f,"disk","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".forums;",e,e,"Forums",null,null,null,this.getTagsForStencil(f,"forums","aws amazon web service general resources ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".generic_database;",e,e,"Generic\\ndatabase",null,null,null,this.getTagsForStencil(f,"generic databas","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".internet;",e,e,"Internet",null,null,null,this.getTagsForStencil(f,"internet","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".internet_alt1;",e,e,"Internet alt1",\r\nnull,null,null,this.getTagsForStencil(f,"internet alternative","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".internet_alt2;",e,e,"Internet alt2",null,null,null,this.getTagsForStencil(f,"internet alternative","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".mobile_client;",e,e,"Mobile client",null,null,null,this.getTagsForStencil(f,"mobile client","aws amazon web service general resources ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".multimedia;",e,e,"Multimedia",null,null,null,this.getTagsForStencil(f,"multimedia","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".office_building;",e,e,"Office building",null,null,null,this.getTagsForStencil(f,"office building","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".saml_token;",e,e,"SAML token",\r\nnull,null,null,this.getTagsForStencil(f,"saml token","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".ssl_padlock;",e,e,"SSL padlock",null,null,null,this.getTagsForStencil(f,"ssl padlock","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".tape_storage;",e,e,"Tape storage",null,null,null,this.getTagsForStencil(f,"tape storage","aws amazon web service general resources ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".traditional_server;",e,e,"Traditional\\nserver",null,null,null,this.getTagsForStencil(f,"traditional server","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".user;",e,e,"User",null,null,null,this.getTagsForStencil(f,"user","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".users;",e,e,"Users",null,null,null,\r\nthis.getTagsForStencil(f,"users","aws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".virtual_private_cloud;",e,e,"Virtual private\\ncloud",null,null,null,this.getTagsForStencil(f,"virtual private cloud vpc","aws amazon web service general resources ").join(" "))])};Sidebar.prototype.addAWS4bIllustrationsPalette=function(a,b,e){this.addPaletteFunctions("aws4bIllustrations","AWS18 / Illustrations",!1,[this.createVertexTemplateEntry(a+"illustration_users;pointerEvents=1",\r\n100,100,"users",null,null,null,this.getTagsForStencil(b,"users","aws amazon web service illustrations ").join(" ")),this.createVertexTemplateEntry(a+"illustration_notification;pointerEvents=1",100,81,"notification",null,null,null,this.getTagsForStencil(b,"users","aws amazon web service illustrations ").join(" ")),this.createVertexTemplateEntry(a+"illustration_devices;pointerEvents=1",100,73,"devices",null,null,null,this.getTagsForStencil(b,"devices","aws amazon web service illustrations ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"illustration_desktop;pointerEvents=1",100,91,"desktop",null,null,null,this.getTagsForStencil(b,"desktop","aws amazon web service illustrations ").join(" ")),this.createVertexTemplateEntry(a+"illustration_office_building;pointerEvents=1",100,71,"office building",null,null,null,this.getTagsForStencil(b,"office building","aws amazon web service illustrations ").join(" "))])};Sidebar.prototype.addAWS4bGroupsLightPalette=function(a,b,e){this.addPaletteFunctions("aws4bGroups Light",\r\n"AWS18 / Groups (light)",!1,[this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_aws_cloud;strokeColor=#AAB7B8;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#AAB7B8;dashed=0;",130,130,"AWS Cloud","AWS Cloud",null,null,this.getTagsForStencil(b,"cloud","aws amazon web service groups group light ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_region;strokeColor=#879196;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#879196;dashed=1;",\r\n130,130,"Region","Region",null,null,this.getTagsForStencil(b,"region","aws amazon web service groups group light ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_vpc;strokeColor=#879196;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#879196;dashed=0;",130,130,"VPC","VPC",null,null,this.getTagsForStencil(b,"vpc virtual private cloud","aws amazon web service groups group light ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_availability_zone;strokeColor=#545B64;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#545B64;dashed=1;",\r\n130,130,"Availability zone","Availability zone",null,null,this.getTagsForStencil(b,"availability zone","aws amazon web service groups group light ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_subnet;strokeColor=#879196;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#879196;dashed=0;",130,130,"Subnet","Subnet",null,null,this.getTagsForStencil(b,"subnet","aws amazon web service groups group light ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+\r\nb+".group_on_premise;strokeColor=#AAB7B8;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#AAB7B8;dashed=0;",130,130,"On-Premise","On-Premise",null,null,this.getTagsForStencil(b,"on premise","aws amazon web service groups group light ").join(" ")),this.createVertexTemplateEntry(a+"groupCenter;grIcon="+b+".group_auto_scaling_group;grStroke=0;strokeColor=#879196;fillColor=#ECEFEF;verticalAlign=top;align=center;fontColor=#879196;dashed=0;spacingTop=25;",130,130,"Auto Scaling Group",\r\n"Auto Scaling Group",null,null,this.getTagsForStencil(b,"auto scaling","aws amazon web service groups group light ").join(" ")),this.createVertexTemplateEntry(a+"groupCenter;grIcon="+b+".group_elastic_load_balancing;grStroke=1;strokeColor=#007DBC;fillColor=none;verticalAlign=top;align=center;fontColor=#007DBC;dashed=0;spacingTop=25;",130,130,"Elastic Load Balancing","Elastic Load Balancing",null,null,this.getTagsForStencil(b,"elastic load balancing","aws amazon web service groups group light ").join(" ")),\r\nthis.createVertexTemplateEntry("outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;strokeColor=#879196;fillColor=none;verticalAlign=top;align=center;fontColor=#879196;dashed=1;spacingTop=3;",130,130,"Generic Group","Generic Group",null,null,this.getTagsForStencil(b,"generic","aws amazon web service groups group light ").join(" ")),this.createVertexTemplateEntry("outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;strokeColor=#FF9900;fillColor=none;verticalAlign=top;align=center;fontColor=#FF9900;dashed=0;spacingTop=3;",\r\n130,130,"Highlight","Highlight",null,null,this.getTagsForStencil(b,"highlight","aws amazon web service groups group light ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_aws_step_functions_workflow;strokeColor=#545B64;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#545B64;dashed=0;",130,130,"AWS Step Functions workflow","AWS Step Functions workflow",null,null,this.getTagsForStencil(b,"step functions workflow","aws amazon web service groups group light ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"group;grIcon="+b+".group_spot_fleet;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;",130,130,"Spot Fleet","Spot Fleet",null,null,this.getTagsForStencil(b,"spot fleet","aws amazon web service groups group light ").join(" "))])};Sidebar.prototype.addAWS4bGroupsDarkPalette=function(a,b,e){this.addPaletteFunctions("aws4bGroups Dark","AWS18 / Groups (dark)",!1,[this.createVertexTemplateEntry(a+"group;grIcon="+\r\nb+".group_aws_cloud;strokeColor=#858B94;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#858B94;dashed=0;",130,130,"AWS Cloud","AWS Cloud",null,null,this.getTagsForStencil(b,"cloud","aws amazon web service groups group dark ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_region;strokeColor=#B6BABF;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#B6BABF;dashed=1;",130,130,"Region","Region",null,null,this.getTagsForStencil(b,"region",\r\n"aws amazon web service groups group dark ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_vpc;strokeColor=#B6BABF;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#B6BABF;dashed=0;",130,130,"VPC","VPC",null,null,this.getTagsForStencil(b,"vpc virtual private cloud","aws amazon web service groups group dark ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_availability_zone;strokeColor=#E8E8E8;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#E8E8E8;dashed=1;",\r\n130,130,"Availability zone","Availability zone",null,null,this.getTagsForStencil(b,"availability zone","aws amazon web service groups group dark ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_subnet;strokeColor=#E8E8E8;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#E8E8E8;dashed=0;",130,130,"Subnet","Subnet",null,null,this.getTagsForStencil(b,"subnet","aws amazon web service groups group dark ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+\r\nb+".group_on_premise;strokeColor=#858B94;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#858B94;dashed=0;",130,130,"On-Premise","On-Premise",null,null,this.getTagsForStencil(b,"on premise","aws amazon web service groups group dark ").join(" ")),this.createVertexTemplateEntry(a+"groupCenter;grIcon="+b+".group_auto_scaling_group;grStroke=0;strokeColor=#B6BABF;fillColor=#47515E;verticalAlign=top;align=center;fontColor=#B6BABF;dashed=0;spacingTop=25;",130,130,"Auto Scaling Group",\r\n"Auto Scaling Group",null,null,this.getTagsForStencil(b,"auto scaling","aws amazon web service groups group dark ").join(" ")),this.createVertexTemplateEntry(a+"groupCenter;grIcon="+b+".group_elastic_load_balancing;grStroke=1;strokeColor=#00A1C9;fillColor=none;verticalAlign=top;align=center;fontColor=#00A1C9;dashed=0;spacingTop=25;",130,130,"Elastic Load Balancing","Elastic Load Balancing",null,null,this.getTagsForStencil(b,"elastic load balancing","aws amazon web service groups group dark ").join(" ")),\r\nthis.createVertexTemplateEntry("outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;strokeColor=#858B94;fillColor=none;verticalAlign=top;align=center;fontColor=#858B94;dashed=1;spacingTop=3;",130,130,"Generic Group","Generic Group",null,null,this.getTagsForStencil(b,"generic","aws amazon web service groups group dark ").join(" ")),this.createVertexTemplateEntry("outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;strokeColor=#FF9900;fillColor=none;verticalAlign=top;align=center;fontColor=#FF9900;dashed=0;spacingTop=3;",\r\n130,130,"Highlight","Highlight",null,null,this.getTagsForStencil(b,"highlight","aws amazon web service groups group dark ").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_aws_step_functions_workflow;strokeColor=#E8E8E8;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#E8E8E8;dashed=0;",130,130,"AWS Step Functions workflow","AWS Step Functions workflow",null,null,this.getTagsForStencil(b,"step functions workflow","aws amazon web service groups group dark ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"group;grIcon="+b+".group_spot_fleet;strokeColor=#FFFFFF;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#FFFFFF;dashed=0;",130,130,"Spot Fleet","Spot Fleet",null,null,this.getTagsForStencil(b,"spot fleet","aws amazon web service groups group dark ").join(" "))])};Sidebar.prototype.addAWS4bAnalyticsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bAnalytics","AWS18 / Analytics",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+\r\nf+".athena;",a,b+10,"Amazon Athena",null,null,null,this.getTagsForStencil(f,"athena","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudsearch;",a,b+10,"Amazon CloudSearch",null,null,null,this.getTagsForStencil(f,"cloudsearch cloud search","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".emr;",a,b,"Amazon EMR",null,null,null,this.getTagsForStencil(f,"emr","aws amazon web service analytics ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elasticsearch_service;",a,b+20,"Amazon Elasticsearch Service",null,null,null,this.getTagsForStencil(f,"elasticsearch elastic search service","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis;",a,b+10,"Amazon Kinesis",null,null,null,this.getTagsForStencil(f,"kinesis","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis_data_analytics;",\r\na,b+20,"Amazon Kinesis Data Analytics",null,null,null,this.getTagsForStencil(f,"kinesis data analytics","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis_data_firehose;",a,b+20,"Amazon Kinesis Data Firehose",null,null,null,this.getTagsForStencil(f,"kinesis data firehose","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis_data_streams;",a,b+20,"Amazon Kinesis Data Streams",\r\nnull,null,null,this.getTagsForStencil(f,"kinesis data streams","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis_video_streams;",a,b+20,"Amazon Kinesis Video Streams",null,null,null,this.getTagsForStencil(f,"kinesis video streams","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".redshift;",a,b+10,"Amazon Redshift",null,null,null,this.getTagsForStencil(f,"redshift","aws amazon web service analytics ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".quicksight;",a,b+10,"Amazon QuickSight",null,null,null,this.getTagsForStencil(f,"quicksight quick sight","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".data_pipeline;",a,b+10,"AWS Data Pipeline",null,null,null,this.getTagsForStencil(f,"data pipeline","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".glue;",a,b,"AWS Glue",null,\r\nnull,null,this.getTagsForStencil(f,"glue","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".search_documents;",e,e,"Search\\ndocuments",null,null,null,this.getTagsForStencil(f,"search documents","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".cluster;",e,e,"Cluster",null,null,null,this.getTagsForStencil(f,"cluster","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".hdfs_cluster;",e,e,"HDFS cluster",null,null,null,this.getTagsForStencil(f,"hdfs cluster","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".emr_engine;",e,e,"EMR engine",null,null,null,this.getTagsForStencil(f,"emr engine","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".emr_engine_mapr_m3;",e,e,"EMR engine\\nMapR M3",null,null,null,this.getTagsForStencil(f,\r\n"emr engine mapr m3","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".emr_engine_mapr_m5;",e,e,"EMR engine\\nMapR M5",null,null,null,this.getTagsForStencil(f,"emr engine mapr m5","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".emr_engine_mapr_m7;",e,e,"EMR engine\\nMapR M7",null,null,null,this.getTagsForStencil(f,"emr engine mapr m7","aws amazon web service analytics ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".dense_compute_node;",e,e,"Dense\\ncompute Node",null,null,null,this.getTagsForStencil(f,"dense compute node","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".dense_storage_node;",e,e,"Dense\\nstorage Node",null,null,null,this.getTagsForStencil(f,"dense storage node","aws amazon web service analytics ").join(" "))])};Sidebar.prototype.addAWS4bApplicationIntegrationPalette=function(a,\r\nb,e,c,d,f,g){this.addPaletteFunctions("aws4bApplication Integration","AWS18 / Application Integration",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".step_functions;",a,b+10,"AWS Step Functions",null,null,null,this.getTagsForStencil(f,"step functions","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".mq;",a,b,"Amazon MQ",null,null,null,this.getTagsForStencil(f,"mq","aws amazon web service application integration ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".sns;",a,b,"Amazon SNS",null,null,null,this.getTagsForStencil(f,"sns","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".sqs;",a,b,"Amazon SQS",null,null,null,this.getTagsForStencil(f,"sqs","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".appsync;",a,b,"AWS AppSync",null,null,null,this.getTagsForStencil(f,\r\n"appsync","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".email_notification;",e,e,"Email\\nnotification",null,null,null,this.getTagsForStencil(f,"email notification","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".http_notification;",e,e,"HTTP\\nnotification",null,null,null,this.getTagsForStencil(f,"http notification","aws amazon web service application integration ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".topic;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".message;",e,e,"Message",null,null,null,this.getTagsForStencil(f,"message","aws amazon web service application integration ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".queue;",e,e,"Queue",null,null,null,this.getTagsForStencil(f,\r\n"queue","aws amazon web service application integration ").join(" "))])};Sidebar.prototype.addAWS4bARVRPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bAR VR","AWS18 / AR & VR",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".sumerian;",a,b+10,"Amazon Sumerian",null,null,null,this.getTagsForStencil(f,"sumerian","aws amazon web service ar vr augmented virtual reality").join(" "))])};Sidebar.prototype.addAWS4bCostManagementPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bCost Management",\r\n"AWS18 / Cost Management",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cost_explorer;",a,b+10,"AWS Cost Explorer",null,null,null,this.getTagsForStencil(f,"cost explorer","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".budgets;",a,b,"AWS Budgets",null,null,null,this.getTagsForStencil(f,"budgets","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cost_and_usage_report;",\r\na,b+10,"AWS Cost and Usage Report",null,null,null,this.getTagsForStencil(f,"cost usage report","aws amazon web service cost management ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".reserved_instance_reporting;",a,b+20,"Reserved Instance Reporting",null,null,null,this.getTagsForStencil(f,"reserved instance reporting","aws amazon web service cost management ").join(" "))])};Sidebar.prototype.addAWS4bBusinessProductivityPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bBusiness Productivity",\r\n"AWS18 / Business Productivity",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".alexa_for_business;",a,b+10,"Alexa for Business",null,null,null,this.getTagsForStencil(f,"alexa for business","aws amazon web service business productivity ").join(" "))])};Sidebar.prototype.addAWS4bComputePalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bCompute","AWS18 / Compute",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".ec2;",a,b,"Amazon EC2",null,null,null,this.getTagsForStencil(f,\r\n"ec2","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".ecr;",a,b,"Amazon ECR",null,null,null,this.getTagsForStencil(f,"ecr","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".ecs;",a,b,"Amazon ECS",null,null,null,this.getTagsForStencil(f,"ecs","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".eks;",a,b,"Amazon EKS",null,null,null,this.getTagsForStencil(f,\r\n"eks","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".lightsail;",a,b+10,"Amazon Lightsail",null,null,null,this.getTagsForStencil(f,"lightsail","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".batch;",a,b,"AWS Batch",null,null,null,this.getTagsForStencil(f,"batch","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_beanstalk;",\r\na,b+10,"AWS Elastic Beanstalk",null,null,null,this.getTagsForStencil(f,"elastic beanstalk","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".fargate;",a,b,"AWS Fargate",null,null,null,this.getTagsForStencil(f,"fargate","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".lambda;",a,b,"AWS Lambda",null,null,null,this.getTagsForStencil(f,"lambda","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+\r\n"productIcon;prIcon="+f+".serverless_application_repository;",a,b+35,"AWS Serverless Application Repository",null,null,null,this.getTagsForStencil(f,"serverless application repository","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_load_balancing;",a,b+10,"Elastic Load Balancing",null,null,null,this.getTagsForStencil(f,"elastic load balancing","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+\r\nf+".application_load_balancer;",a,b+10,"Application Load Balancer",null,null,null,this.getTagsForStencil(f,"application load balancer","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".classic_load_balancer;",a,b+10,"Classic Load Balancer",null,null,null,this.getTagsForStencil(f,"classic load balancer","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".network_load_balancer;",a,b+10,"Network Load Balancer",\r\nnull,null,null,this.getTagsForStencil(f,"network load balancer","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".vmware_cloud_on_aws;",a,b+10,"VMware Cloud on AWS",null,null,null,this.getTagsForStencil(f,"vmware cloud on","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".ami;",e,e,"AMI",null,null,null,this.getTagsForStencil(f,"ami","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".auto_scaling;",e,e,"Auto Scaling",null,null,null,this.getTagsForStencil(f,"auto scaling","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".db_on_instance;",e,e,"DB on\\nInstance",null,null,null,this.getTagsForStencil(f,"db on instance database","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".elastic_ip_address;",e,e,"Elastic IP\\nAddress",null,null,null,this.getTagsForStencil(f,\r\n"elastic ip address internet protocol","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".instance_with_cloudwatch;",e,e,"Instance with\\nCloudWatch",null,null,null,this.getTagsForStencil(f,"instance with cloudwatch","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".instance;",e,e,"Instance",null,null,null,this.getTagsForStencil(f,"instance","aws amazon web service compute ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".instances;",e,e,"Instances",null,null,null,this.getTagsForStencil(f,"instances","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".optimized_instance;",e,e,"Optimized\\nInstance",null,null,null,this.getTagsForStencil(f,"optimized_instance","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".rescue;",e,e,"Rescue",null,null,null,this.getTagsForStencil(f,\r\n"rescue","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".spot_instance;",e,e,"Spot Instance",null,null,null,this.getTagsForStencil(f,"spot instance","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".x1_instance;",e,e,"X1 Instance",null,null,null,this.getTagsForStencil(f,"x1 instance","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+\r\nf+".registry;",e,e,"Registry",null,null,null,this.getTagsForStencil(f,"registry","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".container_1;",e,e,"Container 1",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".container_2;",e,e,"Container 2",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service compute ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".container_3;",e,e,"Container 3",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".application;",e,e,"Application",null,null,null,this.getTagsForStencil(f,"application","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".deployment;",e,e,"Deployment",null,null,null,this.getTagsForStencil(f,\r\n"deployment","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".lambda_function;",e,e,"Lambda\\nFunction",null,null,null,this.getTagsForStencil(f,"lambda function","aws amazon web service compute ").join(" "))])};Sidebar.prototype.addAWS4bCustomerEngagementPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bCustomer Engagement","AWS18 / Customer Engagement",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".connect;",a,\r\nb+10,"Amazon Connect",null,null,null,this.getTagsForStencil(f,"connect","aws amazon web service customer engagement ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".pinpoint;",a,b+10,"Amazon Pinpoint",null,null,null,this.getTagsForStencil(f,"pinpoint","aws amazon web service customer engagement ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".simple_email_service;",a,b+10,"Amazon Simple Email Service",null,null,null,this.getTagsForStencil(f,"simple email service",\r\n"aws amazon web service customer engagement ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".email;",e,e,"Email",null,null,null,this.getTagsForStencil(f,"email","aws amazon web service customer engagement ").join(" "))])};Sidebar.prototype.addAWS4bDatabasePalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bDatabase","AWS18 / Database",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".aurora;",a,b+10,"Amazon\\nAurora",null,null,null,this.getTagsForStencil(f,\r\n"aurora","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".dynamodb;",a,b+10,"Amazon DynamoDB",null,null,null,this.getTagsForStencil(f,"dynamodb","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elasticache;",a,b+10,"Amazon ElastiCache",null,null,null,this.getTagsForStencil(f,"elasticache","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+\r\nf+".elasticache_for_memcached;",a,b+20,"Amazon ElastiCache for Memcached",null,null,null,this.getTagsForStencil(f,"elasticache for memcached","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elasticache_for_redis;",a,b+20,"Amazon ElastiCache for Redis",null,null,null,this.getTagsForStencil(f,"elasticache for redis","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".neptune;",a,b+10,\r\n"Amazon Neptune",null,null,null,this.getTagsForStencil(f,"neptune","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".rds;",a,b,"Amazon RDS",null,null,null,this.getTagsForStencil(f,"rds","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".redshift;",a,b+10,"Amazon Redshift",null,null,null,this.getTagsForStencil(f,"redshift","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(c+\r\n"productIcon;prIcon="+f+".database_migration_service;",a,b+20,"AWS Database Migration Service",null,null,null,this.getTagsForStencil(f,"db database migration service","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".attribute;",e,e,"Attribute",null,null,null,this.getTagsForStencil(f,"attribute","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".attributes;",e,e,"Attributes",null,\r\nnull,null,this.getTagsForStencil(f,"attributes","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".item;",e,e,"Item",null,null,null,this.getTagsForStencil(f,"item","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".items;",e,e,"Items",null,null,null,this.getTagsForStencil(f,"items","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+\r\nf+".global_secondary_index;",e,e,"Global\\nsecondary\\nindex",null,null,null,this.getTagsForStencil(f,"global secondary index","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".table;",e,e,"Table",null,null,null,this.getTagsForStencil(f,"table","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".cache_node;",e,e,"Cache node",null,null,null,this.getTagsForStencil(f,"cache node","aws amazon web service db database ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".db_instance;",e,e,"DB instance",null,null,null,this.getTagsForStencil(f,"db instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".db_instance_standby;",e,e,"DB instance\\nstandby",null,null,null,this.getTagsForStencil(f,"db instance standby","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".db_instance_read_replica;",\r\ne,e,"DB instance\\nread replica",null,null,null,this.getTagsForStencil(f,"db instance read replica","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".piop;",e,e,"PIOP",null,null,null,this.getTagsForStencil(f,"piop","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".ms_sql_instance;",e,e,"MS SQL\\ninstance",null,null,null,this.getTagsForStencil(f,"ms sql instance","aws amazon web service db database ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".ms_sql_instance_alternate;",e,e,"MS SQL\\ninstance\\nalternate",null,null,null,this.getTagsForStencil(f,"ms sql instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".mysql_db_instance;",e,e,"MySQL DB \\ninstance",null,null,null,this.getTagsForStencil(f,"mysql db database instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+\r\nf+".mysql_db_instance_alternate;",e,e,"MySQL DB \\ninstance\\nalternate",null,null,null,this.getTagsForStencil(f,"mysql db database instance alternate","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".oracle_db_instance;",e,e,"Oracle DB \\ninstance",null,null,null,this.getTagsForStencil(f,"oracle db database instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".oracle_db_instance_alternate;",\r\ne,e,"Oracle DB \\ninstance\\nalternate",null,null,null,this.getTagsForStencil(f,"oracle db database instance alternate","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sql_primary;",e,e,"SQL primary",null,null,null,this.getTagsForStencil(f,"sql primary","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sql_replica;",e,e,"SQL replica",null,null,null,this.getTagsForStencil(f,"sql replica",\r\n"aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".postgresql_instance;",e,e,"PostgreSQL\\ninstance",null,null,null,this.getTagsForStencil(f,"postresql instance","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".dense_compute_node;",e,e,"Dense\\ncompute node",null,null,null,this.getTagsForStencil(f,"dense compute node","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".dense_storage_node;",e,e,"Dense\\nstorage node",null,null,null,this.getTagsForStencil(f,"dense storage node","aws amazon web service db database ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".database_migration_workflow_job;",e,e,"Database\\nmigration\\nworkflow/job",null,null,null,this.getTagsForStencil(f,"database migration workflow job","aws amazon web service db database ").join(" "))])};Sidebar.prototype.addAWS4bDesktopAppStreamingPalette=\r\nfunction(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bDesktop App Streaming","AWS18 / Desktop & App Streaming",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".appstream_20;",a,b+10,"Amazon AppStream 2.0",null,null,null,this.getTagsForStencil(f,"appstream","aws amazon web service db database ").join(" "))])};Sidebar.prototype.addAWS4bDeveloperToolsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bDeveloper Tools","AWS18 / Developer Tools",!1,[this.createVertexTemplateEntry(c+\r\n"productIcon;prIcon="+f+".codestar;",a,b,"AWS CodeStar",null,null,null,this.getTagsForStencil(f,"codestar","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloud9;",a,b,"AWS Cloud9",null,null,null,this.getTagsForStencil(f,"cloud9","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".codebuild;",a,b+10,"AWS CodeBuild",null,null,null,this.getTagsForStencil(f,"codebuild",\r\n"aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".codecommit;",a,b+10,"AWS CodeCommit",null,null,null,this.getTagsForStencil(f,"codecommit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".codedeploy;",a,b+10,"AWS CodeDeploy",null,null,null,this.getTagsForStencil(f,"codedeploy","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(c+\r\n"productIcon;prIcon="+f+".codepipeline;",a,b+10,"AWS CodePipeline",null,null,null,this.getTagsForStencil(f,"codepipeline","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".command_line_interface;",a,b+20,"AWS\\nCommand Line Interface",null,null,null,this.getTagsForStencil(f,"command line interface","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".tools_and_sdks;",a,\r\nb+10,"AWS Tools and SDKs",null,null,null,this.getTagsForStencil(f,"tools and sdks software development kit","aws amazon web service dev developer tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".xray;",a,b,"AWS X-Ray",null,null,null,this.getTagsForStencil(f,"ray xray","aws amazon web service dev developer tools ").join(" "))])};Sidebar.prototype.addAWS4bGameDevelopmentPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bGame Development","AWS18 / Game Development",\r\n!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".gamelift;",a,b+10,"Amazon GameLift",null,null,null,this.getTagsForStencil(f,"gamelift","aws amazon web service game development ").join(" "))])};Sidebar.prototype.addAWS4bInternetOfThingsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bInternet of Things","AWS18 / Internet of Things",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_core;",a,b+10,"Amazon IoT Core",null,null,null,this.getTagsForStencil(f,\r\n"core","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".freertos;",a,b+10,"Amazon FreeRTOS",null,null,null,this.getTagsForStencil(f,"freertos free rtos","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".greengrass;",a,b+10,"AWS Greengrass",null,null,null,this.getTagsForStencil(f,"greengrass","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(c+\r\n"productIcon;prIcon="+f+".iot_1click;",a,b+10,"AWS IoT\\n1-Click",null,null,null,this.getTagsForStencil(f,"1click one click","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_analytics;",a,b+10,"AWS IoT Analytics",null,null,null,this.getTagsForStencil(f,"analytics","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_button;",a,b+10,"AWS IoT Button",null,\r\nnull,null,this.getTagsForStencil(f,"button","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_device_defender;",a,b+20,"AWS IoT Device Defender",null,null,null,this.getTagsForStencil(f,"device defender","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_device_management;",a,b+20,"AWS IoT Device Management",null,null,null,this.getTagsForStencil(f,"device management",\r\n"aws amazon web service internet of things iot ").join(" "))])};Sidebar.prototype.addAWS4bIOTThingsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bIoT Things","AWS18 / IoT Things",!1,[this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".bank;",e,e,"Bank",null,null,null,this.getTagsForStencil(f,"bank","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".bycicle;",e,e,"Bycicle",null,null,null,this.getTagsForStencil(f,\r\n"bycicle","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".camera;",e,e,"Camera",null,null,null,this.getTagsForStencil(f,"camera","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".car;",e,e,"Car",null,null,null,this.getTagsForStencil(f,"car","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+\r\nf+".cart;",e,e,"Cart",null,null,null,this.getTagsForStencil(f,"cart","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".coffee_pot;",e,e,"Coffee Pot",null,null,null,this.getTagsForStencil(f,"coffee pot","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".door_lock;",e,e,"Door Lock",null,null,null,this.getTagsForStencil(f,"door lock","aws amazon web service internet of things iot ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".factory;",e,e,"Factory",null,null,null,this.getTagsForStencil(f,"factory","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".generic;",e,e,"Generic",null,null,null,this.getTagsForStencil(f,"generic","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".house;",e,e,"House",null,null,null,this.getTagsForStencil(f,\r\n"house","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".lightbulb;",e,e,"Lightbulb",null,null,null,this.getTagsForStencil(f,"lightbulb","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".medical_emergency;",e,e,"Medical\\nEmergency",null,null,null,this.getTagsForStencil(f,"medical emergency","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".police_emergency;",e,e,"Police\\nEmergency",null,null,null,this.getTagsForStencil(f,"police emergency","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".thermostat;",e,e,"Thermostat",null,null,null,this.getTagsForStencil(f,"thermostat","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".travel;",e,e,"Travel",null,null,null,this.getTagsForStencil(f,\r\n"travel","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".utility;",e,e,"Utility",null,null,null,this.getTagsForStencil(f,"utility","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".windfarm;",e,e,"Windfarm",null,null,null,this.getTagsForStencil(f,"windfarm","aws amazon web service internet of things iot ").join(" "))])};Sidebar.prototype.addAWS4bIOTResourcesPalette=\r\nfunction(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bIoT Resources","AWS18 / IoT Resources",!1,[this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".action;",e,e,"Action",null,null,null,this.getTagsForStencil(f,"action","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".actuator;",e,e,"Actuator",null,null,null,this.getTagsForStencil(f,"actuator","aws amazon web service internet of things iot resources ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".alexa_enabled_device;",e,e,"Alexa enabled\\ndevice",null,null,null,this.getTagsForStencil(f,"alexa enabled device","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".alexa_skill;",e,e,"Alexa skill",null,null,null,this.getTagsForStencil(f,"alexa skill","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+\r\nf+".alexa_smart_home_skill;",e,e,"Alexa smart\\nhome skill",null,null,null,this.getTagsForStencil(f,"alexa smart home skill","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".alexa_voice_service;",e,e,"Alexa voice\\nservice",null,null,null,this.getTagsForStencil(f,"alexa voice service","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".certificate_manager;",\r\ne,e,"Certificate\\nmanager",null,null,null,this.getTagsForStencil(f,"certificate manager","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".desired_state;",e,e,"Desired state",null,null,null,this.getTagsForStencil(f,"desired state","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".echo;",e,e,"Echo",null,null,null,this.getTagsForStencil(f,\r\n"echo","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".firetv_stick;",e,e,"FireTV stick",null,null,null,this.getTagsForStencil(f,"firetv fire tv stick","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".firetv;",e,e,"FireTV",null,null,null,this.getTagsForStencil(f,"firetv fire tv","aws amazon web service internet of things iot resources ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".hardware_board;",e,e,"Hardware\\nboard",null,null,null,this.getTagsForStencil(f,"hardware board","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".http2_protocol;",e,e,"HTTP/2\\nprotocol",null,null,null,this.getTagsForStencil(f,"http2 protocol","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+\r\nf+".http_protocol;",e,e,"HTTP\\nprotocol",null,null,null,this.getTagsForStencil(f,"http protocol","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".lambda_function;",e,e,"Lambda Function",null,null,null,this.getTagsForStencil(f,"lambda function","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".mqtt_protocol;",e,e,"MQTT\\nprotocol",null,\r\nnull,null,this.getTagsForStencil(f,"mqtt protocol","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".policy;",e,e,"Policy",null,null,null,this.getTagsForStencil(f,"policy","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".reported_state;",e,e,"Reported\\nstate",null,null,null,this.getTagsForStencil(f,"reported state","aws amazon web service internet of things iot resources ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".rule;",e,e,"Rule",null,null,null,this.getTagsForStencil(f,"rule","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sensor;",e,e,"Sensor",null,null,null,this.getTagsForStencil(f,"sensor","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".servo;",e,e,"Servo",null,null,null,this.getTagsForStencil(f,\r\n"servo","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".shadow;",e,e,"Shadow",null,null,null,this.getTagsForStencil(f,"shadow","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".simulator;",e,e,"Simulator",null,null,null,this.getTagsForStencil(f,"simulator","aws amazon web service internet of things iot resources ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".topic_2;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service internet of things iot resources ").join(" "))])};Sidebar.prototype.addAWS4bMachineLearningPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bMachine Learning","AWS18 / Machine Learning",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".sagemaker;",a,b+10,"Amazon SageMaker",null,null,null,this.getTagsForStencil(f,"sagemaker","aws amazon web service machine learning ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".comprehend;",a,b+10,"Amazon Comprehend",null,null,null,this.getTagsForStencil(f,"comprehend","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".lex;",a,b,"Amazon Lex",null,null,null,this.getTagsForStencil(f,"lex","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".polly;",a,b,"Amazon Polly",null,null,null,this.getTagsForStencil(f,\r\n"polly","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".rekognition;",a,b+10,"Amazon Rekognition",null,null,null,this.getTagsForStencil(f,"rekognition","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".rekognition_image;",a,b+20,"Amazon Rekognition Image",null,null,null,this.getTagsForStencil(f,"rekognition image","aws amazon web service machine learning ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".rekognition_video;",a,b+20,"Amazon Rekognition Video",null,null,null,this.getTagsForStencil(f,"rekognition video","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".translate;",a,b+10,"Amazon Translate",null,null,null,this.getTagsForStencil(f,"translate","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".transcribe;",\r\na,b+10,"Amazon Transcribe",null,null,null,this.getTagsForStencil(f,"transcribe","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".deep_learning_amis;",a,b+10,"AWS Deep Learning AMIs",null,null,null,this.getTagsForStencil(f,"deep learning amis","aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".deeplens;",a,b,"AWS DeepLens",null,null,null,this.getTagsForStencil(f,"deeplens",\r\n"aws amazon web service machine learning ").join(" "))])};Sidebar.prototype.addAWS4bManagementToolsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bManagement Tools","AWS18 / Management Tools",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudwatch;",a,b+10,"Amazon CloudWatch",null,null,null,this.getTagsForStencil(f,"cloudwatch","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".autoscaling;",a,b+10,"AWS Auto Scaling",\r\nnull,null,null,this.getTagsForStencil(f,"auto scaling","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudformation;",a,b+10,"AWS CloudFormation",null,null,null,this.getTagsForStencil(f,"cloudformation","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudtrail;",a,b+10,"AWS\\nCloudTrail",null,null,null,this.getTagsForStencil(f,"cloudtrail","aws amazon web service management tools ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".command_line_interface;",a,b+20,"AWS\\nCommand Line Interface",null,null,null,this.getTagsForStencil(f,"command line interface","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".config;",a,b,"AWS Config",null,null,null,this.getTagsForStencil(f,"config","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".management_console;",\r\na,b+20,"AWS Management Console",null,null,null,this.getTagsForStencil(f,"management console","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".managed_services;",a,b+10,"AWS Managed Services",null,null,null,this.getTagsForStencil(f,"managed services","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".opsworks;",a,b+10,"AWS OpsWorks",null,null,null,this.getTagsForStencil(f,\r\n"opsworks","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".service_catalog;",a,b+10,"AWS Service Catalog",null,null,null,this.getTagsForStencil(f,"service catalog","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".personal_health_dashboard;",a,b+20,"AWS Personal Health Dashboard",null,null,null,this.getTagsForStencil(f,"personal health dashboard","aws amazon web service management tools ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".systems_manager;",a,b+10,"AWS Systems Manager",null,null,null,this.getTagsForStencil(f,"systems manager","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".trusted_advisor;",a,b+10,"AWS Trusted Advisor",null,null,null,this.getTagsForStencil(f,"trusted advisor","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".marketplace;",\r\na,b+10,"AWS Marketplace",null,null,null,this.getTagsForStencil(f,"marketplace","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".alarm;",e,e,"Alarm",null,null,null,this.getTagsForStencil(f,"alarm","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".event_event_based;",e,e,"Event (event-\\nbased)",null,null,null,this.getTagsForStencil(f,"event event based","aws amazon web service management tools ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".event_time_based;",e,e,"Event (time-\\nbased)",null,null,null,this.getTagsForStencil(f,"event time based","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".rule_2;",e,e,"Rule",null,null,null,this.getTagsForStencil(f,"rule","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".change_set;",e,e,"Change set",null,null,\r\nnull,this.getTagsForStencil(f,"change set","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".stack;",e,e,"Stack",null,null,null,this.getTagsForStencil(f,"stack","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".template;",e,e,"Template",null,null,null,this.getTagsForStencil(f,"template","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".apps;",e,e,"Apps",null,null,null,this.getTagsForStencil(f,"apps","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".deployments;",e,e,"Deployments",null,null,null,this.getTagsForStencil(f,"deployments","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".instances_2;",e,e,"Instances",null,null,null,this.getTagsForStencil(f,"instances","aws amazon web service management tools ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".layers;",e,e,"Layers",null,null,null,this.getTagsForStencil(f,"layers","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".monitoring;",e,e,"Monitoring",null,null,null,this.getTagsForStencil(f,"monitoring","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".permissions;",e,e,"Permissions",null,null,null,this.getTagsForStencil(f,\r\n"permissions","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".resources;",e,e,"Resources",null,null,null,this.getTagsForStencil(f,"resources","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".stack2;",e,e,"Stack2",null,null,null,this.getTagsForStencil(f,"stack stack2","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+\r\nf+".automation;",e,e,"Automation",null,null,null,this.getTagsForStencil(f,"automation","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".documents;",e,e,"Documents",null,null,null,this.getTagsForStencil(f,"documents","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".inventory;",e,e,"Inventory",null,null,null,this.getTagsForStencil(f,"inventory","aws amazon web service management tools ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".maintenance_windows;",e,e,"Maintenance\\nwindows",null,null,null,this.getTagsForStencil(f,"maintenance windows","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".parameter_store;",e,e,"Parameter\\nStore",null,null,null,this.getTagsForStencil(f,"parameter store","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+\r\n".patch_manager;",e,e,"Patch\\nmanager",null,null,null,this.getTagsForStencil(f,"patch manager","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".patch_manager;",e,e,"Patch\\nmanager",null,null,null,this.getTagsForStencil(f,"patch manager","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".run_command;",e,e,"Run\\ncommand",null,null,null,this.getTagsForStencil(f,"run command",\r\n"aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".state_manager;",e,e,"State\\nmanager",null,null,null,this.getTagsForStencil(f,"state manager","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".checklist_cost;",e,e,"Checklist cost",null,null,null,this.getTagsForStencil(f,"checklist cost","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".checklist_fault_tolerant;",e,e,"Checklist fault\\ntolerant",null,null,null,this.getTagsForStencil(f,"checklist fault tolerant","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".checklist_performance;",e,e,"Checklist\\nperformance",null,null,null,this.getTagsForStencil(f,"checklist performance","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+\r\n".checklist_security;",e,e,"Checklist\\nsecurity",null,null,null,this.getTagsForStencil(f,"checklist security","aws amazon web service management tools ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".checklist;",e,e,"Checklist",null,null,null,this.getTagsForStencil(f,"checklist","aws amazon web service management tools ").join(" "))])};Sidebar.prototype.addAWS4bMediaServicesPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bMedia Services","AWS18 / Media Services",\r\n!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_transcoder;",a,b+10,"Amazon Elastic Transcoder",null,null,null,this.getTagsForStencil(f,"elastic transcoder","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis_video_streams;",a,b+20,"Amazon Kinesis Video Streams",null,null,null,this.getTagsForStencil(f,"kinesis video streams","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(c+\r\n"productIcon;prIcon="+f+".elemental_mediaconvert;",a,b+10,"AWS Elemental MediaConvert",null,null,null,this.getTagsForStencil(f,"elemental mediaconvert","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elemental_medialive;",a,b+10,"AWS Elemental MediaLive",null,null,null,this.getTagsForStencil(f,"elemental medialive","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elemental_mediapackage;",\r\na,b+10,"AWS Elemental MediaPackage",null,null,null,this.getTagsForStencil(f,"elemental mediapackage","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elemental_mediastore;",a,b+10,"AWS Elemental MediaStore",null,null,null,this.getTagsForStencil(f,"elemental mediastore","aws amazon web service media services ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elemental_mediatailor;",a,b+10,"AWS Elemental MediaTailor",\r\nnull,null,null,this.getTagsForStencil(f,"elemental mediatailor","aws amazon web service media services ").join(" "))])};Sidebar.prototype.addAWS4bMigrationPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bMigration","AWS18 / Migration",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".migration_hub;",a,b+10,"AWS Migration Hub",null,null,null,this.getTagsForStencil(f,"migration hub","aws amazon web service migration ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+\r\nf+".application_discovery_service;",a,b+35,"AWS Application Discovery Service",null,null,null,this.getTagsForStencil(f,"application discovery service","aws amazon web service migration ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".database_migration_service;",a,b+20,"AWS Database Migration Service",null,null,null,this.getTagsForStencil(f,"db database migration service","aws amazon web service migration ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+\r\nf+".server_migration_service;",a,b+20,"AWS Server Migration Service",null,null,null,this.getTagsForStencil(f,"server migration service","aws amazon web service migration ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowball;",a,b,"AWS Snowball",null,null,null,this.getTagsForStencil(f,"snowball","aws amazon web service migration ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowball_edge;",a,b+10,"AWS Snowball Edge",null,null,null,this.getTagsForStencil(f,\r\n"snowball edge","aws amazon web service migration ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowmobile;",a,b+10,"AWS Snowmobile",null,null,null,this.getTagsForStencil(f,"snowmobile","aws amazon web service migration ").join(" "))])};Sidebar.prototype.addAWS4bMobileServicesPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bMobile Services","AWS18 / Mobile Services",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".appsync;",a,b,"AWS AppSync",\r\nnull,null,null,this.getTagsForStencil(f,"appsync","aws amazon web service mobile services ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".api_gateway;",a,b+10,"Amazon API Gateway",null,null,null,this.getTagsForStencil(f,"api gateway application programming interface","aws amazon web service mobile services ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".device_farm;",a,b+10,"AWS Device Farm",null,null,null,this.getTagsForStencil(f,"device farm","aws amazon web service mobile services ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".mobile_hub;",a,b+10,"AWS Mobile Hub",null,null,null,this.getTagsForStencil(f,"mobile hub","aws amazon web service mobile services ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".pinpoint;",a,b+10,"Amazon Pinpoint",null,null,null,this.getTagsForStencil(f,"pinpoint","aws amazon web service mobile services ").join(" "))])};Sidebar.prototype.addAWS4bNetworkContentDeliveryPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bNetwork Content Delivery",\r\n"AWS18 / Network & Content Delivery",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".vpc;",a,b,"Amazon VPC",null,null,null,this.getTagsForStencil(f,"vpc virtual private cloud","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".api_gateway;",a,b+10,"Amazon API Gateway",null,null,null,this.getTagsForStencil(f,"api application programming interface gateway","aws amazon web service netowrk content delivery ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudfront;",a,b+10,"Amazon Cloudfront",null,null,null,this.getTagsForStencil(f,"cloudfront","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".privatelink;",a,b+10,"AWS PrivateLink",null,null,null,this.getTagsForStencil(f,"privatelink","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".route_53;",a,\r\nb+10,"Amazon Route 53",null,null,null,this.getTagsForStencil(f,"route 53","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".direct_connect;",a,b+10,"AWS Direct Connect",null,null,null,this.getTagsForStencil(f,"direct connect","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".customer_gateway;",e,e,"Customer\\ngateway",null,null,null,this.getTagsForStencil(f,\r\n"customer gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".elastic_network_adapter;",e,e,"Elastic\\nnetwork\\nadapter",null,null,null,this.getTagsForStencil(f,"elastic network adapter","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".elastic_network_interface;",e,e,"Elastic\\nnetwork\\ninterface",null,null,null,this.getTagsForStencil(f,"elastic network interface",\r\n"aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".endpoints;",e,e,"Endpoints",null,null,null,this.getTagsForStencil(f,"endpoints","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".flow_logs;",e,e,"Flow logs",null,null,null,this.getTagsForStencil(f,"flow logs","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".internet_gateway;",e,e,"Internet\\ngateway",null,null,null,this.getTagsForStencil(f,"internet gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".nat_gateway;",e,e,"NAT gateway",null,null,null,this.getTagsForStencil(f,"nat gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".network_access_control_list;",e,e,"Network\\naccess\\ncontrol list",\r\nnull,null,null,this.getTagsForStencil(f,"network access control list","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".peering;",e,e,"Peering",null,null,null,this.getTagsForStencil(f,"peering","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".router;",e,e,"Router",null,null,null,this.getTagsForStencil(f,"router","aws amazon web service netowrk content delivery ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".vpn_connection;",e,e,"VPN\\nConnection",null,null,null,this.getTagsForStencil(f,"vpn virtual private network connection","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".vpn_gateway;",e,e,"VPN Gateway",null,null,null,this.getTagsForStencil(f,"vpn virtual private network gateway","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".download_distribution;",e,e,"Download\\ndistribution",null,null,null,this.getTagsForStencil(f,"download distribution","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".edge_location;",e,e,"Edge location",null,null,null,this.getTagsForStencil(f,"edge location","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".streaming_distribution;",\r\ne,e,"Streaming\\ndistribution",null,null,null,this.getTagsForStencil(f,"streaming distribution","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".hosted_zone;",e,e,"Hosted zone",null,null,null,this.getTagsForStencil(f,"hosted zone","aws amazon web service netowrk content delivery ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".route_table;",e,e,"Route table",null,null,null,this.getTagsForStencil(f,\r\n"route table","aws amazon web service netowrk content delivery ").join(" "))])};Sidebar.prototype.addAWS4bSecurityIdentityCompliancePalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bSecurity Identity Compliance","AWS18 / Security, Identity & Compliance",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".identity_and_access_management;",a,b+20,"AWS Identity and Access Management",null,null,null,this.getTagsForStencil(f,"identity and access management","aws amazon web service security identity compliance ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cognito;",a,b+10,"Amazon Cognito",null,null,null,this.getTagsForStencil(f,"cognito","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".guardduty;",a,b+10,"Amazon GuardDuty",null,null,null,this.getTagsForStencil(f,"guard duty guardduty","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".inspector;",\r\na,b+10,"Amazon Inspector",null,null,null,this.getTagsForStencil(f,"inspector","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".artifact;",a,b,"AWS Artifact",null,null,null,this.getTagsForStencil(f,"artifact","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".certificate_manager_3;",a,b+10,"AWS Certificate Manager",null,null,null,this.getTagsForStencil(f,\r\n"certificate manager","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudhsm;",a,b+10,"AWS CloudHSM",null,null,null,this.getTagsForStencil(f,"cloudhsm","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".directory_service;",a,b+10,"AWS Directory Service",null,null,null,this.getTagsForStencil(f,"directory service","aws amazon web service security identity compliance ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".firewall_manager;",a,b+10,"AWS Firewall Manager",null,null,null,this.getTagsForStencil(f,"firewall manager","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".key_management_service;",a,b+20,"AWS Key Management Service",null,null,null,this.getTagsForStencil(f,"key management service","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+\r\n"productIcon;prIcon="+f+".secrets_manager;",a,b+10,"AWS Secrets Manager",null,null,null,this.getTagsForStencil(f,"secrets manager","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".shield;",a,b,"AWS Shield",null,null,null,this.getTagsForStencil(f,"shield","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".single_sign_on;",a,b+10,"AWS Single Sign-On",\r\nnull,null,null,this.getTagsForStencil(f,"single sign on","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".waf;",a,b,"AWS WAF",null,null,null,this.getTagsForStencil(f,"waf","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".addon;",e,e,"Add-on",null,null,null,this.getTagsForStencil(f,"addon add on","aws amazon web service security identity compliance ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sts;",e,e,"AWS STS",null,null,null,this.getTagsForStencil(f,"sts","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sts_alternate;",e,e,"AWS STS\\n(alternate)",null,null,null,this.getTagsForStencil(f,"sts alternate","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".data_encryption_key;",\r\ne,e,"Data\\nencryption\\nkey",null,null,null,this.getTagsForStencil(f,"data encryption key","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".encrypted_data;",e,e,"Encrypted\\ndata",null,null,null,this.getTagsForStencil(f,"encrypted data","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".long_term_security_credential;",e,e,"Long-term\\nsecurity\\ncredential",\r\nnull,null,null,this.getTagsForStencil(f,"long term security credential","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".mfa_token;",e,e,"MFA Token",null,null,null,this.getTagsForStencil(f,"mfa token","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".permissions;",e,e,"Permissions",null,null,null,this.getTagsForStencil(f,"permissions","aws amazon web service security identity compliance ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".role;",e,e,"Role",null,null,null,this.getTagsForStencil(f,"role","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".temporary_security_credential;",e,e,"Temporary\\nsecurity\\ncredential",null,null,null,this.getTagsForStencil(f,"temporary security credential","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+\r\nf+".agent;",e,e,"Agent",null,null,null,this.getTagsForStencil(f,"agent","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".certificate_manager_2;",e,e,"Certificate\\nmanager",null,null,null,this.getTagsForStencil(f,"certificate manager","aws amazon web service security identity compliance ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".filtering_rule;",e,e,"Filtering rule",null,null,null,this.getTagsForStencil(f,\r\n"filtering rule","aws amazon web service security identity compliance ").join(" "))])};Sidebar.prototype.addAWS4bStoragePalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bStorage","AWS18 / Storage",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".s3;",a,b,"Amazon S3",null,null,null,this.getTagsForStencil(f,"s3","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_block_store;",a,b+10,"Amazon Elastic Block Store",\r\nnull,null,null,this.getTagsForStencil(f,"elastic block store","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_file_system;",a,b+10,"Amazon Elastic File System",null,null,null,this.getTagsForStencil(f,"elastic file system","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".glacier;",a,b+10,"Amazon Glacier",null,null,null,this.getTagsForStencil(f,"glacier","aws amazon web service storage ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowball;",a,b,"AWS Snowball",null,null,null,this.getTagsForStencil(f,"snowball","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowball_edge;",a,b+10,"AWS Snowball Edge",null,null,null,this.getTagsForStencil(f,"snowball edge","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowmobile;",a,b+10,"AWS Snowmobile",null,null,null,\r\nthis.getTagsForStencil(f,"snowmobile","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".storage_gateway;",a,b+10,"AWS Storage Gateway",null,null,null,this.getTagsForStencil(f,"storage gateway","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".bucket;",e,e,"Bucket",null,null,null,this.getTagsForStencil(f,"bucket","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".snapshot;",e,e,"Snapshot",null,null,null,this.getTagsForStencil(f,"snapshot","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".bucket_with_objects;",e,e,"Bucket with\\nobjects",null,null,null,this.getTagsForStencil(f,"bucket with objects","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".volume;",e,e,"Volume",null,null,null,this.getTagsForStencil(f,"volume",\r\n"aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".object;",e,e,"Object",null,null,null,this.getTagsForStencil(f,"object","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".archive;",e,e,"Archive",null,null,null,this.getTagsForStencil(f,"archive","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".vault;",e,e,"Vault",null,null,null,\r\nthis.getTagsForStencil(f,"vault","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".import_export;",e,e,"Import/Export",null,null,null,this.getTagsForStencil(f,"import export","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".cached_volume;",e,e,"Cached\\nvolume",null,null,null,this.getTagsForStencil(f,"cached volume","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+\r\n"resourceIcon;resIcon="+f+".non_cached_volume;",e,e,"Non-Cached\\nvolume",null,null,null,this.getTagsForStencil(f,"non cached volume","aws amazon web service storage ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".virtual_tape_library;",e,e,"Virtual tape\\nlibrary",null,null,null,this.getTagsForStencil(f,"virtual tape library vtl","aws amazon web service storage ").join(" "))])}})();(function(){Sidebar.prototype.addAzurePalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;strokeColor=none;fillColor=#00BEF2;shape=mxgraph.azure.";this.setCurrentSearchEntryLibrary("azure");this.addPaletteFunctions("azure",mxResources.get("azure"),!1,[this.createVertexTemplateEntry(a+"access_control;",50,50,"","Access Control",null,null,this.getTagsForStencil("mxgraph.azure","access_control","").join(" ")),this.createVertexTemplateEntry(a+\r\n"automation;pointerEvents=1;",50,45,"","Automation",null,null,this.getTagsForStencil("mxgraph.azure","automation","").join(" ")),this.createVertexTemplateEntry(a+"autoscale;",50,30,"","AutoScale",null,null,this.getTagsForStencil("mxgraph.azure","autoscale","").join(" ")),this.createVertexTemplateEntry(a+"azure_active_directory;",47.5,50,"","Azure Active Directory",null,null,this.getTagsForStencil("mxgraph.azure","azure_active_directory","").join(" ")),this.createVertexTemplateEntry(a+"azure_alert;",\r\n50,42.5,"","Azure Alert",null,null,this.getTagsForStencil("mxgraph.azure","azure_alert","").join(" ")),this.createVertexTemplateEntry(a+"azure_cache;",45,50,"","Azure Cache",null,null,this.getTagsForStencil("mxgraph.azure","azure_cache","").join(" ")),this.createVertexTemplateEntry(a+"azure_instance;",50,50,"","Azure Instance",null,null,this.getTagsForStencil("mxgraph.azure","azure_instance","").join(" ")),this.createVertexTemplateEntry(a+"azure_load_balancer;",50,35,"","Azure Load Balancer",null,\r\nnull,this.getTagsForStencil("mxgraph.azure","azure_load_balancer","").join(" ")),this.createVertexTemplateEntry(a+"azure_marketplace;",40,50,"","Azure Marketplace",null,null,this.getTagsForStencil("mxgraph.azure","azure_marketplace","").join(" ")),this.createVertexTemplateEntry(a+"azure_sdk;",50,47.5,"","Azure SDK",null,null,this.getTagsForStencil("mxgraph.azure","azure_sdk","").join(" ")),this.createVertexTemplateEntry(a+"azure_subscription;",50,35,"","Azure Subscription",null,null,this.getTagsForStencil("mxgraph.azure",\r\n"azure_subscription","").join(" ")),this.createVertexTemplateEntry(a+"azure_website;pointerEvents=1;",50,50,"","Azure Website",null,null,this.getTagsForStencil("mxgraph.azure","azure_website","").join(" ")),this.createVertexTemplateEntry(a+"backup_service;",50,45,"","Backup Service",null,null,this.getTagsForStencil("mxgraph.azure","backup_service","").join(" ")),this.createVertexTemplateEntry(a+"bitbucket_code_source;",42.5,50,"","BitBucket Code Source",null,null,this.getTagsForStencil("mxgraph.azure",\r\n"bitbucket_code_source","").join(" ")),this.createVertexTemplateEntry(a+"biztalk_services;",50,50,"","BizTalk Services",null,null,this.getTagsForStencil("mxgraph.azure","biztalk_services","").join(" ")),this.createVertexTemplateEntry(a+"certificate;pointerEvents=1;",50,40,"","Certificate",null,null,this.getTagsForStencil("mxgraph.azure","certificate","").join(" ")),this.createVertexTemplateEntry(a+"cloud;",50,32.5,"","Cloud",null,null,this.getTagsForStencil("mxgraph.azure","cloud","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_service;",50,40,"","Cloud Service",null,null,this.getTagsForStencil("mxgraph.azure","cloud_service","").join(" ")),this.createVertexTemplateEntry(a+"cloud_services_configuration_file;pointerEvents=1;",47.5,50,"","Cloud Services Configuration File",null,null,this.getTagsForStencil("mxgraph.azure","cloud_services_configuration_file","").join(" ")),this.createVertexTemplateEntry(a+"cloud_service_package_file;",42.5,50,"","Cloud Service Package File",null,null,\r\nthis.getTagsForStencil("mxgraph.azure","cloud_service_package_file","").join(" ")),this.createVertexTemplateEntry(a+"codeplex_code_source;",50,37.5,"","CodePlex Code Source",null,null,this.getTagsForStencil("mxgraph.azure","codeplex_code_source","").join(" ")),this.createVertexTemplateEntry(a+"code_file;pointerEvents=1;",47.5,50,"","Code File",null,null,this.getTagsForStencil("mxgraph.azure","code_file","").join(" ")),this.createVertexTemplateEntry(a+"computer;pointerEvents=1;",50,45,"","Computer",\r\nnull,null,this.getTagsForStencil("mxgraph.azure","computer","").join(" ")),this.createVertexTemplateEntry(a+"content_delivery_network;",50,32.5,"","Content Delivery Network",null,null,this.getTagsForStencil("mxgraph.azure","content_delivery_network","").join(" ")),this.createVertexTemplateEntry(a+"database;",37.5,50,"","Database",null,null,this.getTagsForStencil("mxgraph.azure","database","").join(" ")),this.createVertexTemplateEntry(a+"dropbox_code_source;",50,47.5,"","DropBox Code Source",null,\r\nnull,this.getTagsForStencil("mxgraph.azure","dropbox_code_source","").join(" ")),this.createVertexTemplateEntry(a+"enterprise;pointerEvents=1;",30,50,"","Enterprise",null,null,this.getTagsForStencil("mxgraph.azure","enterprise","").join(" ")),this.createVertexTemplateEntry(a+"express_route;pointerEvents=1;",50,30,"","Express Route",null,null,this.getTagsForStencil("mxgraph.azure","express_route","").join(" ")),this.createVertexTemplateEntry(a+"file;pointerEvents=1;",47.5,50,"","File",null,null,this.getTagsForStencil("mxgraph.azure",\r\n"file","").join(" ")),this.createVertexTemplateEntry(a+"file_2;pointerEvents=1;",47.5,50,"","File 2",null,null,this.getTagsForStencil("mxgraph.azure","file_2","").join(" ")),this.createVertexTemplateEntry(a+"github_code;pointerEvents=1;",50,50,"","GitHub Code",null,null,this.getTagsForStencil("mxgraph.azure","github_code","").join(" ")),this.createVertexTemplateEntry(a+"git_repository;",50,50,"","Git Repository",null,null,this.getTagsForStencil("mxgraph.azure","git_repository","").join(" ")),this.createVertexTemplateEntry(a+\r\n"hdinsight;",50,50,"","HDInsight",null,null,this.getTagsForStencil("mxgraph.azure","hdinsight","").join(" ")),this.createVertexTemplateEntry(a+"healthy;",50,45,"","Healthy",null,null,this.getTagsForStencil("mxgraph.azure","healthy","").join(" ")),this.createVertexTemplateEntry(a+"health_monitoring;",50,42.5,"","Health Monitoring",null,null,this.getTagsForStencil("mxgraph.azure","health_monitoring","").join(" ")),this.createVertexTemplateEntry(a+"hyper_v_recovery_manager;",50,45,"","Hyper-V Recovery Manager",\r\nnull,null,this.getTagsForStencil("mxgraph.azure","hyper_v_recovery_manager","").join(" ")),this.createVertexTemplateEntry(a+"laptop;pointerEvents=1;",50,30,"","Laptop",null,null,this.getTagsForStencil("mxgraph.azure","laptop","").join(" ")),this.createVertexTemplateEntry(a+"load_balancer_generic;pointerEvents=1;",37.5,50,"","Load Balancer Generic",null,null,this.getTagsForStencil("mxgraph.azure","load_balancer_generic","").join(" ")),this.createVertexTemplateEntry(a+"media_service;pointerEvents=1;",\r\n45,50,"","Media Service",null,null,this.getTagsForStencil("mxgraph.azure","media_service","").join(" ")),this.createVertexTemplateEntry(a+"message;pointerEvents=1;",50,37.5,"","Message",null,null,this.getTagsForStencil("mxgraph.azure","message","").join(" ")),this.createVertexTemplateEntry(a+"mobile;pointerEvents=1;",35,50,"","Mobile",null,null,this.getTagsForStencil("mxgraph.azure","mobile","").join(" ")),this.createVertexTemplateEntry(a+"mobile_services;pointerEvents=1;",32.5,50,"","Mobile Services",\r\nnull,null,this.getTagsForStencil("mxgraph.azure","mobile_services","").join(" ")),this.createVertexTemplateEntry(a+"multi_factor_authentication;pointerEvents=1;",25,50,"","Multi Factor Authentication",null,null,this.getTagsForStencil("mxgraph.azure","multi_factor_authentication","").join(" ")),this.createVertexTemplateEntry(a+"mysql_database;",37.5,50,"","MySQL Database",null,null,this.getTagsForStencil("mxgraph.azure","mysql_database","").join(" ")),this.createVertexTemplateEntry(a+"notification_hub;pointerEvents=1;",\r\n50,50,"","Notification Hub",null,null,this.getTagsForStencil("mxgraph.azure","notification_hub","").join(" ")),this.createVertexTemplateEntry(a+"notification_topic;",50,50,"","Notification Topic",null,null,this.getTagsForStencil("mxgraph.azure","notification_topic","").join(" ")),this.createVertexTemplateEntry(a+"operating_system_image;",50,50,"","Operating System Image",null,null,this.getTagsForStencil("mxgraph.azure","operating_system_image","").join(" ")),this.createVertexTemplateEntry(a+"powershell_file;pointerEvents=1;",\r\n50,50,"","PowerShell File",null,null,this.getTagsForStencil("mxgraph.azure","powershell_file","").join(" ")),this.createVertexTemplateEntry(a+"queue_generic;pointerEvents=1;",50,15,"","Queue Generic",null,null,this.getTagsForStencil("mxgraph.azure","queue_generic","").join(" ")),this.createVertexTemplateEntry(a+"rdp_remoting_file;pointerEvents=1;",47.5,50,"","RDP Remoting File",null,null,this.getTagsForStencil("mxgraph.azure","rdp_remoting_file","").join(" ")),this.createVertexTemplateEntry(a+"scheduler;pointerEvents=1;",\r\n40,50,"","Scheduler",null,null,this.getTagsForStencil("mxgraph.azure","scheduler","").join(" ")),this.createVertexTemplateEntry(a+"script_file;pointerEvents=1;",47.5,50,"","Script File",null,null,this.getTagsForStencil("mxgraph.azure","script_file","").join(" ")),this.createVertexTemplateEntry(a+"server;",50,15,"","Server",null,null,this.getTagsForStencil("mxgraph.azure","server","").join(" ")),this.createVertexTemplateEntry(a+"server_rack;",50,50,"","Server Rack",null,null,this.getTagsForStencil("mxgraph.azure",\r\n"server_rack","").join(" ")),this.createVertexTemplateEntry(a+"service_bus;pointerEvents=1;",45,50,"","Service Bus",null,null,this.getTagsForStencil("mxgraph.azure","service_bus","").join(" ")),this.createVertexTemplateEntry(a+"service_bus_queues;pointerEvents=1;",42.5,50,"","Service Bus Queues",null,null,this.getTagsForStencil("mxgraph.azure","service_bus_queues","").join(" ")),this.createVertexTemplateEntry(a+"service_bus_relay;pointerEvents=1;",40,50,"","Service Bus Relay",null,null,this.getTagsForStencil("mxgraph.azure",\r\n"service_bus_relay","").join(" ")),this.createVertexTemplateEntry(a+"service_bus_topics_and_subscriptions;pointerEvents=1;",45,50,"","Service Bus Topics and Subscriptions",null,null,this.getTagsForStencil("mxgraph.azure","service_bus_topics_and_subscriptions","").join(" ")),this.createVertexTemplateEntry(a+"service_endpoint;",50,20,"","Service Endpoint",null,null,this.getTagsForStencil("mxgraph.azure","service_endpoint","").join(" ")),this.createVertexTemplateEntry(a+"sql_database;",37.5,50,"","SQL Database",\r\nnull,null,this.getTagsForStencil("mxgraph.azure","sql_database","").join(" ")),this.createVertexTemplateEntry(a+"sql_database_sql_azure;",47.5,50,"","SQL Database SQL Azure",null,null,this.getTagsForStencil("mxgraph.azure","sql_database_sql_azure","").join(" ")),this.createVertexTemplateEntry(a+"sql_datasync;",37.5,50,"","SQL DataSync",null,null,this.getTagsForStencil("mxgraph.azure","sql_datasync","").join(" ")),this.createVertexTemplateEntry(a+"sql_reporting;",40,50,"","SQL Reporting",null,null,\r\nthis.getTagsForStencil("mxgraph.azure","sql_reporting","").join(" ")),this.createVertexTemplateEntry(a+"startup_task;pointerEvents=1;",47.5,50,"","Startup Task",null,null,this.getTagsForStencil("mxgraph.azure","startup_task","").join(" ")),this.createVertexTemplateEntry(a+"storage;pointerEvents=1;",50,40,"","Storage",null,null,this.getTagsForStencil("mxgraph.azure","storage","").join(" ")),this.createVertexTemplateEntry(a+"storage_blob;",50,45,"","Storage Blob",null,null,this.getTagsForStencil("mxgraph.azure",\r\n"storage_blob","").join(" ")),this.createVertexTemplateEntry(a+"storage_queue;",50,45,"","Storage Queue",null,null,this.getTagsForStencil("mxgraph.azure","storage_queue","").join(" ")),this.createVertexTemplateEntry(a+"storage_table;",50,45,"","Storage Table",null,null,this.getTagsForStencil("mxgraph.azure","storage_table","").join(" ")),this.createVertexTemplateEntry(a+"storsimple;",50,45,"","StorSimple",null,null,this.getTagsForStencil("mxgraph.azure","storsimple","").join(" ")),this.createVertexTemplateEntry(a+\r\n"tablet;pointerEvents=1;",50,37.5,"","Tablet",null,null,this.getTagsForStencil("mxgraph.azure","tablet","").join(" ")),this.createVertexTemplateEntry(a+"team_foundation_service;",50,37.5,"","Team Foundation Service",null,null,this.getTagsForStencil("mxgraph.azure","team_foundation_service","").join(" ")),this.createVertexTemplateEntry(a+"traffic_manager;pointerEvents=1;",50,50,"","Traffic Manager",null,null,this.getTagsForStencil("mxgraph.azure","traffic_manager","").join(" ")),this.createVertexTemplateEntry(a+\r\n"unidentified_code_object;",50,42.5,"","Unidentified Code Object",null,null,this.getTagsForStencil("mxgraph.azure","unidentified_code_object","").join(" ")),this.createVertexTemplateEntry(a+"user;",47.5,50,"","User",null,null,this.getTagsForStencil("mxgraph.azure","user","").join(" ")),this.createVertexTemplateEntry(a+"vhd;pointerEvents=1;",40,50,"","VHD",null,null,this.getTagsForStencil("mxgraph.azure","vhd","").join(" ")),this.createVertexTemplateEntry(a+"vhd_data_disk;pointerEvents=1;",37.5,50,\r\n"","VHD Data Disk",null,null,this.getTagsForStencil("mxgraph.azure","vhd_data_disk","").join(" ")),this.createVertexTemplateEntry(a+"virtual_machine;",50,40,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.azure","virtual_machine","").join(" ")),this.createVertexTemplateEntry(a+"virtual_machine_feature;pointerEvents=1;",50,45,"","Virtual Machine Feature",null,null,this.getTagsForStencil("mxgraph.azure","virtual_machine_feature","").join(" ")),this.createVertexTemplateEntry(a+"virtual_network;pointerEvents=1;",\r\n50,50*.55,"","Virtual Network",null,null,this.getTagsForStencil("mxgraph.azure","virtual_network","").join(" ")),this.createVertexTemplateEntry(a+"visual_studio_online;",50,37.5,"","Visual Studio Online",null,null,this.getTagsForStencil("mxgraph.azure","visual_studio_online","").join(" ")),this.createVertexTemplateEntry(a+"wadcfg_diagnostics_file;pointerEvents=1;",47.5,50,"","WADCFG Diagnostics File",null,null,this.getTagsForStencil("mxgraph.azure","wadcfg_diagnostics_file","").join(" ")),this.createVertexTemplateEntry(a+\r\n"website_generic;pointerEvents=1;",50,42.5,"","Website Generic",null,null,this.getTagsForStencil("mxgraph.azure","website_generic","").join(" ")),this.createVertexTemplateEntry(a+"web_role;",50,40,"","Web Role",null,null,this.getTagsForStencil("mxgraph.azure","web_role","").join(" ")),this.createVertexTemplateEntry(a+"web_roles;",50*1.1,45,"","Web Roles",null,null,this.getTagsForStencil("mxgraph.azure","web_roles","").join(" ")),this.createVertexTemplateEntry(a+"worker_role;",50,40,"","Worker Role",\r\nnull,null,this.getTagsForStencil("mxgraph.azure","worker_role","").join(" ")),this.createVertexTemplateEntry(a+"worker_roles;",50*1.1,45,"","Worker Roles",null,null,this.getTagsForStencil("mxgraph.azure","worker_roles","").join(" "))]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addAzure2Palette=function(){this.setCurrentSearchEntryLibrary("azure2","azure2AI Machine Learning");this.addAzure2AIMachineLearningPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/ai_machine_learning/");this.setCurrentSearchEntryLibrary("azure2","azure2Analytics");this.addAzure2AnalyticsPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/analytics/");\r\nthis.setCurrentSearchEntryLibrary("azure2","azure2App Services");this.addAzure2AppServicesPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/app_services/");this.setCurrentSearchEntryLibrary("azure2","azure2Azure Stack");this.addAzure2AzureStackPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/azure_stack/");this.setCurrentSearchEntryLibrary("azure2","azure2Azure VMware Solution");\r\nthis.addAzure2AzureVMwareSolutionPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/azure_vmware_solution/");this.setCurrentSearchEntryLibrary("azure2","azure2Blockchain");this.addAzure2BlockchainPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/blockchain/");this.setCurrentSearchEntryLibrary("azure2","azure2Compute");this.addAzure2ComputePalette("mxgraph.azure2",400,\r\nthis,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/compute/");this.setCurrentSearchEntryLibrary("azure2","azure2Containers");this.addAzure2ContainersPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/containers/");this.setCurrentSearchEntryLibrary("azure2","azure2CXP");this.addAzure2CXPPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/cxp/");\r\nthis.setCurrentSearchEntryLibrary("azure2","azure2Databases");this.addAzure2DatabasesPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/databases/");this.setCurrentSearchEntryLibrary("azure2","azure2DevOps");this.addAzure2DevOpsPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/devops/");this.setCurrentSearchEntryLibrary("azure2","azure2General");this.addAzure2GeneralPalette("mxgraph.azure2",\r\n400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/general/");this.setCurrentSearchEntryLibrary("azure2","azure2Identity");this.addAzure2IdentityPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/identity/");this.setCurrentSearchEntryLibrary("azure2","azure2Integration");this.addAzure2IntegrationPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/integration/");\r\nthis.setCurrentSearchEntryLibrary("azure2","azure2Internet of Things");this.addAzure2InternetOfThingsPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/internet_of_things/");this.setCurrentSearchEntryLibrary("azure2","azure2Intune");this.addAzure2IntunePalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/intune/");this.setCurrentSearchEntryLibrary("azure2","azure2IoT");\r\nthis.addAzure2IOTPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/iot/");this.setCurrentSearchEntryLibrary("azure2","azure2Management Governance");this.addAzure2ManagementGovernancePalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/management_governance/");this.setCurrentSearchEntryLibrary("azure2","azure2Migrate");this.addAzure2MigratePalette("mxgraph.azure2",400,\r\nthis,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/migrate/");this.setCurrentSearchEntryLibrary("azure2","azure2Mixed Reality");this.addAzure2MixedRealityPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/mixed_reality/");this.setCurrentSearchEntryLibrary("azure2","azure2Monitor");this.addAzure2MonitorPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/monitor/");\r\nthis.setCurrentSearchEntryLibrary("azure2","azure2Networking");this.addAzure2NetworkingPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/networking/");this.setCurrentSearchEntryLibrary("azure2","azure2Other");this.addAzure2OtherPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/other/");this.setCurrentSearchEntryLibrary("azure2","azure2Preview");this.addAzure2PreviewPalette("mxgraph.azure2",\r\n400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/preview/");this.setCurrentSearchEntryLibrary("azure2","azure2Security");this.addAzure2SecurityPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/security/");this.setCurrentSearchEntryLibrary("azure2","azure2Storage");this.addAzure2StoragePalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/storage/");\r\nthis.setCurrentSearchEntryLibrary("azure2","azure2Web");this.addAzure2WebPalette("mxgraph.azure2",400,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/web/");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addAzure2AIMachineLearningPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Bot_Services.svg;",.17*b,.17*b,"","Bot Services",null,null,this.getTagsForStencil(a,"bot services","azure ai machine learning artificial intelligence ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Cognitive_Services.svg;",.17*b,.12*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Classic_Web_Services.svg;",.17*b,.17*b,"","Machine Learning Studio - Classic Web Services",null,null,this.getTagsForStencil(a,"studio classic web services","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Machine_Learning_Studio_Web_Service_Plans.svg;",.17*b,.16*b,"","Machine Learning Studio - Web Service Plans",null,null,this.getTagsForStencil(a,"studio web service plans","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Workspaces.svg;",.17*b,.16*b,"","Machine Learning Studio - Workspaces",null,null,this.getTagsForStencil(a,"studio workspaces","azure ai machine learning artificial intelligence ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Translator_Text.svg;",.17*b,.17*b,"","Translator Text",null,null,this.getTagsForStencil(a,"translator text","azure ai machine learning artificial intelligence ").join(" "))];this.addPalette("azure2AI Machine Learning","Azure / AI and Machine Learning",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2AnalyticsPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Analysis_Services.svg;",.1575*b,.12*b,"","Analysis Services",\r\nnull,null,this.getTagsForStencil(a,"analysis services","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Databricks.svg;",.15*b,.17*b,"","Azure Databricks",null,null,this.getTagsForStencil(a,"azure databricks","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Azure Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Store_Gen1.svg;",\r\n.16*b,.13*b,"","Data Lake Store Gen1",null,null,this.getTagsForStencil(a,"data lake store gen1","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hub_Clusters.svg;",.16*b,.13*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+\r\n"HD_Insight_Clusters.svg;",.1575*b,.155*b,"","HD Insight Clusters",null,null,this.getTagsForStencil(a,"hd insight clusters","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure analytics ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",null,null,this.getTagsForStencil(a,"Stream_Analytics_Jobs",\r\n"azure analytics ").join(" "))];this.addPalette("azure2Analytics","Azure / Analytics",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2AppServicesPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"API_Management_Services.svg;",.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure app services ").join(" ")),this.createVertexTemplateEntry(c+\r\n"App_Service_Certificates.svg;",.175*b,.16*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app service certificates","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Domains.svg;",.1625*b,.13*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domains","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Environments.svg;",.16*b,.16*b,"","App Service Environments",null,null,this.getTagsForStencil(a,\r\n"app service environments","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Service_Plans.svg;",.16*b,.16*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app service plans","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"CDN_Profiles.svg;",.17*b,.1*b,"","CDN Profiles",null,null,\r\nthis.getTagsForStencil(a,"cdn profiles","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure app services ").join(" ")),this.createVertexTemplateEntry(c+"Search_Services.svg;",.18*b,.13*b,"","Search Services",null,null,this.getTagsForStencil(a,"search services","azure app services ").join(" "))];this.addPalette("azure2App Services","Azure / App Services",!1,mxUtils.bind(this,\r\nfunction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2AzureStackPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Stack.svg;",.155*b,.16*b,"","Azure Stack",null,null,this.getTagsForStencil(a,"azure stack","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Capacity.svg;",.1575*b,.17*b,"","Capacity",null,null,this.getTagsForStencil(a,"capacity","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Infrastructure_Backup.svg;",\r\n.15*b,.1725*b,"","Infrastructure Backup",null,null,this.getTagsForStencil(a,"infrastructure backup","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Multi_Tenancy.svg;",.17*b,.1625*b,"","Multi Tenancy",null,null,this.getTagsForStencil(a,"multi tenancy","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Offers.svg;",.1625*b,.16*b,"","Offers",null,null,this.getTagsForStencil(a,"offers","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Plans.svg;",.13*b,.16*b,"","Plans",\r\nnull,null,this.getTagsForStencil(a,"plans","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"Updates.svg;",.17*b,.1675*b,"","Updates",null,null,this.getTagsForStencil(a,"updates","azure stack ").join(" ")),this.createVertexTemplateEntry(c+"User_Subscriptions.svg;",.17*b,.165*b,"","User Subscriptions",null,null,this.getTagsForStencil(a,"user subscriptions","azure stack ").join(" "))];this.addPalette("azure2Azure Stack","Azure / Azure Stack",!1,mxUtils.bind(this,function(a){for(var c=0;c<\r\nd.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2AzureVMwareSolutionPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"AVS.svg;",.175*b,.14*b,"","AVS",null,null,this.getTagsForStencil(a,"avs","azure vmware solution ").join(" "))];this.addPalette("azure2Azure VMware Solution","Azure / VMware Solution",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2BlockchainPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+\r\n"ABS_Member.svg;",.14*b,.1625*b,"","ABS Member",null,null,this.getTagsForStencil(a,"abs member","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Blockchain_Service.svg;",.17*b,.17*b,"","Azure Blockchain Service",null,null,this.getTagsForStencil(a,"blockchain service","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Token_Service.svg;",.1475*b,.17*b,"","Azure Token Service",null,null,this.getTagsForStencil(a,"token service","azure blockchain ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Consortium.svg;",.17*b,.17*b,"","Consortium",null,null,this.getTagsForStencil(a,"consortium","azure blockchain ").join(" ")),this.createVertexTemplateEntry(c+"Outbound_Connection.svg;",.1775*b,.16*b,"","Outbound Connection",null,null,this.getTagsForStencil(a,"outbound connection","azure blockchain ").join(" "))];this.addPalette("azure2Blockchain","Azure / Blockchain",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2ComputePalette=\r\nfunction(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Availability_Sets.svg;",.17*b,.17*b,"","Availability Sets",null,null,this.getTagsForStencil(a,"availability sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts",\r\n"azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Services_Classic.svg;",.18*b,.13*b,"","Cloud Services (Classic)",null,null,this.getTagsForStencil(a,"cloud services classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.17*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Container_Services_Deprecated.svg;",.17*b,.15*b,"","Container Services Deprecated",\r\nnull,null,this.getTagsForStencil(a,"container services deprecated","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disk_Encryption_Sets.svg;",.17*b,.17*b,"","Disk Encryption Sets",null,null,this.getTagsForStencil(a,"disk encryption sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks.svg;",.1425*b,.14*b,"","Disks",null,null,this.getTagsForStencil(a,"disks","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks_Classic.svg;",.1425*b,.14*b,"","Disks (Classic)",\r\nnull,null,this.getTagsForStencil(a,"disks classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Disks_Snapshots.svg;",.17*b,.1775*b,"","Disks Snapshots",null,null,this.getTagsForStencil(a,"disks snapshots","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Definitions.svg;",.165*b,.16*b,"","Image Definitions",\r\nnull,null,this.getTagsForStencil(a,"image definitions","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Image_Versions.svg;",.1675*b,.16*b,"","Image Versions",null,null,this.getTagsForStencil(a,"image versions","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Images.svg;",.1725*b,.16*b,"","Images",null,null,this.getTagsForStencil(a,"images","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,\r\nnull,this.getTagsForStencil(a,"kubernetes services","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Mesh_Applications.svg;",.17*b,.17*b,"","Mesh Applications",null,null,this.getTagsForStencil(a,"mesh applications","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"OS_Images_Classic.svg;",.1725*b,.16*b,"","OS Images (Classic)",null,null,this.getTagsForStencil(a,"os images classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",\r\n.1675*b,.16*b,"","Service Fabric Clusters",null,null,this.getTagsForStencil(a,"service fabric clusters","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Shared_Image_Galleries.svg;",.16*b,.16*b,"","Shared Image Galleries",null,null,this.getTagsForStencil(a,"shared image galleries","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Spring_Cloud.svg;",.17*b,.16*b,"","Spring Cloud",null,null,this.getTagsForStencil(a,"azure spring cloud","azure compute ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Virtual_Machine.svg;",.1725*b,.16*b,"","Virtual Machine",null,null,this.getTagsForStencil(a,"virtual machine","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machines_Classic.svg;",.1725*b,.16*b,"","Virtual Machines (Classic)",null,null,this.getTagsForStencil(a,"virtual machines classic","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"VM_Images_Classic.svg;",.1725*b,.16*b,"","VM Images (Classic)",null,null,this.getTagsForStencil(a,"vm images classic","azure compute ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"VM_Scale_Sets.svg;",.17*b,.17*b,"","VM Scale Sets",null,null,this.getTagsForStencil(a,"vm scale sets","azure compute ").join(" ")),this.createVertexTemplateEntry(c+"Workspaces.svg;",.1625*b,.14*b,"","Workspaces",null,null,this.getTagsForStencil(a,"workspaces","azure compute ").join(" "))];this.addPalette("azure2Compute","Azure / Compute",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2ContainersPalette=\r\nfunction(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"App_Services.svg;",.16*b,.16*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.17*b,.16*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Instances.svg;",.16*b,.1725*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances",\r\n"azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Container_Registries.svg;",.17*b,.1525*b,"","Container Registries",null,null,this.getTagsForStencil(a,"container registries","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.17*b,.15*b,"","Kubernetes Services",null,null,this.getTagsForStencil(a,"kubernetes services","azure containers ").join(" ")),this.createVertexTemplateEntry(c+"Service_Fabric_Clusters.svg;",.1675*b,.16*b,"","Service Fabric Clusters",\r\nnull,null,this.getTagsForStencil(a,"service fabric clusters","azure containers ").join(" "))];this.addPalette("azure2Containers","Azure / Containers",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2CXPPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Elixir.svg;",.1225*b,.17*b,"","Elixir",null,null,this.getTagsForStencil(a,"elixir","azure cxp ").join(" ")),this.createVertexTemplateEntry(c+"Elixir_Purple.svg;",.1225*\r\nb,.17*b,"","Elixir Purple",null,null,this.getTagsForStencil(a,"elixir purple","azure cxp ").join(" "))];this.addPalette("azure2CXP","Azure / CXP",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2DatabasesPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Cosmos_DB.svg;",.16*b,.16*b,"","Azure Cosmos DB",null,null,this.getTagsForStencil(a,"cosmos","azure database db ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Azure_Data_Explorer_Clusters.svg;",.17*b,.17*b,"","Azure Data Explorer Clusters",null,null,this.getTagsForStencil(a,"data explorer clusters","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_MariaDB_Server.svg;",.12*b,.16*b,"","Azure Database MariaDB Server",null,null,this.getTagsForStencil(a,"mariadb server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_Migration_Services.svg;",.16*b,.1725*b,"","Azure Database Migration Services",\r\nnull,null,this.getTagsForStencil(a,"migration services","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_MySQL_Server.svg;",.12*b,.16*b,"","Azure Database MySQL Server",null,null,this.getTagsForStencil(a,"mysql my sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_PostgreSQL_Server.svg;",.12*b,.16*b,"","Azure Database PostgreSQL Server",null,null,this.getTagsForStencil(a,"postgresql sql server","azure database db ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Azure_SQL.svg;",.16*b,.115*b,"","Azure SQL",null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_Server_Stretch_Databases.svg;",.16*b,.1625*b,"","Azure SQL Server Stretch Databases",null,null,this.getTagsForStencil(a,"sql server stretch","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_SQL_VM.svg;",.16*b,.15*b,"","Azure SQL VM",null,null,this.getTagsForStencil(a,"sql vm virtual machine",\r\n"azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Synapse_Analytics.svg;",.15*b,.1725*b,"","Azure Synapse Analytics",null,null,this.getTagsForStencil(a,"synapse analytics","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Cache_Redis.svg;",.16*b,.13*b,"","Cache Redis",null,null,this.getTagsForStencil(a,"cache redis","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Data_Factory.svg;",.17*b,.17*b,"","Data Factory",null,null,this.getTagsForStencil(a,\r\n"data factory","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Elastic_Job_Agents.svg;",.16*b,.16*b,"","Elastic Job Agents",null,null,this.getTagsForStencil(a,"elastic job agents","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Instance_Pools.svg;",.1625*b,.16*b,"","Instance Pools",null,null,this.getTagsForStencil(a,"instance pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Database.svg;",.17*b,.16*b,"","Managed Database",null,\r\nnull,this.getTagsForStencil(a,"managed","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Database.svg;",.12*b,.16*b,"","SQL Database",null,null,this.getTagsForStencil(a,"sql","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Elastic_Pools.svg;",.17*b,.17*b,"","SQL Elastic Pools",\r\nnull,null,this.getTagsForStencil(a,"sql elastic pools","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Managed_Instance.svg;",.1625*b,.16*b,"","SQL Managed Instance",null,null,this.getTagsForStencil(a,"sql managed instance","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Server.svg;",.17*b,.17*b,"","SQL Server",null,null,this.getTagsForStencil(a,"sql server","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"SSIS_Lift_And_Shift_IR.svg;",\r\n.155*b,.17*b,"","SSIS Lift and Shift IR",null,null,this.getTagsForStencil(a,"ssis lift and shift ir","azure database db ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Clusters.svg;",.165*b,.16*b,"","Virtual Clusters",null,null,this.getTagsForStencil(a,"virtual clusters","azure database db ").join(" "))];this.addPalette("azure2Databases","Azure / Databases",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2DevOpsPalette=function(a,\r\nb,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"Azure_DevOps.svg;",.16*b,.16*b,"","Azure DevOps",null,null,this.getTagsForStencil(a,"devops","azure devops ").join(" ")),this.createVertexTemplateEntry(c+"DevTest_Labs.svg;",.165*b,.16*b,"","DevTest Labs",null,null,this.getTagsForStencil(a,"devtest labs","azure devops ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Lab_Services.svg;",.165*b,.16*b,"","Lab Services",null,null,this.getTagsForStencil(a,"lab services","azure devops ").join(" "))];this.addPalette("azure2DevOps","Azure / DevOps",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2GeneralPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"All_Resources.svg;",.16*b,.16*b,"","All Resources",null,null,this.getTagsForStencil(a,"all resources",\r\n"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Backlog.svg;",.17*b,.15*b,"","Backlog",null,null,this.getTagsForStencil(a,"backlog","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Biz_Talk.svg;",.1725*b,.16*b,"","Biz Talk",null,null,this.getTagsForStencil(a,"biz talk","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Blob_Block.svg;",.1625*b,.13*b,"","Blob Block",null,null,this.getTagsForStencil(a,"blob block","azure general ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Blob_Page.svg;",.1625*b,.13*b,"","Blob Page",null,null,this.getTagsForStencil(a,"blob page","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Branch.svg;",.18*b,.18*b,"","Branch",null,null,this.getTagsForStencil(a,"branch","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Browser.svg;",.1625*b,.13*b,"","Browser",null,null,this.getTagsForStencil(a,"browser","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Bug.svg;",.1475*b,.16*b,"","Bug",null,null,this.getTagsForStencil(a,\r\n"bug","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Builds.svg;",.16*b,.16*b,"","Builds",null,null,this.getTagsForStencil(a,"builds","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cache.svg;",.16*b,.16*b,"","Cache",null,null,this.getTagsForStencil(a,"cache","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Code.svg;",.16*b,.13*b,"","Code",null,null,this.getTagsForStencil(a,"code","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Commit.svg;",\r\n.18*b,.17*b,"","Commit",null,null,this.getTagsForStencil(a,"commit","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Controls.svg;",.14*b,.1725*b,"","Controls",null,null,this.getTagsForStencil(a,"controls","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Controls_Horizontal.svg;",.1725*b,.14*b,"","Controls Horizontal",null,null,this.getTagsForStencil(a,"controls horizontal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Alerts.svg;",.1675*b,.14*b,"",\r\n"Cost Alerts",null,null,this.getTagsForStencil(a,"cost alerts","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Analysis.svg;",.15*b,.175*b,"","Cost Analysis",null,null,this.getTagsForStencil(a,"cost analysis","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Budgets.svg;",.1675*b,.17*b,"","Cost Budgets",null,null,this.getTagsForStencil(a,"cost budgets","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management.svg;",.1675*b,.15*b,"","Cost Management",\r\nnull,null,this.getTagsForStencil(a,"cost management","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management and billing","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Counter.svg;",.16*b,.13*b,"","Counter",null,null,this.getTagsForStencil(a,"counter","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Cubes.svg;",.1675*b,.17*b,"","Cubes",\r\nnull,null,this.getTagsForStencil(a,"cubes","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dashboard.svg;",.17*b,.12*b,"","Dashboard",null,null,this.getTagsForStencil(a,"dashboard","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Dev_Console.svg;",.1625*b,.13*b,"","Dev Console",null,null,this.getTagsForStencil(a,"dev console","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Download.svg;",.16*b,.1675*b,"","Download",null,null,this.getTagsForStencil(a,"download",\r\n"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Error.svg;",.1775*b,.17*b,"","Error",null,null,this.getTagsForStencil(a,"error","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Extensions.svg;",.1625*b,.16*b,"","Extensions",null,null,this.getTagsForStencil(a,"extensions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"File.svg;",.14*b,.1725*b,"","File",null,null,this.getTagsForStencil(a,"file","azure general ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Files.svg;",.16*b,.175*b,"","Files",null,null,this.getTagsForStencil(a,"files","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Blank.svg;",.1725*b,.14*b,"","Folder Blank",null,null,this.getTagsForStencil(a,"folder blank","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Folder_Website.svg;",.17*b,.14*b,"","Folder Website",null,null,this.getTagsForStencil(a,"folder website","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Free_Services.svg;",.17*b,\r\n.1575*b,"","Free Services",null,null,this.getTagsForStencil(a,"free services","azure general ").join(" ")),this.createVertexTemplateEntry(c+"FTP.svg;",.15*b,.12*b,"","FTP",null,null,this.getTagsForStencil(a,"ftp file transfer protocol","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Gear.svg;",.16*b,.16*b,"","Gear",null,null,this.getTagsForStencil(a,"gear","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe.svg;",.14*b,.165*b,"","Globe",null,null,this.getTagsForStencil(a,\r\n"globe","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Error.svg;",.14*b,.165*b,"","Globe Error",null,null,this.getTagsForStencil(a,"globe error","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Success.svg;",.14*b,.165*b,"","Globe Success",null,null,this.getTagsForStencil(a,"globe success","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Globe_Warning.svg;",.14*b,.165*b,"","Globe Warning",null,null,this.getTagsForStencil(a,"globe warning","azure general ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Guide.svg;",.17*b,.17*b,"","Guide",null,null,this.getTagsForStencil(a,"guide","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Heart.svg;",.16*b,.15*b,"","Heart",null,null,this.getTagsForStencil(a,"heart","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Help_and_Support.svg;",.14*b,.1725*b,"","Help and Support",null,null,this.getTagsForStencil(a,"help support","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Image.svg;",.16*\r\nb,.11*b,"","Image",null,null,this.getTagsForStencil(a,"image","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Information.svg;",.16*b,.16*b,"","Information",null,null,this.getTagsForStencil(a,"information","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Input_Output.svg;",.16*b,.1375*b,"","Input Output",null,null,this.getTagsForStencil(a,"input output","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Journey_Hub.svg;",.15*b,.1575*b,"","Journey Hub",null,\r\nnull,this.getTagsForStencil(a,"journey hub","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Launch_Portal.svg;",.17*b,.1675*b,"","Launch Portal",null,null,this.getTagsForStencil(a,"launch portal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Learn.svg;",.12*b,.175*b,"","Learn",null,null,this.getTagsForStencil(a,"learn","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Load_Test.svg;",.17*b,.165*b,"","Load Test",null,null,this.getTagsForStencil(a,"load test",\r\n"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Location.svg;",.1*b,.1775*b,"","Location",null,null,this.getTagsForStencil(a,"location","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Log_Streaming.svg;",.14*b,.1675*b,"","Log Streaming",null,null,this.getTagsForStencil(a,"log streaming","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Management_Groups.svg;",.165*b,.16*b,"","Management Groups",null,null,this.getTagsForStencil(a,"management groups","azure general ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Management_Portal.svg;",.15*b,.12*b,"","Management Portal",null,null,this.getTagsForStencil(a,"management portal","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Marketplace.svg;",.14*b,.16*b,"","Marketplace",null,null,this.getTagsForStencil(a,"marketplace","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Media.svg;",.17*b,.17*b,"","Media",null,null,this.getTagsForStencil(a,"media","azure general ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Media_File.svg;",.13*b,.16*b,"","Media File",null,null,this.getTagsForStencil(a,"media file","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile.svg;",.1*b,.1675*b,"","Mobile",null,null,this.getTagsForStencil(a,"mobile","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Mobile_Engagement.svg;",.1*b,.1675*b,"","Mobile Engagement",null,null,this.getTagsForStencil(a,"mobile engagement","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Module.svg;",.16*b,.16*\r\nb,"","Module",null,null,this.getTagsForStencil(a,"module","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Power.svg;",.11*b,.17*b,"","Power",null,null,this.getTagsForStencil(a,"power","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Power_Up.svg;",.17*b,.17*b,"","Power Up",null,null,this.getTagsForStencil(a,"power up","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Powershell.svg;",.1625*b,.13*b,"","Powershell",null,null,this.getTagsForStencil(a,"powershell",\r\n"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Preview.svg;",.11*b,.16*b,"","Preview",null,null,this.getTagsForStencil(a,"preview","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Process_Explorer.svg;",.175*b,.17*b,"","Process Explorer",null,null,this.getTagsForStencil(a,"process explorer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Production_Ready_Database.svg;",.12*b,.16*b,"","Production Ready Database",null,null,this.getTagsForStencil(a,"production ready database",\r\n"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Quickstart_Center.svg;",.17*b,.17*b,"","Quickstart Center",null,null,this.getTagsForStencil(a,"quickstart center","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Recent.svg;",.17*b,.17*b,"","Recent",null,null,this.getTagsForStencil(a,"recent","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Reservations.svg;",.17*b,.17*b,"","Reservations",null,null,this.getTagsForStencil(a,"reservations","azure general ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Resource_Explorer.svg;",.17*b,.14*b,"","Resource Explorer",null,null,this.getTagsForStencil(a,"resource exporer","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Group_List.svg;",.17*b,.1675*b,"","Resource Group List",null,null,this.getTagsForStencil(a,"resource group list","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Groups.svg;",.17*b,.16*b,"","Resource Groups",null,null,this.getTagsForStencil(a,"resource groups",\r\n"azure general ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Linked.svg;",.18*b,.18*b,"","Resource Linked",null,null,this.getTagsForStencil(a,"resource linked","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scale.svg;",.15*b,.15*b,"","Scale",null,null,this.getTagsForStencil(a,"scale","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Scheduler.svg;",.17*b,.17*b,"","Scheduler",null,null,this.getTagsForStencil(a,"scheduler","azure general ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Search.svg;",.16*b,.1625*b,"","Search",null,null,this.getTagsForStencil(a,"search","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Search_Grid.svg;",.17*b,.1675*b,"","Search Grid",null,null,this.getTagsForStencil(a,"search grid","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Server_Farm.svg;",.16*b,.16*b,"","Server Farm",null,null,this.getTagsForStencil(a,"server farm","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",.175*b,.15*b,"",\r\n"Service Bus",null,null,this.getTagsForStencil(a,"service bus","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Service_Health.svg;",.17*b,.16*b,"","Service Health",null,null,this.getTagsForStencil(a,"service health","azure general ").join(" ")),this.createVertexTemplateEntry(c+"SSD.svg;",.165*b,.15*b,"","SSD",null,null,this.getTagsForStencil(a,"ssd solid state drive","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Azure_Files.svg;",.16*b,.13*b,"","Storage Azure Files",\r\nnull,null,this.getTagsForStencil(a,"storage files","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Container.svg;",.16*b,.13*b,"","Storage Container",null,null,this.getTagsForStencil(a,"storage container","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Queue.svg;",.16*b,.13*b,"","Storage Queue",null,null,this.getTagsForStencil(a,"storage queue","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Subscriptions.svg;",.11*b,.1775*b,"","Subscriptions",\r\nnull,null,this.getTagsForStencil(a,"subscriptions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Table.svg;",.16*b,.13*b,"","Table",null,null,this.getTagsForStencil(a,"table","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Tag.svg;",.17*b,.17*b,"","Tag",null,null,this.getTagsForStencil(a,"tag","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Tags.svg;",.15*b,.1625*b,"","Tags",null,null,this.getTagsForStencil(a,"tags","azure general ").join(" ")),this.createVertexTemplateEntry(c+\r\n"TFS_VC_Repository.svg;",.17*b,.17*b,"","TFS VC Repository",null,null,this.getTagsForStencil(a,"tfs vc repository","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Toolbox.svg;",.16*b,.14*b,"","Toolbox",null,null,this.getTagsForStencil(a,"toolbox","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Versions.svg;",.155*b,.15*b,"","Versions",null,null,this.getTagsForStencil(a,"versions","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Slots.svg;",.145*b,.16*\r\nb,"","Web Slots",null,null,this.getTagsForStencil(a,"web slots","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Web_Test.svg;",.18*b,.18*b,"","Web Test",null,null,this.getTagsForStencil(a,"web test","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Website_Power.svg;",.17*b,.17*b,"","Website Power",null,null,this.getTagsForStencil(a,"website power","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Website_Staging.svg;",.16*b,.175*b,"","Website Staging",null,\r\nnull,this.getTagsForStencil(a,"website staging","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Workbooks.svg;",.15*b,.1625*b,"","Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure general ").join(" ")),this.createVertexTemplateEntry(c+"Workflow.svg;",.17*b,.175*b,"","Workflow",null,null,this.getTagsForStencil(a,"workflow","azure general ").join(" "))];this.addPalette("azure2General","Azure / General",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};\r\nSidebar.prototype.addAzure2IdentityPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Active_Directory_Connect_Health.svg;",.1725*b,.16*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"App_Registrations.svg;",.1575*b,.16*b,"","App Registrations",null,null,this.getTagsForStencil(a,"app registrations","azure identity ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Azure_Active_Directory.svg;",.175*b,.16*b,"","Azure Active Directory",null,null,this.getTagsForStencil(a,"active directory","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C.svg;",.1725*b,.16*b,"","Azure AD B2C",null,null,this.getTagsForStencil(a,"ad b2c","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Domain_Services.svg;",.175*b,.16*b,"","Azure AD Domain Services",null,null,this.getTagsForStencil(a,"ad domain services","azure identity ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Azure_AD_Identity_Protection.svg;",.17*b,.15*b,"","Azure AD Identity Protection",null,null,this.getTagsForStencil(a,"ad identity protection","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Enterprise_Applications.svg;",.16*b,.16*b,"","Enterprise Applications",null,null,this.getTagsForStencil(a,"enterprise applications","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Groups.svg;",.17*b,.14*b,"","Groups",null,null,this.getTagsForStencil(a,\r\n"groups","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Identity_Governance.svg;",.16*b,.16*b,"","Identity Governance",null,null,this.getTagsForStencil(a,"identity governance","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Managed_Identities.svg;",.17*b,.17*b,"","Managed Identities",null,null,this.getTagsForStencil(a,"managed identities","azure identity ").join(" ")),this.createVertexTemplateEntry(c+"Users.svg;",.16*b,.175*b,"","Users",null,null,this.getTagsForStencil(a,\r\n"users","azure identity ").join(" "))];this.addPalette("azure2Identity","Azure / Identity",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2IntegrationPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_API_for_FHIR.svg;",.17*b,.165*b,"","Azure API for FHIR",null,null,this.getTagsForStencil(a,"api application programming interface for fhir","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"API_Management_Services.svg;",\r\n.1625*b,.15*b,"","API Management Services",null,null,this.getTagsForStencil(a,"api application programming interface management services","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Catalog.svg;",.15*b,.1675*b,"","Azure Data Catalog",null,null,this.getTagsForStencil(a,"data catalog","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Domains.svg;",.1675*b,.15*b,"","Event Grid Domains",null,null,this.getTagsForStencil(a,"event grid domains",\r\n"azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Subscriptions.svg;",.1675*b,.15*b,"","Event Grid Subscriptions",null,null,this.getTagsForStencil(a,"event grid subscriptions","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Topics.svg;",.1675*b,.15*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Integration_Accounts.svg;",.16*b,.16*b,"","Integration Accounts",\r\nnull,null,this.getTagsForStencil(a,"integration accounts","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Partner_Topic.svg;",.17*b,.1525*b,"","Partner Topic",null,null,this.getTagsForStencil(a,"partner topic","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Relays.svg;",.1675*b,.15*b,"","Relays",null,\r\nnull,this.getTagsForStencil(a,"relays","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"Software_as_a_Service.svg;",.16*b,.1325*b,"","Software as a Service",null,null,this.getTagsForStencil(a,"software service","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"SQL_Data_Warehouses.svg;",.16*b,.1625*b,"","SQL Data Warehouses",null,null,this.getTagsForStencil(a,"sql data warehouses","azure integration ").join(" ")),this.createVertexTemplateEntry(c+"System_Topic.svg;",\r\n.17*b,.15*b,"","System Topic",null,null,this.getTagsForStencil(a,"system topic","azure integration ").join(" "))];this.addPalette("azure2Integration","Azure / Integration",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2InternetOfThingsPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Digital_Twins.svg;",.17*b,.1725*b,"","Digital Twins",null,null,this.getTagsForStencil(a,"digital twins","azure iot internet of things ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time Series Insights Access Policies",null,null,this.getTagsForStencil(a,"time series insights access policies","azure iot internet of things ").join(" "))];this.addPalette("azure2Internet of Things","Azure / Internet of Things",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2IntunePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+\r\n"Azure_AD_Roles_and_Administrators.svg;",.16*b,.16*b,"","Azure AD Roles and Administrators",null,null,this.getTagsForStencil(a,"ad roles administrators","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Apple.svg;",.17*b,.1725*b,"","Device Security Apple",null,null,this.getTagsForStencil(a,"device security apple","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Google.svg;",.17*b,.1725*b,"","Device Security Google",null,null,this.getTagsForStencil(a,\r\n"device security google","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Device_Security_Windows.svg;",.17*b,.1725*b,"","Device Security Windows",null,null,this.getTagsForStencil(a,"device security windows","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Intune.svg;",.17*b,.155*b,"","Intune",null,null,this.getTagsForStencil(a,"intune","azure intune ").join(" ")),this.createVertexTemplateEntry(c+"Intune_For_Education.svg;",.17*b,.155*b,"","Intune for Education",null,null,\r\nthis.getTagsForStencil(a,"intune for education","azure intune ").join(" "))];this.addPalette("azure2Intune","Azure / Intune",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2IOTPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Maps_Accounts.svg;",.17*b,.17*b,"","Azure Maps Accounts",null,null,this.getTagsForStencil(a,"maps accounts","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Device_Provisioning_Services.svg;",\r\n.16*b,.165*b,"","Device Provisioning Services",null,null,this.getTagsForStencil(a,"device provisioning services","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.1675*b,.15*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Function_Apps.svg;",.17*b,.15*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","azure iot internet of things ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"IoT_Central_Applications.svg;",.15*b,.1725*b,"","IoT Central Applications",null,null,this.getTagsForStencil(a,"central applications","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Hub.svg;",.16*b,.16*b,"","IoT Hub",null,null,this.getTagsForStencil(a,"roles","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.1675*b,.13*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","azure iot internet of things ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.1675*b,.14*b,"","Notification Hubs",null,null,this.getTagsForStencil(a,"notification hubs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics_Jobs.svg;",.17*b,.145*b,"","Stream Analytics Jobs",null,null,this.getTagsForStencil(a,"stream analytics jobs","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Environments.svg;",.1675*b,.17*b,"","Time Series Insights Environments",\r\nnull,null,this.getTagsForStencil(a,"time series insights environments","azure iot internet of things ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_Event_Sources.svg;",.1675*b,.17*b,"","Time Series Insights Event Sources",null,null,this.getTagsForStencil(a,"time series insights event sources","azure iot internet of things ").join(" "))];this.addPalette("azure2IoT","Azure / IoT",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2ManagementGovernancePalette=\r\nfunction(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Activity_Log.svg;",.14*b,.1675*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Advisor.svg;",.165*b,.16*b,"","Advisor",null,null,this.getTagsForStencil(a,"advisor","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Alerts.svg;",.1675*b,.14*b,"","Alerts",null,null,this.getTagsForStencil(a,"alerts","azure management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Application_Insights.svg;",.11*b,.1575*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Automation_Accounts.svg;",.17*b,.17*b,"","Automation Accounts",null,null,this.getTagsForStencil(a,"automation accounts","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Arc.svg;",.1725*b,.13*b,"","Azure Arc",null,null,this.getTagsForStencil(a,\r\n"arc","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Lighthouse.svg;",.1475*b,.17*b,"","Azure Lighthouse",null,null,this.getTagsForStencil(a,"lighthouse","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Blueprints.svg;",.1625*b,.16*b,"","Blueprints",null,null,this.getTagsForStencil(a,"blueprints","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Compliance.svg;",.13*b,.16*b,"","Compliance",null,null,this.getTagsForStencil(a,\r\n"compliance","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",null,null,this.getTagsForStencil(a,"cost management billing","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Diagnostics_Settings.svg;",.14*b,.1675*b,"","Diagnostics Settings",null,null,this.getTagsForStencil(a,"diagnostics settings","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Education.svg;",.1675*b,.13*b,"","Education",null,null,this.getTagsForStencil(a,"education","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.16*b,.16*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"MachinesAzureArc.svg;",.11*b,.17*b,"","MachinesAzureArc",null,null,this.getTagsForStencil(a,"machines arc","azure management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Managed_Applications_Center.svg;",.17*b,.135*b,"","Managed Applications Center",null,null,this.getTagsForStencil(a,"managed applications center","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Metrics.svg;",.15*b,.1625*b,"","Metrics",null,null,this.getTagsForStencil(a,"metrics","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Monitor.svg;",.16*b,.16*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor",\r\n"azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"My_Customers.svg;",.1725*b,.14*b,"","My Customers",null,null,this.getTagsForStencil(a,"my customers","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Operation_Log_Classic.svg;",.14*b,.1675*b,"","Operation Log (Classic)",null,null,this.getTagsForStencil(a,"operation log classic","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Policy.svg;",.15*b,.16*b,"","Policy",null,\r\nnull,this.getTagsForStencil(a,"policy","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Graph_Explorer.svg;",.1675*b,.16*b,"","Resource Graph Explorer",null,null,this.getTagsForStencil(a,"resource graph explorer","azure management governance ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Service_Providers.svg;",.165*b,.17*b,"","Service Providers",null,null,this.getTagsForStencil(a,"service providers","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"solutions.svg;",.16*b,.16*b,"","Solutions",null,null,this.getTagsForStencil(a,"solutions","azure management governance ").join(" ")),this.createVertexTemplateEntry(c+"User_Privacy.svg;",.16*b,.17*b,"","User Privacy",null,null,this.getTagsForStencil(a,"user privacy","azure management governance ").join(" "))];\r\nthis.addPalette("azure2Management Governance","Azure / Management Governance",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2MigratePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Migrate.svg;",.18*b,.11*b,"","Azure Migrate",null,null,this.getTagsForStencil(a,"migrate","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Cost_Management_and_Billing.svg;",.17*b,.17*b,"","Cost Management and Billing",\r\nnull,null,this.getTagsForStencil(a,"cost management billing","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge","azure migrate ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",\r\nnull,null,this.getTagsForStencil(a,"recovery services vaults","azure migrate ").join(" "))];this.addPalette("azure2Migrate","Azure / Migrate",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2MixedRealityPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Remote_Rendering.svg;",.17*b,.12*b,"","Remote Rendering",null,null,this.getTagsForStencil(a,"remote rendering","azure mixed reality ").join(" "))];this.addPalette("azure2Mixed Reality",\r\n"Azure / Mixed Reality",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2MonitorPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"SAP_Azure_Monitor.svg;",.175*b,.14*b,"","SAP Azure Monitor",null,null,this.getTagsForStencil(a,"sap monitor","azure monitor ").join(" "))];this.addPalette("azure2Monitor","Azure / Monitor",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2NetworkingPalette=\r\nfunction(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Gateways.svg;",.16*b,.16*b,"","Application Gateways",null,null,this.getTagsForStencil(a,"application gateways","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Firewall_Manager.svg;",.175*b,.15*b,"","Azure Firewall Manager",null,null,this.getTagsForStencil(a,"firewall manager","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"CDN_Profiles.svg;",.17*b,.1*b,"","CDN Profiles",\r\nnull,null,this.getTagsForStencil(a,"cdn profiles","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Connections.svg;",.17*b,.17*b,"","Connections",null,null,this.getTagsForStencil(a,"connections","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"DDoS_Protection_Plans.svg;",.14*b,.17*b,"","DDoS Protection Plans",null,null,this.getTagsForStencil(a,"ddos protection plans","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"DNS_Zones.svg;",\r\n.16*b,.16*b,"","DNS Zones",null,null,this.getTagsForStencil(a,"dns domain name server zones","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"ExpressRoute_Circuits.svg;",.175*b,.16*b,"","ExpressRoute Circuits",null,null,this.getTagsForStencil(a,"expressroute circuits","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Firewalls.svg;",.1775*b,.15*b,"","Firewalls",null,null,this.getTagsForStencil(a,"firewalls","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Front_Doors.svg;",.17*b,.15*b,"","Front Doors",null,null,this.getTagsForStencil(a,"front doors","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"IP_Groups.svg;",.1675*b,.13*b,"","IP Groups",null,null,this.getTagsForStencil(a,"ip internet protocol groups","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Load_Balancers.svg;",.18*b,.18*b,"","Load Balancers",null,null,this.getTagsForStencil(a,"load balancers","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Local_Network_Gateways.svg;",.17*b,.17*b,"","Local Network Gateways",null,null,this.getTagsForStencil(a,"local network gateways","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"NAT.svg;",.17*b,.17*b,"","NAT",null,null,this.getTagsForStencil(a,"nat","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Network_Interfaces.svg;",.17*b,.15*b,"","Network Interfaces",null,null,this.getTagsForStencil(a,"network interfaces","azure network networking ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Network_Security_Groups.svg;",.14*b,.17*b,"","Network Security Groups",null,null,this.getTagsForStencil(a,"network security groups","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Network_Watcher.svg;",.16*b,.16*b,"","Network Watcher",null,null,this.getTagsForStencil(a,"network watcher","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Private_Endpoint.svg;",.18*b,.165*b,"","Private Endpoint",null,null,this.getTagsForStencil(a,\r\n"private endpoint","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Private_Link.svg;",.18*b,.165*b,"","Private Link",null,null,this.getTagsForStencil(a,"private link","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Private_Link_Service.svg;",.1725*b,.1*b,"","Private Link Service",null,null,this.getTagsForStencil(a,"private link service","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Proximity_Placement_Groups.svg;",.18*\r\nb,.17*b,"","Proximity Placement Groups",null,null,this.getTagsForStencil(a,"proximity placement groups","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Public_IP_Addresses.svg;",.1625*b,.13*b,"","Public IP Addresses",null,null,this.getTagsForStencil(a,"public ip addresses","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Public_IP_Addresses_Classic.svg;",.16*b,.13*b,"","Public IP Addresses (Classic)",null,null,this.getTagsForStencil(a,"public ip internet protocol addresses classic",\r\n"azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Public_IP_Prefixes.svg;",.18*b,.14*b,"","Public IP Prefixes",null,null,this.getTagsForStencil(a,"public ip internet protocol prefixes","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Reserved_IP_Addresses_Classic.svg;",.17*b,.1375*b,"","Reserved IP Addresses (Classic)",null,null,this.getTagsForStencil(a,"reserved ip internet protocol addresses classic","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Route_Filters.svg;",.1775*b,.11*b,"","Route Filters",null,null,this.getTagsForStencil(a,"route filters","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Route_Tables.svg;",.16*b,.155*b,"","Route Tables",null,null,this.getTagsForStencil(a,"route tables","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Service_Endpoint_Policies.svg;",.155*b,.16*b,"","Service Endpoint Policies",null,null,this.getTagsForStencil(a,"service endpoint policies","azure network networking ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Traffic_Manager_Profiles.svg;",.17*b,.17*b,"","Traffic Manager Profiles",null,null,this.getTagsForStencil(a,"traffic manager profiles","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Network_Gateways.svg;",.13*b,.1725*b,"","Virtual Network Gateways",null,null,this.getTagsForStencil(a,"virtual network gateways","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Networks.svg;",.1675*b,.1*b,"","Virtual Networks",\r\nnull,null,this.getTagsForStencil(a,"virtual networks","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Networks_Classic.svg;",.1675*b,.1*b,"","Virtual Networks (Classic)",null,null,this.getTagsForStencil(a,"virtual networks classic","azure network networking ").join(" ")),this.createVertexTemplateEntry(c+"Virtual_WANs.svg;",.1625*b,.16*b,"","Virtual WANs",null,null,this.getTagsForStencil(a,"virtual wans wan wide area network","azure network networking ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Web_Application_Firewall_Policies_WAF.svg;",.17*b,.17*b,"","Web Application Firewall Policies (WAF)",null,null,this.getTagsForStencil(a,"web application firewall policies waf","azure network networking ").join(" "))];this.addPalette("azure2Networking","Azure / Networking",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2OtherPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Backup_Center.svg;",\r\n.17*b,.155*b,"","Backup Center",null,null,this.getTagsForStencil(a,"backup center","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Detonation.svg;",.155*b,.16*b,"","Detonation",null,null,this.getTagsForStencil(a,"detonation","azure other ").join(" ")),this.createVertexTemplateEntry(c+"ExpressRoute_Direct.svg;",.17*b,.15*b,"","ExpressRoute Direct",null,null,this.getTagsForStencil(a,"expressroute express route direct","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Instance_Pools.svg;",\r\n.1625*b,.16*b,"","Instance Pools",null,null,this.getTagsForStencil(a,"instance pools","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Internet_Analyzer_Profiles.svg;",.17*b,.16*b,"","Internet Analyzer Profiles",null,null,this.getTagsForStencil(a,"internet analyzer profiles","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Local_Network_Gateways.svg;",.17*b,.17*b,"","Local Network Gateways",null,null,this.getTagsForStencil(a,"local network gateways","azure other ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Peering_Service.svg;",.17*b,.1725*b,"","Peering Service",null,null,this.getTagsForStencil(a,"peering service","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Resource_Mover.svg;",.14*b,.17*b,"","Resource Mover",null,null,this.getTagsForStencil(a,"resource mover","azure other ").join(" ")),this.createVertexTemplateEntry(c+"SSH_Keys.svg;",.17*b,.15*b,"","SSH Keys",null,null,this.getTagsForStencil(a,"ssh keys","azure other ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Template_Specs.svg;",.1425*b,.17*b,"","Template Specs",null,null,this.getTagsForStencil(a,"template specs","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Universal_Print.svg;",.175*b,.15*b,"","Universal Print",null,null,this.getTagsForStencil(a,"universal print","azure other ").join(" ")),this.createVertexTemplateEntry(c+"Windows_Virtual_Desktop.svg;",.17*b,.17*b,"","Windows Virtual Desktop",null,null,this.getTagsForStencil(a,"windows virtual desktop","azure other ").join(" "))];this.addPalette("azure2Other",\r\n"Azure / Other",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2PreviewPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Cloud_Shell.svg;",.17*b,.12*b,"","Azure Cloud Shell",null,null,this.getTagsForStencil(a,"cloud shell","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sphere.svg;",.165*b,.17*b,"","Azure Sphere",null,null,this.getTagsForStencil(a,"sphere","azure preview ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Azure_Workbooks.svg;",.18*b,.18*b,"","Azure Workbooks",null,null,this.getTagsForStencil(a,"workbooks","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"IoT_Edge.svg;",.17*b,.1675*b,"","IoT Edge",null,null,this.getTagsForStencil(a,"iot internet of things edge","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Private_Link_Hub.svg;",.15*b,.1725*b,"","Private Link Hub",null,null,this.getTagsForStencil(a,"private link hub","azure preview ").join(" ")),this.createVertexTemplateEntry(c+\r\n"RTOS.svg;",.17*b,.17*b,"","RTOS",null,null,this.getTagsForStencil(a,"rtos","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Static_Apps.svg;",.175*b,.14*b,"","Static Apps",null,null,this.getTagsForStencil(a,"static apps","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Data_Sets.svg;",.12*b,.16*b,"","Time Series Data Sets",null,null,this.getTagsForStencil(a,"time series data sets","azure preview ").join(" ")),this.createVertexTemplateEntry(c+"Web_Environment.svg;",\r\n.16*b,.165*b,"","Web Environment",null,null,this.getTagsForStencil(a,"web environment","azure preview ").join(" "))];this.addPalette("azure2Preview","Azure / Preview",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2SecurityPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Security_Groups.svg;",.14*b,.17*b,"","Application Security Groups",null,null,this.getTagsForStencil(a,"application security groups","azure security ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Azure_Defender.svg;",.14*b,.17*b,"","Azure Defender",null,null,this.getTagsForStencil(a,"defender","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Sentinel.svg;",.14*b,.17*b,"","Azure Sentinel",null,null,this.getTagsForStencil(a,"sentinel","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Conditional_Access.svg;",.14*b,.17*b,"","Conditional Access",null,null,this.getTagsForStencil(a,"conditional access","azure security ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"ExtendedSecurityUpdates.svg;",.16*b,.175*b,"","Extended Security Updates",null,null,this.getTagsForStencil(a,"extended security updates","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Key_Vaults.svg;",.17*b,.17*b,"","Key Vaults",null,null,this.getTagsForStencil(a,"key vaults","azure security ").join(" ")),this.createVertexTemplateEntry(c+"Keys.svg;",.18*b,.19*b,"","Keys",null,null,this.getTagsForStencil(a,"keys","azure security ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Security_Center.svg;",.14*b,.17*b,"","Security Center",null,null,this.getTagsForStencil(a,"security center","azure security ").join(" "))];this.addPalette("azure2Security","Azure / Security",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2StoragePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_HCP_Cache.svg;",.17*b,.1575*b,"","Azure HCP Cache",null,null,this.getTagsForStencil(a,"hcp cache","azure storage ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Azure_NetApp_Files.svg;",.1625*b,.13*b,"","Azure NetApp Files",null,null,this.getTagsForStencil(a,"netapp files","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Azure_Stack_Edge.svg;",.17*b,.12*b,"","Azure Stack Edge",null,null,this.getTagsForStencil(a,"stack edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Box.svg;",.1775*b,.17*b,"","Data Box",null,null,this.getTagsForStencil(a,"data box","azure storage ").join(" ")),this.createVertexTemplateEntry(c+\r\n"Data_Box_Edge.svg;",.1675*b,.12*b,"","Data Box Edge",null,null,this.getTagsForStencil(a,"data box edge","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Storage_Gen1.svg;",.16*b,.13*b,"","Data Lake Storage Gen1",null,null,this.getTagsForStencil(a,"data lake storage gen1","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Data_Share_Invitations.svg;",.16*b,.1075*b,"","Data Share Invitations",null,null,this.getTagsForStencil(a,"data share invitations","azure storage ").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Data_Shares.svg;",.16*b,.1375*b,"","Data Shares",null,null,this.getTagsForStencil(a,"data shares","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Import_Export_Jobs.svg;",.16*b,.1675*b,"","Import Export Jobs",null,null,this.getTagsForStencil(a,"import export jobs","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Recovery_Services_Vaults.svg;",.1725*b,.15*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults",\r\n"azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts.svg;",.1625*b,.13*b,"","Storage Accounts",null,null,this.getTagsForStencil(a,"storage accounts","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts_Classic.svg;",.1625*b,.13*b,"","Storage Accounts (Classic)",null,null,this.getTagsForStencil(a,"storage accounts classic","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"Storage_Sync_Services.svg;",.18*b,.15*b,"","Storage Sync Services",\r\nnull,null,this.getTagsForStencil(a,"storage sync services","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Data_Managers.svg;",.12*b,.16*b,"","StorSimple Data Managers",null,null,this.getTagsForStencil(a,"storsimple data managers","azure storage ").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Device_Managers.svg;",.175*b,.16*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","azure storage ").join(" "))];this.addPalette("azure2Storage",\r\n"Azure / Storage",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAzure2WebPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Media_Service.svg;",.17*b,.17*b,"","Azure Media Service",null,null,this.getTagsForStencil(a,"media service","azure web ").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hub_Namespaces.svg;",.1675*b,.14*b,"","Notification Hub Namespaces",null,null,this.getTagsForStencil(a,"notification hub namespaces",\r\n"azure web ").join(" "))];this.addPalette("azure2Web","Azure / Web",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addBasicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.setCurrentSearchEntryLibrary("basic");this.addPaletteFunctions("basic",mxResources.get("basic"),!1,[this.createVertexTemplateEntry(a+"rect;fillColor2=none;strokeWidth=1;size=20;indent=5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;",\r\n120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;right=0;top=0;bottom=0;fillColor=none;routingCenterX=-0.5;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry(a+\r\n"polygon;polyCoords=[[0.25,0],[0.75,0],[1,0.25],[1,0.75],[0.75,1],[0.25,1],[0,0.75],[0,0.25]];polyline=0;",100,100,"","Polygon",null,null,this.getTagsForStencil("mxgraph.basic","polygon","").join(" ")),this.createVertexTemplateEntry(a+"polygon;polyCoords=[[0.25,0],[0.75,0],[1,0.25],[1,0.75],[0.75,1],[0.25,1],[0,0.75],[0,0.25]];polyline=1;fillColor=none;",100,100,"","Polyline",null,null,this.getTagsForStencil("mxgraph.basic","polyline","").join(" ")),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=diag;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",\r\n120,60,"","Rectangle with diagonal fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=diagRev;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with reverse diagonal fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=vert;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with vertical fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=hor;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with horizontal fill"),\r\nthis.createVertexTemplateEntry(a+"patternFillRect;fillStyle=grid;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with grid fill"),this.createVertexTemplateEntry(a+"patternFillRect;fillStyle=diagGrid;step=5;fillStrokeWidth=0.2;fillStrokeColor=#dddddd;",120,60,"","Rectangle with diagonal grid fill"),this.createVertexTemplateEntry(a+"4_point_star_2;dx=0.8;",100,100,"","4 Point Star",null,null,this.getTagsForStencil("mxgraph.basic","4_point_star","").join(" ")),this.createVertexTemplateEntry(a+\r\n"6_point_star",100,90,"","6 Point Star",null,null,this.getTagsForStencil("mxgraph.basic","6_point_star","").join(" ")),this.createVertexTemplateEntry(a+"8_point_star",100,100,"","8 Point Star",null,null,this.getTagsForStencil("mxgraph.basic","8_point_star","").join(" ")),this.createVertexTemplateEntry(a+"banner",100,50,"","Banner",null,null,this.getTagsForStencil("mxgraph.basic","banner","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.cloud_callout",90,60,\r\n"","Cloud Callout",null,null,this.getTagsForStencil("mxgraph.basic","cloud_callout","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.cloud_rect",120,90,"","Cloud Rectangle",null,null,this.getTagsForStencil("mxgraph.basic","cloud_rect"," rectangle").join(" ")),this.createVertexTemplateEntry(a+"cone",100,100,"","Cone",null,null,this.getTagsForStencil("mxgraph.basic","cone","").join(" ")),this.createVertexTemplateEntry(a+"cone2;dx=0.5;dy=0.9;",100,100,"","Cone (adjustable)",\r\nnull,null,this.getTagsForStencil("mxgraph.basic","cone","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.document",100,100,"","Document",null,null,this.getTagsForStencil("mxgraph.basic","document","").join(" ")),this.createVertexTemplateEntry(a+"donut;dx=25;",100,100,"","Donut",null,null,this.getTagsForStencil("mxgraph.basic","donut","").join(" ")),this.createVertexTemplateEntry(a+"drop",70,100,"","Drop",null,null,this.getTagsForStencil("mxgraph.basic","drop",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"flash",60,100,"","Flash",null,null,this.getTagsForStencil("mxgraph.basic","flash","").join(" ")),this.createVertexTemplateEntry(a+"half_circle",100,50,"","Half Circle",null,null,this.getTagsForStencil("mxgraph.basic","half_circle"," semicircle").join(" ")),this.createVertexTemplateEntry(a+"heart",100,100,"","Heart",null,null,this.getTagsForStencil("mxgraph.basic","heart","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.isocube;isoAngle=15;",\r\n100,100,"","Isometric Cube",null,null,this.getTagsForStencil("mxgraph.basic","isometric cube","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.loud_callout",100,60,"","Loud Callout",null,null,this.getTagsForStencil("mxgraph.basic","loud_callout","").join(" ")),this.createVertexTemplateEntry(a+"moon",75,100,"","Moon",null,null,this.getTagsForStencil("mxgraph.basic","moon","").join(" ")),this.createVertexTemplateEntry(a+"no_symbol",100,100,"","No Symbol",null,\r\nnull,this.getTagsForStencil("mxgraph.basic","no_symbol","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.octagon2;align=center;verticalAlign=middle;dx=15;",100,100,"","Octagon",null,null,this.getTagsForStencil("mxgraph.basic","octagon","").join(" ")),this.createVertexTemplateEntry(a+"orthogonal_triangle",100,70,"","Orthogonal Triangle",null,null,this.getTagsForStencil("mxgraph.basic","orthogonal_triangle","").join(" ")),this.createVertexTemplateEntry(a+"acute_triangle;dx=0.5;",\r\n100,70,"","Acute Triangle",null,null,this.getTagsForStencil("mxgraph.basic","acute_triangle","").join(" ")),this.createVertexTemplateEntry(a+"obtuse_triangle;dx=0.25;",100,70,"","Obtuse Triangle",null,null,this.getTagsForStencil("mxgraph.basic","obtuse_triangle","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.oval_callout",100,60,"","Oval Callout",null,null,this.getTagsForStencil("mxgraph.basic","oval_callout","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.pentagon",\r\n100,90,"","Pentagon",null,null,this.getTagsForStencil("mxgraph.basic","pentagon","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.pointed_oval",50,100,"","Pointed Oval",null,null,this.getTagsForStencil("mxgraph.basic","pointed oval","").join(" ")),this.createVertexTemplateEntry(a+"pyramid;dx1=0.4;dx2=0.6;dy1=0.9;dy2=0.8;",100,100,"","Pyramid",null,null,this.getTagsForStencil("mxgraph.basic","pyramid","").join(" ")),this.createVertexTemplateEntry(a+"diag_snip_rect;dx=6;",\r\n100,60,"","Diagonal Snip Rectangle",null,null,this.getTagsForStencil("mxgraph.basic","diag_snip_rect","").join(" ")),this.createVertexTemplateEntry(a+"diag_round_rect;dx=6;",100,60,"","Diagonal Rounded Rectangle",null,null,this.getTagsForStencil("mxgraph.basic","diag_round_rect","").join(" ")),this.createVertexTemplateEntry(a+"corner_round_rect;dx=6;",100,60,"","Corner Rounded Rectangle",null,null,this.getTagsForStencil("mxgraph.basic","corner_round_rect","").join(" ")),this.createVertexTemplateEntry(a+\r\n"three_corner_round_rect;dx=6;",100,60,"","Rounded Rectangle (three corners)",null,null,this.getTagsForStencil("mxgraph.basic","three_corner_round_rect","").join(" ")),this.createVertexTemplateEntry(a+"plaque;dx=6;",100,60,"","Plaque",null,null,this.getTagsForStencil("mxgraph.basic","plaque","").join(" ")),this.createVertexTemplateEntry(a+"frame;dx=10;",100,60,"","Frame",null,null,this.getTagsForStencil("mxgraph.basic","frame","").join(" ")),this.createVertexTemplateEntry(a+"rounded_frame;dx=10;",\r\n100,60,"","Rounded Frame",null,null,this.getTagsForStencil("mxgraph.basic","rounded_frame","").join(" ")),this.createVertexTemplateEntry(a+"plaque_frame;dx=10;",100,60,"","Plaque Frame",null,null,this.getTagsForStencil("mxgraph.basic","plaque_frame","").join(" ")),this.createVertexTemplateEntry(a+"frame_corner;dx=10;",100,60,"","Frame Corner",null,null,this.getTagsForStencil("mxgraph.basic","frame_corner","").join(" ")),this.createVertexTemplateEntry(a+"diag_stripe;dx=10;",100,60,"","Diagonal Stripe",\r\nnull,null,this.getTagsForStencil("mxgraph.basic","diag_stripe","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.rectCallout;dx=30;dy=15;boundedLbl=1;",100,60,"","Rectangular Callout",null,null,this.getTagsForStencil("mxgraph.basic","rectangular_callout","").join(" ")),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shape=mxgraph.basic.roundRectCallout;dx=30;dy=15;size=5;boundedLbl=1;",100,60,"","Rounded Rectangular Callout",null,null,this.getTagsForStencil("mxgraph.basic",\r\n"rectangular_callout","").join(" ")),this.createVertexTemplateEntry(a+"layered_rect;dx=10;outlineConnect=0;",100,60,"","Layered Rectangle",null,null,this.getTagsForStencil("mxgraph.basic","layered_rect","").join(" ")),this.createVertexTemplateEntry(a+"smiley",100,100,"","Smiley",null,null,this.getTagsForStencil("mxgraph.basic","smiley","").join(" ")),this.createVertexTemplateEntry(a+"star",100,95,"","Star",null,null,this.getTagsForStencil("mxgraph.basic","star","").join(" ")),this.createVertexTemplateEntry(a+\r\n"sun",100,100,"","Sun",null,null,this.getTagsForStencil("mxgraph.basic","sun","").join(" ")),this.createVertexTemplateEntry(a+"tick",85,100,"","Tick",null,null,this.getTagsForStencil("mxgraph.basic","tick","").join(" ")),this.createVertexTemplateEntry(a+"wave2;dy=0.3;",100,60,"","Wave",null,null,this.getTagsForStencil("mxgraph.basic","wave","").join(" ")),this.createVertexTemplateEntry("labelPosition=center;verticalLabelPosition=middle;align=center;html=1;shape=mxgraph.basic.button;dx=10;",100,60,\r\n"Button","Button",null,null,this.getTagsForStencil("mxgraph.basic","button","").join(" ")),this.createVertexTemplateEntry("labelPosition=center;verticalLabelPosition=middle;align=center;html=1;shape=mxgraph.basic.shaded_button;dx=10;fillColor=#E6E6E6;strokeColor=none;",100,60,"Button","Button (shaded)",null,null,this.getTagsForStencil("mxgraph.basic","button","").join(" ")),this.createVertexTemplateEntry(a+"x",100,100,"","X",null,null,this.getTagsForStencil("mxgraph.basic","x","").join(" ")),this.createVertexTemplateEntry(a+\r\n"pie;startAngle=0.2;endAngle=0.9;",100,100,"","Pie",null,null,this.getTagsForStencil("mxgraph.basic","pie","").join(" ")),this.createVertexTemplateEntry(a+"arc;startAngle=0.3;endAngle=0.1;",100,100,"","Arc",null,null,this.getTagsForStencil("mxgraph.basic","arc","").join(" ")),this.createVertexTemplateEntry(a+"partConcEllipse;startAngle=0.25;endAngle=0.1;arcWidth=0.5;",100,100,"","Partial Concentric Ellipse",null,null,this.getTagsForStencil("mxgraph.basic","partConcEllipse","").join(" ")),this.createVertexTemplateEntry("shape=message;html=1;whiteSpace=wrap;html=1;outlineConnect=0;",\r\n60,40,"","Message",null,null,"message mail"),this.createVertexTemplateEntry("shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;lid=0;",60,80,"","Cylinder Stack",null,null,"cylinder data database stack tube")]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addBootstrapPalette=function(){var a=this;this.setCurrentSearchEntryLibrary("bootstrap");var b=[this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#B8DCFE;strokeWidth=1;fillColor=#CCE7FE;fontColor=#004583;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;",800,40,"A simple primary alert!","Alert",null,null,this.getTagsForStencil("mxgraph.bootstrap","alert","bootstrap alert").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#D6D8DB;strokeWidth=1;fillColor=#E2E3E5;fontColor=#383D41;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;",\r\n800,40,"A simple secondary alert!","Alert",null,null,this.getTagsForStencil("mxgraph.bootstrap","alert","bootstrap alert").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#E0F0D6;fontColor=#59B958;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;",800,40,"A simple success alert!","Alert",null,null,this.getTagsForStencil("mxgraph.bootstrap","alert","bootstrap alert").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#F4C5CB;strokeWidth=1;fillColor=#F8D6DA;fontColor=#711623;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;",\r\n800,40,"A simple danger alert!","Alert",null,null,this.getTagsForStencil("mxgraph.bootstrap","alert","bootstrap alert").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#FFECBC;strokeWidth=1;fillColor=#FFF1CF;fontColor=#856110;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;",800,40,"A simple warning alert!","Alert",null,null,this.getTagsForStencil("mxgraph.bootstrap","alert","bootstrap alert").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#BFE6EB;strokeWidth=1;fillColor=#D1EDF1;fontColor=#0E5560;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;",\r\n800,40,"A simple info alert!","Alert",null,null,this.getTagsForStencil("mxgraph.bootstrap","alert","bootstrap alert").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#FDFDFE;strokeWidth=1;fillColor=#FEFEFE;fontColor=#818182;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;",800,40,"A simple light alert!","Alert",null,null,this.getTagsForStencil("mxgraph.bootstrap","alert","bootstrap alert").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#C6C8CA;strokeWidth=1;fillColor=#D6D8D9;fontColor=#1B1E21;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;",\r\n800,40,"A simple dark alert!","Alert",null,null,this.getTagsForStencil("mxgraph.bootstrap","alert","bootstrap alert").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#E0F0D6;fontColor=#59B958;whiteSpace=wrap;align=left;verticalAlign=middle;spacing=20;",800,210,\'<font size="1"><b style="font-size: 18px">Title</b></font><br><br><font style="font-size: 14px"><span style="font-family: &quot;open sans&quot; , &quot;arial&quot; , sans-serif ; text-align: justify"><font style="font-size: 14px">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</font></span><br><br></font><hr style="border: 1px solid rgb(89 , 185 , 88); font-size: 14px"><font style="font-size: 14px"><br><span style="font-family: &quot;open sans&quot; , &quot;arial&quot; , sans-serif ; text-align: justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</span></font>\',\r\n"Alert",null,null,this.getTagsForStencil("mxgraph.bootstrap","alert","bootstrap alert").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;fontStyle=1;fontSize=18;",60,40,"New","Badge",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap badge").join(" ")),this.addEntry("bootstrap alert",function(){var b=\r\nnew mxCell("Notifications",new mxGeometry(0,0,130,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#0085FC;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;fontStyle=0;fontSize=14;");b.vertex=!0;var c=new mxCell("4",new mxGeometry(1,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#ffffff;fontColor=#000000;whiteSpace=wrap;align=center;verticalAlign=middle;fontSize=12;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Badge")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#0085FC;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;",60,20,"Primary","Badge, primary",null,null,this.getTagsForStencil("mxgraph.bootstrap",\r\n"badge","bootstrap badge primary").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;",80,20,"Secondary","Badge, secondary",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap badge secondary").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#33A64C;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;",\r\n65,20,"Success","Badge, success",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap badge success").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#DB2843;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;",60,20,"Danger","Badge, danger",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap badge danger").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#FFBC26;fontColor=#000000;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;",65,20,"Warning","Badge, warning",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap badge warning").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#1CA5B8;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;",\r\n35,20,"Info","Badge, info",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap badge info").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#F8F9FA;fontColor=#000000;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;",45,20,"Light","Badge, light",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap badge light").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#343A40;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=5;",40,20,"Dark","Badge, dark",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap badge dark").join(" ")),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeColor=none;strokeWidth=1;fillColor=#0085FC;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=10;",\r\n70,20,"Primary","Pill badge, primary",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap pill badge primary").join(" ")),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=10;",90,20,"Secondary","Pill badge, secondary",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap pill badge secondary").join(" ")),\r\nthis.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeColor=none;strokeWidth=1;fillColor=#33A64C;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=10;",75,20,"Success","Pill badge, success",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap pill badge success").join(" ")),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeColor=none;strokeWidth=1;fillColor=#DB2843;fontColor=#FFFFFF;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=10;",\r\n65,20,"Danger","Pill badge, danger",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap pill badge danger").join(" ")),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeColor=none;strokeWidth=1;fillColor=#FFBC26;fontColor=#000000;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=10;",75,20,"Warning","Pill badge, warning",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap pill badge warning").join(" ")),\r\nthis.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeColor=none;strokeWidth=1;fillColor=#1CA5B8;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=10;",45,20,"Info","Pill badge, info",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap pill badge info").join(" ")),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeColor=none;strokeWidth=1;fillColor=#F8F9FA;fontColor=#000000;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=10;",\r\n55,20,"Light","Pill badge, light",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap pill badge light").join(" ")),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;arcSize=50;strokeColor=none;strokeWidth=1;fillColor=#343A40;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=1;fontSize=14;spacing=10;",50,20,"Dark","Pill badge, dark",null,null,this.getTagsForStencil("mxgraph.bootstrap","badge","bootstrap pill badge dark").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#E9ECEF;fontColor=#6C757D;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=14;spacing=10;",800,40,"Home","Breadcrumb, one level",null,null,this.getTagsForStencil("mxgraph.bootstrap","breadcrumb","bootstrap breadcrumb one level").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#E9ECEF;fontColor=#6C757D;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=14;spacing=10;",\r\n800,40,\'<font color="#0085fc">Home</font> / Library\',"Breadcrumb, two level",null,null,this.getTagsForStencil("mxgraph.bootstrap","breadcrumb","bootstrap breadcrumb two level").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#E9ECEF;fontColor=#6C757D;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=14;spacing=10;",800,40,\'<font color="#0085fc">Home</font> / <font color="#0085fc">Library</font> / Data\',\r\n"Breadcrumb, three level",null,null,this.getTagsForStencil("mxgraph.bootstrap","breadcrumb","bootstrap breadcrumb three level").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#0085FC;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",80,40,"Primary","Button, primary",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button primary").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",100,40,"Secondary","Button, secondary",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button secondary").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#33A64C;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",\r\n90,40,"Success","Button, success",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button success").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#DB2843;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",80,40,"Danger","Button, danger",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button danger").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#FFBC26;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",90,40,"Warning","Button, warning",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button warning").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#1CA5B8;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",\r\n50,40,"Info","Button, info",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button info").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#F8F9FA;fontColor=#000000;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",60,40,"Light","Button, light",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button light").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#343A40;fontColor=#ffffff;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",60,40,"Dark","Button, dark",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button dark").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=none;fontColor=#0085FC;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",\r\n60,40,"Link","Button, link",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button link").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#0085FC;strokeWidth=1;fillColor=none;fontColor=#0085FC;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",80,40,"Primary","Button, primary",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button primary").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#6C767D;strokeWidth=1;fillColor=none;fontColor=#6C767D;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",100,40,"Secondary","Button, secondary",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button secondary").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#33A64C;strokeWidth=1;fillColor=none;fontColor=#33A64C;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",\r\n90,40,"Success","Button, success",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button success").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DB2843;strokeWidth=1;fillColor=none;fontColor=#DB2843;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",80,40,"Danger","Button, danger",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button danger").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#FFBC26;strokeWidth=1;fillColor=none;fontColor=#FFBC26;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",90,40,"Warning","Button, warning",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button warning").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#1CA5B8;strokeWidth=1;fillColor=none;fontColor=#1CA5B8;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",\r\n50,40,"Info","Button, info",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button info").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#F8F9FA;strokeWidth=1;fillColor=none;fontColor=#F8F9FA;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",60,40,"Light","Button, light",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button light").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#343A40;strokeWidth=1;fillColor=none;fontColor=#343A40;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",60,40,"Dark","Button, dark",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button dark").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#0085FC;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",\r\n800,40,"Block level button","Block level button",null,null,this.getTagsForStencil("mxgraph.bootstrap","button","bootstrap button block level").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#FFFFFF;whiteSpace=wrap;align=center;verticalAlign=middle;spacingLeft=0;fontStyle=0;fontSize=16;spacing=5;",800,40,"Block level button","Block level button",null,null,this.getTagsForStencil("mxgraph.bootstrap",\r\n"button","bootstrap button block level").join(" ")),this.addEntry("bootstrap button group horizontal",function(){var b=new mxCell("",new mxGeometry(0,0,180,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("Left",new mxGeometry(0,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Middle",new mxGeometry(0,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(60,0);c.vertex=!0;b.insert(c);c=new mxCell("Right",new mxGeometry(1,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-60,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button group, horizontal")}),this.addEntry("bootstrap button group horizontal",function(){var b=new mxCell("",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("1",new mxGeometry(0,0,30,30),\r\n"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(30,0);c.vertex=\r\n!0;b.insert(c);c=new mxCell("3",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(60,0);c.vertex=!0;b.insert(c);var d=new mxCell("4",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(130,0,90,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;");d.vertex=!0;c=new mxCell("5",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("6",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(30,0);c.vertex=!0;d.insert(c);c=new mxCell("7",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;d.insert(c);c=new mxCell("8",new mxGeometry(230,0,30,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;");c.vertex=!0;return a.createVertexTemplateFromCells([b,d,c],260,30,"Button group, horizontal")}),this.addEntry("bootstrap button group horizontal",function(){var b=new mxCell("",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;");\r\nb.vertex=!0;var c=new mxCell("1",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(30,0);c.vertex=!0;b.insert(c);c=new mxCell("3",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(60,0);c.vertex=!0;b.insert(c);c=new mxCell("4",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("Input Group Example",new mxGeometry(130,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacingLeft=40;");d.vertex=!0;c=new mxCell("@",new mxGeometry(0,0,30,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b,d],230,30,"Button group, horizontal")}),this.addEntry("bootstrap button group horizontal",function(){var b=new mxCell("",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("1",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(30,0);c.vertex=!0;b.insert(c);c=new mxCell("Dropdown",new mxGeometry(1,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-90,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button group, horizontal")}),this.addEntry("bootstrap button group vertical",function(){var b=new mxCell("",new mxGeometry(0,\r\n0,60,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("Button",new mxGeometry(0,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,60,\r\n30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=\r\n!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(0,120);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,1,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button group, vertical")}),\r\nthis.addEntry("bootstrap button group vertical",function(){var b=new mxCell("",new mxGeometry(0,0,90,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("Button",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,120);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,1,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,\r\n"Button group, vertical")}),this.addEntry("bootstrap button group vertical",function(){var b=new mxCell("",new mxGeometry(0,0,90,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("Button",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);c=new mxCell("Dropdown",new mxGeometry(0,0,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,120);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);c=new mxCell("Dropdown",new mxGeometry(0,1,90,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button group, vertical")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,350),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=bottom;align=left;spacing=20;spacingBottom=50;fontSize=14;");b.vertex=!0;var c=new mxCell("Image cap",new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");c.geometry.relative=\r\n!0;c.vertex=!0;b.insert(c);c=new mxCell("Go somewhere",new mxGeometry(0,1,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;resizeWidth=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,-60);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><font color="#6c767d"><b><font style="font-size: 14px"><br style="font-size: 10px">Card subtitle<br></font></b></font><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,190),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;fontSize=14;");b.vertex=!0;var c=new mxCell("Card link",new mxGeometry(0,1,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=none;strokeColor=none;fontColor=#0085FC;resizeWidth=1;fontSize=14;align=center;");c.geometry.relative=!0;\r\nc.geometry.offset=new mxPoint(10,-50);c.vertex=!0;b.insert(c);c=new mxCell("Another link",new mxGeometry(0,1,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=none;strokeColor=none;fontColor=#0085FC;resizeWidth=1;fontSize=14;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(100,-50);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card")}),this.addEntry("bootstrap image",\r\nfunction(){var b=new mxCell("Some quick example text to build on the card title and make up the bulk of the card\'s content.",new mxGeometry(0,0,250,260),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=bottom;align=left;spacing=20;fontSize=14;");b.vertex=!0;var c=new mxCell("Image cap",new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Image")}),this.addEntry("bootstrap list group",function(){var b=new mxCell("",new mxGeometry(0,0,200,90),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Cras justo odio",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("Vestibulum at eros",new mxGeometry(0,1,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"List group")}),this.addEntry("bootstrap list group",function(){var b=new mxCell("",new mxGeometry(0,0,200,120),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Featured",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;strokeColor=inherit;fillColor=#F7F7F7;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Cras justo odio",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("Vestibulum at eros",new mxGeometry(0,1,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"List group")}),this.addEntry("bootstrap card",function(){var b=new mxCell("",new mxGeometry(0,0,250,450),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=bottom;align=left;spacing=20;spacingBottom=130;fontSize=14;");b.vertex=!0;var c=new mxCell("Image cap",new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',new mxGeometry(0,0,250,120),"perimeter=none;html=1;whiteSpace=wrap;fillColor=none;strokeColor=none;resizeWidth=1;verticalAlign=top;align=left;spacing=20;spacingTop=-10;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,\r\n180);c.vertex=!0;b.insert(c);c=new mxCell("Cras justo odio",new mxGeometry(0,0,250,30),"html=1;shadow=0;dashed=0;strokeColor=none;fontSize=14;fillColor=none;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,300);c.vertex=!0;b.insert(c);c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,250,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;fontSize=14;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,330);c.vertex=!0;b.insert(c);c=new mxCell("Vestibulum at eros",new mxGeometry(0,0,250,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,360);c.vertex=!0;b.insert(c);c=new mxCell("Card link",new mxGeometry(0,\r\n1,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=none;strokeColor=none;fontColor=#0085FC;resizeWidth=1;fontSize=14;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-50);c.vertex=!0;b.insert(c);c=new mxCell("Another link",new mxGeometry(0,1,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=none;strokeColor=none;fontColor=#0085FC;resizeWidth=1;fontSize=14;align=center;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(100,-50);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card")}),this.addEntry("bootstrap card",function(){var b=new mxCell("",new mxGeometry(0,0,800,190),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Featured",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;strokeColor=inherit;fillColor=#F7F7F7;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=20;fontSize=14;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell(\'<b><font style="font-size: 20px">Special title treatment</font></b><br style="font-size: 14px"><br style="font-size: 14px">With supporting text below as a natural lead-in to additional content.\',new mxGeometry(0,0,800,120),"perimeter=none;html=1;whiteSpace=wrap;fillColor=none;strokeColor=none;resizeWidth=1;verticalAlign=top;align=left;spacing=20;spacingTop=-10;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=\r\n!0;b.insert(c);c=new mxCell("Go somewhere",new mxGeometry(0,1,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;resizeWidth=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,-60);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card with header and footer")}),this.addEntry("bootstrap card",function(){var b=new mxCell("",\r\nnew mxGeometry(0,0,800,120),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Quote",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;strokeColor=inherit;fillColor=#F7F7F7;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell(\'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.<font style="font-size: 14px" color="#999999"><br><br>- <b>Someone famous</b> in <i>Source Title</i></font>\',\r\nnew mxGeometry(0,0,800,80),"perimeter=none;html=1;whiteSpace=wrap;fillColor=none;strokeColor=none;resizeWidth=1;verticalAlign=top;align=left;spacing=20;spacingTop=-10;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card with header and footer")}),this.addEntry("bootstrap card",function(){var b=new mxCell("",new mxGeometry(0,0,800,230),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");\r\nb.vertex=!0;var c=new mxCell("Featured",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;strokeColor=inherit;fillColor=#F7F7F7;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell(\'<b><font style="font-size: 20px">Special title treatment</font></b><br style="font-size: 14px"><br style="font-size: 14px">With supporting text below as a natural lead-in to additional content.\',\r\nnew mxGeometry(0,0,800,120),"perimeter=none;html=1;whiteSpace=wrap;fillColor=none;strokeColor=none;resizeWidth=1;verticalAlign=top;align=center;spacing=20;spacingTop=-10;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);c=new mxCell("Go somewhere",new mxGeometry(.5,1,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;align=center;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;resizeWidth=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-60,-100);c.vertex=!0;b.insert(c);c=new mxCell("2 days ago",new mxGeometry(0,1,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;strokeColor=inherit;fillColor=#F7F7F7;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#818181;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-40);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,\r\n"Card with header and footer")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Special title treatment</font></b><br style="font-size: 14px"><br style="font-size: 14px">With supporting text below as a natural lead-in to additional content.\',new mxGeometry(0,0,380,170),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;align=left;verticalAlign=top;spacing=20;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Go somewhere",new mxGeometry(0,1,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;resizeWidth=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,-60);c.vertex=!0;b.insert(c);c=new mxCell(\'<b><font style="font-size: 20px">Special title treatment</font></b><br style="font-size: 14px"><br style="font-size: 14px">With supporting text below as a natural lead-in to additional content.\',\r\nnew mxGeometry(420,0,380,170),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;align=left;verticalAlign=top;spacing=20;fontSize=14;");c.vertex=!0;var d=new mxCell("Go somewhere",new mxGeometry(0,1,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;resizeWidth=1;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=\r\nnew mxPoint(20,-60);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],800,190,"Two cards")}),this.addEntry("bootstrap card",function(){var b=new mxCell("",new mxGeometry(0,0,800,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,800,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;strokeColor=inherit;fillColor=#F7F7F7;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Active",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.tabTop;strokeColor=#DFDFDF;fillColor=#ffffff;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#4B5259;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,10);c.vertex=!0;b.insert(c);c=new mxCell("Link",new mxGeometry(0,0,50,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(95,10);c.vertex=!0;b.insert(c);c=new mxCell("Disabled",new mxGeometry(0,0,60,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;fontColor=#4B5259;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(150,10);c.vertex=!0;b.insert(c);c=new mxCell(\'<b><font style="font-size: 20px">Special title treatment</font></b><br style="font-size: 14px"><br style="font-size: 14px">With supporting text below as a natural lead-in to additional content.\',\r\nnew mxGeometry(0,0,800,120),"perimeter=none;html=1;whiteSpace=wrap;fillColor=none;strokeColor=none;resizeWidth=1;verticalAlign=top;align=center;spacing=20;spacingTop=-10;fontSize=14;fontColor=#212529");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,50);c.vertex=!0;b.insert(c);c=new mxCell("Go somewhere",new mxGeometry(.5,1,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;align=center;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;resizeWidth=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-60,-60);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card navigation")}),this.addEntry("bootstrap card",function(){var b=new mxCell("",new mxGeometry(0,0,800,210),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;strokeColor=inherit;fillColor=#F7F7F7;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Active",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;arcSize=5;strokeColor=none;fillColor=#0085FC;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#ffffff;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,10);c.vertex=!0;b.insert(c);c=new mxCell("Link",new mxGeometry(0,0,50,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(95,10);c.vertex=!0;b.insert(c);c=new mxCell("Disabled",new mxGeometry(0,0,60,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;fontColor=#4B5259;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(150,10);c.vertex=!0;b.insert(c);c=new mxCell(\'<b><font style="font-size: 20px">Special title treatment</font></b><br style="font-size: 14px"><br style="font-size: 14px">With supporting text below as a natural lead-in to additional content.\',\r\nnew mxGeometry(0,0,800,120),"perimeter=none;html=1;whiteSpace=wrap;fillColor=none;strokeColor=none;resizeWidth=1;verticalAlign=top;align=center;spacing=20;spacingTop=-10;fontSize=14;fontColor=#212529");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("Go somewhere",new mxGeometry(.5,1,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;perimeter=none;whiteSpace=wrap;align=center;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;resizeWidth=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-60,-60);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card navigation")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<br><br><font style="font-size: 12px" color="#999999">Last udated 3 mind ago</font>\',\r\nnew mxGeometry(0,0,800,310),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=bottom;align=left;spacing=20;fontSize=14;");b.vertex=!0;var c=new mxCell("Image cap",new mxGeometry(0,0,800,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");c.geometry.relative=\r\n!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<br><br><font style="font-size: 12px" color="#999999">Last udated 3 mind ago</font>\',new mxGeometry(0,0,800,310),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Image cap",new mxGeometry(0,1,800,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-180);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card")}),this.addEntry("bootstrap card",function(){var b=new mxCell("Card Image",\r\nnew mxGeometry(0,0,800,280),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#2D3338;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#ffffff;verticalAlign=middle;align=center;spacing=20;fontSize=60;");b.vertex=!0;var c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<br><br>Last updated 3 mins ago\',new mxGeometry(0,\r\n0,800,120),"fillColor=none;strokeColor=none;fontColor=#ffffff;html=1;verticalAlign=top;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<br><br><font style="font-size: 12px" color="#999999">Last udated 3 mind ago</font>\',\r\nnew mxGeometry(0,0,480,240),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;fontSize=14;spacingLeft=170;");b.vertex=!0;var c=new mxCell("Image",new mxGeometry(0,0,170,240),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");c.geometry.relative=\r\n!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Primary card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#0071D5;html=1;whiteSpace=wrap;fillColor=#0085FC;fontColor=#ffffff;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#0081F4;strokeColor=#0071D5;fontColor=#ffffff;resizeWidth=1;fontSize=18;align=left;spacing=20;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Primary card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Secondary card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#5B646A;html=1;whiteSpace=wrap;fillColor=#6C767D;fontColor=#ffffff;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");b.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#697279;strokeColor=#5B646A;fontColor=#ffffff;resizeWidth=1;fontSize=18;align=left;spacing=20;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Secondary card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Success card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#2B8D40;html=1;whiteSpace=wrap;fillColor=#33A64C;fontColor=#ffffff;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#31A14A;strokeColor=#2B8D40;fontColor=#ffffff;resizeWidth=1;fontSize=18;align=left;spacing=20;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Success card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Danger card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#BA2239;html=1;whiteSpace=wrap;fillColor=#DB2843;fontColor=#ffffff;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");b.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#D42741;strokeColor=#BA2239;fontColor=#ffffff;resizeWidth=1;fontSize=18;align=left;spacing=20;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Danger card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Warning card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#D89F20;html=1;whiteSpace=wrap;fillColor=#FFBC26;fontColor=#ffffff;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7B625;strokeColor=#D89F20;fontColor=#ffffff;resizeWidth=1;fontSize=18;align=left;spacing=20;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Warning card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Info card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#188C9C;html=1;whiteSpace=wrap;fillColor=#1CA5B8;fontColor=#ffffff;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");b.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#1BA0B2;strokeColor=#188C9C;fontColor=#ffffff;resizeWidth=1;fontSize=18;align=left;spacing=20;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Info card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Light card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#D2D3D4;html=1;whiteSpace=wrap;fillColor=#F8F9FA;fontColor=#212529;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F0F1F2;strokeColor=#D2D3D4;fontColor=#212529;resizeWidth=1;fontSize=18;align=left;spacing=20;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Light card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Dark card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#2C3136;html=1;whiteSpace=wrap;fillColor=#343A40;fontColor=#ffffff;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");b.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#32383E;strokeColor=#2C3136;fontColor=#ffffff;resizeWidth=1;fontSize=18;align=left;spacing=20;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dark card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Primary card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#0085FC;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#0085FC;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#0085FC;fontColor=#212529;resizeWidth=1;fontSize=18;align=left;spacing=20;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Primary card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Secondary card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#6C767D;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#6C767D;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");b.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#6C767D;fontColor=#6C767D;resizeWidth=1;fontSize=18;align=left;spacing=20;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Secondary card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Success card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#33A64C;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#33A64C;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#33A64C;fontColor=#6C767D;resizeWidth=1;fontSize=18;align=left;spacing=20;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Success card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Danger card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DB2843;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#DB2843;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");b.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#DB2843;fontColor=#6C767D;resizeWidth=1;fontSize=18;align=left;spacing=20;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Danger card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Warning card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#FFBC26;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#FFBC26;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#FFBC26;fontColor=#6C767D;resizeWidth=1;fontSize=18;align=left;spacing=20;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Warning card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Info card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#1CA5B8;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#1CA5B8;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");b.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#1CA5B8;fontColor=#6C767D;resizeWidth=1;fontSize=18;align=left;spacing=20;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Info card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Light card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',new mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#F8F9FA;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#212529;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#F8F9FA;fontColor=#6C767D;resizeWidth=1;fontSize=18;align=left;spacing=20;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Light card")}),this.addEntry("bootstrap card",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Dark card title</font></b><br style="font-size: 14px"><br style="font-size: 14px">Some quick example text to build on the card title and make up the bulk of the card\\\'s content.\',\r\nnew mxGeometry(0,0,250,180),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#6C767D;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#212529;verticalAlign=bottom;align=left;spacing=20;spacingBottom=0;fontSize=14;");b.vertex=!0;var c=new mxCell("Header",new mxGeometry(0,0,250,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#6C767D;fontColor=#6C767D;resizeWidth=1;fontSize=18;align=left;spacing=20;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dark card")}),this.addEntry("bootstrap card group",function(){var b=new mxCell("",new mxGeometry(0,0,780,360),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;");b.vertex=!0;var c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<br><br><font color="#999999" style="font-size: 12px">Last udated 3 mind ago</font>\',\r\nnew mxGeometry(0,0,260,360),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.basic.corner_round_rect;dx=2;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nd.geometry.relative=!0;d.vertex=!0;c.insert(d);c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This card has supporting text below as a natural lead-in to additional content.<br><br><font color="#999999" style="font-size: 12px">Last udated 3 mind ago</font>\',new mxGeometry(0,0,260,360),"html=1;shadow=0;dashed=0;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(260,0);c.vertex=!0;b.insert(c);d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.<br><br><font color="#999999" style="font-size: 12px">Last udated 3 mind ago</font>\',\r\nnew mxGeometry(1,0,260,360),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-260,0);c.vertex=!0;b.insert(c);d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.basic.corner_round_rect;dx=2;flipH=1;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nd.geometry.relative=!0;d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card group")}),this.addEntry("bootstrap card group",function(){var b=new mxCell("",new mxGeometry(0,0,780,370),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;");b.vertex=!0;var c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.\',\r\nnew mxGeometry(0,0,260,370),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.basic.corner_round_rect;dx=2;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nd.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Last updated 3 mins ago",new mxGeometry(0,1,260,50),"html=1;shadow=0;dashed=0;shape=mxgraph.basic.corner_round_rect;dx=2;flipV=1;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#DFDFDF;fontColor=#6C767D;resizeWidth=1;fontSize=13;align=left;spacing=20;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-50);d.vertex=!0;c.insert(d);c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This card has supporting text below as a natural lead-in to additional content.\',\r\nnew mxGeometry(0,0,260,370),"html=1;shadow=0;dashed=0;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(260,0);c.vertex=!0;b.insert(c);d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");d.geometry.relative=\r\n!0;d.vertex=!0;c.insert(d);d=new mxCell("Last updated 3 mins ago",new mxGeometry(0,1,260,50),"html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#DFDFDF;fontColor=#6C767D;resizeWidth=1;fontSize=13;align=left;spacing=20;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-50);d.vertex=!0;c.insert(d);c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.\',\r\nnew mxGeometry(1,0,260,370),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-260,0);c.vertex=!0;b.insert(c);d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.basic.corner_round_rect;dx=2;flipH=1;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nd.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Last updated 3 mins ago",new mxGeometry(0,1,260,50),"html=1;shadow=0;dashed=0;shape=mxgraph.basic.corner_round_rect;dx=2;flipV=1;flipH=1;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#DFDFDF;fontColor=#6C767D;resizeWidth=1;fontSize=13;align=left;spacing=20;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-50);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Card group")}),\r\nthis.addEntry("bootstrap card group",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<br><br><font color="#999999" style="font-size: 12px">Last udated 3 mind ago</font>\',new mxGeometry(0,0,260,360),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");\r\nb.geometry.relative=!0;b.vertex=!0;var c=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This card has supporting text below as a natural lead-in to additional content.<br><br><font color="#999999" style="font-size: 12px">Last udated 3 mind ago</font>\',\r\nnew mxGeometry(280,0,260,360),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");c.vertex=!0;var d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nd.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.<br><br><font color="#999999" style="font-size: 12px">Last udated 3 mind ago</font>\',new mxGeometry(560,0,260,360),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");\r\nd.vertex=!0;var f=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");f.geometry.relative=!0;f.vertex=!0;d.insert(f);return a.createVertexTemplateFromCells([b,c,d],820,360,"Card group")}),this.addEntry("bootstrap card group",function(){var b=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.\',\r\nnew mxGeometry(0,0,260,370),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");b.geometry.relative=!0;b.vertex=!0;var c=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Last updated 3 mins ago",new mxGeometry(0,1,260,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#DFDFDF;fontColor=#6C767D;resizeWidth=1;fontSize=13;align=left;spacing=20;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-50);c.vertex=!0;b.insert(c);c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This card has supporting text below as a natural lead-in to additional content.\',\r\nnew mxGeometry(280,0,260,370),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");c.vertex=!0;var d=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nd.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Last updated 3 mins ago",new mxGeometry(0,1,260,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#DFDFDF;fontColor=#6C767D;resizeWidth=1;fontSize=13;align=left;spacing=20;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-50);d.vertex=!0;c.insert(d);d=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.\',\r\nnew mxGeometry(560,0,260,370),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");d.vertex=!0;var f=new mxCell("Image cap",new mxGeometry(0,0,260,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nf.geometry.relative=!0;f.vertex=!0;d.insert(f);f=new mxCell("Last updated 3 mins ago",new mxGeometry(0,1,260,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#F7F7F7;strokeColor=#DFDFDF;fontColor=#6C767D;resizeWidth=1;fontSize=13;align=left;spacing=20;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,-50);f.vertex=!0;d.insert(f);return a.createVertexTemplateFromCells([b,c,d],820,360,"Card group")}),this.addEntry("bootstrap card group",\r\nfunction(){var b=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.\',new mxGeometry(0,0,370,290),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");b.vertex=!0;var c=new mxCell("Image cap",\r\nnew mxGeometry(0,0,370,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.\',new mxGeometry(390,0,370,290),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");\r\nc.vertex=!0;var d=new mxCell("Image cap",new mxGeometry(0,0,370,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content.\',new mxGeometry(0,310,370,270),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");\r\nd.vertex=!0;var f=new mxCell("Image cap",new mxGeometry(0,0,370,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");f.geometry.relative=!0;f.vertex=!0;d.insert(f);f=new mxCell(\'<b><font style="font-size: 20px">Card title</font></b><br><br>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.\',\r\nnew mxGeometry(390,310,370,290),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");f.vertex=!0;var g=new mxCell("Image cap",new mxGeometry(0,0,370,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\ng.geometry.relative=!0;g.vertex=!0;f.insert(g);return a.createVertexTemplateFromCells([b,c,d,f],760,600,"Grid cards")}),this.addEntry("bootstrap card group",function(){var b=new mxCell(\'<b><font style="font-size: 17px">Card title that wraps to a new line</font></b><br><br>This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.\',new mxGeometry(0,0,320,290),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");\r\nb.vertex=!0;var c=new mxCell("Image cap",new mxGeometry(0,0,320,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell(\'<font style="font-size: 18px">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.<br><br></font><font style="font-size: 12px" color="#999999">- Someone famous in <i>Source Title</i></font>\',\r\nnew mxGeometry(0,300,320,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=30;spacingBottom=0;fontSize=14;spacingTop=0;");c.vertex=!0;var d=new mxCell(\'<b><font style="font-size: 17px">Card title</font></b><br><br>This card has supporting text below as a natural lead-in to additional content.<br><br><font color="#999999" style="font-size: 12px">Last updated 3 mins ago</font>\',\r\nnew mxGeometry(330,0,320,300),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=160;");d.vertex=!0;var f=new mxCell("Image cap",new mxGeometry(0,0,320,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;fillColor=#868E96;strokeColor=#DFDFDF;fontColor=#DEE2E6;resizeWidth=1;fontSize=18;");\r\nf.geometry.relative=!0;f.vertex=!0;d.insert(f);f=new mxCell(\'<font style="font-size: 18px">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.<br><br></font><font style="font-size: 12px">- Someone famous in <i>Source Title</i></font>\',new mxGeometry(330,310,320,130),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#0085FC;fontColor=#FFFFFF;verticalAlign=top;align=center;spacing=10;fontSize=14;");\r\nf.vertex=!0;var g=new mxCell(\'<font style="font-size: 18px">Card title</font><br><br>This card has a regular title and short paragraphy of text below it.<br><br><font color="#999999" style="font-size: 12px">Last updated 3 mins ago</font>\',new mxGeometry(330,450,320,130),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=center;spacing=10;spacingBottom=0;fontSize=14;spacingTop=0;");g.vertex=\r\n!0;var h=new mxCell("Card image",new mxGeometry(660,0,320,240),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;verticalAlign=middle;align=center;spacing=10;spacingBottom=0;fontSize=14;spacingTop=0;");h.vertex=!0;var k=new mxCell(\'<font style="font-size: 18px">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.<br><br></font><font style="font-size: 12px" color="#999999">- Someone famous in <i>Source Title</i></font>\',\r\nnew mxGeometry(660,250,320,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=right;spacing=30;spacingBottom=0;fontSize=14;spacingTop=0;");k.vertex=!0;var l=new mxCell(\'<font style="font-size: 18px"><b>Card title</b></font><br><br>This is another card with title and supporting text below it. This card has some additional content to make it slightly taller overall.<br><br><font color="#999999" style="font-size: 12px">Last updated 3 mins ago</font>\',\r\nnew mxGeometry(660,410,320,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#000000;verticalAlign=top;align=left;spacing=20;spacingBottom=0;fontSize=14;spacingTop=0;");l.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l],980,600,"Card group")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;strokeColor=none;strokeWidth=1;fillColor=#777777;fontColor=#555555;whiteSpace=wrap;align=center;verticalAlign=middle;fontStyle=0;fontSize=40;",\r\n800,300,"First slide","Carousel",null,null,this.getTagsForStencil("mxgraph.bootstrap","carousel","bootstrap carousel").join(" ")),this.addEntry("bootstrap carousel with controls",function(){var b=new mxCell("First slide",new mxGeometry(0,0,800,300),"html=1;shadow=0;dashed=0;strokeColor=none;strokeWidth=1;fillColor=#777777;fontColor=#555555;whiteSpace=wrap;align=center;verticalAlign=middle;fontStyle=0;fontSize=40;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,7,14),"html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=4;shape=mxgraph.ios7.misc.more;strokeColor=#a0a0a0;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-50,-7);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,.5,7,14),"flipH=1;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=4;shape=mxgraph.ios7.misc.more;strokeColor=#a0a0a0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(43,-7);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Carousel with controls")}),this.addEntry("bootstrap carousel with indicators",\r\nfunction(){var b=new mxCell("First slide",new mxGeometry(0,0,800,300),"html=1;shadow=0;dashed=0;strokeColor=none;strokeWidth=1;fillColor=#777777;fontColor=#555555;whiteSpace=wrap;align=center;verticalAlign=middle;fontStyle=0;fontSize=40;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,7,14),"html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=4;shape=mxgraph.ios7.misc.more;strokeColor=#a0a0a0;");c.geometry.relative=!0;c.geometry.offset=\r\nnew mxPoint(-50,-7);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,.5,7,14),"flipH=1;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=4;shape=mxgraph.ios7.misc.more;strokeColor=#a0a0a0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(43,-7);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(.5,1,30,4),"html=1;shadow=0;strokeColor=none;fillColor=#ffffff;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-50,-20);\r\nc.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(.5,1,30,4),"html=1;shadow=0;strokeColor=none;fillColor=#BBBBBB;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-15,-20);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(.5,1,30,4),"html=1;shadow=0;strokeColor=none;fillColor=#BBBBBB;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,-20);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Carousel with indicators")}),this.addEntry("bootstrap carousel with captions",\r\nfunction(){var b=new mxCell("First slide",new mxGeometry(0,0,800,300),"html=1;shadow=0;dashed=0;strokeColor=none;strokeWidth=1;fillColor=#777777;fontColor=#555555;whiteSpace=wrap;align=center;verticalAlign=middle;fontStyle=0;fontSize=40;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,7,14),"html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=4;shape=mxgraph.ios7.misc.more;strokeColor=#a0a0a0;");c.geometry.relative=!0;c.geometry.offset=\r\nnew mxPoint(-50,-7);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,.5,7,14),"flipH=1;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=4;shape=mxgraph.ios7.misc.more;strokeColor=#a0a0a0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(43,-7);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(.5,1,30,4),"html=1;shadow=0;strokeColor=none;fillColor=#ffffff;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-50,-20);\r\nc.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(.5,1,30,4),"html=1;shadow=0;strokeColor=none;fillColor=#BBBBBB;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-15,-20);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(.5,1,30,4),"html=1;shadow=0;strokeColor=none;fillColor=#BBBBBB;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,-20);c.vertex=!0;b.insert(c);c=new mxCell(\'<font style="font-size: 16px"><b>First slide label</b></font><br style="font-size: 14px"><br style="font-size: 14px">Nulla vitae elit libero, a pharetra augue mollis interdum.\',\r\nnew mxGeometry(0,1,800,60),"html=1;shadow=0;strokeColor=none;fillColor=none;resizeWidth=1;fontColor=#FFFFFF;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-90);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Carousel with captions")}),this.addEntry("bootstrap dropdown button",function(){var b=new mxCell("Dropdown button",new mxGeometry(0,0,140,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=right;verticalAlign=middle;fontStyle=0;fontSize=14;spacingRight=20;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown button")}),this.addEntry("bootstrap dropdown button",function(){var b=new mxCell("Dropdown button",new mxGeometry(0,0,140,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,43,170,110),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);\r\nreturn a.createVertexTemplateFromCells([b,c],170,153,"Dropdown button")}),this.addEntry("bootstrap dropdown button",function(){var b=new mxCell("Primary",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#006AC9;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,43,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,\r\n0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");d.geometry.relative=\r\n!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],170,193,"Dropdown button")}),this.addEntry("bootstrap dropdown button",function(){var b=new mxCell("Secondary",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,43,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);\r\nd=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],170,193,"Dropdown button")}),this.addEntry("bootstrap dropdown button",\r\nfunction(){var b=new mxCell("Success",new mxGeometry(0,0,85,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#33A64C;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;\r\nb.insert(c);c=new mxCell("",new mxGeometry(0,43,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",\r\nnew mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],170,193,"Dropdown button")}),this.addEntry("bootstrap dropdown button",function(){var b=new mxCell("Info",new mxGeometry(0,0,60,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#1CA5B8;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,43,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);\r\nd=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],170,193,"Dropdown button")}),this.addEntry("bootstrap dropdown button",\r\nfunction(){var b=new mxCell("Warning",new mxGeometry(0,0,90,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#FFBC26;fontColor=#000000;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;\r\nb.insert(c);c=new mxCell("",new mxGeometry(0,43,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",\r\nnew mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],170,193,"Dropdown button")}),this.addEntry("bootstrap dropdown button",function(){var b=new mxCell("Danger",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#DB2843;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,43,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);\r\nd=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],170,193,"Dropdown button")}),this.addEntry("bootstrap dropup button",\r\nfunction(){var b=new mxCell("Dropup",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=north;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;\r\nb.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropup button")}),this.addEntry("bootstrap dropup button",function(){var b=new mxCell("Dropup",new mxGeometry(0,153,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=north;fillColor=#ffffff;strokeColor=none;perimeter=none;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,\r\n0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");d.geometry.relative=\r\n!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],170,193,"Dropup button")}),this.addEntry("bootstrap dropright button",function(){var b=new mxCell("Dropright",new mxGeometry(0,0,95,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,5,10),"shape=triangle;direction=east;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-15,-5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropright button")}),this.addEntry("bootstrap dropright button",function(){var b=new mxCell("Dropright",new mxGeometry(0,0,95,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,5,10),"shape=triangle;direction=east;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-15,-5);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(98,0,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);\r\nd=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],268,150,"Dropright button")}),this.addEntry("bootstrap dropleft button",\r\nfunction(){var b=new mxCell("Dropleft",new mxGeometry(0,0,85,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=right;verticalAlign=middle;fontStyle=0;fontSize=14;spacingRight=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,5,10),"shape=triangle;direction=west;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-5);c.vertex=!0;\r\nb.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropleft button")}),this.addEntry("bootstrap dropleft button",function(){var b=new mxCell("Dropleft",new mxGeometry(173,0,85,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=right;verticalAlign=middle;fontStyle=0;fontSize=14;spacingRight=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,5,10),\r\n"shape=triangle;direction=west;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-5);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,\r\n10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,110);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],268,150,"Dropleft button")}),this.addEntry("bootstrap list with active item",function(){var b=new mxCell("",new mxGeometry(0,0,170,110),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");\r\nb.vertex=!0;var c=new mxCell("Regular link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,10);c.vertex=!0;b.insert(c);c=new mxCell("Active link",new mxGeometry(0,0,170,30),"fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);c=new mxCell("Another link",new mxGeometry(0,0,170,\r\n30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,70);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"List with active item")}),this.addEntry("bootstrap list with disabled item",function(){var b=new mxCell("",new mxGeometry(0,0,170,110),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");b.vertex=!0;var c=new mxCell("Regular link",\r\nnew mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,10);c.vertex=!0;b.insert(c);c=new mxCell("Disabled link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;fontColor=#6C767D;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);c=new mxCell("Another link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,70);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"List with disabled item")}),this.addEntry("bootstrap dropdown right aligned menu",function(){var b=new mxCell("Right-aligned menu",new mxGeometry(15,0,155,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;strokeWidth=1;fillColor=#6C767D;fontColor=#ffffff;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingLeft=10;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,43,170,110),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;c.insert(d);\r\nreturn a.createVertexTemplateFromCells([b,c],170,153,"Dropdown with right aligned menu")}),this.addEntry("bootstrap list with dropdown header",function(){var b=new mxCell("",new mxGeometry(0,0,140,110),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");b.vertex=!0;var c=new mxCell("Dropdown header",new mxGeometry(0,0,140,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=12;fontColor=#757E85;fontStyle=1;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(0,10);c.vertex=!0;b.insert(c);c=new mxCell("Action",new mxGeometry(0,0,140,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);c=new mxCell("Another action",new mxGeometry(0,0,140,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,70);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"List with dropdown header")}),this.addEntry("bootstrap list with divider",function(){var b=new mxCell("",new mxGeometry(0,0,170,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");b.vertex=!0;var c=new mxCell("Action",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,10);c.vertex=!0;b.insert(c);c=new mxCell("Another action",\r\nnew mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);c=new mxCell("Something else here",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,70);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,170,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,100);c.vertex=!0;b.insert(c);c=new mxCell("Separated link",new mxGeometry(0,0,170,30),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,110);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"List with divider")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#999999;strokeWidth=1;fillColor=#FFFFFF;fontColor=#6C767D;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;fontSize=14;spacing=10;",\r\n170,160,\'Some example text that\\\'s free-flowing within the dropdown menu.<br style="font-size: 14px"><br style="font-size: 14px">And this is more example text.\',"Text",null,null,this.getTagsForStencil("mxgraph.bootstrap","text","bootstrap text").join(" ")),this.addEntry("bootstrap list with divider",function(){var b=new mxCell("",new mxGeometry(0,0,220,345),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;");b.vertex=!0;var c=new mxCell("Email address",\r\nnew mxGeometry(0,0,220,40),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,10);c.vertex=!0;b.insert(c);c=new mxCell("email@example.com",new mxGeometry(0,0,180,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,50);c.vertex=!0;b.insert(c);c=new mxCell("Password",\r\nnew mxGeometry(0,0,220,40),"fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);c=new mxCell("Password",new mxGeometry(0,0,180,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,130);c.vertex=!0;b.insert(c);c=new mxCell("Remember me",new mxGeometry(0,\r\n0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=2;fillColor=#EDEDED;strokeColor=#999999;align=left;fontSize=14;fontColor=#000000;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;spacingLeft=5;spacingTop=-2;gradientColor=#DEDEDE;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,180);c.vertex=!0;b.insert(c);c=new mxCell("Sign in",new mxGeometry(0,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;align=center;fontSize=14;fontColor=#FFFFFF;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(20,210);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,220,10),"shape=line;strokeColor=#999999;perimeter=none;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,260);c.vertex=!0;b.insert(c);c=new mxCell("New around here? Sign up<br><br>Forgot password?",new mxGeometry(0,0,220,60),"html=1;fillColor=none;strokeColor=none;align=left;spacing=20;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,275);\r\nc.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"List with divider")}),this.addEntry("bootstrap form",function(){var b=new mxCell("Email address",new mxGeometry(0,0,260,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;");b.geometry.relative=!0;b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;var d=new mxCell("We\'ll never share your email with anyone else.",new mxGeometry(0,0,260,30),"fillColor=none;strokeColor=none;align=left;spacing=2;fontSize=12;fontColor=#999999;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;var f=new mxCell("Password",new mxGeometry(0,0,260,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,100);f.vertex=\r\n!0;var g=new mxCell("",new mxGeometry(0,0,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(0,140);g.vertex=!0;var h=new mxCell("Check me out",new mxGeometry(0,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=2;fillColor=#EDEDED;strokeColor=#999999;align=left;fontSize=14;fontColor=#000000;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;spacingLeft=5;spacingTop=-2;gradientColor=#DEDEDE;");\r\nh.geometry.relative=!0;h.geometry.offset=new mxPoint(0,190);h.vertex=!0;var k=new mxCell("Sign in",new mxGeometry(0,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;align=center;fontSize=14;fontColor=#FFFFFF;");k.geometry.relative=!0;k.geometry.offset=new mxPoint(0,220);k.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k],800,500,"Form")}),this.addEntry("bootstrap form controls",function(){var b=new mxCell("Email address",new mxGeometry(0,\r\n0,260,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;");b.vertex=!0;var c=new mxCell("name@example.com",new mxGeometry(0,0,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;var d=new mxCell("Example select",new mxGeometry(0,0,260,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;");d.geometry.relative=\r\n!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;var f=new mxCell("1",new mxGeometry(0,0,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,120);f.vertex=!0;var g=new mxCell("Example multiple select",new mxGeometry(0,0,260,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(0,\r\n160);g.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,800,100),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");h.geometry.relative=!0;h.geometry.offset=new mxPoint(0,200);h.vertex=!0;var k=new mxCell("",new mxGeometry(1,0,20,100),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;fillColor=#F1F1F1;strokeColor=#999999;");k.geometry.relative=!0;k.geometry.offset=new mxPoint(-20,\r\n0);k.vertex=!0;h.insert(k);var l=new mxCell("",new mxGeometry(0,0,16,45),"fillColor=#C1C1C1;strokeColor=none;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(2,20);l.vertex=!0;k.insert(l);l=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;fillColor=#C1C1C1;strokeColor=none;perimeter=none;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(5,7.5);l.vertex=!0;k.insert(l);l=new mxCell("",new mxGeometry(0,1,10,5),"shape=triangle;direction=south;fillColor=#505050;strokeColor=none;perimeter=none;");\r\nl.geometry.relative=!0;l.geometry.offset=new mxPoint(5,-12.5);l.vertex=!0;k.insert(l);k=new mxCell("1",new mxGeometry(0,0,780,20),"fillColor=none;strokeColor=none;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");k.geometry.relative=!0;k.geometry.offset=new mxPoint(0,10);k.vertex=!0;h.insert(k);k=new mxCell("2",new mxGeometry(0,0,780,20),"fillColor=none;strokeColor=none;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");k.geometry.relative=!0;k.geometry.offset=new mxPoint(0,30);k.vertex=\r\n!0;h.insert(k);k=new mxCell("3",new mxGeometry(0,0,780,20),"fillColor=none;strokeColor=none;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");k.geometry.relative=!0;k.geometry.offset=new mxPoint(0,50);k.vertex=!0;h.insert(k);k=new mxCell("4",new mxGeometry(0,0,780,20),"fillColor=none;strokeColor=none;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");k.geometry.relative=!0;k.geometry.offset=new mxPoint(0,70);k.vertex=!0;h.insert(k);k=new mxCell("Example textarea",new mxGeometry(0,0,260,40),\r\n"fillColor=none;strokeColor=none;align=left;fontSize=14;");k.geometry.relative=!0;k.geometry.offset=new mxPoint(0,310);k.vertex=!0;l=new mxCell("",new mxGeometry(0,0,800,90),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(0,350);l.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l],800,500,"Form controls")}),this.addEntry("bootstrap file input form",\r\nfunction(){var b=new mxCell("Example file input",new mxGeometry(0,0,150,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;");b.vertex=!0;var c=new mxCell("Choose File",new mxGeometry(0,40,90,30),"fillColor=#FEFEFE;strokeColor=#AAAAAA;fontSize=14;gradientColor=#F0F0F0;");c.vertex=!0;var d=new mxCell("No file chosen",new mxGeometry(90,40,100,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;spacing=5;");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],190,70,"File input form")}),\r\nthis.addEntry("bootstrap large dropdown button",function(){var b=new mxCell("Large select",new mxGeometry(0,0,800,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#505050;strokeWidth=1;fillColor=#ffffff;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=18;spacing=20;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#495057;strokeColor=none;perimeter=none;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Large dropdown button")}),this.addEntry("bootstrap default size dropdown button",function(){var b=new mxCell("Default select",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#505050;strokeWidth=1;fillColor=#ffffff;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacingRight=0;spacing=17;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#495057;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Default size dropdown button")}),this.addEntry("bootstrap small dropdown button",function(){var b=new mxCell("Small select",new mxGeometry(0,0,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#505050;strokeWidth=1;fillColor=#ffffff;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;spacing=15;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#495057;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Small dropdown button")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;strokeWidth=1;fillColor=#E9ECEF;fontColor=#505050;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=10;fontSize=14;",\r\n800,40,"Readonly input here...","Readonly input",null,null,this.getTagsForStencil("mxgraph.bootstrap","readonly input","bootstrap read only readonly input").join(" ")),this.addEntry("bootstrap readonly plain text",function(){var b=new mxCell("Email",new mxGeometry(0,0,150,40),"strokeColor=none;fillColor=none;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacing=15;");b.vertex=!0;var c=new mxCell("email@example.com",new mxGeometry(150,0,150,40),"strokeColor=none;fillColor=none;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;");\r\nc.vertex=!0;var d=new mxCell("Password",new mxGeometry(0,50,150,40),"strokeColor=none;fillColor=none;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacing=15;");d.vertex=!0;var f=new mxCell("",new mxGeometry(150,50,650,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#999999;fillColor=#ffffff;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacing=15;");f.vertex=!0;return a.createVertexTemplateFromCells([b,\r\nc,d,f],800,90,"Readonly plain text")}),this.addEntry("bootstrap readonly plain text",function(){var b=new mxCell("email@example.com",new mxGeometry(0,0,150,40),"strokeColor=none;fillColor=none;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;");b.vertex=!0;var c=new mxCell("Password",new mxGeometry(150,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#999999;fillColor=#ffffff;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=middle;fontStyle=0;fontSize=14;spacing=15;");\r\nc.vertex=!0;var d=new mxCell("Confirm identity",new mxGeometry(360,0,125,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#0085FC;fontColor=#ffffff;whiteSpace=wrap;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;spacing=14;");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],485,40,"Readonly plain text")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rangeInput;dx=0.78;strokeColor=#9D968E;fillColor=#E3DDD8;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=bottom;fontStyle=0;fontSize=14;labelPosition=center;verticalLabelPosition=top;gradientColor=#F4F2EF;gradientDirection=north;rangeStyle=rect;handleStyle=rect;",\r\n800,20,"Example range input","Range input",null,null,this.getTagsForStencil("mxgraph.bootstrap","range input","bootstrap range input").join(" ")),this.addEntry("bootstrap stacked checkboxes",function(){var b=new mxCell("Default checkbox",new mxGeometry(0,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=1;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nb.vertex=!0;var c=new mxCell("Disabled checkbox",new mxGeometry(0,20,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;fontColor=#6C767D;checkedFill=#0085FC;checkedStroke=#ffffff;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],150,30,"Stacked checkboxes")}),this.addEntry("bootstrap stacked radio buttons",function(){var b=new mxCell("Default radio",\r\nnew mxGeometry(0,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=1;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");b.vertex=!0;var c=new mxCell("Second default radio",new mxGeometry(0,20,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nc.vertex=!0;var d=new mxCell("Disabled radio",new mxGeometry(0,40,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;fontColor=#6C767D;checkedFill=#0085FC;checkedStroke=#ffffff;");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],150,50,"Stacked radio buttons")}),this.addEntry("bootstrap inline checkboxes",function(){var b=new mxCell("1",\r\nnew mxGeometry(0,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");b.vertex=!0;var c=new mxCell("2",new mxGeometry(50,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nc.vertex=!0;var d=new mxCell("(disabled)",new mxGeometry(100,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;strokeColor=#D0D0D0;spacing=5;fontColor=#6C767D;checkedFill=#0085FC;checkedStroke=#ffffff;");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],150,10,"Inline checkboxes")}),this.addEntry("bootstrap inline radio buttons",function(){var b=\r\nnew mxCell("1",new mxGeometry(0,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");b.vertex=!0;var c=new mxCell("2",new mxGeometry(50,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nc.vertex=!0;var d=new mxCell("(disabled)",new mxGeometry(100,0,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;strokeColor=#D0D0D0;spacing=5;fontColor=#6C767D;checkedFill=#0085FC;checkedStroke=#ffffff;");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],150,10,"Inline radio buttons")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;",\r\n10,10,"","Checkbox without label",null,null,this.getTagsForStencil("mxgraph.bootstrap","checkbox without label","bootstrap checkbox without no label").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;",10,10,"","Radio button without label",null,null,this.getTagsForStencil("mxgraph.bootstrap",\r\n"radio button without label","bootstrap radio button without no label").join(" ")),this.addEntry("bootstrap form groups",function(){var b=new mxCell("Example label",new mxGeometry(0,0,260,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");b.vertex=!0;var c=new mxCell("Example input placeholder",new mxGeometry(0,0,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;var d=new mxCell("Another label",new mxGeometry(0,0,260,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;var f=new mxCell("Another input placeholder",new mxGeometry(0,0,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nf.geometry.relative=!0;f.geometry.offset=new mxPoint(0,120);f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],800,150,"Form groups")}),this.addEntry("bootstrap form grid",function(){var b=new mxCell("First name",new mxGeometry(0,0,390,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");b.vertex=!0;var c=new mxCell("Last name",new mxGeometry(410,0,390,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([b,c],800,30,"Form grid")}),this.addEntry("bootstrap grid layout",function(){var b=new mxCell("Email",new mxGeometry(0,0,400,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,30,395,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");c.vertex=!0;var d=new mxCell("Password",\r\nnew mxGeometry(400,0,400,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");d.vertex=!0;var f=new mxCell("",new mxGeometry(405,30,395,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");f.vertex=!0;var g=new mxCell("Address",new mxGeometry(0,70,390,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");g.vertex=!0;var h=new mxCell("1234 Main St",\r\nnew mxGeometry(0,100,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");h.vertex=!0;var k=new mxCell("Address 2",new mxGeometry(0,140,390,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");k.vertex=!0;var l=new mxCell("Apartment, studio or floor",new mxGeometry(0,170,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nl.vertex=!0;var m=new mxCell("City",new mxGeometry(0,210,390,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");m.vertex=!0;var p=new mxCell("",new mxGeometry(0,240,390,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");p.vertex=!0;var n=new mxCell("State",new mxGeometry(410,210,220,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");\r\nn.vertex=!0;var q=new mxCell("Choose...",new mxGeometry(410,240,270,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");q.vertex=!0;var r=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#212529;strokeColor=none;perimeter=none;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(-17,-2.5);r.vertex=!0;q.insert(r);r=new mxCell("Zip",new mxGeometry(700,210,100,\r\n30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");r.vertex=!0;var u=new mxCell("",new mxGeometry(700,240,100,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");u.vertex=!0;var t=new mxCell("Check me out",new mxGeometry(0,290,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;checked=0;spacing=5;strokeColor=#999999;fontColor=#212529;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nt.vertex=!0;var v=new mxCell("Sign in",new mxGeometry(0,320,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;align=center;fontSize=14;fontColor=#FFFFFF;");v.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l,m,p,n,q,r,u,t,v],800,360,"Grid layout")}),this.addEntry("bootstrap horizontal form",function(){var b=new mxCell("Email",new mxGeometry(0,0,200,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(200,0,600,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");c.vertex=!0;var d=new mxCell("Password",new mxGeometry(0,40,200,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");d.vertex=!0;var f=new mxCell("",new mxGeometry(200,40,600,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nf.vertex=!0;var g=new mxCell("Radios",new mxGeometry(0,80,200,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");g.vertex=!0;var h=new mxCell("First radio",new mxGeometry(200,90,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#666666;checked=1;spacing=5;fontColor=#212529;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nh.vertex=!0;var k=new mxCell("Second radio",new mxGeometry(200,110,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#666666;checked=0;spacing=5;fontColor=#212529;checkedFill=#0085FC;checkedStroke=#ffffff;");k.vertex=!0;var l=new mxCell("Third disabled radio",new mxGeometry(200,130,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#D2D2D2;checked=0;spacing=5;fontColor=#7D868C;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nl.vertex=!0;var m=new mxCell("Checkbox",new mxGeometry(0,160,200,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");m.vertex=!0;var p=new mxCell("Example checkbox",new mxGeometry(200,170,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#666666;checked=1;spacing=5;fontColor=#212529;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\np.vertex=!0;var n=new mxCell("Sign in",new mxGeometry(0,200,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;align=center;fontSize=14;fontColor=#FFFFFF;");n.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l,m,p,n],800,200,"Horizontal form")}),this.addEntry("bootstrap horizontal form label sizing",function(){var b=new mxCell("Email",new mxGeometry(0,0,200,20),"fillColor=none;strokeColor=none;align=left;fontSize=12;fontColor=#212529;");\r\nb.vertex=!0;var c=new mxCell("col-form-label-sm",new mxGeometry(200,0,600,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=12;fontColor=#6C767D;");c.vertex=!0;var d=new mxCell("Email",new mxGeometry(0,35,200,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#212529;");d.vertex=!0;var f=new mxCell("col-form-label",new mxGeometry(200,35,600,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nf.vertex=!0;var g=new mxCell("Email",new mxGeometry(0,80,200,40),"fillColor=none;strokeColor=none;align=left;fontSize=16;fontColor=#212529;");g.vertex=!0;var h=new mxCell("col-form-label-lg",new mxGeometry(200,80,600,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=16;fontColor=#6C767D;");h.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,110,"Horizontal form label sizing")}),this.addEntry("bootstrap inline form",\r\nfunction(){var b=new mxCell("Jane Doe",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");b.vertex=!0;var c=new mxCell("Username",new mxGeometry(210,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;align=left;spacingLeft=50;fontSize=14;fontColor=#6C767D;");c.vertex=!0;var d=new mxCell("@",new mxGeometry(0,\r\n0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=#999999;fillColor=#f0f0f0;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Remember me",new mxGeometry(420,10,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#A6A6A6;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nd.vertex=!0;var f=new mxCell("Submit",new mxGeometry(530,0,60,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;align=center;spacing=15;fontSize=14;fontColor=#ffffff;");f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],590,30,"Inline form")}),this.addEntry("bootstrap inline form",function(){var b=new mxCell("Choose...",new mxGeometry(0,0,100,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=south;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,1);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=north;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-4);c.vertex=!0;b.insert(c);c=new mxCell("Remember my preference",new mxGeometry(110,10,10,10),\r\n"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#A6A6A6;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");c.vertex=!0;var d=new mxCell("Submit",new mxGeometry(280,0,60,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;align=center;spacing=15;fontSize=14;fontColor=#ffffff;");d.vertex=!0;return a.createVertexTemplateFromCells([b,\r\nc,d],340,30,"Inline form")}),this.addEntry("bootstrap help text",function(){var b=new mxCell("Password",new mxGeometry(0,0,260,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,40,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");c.vertex=!0;var d=new mxCell("Your password must be 8-20 characters long, contain letters and numbers and must not contain spaces, special characters or emoji.",\r\nnew mxGeometry(0,70,260,30),"fillColor=none;strokeColor=none;align=left;spacing=2;fontSize=12;fontColor=#999999;");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],800,100,"Help text")}),this.addEntry("bootstrap help text",function(){var b=new mxCell("Password",new mxGeometry(0,0,70,40),"fillColor=none;strokeColor=none;align=left;fontSize=14;");b.vertex=!0;var c=new mxCell("",new mxGeometry(80,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nc.vertex=!0;var d=new mxCell("Must be 8-20 characters long.",new mxGeometry(290,0,170,40),"fillColor=none;strokeColor=none;align=left;spacing=2;fontSize=12;fontColor=#999999;");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],460,40,"Help text")}),this.addEntry("bootstrap disabled forms",function(){var b=new mxCell("Disabled input",new mxGeometry(0,0,100,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;");b.vertex=!0;var c=new mxCell("Disabled input",new mxGeometry(0,30,800,40),\r\n"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#E9ECEF;strokeColor=#CED4DA;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");c.vertex=!0;var d=new mxCell("Disabled select menu",new mxGeometry(0,80,100,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;");d.vertex=!0;var f=new mxCell("Disabled select",new mxGeometry(0,110,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#E9ECEF;strokeColor=#CED4DA;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nf.vertex=!0;var g=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=south;fillColor=#343A40;strokeColor=none;perimeter=none;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(-17,1);g.vertex=!0;f.insert(g);g=new mxCell("Can\'t check this",new mxGeometry(0,170,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#A6A6A6;checked=0;spacing=5;fontColor=#6C767D;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\ng.vertex=!0;var h=new mxCell("Submit",new mxGeometry(0,200,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;align=center;spacing=15;fontSize=14;fontColor=#ffffff;");h.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,240,"Help text")}),this.addEntry("bootstrap custom styles",function(){var b=new mxCell("First name",new mxGeometry(0,0,100,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;");b.vertex=!0;var c=new mxCell("Mark",\r\nnew mxGeometry(0,30,260,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#CED4DA;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");c.vertex=!0;var d=new mxCell("Last name",new mxGeometry(270,0,100,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;");d.vertex=!0;var f=new mxCell("Otto",new mxGeometry(270,30,260,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#CED4DA;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");\r\nf.vertex=!0;var g=new mxCell("Username",new mxGeometry(540,0,100,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;");g.vertex=!0;var h=new mxCell("",new mxGeometry(540,30,260,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#CED4DA;align=left;spacingLeft=50;fontSize=14;fontColor=#6C767D;");h.vertex=!0;var k=new mxCell("@",new mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=#CED4DA;fillColor=#f0f0f0;whiteSpace=wrap;resizeHeight=1;fontColor=#495057;");\r\nk.geometry.relative=!0;k.vertex=!0;h.insert(k);k=new mxCell("City",new mxGeometry(0,80,100,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,110,390,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#CED4DA;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");l.vertex=!0;var m=new mxCell("State",new mxGeometry(400,80,100,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;");m.vertex=\r\n!0;var p=new mxCell("Choose...",new mxGeometry(400,110,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#CED4DA;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");p.vertex=!0;var n=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=south;fillColor=#343A40;strokeColor=none;perimeter=none;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(-17,1);n.vertex=!0;p.insert(n);n=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=north;fillColor=#343A40;strokeColor=none;perimeter=none;");\r\nn.geometry.relative=!0;n.geometry.offset=new mxPoint(-17,-4);n.vertex=!0;p.insert(n);n=new mxCell("Zip",new mxGeometry(610,80,190,30),"fillColor=none;strokeColor=none;align=left;fontSize=14;");n.vertex=!0;var q=new mxCell("",new mxGeometry(610,110,190,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#CED4DA;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");q.vertex=!0;var r=new mxCell("Agree to term and conditions",new mxGeometry(0,170,10,10),\r\n"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#A6A6A6;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");r.vertex=!0;var u=new mxCell("Submit form",new mxGeometry(0,200,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;align=center;spacing=15;fontSize=14;fontColor=#ffffff;");u.vertex=\r\n!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h,k,l,m,p,n,q,r,u],800,240,"Help text")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.switch;strokeColor=#ADB6BD;strokeWidth=1;fillColor=#ffffff;fontColor=#212529;onStrokeColor=#ffffff;onFillColor=#0085FC;align=left;verticalAlign=middle;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;buttonState=0;",20,10,"Toggle this switch element",null,null,this.getTagsForStencil("mxgraph.bootstrap","switch",\r\n"bootstrap switch").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.switch;strokeColor=#ADB6BD;strokeWidth=1;fillColor=#E9ECEF;fontColor=#7D868C;onStrokeColor=#ffffff;onFillColor=#0085FC;align=left;verticalAlign=middle;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;buttonState=0;",20,10,"Disabled switch element",null,null,this.getTagsForStencil("mxgraph.bootstrap","switch","bootstrap switch").join(" ")),this.addEntry("bootstrap select menu",\r\nfunction(){var b=new mxCell("Open this select menu",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#ffffff;strokeColor=#CED4DA;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=south;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,1);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,.5,7,3),\r\n"shape=triangle;direction=north;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-4);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Select menu")}),this.addEntry("bootstrap form controls",function(){var b=new mxCell("",new mxGeometry(0,0,800,100),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=none;strokeColor=#999999;align=left;spacing=15;fontSize=14;fontColor=#6C767D;");b.vertex=!0;\r\nvar c=new mxCell("",new mxGeometry(1,0,20,100),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;fillColor=#F1F1F1;strokeColor=#999999;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(0,0,16,45),"fillColor=#C1C1C1;strokeColor=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(2,20);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;fillColor=#C1C1C1;strokeColor=none;perimeter=none;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(5,7.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,1,10,5),"shape=triangle;direction=south;fillColor=#505050;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-12.5);d.vertex=!0;c.insert(d);c=new mxCell("Open this select menu",new mxGeometry(0,0,760,20),"fillColor=#C8C8C8;strokeColor=none;align=left;fontSize=14;fontColor=#323232;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,10);c.vertex=\r\n!0;b.insert(c);c=new mxCell("One",new mxGeometry(0,0,760,20),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#495057;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,30);c.vertex=!0;b.insert(c);c=new mxCell("Two",new mxGeometry(0,0,760,20),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#495057;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,50);c.vertex=!0;b.insert(c);c=new mxCell("Three",new mxGeometry(0,0,760,20),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#495057;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(10,70);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Form controls")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rangeInput;dx=0.6;strokeColor=#0085FC;fillColor=#DEE2E6;fontColor=#777777;whiteSpace=wrap;align=left;verticalAlign=bottom;fontStyle=0;fontSize=14;labelPosition=center;verticalLabelPosition=top;",800,20,"Example range ","Range input",null,null,\r\nthis.getTagsForStencil("mxgraph.bootstrap","range input","bootstrap range input").join(" ")),this.addEntry("bootstrap file browser",function(){var b=new mxCell("Choose file",new mxGeometry(0,0,800,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacingLeft=0;spacing=15;fontSize=14;");b.vertex=!0;var c=new mxCell("Browse",new mxGeometry(1,0,70,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-70,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,30,"File browser")}),this.addEntry("bootstrap basic input group",function(){var b=new mxCell("Username",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");b.vertex=!0;var c=new mxCell("@",new mxGeometry(0,\r\n0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.vertex=!0;b.insert(c);c=new mxCell("Recipient\'s username",new mxGeometry(0,60,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacingLeft=0;spacing=15;fontSize=14;");c.vertex=\r\n!0;var d=new mxCell("@example.com",new mxGeometry(1,0,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-120,0);d.vertex=!0;c.insert(d);d=new mxCell("Your vanity URL",new mxGeometry(0,110,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=none;fontColor=#212529;align=left;spacingLeft=0;fontSize=14;");\r\nd.vertex=!0;var f=new mxCell("",new mxGeometry(0,140,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");f.vertex=!0;var g=new mxCell("http://example.com/users/",new mxGeometry(0,0,190,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\ng.vertex=!0;f.insert(g);g=new mxCell("",new mxGeometry(0,200,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");g.vertex=!0;var h=new mxCell("$",new mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nh.vertex=!0;g.insert(h);h=new mxCell(".00",new mxGeometry(1,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");h.geometry.relative=!0;h.geometry.offset=new mxPoint(-40,0);h.vertex=!0;g.insert(h);h=new mxCell("",new mxGeometry(0,260,800,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");\r\nh.vertex=!0;var k=new mxCell("With textarea",new mxGeometry(0,0,100,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");k.vertex=!0;h.insert(k);return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,330,"Basic input group")}),this.addEntry("bootstrap input group with checkbox",function(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(.5,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#A6A6A6;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(-5,-5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],800,40,"Input groupwith checkbox")}),this.addEntry("bootstrap input group with radio button",function(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");b.vertex=!0;var c=new mxCell("",\r\nnew mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(.5,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton2;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;gradientColor=#DEDEDE;fillColor=#EDEDED;strokeColor=#A6A6A6;checked=0;spacing=5;checkedFill=#0085FC;checkedStroke=#ffffff;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(-5,-5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],800,40,"Input group with radio button")}),this.addEntry("bootstrap multiple input",function(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");b.vertex=!0;var c=new mxCell("First and last name",\r\nnew mxGeometry(0,0,140,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,0,370,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-370,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Multiple input")}),this.addEntry("bootstrap multiple addons",function(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");b.vertex=!0;var c=new mxCell("$",new mxGeometry(0,0,\r\n40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("0.00",new mxGeometry(0,0,60,40),"html=1;shadow=0;dashed=0;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=\r\nnew mxPoint(40,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Multiple addons")}),this.addEntry("bootstrap multiple addons",function(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");b.vertex=!0;var c=new mxCell("$",new mxGeometry(1,0,40,40),"html=1;shadow=0;dashed=0;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-100,0);c.vertex=!0;b.insert(c);c=new mxCell("0.00",new mxGeometry(1,0,60,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-60,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Multiple addons")}),this.addEntry("bootstrap button addon",\r\nfunction(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");b.vertex=!0;var c=new mxCell("Button",new mxGeometry(0,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Button addon")}),this.addEntry("bootstrap button addon right",function(){var b=new mxCell("Recipient\'s username",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacingLeft=0;spacing=15;fontSize=14;");b.vertex=!0;var c=new mxCell("Button",new mxGeometry(1,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-70,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Button addon right")}),this.addEntry("bootstrap two button addon",function(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");b.vertex=!0;var c=new mxCell("Button",new mxGeometry(0,\r\n0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,70,40),"html=1;shadow=0;dashed=0;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=\r\nnew mxPoint(70,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Two button addon")}),this.addEntry("bootstrap two button addon right",function(){var b=new mxCell("Recipient\'s username",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacingLeft=0;spacing=15;fontSize=14;");b.vertex=!0;var c=new mxCell("Button",new mxGeometry(1,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-70,0);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(1,0,70,40),"html=1;shadow=0;dashed=0;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-140,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Two button addon right")}),this.addEntry("bootstrap button with dropdown",\r\nfunction(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");b.vertex=!0;var c=new mxCell("Dropdown...",new mxGeometry(0,0,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#6C767D;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],800,40,"Button with dropdown")}),this.addEntry("bootstrap button with dropdown right",function(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("Dropdown...",new mxGeometry(1,0,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-120,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#6C767D;strokeColor=none;perimeter=none;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],800,40,"Button with dropdown right")}),this.addEntry("bootstrap segmented button addon",function(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");b.vertex=!0;var c=new mxCell("Action",\r\nnew mxGeometry(0,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,30,40),"html=1;shadow=0;dashed=0;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(70,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(.5,.5,10,5),"shape=triangle;direction=south;fillColor=#6C767D;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-5,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],800,40,"Segmented button addon")}),this.addEntry("bootstrap segmented button addon",function(){var b=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=40;fontSize=14;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(1,0,30,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(.5,.5,10,5),"shape=triangle;direction=south;fillColor=#6C767D;strokeColor=none;perimeter=none;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(-5,-2.5);d.vertex=!0;c.insert(d);c=new mxCell("Action",new mxGeometry(1,0,70,40),"html=1;shadow=0;dashed=0;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=inherit;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-100,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Segmented button addon")}),this.addEntry("bootstrap custom input group",\r\nfunction(){var b=new mxCell("Choose...",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacingLeft=80;spacing=15;fontSize=14;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=south;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,1);c.vertex=!0;b.insert(c);c=new mxCell("",\r\nnew mxGeometry(1,.5,7,3),"shape=triangle;direction=north;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-4);c.vertex=!0;b.insert(c);c=new mxCell("Options",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=#CED4DA;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");c.geometry.relative=!0;c.vertex=\r\n!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Custom input group")}),this.addEntry("bootstrap custom input group",function(){var b=new mxCell("Choose...",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;fontSize=14;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=south;fillColor=#343A40;strokeColor=none;perimeter=none;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-97,1);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=north;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-97,-4);c.vertex=!0;b.insert(c);c=new mxCell("Options",new mxGeometry(1,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#CED4DA;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Custom input group")}),this.addEntry("bootstrap custom input group",function(){var b=new mxCell("Choose...",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacingLeft=80;spacing=15;fontSize=14;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,\r\n.5,7,3),"shape=triangle;direction=south;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,1);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=north;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-4);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=#ffffff;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Custom input group")}),this.addEntry("bootstrap custom input group",function(){var b=new mxCell("Choose...",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;fontSize=14;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=south;fillColor=#343A40;strokeColor=none;perimeter=none;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-97,1);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,.5,7,3),"shape=triangle;direction=north;fillColor=#343A40;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-97,-4);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(1,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=#ffffff;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Custom input group")}),this.addEntry("bootstrap custom input group",function(){var b=new mxCell("Choose file",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=80;fontSize=14;");b.vertex=!0;var c=new mxCell("Upload",\r\nnew mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=#CED4DA;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Browse",new mxGeometry(1,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#CED4DA;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Custom input group")}),this.addEntry("bootstrap custom input group",function(){var b=new mxCell("Choose file",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;fontSize=14;");b.vertex=!0;var c=new mxCell("Upload",new mxGeometry(1,\r\n0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#CED4DA;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,0);c.vertex=!0;b.insert(c);c=new mxCell("Browse",new mxGeometry(1,0,80,40),"html=1;shadow=0;dashed=0;strokeColor=#CED4DA;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-160,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Custom input group")}),this.addEntry("bootstrap custom input group",function(){var b=new mxCell("Choose file",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;spacingLeft=80;fontSize=14;");b.vertex=!0;var c=new mxCell("Button",\r\nnew mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=#ffffff;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Browse",new mxGeometry(1,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#CED4DA;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Custom input group")}),this.addEntry("bootstrap custom input group",function(){var b=new mxCell("Choose file",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacing=15;fontSize=14;");b.vertex=!0;var c=new mxCell("Browse",new mxGeometry(1,\r\n0,80,40),"html=1;shadow=0;dashed=0;strokeColor=#CED4DA;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-160,0);c.vertex=!0;b.insert(c);c=new mxCell("Button",new mxGeometry(1,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;strokeColor=#6C757D;gradientColor=inherit;fontColor=inherit;fillColor=#ffffff;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=15;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],800,40,"Custom input group")}),this.addEntry("bootstrap jumbotron",function(){var b=new mxCell(\'<font style="font-size: 40px">Hello, world!</font><br><br>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.\',new mxGeometry(0,0,800,300),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#E9ECEF;fontColor=#474E4F;align=left;spacing=15;fontSize=14;verticalAlign=top;spacingTop=40;");\r\nb.vertex=!0;var c=new mxCell("It uses utility classes for typography and spacing to space content out within the larger container.",new mxGeometry(0,0,770,10),"shape=line;html=1;shadow=0;dashed=0;strokeColor=#CED4DA;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;align=left;spacing=2;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;spacingTop=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,\r\n150);c.vertex=!0;b.insert(c);c=new mxCell("Learn more",new mxGeometry(0,1,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;align=center;spacing=15;fontSize=14;fontColor=#ffffff;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-80);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Jumbotron")}),this.addEntry("bootstrap fluid jumbotron",function(){var b=new mxCell(\'<font style="font-size: 40px">Fluid jumbotron</font><br><br>This is a modified jumbotron that occupies the entire horizontal space of its parent.\',\r\nnew mxGeometry(0,0,800,220),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#E9ECEF;fontColor=#474E4F;align=left;spacing=15;fontSize=14;verticalAlign=top;spacingTop=40;");b.vertex=!0;return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Fluid jumbotron")}),this.addEntry("bootstrap list group",function(){var b=new mxCell("",new mxGeometry(0,0,200,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");\r\nb.vertex=!0;var c=new mxCell("Cras justo odio",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("Morbi leo risus",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("Porta ac consectetur ac",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);c=new mxCell("Vestibulum at eros",new mxGeometry(0,1,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"List group")}),this.addEntry("bootstrap list group with active item",function(){var b=new mxCell("",new mxGeometry(0,0,200,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Cras justo odio",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#0085FC;fontColor=#ffffff;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("Morbi leo risus",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("Porta ac consectetur ac",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);c=new mxCell("Vestibulum at eros",new mxGeometry(0,1,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"List group with active item")}),this.addEntry("bootstrap list group with disabled item",function(){var b=new mxCell("",new mxGeometry(0,0,200,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Cras justo odio",\r\nnew mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=inherit;fillColor=#ffffff;fontColor=#6C767D;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("Morbi leo risus",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("Porta ac consectetur ac",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);c=new mxCell("Vestibulum at eros",new mxGeometry(0,1,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"List group with disabled item")}),this.addEntry("bootstrap list group flush",function(){var b=new mxCell("Cras justo odio",new mxGeometry(0,0,200,30),"html=1;strokeColor=none;fillColor=none;fontColor=#212529;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");b.vertex=!0;var c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,30,200,30),"shape=partialRectangle;whiteSpace=wrap;left=0;right=0;fillColor=none;strokeColor=#DFDFDF;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.vertex=!0;var d=new mxCell("Morbi leo risus",new mxGeometry(0,60,200,30),"shape=partialRectangle;whiteSpace=wrap;left=0;right=0;fillColor=none;strokeColor=#DFDFDF;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");d.vertex=!0;var f=new mxCell("Porta ac consectetur ac",new mxGeometry(0,90,200,30),"shape=partialRectangle;whiteSpace=wrap;left=0;right=0;fillColor=none;strokeColor=#DFDFDF;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nf.vertex=!0;var g=new mxCell("Vestibulum at eros",new mxGeometry(0,120,200,30),"html=1;strokeColor=none;fillColor=none;fontColor=#212529;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");g.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],200,150,"List group flush")}),this.addEntry("bootstrap list group horizontal",function(){var b=new mxCell("",new mxGeometry(0,0,360,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#212529;");\r\nb.vertex=!0;var c=new mxCell("Cras justo odio",new mxGeometry(0,0,110,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Dapibus ac facilis in",new mxGeometry(0,0,140,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(110,0);c.vertex=!0;b.insert(c);c=new mxCell("Morbi leo risus",new mxGeometry(1,0,110,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-110,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,\r\n"List Group, horizontal")}),this.addEntry("bootstrap contextual classes",function(){var b=new mxCell("",new mxGeometry(0,0,250,270),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,250,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("A simple primary list group item",new mxGeometry(0,0,250,30),"html=1;fillColor=#B8DCFE;strokeColor=#A1C0DE;fontColor=#004583;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("A simple secondary list group item",new mxGeometry(0,0,250,30),"html=1;fillColor=#D6D8DB;strokeColor=#BBBDC0;fontColor=#383D41;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("A simple success list group item",new mxGeometry(0,0,250,30),"html=1;fillColor=#C4E6CC;strokeColor=#ABC9B2;fontColor=#ABC9B2;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);c=new mxCell("A simple danger list group item",new mxGeometry(0,0,250,30),"html=1;fillColor=#F4C5CB;strokeColor=#D5ACB2;fontColor=#711623;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,120);c.vertex=!0;b.insert(c);c=new mxCell("A simple warning list group item",new mxGeometry(0,0,250,30),"html=1;fillColor=#FFECBC;strokeColor=#DFCEA4;fontColor=#856110;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,150);c.vertex=!0;b.insert(c);c=new mxCell("A simple info list group item",new mxGeometry(0,0,250,30),"html=1;fillColor=#BFE6EB;strokeColor=#A7C9CE;fontColor=#0E5560;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,180);c.vertex=!0;b.insert(c);c=new mxCell("A simple light list group item",new mxGeometry(0,0,250,30),"html=1;fillColor=#FDFDFE;strokeColor=#DDDDDE;fontColor=#818182;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,210);c.vertex=!0;b.insert(c);c=new mxCell("A simple dark list group item",new mxGeometry(0,1,250,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;fillColor=#C6C8CA;strokeColor=#ADAFB1;fontColor=#1B1E21;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Contextual classes")}),this.addEntry("bootstrap list group with badges",function(){var b=new mxCell("",new mxGeometry(0,0,300,120),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Cras justo odio",new mxGeometry(0,\r\n0,300,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("14",new mxGeometry(1,.5,25,16),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=8;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;whiteSpace=wrap;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,-8);d.vertex=!0;c.insert(d);c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,300,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);d=new mxCell("2",new mxGeometry(1,.5,20,16),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=8;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;whiteSpace=wrap;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(-38,-8);d.vertex=!0;c.insert(d);c=new mxCell("Morbi leo risus",new mxGeometry(0,1,300,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-40);c.vertex=!0;b.insert(c);d=new mxCell("1",new mxGeometry(1,.5,20,\r\n16),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=8;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-38,-8);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"List group with badges")}),this.addEntry("bootstrap custom content",function(){var b=new mxCell("",new mxGeometry(0,0,300,\r\n300),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#495057;");b.vertex=!0;var c=new mxCell(\'<font style="font-size: 16px">List group item heading</font><br><br>Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.<br><font style="font-size: 11px">Donec id elit mi porta.</font>\',new mxGeometry(0,0,300,100),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;verticalAlign=top;fillColor=#0085FC;strokeColor=#0085FC;fontColor=#ffffff;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("3 days ago",new mxGeometry(1,0,90,40),"strokeColor=none;fillColor=none;fontColor=#ffffff;fontSize=11;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-90,0);d.vertex=!0;c.insert(d);c=new mxCell(\'<font style="font-size: 16px">List group item heading</font><br><br>Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.<br><font style="font-size: 11px">Donec id elit mi porta.</font>\',new mxGeometry(0,\r\n0,300,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,100);c.vertex=!0;b.insert(c);d=new mxCell("3 days ago",new mxGeometry(1,0,90,40),"strokeColor=none;fillColor=none;fontColor=#6C767D;fontSize=11;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-90,0);d.vertex=!0;c.insert(d);c=new mxCell(\'<font style="font-size: 16px">List group item heading</font><br><br>Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.<br><font style="font-size: 11px">Donec id elit mi porta.</font>\',\r\nnew mxGeometry(0,1,300,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-100);c.vertex=!0;b.insert(c);d=new mxCell("3 days ago",new mxGeometry(1,0,90,40),"strokeColor=none;fillColor=none;fontColor=#6C767D;fontSize=11;");d.geometry.relative=!0;d.geometry.offset=\r\nnew mxPoint(-90,0);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Custom content")}),this.addEntry("bootstrap list group",function(){var b=new mxCell("",new mxGeometry(0,0,200,120),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Home",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#0085FC;fontColor=#ffffff;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Profile",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);c=new mxCell("Messages",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("Settings",new mxGeometry(0,1,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);c=new mxCell("Velit aute mollit ipsum ad dolor consectetur nulla officia culpa adipisicing exercitation fugiat tempor. Voluptate deserunt sit sunt nisi aliqua fugiat proident ea ut. Mollit voluptate reprehenderit occaecat nisi ad non minim tempor sunt voluptate consectetur exercitation id ut nulla. Ea et fugiat aliquip nostrud sunt incididunt consectetur culpa aliquip eiusmod dolor. Anim ad Lorem aliqua in cupidatat nisi enim eu nostrud do aliquip veniam minim.",\r\nnew mxGeometry(220,0,580,100),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],800,120,"List group")}),this.addEntry("bootstrap media object",function(){var b=new mxCell("64x64",new mxGeometry(0,0,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");b.vertex=!0;var c=new mxCell(\'<font style="font-size: 20px">Media heading</font><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\',\r\nnew mxGeometry(74,0,726,90),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],800,90,"Media object")}),this.addEntry("bootstrap nested media objects",function(){var b=new mxCell("64x64",new mxGeometry(0,0,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");b.vertex=!0;var c=new mxCell(\'<font style="font-size: 20px">Media heading</font><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\',\r\nnew mxGeometry(74,0,726,90),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");c.vertex=!0;var d=new mxCell("64x64",new mxGeometry(74,90,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");d.vertex=!0;var f=new mxCell(\'<font style="font-size: 20px">Media heading</font><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\',\r\nnew mxGeometry(148,90,652,90),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],800,180,"Nested media object")}),this.addEntry("bootstrap top aligned media",function(){var b=new mxCell("64x64",new mxGeometry(0,0,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");b.vertex=!0;var c=new mxCell(\'<font style="font-size: 18px">Top-aligned media</font><br><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.<br><br>Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\',\r\nnew mxGeometry(74,0,726,150),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],800,150,"Top-aligned media")}),this.addEntry("bootstrap center aligned media",function(){var b=new mxCell("64x64",new mxGeometry(0,43,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");b.vertex=!0;var c=new mxCell(\'<font style="font-size: 18px">Center-aligned media</font><br><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.<br><br>Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\',\r\nnew mxGeometry(74,0,726,150),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],800,150,"Center-aligned media")}),this.addEntry("bootstrap bottom aligned media",function(){var b=new mxCell("64x64",new mxGeometry(0,86,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");b.vertex=!0;var c=new mxCell(\'<font style="font-size: 18px">Bottom-aligned media</font><br><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.<br><br>Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\',\r\nnew mxGeometry(74,0,726,150),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],800,150,"Bottom-aligned media")}),this.addEntry("bootstrap media object",function(){var b=new mxCell("64x64",new mxGeometry(736,0,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");b.vertex=!0;var c=new mxCell(\'<font style="font-size: 20px">Media object</font><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\',\r\nnew mxGeometry(0,0,726,90),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],800,90,"Media object")}),this.addEntry("bootstrap media list",function(){var b=new mxCell("64x64",new mxGeometry(0,0,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");b.vertex=!0;var c=new mxCell(\'<font style="font-size: 20px">List-based media object</font><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\',\r\nnew mxGeometry(74,0,726,90),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");c.vertex=!0;var d=new mxCell("64x64",new mxGeometry(0,100,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");d.vertex=!0;var f=new mxCell(\'<font style="font-size: 20px">List-based media object</font><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\',\r\nnew mxGeometry(74,100,726,90),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");f.vertex=!0;var g=new mxCell("64x64",new mxGeometry(0,200,64,64),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=#868E96;fontColor=#DEE2E6;");g.vertex=!0;var h=new mxCell(\'<font style="font-size: 20px">List-based media object</font><br>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\',\r\nnew mxGeometry(74,200,726,90),"strokeColor=none;fillColor=none;fontColor=#000000;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=2;fontSize=14;verticalAlign=top;html=1;");h.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g,h],800,290,"Media list")}),this.addEntry("bootstrap modal title",function(){var b=new mxCell("Modal title",new mxGeometry(0,0,400,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;html=1;strokeColor=#C8C8C8;fillColor=#ffffff;whiteSpace=wrap;verticalAlign=top;align=left;fontSize=18;spacing=15;spacingTop=-5;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,400,10),"shape=line;strokeColor=#dddddd;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,50);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,0,8,8),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#868686;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-24,20);c.vertex=!0;b.insert(c);c=new mxCell("Modal body text goes here.",new mxGeometry(0,0,400,40),"strokeColor=none;fillColor=none;resizeWidth=1;align=left;verticalAlign=top;spacing=10;fontSize=13;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,400,10),"shape=line;strokeColor=#dddddd;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,120);c.vertex=!0;b.insert(c);c=new mxCell("Save changes",new mxGeometry(1,1,110,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;fontColor=#FFFFFF;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-130,\r\n-60);c.vertex=!0;b.insert(c);c=new mxCell("Close",new mxGeometry(1,1,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C757D;strokeColor=none;fontColor=#FFFFFF;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-220,-60);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Modal title")}),this.addEntry("bootstrap modal title",function(){var b=new mxCell("Modal title",new mxGeometry(0,0,400,510),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;html=1;strokeColor=#C8C8C8;fillColor=#ffffff;whiteSpace=wrap;verticalAlign=top;align=left;fontSize=18;spacing=15;spacingTop=-5;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,400,10),"shape=line;strokeColor=#dddddd;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,50);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,0,8,8),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#868686;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-24,20);c.vertex=!0;b.insert(c);c=new mxCell("Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.<br><br>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.<br><br>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.<br><br>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.<br><br>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.",\r\nnew mxGeometry(0,0,400,350),"strokeColor=none;fillColor=none;resizeWidth=1;align=left;verticalAlign=top;spacing=10;fontSize=14;whiteSpace=wrap;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,410,10),"shape=line;strokeColor=#dddddd;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,420);c.vertex=!0;b.insert(c);c=new mxCell("Save changes",new mxGeometry(1,1,110,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;fontColor=#FFFFFF;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-130,-60);c.vertex=!0;b.insert(c);c=new mxCell("Close",new mxGeometry(1,1,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C757D;strokeColor=none;fontColor=#FFFFFF;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-220,-60);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Modal title")}),this.addEntry("bootstrap modal title",function(){var b=\r\nnew mxCell("Modal title",new mxGeometry(0,0,400,340),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;html=1;strokeColor=#C8C8C8;fillColor=#ffffff;whiteSpace=wrap;verticalAlign=top;align=left;fontSize=18;spacing=15;spacingTop=-5;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,400,10),"shape=line;strokeColor=#dddddd;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,50);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,0,8,8),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#868686;strokeWidth=2;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-24,20);c.vertex=!0;b.insert(c);c=new mxCell("Popover in a modal",new mxGeometry(0,0,400,50),"strokeColor=none;fillColor=none;resizeWidth=1;align=left;verticalAlign=top;spacing=10;fontSize=18;whiteSpace=wrap;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("This is a",new mxGeometry(0,0,70,40),"strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacing=2;fontSize=14;whiteSpace=wrap;html=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,110);c.vertex=!0;b.insert(c);c=new mxCell("button",new mxGeometry(0,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C757D;strokeColor=none;fontColor=#FFFFFF;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(70,110);c.vertex=!0;b.insert(c);c=new mxCell("in a modal dialog.",new mxGeometry(0,0,200,40),"strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacing=10;fontSize=14;whiteSpace=wrap;html=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(140,110);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,400,10),"shape=line;strokeColor=#dddddd;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,160);c.vertex=!0;b.insert(c);c=new mxCell("Tooltips in a modal",new mxGeometry(0,0,400,40),"strokeColor=none;fillColor=none;resizeWidth=1;align=left;verticalAlign=top;spacing=10;fontSize=18;whiteSpace=wrap;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,\r\n170);c.vertex=!0;b.insert(c);c=new mxCell(\'<font color="#0085fc">This link</font> and <font color="#0085fc">another link </font>are in a modal dialog.\',new mxGeometry(0,0,400,40),"strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacing=10;fontSize=14;whiteSpace=wrap;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,210);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,400,10),"shape=line;strokeColor=#dddddd;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=\r\nnew mxPoint(0,260);c.vertex=!0;b.insert(c);c=new mxCell("Save changes",new mxGeometry(1,1,110,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;fontColor=#FFFFFF;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-130,-60);c.vertex=!0;b.insert(c);c=new mxCell("Close",new mxGeometry(1,1,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C757D;strokeColor=none;fontColor=#FFFFFF;fontSize=14;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(-220,-60);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Modal title")}),this.addEntry("bootstrap modal content",function(){var b=new mxCell("New message to @mdo",new mxGeometry(0,0,400,370),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;html=1;strokeColor=#C8C8C8;fillColor=#ffffff;whiteSpace=wrap;verticalAlign=top;align=left;fontSize=18;spacing=15;spacingTop=-5;");b.vertex=!0;var c=new mxCell("",\r\nnew mxGeometry(0,0,400,10),"shape=line;strokeColor=#dddddd;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,50);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,0,8,8),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#868686;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-24,20);c.vertex=!0;b.insert(c);c=new mxCell("Recipient:",new mxGeometry(0,0,400,40),"strokeColor=none;fillColor=none;resizeWidth=1;align=left;verticalAlign=top;spacing=10;fontSize=14;whiteSpace=wrap;html=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("@mdo",new mxGeometry(0,0,380,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;fillColor=none;align=left;verticalAlign=middle;spacing=10;fontSize=14;whiteSpace=wrap;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,100);c.vertex=!0;b.insert(c);c=new mxCell("Message:",new mxGeometry(0,0,400,40),"strokeColor=none;fillColor=none;resizeWidth=1;align=left;verticalAlign=top;spacing=10;fontSize=14;whiteSpace=wrap;html=1;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,160);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,380,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;fillColor=none;align=left;verticalAlign=middle;spacing=10;fontSize=14;whiteSpace=wrap;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,200);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,400,10),"shape=line;strokeColor=#dddddd;resizeWidth=1;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(0,290);c.vertex=!0;b.insert(c);c=new mxCell("Save changes",new mxGeometry(1,1,110,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;fontColor=#FFFFFF;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-130,-60);c.vertex=!0;b.insert(c);c=new mxCell("Close",new mxGeometry(1,1,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C757D;strokeColor=none;fontColor=#FFFFFF;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-220,-60);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Modal conent")}),this.addEntry("bootstrap horizontal navigation",function(){var b=new mxCell("Active",new mxGeometry(0,0,80,30),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;");b.vertex=!0;var c=new mxCell("Link",new mxGeometry(80,0,60,30),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;");c.vertex=!0;\r\nvar d=new mxCell("Link",new mxGeometry(140,0,60,30),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;");d.vertex=!0;var f=new mxCell("Disabled",new mxGeometry(200,0,80,30),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#7D868C;");f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],280,30,"Horizontal navigation")}),this.addEntry("bootstrap vertical navigation",function(){var b=new mxCell("Active",new mxGeometry(0,0,80,30),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;align=left;spacing=10;");\r\nb.vertex=!0;var c=new mxCell("Link",new mxGeometry(0,40,80,30),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;align=left;spacing=10;");c.vertex=!0;var d=new mxCell("Link",new mxGeometry(0,80,80,30),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;align=left;spacing=10;");d.vertex=!0;var f=new mxCell("Disabled",new mxGeometry(0,120,80,30),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#7D868C;align=left;spacing=10;");f.vertex=!0;return a.createVertexTemplateFromCells([b,\r\nc,d,f],80,150,"Vertical navigation")}),this.addEntry("bootstrap tabs",function(){var b=new mxCell("Active",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.tabTop;strokeColor=#DFDFDF;fillColor=#ffffff;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#4B5259;");b.vertex=!0;var c=new mxCell("Link",new mxGeometry(85,0,50,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;");\r\nc.vertex=!0;var d=new mxCell("Link",new mxGeometry(145,0,50,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;");d.vertex=!0;var f=new mxCell("Disabled",new mxGeometry(200,0,60,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;fontColor=#4B5259;");f.vertex=!0;var g=new mxCell("",new mxGeometry(80,35,700,10),"shape=line;strokeColor=#dddddd;");\r\ng.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],780,45,"Tabs")}),this.addEntry("bootstrap navigation pills",function(){var b=new mxCell("Active",new mxGeometry(0,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;fontSize=14;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("Link",new mxGeometry(70,0,60,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;");c.vertex=!0;var d=new mxCell("Link",new mxGeometry(130,\r\n0,60,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;");d.vertex=!0;var f=new mxCell("Disabled",new mxGeometry(190,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#7D868C;");f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],280,40,"Navigation pills")}),this.addEntry("bootstrap tabs with dropdown",function(){var b=new mxCell("Active",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.tabTop;strokeColor=#DFDFDF;fillColor=#ffffff;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#4B5259;");\r\nb.vertex=!0;var c=new mxCell("Dropdown",new mxGeometry(85,0,100,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;spacingRight=10;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#0085FC;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);d=new mxCell("Link",new mxGeometry(195,0,50,\r\n40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;");d.vertex=!0;var f=new mxCell("Disabled",new mxGeometry(250,0,60,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;fontColor=#4B5259;");f.vertex=!0;var g=new mxCell("",new mxGeometry(80,35,700,10),"shape=line;strokeColor=#dddddd;");g.vertex=!0;return a.createVertexTemplateFromCells([b,\r\nc,d,f,g],780,45,"Tabs with dropdown")}),this.addEntry("bootstrap navigation pills with dropdown",function(){var b=new mxCell("Active",new mxGeometry(0,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;fontSize=14;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("Dropdown",new mxGeometry(80,0,100,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;spacingRight=10;");\r\nc.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#0085FC;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);d=new mxCell("Link",new mxGeometry(180,0,60,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;");d.vertex=!0;var f=new mxCell("Disabled",new mxGeometry(240,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#7D868C;");f.vertex=!0;return a.createVertexTemplateFromCells([b,\r\nc,d,f],280,40,"Navigation pills with dropdown")}),this.addEntry("bootstrap tabs with description",function(){var b=new mxCell("Home ",new mxGeometry(0,0,80,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.tabTop;strokeColor=#DFDFDF;fillColor=#ffffff;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#4B5259;");b.vertex=!0;var c=new mxCell("Profile",new mxGeometry(85,0,50,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;");\r\nc.vertex=!0;var d=new mxCell("Contact",new mxGeometry(145,0,50,40),"strokeColor=none;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=20;fontSize=14;fontColor=#0085FC;");d.vertex=!0;var f=new mxCell("",new mxGeometry(80,35,700,10),"shape=line;strokeColor=#dddddd;");f.vertex=!0;var g=new mxCell("Raw denim you probably haven\'t heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.",\r\nnew mxGeometry(0,55,780,80),"strokeColor=none;fillColor=none;whiteSpace=wrap;html=1;align=left;verticalAlign=top;fontSize=14;");g.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],780,135,"Tabs with description")}),this.addEntry("bootstrap navigation pills with description",function(){var b=new mxCell("Home",new mxGeometry(0,0,60,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;fontSize=14;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("Profile",\r\nnew mxGeometry(60,0,70,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;");c.vertex=!0;var d=new mxCell("Contact",new mxGeometry(130,0,60,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;");d.vertex=!0;var f=new mxCell("Raw denim you probably haven\'t heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.",\r\nnew mxGeometry(0,55,780,80),"strokeColor=none;fillColor=none;whiteSpace=wrap;html=1;align=left;verticalAlign=top;fontSize=14;");f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],780,135,"Navigation pills with description")}),this.addEntry("bootstrap vertical navigation pills with description",function(){var b=new mxCell("Home",new mxGeometry(0,0,220,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;fontSize=14;fontColor=#ffffff;align=left;spacing=15;");\r\nb.vertex=!0;var c=new mxCell("Profile",new mxGeometry(0,40,220,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;align=left;spacing=15;");c.vertex=!0;var d=new mxCell("Messages",new mxGeometry(0,80,220,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;align=left;spacing=15;");d.vertex=!0;var f=new mxCell("Settings",new mxGeometry(0,120,220,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#0085FC;align=left;spacing=15;");f.vertex=!0;var g=new mxCell("Cillum ad ut irure tempor velit nostrud occaecat ullamco aliqua anim Lorem sint. Veniam sint duis incididunt do esse magna mollit excepteur laborum qui. Id id reprehenderit sit est eu aliqua occaecat quis et velit excepteur laborum mollit dolore eiusmod. Ipsum dolor in occaecat commodo et voluptate minim reprehenderit mollit pariatur. Deserunt non laborum enim et cillum eu deserunt excepteur ea incididunt minim occaecat.",\r\nnew mxGeometry(240,0,560,160),"strokeColor=none;fillColor=none;whiteSpace=wrap;html=1;align=left;verticalAlign=top;fontSize=14;");g.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f,g],800,160,"Vertical navigation pills with description")}),this.addEntry("bootstrap navbar",function(){var b=new mxCell("Navbar",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#F8F9FA;strokeColor=none;fontSize=16;fontColor=#181819;align=left;spacing=15;");b.vertex=!0;var c=new mxCell("Home",new mxGeometry(0,\r\n0,70,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#181819;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(70,10);c.vertex=!0;b.insert(c);c=new mxCell("Link",new mxGeometry(0,0,50,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#7C7C7D;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(140,10);c.vertex=!0;b.insert(c);c=new mxCell("Dropdown",new mxGeometry(0,0,100,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#7C7C7D;align=right;spacingRight=20;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(190,10);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#7C7C7D;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);c=new mxCell("Disabled",new mxGeometry(0,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#ADAEAF;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(290,10);c.vertex=\r\n!0;b.insert(c);c=new mxCell("Search",new mxGeometry(1,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#33A64C;strokeColor=#33A64C;fillColor=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,10);c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(1,0,180,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#6C767D;strokeColor=#CED4DA;fillColor=#ffffff;align=left;spacing=10;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(-270,10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar")}),this.addEntry("bootstrap navbar with image",function(){var b=new mxCell("",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#F8F9FA;strokeColor=none;fontSize=16;fontColor=#181819;align=left;spacing=2;spacingLeft=55;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.logo;fillColor=#54407A;strokeColor=none;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(10,10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar with image")}),this.addEntry("bootstrap navbar with image",function(){var b=new mxCell("Bootstrap",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#F8F9FA;strokeColor=none;fontSize=16;fontColor=#181819;align=left;spacing=2;spacingLeft=55;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.logo;fillColor=#54407A;strokeColor=none;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(10,10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar with image")}),this.addEntry("bootstrap navbar with forms",function(){var b=new mxCell("",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#F8F9FA;strokeColor=none;fontSize=16;fontColor=#181819;align=left;spacing=15;");b.vertex=!0;var c=new mxCell("Search",new mxGeometry(0,0,180,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#6C767D;strokeColor=#CED4DA;fillColor=#ffffff;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(10,10);c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(0,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#33A64C;strokeColor=#33A64C;fillColor=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar with forms")}),this.addEntry("bootstrap navbar",function(){var b=new mxCell("Navbar",\r\nnew mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#F8F9FA;strokeColor=none;fontSize=16;fontColor=#181819;align=left;spacing=15;");b.vertex=!0;var c=new mxCell("Search",new mxGeometry(1,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#33A64C;strokeColor=#33A64C;fillColor=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,10);c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(1,0,180,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#6C767D;strokeColor=#CED4DA;fillColor=#ffffff;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-270,10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar")}),this.addEntry("bootstrap navbar with input group",function(){var b=new mxCell("",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#F8F9FA;strokeColor=none;fontSize=16;fontColor=#181819;align=left;spacing=15;");b.vertex=!0;var c=new mxCell("Username",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#CED4DA;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#7D868C;align=left;spacingLeft=50;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(10,10);c.vertex=!0;b.insert(c);var d=new mxCell("@",new mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;strokeColor=inherit;gradientColor=inherit;fontColor=inherit;fillColor=#E9ECEF;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar with input group")}),this.addEntry("bootstrap navbar with varying button sizes",\r\nfunction(){var b=new mxCell("",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#F8F9FA;strokeColor=none;fontSize=16;fontColor=#181819;align=left;spacing=15;");b.vertex=!0;var c=new mxCell("Main button",new mxGeometry(0,0,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#33A64C;html=1;whiteSpace=wrap;fillColor=none;fontColor=#33A64C;align=center;spacingLeft=0;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,10);c.vertex=!0;b.insert(c);\r\nc=new mxCell("Smaller button",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;;strokeColor=#6C767D;fontColor=#848D92;fillColor=none;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(130,15);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar with varying button sizes")}),this.addEntry("bootstrap navbar with inline element",function(){var b=\r\nnew mxCell("Navbar text with an inline element",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#F8F9FA;strokeColor=none;fontSize=16;fontColor=#7C7C7D;align=left;spacing=15;");b.vertex=!0;return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar with inline element")}),this.addEntry("bootstrap navbar with text",function(){var b=new mxCell("Navbar text with an inline element",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#F8F9FA;strokeColor=none;fontSize=16;fontColor=#7C7C7D;align=right;spacing=15;");\r\nb.vertex=!0;var c=new mxCell("Navbar w/ text",new mxGeometry(0,0,130,40),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=none;fontColor=#181819;align=left;fontSize=16;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,10);c.vertex=!0;b.insert(c);c=new mxCell("Home",new mxGeometry(0,0,60,40),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=none;fontColor=#181819;align=left;fontSize=14;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(140,10);c.vertex=!0;b.insert(c);\r\nc=new mxCell("Features",new mxGeometry(0,0,80,40),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=none;fontColor=#7C7C7D;align=left;fontSize=14;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,10);c.vertex=!0;b.insert(c);c=new mxCell("Pricing",new mxGeometry(0,0,60,40),"strokeColor=none;html=1;whiteSpace=wrap;fillColor=none;fontColor=#7C7C7D;align=left;fontSize=14;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(280,10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"Navbar with text")}),this.addEntry("bootstrap navbar dark",function(){var b=new mxCell("Navbar",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#343A40;strokeColor=none;fontSize=16;fontColor=#ffffff;align=left;spacing=15;");b.vertex=!0;var c=new mxCell("Home",new mxGeometry(0,0,70,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#ffffff;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(70,10);c.vertex=!0;b.insert(c);c=\r\nnew mxCell("Features",new mxGeometry(0,0,70,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#9A9DA0;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(140,10);c.vertex=!0;b.insert(c);c=new mxCell("Pricing",new mxGeometry(0,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#9A9DA0;align=center;spacingRight=0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(210,10);c.vertex=!0;b.insert(c);c=new mxCell("About",new mxGeometry(0,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#9A9DA0;align=center;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(290,10);c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(1,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#1CA5B8;strokeColor=#1CA5B8;fillColor=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,10);c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(1,0,180,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#6C767D;strokeColor=#CED4DA;fillColor=#ffffff;align=left;spacing=10;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-270,10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar dark")}),this.addEntry("bootstrap navbar blue",function(){var b=new mxCell("Navbar",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#0085FC;strokeColor=none;fontSize=16;fontColor=#ffffff;align=left;spacing=15;");b.vertex=!0;var c=new mxCell("Home",new mxGeometry(0,0,70,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#ffffff;align=center;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(70,10);c.vertex=!0;b.insert(c);c=new mxCell("Features",new mxGeometry(0,0,70,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#79BFFD;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(140,10);c.vertex=!0;b.insert(c);c=new mxCell("Pricing",new mxGeometry(0,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#79BFFD;align=center;spacingRight=0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(210,10);\r\nc.vertex=!0;b.insert(c);c=new mxCell("About",new mxGeometry(0,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#79BFFD;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(290,10);c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(1,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#ffffff;strokeColor=#ffffff;fillColor=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,10);c.vertex=!0;b.insert(c);c=\r\nnew mxCell("Search",new mxGeometry(1,0,180,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#6C767D;strokeColor=#CED4DA;fillColor=#ffffff;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-270,10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar blue")}),this.addEntry("bootstrap navbar light",function(){var b=new mxCell("Navbar",new mxGeometry(0,0,800,60),"html=1;shadow=0;dashed=0;fillColor=#E3F3FD;strokeColor=none;fontSize=16;fontColor=#161819;align=left;spacing=15;");\r\nb.vertex=!0;var c=new mxCell("Home",new mxGeometry(0,0,70,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#161819;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(70,10);c.vertex=!0;b.insert(c);c=new mxCell("Features",new mxGeometry(0,0,70,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#71797E;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(140,10);c.vertex=!0;b.insert(c);c=new mxCell("Pricing",new mxGeometry(0,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#71797E;align=center;spacingRight=0;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(210,10);c.vertex=!0;b.insert(c);c=new mxCell("About",new mxGeometry(0,0,80,40),"fillColor=none;strokeColor=none;fontSize=14;fontColor=#71797E;align=center;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(290,10);c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(1,0,70,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#0085FC;strokeColor=#0085FC;fillColor=none;");c.geometry.relative=!0;c.geometry.offset=\r\nnew mxPoint(-80,10);c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(1,0,180,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fontSize=14;fontColor=#6C767D;strokeColor=#CED4DA;fillColor=#ffffff;align=left;spacing=10;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-270,10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Navbar light")}),this.addEntry("bootstrap pagination",function(){var b=new mxCell("",new mxGeometry(0,\r\n0,220,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DEE2E6;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#0085FC;fontSize=14;");b.vertex=!0;var c=new mxCell("Previous",new mxGeometry(0,0,70,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("1",\r\nnew mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(70,0);c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(100,0);c.vertex=!0;b.insert(c);c=new mxCell("3",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(130,0);c.vertex=!0;b.insert(c);c=new mxCell("Next",new mxGeometry(1,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-60,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Pagination")}),this.addEntry("bootstrap pagination",function(){var b=new mxCell("",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DEE2E6;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#0085FC;");b.vertex=!0;var c=new mxCell("<<",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("1",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(30,0);c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(60,0);c.vertex=!0;b.insert(c);c=new mxCell("3",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(90,0);c.vertex=!0;b.insert(c);c=new mxCell(">>",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Pagination")}),this.addEntry("bootstrap pagination with disabled and active states",function(){var b=new mxCell("",new mxGeometry(0,0,220,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DEE2E6;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#0085FC;fontSize=14;");b.vertex=!0;var c=new mxCell("Previous",\r\nnew mxGeometry(0,0,70,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontColor=#6C767D;fontSize=14;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("1",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(70,0);c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(0,0,30,30),"html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(100,0);c.vertex=!0;b.insert(c);c=new mxCell("3",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(130,0);c.vertex=!0;b.insert(c);c=new mxCell("Next",new mxGeometry(1,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-60,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,\r\n"Pagination with disabled and active states")}),this.addEntry("bootstrap pagination big",function(){var b=new mxCell("",new mxGeometry(0,0,120,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DEE2E6;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#0085FC;");b.vertex=!0;var c=new mxCell("1",new mxGeometry(0,0,40,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;fontSize=16;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(0,0,40,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=16;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(40,0);c.vertex=!0;b.insert(c);c=new mxCell("3",new mxGeometry(1,0,40,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=16;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Pagination, big")}),this.addEntry("bootstrap pagination small",function(){var b=new mxCell("",new mxGeometry(0,0,75,25),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DEE2E6;html=1;whiteSpace=wrap;fillColor=#ffffff;fontColor=#0085FC;");b.vertex=!0;var c=new mxCell("1",new mxGeometry(0,0,25,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;fontSize=12;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(0,0,25,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=12;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(25,0);c.vertex=!0;b.insert(c);c=new mxCell("3",new mxGeometry(1,0,25,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeHeight=1;fontSize=12;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Pagination, small")}),this.addEntry("bootstrap popover",function(){var b=new mxCell("And here\'s some amazing content. It\'s very engaging. Right?",new mxGeometry(0,0,200,60),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.popover;fillColor=#ffffff;strokeColor=#CCCCCC;dx=35;dy=5;rSize=5;direction=south;whiteSpace=wrap;verticalAlign=bottom;spacing=5;fontSize=10;spacingLeft=5;align=left;");\r\nb.vertex=!0;var c=new mxCell("Popover title",new mxGeometry(1,0,195,25),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;fillColor=#F7F7F7;strokeColor=#CCCCCC;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=5;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-195,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Popover")}),this.addEntry("bootstrap popover on top",function(){var b=new mxCell("Vivamus sagittis lacus vel augue laoreet rutrum faucibus.",\r\nnew mxGeometry(0,0,200,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.popover;fillColor=#ffffff;strokeColor=#CCCCCC;dx=100;dy=5;rSize=5;whiteSpace=wrap;verticalAlign=top;spacing=10;fontSize=10;spacingLeft=0;align=left;spacingTop=-5;");b.vertex=!0;var c=new mxCell("Popover on top",new mxGeometry(50,50,100,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C767D;strokeColor=none;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=5;fontColor=#FFFFFF;");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([b,c],200,80,"Popover on top")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#E9ECEF;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,250,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#0085FC;strokeColor=none;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);\r\nreturn a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress bar")}),this.addEntry("bootstrap progress bar with label",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#E9ECEF;strokeColor=none;");b.vertex=!0;var c=new mxCell("25%",new mxGeometry(0,0,250,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#0085FC;strokeColor=none;fontColor=#ffffff;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress bar with label")}),this.addEntry("bootstrap progress bar green",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#E9ECEF;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,250,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#33A64C;strokeColor=none;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress bar, green")}),this.addEntry("bootstrap progress bar azure",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#E9ECEF;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,250,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#1CA5B8;strokeColor=none;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress bar, azure")}),this.addEntry("bootstrap progress bar yellow",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#E9ECEF;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,250,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#FFBC26;strokeColor=none;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress bar, yellow")}),this.addEntry("bootstrap progress bar red",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#E9ECEF;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,250,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#DB2843;strokeColor=none;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress bar, red")}),this.addEntry("bootstrap progress bar multiple",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#E9ECEF;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,550,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#1CA5B8;strokeColor=none;resizeHeight=1;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,400,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#33A64C;strokeColor=none;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,150,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#0085FC;strokeColor=none;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"Progress, multiple")}),this.addEntry("bootstrap progress bar striped blue",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#0085FC;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"Progress bar, striped, blue")}),this.addEntry("bootstrap progress bar striped green",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#59B958;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);\r\nreturn a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar, striped, green")}),this.addEntry("bootstrap progress bar striped light blue",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#55BFE0;fontColor=#FFFFFF;whiteSpace=wrap;");\r\nc.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress bar, striped, light blue")}),this.addEntry("bootstrap progress bar striped yellow",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#EFAC43;fontColor=#FFFFFF;whiteSpace=wrap;");\r\nc.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress bar, striped, yellow")}),this.addEntry("bootstrap progress bar striped red",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#DB524C;fontColor=#FFFFFF;whiteSpace=wrap;");\r\nc.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress bar, striped, red")}),this.addEntry("bootstrap scrollspy",function(){var b=new mxCell("Navbar",new mxGeometry(0,0,800,40),"fillColor=#F8F9FA;strokeColor=none;align=left;fontSize=14;spacing=10;");b.vertex=!0;var c=new mxCell("@fat",new mxGeometry(1,0,50,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=5;fontColor=#FFFFFF;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-210,5);c.vertex=!0;b.insert(c);c=new mxCell("@mdo",new mxGeometry(1,0,60,30),"fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;fontColor=#0085FC;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-160,5);c.vertex=!0;b.insert(c);c=new mxCell("Dropdown",new mxGeometry(1,0,90,30),"fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;fontColor=#0085FC;align=right;spacingRight=20;");c.geometry.relative=!0;c.geometry.offset=\r\nnew mxPoint(-100,5);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#0085FC;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-2.5);d.vertex=!0;c.insert(d);c=new mxCell(\'<font size="1"><b style="font-size: 18px">@fat</b></font><br style="font-size: 14px">Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney\\\'s photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven\\\'t heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.<br><br><br style="font-size: 14px"><b><font style="font-size: 16px">@mdo</font></b><br style="font-size: 14px">Veniam marfa mustache skateboard, adipisicing fugiat velit pitchfork beard. Freegan beard aliqua cupidatat mcsweeney\\\'s vero. Cupidatat four loko nisi, ea helvetica nulla carles. Tattooed cosby sweater food truck, mcsweeney\\\'s quis non freegan vinyl. Lo-fi wes anderson +1 sartorial. Carles non aesthetic exercitation quis gentrify. Brooklyn adipisicing craft beer vice keytar deserunt.\',\r\nnew mxGeometry(0,0,800,200),"fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;fontColor=#212529;html=1;align=left;verticalAlign=top;spacingRight=25;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,50);c.vertex=!0;d=new mxCell("",new mxGeometry(1,0,20,200),"html=1;shadow=0;dashed=0;fillColor=#F1F1F1;strokeColor=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,0);d.vertex=!0;c.insert(d);var f=new mxCell("",new mxGeometry(0,0,16,45),"fillColor=#C1C1C1;strokeColor=none;");\r\nf.geometry.relative=!0;f.geometry.offset=new mxPoint(2,20);f.vertex=!0;d.insert(f);f=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;fillColor=#C1C1C1;strokeColor=none;perimeter=none;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,7.5);f.vertex=!0;d.insert(f);f=new mxCell("",new mxGeometry(0,1,10,5),"shape=triangle;direction=south;fillColor=#505050;strokeColor=none;perimeter=none;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,-12.5);f.vertex=!0;d.insert(f);\r\nreturn a.createVertexTemplateFromCells([b,c],800,300,"Scrollspy")}),this.addEntry("bootstrap nested nav",function(){var b=new mxCell("",new mxGeometry(0,0,300,330),"fillColor=#F8F9FA;strokeColor=none;align=left;fontSize=14;fontColor=#323232;");b.vertex=!0;var c=new mxCell("Navbar",new mxGeometry(0,0,300,40),"html=1;shadow=0;dashed=0;fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;fontSize=18;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Item 1",\r\nnew mxGeometry(.5,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#0085FC;strokeColor=none;perimeter=none;whiteSpace=wrap;align=left;spacing=15;fontColor=#FFFFFF;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-50,40);c.vertex=!0;b.insert(c);c=new mxCell("Item 1-1",new mxGeometry(.5,0,100,40),"html=1;shadow=0;dashed=0;fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;align=left;spacing=15;fontColor=#0085FC;fontSize=14;");c.geometry.relative=\r\n!0;c.geometry.offset=new mxPoint(-40,80);c.vertex=!0;b.insert(c);c=new mxCell("Item 1-2",new mxGeometry(.5,0,100,40),"html=1;shadow=0;dashed=0;fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;align=left;spacing=15;fontColor=#0085FC;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,120);c.vertex=!0;b.insert(c);c=new mxCell("Item 2",new mxGeometry(.5,0,100,40),"html=1;shadow=0;dashed=0;fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;align=left;spacing=15;fontColor=#0085FC;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-50,160);c.vertex=!0;b.insert(c);c=new mxCell("Item 3",new mxGeometry(.5,0,100,40),"html=1;shadow=0;dashed=0;fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;align=left;spacing=15;fontColor=#0085FC;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-50,200);c.vertex=!0;b.insert(c);c=new mxCell("Item 3-1",new mxGeometry(.5,0,100,40),"html=1;shadow=0;dashed=0;fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;align=left;spacing=15;fontColor=#0085FC;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,240);c.vertex=!0;b.insert(c);c=new mxCell("Item 3-2",new mxGeometry(.5,0,100,40),"html=1;shadow=0;dashed=0;fillColor=none;strokeColor=none;perimeter=none;whiteSpace=wrap;align=left;spacing=15;fontColor=#0085FC;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,280);c.vertex=!0;b.insert(c);c=new mxCell(\'<font style="font-size: 18px"><b>Item 1</b></font><br>Ex consequat commodo adipisicing exercitation aute excepteur occaecat ullamco duis aliqua id magna ullamco eu. Do aute ipsum ipsum ullamco cillum consectetur ut et aute consectetur labore. Fugiat laborum incididunt tempor eu consequat enim dolore proident. Qui laborum do non excepteur nulla magna eiusmod consectetur in. Aliqua et aliqua officia quis et incididunt voluptate non anim reprehenderit adipisicing dolore ut consequat deserunt mollit dolore. Aliquip nulla enim veniam non fugiat id cupidatat nulla elit cupidatat commodo velit ut eiusmod cupidatat elit dolore.<br><br><b><font style="font-size: 16px">Item 1-1</font></b><br>Amet tempor mollit aliquip pariatur excepteur commodo do ea cillum commodo Lorem et occaecat elit qui et. Aliquip labore ex ex esse voluptate occaecat Lorem ullamco deserunt. Aliqua cillum excepteur irure consequat id quis ea. Sit proident ullamco aute magna pariatur nostrud labore. Reprehenderit aliqua commodo eiusmod aliquip est do duis amet proident magna consectetur consequat eu commodo fugiat non quis. Enim aliquip exercitation ullamco adipisicing voluptate\',\r\nnew mxGeometry(320,0,480,330),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#323232;html=1;whiteSpace=wrap;verticalAlign=top;spacingRight=25;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,20,330),"html=1;shadow=0;dashed=0;fillColor=#F1F1F1;strokeColor=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,0);d.vertex=!0;c.insert(d);var f=new mxCell("",new mxGeometry(0,0,16,45),"fillColor=#C1C1C1;strokeColor=none;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(2,\r\n20);f.vertex=!0;d.insert(f);f=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;fillColor=#C1C1C1;strokeColor=none;perimeter=none;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,7.5);f.vertex=!0;d.insert(f);f=new mxCell("",new mxGeometry(0,1,10,5),"shape=triangle;direction=south;fillColor=#505050;strokeColor=none;perimeter=none;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,-12.5);f.vertex=!0;d.insert(f);return a.createVertexTemplateFromCells([b,c],800,330,\r\n"Nested nav")}),this.addEntry("bootstrap nav with list group",function(){var b=new mxCell("",new mxGeometry(0,0,250,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFDFDF;html=1;whiteSpace=wrap;fillColor=#FFFFFF;fontColor=#000000;");b.vertex=!0;var c=new mxCell("Item 1",new mxGeometry(0,0,250,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#0085FC;fontColor=#ffffff;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=15;fontSize=14;");\r\nc.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Item 2",new mxGeometry(0,0,250,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=15;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);c=new mxCell("Item 3",new mxGeometry(0,0,250,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=left;spacing=15;fontSize=14;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(0,80);c.vertex=!0;b.insert(c);c=new mxCell("Item 4",new mxGeometry(0,1,250,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;fontColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;resizeHeight=0;align=left;spacing=15;fontSize=14;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-40);c.vertex=!0;b.insert(c);c=new mxCell(\'<font style="font-size: 18px"><b>Item 1</b></font><br>Ex consequat commodo adipisicing exercitation aute excepteur occaecat ullamco duis aliqua id magna ullamco eu. Do aute ipsum ipsum ullamco cillum consectetur ut et aute consectetur labore. Fugiat laborum incididunt tempor eu consequat enim dolore proident. Qui laborum do non excepteur nulla magna eiusmod consectetur in. Aliqua et aliqua officia quis et incididunt voluptate non anim reprehenderit adipisicing dolore ut consequat deserunt mollit dolore. Aliquip nulla enim veniam non fugiat id cupidatat nulla elit cupidatat commodo velit ut eiusmod cupidatat elit dolore.\',\r\nnew mxGeometry(270,0,530,160),"fillColor=none;strokeColor=none;align=left;fontSize=14;fontColor=#323232;html=1;whiteSpace=wrap;verticalAlign=top;spacingRight=25;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,20,160),"html=1;shadow=0;dashed=0;fillColor=#F1F1F1;strokeColor=none;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,0);d.vertex=!0;c.insert(d);var f=new mxCell("",new mxGeometry(0,0,16,45),"fillColor=#C1C1C1;strokeColor=none;");f.geometry.relative=!0;f.geometry.offset=\r\nnew mxPoint(2,20);f.vertex=!0;d.insert(f);f=new mxCell("",new mxGeometry(0,0,10,5),"shape=triangle;direction=north;fillColor=#C1C1C1;strokeColor=none;perimeter=none;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,7.5);f.vertex=!0;d.insert(f);f=new mxCell("",new mxGeometry(0,1,10,5),"shape=triangle;direction=south;fillColor=#505050;strokeColor=none;perimeter=none;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,-12.5);f.vertex=!0;d.insert(f);return a.createVertexTemplateFromCells([b,\r\nc],800,160,"Nav with list-group")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#0085FC;",30,30,"","Border spinner",null,null,this.getTagsForStencil("mxgraph.bootstrap","border spinner","bootstrap ").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#6C767D;",30,30,"","Border spinner",null,null,this.getTagsForStencil("mxgraph.bootstrap",\r\n"border spinner","bootstrap ").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#34A64D;",30,30,"","Border spinner",null,null,this.getTagsForStencil("mxgraph.bootstrap","border spinner","bootstrap ").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#DB2843;",30,30,"","Border spinner",null,null,this.getTagsForStencil("mxgraph.bootstrap",\r\n"border spinner","bootstrap ").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#FFBC26;",30,30,"","Border spinner",null,null,this.getTagsForStencil("mxgraph.bootstrap","border spinner","bootstrap ").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#1CA5B8;",30,30,"","Border spinner",null,null,this.getTagsForStencil("mxgraph.bootstrap",\r\n"border spinner","bootstrap ").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#F8F9FA;",30,30,"","Border spinner",null,null,this.getTagsForStencil("mxgraph.bootstrap","border spinner","bootstrap ").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#343A40;",30,30,"","Border spinner",null,null,this.getTagsForStencil("mxgraph.bootstrap",\r\n"border spinner","bootstrap ").join(" ")),this.addEntry("bootstrap button with spinner",function(){var b=new mxCell("",new mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#59AFFD;fontColor=#ffffff;");b.vertex=!0;var c=new mxCell("",new mxGeometry(.5,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#ffffff;");c.geometry.relative=!0;c.geometry.offset=\r\nnew mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button with spinner")}),this.addEntry("bootstrap button with spinner",function(){var b=new mxCell("Loading...",new mxGeometry(0,0,110,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#59AFFD;fontColor=#ffffff;align=right;spacing=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.basic.arc;startAngle=0.25;endAngle=1;strokeWidth=4;strokeColor=#ffffff;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button with spinner")}),this.addEntry("bootstrap button with grow spinner",function(){var b=new mxCell("",new mxGeometry(0,0,40,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#59AFFD;fontColor=#ffffff;align=right;spacing=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(.5,\r\n.5,20,20),"html=1;shadow=0;dashed=0;shape=ellipse;strokeColor=none;fillColor=#ffffff;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button with grow spinner")}),this.addEntry("bootstrap button with grow spinner",function(){var b=new mxCell("Loading...",new mxGeometry(0,0,110,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;html=1;whiteSpace=wrap;fillColor=#59AFFD;fontColor=#ffffff;align=right;spacing=10;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=ellipse;strokeColor=none;fillColor=#ffffff;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button with grow spinner")}),this.addEntry("bootstrap toast",function(){var b=new mxCell("Hello, world! This is a toast message.",new mxGeometry(0,0,320,80),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFE0E0;html=1;whiteSpace=wrap;fillColor=#FEFEFE;fontColor=#212529;align=left;spacing=15;verticalAlign=bottom;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,320,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=inherit;fillColor=#ffffff;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("Bootstrap",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#DFE0E0;html=1;whiteSpace=wrap;fillColor=#0084FC;fontColor=#6C767D;align=left;spacing=10;verticalAlign=middle;labelPosition=right;verticalLabelPosition=middle;fontStyle=1");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(10,-10);d.vertex=!0;c.insert(d);d=new mxCell("11 mins ago",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#808080;html=1;fontColor=#6C767D;align=right;spacing=10;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;fontStyle=0;strokeWidth=2;fontSize=11;fillColor=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-4);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],\r\nb.geometry.width,b.geometry.height,"Toast")}),this.addEntry("bootstrap tooltip on top",function(){var b=new mxCell("Tooltip on top",new mxGeometry(10,0,90,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.popover;fillColor=#1A1A1A;strokeColor=none;dx=45;dy=5;rSize=5;whiteSpace=wrap;verticalAlign=top;spacing=10;fontSize=12;spacingLeft=0;align=center;spacingTop=-10;fontColor=#FFFFFF;");b.vertex=!0;var c=new mxCell("Tooltip on top",new mxGeometry(0,30,110,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C767D;strokeColor=none;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=5;fontColor=#FFFFFF;fontSize=14;");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([b,c],110,60,"Tooltip on top")}),this.addEntry("bootstrap tooltip on right",function(){var b=new mxCell("Tooltip on right",new mxGeometry(120,3,110,24),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.popover;fillColor=#1A1A1A;strokeColor=none;dx=12;dy=5;rSize=5;whiteSpace=wrap;verticalAlign=top;spacing=10;fontSize=12;spacingLeft=0;align=center;spacingTop=-10;fontColor=#FFFFFF;direction=south;spacingLeft=5;");b.vertex=!0;var c=new mxCell("Tooltip on right",\r\nnew mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C767D;strokeColor=none;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=5;fontColor=#FFFFFF;fontSize=14;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],230,30,"Tooltip on right")}),this.addEntry("bootstrap tooltip on bottom",function(){var b=new mxCell("Tooltip on bottom",new mxGeometry(10,30,110,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.popover;fillColor=#1A1A1A;strokeColor=none;dx=55;dy=5;rSize=5;whiteSpace=wrap;verticalAlign=top;spacing=10;fontSize=12;spacingLeft=0;align=center;spacingTop=-5;fontColor=#FFFFFF;direction=west;spacingBottom=0;");\r\nb.vertex=!0;var c=new mxCell("Tooltip on bottom",new mxGeometry(0,0,130,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C767D;strokeColor=none;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=5;fontColor=#FFFFFF;fontSize=14;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],130,60,"Tooltip on bottom")}),this.addEntry("bootstrap tooltip on left",function(){var b=new mxCell("Tooltip on left",new mxGeometry(0,3,100,24),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.popover;fillColor=#1A1A1A;strokeColor=none;dx=12;dy=5;rSize=5;whiteSpace=wrap;verticalAlign=top;spacing=10;fontSize=12;spacingLeft=0;align=center;spacingTop=-10;fontColor=#FFFFFF;direction=north;spacingRight=5;");\r\nb.vertex=!0;var c=new mxCell("Tooltip on left",new mxGeometry(100,0,110,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C767D;strokeColor=none;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=5;fontColor=#FFFFFF;fontSize=14;");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],210,30,"Tooltip on left")}),this.addEntry("bootstrap tooltip with HTML",function(){var b=new mxCell("<i>Tooltip </i><u>with</u> <b>HTML</b>",new mxGeometry(10,0,120,30),\r\n"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.popover;fillColor=#1A1A1A;strokeColor=none;dx=60;dy=5;rSize=5;whiteSpace=wrap;verticalAlign=top;spacing=10;fontSize=12;spacingLeft=0;align=center;spacingTop=-10;fontColor=#FFFFFF;");b.vertex=!0;var c=new mxCell("Tooltip with HTML",new mxGeometry(0,30,140,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#6C767D;strokeColor=none;perimeter=none;whiteSpace=wrap;resizeWidth=1;align=center;spacing=5;fontColor=#FFFFFF;fontSize=14;");\r\nc.vertex=!0;return a.createVertexTemplateFromCells([b,c],140,60,"Tooltip with HTML")})];this.addPalette("bootstrap",mxResources.get("bootstrap"),!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addBpmn2Palette=function(){this.setCurrentSearchEntryLibrary("bpmn2","bpmn2General");this.addBPMN2GeneralPalette("mxgraph.bpmn2",400,this);this.setCurrentSearchEntryLibrary("bpmn2","bpmn2Tasks");this.addBPMN2TasksPalette("mxgraph.bpmn2",400,this);this.setCurrentSearchEntryLibrary("bpmn2","bpmn2Choreographies");this.addBPMN2ChoreographiesPalette("mxgraph.bpmn2",400,this);this.setCurrentSearchEntryLibrary("bpmn2","bpmn2Events");this.addBPMN2EventsPalette("mxgraph.bpmn2",\r\n400,this);this.setCurrentSearchEntryLibrary("bpmn2","bpmn2Gateways");this.addBPMN2GatewaysPalette("mxgraph.bpmn2",400,this);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addBPMN2GeneralPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;whiteSpace=wrap;size=15;html=1;",40,60,"","Data Object",null,null,"bpmn business process model notation data object"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;whiteSpace=wrap;size=15;html=1;bpmnTransferType=none;isCollection=1;",\r\n40,60,"","Data Object Collection",null,null,"bpmn business process model notation data object collection"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;whiteSpace=wrap;size=15;html=1;bpmnTransferType=input;",40,60,"","Data Input",null,null,"bpmn business process model notation data input"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;whiteSpace=wrap;size=15;html=1;bpmnTransferType=input;isCollection=1;",\r\n40,60,"","Data Input Collection",null,null,"bpmn business process model notation data input collection"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;whiteSpace=wrap;size=15;html=1;bpmnTransferType=output;",40,60,"","Data Output",null,null,"bpmn business process model notation data output"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;whiteSpace=wrap;size=15;html=1;bpmnTransferType=output;isCollection=1;",\r\n40,60,"","Data Output Collection",null,null,"bpmn business process model notation data output collection"),this.createVertexTemplateEntry("shape=datastore;whiteSpace=wrap;html=1;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;",100,100,"","Data Store",null,null,"bpmn business process model notation data store"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];rounded=1;dashed=1;dashPattern=5 2 1 2;labelPosition=center;verticalLabelPosition=top;align=right;verticalAlign=bottom;fontSize=8;",\r\n140,80,"","Data Object",null,null,"bpmn business process model notation data object"),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;",80,30,"Text","Text Annotation",null,null,"bpmn business process model notation text annotation label"),this.createVertexTemplateEntry("swimlane;html=1;startSize=20;fontStyle=0;collapsible=0;horizontal=0;swimlaneLine=0;fillColor=none;",440,100,"","Horizontal Lane",null,null,"bpmn business process model notation horizontal lane"),\r\nthis.createVertexTemplateEntry("swimlane;html=1;startSize=20;fontStyle=0;collapsible=0;horizontal=1;swimlaneLine=0;fillColor=none;",440,100,"","Vertical Lane",null,null,"bpmn business process model notation vertical lane"),this.createVertexTemplateEntry("swimlane;html=1;startSize=20;fontStyle=0;collapsible=0;horizontal=0;swimlaneLine=1;swimlaneFillColor=#ffffff;strokeWidth=2;",440,100,"","Horizontal Lane",null,null,"bpmn business process model notation horizontal lane"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.swimlane;html=1;startSize=20;horizontal=0;swimlaneLine=1;collapsible=0;fontStyle=0;swimlaneFillColor=#ffffff;strokeWidth=2;isCollection=1;",\r\n440,100,"","Horizontal Lane",null,null,"bpmn business process model notation horizontal lane"),this.createVertexTemplateEntry("swimlane;html=1;startSize=20;fontStyle=0;collapsible=0;horizontal=1;swimlaneLine=1;strokeWidth=2;swimlaneFillColor=#ffffff;",220,100,"","Vertical Lane",null,null,"bpmn business process model notation vertical lane"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.swimlane;html=1;startSize=20;horizontal=1;swimlaneLine=1;collapsible=0;fontStyle=0;strokeWidth=2;swimlaneFillColor=#ffffff;isCollection=1;",\r\n220,100,"","Vertical Lane",null,null,"bpmn business process model notation vertical lane"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.conversation;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;aspect=fixed;bpmnConversationType=conv;",70,60,"","Conversation",null,null,"bpmn business process model notation conversation"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.conversation;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;aspect=fixed;bpmnConversationType=conv;isLoopSub=1;",\r\n70,60,"","Sub-Conversation",null,null,"bpmn business process model notation sub conversation"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.conversation;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;aspect=fixed;bpmnConversationType=call;",70,60,"","Call Conversation",null,null,"bpmn business process model notation call conversation"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.conversation;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;aspect=fixed;bpmnConversationType=call;isLoopSub=1;",\r\n70,60,"","Call Sub-Conversation",null,null,"bpmn business process model notation call sub conversation"),this.createVertexTemplateEntry("html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;",50,100,"","Annotation",null,null,this.getTagsForStencil("bpmn","annotation_1","bpmn business process model ").join(" ")),this.addDataEntry("crossfunctional cross-functional cross functional flowchart swimlane table",400,400,"Cross-Functional Flowchart","7ZhRb5swEMc/DY+bMCRt97jQpi+tVC2fwINbbMnYyD4C6aefjaHpBrTRlNCoTALJPp9t+P25O5kgTvL6XtOCPaoMRBDfBXGilULfyusEhAiikGdBfBtEUWjvIFqPjJJmNCyoBonHTIj8hB0VJXiL3dyYL+tSpsiVpM55LVSVMqrROxvci9bZMFq4JtKfzrRKGRfZA92rEjtr11tpVT1wCcYOhM5ViTKXry0G7RYb/uwWXDgDw9wCuSW2WTGOsClo6gYri8uvIGhheLN1s4KGtNSG7+AHGL+Os0JdUJm1nUJxiaDvdhZQt/EvJXHTvpTbjAq+lbadgnO1hhYSaIR6FHRjainfg8oB9d66VDxD5j0WoRcjZMC3DP8yUuMN25e5B91so5VuWMa4J+P3FJW2JtLXrOK5oNLJxZTmz/blqXhNp3mO5cpe9smS8OsyWNp5ie2TQ99ezl1joqRBTXmDAajBCgxejprHKBcNK7fvBPIz3hOSRCcQctET8olRA+8JmSopIW2j8GOD6Sji8TDxepT4C9yTE1+OEo/mQ5xcTYn8ahR5PB/k0c2UyK9HC8SbX/mnLBAnqAlD8XK+onDTE+/fw+TiQF9fTin4Nl/O0xYAEs6X9LR5n5Ae6S7xv1lr/yf+4cQ/pN75Ej/pH88/UZyQkRPzR6R+0j9Bz4f0xMm/f8adD+qzZn/bPfw5bMb++LH4Gw=="),\r\nthis.addDataEntry("container swimlane pool horizontal",480,380,"Horizontal Pool 1","zZRLbsIwEIZP4709TlHXhJYNSEicwCIjbNWJkWNKwumZxA6IlrRUaisWlmb+eX8LM5mXzdyrnV66Ai2TL0zm3rkQrbLJ0VoG3BRMzhgAp8fgdSQq+ijfKY9VuKcAYsG7snuMyso5G8U6tDaJ9cGUVlXkTXUoacuZIHOjjS0WqnX7blYd1OZt8KYea3PE1bCI+CAtVUMq7/o5b46uCmroSn18WFMm+XCdse5GpLq0OPqAzejxvZQun6MrMfiWUg6mCDpmZM8RENdotjqVyUFUdRS259oLSzISztto5Se0i44gcHEn3i9A/IQB3GbQpmi69DskAn4BSTaGBB4Jicj+k8nTGBP5SExg8odMyL38eH3s6kM8AQ=="),this.addDataEntry("container swimlane pool horizontal",\r\n480,360,"Horizontal Pool 2","zZTBbsIwDIafJvfU6dDOlI0LSEg8QUQtEi1tUBJGy9PPbcJQWTsxaZs4VLJ//07sT1WYKKpm6eRBrW2JhokXJgpnbYhR1RRoDAOuSyYWDIDTx+B1opr1VX6QDutwTwPEhndpjhiVjbUmij60Jon+pCsja8rmKlQ05SKjcKe0KVeytcfuLh/k7u2SzR16fcbNZZDsRlrLhlTenWedPts6SJMEOseFLTkph6Fj212RbGlwdAGbyeV7KW2+RFthcC1ZTroMKjry5wiIK9R7ldrELInSR2H/2XtlSUHCOY5WfEG76ggCz+7E+w2InzCAcQapIf0fAySzESQZ/AKSfAoJPCKS9mbzf0H0NIVIPDAiyP8QEaXX97CvDZ7LDw=="),this.createVertexTemplateEntry("swimlane;startSize=20;horizontal=0;",320,120,"Lane","Horizontal Swimlane",\r\nnull,null,"swimlane lane pool"),this.addDataEntry("container swimlane pool horizontal",360,480,"Vertical Pool 1","xZRBbsIwEEVP4709ThFrQssGJKSewCIjbNXGyDEl4fSdxKa0NJFQVTULSzP/e+T5b2EmS9esgjrqja/QMvnMZBm8j6lyTYnWMuCmYnLJADgdBi8jruhdflQBD/GRAUgD78qeMClb720S69jaLNZn46w6ULfQ0dGWS0HlThtbrVXrT91bdVS7t2u3CFibC26vi4g7aaMaUjmpNBbiKxnUQyfkjTBEbEZT9VKOtELvMIaWrpxNFXW6IWcpOddo9jqPFfMsqjoJ+8/ZGyQqMqdhZvIHs3WHBrh4kNvvIsNw5Da7OdgXAgKGCMz+gEAxRgCmINDcxZ2CyNMYETkhESj+jwi1t1+r9759ah8="),this.addDataEntry("container swimlane pool vertical",\r\n380,480,"Vertical Pool 2","xZTPbsIwDMafJvf86dDOlI0LSEg8QUQtEi1pUBJGy9PPbdJ1G1TqhXGoZH/219g/RSGitM3ay5PaugoMEW9ElN65mCLblGAM4VRXRKwI5xQ/wt8nqqyv0pP0UMc5Bp4Mn9KcISk750wSQ2xNFsNFWyNrzJYqWpxyxTA8KG2qjWzduTsrRHn4GLKlh6CvsBsGYX+krWxQpaiizcc9FjDnnaCc11dXR2lyxyjsuyPy3/Lg4CM0k8v3Ut58Dc5C9C22XHQVVeoQrwkQVaCPKtuKQZQhCcdv78gSg4zzPlpxg3bTEeSUzcR7Q2bWyvz+ytmQr8NPAow/ikAxRYA/kQAr/hPByxQC8cxLsHggAkzH56uv/XrdvgA="),this.createVertexTemplateEntry("swimlane;startSize=20;",120,320,"Lane","Vertical Swimlane",null,null,\r\n"swimlane lane pool"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];rounded=1;arcSize=10;dashed=1;strokeColor=#000000;fillColor=none;gradientColor=none;dashPattern=8 3 1 3;strokeWidth=2;",200,200,"","Group",null,null,this.getTagsForStencil("bpmn","group","bpmn business process model ").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;fontSize=12;html=1;endFill=0;startFill=0;endSize=6;startSize=6;dashed=1;dashPattern=1 4;endArrow=none;startArrow=none;",\r\n160,0,"","Association",null,"bpmn business process model notation association"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;fontSize=12;html=1;endFill=0;startFill=0;endSize=6;startSize=6;dashed=1;dashPattern=1 4;endArrow=openThin;startArrow=none;",160,0,"","Directional / Directed Data Association",null,"bpmn business process model notation directed data directional association"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;fontSize=12;html=1;endFill=0;startFill=0;endSize=6;startSize=6;dashed=1;dashPattern=1 4;endArrow=openThin;startArrow=openThin;",\r\n160,0,"","Bi-Directional Association",null,"bpmn business process model notation bi directional bidirectional association"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;fontSize=12;html=1;endFill=0;startFill=0;endSize=6;startSize=6;dashed=1;dashPattern=1 4;endArrow=none;startArrow=none;",160,0,"","Data Association",null,"bpmn business process model notation data association"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;fontSize=12;html=1;shape=link;",160,0,"","Conversation Link",\r\nnull,"bpmn business process model notation conversation link"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;",160,0,"","Sequence Flow",null,"bpmn business process model notation sequence flow"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;startArrow=diamondThin;startFill=0;endSize=6;startSize=10;",160,0,"","Conditional Sequence Flow",null,"bpmn business process model notation conditional sequence flow"),\r\nthis.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;startArrow=dash;startFill=0;endSize=6;startSize=6;",160,0,"","Default Sequence Flow",null,"bpmn business process model notation default sequence flow"),this.createEdgeTemplateEntry("dashed=1;dashPattern=8 4;endArrow=blockThin;endFill=1;startArrow=oval;startFill=0;endSize=6;startSize=4;",160,0,"","Message Flow",null,"bpmn business process model notation message flow"),this.addEntry("edge shape symbol message mail email initiating message flow with decorator",\r\nmxUtils.bind(this,function(){var a=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=blockThin;html=1;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;dashed=1;dashPattern=8 4;endFill=0;startArrow=oval;startFill=0;endSize=6;startSize=4;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.edge=!0;var c=new mxCell("",new mxGeometry(0,0,24,16),"shape=message;html=1;outlineConnect=0;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;spacingRight=5;labelBackgroundColor=#ffffff;");\r\nc.geometry.relative=!0;c.vertex=!0;c.geometry.offset=new mxPoint(8,-8);a.insert(c);return this.createEdgeTemplateFromCells([a],160,0,"Initiating Message Flow with Decorator")})),this.addEntry("edge shape symbol message mail email non initiating message flow with decorator",mxUtils.bind(this,function(){var a=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=blockThin;html=1;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;dashed=1;dashPattern=8 4;endFill=0;startArrow=oval;startFill=0;endSize=6;startSize=4;");\r\na.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.edge=!0;var c=new mxCell("",new mxGeometry(0,0,24,16),"shape=message;html=1;outlineConnect=0;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;spacingRight=5;labelBackgroundColor=#ffffff;fillColor=#C0C0C0;");c.geometry.relative=!0;c.vertex=!0;c.geometry.offset=new mxPoint(8,-8);a.insert(c);return this.createEdgeTemplateFromCells([a],160,0,"Non-Initiating Message Flow with Decorator")}))];\r\nthis.addPalette("bpmn2General","BPMN 2.0 General",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addBPMN2TasksPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;",120,80,"","Generic Task",null,null,"bpmn business process model notation task generic"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopStandard=1;",120,80,"","Standard Loop",null,null,"bpmn business process model notation task standard loop"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopStandard=1;isLoopSub=1;",\r\n120,80,"","Standard Loop",null,null,"bpmn business process model notation task standard loop"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopMultiParallel=1;",120,80,"","Multi-Instance, Parallel",null,null,"bpmn business process model notation task multi instance parallel"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopSub=1;isLoopMultiParallel=1;",\r\n120,80,"","Multi-Instance, Parallel",null,null,"bpmn business process model notation task multi instance parallel"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopMultiSeq=1;",120,80,"","Multi-Instance, Sequential",null,null,"bpmn business process model notation task multi instance sequential"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopSub=1;isLoopMultiSeq=1;",120,80,"","Multi-Instance, Sequential",null,null,"bpmn business process model notation task multi instance sequential"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopComp=1;",\r\n120,80,"","Compensation",null,null,"bpmn business process model notation task compensation"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopSub=1;isLoopComp=1;",120,80,"","Compensation",null,null,"bpmn business process model notation task compensation"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopComp=1;isLoopStandard=1;",\r\n120,80,"","Loop and Compensation",null,null,"bpmn business process model notation task loop compensation"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopComp=1;isLoopStandard=1;isLoopSub=1;",120,80,"","Loop and Compensation",null,null,"bpmn business process model notation task loop compensation"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isAdHoc=1;isLoopSub=1;",120,80,"","Ad Hoc, Collapsed",null,null,"bpmn business process model notation task ad hoc collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isAdHoc=1;",\r\n120,80,"","Ad Hoc, Expanded",null,null,"bpmn business process model notation task ad hoc expanded"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=service;",120,80,"","Service",null,null,"bpmn business process model notation task service"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=send;",\r\n120,80,"","Send",null,null,"bpmn business process model notation task send"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=receive;",120,80,"","Receive",null,null,"bpmn business process model notation task receive"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=user;",\r\n120,80,"","User",null,null,"bpmn business process model notation task user"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=manual;",120,80,"","Manual",null,null,"bpmn business process model notation task manual"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=businessRule;",\r\n120,80,"","Business Rule",null,null,"bpmn business process model notation task business rule"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=script;",120,80,"","Script",null,null,"bpmn business process model notation task script"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;isLoopSub=1;",\r\n120,80,"","Sub-Process, Collapsed",null,null,"bpmn business process model notation task sub process subprocess collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=transaction;isLoopSub=1;",120,80,"","Transaction, Collapsed",null,null,"bpmn business process model notation task transaction collapsed"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=transaction;",120,80,"","Transaction, Expanded",null,null,"bpmn business process model notation task transaction expanded"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventNonint;symbol=message;",\r\n120,80,"","Message-Event Sub-Process, Non-interrupting, Collapsed",null,null,"bpmn business process model notation task non interrupting message event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventInt;symbol=message;",\r\n120,80,"","Message-Event Sub-Process, Interrupting, Collapsed",null,null,"bpmn business process model notation task interrupting message event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventNonint;symbol=timer;",120,80,\r\n"","Timer-Event Sub-Process, Non-interrupting, Collapsed",null,null,"bpmn business process model notation task non interrupting timer event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventInt;symbol=timer;",120,80,"","Timer-Event Sub-Process, Interrupting, Collapsed",\r\nnull,null,"bpmn business process model notation task interrupting timer event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventNonint;symbol=conditional;",120,80,"","Conditional-Event Sub-Process, Non-interrupting, Collapsed",\r\nnull,null,"bpmn business process model notation task non interrupting conditional event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventInt;symbol=conditional;",120,80,"","Conditional-Event Sub-Process, Interrupting, Collapsed",\r\nnull,null,"bpmn business process model notation task interrupting conditional event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventNonint;symbol=signal;",120,80,"","Signal-Event Sub-Process, Non-interrupting, Collapsed",\r\nnull,null,"bpmn business process model notation task non interrupting signal event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventInt;symbol=signal;",120,80,"","Signal-Event Sub-Process, Interrupting, Collapsed",null,null,\r\n"bpmn business process model notation task interrupting signal event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventNonint;symbol=multiple;",120,80,"","Multiple-Event Sub-Process, Non-interrupting, Collapsed",null,null,\r\n"bpmn business process model notation task non interrupting multiple event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventInt;symbol=multiple;",120,80,"","Multiple-Event Sub-Process, Interrupting, Collapsed",null,null,"bpmn business process model notation task interrupting multiple event sub process collapsed"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventNonint;symbol=parallelMultiple;",120,80,"","Parallel Multiple Event Sub-Process, Non-interrupting, Collapsed",null,null,"bpmn business process model notation task non interrupting parallel multiple event sub process collapsed"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventInt;symbol=parallelMultiple;",120,80,"","Parallel Multiple Event Sub-Process, Interrupting , Collapsed",null,null,"bpmn business process model notation task interrupting parallel multiple event sub process collapsed"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventNonint;symbol=escalation;",120,80,"","Escalation-Event Sub-Process, Non-interrupting, Collapsed",null,null,"bpmn business process model notation task non interrupting escalation event sub process collapsed"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventInt;symbol=escalation;",120,80,"","Escalation-Event Sub-Process, Interrupting, Collapsed",null,null,"bpmn business process model notation task interrupting escalation event sub process collapsed"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventInt;symbol=error;",120,80,"","Error-Event Sub-Process, Interrupting, Collapsed",null,null,"bpmn business process model notation task interrupting error event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=eventInt;symbol=compensation;",\r\n120,80,"","Compensation-Event Sub-Process, Interrupting, Collapsed",null,null,"bpmn business process model notation task interrupting compensation event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;arcSize=10;taskMarker=abstract;outline=none;symbol=general;bpmnShapeType=subprocess;isLoopSub=0;verticalAlign=top;align=left;spacingLeft=5;",\r\n180,100,"","Event Sub-Process, Expanded",null,null,"bpmn business process model notation task event sub process expanded"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;bpmnShapeType=call;",120,80,"","Call Activity",null,null,"bpmn business process model notation task call activity"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;bpmnShapeType=call;taskMarker=user;",\r\n120,80,"","User Call Activity",null,null,"bpmn business process model notation task user call activity"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;bpmnShapeType=call;taskMarker=manual;",120,80,"","Manual Call Activity",null,null,"bpmn business process model notation task manual call activity"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;bpmnShapeType=call;taskMarker=businessRule;",\r\n120,80,"","Business Rule Call Activity",null,null,"bpmn business process model notation task business rule call activity"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;bpmnShapeType=call;taskMarker=script;",120,80,"","Script Call Activity",null,null,"bpmn business process model notation task script call activity"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;bpmnShapeType=call;isLoopSub=1;",120,80,"","Call Activity, Collapsed",null,null,"bpmn business process model notation task call activity collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;bpmnShapeType=call;verticalAlign=top;align=left;spacingLeft=5;",\r\n180,100,"","Call Activity, Expanded",null,null,"bpmn business process model notation task call activity expanded")];this.addPalette("bpmn2Tasks","BPMN 2.0 Tasks",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addBPMN2ChoreographiesPalette=function(a,b,e){var c=[this.addEntry("bpmn business process model notation choreography choreography task",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Choreography Task")}),this.addEntry("bpmn business process model notation choreography choreography task loop",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");a.vertex=!0;\r\nvar c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopStandard=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Choreography Task, Loop")}),this.addEntry("bpmn business process model notation choreography choreography task sequential multi instance",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopMultiSeq=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Choreography Task, Sequential Multi Instance")}),this.addEntry("bpmn business process model notation choreography choreography task parallel multi instance",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopMultiParallel=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Choreography Task, Parallel Multi Instance")}),this.addEntry("bpmn business process model notation choreography sub choreography collapsed",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopSub=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Sub-Choreography, Collapsed")}),this.addEntry("bpmn business process model notation choreography sub choreography loop collapsed",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopSub=1;isLoopStandard=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Sub-Choreography, Loop, Collapsed")}),this.addEntry("bpmn business process model notation choreography sub choreography sequential multi instance collapsed",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopSub=1;isLoopMultiSeq=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Sub-Choreography, Sequential Multi Instance, Collapsed")}),this.addEntry("bpmn business process model notation choreography sub choreography parallel multi instance collapsed",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopSub=1;isLoopMultiParallel=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Sub-Choreography, Parallel Multi Instance, Collapsed")}),this.addEntry("bpmn business process model notation choreography sub choreography expanded",function(){var a=new mxCell("",new mxGeometry(0,0,400,200),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,400,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,400,160),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;verticalAlign=top;align=left;spacingLeft=5;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,400,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Sub-Choreography, Expanded")}),this.addEntry("bpmn business process model notation choreography call choreography activity calling global task",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Call Choreography calling Global")}),this.addEntry("bpmn business process model notation choreography call choreography activity calling global task loop",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopStandard=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Call Choreography calling Global, Loop")}),this.addEntry("bpmn business process model notation choreography call choreography activity calling global task sequential multi instance",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopMultiSeq=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Call Choreography calling Global, Sequential Multi Instance")}),this.addEntry("bpmn business process model notation choreography call choreography activity calling global task parallel multi instance",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopMultiParallel=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Call Choreography calling Global, Parallel Multi Instance")}),this.addEntry("bpmn business process model notation choreography call choreography activity calling",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopSub=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Call Choreography calling a Choreography")}),this.addEntry("bpmn business process model notation choreography call choreography activity calling loop",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopSub=1;isLoopStandard=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Call Choreography calling a Choreography, Loop")}),this.addEntry("bpmn business process model notation choreography call choreography activity calling sequential multi instance",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopSub=1;isLoopMultiSeq=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Call Choreography calling a Choreography, Sequential Multi Instance")}),this.addEntry("bpmn business process model notation choreography call choreography activity calling parallel multi instance",function(){var a=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopSub=1;isLoopMultiParallel=1;connectable=0;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");\r\nc.vertex=!0;c.geometry.relative=!1;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Call Choreography calling a Choreography, Parallel Multi Instance")}),this.createVertexTemplateEntry("whiteSpace=wrap;shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;",120,20,"","Participant, Initiating, Top",null,null,"bpmn business process model notation choreography initiating participant top"),this.addEntry("bpmn business process model notation choreography initiating participant top with decorator",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,60,120,20),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;whiteSpace=wrap;");a.vertex=!0;var c=new mxCell("",new mxGeometry(40,0,40,30),"shape=message;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=0;rounded=0;");b.geometry.relative=\r\n!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplateFromCells([a,c,b],120,80,"Participant, Initiating, Top with Decorator")}),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=square;whiteSpace=wrap;",120,20,"","Additional Participant, Initiating",null,null,"bpmn business process model notation choreography initiating additional participant"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;isLoopSub=0;topLeftStyle=square;topRightStyle=square;whiteSpace=wrap;",\r\n120,20,"","Participant, Initiating, Bottom",null,null,"bpmn business process model notation choreography initiating participant bottom"),this.addEntry("bpmn business process model notation choreography initiating participant bottom with decorator",function(){var a=new mxCell("",new mxGeometry(0,0,120,20),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;isLoopSub=0;topLeftStyle=square;topRightStyle=square;whiteSpace=wrap;");a.vertex=!0;var c=new mxCell("",new mxGeometry(40,50,\r\n40,30),"shape=message;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=1;rounded=0;");b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplateFromCells([a,c,b],120,80,"Participant, Initiating, Bottom with Decorator")}),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;verticalAlign=top;isLoopMultiParallel=1;whiteSpace=wrap;",\r\n120,40,"","Participant, Initiating, Multi-Instance, Top",null,null,"bpmn business process model notation choreography initiating participant bottom"),this.addEntry("bpmn business process model notation choreography initiating participant multi instance top with decorator",function(){var a=new mxCell("",new mxGeometry(0,60,120,40),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;verticalAlign=top;isLoopMultiParallel=1;whiteSpace=wrap;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(40,0,40,30),"shape=message;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=0;rounded=0;");b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplateFromCells([a,c,b],120,100,"Participant, Initiating, Multi-Instance Top with Decorator")}),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=square;verticalAlign=top;isLoopMultiParallel=1;whiteSpace=wrap;",\r\n120,40,"","Additional Participant, Initiating, Multi-Instance, Bottom",null,null,"bpmn business process model notation choreography initiating additional participant multi instance bottom"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;verticalAlign=top;isLoopMultiParallel=1;topLeftStyle=square;topRightStyle=square;whiteSpace=wrap;",120,40,"","Participant, Initiating, Multi-Instance, Bottom",null,null,"bpmn business process model notation choreography initiating participant multi instance bottom"),\r\nthis.addEntry("bpmn business process model notation choreography initiating participant multi instance bottom with decorator",function(){var a=new mxCell("",new mxGeometry(0,0,120,40),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;topLeftStyle=square;topRightStyle=square;verticalAlign=top;isLoopMultiParallel=1;whiteSpace=wrap;");a.vertex=!0;var c=new mxCell("",new mxGeometry(40,70,40,30),"shape=message;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=1;rounded=0;");\r\nb.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplateFromCells([a,c,b],120,100,"Participant, Initiating, Multi-Instance, Bottom with Decorator")}),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;",120,20,"","Participant, Non-Initiating, Top",null,null,"bpmn business process model notation choreography non initiating participant top"),\r\nthis.addEntry("bpmn business process model notation choreography non initiating participant top with decorator",function(){var a=new mxCell("",new mxGeometry(0,60,120,20),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;");a.vertex=!0;var c=new mxCell("",new mxGeometry(40,0,40,30),"shape=message;fillColor=#C0C0C0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=0;rounded=0;");\r\nb.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplateFromCells([a,c,b],120,80,"Participant, Non-Initiating, Top with Decorator")}),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;",120,20,"","Additional Participant, Non-Initiating",null,null,"bpmn business process model notation choreography non initiating additional participant"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;isLoopSub=0;topLeftStyle=square;topRightStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;",\r\n120,20,"","Participant, Non-Initiating, Bottom",null,null,"bpmn business process model notation choreography non initiating participant bottom"),this.addEntry("bpmn business process model notation choreography non initiating participant bottom with decorator",function(){var a=new mxCell("",new mxGeometry(0,0,120,20),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;isLoopSub=0;topLeftStyle=square;topRightStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;");a.vertex=!0;var c=new mxCell("",\r\nnew mxGeometry(40,50,40,30),"shape=message;fillColor=#C0C0C0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=1;rounded=0;");b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplateFromCells([a,c,b],120,80,"Participant, Non-Initiating, Bottom with Decorator")}),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;verticalAlign=top;isLoopMultiParallel=1;fillColor=#C0C0C0;whiteSpace=wrap;",\r\n120,40,"","Participant, Non-Initiating, Multi-Instance, Top",null,null,"bpmn business process model notation choreography initiating participant bottom"),this.addEntry("bpmn business process model notation choreography non initiating participant multi instance top with decorator",function(){var a=new mxCell("",new mxGeometry(0,60,120,40),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;verticalAlign=top;isLoopMultiParallel=1;fillColor=#C0C0C0;whiteSpace=wrap;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(40,0,40,30),"shape=message;fillColor=#C0C0C0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=0;rounded=0;");b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplateFromCells([a,c,b],120,100,"Participant, Non-Initiating, Multi-Instance, Top with Decorator")}),\r\nthis.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=square;verticalAlign=top;isLoopMultiParallel=1;fillColor=#C0C0C0;whiteSpace=wrap;",120,40,"","Additional Participant, Non-Initiating, Multi-Instance, Bottom",null,null,"bpmn business process model notation choreography non initiating additional participant multi instance bottom"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;verticalAlign=top;isLoopMultiParallel=1;topLeftStyle=square;topRightStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;",\r\n120,40,"","Participant, Non-Initiating, Multi-Instance, Bottom",null,null,"bpmn business process model notation choreography non initiating participant multi instance bottom"),this.addEntry("bpmn business process model notation choreography non initiating participant multi instance bottom with decorator",function(){var a=new mxCell("",new mxGeometry(0,0,120,40),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;topLeftStyle=square;topRightStyle=square;verticalAlign=top;isLoopMultiParallel=1;fillColor=#C0C0C0;whiteSpace=wrap;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(40,70,40,30),"shape=message;fillColor=#C0C0C0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=1;rounded=0;");b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!1);return e.createVertexTemplateFromCells([a,c,b],120,100,"Participant, Non-Initiating, Multi-Instance, Bottom with Decorator")})];\r\nthis.addPalette("bpmn2Choreographies","BPMN 2.0 Choreographies",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addBPMN2EventsPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=standard;symbol=general;",\r\n50,50,"","None Start",null,null,"bpmn business process model notation event none start"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=throwing;symbol=general;",50,50,"","None Intermediate, Throwing",null,null,"bpmn business process model notation event none intermediate throwing"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=end;symbol=terminate2;",50,50,"","End",null,null,"bpmn business process model notation event end"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=standard;symbol=message;",\r\n50,50,"","Message Start, Interrupting",null,null,"bpmn business process model notation event message start interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventNonint;symbol=message;",50,50,"","Message Start, Non-Interrupting",\r\nnull,null,"bpmn business process model notation event message start non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=throwing;symbol=message;",50,50,"","Message Intermediate, Throwing",\r\nnull,null,"bpmn business process model notation event message intermediate throwing"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=catching;symbol=message;",50,50,"","Message Intermediate, Catching",null,null,"bpmn business process model notation event message intermediate catching"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=message;",50,50,"","Message Intermediate, Boundary Interrupting",null,null,"bpmn business process model notation event message intermediate boundary interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundNonint;symbol=message;",50,50,"","Message Intermediate, Boundary Non-Interrupting",null,null,"bpmn business process model notation event message intermediate boundary non interrupting noninterrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=end;symbol=message;",50,50,"","Message End",null,null,"bpmn business process model notation event message end"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=standard;symbol=timer;",\r\n50,50,"","Timer Start, Interrupting",null,null,"bpmn business process model notation event timer start interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventNonint;symbol=timer;",50,50,"","Timer Start, Non-Interrupting",\r\nnull,null,"bpmn business process model notation event timer start non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=catching;symbol=timer;",50,50,"","Timer Intermediate, Catching",null,\r\nnull,"bpmn business process model notation event timer intermediate catching"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=timer;",50,50,"","Timer Intermediate, Boundary Interrupting",null,null,"bpmn business process model notation event timer intermediate boundary interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundNonint;symbol=timer;",50,50,"","Timer Intermediate, Boundary Non-Interrupting",null,null,"bpmn business process model notation event timer intermediate boundary non interrupting noninterrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventInt;symbol=escalation;",50,50,"","Escalation Start, Interrupting",null,null,"bpmn business process model notation event escalation start interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventNonint;symbol=escalation;",\r\n50,50,"","Escalation Start, Non-Interrupting",null,null,"bpmn business process model notation event escalation start non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=throwing;symbol=escalation;",\r\n50,50,"","Escalation Intermediate, Boundary Throwing",null,null,"bpmn business process model notation event escalation intermediate boundary throwing"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=escalation;",\r\n50,50,"","Escalation Intermediate, Boundary Interrupting",null,null,"bpmn business process model notation event escalation intermediate boundary interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundNonint;symbol=escalation;",\r\n50,50,"","Escalation Intermediate, Non-Interrupting",null,null,"bpmn business process model notation event escalation intermediate non interrupting nonimpterrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=end;symbol=escalation;",\r\n50,50,"","Escalation End",null,null,"bpmn business process model notation event escalation end"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventInt;symbol=error;",50,50,"","Error Start, Interrupting",null,null,"bpmn business process model notation event error start interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=error;",50,50,"","Error Intermediate, Boundary Interrupting",null,null,"bpmn business process model notation event error intermediate boundary interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=end;symbol=error;",50,50,"","Error End",null,null,"bpmn business process model notation event error end"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventInt;symbol=compensation;",\r\n50,50,"","Compensation Start, Interrupting",null,null,"bpmn business process model notation event compensation start interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=throwing;symbol=compensation;",50,50,"",\r\n"Compensation Intermediate, Throwing",null,null,"bpmn business process model notation event compensation intermediate throwing"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=compensation;",50,50,"","Compensation Intermediate, Boundary Interrupting",\r\nnull,null,"bpmn business process model notation event compensation intermediate boundary interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=end;symbol=compensation;",50,50,"","Compensation End",null,null,"bpmn business process model notation event compensation end"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=standard;symbol=conditional;",50,50,"","Conditional Start, Interrupting",null,null,"bpmn business process model notation event conditional start interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventNonint;symbol=conditional;",\r\n50,50,"","Conditional Start, Non-Interrupting",null,null,"bpmn business process model notation event conditional start non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=catching;symbol=conditional;",\r\n50,50,"","Conditional Intermediate, Catching",null,null,"bpmn business process model notation event conditional intermediate catching"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=conditional;",50,50,\r\n"","Conditional Intermediate, Boundary Interrupting",null,null,"bpmn business process model notation event conditional intermediate boundary interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundNonint;symbol=conditional;",\r\n50,50,"","Conditional Intermediate, Boundary Non-Interrupting",null,null,"bpmn business process model notation event conditional intermediate boundary non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=catching;symbol=link;",\r\n50,50,"","Link Intermediate, Catching",null,null,"bpmn business process model notation event link intermediate catching"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=throwing;symbol=link;",50,50,"","Link Intermediate, Throwing",\r\nnull,null,"bpmn business process model notation event link intermediate throwing"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=standard;symbol=signal;",50,50,"","Signal Start, Interrupting",null,null,"bpmn business process model notation event signal start interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventNonint;symbol=signal;",50,50,"","Signal Start, Non-Interrupting",null,null,"bpmn business process model notation event signal start non interrupting noninterrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=catching;symbol=signal;",50,50,"","Signal Intermediate, Catching",null,null,"bpmn business process model notation event signal intermediate catching"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=throwing;symbol=signal;",\r\n50,50,"","Signal Intermediate, Throwing",null,null,"bpmn business process model notation event signal intermediate throwing"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=signal;",50,50,"","Signal Intermediate, Boundary Interrupting",\r\nnull,null,"bpmn business process model notation event signal intermediate boundary interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundNonint;symbol=signal;",50,50,"","Signal Intermediate, Boundary Non-Interrupting",\r\nnull,null,"bpmn business process model notation event signal intermediate noundary non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=end;symbol=signal;",50,50,"","Signal End",null,null,\r\n"bpmn business process model notation event signal end"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=standard;symbol=multiple;",50,50,"","Multiple Start, Interrupting",null,null,"bpmn business process model notation event multiple start interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventNonint;symbol=multiple;",50,50,"","Multiple Start, Non-Interrupting",null,null,"bpmn business process model notation event multiple start non interrupting noninterrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=catching;symbol=multiple;",50,50,"","Multiple Intermediate, Catching",null,null,"bpmn business process model notation event multiple intermediate catching"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=throwing;symbol=multiple;",\r\n50,50,"","Multiple Intermediate, Throwing",null,null,"bpmn business process model notation event multiple intermediate throwing"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=multiple;",50,50,"","Multiple Intermediate, Boundary Interrupting",\r\nnull,null,"bpmn business process model notation event multiple intermediate boundary interrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundNonint;symbol=multiple;",50,50,"","Multiple Intermediate, Boundary Non-Interrupting",\r\nnull,null,"bpmn business process model notation event multiple intermediate boundary non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=end;symbol=multiple;",50,50,"","Multiple End",null,\r\nnull,"bpmn business process model notation event multiple end"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Start, Interrupting",null,null,"bpmn business process model notation event parallel multiple start interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=eventNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Start, Non-Interrupting",null,null,"bpmn business process model notation event parallel multiple start non interrupting noninterrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=catching;symbol=parallelMultiple;",50,50,"","Parallel Multiple Intermediate, Catching",null,null,"bpmn business process model notation event parallel multiple intermediate catching"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Intermediate, Boundary Interrupting",null,null,"bpmn business process model notation event parallel multiple intermediate boundary interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Intermediate, Boundary Non-Interrupting",null,null,"bpmn business process model notation event parallel multiple intermediate boundary non interrupting noninterrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=boundInt;symbol=cancel;",50,50,"","Cancel Intermediate, Boundary Interrupting",null,null,"bpmn business process model notation event cancel intermediate boundary interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=end;symbol=cancel;",50,50,"","Cancel End",null,null,"bpmn business process model notation event cancel end"),this.createVertexTemplateEntry("points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=end;symbol=terminate;",\r\n50,50,"","Terminate",null,null,"bpmn business process model notation event terminate")];this.addPalette("bpmn2Events","BPMN 2.0 Events",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addBPMN2GatewaysPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=none;symbol=none;",\r\n50,50,"","Exclusive",null,null,"bpmn business process model notation gateway exclusive"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=none;symbol=none;gwType=exclusive;",50,50,"","Exclusive",null,null,"bpmn business process model notation gateway exclusive"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=general;",50,50,"","Inclusive",null,null,"bpmn business process model notation gateway inclusive"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=none;symbol=none;gwType=parallel;",\r\n50,50,"","Parallel",null,null,"bpmn business process model notation gateway parallel"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=none;symbol=none;gwType=complex;",50,50,"","Complex",null,null,"bpmn business process model notation gateway complex"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=standard;symbol=general;",50,50,"","Start",null,null,"bpmn business process model notation gateway none start"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=throwing;symbol=general;",\r\n50,50,"","Intermediate",null,null,"bpmn business process model notation gateway none intermediate"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=general;",50,50,"","End",null,null,"bpmn business process model notation gateway none end"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=standard;symbol=message;",50,50,"","Message",null,null,"bpmn business process model notation gateway message standard"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventInt;symbol=message;",\r\n50,50,"","Message (Interrupting)",null,null,"bpmn business process model notation gateway message interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventNonint;symbol=message;",50,50,"","Message (Non-Interrupting)",null,null,\r\n"bpmn business process model notation gateway message non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=catching;symbol=message;",50,50,"","Message (Catching)",null,null,"bpmn business process model notation gateway message catching"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=message;",50,50,"","Message Boundary (Interrupting)",null,null,"bpmn business process model notation gateway message boundary interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundNonint;symbol=message;",\r\n50,50,"","Message Boundary (Non-Interrupting)",null,null,"bpmn business process model notation gateway message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=throwing;symbol=message;",50,50,"",\r\n"Message (Throwing)",null,null,"bpmn business process model notation gateway message throwing"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=message;",50,50,"","Message End",null,null,"bpmn business process model notation gateway message end"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=standard;symbol=timer;",50,50,"","Timer",null,null,"bpmn business process model notation gateway timer standard"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventInt;symbol=timer;",\r\n50,50,"","Timer (Interrupting)",null,null,"bpmn business process model notation gateway timer interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventNonint;symbol=timer;",50,50,"","Timer (Non-Interrupting)",null,null,"bpmn business process model notation gateway timer non interrupting noninterrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=catching;symbol=timer;",50,50,"","Timer (Catching)",null,null,"bpmn business process model notation gateway timer catching"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=timer;",\r\n50,50,"","Timer Boundary (Interrupting)",null,null,"bpmn business process model notation gateway timer boundary interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundNonint;symbol=timer;",50,50,"","Timer Boundary (Non-Interrupting)",\r\nnull,null,"bpmn business process model notation gateway timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventInt;symbol=escalation;",50,50,"","Escalation (Interrupting)",null,null,"bpmn business process model notation gateway escalation interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventNonint;symbol=escalation;",50,50,"","Escalation (Non-Interrupting)",null,null,"bpmn business process model notation gateway escalation non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=escalation;",\r\n50,50,"","Escalation Boundary (Interrupting)",null,null,"bpmn business process model notation gateway escalation boundary interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundNonint;symbol=escalation;",50,50,"","Escalation Boundary (Non-Interrupting)",\r\nnull,null,"bpmn business process model notation gateway escalation boundary non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=throwing;symbol=escalation;",50,50,"","Escalation (Throwing)",null,null,"bpmn business process model notation gateway escalation throwing"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=escalation;",50,50,"","Escalation End",null,null,"bpmn business process model notation gateway escalation end"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=standard;symbol=conditional;",\r\n50,50,"","Conditional",null,null,"bpmn business process model notation gateway conditional standard"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventInt;symbol=conditional;",50,50,"","Conditional (Interrupting)",null,null,"bpmn business process model notation gateway conditional interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventNonint;symbol=conditional;",50,50,"","Conditional (Non-Interrupting)",null,null,"bpmn business process model notation gateway conditional non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=catching;symbol=conditional;",\r\n50,50,"","Conditional (Catching)",null,null,"bpmn business process model notation gateway conditional catching"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=conditional;",50,50,"","Conditional Boundary (Interrupting)",\r\nnull,null,"bpmn business process model notation gateway conditional boundary interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundNonint;symbol=conditional;",50,50,"","Conditional Boundary (Non-Interrupting)",null,null,"bpmn business process model notation gateway conditional boundary non interrupting noninterrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=catching;symbol=link;",50,50,"","Link (Catching)",null,null,"bpmn business process model notation gateway link catching"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=throwing;symbol=link;",\r\n50,50,"","Link (Throwing)",null,null,"bpmn business process model notation gateway link throwing"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventInt;symbol=error;",50,50,"","Error (Interrupting)",null,null,"bpmn business process model notation gateway error interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=error;",50,50,"","Error Boundary (Interrupting)",null,null,"bpmn business process model notation gateway error boundary interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=error;",\r\n50,50,"","Error (End)",null,null,"bpmn business process model notation gateway error end"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=cancel;",50,50,"","Cancel Boundary (Interrupting)",null,null,"bpmn business process model notation gateway cancel boundary interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=cancel;",50,50,"","Cancel End",null,null,"bpmn business process model notation gateway cancel end"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventInt;symbol=compensation;",\r\n50,50,"","Compensation (Interrupting)",null,null,"bpmn business process model notation gateway compensation interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=compensation;",50,50,"","Compensation Boundary (Interrupting)",\r\nnull,null,"bpmn business process model notation gateway compensation boundary interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=throwing;symbol=compensation;",50,50,"","Compensation (Throwing)",null,null,"bpmn business process model notation gateway compensation throwing"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=compensation;",50,50,"","Compensation End",null,null,"bpmn business process model notation gateway compensation end"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=standard;symbol=signal;",\r\n50,50,"","Signal",null,null,"bpmn business process model notation gateway signal standard"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventInt;symbol=signal;",50,50,"","Signal (Interrupting)",null,null,"bpmn business process model notation gateway signal interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventNonint;symbol=signal;",50,50,"","Signal (Non-Interrupting)",null,null,"bpmn business process model notation gateway signal non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=catching;symbol=signal;",\r\n50,50,"","Signal (Catching)",null,null,"bpmn business process model notation gateway signal catching"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=signal;",50,50,"","Signal Boundary (Interrupting)",null,null,"bpmn business process model notation gateway signal boundary interrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundNonint;symbol=signal;",50,50,"","Signal Boundary (Non-Interrupting)",null,null,"bpmn business process model notation gateway signal boundary non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=throwing;symbol=signal;",\r\n50,50,"","Signal (Throwing)",null,null,"bpmn business process model notation gateway signal throwing"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=signal;",50,50,"","Signal End",null,null,"bpmn business process model notation gateway signal end"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=standard;symbol=multiple;",50,50,"","Multiple ",null,null,"bpmn business process model notation gateway multiple standard"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventInt;symbol=multiple;",\r\n50,50,"","Multiple (Interrupting)",null,null,"bpmn business process model notation gateway multiple interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventNonint;symbol=multiple;",50,50,"","Multiple (Non-Interrupting)",null,\r\nnull,"bpmn business process model notation gateway multiple non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=catching;symbol=multiple;",50,50,"","Multiple (Catching)",null,null,"bpmn business process model notation gateway multiple catching"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=multiple;",50,50,"","Multiple Boundary (Interrupting)",null,null,"bpmn business process model notation gateway multiple boundary interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundNonint;symbol=multiple;",\r\n50,50,"","Multiple Boundary (Non-Interrupting)",null,null,"bpmn business process model notation gateway multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=throwing;symbol=multiple;",50,50,\r\n"","Multiple (Throwing)",null,null,"bpmn business process model notation gateway multiple throwing"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=multiple;",50,50,"","Multiple End",null,null,"bpmn business process model notation gateway multiple end"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=standard;symbol=star;",50,50,"","Multiple Start",null,null,"bpmn business process model notation gateway multiple end"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=standard;symbol=parallelMultiple;",\r\n50,50,"","Parallel Multiple",null,null,"bpmn business process model notation gateway parallel multiple standard"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple (Interrupting)",\r\nnull,null,"bpmn business process model notation gateway parallel multiple interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=eventNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple (Non-Interrupting)",null,null,"bpmn business process model notation gateway parallel multiple non interrupting noninterrupting"),\r\nthis.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=catching;symbol=parallelMultiple;",50,50,"","Parallel Multiple (Catching)",null,null,"bpmn business process model notation gateway parallel multiple catching"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundInt;symbol=parallelMultiple;",\r\n50,50,"","Parallel Multiple Boundary (Interrupting)",null,null,"bpmn business process model notation gateway parallel multiple boundary interrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=boundNonint;symbol=parallelMultiple;",\r\n50,50,"","Parallel Multiple Boundary (Non-Interrupting)",null,null,"bpmn business process model notation gateway parallel multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry("points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=end;symbol=terminate;",\r\n50,50,"","Terminate",null,null,"bpmn business process model notation gateway terminate")];this.addPalette("bpmn2Gateways","BPMN 2.0 Gateways",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}})();(function(){Sidebar.prototype.addC4Palette=function(){this.setCurrentSearchEntryLibrary("c4");this.addPaletteFunctions("c4","C4",!1,[this.addEntry("c4 person",function(){var a=new mxCell("",new mxGeometry(0,0,100*1.1,140),\'html=1;dashed=0;whitespace=wrap;fillColor=#08427b;strokeColor=none;fontColor=#ffffff;shape=mxgraph.c4.person;align=center;metaEdit=1;points=[[0.5,0,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0]];metaData={"c4Type":{"editable":false}};\');a.vertex=!0;\r\na.setValue(mxUtils.createXmlDocument().createElement("object"));a.setAttribute("placeholders","1");a.setAttribute("c4Name","name");a.setAttribute("c4Type","Person");a.setAttribute("c4Description","Description");a.setAttribute("label","<b>%c4Name%</b><div>[%c4Type%]</div><br><div>%c4Description%</div>");return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Person")}),this.addEntry("c4 software system",function(){var a=new mxCell("",new mxGeometry(0,0,160,100*1.1),\'rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#1168BD;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#1168BD;metaEdit=1;metaData={"c4Type":{"editable":false}};points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];\');\r\na.vertex=!0;a.setValue(mxUtils.createXmlDocument().createElement("object"));a.setAttribute("placeholders","1");a.setAttribute("c4Name","name");a.setAttribute("c4Type","Software System");a.setAttribute("c4Description","Description");a.setAttribute("label","<b>%c4Name%</b><div>[%c4Type%]</div><br><div>%c4Description%</div>");return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Software System")}),this.addEntry("c4 software system",function(){var a=new mxCell("",new mxGeometry(0,\r\n0,160,100*1.1),\'rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#999999;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#8A8A8A;metaEdit=1;metaData={"c4Type":{"editable":false}};points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];\');a.vertex=!0;a.setValue(mxUtils.createXmlDocument().createElement("object"));a.setAttribute("placeholders","1");a.setAttribute("c4Name","name");a.setAttribute("c4Type",\r\n"Software System");a.setAttribute("c4Description","Description");a.setAttribute("label","<b>%c4Name%</b><div>[%c4Type%]</div><br><div>%c4Description%</div>");return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Software System")}),this.addEntry("c4 container",function(){var a=new mxCell("",new mxGeometry(0,0,160,100*1.1),\'rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#438DD5;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#3C7FC0;metaEdit=1;metaData={"c4Type":{"editable":false}};points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];\');\r\na.vertex=!0;a.setValue(mxUtils.createXmlDocument().createElement("object"));a.setAttribute("placeholders","1");a.setAttribute("c4Name","name");a.setAttribute("c4Type","Container");a.setAttribute("c4Technology","technology");a.setAttribute("c4Description","Description");a.setAttribute("label","<b>%c4Name%</b><div>[%c4Type%: %c4Technology%]</div><br><div>%c4Description%</div>");return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Container")}),this.addEntry("c4 component",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,160,100*1.1),\'rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#85BBF0;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#78A8D8;metaEdit=1;metaData={"c4Type":{"editable":false}};points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];\');a.vertex=!0;a.setValue(mxUtils.createXmlDocument().createElement("object"));a.setAttribute("placeholders","1");\r\na.setAttribute("c4Name","name");a.setAttribute("c4Type","Component");a.setAttribute("c4Technology","technology");a.setAttribute("c4Description","Description");a.setAttribute("label","<b>%c4Name%</b><div>[%c4Type%: %c4Technology%]</div><br><div>%c4Description%</div>");return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Component")}),this.addEntry("c4 execution environment",function(){var a=new mxCell("",new mxGeometry(0,0,200,170),\'rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#ffffff;fontColor=#000000;align=left;arcSize=5;strokeColor=#000000;verticalAlign=bottom;metaEdit=1;metaData={"c4Type":{"editable":false}};points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];\');\r\na.vertex=!0;a.setValue(mxUtils.createXmlDocument().createElement("object"));a.setAttribute("placeholders","1");a.setAttribute("c4Name","name");a.setAttribute("c4Type","ExecutionEnvironment");a.setAttribute("c4Application","applicationAndVersion");a.setAttribute("label",\'<div style="text-align: left">%c4Name%</div><div style="text-align: left">[%c4Application%]</div>\');return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Execution Environment")}),this.addEntry("c4 deployment node",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,240,100*2.3),\'rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#ffffff;fontColor=#000000;align=left;arcSize=5;strokeColor=#000000;verticalAlign=bottom;metaEdit=1;metaData={"c4Type":{"editable":false}};points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];\');a.vertex=!0;a.setValue(mxUtils.createXmlDocument().createElement("object"));a.setAttribute("placeholders",\r\n"1");a.setAttribute("c4Name","hostname");a.setAttribute("c4Type","DeploymentNode");a.setAttribute("c4OperationSystem","operationSystem");a.setAttribute("c4ScalingFactor","scalingFactor");a.setAttribute("label",\'<div style="text-align: left">%c4Name%</div><div style="text-align: left">[%c4OperationSystem%]</div><div style="text-align: right">%c4ScalingFactor%</div>\');return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Deployment Node")}),this.addEntry("c4 database",function(){var a=\r\nnew mxCell("",new mxGeometry(0,0,160,140),\'shape=cylinder;whiteSpace=wrap;html=1;boundedLbl=1;rounded=0;labelBackgroundColor=none;fillColor=#438DD5;fontSize=12;fontColor=#ffffff;align=center;strokeColor=#3C7FC0;metaEdit=1;points=[[0.5,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.5,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];metaData={"c4Type":{"editable":false}};\');a.vertex=!0;a.setValue(mxUtils.createXmlDocument().createElement("object"));a.setAttribute("placeholders","1");a.setAttribute("c4Type","Database");\r\na.setAttribute("c4Technology","Technology");a.setAttribute("c4Description","Description");a.setAttribute("label","%c4Type%<div>[Container:&nbsp;%c4Technology%]</div><br><div>%c4Description%</div>");return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Database")}),this.addEntry("c4 relationship",function(){var a=new mxCell("",new mxGeometry(0,0,160,0),\'edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#707070;strokeWidth=2;fontColor=#707070;jumpStyle=none;dashed=1;metaEdit=1;metaData={"c4Type":{"editable":false}};\');\r\na.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.edge=!0;a.setValue(mxUtils.createXmlDocument().createElement("object"));a.setAttribute("placeholders","1");a.setAttribute("c4Type","Relationship");a.setAttribute("c4Technology","technology");a.setAttribute("c4Description","Description");a.setAttribute("label",\'<div style="text-align: left"><div style="text-align: center"><b>%c4Description%</b></div><div style="text-align: center">[%c4Technology%]</div></div>\');\r\nreturn sb.createEdgeTemplateFromCells([a],a.geometry.width,a.geometry.height,"Relationship")})]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addCabinetsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;dashed=0;shadow=0;html=1;align=center;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;shape=mxgraph.cabinets.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=middle;dashed=0;shadow=0;html=1;shape=mxgraph.cabinets.",e=this;this.setCurrentSearchEntryLibrary("cabinets");var c=[this.createVertexTemplateEntry(a+"cabinet;hasStand=1",250,500,"","Cabinet",null,null,this.getTagsForStencil("mxgraph.cabinets",\r\n"cabinet","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"dimension;verticalAlign=top;align=center;",250,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.cabinets","dimension","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"dimensionBottom;verticalAlign=bottom;align=center;",250,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.cabinets","dimensionBottom","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"coverPlate",50*4.4,125,"","Cover Plate",null,\r\nnull,this.getTagsForStencil("mxgraph.cabinets","coverPlate","cabinet ").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,12.5,"25x40","Panel Wiring System 25x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,20,"40x40","Panel Wiring System 40x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets",\r\n"","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,30,"60x40","Panel Wiring System 60x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,40,"80x40","Panel Wiring System 80x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),\r\nthis.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,50,"100x40","Panel Wiring System 100x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;direction=south;horizontal=0;",12.5,350,"25x40","Panel Wiring System 25x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),\r\nthis.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;direction=south;horizontal=0;",20,350,"40x40","Panel Wiring System 40x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;direction=south;horizontal=0;",30,350,"60x40","Panel Wiring System 60x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),\r\nthis.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;direction=south;horizontal=0;",40,350,"80x40","Panel Wiring System 80x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;direction=south;horizontal=0;",50,350,"100x40","Panel Wiring System 100x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cb_1p;",9,50,"","Circuit Breaker (1P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_1p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",function(){var c=new mxCell("",new mxGeometry(0,0,9,50),a+"cb_1p;");c.vertex=!0;var b=new mxCell("",new mxGeometry(9,0,9,50),a+"cb_1p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(18,0,9,50),a+"cb_1p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(27,0,9,50),a+"cb_1p;");h.vertex=!0;var k=new mxCell("",\r\nnew mxGeometry(36,0,9,50),a+"cb_1p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(45,0,9,50),a+"cb_1p;");l.vertex=!0;var m=new mxCell("",new mxGeometry(54,0,9,50),a+"cb_1p;");m.vertex=!0;var p=new mxCell("",new mxGeometry(63,0,9,50),a+"cb_1p;");p.vertex=!0;var n=new mxCell("",new mxGeometry(72,0,9,50),a+"cb_1p;");n.vertex=!0;var q=new mxCell("",new mxGeometry(81,0,9,50),a+"cb_1p;");q.vertex=!0;return e.createVertexTemplateFromCells([c,b,g,h,k,l,m,p,n,q],90,50,"Circuit Breaker (1P x 10)")}),this.createVertexTemplateEntry(a+\r\n"cb_2p;",18,50,"","Circuit Breaker (2P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_2p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",function(){var c=new mxCell("",new mxGeometry(0,0,18,50),a+"cb_2p;");c.vertex=!0;var b=new mxCell("",new mxGeometry(18,0,18,50),a+"cb_2p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(36,0,18,50),a+"cb_2p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(54,0,18,50),a+"cb_2p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(72,0,\r\n18,50),a+"cb_2p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(90,0,18,50),a+"cb_2p;");l.vertex=!0;var m=new mxCell("",new mxGeometry(108,0,18,50),a+"cb_2p;");m.vertex=!0;var p=new mxCell("",new mxGeometry(126,0,18,50),a+"cb_2p;");p.vertex=!0;var n=new mxCell("",new mxGeometry(144,0,18,50),a+"cb_2p;");n.vertex=!0;var q=new mxCell("",new mxGeometry(162,0,18,50),a+"cb_2p;");q.vertex=!0;return e.createVertexTemplateFromCells([c,b,g,h,k,l,m,p,n,q],180,50,"Circuit Breaker (2P x 10)")}),this.createVertexTemplateEntry(a+\r\n"cb_3p;",27,50,"","Circuit Breaker (3P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_3p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",function(){var c=new mxCell("",new mxGeometry(0,0,27,50),a+"cb_3p;");c.vertex=!0;var b=new mxCell("",new mxGeometry(27,0,27,50),a+"cb_3p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(54,0,27,50),a+"cb_3p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(81,0,27,50),a+"cb_3p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(108,\r\n0,27,50),a+"cb_3p;");k.vertex=!0;return e.createVertexTemplateFromCells([c,b,g,h,k],135,50,"Circuit Breaker (3P x 5)")}),this.createVertexTemplateEntry(a+"cb_4p;",36,50,"","Circuit Breaker (4P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_4p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",function(){var c=new mxCell("",new mxGeometry(0,0,36,50),a+"cb_4p;");c.vertex=!0;var b=new mxCell("",new mxGeometry(36,0,36,50),a+"cb_4p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(72,\r\n0,36,50),a+"cb_4p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(108,0,36,50),a+"cb_4p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(144,0,36,50),a+"cb_4p;");k.vertex=!0;return e.createVertexTemplateFromCells([c,b,g,h,k],180,50,"Circuit Breaker (4P x 5)")}),this.createVertexTemplateEntry(a+"cb_auxiliary_contact;",4.5,50,"","Auxiliary Contact (Circuit Breaker)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_auxiliary_contact","cabinet ").join(" ")),this.createVertexTemplateEntry(a+\r\n"contactor_1_32a;",27,43,"","Contactor (1-32A)",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"auxiliary_contact_contactor_1_32a;",4.5,43,"","Auxiliary Contact (Contactor 1-32A)",null,null,this.getTagsForStencil("mxgraph.cabinets","auxiliary_contact_contactor_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"contactor_32_125a;",30,50,"","Contactor 32 to 125A",null,null,this.getTagsForStencil("mxgraph.cabinets",\r\n"contactor_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"auxiliary_contact_contactor_32_125a;",4.5,50,"","Auxiliary Contact (Contactor 32-125A)",null,null,this.getTagsForStencil("mxgraph.cabinets","auxiliary_contact_contactor_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"contactor_125_400a;",50*1.1,90,"","Contactor 125 to 400A",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"distribution_block_4p_125a_11_connections;",\r\n100,60,"","Distribution Block 4P 125A 11 Connections",null,null,this.getTagsForStencil("mxgraph.cabinets","distribution_block_4p_125a_11_connections","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"distribution_block_4p_125a_11_connections_2;",100,50,"","Distribution Block 4P 125A 11 Connections",null,null,this.getTagsForStencil("mxgraph.cabinets","distribution_block_4p_125a_11_connections_2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"mccb_25_63a_3p;",60,90,"","MCCB 25-63A 3P",\r\nnull,null,this.getTagsForStencil("mxgraph.cabinets","mccb_25_63a_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"mccb_25_63a_4p;",80,90,"","MCCB 25-63A 4P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_25_63a_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"mccb_63_250a_3p;",70,105,"","MCCB 63-250A 3P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_63_250a_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"mccb_63_250a_4p;",95,105,"","MCCB 63-250A 4P",\r\nnull,null,this.getTagsForStencil("mxgraph.cabinets","mccb_63_250a_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motorized_switch_3p;",85,70,"","Motorized Switch 3P",null,null,this.getTagsForStencil("mxgraph.cabinets","motorized_switch_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motorized_switch_4p;",100,70,"","Motorized Switch 4P",null,null,this.getTagsForStencil("mxgraph.cabinets","motorized_switch_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_cb_1_32a;",\r\n27,43,"","Motor Circuit Breaker 1-32A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_cb_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_cb_32_125a;",30,50,"","Motor Circuit Breaker 32-125A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_cb_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_cb_125_400a;",50*1.1,90,"","Motor Circuit Breaker 125-400A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_cb_125_400a","cabinet ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"motor_protection_cb;",27,50,"","Motor Protection CB",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_protection_cb","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_starter_1_32a;",27,43,"","Motor Circuit Breaker 1-32A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_starter_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_starter_32_125a;",30,50,"","Motor Circuit Breaker 32-125A",null,null,this.getTagsForStencil("mxgraph.cabinets",\r\n"motor_starter_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"motor_starter_125_400a;",50*1.1,90,"","Motor Circuit Breaker 125-400A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_starter_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"overcurrent_relay_1_32a;",27,15,"","Overcurrent Relay 1-32A",null,null,this.getTagsForStencil("mxgraph.cabinets","overcurrent_relay_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"overcurrent_relay_32_125a;",\r\n30,16.5,"","Overcurrent Relay 32-125A",null,null,this.getTagsForStencil("mxgraph.cabinets","overcurrent_relay_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"overcurrent_relay_125_400a;",50*1.1,30,"","Overcurrent Relay 125-400A",null,null,this.getTagsForStencil("mxgraph.cabinets","overcurrent_relay_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"plugin_relay_1;",3,40,"","Plugin Relay",null,null,this.getTagsForStencil("mxgraph.cabinets","plugin_relay_1","cabinet ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"plugin_relay_2;",12,40,"","Plugin Relay",null,null,this.getTagsForStencil("mxgraph.cabinets","plugin_relay_2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"din_rail;",500,25,"","DIN Rail",null,null,this.getTagsForStencil("mxgraph.cabinets","din_rail","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"residual_current_device_2p;",18,50,"","Residual Current Device 2p",null,null,this.getTagsForStencil("mxgraph.cabinets","residual_current_device_2p",\r\n"cabinet ").join(" ")),this.createVertexTemplateEntry(a+"residual_current_device_4p;",36,50,"","Residual Current Device 4p",null,null,this.getTagsForStencil("mxgraph.cabinets","residual_current_device_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"surge_protection_1p;",9,50,"","Surge Protection 1p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_1p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"surge_protection_2p;",18,50,"","Surge Protection 2p",null,\r\nnull,this.getTagsForStencil("mxgraph.cabinets","surge_protection_2p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"surge_protection_3p;",27,50,"","Surge Protection 3p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"surge_protection_4p;",36,50,"","Surge Protection 4p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_4mm2;",\r\n2.5,25,"","Terminal 4mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_4mm2_x10;",25,25,"","Terminal 4mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_4_6mm2;",2.5,30,"","Terminal 4-6mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4_6mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+\r\n"terminal_4_6mm2_x10;",25,30,"","Terminal 4-6mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4_6mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_6_25mm2;",5,37.5,"","Terminal 6-25mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_6_25mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_6_25mm2_x10;",50,37.5,"","Terminal 6-25mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_6_25mm2_x10","cabinet ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"terminal_40mm2;",11,50,"","Terminal 40mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_40mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_40mm2_x10;",50*2.2,50,"","Terminal 40mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_40mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_50mm2;",12.5,50*1.1,"","Terminal 50mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_50mm2",\r\n"cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_50mm2_x10;",125,50*1.1,"","Terminal 50mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_50mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_75mm2;",15,70,"","Terminal 75mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_75mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_75mm2_x10;",150,70,"","Terminal 75mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets",\r\n"terminal_75mm2_x10","cabinet ").join(" "))];this.addPalette("cabinets",mxResources.get("cabinets"),!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addCiscoPalette=function(a,b){for(var e=0;e<a.length;e++)this.setCurrentSearchEntryLibrary("cisco","cisco"+a[e]),this.addStencilPalette("cisco"+a[e],"Cisco / "+a[e],b+"/cisco/"+a[e].toLowerCase().replace(/ /g,"_")+".xml",";html=1;pointerEvents=1;dashed=0;fillColor=#036897;strokeColor=#ffffff;strokeWidth=2;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;",null,null,1.6,null,null,"cisco");this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addCisco19Palette=function(){var a="points=[[0.015,0.015,0],[0.985,0.015,0],[0.985,0.985,0],[0.015,0.985,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;aspect=fixed;align=center;pointerEvents=1;shape=mxgraph.cisco19.",b="points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0],[0.145,0.145,0],[0.8555,0.145,0],[0.855,0.8555,0],[0.145,0.855,0]];"+\r\nmxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;aspect=fixed;align=center;pointerEvents=1;shape=mxgraph.cisco19.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;aspect=fixed;align=center;pointerEvents=1;shape=mxgraph.cisco19.";this.setCurrentSearchEntryLibrary("cisco19","cisco19LAN Switching");this.addCisco19LANSwitchingPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19Routing WAN");\r\nthis.addCisco19RoutingWANPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19Network Management");this.addCisco19NetworkManagementPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19Data Center");this.addCisco19DataCenterPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19Wireless LAN");this.addCisco19WirelessLANPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19Collaboration");this.addCisco19CollaborationPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19",\r\n"cisco19Security Clouds Connectors");this.addCisco19SecurityCloudsAndConnectorsPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19Endpoint Client Device Icons");this.addCisco19EndpointClientDeviceIconsPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19DNA SD Access");this.addCisco19DNASDAccessPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19SD WAN Viptela");this.addCisco19SDWANViptelaPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19ETA Stealthwatch");\r\nthis.addCisco19StealthwatchPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19SAFE");this.addCisco19SafePalette(a,b,e);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addCisco19LANSwitchingPalette=function(a,b,e){this.addPaletteFunctions("cisco19LAN Switching","Cisco 19 / LAN Switching",!1,[this.createVertexTemplateEntry(a+"rect;prIcon=l2_switch;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","L2 Switch",null,null,this.getTagsForStencil("mxgraph.cisco19","l2 switch","cisco lan switching local area network").join(" ")),\r\nthis.createVertexTemplateEntry(a+"rect;prIcon=l3_switch;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","L3 Switch",null,null,this.getTagsForStencil("mxgraph.cisco19","l3 switch","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=l2_modular;fillColor=#FAFAFA;strokeColor=#005073;",50,73,"","L2 Modular",null,null,this.getTagsForStencil("mxgraph.cisco19","l2 modular","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+\r\n"rect;prIcon=l3_modular;fillColor=#FAFAFA;strokeColor=#005073;",50,73,"","L3 Modular",null,null,this.getTagsForStencil("mxgraph.cisco19","l3 modular","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=6500_vss;fillColor=#FAFAFA;strokeColor=#005073;",50,73,"","6500 VSS",null,null,this.getTagsForStencil("mxgraph.cisco19","6500 vss","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=l2_switch_with_dual_supervisor;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,95,"","L2 Switch with Dual Supervisor",null,null,this.getTagsForStencil("mxgraph.cisco19","l2 switch with dual supervisor","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=l3_switch_with_dual_supervisor;fillColor=#FAFAFA;strokeColor=#005073;",50,95,"","L3 Switch with Dual Supervisor",null,null,this.getTagsForStencil("mxgraph.cisco19","l3 switch with dual supervisor","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+\r\n"rect;prIcon=l2_modular2;fillColor=#FAFAFA;strokeColor=#005073;",50,50*2.05,"","L2 Modular",null,null,this.getTagsForStencil("mxgraph.cisco19","l2 modular","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=l3_modular2;fillColor=#FAFAFA;strokeColor=#005073;",50,65,"","L3 Modular",null,null,this.getTagsForStencil("mxgraph.cisco19","l3 modular","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=6500_vss2;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,65,"","L3 Modular",null,null,this.getTagsForStencil("mxgraph.cisco19","l3 modular","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=secure_catalyst_switch_color;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Secure Catalyst Switch (color)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure catalyst switch color","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=secure_catalyst_switch_subdued;fillColor=#FAFAFA;strokeColor=#6696AB;",\r\n50,50,"","Secure Catalyst Switch (subdued)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure catalyst switch subdued","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=secure_switch;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Secure Switch (color)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure switch color","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=secure_switch;fillColor=#FAFAFA;strokeColor=#6696AB;",\r\n50,50,"","Secure Switch (subdued)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure switch subdued","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=workgroup_switch;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Workgroup Switch (color)",null,null,this.getTagsForStencil("mxgraph.cisco19","workgroup switch color","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=workgroup_switch;fillColor=#FAFAFA;strokeColor=#6696AB;",\r\n50,50,"","Workgroup Switch (subdued)",null,null,this.getTagsForStencil("mxgraph.cisco19","workgroup switch subdued","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=secure_catalyst_switch_color3;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Secure Catalyst Switch (color)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure catalyst switch color","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=secure_catalyst_switch_color2;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","Secure Catalyst Switch (color)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure catalyst switch color","cisco lan switching local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=secure_catalyst_switch_subdued2;fillColor=#FAFAFA;strokeColor=#6696AB;",50,50,"","Secure Catalyst Switch (subdued)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure catalyst switch subdued","cisco lan switching local area network").join(" "))])};Sidebar.prototype.addCisco19RoutingWANPalette=\r\nfunction(a,b,e){this.addPaletteFunctions("cisco19Routing WAN","Cisco 19 / Routing WAN",!1,[this.createVertexTemplateEntry(b+"rect;prIcon=router;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Router",null,null,this.getTagsForStencil("mxgraph.cisco19","router","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=csr_1000v;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","CSR1000v",null,null,this.getTagsForStencil("mxgraph.cisco19","csr1000v","cisco routing wan wide area network").join(" ")),\r\nthis.createVertexTemplateEntry(b+"rect;prIcon=wireless_router;fillColor=#FAFAFA;strokeColor=#005073;",50,60,"","Wireless Router",null,null,this.getTagsForStencil("mxgraph.cisco19","wireless router","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=l3_modular3;fillColor=#FAFAFA;strokeColor=#C1272D;",50,50,"","L3 Modular",null,null,this.getTagsForStencil("mxgraph.cisco19","l3 modular","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(b+\r\n"rect;prIcon=ucs_express;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","UCS Express",null,null,this.getTagsForStencil("mxgraph.cisco19","ucs express","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=router_with_voice;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Router with Voice",null,null,this.getTagsForStencil("mxgraph.cisco19","router with voice","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=router_with_firewall;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","Router with Firewall",null,null,this.getTagsForStencil("mxgraph.cisco19","router with firewall","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=netflow_router;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","NetFlow Router",null,null,this.getTagsForStencil("mxgraph.cisco19","netflow router","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=secure_router;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","Secure Router (color)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure router color","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=secure_router;fillColor=#FAFAFA;strokeColor=#6696AB;",50,50,"","Secure Router (subdued)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure router subdued","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=ip_telephone_router;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","IP Telephone Router",null,null,this.getTagsForStencil("mxgraph.cisco19","ip telephone router internet protocol","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=content_router;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Content Router",null,null,this.getTagsForStencil("mxgraph.cisco19","content router","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=service_ready_engine;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","Cisco Service Ready Engine",null,null,this.getTagsForStencil("mxgraph.cisco19","service ready engine","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=cisco_15800;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Cisco 15800",null,null,this.getTagsForStencil("mxgraph.cisco19","15800","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=appnav;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","AppNav",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","appnav","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=router_with_firewall2;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Router with Firewall",null,null,this.getTagsForStencil("mxgraph.cisco19","router with firewall","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=netflow_router2;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","NetFlow Router",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","netflow router","cisco routing wan wide area network").join(" ")),this.createVertexTemplateEntry("points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0],[0.25,0,0],[0.75,0,0],[0.25,1,0],[0.75,1,0],[0.125,0.25,0],[0.875,0.25,0],[0.875,0.75,0],[0.125,0.75,0]];"+e+"rect;prIcon=asr_1000;fillColor=#FAFAFA;strokeColor=#005073;",50*1.14,50,"","ASR 1000",null,null,this.getTagsForStencil("mxgraph.cisco19","asr 1000","cisco routing wan wide area network").join(" ")),\r\nthis.createVertexTemplateEntry(b+"rect;prIcon=asr_9000;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","ASR 9000",null,null,this.getTagsForStencil("mxgraph.cisco19","asr 9000","cisco routing wan wide area network").join(" "))])};Sidebar.prototype.addCisco19NetworkManagementPalette=function(a,b,e){this.addPaletteFunctions("cisco19Network Management","Cisco 19 / Network Management",!1,[this.createVertexTemplateEntry(a+"rect;prIcon=net_mgmt_appliance;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"",\r\n"Net Mgmt. Appliance",null,null,this.getTagsForStencil("mxgraph.cisco19","net management appliance mgmt","cisco network management").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nam_virtual_service_blade;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","NAM Virtual Service Blade",null,null,this.getTagsForStencil("mxgraph.cisco19","nam virtual service blade","cisco network management").join(" "))])};Sidebar.prototype.addCisco19DataCenterPalette=function(a,b,e){this.addPaletteFunctions("cisco19Data Center",\r\n"Cisco 19 / Data Center",!1,[this.createVertexTemplateEntry(a+"rect;prIcon=nexus_9300;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Nexus 9300",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 9300","cisco data center").join(" ")),this.createVertexTemplateEntry("points=[[0.015,0.015,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[0.985,0.015,0],[1,0.22,0],[1,0.44,0],[1,0.67,0],[0.985,0.89,0],[0,0.22,0],[0,0.44,0],[0,0.67,0],[0.015,0.89,0],[0.25,0.91,0],[0.5,0.91,0],[0.785,0.955,0]];"+e+"x509_certificate;fillColor=#005073;strokeColor=none;",\r\n50,47.5,"","x.509 Certificate",null,null,this.getTagsForStencil("mxgraph.cisco19","x509 certificate","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=hypervisor;fillColor=#FAFAFA;strokeColor=#005073;",50,65,"","Hypervisor",null,null,this.getTagsForStencil("mxgraph.cisco19","hypervisor","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nexus_9500;fillColor=#FAFAFA;strokeColor=#005073;",50,73,"","Nexus 9500",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"nexus 9500","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=fabric_interconnect;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Fabric Interconnect",null,null,this.getTagsForStencil("mxgraph.cisco19","fabric interconnect","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=fibre_channel_director_mds_9000;fillColor=#FAFAFA;strokeColor=#005073;",50,73,"","Fibre Channel Director MDS 9000",null,null,this.getTagsForStencil("mxgraph.cisco19","fibre channel director mds 9000",\r\n"cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=virtual_matrix_switch;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Virtual Matrix Switch",null,null,this.getTagsForStencil("mxgraph.cisco19","virtual matrix switch","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ucs_c_series_server;fillColor=#FAFAFA;strokeColor=#005073;",60,25,"","UCS C-Series Server",null,null,this.getTagsForStencil("mxgraph.cisco19","ucs c series server","cisco data center").join(" ")),\r\nthis.createVertexTemplateEntry(a+"rect;prIcon=nexus_5k_with_integrated_vsm;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Nexus 5K with Integrated VSM",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 5k with integrated vsm","cisco data center").join(" ")),this.createVertexTemplateEntry("points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0],[0.305,0.305,0],[0.695,0.305,0],[0.7,0.7,0],[0.3,0.7,0]];"+e+"rect;prIcon=aci;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","ACI",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"aci","cisco data center").join(" ")),this.createVertexTemplateEntry(b+"vts;fillColor=#005073;strokeColor=none;",50,50,"","VTS",null,null,this.getTagsForStencil("mxgraph.cisco19","vts","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ucs_5108_blade_chassis;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","UCS 5108 Blade Chassis",null,null,this.getTagsForStencil("mxgraph.cisco19","ucs 5108 blade chassis","cisco data center").join(" ")),this.createVertexTemplateEntry(a+\r\n"rect;prIcon=storage;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Storage",null,null,this.getTagsForStencil("mxgraph.cisco19","storage","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ups;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","UPS",null,null,this.getTagsForStencil("mxgraph.cisco19","ups","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=rps;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","RPS",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"rps","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nexus_2000_10ge;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Nexus 2000 10GE",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 2000 10ge","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=blade_server;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Blade Server (color)",null,null,this.getTagsForStencil("mxgraph.cisco19","blade server color","cisco data center").join(" ")),\r\nthis.createVertexTemplateEntry(a+"rect;prIcon=blade_server;fillColor=#FAFAFA;strokeColor=#6696AB;",50,50,"","Blade Server (subdued)",null,null,this.getTagsForStencil("mxgraph.cisco19","blade server subdued","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nexus_5k;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Nexus 5k",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 5k","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nexus_4k;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","Nexus 4k",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 4k","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nexus_3k;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Nexus 3k",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 3k","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nexus_2k;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Nexus 2k",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 2k","cisco data center").join(" ")),\r\nthis.createVertexTemplateEntry(a+"rect;prIcon=nexus_1kv_vsm;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Nexus 1KV VSM",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 1kv vsm","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nexus_1k;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Nexus 1k",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 1k","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=layer3_nexus_5k_switch;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","Layer 3 Nexus 5k Switch",null,null,this.getTagsForStencil("mxgraph.cisco19","layer3 nexus 5k switch","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nexus_1010;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Nexus 1010",null,null,this.getTagsForStencil("mxgraph.cisco19","nexus 1010","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nexus_7k;fillColor=#FAFAFA;strokeColor=#005073;",50,73,"","Nexus 7k",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"nexus 7k","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=fibre_channel_fabric_switch;fillColor=#FAFAFA;strokeColor=#005073;",50,73,"","Fibre Channel Fabric Switch",null,null,this.getTagsForStencil("mxgraph.cisco19","fibre channel fabric switch","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=database_relational;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Database Relational",null,null,this.getTagsForStencil("mxgraph.cisco19","database relational",\r\n"cisco data center").join(" ")),this.createVertexTemplateEntry(a+"server;fillColor=#005073;strokeColor=none;",50*.55,50,"","Server",null,null,this.getTagsForStencil("mxgraph.cisco19","server","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"dns_server;fillColor=#005073;strokeColor=none;",50*.55,50,"","DNS Server",null,null,this.getTagsForStencil("mxgraph.cisco19","dns domain name server","cisco data center").join(" ")),this.createVertexTemplateEntry(a+"secure_server;fillColor=#005073;strokeColor=none;",\r\n50*.55,50,"","Secure Server",null,null,this.getTagsForStencil("mxgraph.cisco19","secure server","cisco data center").join(" "))])};Sidebar.prototype.addCisco19WirelessLANPalette=function(a,b,e){this.addPaletteFunctions("cisco19Wireless LAN","Cisco 19 / Wireless LAN",!1,[this.createVertexTemplateEntry("points=[[0,0.58,0],[0.09,0.58,0],[0.36,0.39,0],[0.64,0.195,0],[0.91,0,0],[1,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[1,1,0],[0,1,0],[0.09,1,0],[0.36,1,0],[0.64,1,0],[0.91,1,0],[0,0.79,0]];"+e+"wifi_indicator;fillColor=#005073;strokeColor=none;",\r\n50,50,"","WiFi Indicator",null,null,this.getTagsForStencil("mxgraph.cisco19","wifi indicator","cisco wireless lan local area network").join(" ")),this.createVertexTemplateEntry("points=[[0.005,0.09,0],[0.08,0,0],[0.76,0.25,0],[1,0.92,0],[0.91,0.995,0],[0.57,0.995,0],[0.045,0.955,0],[0.005,0.43,0]];"+e+"3g_4g_indicator;fillColor=#005073;strokeColor=none;",50,50,"","3G/4G Indicator",null,null,this.getTagsForStencil("mxgraph.cisco19","3g 4g indicator","cisco wireless lan local area network").join(" ")),\r\nthis.createVertexTemplateEntry(a+"rect;prIcon=dual_mode_access_point;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Dual Mode Access Point",null,null,this.getTagsForStencil("mxgraph.cisco19","dual mode access point","cisco wireless lan local area network").join(" ")),this.createVertexTemplateEntry("points=[[0.03,0.36,0],[0.18,0,0],[0.5,0.34,0],[0.82,0,0],[0.97,0.36,0],[1,0.67,0],[0.975,0.975,0],[0.5,1,0],[0.025,0.975,0],[0,0.67,0]];"+e+"wireless_access_point;fillColor=#005073;strokeColor=none;",\r\n50,50,"","Wireless Acess Point",null,null,this.getTagsForStencil("mxgraph.cisco19","access point","cisco wireless lan local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=wireless_location_appliance;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Wireless Location Appliance",null,null,this.getTagsForStencil("mxgraph.cisco19","location appliance","cisco wireless lan local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=wireless_lan_controller;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","Wireless LAN Controller",null,null,this.getTagsForStencil("mxgraph.cisco19","controller","cisco wireless lan local area network").join(" ")),this.createVertexTemplateEntry(a+"wireless_bridge;fillColor=#005073;strokeColor=none;",64,50,"","Wireless Bridge",null,null,this.getTagsForStencil("mxgraph.cisco19","bridge","cisco wireless lan local area network").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=mesh_access_point;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Mesh Access Point",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","mesh access point","cisco wireless lan local area network").join(" "))])};Sidebar.prototype.addCisco19CollaborationPalette=function(a,b,e){this.addPaletteFunctions("cisco19Collaboration","Cisco 19 / Collaboration",!1,[this.createVertexTemplateEntry(a+"rect;prIcon=video_call_server;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Video Call Server",null,null,this.getTagsForStencil("mxgraph.cisco19","video call server","cisco collaboration").join(" ")),\r\nthis.createVertexTemplateEntry(a+"rect;prIcon=primary_codec;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Primary Codec",null,null,this.getTagsForStencil("mxgraph.cisco19","primary codec","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=secondary_codec;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Secondary Codec",null,null,this.getTagsForStencil("mxgraph.cisco19","secondary codec","cisco collaboration").join(" ")),this.createVertexTemplateEntry("points=[[0.13,0.225,0],[0.5,0,0],[0.87,0.225,0],[0.885,0.5,0],[0.985,0.99,0],[0.5,1,0],[0.015,0.99,0],[0.115,0.5,0]];"+\r\ne+"laptop_video_client;fillColor=#005073;strokeColor=none;",50,42.5,"","Laptop Video Client",null,null,this.getTagsForStencil("mxgraph.cisco19","laptop video client","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=immersive_telepresence_endpoint;fillColor=#FAFAFA;strokeColor=#005073;",50*2.3,50,"","Immersive Telepresence Endpoint",null,null,this.getTagsForStencil("mxgraph.cisco19","immersive telepresence endpoint","cisco collaboration").join(" ")),this.createVertexTemplateEntry("points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[1,0.4,0],[1,0.8,0],[0.815,1,0],[0.5,1,0],[0.185,1,0],[0,0.8,0],[0,0.4,0]];"+\r\ne+"hdtv;fillColor=#005073;strokeColor=none;",60,50,"","HDTV",null,null,this.getTagsForStencil("mxgraph.cisco19","hdtv","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=virtual_desktop_service;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Virtual Desktop Service",null,null,this.getTagsForStencil("mxgraph.cisco19","virtual desktop service","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=video_gateway;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","Video Gateway",null,null,this.getTagsForStencil("mxgraph.cisco19","video gateway","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=telepresence_endpoint;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Telepresence Endpoint",null,null,this.getTagsForStencil("mxgraph.cisco19","telepresence endpoint","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=collab1;fillColor=#FAFAFA;strokeColor=#005073;",50,65,"","Collaboration",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco19","","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=video_analytics;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Video Analytics",null,null,this.getTagsForStencil("mxgraph.cisco19","video analytics","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=telepresence_exchange;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Telepresence Exchange",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"telepresence exchange","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=meeting_scheduling_and_management_server;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Meeting Scheduling and Management Server",null,null,this.getTagsForStencil("mxgraph.cisco19","meeting scheduling and management server","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=multipoint_meeting_server;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Multipoint Meeting Server",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","multipoint meeting server","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=content_recording_streaming_server;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Content Recording / Streaming Server",null,null,this.getTagsForStencil("mxgraph.cisco19","content recording streaming server","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=communications_manager;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","Communications Manager",null,null,this.getTagsForStencil("mxgraph.cisco19","communications manager","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=cisco_unified_presence_service;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Cisco Unified Presence Service",null,null,this.getTagsForStencil("mxgraph.cisco19","cisco unified presence service","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=cisco_unified_contact_center_enterprise_and_hosted;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","Cisco Unified Contact Center Enterprise and Hosted",null,null,this.getTagsForStencil("mxgraph.cisco19","cisco unified contact center enterprise and hosted","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=h323;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","H.323",null,null,this.getTagsForStencil("mxgraph.cisco19","h323","cisco collaboration").join(" ")),this.createVertexTemplateEntry("points=[[0.015,0.015,0],[0.5,0,0],[0.985,0.015,0],[1,0.22,0],[0.985,0.43,0],[0.73,0.85,0],[0.5,1,0],[0.285,0.85,0],[0.015,0.43,0],[0,0.22,0]];"+\r\ne+"surveillance_camera;fillColor=#005073;strokeColor=none;",64,50,"","Surveillance Camera",null,null,this.getTagsForStencil("mxgraph.cisco19","surveillance camera","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=monitor;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Monitor",null,null,this.getTagsForStencil("mxgraph.cisco19","monitor","cisco collaboration").join(" ")),this.createVertexTemplateEntry("points=[[0.13,0.225,0],[0.5,0,0],[0.87,0.225,0],[0.885,0.5,0],[0.985,0.99,0],[0.5,1,0],[0.015,0.99,0],[0.115,0.5,0]];"+\r\ne+"upc_unified_personal_communicator;fillColor=#005073;strokeColor=none;",50,42.5,"","UPC Unified Personal Communicator",null,null,this.getTagsForStencil("mxgraph.cisco19","upc unified personal communicator","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=telepresence_endpoint_twin_data_display;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Telepresence Endpoint (twin data display)",null,null,this.getTagsForStencil("mxgraph.cisco19","telepresence endpoint twin data display",\r\n"cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=operations_manager;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Operations Manager",null,null,this.getTagsForStencil("mxgraph.cisco19","operations manager","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=transcoder;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Transcoder",null,null,this.getTagsForStencil("mxgraph.cisco19","transcoder","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+\r\n"rect;prIcon=contact_center_express;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Contact Center Express",null,null,this.getTagsForStencil("mxgraph.cisco19","contact center express","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=media_server;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Media Server",null,null,this.getTagsForStencil("mxgraph.cisco19","media server","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ip_ip_gateway;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","IP IP Gateway",null,null,this.getTagsForStencil("mxgraph.cisco19","ip gateway","cisco collaboration").join(" ")),this.createVertexTemplateEntry(b+"webex",50,50,"","WebEx",null,null,this.getTagsForStencil("mxgraph.cisco19","webex","cisco collaboration").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=clock;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Clock",null,null,this.getTagsForStencil("mxgraph.cisco19","clock","cisco collaboration").join(" ")),this.createVertexTemplateEntry("points=[[0.5,0,0],[0.75,0.37,0],[0.96,0.735,0],[0.5,1,0],[0.045,0.73,0],[0.25,0.37,0]];"+\r\ne+"phone_polycom;fillColor=#005073;strokeColor=none;",47.5,50,"","Phone Polycom",null,null,this.getTagsForStencil("mxgraph.cisco19","phone polycom","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=unity;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Unity",null,null,this.getTagsForStencil("mxgraph.cisco19","unity","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=shield;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Shield",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco19","shield","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=cisco_meetingplace_express;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Cisco MeetingPlace Express",null,null,this.getTagsForStencil("mxgraph.cisco19","meetingplace express","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=set_top;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Set Top",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"set top","cisco collaboration").join(" ")),this.createVertexTemplateEntry("points=[[0.59,0,0],[0.87,0.015,0],[0.88,0.3,0],[0.99,0.99,0],[0.5,1,0],[0.01,0.99,0],[0.075,0.5,0],[0.17,0.115,0]];"+e+"ip_phone;fillColor=#005073;strokeColor=none;",50*1.15,50,"","IP Phone",null,null,this.getTagsForStencil("mxgraph.cisco19","ip phone internet protocol","cisco collaboration").join(" ")),this.createVertexTemplateEntry("points=[[0,0.5,0],[0.19,0.02,0],[0.59,0,0],[0.985,0.02,0],[1,0.5,0],[0.985,0.98,0],[0.59,1,0],[0.19,0.98,0]];"+\r\ne+"camera;fillColor=#005073;strokeColor=none;",90,50,"","Camera",null,null,this.getTagsForStencil("mxgraph.cisco19","camera","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=da_encoder;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","DA Encoder",null,null,this.getTagsForStencil("mxgraph.cisco19","da encoder analog digital","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ad_encoder;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","AD Encoder",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","ad encoder analog digital","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=da_decoder;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","DA Decoder",null,null,this.getTagsForStencil("mxgraph.cisco19","da decoder analog digital","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ad_decoder;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","AD Decoder",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"ad decoder analog digital","cisco collaboration").join(" ")),this.createVertexTemplateEntry("points=[[0.13,0.24,0],[0.5,0.2,0],[0.62,0,0],[0.87,0.24,0],[0.95,0.55,0],[0.96,0.95,0],[0.5,1,0],[0.04,0.95,0],[0.05,0.55,0]];"+e+"joystick_keyboard;fillColor=#005073;strokeColor=none;",90,50,"","Joystick Keyboard",null,null,this.getTagsForStencil("mxgraph.cisco19","joystick keyboard","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=collab2;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.cisco19","collaboration","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=collab3;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.cisco19","collaboration","cisco collaboration").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=collab4;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"collaboration","cisco collaboration").join(" "))])};Sidebar.prototype.addCisco19SecurityCloudsAndConnectorsPalette=function(a,b,e){this.addPaletteFunctions("cisco19Security Clouds Connectors","Cisco 19 / Security, Clouds and Connectors",!1,[this.createVertexTemplateEntry(a+"rect;prIcon=acs;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","ACS",null,null,this.getTagsForStencil("mxgraph.cisco19","acs","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ise;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","ISE",null,null,this.getTagsForStencil("mxgraph.cisco19","ise","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=email_security;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Email Security",null,null,this.getTagsForStencil("mxgraph.cisco19","email security","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=vpn_concentrator;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","VPN Concentrator",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco19","vpn concentrator virtual private network","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ssl_terminator;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","SSL Terminator",null,null,this.getTagsForStencil("mxgraph.cisco19","ssl terminator","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=cisco_security_manager;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Cisco Security Manager",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","cisco security manager","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=web_security;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Web Security",null,null,this.getTagsForStencil("mxgraph.cisco19","web security","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=nac_appliance;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","NAC Appliance",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"nac appliance","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ironport;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Ironport",null,null,this.getTagsForStencil("mxgraph.cisco19","ironport","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=ips_ids;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","IPS/IDS",null,null,this.getTagsForStencil("mxgraph.cisco19","ips ids","cisco security clouds connectors").join(" ")),\r\nthis.createVertexTemplateEntry(a+"rect;prIcon=firewall;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Firewall",null,null,this.getTagsForStencil("mxgraph.cisco19","firewall","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=asa_5500;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","ASA 5500",null,null,this.getTagsForStencil("mxgraph.cisco19","asa 5500","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry("points=[[0.5,0,0],[0.765,0.48,0],[0.99,0.98,0],[0.5,1,0],[0.01,0.98,0],[0.235,0.48,0]];"+\r\ne+"ldap;fillColor=#005073;strokeColor=none;",50,42.5,"","LDAP",null,null,this.getTagsForStencil("mxgraph.cisco19","ldap","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry("points=[[0,0.5,0],[0.24,0,0],[0.5,0.28,0],[0.995,0.475,0],[0.5,0.72,0],[0.24,1,0]];"+e+"key;fillColor=#005073;strokeColor=none;",50,22.5,"","Key",null,null,this.getTagsForStencil("mxgraph.cisco19","key","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(b+"lock;fillColor=#005073;strokeColor=none;",\r\n50,50,"","Lock",null,null,this.getTagsForStencil("mxgraph.cisco19","lock","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry("points=[[0,0.64,0],[0.2,0.15,0],[0.4,0.01,0],[0.79,0.25,0],[1,0.65,0],[0.8,0.86,0],[0.41,1,0],[0.16,0.86,0]];"+e+"cloud;fillColor=#6B6B6B;strokeColor=none;",50,30,"","Cloud",null,null,this.getTagsForStencil("mxgraph.cisco19","cloud","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry("points=[[0,0.64,0],[0.2,0.15,0],[0.4,0.01,0],[0.79,0.25,0],[1,0.65,0],[0.8,0.86,0],[0.41,1,0],[0.16,0.86,0]];"+\r\ne+"cloud;fillColor=#A6A6A6;strokeColor=none;",50,30,"","Cloud",null,null,this.getTagsForStencil("mxgraph.cisco19","cloud","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry("points=[[0,0.64,0],[0.2,0.15,0],[0.4,0.01,0],[0.79,0.25,0],[1,0.65,0],[0.8,0.86,0],[0.41,1,0],[0.16,0.86,0]];"+e+"cloud;fillColor=#FABD66;strokeColor=none;",50,30,"","Cloud",null,null,this.getTagsForStencil("mxgraph.cisco19","cloud","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry("points=[[0,0.64,0],[0.2,0.15,0],[0.4,0.01,0],[0.79,0.25,0],[1,0.65,0],[0.8,0.86,0],[0.41,1,0],[0.16,0.86,0]];"+\r\ne+"cloud;fillColor=#186180;strokeColor=none;",50,30,"","Cloud",null,null,this.getTagsForStencil("mxgraph.cisco19","cloud","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry("points=[[0,0.64,0],[0.2,0.15,0],[0.4,0.01,0],[0.79,0.25,0],[1,0.65,0],[0.8,0.86,0],[0.41,1,0],[0.16,0.86,0]];"+e+"cloud2;fillColor=#FFE9AA;strokeColor=none;",50,30,"","Cloud",null,null,this.getTagsForStencil("mxgraph.cisco19","cloud","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+\r\n"rect;prIcon=security_management;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Security Management (color)",null,null,this.getTagsForStencil("mxgraph.cisco19","security management color","cisco security clouds connectors").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=security_management;fillColor=#FAFAFA;strokeColor=#6696AB;",50,50,"","Security Management (subdued)",null,null,this.getTagsForStencil("mxgraph.cisco19","security management subdued","cisco security clouds connectors").join(" ")),\r\nthis.createVertexTemplateEntry("points=[[0.13,0.02,0],[0.5,0,0],[0.87,0.02,0],[0.885,0.4,0],[0.985,0.985,0],[0.5,1,0],[0.015,0.985,0],[0.115,0.4,0]];"+e+"secure_endpoints;fillColor=#005073;strokeColor=none;",50,35,"","Secure Endpoint (laptop)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure endpoints laptop","cisco security clouds connectors").join(" "))])};Sidebar.prototype.addCisco19EndpointClientDeviceIconsPalette=function(a,b,e){this.addPaletteFunctions("cisco19Endpoint Client Device Icons",\r\n"Cisco 19 / Endpoint Client and Device Icons",!1,[this.createVertexTemplateEntry("points=[[0.03,0.03,0],[0.5,0,0],[0.97,0.03,0],[1,0.4,0],[0.97,0.745,0],[0.5,1,0],[0.03,0.745,0],[0,0.4,0]];"+e+"workstation;fillColor=#005073;strokeColor=none;",50,40,"","Workstation",null,null,this.getTagsForStencil("mxgraph.cisco19","workstation","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry("points=[[0.13,0.02,0],[0.5,0,0],[0.87,0.02,0],[0.885,0.4,0],[0.985,0.985,0],[0.5,1,0],[0.015,0.985,0],[0.115,0.4,0]];"+\r\ne+"laptop;fillColor=#005073;strokeColor=none;",50,35,"","Laptop",null,null,this.getTagsForStencil("mxgraph.cisco19","laptop","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry(a+"handheld;fillColor=#005073;strokeColor=none;",37.5,50,"","Handheld",null,null,this.getTagsForStencil("mxgraph.cisco19","handheld","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry(a+"cell_phone;fillColor=#005073;strokeColor=none;",25,50,"","Cell Phone",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco19","cell phone","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry("points=[[0.015,0.14,0],[0.5,0,0],[0.985,0.14,0],[1,0.57,0],[0.99,0.98,0],[0.5,1,0],[0.01,0.98,0],[0,0.57,0]];"+e+"tablet;fillColor=#005073;strokeColor=none;",50,40,"","Tablet",null,null,this.getTagsForStencil("mxgraph.cisco19","tablet","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry("points=[[0.22,0.185,0],[0.5,0,0],[0.78,0.185,0],[0.975,0.49,0],[1,0.73,0],[0.975,0.97,0],[0.5,1,0],[0.025,0.97,0],[0,0.73,0],[0.025,0.49,0]];"+\r\ne+"printer;fillColor=#005073;strokeColor=none;",50,45,"","Printer",null,null,this.getTagsForStencil("mxgraph.cisco19","printer","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry(a+"pos;fillColor=#005073;strokeColor=none;",64,50,"","POS",null,null,this.getTagsForStencil("mxgraph.cisco19","pos","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry("points=[[0.115,0.05,0],[0.335,0,0],[0.98,0.52,0],[1,0.71,0],[0.68,1,0],[0.065,0.76,0],[0,0.33,0],[0.68,0.33,0]];"+\r\ne+"home_office;fillColor=#005073;strokeColor=none;",50,50,"","Home Office",null,null,this.getTagsForStencil("mxgraph.cisco19","home office","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry("points=[[0.35,0,0],[0.98,0.51,0],[1,0.71,0],[0.67,1,0],[0,0.795,0],[0,0.65,0]];"+e+"user;fillColor=#005073;strokeColor=none;",50,50,"","User",null,null,this.getTagsForStencil("mxgraph.cisco19","user","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry("points=[[0.02,0.015,0],[0.5,0,0],[0.98,0.015,0],[1,0.38,0],[0.895,0.98,0],[0.5,1,0],[0.105,0.98,0],[0,0.38,0]];"+\r\ne+"secure_endpoint_pc;fillColor=#005073;strokeColor=none;",50,40,"","Secure Endpoint (PC)",null,null,this.getTagsForStencil("mxgraph.cisco19","secure endpoints pc","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry("points=[[0.13,0.02,0],[0.5,0,0],[0.87,0.02,0],[0.885,0.4,0],[0.985,0.985,0],[0.5,1,0],[0.015,0.985,0],[0.115,0.4,0]];"+e+"secure_endpoints;fillColor=#005073;strokeColor=none;",50,35,"","Secure Endpoint (laptop)",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"secure endpoints laptop","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry("points=[[0.5,0,0],[1,0.34,0],[1,1],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,1,0],[0,0.34,0],[1,0.67,0],[0,0.67,0],[0.325,0,0],[0.675,0,0]];"+e+"data_center;fillColor=#005073;strokeColor=none;",100,70,"","Data Center",null,null,this.getTagsForStencil("mxgraph.cisco19","data center","cisco endpoint client device icons").join(" ")),this.createVertexTemplateEntry("points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[1,1,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];"+\r\ne+"branch;fillColor=#005073;strokeColor=none;",50,50,"","Branch",null,null,this.getTagsForStencil("mxgraph.cisco19","branch","cisco endpoint client device icons").join(" "))])};Sidebar.prototype.addCisco19DNASDAccessPalette=function(a,b,e){this.addPaletteFunctions("cisco19DNA SD Access","Cisco 19 / DNA/SD-Access",!1,[this.createVertexTemplateEntry(a+"rect;prIcon=cisco_dna_center;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Cisco DNA Center",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"dna center","cisco dna sd access").join(" ")),this.createVertexTemplateEntry("points=[[0.5,0.37,0],[1,0.09,0],[1,0.9,0],[0,0.08,0],[0,0.91,0],[0.5,0.61,0],[0.045,0.5,0],[0.96,0.5,0]];"+e+"cisco_dna;fillColor=#005073;strokeColor=none;",50,30,"","Cisco DNA",null,null,this.getTagsForStencil("mxgraph.cisco19","dna","cisco dna sd access").join(" "))])};Sidebar.prototype.addCisco19SDWANViptelaPalette=function(a,b,e){this.addPaletteFunctions("cisco19SD WAN Viptela","Cisco 19 / SD-WAN and Viptela",!1,[this.createVertexTemplateEntry(b+\r\n"rect;prIcon=vbond;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","vBond",null,null,this.getTagsForStencil("mxgraph.cisco19","vbond","cisco sd wan viptela wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=vmanage;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","vManage",null,null,this.getTagsForStencil("mxgraph.cisco19","vmanage","cisco sd wan viptela wide area network").join(" ")),this.createVertexTemplateEntry(b+"rect;prIcon=vsmart;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","vSmart",null,null,this.getTagsForStencil("mxgraph.cisco19","vsmart","cisco sd wan viptela wide area network").join(" "))])};Sidebar.prototype.addCisco19StealthwatchPalette=function(a,b,e){this.addPaletteFunctions("cisco19ETA Stealthwatch","Cisco 19 / ETA/Stealthwatch",!1,[this.createVertexTemplateEntry(a+"rect;prIcon=flow_collector;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Flow Collector",null,null,this.getTagsForStencil("mxgraph.cisco19","flow collector","cisco stealthwatch").join(" ")),\r\nthis.createVertexTemplateEntry("points=[[0.03,0.03,0],[0.5,0,0],[0.97,0.03,0],[1,0.4,0],[0.97,0.745,0],[0.5,1,0],[0.03,0.745,0],[0,0.4,0]];"+e+"stealthwatch_management_console_smc;fillColor=#005073;strokeColor=none;",50,40,"","Stealthwatch Management Console (SMC)",null,null,this.getTagsForStencil("mxgraph.cisco19","stealthwatch management console smc","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=cognitive;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Cognitive",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","cognitive","cisco stealthwatch").join(" "))])};Sidebar.prototype.addCisco19SafePalette=function(a,b,e){this.addPaletteFunctions("cisco19SAFE","Cisco 19 / SAFE",!1,[this.createVertexTemplateEntry(a+"rect;prIcon=next_generation_intrusion_prevention_system;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Next Generation Intrusion Prevention System",null,null,this.getTagsForStencil("mxgraph.cisco19","next generation prevention system","cisco stealthwatch").join(" ")),\r\nthis.createVertexTemplateEntry(a+"rect;prIcon=access_control_and_trustsec;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Access Control and TrustSec",null,null,this.getTagsForStencil("mxgraph.cisco19","access control and trustsec","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=load_balancer;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.cisco19","load balancer","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+\r\n"rect;prIcon=anomaly_detection;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Anomaly Detection",null,null,this.getTagsForStencil("mxgraph.cisco19","anomaly detection","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=web_reputation_filtering;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Web Reputation / Filtering",null,null,this.getTagsForStencil("mxgraph.cisco19","web reputation filtering","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=avc_application_visibility_control;fillColor=#FAFAFA;strokeColor=#005073;",\r\n50,50,"","AVC-Application Visibility Control",null,null,this.getTagsForStencil("mxgraph.cisco19","avc application visibility control","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=anti_malware2;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Anti-Malware",null,null,this.getTagsForStencil("mxgraph.cisco19","anti malware","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=web_application_firewall;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","Web Application Firewall",null,null,this.getTagsForStencil("mxgraph.cisco19","web application firewall","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=policy_configuration;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Policy / Configuration",null,null,this.getTagsForStencil("mxgraph.cisco19","policy configuration","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=analysis_correlation;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","Analysis / Correlation",null,null,this.getTagsForStencil("mxgraph.cisco19","analysis correlation","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=flow_analytics;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Flow Analytics",null,null,this.getTagsForStencil("mxgraph.cisco19","flow analytics","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=virtual_private_network;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Virtual Private Network",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","virtual private network vpn","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=web_reputation_filtering_2;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Web Reputation / Filtering",null,null,this.getTagsForStencil("mxgraph.cisco19","web reputation filtering","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=avc_application_visibility_control2;fillColor=#FAFAFA;strokeColor=#005073;",50,\r\n50,"","AVC-Application Visibility Control",null,null,this.getTagsForStencil("mxgraph.cisco19","avc application visibility control","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=flow_analytics2;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Flow Analytics",null,null,this.getTagsForStencil("mxgraph.cisco19","flow analytics","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=virtual_private_network2;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","Virtual Private Network",null,null,this.getTagsForStencil("mxgraph.cisco19","virtual private network","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=web_security_services;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Web Security Services",null,null,this.getTagsForStencil("mxgraph.cisco19","web security services","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=web_security_services2;fillColor=#FAFAFA;strokeColor=#005073;",\r\n64,50,"","Web Security Services",null,null,this.getTagsForStencil("mxgraph.cisco19","web security services","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=posture_assessment;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Posture Assessment",null,null,this.getTagsForStencil("mxgraph.cisco19","posture assessment","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=anti_malware;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Anti-Malware",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","anti malware","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=wireless_intrusion_prevention;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Wireless Intrusion Prevention",null,null,this.getTagsForStencil("mxgraph.cisco19","wireless intrusion prevention","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=host_based_security;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Host Based Security",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco19","host based security","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=monitoring;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Monitoring",null,null,this.getTagsForStencil("mxgraph.cisco19","monitoring","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=virtual_private_network_connector;fillColor=#FAFAFA;strokeColor=#005073;",64,50,"","Virtual Private Network Connector",null,null,this.getTagsForStencil("mxgraph.cisco19",\r\n"connector","cisco stealthwatch").join(" ")),this.createVertexTemplateEntry(a+"rect;prIcon=threat_intelligence;fillColor=#FAFAFA;strokeColor=#005073;",50,50,"","Monitoring",null,null,this.getTagsForStencil("mxgraph.cisco19","monitoring","cisco stealthwatch").join(" "))])}})();(function(){Sidebar.prototype.addCiscoSafePalette=function(){this.setCurrentSearchEntryLibrary("cisco_safe","cisco_safeArchitecture");this.addCiscoSafeArchitecturePalette();this.setCurrentSearchEntryLibrary("cisco_safe","cisco_safeBusiness Icons");this.addCiscoSafeBusinessIconsPalette();this.setCurrentSearchEntryLibrary("cisco_safe","cisco_safeCapability");this.addCiscoSafeCapabilityPalette();this.setCurrentSearchEntryLibrary("cisco_safe","cisco_safeDesign");this.addCiscoSafeDesignPalette();this.setCurrentSearchEntryLibrary("cisco_safe",\r\n"cisco_safeIoT Things Icons");this.addCiscoSafeIoTThingsIconsPalette();this.setCurrentSearchEntryLibrary("cisco_safe","cisco_safePeople Places Things Icons");this.addCiscoSafePeoplePlacesThingsIconsPalette();this.setCurrentSearchEntryLibrary("cisco_safe","cisco_safeSecurity Icons");this.addCiscoSafeSecurityIconsPalette();this.setCurrentSearchEntryLibrary("cisco_safe","cisco_safeTechnology Icons");this.addCiscoSafeTechnologyIconsPalette();this.setCurrentSearchEntryLibrary("cisco_safe","cisco_safeThreat");\r\nthis.addCiscoSafeThreatPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addCiscoSafeArchitecturePalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#6ABD46;strokeColor=#ffffff;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;points=[[0.085,0.085,0],[0.915,0.085,0],[0.915,0.915,0],[0.085,0.915,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];pointerEvents=1;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.cisco_safe.";this.addPaletteFunctions("cisco_safeArchitecture","Cisco Safe / Architecture",!1,[this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.switch;",50,50,"","Access Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","access switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.aci_controller;",\r\n50,50,"","ACI Controller",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","aci controller","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.aci_leaf_switch;",50,50,"","ACI Leaf Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","aci leaf switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.aci_spine_switch;",\r\n50,50,"","ACI Spine Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","aci spine switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.actuator;",50,50,"","Actuator",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","actuator","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.adaptive_security_appliance;",\r\n50,50,"","Adaptive Security Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","adaptive security appliance","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.automated_system;",50,50,"","Automated System",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","automated system","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.blade_server;",50,50,"","Blade Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","blade server","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.catalyst_switch;",50,50,"","Catalyst Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture",\r\n"catalyst switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.cisco_appliance;",50,50,"","Cisco Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","cisco appliance","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.l3_switch;",\r\n50,50,"","Core Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","core switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.corporate_device1;",50,50,"","Corporate Device",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","corporate device","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.corporate_device;",\r\n50,50,"","Corporate Wireless Device",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","corporate wireless device","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.ddos_protection_appliance;",50,50,"","DDOS Protection Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","ddos protection appliance","cisco safe architecture").join(" ")),\r\nthis.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.stacked_switch;",50,50,"","Distribution Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","distribution switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.email_security;",50,50,"","Email Security",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","email security","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.endpoint_concentrator;",50,50,"","Endpoint Concentrator",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","endpoint concentrator","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.fabric_switch;",\r\n50,50,"","Fabric Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","fabric switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.firepower_appliance;",50,50,"","Firepower Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","firepower appliance","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.firepower_management_center;",50,50,"","Firepower Management Center",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","firepower management center","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.firewall;",50,50,"","Firewall",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco_safe.architecture","firewall","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.flow_collector;",50,50,"","Flow Collector",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","flow collector","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.flow_sensor;",\r\n50,50,"","Flow Sensor",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","flow sensor","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.generic_appliance;",50,50,"","Generic Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","generic appliance","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.identity_directory;",\r\n50,50,"","Identity Directory",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","identity directory","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.intrusion_detection;",50,50,"","Intrusion Detection",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","intrusion detection","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.intrusion_detection;",50,50,"","Intrusion Prevention",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","intrusion prevention","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.l3_switch;",50,50,"","L3 Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture",\r\n"l3 switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.aci_leaf_switch;",50,50,"","Leaf Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","leaf switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.load_balancer;",\r\n50,50,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","load balancer","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.log_collector;",50,50,"","Log Collector",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","log collector","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.mgmt_console;",\r\n50,50,"","Management Console",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","mgmt management console","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.mdm;",50,50,"","MDM",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","mdm","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.mobile;",\r\n50,50,"","Mobile",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","mobile","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.monitoring;",50,50,"","Monitoring",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","monitoring","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.nexus_1kv;",\r\n50,50,"","Nexus 1kv",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","nexus 1kv","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.nexus_data_center_switch;",50,50,"","Nexus Data Center Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","nexus data center switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.nexus_fabric_switch;",50,50,"","Nexus Fabric Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","nexus fabric switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.nexus_switch;",50,50,"","Nexus Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture",\r\n"nexus switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.ntp;",50,50,"","NTP",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","ntp","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.phone;",50,50,"","Phone",null,\r\nnull,this.getTagsForStencil("mxgraph.cisco_safe.architecture","phone","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.policy;",50,50,"","Policy",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","policy","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.radware_appliance;",\r\n50,50,"","Radware Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","radware appliance","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.router;",50,50,"","Router",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","router","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.sandbox_appliance;",\r\n50,50,"","Sandbox Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","sandbox appliance","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.aci_controller;",50,50,"","SD Controller",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","sd controller","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.sd_wan;",\r\n50,50,"","SD WAN",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","sd wan wireless area network","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.sd_wan_2;",50,50,"","SD WAN",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","sd wan wireless area network","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.secure_dns;",\r\n50,50,"","Secure DNS",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","secure dns domain name server","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.secure_server;",50,50,"","Secure Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","secure server","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.sensor;",\r\n50,50,"","Sensor",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","sensor","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.server;",50,50,"","Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","server","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.siem;",\r\n50,50,"","SIEM",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","siem","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.aci_spine_switch;",50,50,"","Spine Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","spine switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.stacked_switch;",\r\n50,50,"","Stacked Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","stacked switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.storage;",50,50,"","Storage",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","storage","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.switch;",\r\n50,50,"","Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.tetration_analytics;",50,50,"","Tetration Analytics",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","tetration analytics","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.tls_appliance;",\r\n50,50,"","TLS Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","tls appliance","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.unified_access_switch;",50,50,"","Unified Access Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","unified access switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.udp_director;",50,50,"","UDP Director",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","udp director","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.video_endpoint;",50,50,"","Video Endpoint",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture",\r\n"video endpoint","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.vpn_concentrator;",50,50,"","VPN Concentrator",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","vpn virtual private network concentrator","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.vulnerability_management;",\r\n50,50,"","Vulnerability Management",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","vulnerability management","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.web_application_firewall;",50,50,"","Web Application Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","web application firewall","cisco safe architecture").join(" ")),\r\nthis.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.web_application_firewall_2;",50,50,"","Web Application Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","web application firewall","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.web_filtering;",\r\n50,50,"","Web Filtering",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","web filtering","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.web_security;",50,50,"","Web Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","web security","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.wide_area_application_engine;",\r\n50,50,"","Wide Area Application Engine",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","wide area application engine","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.wireless_access_point;",50,50,"","Wireless Access Point",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","wireless access point","cisco safe architecture").join(" ")),\r\nthis.createVertexTemplateEntry(a+"compositeIcon;bgIcon=mxgraph.cisco_safe.architecture.generic_appliance;resIcon=mxgraph.cisco_safe.architecture.wireless_lan_controller;",50,50,"","Wireless LAN Controller",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","wireless lan controller","cisco safe architecture").join(" "))])};Sidebar.prototype.addCiscoSafeBusinessIconsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#282828;strokeColor=none;"+\r\nmxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.business_icons.";this.addPaletteFunctions("cisco_safeBusiness Icons","Cisco Safe / Business Icons",!1,[this.createVertexTemplateEntry(a+"icon1;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon2;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),\r\nthis.createVertexTemplateEntry(a+"icon3;",45,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon4;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon5;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+\r\n"icon6;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon7;",50,35,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon8;",38.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon9;",40.5,50,"",\r\n"",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon10;",50,44,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon11;",50,42,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon12;",50,44.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons",\r\n"","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon13;",50,50*.56,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon14;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon15;",38,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),\r\nthis.createVertexTemplateEntry(a+"icon16;",50,37.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon17;",50,34.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon18;",41,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+\r\n"icon19;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon20;",44.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon21;",49.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon22;",46.5,\r\n50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon23;",43.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon24;",50,31,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon25;",50,40.5,"","",null,\r\nnull,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon26;",50,35.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon27;",50,49.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon28;",47,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons",\r\n"","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon29;",50,42,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" ")),this.createVertexTemplateEntry(a+"icon30;",50,48.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.business_icons","","cisco safe business").join(" "))])};Sidebar.prototype.addCiscoSafeCapabilityPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;strokeColor=#ffffff;"+\r\nmxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.cisco_safe.",b="fillColor=#6ABD46;"+a,e="fillColor=#999999;"+a,a="fillColor=#28A8E0;"+a;this.addPaletteFunctions("cisco_safeCapability","Cisco Safe / Capability",!1,[this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.access_control_using_trustsec;",\r\n43,43,"","Access Control Using TrustSec",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","access control using trustsec","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.analysis_correlation;",43,43,"","Analysis Correlation",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","analysis correlation","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.anomaly_detection;",\r\n43,43,"","Anomaly Detection",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","anomaly detection","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.anti_malware;",43,43,"","Anti-Malware",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","anti malware","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.anti_spam;",\r\n43,43,"","Anti-Spam",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","anti spam","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.anti_virus;",43,43,"","Anti-Virus",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","anti virus","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.application;",43,\r\n43,"","Application",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","application","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.application_visibility_control;",43,43,"","Application Visibility Control",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","application visibility control","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.casb;",\r\n43,43,"","CASB",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","casb","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.client_based_security;",43,43,"","Client-Based Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","client based security","cisco safe capability").join(" ")),this.createVertexTemplateEntry(b+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.block;",\r\n43,43,"","Block",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","block","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.cloud_web_security;",43,43,"","Cloud Web Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","cloud web security","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.conference_bridge;",\r\n43,43,"","Conference Bridge",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","conference bridge","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.database;",43,43,"","Database",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","database","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.data_loss_prevention;",\r\n43,43,"","Data Loss Prevention",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","data loss prevention","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.device_profiling;",43,43,"","Device Profiling",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","device profiling","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.device_trajectory;",\r\n43,43,"","Device Trajectory",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","device trajectory","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.disk_encryption;",43,43,"","Disk Encryption",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","disk encryption","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.distributed_denial_of_service_protection;",\r\n43,43,"","Distributed Denial of Service Protection",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","distributed denial of service protection","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.dns;",43,43,"","DNS",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","dns","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.dns_security;",\r\n43,43,"","DNS Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","dns security","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.email_encryption;",43,43,"","Email Encryption",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","email encryption","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.email_security;",\r\n43,43,"","Email Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","email security","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.file_trajectory;",43,43,"","File Trajectory",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","file trajectory","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.fabric_switching;",\r\n43,43,"","Fabric Switching",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","fabric switching","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.firewall;",43,43,"","Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","firewall","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.flow_analytics;",\r\n43,43,"","Flow Analytics",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","flow analytics","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.identity_authorization;",43,43,"","Identity Authorization",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","identity authorization","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.identity_authorization_alt;",\r\n43,43,"","Identity Authorization (alternative)",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","identity authorization alt alternative","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.intrusion_detection;",43,43,"","Intrusion Detection",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","intrusion detection","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.intrusion_prevention;",\r\n43,43,"","Intrusion Prevention",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","intrusion prevention","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.l2_l3_network;",43,43,"","L2 L3 Network",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","l2 l3 network","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.l2_l3_network_virtual;",\r\n43,43,"","L2 L3 Network (virtual)",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","l2 l3 network virtual","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.l2_switching;",43,43,"","L2 Switching",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","l2 switching","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.l3_switching;",\r\n43,43,"","L3 Switching",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","l3 switching","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.load_balancer;",43,43,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","load balancer","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.logging_reporting;",\r\n43,43,"","Logging Reporting",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","logging reporting","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.malware_sandbox;",43,43,"","Malware Sandbox",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","malware sandbox","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.micro_segmentation;",\r\n43,43,"","Micro-Segmentation",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","micro segmentation","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.mobile_device_manager;",43,43,"","Mobile Device Manager",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","mobile device manager","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.multi_factor_identification;",\r\n43,43,"","Multi-Factor Identification",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","multi factor identification","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.monitoring;",43,43,"","Monitoring",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","monitoring","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.policy_configuration;",\r\n43,43,"","Policy Configuration",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","policy configuration","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.posture_assessment;",43,43,"","Posture Assessment",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","posture assessment","cisco safe capability").join(" ")),this.createVertexTemplateEntry(b+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.quarantine;",\r\n43,43,"","Quarantine",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","quarantine","cisco safe capability").join(" ")),this.createVertexTemplateEntry(b+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.remediate;",43,43,"","Remediate",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","remediate","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.routing;",43,43,"",\r\n"Routing",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","routing","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.server_based_security;",43,43,"","Server Based Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","server based security","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.tagging;",\r\n43,43,"","Tagging",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","tagging","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.ssl_tls_offload;",43,43,"","SSL TLS Offload",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","ssl tls offload","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.storage;",\r\n43,43,"","Storage",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","storage","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.threat_intelligence;",43,43,"","Threat Intelligence",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","threat intelligence","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.time_synchronization;",\r\n43,43,"","Time Synchronization",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","time synchronization","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.user;",43,43,"","User",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","user","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.video;",43,43,\r\n"","Video",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","video","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.virtualized_capability;",43,43,"","Virtualized Capability",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","virtualized capability","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.virtual_firewall;",\r\n43,43,"","Virtual Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","virtual firewall","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.virtual_l2_switching;",43,43,"","Virtual L2 Switching",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","virtual l2 switching","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.virtual_private_network;",\r\n43,43,"","Virtual Private Network",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","virtual private network vpn","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.voice;",43,43,"","Voice",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","voice","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.vpn_concentrator;",\r\n43,43,"","VPN Concentrator",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","vpn concentrator virtual private network","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.vulnerability_management;",43,43,"","Vulnerability Management",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","vulnerability management","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.web_application_firewall;",\r\n43,43,"","Web Application Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","web application firewall","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.web_reputation_filtering_dcs;",43,43,"","Web Reputation Filtering DCS",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","web reputation filtering dcs","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.web_security;",43,43,"","Web Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","web security","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.wireless_connection;",43,43,"","Wireless Connection",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","wireless connection","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.wireless_intrusion_detection_system;",43,43,"","Wireless Intrusion Detection System",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","wireless intrusion detection system","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.wireless_intrusion_prevention_system;",43,43,"","Wireless Intrusion Prevention System",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability",\r\n"wireless intrusion prevention system","cisco safe capability").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.wireless_rogue_detection;",43,43,"","Wireless Rogue Detection",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","wireless rogue detection","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.routing;",43,43,"","Routing",null,\r\nnull,this.getTagsForStencil("mxgraph.cisco_safe.capability","routing","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.l2_switching;",43,43,"","L2 Switching",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","l2 switching","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.l3_switching;",43,43,"","L3 Switching",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","l3 switching","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.fabric_switching;",43,43,"","Fabric Switching",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","fabric switching","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.l2_l3_network;",\r\n43,43,"","L2 L3 Network",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","l2 l3 network","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.wireless_connection;",43,43,"","Wireless Connection",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","wireless connection","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.application_optimization;",\r\n43,43,"","Application Optimization",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","application optimization","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.quality_of_service;",43,43,"","Quality of Service",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","quality of service","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.path_control;",\r\n43,43,"","Path Control",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","path control","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.database;",43,43,"","Database",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","database","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.storage;",43,43,\r\n"","Storage",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","storage","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.secure_server;",43,43,"","Secure Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","secure server","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.voice;",43,43,"",\r\n"Voice",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","voice","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.video;",43,43,"","Video",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","video","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.load_balancer;",43,43,"","Load Balancer",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco_safe.capability","load balancer","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.host_context;",43,43,"","Host Context",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","host context","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.application;",43,43,"","Business Application",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","business application","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.infrastructure_redundancy;",43,43,"","Infrastructure Redundancy",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","infrastructure redundancy","cisco safe capability").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.capability.standardized_system_images;",\r\n43,43,"","Standardized System Images",null,null,this.getTagsForStencil("mxgraph.cisco_safe.capability","standardized_system_images","cisco safe capability").join(" "))])};Sidebar.prototype.addCiscoSafeDesignPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#A153A0;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;align=center;points=[[0,0.5,0],[0.125,0.25,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[0.875,0.25,0],[1,0.5,0],[0.875,0.75,0],[0.75,1,0],[0.5,1,0],[0.125,0.75,0]];shape=mxgraph.cisco_safe.design.",\r\nb=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#A153A0;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;pointerEvents=1;shape=mxgraph.cisco_safe.design.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#A153A0;strokeColor=#ffffff;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;points=[[0,0.5,0],[0.125,0.25,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[0.875,0.25,0],[1,0.5,0],[0.875,0.75,0],[0.75,1,0],[0.5,1,0],[0.125,0.75,0]];pointerEvents=1;"+mxConstants.STYLE_SHAPE+\r\n"=mxgraph.cisco_safe.";this.addPaletteFunctions("cisco_safeDesign","Cisco Safe / Design",!1,[this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.access_point;",50,45,"","Access Point",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","access point","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.access_switch_2;",\r\n50,45,"","Access Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","access switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.aci_controller;",50,45,"","ACI Controller",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","aci controller","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.aci_controller_2;",\r\n50,45,"","ACI Controller",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","aci controller","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.aci_leaf_switch;",50,45,"","ACI Leaf Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","aci leaf switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.aci_spine_switch;",\r\n50,45,"","ACI Spine Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","aci spine switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(b+"actor_1;",23.5,50,"","Actor (female)",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","actor female","cisco safe design").join(" ")),this.createVertexTemplateEntry(b+"actor_2;",19,50,"","Actor (male)",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","actuator","cisco safe design").join(" ")),this.createVertexTemplateEntry(b+\r\n"actuator;",50,45,"","Actuator",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","actuator","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.adaptive_security_appliance;",50,45,"","Adaptive Security Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","adaptive security appliance","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.adaptive_security_appliance_2;",\r\n50,45,"","Adaptive Security Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","adaptive security appliance","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.automated_system;",50,45,"","Automated System",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","automated system","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.blade_server;",\r\n50,45,"","Blade Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","blade server","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.blade_server_2;",50,45,"","Blade Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","blade server","cisco safe design").join(" ")),this.createVertexTemplateEntry(a+"blank_device;",50,45,"","Blank Device",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design",\r\n"blank device","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.blank_service;",50,45,"","Blank Service",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","blank service","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.call_manager;",50,45,"","Call Manager",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco_safe.design","call manager","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.catalyst_data_center_switch;",50,45,"","Catalyst Data Center Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","catalyst data center switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.catalyst_switch_stack;",\r\n50,45,"","Catalyst Switch Stack",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","catalyst switch stack","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.cisco_amp;",50,45,"","Cisco Amp",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","cisco amp amplifier","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.cisco_anyconnect;",\r\n50,45,"","Cisco AnyConnect",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","cisco anyconnect","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.cisco_cloud_web_security;",50,45,"","Cisco Cloud Web Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","cisco cloud web security","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.client_firewall;",\r\n50,45,"","Client Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","client firewall","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.l3_switch;",50,45,"","Core Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","core switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.corporate_device;",\r\n50,45,"","Corporate Device",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","corporate device","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.corporate_device;",50,45,"","Corporate Wireless Device",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","corporate device_2","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.ddos_protection;",\r\n50,45,"","DDOS Protection",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","ddos protection","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.ddos_protection_2;",50,45,"","DDOS Protection",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","ddos protection","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.distribution_switch;",\r\n50,45,"","Distribution Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","distribution switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.email_security;",50,45,"","Email Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","email security","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.encryption_offload;",\r\n50,45,"","Encryption Offload",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","encryption offload","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.endpoint_concentrator;",50,45,"","Endpoint Concentrator",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","endpoint concentrator","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.endpoint_concentrator_2;",\r\n50,45,"","Endpoint Concentrator",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","endpoint concentrator","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.fabric_switch;",50,45,"","Fabric Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","fabric switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.firepower_appliance;",\r\n50,45,"","Firepower Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","firepower appliance","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.firepower_appliance_2;",50,45,"","Firepower Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","firepower appliance","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.firepower_management_center;",\r\n50,45,"","Firepower Management Center",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","firepower management center","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.firepower_management_center_2;",50,45,"","Firepower Management Center",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","firepower management center","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+\r\n"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.firewall;",50,45,"","Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","firewall","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.firewall_2;",50,45,"","Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","firewall","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+\r\n"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.flow_collector;",50,45,"","Flow Collector",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","flow collector","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.flow_collector_2;",50,45,"","Flow Collector",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","flow collector","cisco safe design").join(" ")),\r\nthis.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.flow_sensor;",50,45,"","Flow Sensor",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","flow sensor","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.flow_sensor_2;",50,45,"","Flow Sensor",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","flow sensor",\r\n"cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.intrusion_detection;",50,45,"","Intrusion Prevention",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","intrusion detection","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.intrusion_prevention_2;",50,45,"","Intrusion Prevention",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco_safe.design","intrusion detection","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.identity_directory;",50,45,"","Identity Directory",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","identity directory","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.l2_switch;",\r\n50,45,"","L2 Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","l2 switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.l3_switch;",50,45,"","L3 Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","l3 switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.load_balancer;",\r\n50,45,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","load balancer","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.load_balancer_2;",50,45,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","load balancer","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.log_collector;",\r\n50,45,"","Log collector",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","log collector","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.log_collector_2;",50,45,"","Log collector",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","log collector","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.mgmt_console;",\r\n50,45,"","Management Console",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","management console","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.mgmt_console_2;",50,45,"","Management Console",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","management console","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.mdm;",\r\n50,45,"","MDM",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","mdm","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.mdm_2;",50,45,"","MDM",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","mdm","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.mobile_device;",\r\n50,45,"","Mobile Device",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","mobile device","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.monitoring;",50,45,"","Monitoring",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","monitoring","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.monitoring_2;",\r\n50,45,"","Monitoring",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","monitoring","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.ms_active_directory;",50,45,"","MS Active Directory",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","ms active directory","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.ms_active_directory_2;",\r\n50,45,"","MS Active Directory",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","ms active directory","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.nexus_1kv;",50,45,"","Nexus 1kv",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","nexus 1kv","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.nexus_data_center_switch;",\r\n50,45,"","Nexus Data Center Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","nexus data center switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.nexus_fabric_switch;",50,45,"","Nexus Fabric Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","nexus fabric switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.nexus_switch;",\r\n50,45,"","Nexus Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","nexus switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.ntp;",50,45,"","NTP",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","ntp","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.ntp_2;",\r\n50,45,"","NTP",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","ntp","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.phone;",50,45,"","Phone",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","phone","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.policy;",\r\n50,45,"","Policy",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","policy","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.policy_2;",50,45,"","Policy",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","policy","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.radware;",\r\n50,45,"","Radware Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","radware","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.radware_2;",50,45,"","Radware Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","radware","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.router;",\r\n50,45,"","Router",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","router","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.router_2;",50,45,"","Router",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","router","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.sd_wan;",\r\n50,45,"","SD-WAN",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","sd wan","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.sd_wan_2;",50,45,"","SD-WAN",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","sd wan","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.secure_dns;",\r\n50,45,"","Secure DNS",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","secure dns","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.secure_dns_2;",50,45,"","Secure DNS",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","secure dns","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.sensor;",\r\n50,45,"","Sensor",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","sensor","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.server_1;",50,45,"","Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","server","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.server_3;",\r\n50,45,"","Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","server","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.server_2;",50,45,"","Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","server","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.server_4;",\r\n50,45,"","Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","server","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.siem;",50,45,"","SIEM",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","siem","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.siem_2;",\r\n50,45,"","SIEM",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","siem","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.storage_1;",50,45,"","Storage",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","storage","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.storage;",\r\n50,45,"","Storage",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","storage","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.switch_stack;",50,45,"","Switch Stack",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","switch stack","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.tetration_agent;",\r\n50,45,"","Tetration Agent",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","tetration agent","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.tls_appliance;",50,45,"","TLS Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","tls appliance","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.encryption_offload;",\r\n50,45,"","TLS Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","tls appliance","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.design.udp_director;",50,45,"","UDP Director",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","udp director","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.design.udp_director_2;",50,45,"",\r\n"UDP Director",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","udp director","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.design.user;",50,50,"","User",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","user","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.design.users;",50,50,"","Users",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design",\r\n"users","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=ellipse;resIcon=mxgraph.cisco_safe.design.video_endpoint;",50,50,"","Video Endpoint",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","video endpoint","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.virtual_secure_server;",50,45,"","Virtual Secure Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design",\r\n"virtual secure server","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.vload_balancer;",50,45,"","vLoad Balancer",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","vload balancer","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.vpn_concentrator;",50,45,"","VPN Concentrator",\r\nnull,null,this.getTagsForStencil("mxgraph.cisco_safe.design","vpn concentrator","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.vpn_concentrator_2;",50,45,"","VPN Concentrator",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","vpn concentrator","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.vulnerability_management;",\r\n50,45,"","Vulnerability Management",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","vulnerability management","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.vulnerability_management_2;",50,45,"","Vulnerability Management",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","vulnerability management","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+\r\n"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.vwaf_security;",50,45,"","vWAF Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","vwaf security","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.vweb_security;",50,45,"","vWeb Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","vweb security","cisco safe design").join(" ")),\r\nthis.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.vwlan_controller;",50,45,"","vWLAN Controller",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","vwlan controller","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.web_application_firewall;",50,45,"","Web Application Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design",\r\n"web application firewall","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.web_application_firewall_2;",50,45,"","Web Application Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","web application firewall","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.web_filtering;",\r\n50,45,"","Web Filtering",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","web filtering","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.web_filtering_2;",50,45,"","Web Filtering",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","web filtering","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.web_security;",\r\n50,45,"","Web Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","web security","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.wide_area_application_engine;",50,45,"","Wide Area Application Engine",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","wide area application engine","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.wide_area_application_engine_2;",\r\n50,45,"","Wide Area Application Engine",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","wide area application engine","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.wireless_corporate_device;",50,45,"","Wireless Corporate Device",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","wireless corporate device","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+\r\n"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.wireless_switch;",50,45,"","Wireless Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","wireless switch","cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.wlan_controller;",50,45,"","Wireless LAN Controller",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","wlan wireless lan controller",\r\n"cisco safe design").join(" ")),this.createVertexTemplateEntry(e+"compositeIcon;bgIcon=mxgraph.cisco_safe.design.blank_device;resIcon=mxgraph.cisco_safe.design.vwlan_controller;",50,45,"","Wireless LAN Controller",null,null,this.getTagsForStencil("mxgraph.cisco_safe.design","wlan wireless lan controller","cisco safe design").join(" "))])};Sidebar.prototype.addCiscoSafeIoTThingsIconsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#282828;strokeColor=none;"+\r\nmxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.iot_things_icons.";this.addPaletteFunctions("cisco_safeIoT Things Icons","Cisco Safe / IoT Things Icons",!1,[this.createVertexTemplateEntry(a+"icon1;",48.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon2;",50,48,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon3;",50,24,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon4;",50,39,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon5;",50*.58,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon6;",50,49.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon7;",41,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon8;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon9;",50,38.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon10;",25,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon11;",50,48.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon12;",50,32.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon13;",50,50*.56,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon14;",18.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon15;",50,32.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon16;",50,46,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon17;",35,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon18;",50,37.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon19;",50,38.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon20;",45.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon21;",50,48.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon22;",50,36.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon23;",50,45,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon24;",50,43.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon25;",50,11,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon26;",50,31.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon27;",50,25,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon28;",50,37,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon29;",50,37,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon30;",50,35.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon31;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon32;",50,50*.56,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon33;",50,39,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon34;",50,35,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon35;",50,31,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon36;",26.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon37;",39.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon38;",50,45.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon39;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon40;",50,44.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon41;",50*.58,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon42;",50*.58,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon43;",48,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon44;",49.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon45;",50,49.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon46;",50,41.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon47;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons",\r\n"","cisco safe iot things icons internet").join(" ")),this.createVertexTemplateEntry(a+"icon48;",21.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.iot_things_icons","","cisco safe iot things icons internet").join(" "))])};Sidebar.prototype.addCiscoSafePeoplePlacesThingsIconsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#282828;strokeColor=none;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.people_places_things_icons.";\r\nthis.addPaletteFunctions("cisco_safePeople Places Things Icons","Cisco Safe / People, Places, Things Icons",!1,[this.createVertexTemplateEntry(a+"icon1;",46.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons","","cisco safe people places things").join(" ")),this.createVertexTemplateEntry(a+"icon2;",50,41,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons","","cisco safe people places things").join(" ")),this.createVertexTemplateEntry(a+\r\n"icon3;",50,48.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons","","cisco safe people places things").join(" ")),this.createVertexTemplateEntry(a+"icon4;",44.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons","","cisco safe people places things").join(" ")),this.createVertexTemplateEntry(a+"icon5;",40.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons","","cisco safe people places things").join(" ")),\r\nthis.createVertexTemplateEntry(a+"icon6;",50,43.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons","","cisco safe people places things").join(" ")),this.createVertexTemplateEntry(a+"icon7;",49,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons","","cisco safe people places things").join(" ")),this.createVertexTemplateEntry(a+"icon8;",19.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons",\r\n"","cisco safe people places things").join(" ")),this.createVertexTemplateEntry(a+"icon9;",50,45,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons","","cisco safe people places things").join(" ")),this.createVertexTemplateEntry(a+"icon10;",50,49.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons","","cisco safe people places things").join(" ")),this.createVertexTemplateEntry(a+"icon11;",47.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.people_places_things_icons",\r\n"","cisco safe people places things").join(" "))])};Sidebar.prototype.addCiscoSafeSecurityIconsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#282828;strokeColor=none;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.security_icons.";this.addPaletteFunctions("cisco_safeSecurity Icons","Cisco Safe / Security Icons",!1,[this.createVertexTemplateEntry(a+"ngips;",35.5,42.5,"","NGIPS",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons",\r\n"ngips","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"ngfw;",52.5,46,"","NGFW",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","ngfw","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"ise;",24.5,34.5,"","ISE",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","ise","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"ids;",46,35.5,"","IDS",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons",\r\n"ids","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"nba;",44.5,33.5,"","NBA",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","nba","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"nac;",50,50,"","NAC",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","nac","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"iam;",37.5,47,"","IAM",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","iam",\r\n"cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"amp;",50,50,"","AMP",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","amp","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"utm;",52,11.5,"","UTM",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","utm","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"firewall;",49.5,35,"","Firewall",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","firewall",\r\n"cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"vulnerability_management;",50,50,"","Vulnerability Management",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","vulnerability management","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"log_management;",30,37.5,"","Log Management",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","log management","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"application_control;",\r\n50,50,"","Application Control",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","application control","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"virtual;",50,50,"","Virtual",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","virtual","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"siem;",50,40.5,"","SIEM",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","siem","cisco safe security").join(" ")),\r\nthis.createVertexTemplateEntry(a+"antivirus;",50,32.5,"","Antivirus",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","antivirus","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"patch_management;",50,39,"","Patch Management",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","patch management","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"inspection_forensics;",50,38.5,"","Inspection / Forensics",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons",\r\n"inspection forensics","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"malware_sandbox;",50,31,"","Malware Sandbox",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","malware sandbox","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"ddos;",50,50,"","DDoS",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","ddos","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"talos;",93,21.5,"","Talos",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons",\r\n"talos","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"services;",50,46,"","Services",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","services","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"vpn;",43,50,"","VPN",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","vpn","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"email;",50,35.5,"","Email",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons",\r\n"email","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"web;",50,50,"","Web",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","web","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"virtual_deployment;",50,44.5,"","Virtual Deployment",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","virtual deployment","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"cloud_based;",50,31.5,"","Cloud Based",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons",\r\n"cloud based","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"cloud_based_management;",50,39,"","Cloud Based Management",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","cloud based management","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"trustsec;",41.5,50,"","Trustsec",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","trustsec","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"retrospective_security;",\r\n50,48,"","Retrospective Security",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","retrospective security","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"apic;",50,40.5,"","APIC",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","apic","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"waf;",40,50,"","WAF",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","waf","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+\r\n"icon1;",47.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon2;",50,45.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon3;",39,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon4;",50,42,"",\r\n"",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon5;",41,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon6;",47.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon7;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons",\r\n"","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon8;",42.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon9;",34,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon10;",50,31,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),\r\nthis.createVertexTemplateEntry(a+"icon11;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon12;",42,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon13;",50,45.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+\r\n"icon14;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon15;",39.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon16;",50,23.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon17;",50*.58,\r\n50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon18;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon19;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon20;",50,50,"","",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon21;",43.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon22;",40.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon23;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons",\r\n"","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon24;",44.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon25;",50,45.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon26;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),\r\nthis.createVertexTemplateEntry(a+"icon27;",50,35,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon28;",50,34.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon29;",46,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+\r\n"icon30;",50,35,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon31;",50,43,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon32;",50,34.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon33;",49.5,50,\r\n"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon34;",50,45.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon35;",50,50*.57,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon36;",50,49,"","",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon37;",40.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon38;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon39;",36,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons",\r\n"","cisco safe security").join(" ")),this.createVertexTemplateEntry(a+"icon40;",50,33,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.security_icons","","cisco safe security").join(" "))])};Sidebar.prototype.addCiscoSafeTechnologyIconsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#282828;strokeColor=none;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;align=center;shape=mxgraph.cisco_safe.technology_icons.";this.addPaletteFunctions("cisco_safeTechnology Icons",\r\n"Cisco Safe / Technology Icons",!1,[this.createVertexTemplateEntry(a+"icon1;",50,32.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon2;",50*.58,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon3;",50,43,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),\r\nthis.createVertexTemplateEntry(a+"icon4;",50,49.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon5;",50,38,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon6;",50*.58,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+\r\n"icon7;",34.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon8;",45.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon9;",39,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon10;",\r\n50,41,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon11;",50,38,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon12;",39.5,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon13;",50,44.5,\r\n"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon14;",50,38.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon15;",50,44.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon16;",50,50,"",\r\n"",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon17;",50,42.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon18;",50,42,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon19;",50,42,"","",null,\r\nnull,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon20;",50,42,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon21;",43,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon22;",50,50*.56,"","",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon23;",50,23.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon24;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon25;",50,34.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons",\r\n"","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon26;",50,40.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon27;",50,35,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon28;",50,21.5,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","",\r\n"cisco safe technology").join(" ")),this.createVertexTemplateEntry(a+"icon29;",50,50,"","",null,null,this.getTagsForStencil("mxgraph.cisco_safe.technology_icons","","cisco safe technology").join(" "))])};Sidebar.prototype.addCiscoSafeThreatPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#F06650;strokeColor=#ffffff;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;points=[];pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.cisco_safe.";this.addPaletteFunctions("cisco_safeThreat",\r\n"Cisco Safe / Threat",!1,[this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat1;resIcon=mxgraph.cisco_safe.threat.threat_a1;",49,50,"","Threat A1",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat1;resIcon=mxgraph.cisco_safe.threat.threat_a2;",49,50,"","Threat A2",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=threat1;resIcon=mxgraph.cisco_safe.threat.threat_a3;",49,50,"","Threat A3",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat1;resIcon=mxgraph.cisco_safe.threat.threat_a4;",49,50,"","Threat A4",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat1;resIcon=mxgraph.cisco_safe.threat.threat_a5;",\r\n49,50,"","Threat A5",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat1;resIcon=mxgraph.cisco_safe.threat.threat_a6;",49,50,"","Threat A6",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat1;resIcon=mxgraph.cisco_safe.threat.threat_a7;",49,50,"","Threat A7",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat",\r\n"threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat1;resIcon=mxgraph.cisco_safe.threat.threat_a8;",49,50,"","Threat A8",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat2;resIcon=mxgraph.cisco_safe.threat.threat_b1;",31.5,50,"","Threat B1",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat2;resIcon=mxgraph.cisco_safe.threat.threat_b2;",31.5,50,"","Threat B2",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat2;resIcon=mxgraph.cisco_safe.threat.threat_b3;",31.5,50,"","Threat B3",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=threat2;resIcon=mxgraph.cisco_safe.threat.threat_b4;",31.5,50,"","Threat B4",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat2;resIcon=mxgraph.cisco_safe.threat.threat_b5;",31.5,50,"","Threat B5",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat2;resIcon=mxgraph.cisco_safe.threat.threat_b6;",\r\n31.5,50,"","Threat B6",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat2;resIcon=mxgraph.cisco_safe.threat.threat_b7;",31.5,50,"","Threat B7",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat2;resIcon=mxgraph.cisco_safe.threat.threat_b8;",31.5,50,"","Threat B8",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat3;resIcon=mxgraph.cisco_safe.threat.threat_c1;",50,40.5,"","Threat C1",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat3;resIcon=mxgraph.cisco_safe.threat.threat_c2;",50,40.5,"","Threat C2",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat",\r\n"threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat3;resIcon=mxgraph.cisco_safe.threat.threat_c3;",50,40.5,"","Threat C3",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat3;resIcon=mxgraph.cisco_safe.threat.threat_c4;",50,40.5,"","Threat C4",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat3;resIcon=mxgraph.cisco_safe.threat.threat_c5;",50,40.5,"","Threat C5",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat3;resIcon=mxgraph.cisco_safe.threat.threat_c6;",50,40.5,"","Threat C6",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=threat3;resIcon=mxgraph.cisco_safe.threat.threat_c7;",50,40.5,"","Threat C7",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat3;resIcon=mxgraph.cisco_safe.threat.threat_c8;",50,40.5,"","Threat C8",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat4;resIcon=mxgraph.cisco_safe.threat.threat_d1;",\r\n46.5,50,"","Threat D1",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat4;resIcon=mxgraph.cisco_safe.threat.threat_d2;",46.5,50,"","Threat D2",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat4;resIcon=mxgraph.cisco_safe.threat.threat_d3;",46.5,50,"","Threat D3",null,null,\r\nthis.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat4;resIcon=mxgraph.cisco_safe.threat.threat_d4;",46.5,50,"","Threat D4",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat4;resIcon=mxgraph.cisco_safe.threat.threat_d5;",46.5,50,"","Threat D5",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat",\r\n"threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat4;resIcon=mxgraph.cisco_safe.threat.threat_d6;",46.5,50,"","Threat D6",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat4;resIcon=mxgraph.cisco_safe.threat.threat_d7;",46.5,50,"","Threat D7",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat4;resIcon=mxgraph.cisco_safe.threat.threat_d8;",46.5,50,"","Threat D8",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat5;resIcon=mxgraph.cisco_safe.threat.threat_e1;",50,47,"","Threat E1",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+\r\n"compositeIcon;bgIcon=threat5;resIcon=mxgraph.cisco_safe.threat.threat_e2;",50,47,"","Threat E2",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat5;resIcon=mxgraph.cisco_safe.threat.threat_e3;",50,47,"","Threat E3",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat5;resIcon=mxgraph.cisco_safe.threat.threat_e4;",\r\n50,47,"","Threat E4",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat5;resIcon=mxgraph.cisco_safe.threat.threat_e5;",50,47,"","Threat E5",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat5;resIcon=mxgraph.cisco_safe.threat.threat_e6;",50,47,"","Threat E6",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat",\r\n"threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat5;resIcon=mxgraph.cisco_safe.threat.threat_e7;",50,47,"","Threat E7",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" ")),this.createVertexTemplateEntry(a+"compositeIcon;bgIcon=threat5;resIcon=mxgraph.cisco_safe.threat.threat_e8;",50,47,"","Threat E8",null,null,this.getTagsForStencil("mxgraph.cisco_safe.threat","threat","cisco safe threat ").join(" "))])}})();(function(){Sidebar.prototype.addCitrixPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;aspect=fixed;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeColor=none;align=center;outlineConnect=0;shape=mxgraph.citrix.";this.setCurrentSearchEntryLibrary("citrix");this.addPaletteFunctions("citrix","Citrix",!1,[this.createVertexTemplateEntry(a+"1u_2u_server;",100,39.1,"","1U 2U Server",null,null,this.getTagsForStencil("mxgraph.citrix","1U 2U Server","").join(" ")),this.createVertexTemplateEntry(a+\r\n"access_card;",55.5,75,"","Access Card",null,null,this.getTagsForStencil("mxgraph.citrix","Access Card","").join(" ")),this.createVertexTemplateEntry(a+"branch_repeater;",100,39,"","Branch Repeater",null,null,this.getTagsForStencil("mxgraph.citrix","Branch Repeater","").join(" ")),this.createVertexTemplateEntry(a+"browser;",47.5,72.5,"","Browser",null,null,this.getTagsForStencil("mxgraph.citrix","Browser","").join(" ")),this.createVertexTemplateEntry(a+"cache_server;",71,97.5,"","Cache Server",null,\r\nnull,this.getTagsForStencil("mxgraph.citrix","Cache Server","").join(" ")),this.createVertexTemplateEntry(a+"calendar;",75,100,"","Calendar",null,null,this.getTagsForStencil("mxgraph.citrix","Calendar","").join(" ")),this.createVertexTemplateEntry(a+"cell_phone;",25,60,"","Cell Phone",null,null,this.getTagsForStencil("mxgraph.citrix","Cell Phone","").join(" ")),this.createVertexTemplateEntry(a+"chassis;",137.5,177.5,"","Chassis",null,null,this.getTagsForStencil("mxgraph.citrix","Chassis","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"citrix_hdx;",77.5,41,"","Citrix HDX",null,null,this.getTagsForStencil("mxgraph.citrix","Citrix HDX","").join(" ")),this.createVertexTemplateEntry(a+"citrix_logo;fillColor=#4E4F53;",160,62.5,"","Citrix Logo",null,null,this.getTagsForStencil("mxgraph.citrix","Citrix Logo","").join(" ")),this.createVertexTemplateEntry(a+"cloud;",95,62,"","Cloud",null,null,this.getTagsForStencil("mxgraph.citrix","Cloud","").join(" ")),this.createVertexTemplateEntry(a+"command_center;",\r\n75.5,96,"","Command Center",null,null,this.getTagsForStencil("mxgraph.citrix","Command Center","").join(" ")),this.createVertexTemplateEntry(a+"database;",42.5,50,"","Database",null,null,this.getTagsForStencil("mxgraph.citrix","Database","").join(" ")),this.createVertexTemplateEntry(a+"database_server;",80,90,"","Database Server",null,null,this.getTagsForStencil("mxgraph.citrix","Database Server","").join(" ")),this.createVertexTemplateEntry(a+"datacenter;",127.5,135,"","Datacenter",null,null,this.getTagsForStencil("mxgraph.citrix",\r\n"Datacenter","").join(" ")),this.createVertexTemplateEntry(a+"desktop;",89,98,"","Desktop",null,null,this.getTagsForStencil("mxgraph.citrix","Desktop","").join(" ")),this.createVertexTemplateEntry(a+"desktop_web;",76.5,90,"","Desktop Web",null,null,this.getTagsForStencil("mxgraph.citrix","Desktop Web","").join(" ")),this.createVertexTemplateEntry(a+"dhcp_server;",76,90,"","DHCP Server",null,null,this.getTagsForStencil("mxgraph.citrix","DHCP Server","").join(" ")),this.createVertexTemplateEntry(a+\r\n"directory_server;",65,88.5,"","Directory Server",null,null,this.getTagsForStencil("mxgraph.citrix","Directory Server","").join(" ")),this.createVertexTemplateEntry(a+"dns_server;",76.5,92.5,"","DNS Server",null,null,this.getTagsForStencil("mxgraph.citrix","DNS Server","").join(" ")),this.createVertexTemplateEntry(a+"document;",47,72,"","Document",null,null,this.getTagsForStencil("mxgraph.citrix","Document","").join(" ")),this.createVertexTemplateEntry(a+"edgesight_server;",76.5,90,"","EdgeSight Server",\r\nnull,null,this.getTagsForStencil("mxgraph.citrix","EdgeSight Server","").join(" ")),this.createVertexTemplateEntry(a+"file_server;",71,97,"","File Server",null,null,this.getTagsForStencil("mxgraph.citrix","File Server","").join(" ")),this.createVertexTemplateEntry(a+"firewall;",75,93,"","Firewall",null,null,this.getTagsForStencil("mxgraph.citrix","Firewall","").join(" ")),this.createVertexTemplateEntry(a+"ftp_server;",71,97,"","FTP Server",null,null,this.getTagsForStencil("mxgraph.citrix","FTP Server",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"geolocation_database;",53,49,"","Geolocation Database",null,null,this.getTagsForStencil("mxgraph.citrix","Geolocation Database","").join(" ")),this.createVertexTemplateEntry(a+"globe;",78.5,75,"","Globe",null,null,this.getTagsForStencil("mxgraph.citrix","Globe","").join(" ")),this.createVertexTemplateEntry(a+"goto_meeting;fillColor=#FAB616;gradientColor=#E12800;gradientDirection=north;",37,37,"","GoTo Meeting",null,null,this.getTagsForStencil("mxgraph.citrix",\r\n"GoTo Meeting","").join(" ")),this.createVertexTemplateEntry(a+"government;",119,52,"","Government",null,null,this.getTagsForStencil("mxgraph.citrix","Government","").join(" ")),this.createVertexTemplateEntry(a+"home_office;",80,55.5,"","Home Office",null,null,this.getTagsForStencil("mxgraph.citrix","Home Office","").join(" ")),this.createVertexTemplateEntry(a+"hq_enterprise;",92,88,"","HQ / Enterprise",null,null,this.getTagsForStencil("mxgraph.citrix","HQ Enterprise","").join(" ")),this.createVertexTemplateEntry(a+\r\n"inspection;",70,65,"","Inspection",null,null,this.getTagsForStencil("mxgraph.citrix","Inspection","").join(" ")),this.createVertexTemplateEntry(a+"ip_phone;",76.5,37,"","IP Phone",null,null,this.getTagsForStencil("mxgraph.citrix","IP Phone","").join(" ")),this.createVertexTemplateEntry(a+"kiosk;",65,85,"","Kiosk",null,null,this.getTagsForStencil("mxgraph.citrix","Kiosk","").join(" ")),this.createVertexTemplateEntry(a+"laptop_1;",91,77,"","Laptop",null,null,this.getTagsForStencil("mxgraph.citrix",\r\n"Laptop","").join(" ")),this.createVertexTemplateEntry(a+"laptop_2;",116,86.5,"","Laptop",null,null,this.getTagsForStencil("mxgraph.citrix","Laptop","").join(" ")),this.createVertexTemplateEntry(a+"license_server;",65,85,"","License Server",null,null,this.getTagsForStencil("mxgraph.citrix","License Server","").join(" ")),this.createVertexTemplateEntry(a+"merchandising_server;",75,90,"","Merchandising Server",null,null,this.getTagsForStencil("mxgraph.citrix","Merchandising Server","").join(" ")),this.createVertexTemplateEntry(a+\r\n"middleware;",114,68,"","Middleware",null,null,this.getTagsForStencil("mxgraph.citrix","Middleware","").join(" ")),this.createVertexTemplateEntry(a+"netscaler_gateway;",100,39,"","NetScaler Gateway",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler Gateway","").join(" ")),this.createVertexTemplateEntry(a+"netscaler_mpx;",100,39,"","NetScaler MPX",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler MPX","").join(" ")),this.createVertexTemplateEntry(a+"netscaler_sdx;",100,47.5,"",\r\n"NetScaler SDX",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler SDX","").join(" ")),this.createVertexTemplateEntry(a+"netscaler_vpx;",97,36,"","NetScaler VPX",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler VPX","").join(" ")),this.createVertexTemplateEntry(a+"pbx_server;",65,85,"","PBX Server",null,null,this.getTagsForStencil("mxgraph.citrix","PBX Server","").join(" ")),this.createVertexTemplateEntry(a+"pda;",30,61,"","PDA",null,null,this.getTagsForStencil("mxgraph.citrix",\r\n"PDA","").join(" ")),this.createVertexTemplateEntry(a+"podio;fillColor=#72B8DE;gradientColor=#186BA2;gradientDirection=south;",37,37,"","Podio",null,null,this.getTagsForStencil("mxgraph.citrix","Podio","").join(" ")),this.createVertexTemplateEntry(a+"printer;",70,70,"","Printer",null,null,this.getTagsForStencil("mxgraph.citrix","Printer","").join(" ")),this.createVertexTemplateEntry(a+"process;",52,62,"","Process",null,null,this.getTagsForStencil("mxgraph.citrix","Process","").join(" ")),this.createVertexTemplateEntry(a+\r\n"provisioning_server;",76,87,"","Provisioning Server",null,null,this.getTagsForStencil("mxgraph.citrix","Provisioning Server","").join(" ")),this.createVertexTemplateEntry(a+"proxy_server;",76.5,90,"","Proxy Server",null,null,this.getTagsForStencil("mxgraph.citrix","Proxy Server","").join(" ")),this.createVertexTemplateEntry(a+"radius_server;",75.5,91,"","Radius Server",null,null,this.getTagsForStencil("mxgraph.citrix","Radius Server","").join(" ")),this.createVertexTemplateEntry(a+"remote_office;",\r\n92,41.5,"","Remote Office",null,null,this.getTagsForStencil("mxgraph.citrix","Remote Office","").join(" ")),this.createVertexTemplateEntry(a+"reporting;",61.5,69,"","Reporting",null,null,this.getTagsForStencil("mxgraph.citrix","Reporting","").join(" ")),this.createVertexTemplateEntry(a+"role_appcontroller;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role AppController",null,null,this.getTagsForStencil("mxgraph.citrix","Role AppController","").join(" ")),this.createVertexTemplateEntry(a+\r\n"role_applications;",38,38,"","Role Applications",null,null,this.getTagsForStencil("mxgraph.citrix","Role Applications","").join(" ")),this.createVertexTemplateEntry(a+"role_cloudbridge;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role CloudBridge",null,null,this.getTagsForStencil("mxgraph.citrix","Role CloudBridge","").join(" ")),this.createVertexTemplateEntry(a+"role_desktops;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Desktops",\r\nnull,null,this.getTagsForStencil("mxgraph.citrix","Role Desktops","").join(" ")),this.createVertexTemplateEntry(a+"role_load_testing_controller;",24,24,"","Role Load Testing Controller",null,null,this.getTagsForStencil("mxgraph.citrix","Role Load Testing Controller","").join(" ")),this.createVertexTemplateEntry(a+"role_load_testing_launcher;",41,38,"","Role Load Testing Launcher",null,null,this.getTagsForStencil("mxgraph.citrix","Role Load Testing Launcher","").join(" ")),this.createVertexTemplateEntry(a+\r\n"role_receiver;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Receiver",null,null,this.getTagsForStencil("mxgraph.citrix","Role Receiver","").join(" ")),this.createVertexTemplateEntry(a+"role_repeater;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Repeater",null,null,this.getTagsForStencil("mxgraph.citrix","Role Repeater","").join(" ")),this.createVertexTemplateEntry(a+"role_secure_access;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",\r\n38,38,"","Role Secure Access",null,null,this.getTagsForStencil("mxgraph.citrix","Role Secure Access","").join(" ")),this.createVertexTemplateEntry(a+"role_security;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Security",null,null,this.getTagsForStencil("mxgraph.citrix","Role Security","").join(" ")),this.createVertexTemplateEntry(a+"role_services;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Services",null,null,this.getTagsForStencil("mxgraph.citrix",\r\n"Role Services","").join(" ")),this.createVertexTemplateEntry(a+"role_storefront;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role StoreFront",null,null,this.getTagsForStencil("mxgraph.citrix","Role StoreFront","").join(" ")),this.createVertexTemplateEntry(a+"role_storefront_services;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role StoreFront Services",null,null,this.getTagsForStencil("mxgraph.citrix","Role StoreFront Services","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"role_synchronizer;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role Synchronizer",null,null,this.getTagsForStencil("mxgraph.citrix","Role Synchronizer","").join(" ")),this.createVertexTemplateEntry(a+"role_xenmobile;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",38,38,"","Role XenMobile",null,null,this.getTagsForStencil("mxgraph.citrix","Role XenMobile","").join(" ")),this.createVertexTemplateEntry(a+"role_xenmobile_device_manager;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",\r\n35,38,"","Role XenMobile Device Manager",null,null,this.getTagsForStencil("mxgraph.citrix","Role XenMobile Device Manager","").join(" ")),this.createVertexTemplateEntry(a+"router;",55,36.5,"","Router",null,null,this.getTagsForStencil("mxgraph.citrix","Router","").join(" ")),this.createVertexTemplateEntry(a+"security;",40.5,71,"","Security",null,null,this.getTagsForStencil("mxgraph.citrix","Security","").join(" ")),this.createVertexTemplateEntry(a+"sharefile;fillColor=#386510;gradientColor=#C6CF2B;gradientDirection=south;",\r\n38,38,"","ShareFile",null,null,this.getTagsForStencil("mxgraph.citrix","ShareFile","").join(" ")),this.createVertexTemplateEntry(a+"site;",107,101,"","Site",null,null,this.getTagsForStencil("mxgraph.citrix","Site","").join(" ")),this.createVertexTemplateEntry(a+"smtp_server;",76,92,"","SMTP Server",null,null,this.getTagsForStencil("mxgraph.citrix","SMTP Server","").join(" ")),this.createVertexTemplateEntry(a+"storefront_services;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",76,\r\n91,"","Storefront Services",null,null,this.getTagsForStencil("mxgraph.citrix","Storefront Services","").join(" ")),this.createVertexTemplateEntry(a+"switch;",92,41.5,"","Switch",null,null,this.getTagsForStencil("mxgraph.citrix","Switch","").join(" ")),this.createVertexTemplateEntry(a+"tablet_1;",61,79,"","Tablet",null,null,this.getTagsForStencil("mxgraph.citrix","Tablet","").join(" ")),this.createVertexTemplateEntry(a+"tablet_2;",82,86,"","Tablet",null,null,this.getTagsForStencil("mxgraph.citrix",\r\n"Tablet","").join(" ")),this.createVertexTemplateEntry(a+"thin_client;",71,71,"","Thin Client",null,null,this.getTagsForStencil("mxgraph.citrix","Thin Client","").join(" ")),this.createVertexTemplateEntry(a+"tower_server;",65,85,"","Tower Server",null,null,this.getTagsForStencil("mxgraph.citrix","Tower Server","").join(" ")),this.createVertexTemplateEntry(a+"users;",64.5,55,"","Users",null,null,this.getTagsForStencil("mxgraph.citrix","Users","").join(" ")),this.createVertexTemplateEntry(a+"user_control;",\r\n103,84,"","User Control",null,null,this.getTagsForStencil("mxgraph.citrix","User Control","").join(" ")),this.createVertexTemplateEntry(a+"web_server;",76.5,90,"","Web Server",null,null,this.getTagsForStencil("mxgraph.citrix","Web Server","").join(" ")),this.createVertexTemplateEntry(a+"web_service;",63,60,"","Web Service",null,null,this.getTagsForStencil("mxgraph.citrix","Web Service","").join(" ")),this.createVertexTemplateEntry(a+"worxenroll;fillColor=#386510;gradientColor=#C6CF2B;gradientDirection=south;",\r\n38,38,"","WorxEnroll",null,null,this.getTagsForStencil("mxgraph.citrix","WorxEnroll","").join(" ")),this.createVertexTemplateEntry(a+"worxhome;fillColor=#DB9EFF;gradientColor=#712FA2;gradientDirection=south;",38,38,"","WorxHome",null,null,this.getTagsForStencil("mxgraph.citrix","WorxHome","").join(" ")),this.createVertexTemplateEntry(a+"worxmail;fillColor=#112356;gradientColor=#63AFC6;gradientDirection=south;",38,38,"","WorxMail",null,null,this.getTagsForStencil("mxgraph.citrix","WorxMail","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"worxweb;fillColor=#2A3437;gradientColor=#B8B9B9;gradientDirection=south;",38,38,"","WorxWeb",null,null,this.getTagsForStencil("mxgraph.citrix","WorxWeb","").join(" ")),this.createVertexTemplateEntry(a+"xenapp_server;",76,89,"","XenApp Server",null,null,this.getTagsForStencil("mxgraph.citrix","XenApp Server","").join(" ")),this.createVertexTemplateEntry(a+"xenapp_services;",76,90,"","XenApp Services",null,null,this.getTagsForStencil("mxgraph.citrix","XenApp Services",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"xenapp_web;",76,90,"","XenApp Web",null,null,this.getTagsForStencil("mxgraph.citrix","XenApp Web","").join(" ")),this.createVertexTemplateEntry(a+"xencenter;",76,89,"","XenCenter",null,null,this.getTagsForStencil("mxgraph.citrix","XenCenter","").join(" ")),this.createVertexTemplateEntry(a+"xenclient;",91,77,"","XenClient",null,null,this.getTagsForStencil("mxgraph.citrix","XenClient","").join(" ")),this.createVertexTemplateEntry(a+"xenclient_synchronizer;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",\r\n76,91,"","XenClient Synchronizer",null,null,this.getTagsForStencil("mxgraph.citrix","Synchronizer","").join(" ")),this.createVertexTemplateEntry(a+"xendesktop_server;",75,91,"","XenDesktop Server",null,null,this.getTagsForStencil("mxgraph.citrix","XenDesktop Server","").join(" ")),this.createVertexTemplateEntry(a+"xenmobile;fillColor=#CCCCCC;gradientColor=#000000;gradientDirection=south;",70,89,"","XenMobile",null,null,this.getTagsForStencil("mxgraph.citrix","XenMobile","").join(" ")),this.createVertexTemplateEntry(a+\r\n"xenserver;",76.5,90,"","XenServer",null,null,this.getTagsForStencil("mxgraph.citrix","XenServer","").join(" "))]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addCumulusPalette=function(){var a=this;this.setCurrentSearchEntryLibrary("cumulus");var b=[this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/switch_bare_metal_empty.svg;",96,24,"","Switch - Bare Metal (empty)",!1,null,this.getTagsForStencil(" ","switch bare metal empty","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/switch_cumulus_linux.svg;",\r\n96,24,"","Switch - Cumulus Linux",!1,null,this.getTagsForStencil(" ","switch cumulus linux","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/switch_out_of_band.svg;",96,24,"","Switch - Out of Band",!1,null,this.getTagsForStencil(" ","switch_out_of_band","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/switch_voyager.svg;",\r\n96,24,"","Switch Voyager",!1,null,this.getTagsForStencil(" ","switch voyager","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/cumulus_linux_icon.svg;",96,96,"","Linux Icon",!1,null,this.getTagsForStencil(" ","cumulus linux icon","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/cumulus_netq_icon.svg;",\r\n96,96,"","NetQ Icon",!1,null,this.getTagsForStencil(" ","","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/rack_bare_metal.svg;",96,114,"","Rack Bare Metal",!1,null,this.getTagsForStencil(" ","rack bare metal","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/rack_cumulus_linux.svg;",\r\n96,114,"","Rack Cumulus Linux",!1,null,this.getTagsForStencil(" ","rack linux","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/rack_out_of_band.svg;",96,114,"","Rack Out of Band",!1,null,this.getTagsForStencil(" ","rack out of band","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/rack_voyager.svg;",\r\n96,114,"","Rack Voyager",!1,null,this.getTagsForStencil(" ","rack voyager","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/server_bare_metal.svg;",96,20,"","Server - Bare Metal",!1,null,this.getTagsForStencil(" ","server bare metal","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/chassis_bare_metal_empty.svg;",\r\n106,72,"","Chassis - Bare Metal Empty",!1,null,this.getTagsForStencil(" ","chassis bare metal empty","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/chassis_cumulus_linux.svg;",106,72,"","Chassis - Cumulus Linux",!1,null,this.getTagsForStencil(" ","chassis linux","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/netq_chassis.svg;",\r\n106,72,"","NetQ Chassis",!1,null,this.getTagsForStencil(" ","netq chassis","cumulus").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;",100,100,"","Unspecified",null,"cumulusunspecified"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#EB4770;",100,100,"","1G",null,"cumulus1g"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#FB9F41;",\r\n100,100,"","10G",null,"cumulus10g"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#FCC548;",100,100,"","25G",null,"cumulus25g"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#83CA73;",100,100,"","40G",null,"cumulus40g"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#2EAB6D;",100,100,"","100G",null,"cumulus100g"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#4EFDC0;",\r\n100,100,"","OOB / RMP",null,"cumulusoob rmp"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#EB4770;dashed=1;dashPattern=5 5;",100,100,"","Virtual",null,"cumulusvirtual"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#FB9F41;dashed=1;dashPattern=5 5;",100,100,"","Virtual",null,"cumulusvirtual"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#FCC548;dashed=1;dashPattern=5 5;",\r\n100,100,"","Virtual",null,"cumulusvirtual"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#83CA73;dashed=1;dashPattern=5 5;",100,100,"","Virtual",null,"cumulusvirtual"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#2EAB6D;dashed=1;dashPattern=5 5;",100,100,"","Virtual",null,"cumulusvirtual"),this.createEdgeTemplateEntry("endArrow=block;html=1;startArrow=block;startFill=1;endFill=1;strokeColor=#4EFDC0;dashed=1;dashPattern=5 5;",\r\n100,100,"","Virtual",null,"cumulusvirtual"),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/netq_agent.svg;",18,18,"","NetQ Agent",!1,null,this.getTagsForStencil(" ","netq agent","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/netq_telemetry_server.svg;",\r\n96,24,"","NetQ Telemetry Server",!1,null,this.getTagsForStencil(" ","netq telemetry server","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/netq_server.svg;",96,20,"","NetQ Server",!1,null,this.getTagsForStencil(" ","netq server","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/cumulus/internet.svg;labelPosition=center;verticalLabelPosition=middle;verticalAlign=middle;fontSize=14;fontColor=#36424A;",\r\n274,98,"Internet","Internet",!0,null,this.getTagsForStencil(" ","internet","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/container.svg;",90,80,"","Container",!0,null,this.getTagsForStencil(" ","container","cumulus").join(" ")),this.addEntry("cumuluspbr switch",function(){var b=new mxCell("swp51",new mxGeometry(0,0,60,24),"rounded=0;whiteSpace=wrap;html=1;fillColor=#FB9F41;strokeColor=none;fontColor=#FFFFFF;");\r\nb.vertex=!0;var c=new mxCell("PBR",new mxGeometry(60,0,60,24),"text;verticalAlign=middle;align=center;fontColor=#FB9F41;fontStyle=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],120,24,"Package Diagram")}),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/ddos_server.svg;",96,20,"192.168.0.32","DDos Server",!0,null,this.getTagsForStencil(" ","ddos server",\r\n"cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/switch.svg;",96,20,"","Switch",!0,null,this.getTagsForStencil(" ","switch","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/limed_spruce.svg;",\r\n300,68,"","Limed Spruce",!1,null,this.getTagsForStencil(" ","limed spruce","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#36424A;strokeColor=none;",50,50,"","Limited Spruce",!0,null,this.getTagsForStencil(" ","color limited spruce","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#515D68;strokeColor=none;",50,50,"","Nevada",!0,null,this.getTagsForStencil(" ","color nevada","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#6E7B86;strokeColor=none;",50,\r\n50,"","Rolling Stone",!0,null,this.getTagsForStencil(" ","color rolling stone","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#8C9AA6;strokeColor=none;",50,50,"","Gray Chateau",!0,null,this.getTagsForStencil(" ","color gray chateau","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#AEB8C3;strokeColor=none;",50,50,"","Cadet Blue",!0,null,this.getTagsForStencil(" ","color cadet blue","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#D2D6DF;strokeColor=none;",\r\n50,50,"","Heather",!0,null,this.getTagsForStencil(" ","color heather","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#EAEDF2;strokeColor=none;",50,50,"","Athens Gray",!0,null,this.getTagsForStencil(" ","color athens gray","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#7CCC6C;strokeColor=none;",50,50,"","Mantis",!0,null,this.getTagsForStencil(" ","color mantis","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#4BC05B;strokeColor=none;",50,50,"","Fern",\r\n!0,null,this.getTagsForStencil(" ","color fern","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#00AD69;strokeColor=none;",50,50,"","Jade",!0,null,this.getTagsForStencil(" ","color jade","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#009271;strokeColor=none;",50,50,"","Observatory",!0,null,this.getTagsForStencil(" ","color observatory","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#FFC82E;strokeColor=none;",50,50,"","Energy Jellow",!0,null,this.getTagsForStencil(" ",\r\n"color energy jellow","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#FFA12D;strokeColor=none;",50,50,"","Neon Carrot",!0,null,this.getTagsForStencil(" ","color neon carrot","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#F1446F;strokeColor=none;",50,50,"","Radical Red",!0,null,this.getTagsForStencil(" ","color radical red","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#83389B;strokeColor=none;",50,50,"","Rarity",!0,null,this.getTagsForStencil(" ",\r\n"color rarity","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#1EB5BD;strokeColor=none;",50,50,"","Seagull",!0,null,this.getTagsForStencil(" ","color seagull","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#78CDD1;strokeColor=none;",50,50,"","Half Baked",!0,null,this.getTagsForStencil(" ","color half baked","cumulus").join(" "))];this.addPalette("cumulus","Cumulus",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addDFDPalette=function(){this.setCurrentSearchEntryLibrary("dfd");this.addPaletteFunctions("dfd","Data Flow Diagram",!1,[this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.start",80,30,"","Start / End",null,null,this.getTagsForStencil("mxgraph.flowchart","start end","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;",100,50,"","Activity / Process / Entity / External Interactor",null,null,\r\nthis.getTagsForStencil("mxgraph.flowchart","activity process entity external interactor","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=rhombus;html=1;dashed=0;whitespace=wrap;perimeter=rhombusPerimeter;",60,50,"","Decision / Entity Relationship",null,null,this.getTagsForStencil("mxgraph.flowchart","decision entity relationship","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whitespace=wrap;aspect=fixed;perimeter=ellipsePerimeter;",\r\n30,30,"","Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","reference","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;dashed=0;",100,50,"","Product / Result",null,null,this.getTagsForStencil("mxgraph.flowchart","product result","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=manualInput;whiteSpace=wrap;html=1;dashed=0;size=15;",100,50,"","Order / Command",null,\r\nnull,this.getTagsForStencil("mxgraph.flowchart","order command","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;dashed=0;flipH=1;",100,70,"","Information / Data Carrier / SOP",null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier sop","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;dashed=0;direction=south;",60,60,"","Information/Data Carrier/SOP / Stop State",\r\nnull,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier sop","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.archive",60,60,"","Final Report / Archive",null,null,this.getTagsForStencil("mxgraph.flowchart","final report archive","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;size=0.25",100,50,"","Check",null,null,this.getTagsForStencil("mxgraph.flowchart",\r\n"check","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.check2",100,50,"","Check 2",null,null,this.getTagsForStencil("mxgraph.flowchart","check","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whitespace=wrap;perimeter=ellipsePerimeter;",30,30,"","Data Process",null,null,this.getTagsForStencil("mxgraph.flowchart","data process","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whitespace=wrap;aspect=fixed;perimeter=ellipsePerimeter;",\r\n60,60,"","Data Process / State",null,null,this.getTagsForStencil("mxgraph.flowchart","data process","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;html=1;dashed=0;whitespace=wrap;aspect=fixed;",60,60,"","Multiple Process / Start State / Multi State",null,null,this.getTagsForStencil("mxgraph.flowchart","multiple process start state multi","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whitespace=wrap;aspect=fixed;strokeWidth=5;perimeter=ellipsePerimeter;",\r\n60,60,"","Stop State",null,null,this.getTagsForStencil("mxgraph.flowchart","stop state","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=partialRectangle;right=0;left=0;",100,30,"","Data Store",null,null,this.getTagsForStencil("mxgraph.flowchart","data store","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=partialRectangle;right=0;",100,30,"","Data Store",null,null,this.getTagsForStencil("mxgraph.flowchart",\r\n"data store","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.dataStoreID;align=left;spacingLeft=3;points=[[0,0],[0.5,0],[1,0],[0,0.5],[1,0.5],[0,1],[0.5,1],[1,1]];",100,30,"","Data Store with ID",null,null,this.getTagsForStencil("mxgraph.flowchart","data store with id identification","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=20;fillColor=#ffffff;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;swimlaneFillColor=#ffffff;",\r\n100,50,"","Entity",null,null,this.getTagsForStencil("mxgraph.flowchart","entity","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=cloud;whiteSpace=wrap;html=1;",120,120,"","Object",null,null,this.getTagsForStencil("mxgraph.flowchart","object","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whitespace=wrap;perimeter=ellipsePerimeter;",100,50,"","Oval Process",null,null,this.getTagsForStencil("mxgraph.flowchart","oval process",\r\n"dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=cylinder;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;",60,80,"","Data Store",null,null,this.getTagsForStencil("mxgraph.flowchart","data store","dfd data flow diagram ").join(" ")),this.addEntry("dfd data flow diagram external entity",function(){var a=new mxCell("",new mxGeometry(0,0,100,100),"html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.externalEntity");a.vertex=!0;var b=new mxCell("Id",new mxGeometry(0,0,\r\n20,20),"autosize=1;part=1;resizable=0;strokeColor=inherit;fillColor=inherit;gradientColor=inherit;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(15,15);b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"External Entity")}),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.loop",80,30,"","Loop",null,null,this.getTagsForStencil("mxgraph.flowchart","loop","dfd data flow diagram ").join(" ")),this.createEdgeTemplateEntry("endArrow=classic;html=1;",\r\n50,50,"","Directional Connector",null,"dfd data flow diagram directional directed")]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addEipPalette=function(){this.setCurrentSearchEntryLibrary("eip","eipMessage Construction");this.addEipMessageConstructionPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Routing");this.addEipMessageRoutingPalette();this.setCurrentSearchEntryLibrary("eip","eipMessage Transformation");this.addEipMessageTransformationPalette();this.setCurrentSearchEntryLibrary("eip","eipMessaging Channels");this.addEipMessagingChannelsPalette();this.setCurrentSearchEntryLibrary("eip",\r\n"eipMessaging Endpoints");this.addEipMessagingEndpointsPalette();this.setCurrentSearchEntryLibrary("eip","eipMessaging Systems");this.addEipMessagingSystemsPalette();this.setCurrentSearchEntryLibrary("eip","eipSystem Management");this.addEipSystemManagementPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addEipMessageConstructionPalette=function(a){var b=this,e=[this.createEdgeTemplateEntry("edgeStyle=none;html=1;strokeColor=#808080;endArrow=block;endSize=10;dashed=0;verticalAlign=bottom;strokeWidth=2;",\r\n160,0,"","Pipe",null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction pipe").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;",150,90,"","Filter",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction filter").join(" ")),this.addEntry("eip enterprise integration pattern message construction command message",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("C",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#FF8080;fontStyle=1;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");e.geometry.relative=\r\n!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],28,30,"Command Message")}),this.addDataEntry("eip enterprise integration pattern message construction correlation identifier",78,30,"Correlation Identifier","5ZZLT8JAEIB/Ta+mDwv1KAicTEw8qMeVDu2GpUO2ixZ/vbPdAVorilExkTZN5rEznf1mtqkXDRfVRItlfo0pKC8aedFQIxonLaohKOWFvky96MoLQ58eLxzv8Qa1118KDYU5JCB0AU9CrcBZnKE0a8UGSDO4ZRW1yTHDQqjRzjrQuCpSsBl90qCS5r4hP1j5LLZakV5qjc9kKLCwkako821gbha0/6uAxNJonMMQFeq6iCjx7b313MnU5OQJyeIKtlW2GJS40lM29ZzJCJ0BY4m7pOpAxjQBXIDRa1qiQQkjn9rZRenUbLtuB5kE5vw+8+gkmCdd5v2/Y35+APMdqUeF03mbDnnHUrVZNYl06I3HF4RwD6ifRMChNygpY+hXvGEe8HXrBGziXaM4pPl5eJMl6H+UxfW2k6XuxXYnB7Un/rw9XeStQRZKZgXJU+IK1ILBDAtzK19sdGL7k4ullem9clnaczCjdu6f9o2HDw3XB9pA9dVOPnPNdgXvKweZ5aZt+8549zr8Ln8LoIap6dLjaX/nHPj1tcnH5QSsN9bN6uubqDcBvdbYBnwMj9CI/n8eZA6I/aPhTDo4B6c8171jzTWpu39Q9z1v/qK+Ag=="),\r\nthis.addEntry("eip enterprise integration pattern message construction document message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("D",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#C7A0FF;fontStyle=1;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");\r\ne.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],28,30,"Document Message")}),this.addEntry("eip enterprise integration pattern message construction event message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("E",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#83BEFF;fontStyle=1;");\r\nd.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],28,30,"Event Message")}),this.createVertexTemplateEntry("strokeWidth=3;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.messExp;html=1;verticalLabelPosition=bottom;verticalAlign=top",\r\n48,48,"","Message Expiration",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction message expiration").join(" ")),this.addDataEntry("eip enterprise integration pattern message construction message sequence",60,24,"Message Sequence","5VVdb4MgFP01vKtY4+vKZp+WLNnDnpneKSmKQWp1v34gtKWhXfawNPswMbn33A+45xBAmLTTRtK+eRQVcIQfECZSCGWtdiLAOUoiViF8j5Ik0j9KiivReIlGPZXQqa8UJLZgpHwHFrHAoGbugHInRzDpMcJr6Ko7KcVeu69clFsNNarlLjooKbZABBdyqcUxIUUUHSMvrFKNjiS20zN7N2tg7dlVoarhbJBB7GTpoJWFFJU1uNnScNyl0M26AdGCkrNOkcCpYuN5dzpYtz7muVI9Ip29hF6wTg1e5ycD6ITJ9ct9krVhGxw8bycnaBHisij494iShaKsfogoafKtoqSBKHGgSkhoRYdm0cnwTTmrO22XmhjQYqzfRKcc37nRo6G9sSWUykQZ555seVQUGbkkaLR8h35uO/FRwBGkgglduyCuiDO7qDt7ezeUBzXA6kadY5fU8yT4lOFVwHB47v8Sw67gcLJuT3gWEI7/A+FpfiPCtXt6ye2V4z/0Hw=="),\r\nthis.createVertexTemplateEntry("strokeWidth=3;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.retAddr;html=1;verticalLabelPosition=bottom;fillColor=#FFE040;verticalAlign=top;",78,48,"","Return Address",null,null,this.getTagsForStencil("mxgraph.eip","retAddr","eip enterprise integration pattern message construction return address").join(" "))];this.addPalette("eipMessage Construction","EIP / Message Construction",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};\r\nSidebar.prototype.addEipMessageRoutingPalette=function(a){var b=[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.aggregator;",150,90,"","Aggregator",null,null,this.getTagsForStencil("mxgraph.eip","aggregator","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.composed_message_processor;",\r\n150,90,"","Composed Message Processor",null,null,this.getTagsForStencil("mxgraph.eip","composed_message_processor","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.content_based_router;",150,90,"","Content Based Router",null,null,this.getTagsForStencil("mxgraph.eip","content_based_router","eip enterprise integration pattern message routing ").join(" ")),\r\nthis.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.dynamic_router;",150,90,"","Dynamic Router",null,null,this.getTagsForStencil("mxgraph.eip","dynamic_router","eip enterprise integration pattern message routing ").join(" ")),this.addDataEntry("eip enterprise integration pattern message routing message broker",120,90,"Message Broker","5ZjJboMwEIafxneDWZJjQ9qcesqhZxcGjGpwZJytT1+DnQUpUZEqmYQiIWb+YcbMZySwEUmqw0rSDXsXGXBEXhFJpBDKWNUhAc6Rj8sMkSXyfaxP5L/diXpdFG+ohFoNSfBNwo7yLRjFCI06cis0Soov+CgzxbTgI7LIaMOgLYC1Q3lZ1NpO9YggtZCLWq3L7zZ7pt2G0U1rS0hVGy05TwQXsitO8jz/TNsyZpSrCO4OHbFPCFLB4W6XnWRbXIGoQMmjvsUmBLHJ2Nsm2sYjIzEoC3YqMjMabYxfnAtdCGrDQrwNlEwb6LFPygHQYNpAbcLctumebzhtvhZoGDgDGk0b6O0X1iHf+F/wPX2yLN/Yd8Z3NjLfFOchnTvmSyJnfOe/84WsgLV1a1HrywLq7EVKsb8oPeRMVXq8pXfGdj05pn5btAerEVuZQm/SFZUFqN6v4QCkEjhV5a5f/S+IPPwkjMiIjLwnYRSMyGjA8uYhGIUjMhqwYnkIRtGIjAYsQh6CUeyMkXYvuxRdrLeJ8QM="),\r\nthis.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.message_filter;",150,90,"","Message Filter",null,null,this.getTagsForStencil("mxgraph.eip","message_filter","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.process_manager;",\r\n150,90,"","Process Manager",null,null,this.getTagsForStencil("mxgraph.eip","process_manager","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.recipient_list;",150,90,"","Recipient List",null,null,this.getTagsForStencil("mxgraph.eip","recipient_list","eip enterprise integration pattern message routing ").join(" ")),\r\nthis.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.resequencer;",150,90,"","Resequencer",null,null,this.getTagsForStencil("mxgraph.eip","resequencer","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.routing_slip;",\r\n150,90,"","Routing Slip",null,null,this.getTagsForStencil("mxgraph.eip","routing_slip","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.splitter;",150,90,"","Splitter",null,null,this.getTagsForStencil("mxgraph.eip","splitter","eip enterprise integration pattern message routing ").join(" "))];this.addPalette("eipMessage Routing",\r\n"EIP / Message Routing",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addEipMessageTransformationPalette=function(a){this.addPaletteFunctions("eipMessage Transformation","EIP / Message Transformation",!1,[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.claim_check;",150,90,"","Claim Check",null,null,this.getTagsForStencil("mxgraph.eip",\r\n"claim_check","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.content_enricher;",150,90,"","Content Enricher",null,null,this.getTagsForStencil("mxgraph.eip","content_enricher","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.content_filter;",\r\n150,90,"","Content Filter",null,null,this.getTagsForStencil("mxgraph.eip","content_filter","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.envelope_wrapper;",150,90,"","Envelope Wrapper",null,null,this.getTagsForStencil("mxgraph.eip","envelope_wrapper","eip enterprise integration pattern message transformation ").join(" ")),\r\nthis.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.normalizer;",150,90,"","Normalizer",null,null,this.getTagsForStencil("mxgraph.eip","normalizer","eip enterprise integration pattern message transformation ").join(" "))])};Sidebar.prototype.addEipMessagingChannelsPalette=function(a){var b=[this.createEdgeTemplateEntry("edgeStyle=none;html=1;strokeColor=#808080;endArrow=block;endSize=10;dashed=0;verticalAlign=bottom;strokeWidth=2;",\r\n160,0,"","Point to Point Channel",null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern messaging channel message point").join(" ")),this.addDataEntry("eip enterprise integration pattern messaging channel message publish subscribe",80,160,"Publish Subscribe Channel","7ZbBbsIwDIafJvfQMMR1FMYJaRKHnbPWayvSGLmBwZ5+bhNKYaAxDTihqlL8O3aS72/VChWXmynpZT7DFIxQE6FiQnR+VG5iMEZEskiFGosoknyL6OVMttdk5VITWHdJQeQL1tqswCteqNzWBKFyhAt4K1KXsxAJNUp1lUPdQHKgTZFZHie8IhALH2jdvPiqq4cc5q7kU417PKxyvaxlgoQ3NwpLAznYnN1+I4W9TwFLcLTlKaGg708nt2FyOK3UlReytmLPgAcBw2kk6nckhCubtgTAps9E+MmhRQteCQR68phXl0dDNkaD1PRVQ1lfbabL3O8B0gwOUDlNGbgDLy+gR2C0K9aHrU4xC6WvWHDHH9R3FRWuKIEw6Qh0u+pF7Pt/Zs9A5iGJ5HLM0Goz2atdd94NJou72uPJ3Mue3VswOPLHPyTX8Ofp4c/1Xp/b2zV42PV/u4a3sovD/YfeT+/+B3wD"),\r\nthis.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.channel_adapter;fillColor=#9ddbef;",45,90,"","Channel Adapter",null,null,this.getTagsForStencil("mxgraph.eip","channel_adapter","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;outlineConnect=0;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.messageChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",\r\n100,20,"","Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","messageChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;outlineConnect=0;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.dataChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",100,20,"","Datatype Channel",null,null,this.getTagsForStencil("mxgraph.eip","dataChannel","eip enterprise integration pattern messaging channel message ").join(" ")),\r\nthis.createVertexTemplateEntry("strokeWidth=1;outlineConnect=0;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.deadLetterChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",100,20,"","Dead Letter Channel",null,null,this.getTagsForStencil("mxgraph.eip","deadLetterChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;outlineConnect=0;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.invalidMessageChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",\r\n100,20,"","Invalid Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","invalidMessageChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.messaging_bridge;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;",150,90,"","Messaging Bridge",null,null,this.getTagsForStencil("mxgraph.eip","messaging_bridge","eip enterprise integration pattern messaging channel message ").join(" ")),\r\nthis.addDataEntry("eip enterprise integration pattern messaging channel message message bus",120,140,"Message Bus","7ZbPb8IgFMf/Gq6Gwma8rtV5WrLEw84ob4VISwOodX/9oLBq/ZF5MJ5s0+S9L7xX+H5KUkSLqp0b1ogPzUEhOkO0MFq7GFVtAUohgiVHdIoIwf5B5P3KaNaN4oYZqN0tBSQWbJnaQFSiYN1eJcE6o9fwJbkTXiCI5lEptNKmm0Jxd/kRzqyA0DokTMmy9vHKrwX8zFy4ym9wmvnwW9duIX/CKyaho2BNiKu2DFaMQDajCqxlJRSC1XUwJk9LBeOgvbrdTkp7nYOuwJm9n7KPo+PoBt6l3YSC5BAWIEuRuvxpzMa87DsdvPRBsvOytfR/a4GXsEgpqKXezQ5Cfu670Zua9/ZCzd+M0TufLpVerbsSZtxFMXmdpcLjdMDsCNEZ5QkOdw8iLH6Awb+nBDf4rm4gY0AxJ7fDVpd8T6WfWvqOBLdDoglw9nJCzuqNWUEqOoHXr+Imni9Png/geXry7sfv9cnvgefx/vzGT34P4JfhewH06eE/Jk4//s35BQ==")];\r\nthis.addPalette("eipMessaging Channels","EIP / Messaging Channels",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addEipMessagingEndpointsPalette=function(a){this.addPaletteFunctions("eipMessaging Endpoints","EIP / Messaging Endpoints",!1,[this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.competing_consumers;",\r\n150,90,"","Competing Consumers",null,null,this.getTagsForStencil("mxgraph.eip","competing_consumers","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.durable_subscriber;fillColor=#a0a0a0;",30,35,"","Durable Subscriber",null,null,this.getTagsForStencil("mxgraph.eip","durable_subscriber","eip enterprise integration pattern messaging endpoint ").join(" ")),\r\nthis.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.event_driven_consumer;",150,90,"","Event Driven Consumer",null,null,this.getTagsForStencil("mxgraph.eip","event_driven_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.message_dispatcher;",\r\n150,90,"","Message Dispatcher",null,null,this.getTagsForStencil("mxgraph.eip","message_dispatcher","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.messaging_gateway;",150,90,"","Messaging Gateway",null,null,this.getTagsForStencil("mxgraph.eip","messaging_gateway","eip enterprise integration pattern messaging endpoint ").join(" ")),\r\nthis.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.polling_consumer;",150,90,"","Polling Consumer",null,null,this.getTagsForStencil("mxgraph.eip","polling_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.selective_consumer;",\r\n150,90,"","Selective Consumer",null,null,this.getTagsForStencil("mxgraph.eip","selective_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.service_activator;",150,90,"","Service Activator",null,null,this.getTagsForStencil("mxgraph.eip","service_activator","eip enterprise integration pattern messaging endpoint ").join(" ")),\r\nthis.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.transactional_client;",150,90,"","Transactional Client",null,null,this.getTagsForStencil("mxgraph.eip","transactional_client","eip enterprise integration pattern messaging endpoint ").join(" "))])};Sidebar.prototype.addEipMessagingSystemsPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.content_based_router;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;",\r\n150,90,"","Message Router",null,null,this.getTagsForStencil("mxgraph.eip","content_based_router","eip enterprise integration pattern messaging system ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.messageChannel;html=1;verticalLabelPosition=bottom;verticalAlign=top;",100,20,"","Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","messageChannel","eip enterprise integration pattern messaging system ").join(" ")),\r\nthis.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var a=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;");a.vertex=!0;var d=new mxCell("",new mxGeometry(85,25,40,40),"strokeWidth=1;dashed=0;align=center;fontSize=8;shape=rect;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message Endpoint")}),\r\nthis.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var a=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;");a.vertex=!0;var d=new mxCell("",new mxGeometry(25,25,40,40),"strokeWidth=1;dashed=0;align=center;fontSize=8;shape=rect");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message Endpoint")}),\r\nthis.addDataEntry("eip enterprise integration pattern messaging system message endpoint",400,90,"Message Endpoint","zVXLbsIwEPwa300eFRwhbbm0UiUOPZtkSSycbOQsr3597cRAIkILKhUkiuSd9fgxs46ZH+XbqRZl9o4JKOa/MD/SiNS08m0ESjGPy4T5z8zzuPmY93omO6izvBQaCrqE4DWEtVAraJAGqGinHFCRxiV8yoQyA3jMnySiysAOwE0glEwL047NjKANsMCCZvLLsocmrDJR2raGmGxWKhWhQl0P7sd8EYqR7VbP0srw+jGZNWiSsVBvYg7qAytJEu2EcyTCvNVh7FZCWBrUbczkYHtWnBpyykwBcyC9M102brO2R9gIyDOQaeZoI4eJqonTA/UotWk4tfuV969VfnBb5Rf1czflvX7lHcELG8auG7Z8CXpsCW5gS/D4B+IvlX3Ql58o+m+VHj5+pV8kafCjpMO7lezT7/pCksLMhaDmuHk5ApPTeta4KpKD+lAkY61xY0++wnhZU4SmPVhgAXvMmTJwvHbYcTSjXDmnT1wZcvv2LqzZmN1Nx6UKVzqGzn/VLCYF6hTgBcdDgxIk193Rr/DGhMe7u851rvZv"),\r\nthis.addDataEntry("eip enterprise integration pattern messaging system message",28,48,"Message","5ZVRb4IwEMc/Da8LghJ9nCg+7cmHbY+NHLRZ6ZGjKu7Tr6VVR5RsiZlbMgjJ3f965d8fJQ3itGpXxGr+hDnIIF4GcUqI2kVVm4KUQRSKPIgXQRSF5gmibKA66qphzQiU/k5D5Bp2TG7BKU5o9EF6AfIS1j5F0hxLVEwuz+qccKtysDOGJoNW6JdP8auNHyY2U/kjEe6NoFDZzpw1/NTIdWXWvxiZsNGEb5CiROpMxNPQ3qfKs8g1N5XIKM6wddlj0OCWNl6aOEkzKsFjGV+S6ho9phVgBZoOZgiBZFrs+rOzxqXladwZsgk85+vM43/BPPlTzMdfM79cZY8Uk6JUJt4Y72AIzQtUei3ebffUQuKstrF5r6gbC7oQUg7jPFb8V/H+gDS0g//yAK2992xH+HVxECXXfe0WfpO78SPY6GvwsixJr+3SsLuO83k7oxuJHhv8Jj74dOrSO/BOfpl3Ucxm4eVmvS/vOPkp3iY9n7FdrXcEfwA="),\r\nthis.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#80FF6C;fontStyle=1;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");\r\ne.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],28,30,"Message")}),this.addDataEntry("eip enterprise integration pattern messaging system message",28,48,"Message","vZRNb4MwDIZ/DdeJj25qjyvtetqph23HqBgSLcTIuC3dr19C0naIoU3qNBCS/TqvcR5Qoiyvuw2JRj5jATrK1lGWEyL7qO5y0DpKY1VE2SpK09g+Ufo0UU36atwIAsO/MaTecBB6D17xQssnHQQoKtiGFIklVmiEXl/VJeHeFOA6xjaDTvHrl/jNxXf3LjPFIxEerWDQOGchWnkxSq7t/leJDVsmfIccNVI/RDaP3X2pvKiCpa2kVvEDuykHDFrc0y5IMy+xoAoClmxMqjcGTBvAGphOdgmBFqwOw+6i9Wl1WXeFbIPA+Xvm2c/Mx7sckBJaVcbGOzs7WELLEg1v1Ydzzx0kKRoX2/eqpnWgS6X1NM5zJXyVMB8QQzf5X03QOoaZ3YqwLwmqkjzUbuE3+zd+BDsewyvLxSIew7OVuL/O/cI4yY1Ez4YH7ziFdO7Tv+dt0+v509cGx9Mn"),\r\nthis.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_1;fillColor=#ff5500;fontStyle=1;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");\r\ne.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],28,30,"Message")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_2;fillColor=#00cc00;fontStyle=1;");\r\nd.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([e,a,d],28,30,"Message")}),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_translator;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;",\r\n150,90,"","Message-Translator",null,null,this.getTagsForStencil("mxgraph.eip","message_translator","eip enterprise integration pattern messaging system ").join(" "))];this.addPalette("eipMessaging Systems","EIP / Messaging Systems",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addEipSystemManagementPalette=function(a){this.addPaletteFunctions("eipSystem Management","EIP / System Management",!1,[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.channel_purger;fillColor=#c0f5a9",\r\n150,90,"","Channel Purger",null,null,this.getTagsForStencil("mxgraph.eip","channel_purger","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.control_bus;fillColor=#c0f5a9",60,40,"","Control Bus",null,null,this.getTagsForStencil("mxgraph.eip","control_bus","eip enterprise integration pattern system management ").join(" ")),\r\nthis.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.detour;fillColor=#c0f5a9",150,90,"","Detour",null,null,this.getTagsForStencil("mxgraph.eip","detour","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.message_store;fillColor=#c0f5a9",\r\n150,90,"","Message Store",null,null,this.getTagsForStencil("mxgraph.eip","message_store","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.smart_proxy;fillColor=#c0f5a9",70,90,"","Smart Proxy",null,null,this.getTagsForStencil("mxgraph.eip","smart_proxy","eip enterprise integration pattern system management ").join(" ")),\r\nthis.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.test_message;fillColor=#c0f5a9",150,90,"","Test Message",null,null,this.getTagsForStencil("mxgraph.eip","test_message","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.wire_tap;fillColor=#c0f5a9",\r\n150,90,"","Wire Tap",null,null,this.getTagsForStencil("mxgraph.eip","wire_tap","eip enterprise integration pattern system management ").join(" "))])}})();(function(){Sidebar.prototype.addElectricalPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE,b=a+"=mxgraph.electrical.abstract.",e="pointerEvents=1;"+a+"=mxgraph.electrical.capacitors.",c="pointerEvents=1;fillColor=strokeColor;"+a+"=mxgraph.electrical.diodes.",d="pointerEvents=1;"+a+"=mxgraph.electrical.inductors.",f="pointerEvents=1;"+a+"=mxgraph.electrical.miscellaneous.",\r\ng="pointerEvents=1;"+a+"=mxgraph.electrical.electro-mechanical.",h=a+"=mxgraph.electrical.logic_gates.",k=a+"=mxgraph.electrical.mosfets1.",l=a+"=mxgraph.electrical.transistors.",m=a+"=mxgraph.electrical.opto_electronics.",p="pointerEvents=1;"+a+"=mxgraph.electrical.plc_ladder.",n=a+"=mxgraph.electrical.radio.",q="pointerEvents=1;"+a+"=mxgraph.electrical.resistors.",r="pointerEvents=1;"+a+"=mxgraph.electrical.signal_sources.",u=a+"=mxgraph.electrical.thermionic_devices.",t="pointerEvents=1;"+a+"=mxgraph.electrical.waveforms.",\r\nv="perimeter=ellipsePerimeter;"+a+"=mxgraph.electrical.instruments.",y=a+"=mxgraph.electrical.iec_logic_gates.",x=a+"=mxgraph.electrical.rot_mech.",w=a+"=mxgraph.electrical.transmission.";this.setCurrentSearchEntryLibrary("electrical","electricalLogicGates");this.addPaletteFunctions("electricalLogicGates","Electrical / Logic Gates",!1,[this.createVertexTemplateEntry(h+"logic_gate;operation=and;",100,60,"","AND",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","and","electrical logic gate ").join(" ")),\r\nthis.createVertexTemplateEntry(h+"buffer2;",100,60,"","Buffer",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","buffer","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"d_type_flip-flop;",100,80,"","D Type Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","d_type_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"d_type_flip-flop_with_clear_2;",100,90,"","D Type Flip-Flop With Clear",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates",\r\n"d_type_flip-flop_with_clear","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"d_type_rs_flip-flop;",100,100,"","D Type RS Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","d_type_rs_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"inverter_2",100,60,"","Inverter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","inverter","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"inverting_contact;",\r\n10,10,"","Inverting Contact",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","inverting_contact","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"jk_flip-flop;",100,80,"","JK Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","jk_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"jk_flip-flop_with_clear_2;",100,90,"","JK Flip-Flop With Clear",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates",\r\n"jk_flip-flop_with_clear","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"jk_flip-flop_with_sr;",100,100,"","JK Flip-Flop With SR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","jk_flip-flop_with_sr","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"logic_gate;operation=and;negating=1;negSize=0.15;",100,60,"","NAND",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","nand not and","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+\r\n"logic_gate;operation=or;",100,60,"","OR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","or","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"logic_gate;operation=or;negating=1;negSize=0.15;",100,60,"","NOR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","nor","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"rs_latch;",100,80,"","RS Latch",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","rs_latch",\r\n"electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"synchronous_rs_latch;",100,80,"","RS Latch (Synchronous)",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","synchronous_rs_latch","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"schmitt_trigger;",100,60,"","Schmitt Trigger",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","schmitt_trigger","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"t_type_flip-flop;",\r\n100,80,"","T Type Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","t_type_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"logic_gate;operation=xor;",100,60,"","XOR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","xor","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"logic_gate;operation=xor;negating=1;negSize=0.15;",100,60,"","XNOR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates",\r\n"xnor","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(y+"and;",60,80,"","AND (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","and","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(y+"nand_2;",66,80,"","NAND (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","nand","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(y+"or;",60,80,"","OR (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates",\r\n"or","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(y+"nor_2;",66,80,"","NOR (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","nor","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(y+"not_2;",66,80,"","NOT (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","xor","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(y+"xor;",60,80,"","XOR (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates",\r\n"xor","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;align=center;html=1;strokeWidth=1;shape=mxgraph.electrical.logic_gates.dual_inline_ic;labelNames=a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;",100,200,"IC","Dual In-Line IC",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","dual inline in line ic integrated circuit","electrical logic gate ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;align=center;html=1;strokeWidth=1;shape=mxgraph.electrical.logic_gates.qfp_ic;labelNames=a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,a1,b1,c1,d1,e1,f1,g1,h1,i1,j1,k1,l1,m1,n1;",\r\n200,200,"IC","Quad Flat Package IC",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","quad flat package qfp ic integrated circuit","electrical logic gate ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalResistors");this.addPaletteFunctions("electricalResistors","Electrical / Resistors",!1,[this.createVertexTemplateEntry(q+"resistor_1;",100,20,"","Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor_1","electrical resistor ").join(" ")),\r\nthis.createVertexTemplateEntry(q+"resistor_2;",100,20,"","Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"potentiometer_1;",100,40,"","Potentiometer",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","potentiometer_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"potentiometer_2;",100,40,"","Potentiometer",null,null,this.getTagsForStencil("mxgraph.electrical.resistors",\r\n"potentiometer_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"trimmer_pot_1;",100,40,"","Potentiometer (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_pot_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"trimmer_pot_2;",100,40,"","Potentiometer (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_pot_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"trimmer_resistor_1;",\r\n100,65.5,"","Resistor (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_resistor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"trimmer_resistor_2;",100,65.5,"","Resistor (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_resistor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"variable_resistor_1;",100,60,"","Resistor (Variable)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors",\r\n"variable_resistor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"variable_resistor_2;",100,60,"","Resistor (Variable)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","variable_resistor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"resistor_with_instrument_or_relay_shunt;",100,20,"","Resistor (Instrument/Relay Shunt)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor_with_instrument_or_relay_shunt","electrical resistor ").join(" ")),\r\nthis.createVertexTemplateEntry(q+"attenuator;",100,60,"","Attenuator",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","attenuator","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"resistor,_adjustable_contact;",100,40,"","Resistor (Adjustable Contact)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor,_adjustable_contact","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"resistor,_shunt;",100,45,"","Resistor (Shunt)",null,\r\nnull,this.getTagsForStencil("mxgraph.electrical.resistors","resistor,_shunt","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"symmetrical_varistor;",100,60,"","Varistor (Symmetrical)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","symmetrical_varistor","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"tapped_resistor;",100,40,"","Resistor (Tapped)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","tapped_resistor","electrical resistor ").join(" ")),\r\nthis.createVertexTemplateEntry(q+"nonlinear_resistor;",100,60,"","Resistor (Nonlinear)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","nonlinear_resistor","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"memristor_1;",100,20,"","Memristor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","memristor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"memristor_2;",100,24,"","Memristor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors",\r\n"memristor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"magnetoresistor;",100,60,"","Magnetoresistor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","magnetoresistor","electrical resistor ").join(" ")),this.createVertexTemplateEntry(q+"symmetrical_photoconductive_transducer;",100,40,"","Photoconductive Transducer (Symmetrical)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","symmetrical_photoconductive_transducer","electrical resistor ").join(" "))]);\r\nthis.setCurrentSearchEntryLibrary("electrical","electricalCapacitors");this.addPaletteFunctions("electricalCapacitors","Electrical / Capacitors",!1,[this.createVertexTemplateEntry(e+"capacitor_1;",100,60,"","Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"capacitor_2;",100,60,"","Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_2","electrical capacitor ").join(" ")),\r\nthis.createVertexTemplateEntry(e+"capacitor_3;",100,60,"","Electrolytic Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_3","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"capacitor_4;",100,60,"","Capacitor (UK)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_4","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"capacitor_5;",100,60,"","Electrolytic Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors",\r\n"capacitor_5","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"capacitor_6;",100,60,"","Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_6","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"differential_capacitor;",100,80,"","Differential Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","differential_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"trimmer_capacitor_1;",\r\n100,65.5,"","Tuning Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","trimmer_capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"trimmer_capacitor_2;",100,65.5,"","Tuning Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","trimmer_capacitor_2","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"variable_capacitor_1;",100,60,"","Trimmer Variable Capacitor (US)",null,null,\r\nthis.getTagsForStencil("mxgraph.electrical.capacitors","variable_capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"variable_capacitor_2;",100,60,"","Trimmer Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","variable_capacitor_2","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"feed_through_capacitor;",100,90,"","Feed Through Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","feed_through_capacitor",\r\n"electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"ganged_capacitor;",100,130,"","Ganged Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","ganged_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"multiple_capacitor;",100,130,"","Multiple Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"multiple_electrolytic_capacitor_comm_neg;",\r\n100,130,"","Multiple Electrolytic Capacitor (Common Negative)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_electrolytic_capacitor_comm_neg","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"multiple_electrolytic_capacitor_comm_pos;",100,130,"","Multiple Electrolytic Capacitor (Common Positive)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_electrolytic_capacitor_comm_pos","electrical capacitor ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical",\r\n"electricalInductors");this.addPaletteFunctions("electricalInductors","Electrical / Inductors",!1,[this.createVertexTemplateEntry(d+"inductor_3;",100,8,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_3","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"inductor_5;",100,14,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_5","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+\r\n"inductor_1;",100,15,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_1","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"variable_inductor;",100,60,"","Variable",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","variable_inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"ferrite_core;",64,4,"","Ferrite Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","ferrite_core",\r\n"electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"iron_core;",64,4,"","Iron Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","iron_core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"magnetic_core;direction=north;",64,3,"","Magnetic Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","magnetic core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"transformer_1;",64,60,"","Transformer (Iron Core)",\r\nnull,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer_1","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"transformer_2;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer_2","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"half_inductor;",32,23,"","Half Inductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","half inductor","electrical inductor ").join(" ")),\r\nthis.createVertexTemplateEntry(d+"transformer;direction=north;",64,64,"","Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"inductor;",100,42,"","Inductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"choke;",100,200,"","Choke",null,null,this.getTagsForStencil("mxgraph.electrical.inductors",\r\n"choke","electrical inductor ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=top;shadow=0;dashed=0;align=center;fillColor=#000000;html=1;verticalAlign=bottom;strokeWidth=1;shape=mxgraph.electrical.inductors.variometer;",150,88,"","Variometer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","variometer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"coaxial_choke;",300,50,"","Coaxial Choke",null,null,this.getTagsForStencil("mxgraph.electrical.inductors",\r\n"coaxial choke","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"transductor;",200,100,"","Transductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"saturating_transformer;",200,150,"","Saturating Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","saturating_transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"potential_transformer_2;",\r\n92,40,"","Potential Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"pot_trans_3_windings;",67,96,"","Pot. Trans. 3 Windings",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer 3 three windings","electrical inductor ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.signal_sources.current_source;",\r\n40,60,"","Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"adjustable_transformer;",46,60,"","Adjustable Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","adjustable_transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"1_phase_induction_volt_reg;",100,100,"","1-Phase Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors",\r\n"1 phase induction voltage regulator monophase","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"triplex_induction_volt_reg;",100,100,"","Triplex Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","triplex induction voltage regulator","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"induction_voltage_regulator;",160,210,"","Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors",\r\n"induction voltage regulator","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"current_transformer_1;",12,75,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"current_transformer_2;",125,175,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+\r\n"current_transformer_3;",75,10,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"potential_transformer;",100,50,"","Potential Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"outdoor_metering_device;",100,100,"","Outdoor Metering Device",null,null,this.getTagsForStencil("mxgraph.electrical.inductors",\r\n"outdoor metering device","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"linear_coupler;",80,20,"","Linear Coupler",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","linear coupler","electrical inductor ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalSwitchesRelays");this.addPaletteFunctions("electricalSwitchesRelays","Electrical / Switches and Relays",!1,[this.createVertexTemplateEntry(g+"2-way_switch;",75,26,"","SPDT",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",\r\n"2-way switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"push_switch_nc;",75,10,"","Pushbutton NC",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","push switch nc","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"push_switch_no;",75,19,"","Pushbutton NO",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","push switch no","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"simple_switch;",\r\n75,19,"","SPST",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","simple switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"switch_disconnector;",75,19,"","Switch Disconnector",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","switch disconnector","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"fuse;",75,16,"","Fuse",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","fuse",\r\n"electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"liquid_level_actuated;",75,28,"","Liquid Level Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","liquid level actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"liquid_level_actuated_2;",75,32,"","Liquid Level Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","liquid level actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+\r\n"gas_flow_actuated;",75,32,"","Gas Flow Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","gas flow actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"flow_actuated;",75,31,"","Flow Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","flow actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pressure_actuated;",75,31,"","Pressure Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",\r\n"pressure actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"temperature_actuated;",75,31,"","Temperature Actuated",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","temperature actuated","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"safety_interlock;",75,37,"","Safety Interlock",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","safety interlock","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+\r\n"temperature_switch;",75,18,"","Temperature Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","temperature switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=top;shadow=0;dashed=0;align=center;html=1;verticalAlign=bottom;strokeWidth=1;shape=mxgraph.electrical.electro-mechanical.thermostat;fontSize=10;",75,7,"tº","Thermostat",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","thermostat","electrical switch relay ").join(" ")),\r\nthis.createVertexTemplateEntry(g+"limit_switch;",75,16,"","Limit Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","limit switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"circuit_breaker;",75,20,"","Circuit Breaker",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","circuit breaker","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"selector_switch;",75,66,"","Selector Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",\r\n"selector_switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"shorting_selector;",60,66,"","Shorting Selector",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","shorting selector","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"proximity_limit_switch;",75,55,"","Proximity Limit Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","proximity limit switch","electrical switch relay ").join(" ")),\r\nthis.createVertexTemplateEntry(g+"inertia_switch;",75,19,"","Inertia Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","inertia switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pushbutton_break;",75,54,"","Pushbutton Break",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","pushbutton break","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"manual_switch;",75,18,"","Manual Switch",null,null,\r\nthis.getTagsForStencil("mxgraph.electrical.electro-mechanical","manual switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"make_contact;",75,16,"","Make Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","make contact","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"break_contact;",75,10,"","Break Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","break contact","electrical switch relay ").join(" ")),\r\nthis.createVertexTemplateEntry(g+"two_way_contact;",75,30,"","Two Way Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","two way contact","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"passing_make_contact;",75,23,"","Passing Make-Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","passing make contact","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"stay_put;",75,7,"","Stay Put",null,\r\nnull,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","stay put","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"dpst;",75,26,"","DPST",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","dpst","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"spring_return;",75,10,"","Spring Return",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","spring return","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+\r\n"spring_return_2;",75,19,"","Spring Return",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","spring return","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"limit_switch_no;",75,24,"","Limit Switch NO",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","limit switch no normally open","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"limit_switch_nc;",75,13,"","Limit Switch NC",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",\r\n"limit switch nc normally closed","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"dpdt2;",58,62,"","DPDT",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","dpdt","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"2_position_switch;",75,70,"","2-Position Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","2 position switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"3_position_switch;",\r\n60,60,"","3-Position Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","3 position switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"4_position_switch;",75,70,"","4-Position Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","4 position switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pushbutton_make;",75,53,"","Pushbutton Make",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",\r\n"pushbutton make","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pushbutton_2_circuit;",75,73,"","Pushbutton 2-Circuit",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","pushbutton 2 circuit","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"time_delay_make;",75,31,"","Time Delay Make",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","time delay make","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+\r\n"time_delay_break;",75,32,"","Time Delay Break",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","time delay break","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"time_delay_make_2;",75,36,"","Time Delay Make",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","time delay make","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"time_delay_break_2;",75,30,"","Time Delay Break",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",\r\n"time delay break","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"isolator;",75,20,"","Isolator",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","isolator","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"changeover_contact;",75,20,"","Changeover Contact",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","changeover contact","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"reed_switch;",\r\n75,20,"","Reed Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","reed switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay_coil;",70,35,"","Relay Coil",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay coil","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay;",100,50,"","Relay",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay","electrical switch relay ").join(" ")),\r\nthis.createVertexTemplateEntry(g+"relay_contacts;",30,24,"","Relay Contacts",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay contacts","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"resonator;",100,50,"","Resonator",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","resonator","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pilot_light;",100,100,"","Pilot Light",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",\r\n"pilot light","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay_coil_2;",100,70,"","Relay Coil",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay coil","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"mercury_switch;",80,80,"","Mercury Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","mercury switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"mercury_switch_2;",\r\n50,90,"","Mercury Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","mercury switch","electrical switch relay ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalDiodes");this.addPaletteFunctions("electricalDiodes","Electrical / Diodes",!1,[this.createVertexTemplateEntry(c+"diode;",100,60,"","PN Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"gunn_diode;",\r\n100,60,"","Gunn Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","gunn_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"schottky_diode;",100,60,"","Schottky Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","schottky_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"zener_diode_2;",100,60,"","Breakdown",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+\r\n"tunnel_diode;",100,60,"","Tunnel Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","tunnel_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"tunnel_diode_2;",100,80,"","Tunnel Diode 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","tunnel_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"field_effect_diode;",100,60,"","Field Effect Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","field_effect_diode",\r\n"electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"varactor_-_varicap;",100,60,"","Varactor - Varicap",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","varactor_-_varicap","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"zener_diode_1;",100,60,"","Zener Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"zener_diode_3;",100,60,"","Zener Diode 2",null,null,\r\nthis.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_3","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"four_layer_diode;",100,80,"","Four Layer Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","four_layer_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"transorb_1;",100,60,"","Transorb 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+\r\n"transorb_2;",100,60,"","Transorb 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_2","electrical diode ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalSources");this.addPaletteFunctions("electricalSources","Electrical / Sources",!1,[this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=ac;",60,60,"","Source",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source",\r\n"electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=dc1;",60,60,"","Source",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=dc3;",60,60,"","Source",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",\r\n"source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=none;elSourceType=dependent;",60,60,"","Source",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=dc2;elSourceType=dependent;",60,60,"","Source",null,null,\r\nthis.getTagsForStencil("mxgraph.electrical.signal_sources","source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSourceType=dependent;elSignalType=dc3;",60,60,"","Source",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=noise;",\r\n60,60,"","Source",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=ideal;",60,60,"","Source",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=expSquib;",\r\n60,60,"","Source",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"current_source;",40,60,"","Current",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","current_source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"dc_source_1;",70,75,"","DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dc_source_1","electrical signal source ").join(" ")),\r\nthis.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.miscellaneous.monocell_battery;",100,60,"","Accumulator / Monocell Battery",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","accumulator monocell battery single cell","electrical ").join(" ")),this.createVertexTemplateEntry(f+"batteryStack;",100,60,"","Battery Stack",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",\r\n"battery stack","electrical signal source ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#000000;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.miscellaneous.multicell_battery_tapped;",100,70,"","Multicell Battery Tapped",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","accumulator multicell battery tapped multi multiple cell","electrical ").join(" ")),this.createVertexTemplateEntry(r+\r\n"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=square;",60,60,"","Source, Square",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source square","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=triangular;",60,60,"","Source, Triangular",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source triangular","electrical signal source ").join(" ")),\r\nthis.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=sawtooth;",60,60,"","Source, Sawtooth",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source sawtooth","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=pulse;",60,60,"","Source, Pulse",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source pulse",\r\n"electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=invPulse;",60,60,"","Source, Inverse Pulse",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source inverse pulse","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=chopSquare;",60,60,"","Source, Chopped Square",null,null,\r\nthis.getTagsForStencil("mxgraph.electrical.signal_sources","source chopped square","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=stepOn;",60,60,"","Source, Step On",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source step on","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=stepOff;",\r\n60,60,"","Source, Step Off",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source step off","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"source;aspect=fixed;points=[[0.5,0,0],[1,0.5,0],[0.5,1,0],[0,0.5,0]];elSignalType=dc2;",60,60,"","Source, DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","source dc vertical","electrical signal source ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalTransistors");\r\nthis.addPaletteFunctions("electricalTransistors","Electrical / Transistors",!1,[this.createVertexTemplateEntry(l+"npn_transistor_1;",95,100,"","BJT (NPN)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","npn_transistor_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"npn_transistor_5;",64,100,"","BJT (NPN)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","npn_transistor_5","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+\r\n"nigbt;",64,100,"","NIGBT",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","nigbt","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"pnp_transistor_1;",95,100,"","BJT (PNP)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","pnp_transistor_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"pnp_transistor_5;",64,100,"","BJT (PNP)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","pnp_transistor_5","electrical transistor ").join(" ")),\r\nthis.createVertexTemplateEntry(l+"pigbt;",64,100,"","PIGBT",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","pigbt","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"n-channel_jfet_1;",95,100,"","N Channel JFET",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","n-channel_jfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"p-channel_jfet_1;",95,100,"","P Channel JFET",null,null,this.getTagsForStencil("mxgraph.electrical.transistors",\r\n"p-channel_jfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(k+"n-channel_mosfet_1;",95,100,"","MOSFET (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","n-channel_mosfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(k+"p-channel_mosfet_1;",95,100,"","MOSFET (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","p-channel_mosfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(k+"mosfet_ic_n;",\r\n95,100,"","NMOS",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_ic_n","electrical transistor ").join(" ")),this.createVertexTemplateEntry(k+"mosfet_ic_p;",95,100,"","PMOS",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_ic_p","electrical transistor ").join(" ")),this.createVertexTemplateEntry(k+"mosfet_n_no_bulk;",95,100,"","MOSFET No Bulk (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_n_no_bulk","electrical transistor ").join(" ")),\r\nthis.createVertexTemplateEntry(k+"mosfet_p_no_bulk;",95,100,"","MOSFET No Bulk (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_p_no_bulk","electrical transistor ").join(" ")),this.createVertexTemplateEntry(k+"dual_gate_mosfet_n;",95,100,"","Dual Gate MOSFET (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","dual_gate_mosfet_n","electrical transistor ").join(" ")),this.createVertexTemplateEntry(k+"dual_gate_mosfet_p;",95,100,"","Dual Gate MOSFET (P)",\r\nnull,null,this.getTagsForStencil("mxgraph.electrical.transistors","dual_gate_mosfet_p","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"nmos;pointerEvents=1;",60,100,"","NMOS",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","nmos","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"nmos_bulk;pointerEvents=1;",60,100,"","NMOS with Bulk",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","nmos bulk","electrical transistor ").join(" ")),\r\nthis.createVertexTemplateEntry(l+"pmos;pointerEvents=1;",60,100,"","PMOS",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","pmos","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"pmos_bulk;pointerEvents=1;",60,100,"","PMOS with Bulk",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","pmos bulk","electrical transistor ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalInstruments");this.addPaletteFunctions("electricalInstruments",\r\n"Electrical / Instruments",!1,[this.createVertexTemplateEntry("verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;strokeWidth=1;shape=ellipse;aspect=fixed;fontSize=50;",90,90,"A","Ammeter",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","ampermeter ammeter","electrical instrument ").join(" ")),this.createVertexTemplateEntry(v+"galvanometer;",90,90,"","Galvanometer",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","galvanometer",\r\n"electrical instrument ").join(" ")),this.createVertexTemplateEntry(v+"oscilloscope;",90,90,"","Oscilloscope",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","oscilloscope","electrical instrument ").join(" ")),this.createVertexTemplateEntry(v+"signal_generator;",90,90,"","Signal Generator",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","signal_generator","electrical instrument ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;strokeWidth=1;shape=ellipse;aspect=fixed;fontSize=50;",\r\n90,90,"V","Voltmeter",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","ampermeter ammeter","electrical instrument ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalMisc");this.addPaletteFunctions("electricalMisc","Electrical / Misc",!1,[this.createVertexTemplateEntry(n+"aerial_-_antenna_1;",80,100,"","Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.radio","aerial_-_antenna_1","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(n+\r\n"aerial_-_antenna_2;",79,100,"","Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.radio","aerial_-_antenna_2","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(n+"loop_antenna;",64.8,69.78,"","Loop Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.radio","loop_antenna","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"loop_antenna",100,100,"","Loop Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","loop antenna",\r\n"electrical ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;strokeWidth=1;shape=ellipse;aspect=fixed;fontSize=35;",60,60,"M","Electrical Motor",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","motor_1","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.electrical.electro-mechanical.motor_2;html=1;shadow=0;dashed=0;align=center;fontSize=30;strokeWidth=1;",\r\n100,60,"","Motor Armature",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","motor_2","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(f+"co-ax;",40,60,"","Co-Ax",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","co-ax","electrical ").join(" ")),this.createVertexTemplateEntry(f+"crystal_1;",100,40,"","Crystal",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","crystal_1","electrical ").join(" ")),this.createVertexTemplateEntry(f+\r\n"fuse_1;",100,20,"","Fuse (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_1","electrical ").join(" ")),this.createVertexTemplateEntry(f+"fuse_2;",100,20,"","Fuse (IEEE)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_2","electrical ").join(" ")),this.createVertexTemplateEntry(f+"fuse_3;",100,12,"","Fuse (obsolete)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_3","electrical ").join(" ")),this.createVertexTemplateEntry(f+\r\n"fuse_4;",100,32,"","Fuse (IEEE)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_4","electrical ").join(" ")),this.createVertexTemplateEntry(f+"light_bulb;",60,50,"","Light Bulb",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","light_bulb","electrical ").join(" ")),this.createVertexTemplateEntry(f+"illuminating_bulb;",60,50,"","Illuminating Bulb",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","illuminating_bulb","electrical ").join(" ")),\r\nthis.createVertexTemplateEntry(f+"light_bulb;",60,50,"","Pilot Light",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","light_bulb","electrical ").join(" ")),this.createVertexTemplateEntry(f+"neon_lamp_2;",60,50,"","Neon Lamp",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","neon_lamp_2","electrical ").join(" ")),this.createVertexTemplateEntry(f+"flourescent_lamp",80,30,"","Flourescent Lamp",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",\r\n"flourescent lamp","electrical ").join(" ")),this.createVertexTemplateEntry(m+"lamp",50,100,"","Lamp",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","lamp","electrical optical ").join(" ")),this.createVertexTemplateEntry(f+"thermocouple;",80,81,"","Thermocouple",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","thermocouple","electrical ").join(" ")),this.createVertexTemplateEntry(b+"amplifier;",90,100,"","Amplifier",null,null,this.getTagsForStencil("mxgraph.electrical.abstract",\r\n"amplifier","electrical ").join(" ")),this.createVertexTemplateEntry(b+"controlled_amplifier;",100,90,"","Controlled Amplifier",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","controlled_amplifier","electrical ").join(" ")),this.createVertexTemplateEntry(b+"dac;",70,46,"","DAC",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","dac","electrical ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;align=center;html=1;strokeWidth=1;shape=mxgraph.electrical.abstract.mux2;",\r\n80,120,"Mux","Mux",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","mux","electrical ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;align=center;html=1;strokeWidth=1;shape=mxgraph.electrical.abstract.mux2;operation=demux;",80,120,"Demux","Demux",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","mux","electrical ").join(" ")),this.createVertexTemplateEntry(b+"operational_amp_1;",98,90,"","Operational Amp",null,null,this.getTagsForStencil("mxgraph.electrical.abstract",\r\n"operational_amp_1","electrical ").join(" ")),this.createVertexTemplateEntry(b+"operational_amp_2;",98,90,"","Operational Amp",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","operational_amp_2","electrical ").join(" ")),this.createVertexTemplateEntry(b+"ota_1;",100,90,"","OTA",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","ota_1","electrical ").join(" ")),this.createVertexTemplateEntry(b+"ota_2;",100,90,"","OTA",null,null,this.getTagsForStencil("mxgraph.electrical.abstract",\r\n"ota_2","electrical ").join(" ")),this.createVertexTemplateEntry(b+"ota_3;",100,90,"","OTA",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","ota_3","electrical ").join(" ")),this.createVertexTemplateEntry(b+"quantizer;",52,46,"","Quantizer",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","quantizer","electrical ").join(" ")),this.createVertexTemplateEntry(b+"delta;",50,50,"","Delta",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","delta","electrical ").join(" ")),\r\nthis.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.electrical.abstract.function;html=1;shadow=0;dashed=0;align=center;strokeWidth=1;fontSize=24",50,50,"fn","Function",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","function","electrical ").join(" ")),this.createVertexTemplateEntry(b+"integrator;",50,50,"","Integrator",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","integrator","electrical ").join(" ")),this.createVertexTemplateEntry(b+"multiplier;",50,\r\n50,"","Multiplier",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","multiplier","electrical ").join(" ")),this.createVertexTemplateEntry(b+"sum;",50,50,"","Sum",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","sum","electrical ").join(" ")),this.createVertexTemplateEntry(b+"summation_point;",50,50,"","Summation Point",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","summation_point","electrical ").join(" ")),this.createVertexTemplateEntry(b+"filter;",52,\r\n46,"","Filter",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","filter","electrical ").join(" ")),this.createVertexTemplateEntry(a+"=mxgraph.electrical.logic_gates.bandpass_filter;",52,46,"","Bandpass Filter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","bandpass_filter","").join(" ")),this.createVertexTemplateEntry(a+"=mxgraph.electrical.logic_gates.highpass_filter;",52,46,"","Highpass Filter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","highpass_filter",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"=mxgraph.electrical.logic_gates.lowpass_filter;",52,46,"","Lowpass Filter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","lowpass_filter","").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.electrical.abstract.thermistor_with_independent_integral_heater;html=1;shadow=0;dashed=0;strokeWidth=1;align=center;overflow=fill;fontSize=12;",100,94.25,\'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr height="45%"><td align="center">\\\\temp\\\\</td></tr><tr height="55%"><td></td></tr></table>\',\r\n"Thermistor With Independent Integral Heater",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","thermistor_with_independent_integral_heater","electrical ").join(" ")),this.createVertexTemplateEntry(b+"voltage_regulator;",70,58,"","Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","voltage_regulator","electrical ").join(" ")),this.createVertexTemplateEntry(r+"vss2;fontSize=24;flipV=1;",60,40,"V<sub>ss</sub>","Vss",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",\r\n"vss","electrical signal source ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;"+mxConstants.STYLE_SHAPE+"=mxgraph.electrical.signal_sources.vdd;shadow=0;dashed=0;align=center;strokeWidth=1;fontSize=24;html=1;flipV=1;",60,40,"V<sub>dd</sub>","Vdd",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","vdd","electrical signal source ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+\r\n"=top;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;"+mxConstants.STYLE_SHAPE+"=mxgraph.electrical.signal_sources.current_flow;shadow=0;dashed=0;align=center;strokeWidth=1;fontSize=10;html=1;",70,10,"5 mA","Current Flow",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","current_flow","electrical signal source ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_LABEL_POSITION+"=right;"+mxConstants.STYLE_ALIGN+"=left;"+mxConstants.STYLE_SHAPE+"=mxgraph.electrical.signal_sources.voltage;shadow=0;dashed=0;strokeWidth=1;fontSize=10;html=1;",\r\n10,70,"1.2 V","Voltage",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","voltage","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"equipotential;",90,90,"","Equipotential",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","equipotential","electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"protective_earth;",25,20,"","Equipotential",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","protective_earth",\r\n"electrical signal source ").join(" ")),this.createVertexTemplateEntry(r+"signal_ground;",45,30,"","Ground",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","signal_ground","electrical signal source ").join(" ")),this.createVertexTemplateEntry(f+"chassis;",65,32,"","Chassis",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","chassis","electrical ").join(" ")),this.createVertexTemplateEntry(f+"circuit_breaker;",100,13,"","Circuit Breaker",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",\r\n"circuit breaker","electrical ").join(" ")),this.createVertexTemplateEntry(f+"generic_component",60,60,"","Generic Component",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","generic component","electrical ").join(" ")),this.createVertexTemplateEntry(f+"permanent_magnet",20,70,"","Permanent Magnet",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","permanent magnet","electrical ").join(" ")),this.createVertexTemplateEntry(f+"thermal_element",100,32,"","Thermal Element",\r\nnull,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","thermal element","electrical ").join(" ")),this.createVertexTemplateEntry(f+"igniter_plug",72,39,"","Igniter Plug",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","igniter plug","electrical ").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.arrows2.arrow;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;strokeWidth=1;dy=0;dx=10;notch=0;",100,30,"","Pickup Head",null,\r\nnull,this.getTagsForStencil("mxgraph.electrical.signal_sources","pickup head","electrical ").join(" ")),this.createVertexTemplateEntry(f+"squib_ignitor",100,100,"","Squib Ignitor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","squib ignitor","electrical ").join(" ")),this.createVertexTemplateEntry(f+"transducer",70,60,"","Transducer",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","transducer","electrical ").join(" ")),this.createVertexTemplateEntry(f+"transducer_2",\r\n80,100,"","Transducer",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","transducer","electrical ").join(" ")),this.createVertexTemplateEntry(f+"thermopile",80,82,"","Thermopile",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","thermopile","electrical ").join(" ")),this.createVertexTemplateEntry(f+"indicator",60,60,"","Indicator",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","indicator","electrical ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=strokeColor;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.miscellaneous.surge_protector;",\r\n70,20,"","Surge Protector",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","surge protector","electrical ").join(" ")),this.createVertexTemplateEntry(f+"surge_protector_2;",70,24,"","Surge Protector",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","surge protector","electrical ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;strokeWidth=1;shape=rect;",130,50,"","Material",null,\r\nnull,this.getTagsForStencil("mxgraph.electrical.signal_sources","material","electrical ").join(" ")),this.createVertexTemplateEntry(f+"sensing_link_squib",130,40,"","Sensing Link Squib",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","sensing link squib","electrical ").join(" ")),this.createVertexTemplateEntry(f+"delay_element",100,100,"","Delay Element",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","delay_element","electrical ").join(" ")),this.createVertexTemplateEntry(n+\r\n"buzzer",80,50,"","Buzzer",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","buzzer","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"adapter",100,40,"","Adapter",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","adapter","electrical radio audio ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;strokeWidth=1;shape=ellipse;perimeter=ellipsePerimeter;",15,15,\r\n"","Circuit Terminal",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","circuit terminal","electrical radio audio ").join(" ")),this.createEdgeTemplateEntry("endArrow=open;html=1;strokeWidth=1;endFill=0;endSize=20;",100,0,"","M/F Contact",null,this.getTagsForStencil("mxgraph.electrical.signal_sources","","mf contact").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=strokeColor;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.miscellaneous.mf_contact_2",\r\n100,10,"","M/F Contact 2",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","mf contact","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"terminal_board",75,150,"","Terminal Board",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","terminal board","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"cable_termination",100,50,"","Cable Termination",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","cable termination",\r\n"electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"2_conductor_jack",100,50,"","2-Conductor Jack",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","2 conductor jack two","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"3_conductor_jack",100,50,"","3-Conductor Jack",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","3 conductor jack three","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"2_conductor_plug",\r\n53,24,"","2-Conductor Plug",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","2 conductor plug two","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"3_conductor_plug",53,24,"","3 Conductor Plug",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","3 conductor plug","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"normalled_jacks",230,65,"","Normalled Jacks",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",\r\n"normalled jacks","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"normalled_jack",110,65,"","Normalled Jack",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","normalled jack","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"coaxial_outside_conductor",300,150,"","Coaxial Outside Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","coaxial outside conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+\r\n"coaxial_center_conductor",300,150,"","Coaxial Center Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","coaxial center conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"large_d_connector",375,75,"","Large D Connector",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","large d connector","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"small_d_connector",150,75,"","Small D Connector",null,null,\r\nthis.getTagsForStencil("mxgraph.electrical.signal_sources","small d connector","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"c_header_connector",200,75,"","C Header Connector",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","c header connector","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"ac_out",200,100,"","AC Out",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","ac out alternate current","electrical radio audio ").join(" ")),\r\nthis.createVertexTemplateEntry(f+"shielded_jack_plug",50,100,"","Shielded Jack/Plug",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","shielded jack plug","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"coaxial_jack_plug",50,100,"","Coaxial Jack/Plug",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","coaxial jack/plug","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_2_conductor_1",100,100,"","F/M 2 Conductor",\r\nnull,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_2_conductor_2",100,100,"","F/M 2 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_2_conductor_3",100,50,"","F/M 2 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),\r\nthis.createVertexTemplateEntry(f+"f_m_3_conductor_1",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_3_conductor_2",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_3_conductor_3",100,100,"","F/M 3 Conductor",null,null,\r\nthis.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_3_conductor_4",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(f+"f_m_3_conductor_5",100,100,"","F/M 3 Conductor",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","fm 2 conductor","electrical radio audio ").join(" ")),\r\nthis.createVertexTemplateEntry(f+"plug_socket_connection",20,20,"","Plug-Socket Connection",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","Plug Socket Connection","electrical radio audio ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalAudio");this.addPaletteFunctions("electricalAudio","Electrical / Audio",!1,[this.createVertexTemplateEntry(n+"dipole;pointerEvents=1;",100,40,"","Dipole",null,null,this.getTagsForStencil("mxgraph.electrical.radio","dipole",\r\n"electrical radio audio ").join(" ")),this.createVertexTemplateEntry(n+"electret_microphone;",70,70,"","Electret Microphone",null,null,this.getTagsForStencil("mxgraph.electrical.radio","electret_microphone","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(n+"microphone_1;",70,70,"","Microphone",null,null,this.getTagsForStencil("mxgraph.electrical.radio","microphone_1","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(n+"microphone_2;",42,70,"","Microphone",null,\r\nnull,this.getTagsForStencil("mxgraph.electrical.radio","microphone_2","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(g+"piezo_sounder;pointerEvents=1;",100,40,"","Piezo Sounder",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","piezo_sounder","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"buzzer;",45,60,"","Buzzer",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","buzzer","electrical switch relay ").join(" ")),\r\nthis.createVertexTemplateEntry(g+"loudspeaker;",25,50,"","Loudspeaker",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","loudspeaker","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(n+"headphones;pointerEvents=1;",66,56,"","Headphones",null,null,this.getTagsForStencil("mxgraph.electrical.radio","headphones","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(g+"bell;",47,60,"","Bell",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",\r\n"bell","electrical switch relay ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalPlcLadder");this.addPaletteFunctions("electricalPlcLadder","Electrical / PLC Ladder",!1,[this.createVertexTemplateEntry(p+"contact;",50,25,"","Contact",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","contact","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(p+"not_contact;",50,25,"","Contact (N)",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder",\r\n"not_contact","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(p+"not_output_1;",50,25,"","Output (N)",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","not_output_1;","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(p+"not_output_2;",50,25,"","Output (N)",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","not_output_2","electrical plc ladder programmable logic logical controller").join(" ")),\r\nthis.createVertexTemplateEntry(p+"output_1;",50,25,"","Output",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","output_1","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(p+"output_2;",50,25,"","Output",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","output_2","electrical plc ladder programmable logic logical controller").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalOptical");this.addPaletteFunctions("electricalOptical",\r\n"Electrical / Optical",!1,[this.createVertexTemplateEntry(m+"7_segment_display;pointerEvents=1;",74.7,96.1,"","7 Segment Display",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","7_segment_display","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"7_segment_display_with_dp;pointerEvents=1;",79.8,96.9,"","7 Segment Display with DP",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","7_segment_display_with_dp","electrical optical ").join(" ")),\r\nthis.createVertexTemplateEntry(m+"9_segment_display;pointerEvents=1;",74.7,96.1,"","9 Segment Display",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","9_segment_display","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"9_segment_display_with_dp;pointerEvents=1;",79.8,96.9,"","9 Segment Display with DP",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","9_segment_display_with_dp","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+\r\n"led_1;pointerEvents=1;",100,65,"","LED",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","led_1","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"led_2;pointerEvents=1;",100,70,"","LED",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","led_2","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"light-activated_scr;pointerEvents=1;",100,70,"","Light Activated SCR",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics",\r\n"light-activated_scr","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"opto-coupler;",99,60,"","Opto-coupler",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","opto-coupler","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"opto-transistor;",100,110,"","Opto-transistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","opto-transistor","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"photodiode;pointerEvents=1;",\r\n100,70,"","Photodiode",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photodiode","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"photo_resistor_1;",100,90,"","Photo Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photo_resistor_1","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"photo_resistor_2;pointerEvents=1;",100,50,"","Photo Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics",\r\n"photo_resistor_2","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"photo_resistor_3;",100,90,"","Photo Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photo_resistor_3","electrical optical ").join(" ")),this.createVertexTemplateEntry(m+"solar_cell;pointerEvents=1;",100,70,"","Solar Cell",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","solar_cell","electrical optical ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical",\r\n"electricalVacuumTubes");this.addPaletteFunctions("electricalVacuumTubes","Electrical / Vacuum Tubes",!1,[this.createVertexTemplateEntry(u+"diode;",70,77,"","Diode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","diode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(u+"double_diode;",70,77,"","Double Diode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","double_diode","electrical thermionic thermo device vacuum tube ").join(" ")),\r\nthis.createVertexTemplateEntry(u+"triode;",70,77,"","Triode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","triode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(u+"double_triode;",70,77,"","Double Triode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","double_triode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(u+"tetrode;",70,77,"","Tetrode",null,\r\nnull,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","tetrode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(u+"pentode;",70,77,"","Pentode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","pentode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(u+"photocell;",70,87,"","Photocell",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","photocell",\r\n"electrical thermionic thermo device vacuum tube ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalWaveforms");this.addPaletteFunctions("electricalWaveforms","Electrical / Waveforms",!1,[this.createVertexTemplateEntry(t+"pulse_1;",90,90,"","Pulse",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","pulse_1","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(t+"pulse_2;",90,90,"","Pulse",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms",\r\n"pulse_2","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(t+"sawtooth;",90,40,"","Sawtooth",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","sawtooth","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(t+"sine_wave;",90,66.18,"","Sine Wave",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","sine_wave","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(t+"slow_square_wave;",90,80,"","Chopped Square Wave",\r\nnull,null,this.getTagsForStencil("mxgraph.electrical.waveforms","slow_square_wave","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(t+"square_wave;",90,80,"","square_wave",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","square_wave","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(t+"step_1;",90,90,"","Step",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","step_1","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(t+\r\n"step_2;",90,90,"","Step",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","step_2","electrical waveform signal ").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalRotMech");this.addPaletteFunctions("electricalRotMech","Electrical / Rotating Equipment & Mechanical Functions",!1,[this.createVertexTemplateEntry("verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;strokeWidth=1;shape=ellipse;fontSize=32;perimeter=ellipsePerimeter;",\r\n100,100,"M","Rotating Machine",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","rotating machine","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"armature;pointerEvents=1;",100,100,"","Armature",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","armature","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"field;pointerEvents=1;",90,15,"","Field",null,null,\r\nthis.getTagsForStencil("mxgraph.electrical.rot_mech","field","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(f+"permanent_magnet;pointerEvents=1;",20,70,"","Permanent Magnet",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","permanent magnet","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"winding_connection;",100,100,"","Winding Connection",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech",\r\n"winding connection","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"synchro;",80,100,"","Synchro",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","synchro","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;strokeWidth=1;shape=trapezoid;perimeter=none;",75,25,"","Brake",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech",\r\n"brake","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"gearing;pointerEvents=1;",100,64,"","Gearing",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","gearing","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=strokeColor;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.rot_mech.rotation;",\r\n69,54,"","Rotation",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","rotation","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"clutch;pointerEvents=1;",100,20,"","Clutch",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","clutch","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"clutch_2;pointerEvents=1;",90,60,"","Clutch",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech",\r\n"clutch","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"delayed_action;pointerEvents=1;",72,50,"","Delayed Action",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","delayed action","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"manual_control;pointerEvents=1;",50,50,"","Manual Control",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","manual control",\r\n"electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"blocking_device;pointerEvents=1;",100,15,"","Blocking Device",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","blocking device","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"latching_device;pointerEvents=1;",100,22,"","Latching Device",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","latching device",\r\n"electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"mechanical_interlock;pointerEvents=1;",100,30,"","Mechanical Interlock",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","mechanical interlock","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"automatic_return;pointerEvents=1;",100,12,"","Automatic Return",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech",\r\n"automatic_return","electrical rotating equipment mechanical function functions").join(" ")),this.createVertexTemplateEntry(x+"detent;pointerEvents=1;",100,8,"","Detent",null,null,this.getTagsForStencil("mxgraph.electrical.rot_mech","detent","electrical rotating equipment mechanical function functions").join(" "))]);this.setCurrentSearchEntryLibrary("electrical","electricalTransmission");var z=[this.createVertexTemplateEntry(w+"bus_width;pointerEvents=1;",130,156,"","Bus Width",null,null,this.getTagsForStencil("mxgraph.electrical.transmission",\r\n"bus width","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"line_concentrator;",130,130,"","Line Concentrator",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","line concentrator","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"cable_group;pointerEvents=1;",130,130,"","Cable Group",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","cable group","electrical transmission paths bus buses").join(" ")),\r\nthis.createVertexTemplateEntry(w+"overground_enclosure;",130,136,"","Overground Enclosure",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","overground enclosure","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"optical_fiber;",130,80,"","Optical Fiber",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","optical fiber","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;strokeWidth=1;shape=ellipse;",\r\n10,10,"","Terminal",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","terminal","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"terminal_3_phase;pointerEvents=1;",43,10,"","Terminal 3 Phase",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","Terminal 3 Phase","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;strokeWidth=1;shape=ellipse;fontSize=50;fontStyle=1;perimeter=ellipsePerimeter;",\r\n130,130,"T","Terminal",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","terminal","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"line_cable;",130,60,"","Line/Cable",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","line cable","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"anticreepage_device;pointerEvents=1;",130,88,"","Anticreepage Device",null,null,this.getTagsForStencil("mxgraph.electrical.transmission",\r\n"anticreepage device","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"testPoint;",60,130,"","Test Point",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","test point","electrical transmission paths bus buses").join(" ")),this.createEdgeTemplateEntry("endArrow=none;html=1;strokeWidth=1;",100,0,"","Transmission Path",null,this.getTagsForStencil("mxgraph.electrical.signal_sources","","transmission path").join(" ")),this.createEdgeTemplateEntry("endArrow=classicThin;html=1;strokeWidth=1;endSize=20;",\r\n100,0,"","Direction of Flow",null,this.getTagsForStencil("mxgraph.electrical.signal_sources","","direction flow").join(" ")),this.createVertexTemplateEntry(w+"straightBus;",90,130,"","Straight Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","straight bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendArrow;dy=15;dx=38;notch=0;arrowHead=55;rounded=0;strokeWidth=1",\r\n130,130,"","Elbow Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","elbow bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.bendArrow;dy=15;dx=38;notch=0;arrowHead=55;rounded=0;strokeWidth=1;flipH=1;",130,130,"","Elbow Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","elbow bus","electrical transmission paths bus buses").join(" ")),\r\nthis.createVertexTemplateEntry(w+"2_line_bus;",130,25,"","2-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","2 two line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"3_line_bus;",130,30,"","3-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","3 three line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"4_line_bus;",130,75,"","4-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission",\r\n"3 three line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"8_line_bus;",130,180,"","8-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","3 three line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"twoLineBusElbow;notch=25;",120,120,"","2-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","2 two line bus elbow","electrical transmission paths bus buses").join(" ")),\r\nthis.createVertexTemplateEntry(w+"threeLineBusElbow;notch=30;",120,120,"","3-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","3 two line bus elbow","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+"fourLineBusElbow;notch=75;",120,120,"","4-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","4 two line bus elbow","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(w+\r\n"eightLineBusElbow;notch=180;",200,200,"","8-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","8 two line bus elbow","electrical transmission paths bus buses").join(" "))];this.addPalette("electricalTransmission","Electrical / Transmission Paths",!1,mxUtils.bind(this,function(a){for(var c=0;c<z.length;c++)a.appendChild(z[c](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addErPalette=function(){function a(a,c,b){a=new mxCell("",new mxGeometry(0,0,0,0),a);a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.edge=!0;null!=c&&(c=new mxCell(c,new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=bottom;"),c.geometry.relative=!0,c.setConnectable(!1),c.vertex=!0,a.insert(c));null!=b&&(b=new mxCell(b,new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;"),\r\nb.geometry.relative=!0,b.setConnectable(!1),b.vertex=!0,a.insert(b));return a}var b=this,e=new mxCell("Item",new mxGeometry(0,0,40,30),"text;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;");e.vertex=!0;this.setCurrentSearchEntryLibrary("er");var c=[this.addDataEntry("db database schema er entity relation table ",180,160,"Table 1","7Zhvb5swEMY/DW8nwCNr3kL/aGomTW33AdxwAUuOTW2nkH36ncEkaihqooSQVZWI5DufL/bvCY8CHkmW1Z2iRf5LpsA9cuORRElpmtGySoBzL/RZ6pFrLwx9/Hjhbc9sUM/6BVUgzD4LwmbBK+UraDJP9JlDk9VmzV1W57SwQ1PPklgbqswj+2tzxMfEXApDmQCFiaCOOaeFZnV5k8kZT2d0LVembdRG8YJVkD7IUrtaJcsZNrOhbb7A5o9uM3aacpYJHM/xlPYbYwUa9zKj2rgKdyxQBqpeNHXKcbkDuQSj1lhSstTkruKqwefnwLK8XTZxSaqbRLZZuyWNAwf7ffCkA76XOW7ZMMofYG6oyGr8b+laRKmSxRNVGRiXKCSzcG5e8bgbjozzRHJpRRJS2E5GFm6Sw6Jd+yyNkctWC3fyTdP61FGMF3JI/G+RF+F2E4yDbYyXLVcmkUIbhT8N2wNQoRKsSvspFL6v0NoxdDp8JBg5gV7fO3r9vj9MMSFsuFXsYDH8HTF27wqJMBdclhjmLE1B7EuZfHgfkIGoRh2qfwR7WcHP65HZtg7T1Ma6oHMmslmzcrIDPxoAftX/E48GEmPyX1jSrlKXZUmTM1rSjyP1OvlNAylr+x3lR5PR/OiqgxT/lGAiuHQ7OjXrEexn+mU/R9vP9Iz2E/if1X+mo/lPEPQY0NhohzOgHtgjGFDQfRj+cqBDHSgIz2lBxz5FX6wFBT2Uz+FB3UfdxoPIp/WgPtrDmxCG25d99dybd4H/AA=="),\r\nthis.addDataEntry("db database schema er entity relation table ",180,160,"Table 2","7ZjRbpswFIafhtsJ48KaW1jbi2bS1PYF3OCAJcdGtlvInn7H2CRLE9RECYFOk4jkc3x8Yn9/+BUIcLZqHhSpyp8ypzzAdwHOlJTGjVZNRjkPopDlAf4RRFEInyC675lF7WxYEUWFOWZB5Ba8E/5GXeaFvHLqstqsuc/qklR2aNpZnGpDlHlmv20Oh5BYSGEIE1RBArUx56TSrC13mZLxfE7W8s10jbooXbKG5k+y1r5WyXoOzWxomy+h+bPfjJ0mnBUCxgs4pf3GVFENe5kTbXyFPxZVhja9aNqU5/JA5YoatYaSmuWm9BW3Dl9YUlaU3bLEJ4l2iWKzdksaBh72YfB4D3wvc9iyYYQ/0YUhomjx79K1iHIlqxeiCmp8opLMwrl7h+NuODLOM8mlFUlIYTsZWflJTpfd2ldpjFz5QPmTb5q2p45TuIBDFn6Lgxi2m0GMtjFctlyZTAptFPw0bA8KCtXUqnScQtFhhdaeodfhM8HwBfS62dPr1yOc9v4RnaabEDbc6na2JB/vDQlIl1zWEJYsz6k4ljX+9G5IBmIb77EFK4DE2Gg7m3G1qa7Igoli7lYmH9jHA7Bvdrn//TuPBtIi+RK+hCbtS4f0GsqXvvf50om6TdeXktF86bbHl8ZGez1f6mE/gi/NvoQvTfv/0uyKvoTCMwW7+F1Dc9b1O8uPZqP5EUI9hoSnbkiXhj2CAaH9R+X/DnSqA23UuYoFnfuMPVkLQj2Ur+FB+w/CzoNu/lkP6qM9vAlBuH0V2M7tvCn8Aw=="),\r\nthis.addDataEntry("db database schema er entity relation table ",180,30,"Table Row 1","xVXbboMwDP0aXicKY9oz7PLSvbT7gYy4EC2NUeIWuq+fQ0JZd9EqbdMkkHJObGOfAyHJq+1wb0XXPqAEneS3SV5ZRAqr7VCB1kmWKpnkN0mWpXwn2d0Xu4txN+2EBUPnJGQhYS/0DgITCEcHHQnXis4vSTx5qnQkLK3Vi+dSxjUaEsqAZbwYsdaic2qMDkyrtFyKA+5oqjOhcqMGkCvsXYy12C+5mIvFN1x8HXvxWGjVGF7XPJ9/YmnBcStL4SgWcGTxGSrU6BsyaGB8itbvqDg4WILhS/FGKip3D7gFsgcO6ZWkNkZcB4HTFlTTxrQ8csIF3BxTZyt4Ed343Jn8fGe4Y1JCr6AmYZrRpFMTvHLSYvcobAMUiQ6V1/B2z9Me5f6oE2EXNzVsptwnJMJtBDYOfiw6Tl2UfLEOVXpRJAW3WzFezJgvH26pQsOe8RvkawAb2YM38zyDsv8z6PKHBhnj4WzQj7UHqaZ6/kNAlm6jsWfYKinBnKtp/q2m+R9JWnyQlE+Gf1Z1OnFCbOk6USvTLEPm1R/oPJzq+fZVLn5Hd4bzH2bcO/kBvQI="),\r\nthis.addDataEntry("db database schema er entity relation table fk pk foreign key primary",180,30,"Table Row 2","xVXbTsMwDP2avqKupYjnljEhxguDDwir10ZkcUm8tePrcZpsYxsTQ9ykVMo5sV37nF6itJh3IyOa+g5LUFE6jNLCIJLfzbsClIqSWJZRehUlScxXlFwfOR30p3EjDGg6JSHxCUuhFuAZT1haqUDYWjRuS+LJUbklYWgiXx0XM56iJiE1GMaDHislGiv7aM/UUpVjscIFreusUT6THZT32NoQa7AdczEbis+4+CT04rBQstK8n/J87o65AcutjIWlUMCSwWcoUKFrSKOG/i5K7VFhcDAE3VHxeiooNwKcA5kVh7SypDpEXHqB4xpkVYe0NHDCelxtUrdW8Ca48bEz6enOcMckhbqHKQld9SbtmuCUKw02D8JUQIFoUDoNh0uediP3oU6ETThUMFvnPiERzgMwYfBN0X7qLOfFOhTxWRZl3G7BeLDFvFy4oQI1e8ZPkKsBbGQLzszTDEr+z6DzA4Oub79mkdYObi36tvr7bwuyejOFLcNaliXoU2VNP5U1/SVVswNVH7V8WcDN1T9ru/7y+NjcNmIqdTX2mRd/IH63K/L7Rzz7GTMYbv88/dnOj+kN"),\r\nthis.addDataEntry("db database schema er entity relation table fk pk foreign key primary",180,30,"Table Row 3","xVXbTsMwDP2avqKupYjnloEQQ0IMPiCsXhuRxSXxaMfX4zTpriCGxISUSjkntmuf00uUFovuxoimvscSVJSOo7QwiOR3i64ApaIklmWUXkVJEvMVJdffnI7607gRBjQdk5D4hHehluAZT1haqUDYWjRuS+LFUbklYWgqPxwXM56hJiE1GMajHislGiv7aM/UUpUTscIlDXUGlM9lB+UjtjbEGmwnXMyG4nMuPg29OCyUrDTvZzyfu2NuwHIrE2EpFLBk8BUKVOga0qihv4tSe1QYHAxB9614PRWUuwFcAJkVh7SypDpEXHqB4xpkVYe0NHDCelytUzdW8Ca48bUz6fHOcMckhXqEGQld9SbtmuCUKw02T8JUQIFoUDoNx+887VruQ50Im3CoYD7kviARLgbLwuDrov3UWc6LdSjisyzKuN2C8WiDeblwQwVq9oyfIFcD2MgWnJnHGZT8n0HnBwY93P3OIq0d3Fj0a/XjPfW33xbnDLJ6c4Utw1qWJehjZU1/lDU9karZgarPWr4t4fbqn7Udvjw+NreNmEldTXzmxZ742QnE73ZF3n7Es78xg+Hmz9Of7fyYPgE="),\r\nthis.addEntry("db database schema er entity relation table list",function(){var a=new mxCell("List",new mxGeometry(0,0,160,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;align=center;fontSize=14;");a.vertex=!0;a.insert(b.cloneCell(e,"Item 1"));a.insert(b.cloneCell(e,"Item 2"));a.insert(b.cloneCell(e,"Item 3"));return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,\r\n"List")}),this.addEntry("db database schema er entity relation table list",function(){return b.createVertexTemplateFromCells([e.clone()],e.geometry.width,e.geometry.height,"List Item 1")}),this.addEntry("db database schema er entity relation table table row",function(){var a=new mxCell(e.value,new mxGeometry(0,0,90,e.geometry.height),"shape=partialRectangle;fillColor=none;align=left;verticalAlign=middle;strokeColor=none;spacingLeft=34;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;");\r\na.vertex=!0;var c=b.cloneCell(e,"");c.connectable=!1;c.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;stokeWidth=1;dashed=1;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;";c.geometry.width=30;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"List Item 2")}),this.addEntry("db database schema er entity relation table table row divider hline line separator",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,60,10),"line;strokeWidth=1;rotatable=0;dashed=0;labelPosition=right;align=left;verticalAlign=middle;spacingTop=0;spacingLeft=6;points=[];portConstraint=eastwest;");a.vertex=!0;return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"List Item 3")}),this.addEntry("db database schema er entity relation table table",function(){var a=new mxCell("Entity",new mxGeometry(0,0,160,120),"swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;");\r\na.vertex=!0;var c=new mxCell("+Attribute1\\n+Attribute2\\n+Attribute3",new mxGeometry(0,30,160,90),"align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Entity")}),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;align=center;",100,40,"Entity","Entity",null,null,"db database schema er entity relation table "),this.createVertexTemplateEntry("rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;",\r\n100,40,"Entity","Entity (Rounded)",null,null,"db database schema er entity relation table chen"),this.createVertexTemplateEntry("shape=ext;margin=3;double=1;whiteSpace=wrap;html=1;align=center;",100,40,"Entity","Weak Entity",null,null,"db database schema er entity relation table chen"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;align=center;",100,40,"Attribute","Attribute",null,null,"db database schema er entity relation table attribute chen"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;align=center;fontStyle=4;",\r\n100,40,"Attribute","Key Attribute",null,null,"db database schema er entity relation table attribute key chen"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;align=center;",100,40,\'<span style="border-bottom: 1px dotted">Attribute</span>\',"Weak Key Attribute",null,null,"db database schema er entity relation table attribute key weak chen"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;align=center;dashed=1;",100,40,"Attribute","Derived Attribute",null,null,"db database schema er entity relation table attribute derived chen"),\r\nthis.createVertexTemplateEntry("ellipse;shape=doubleEllipse;margin=3;whiteSpace=wrap;html=1;align=center;",100,40,"Attribute","Multivalue Attribute",null,null,"db database schema er entity relation table attribute multivalue chen"),this.createVertexTemplateEntry("shape=associativeEntity;whiteSpace=wrap;html=1;align=center;",140,60,"Associative\\nEntity","Associative Entity",null,null,"db database schema er entity relation table associative entity chen"),this.createVertexTemplateEntry("shape=rhombus;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;align=center;",\r\n120,60,"Relationship","Relationship",null,null,"db database schema er entity relation table chen"),this.createVertexTemplateEntry("shape=rhombus;double=1;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;align=center;",120,60,"Relationship","Identifying Relationship",null,null,"db database schema er entity relation table chen"),this.createVertexTemplateEntry("ellipse;shape=cloud;whiteSpace=wrap;html=1;align=center;",100,60,"Cloud","Cloud",null,null,"db database schema er entity relation table cloud"),\r\nthis.addEntry("db database schema er entity relation table hierarchy",function(){var a=new mxCell("",new mxGeometry(0,0,100,100),"rounded=1;absoluteArcSize=1;html=1;arcSize=10;");a.vertex=!0;var c=new mxCell("main",new mxGeometry(0,0,50,100),"html=1;shape=mxgraph.er.anchor;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell("sub",new mxGeometry(50,5,45,90),"rounded=1;absoluteArcSize=1;html=1;arcSize=10;whiteSpace=wrap;points=[];strokeColor=inherit;fillColor=inherit;");c.vertex=!0;a.insert(c);\r\nreturn b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Hierarchy")}),this.createVertexTemplateEntry("shape=note;size=20;whiteSpace=wrap;html=1;",100,100,"Note","Note",null,null,"db database schema er entity relation table note"),this.addEntry("db database schema er entity relation table relation chen",function(){return b.createEdgeTemplateFromCells([a("endArrow=none;html=1;rounded=0;")],160,0,"Untitled Relation")}),this.addEntry("db database schema er entity relation table mandatory participation chen",\r\nfunction(){return b.createEdgeTemplateFromCells([a("endArrow=none;html=1;rounded=0;",null,"1")],160,0,"Mandatory Participation (0:1)")}),this.addEntry("db database schema er entity relation table mandatory participation chen",function(){return b.createEdgeTemplateFromCells([a("endArrow=none;html=1;rounded=0;",null,"N")],160,0,"Mandatory Participation (0:N)")}),this.addEntry("db database schema er entity relation table mandatory participation chen",function(){return b.createEdgeTemplateFromCells([a("endArrow=none;html=1;rounded=0;",\r\n"M","N")],160,0,"Mandatory Participation (M:N)")}),this.addEntry("db database schema er entity relation table optional participation chen",function(){return b.createEdgeTemplateFromCells([a("endArrow=none;html=1;rounded=0;dashed=1;dashPattern=1 2;",null,"1")],160,0,"Optional Participation (0:1)")}),this.addEntry("db database schema er entity relation table optional participation chen",function(){return b.createEdgeTemplateFromCells([a("endArrow=none;html=1;rounded=0;dashed=1;dashPattern=1 2;",null,\r\n"N")],160,0,"Optional Participation (0:N)")}),this.addEntry("db database schema er entity relation table optional participation chen",function(){return b.createEdgeTemplateFromCells([a("endArrow=none;html=1;rounded=0;dashed=1;dashPattern=1 2;","M","N")],160,0,"Optional Participation (M:N)")}),this.addEntry("db database schema er entity relation table recursive relationship chen",function(){return b.createEdgeTemplateFromCells([a("shape=link;html=1;rounded=0;",null,"1")],160,0,"Recursive Relationship (0:1)")}),\r\nthis.addEntry("db database schema er entity relation table recursive relationship chen",function(){return b.createEdgeTemplateFromCells([a("shape=link;html=1;rounded=0;",null,"N")],160,0,"Recursive Relationship (0:N)")}),this.addEntry("db database schema er entity relation table recursive relationship chen",function(){return b.createEdgeTemplateFromCells([a("shape=link;html=1;rounded=0;","M","N")],160,0,"Recursive Relationship (M:N)")}),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToMany;endFill=1;",\r\n100,100,"","0 to Many Optional",null,"db database schema er entity relation table zero many optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;",100,100,"","1 to Many",null,"db database schema er entity relation table one many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmandOne;",100,100,"","1 Mandatory",null,"db database schema er entity relation table one mandatory"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmandOne;startArrow=ERmandOne;",\r\n100,100,"","1 to 1",null,"db database schema er entity relation table one"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERone;endFill=1;",100,100,"","1",null,"db database schema er entity relation table one"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToOne;endFill=1;",100,100,"","0 to 1",null,"db database schema er entity relation table zero one"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmany;",\r\n100,100,"","Many",null,"db database schema er entity relation table many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmany;startArrow=ERmany;",100,100,"","Many to Many",null,"db database schema er entity relation table many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToMany;startArrow=ERzeroToOne;",100,100,"","1 Optional to Many Optional",null,"db database schema er entity relation table one optional many"),\r\nthis.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToMany;startArrow=ERmandOne;",100,100,"","1 Mandatory to Many Optional",null,"db database schema er entity relation table one mandatory many optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToOne;startArrow=ERmandOne;",100,100,"","1 Mandatory to 1 Optional",null,"db database schema er entity relation table one mandatory optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;startArrow=ERmandOne;",\r\n100,100,"","1 Mandatory to Many Mandatory",null,"db database schema er entity relation table one mandatory many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;startArrow=ERzeroToOne;",100,100,"","1 Optional to Many Mandatory",null,"db database schema er entity relation table one optional mandatory many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;startArrow=ERoneToMany;",100,100,\r\n"","Many Mandatory to Many Mandatory",null,"db database schema er entity relation table mandatory many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;startArrow=ERzeroToMany;",100,100,"","Many Optional to Many Mandatory",null,"db database schema er entity relation table mandatory many optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToMany;endFill=1;startArrow=ERzeroToMany;",100,\r\n100,"","Many Optional to Many Optional",null,"db database schema er entity relation table many optional")];this.addPaletteFunctions("er",mxResources.get("entityRelation"),!1,c);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addFloorplanPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;shape=mxgraph.floorplan.";this.setCurrentSearchEntryLibrary("floorplan");var b=[this.createVertexTemplateEntry(a+"wall;fillColor=#000000;",100,10,"","Wall (Horizontal)",null,null,this.getTagsForStencil("mxgraph.floorplan","wall","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wall;fillColor=#000000;direction=south;",\r\n10,100,"","Wall (Vertical)",null,null,this.getTagsForStencil("mxgraph.floorplan","wall","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallCorner;fillColor=#000000;",100,100,"","Wall (Corner NW)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallCorner;fillColor=#000000;direction=south;",100,100,"","Wall (Corner NE)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"wallCorner;fillColor=#000000;direction=west",100,100,"","Wall (Corner SE)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallCorner;fillColor=#000000;direction=north",100,100,"","Wall (Corner SW)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallU;fillColor=#000000;",100,100,"","Wall (U)",null,null,this.getTagsForStencil("mxgraph.floorplan",\r\n"wallU","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"room;fillColor=#000000;",100,100,"","Room",null,null,this.getTagsForStencil("mxgraph.floorplan","room","floorplan ").join(" ")),this.createVertexTemplateEntry("shape=dimension;whiteSpace=wrap;html=1;align=center;points=[];verticalAlign=bottom;spacingBottom=-5;labelBackgroundColor=#ffffff",100,40,"Label","Horizontal Dimension",null,null,"horizontal dimension measure distance unit"),this.createVertexTemplateEntry("shape=dimension;direction=west;whiteSpace=wrap;html=1;align=center;points=[];verticalAlign=top;spacingTop=-8;labelBackgroundColor=#ffffff",\r\n100,40,"Label","Vertical Dimension",null,null,"vertical dimension measure distance unit"),this.createVertexTemplateEntry("shape=dimension;direction=north;whiteSpace=wrap;html=1;align=right;points=[];verticalAlign=middle;labelBackgroundColor=#ffffff",40,100,"Label","Vertical Dimension",null,null,"vertical dimension measure distance unit"),this.createVertexTemplateEntry("shape=dimension;direction=south;whiteSpace=wrap;html=1;align=left;points=[];verticalAlign=middle;labelBackgroundColor=#ffffff",40,\r\n100,"Label","Horizontal Dimension",null,null,"horizontal dimension measure distance unit"),this.createVertexTemplateEntry(a+"window;",100,10,"","Window",null,null,this.getTagsForStencil("mxgraph.floorplan","window","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"windowGlider;dx=0.25;",100,10,"","Window, Glider",null,null,this.getTagsForStencil("mxgraph.floorplan","windowGlider","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"windowGarden;dx=0.25;",100,20,"","Window, Garden",\r\nnull,null,this.getTagsForStencil("mxgraph.floorplan","windowGarden","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"windowBow;strokeWidth=3;",100,20,"","Window, Bow",null,null,this.getTagsForStencil("mxgraph.floorplan","windowBow","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"windowBay;strokeWidth=3;aspect=fixed;",100,40,"","Window, Bay",null,null,this.getTagsForStencil("mxgraph.floorplan","windowBay","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairs;",300,\r\n100,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairs;direction=south;",100,300,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairsRest;",300,200,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairsRest","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorLeft;aspect=fixed;",80,85,"","Door",\r\nnull,null,this.getTagsForStencil("mxgraph.floorplan","doorLeft","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorRight;aspect=fixed;",80,85,"","Door",null,null,this.getTagsForStencil("mxgraph.floorplan","doorRight","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorDouble;aspect=fixed;",160,85,"","Door, Double",null,null,this.getTagsForStencil("mxgraph.floorplan","doorDouble","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorUneven;dx=0.5;",160,85,"","Door, Uneven",\r\nnull,null,this.getTagsForStencil("mxgraph.floorplan","doorUneven","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorOpposing;dx=0.5;",160,165,"","Door, Opposing",null,null,this.getTagsForStencil("mxgraph.floorplan","doorOpposing","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorRevolving;aspect=fixed;",80,85,"","Door, Revolving",null,null,this.getTagsForStencil("mxgraph.floorplan","doorLeft","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorPocket;dx=0.5;",\r\n104,10,"","Door, Pocket",null,null,this.getTagsForStencil("mxgraph.floorplan","doorPocket","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorDoublePocket;dx=0.25;",104,10,"","Door, Double Pocket",null,null,this.getTagsForStencil("mxgraph.floorplan","doorDoublePocket","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorBypass;dx=0.25;",104,10,"","Door, By-pass",null,null,this.getTagsForStencil("mxgraph.floorplan","doorBypass","floorplan ").join(" ")),this.createVertexTemplateEntry(a+\r\n"doorBifold;dx=0.3;",160,40,"","Door, Bi-fold",null,null,this.getTagsForStencil("mxgraph.floorplan","doorBifold","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorSlidingGlass;dx=0.25;",104,10,"","Door, SlidingGlass",null,null,this.getTagsForStencil("mxgraph.floorplan","doorSlidingGlass","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorOverhead;",104,30,"","Door, Overhead",null,null,this.getTagsForStencil("mxgraph.floorplan","doorOverhead","floorplan ").join(" ")),this.createVertexTemplateEntry(a+\r\n"doorAccordion;dx=0.6;",160,30,"","Door, Accordion",null,null,this.getTagsForStencil("mxgraph.floorplan","accordion","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorDoubleAction;aspect=fixed;",80,165,"","Door, Double Action",null,null,this.getTagsForStencil("mxgraph.floorplan","doorDoubleAction","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"opening;",50,10,"","Opening",null,null,this.getTagsForStencil("mxgraph.floorplan","opening","floorplan ").join(" ")),this.createVertexTemplateEntry(a+\r\n"bathtub;",180,60,"","Bathtub",null,null,this.getTagsForStencil("mxgraph.floorplan","bathtub","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bed_double;",200,180,"","Bed, Double",null,null,this.getTagsForStencil("mxgraph.floorplan","bed_double","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bed_single;",100,180,"","Bed Single",null,null,this.getTagsForStencil("mxgraph.floorplan","bed_single","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bookcase;",120,30,"","Bookcase",\r\nnull,null,this.getTagsForStencil("mxgraph.floorplan","bookcase","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"chair;",41,52,"","Chair",null,null,this.getTagsForStencil("mxgraph.floorplan","chair","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"copier;",110,60,"","Copier",null,null,this.getTagsForStencil("mxgraph.floorplan","copier","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"couch;",150,80,"","Couch",null,null,this.getTagsForStencil("mxgraph.floorplan","couch",\r\n"floorplan ").join(" ")),this.createVertexTemplateEntry(a+"crt_tv;",60,40,"","CRT TV",null,null,this.getTagsForStencil("mxgraph.floorplan","crt_tv","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"desk_corner;",150,150,"","Desk Corner",null,null,this.getTagsForStencil("mxgraph.floorplan","desk_corner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"desk_corner_2;",150,120,"","Desk Corner 2",null,null,this.getTagsForStencil("mxgraph.floorplan","desk_corner_2","floorplan ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"dresser;",100,65,"","Dresser",null,null,this.getTagsForStencil("mxgraph.floorplan","dresser","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"elevator;",100,100,"","Elevator",null,null,this.getTagsForStencil("mxgraph.floorplan","elevator","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"fireplace;",304,200,"","Fireplace",null,null,this.getTagsForStencil("mxgraph.floorplan","fireplace","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"flat_tv;",\r\n70,10,"","Flat TV",null,null,this.getTagsForStencil("mxgraph.floorplan","flat_tv","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"floor_lamp;",50,50,"","Floor Lamp",null,null,this.getTagsForStencil("mxgraph.floorplan","floor_lamp","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"laptop;",40,35,"","Laptop",null,null,this.getTagsForStencil("mxgraph.floorplan","laptop","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"office_chair;",40,43,"","Office Chair",null,null,this.getTagsForStencil("mxgraph.floorplan",\r\n"office_chair","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"piano;",135,143,"","Piano",null,null,this.getTagsForStencil("mxgraph.floorplan","piano","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"plant;",47,51,"","Plant",null,null,this.getTagsForStencil("mxgraph.floorplan","plant","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"printer;",40,47,"","Printer",null,null,this.getTagsForStencil("mxgraph.floorplan","printer","floorplan ").join(" ")),this.createVertexTemplateEntry(a+\r\n"range_1;",50,62,"","Range 1",null,null,this.getTagsForStencil("mxgraph.floorplan","range_1","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"range_2;",75,62,"","Range 2",null,null,this.getTagsForStencil("mxgraph.floorplan","range_2","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"refrigerator;",60,62,"","Refrigerator",null,null,this.getTagsForStencil("mxgraph.floorplan","refrigerator","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"shower;",100,100,"","Shower",null,\r\nnull,this.getTagsForStencil("mxgraph.floorplan","shower","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sink_1;",40,35,"","Sink 1",null,null,this.getTagsForStencil("mxgraph.floorplan","sink_1","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sink_2;",40,35,"","Sink 2",null,null,this.getTagsForStencil("mxgraph.floorplan","sink_2","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sink_double;",80,35,"","Sink Double",null,null,this.getTagsForStencil("mxgraph.floorplan",\r\n"sink_double","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sofa;",90,80,"","Sofa",null,null,this.getTagsForStencil("mxgraph.floorplan","sofa","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"spiral_stairs;",200,200,"","Spiral Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","spiral_stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"table;",90,50,"","Table",null,null,this.getTagsForStencil("mxgraph.floorplan","table","floorplan ").join(" ")),this.createVertexTemplateEntry(a+\r\n"toilet;",50,67,"","Toilet",null,null,this.getTagsForStencil("mxgraph.floorplan","toilet","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"water_cooler;",40,40,"","Water Cooler",null,null,this.getTagsForStencil("mxgraph.floorplan","water_cooler","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"workstation;",50,40,"","Workstation",null,null,this.getTagsForStencil("mxgraph.floorplan","workstation","floorplan ").join(" ")),this.addEntry("floorplan kitchen table small",function(){var b=\r\nnew mxCell("",new mxGeometry(0,20,80,80),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(20,68,40,52),a+"chair;shadow=0;rotation=180;");d.vertex=!0;return sb.createVertexTemplateFromCells([c,d,b],80,120,"Small kitchen table")}),this.addEntry("floorplan kitchen table",function(){var b=new mxCell("",new mxGeometry(20,20,100,100),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,\r\n0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(88,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,b],140,140,"Kitchen table")}),this.addEntry("floorplan kitchen table",function(){var b=new mxCell("",new mxGeometry(20,20,\r\n100,100),"shape=ellipse;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(88,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,b],140,140,"Round kitchen table")}),\r\nthis.addEntry("floorplan kitchen table large",function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(148,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=\r\n!0;var h=new mxCell("",new mxGeometry(110,0,40,52),a+"chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,88,40,52),a+"chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"Large kitchen table")}),this.addEntry("floorplan kitchen table large",function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=ellipse;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=\r\nnew mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(148,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,52),a+"chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,88,40,52),a+"chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,\r\nd,f,g,h,k,b],200,140,"Large kitchen table")}),this.addEntry("floorplan office table",function(){var b=new mxCell("",new mxGeometry(0,20,80,50),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(15,30,50,40),a+"workstation;shadow=0;flipV=1;");d.vertex=!0;return sb.createVertexTemplateFromCells([c,b,d],80,70,"Office table")}),this.addEntry("floorplan office table",function(){var b=new mxCell("",\r\nnew mxGeometry(20,20,100,100),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(97,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;return sb.createVertexTemplateFromCells([c,\r\nd,f,g,b],140,140,"Office table")}),this.addEntry("floorplan office table large",function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(157,\r\n50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"Large office table")}),this.addEntry("floorplan office table large",function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=ellipse;shadow=0;");b.vertex=!0;var c=new mxCell("",\r\nnew mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(157,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,\r\n97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"Large office table")}),this.addEntry("floorplan office table large",function(){var b=new mxCell("",new mxGeometry(20,20,280,100),"shape=ellipse;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",\r\nnew mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(277,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex=!0;var l=new mxCell("",new mxGeometry(170,0,40,43),a+"office_chair;shadow=0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(170,\r\n97,40,43),a+"office_chair;shadow=0;direction=west;");m.vertex=!0;var p=new mxCell("",new mxGeometry(230,0,40,43),a+"office_chair;shadow=0;");p.vertex=!0;var n=new mxCell("",new mxGeometry(230,97,40,43),a+"office_chair;shadow=0;direction=west;");n.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,l,m,p,n,b],320,140,"Large office table")}),this.addEntry("floorplan office table conference large huge",function(){var b=new mxCell("",new mxGeometry(20,20,520,100),"shape=ellipse;shadow=0;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(517,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=\r\nnew mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex=!0;var l=new mxCell("",new mxGeometry(170,0,40,43),a+"office_chair;shadow=0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(170,97,40,43),a+"office_chair;shadow=0;direction=west;");m.vertex=!0;var p=new mxCell("",new mxGeometry(230,0,40,43),a+"office_chair;shadow=0;");p.vertex=!0;var n=new mxCell("",new mxGeometry(230,97,40,43),a+"office_chair;shadow=0;direction=west;");n.vertex=!0;var q=new mxCell("",\r\nnew mxGeometry(290,0,40,43),a+"office_chair;shadow=0;");q.vertex=!0;var r=new mxCell("",new mxGeometry(290,97,40,43),a+"office_chair;shadow=0;direction=west;");r.vertex=!0;var u=new mxCell("",new mxGeometry(350,0,40,43),a+"office_chair;shadow=0;");u.vertex=!0;var t=new mxCell("",new mxGeometry(350,97,40,43),a+"office_chair;shadow=0;direction=west;");t.vertex=!0;var v=new mxCell("",new mxGeometry(410,0,40,43),a+"office_chair;shadow=0;");v.vertex=!0;var y=new mxCell("",new mxGeometry(410,97,40,43),\r\na+"office_chair;shadow=0;direction=west;");y.vertex=!0;var x=new mxCell("",new mxGeometry(470,0,40,43),a+"office_chair;shadow=0;");x.vertex=!0;var w=new mxCell("",new mxGeometry(470,97,40,43),a+"office_chair;shadow=0;direction=west;");w.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,l,m,p,n,q,r,u,t,v,y,x,w,b],560,140,"Conference table")})];this.addPalette("floorplan",mxResources.get("floorplans"),!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}));\r\nthis.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addFlowchartPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.flowchart.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=";this.setCurrentSearchEntryLibrary("flowchart");this.addPaletteFunctions("flowchart",mxResources.get("flowchart"),!1,[this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.annotation_1;align=left;pointerEvents=1;",\r\n50,100,"","Annotation",null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_1","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;",50,100,"","Annotation",null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_2","").join(" ")),this.createVertexTemplateEntry(b+"card;whiteSpace=wrap;size=20;arcSize=12;",100,60,"","Card",null,null,this.getTagsForStencil("mxgraph.flowchart","card",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"collate;",100,100,"","Collate",null,null,this.getTagsForStencil("mxgraph.flowchart","collate","").join(" ")),this.createVertexTemplateEntry("shape=parallelogram;html=1;strokeWidth=2;perimeter=parallelogramPerimeter;whiteSpace=wrap;rounded=1;arcSize=12;size=0.23;",100,60,"","Data",null,null,this.getTagsForStencil("mxgraph.flowchart","data","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;",\r\n60,60,"","Database",null,null,this.getTagsForStencil("mxgraph.flowchart","database","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;",100,100,"","Decision",null,null,this.getTagsForStencil("mxgraph.flowchart","decision","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.delay;whiteSpace=wrap;",100,60,"","Delay",null,null,this.getTagsForStencil("mxgraph.flowchart","delay","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.direct_data;whiteSpace=wrap;",\r\n100,60,"","Direct Data",null,null,this.getTagsForStencil("mxgraph.flowchart","direct_data","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.display;whiteSpace=wrap;",100,60,"","Display",null,null,this.getTagsForStencil("mxgraph.flowchart","display","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.document2;whiteSpace=wrap;size=0.25;",100,60,"","Document",null,null,this.getTagsForStencil("mxgraph.flowchart","document",\r\n"").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.extract_or_measurement;whiteSpace=wrap;",95,60,"","Extract or Measurement",null,null,this.getTagsForStencil("mxgraph.flowchart","extract_or_measurement","").join(" ")),this.createVertexTemplateEntry("shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;",70,70,"","Internal Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","internal_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.loop_limit;whiteSpace=wrap;",\r\n100,60,"","Loop Limit",null,null,this.getTagsForStencil("mxgraph.flowchart","loop_limit","").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=2;shape=manualInput;whiteSpace=wrap;rounded=1;size=26;arcSize=11;",100,60,"","Manual Input",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_input","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;size=0.23;arcSize=10;flipV=1;labelPosition=center;align=center;",\r\n100,60,"","Manual Operation",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_operation","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.merge_or_storage;whiteSpace=wrap;",95,60,"","Merge or Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","merge_or_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.multi-document;whiteSpace=wrap;",88,60,"","Multi-Document",null,null,this.getTagsForStencil("mxgraph.flowchart",\r\n"multi-document","").join(" ")),this.createVertexTemplateEntry(b+"offPageConnector;rounded=0;size=0.5;",60,60,"","Off-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","off-page_reference","").join(" ")),this.createVertexTemplateEntry(a+"on-page_reference;",60,60,"","On-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","on-page_reference","").join(" ")),this.createVertexTemplateEntry(a+"summing_function;",70,70,"","Or",null,null,this.getTagsForStencil("mxgraph.flowchart",\r\n"summing_function","").join(" ")),this.createVertexTemplateEntry("shape=tape;whiteSpace=wrap;html=1;strokeWidth=2;size=0.19",100,65,"","Tape",null,null,this.getTagsForStencil("mxgraph.flowchart","tape","").join(" ")),this.createVertexTemplateEntry(a+"parallel_mode;pointerEvents=1",95,40,"","Parallel Mode",null,null,this.getTagsForStencil("mxgraph.flowchart","parallel_mode","").join(" ")),this.createVertexTemplateEntry(b+"process;whiteSpace=wrap;rounded=1;size=0.14;arcSize=6;",100,60,"","Predefined Process",\r\nnull,null,this.getTagsForStencil("mxgraph.flowchart","predefined_process","").join(" ")),this.createVertexTemplateEntry(b+"hexagon;perimeter=hexagonPerimeter2;arcSize=6;size=0.27;",100,60,"","Preparation",null,null,this.getTagsForStencil("mxgraph.flowchart","preparation","").join(" ")),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;",100,100,"","Process",null,null,this.getTagsForStencil("mxgraph.flowchart","process","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.sequential_data;whiteSpace=wrap;",\r\n100,100,"","Sequential Data",null,null,this.getTagsForStencil("mxgraph.flowchart","sequential_data","").join(" ")),this.createVertexTemplateEntry(a+"sort;",100,100,"","Sort",null,null,this.getTagsForStencil("mxgraph.flowchart","sort","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.start_1;whiteSpace=wrap;",100,60,"","Start",null,null,this.getTagsForStencil("mxgraph.flowchart","start_1","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.start_2;whiteSpace=wrap;",\r\n100,100,"","Start",null,null,this.getTagsForStencil("mxgraph.flowchart","start_2","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.stored_data;whiteSpace=wrap;",100,60,"","Stored Data",null,null,this.getTagsForStencil("mxgraph.flowchart","stored_data","").join(" ")),this.createVertexTemplateEntry(a+"or;",70,70,"","Summing Junction",null,null,this.getTagsForStencil("mxgraph.flowchart","or","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.terminator;whiteSpace=wrap;",\r\n100,60,"","Terminator",null,null,this.getTagsForStencil("mxgraph.flowchart","terminator","").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;strokeWidth=2;shape=mxgraph.arrows2.arrow;dy=0.6;dx=40;notch=0;",100,70,"","Transfer",null,null,this.getTagsForStencil("mxgraph.flowchart","transfer","").join(" "))]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addFluidPowerPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;aspect=fixed;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeColor=#000000;fillColor=#000000;align=center;outlineConnect=0;shape=mxgraph.fluid_power.";this.setCurrentSearchEntryLibrary("fluid_power");this.addPaletteFunctions("fluid_power","Fluid Power (ISO 1219)",!1,[this.createVertexTemplateEntry(a+"x10010;points=[[0,0.68,0],[0.78,0,0],[1,0.51,0],[1,0.84,0]]",41.9,28.48,"",\r\n"X10010 Control mechanism with detachable grip and detent",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10010 control mechanism with detachable grip and detent","").join(" ")),this.createVertexTemplateEntry(a+"x10020;points=[[0,0.5,0],[1,0.39,0],[1,0.61,0]]",37.18,42.84,"","X10020 Plunger with adjustable stroke limiter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10020 plunger with adjustable stroke limiter","").join(" ")),this.createVertexTemplateEntry(a+"x10030;points=[[0,0.35,0],[0,1,0],[0.74,0,0],[1,0.5,0],[1,0.84,0]]",\r\n35.24,28.44,"","X10030 Push/pull control mechanism with detent",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10030 push pull control mechanism with detent","").join(" ")),this.createVertexTemplateEntry(a+"x10040;points=[[1,0.6,0]]",18.7,26.36,"","X10040 Control mechanism with locking manual override",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10040 control mechanism with locking manual override","").join(" ")),this.createVertexTemplateEntry(a+"x10050;points=[[1,0.64,0],[1,0.88,0]]",\r\n35.34,39.22,"","X10050 Turning control mechanism with five detent positions",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10050 turning control mechanism with five detent positions","").join(" ")),this.createVertexTemplateEntry(a+"x10060;points=[[1,0.72,0],[1,1,0]]",62.6,35.38,"","X10060 Roller lever for actuation in one direction of travel",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10060 roller lever for actuation in one direction of travel","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10070;points=[[1,0.38,0],[1,0.5,0],[1,0.62,0]]",65.2,37.28,"","X10070 Control mechanism using an electric stepping motor",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10070 control mechanism using an electric stepping motor","").join(" ")),this.createVertexTemplateEntry(a+"x10080;points=[[0,0,0],[0,0.5,0],[0,1,0],[1,0,0],[1,0.5,0],[1,1,0]]",28.08,18.7,"","X10080 Pneumatic spring, internal pressure supply using the valve-inlet port",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x10080 pneumatic spring internal pressure supply using the valve inlet port","").join(" ")),this.createVertexTemplateEntry(a+"x10090;points=[[0,0,0],[0,0.5,0],[0,1,0],[1,0,0],[1,0.5,0],[1,1,0]]",28.08,18.7,"","X10090 Pneumatic spring, internal pressure supply using the pilot-supply port",null,null,this.getTagsForStencil("mxgraph.fluid_power","X10090 pneumatic spring internal pressure supply using the pilot supply port","").join(" ")),this.createVertexTemplateEntry(a+"x10100;points=[[0,0,0],[0,0.5,0],[0,1,0],[1,0,0],[1,0.5,0],[1,1,0]]",\r\n28.08,18.7,"","X10100 Pneumatic spring, external pressure supply",null,null,this.getTagsForStencil("mxgraph.fluid_power","X10090 pneumatic spring external pressure supply","").join(" ")),this.createVertexTemplateEntry(a+"x10110;points=[[0,0,0],[0,0.5,0],[0,1,0],[1,0,0],[1,0.5,0],[1,1,0],[0.5,0,0],[0.5,1,0]]",27.88,18.66,"","X10110 Solenoid coil with one winding, direction of actuation towards the valving element",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10110 solenoid coil with one winding direction of actuation towards the valving element",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10120;points=[[0,0,0],[0,0.5,0],[0,1,0],[1,0,0],[1,0.5,0],[1,1,0],[0.5,0,0],[0.5,1,0]]",27.88,18.66,"","X10120 Solenoid coil with one winding, direction of actuation away from the valving element",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10120 solenoid coil with one winding direction of actuation away from the valving element","").join(" ")),this.createVertexTemplateEntry(a+"x10130;points=[[0,0,0],[0,0.5,0],[0,1,0],[1,0,0],[1,0.5,0],[1,1,0],[0.5,0,0],[0.5,1,0]]",\r\n27.88,18.66,"","X10130 Electrical control mechanism with two coils, one acting towards the valving element and the other acting away from the valving element",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10130 electrical control mechanism with two coils one acting towards the valving element and the other acting away from the valving element","").join(" ")),this.createVertexTemplateEntry(a+"x10140;points=[[0,0.39,0],[0,0.605,0],[0,0.82,0]]",35.68,55.24,"","X10140 Solenoid coil with one winding, direction of actuation towards the valving element, continuously controlled",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10140 solenoid coil with one winding direction of actuation towards the valving element continuously controlled","").join(" ")),this.createVertexTemplateEntry(a+"x10150;points=[[0,0.39,0],[0,0.605,0],[0,0.82,0]]",35.68,55.24,"","X10150 Solenoid coil with one winding, direction of actuation away from the valving element, continuously controlled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10150 solenoid coil with one winding direction of actuation away from the valving element continuously controlled",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10160;points=[[0,0.39,0],[0,0.605,0],[0,0.82,0]]",35.68,55.24,"","X10160 Electrical control mechanism with two coils, acting in both directions towards and away from the valving element, continuously controlled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10160 electrical control mechanism with two coils acting in both directions towards and away from the valving element continuously controlled","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10170;points=[[0,0,0],[0,0.5,0],[0,1,0],[1,0,0],[1,0.5,0],[1,1,0],[0.5,0,0],[0.5,1,0]]",55.94,18.62,"","X10170 Electrically operated pneumatic control mechanism",null,null,this.getTagsForStencil("mxgraph.fluid_power","X10170 electrically operated pneumatic control mechanism","").join(" ")),this.createVertexTemplateEntry(a+"x10180;points=[[0,0,0],[0,0.25,0],[0,0.5,0],[1,0,0],[1,0.25,0],[1,0.5,0],[0.5,0,0],[0.5,1,0]]",55.94,37.22,"","X10180 Electrically operated hydraulic pilot stage with external pilot supply",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10180 electrically operated hydraulic pilot stage with external pilot supply","").join(" ")),this.createVertexTemplateEntry(a+"x10190;points=[[0.1,0.8,0],[0.55,0,0],[1,1,0]]",31.08,37.32,"","X10190 Mechanical feedback",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10190 mechanical feedback","").join(" ")),this.createVertexTemplateEntry(a+"x10200;points=[[0,0.31,0],[0,0.48,0],[0,0.65,0],[1,0.31,0],[1,0.48,0],[1,0.65,0],[0.43,1,0],[0.715,1,0]]",\r\n64.82,53.86,"","X10200 Hydraulic control mechanism with two successive pilot stages with external pilot supply and continuously controlled solenoid with two windings, working in both directions, in one assembly",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10200 hydraulic control mechanism with two successive pilot stages with external pilot supply and continuously controlled solenoid with two windings working in both directions in one assembly","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10210;points=[[0.67,0,0],[0.67,1,0],[0,0.62,0],[0.37,0.25,0],[0.37,0.75,0]]",125.54,75.22,"","X10210 2/2 (two-port, two-position) directional control valve, two ports, two shift positions for two directions of flow, a push control mechanism, spring return, normally closed",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10210 two port position directional control valve ports positions for two directions of flow push control mechanism spring return normally closed","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10220;points=[[0.665,0,0],[0.665,1,0],[0,0.62,0],[0.37,0.25,0],[0.37,0.75,0]]",125.54,74.6,"","X10220 2/2 directional control vavle, two ports, two shift positions, normally open, solenoid-actuated, spring return",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10220 directional control vavle two ports two shift positions normally open solenoid actuated spring return","").join(" ")),this.createVertexTemplateEntry(a+"x10230;points=[[0.59,0,0],[0.74,0,0],[0.59,1,0],[0.74,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[0.295,0.25,0],[0.295,0.75,0],[0.445,0.25,0],[0.445,0.75,0]]",\r\n125.54,74.48,"","X10230 4/2 directional control valve, solenoid-actuated, spring return",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10230 directional control valve solenoid-actuated spring return","").join(" ")),this.createVertexTemplateEntry(a+"x10240;points=[[0.725,0,0],[0.725,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[0.28,0.5,0],[0.28,0.75,0],[0.485,0.25,0],[0.485,0.75,0],[0.09,0.5,0],[0.09,0.75,0]]",153.32,74.66,"","X10240 Pneumatic soft-start valve, solenoidoperated, with internal pilot supply",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","X10240 pneumatic soft start valve solenoidoperated with internal pilot supply","").join(" ")),this.createVertexTemplateEntry(a+"x10250;points=[[0.665,0,0],[0.665,1,0]]",167.26,143.78,"","X10250 Pneumatic slow-start valve that is fitted at the inlet to a system, which allows fluid to enter the system at a reduced flow rate, until a pre-set pressure level is achieved, causing the valve to open to a full-flow condition",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"X10250 pneumatic slow start valve that is fitted at the inlet to system which allows fluid to enter the system at reduced flow rate until pre set pressure level is achieved causing the valve to open to full flow condition","").join(" ")),this.createVertexTemplateEntry(a+"x10260;points=[[0.645,0,0],[0.645,1,0],[0.76,1,0],[0.41,0.25,0],[0.41,0.75,0],[0.53,0.75,0],[1,0.5,0],[1,0.625,0],[1,0.75,0]]",157.64,74.48,"","X10260 3/2 lockout valve with a padlock",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x10260 lockout valve with padlock","").join(" ")),this.createVertexTemplateEntry(a+"x10270;points=[[0.68,0,0],[0.68,1,0],[0.795,1,0],[0.445,0.25,0],[0.445,0.75,0],[0.56,0.75,0]]",160.16,74.48,"","X10270 3/2 directional control valve controlled by a roller lever in one direction of travel and spring return",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10270 directional control valve controlled by roller lever in one direction of travel and spring return","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10280;points=[[0.59,0,0],[0.59,1,0],[0.74,1,0],[0.44,0.75,0],[0.295,0.25,0],[0.295,0.75,0]]",125.6,74.48,"","X10280 3/2 directional control valve, with three ports and two positions, controlled by a solenoid and spring return",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10280 directional control valve with three ports and two positions controlled by solenoid and spring return","").join(" ")),this.createVertexTemplateEntry(a+"x10290;points=[[0.59,0,0],[0.59,1,0],[0.74,1,0],[0.44,0.75,0],[0.295,0.25,0],[0.295,0.75,0]]",\r\n125.6,74.48,"","X10290 3/2 directional control valve with single solenoid, directly controlled, spring return, and manual override with detent",null,null,this.getTagsForStencil("mxgraph.fluid_power","X10290","").join(" ")),this.createVertexTemplateEntry(a+"x10300;points=[[0.745,0,0],[0.745,1,0],[0.835,1,0],[0,0.5,0],[0.558,0.25,0],[0.558,0.75,0],[0.65,0.75,0]]",200.28,74.48,"","X10300 Pulse counter with pneumatic output signal",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10300 pulse counter with pneumatic output signal",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10310;points=[[0.55,0,0],[0.55,1,0],[0,0.62,0],[1,0.62,0],[0.35,0.25,0],[0.35,0.75,0],[0.45,0.75,0],[0.65,1,0]]",186.48,74.48,"","X10310 3/2 directional control valve, differential pilot",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10310 3/2 directional control valve differential pilot","").join(" ")),this.createVertexTemplateEntry(a+"x10320;points=[[0.59,0,0],[0.59,1,0],[0.74,0,0],[0.74,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[0.3,0.25,0],[0.3,0.75,0],[0.44,0.25,0],[0.44,0.75,0]]",\r\n125.6,74.48,"","X10320 4/2 directional control valve with single solenoid, directly controlled, spring return, and manual override with detent",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10320 directional control valve with single solenoid directly controlled spring return and manual override with detent","").join(" ")),this.createVertexTemplateEntry(a+"x10330;points=[[0.57,0,0],[0.57,1,0],[0.71,0,0],[0.71,1,0],[0.285,0.25,0],[0.285,0.75,0],[0.43,0.25,0],[0.43,0.75,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]]",\r\n130.18,74.48,"","X10330 4/2 directional control valve, directly controlled by two solenoids, with detent (impulse valve)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10330 directional control valve directly controlled by two solenoids with detent impulse valve","").join(" ")),this.createVertexTemplateEntry(a+"x10340;points=[[0.685,0,0],[0.685,1,0],[0.455,0.25,0],[0.455,0.75,0],[0.57,0.75,0],[0.8,1,0],[0,0.625,0]]",163.22,74.48,"","X10340 3/2 directional control valve with three ports, two distinct positions, controlled by pneumatic pilot control and torsion bar, spring return",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10340 directional control valve with three ports two distinct positions controlled by pneumatic pilot control and torsion bar spring return","").join(" ")),this.createVertexTemplateEntry(a+"x10350;points=[[0.665,0,0],[0.665,1,0],[0.785,0,0],[0.785,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[0.42,0.25,0],[0.42,0.75,0],[0.545,0.25,0],[0.545,0.75,0]]",153.38,74.48,"","X10350 4/2 directional control valve, two distinct positions, controlled by solenoid and hydraulic pilot, spring return",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10350 directional control valve two distinct positions controlled by solenoid and hydraulic pilot spring return","").join(" ")),this.createVertexTemplateEntry(a+"x10360;points=[[0.46,0,0],[0.46,1,0],[0.54,0,0],[0.54,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[0.29,0.25,0],[0.29,0.75,0],[0.375,0.25,0],[0.375,0.75,0],[1,0.5,0],[1,0.625,0],[1,0.75,0],[0.625,0.25,0],[0.625,0.75,0],[0.71,0.25,0],[0.71,0.75,0],[0.125,1,0],[0.79,1,0]]",222.6,75.02,"","X10360 4/3 directional control valve, with electrical operation of the pilot stage and hydraulic operation of the main stage, main stage and pilot stage with spring-centering, external pilot supply and pilot drain",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10360 directional control valve with electrical operation of the pilot stage and hydraulic operation of the main stage main stage and pilot stage with spring-centering external pilot supply and pilot drain","").join(" ")),this.createVertexTemplateEntry(a+"x10370;points=[[0.445,0,0],[0.445,1,0],[0.555,0,0],[0.555,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[1,0.5,0],[1,0.625,0],[1,0.75,0],[0.222,0.25,0],[0.222,0.75,0],[0.335,0.25,0],[0.335,0.75,0],[0.665,0.25,0],[0.665,0.75,0],[0.777,0.25,0],[0.777,0.75,0]]",\r\n167.16,74.48,"","X10370 4/3 directional control valve, directly controlled by two solenoids with spring-centered central position",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10370 directional control valve directly controlled by two solenoids with spring centered central position","").join(" ")),this.createVertexTemplateEntry(a+"x10380;points=[[0.66,0,0],[0.66,1,0],[0.785,0,0],[0.785,1,0],[0,1,0],[0.415,0.25,0],[0.415,0.75,0],[0.54,0.25,0],[0.54,0.75,0]]",150.74,75.06,"","X10380 4/2 directional control valve, hydraulically controlled, spring return",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10380 directional control valve hydraulically controlled spring return","").join(" ")),this.createVertexTemplateEntry(a+"x10390;points=[[0.457,0,0],[0.457,1,0],[0.545,0,0],[0.545,1,0],[0,1,0],[1,1,0],[0.287,0.25,0],[0.287,0.75,0],[0.373,0.25,0],[0.373,0.75,0],[0.627,0.25,0],[0.627,0.75,0],[0.713,0.25,0],[0.713,0.75,0]]",218.46,75.02,"","X10390 4/3 directional control valve, hydraulically controlled, spring-centered",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x10390 directional control valve hydraulically controlled spring centered","").join(" ")),this.createVertexTemplateEntry(a+"x10400;points=[[0.68,0,0],[0.68,1,0],[0.938,0,0],[0.938,1,0],[0.81,1,0],[0.3,0.25,0],[0.425,0.75,0],[0.553,0.25,0],[0.553,0.75,0],[0.3,0.75,0]]",145.2,75.02,"","X10400 5/2 directional control valve, treadle-controlled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10400 directional control valve treadle controlled","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10410;points=[[0.62,0,0],[0.62,1,0],[0.808,0,0],[0.808,1,0],[0.713,1,0],[0.335,0.25,0],[0.333,0.75,0],[0.427,0.75,0],[0.522,0.25,0],[0.522,0.75,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[1,0.5,0],[1,0.625,0],[1,0.75,0]]",195,75.02,"","X10410 5/2 pneumatic directional control valve, pilot-operated, piezo-electric-controlled, return by pneumatic spring",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10410 pneumatic directional control valve pilot operated piezo electric controlled return by pneumatic spring",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10420;points=[[0.425,0,0],[0.425,1,0],[0.578,0,0],[0.578,1,0],[0.5,1,0],[0.195,0.25,0],[0.195,0.75,0],[0.27,0.75,0],[0.348,0.25,0],[0.348,0.75,0],[0.655,0.25,0],[0.655,0.75,0],[0.808,0.25,0],[0.732,0.75,0],[0.808,0.75,0]]",242.26,75.06,"","X10420 5/3 directional control valve, lever-controlled to each position, with detent",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10420 directional control valve lever controlled to each position with detent",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10430;points=[[0.634,0,0],[0.634,1,0],[0.83,0,0],[0.732,1,0],[0.83,1,0],[0.343,0.25,0],[0.341,0.75,0],[0.537,0.25,0],[0.537,0.75,0],[0.44,0.75,0],[0.145,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0]]",190.36,74.94,"","X10430 5/2 pneumatic directional control valve, single solenoid, pilot-operated with an external pilot supply, spring return, manual override",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10430 pneumatic directional control valve single solenoid pilot operated with an external pilot supply spring return manual override",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10440;points=[[0.62,0,0],[0.62,1,0],[0.81,0,0],[0.81,1,0],[0.715,1,0],[0.337,0.25,0],[0.335,0.75,0],[0.525,0.25,0],[0.525,0.75,0],[0.43,0.75,0],[0.145,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[1,0.5,0],[1,0.625,0],[1,0.75,0]]",194.94,74.94,"","X10440 5/2 pneumatic directional control valve with five ports and two distinct positions, control by solenoid and pneumatic pilot control, with external pilot supply, return by pneumatic spring, auxiliary manual control. Internal pressure supply using the valve supply port",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10440 pneumatic directional control valve with five ports and two distinct positions control by solenoid and pneumatic pilot control with external pilot supply return by pneumatic spring auxiliary manual control internal pressure supply using the valve supply port","").join(" ")),this.createVertexTemplateEntry(a+"x10441;points=[[0.62,0,0],[0.62,1,0],[0.81,0,0],[0.81,1,0],[0.715,1,0],[0.337,0.25,0],[0.335,0.75,0],[0.525,0.25,0],[0.525,0.75,0],[0.43,0.75,0],[0.145,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[1,0.5,0],[1,0.625,0],[1,0.75,0]]",\r\n194.94,74.94,"","X10441 5/2 pneumatic directional control valve with five ports and two distinct positions, control by solenoid and pneumatic pilot control, with external pilot supply, return by pneumatic spring, auxiliary manual control. Internal pressure supply using the pilot supply port",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10441 pneumatic directional control valve with five ports and two distinct positions control by solenoid and pneumatic pilot control with external pilot supply return by pneumatic spring auxiliary manual control internal pressure supply using the pilot supply port",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10442;points=[[0.62,0,0],[0.62,1,0],[0.81,0,0],[0.81,1,0],[0.715,1,0],[0.337,0.25,0],[0.335,0.75,0],[0.525,0.25,0],[0.525,0.75,0],[0.43,0.75,0],[0.145,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[1,0.5,0],[1,0.625,0],[1,0.75,0],[1,1,0]]",194.94,74.94,"","X10442 5/2 pneumatic directional control valve with five ports and two distinct positions, control by solenoid and pneumatic pilot control, with external pilot supply, return by pneumatic spring, auxiliary manual control. External pressure supply",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10442 pneumatic directional control valve with five ports and two distinct positions control by solenoid and pneumatic pilot control with external pilot supply return by pneumatic spring auxiliary manual control. External pressure supply","").join(" ")),this.createVertexTemplateEntry(a+"x10450;points=[[0.433,0,0],[0.433,1,0],[0.5,1,0],[0.567,0,0],[0.567,1,0],[0.233,0.25,0],[0.233,0.75,0],[0.298,0.75,0],[0.365,0.25,0],[0.365,0.75,0],[0.632,0.25,0],[0.632,0.75,0],[0.764,0.25,0],[0.7,0.75,0],[0.767,0.75,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[1,0.5,0],[1,0.625,0],[1,0.75,0]]",\r\n278.44,75.04,"","X10450 5/3 pneumatic directional control valve, closed centre position, controlled by solenoid pilots with internal pilot supply and manual overrides on both sides. Spring return to the centre position",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10450 pneumatic directional control valve closed centre position controlled by solenoid pilots with internal pilot supply and manual overrides on both sides spring return to the centre position","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10460;points=[[0.6,0,0],[0.6,1,0],[0.8,0,0],[0.8,1,0],[0.7,1,0],[0.3,0.25,0],[0.3,0.75,0],[0.4,0.75,0],[0.5,0.25,0],[0.5,0.75,0],[0,0.625,0],[1,0.5,0],[1,0.625,0],[1,0.75,0]]",186,75.08,"","X10460 Directly operated 5/2 pneumatic directional control valve, mechanical spring and air spring returned",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10460 directly operated pneumatic directional control valve mechanical spring and air spring returned","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10470;points=[[0.43,0,0],[0.572,0,0],[0.43,1,0],[0.5,1,0],[0.572,1,0],[0,0.625,0],[1,0.625,0],[0.217,0.25,0],[0.215,0.75,0],[0.287,0.75,0],[0.358,0.25,0],[0.358,0.75,0],[0.643,0.25,0],[0.643,0.75,0],[0.785,0.25,0],[0.715,0.75,0],[0.786,0.75,0]]",260.38,74.68,"","X10470 Directly operated 5/3 pneumatic directional control valve, spring centred, with outlet ports open to exhaust in the centre position",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10470 directly operated pneumatic directional control valve spring centred with outlet ports open to exhaust in the centre position",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10480;points=[[0.57,0,0],[0.57,1,0],[0.283,0.255,0],[0.425,0.75,0],[0.283,0.75,0],[0.712,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0]]",130,75.54,"","X10480 3/2 solenoid-actuated poppet valve, with limit switch",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10480 solenoid actuated poppet valve with limit switch","").join(" ")),this.createVertexTemplateEntry(a+"x10490;points=[[0.59,0,0],[0.59,1,0],[0.297,0.255,0],[0.442,0.75,0],[0.297,0.75,0],[0.74,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0]]",\r\n125.58,75.54,"","X10490 3/2 solenoid-actuated poppet valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10490 solenoid actuated poppet valve","").join(" ")),this.createVertexTemplateEntry(a+"x10500;points=[[0.47,0,0],[0.47,1,0]]",79.06,75.54,"","X10500 Directly controlled pressure-relief valve, in which the opening pressure is adjusted by means of a spring",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10500 directly controlled pressure relief valve in which the opening pressure is adjusted by means of spring",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10510;points=[[0.445,0,0],[0.445,1,0],[0.887,1,0]]",83.56,75.54,"","X10510 Sequence valve with manually adjustable set point",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10510 Sequence valve with manually adjustable set point","").join(" ")),this.createVertexTemplateEntry(a+"x10520;points=[[0.57,0,0],[0.57,1,0],[0.856,1,0]]",130.08,131.02,"","X10520 Sequence valve, with bypass valve",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x10520 sequence valve with bypass valve","").join(" ")),this.createVertexTemplateEntry(a+"x10530;points=[[0.61,0,0],[0.61,1,0],[0,0.62,0]]",107.88,75.54,"","X10530 Sequence valve, externally controlled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10530 sequence valve externally controlled","").join(" ")),this.createVertexTemplateEntry(a+"x10540;points=[[0.35,0,0],[0.35,1,0]]",79.18,75.54,"","X10540 Pressure regulator, with internal reversible flow",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x10540 pressure regulator with internal reversible flow","").join(" ")),this.createVertexTemplateEntry(a+"x10550;points=[[0.44,0,0],[0.44,1,0],[0.885,1,0]]",83.56,75.54,"","X10550 Directly controlled two-port pressure-reducing valve with external drain",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10550 directly controlled two port pressure reducing valve with external drain","").join(" ")),this.createVertexTemplateEntry(a+"x10560;points=[[0.348,0,0],[0.348,1,0],[0.778,1,0]]",107.28,\r\n75.54,"","X10560 Pitot-operated two-port pressure-reducing valve with external drain",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10560 pitot operated two port pressure reducing valve with external drain","").join(" ")),this.createVertexTemplateEntry(a+"x10570;points=[[0.335,0,0],[0.335,1,0],[1,1,0]]",83.52,75.44,"","X10570 Pressure regulator, remote pilot adjusted, relieving, forward flow only",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10570 pressure regulator remote pilot adjusted relieving forward flow only",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10580;points=[[0,0.355,0],[1,0.355,0],[0.5,1,0]]",260.94,143.86,"","X10580 Pressure-relief and anti-cavitation valves for protecting two supply lines",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10580 pressure relief and anti cavitation valves for protecting two supply lines","").join(" ")),this.createVertexTemplateEntry(a+"x10590;points=[[0.117,0,0],[0.117,1,0],[0.94,0.545,0]]",158.02,205.46,"","X10590 Accumulator-charging valve with a fixed switching-pressure differential",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10590 accumulator charging valve with fixed switching pressure differential","").join(" ")),this.createVertexTemplateEntry(a+"x10600;points=[[0.218,0,0],[0.218,1,0],[0.927,1,0]]",255.58,232.62,"","X10600 Hydraulic pilot-controlled pressure-relief valve with electrically operated activation to a set pressure",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10600 hydraulic pilot controlled pressure relief valve with electrically operated activation to set pressure",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10610;points=[[0.35,0,0],[0.35,1,0],[0.585,1,0]]",79.06,74.7,"","X10610 Three-port pressure-reducing valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10610 three port pressure reducing valve","").join(" ")),this.createVertexTemplateEntry(a+"x10620;points=[[0.5,0,0],[0,0.66,0],[1,0.66,0]]",112.1,55.84,"","X10620 Dual pressure valve (AND function), in which an output signal is only obtained when both inlets are under pressure. The weaker signal is fed to the output.",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10620 dual pressure valve and function in which an output signal is only obtained when both inlets are under pressure the weaker signal is fed to the output","").join(" ")),this.createVertexTemplateEntry(a+"x10630;points=[[0.36,0,0],[0.36,1,0]]",33.98,75.14,"","X10630 Flow-control valve, adjustable",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10630 flow control valve adjustable","").join(" ")),this.createVertexTemplateEntry(a+"x10640;points=[[0.25,0,0],[0.25,1,0]]",\r\n74.06,111.96,"","X10640 Flow-control valve, adjustable, with free flow in one direction",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10640 flow control valve adjustable with free flow in one direction","").join(" ")),this.createVertexTemplateEntry(a+"x10650;points=[[0.695,0,0],[0.695,1,0]]",137,74.92,"","X10650 Flow-control valve, operated by roller plunger, spring-returned",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10650 flow control valve operated by roller plunger spring returned",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10660;points=[[0.33,0,0],[0.33,1,0]]",83.74,149.34,"","X10660 Two-port flow-control valve, preset, for one direction of flow, largely independent of viscosity and pressure differential, adjustable, with bypass check valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10660 two port flow control valve preset for one direction of flow largely independent of viscosity and pressure differential adjustable with bypass check valve","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"x10670;points=[[0.372,0,0],[0.372,1,0],[0.812,0,0]]",74.1,120.8,"","X10670 Three-port flow-control valve, adjustable, that divides the inlet flow into a fixed flow and a residual flow",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10670 three port flow control valve adjustable that divides the inlet flow into a fixed flow and a residual flow","").join(" ")),this.createVertexTemplateEntry(a+"x10680;points=[[0.3,0,0],[0.7,0,0],[0.5,1,0]]",92.78,112.16,"",\r\n"X10680 Flow divider that divides the inlet flow into two outlet flows",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10680 flow divider that divides the inlet into two outlet flows","").join(" ")),this.createVertexTemplateEntry(a+"x10690;points=[[0.5,0,0],[0.3,1,0],[0.7,1,0]]",92.78,112.16,"","X10690 Flow-combining valve that maintains the two inlet flows constant in relation to each other",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10690 flow combining valve that maintains the two inlet flows constant in relation to each other",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10700;points=[[0.5,0,0],[0.5,1,0]]",18.96,56.04,"","X10700 Non-return valve, free flow possible in only one direction",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10700 non return valve free flow possible in only one direction","").join(" ")),this.createVertexTemplateEntry(a+"x10710;points=[[0.5,0,0],[0.5,1,0]]",18.96,74.8,"","X10710 Non-return valve with spring, free flow possible in only one direction, normally closed",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x10710 non return valve with spring, free flow possible in only one direction, normally closed","").join(" ")),this.createVertexTemplateEntry(a+"x10720;points=[[0.395,0,0],[0.395,1,0],[0.795,1,0]]",46.4,93.58,"","X10720 Pilot-operated non-return valve with spring, in which pilot pressure allows free flow in both directions",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10720 pilot operated non return valve with spring, in which pilot pressure allows free flow in both directions","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"x10730;points=[[0.248,0,0],[0.248,1,0],[0.75,0,0],[0.75,1,0]]",73.84,93.46,"","X10730 Double non-return valve, pilot-operated",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10730 double non return valve pilot operated","").join(" ")),this.createVertexTemplateEntry(a+"x10740;points=[[0,0.665,0],[1,0.665,0],[0.498,0,0]]",111.72,56,"","X10740 Shuttle valve (OR function), in which the inlet that experiences the higher pressure is automatically connected to the outlet",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10740 shuttle valve or function in which the inlet that experiences the higher pressure is automatically connected to the outlet","").join(" ")),this.createVertexTemplateEntry(a+"x10750;points=[[0.355,0,0],[0,0.75,0]]",156.94,74.66,"","X10750 Quick-exhaust valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10750 quick exhaust valve","").join(" ")),this.createVertexTemplateEntry(a+"x10760;points=[[0.445,0.01,0],[0.555,0.01,0],[0.445,1,0],[0.555,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0],[1,0.5,0],[1,0.625,0],[1,0.75,0]]",\r\n167.24,75.02,"","X10760 Proportional directional control valve, directly controlled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10760 proportional directional control valve, directly controlled","").join(" ")),this.createVertexTemplateEntry(a+"x10770;points=[[0.258,0,0],[0.258,1,0],[0.405,0,0],[0.405,1,0],[1,0.5,0],[1,0.625,0],[1,0.75,0]]",125.44,74.44,"","X10770 Proportional directional control valve, directly controlled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10770 proportional directional control valve, directly controlled",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10780;points=[[0.407,0.2,0],[0.48,0.2,0],[0.407,1,0],[0.48,1,0],[0,0.6,0],[0,0.7,0],[0,0.8,0]]",251.14,93.04,"","X10780 Proportional directional control valve, pilot operated, with closed-loop position control of the main and pilot stages, with integrated electronics",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10780 proportional directional control valve pilot operated with closed loop position control of the main and pilot stages with integrated electronics",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10790;points=[[0.332,0.055,0],[0.416,0.055,0],[0.332,1,0],[0.416,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0]]",251.14,93.04,"","X10790 Servo-valve, pilot-operated, with closed-loop position control of the main and pilot stages, with integrated electronics",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10790 servo valve pilot operated with closed loop position control of the main and pilot stages with integrated electronics","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10800;points=[[0.332,0.055,0],[0.416,0.055,0],[0.332,1,0],[0.416,1,0],[0,0.5,0],[0,0.625,0],[0,0.75,0]]",223.02,74.42,"","X10800 Servo-valve, pilot-operated, pilot stage with electrical control mechanism with two coils, continuously controlled in both directions, with mechanical feedback of the valve-spool position to the pilot stage, with integrated electronics",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10800 servo valve pilot operated pilot stage with electrical control mechanism with two coils continuously controlled in both directions with mechanical feedback of the valve spool position to the pilot stage with integrated electronics",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10810;points=[[0.272,1,0],[0.364,1,0]]",204.2,157.64,"","X10810 Electro-hydraulic linear drive consisting of cylinder with servo-valve and stepping motor, mechanical feedback of the cylinder position",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10810 electro hydraulic linear drive consisting of cylinder with servo valve and stepping motor mechanical feedback of the cylinder position","").join(" ")),this.createVertexTemplateEntry(a+"x10820;points=[[0.143,0,0],[0.225,0,0],[0.143,1,0],[0.225,1,0]]",\r\n227.56,75.02,"","X10820 Servo-valve with preferred position in case of a power failure, electrical feedback and integral electronics",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10820 servo valve with preferred position in case of a power failure electrical feedback and integral electronics","").join(" ")),this.createVertexTemplateEntry(a+"x10830;points=[[0.35,0,0],[0.35,1,0],[1,0.5,0],[1,0.625,0],[1,0.75,0]]",106.66,74.82,"","X10830 Proportional pressure-relief valve, directly controlled, in which the solenoid controls the valve poppet by means of a spring",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10830 proportional pressure relief valve directly controlled in which the solenoid controls the valve poppet by means of a spring","").join(" ")),this.createVertexTemplateEntry(a+"x10840;points=[[0.335,0,0],[0.335,1,0]]",111.48,74.82,"","X10840 Proportional pressure-relief valve, directly controlled by a solenoid acting on a valve poppet, with integral electronics",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10840 proportional pressure relief valve directly controlled by a solenoid acting on a valve poppet with integral electronics",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10850;points=[[0.277,0,0],[0.277,1,0]]",134.72,74.82,"","X10850 Proportional pressure-relief valve, directly controlled, with closed-loop position control of the solenoid and with integral electronics",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10850 proportional pressure relief valve directly controlled with closed loop position control of the solenoid and with integral electronics","").join(" ")),this.createVertexTemplateEntry(a+"x10860;points=[[0.23,0,0],[0.23,1,0],[0.515,1,0]]",\r\n162.34,75,"","X10860 Proportional pressure-relief valve, pilot-operated with electrical sensing of the solenoid position, with external pilot drain",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10860 proportional pressure relief valve pilot operated with electrical sensing of the solenoid position with external pilot drain","").join(" ")),this.createVertexTemplateEntry(a+"x10870;points=[[0.23,0,0],[0.17,1,0],[0.285,1,0]]",162.38,74.92,"","X10870 Three-port proportional pressure-reducing valve with closed-loop position control of the solenoid and integrated electronics",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10870 three port proportional pressure reducing valve with closed-loop position control of the solenoid and integrated electronics","").join(" ")),this.createVertexTemplateEntry(a+"x10880;points=[[0.267,0.15,0],[0.267,1,0],[0.6,1,0]]",139.14,88.42,"","X10880 Proportional pressure-relief valve, pilotoperated, with integral electronics and additional pilot stage for manual pressure adjustment or maximum pressure-relief function, with external drain",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10880 proportional pressure relief valve pilotoperated with integral electronics and additional pilot stage for manual pressure adjustment or maximum pressure relief function with external drain","").join(" ")),this.createVertexTemplateEntry(a+"x10890;points=[[0.667,0,0],[0.667,1,0]]",125.4,75.02,"","X10890 Proportional flow-control valve, directly controlled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10890 proportional flow control valve directly controlled",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10900;points=[[0.665,0,0],[0.665,1,0],[0.785,0,0],[0.785,1,0]]",153.26,75.16,"","X10900 Proportional flow-control valve, directly controlled, with closed-loop position control of the solenoid and integrated electronics",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10900 proportional flow control valve directly controlled with closed-loop position control of the solenoid and integrated electronics","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x10910;points=[[0.768,0.197,0],[0.768,1,0]]",181.3,93.44,"","X10910 Proportional flow-control valve, pilot-operated, with position control of the main and pilot stage, integrated electronics",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10910 proportional flow control valve pilot operated with position control of the main and pilot stage integrated electronics","").join(" ")),this.createVertexTemplateEntry(a+"x10920;points=[[0.77,0,0],[0.77,0.673,0]]",60.4,110.94,"","X10920 Adjustable-orifice flow-control valve using a proportional solenoid that is not affected by changes in viscosity",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x10920 adjustable orifice flow control valve using a proportional solenoid that is not affected by changes in viscosity","").join(" ")),this.createVertexTemplateEntry(a+"x10930;points=[[0.335,1,0],[1,0.6,0]]",56.1,93.28,"","X10930 Pressure-control and directional control valve cartridge, poppet design, area ratio 1:1",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10930","").join(" ")),this.createVertexTemplateEntry(a+"x10940;points=[[0.335,1,0],[1,0.6,0]]",\r\n56.1,93.28,"","X10940 Pressure-control and directional control valve cartridge, poppet design, normally open, area ratio 1:1",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10940 pressure control and directional control valve cartridge poppet design normally open area ratio","").join(" ")),this.createVertexTemplateEntry(a+"x10950;points=[[0.335,1,0],[1,0.6,0]]",56.1,93.28,"","X10950 Directional control valve cartridge, poppet design, with throttle nose, area ratio <= 0,7",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x10950 directional control valve cartridge poppet design with throttle nose area ratio","").join(" ")),this.createVertexTemplateEntry(a+"x10960;points=[[0.335,1,0],[1,0.6,0]]",56.1,93.28,"","X10960 Directional control valve cartridge, poppet design, with throttle nose, area ratio > 0,7",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10960 directional control valve cartridge poppet design with throttle nose area ratio","").join(" ")),this.createVertexTemplateEntry(a+"x10970;points=[[0.335,1,0],[1,0.6,0]]",\r\n56.1,93.28,"","X10970 Directional control valve cartridge, poppet design, area ratio <= 0,7",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10970 directional control valve cartridge poppet design area ratio","").join(" ")),this.createVertexTemplateEntry(a+"x10980;points=[[0.335,1,0],[1,0.6,0]]",56.1,93.28,"","X10980 Directional control valve cartridge, poppet design, area ratio < 0,7",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10980 directional control valve cartridge poppet design area ratio",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x10990;points=[[0.37,1,0],[1,0.39,0],[0.878,0.653,0]]",74.36,107.38,"","X10990 Active-control, directional control valve cartridge, poppet design, opened by pilot pressure",null,null,this.getTagsForStencil("mxgraph.fluid_power","x10990 active control directional control valve cartridge poppet design opened by pilot pressure","").join(" ")),this.createVertexTemplateEntry(a+"x11000;points=[[0.37,1,0],[1,0.39,0],[0.878,0.653,0]]",74.36,107.38,"","X11000 Active-control, directional control valve cartridge without area difference on side B",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11000 active control directional control valve cartridge without area difference on side","").join(" ")),this.createVertexTemplateEntry(a+"x11010;points=[[0.335,1,0],[1,0.6,0]]",56.06,93.2,"","X11010 Directional control valve cartridge, non-return function, poppet design, internal pilot supply, with replaceable orifice (restrictor)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11010 directional control valve cartridge non return function poppet design internal pilot supply with replaceable orifice restrictor",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11020;points=[[0.33,1,0],[1,0.5,0]]",56.06,93.2,"","X11020 Cartridge for pressure-relief and limitation functions, spool design, normally closed",null,null,this.getTagsForStencil("mxgraph.fluid_power","x110020 cartridge for pressure relief and limitation functions spool design normally closed","").join(" ")),this.createVertexTemplateEntry(a+"x11030;points=[[0.33,1,0],[1,0.5,0]]",56.06,93.2,"","X11030 Pressure-reducing valve cartridge, spool design, normally closed, with integrated non-return valve",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11030 pressure reducing valve cartridge spool design normally closed with integrated non return valve","").join(" ")),this.createVertexTemplateEntry(a+"x11040;points=[[0.33,1,0],[1,0.6,0]]",56.12,93.2,"","X11040 Pressure-reducing valve cartridge, spool design, normally open, with integrated non-return valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11040 pressure reducing valve cartridge spool design normally open with integrated non return valve",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11050;",296.94,55.52,"","X11050 Control cover without ports",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11050 control cover without ports","").join(" ")),this.createVertexTemplateEntry(a+"x11060;points=[[0.061,1,0],[0.499,0.75,0]]",296.94,74.78,"","X11060 Control cover with pilot port",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11060 control cover with pilot port","").join(" ")),this.createVertexTemplateEntry(a+"x11070;points=[[0.13,1,0],[0.497,0.84,0]]",\r\n355.5,115.12,"","X11070 Control cover with pilot port, with adjustable stroke limiter and remote-control port",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11070 control cover with pilot port with adjustable stroke limiter and remote control port","").join(" ")),this.createVertexTemplateEntry(a+"x11080;points=[[0.062,1,0],[0.187,1,0],[0.5,0.76,0],[0.814,1,0],[0.937,1,0]]",296.94,74.92,"","X11080 Control cover for mounting additional elements",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x11080 control cover for mounting additional elements","").join(" ")),this.createVertexTemplateEntry(a+"x11090;points=[[0.062,1,0],[0.187,1,0],[0.5,0.875,0],[0.814,1,0]]",296.94,148.92,"","X11090 Control cover with hydraulically controlled shuttle valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11090 control cover with hydraulically controlled shuttle valve","").join(" ")),this.createVertexTemplateEntry(a+"x11100;points=[[0.062,1,0],[0.187,1,0],[0.5,0.875,0],[0.814,1,0]]",296.94,\r\n148.92,"","X11100 Control cover with shuttle valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11100 control cover with shuttle valve","").join(" ")),this.createVertexTemplateEntry(a+"x11110;points=[[0.062,1,0],[0.187,1,0],[0.5,0.875,0],[0.814,1,0],[0.94,1,0]]",296.94,149.48,"","X11110 Control cover with shuttle valve for mounting additional elements",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11110 control cover with shuttle valve for mounting additional elements","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"x11120;points=[[0.062,1,0],[0.187,1,0],[0.5,0.86,0],[0.94,1,0]]",296.94,130.8,"","X11120 Control cover with pressure-relief function",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11120 control cover with pressure-relief function","").join(" ")),this.createVertexTemplateEntry(a+"x11130;points=[[0.062,1,0],[0.187,1,0],[0.5,0.88,0],[0.94,1,0]]",296.94,148.92,"","X11130 Control cover with pressure-relief function and hydraulic unloading",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x11130 control cover with pressure relief function and hydraulic unloading","").join(" ")),this.createVertexTemplateEntry(a+"x11140;points=[[0.062,1,0],[0.187,1,0],[0.5,0.88,0],[0.94,1,0]]",296.94,148.92,"","X11140 Control cover with pressure-relief function with a flow-control valve for limiting the pilot flow",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11140 control cover with pressure-relief function with a flow-control valve for limiting the pilot flow","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x11150;points=[[0,0.307,0],[0.13,0.61,0],[0.497,1,0],[0.603,0.803,0]]",355.5,189.12,"","X11150 Two-port cartridge valve with stroke limiter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11150 two port cartridge valve with stroke limiter","").join(" ")),this.createVertexTemplateEntry(a+"x11160;points=[[0.062,0.733,0],[0.188,0.733,0],[0.5,1,0],[0.627,0.867,0],[0.812,0.733,0],[0.937,0.733,0]]",297.1,278.88,"","X11160 Two-port cartridge valve with builtin directional control valve",null,\r\nnull,this.getTagsForStencil("mxgraph.fluid_power","x11160 two port cartridge valve with builtin directional control valve","").join(" ")),this.createVertexTemplateEntry(a+"x11170;points=[[0.062,0.867,0],[0.5,1,0],[0.627,0.867,0],[0.937,0.867,0]]",297.1,278.88,"","X11170 Two-port cartridge valve with active control, with built-in directional control valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11170 two port cartridge valve with active control with built-in directional control valve",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11180;points=[[0,0.25,0],[0.543,1,0],[0.656,0.748,0],[0.943,0.58,0],[0.257,0.58,0]]",325.1,223.22,"","X11180 Two-port cartridge valve with pressure-relief function",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11180 two port cartridge valve with pressure relief function","").join(" ")),this.createVertexTemplateEntry(a+"x11190;points=[[0,0.624,0],[1,0.624,0],[0.5,1,0],[0.607,0.873,0],[0.86,0.79,0],[0.868,0.79,0]]",353.02,446.62,"","X11190 Two-port cartridge valve with pressure-relief function and selectable second pressure stage",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11190 two port cartridge valve with pressure relief function and selectable second pressure stage","").join(" ")),this.createVertexTemplateEntry(a+"x11200;points=[[0,0.5,0],[1,0.5,0],[0.5,1,0],[0.606,0.832,0],[0.868,0.722,0]]",353.02,334.82,"","X11200 Two-port cartridge valve with proportional pressure adjustment and manual maximum pressure relief function",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11200 two port cartridge valve with proportional pressure adjustment and manual maximum pressure relief function",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11210;points=[[0,0.843,0],[0.5,1,0],[0.936,0.693,0]]",297.38,241.7,"","X11210 Two-port cartridge valve with pressure-reducing function and flow-control valve, controlled by high pressure",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11210 two port cartridge valve with pressure reducing function and flow control valve controlled by high pressure","").join(" ")),this.createVertexTemplateEntry(a+"x11220;points=[[0.5,1,0],[0.625,0.784,0],[0.937,0.643,0]]",\r\n297.38,260.58,"","X11220 Two-port cartridge valve with pressure-reducing function, controlled by low pressure",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11220 two port cartridge valve with pressure reducing function controlled by low pressure","").join(" ")),this.createVertexTemplateEntry(a+"x11230;points=[[0.5,0,0],[0.5,1,0]]",84.54,93.94,"","X11230 Variable-displacement pump and one direction of rotation (clockwise)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11230 variable displacement pump and one direction of rotation clockwise",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11240;points=[[0.567,0,0],[0.567,1,0],[0.95,1,0]]",97.7,93.94,"","X11240 Variable-displacement pump with two directions of flow, external drain line, and one direction of rotation (clockwise)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11240 variable displacement pump with two directions of flow external drain line and one direction of rotation clockwise","").join(" ")),this.createVertexTemplateEntry(a+"x11250;points=[[0.567,0,0],[0.567,1,0],[0.95,1,0]]",\r\n97.7,93.94,"","X11250 Reversible pump/motor unit with two directions of flow and variable displacement, external drain line, and two directions of rotation",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11250 reversible pump motor unit with two directions of flow and variable displacement external drain line and two directions of rotation","").join(" ")),this.createVertexTemplateEntry(a+"x11260;points=[[0.57,0,0],[0.57,1,0]]",96.84,93.94,"","X11260 Fixed displacement pump/motor unit with one direction of rotation (clockwise)",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11260 fixed displacement pump motor unit with one direction of rotation clockwise","").join(" ")),this.createVertexTemplateEntry(a+"x11270;points=[[1,0.25,0],[1,0.75,0]]",84.6,55.74,"","X11270 Pump with a limited swivel angle, lever-operated",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11270 pump with a limited swivel angle lever operated","").join(" ")),this.createVertexTemplateEntry(a+"x11280;points=[[0,0.25,0],[0,0.75,0]]",74.62,\r\n55.74,"","X11280 Rotary actuator/swivel drive with a limited swivel angle and two directions of flow",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11280 rotary actuator swivel drive with a limited swivel angle and two directions of flow","").join(" ")),this.createVertexTemplateEntry(a+"x11290;points=[[0.053,0.25,0]]",78.82,55.74,"","X11290 Semi-rotary actuator/swivel drive, single-acting",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11290 semi rotary actuator swivel drive single acting",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11300;points=[[0.03,0.895,0],[0.742,0,0],[0.742,0.815,0],[0.871,0.833,0]]",287.96,229.08,"","X11300 Variable-displacement pump, pilot-operated, with pressure compensation, one direction of rotation (clockwise) and an external drain line",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11300 variable displacement pump pilot operated with pressure compensation one direction of rotation clockwise and an external drain line","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x11310;points=[[0.03,0.91,0],[0.75,0,0],[0.75,0.98,0],[0.874,1,0]]",297.6,266.18,"","X11310 Variable-displacement pump with combined pressure/flow control (load-sensing type), one drive direction (clockwise) and an external drain line",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11310 variable displacement pump with combined pressure flow control load sensing type, one drive direction clockwise and an external drain line","").join(" ")),this.createVertexTemplateEntry(a+"x11320;points=[[0.575,0,0],[0.575,1,0],[0.79,0.93,0]]",\r\n176.78,205.22,"","X11320 Variable-displacement pump with mechanical/hydraulic servo-control, one drive direction (counter-clockwise) and an external drain line",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11320 variable displacement pump with mechanical hydraulic servo control, one drive direction counter clockwise and an external drain line","").join(" ")),this.createVertexTemplateEntry(a+"x11330;points=[[0.575,0,0],[0.575,1,0],[0.79,0.93,0]]",176.78,205.22,"","X11330 Variable-displacement hydraulic pump with electro-hydraulic servo control, one drive direction (counter-clockwise) and an external drain line",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11330 variable displacement hydraulic pump with electro hydraulic servo control one drive direction counter clockwise and an external drain line","").join(" ")),this.createVertexTemplateEntry(a+"x11340;points=[[0.6,0,0],[0.6,1,0],[0.8,1,0]]",185.84,205.22,"","X11340 Variable-displacement pump with power control, one drive direction (clockwise) and an external drain line",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11340 variable displacement pump with power control one drive direction clockwise and an external drain line",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11350;points=[[0.69,0,0],[0.69,0.98,0],[0.845,1,0]]",241.56,209.6,"","X11350 Variable-displacement pump with a two-stage adjustable stroke limited pressure/flow control, internal pilot-operated, one drive direction (clockwise) and an external drain line",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11350 variable displacement pump with a two stage adjustable stroke limited pressure flow control internal pilot operated one drive direction clockwise and an external drain line",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11360;points=[[0.75,0,0],[0.75,0.982,0],[0.875,1,0]]",297.38,246.66,"","X11360 Variable-displacement pump with a two-stage adjustable limited-stroke pressure/flow-control element, electrical switchover, one drive direction (clockwise) and an external drain line",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11360","").join(" ")),this.createVertexTemplateEntry(a+"x11370;points=[[0.5,0,0],[0.5,1,0]]",222.58,167.82,"","X11370 Hydrostatic transmission (simplified representation), drive unit consisting of one reversible, variable-displacement pump with one input direction of rotation and one fixed displacement motor with two output directions of rotation",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11370 hydrostatic transmission simplified representation drive unit consisting of one reversible variable displacement pump with one input direction of rotation and one fixed displacement motor with two output directions of rotation","").join(" ")),this.createVertexTemplateEntry(a+"x11380;points=[[0.645,0,0],[0.645,0.74,0]]",122.38,125.68,"","X11380 Variable-displacement pump with one drive direction (clockwise)",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x11380 variable displacement pump with one drive direction clockwise","").join(" ")),this.createVertexTemplateEntry(a+"x11390;points=[[0.334,0,0],[0.334,1,0]]",83.38,92.9,"","X11390 Motor",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11390 motor","").join(" ")),this.createVertexTemplateEntry(a+"x11400;points=[[0.666,0,0],[0.666,1,0]]",83.22,93.94,"","X11400 Compressor",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11400 compressor","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x11410;points=[[0.387,0,0],[0.387,1,0]]",105.9,92.9,"","X11410 Motor with alternate directions of flow, fixed displacement and two directions of rotation",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11410 motor with alternate directions of flow fixed displacement and two directions of rotation","").join(" ")),this.createVertexTemplateEntry(a+"x11420;points=[[0.665,0,0],[0.665,1,0]]",83.5,92.9,"","X11420 Vacuum pump",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11420 vacuum pump",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11430;points=[[0,0.375,0],[1,0.375,0],[0.4,0.99,0],[0.6,1,0]]",93.94,74.72,"","X11430 Pressure intensifier, continuous, which converts a pneumatic pressure p1 into a higher hydraulic pressure p2",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11430 pressure intensifier continuous which converts a pneumatic pressure p1 into a higher hydraulic pressure p2","").join(" ")),this.createVertexTemplateEntry(a+"x11440;points=[[0.04,1,0],[0.707,1,0]]",\r\n111.42,56.04,"","X11440 Single-acting, single-rod cylinder, return stroke by spring force, spring chamber with connection",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11440 single acting single rod cylinder return stroke by spring force spring chamber with connection","").join(" ")),this.createVertexTemplateEntry(a+"x11450;points=[[0.04,1,0],[0.707,1,0]]",111.42,56.04,"","X11450 Double-acting, single-rod cylinder",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11450 double acting single rod cylinder",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11460;points=[[0.427,1,0],[0.81,1,0]]",195.04,73.56,"","X11460 Double-acting, double-rod cylinder, with different piston-rod diameters; cushioning on both sides with adjustment on right side only",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11460 double acting double rod cylinder with different piston rod diameters cushioning on both sides with adjustment on right side only","").join(" ")),this.createVertexTemplateEntry(a+"x11470;points=[[0.28,1,0],[0.76,1,0]]",\r\n155.38,60.64,"","X11470 Double-acting diaphragm cylinder with preset stroke limiter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11470 double acting diaphragm cylinder with preset stroke limiter","").join(" ")),this.createVertexTemplateEntry(a+"x11480;points=[[0.53,1,0]]",149.12,56.04,"","X11480 Single-acting diaphragm cylinder with cushioning on rod end, vented cap end without the possibility of a connection",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11480 single acting diaphragm cylinder with cushioning on rod end vented cap end without the possibility of a connection",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11490;points=[[0.047,1,0]]",102.14,65.4,"","X11490 Single-acting cylinder, plunger cylinder",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11490 single acting cylinder plunger cylinder","").join(" ")),this.createVertexTemplateEntry(a+"x11500;points=[[0.025,1,0]]",171.96,65.4,"","X11500 Telescopic cylinder, single-acting",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11500 telescopic cylinder single a0cting","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x11510;points=[[0.03,1,0],[0.53,1,0],[0.78,1,0]]",148.52,65.34,"","X11510 Telescopic cylinder, double-acting",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11510 telescopic cylinder double acting","").join(" ")),this.createVertexTemplateEntry(a+"x11520;points=[[0.05,1,0],[0.94,1,0]]",83.5,65.44,"","X11520 Double-acting band-type rodless cylinder with end-position cushioning on both sides of the piston",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11520 double acting band type rodless cylinder with end position cushioning on both sides of the piston",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11530;points=[[0.05,1,0],[0.94,1,0]]",83.5,73.8,"","X11530 Double-acting cable-type rodless cylinder with adjustable end-position cushioning on both sides of the piston",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11530 double acting cable type rodless cylinder with adjustable end position cushioning on both sides of the piston","").join(" ")),this.createVertexTemplateEntry(a+"x11540;points=[[0.04,1,0],[0.705,1,0]]",111.46,84.14,"","X11540 Double-acting magnetic-type rodless cylinder with position switch on right-hand end only",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11540 double acting magnetic type rodless cylinder with position switch on right hand end only","").join(" ")),this.createVertexTemplateEntry(a+"x11550;points=[[0.04,1,0],[0.705,1,0]]",111.44,56.12,"","X11550 Double-acting cylinder with detents at both ends of the stroke",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11550 double acting cylinder with detents at both ends of the stroke","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x11560;points=[[0.34,1,0],[0.66,1,0]]",232.08,83.92,"","X11560 Double-acting cylinder, double rod, with internal limit switch on the left end, with internal mechanical control, external limit switch on the right end, tripped by the piston rod",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11560 double acting cylinder double rod with internal limit switch on the left end with internal mechanical control external limit switch on the right end tripped by the piston rod","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x11570;points=[[0.027,1,0],[0.477,1,0]]",164.9,104.24,"","X11570 Pressure-medium converter, single-acting, which converts a pneumatic pressure into a hydraulic pressure of the same value",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11570 pressure medium converter single acting which converts a pneumatic pressure into a hydraulic pressure of the same value","").join(" ")),this.createVertexTemplateEntry(a+"x11580;points=[[0.053,1,0],[0.94,1,0]]",83.48,55.9,"","X11580 Pressure intensifier, single-acting, which converts a pneumatic pressure p1 into a higher hydraulic pressure p2",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11580 pressure intensifier single acting which converts a pneumatic pressure p1 into a higher hydraulic pressure p2","").join(" ")),this.createVertexTemplateEntry(a+"x11590;points=[[0.053,1,0],[0.94,1,0]]",83.48,72.06,"","X11590 Pressure intensifier, single-acting, which converts a pneumatic pressure p1 into a higher hydraulic pressure p2",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11590 pressure intensifier single acting which converts a pneumatic pressure p1 into a higher hydraulic pressure p2",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11600;points=[[0.5,1,0]]",75.04,56,"","X11600 Bellows cylinder",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11600 bellows cylinder","").join(" ")),this.createVertexTemplateEntry(a+"x11610;points=[[0,0.5,0]]",93.38,38.14,"","X11610 Hose cylinder",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11610 hose cylinder","").join(" ")),this.createVertexTemplateEntry(a+"x11620;points=[[0,0.25,0],[0,0.55,0],[0.55,1,0],[0.863,1,0]]",236.94,\r\n93.28,"","X11620 Semi-rotary linear drive, double-acting with permanent magnet on the piston",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11620 semi rotary linear drive double acting with permanent magnet on the piston","").join(" ")),this.createVertexTemplateEntry(a+"x11630;points=[[0.05,1,0],[0.65,1,0]]",92.94,55.82,"","X11630 Gripper, double-acting with permanent magnet on piston",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11630 gripper double acting with permanent magnet on piston",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11640;points=[[0.05,1,0],[0.65,1,0]]",92.94,55.82,"","X11640 Gripper, double-acting with permanent magnet on piston",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11640 gripper double acting with permanent magnet on piston","").join(" ")),this.createVertexTemplateEntry(a+"x11650;points=[[0.05,1,0]]",92.94,55.82,"","X11650 Gripper, single-acting with permanent magnet on piston",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11650 gripper single acting with permanent magnet on piston",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11660;points=[[0.65,1,0]]",92.94,55.82,"","X11660 Gripper, single-acting with permanent magnet on piston",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11660 gripper single acting with permanent magnet on piston","").join(" ")),this.createVertexTemplateEntry(a+"x11670;points=[[0,0.1,0],[1,0.1,0],[0.037,0,0],[0.963,0,0]]",40.06,13.36,"","X11670 Hose assembly",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11670 Hose assembly","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"x11680;points=[[0,0.27,0],[0,0.64,0],[0,1,0],[1,0.27,0],[1,0.64,0],[1,1,0]]",93.66,50.86,"","X11680 Three-way rotary connection",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11680 three way rotary connection","").join(" ")),this.createVertexTemplateEntry(a+"x11690;points=[[0.5,0,0],[0.5,1,0]]",18.98,102.78,"","X11690 Quick-action coupling without non-return valve, uncoupled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11690 quick action coupling without non return valve uncoupled",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11700;points=[[0.5,0,0],[0.5,1,0]]",18.98,102.78,"","X11700 Quick-action coupling with non-return valve, uncoupled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11700 quick action coupling with non return valve uncoupled","").join(" ")),this.createVertexTemplateEntry(a+"x11710;points=[[0.5,0,0],[0.5,1,0]]",18.98,102.86,"","X11710 Quick-action coupling with two non-return valves, uncoupled",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x11710 quick action coupling with two non return valves uncoupled","").join(" ")),this.createVertexTemplateEntry(a+"x11720;points=[[0.5,0,0],[0.5,1,0]]",18.98,93.78,"","X11720 Quick-action coupling without non-return valve, coupled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11720 quick action coupling without non return valve coupled","").join(" ")),this.createVertexTemplateEntry(a+"x11730;points=[[0.5,0,0],[0.5,1,0]]",18.98,93.78,"","X11730 Quick-action coupling with one non-return valve, coupled",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11730 quick action coupling with one non return valve coupled","").join(" ")),this.createVertexTemplateEntry(a+"x11740;points=[[0.5,0,0],[0.5,1,0]]",18.98,93.78,"","X11740 Quick-action coupling with two non-return valves, coupled",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11740 quick action coupling with two non return valves coupled","").join(" ")),this.createVertexTemplateEntry(a+"x11750;points=[[0,0.58,0]]",70.4,42.74,"","X11750 Pressure switch, electro-mechanical, adjustable",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11750 pressure switch electro mechanical adjustable","").join(" ")),this.createVertexTemplateEntry(a+"x11760;points=[[0.4,0,0],[0,0.7,0]]",46.82,47.12,"","X11760 Pressure converter electronically adjustable switching signal output",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11760 pressure converter electronically adjustable switching signal output","").join(" ")),this.createVertexTemplateEntry(a+"x11770;points=[[0,0.5,0]]",46.82,\r\n27.96,"","X11770 Pressure sensor, analogue output signal",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11770 pressure sensor analogue output signal","").join(" ")),this.createVertexTemplateEntry(a+"x11780;points=[[0,0,0],[0.5,0,0],[1,0,0],[1,0.5,0],[1,1,0],[0.5,1,0],[0,1,0],[0,0.5,0]]",27.76,18.56,"","X11780 Piezo-electric control mechanism",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11780 piezo electric control mechanism","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x11790;points=[[0,0,0],[0.5,0,0],[1,0,0],[1,0.5,0],[1,1,0],[0.5,1,0],[0,1,0],[0,0.5,0]]",46.12,27.74,"","X11790 Optical indicator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11790 optical indicator","").join(" ")),this.createVertexTemplateEntry(a+"x11800;points=[[0,0,0],[0.5,0,0],[1,0,0],[1,0.5,0],[1,1,0],[0.5,1,0],[0,1,0],[0,0.5,0]]",46.12,27.74,"","X11800 Indicator with digital display",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11800 indicator with digital display",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11810;points=[[0,0,0],[0.5,0,0],[1,0,0],[1,0.5,0],[1,1,0],[0.5,1,0],[0,1,0],[0,0.5,0]]",46.12,27.74,"","X11810 Acoustic indicator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11810 acoustic indicator","").join(" ")),this.createVertexTemplateEntry(a+"x11820;points=[[0.5,1,0]]",37.34,56.1,"","X11820 Pressure-measuring unit (pressure gauge)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11820 pressure measuring unit pressure gauge",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11830;points=[[0.5,0,0],[0.5,1,0]]",37.34,74.76,"","X11830 Differential-pressure gauge",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11830 differential pressure gauge","").join(" ")),this.createVertexTemplateEntry(a+"x11840;points=[[0.07,0.485,0],[1,0.145,0],[1,0.315,0],[1,0.485,0],[1,0.66,0],[1,0.83,0],[1,1,0]]",100.4,108.54,"","X11840 Pressure gauge with select function",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11840 pressure gauge with select function",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11850;points=[[0.5,1,0]]",37.34,56.18,"","X11850 Thermometer",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11850 thermometer","").join(" ")),this.createVertexTemplateEntry(a+"x11860;points=[[0.57,0,0],[0.28,1,0]]",64.96,70.58,"","X11860 Thermometer with two adjustable electrical break-contacts (contact thermometer)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11860 thermometer with two adjustable electrical break contacts contact thermometer",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11870;points=[[0.5,1,0]]",37.44,56.18,"","X11870 Fluid-level indicator (sight-glass)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11870 fluid level indicator sight glass","").join(" ")),this.createVertexTemplateEntry(a+"x11880;points=[[0.28,1,0]]",65.32,56.18,"","X11880 Fluid-level switch with four break-contacts",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11880 fluid level switch with four break contacts","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"x11890;points=[[0.225,1,0]]",83.86,65.24,"","X11890 Electrical fluid-level monitor with analogue output signal and digital display",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11890 electrical fluid level monitor with analogue output signal and digital display","").join(" ")),this.createVertexTemplateEntry(a+"x11900;points=[[0.5,1,0]]",37.34,56.18,"","X11900 Flow indicator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11900 flow indicator",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11910;points=[[0.5,0,0],[0.5,1,0]]",37.34,75.04,"","X11910 Flow meter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11910 flow meter","").join(" ")),this.createVertexTemplateEntry(a+"x11920;points=[[0.22,0,0],[0.22,1,0]]",83.76,75.04,"","X11920 Flow meter with digital display",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11920 flow meter with digital display","").join(" ")),this.createVertexTemplateEntry(a+"x11930;points=[[0,0.375,0],[0,0.625,0]]",\r\n56.28,37.42,"","X11930 Tachometer",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11930 tachometer","").join(" ")),this.createVertexTemplateEntry(a+"x11940;points=[[0,0.37,0],[0,0.62,0],[1,0.37,0],[1,0.62,0]]",74.94,37.42,"","X11940 Torque meter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11940 torque meter","").join(" ")),this.createVertexTemplateEntry(a+"x11950;points=[[0,0,0],[0.5,0,0],[1,0,0],[1,0.5,0],[1,1,0],[0.5,1,0],[0,1,0],[0,0.5,0]]",46.22,27.82,"","X11950 Time controller with switch",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x11950 time controller with switch","").join(" ")),this.createVertexTemplateEntry(a+"x11960;points=[[0,0.5,0]]",55.82,37.14,"","X11960 Counter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11960 counter","").join(" ")),this.createVertexTemplateEntry(a+"x11970;points=[[0,0.29,0],[1,0.145,0],[0.893,1,0]]",177.28,64.66,"","X11970 In-line particle counter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11970 in line particle counter",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x11980;points=[[0.5,0,0],[0.5,1,0]]",52.44,90.12,"","X11980 Filter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11980 filter","").join(" ")),this.createVertexTemplateEntry(a+"x11990;points=[[0.5,0,0],[0.5,1,0]]",52.44,95.62,"","X11990 Reservoir-breather filter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x11990 reservoir breather filter","").join(" ")),this.createVertexTemplateEntry(a+"x12000;points=[[0.5,0,0],[0.5,1,0]]",52.44,\r\n90.12,"","X12000 Filter with additional magnetic element",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12000 filter with additional magnetic element","").join(" ")),this.createVertexTemplateEntry(a+"x12010;points=[[0.255,0.045,0],[0.255,1,0]]",102.7,94.52,"","X12010 Filter with optical clogging indicator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12010 filter with optical clogging indicator","").join(" ")),this.createVertexTemplateEntry(a+"x12020;points=[[0.28,0.09,0],[0.28,1,0]]",\r\n93.86,99.22,"","X12020 Filter with pressure-measuring instrument",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12020 filter with pressure measuring instrument","").join(" ")),this.createVertexTemplateEntry(a+"x12030;points=[[0.62,0,0],[0.62,1,0]]",97.4,126.02,"","X12030 Filter with a throttled bypass flow",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12030 Filter with a throttled bypass flow","").join(" ")),this.createVertexTemplateEntry(a+"x12040;points=[[0.68,0,0],[0.68,1,0]]",\r\n122.92,147,"","X12040 Filter with bypass valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12040 filter with bypass valve","").join(" ")),this.createVertexTemplateEntry(a+"x12050;points=[[0.445,0,0],[0.445,1,0]]",187.68,147,"","X12050 Filter with bypass valve and digital indicator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12050 filter with bypass valve and digital indicator","").join(" ")),this.createVertexTemplateEntry(a+"x12060;points=[[0.34,0,0],[0.34,1,0]]",246.26,\r\n147,"","X12060 Filter with bypass valve with optical clogging indicator and electrical contact",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12060 filter with bypass valve with optical clogging indicator and electrical contact","").join(" ")),this.createVertexTemplateEntry(a+"x12070;points=[[0.225,0,0],[0.225,1,0]]",116.84,128.54,"","X12070 Filter with optical clogging indicator based on differential pressure",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12070 filter with optical clogging indicator based on differential pressure",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x12080;points=[[0.167,0,0],[0.167,1,0]]",156.32,128.54,"","X12080 Filter with pressure-measuring instrument and electrical contact",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12080 filter with pressure measuring instrument and electrical contact","").join(" ")),this.createVertexTemplateEntry(a+"x12090;points=[[0,0.5,0],[1,0.5,0]]",90.42,52.4,"","X12090 Centrifugal separator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12090 centrifugal separator",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x12100;points=[[0,0.365,0],[1,0.365,0],[0.5,1,0]]",90.42,71.26,"","X12100 Coalescing filter with automatic drain",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12100 coalescing filter with automatic drain","").join(" ")),this.createVertexTemplateEntry(a+"x12110;points=[[0,0.543,0],[1,0.543,0],[0.5,1,0]]",90.42,99.1,"","X12110 Coalescing filter with manual drain and clogging indicator",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x12110 coalescing filter with manual drain and clogging indicator","").join(" ")),this.createVertexTemplateEntry(a+"x12120;points=[[0,0.5,0],[1,0.5,0]]",90.42,52.4,"","X12120 Two-phase separator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12120 two phase separator","").join(" ")),this.createVertexTemplateEntry(a+"x12130;points=[[0,0.5,0],[1,0.5,0]]",90.42,52.4,"","X12130 vacuum separator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12130 vacuum separator","").join(" ")),\r\nthis.createVertexTemplateEntry(a+"x12140;points=[[0,0.5,0],[1,0.5,0]]",90.42,52.4,"","X12140 Electrostatic separator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12140 electrostatic separator","").join(" ")),this.createVertexTemplateEntry(a+"x12150;points=[[0,0.43,0],[1,0.43,0],[0.335,1,0]]",195.82,128.7,"","X12150 Filter with manual drain, regulator with manual adjustment, nonrelieving, without pressure gauge",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12150 filter with manual drain regulator with manual adjustment nonrelieving without pressure gauge",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x12160_detailed;points=[[0,0.505,0],[1,0.505,0],[0.236,1,0]]",316.36,147.46,"","X12160 Air conditioning unit (FRL unit), consisting of a filter with manual drain, a pressure-relieving pressure regulator with manual adjustment, a pressure gauge and a lubricator (detailed)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12160 air conditioning unit frl unit consisting of filter with manual drain pressure relieving pressure regulator with manual adjustment pressure gauge and lubricator detailed",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x12160_simplified;points=[[0,0.5,0],[1,0.5,0]]",130.68,55.78,"","X12160 Air conditioning unit (FRL unit), consisting of a filter with manual drain, a pressure-relieving pressure regulator with manual adjustment, a pressure gauge and a lubricator (simplified)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12160 air conditioning unit frl unit consisting of filter with manual drain pressure relieving pressure regulator with manual adjustment pressure gauge and lubricator simplified",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x12170;points=[[0.5,0,0],[0.5,1,0]]",162.34,192.78,"","X12170 Double filter with manual changeover feature",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12170 double filter with manual changeover feature","").join(" ")),this.createVertexTemplateEntry(a+"x12180;points=[[0,0.33,0],[1,0.33,0],[0.5,1,0]]",90.42,78.68,"","X12180 Fluid separator with manual drain",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12180 fluid separator with manual drain",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x12190;points=[[0,0.33,0],[1,0.33,0],[0.5,1,0]]",90.42,78.68,"","X12190 Filter with separator with manual drain",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12190 filter with separator with manual drain","").join(" ")),this.createVertexTemplateEntry(a+"x12200;points=[[0,0.365,0],[1,0.365,0],[0.5,1,0]]",90.42,71.34,"","X12200 Fluid separator with automatic drain",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12200 fluid separator with automatic drain",\r\n"").join(" ")),this.createVertexTemplateEntry(a+"x12210;points=[[0,0.365,0],[1,0.365,0],[0.5,1,0]]",90.42,71.34,"","X12210 Adsorber filter",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12210 adsorber filter","").join(" ")),this.createVertexTemplateEntry(a+"x12220;points=[[0,0.365,0],[1,0.365,0],[0.5,1,0]]",90.42,71.34,"","X12220 Oil mist separator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12220 oil mist separator","").join(" ")),this.createVertexTemplateEntry(a+"x12230;points=[[0,0.365,0],[1,0.365,0],[0.5,1,0]]",\r\n90.42,71.34,"","X12230 Air dryer",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12230 air dryer","").join(" ")),this.createVertexTemplateEntry(a+"x12240;points=[[0,0.5,0],[1,0.5,0]]",111.7,52.4,"","X12240 Lubricator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12240 lubricator","").join(" ")),this.createVertexTemplateEntry(a+"x12250;points=[[0,0.33,0],[1,0.33,0],[0.5,1,0]]",90.42,78.68,"","X12250 Lubricator with manual drain",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x12250 lubricator with manual drain","").join(" ")),this.createVertexTemplateEntry(a+"x12260;points=[[0.5,0,0],[0.5,1,0]]",52.44,99.6,"","X12260 cooler without indication of the flow paths of the coolant",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12260 cooler without indication of the flow paths of the coolant","").join(" ")),this.createVertexTemplateEntry(a+"x12270;points=[[0.302,0,0],[0.302,1,0],[1,0.41,0],[1,0.595,0]]",87,99.6,"","X12270 Cooler with liquid coolant",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x12270 cooler with liquid coolant","").join(" ")),this.createVertexTemplateEntry(a+"x12280;points=[[0.791,0,0],[0.791,1,0]]",211.14,130.4,"","X12280 Cooler with electrically powered fan",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12280 cooler with electrically powered fan","").join(" ")),this.createVertexTemplateEntry(a+"x12290;points=[[0.5,0,0],[0.5,1,0]]",52.44,99.6,"","X12290 Heater",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12290 heater","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x12300;points=[[0,0.5,0],[1,0.5,0]]",99.6,52.56,"","X12300 Temperature regulator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12300 temperature regulator","").join(" ")),this.createVertexTemplateEntry(a+"x12310;points=[[0,0.365,0],[1,0.365,0],[0.5,1,0]]",111.7,71.36,"","X12310 Reclassifier with manual drain",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12310 reclassifier with manual drain","").join(" ")),this.createVertexTemplateEntry(a+"x12320;points=[[0.5,1,0]]",37.06,\r\n92.92,"","X12320 Gas-loaded accumulator in which the media are separated by a diaphragm (diaphragm-type accumulator)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12320 gas loaded accumulator in which the media are separated by diaphragm type accumulator)","").join(" ")),this.createVertexTemplateEntry(a+"x12330;points=[[0.5,1,0]]",37.06,92.92,"","X12330 Gas-loaded accumulator in which the media are separated by a bladder (bladder-type accumulator)",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x12330 gas loaded accumulator in which the media are separated by a bladder type accumulator","").join(" ")),this.createVertexTemplateEntry(a+"x12340;points=[[0.5,1,0]]",37.06,92.92,"","X12340 Gas-loaded accumulator in which the media are separated by a piston and piston bladder (piston-type accumulator)",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12340 gas loaded accumulator in which the media are separated by a piston and piston bladder piston type accumulator","").join(" ")),this.createVertexTemplateEntry(a+\r\n"x12350;points=[[0.5,1,0]]",37.06,92.92,"","X12350 Gas bottle",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12350 gas bottle","").join(" ")),this.createVertexTemplateEntry(a+"x12360;points=[[0.17,1,0]]",108.88,111.84,"","X12360 Piston-type accumulator with back-up bottle",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12360 piston type accumulator with back up bottle","").join(" ")),this.createVertexTemplateEntry(a+"x12370;points=[[0,0.5,0],[1,0.5,0]]",112.54,37.14,"","X12370 Air reservoir",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x12370 air reservoir","").join(" ")),this.createVertexTemplateEntry(a+"x12380;points=[[0,0.335,0],[1,0.335,0],[0.5,1,0]]",112.26,55.92,"","X12380 Vacuum generator",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12380 vacuum generator","").join(" ")),this.createVertexTemplateEntry(a+"x12390;points=[[0,0.18,0],[1,0.18,0],[0.5,1,0]]",112.26,102.36,"","X12390 Single stage vacuum generator with integrated non-return valve",null,null,this.getTagsForStencil("mxgraph.fluid_power",\r\n"x12390 single stage vacuum generator with integrated non return valve","").join(" ")),this.createVertexTemplateEntry(a+"x12400;points=[[0,0.195,0],[1,0.195,0],[0.25,1,0]]",149.6,93.58,"","X12400 Three stage vacuum generator with integrated non-return valves",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12400 three stage vacuum generator with integrated non return valves","").join(" ")),this.createVertexTemplateEntry(a+"x12410;points=[[0.59,0,0],[0.725,1,0],[1,0.555,0]]",204.68,168.08,\r\n"","X12410 Single stage vacuum generator with blow-off valve",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12410 single stage vacuum generator with blow off valve","").join(" ")),this.createVertexTemplateEntry(a+"x12420;points=[[0.5,0,0],[0,1,0],[1,1,0]]",37.38,56.78,"","X12420 Suction cup",null,null,this.getTagsForStencil("mxgraph.fluid_power","x12420 suction cup","").join(" ")),this.createVertexTemplateEntry(a+"x12430;points=[[0.5,0,0],[0,1,0],[1,1,0]]",37.38,56.78,"","X12430 Suction cup with spring loaded stem and non-return valve",\r\nnull,null,this.getTagsForStencil("mxgraph.fluid_power","x12430 suction cup with spring loaded stem and non return valve","").join(" "))]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addGoogleCloudPlatformCardsPalette=function(){this.setCurrentSearchEntryLibrary("gcp","gcpCards");var a=[this.addDataEntry("gcp google cloud platform cardproduct",170,55,"Product Card","rZRdb4MgFIZ/DZczKq11l539uFqyZBe7XIgclQzFIG3tfv1AsNXpsi4dxggv5+DxeQWEk7LdS1IXz4ICR3iLcCKFULZXtglwjkKfUYQ3KAx9faNw98Ns0M36NZFQqVsSQptwJPwAVrFCo87cCZQ0BZhwH+GnQpW6xk2gu42S4gMSwYXsAjHtmp7JGOfpVc+6pvVcEsp0YX1OJSowCxWEitNo1TdGVeEUVyFIBe2PX9lJ7hP3IEpQ8qxDTm4dE7GyJPwCWF64tOXSaqSx4/ySemWmOw7bPEJ8B8KC1CakbHPzB3h5WnupKOuDgv75DlXOOkyG6oD2Aser3WaGqpmLYrxdTzxyvDU39Re24a9scexFj8MWTVHjhedgS+BEsSOMXjjngHvni2C6lNDvK3Q+nsfDfgGRZQ2oiYGXwm/ydDHxNLF2aHFrDfnusSaojEuiUq/s04gBduOBM7FvLq0TzvJKaxwyk2YsYCnhayeXjFL+j2Y5WH7vwXBjBDMbwx0b93oVjb16CML7zdLD6/low4fH5xc="),\r\nthis.addDataEntry("gcp google cloud platform cardproduct",190,55,"Product Card","5ZVdb4MgFIZ/jZczVlpnLzv7cbVkyS52uRA5KimKQdrqfv1AsNVos27droYxwss5eHwfUQdFeb0TuMyeOQHmoI2DIsG5NL28joAxx/cocdDa8X1PnY6/vTI7a2e9Egso5C0Jvkk4YnYAoxihkg2zAsFVBjrcc9BTJnNV43qmupUUfA8RZ1y0gYi0Tc0klLH4oidtU3oqMKGqsC6n4AXohTJM+Gmw6hslMrOKrRCEhPrqU7aSfcQd8BykaFTIya6jI5bGCS8DmmY2bbEwGq7MOD2nXjxTHWvbtIXoDgszXOqQvE71G+CmcenGPC8PErrrOxQpbW3SrvbcnqPwcbuecFXPBSHarEaMrN/KN/kdb/0vvUWhGyz7LRhbjeauNVsAw5IeYXDDKQL2ni+cqlJ8r6vQcmyGw24BniQVyBHAc+E3MZ2PmK4KzBpJ40rJTzjeQ0FGmJWJUoPihXylH1qcITvuw2mb0jGjaaE0BolO0xRojNnKyjklhP0iL+uX12Ho7w00sTfsl+NeXMEQ14P/F7wWI16R2T5K3JgN9DNYoaePfwfrHjhqePl/mfD+7+0T"),\r\nthis.addDataEntry("gcp google cloud platform cardproduct",190,110,"Product Card","5ZddT4MwFIZ/DZcujG7ILif7uDIx8cJL09ADNBZKSlXw19vS4iCwOJ0at3VZ1r49p5T3oTvBQWFWbQUu0ltOgDlo7aBQcC5NL6tCYMzxXEoctHI8z1Vfx9vsmZ02s26BBeTykATPJLxg9gxGMUIpa2YFgssUdLjroJtUZmqPq6nqllLwJwg546IJRKRpaiamjEU7PW6a0hOBCVUba3NynoNeKMWEv/ZWfaBEplaxOwQhodp7l41kb3ELPAMpahXyatfREQvjhJsCTVKbNp8bDZdmnHyk7jxTHWvbuIXoCAtTXOiQrEr0EzBJomIS8ax4ltD+PkKe0MYm7WrH7RkKrjerEVf1nB+g9XLAyPqtfJNf8db71FsUTPxFt/lDq9FsYs0WwLCkL9C74BgBe807TtVWPLfdoeVY94ftAjyOS5ADgB8bP4jpbMB0mWNWSxqVSr7B0RPkZIBZmSg1KJ7Le/qmxSmy4y6cpikdM5rkSmMQ6zRNgUaYLa2cUULYD/Kyfrkthu7ZQCNnw/5zHIvL7+O68n6D13zAKzTHR4lrc4C+Bytw9efiYP0oHP+8a0zdLyV/UXKuz73k+JdXcoJTLjl7eJ1zyVmcbMn5n7COgaOGu1cmE959o3oH"),\r\nthis.addDataEntry("gcp google cloud platform cardexpanded product",190,80,"Expanded Product Card","5ZZdb4MgFIZ/jbdGpbXusrMf2UWTJbvY5ULkKGQIBunW7tcPBPsR26zZ5s1G0xRezkF8Xjw1QHm9Wyvc0I0kwAO0DFCupNSuV+9y4DxIIkYCtAiSJDLfIFldmY272ajBCoS+JSFxCW+Yb8EpTmj1nnuB4JaCDY8CdE91bfa4iE231Uq+Qi65VF0gIl0zMyXjvDjqZdeMXilMmNlYnyOkALsQxUS+n636zIimXvE7BKVhd/UuO8nf4hpkDVrtTci7X8dG3DkSEQVWUZ+WeQ23blwdUo/MTMdju4wQ/QAhxY0NqXeVPQFhVTRhIetmq6H/fQFRsQ6TpXpCe4Ky2WpxgaqdSzO0nA888rxvApp8CRRlYXp32tIhXzQJp05VwLFmb3B2wUvY/TUfJTNbSaJ+h96o/fmwX0CWZQt64Nph4zcZORkYeY91QY30qGQBbctENbDWMNTWHCn0E/uwYoz8+NSQrhkdc1YJo3EobZo1gRWYz71cM0L4L3oUowuH3peEn1qSnluSjeDIdOBI7p4KIy7dc/E9P7LIfv60H6MYkn5d6/qaxl3Vuv4vMSbSeBSkkzGQzgZIN1uuWcPtIX8QrcbC1J5bznnyL+vO9BdMMcPjK5cLP30j+wQ="),\r\nthis.addDataEntry("gcp google cloud platform cardexpanded product",150,100,"Expanded Product Card","7Zhfb6sgGMY/jbdGxM728syuvTrJknNxLhsiqGQoBunWnk9/QHDV6jaXlWZJR9MUHvnz+vzAt9GDSXnYClQXvzkmzIMPHkwE59LUykNCGPPCgGIPrr0wDNTXCzdvXAXt1aBGglRyzoDQDHhGbE+MYoRGHpkVMGoKorsHHrwvZKliXANVbaTgTyThjIu2I8RtUVcyylh60rO2KD0XCFMVWDem4hXRExUI85fBrH8ploVVbIRESHJ48y5byd7ilvCSSHFUXV7sPLrHwjgRFITmRTcssCJqjJC/jj2ZpirWt2kP4Rc8LFCtu5SHXG8BP09rP+VlvZek+92RKqetT9rWnt3xQn/esXXAx4rKM/kZX8OPfV35iwljYz8yqiAMSfpMBktM2W1XeeRULR4GXUwW0HHY7CbgWdYQOaL1GuosgNEIYGK8V+KDcf8cqPJMaiS8kn/oPy0CaNs9RFFblI4YzSulMZLpYdp0miL2y8olxZg5wgMmtr19KHyVTTRks3SAZvHx2erOEKMT277/WLqSucCJuU7cvRu5C4KtMid4XM/Z8eF4xy/bcis7HrqAEl82ndSC430qdykSuPEbiSqsarsSpcW3TivxVFK5CEQ4hHjnIqUsXULEtHm6RXDxFcCtXIJLGW9u8sgBcAV03Ro9dtFseGoqWk/Bgat4tQGfhHOWFTdtOcuewXtpsalRSqvcxmlb91xKXtqAHfCPJvhf5l98d4o6/C7yJgAj/PPP7g9+l/ija+Afv8oAP/i/Bf7l5fGr5uklmenef4f2Hw=="),\r\nthis.addDataEntry("gcp google cloud platform cardservice",110,50,"Service Card","tVTRboMgFP0aXo1K23WPm936siVL9rDHhchVyVAM0tbu63cR2upsu27NIEbu4Vy4nCMSmpTtUrO6eFYcJKEPhCZaKeNGZZuAlCQOBSd0QeI4xIfEjydmo242rJmGylySELuENZMrcIgDGrOVHuCsKcDSQ0LvC1NijYsIh43R6gMSJZXuiJR3DWcyIWV6wLOuIZ5rxgUWtsupVAV2oYJxtRms+ia4KTziKwRtoD15yg7yR1yCKsHoLVI2fh3LiJwSYQEiL3za1GOscXG+Tz1ohgMv23EJ6RUSFqy2lLLN7RcQ5GkdpKqsVwZ273eoctHJZFXtqX0ztf2MqgN7PIiSmd/IGv8oK50Hs9t+m41VppNg6lANkhmxhsGGx8T3e74ogaXE4a5Cb9fWhfNhvsqyBszIun3dF7k5Gbn5pFKGDDwXjax/iTNmZDLqaKxNqjKv4tOCEfVxz7Z5aDviTIq8QkxCZtOsEQI3uvNwKTiX/2PZ7MxFuNKg7/fpL5ZgePj/OXr/9/gF")];\r\nthis.addPalette("gcpCards","GCP / Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addGCP2Palette=function(){this.setCurrentSearchEntryLibrary("gcp2","gcp2Paths");this.addGCP2PathsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Zones");this.addGCP2ZonesPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Service Cards");this.addGCP2ServiceCardsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2User Device Cards");this.addGCP2UserDeviceCardsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Compute");this.addGCP2ComputePalette();\r\nthis.setCurrentSearchEntryLibrary("gcp2","gcp2API Management");this.addGCP2APIManagementPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Security");this.addGCP2SecurityPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Data Analytics");this.addGCP2DataAnalyticsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Data Transfer");this.addGCP2DataTransferPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Cloud AI");this.addGCP2CloudAIPalette();this.setCurrentSearchEntryLibrary("gcp2",\r\n"gcp2Internet of Things");this.addGCP2InternetOfThingsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Databases");this.addGCP2DatabasesPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Storage");this.addGCP2StoragePalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Management Tools");this.addGCP2ManagementToolsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Networking");this.addGCP2NetworkingPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Developer Tools");this.addGCP2DeveloperToolsPalette();\r\nthis.setCurrentSearchEntryLibrary("gcp2","gcp2Expanded Product Cards");this.addGCP2ExpandedProductCardsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Product Cards");this.addGCP2ProductCardsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2General Icons");this.addGCP2GeneralIconsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons AI Machine Learning");this.addGCP2IconsAIMachineLearningPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Compute");this.addGCP2IconsComputePalette();\r\nthis.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Data Analytics");this.addGCP2IconsDataAnalyticsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Management Tools");this.addGCP2IconsManagementToolsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Networking");this.addGCP2IconsNetworkingPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Developer Tools");this.addGCP2IconsDeveloperToolsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons API Management");\r\nthis.addGCP2IconsAPIManagementPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Internet of Things");this.addGCP2IconsInternetOfThingsPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Databases");this.addGCP2IconsDatabasesPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Storage");this.addGCP2IconsStoragePalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Security");this.addGCP2IconsSecurityPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Migration");\r\nthis.addGCP2IconsMigrationPalette();this.setCurrentSearchEntryLibrary("gcp2","gcp2Icons Hybrid and Multi Cloud");this.addGCP2IconsHybridAndMultiCloudPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addGCP2PathsPalette=function(){var a=[],a=[this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;dashed=0;strokeColor=#4284F3;",100,0,"","Primary Path",null,"gcp google cloud platform path primary"),\r\nthis.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;dashed=1;dashPattern=1 3;strokeColor=#4284F3;",100,0,"","Optional Primary Path",null,"gcp google cloud platform path optional primary"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;dashed=0;strokeColor=#9E9E9E;",100,0,"","Secondary Path",\r\nnull,"gcp google cloud platform path secondary"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;dashed=1;dashPattern=1 3;strokeColor=#9E9E9E;",100,0,"","Optional Secondary Path",null,"gcp google cloud platform path optional secondary"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;strokeColor=#34A853;dashed=0;",\r\n100,0,"","Success Status",null,"gcp google cloud platform path success status"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;strokeColor=#EA4335;dashed=0;",100,0,"","Failure Status",null,"gcp google cloud platform path failure status")];this.addPalette("gcp2Paths","GCP / Paths",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2ZonesPalette=\r\nfunction(){var a=this,b="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[1,1,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];rounded=1;absoluteArcSize=1;arcSize=2;html=1;strokeColor=none;gradientColor=none;shadow=0;dashed=0;fontSize=12;fontColor=#9E9E9E;align=left;verticalAlign=top;spacing=10;spacingTop=-4;",e=[],e=[this.createVertexTemplateEntry(b+"",120,70,"User 1","User 1 (Default)",null,null,this.getTagsForStencil("mxgraph.gcp2.zones",\r\n"","gcp google cloud platform zone user").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#F3E5F5;",120,150,"Infrastructure\\nSystem","Infrastructure System",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone infrastructure system").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#EFEBE9;",120,200,"colo / dc /\\non-premises","colo / dc / on-premises",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone colo dc on premises").join(" ")),\r\nthis.createVertexTemplateEntry(b+"fillColor=#F1F8E9;",120,70,"System 1","System 1",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone system").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#FFEBEE;",120,70,"External SaaS\\nProviders","External SaaS Providers",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone external saas providers").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#FFF8E1;",120,70,"External Data\\nSources",\r\n"External Data Sources",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone external data sources").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#E0F2F1;",120,75,"External\\nInfrastructure\\n3<sup>rd</sup> Party","External Infrastructure 3rd party",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone external infrastructure 3rd party").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#E1F5FE;",120,75,"External\\nInfrastructure\\n1<sup>st</sup> Party",\r\n"External Infrastructure 1st party",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone external infrastructure 1st party").join(" ")),this.addEntry("gcp google cloud platform zone project cloud service provider",function(){var c=new mxCell("Project Zone / Cloud Service Provider",new mxGeometry(0,0,530,490),b+"fillColor=#F6F6F6;");c.vertex=!0;var d=new mxCell("Logical Grouping of Services / Instances",new mxGeometry(0,0,250,180),b+"fillColor=#E3F2FD;");d.geometry.relative=\r\n!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;c.insert(d);var e=new mxCell("Zone",new mxGeometry(0,0,230,120),b+"fillColor=#FFF3E0;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(10,50);e.vertex=!0;d.insert(e);d=new mxCell("SubNetwork",new mxGeometry(0,0,210,60),b+"fillColor=#EDE7F6;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;e.insert(d);e=new mxCell("Kubernetes cluster",new mxGeometry(0,0,250,120),b+"fillColor=#FCE4EC;");e.geometry.relative=!0;e.geometry.offset=\r\nnew mxPoint(10,240);e.vertex=!0;c.insert(e);d=new mxCell("pod",new mxGeometry(0,0,210,60),b+"fillColor=#E8F5E9;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;e.insert(d);e=new mxCell("Account",new mxGeometry(0,0,250,60),b+"fillColor=#E8EAF6;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(10,370);e.vertex=!0;c.insert(e);e=new mxCell("Region",new mxGeometry(0,0,250,310),b+"fillColor=#ECEFF1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(270,50);e.vertex=\r\n!0;c.insert(e);d=new mxCell("Zone",new mxGeometry(0,0,230,250),b+"fillColor=#FFF3E0;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;e.insert(d);e=new mxCell("Firewall",new mxGeometry(0,0,210,190),b+"fillColor=#FBE9E7;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(10,50);e.vertex=!0;d.insert(e);d=new mxCell("Instance Group",new mxGeometry(0,0,190,60),b+"fillColor=#F9FBE7;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;e.insert(d);d=new mxCell("Replica Pool",\r\nnew mxGeometry(0,0,190,60),b+"fillColor=#E0F7FA;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,120);d.vertex=!0;e.insert(d);e=new mxCell("Optional Component",new mxGeometry(0,0,250,60),"rounded=1;absoluteArcSize=1;arcSize=2;html=1;strokeColor=none;gradientColor=none;shadow=0;dashed=1;strokeColor=#4284F3;fontSize=12;fontColor=#9E9E9E;align=left;verticalAlign=top;spacing=10;spacingTop=-4;fillColor=none;dashPattern=1 2;strokeWidth=2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(270,\r\n370);e.vertex=!0;c.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Project Zone / Cloud Service Provider")}),this.createVertexTemplateEntry("fillColor=#4DA1F5;strokeColor=none;shadow=1;gradientColor=none;fontSize=14;align=left;spacingLeft=50;fontColor=#ffffff;",1E3,40,"Architecture: App Engine and Cloud Endpoints","Title bar",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone title bar").join(" ")),this.createVertexTemplateEntry("strokeColor=none;shadow=0;gradientColor=none;fontSize=11;align=left;spacing=10;fontColor=#;9E9E9E;verticalAlign=top;spacingTop=100;",\r\n300,350,"Use this note to call out\\nor clarify parts of a diagram","Note",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone note").join(" ")),this.addEntry("gcp google cloud platform zone project",function(){var c=new mxCell("<b>Google </b>Cloud Platform",new mxGeometry(0,0,650,350),"fillColor=#F6F6F6;strokeColor=none;shadow=0;gradientColor=none;fontSize=14;align=left;spacing=10;fontColor=#717171;9E9E9E;verticalAlign=top;spacingTop=-4;fontStyle=0;spacingLeft=40;html=1;");\r\nc.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,23,20),"shape=mxgraph.gcp2.google_cloud_platform;fillColor=#F6F6F6;strokeColor=none;shadow=0;gradientColor=none;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(20,10);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Project Zone")}),this.addEntry("gcp google cloud platform zone markers",function(){b="shape=ellipse;perimeter=ellipsePerimeter;strokeColor=#BDBDBD;strokeWidth=2;shadow=0;gradientColor=none;fontColor=#757575;align=center;html=1;fontStyle=1;spacingTop=-1;";\r\nvar c=new mxCell("1",new mxGeometry(0,0,20,20),b);c.vertex=!0;var d=new mxCell("2",new mxGeometry(40,0,20,20),b);d.vertex=!0;var e=new mxCell("3",new mxGeometry(80,0,20,20),b);e.vertex=!0;var g=new mxCell("4",new mxGeometry(120,0,20,20),b);g.vertex=!0;var h=new mxCell("5",new mxGeometry(160,0,20,20),b);h.vertex=!0;var k=new mxCell("6",new mxGeometry(200,0,20,20),b);k.vertex=!0;var l=new mxCell("7",new mxGeometry(240,0,20,20),b);l.vertex=!0;var m=new mxCell("Markers to be used with the legend",new mxGeometry(0,\r\n20,260,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;fontSize=11;");m.vertex=!0;return a.createVertexTemplateFromCells([c,d,e,g,h,k,l,m],260,50,"Markers")}),this.addEntry("gcp google cloud platform zone markers",function(){var c=new mxCell("",new mxGeometry(0,0,600,70),"strokeColor=#BDBDBD;strokeWidth=1;shadow=0;gradientColor=none;");c.vertex=!0;var b=new mxCell("1 Commit code",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");\r\nb.geometry.relative=!0;b.vertex=!0;c.insert(b);b=new mxCell("2 Detect code change",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(0,30);b.vertex=!0;c.insert(b);b=new mxCell("3 Build immutable image",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");\r\nb.geometry.relative=!0;b.geometry.offset=new mxPoint(200,0);b.vertex=!0;c.insert(b);b=new mxCell("4 Launch test instance from image",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(200,30);b.vertex=!0;c.insert(b);b=new mxCell("5 Run tests",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");\r\nb.geometry.relative=!0;b.geometry.offset=new mxPoint(400,0);b.vertex=!0;c.insert(b);b=new mxCell("6 Perform rolling update of image to autoscaler",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(400,30);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Markers")})];\r\nthis.addPalette("gcp2Zones","GCP / Zones",!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGCP2GeneralIconsPalette=function(){var a=[],a=[this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.biomedical_trio",100,68,null,"Biomedical Trio",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon biomedical trio").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.biomedical_beaker",69,100,null,"Biomedical Beaker",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon biomedical beaker").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.biomedical_test_tube",31,100,null,\r\n"Biomedical Test Tube",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon biomedical test tube").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.check_available",100,87,null,"Check Available",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon check available").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud_monitoring",\r\n90,100,null,"Cloud Monitoring",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud monitoring").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.repository",60,100,null,"Repository",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon repository").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.compute_engine_2",\r\n54,100,null,"Compute Engine",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon compute engine").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.capabilities",100,76,null,"Capabilities",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon capabilities thumbs up gear").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.globe_world",\r\n100,95,null,"World Network",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon globe global world network upload anywhere").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.process",84,100,null,"Process",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon process").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.arrow_cycle",\r\n100,95,null,"Arrow Cycle",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon arrow cycle").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.arrows_system",100,95,null,"Arrows System",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon arrows system").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.half_cloud",\r\n100,50,null,"Half Cloud",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon half cloud").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud",100,69,null,"Cloud",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.speed",\r\n100,57,null,"Speed",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon speed").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.time_clock",86,100,null,"Overtime",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon time clock frozen cold overtime").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.loading",\r\n100,100,null,"Loading",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon loading").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.clock",100,100,null,"Clock",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon clock").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.check",\r\n100,80,null,"Check",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon check").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#F4AF20;shape=mxgraph.gcp2.check",100,80,null,"Check (yellow)",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon check").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.check",\r\n100,80,null,"Check (green)",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon check").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.lock",78,100,null,"Lock",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon lock").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud_security",\r\n100,70,null,"Cloud Security",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud security").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud_checkmark",100,67,null,"Cloud Checkmark",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud checkmark").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.key",\r\n100,47,null,"Key",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon key").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.aspect_ratio",100,92,null,"Aspect Ratio",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon aspect ratio").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.scale",\r\n100,92,null,"Check",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon check scale aspect ratio").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.big_query",99,100,null,"Big Query",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon big query").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.search",\r\n99,100,null,"Search",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon search").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.search",99,100,null,"Search (green)",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon search").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.solution",\r\n99,100,null,"Solution",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon solution").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.visibility",100,94,null,"Visibility",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon visibility").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.anomaly_detection",\r\n78,100,null,"Anomaly Detection",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon anomaly detection").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.view_list",81,100,null,"View List",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon view list").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.connected",\r\n100,72,null,"Admin",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon admin system connected").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud_server",100,89,null,"Cloud Server",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud server").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.primary",\r\n100,15,null,"Primary",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon primary").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.monitor",100,85,null,"Monitor",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon monitor save help").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.monitor_2",\r\n100,85,null,"Monitor",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon monitor").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.website",100,97,null,"Website",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon website").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.safety",\r\n100,96,null,"Safety",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon safety").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.gear_load",100,92,null,"Gear Load",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon gear load").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.files",\r\n100,97,null,"Files",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon files data sharing").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.play_gear",100,100,null,"Play Gear",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon play gear").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.play_start",\r\n100,100,null,"Play Start",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon play start").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.replication_controller",100,91,null,"Replication Controller",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon replication controller").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.replication_controller_2",\r\n100,91,null,"Replication Controller",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon replication controller").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.replication_controller_3",100,66,null,"Replication Controller",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon replication controller").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.repository_2",94,100,null,"Repository",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon repository upload swap").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.repository_3",100,100,null,"Repository",\r\nnull,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon repository").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.repository_primary",100,100,null,"Repository",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon repository primary").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.database_3",\r\n70,100,null,"Database",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon database db files").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.database_uploading",100,84,null,"Database Uploading",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon database db uploading").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.servers_stacked",\r\n100,100,null,"Servers Stacked",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon servers stacked").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.segments",100,100,null,"Segments",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon segments").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.segments_2",\r\n100,92,null,"Segments",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon segments").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.segments_overlap",100,100,null,"Segments Overlap",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon segments overlap").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cost_savings",\r\n66,100,null,"Cost Savings",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cost savings").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.enhance_ui",76,100,null,"Enhance UI",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon enhance ui").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.phone_android",\r\n56,100,null,"Phone",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon phone android").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cost_arrows",76,100,null,"Cost Arrows",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cost arrows").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.increase_cost_arrows",\r\n100,92,null,"Increase Cost Arrows",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon increase cost arrows").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cost",85,100,null,"Cost File",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cost file").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.database_2",\r\n78,100,null,"Database",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon database db").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.database_speed",69,100,null,"Database Speed",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon database db speed").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.data_access",\r\n93,100,null,"Data Access",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon data access file gear").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.database_cycle",100,98,null,"Database Cycle",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon database db cycle").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.data_increase",\r\n78,100,null,"Data Increase",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon data increase").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.data_storage_cost",78,100,null,"Data Storage Cost",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon data storage cost").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.gear",\r\n100,100,null,"Gear",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon gear").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.gear_chain",100,100,null,"Gear Chain",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon gear chain").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.bucket_scale",\r\n100,81,null,"Bucket Scale",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon bucket scale").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.a7_power",100,100,null,"A7 Power",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon a7 power").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.gear_arrow",\r\n100,61,null,"Gear Arrow",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon gear arrow").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.swap",100,51,null,"Swap",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon swap").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.save",\r\n100,84,null,"Save",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon save").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.social_media_time",97,100,null,"Social Media Time",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon social media time").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.tape_record",\r\n100,71,null,"Tape Record",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon tape record").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.folders",100,85,null,"Folders",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon folders extensible").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.maps_api",\r\n61,100,null,"Maps API",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon maps api application programming interface").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.enhance_ui_2",100,91,null,"Enhance UI",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon enhance ui user interface").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.certified_industry_standard",\r\n100,78,null,"Certified Industry Standard",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon certified industry standard").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.calculator",100,74,null,"Calculator",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon calculator").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.network",\r\n100,100,null,"Network",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon network").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud_computer",100,88,null,"Cloud Computer",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud computer").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud_connected_insight",\r\n100,91,null,"Cloud Connected Insight",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud connected insight").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud_information",100,79,null,"Cloud Information Portable",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud information portable").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.lifecycle",100,100,null,"Lifecycle",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon lifecycle time folder loading").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.thumbs_up",100,100,null,"Thumbs Up",\r\nnull,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon thumbs up").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.loading_2",93,100,null,"Loading",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon loading").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.internet_connection",\r\n100,83,null,"Internet Connection",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon internet connection").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.check_scale",100,75,null,"Check Scale",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon check scale").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.load_balancing",\r\n100,26,null,"Load Balancing",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon load balancing").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud_messaging",100,64,null,"Cloud Messaging",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud messaging").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.memory_card",\r\n93,100,null,"Memory Card",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon memory card").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.admin_connected",100,100,null,"Admin Connected",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon admin connected").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=ellipse",\r\n100,100,null,"Images Service",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon images service").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.task_queues_2",100,61,null,"Task Queues",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon task queues").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.systems_check",\r\n99,100,null,"Systems Check",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon systems check").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.google_network",100,100,null,"Google Network",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon google network").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.check_2",\r\n100,100,null,"Check",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon check").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.people_security_management",100,100,null,"People Security Management",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon people security management").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.search_api",\r\n100,100,null,"Search API",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon search api application programming interface").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.management_security",100,100,null,"Management Security",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon management security").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.loading_3",100,100,null,"Loading",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon loading").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.stacked_ownership",100,100,null,"Stacked Ownership",null,\r\nnull,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon stacked ownership").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.vpn",100,50,null,"VPN",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon vpn virtual private network").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.node",\r\n80,100,null,"Node",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon node").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.service",70,100,null,"Service",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon service").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.external_data_center",\r\n77,100,null,"External Data Center",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon external data center").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.external_data_resource",79,100,null,"External Data Resource",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon external data resource").join(" ")),\r\nthis.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.legacy_cloud",100,69,null,"Legacy Cloud",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon legacy cloud").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#2D9C5E;shape=mxgraph.gcp2.legacy_cloud_2",100,69,null,"Legacy Cloud",null,\r\nnull,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon legacy cloud").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.mem_instances",100,87,null,"Mem Instances",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon mem instances").join(" "))];this.addPalette("gcp2General Icons","GCP / General Icons",!1,mxUtils.bind(this,\r\nfunction(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2ServiceCardsPalette=function(){var a=[];this.addGCP2ServiceCard("Gateway","gateway",100,44,"gcp google cloud platform service cards gateway",a);this.addGCP2ServiceCard("Memcache","memcache",110,44,"gcp google cloud platform service cards memcache",a);this.addGCP2ServiceCard("Logs API","logs_api",100,44,"gcp google cloud platform service cards logs api application programming interface",a);this.addGCP2ServiceCard("Cluster",\r\n"cluster",90,44,"gcp google cloud platform service cards cluster",a);this.addGCP2ServiceCard("NAT","nat",80,44,"gcp google cloud platform service cards nat network address translation",a);this.addGCP2ServiceCard("Squid Proxy","squid_proxy",120,44,"gcp google cloud platform service cards squid proxy",a);this.addGCP2ServiceCard("Bucket","bucket",100,44,"gcp google cloud platform service cards bucket",a);this.addGCP2ServiceCard("Service Discovery","service_discovery",150,44,"gcp google cloud platform service cards service discovery",\r\na);this.addGCP2ServiceCard("Task\\nQueues","task_queues",90,44,"gcp google cloud platform service cards task queues",a);this.addGCP2ServiceCard("Image\\nServices","image_services",100,44,"gcp google cloud platform service cards image services",a);this.addGCP2ServiceCard("Dedicated\\nGame Server","dedicated_game_server",120,44,"gcp google cloud platform service cards dedicated game server",a);this.addGCP2ServiceCard("Frontend\\nPlatform Services","frontend_platform_services",150,44,"gcp google cloud platform service cards frontend platform services",\r\na);this.addGCP2ServiceCard("Google\\nEdge POP","google_network_edge_cache",110,56,"gcp google cloud platform service cards google edge pop point of presence",a);this.addGCP2ServiceCard("External\\nPayment Form","external_payment_form",130,44,"gcp google cloud platform service cards external payment form",a);this.addGCP2ServiceCard("Internal Payment\\nAuthorization","internal_payment_authorization",150,44,"gcp google cloud platform service cards internal payment authorization",a);this.addGCP2ServiceCard("VPN Gateway",\r\n"gateway",130,44,"gcp google cloud platform service cards vpn gateway virtual private network",a);this.addGCP2ServiceCard("Application\\nSystem(s)","application_system",110,44,"gcp google cloud platform service cards application system systems",a);this.addGCP2ServiceCard("Virtual\\nFile System","virtual_file_system",110,44,"gcp google cloud platform service cards virtual file system",a);this.addGCP2ServiceCard("CDN\\nInterconnect","google_network_edge_cache",120,44,"gcp google cloud platform service cards cdn content delivery network interconnect",\r\na);this.addGCP2ServiceCard("Scheduled\\nTasks","scheduled_tasks",110,44,"gcp google cloud platform service cards scheduled tasks",a);this.addGCP2ServiceCard("HTTPS\\nLoad Balancer","network_load_balancer",130,44,"gcp google cloud platform service cards https secure load balancer",a);this.addGCP2ServiceCard("Persistent\\nDisk Snapshot","persistent_disk_snapshot",130,44,"gcp google cloud platform service cards persistent disk snapshot",a);this.addGCP2ServiceCard("Persistent\\nDisk","persistent_disk_snapshot",\r\n110,44,"gcp google cloud platform service cards persistent disk",a);this.addGCP2ServiceCard("Network\\nLoad\\nBalancer","network_load_balancer",100,56,"gcp google cloud platform service cards network load balancer",a);this.addGCP2ServiceCard("Google\\n Network W/\\nEdge Cache","google_network_edge_cache",120,56,"gcp google cloud platform service cards google network witch edge cache",a);this.addGCP2ServiceCard("Push\\nNotification\\nService","push_notification_service",110,56,"gcp google cloud platform service cards push notification service",\r\na);this.addGCP2ServiceCard("Blank One Line","blank",140,44,"gcp google cloud platform service cards blank one line",a);a.push(this.addEntry("gcp google cloud platform service cards blank one line",function(){var a=new mxCell("Blank One Line",new mxGeometry(0,0,100,44),"dashed=0;strokeColor=#dddddd;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;");a.vertex=!0;return sb.createVertexTemplateFromCells([a],100,44,"Blank One Line")}));\r\nthis.addGCP2ServiceCard("Blank Two\\n& Three Line","blank",120,44,"gcp google cloud platform service cards blank two and three line",a);a.push(this.addEntry("gcp google cloud platform service cards blank two and three line",function(){var a=new mxCell("Blank Two\\n& Three Line",new mxGeometry(0,0,90,44),"dashed=0;strokeColor=#dddddd;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;");a.vertex=!0;return sb.createVertexTemplateFromCells([a],\r\n100,44,"Blank One Line")}));this.addPalette("gcp2Service Cards","GCP / Service Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2ComputePalette=function(){var a=[];this.addGCP2CardSet("Compute\\nEngine","compute_engine",110,160,"gcp google cloud platform compute compute engine",a);this.addGCP2CardSet("GPU","gpu",90,100,"gcp google cloud platform compute gpu graphics processing unit",a);this.addGCP2CardSet("App\\nEngine","app_engine",\r\n100,130,"gcp google cloud platform compute app engine application",a);this.addGCP2CardSet("Cloud\\nFunctions","cloud_functions",120,150,"gcp google cloud platform compute functions",a);this.addGCP2CardSet("Kubernetes\\nEngine","container_engine",130,170,"gcp google cloud platform compute kubernetes engine",a);this.addGCP2CardSet("Container-\\nOptimized OS","container_optimized_os",140,200,"gcp google cloud platform compute container optimized os operating system",a);this.addGCP2CardSet("Cloud Run","cloud_run",\r\n120,120,"gcp google cloud platform compute cloud run",a);this.addGCP2CardSet("GKE-on-Prem","gke_on_prem",140,140,"gcp google cloud platform compute gke on prem premise",a);this.addPalette("gcp2Compute","GCP / Compute",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2APIManagementPalette=function(){var a=[];this.addGCP2CardSet("API\\nAnalytics","api_analytics",110,140,"gcp google cloud platform api management api analytics application programming interface",\r\na);this.addGCP2CardSet("Apigee\\nSense","apigee_sense",100,140,"gcp google cloud platform api management apigee sense",a);this.addGCP2CardSet("API\\nMonetization","api_monetization",130,160,"gcp google cloud platform api management api monetization application programming interface",a);this.addGCP2CardSet("Cloud\\nEndpoints","cloud_endpoints",120,150,"gcp google cloud platform api management cloud endpoints",a);this.addGCP2CardSet("Apigee API\\nPlatform","apigee_api_platform",130,170,"gcp google cloud platform api management apigee api platform application programming interface",\r\na);this.addGCP2CardSet("Developer\\nPortal","developer_portal",120,160,"gcp google cloud platform api management developer portal",a);this.addPalette("gcp2API Management","GCP / API Management",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2SecurityPalette=function(){var a=[];this.addGCP2CardSet("Cloud\\nIAM","cloud_iam",100,120,"gcp google cloud platform security cloud iam",a);this.addGCP2CardSet("BeyondCorp","beyondcorp",130,130,"gcp google cloud platform security beyondcorp",\r\na);this.addGCP2CardSet("Cloud Resource\\nManager","cloud_iam",150,200,"gcp google cloud platform security cloud resource manager",a);this.addGCP2CardSet("Data Loss\\nPrevention API","data_loss_prevention_api",140,200,"gcp google cloud platform security data loss prevention api application programming interface",a);this.addGCP2CardSet("Cloud Security\\nScanner","cloud_security_scanner",140,190,"gcp google cloud platform security cloud security scanner",a);this.addGCP2CardSet("Key Management\\nService",\r\n"key_management_service",160,200,"gcp google cloud platform security key management service",a);this.addGCP2CardSet("Identity-Aware\\nProxy","identity_aware_proxy",140,180,"gcp google cloud platform security identity aware proxy",a);this.addGCP2CardSet("Cloud Security\\nCommand Center","cloud_security_command_center",160,240,"gcp google cloud platform security cloud security command center",a);this.addGCP2CardSet("Security Key\\nEnforcement","security_key_enforcement",130,200,"gcp google cloud platform security security key enforcement",\r\na);this.addPalette("gcp2Security","GCP / Security",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2DataAnalyticsPalette=function(){var a=[];this.addGCP2CardSet("BigQuery","bigquery",120,120,"gcp google cloud platform data analytics bigquery",a);this.addGCP2CardSet("Cloud\\nDatalab","cloud_datalab",110,140,"gcp google cloud platform data analytics datalab",a);this.addGCP2CardSet("Cloud\\nDataflow","cloud_dataflow",110,150,"gcp google cloud platform data analytics dataflow",\r\na);this.addGCP2CardSet("Cloud\\nPub/Sub","cloud_pubsub",110,150,"gcp google cloud platform data analytics pub sub",a);this.addGCP2CardSet("Cloud\\nDataproc","cloud_dataproc",110,150,"gcp google cloud platform data analytics dataproc",a);this.addGCP2CardSet("Genomics","genomics",120,120,"gcp google cloud platform data analytics genomics",a);this.addGCP2CardSet("Cloud\\nDataprep","cloud_dataprep",110,150,"gcp google cloud platform data analytics dataprep",a);this.addGCP2CardSet("Cloud\\nComposer","cloud_composer",\r\n120,150,"gcp google cloud platform data analytics cloud composer",a);this.addGCP2CardSet("Cloud Data Catalog","cloud_data_catalog",170,170,"gcp google cloud platform data analytics cloud data catalog",a);this.addGCP2CardSet("Cloud Data Fusion","cloud_data_fusion",160,160,"gcp google cloud platform data analytics cloud data fusion",a);this.addPalette("gcp2Data Analytics","GCP / Data Analytics",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2DataTransferPalette=\r\nfunction(){var a=[];this.addGCP2CardSet("Transfer\\nAppliance","transfer_appliance",120,170,"gcp google cloud platform data transfer appliance",a);this.addPalette("gcp2Data Transfer","GCP / Data Transfer",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2CloudAIPalette=function(){var a=[];this.addGCP2CardSet("Cloud Machine\\nLearning","cloud_machine_learning",150,200,"gcp google cloud platform ai artificial intelligence cloud machine learning",\r\na);this.addGCP2CardSet("Natural\\nLanguage API","cloud_natural_language_api",140,180,"gcp google cloud platform ai artificial intelligence natural language api application programming interface",a);this.addGCP2CardSet("Vision\\nAPI","cloud_vision_api",100,120,"gcp google cloud platform ai artificial intelligence vision api application programming interface",a);this.addGCP2CardSet("Translation\\nAPI","cloud_translation_api",120,150,"gcp google cloud platform ai artificial intelligence translation api application programming interface",\r\na);this.addGCP2CardSet("Speech\\nAPI","cloud_speech_api",110,130,"gcp google cloud platform ai artificial intelligence speech api application programming interface",a);this.addGCP2CardSet("Jobs\\nAPI","cloud_jobs_api",90,110,"gcp google cloud platform ai artificial intelligence jobs api application programming interface",a);this.addGCP2CardSet("Cloud Video\\nIntelligence API","cloud_video_intelligence_api",150,220,"gcp google cloud platform ai artificial intelligence cloud video intelligence api application programming interface",\r\na);this.addGCP2CardSet("Advanced\\nSolutions Lab","advanced_solutions_lab",140,200,"gcp google cloud platform ai artificial intelligence advanced solutions lab",a);this.addPalette("gcp2Cloud AI","GCP / Cloud AI",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2InternetOfThingsPalette=function(){var a=[];this.addGCP2CardSet("Cloud\\nIoT Core","cloud_iot_core",110,150,"gcp google cloud platform iot internet of things core",a);this.addPalette("gcp2Internet of Things",\r\n"GCP / Internet of Things",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2DatabasesPalette=function(){var a=[];this.addGCP2CardSet("Cloud\\nSQL","cloud_sql",100,120,"gcp google cloud platform databases sql",a);this.addGCP2CardSet("Cloud\\nBigtable","cloud_bigtable",110,140,"gcp google cloud platform databases bigtable",a);this.addGCP2CardSet("Cloud\\nSpanner","cloud_spanner",110,150,"gcp google cloud platform databases spanner",a);this.addGCP2CardSet("Cloud\\nMemorystore",\r\n"cloud_memorystore",140,170,"gcp google cloud platform databases memorystore",a);this.addGCP2CardSet("Cloud\\nFirestore","cloud_firestore",110,150,"gcp google cloud platform databases filestore",a);this.addGCP2CardSet("Cloud\\nDatastore","cloud_datastore",120,150,"gcp google cloud platform databases datastore",a);this.addPalette("gcp2Databases","GCP / Databases",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2StoragePalette=function(){var a=\r\n[];this.addGCP2CardSet("Cloud\\nStorage","cloud_storage",110,140,"gcp google cloud platform storage ",a);this.addGCP2CardSet("Persistent\\nDisk","persistent_disk",120,150,"gcp google cloud platform storage persistent disk",a);this.addGCP2CardSet("Cloud\\nFilestore","cloud_filestore",110,150,"gcp google cloud platform storage filestore",a);this.addPalette("gcp2Storage","GCP / Storage",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2ManagementToolsPalette=\r\nfunction(){var a=[];this.addGCP2CardSet("Stackdriver","stackdriver",130,130,"gcp google cloud platform management tools stackdriver",a);this.addGCP2CardSet("Debugger","debugger",120,120,"gcp google cloud platform management tools debugger",a);this.addGCP2CardSet("Monitoring","cloud_deployment_manager",120,120,"gcp google cloud platform management tools monitoring",a);this.addGCP2CardSet("Deployment\\nManager","cloud_deployment_manager",130,180,"gcp google cloud platform management tools deployment manager",\r\na);this.addGCP2CardSet("Logging","logging",110,110,"gcp google cloud platform management tools logging",a);this.addGCP2CardSet("Cloud\\nConsole","placeholder",110,140,"gcp google cloud platform management tools console",a);this.addGCP2CardSet("Error\\nReporting","error_reporting",120,150,"gcp google cloud platform management tools error reporting",a);this.addGCP2CardSet("Cloud\\nShell","placeholder",100,130,"gcp google cloud platform management tools shell",a);this.addGCP2CardSet("Trace","trace",100,\r\n100,"gcp google cloud platform management tools trace",a);this.addGCP2CardSet("Cloud\\nMobile App","placeholder",130,160,"gcp google cloud platform management tools mobile app",a);this.addGCP2CardSet("Profiler","profiler",110,110,"gcp google cloud platform management tools profiler",a);this.addGCP2CardSet("Billing\\nAPI","placeholder",100,120,"gcp google cloud platform management tools billing api application programming interface",a);this.addGCP2CardSet("Cloud\\nAPIs","cloud_apis",100,130,"gcp google cloud platform management tools api application programming interface",\r\na);this.addPalette("gcp2Management Tools","GCP / Management Tools",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2NetworkingPalette=function(){var a=[];this.addGCP2CardSet("Virtual\\nPrivate Cloud","virtual_private_cloud",140,180,"gcp google cloud platform networking virtual private",a);this.addGCP2CardSet("Dedicated\\nInterconnect","dedicated_interconnect",130,190,"gcp google cloud platform networking dedicated interconnect",a);this.addGCP2CardSet("Cloud Load\\nBalancing",\r\n"cloud_load_balancing",130,180,"gcp google cloud platform networking load balancing",a);this.addGCP2CardSet("Cloud \\nDNS","cloud_dns",100,130,"gcp google cloud platform networking dns domain name server",a);this.addGCP2CardSet("Cloud \\nCDN","cloud_cdn",100,130,"gcp google cloud platform networking cdn content delivery network",a);this.addGCP2CardSet("Cloud\\nNetwork","cloud_network",110,140,"gcp google cloud platform networking network",a);this.addGCP2CardSet("Cloud External\\nIP Addresses","cloud_external_ip_addresses",\r\n150,220,"gcp google cloud platform networking external ip addresses internet protocol",a);this.addGCP2CardSet("Cloud\\nRoutes","cloud_routes",100,140,"gcp google cloud platform networking routes",a);this.addGCP2CardSet("Cloud\\nFirewall Rules","cloud_firewall_rules",140,170,"gcp google cloud platform networking firewall rules",a);this.addGCP2CardSet("Cloud\\nVPN","cloud_vpn",100,120,"gcp google cloud platform networking vpn virtual private network",a);this.addGCP2CardSet("Cloud\\nRouter","cloud_router",\r\n100,140,"gcp google cloud platform networking router",a);this.addGCP2CardSet("Cloud\\nArmor","cloud_armor",100,130,"gcp google cloud platform networking armor",a);this.addGCP2CardSet("Standard\\nNetwork Tier","standard_network_tier",130,180,"gcp google cloud platform networking standard network tier",a);this.addGCP2CardSet("Premium\\nNetwork Tier","premium_network_tier",130,180,"gcp google cloud platform networking premium network tier",a);this.addGCP2CardSet("Partner\\nInterconnect","partner_interconnect",\r\n130,180,"gcp google cloud platform networking partner interconnect",a);this.addPalette("gcp2Networking","GCP / Networking",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2DeveloperToolsPalette=function(){var a=[];this.addGCP2CardSet("Cloud\\nSDK","placeholder",100,120,"gcp google cloud platform dev developer tools sdk software development kit",a);this.addGCP2CardSet("Cloud\\nBuild","container_builder",100,130,"gcp google cloud platform dev developer tools build",\r\na);this.addGCP2CardSet("Gradle App\\nEnginge Plugin","placeholder",150,210,"gcp google cloud platform dev developer tools gradle app engine plugin application",a);this.addGCP2CardSet("Cloud Tools for\\nVisual Studio","cloud_tools_for_powershell",150,220,"gcp google cloud platform dev developer tools tools for visual studio",a);this.addGCP2CardSet("Cloud Source\\nRepositories","placeholder",140,210,"gcp google cloud platform dev developer tools cloud source repositories",a);this.addGCP2CardSet("Maven App\\nEngine Plugin",\r\n"placeholder",140,200,"gcp google cloud platform dev developer tools maven app engine plugin",a);this.addGCP2CardSet("Cloud Tools\\nfor Eclipse","placeholder",130,190,"gcp google cloud platform dev developer tools tools for eclipse",a);this.addGCP2CardSet("Cloud Tools\\nfor IntelliJ","placeholder",130,180,"gcp google cloud platform dev developer tools tools for intellij",a);this.addGCP2CardSet("Cloud\\nTest Lab","placeholder",110,150,"gcp google cloud platform dev developer tools test lab",a);this.addGCP2CardSet("Cloud Tools for\\nPowerShell",\r\n"cloud_tools_for_powershell",150,210,"gcp google cloud platform dev developer tools tools for powershell",a);this.addGCP2CardSet("IDE Plugins","cloud_tools_for_powershell",130,130,"gcp google cloud platform dev developer tools ide plugins integrated development environment",a);this.addGCP2CardSet("Container\\nRegistry","container_registry",120,160,"gcp google cloud platform dev developer tools container registry",a);this.addPalette("gcp2Developer Tools","GCP / Developer Tools",!1,mxUtils.bind(this,\r\nfunction(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2ExpandedProductCardsPalette=function(){var a=[];this.addGCP2ExpandedProductCardSet("Compute Engine","compute_engine",150,"gcp google cloud platform expanded product cards compute engine",a);this.addGCP2ExpandedProductCardSet("BigQuery","bigquery",140,"gcp google cloud platform expanded product cards bigquery",a);this.addGCP2ExpandedProductCardSet("App Engine","app_engine",140,"gcp google cloud platform expanded product cards app application engine",\r\na);this.addGCP2ExpandedProductCardSet("Cloud Dataflow","cloud_dataflow",150,"gcp google cloud platform expanded product cards cloud dataflow",a);this.addGCP2ExpandedProductCardSet("Kubernetes Engine","container_engine",170,"gcp google cloud platform expanded product cards kubernetes engine",a);this.addGCP2ExpandedProductCardSet("Cloud Storage","cloud_storage",140,"gcp google cloud platform expanded product cards cloud storage",a);this.addGCP2ExpandedProductCardSet("Cloud Bigtable","cloud_bigtable",\r\n140,"gcp google cloud platform expanded product cards cloud bigtable",a);this.addGCP2ExpandedProductCardSet("Cloud Pub/Sub","cloud_pubsub",150,"gcp google cloud platform expanded product cards cloud pub sub",a);this.addGCP2ExpandedProductCardSet("Cloud SQL","cloud_sql",140,"gcp google cloud platform expanded product cards cloud sql",a);this.addGCP2ExpandedMachineCard("App Engine","app_engine_icon",1,.84,"10GB PD","1","modifiers_standard_machine","1","modifiers_storage","1","modifiers_autoscaling",\r\n150,"gcp google cloud platform expanded product cards app engine machine",a);this.addGCP2ExpandedMachineCard("Cloud Dataflow","cloud_dataflow_icon",.72,1,"10GB PD","1","modifiers_standard_machine","1","modifiers_storage","1","modifiers_autoscaling",150,"gcp google cloud platform expanded product cards app engine machine",a);this.addGCP2ExpandedMachineCard("Kubernetes Engine","container_engine_icon",.88,1,"10GB PD","1","modifiers_standard_machine","1","modifiers_storage","1","modifiers_autoscaling",\r\n150,"gcp google cloud platform expanded product cards app engine machine",a);this.addGCP2ExpandedMachineCard("Cloud Dataproc","cloud_dataproc_icon",1,.92,"10GB PD","1","modifiers_standard_machine","1","modifiers_storage","1","modifiers_autoscaling",150,"gcp google cloud platform expanded product cards app engine machine",a);this.addGCP2ExpandedMachineCard("Compute Engine","compute_engine_icon",1,1,"10GB PD","1","modifiers_standard_machine","1","modifiers_storage","1","modifiers_autoscaling",150,"gcp google cloud platform expanded product cards app engine machine",\r\na);this.addPalette("gcp2Expanded Product Cards","GCP / Expanded Product Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2UserDeviceCardsPalette=function(){var a=[];this.addGCP2UserDeviceCard("Application","application",1,.8,0,"gcp google cloud platform user and device cards application",a);this.addGCP2UserDeviceCard("Beacon","beacon",.73,1,0,"gcp google cloud platform user and device cards beacon",a);this.addGCP2UserDeviceCard("Circuit-Board",\r\n"circuit_board",1,.9,15,"gcp google cloud platform user and device cards circuit board",a);this.addGCP2UserDeviceCard("Database","database",1,.9,0,"gcp google cloud platform user and device cards database db",a);this.addGCP2UserDeviceCard("Desktop","desktop",1,.9,0,"gcp google cloud platform user and device cards desktop",a);this.addGCP2UserDeviceCard("Desktop and Mobile","desktop_and_mobile",1,.66,15,"gcp google cloud platform user and device cards desktop and mobile",a);this.addGCP2UserDeviceCard("Game",\r\n"game",1,.54,0,"gcp google cloud platform user and device cards game",a);this.addGCP2UserDeviceCard("Gateway","gateway_icon",1,.44,0,"gcp google cloud platform user and device cards gateway icon",a);this.addGCP2UserDeviceCard("Laptop","laptop",1,.66,0,"gcp google cloud platform user and device cards laptop",a);this.addGCP2UserDeviceCard("Lightbulb","lightbulb",.7,1,0,"gcp google cloud platform user and device cards lighbulb",a);this.addGCP2UserDeviceCard("List","list",.89,1,0,"gcp google cloud platform user and device cards list",\r\na);this.addGCP2UserDeviceCard("Live","live",.74,1,0,"gcp google cloud platform user and device cards live",a);this.addGCP2UserDeviceCard("Local-Compute","compute_engine_icon",1,.89,15,"gcp google cloud platform user and device cards local compute",a);this.addGCP2UserDeviceCard("Mobile Devices","mobile_devices",1,.73,15,"gcp google cloud platform user and device cards mobile devices",a);this.addGCP2UserDeviceCard("Payment","payment",1,.8,0,"gcp google cloud platform user and device cards payment",\r\na);this.addGCP2UserDeviceCard("Phone","phone",.64,1,0,"gcp google cloud platform user and device cards phone",a);this.addGCP2UserDeviceCard("Record","record",1,.66,0,"gcp google cloud platform user and device cards record",a);this.addGCP2UserDeviceCard("Report","report",1,1,0,"gcp google cloud platform user and device cards report",a);this.addGCP2UserDeviceCard("Retail","retail",1,.89,0,"gcp google cloud platform user and device cards retail",a);this.addGCP2UserDeviceCard("Speaker","speaker",.7,1,\r\n0,"gcp google cloud platform user and device cards speaker",a);this.addGCP2UserDeviceCard("Storage","storage",1,.8,0,"gcp google cloud platform user and device cards storage",a);this.addGCP2UserDeviceCard("Stream","stream",1,.82,0,"gcp google cloud platform user and device cards stream",a);this.addGCP2UserDeviceCard("Users","users",1,.63,0,"gcp google cloud platform user and device cards users",a);this.addGCP2UserDeviceCard("Webcam","webcam",.5,1,0,"gcp google cloud platform user and device cards webcam",\r\na);this.addPalette("gcp2User Device Cards","GCP / User and Device Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2ProductCardsPalette=function(){var a=[];this.addGCP2ProductCardSet("Kubernetes","kubernetes_logo",1,.97,130,130,"gcp google cloud platform product kubernetes",a);this.addGCP2ProductCardSet("TensorFlow","tensorflow_logo",.94,1,130,130,"gcp google cloud platform product tensorflow",a);this.addGCP2ProductCardSet("Forseti\\nSecurity",\r\n"forseti_logo",.98,1,110,150,"gcp google cloud platform product forseti",a);this.addGCP2ProductCardSet("Istio","istio_logo",.67,1,80,90,"gcp google cloud platform product forseti",a);this.addGCP2ProductCardSet("Firebase","firebase",.72,1,100,100,"gcp google cloud platform product firebase",a);this.addGCP2ProductCardSet("Fastly","fastly",1,.39,100,100,"gcp google cloud platform product fastly",a);this.addGCP2ProductCardSet("AdMob","admob",1,1,110,110,"gcp google cloud platform product admob",a);this.addGCP2ProductCardSet("Google Play\\nGame Services",\r\n"google_play_game_service",1,.69,150,220,"gcp google cloud platform product google play game services",a);this.addGCP2ProductCardSet("Campaign\\nManager","campaign_manager",1,1,120,170,"gcp google cloud platform product campaign manager",a);this.addGCP2ProductCardSet("Google\\nAnalytics","google_analytics",1,1,120,160,"gcp google cloud platform product google analytics",a);this.addGCP2ProductCardSet("Google\\nAds","google_ads",1,1,100,130,"gcp google cloud platform product google ads",a);this.addGCP2ProductCardSet("Avere Physical\\nAppliance",\r\n"avere",1,.33,150,200,"gcp google cloud platform product avere physical appliance",a);this.addGCP2ProductCardSet("Google\\nAnalytics 360","google_analytics_360",1,.98,140,180,"gcp google cloud platform product google analytics 360",a);this.addGCP2ProductCardSet("Google Ad\\nManager","google_ad_manager",1,1,120,170,"gcp google cloud platform product google ad manager",a);this.addPalette("gcp2Product Cards","GCP / Product Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};\r\nSidebar.prototype.addGCP2IconsAIMachineLearningPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"cloud_machine_learning",66,58.5,"AI Platform",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning ai artificial intelligence platform").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_vision_api",66,58.5,"Cloud\\nVision API",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning vision api application programming interface").join(" ")),this.createVertexTemplateEntry(a+"cloud_speech_api",66,58.5,"Cloud\\nSpeech-to-Text",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning speech to text").join(" ")),this.createVertexTemplateEntry(a+\r\n"cloud_video_intelligence_api",66,58.5,"Cloud Video\\nIntelligence\\nAPI",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning compute engine").join(" ")),this.createVertexTemplateEntry(a+"cloud_automl",66,58.5,"Cloud\\nAutoML",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl").join(" ")),this.createVertexTemplateEntry(a+"cloud_tpu",66,58.5,"Cloud TPU",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon ai machine learning tpu").join(" ")),this.createVertexTemplateEntry(a+"cloud_natural_language_api",66,58.5,"Cloud Natural\\nLanguage API",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning natural language api application programming interface").join(" ")),this.createVertexTemplateEntry(a+"cloud_translation_api",66,58.5,"Cloud\\nTranslation\\nAPI",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon ai machine learning translation api application programming interface").join(" ")),this.createVertexTemplateEntry(a+"cloud_jobs_api",66,58.5,"Cloud\\nJobs API",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning jobs api application programming interface").join(" ")),this.createVertexTemplateEntry(a+"advanced_solutions_lab",66,58.5,"Advanced\\nSolutions Lab",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon ai machine learning advanced solutions lab").join(" ")),this.createVertexTemplateEntry(a+"cloud_text_to_speech",66,58.5,"Cloud\\nText-to-Speech",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning text to speech").join(" ")),this.createVertexTemplateEntry(a+"dialogflow_enterprise_edition",66,58.5,"Dialogflow\\nEnterprise\\nEdition",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning dialogflow enterprise edition").join(" ")),\r\nthis.createVertexTemplateEntry(a+"ai_hub",66,58.5,"AI Hub",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning ai artificial intelligence hub").join(" ")),this.createVertexTemplateEntry(a+"automl_video_intelligence",66,58.5,"AutoML Video\\nIntelligence",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl video intelligence").join(" ")),this.createVertexTemplateEntry(a+\r\n"automl_natural_language",66,58.5,"AutoML Natural\\nLanguage",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl natural language").join(" ")),this.createVertexTemplateEntry(a+"automl_tables",66,58.5,"AutoML Tables",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl tables").join(" ")),this.createVertexTemplateEntry(a+"automl_translation",66,58.5,"AutoML\\nTranslation",\r\nnull,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl translation").join(" ")),this.createVertexTemplateEntry(a+"automl_vision",66,58.5,"AutoML Vision",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl vision").join(" ")),this.createVertexTemplateEntry(a+"recommendations_ai",66,58.5,"Recommendations\\nAI",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning recommendations ai artificial intelligence").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_inference_api",66,58.5,"Cloud\\nInference API",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning cloud inference api application programming interface").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"AI Platform\\nData Labeling\\nService",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning ai artificial intelligence platform data labeling service").join(" ")),\r\nthis.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning generic placeholder product").join(" "))];this.addPalette("gcp2Icons AI Machine Learning","GCP Icons / AI and Machine Learning",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsComputePalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"compute_engine",66,58.5,"Compute\\nEngine",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute compute engine").join(" ")),this.createVertexTemplateEntry(a+"app_engine",66,58.5,"App\\nEngine",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute app engine").join(" ")),this.createVertexTemplateEntry(a+"container_engine",\r\n66,58.5,"Kubernetes\\nEngine",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute kubernetes engine").join(" ")),this.createVertexTemplateEntry(a+"cloud_run",66,58.5,"Cloud Run",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute cloud run").join(" ")),this.createVertexTemplateEntry(a+"gpu",66,58.5,"GPU",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute gpu graphics processing unit").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_functions",66,58.5,"Cloud\\nFunctions",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute functions").join(" ")),this.createVertexTemplateEntry(a+"container_optimized_os",66,58.5,"Container-\\nOptimized OS",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute container optimized os operating system").join(" ")),this.createVertexTemplateEntry(a+"gke_on_prem",66,\r\n58.5,"Cloud Run",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute cloud run").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute generic placeholder product").join(" "))];this.addPalette("gcp2Icons Compute","GCP Icons / Compute",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};\r\nSidebar.prototype.addGCP2IconsDataAnalyticsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"bigquery",66,58.5,"BigQuery",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics bigquery big query").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_dataflow",66,58.5,"Cloud\\nDataflow",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics dataflow").join(" ")),this.createVertexTemplateEntry(a+"cloud_dataproc",66,58.5,"Cloud\\nDataproc",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics dataproc").join(" ")),this.createVertexTemplateEntry(a+"cloud_dataprep",66,58.5,"Cloud\\nDataprep",null,null,null,\r\nthis.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics dataprep").join(" ")),this.createVertexTemplateEntry(a+"cloud_data_catalog",66,58.5,"Cloud Data Catalog",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics cloud data catalog").join(" ")),this.createVertexTemplateEntry(a+"cloud_datalab",66,58.5,"Cloud\\nDatalab",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics datalab").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_pubsub",66,58.5,"Cloud\\nPub/Sub",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics pubsub").join(" ")),this.createVertexTemplateEntry(a+"genomics",66,58.5,"Genomics",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics genomics").join(" ")),this.createVertexTemplateEntry(a+"cloud_composer",66,58.5,"Cloud\\nComposer",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon data analytics composer").join(" ")),this.createVertexTemplateEntry(a+"cloud_data_fusion",66,58.5,"Cloud Data\\nFusion",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics cloud data fusion").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics generic placeholder product").join(" "))];\r\nthis.addPalette("gcp2Icons Data Analytics","GCP Icons / Data Analytics",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsManagementToolsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+\r\n"stackdriver",66,58.5,"Stackdriver",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools stackdriver").join(" ")),this.createVertexTemplateEntry(a+"cloud_deployment_manager",66,58.5,"Monitoring",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools monitoring").join(" ")),this.createVertexTemplateEntry(a+"logging",66,58.5,"Logging",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon management tools logging").join(" ")),this.createVertexTemplateEntry(a+"error_reporting",66,58.5,"Error\\nReporting",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools error reporting").join(" ")),this.createVertexTemplateEntry(a+"trace",66,58.5,"Trace",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools trace").join(" ")),this.createVertexTemplateEntry(a+\r\n"debugger",66,58.5,"Debugger",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools debugger").join(" ")),this.createVertexTemplateEntry(a+"cloud_deployment_manager",66,58.5,"Cloud\\nDeployment\\nManager",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools deployment manager").join(" ")),this.createVertexTemplateEntry(a+"cloud_apis",66,58.5,"Cloud\\nAPIs",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon management tools apis api application programming interface interfaces").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud\\nConsole",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools console").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud\\nShell",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools shell").join(" ")),\r\nthis.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud Mobile\\nApp",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools mobile app application").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud\\nBilling API",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools billing api application programming interface").join(" ")),this.createVertexTemplateEntry(a+\r\n"profiler",66,58.5,"Profiler",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools profiler").join(" ")),this.createVertexTemplateEntry(a+"cloud_service_mesh",66,58.5,"Cloud Service Mesh",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools cloud service mesh").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon management tools generic placeholder product").join(" "))];this.addPalette("gcp2Icons Management Tools","GCP Icons / Management Tools",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsNetworkingPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"virtual_private_cloud",66,58.5,"Virtual\\nPrivate Cloud",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking vpc virtual private").join(" ")),this.createVertexTemplateEntry(a+"cloud_load_balancing",66,58.5,"Cloud Load\\nBalancing",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking load balancing").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_cdn",66,58.5,"Cloud\\nCDN",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking cdn").join(" ")),this.createVertexTemplateEntry(a+"cloud_external_ip_addresses",66,58.5,"Cloud\\nExternal IP\\nAddresses",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking extrernal ip internet protocol address addresses").join(" ")),this.createVertexTemplateEntry(a+"cloud_firewall_rules",\r\n66,58.5,"Cloud\\nFirewall Rules",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking firewall rules rule").join(" ")),this.createVertexTemplateEntry(a+"cloud_router",66,58.5,"Cloud\\nRouter",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking router").join(" ")),this.createVertexTemplateEntry(a+"dedicated_interconnect",66,58.5,"Dedicated\\nInterconnect",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon networking dedicated interconnect").join(" ")),this.createVertexTemplateEntry(a+"cloud_dns",66,58.5,"Cloud\\nDNS",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking dns domain name server").join(" ")),this.createVertexTemplateEntry(a+"cloud_network",66,58.5,"Cloud\\nNetwork",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking network").join(" ")),this.createVertexTemplateEntry(a+\r\n"cloud_routes",66,58.5,"Cloud\\nRoutes",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking routes").join(" ")),this.createVertexTemplateEntry(a+"cloud_vpn",66,58.5,"Cloud VPN",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking vpn virtual private network").join(" ")),this.createVertexTemplateEntry(a+"partner_interconnect",66,58.5,"Partner\\nInterconnect",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon networking partner interconnect").join(" ")),this.createVertexTemplateEntry(a+"cloud_armor",66,58.5,"Cloud Armor",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking armor").join(" ")),this.createVertexTemplateEntry(a+"standard_network_tier",66,58.5,"Standard\\nNetwork Tier",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking standard network tier").join(" ")),\r\nthis.createVertexTemplateEntry(a+"premium_network_tier",66,58.5,"Premium\\nNetwork Tier",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking premium network tier").join(" ")),this.createVertexTemplateEntry(a+"cloud_nat",66,58.5,"Cloud NAT",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking nat").join(" ")),this.createVertexTemplateEntry(a+"traffic_director",66,58.5,"Traffic Director",null,null,\r\nnull,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking traffic director").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking generic placeholder product").join(" "))];this.addPalette("gcp2Icons Networking","GCP Icons / Networking",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};\r\nSidebar.prototype.addGCP2IconsDeveloperToolsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud SDK",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools sdk software development kit").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_test_lab",66,58.5,"Cloud\\nTest Lab",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools test lab").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud Source\\nRepositories",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools source repositories").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Maven App\\nEngine Plugin",\r\nnull,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools maven app engine plugin").join(" ")),this.createVertexTemplateEntry(a+"cloud_tools_for_powershell",66,58.5,"Cloud\\nTools for\\nPowerShell",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools tools for powershell power shell").join(" ")),this.createVertexTemplateEntry(a+"cloud_tools_for_powershell",66,58.5,"Clout\\nTools for\\nVisual Studio",\r\nnull,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools tools for visual studio").join(" ")),this.createVertexTemplateEntry(a+"container_registry",66,58.5,"Container\\nRegistry",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools container registry").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud Tools\\nfor Eclipse",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon developer tools tools for eclipse").join(" ")),this.createVertexTemplateEntry(a+"cloud_tools_for_powershell",66,58.5,"IDE Plugins",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools ide integrated development environment plugins").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Gradle App\\nEngine Plugin",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools gradle app application engine plugin").join(" ")),\r\nthis.createVertexTemplateEntry(a+"container_builder",66,58.5,"Cloud Build",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools build").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud Tools\\nfor IntelliJ",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools tools for intellij").join(" ")),this.createVertexTemplateEntry(a+"cloud_code",66,58.5,"Cloud Code",null,\r\nnull,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools code").join(" ")),this.createVertexTemplateEntry(a+"cloud_tasks",66,58.5,"Cloud Tasks",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools tasks").join(" ")),this.createVertexTemplateEntry("html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;fontSize=11;fontStyle=1;fontColor=#999999;shape=mxgraph.gcp2.cloud_scheduler",\r\n30,34.5,"Cloud Scheduler",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools scheduler").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools generic placeholder product").join(" "))];this.addPalette("gcp2Icons Developer Tools","GCP Icons / Developer Tools",!1,mxUtils.bind(this,function(a){for(var c=\r\n0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsAPIManagementPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"api_analytics",66,58.5,"API\\nAnalytics",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementapi application programming interface analytics").join(" ")),\r\nthis.createVertexTemplateEntry(a+"api_monetization",66,58.5,"API\\nMonetization",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementapi application programming interface monetization").join(" ")),this.createVertexTemplateEntry(a+"apigee_api_platform",66,58.5,"Apigee API\\nPlatform",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementapigee api application programming interface platform").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_endpoints",66,58.5,"Cloud\\nEndpoints",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementendpoints").join(" ")),this.createVertexTemplateEntry(a+"developer_portal",66,58.5,"Developer\\nPortal",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementdeveloper portal").join(" ")),this.createVertexTemplateEntry(a+\r\n"apigee_sense",66,58.5,"Apigee\\nSense",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementapigee sense").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementgeneric placeholder product").join(" "))];this.addPalette("gcp2Icons API Management",\r\n"GCP Icons / API Management",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsInternetOfThingsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"cloud_iot_core",66,58.5,"Cloud IoT\\nCore",\r\nnull,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon internet of things iot iot internet of things core").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon internet of things iot generic placeholder product").join(" "))];this.addPalette("gcp2Icons Internet of Things","GCP Icons / Internet of Things",!1,mxUtils.bind(this,function(a){for(var c=\r\n0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsDatabasesPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"cloud_bigtable",66,58.5,"Cloud\\nBigtable",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db bigtable").join(" ")),\r\nthis.createVertexTemplateEntry(a+"cloud_datastore",66,58.5,"Cloud\\nDatastore",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db datastore").join(" ")),this.createVertexTemplateEntry(a+"cloud_memorystore",66,58.5,"Cloud\\nMemorystore",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db memorystore").join(" ")),this.createVertexTemplateEntry(a+"cloud_sql",66,58.5,"Cloud SQL",null,null,null,\r\nthis.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db sql").join(" ")),this.createVertexTemplateEntry(a+"cloud_spanner",66,58.5,"Cloud\\nSpanner",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db spanner").join(" ")),this.createVertexTemplateEntry(a+"cloud_firestore",66,58.5,"Cloud\\nFirestore",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db firestore").join(" ")),\r\nthis.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db generic placeholder product").join(" "))];this.addPalette("gcp2Icons Databases","GCP Icons / Databases",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsStoragePalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"persistent_disk",66,58.5,"Persistent\\nDisk",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storage persistent disk").join(" ")),this.createVertexTemplateEntry(a+"cloud_filestore",66,58.5,"Cloud\\nFilestore",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storage filestore").join(" ")),this.createVertexTemplateEntry(a+\r\n"cloud_storage",66,58.5,"Cloud\\nStorage",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storage storage").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storage generic placeholder product").join(" "))];this.addPalette("gcp2Icons Storage","GCP Icons / Storage",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};\r\nSidebar.prototype.addGCP2IconsSecurityPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"cloud_iam",66,58.5,"Cloud IAM",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon security iam").join(" ")),this.createVertexTemplateEntry(a+\r\n"cloud_iam",66,58.5,"Cloud Resource\\nManager",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon security resource manager").join(" ")),this.createVertexTemplateEntry(a+"cloud_security_scanner",66,58.5,"Cloud Security\\nScanner",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon security security scanner").join(" ")),this.createVertexTemplateEntry(a+"key_management_service",66,58.5,"Key\\nManagement\\nService",null,\r\nnull,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon security key management service").join(" ")),this.createVertexTemplateEntry(a+"cloud_security_command_center",66,58.5,"Cloud Security\\nCommand\\nCenter",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon security security command center").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2",\r\n"","gcp google cloud platform icons icon security generic placeholder product").join(" "))];this.addPalette("gcp2Icons Security","GCP Icons / Security",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsMigrationPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+\r\n"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"transfer_appliance",66,58.5,"Transfer\\nAppliance",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migration transfer appliance").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migration generic placeholder product").join(" "))];this.addPalette("gcp2Icons Migration",\r\n"GCP Icons / Migration",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsHybridAndMultiCloudPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"traffic_director",66,58.5,"Traffic Director",\r\nnull,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migration traffic director").join(" ")),this.createVertexTemplateEntry(a+"stackdriver",66,58.5,"Stackdriver",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migration stackdriver").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migration generic placeholder product").join(" "))];\r\nthis.addPalette("gcp2Icons Hybrid and Multi Cloud","GCP Icons / Hybrid and Multi Cloud",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2CardSet=function(a,b,e,c,d,f){var g=this,h="dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",k=a.replace("\\n"," "),k=k.replace("- ","-");f.push(this.addEntry(d,function(){var c=new mxCell("",new mxGeometry(0,0,e,60),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");\r\nc.vertex=!0;var d=new mxCell(a,new mxGeometry(0,.5,44,39),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-19.5);d.vertex=!0;c.insert(d);return g.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,k)}));f.push(this.addEntry(d,function(){var a=new mxCell("",new mxGeometry(0,0,c,60),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");\r\na.vertex=!0;var d=new mxCell(\'<font color="#000000">Name</font><br>\'+k,new mxGeometry(0,.5,44,39),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-19.5);d.vertex=!0;a.insert(d);return g.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,k)}));f.push(this.addEntry(d,function(){var a=new mxCell("",new mxGeometry(0,0,c+8,68),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;");\r\na.vertex=!0;var d=new mxCell(\'<font color="#000000">Name</font><br>\'+k,new mxGeometry(0,.5,44,39),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-19.5);d.vertex=!0;a.insert(d);return g.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,k)}))};Sidebar.prototype.addGCP2ProductCardSet=function(a,b,e,c,d,f,g,h){var k=this,l="dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+\r\nmxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",m=a.replace("\\n"," "),m=m.replace("- ","-");h.push(this.addEntry(g,function(){var f=new mxCell("",new mxGeometry(0,0,d,60),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");f.vertex=!0;var g=new mxCell(a,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(5,\r\n7+22.5*(1-c));g.vertex=!0;f.insert(g);return k.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,m)}));h.push(this.addEntry(g,function(){var a=new mxCell("",new mxGeometry(0,0,f,60),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex=!0;var d=new mxCell(\'<font color="#000000">Name</font><br>\'+m,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(5,7+22.5*(1-c));d.vertex=!0;a.insert(d);return k.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,m)}));h.push(this.addEntry(g,function(){var a=new mxCell("",new mxGeometry(0,0,f+8,68),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;");a.vertex=!0;var d=new mxCell(\'<font color="#000000">Name</font><br>\'+m,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(5,7+22.5*(1-c));d.vertex=!0;a.insert(d);return k.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,m)}))};Sidebar.prototype.addGCP2ServiceCard=function(a,b,e,c,d,f){var g=this,h="dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",k=a.replace("\\n"," "),k=k.replace("- ","-");f.push(this.addEntry(d,function(){var d=new mxCell("",new mxGeometry(0,0,e,c),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");\r\nd.vertex=!0;var f=new mxCell(a,new mxGeometry(0,.5,32,32),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,-16);f.vertex=!0;d.insert(f);return g.createVertexTemplateFromCells([d],e,c,k)}))};Sidebar.prototype.addGCP2ExpandedProductCardSet=function(a,b,e,c,d){var f=this,g="dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",\r\nh=a.replace("\\n"," "),h=h.replace("- ","-");d.push(this.addEntry(c,function(){var a=new mxCell("",new mxGeometry(0,0,e,70),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex=!0;var c=new mxCell(\'<font color="#000000">Name</font><br>\'+h+\'<hr><font style="font-size: 11px">Attribute Name</font>\',new mxGeometry(0,0,44,39),g+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(5,7);c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,h)}));d.push(this.addEntry(c,function(){var a=new mxCell("",new mxGeometry(0,0,e+8,78),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;");a.vertex=!0;var c=new mxCell(\'<font color="#000000">Name</font><br>\'+h+\'<hr><font style="font-size: 11px">Attribute Name</font>\',new mxGeometry(0,0,44,39),g+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;");\r\nc.geometry.relative=!0;c.geometry.offset=new mxPoint(5,7);c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,h)}))};Sidebar.prototype.addGCP2ExpandedMachineCard=function(a,b,e,c,d,f,g,h,k,l,m,p,n,q){var r=this,u="dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",t=a.replace("\\n"," "),t=t.replace("- ","-");q.push(this.addEntry(n,function(){var a=new mxCell("",new mxGeometry(0,0,p,95),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");\r\na.vertex=!0;var n=new mxCell(\'<font color="#000000">\'+t+"</font><hr>"+d,new mxGeometry(0,0,p,50),"text;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;");n.geometry.relative=!0;n.vertex=!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,25*e,25*c),u+b+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(4+12.5*(1-e),6+12.5*(1-c));n.vertex=!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,20,20),u+g+";part=1;");n.geometry.relative=!0;\r\nn.geometry.offset=new mxPoint(35,55);n.vertex=!0;a.insert(n);n=new mxCell(f,new mxGeometry(0,0,18,18),"rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(24,69);n.vertex=!0;a.insert(n);n=new mxCell(h,new mxGeometry(0,0,18,18),"rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(50,69);n.vertex=\r\n!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,20,18),u+k+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(75,56);n.vertex=!0;a.insert(n);n=new mxCell(l,new mxGeometry(0,0,18,18),"rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(88,69);n.vertex=!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,20,20),u+m+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(115,\r\n55);n.vertex=!0;a.insert(n);return r.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,t)}));q.push(this.addEntry(n,function(){var a=new mxCell("",new mxGeometry(0,0,p,95),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex=!0;var l=new mxCell(\'<font color="#000000">\'+t+"</font><hr>"+d,new mxGeometry(0,0,p,50),"text;connectable=0;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;");l.geometry.relative=\r\n!0;l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,25*e,25*c),u+b+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(4+12.5*(1-e),6+12.5*(1-c));l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,20,20),u+g+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(35,55);l.vertex=!0;a.insert(l);l=new mxCell(f,new mxGeometry(0,0,18,18),"connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");l.geometry.relative=\r\n!0;l.geometry.offset=new mxPoint(24,69);l.vertex=!0;a.insert(l);l=new mxCell(h,new mxGeometry(0,0,18,18),"connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(50,69);l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,20,18),u+k+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(75,56);l.vertex=!0;a.insert(l);l=new mxCell("123",new mxGeometry(0,0,25,18),"connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");\r\nl.geometry.relative=!0;l.geometry.offset=new mxPoint(81,69);l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,20,20),u+m+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(115,55);l.vertex=!0;a.insert(l);return r.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,t)}))};Sidebar.prototype.addGCP2UserDeviceCard=function(a,b,e,c,d,f,g){var h=this,k="dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",l=a.replace("\\n",\r\n" "),l=l.replace("- ","-");g.push(this.addEntry(f,function(){var f=new mxCell(a,new mxGeometry(0,0,70,85+d),"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;");f.vertex=!0;var g=new mxCell("",new mxGeometry(.5,0,50*e,50*c),k+b+";part=1;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(25*-e,10+25*(1-c));\r\ng.vertex=!0;f.insert(g);return h.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,l)}))}})();(function(){Sidebar.prototype.addGMDLPalette=function(){this.setCurrentSearchEntryLibrary("gmdl","gmdlBottom Navigation");this.addGMDLBottomNavigationPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlBottom Sheets");this.addGMDLBottomSheetsPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlButtons");this.addGMDLButtonsPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlCards");this.addGMDLCardsPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlChips");this.addGMDLChipsPalette();\r\nthis.setCurrentSearchEntryLibrary("gmdl","gmdlDialogs");this.addGMDLDialogsPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlDividers");this.addGMDLDividersPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlGrid Lists");this.addGMDLGridListsPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlIcons");this.addGMDLIconsPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlLists");this.addGMDLListsPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlMenus");this.addGMDLMenusPalette();\r\nthis.setCurrentSearchEntryLibrary("gmdl","gmdlMisc");this.addGMDLMiscPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlPickers");this.addGMDLPickersPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlSelection Controls");this.addGMDLSelectionControlsPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlSliders");this.addGMDLSlidersPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlSteppers");this.addGMDLSteppersPalette();this.setCurrentSearchEntryLibrary("gmdl","gmdlTabs");this.addGMDLTabsPalette();\r\nthis.setCurrentSearchEntryLibrary("gmdl","gmdlText Fields");this.addGMDLTextFieldsPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addGMDLBottomNavigationPalette=function(a){var b=[this.addDataEntry("gmdl google media design library bottom navigation bottom navigation",358,48,"Bottom Navigation","7VbbToNAEP0aHtss0Gp9tPXyosaoP7AtA2xcGLKMtfXr3WWH2go1jZcHjRCSndkzlz1zIATxrFhdGlnl15iADuLzIJ4ZRPKrYjUDrYNIqCSIz4IoEvYJoos9u2GzKyppoKRDAiIfsJT6CbzHO2paa3Ykss7BwUUQT6VWWWnXC5sfjHWkWNK9enHYMLJ2ncvKGQYW5LaV1jPUaJpccdpcDkYGH6HdKbEEH5vgM1fixsAQrPYernHxyS4BCyCztpBnlVDuEfF44sNyUFnOYSP2ydrb2Sb0jSq7YLb6mYs7zN2BY6X+mMCcCu242qKqWGVu/sOsSPTQcJIOdRPh7n3UuTH0gR1/aiH1Kc+NsHIpKrlQZXYFKXFb22N0tpZz0LdYK1K4M+824dU7wByJsOhTCBebMqApx74H183Z4OjQcUf94+YAMQzHPmbdOtje0gO/DztyaH0GtCS1hJ36fRrhFm5R2c429Qeh2Ck/aNtpU2Ca1kAdkW1OcpDuRh3dXcglGkXwReXlIE3PKyvE8cnR9EDdbcC/Qnfj79Ld52QXTn5IdqMfkN24I7sbq5f5+muaK32O/4/dJ0Q3+XsfO2u+/fp4+Paf0Ss="),\r\nthis.addDataEntry("gmdl google media design library bottom navigation bottom navigation",358,48,"Bottom Navigation","7Zbfb5swEMf/Gh4TGRxY9rikW19aqdL2PjlwgFXDIXPNj/31s7FJ84Oo6UqeOiQk39d3PvvuE4eAL6vtvRZN+YgZqIB/D/hSI5IbVdslKBVETGYBvwuiiJk3iH5cmA27WdYIDTVdExC5gLVQL+AUJ7S0U17IRFuCdWcBXwgli9qMU7M+aCPkWNNP+cf6hpGx21I01tCQkp2WSi1Roe7W4ox9+ZosrBtpfIZ+psYaXGyGG5/Jbww0wfbi4TrJn+wesALSO+OykRmVzoPHcxdWgixKHzbzmmidXexDX0tlBr5aw5Xj76xcSZWyRTqoUbUtbOOnRZWp6VpmgL+j85rl3XOpZrb+Q862cDIV6ptvGGFjl2hEKuviAXLy2zrsn7WVWIF6wlaSxKNG9ws+nDiskAirITR8soV36NJ57Zfdzd0kMQpahXbGTK5uezTcdh/ApmHsYna94O0DLvzv4giLMHGaBiVIruEo/xArfgtPKM3O9vknITtKPzmhDfO8BTpjbX+Qq/CbneH3+NLK9GMMVt0Sn4nAeCzk+PxN5MLZOXI9hmMj1+calbl45Ctvhfj8qWi71X2XRG/Dl9wOvvkJe+wG7CUjs7eBVSMK+I/fCPjN/+3v9mZ3X/xx/oz5+hHu3A+/0f8C")];\r\nthis.addPalette("gmdlBottom Navigation","GMDL / Bottom Navigation",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLBottomSheetsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library bottom sheets bottom sheet",358,320,"Bottom Sheet","7ZbRbtsgFIafxrcVgbjJLud0Sau12rQ9wETjE4yKwQLSOnv6gSFpFhwJaUsvqiaKxDnnPyfm+4VMQRZtv9K0ax5UDaIgXwqy0ErZsGr7BQhRYMTrgtwUGCP3K/DyTHUyVFFHNUib04BDwzMVWwiZkDB2J2KipqYBL0cFqajgTLr12s0H7RIbJe1P/ttrJ9jFpqGdDzSsrS9zIRZKKD3MIpvh42VWqyfYV6SSEHpr9RL/yQ3YasOf4QeYMN9n4+OCttCf3fKQivtdgWrB6p2TvPDaNkFBynloa4CzJraRyApRExLs0PtK0C0ixHGgJAH6rQPpBTIhe8JqlMkxwJjaeyBgY6MDR4jnyH9PnJnmosPj6PYNEdAuhmUIj8BihFKw/4PrNOH6FaA7i7TtmT9TV6ytxdWTV2bwdfSW02qGqhSyoI8gvivDLVc+rcPuKo+Tr6m4P6m3vK79Mx0En+O8Q8F0dM0lux/m3+C3cewajTh2GcPKxLA7+aj6PMf4IP2wzIeTEc/wZTy7Tjy7pZKprTV5tjVBnWkcWn6aleX7NS73sOF/N26WGPcAxoBk7h2d5Vx7kH8cOi9+w0M3T7xbKcXc3nGV5x0b5L86sTWZ7jls7gr0ft273GvOha+X86H21939Dw=="),\r\nthis.addDataEntry("gmdl google media design library bottom sheets grid style options",358,642,"Grid Style With Some Options","7VvRbuI4FP0apNkHUGI7BB4LHToPU6naXWkeqwAmRHVilLgzdL9+HRIDwQ44xAbKDFUlYuwQ33PPvdfHpgPH8fopDVbLZzrHpAO/duA4pZQV7+L1GBPSAU4078DHDgAO/++ASc2n7uZTZxWkOGE6A0Ax4GdA3nHRUjRk7IOUDfMgW+K8u9OBo4BEYcLfz/j9ccobFjRh/0T/5X1dwK+zZbDKL1I8Y/nHESFjSmi6uRdcbF55N5bSNyw+SWjCx4zKZ8Epw+va+Wyaysk8YRpjln7wLr+iOVsWPaA3KIYtcRQuy2F9VM4syIqGcDt2Zx7+prSQ2lpQslY+5wfomDWa6J8Wj39oRPAIh4N+nRHze+91nmxeeedVMIuS8O/SJGjX9C9d5Q8inquchHPwnJBfpzjjVz9KU7u6kIHzIAOoaEsxCVj0E1fu3wZG1NDplywm5XwFUvE6zDnbC+M56TG6ep0GaSu3hmobVQd8lJTuecX1ngVRXzag29SA5fe/0Ig/1vbLu0NQ+fquX70DXSwyzCQAtrPQwsSTMHkgEW8Y0yShaWaWYGriVFkGh8gf+kqn37t7brRTlCv41c0JlDtBNAvIQ/nAcTSf5zPazoDgBduN/L65evSBZaZ5fjtH+agS1qhj9A2TVVi44gJyahJ4a5veU5v+CGVdFWX7Rigr6CQYO7AAjG8YGDyPdLm5xaoNMtqh1SJO3f4FgBoYBoo/EePBKbtJsDx7WJWltFWshg2xspH5nM2Lt9M8C7F8usC5ePUnmNEyJw1cCyi5jmFKMUzwalmgoVWcTDx35OkiMGycmoSrtyrH9VKTC2wA5EoAfel7zl+8yfM8/p0QSYBxC7IDAiG5uNuSo7aUk2liqLhrDqN6WeUYIVb3cIgZ4GRB4plOI25YDbigDJfnoAmafBK4XE9Fu6Zw6a6CXVnNaBfElkES0nfdLDN6zP9aGlO/hvPNE0HUBeigLhDZwSwxmooWfyqDEwHMFZKJWZxkIeMLBFBknr4/GH6+zFM4372nHllp+EHTt8+XeK6GlnbmMS0d2Mw8ddb8jVJPUwHhflOPoQC2XZ+YxUlDPBCWJ5Firblv5qoK6hozfOFMtXRyesBxT3MKDFSanKHs4lnABjRVDO6XQ4bKNwBtcAjIwkG71BQHETm63VCn7Jy5DVE4WjOxBym4ZGgfAlXzkw3JVCC0Bxknz6zcN0QOXgfxiuDejMYSlDdfeZ8B5+ervBXnKl5wmtEkIDqI3Vb1fQZil9V9Gh9/+JOKTqWioQ0lQXEkgiPxei+Brfki1QxNLhrY7kVSuBpa2kFNQ1K4+trnzChlaF0DPStRShYHnjY179GUsu/pTl3pHJa186G7s/w81YgEU0xeaBaxiFayk+j+/aDDlDLGI2VNPlPxrHJ+q98S5e0C10UDiSyq03tii7L1sYWyuhJuIE7zmXUDWXv4Vopy7R1hJ+/dhiu4cj3jDh8c72td8WPEbxRnPhURFtk57AIHNoIHlFWRJ0rDfLd3ZCKAbO71uiLv2U35jj0fGXjI1wouxtwEXsJNZFHm2UyKuakMg45sVegeV4VWs5Qi3kBgJd6goY2zxOJh9x0JZ1kQysdLzvCl8k634k5dRZpq7E/IYvZSyI7IlDeBqjeJTXez3iTLVs80NeJK+W1uxY/cvrYf2U9ligjk2olA3Bg2fOamxDez69iPyoBTq1qRX9oKN8jGngKUtbfjMJ3aBpoGs7cm20A1WoS2YAOPn1pwegfHcJUKjmpfyNCi1K98u5VflEGNXw4JrPjIaJUpVaGrIXT/ADXQ7JTR7Zro+PcGD7/c/ey86L7/q/T/AQ=="),\r\nthis.addDataEntry("gmdl google media design library bottom sheets grid style all options",358,642,"Grid Style With All Options","7Vvfj+IqFP5rTPY+aFqg/ngcnXXuw04yuXeTfdxURW2GlqZldvX+9RdsUSvUoRZWx10nk1gEWs73Hb7DgXbgJN48ZWG6fqYLTDrwcwdOMkpZ8S3eTDAhHeBFiw587ADg8f8OmNb86u9+9dIwwwkzaQCKBj9C8oaLkqIgZ1tSFizCfI1Fda8DxyGJVgn/Puf944wXLGnC/o3+E3V9wK/zdZiKiwzPmfg5ImRCCc12fcHl7iOqsYy+YvlLQhPeZlw+C84Y3tSOZ1dUDuYJ0xizbMur/IwWbF3UgMGwaLbG0WpdNuujcmRhXhSs9m0P5uFfSgvprQUVa4kxP0DPrtFk/ax4/FMjgkc4GvbrjCj6Pqo83X1E5TScR8nqn9Ik6FD0labiQeRzlYPwTp4T8usM5/zqW2lq3xQycBlkABVlGSYhi37gSv9tYEQNSb9mMSnHK5GKNyvhs71VvCA9RtPvszBripSR7aDedtUG29LVe0FxfWRZ1FcN6zc1bHn/Fxrxx9rfvDsCldt3B9Ue6HKZY6YAsx+FEVaBgtUDiXjBhCYJzXK7jqd3qCqmcIQGo4HWGY56F0Z7zxULv+sKxxIkiOYheSgfOI4WCzGi/QgIXrJDyy+7q8cBcOyBwaAdUbZVR7ZKjL5lJ5YWrlBAlSyJt7HpA73pz7isr3PZvhWXle4kPXboAJiBZWDwIjL1zT1WbZAxnlod4tTt/wKghpaB4k/E+OSU3yRYgTusyhDbKVajhli5UD5v9+HlVKgQE8MF3i+PCqVntNSkoe8AJd+z7FIME5yuCzSMgpNp4I8DUwRGjaVJUr1VmG4mTT5wAZCvAPSpH3h/8aIgCPg9IVIA4xZkJw6E1OBu7xyuQ7nmoOkXV54VN+qeNrEDk5qWeKaziJvRAByoghN4aIqm58BR57APDpfpWthXcxrtpqx1mKzom6mmjB/FX0tjmkdsA/uOIKMAdBIFSC2w6xhNUxd/4oB3JjBfJkjs4qSmLT5BAKXO9AfDkTOdcTaVFeS7d+lR8wrfaPb68YTnamgZK4/tRIFL5amz5m8kPU3TBfcrPZYmsP1qxC5OBqkCaXkSaVaWx2au5jx9a4YvyFTrTl4PeP77PgWGugycJXUJHGADmuYH7teHLIVvALrwIaCmCdpJUxxG5OzmQl0e58JNh4JozVI7SONLlnYdUFWfXCRIJUJHkHHnmZe7hMjDmzBOCe7NaaxAefOR9wVwfrzIW3O64gVnOU1CYoLYbUXfV0PMNPo2OQRx9TDhQm2xFAKAkROaq6mBp508nBWYOt2vqMyqlJlTujNx0GBMwhkmLzSPWEQrMYWs/uWkwowyxmfLmihE52eVgw39lijvY0EfDRVn0R1rkbn71vt5sCJXELg416I5v/B3uX5tT4TDSvg2qOCrEY4/evCCz3UhqxXeaA5DabavkJtdYOhGI9WcyROlK7ExMrYxgez6+p6St/ymuOOOI8MADYwmF2s0OZ1cnNBEzdU825GYm1IYdCarZ3qOCzpVKc18A4GT+QbJ+M0ukdRk0jPO83Cl7sRewKWyp1uhU1cjU435hByql2aFjmyxCVTZ5LuIeaCa/prQdGuBSnPRza3wCJzQKNGd31G5ZZ1BWm2DOhJZ2oeQpNmTyEWiB6q5uWk4xzNK1U265kRayq5uhUzmc5LNsMh0yeUoKgrkqRS7zFFThF9/RkyA0Z44rOzp9+aN2fsnH4s1TQ9IOd2zsZtI21YavJdWk3NC2+wxciILtl/qmoXz1yZbNjXJUOOMMTz/ppfXOzkgqz1koNvDsZQVq2q7k3e9oJoaVTCUWPGWUZpr46qrIXT/ABm8dHV2drsmOoN7g4dfHl4UL6ofv0f+Pw=="),\r\nthis.addDataEntry("gmdl google media design library bottom sheets list style",358,642,"List Style","7Vtdb5s8FP41uUxlbALJZZruQ9MmVe827XLyEiegEoyM2zXvr5/NV0JsGrPYLV1DVQmM7djnOc85h8NhhBbbxw8MZ9EXuiLJCL0boQWjlJdn28cFSZIRBPFqhG5GEALxP4LvO+56xV2QYUZSbjIAlgMecHJPypayIee7pGpY4TwisjsYoWucxJtUnC/F/ISJhjVN+df4f9nXg+I6j3AmLxhZcnk7TpIFTSgr5kLr4pDdOKN3pL6T0lSMua7WQhgnj537KZqqzXwgdEs424kuv+MVj8oeaDIth0Uk3kTVsMCvdobzsmHTjN2LR5xUEtJLCynSknueI2BXaHV/Vi7/WIjwBs2mQZcQ5dwHnd8Xh+yc4WWcbv6rROLvm77RTC6kXle1CXC0TiSuGcnF1Y9K1J4pZPDvIIN+2cZIgnn8QFrznwOj31PpI75Nqv3WSG0fN5KzV5vtKrniNPv5C7O+SBnJDull1x6wq6h+NSmvDyTrB6pgvb6CrX7/lsZiWc2Pj2ew9fPjsD0DXa9zwhVgml0YYTVRsJrL+zbppqdRG0k088NZqKXAwexSVKcIWLJtLOkkoY+XOJlXC97Gq5XcUbODhKz5fuTn4uomhI55NwnPU49dm75W1SGwTN2MkTUREluS3FATGhdmBMFED8EThK3F1iJsYIWw9TQ1X6cOAApt21YW43RTsGII6HhAwxc74AC/jQ5ygM7UMjo5wWwZKdgcAnEIUIVZ2bm2ocbmrAMtY1fo6VyhHWaNg4l7as2sg8e5cCvPaviMwZq4wwr67rGq7cQBWJ9wKqcFt4TdxWn+NHYuYhhQHKKdyniCy+1DcCqk8Xw1pGkmGmoAc6ZFrhRj6rlQDM82i3nx5GGiADcijA3eGT9og97esX5Abj3FeXbc41HsUhPMLjh90yGnwLnPiSk4UyD/zgXH2L4ijTNElgzsBBxh5cTCqsmYL7iQwScapTlNLwZ26AbWqxXOrmLYTu+4I/G5yZ3XT2I1vXNLJB8hWGCW5BcavwYaz5wESrZTPe5ofO6zzuunsZr1+cbIA5U8/ojTnFxYPHgWN28K7GqG7YyTOxaHb57FfRNML0tbl5yq5XsmpxBw4RmhmltScKoln8QHGVedmNu5WM+a4Etl6qQTuILAO80pONWQyg42Yxevp6Ca3ZljJoNYcE3SlHA+ZEZdHGExd20H7WqGmlqaK7oghMLbOEANDk0arxOH4zoORa3MYOgoten58rJ3GYdhAhC6QElNKg00XOkC5+2EK5oynq+RkNDzW9jmzdjFpHaY1NCJs1WTR+eRNS/URxMtBcWhAt+0/+Ub7VKF+xUghBoLC6zQ9shouHnFoqng+Z4lFK8utB0cbX3oJBKyXSJ0X+qPGegNZc3kH1gJgV5R/ZamRGhBs92FncNj59SJU7VdZbSU2mPqU88rECt19025U6Tmgm5ZuQwexXkhoM0lJB4eeyfIhW9FtquLskKZnjEkRv2rjjxdAteOx4VHD7IuPC5SM0PPz9eGdXbz7LvWgFPU8m1ldp3AZDs19Asv73TM0lZOd6fszZnVgdE+I9+uYdZSTRfcWvqaKGxTzcXHRMigNKjGSoyMs1ybDngxhP59gAxSOk9at5dEJ/zX4BGX+y+Ry+6HHyr/AQ=="),\r\nthis.addDataEntry("gmdl google media design library bottom sheets bottom sheet menu items subtext",358,360,"Bottom Sheet (menu items with subtext)","7ZfdbtowFMefJtpVKycGNi4h3Sp1rVRtT2DiQ2LhxJnj8LGn3zl2AoW0Uy82ygWRguzz5eP/+QlExNNye29FXTwZCTriXyOeWmNcWJXbFLSOEqZkxO+iJGH4Rsm3N7yx97JaWKjcexKSkLAWuoVgCYbG7XRnkKIpgMJZxOdCq7zCdYb1waJhaSr3U/2m2DjBfVOImjYWMkdupXVqtLG+Fl/6h8KcNSvoPZWpIORKs+lOwgKtbdQafkAT6pO1axesg+2bV/am7r73YEpwdochGyVdESL4+EtIK0DlRZfGJ0ErJppgyPe5BwVx0Yn4uqB8IGgqrFosQFTenAmnDC4nmuSRao3L3PmbBRMJejSAya/W9I6bIMUMA+Kk3h6caMj2Mh+MfOqfl6Zw2qzN24bOibFhdoMvtR06wCuGJo4bQ/NRuyeY9IMvtznRfJuXUt+qUuQwGDf2xfzzF0B60DQs6TgtFqCfTaO8eohXGNucSFCZ0I8n/lJJSZ3tA2Zdvb2jqUWmqvzR17+L2QnLI9wXrtS0fi93yevc9QnjkLHrgrvtCypHbAjl6B8wORow+SwW2lBVQsAVgJ9IaFbQ4aZt4MP5fGg1SRdPezpHVzrPSef0fHSOB3R2wx854nEDsIJK9rA+GNh9ai6FT99iSnwyEvBK6PkIjSfnQ3QyQPQJcqKQzZV1hRS7CwCyom/xZHrl8YN+z/n5ePw85FGtaPw4TVHWAZ/vVjVOVR7TDUiJ4lwKpfwK6cdAytl/gxS3h7+t3nf0r/YP"),\r\nthis.addDataEntry("gmdl google media design library bottom sheets deep linked modal bottom sheet",358,642,"Deep-linked modal bottom sheet","3Vrbbts4EP0ao08JZMtxnMfETYoFtsBiW6CPC9qiJMKUqJKUbfXrd2ZI6uJL6zR2CzRFYomXIeecmdGh3FG8KHYfNKvyjyrhchQ/j+KFVsq6q2K34FKOJpFIRvH70WQSwe9o8nKid0y9UcU0L+05EyZuwobJmrsW12BsI31DwkzOcXg0ip+YFFkJ1yuwzzU0pKq0n8Q3HDuewL3JWYU3mq8sdgspF0oqTbbilH5wmNVqzUNPqUqY8+T3wrXlu5P+UJN35gNXBbe6gSFbkdjcjYjv5m5azkWW+2mzqfeMGdeQtXM7eODCI3QcrfgALfT5MY4uC1oYr93290GcvI8f5rNTIKLt3uAX+sHBFVuJMvvXQzLtmj6rCjcS9uWdiPb2GcO95gbuvniox+dSNvk5yiZT16a5ZFZs+MD+W2icvjLoc1tI729gqthlmLO3WZHIW6uq/5ZMv5aps7CLj2M3nND4VL+9c/c9ZKezQ2DHrwXWr/+PErCtdvGbh8lg+Zv7oQWVpobbA2JaL87i6u6Aq4+MEMhZAn+lWHP8tApvlFrj+pb81fC3UNZdpFoV2AW/iTCWlSuOtyXOBaZbezZXNeIUDAA7uFilubVwAduNlrV1ToaZ65Jvu6FSWCuxWaWtFTdupWpJ662YXnHpnNhgz5LzEj74roIC0PeHep0NpUNzIYzZ32BRr3IkPidDbr0t7TGDYLuFz0/Ulgi0Xiq7b4dAYwg9+ijQSsqgGtGtw6nnsjONaBou0xu2NEovaeOrXMgO1Iz1PICYFpoPQCZ/oBet+KW6RRwjTG5Zg42Jd+SvdG+ER0/JpAf21oNdKppaL+0B3B46Vu6Eqk3AYMmhJCL4PHWQYLJ6RKw3rdF0Fwt9TLzRRtVo5Sh4e3753Vi2pk8IjhA9i3aKqatKGd4B284Ofi4Jmy856zbUwey2ZvudYR4mUCBiXSoMZJGO9kPIQUKDSkGpU3FVYZgvKOrUYCfYrSAPWsM+xAiITPRCwof2tqS1moCTa35sWN5Oc9CHdC5d3cLw0xtWWtPC6qMEql48jqjI9i59EviEHeJBC7vEGPgLxaIJseE28VxmUhjc2kpynTUFK9/RBiCKuEtCorBvOLBLZlKhjT2ek1tW2v7KOOrzqVVb65VSHcC9GEsdSJSTmtYvOdNUeSjVvUOGFRRTWVcToaNxoe48YctlQ0sjA6YdtnWettH4tWYanioOPl9dgSvYgAeURvlizBnVLOIU/WwLuy+B8MhCr2ooG0lDyVZmkI7bbnWXVJThwrBMc86Wso06MFB0NLPUUug4l4kCnEfkutq6pfBWS5U0vXCuJHNixeYuMnGrT00HHl8p2o0z5YFz+GOsl138u+xZlw7ubS7I/4IlXUKktcZidHsgSPYk4nHpN1Qfi5fF8+L5qGyDtS3/BPIPTW5ByXRqEEdgtqAuESsmH70YtagSW2lK1fG68i++j94mU5qhjLyoLJkdyJIU+FtMRk/3G4ymmUR4ErGBy8wh5ZpQUmMitTTNvtbKDYjnEf7rN/UiIDSigRtDovwRBoxn1a4/I6z28g6q+IwVlTM9i5B2vTnShjD4zcGl299wz9A88OScs44PkN4JYjI9POmcE8YvL4txdH80jH3I/k1rvR/fHZxp9tT7W8K1GUz4UfCOx5cJ3ps4nl8hfO8vfALaKFkX/ExC53ezu2h6Lh2zNx6A/AuQ4cnyjeSEA9A8Gh6AAukX5Wp+Ya5AVuhTTA0b+1z1ORwMDvk4+Z2EjueXIXS6R+jDFfh8OMLnlZ4NU3g2UBnfezyUcDr5Qc0fPrp6avroE+FgDsDKS9PpyYoZIxRIQRJfnCTi7dnWOg/cwYZJd+r3oqyvZeExTA9gd/wmyUViH0QaxuUAi7MXf7X7v5xR00BSNoVxwzza/vypEwTEHeuRFRHeZHzjzJ/3Nxy0Mmh5ei2CDbxQtrWwZbpAoKmD6ZIbC7/Gm9+IpLXI4Qyhu741HG27O6gAeW0EM4W/361AhRZYGPxBWRSsW3UjsrBvXuKJx12n9A6BjsaV0MIGV4y/wgAAP5pfomnGP6lp2vfgJzWNEzDRUJffndTlvaJ/TNv/QuEzv5DwaR98Fy2+4Ql9tS88zmE/op+Lv09/HVHTNz4yA0/Tq9A0vrDoWbLV+pi+aRPxFEU/KXJcnJ1UOdFteLH9HaETXtNf49X9/VDnXOPN/XjyYw4DVzBTVOaoAv1tDP35BB1+nXmSoKPV7Xeyc/+n0QO33df+bnj/fwX8Dw=="),\r\nthis.addDataEntry("gmdl google media design library bottom sheets long list",358,642,"Long list","7Zpfb5swEMA/TR4bGQMhPOZP001rtWqdtMeKgAOoBiNwt2SffjaGFGJonQZnU1aiSNg+G/t+vrM5MzIXyfYm97LojgQIj8zrkbnICaHiLtkuEMYjCOJgZC5HEAL2H8FVT6lRloLMy1FKVSpAUeGnh5+RyBEZBd3hKiPwighxcTAy5x6Ow5Td+6x9lLOMDUnpQ/ybyxqQpYvIy3giRz7lxTHGC4JJXrZlbsqLi9GcPKG6JCUpqzOv+oJyira94ymzqsHcIJIgmu+YyK84oJGQMO2pqBahOIyqahOrGplXiIxwX/dFPeym0lC3tkxJW3zMMxMMq7RaPhfdP1QicB1zdt2nRN52Q3hVXlw48/w4Db9VKrFesr6TjHek7lc1CHDQT5Olc1Sw1I9K1YYqMvg+ZNASeTnCHo1/olb7p2C0jpz0EU1wNd6aVLINuc2OwyTAY0qyx7WXH0tKSXdmt+7aFXaVqY9tkW5o1prIijWOVWz1/HsSs27tH37lwtbjr5x2C2SzKRCVwOxHocTK1uygum3oEON0uZidff5PwGmYdm0zGhTLZGATynK0QUxjPipUoUwtewJUEdhvIqjV1DKUySCGUjdTAwEagDgDAymQl/uRxKKp+CaQipEQrg0EnkinXaHByuhyasOwunJM/bCmA8PivuysdtNPpsOPDUXGtPSTcSUyXzOUcoFUQnTsSlJl1SsURhsq79emgP8O1i1ruJUGAiATgieuNHWHQAuQ62oAVD+jQegLQlkvnJadPHFJNTNZWXMHzGVc2FsjfE+KmMakuUfnYGLfw7cH5UkcBLxPe4FZ1d6+oNqF35btL6FW9udCb1g6Nh2GIbH/nK7JVg1+XIr+x/Th2ei7WujLsYpPXhqSZ7b0KU2ASEirrpMr17HtC5sCXQ4A6pgCUI8DkAMwd6goUBqyVz2lOZDsxT8cgX5HAPU4Ajl+c0NIyLQI52qzICzFHzP8rLprZgDYS/qFzYOzbQdMPd5Ajg09RAipLgeFkFXjD42ZNbEui3/XW/RQ/GGbvx4/IAehlsRXpB9wSTX21mp6vbow2z8fe0uP7cvxrgccB0jV9oWs4h7AnrsG+OD/Tv56bF8Ood1HhBJF/pmQvSik51vObT0mLcfeJJj6j3rKa/Cjnl2rwlsHP9b0NGr1eVzdzqCYoByAex3TW8Hrtec/dZ0z7L8V6EP0zsMGMc96Y9pgXJ85vnKqWr+C6DhVdVpP13KoCuVAWq/fZDXjrED/FKHLByTHunoBdXq3v0nHuTQ8LPnyRZYQb36w9Qc=")];\r\nthis.addPalette("gmdlBottom Sheets","GMDL / Bottom Sheets",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLButtonsPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),\r\nthis.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1",100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl",\r\n"button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1",100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#000000;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;",\r\n100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",\r\n100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",\r\n100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;shadow=0;",\r\n100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;shadow=0;",100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;shadow=0;",\r\n100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=40;strokeColor=none;fontStyle=1;",100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;opacity=26;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;",\r\n100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#cccccc;opacity=15;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",\r\n100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#cccccc;opacity=15;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#cccccc;opacity=25;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",\r\n100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=1;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.addDataEntry("gmdl google media design library button dropdown menu",\r\n100,180,"Dropdown Menu","7ZVLT8QgEMc/DXcKXbMetdq9aGKyB8+kTFsiLQ3Fffjp5bXPbuPGVaOJJE2YYWZgfn8aEM2a1Uyzrn5UHCSi94hmWikTZs0qAykRwYIjeocIwfZDJB9ZTfwq7piG1pyTQELCgslXCJ7g6M1aRgdnfQ0uHCN6y6SoWjsvbH3Q1lGq1szFm4tNiLX7mnXO0FAYtyykzJRU2teipR8uzGj1Ansr4EcowNXSlbNGPB1oA6vRDr0rtjcD1YDRaxuyFNzUMQIHCrgGUdWbtGl0sj44qm3uDpidRGan+dEBv7lhBqwrGYC0PZhIbK/xPE/x1PXquhQFkzcRcSM4l55IxwrRVg9QupMn9Ih6am0NvbWeY8dnkyOfI5dOgk+DZEYs4KD+JTTTUZrDa3maJvbjQppHl3Z7NX855bjFkxJ2Z4LXh2U2GaosezADVbYHO0uoyahQ9CeF+pOCXONvEORqVJD0X5APBEnoF/wi1ty92iF8/1F/Bw=="),\r\nthis.addDataEntry("gmdl google media design library button dropdown button",100,30,"Dropdown Button","xZTdTsMgFICfhksXBvMBtqq70cTEJyDlFIhQGoqz9emFQrt23RKNF5I04fxyztcDiBamOzrWyBfLQSP6iGjhrPVpZ7oCtEYEK47oAyIEhw+RpxvW7WDFDXNQ+58EkBRwYvoDkiYpWt/rrOCslRDdMaIHppWow74M+cEFRWVr/6a+ou+WBLmVrImCg9JHs9K6sNq6IRethhXdvLPvMLOUwwqWXBA4D93NpgZV7ugI1oB3fXD5VNzL7IFT41iCEjKH7bKOtUkWU+gZUdhkSteJ0RWxvVNMr7CF8n3mM2sTDyvoY4OqZHqfgRrFeQw9tA0rVS2eoYpFb+kF491PEZH/Q7T75VBJb3TsbTY+phPxTmyE4XrjA+BaDHQu5mmamuU81baGP3JaBvT5Lm3uk7yguIaYvRxo5tUJFqmugc3Hv1oVqprOvhvz9KM8Hj/msFXVgl/9mqmNa38riOfnJbnPX59v"),\r\nthis.addDataEntry("gmdl google media design library button dropdown button editable",100,40,"Dropdown Button (Editable)","xZT9boMgEMCfhj/bINgHaN3W/bElS/YERE8lQzDIOrunHyi1frTOpU1GYsJ9yd3vDhCNinqvWZm/qgQEoo+IRlop0+6KOgIhEME8QfQBEYLth8jTFWvQWHHJNEizJIC0AQcmPqHVtIrKHIVXJKzKwbljRHdM8EzafWz/D9oqUiXNO/92vgGxcpWz0gkaYuPMXIhICaWbf9G0Wc7NaPUBPUvcLGvxCYE2UF8tqlH5ivagCjD6aF2+eGJy74HbwnEOPMt9WOh1rGrlrAs9I7IbT+kyMTohttWciQk2m77xfHpl4mZZvSuQx0xsPdCCJ4kL3VUli7nMXiB1SQd0xDhcioj8H6Lw96GaGROpJMxOiIbKwng+JR3cSGQY0OMTzuDRIJjhBxjEXmLmz3tT3KbRHbYaY1ZpWoGZQO7SXMR988fLnJtCeICnfhR15t6idVYkYm3sYMusmcrRPe56MeySb92iboSz3cBrX8xxJA/md9qfzX3aMzx8RU6n39IuK57f9da9/+z/AA=="),\r\nthis.addDataEntry("gmdl google media design library button dropdown button selected",100,150,"Dropdown Button (Selected)","7ZbbTsMwDIafppdMbbMBt1uB3YCEhATXoXHbiLSZ0uzE0+McukPL2AYbEhKRJtVO7MTfH3cNSFIuxopOigfJQATkNiCJklK7p3KRgBBBHHIWkJsgjkP8BfHdjtnIzoYTqqDShwTELmBGxRScxzlqvRTewWhdgFkeBmREBc8rfE4xPyh0ZLLST/zdrI1itOuCToyhINVmmguRSCGVzUUyO8wyreQbbMykdrgETM5NOjT86UBpWOys0Lp8eWOQJWi1xCVzznThV4SOQlgAz4smbOCdtHaOfBW7BoYPntnn/EiH31BxKjoQ21iQ2kbxoR3oN5XylIqhx1xyxkyKUT2hKa/ye8jM6SPSIt//EmkjmrDRIwU1hr14PAdjjr+Hue99CgTVfAZb+X+Cvn/k1S10KXy9jRrlIjed18tLJnoahatyS7t1a9d3cwtxJSs4FB75HN52wNJ3bG/g7C20XbKDI8H67R8lx1Ot9r5o8iwbu9m+ySGzrAbdkWZVxkFqDTpqJXgtXxXf1yqty3uOzmnJDXbskvt3u4cc2z0tkb2o7VfdSSS97Eoqp4rj30JbUgRzLu3+pBzX55DjqiPHMyhGK/ovxx45ougEeqC5/mxzyze/6j4A"),\r\nthis.addDataEntry("gmdl google media design library button dropdown button selected editable",100,150,"Dropdown Button (Selected, Editable)","7ZZRT4MwEMc/DY8uQJn66lDngyYmJvpc6QGNhS6l6uan90rLNkARFX1aE5L2endtf/9y4JG4WC8VXeU3koHwyIVHYiWltr1iHYMQXuhz5pFzLwx9fLzw8pPZoJ71V1RBqccEhDbghYpnsBZrqPRGOAOjVQ7G3ffIggqeldhPMD8oNKSy1Hf8zfgGIY6rnK7MQEGizTQXIpZCqjoXSetm3LSST7A3k9TNJmDy1aTDgdsdKA3rT09Ym9zxliAL0GqDLq+c6dx5+JaCnwPP8iZs7oy0soZsG7sDhh3H7GN+pMfvTHEqehC7WJDa3uH9uqHdnJQnVJw5zAVnzKRYVCua8DK7htTsPiAd8tEg0kY0UUcvFFQY9uDwjMYc/gxz5GwKBNX8BVr5f4M++vrqDlzGUpYwCM1SumpOMhoT+RhTO2APWjQFM7fereS4je1iR1Hnhss0rUD3IG+3OYr7/JslI9eFcAAbPYp1ZireLCuYmGl8YcqsvuWdarGrCS2VnHSj1IgG1fBn7jCbzrh1qfv6zKeRp734UdisPqlcxz25YqwHj4r3VEOOf1Wb/rfkkF++Pk6Q7vdhEjlO+nLIZ8XxW3qQY1iO07+Q47Qnxz0oRkt6kOMLOYJgAj1wuPvXte77v8Lv"),\r\nthis.addDataEntry("gmdl google media design library button persistent footer button",300,40,"Persistent Footer Buttons","3ZXRTsMgFIafhnsK64y3q25X6oXzAYicDSLtaQBd59NLAbdVXabJ3EVJSM75f/4WvpBAeFV3CytadYcSDOG3hFcW0aeq7iowhjCqJeE3hDEaJmHzI24RXdoKC43/TYClwJswr5CUJDi/NVlwSrR9aeE5fHK20sZUaNBGl6/iCLrzFl/gwIE4ekcJiZsg0tDk/4H10B3dc5TyhheANXi7DUs2WnqVVnCazkUV6LXKsUnWhEv9ehfdEwhFhvAzEP4NyOxpuXy4P4VlePwGG/jC6lPCxj/q9z5ZsNwfQGPF9XTOgy6FUyD/Ao2dhHZV/g+zydiYdUNeF0BYjhRhUdKLMZyOlOHudpyfYWj3b030Bk/RBw=="),this.addDataEntry("gmdl google media design library button persistent footer button fixed",\r\n300,40,"Persistent Footer Buttons (fixed)","7ZXfboMgFMafhnuEtstu69buZn+SdQ9A5rGQoRhgrd3TDwWtrjN1aXcniQnnO5wD/D4TEI2zcq1ZwR9VAhLRe0RjrZT1s6yMQUpEsEgQvUOEYPchshrIRnUWF0xDbscUEF+wY/ITvOIFYw8yCIazoppqeHctl6mQMlZS6TpL03o43VitPqCTgXpUGc4StXcidkHYD7SFcvDMtRQOvAaVgdUHt2QvEsv9Cor9vTAHseWhbBY0Zny8bUuPBNwkQPgdCD0BsnzbbJ6fzmHpXz9XOfxg1Ugqt6/iq6qMSIg70Eh0u1hRpyfMcEgCNA3GlTw0V43GciRnOd7MhzFqkMyKHfTaX8J2NrH9M9uww4sSbmOCy37rpkKlqQF74kV7rlH2zCd7rmRPNMf/4M9i8udK/rT/+iX+uPD4Tvvl3Wf8Gw=="),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;fillColor=#FF4081;strokeColor=none;shadow=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.plus;strokeColor=#ffffff;strokeWidth=2;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,\r\n0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.edit;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.star;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.heart;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.reply;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.users;strokeColor=#ffffff;fillColor=#737373;strokeWidth=2;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.gps;strokeColor=#737373;fillColor=#737373;strokeWidth=2;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.share2;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.navigate;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.chat;strokeColor=#737373;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.voice;strokeColor=#737373;fillColor=#737373;strokeWidth=2;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,16,16,24),"dashed=0;html=1;shape=mxgraph.gmdl.google;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.video;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.gallery;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.birthday;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.cloud;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.x;strokeColor=#737373;strokeWidth=2;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.bookmark;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.calendar;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(17,20,22,16),"dashed=0;html=1;shape=mxgraph.gmdl.attractions;strokeColor=#ffffff;fillColor=#737373;strokeWidth=1;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,18,16,20),"dashed=0;html=1;shape=mxgraph.gmdl.dining;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.education;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.family;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.health;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.office;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.promotions;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.radio;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.recipes;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.sports;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.travel;strokeColor=none;fillColor=#737373;direction=south;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button mini",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,40,40),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(12,12,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.plus;strokeColor=#737373;strokeWidth=2;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],40,40,"Floating Action Button (Mini)")}),this.addDataEntry("gmdl google media design library button toolbar",\r\n358,64,"Toolbar","3ZXRboMgFIafhssaBLtut7Vbr5bsbtekHoUMxCDr7NsPhdpaa2bSZlmmMYHD+TmH7zcB0VQ1W8Mq/qozkIg+I5oara0fqSYFKRHBIkN0gwjB7kPkZWI17lZxxQyUdo6AeMGeyU/wER+o7UGGQM1Z1Q4N7NyW61xImWqpTbdK8+5x8doa/QHHlVKXTrMuDBOuk4toqAnGQjPZdxcKTW9BK7Dm4FK+RGa5z6DLRy/jIAoeZA+Jj7Haz4teeqLgBgHEdSj0ZygZqzm06didh1vlttrELYUASzVF62lUqExGO6bAsBGjc3oXVFfd2yvew6HJXHjkOrwgwBFZes3hGAjzM7okGcONA3ADklmxh0H9a8RDC29auM76+ouYDMovnoY76DyvwY4c6w8yy8TkzibuRQZ66j//Zfv+v3vLO7tXMCmhLf4n/FvNMBCPDTxCuNlAPDQwjm930E1Pt5ZPP7/UvgE="),this.addDataEntry("gmdl google media design library button floating action button",\r\n50,156,"Floating action buttons","3ZZPb4MgGMY/Dcc2iH/mrtO1pyW77UwmChkWg6zVbz8Uamu1m5m2h5KYwCMv8P54IAA3yqutxAV9EwnhwH0FbiSFUKaWVxHhHCDIEuDGACGoP4A2V/467V9YYEl2akoAMgF7zL+JUYxQqppboaS4aKo6kBWlrr2USoovEgkupNZ3YteIKeP8KAHkxk7sxl7TmeJEHLTo6EYmccL00i5i7SKIVKS6mkgr2Sy2ROREyVp3sQGhCTiwRFGjeCZzSAnLqOpruDTtrBvnxEhXLKZxZO7fyBJcUtJ0hzo5qnJu0z+izKus2fF1lid8/SmKegBVEwzaMiTb6Sbiw2aMpnJEv3KEa9+E1BftM7IOGpJ1AqNJwrFie9Kbfgy3XcG7YHph3fSroDf7KuwPINK0JGqwW10akzbQezDPW1Y+vNsR8Bc+AoVsTDAN8lz7e/PtH97O/s+3t39wK/tvNh4MnTvY39Jx4NDxfjDcm6M2x/FPCzu+Grvx07b839rBfGuP4FvK2v3baglr6+bppWS6nz+kfgA="),\r\nthis.addDataEntry("gmdl google media design library button related actions",200,40,"Related actions","3VbRboMgFP0aHtsgWtu9zm19WrK3PZNxFTIsBlhr/34o1NbqMpO1zTaNyb2He4R77nkAxVlZrzWt+LNiIFH8iOJMK2V9VNYZSIkIFgzFD4gQ7D5Enr5YjdpVXFENGzuFQDxhS+UHeMQDxu5lAAynVRM6oqiMi+6N1eodMiWVdvhGbRowF1IeIETivH2aYk6Z2jkwckmhKRPuaGfccAjQFuovG2mh0MUaVAlW713JTjDLfUXie8UcRMFtH6PG50XHPKrigiDMuEjx9yIxajg05di1w20pQ8MH8cq6aGY8L0om50y9DVQ8lexMymX7dozX0DCZKhwZFy4Q8HzhKfuz/ETYKBkKG6Ue0yCpFVvobT+mdjjBixLuYN32s2Vv99mq/wOV5wbsYFhdG5Pml/x5kwfCCg9Gcy3PLy7seVNpoMwR3DRv6P3k595Pr+f9u+t7P/0v3o/S25l/eWnzj9p+XNfO8ZM0S3+1v1cX97dLj5cjX356d/oE"),\r\nthis.addDataEntry("gmdl google media design library button floating action button",50,456,"Floating action buttons","5ZZNj4MgEIZ/DcdtEPp1ru32tMne9mzCKGSxGKCt/vtFQVtXu9tkN16UmDAvM8PwMAcQjfPyqJOCvykGEtEDorFWyvpZXsYgJSJYMET3iBDsfkReH6xGzSouEg0n+0wA8QGXRJ7BK14wtpJBYInhULtjRHfc5q7GfeSmhidF7ZKXWV3+IsuZXJwN6HrNavUJsZLKWfuTOjnHXSqkbCVE6BbXwydi6hqyulxMuOK/xYYyQVsoHx61kcI5j6BysLpyLiFg6wOuglnulaVngzmIjNu+lhhvZ12eG0U3CSDHodLZQa2ChSdjvJwr42g9HeTVXCF39CaAvJ4rZEqmg7z5HXIL0wWKwsCTCNPmmwBh1cIYQluth9Ba7S/Qtv/cmeWAqQO4aUa38hGORZ7Ftfmx4/Bi1eu5zr7DF43gazUNMrHiAr3tx5iGCt6VcIV127/0O7412wQqTQ3YwZV0xxi7JWfenofe/f71+AU=")];\r\nthis.addPalette("gmdlButtons","GMDL / Buttons",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLCardsPalette=function(a){var b=this,e=[this.addDataEntry("gmdl google media design library card card",342,356,"Card","5VZdb5swFP01PDbiu91jPhtp2VY107pXDy7BmrGRcUqyX7/r4ISkQEsXtD0sURT7+Nr3+pzDFZY3zXb3kuTpJxEDs7y55U2lEKoaZbspMGa5No0tb2a5ro0/y110rDqHVTsnErjqs8GtNjwTtoUKqYBC7ZkBipTkeighwiMnCWVsKpiQh1UvOXwQL5QUP+G4wgUHDaYkFiXOHZyYVCAV7DrLPUCm1nsQGSi5x5CSxiqtIjzf1JgC3aRmmxeEFUiKCtic9ta3x4EhoJ0M791ktF76BUOTmf4iXqZUwTonkT6gRMn7cuL+GSfOhwE48RucfCR8Q9ChiH4jjIEuZU0SImmDLbyUZklfj0aEjRndcFz5IZQSmWZKcLWmv3Q0ko90IjmUb1aQ6Cs4YQ3h1K5nE3PA7CZAUEKBZzwZNno7rYPVvXlsRkFgG/7eItoPKkwCI4o+w0XKa8gPGuSvREQUxAiqUiuQiq0sNOliiyW6tki0GvuYH2ShXAemoDEdAFIDS6ycER4Xx/jPUJoI/HsiDHAFa7NHo1GXpG1e7lbv0XDVouiZBRy/VcwKWR75/gf63obv1NdkfRCUqzplYF/uEElSgGr44VRrL4uEVzXwY5tua2MDkDxIV75t3HC9HD/Ou5x5bijXzM+68WIxDjy/tuFXkRsnvmJpE/Gyj2U0jnX2CTFAhLyAPBZhSutt2PBVLm98v+HWO7ulGfmDmPWUblC33jW0nH9/WH35j9TcXSr3l8V9I/s1WuO0fm2tws/fan8D"),\r\nthis.addDataEntry("gmdl google media design library card card collection",358,642,"Card Collection","7Zlbb5swFIB/DY+JbG4hj7n0Mq3dqrZa9zY5wQRUgyNDmmS/fjaYBGLISAJrVY0oUnywsX0+nwsnmjEJNzcMLf176mKiGVeaMWGUJtmvcDPBhGg6CFzNmGq6DvhX069r7sL0LlgihqOkyQA9G/CGyApnkkwQJ1siBS6KfSy6A80Yxz5aCjnDc/78sRcQMqGEsrSr4aWX6JYw+orzOxGN+JixnAqzBG9ql5uK5FpvMA1xwra8yzpwEz/rYVhONszHwcKXw2xTLhzFmWCxG7vfPf8hFVCtDENRBuRrGRngJJ0gEiwi0cxWd6gj07JGtlmnI49GSaHzdXqJzks0D6LFo9yxuRc90yUXQDn2Sa4R5O3gt2hCg7cZjnnrRWoSNiWin0dENzMZwwQlwRsuPf8SSuaZRzbcLISZ9RehS/oJXf6aIabi0afG0LEvOsJGtcLKA7bSOvtW1i6o07RVbcJTtSnnf6ABX9Zu8t5QL03fG5SfQD0vxolCY7eLRoAsBdAzQ2+YpIwYRuFJ5lRtJmVoNhhMnXHlES8YgdDK3wwss6aeMBdBOZgjMpL2HAauKxacd73DnoAz0As2T1JZp3ZlDS47CduyebZK3m7DNJcMe5iraY7jhvh3YaeR3q1qvR8xyFxXJYO0WzHI/DG5PTodUBm0QSXGiM19BUhR+0UqElTWObdH/UJEjT0orPKg7QDr5dlAl8ScNoiFiC2C6DHzosKZ3qcC3s05NXPjz3fpWnpU1cdmkttc2V1nFoZ9IUqJzoEdoBuqwY+HFB1AfmzAaMXVy2MFinhjhtHc5z6ubbJ7wZgmCQ1FPHMaetLxVHy4fO0HCX7igU5MvuZTHwmdh4FyJqc9jIrFUFxIYMWJsZseGee8I6MDs/50NE08IVDYfluFM8wk3gOOfBvJsTSimJ4X1CHTigMNgX1rT9VSoQzT6/xkv0a/e19rqd622ki7Sv8hVCi8iMPqY55jCrsaC7vSRC5iQKE2cTdeRS4SG/kSExS5ms6nARU3VGuUFKvsoR5Y/pqWnusyxEPq783JAq34UqOLdBKq1Ymn29HjVR2kom4rc/2RZShvzuA4Xdmj1opzHzfnaDA7eAtvCSdUUDpAJWm284rolNMbS+8CrFppufr5cPf9P9pu0f4Ttmp95iuKFohRyqU/ECFY7P8JeYgFrSc/Hz3JOYzhenUMaDmj3oUFe9gwLEDn1LjQOH6r5aFmp+CEehBIr9ZLnrU2W6lC02klsvbMLt4wYSulmhmavzYuCRS5nFkXgMcLA6Cf1x6P1QaqijktVVcHZf/aRXEVNqjm5Kz4yGAZ4w9F6PMDalC8OerS3pPO4LPh4c39n6lZ9+J/rX8A"),\r\nthis.addDataEntry("gmdl google media design library card card collection",358,642,"Card Collection","3Vpdb6M4FP01eUyE+e5jk6adlaazo+ms5nFFwQloDEbGaZL99WuDnQAGhgToV6oq+MbG5hzfc69tZsYqPjwQLw0fcQDRzFjPjBXBmBZX8WEFEZrpWhTMjLuZrmvsf6bft/wK8l+11CMwoX0a6EWDFw/tYGEpDBk9ImEIvCyEvLo2M5ZZ6KXcTqDP7r/cRAitMMIkr2ps8g+vRgn+DeUvCU5Ym6XoChIKD63DzU1irA8Qx5CSI6uyjwIaFjUMyy2ahTDahqKZbYqBe1lh2J7anp+eXQgAmsEwFDAAG8utoV2EiYeibcKLxejqGK104FrLNow2OKGlyvf5h1dOPT9Ktj/EE5tn00+cMgMQbZ/EGDVZjv7jRWCwMoEZK/0SSIK+jOjXMaKbhY1A5NHoBVbuP4Ql88opGx+23M0W2zhAC4rTf589MmiqGs3AVBschRcurKJcgs20VdTApaiJ/r/jiA3r1Pn8Rq90P3eqd8CbTQapgvrpKXoRYSlEPPLnj3dZ5F/kMc2eUHWb9Q1Y282zuDTPOSB/8qHCYeb8XpzgyPfQrXDZOAoCPmBZ9SvccF4cveTWKLdN6jqWM2wSHKseOCrp9hjelxK4gQwmH2Y96bfvtTUfdT/crWbcO3xRYlXxRXsUX5S3ka7oTsCKMwYrGfSIHyqEMPT1O8u2lzVWBFFFZemP+kCKeosnaBLPcQiby4A/JWPuGIzFHtlGyY9CRbmYPuYGVs2tGJaYUhxz1TNV1zqR2+iHrN8A74XSqtpbWL5IEqZOKoCjjyKNLpiA0huF0n8SFMURZSSewqKWMDTrTDOkOIP7kNV9YqGHm/eM5o5gVg9dz4LiepwqB8dS1si5ss/F8wRxr08U3T9zKrP0SuquXUhp30QRaAohX6OMwoTZKOaTAe8I+9p4L5gw5Hl3DNSMZvwq4aR56HkX8+I+hAlkz19cEnGJGb8JPNVms4iXF5fwW800ypzIXL9sa8jszY5J8rpEWpcS2eybljWBbwKgzoW/nn6uvzHbt79/tTHWmiDW11ZVGjWFsbqfaR2sSQ/2GSGQDCTtWGlQDqBiZ6BK4UB5PVSCm4yf8q7jMnrt1sVVEVQsGswLwqruWK7dK6wOiZgy17fUFKk5glr2CMqq7pQ87VJI4nwL651Ht15ogx4JSlcwG4SuusNxjzOaRxwa8nDzHeKUoftewswgRGuq3zfIDAJY3bkYVTr0qkxIhF1VJJZ3/G/YhmkLrrLFjalKv9202u0ShpaFEqhP93GUfZQ9humU3XXA2r59LWU3gRq7J1R2dSfhi4f8I+ZJ8513zD6HuttvqO7qyn+NUMRl/QHvUMAf8GMJewuYbyHs6hL8Awt7C64fV9h1dUH+roT9dgls69VSdst2+gm7YbXz19czdHX9+3E9o5hHwz2jC9jXdYxr17IXHKBp+ef6TaHuydwzRzGFbeAW0dycYku+4fz/Ch959vzfTWcop3cj2ni58iCljRjRQlvIc9quw5SmsDHSSbRT6X2Sg+g+rwRIrljLKM3gu2Lo8xPUY8HdKWlvyY7z2ehhxfMLZkX18vtn/wM="),\r\nthis.addDataEntry("gmdl google media design library card card collection varied layouts",358,642,"Card collection with varied layouts","7Vtdb5swFP01PKbCGEjyuLRL97BK1TZpj5MTnGCVxMiwNt2vnw12woeTEWIoTUdVKVxsMPfce3x841jwdrO7ZygOH2iAIwt+tuAtozTNP212tziKLMcmgQXvLMex+b/lzI9cBdlVO0YMb9MmHZy8wzOKfuPckhuS9DWShgAlIRbNbQvOkhDFws7wkt9/tiJRdEsjyrKmcJUdolnK6BNWV7Z0y/vM5KMwS/Hu6HAzkxzrPaYbnLJX3uSFBGmYt4DeJO8WYrIOZTfflQNHSW5Y7/se3p5/kA7QOwPWnAH4WD5B+yyfoIist+I0H13VR9CG8+n8mI9WdJsWGs+zQzSO0ZJs19/kG7sH0w8acwOQfb/LMdrqnPwRpwDyc4YTfvZTehI0RcRph4jj5jaGI5SSZ1y6/yUouS1DdrNbizS7WW+C6Cal8a8FYheFKtQ7ptzhVWbhjZefF9zm+nWvgXO9Jp//SAkf1v7ho6lTevxoXL4DXa0SnNa8vn+LRkB4NSDuSLKk3Gtn5Ys+DypJM/fAzBPA6MK4EOjCI/9KojxjRiIlBMJkiaJPMmc3JAjEmFXTr3glgBk7hbyOMlunueONL4uC13IKGkXdN5F+McMrzN20xEnDCNhPLY387un9fiIZla9KyegbSUZ1G5WLkw5QGZtAJcGILcMaIEXvF1GRQOWNVT46F0LUmD2Bjj3NADZSM36XiE1qiD0yPFqhhXgnfqOkBYAbxNZk+y3nVUGvD5mBN/NLhhlNU7pRJFjJtNmd+DuWlvy5AX0pEK+OaIuE7GpodiGfr2h2Px6vIGwUm1d4t07/ueWLioPOhQ2ERth5AjqIqqkJHjASRqfXAi216OQkr4MaSehnV2AEv5HXBYDANoFgyJlcs/Y4ndrF9YMmu6fZUVlXNKb76aV0rwHSFN0Dz+ue7wEwAeyC0ieenk/Xha1mKpd1i8uxtSsrIZVgZsFtW0cp66+QO7UxssUrbeFtqd2GDLg77QPveqlojp4pIym2xAoJAgEyoyjgjVJGYrNqDpYMcpFqVModBH9Fyr2E/B2/c4UmLC98sCXBBvxTaq+i5Kriz530Ie/2YQl9z69H5niqCU2VzUNUfMBIPayd5DvYVWGyNyUIjlTfjkpBLbLDloL1AlsLZIcnBfOI/dBa0EgRbZBa8HJw378YNFOMey9icNCI96MG67W8GU7SghJEhEVka7imp5+B/8vARjJwV4nHq5OFb1gJrC1N+lOF5xYI358qdK60QAg+fIVQjesaVeGQK0b9qEIF5kdRhUNGvBdVqNlO1tsM3F4A9ld/Gzf8us6/EPQuVVbrzWhn7H2ys6O9JjqNQ0MQ3IkREEZuJxOnkULZAi2fdAyq3ftSxKUlQzqn1832jVNdmmhIUrdrydAWwnGZI7vYQdhkM5nCivckcYIHhdD1A9SglHWS0t4SnfG1wcNPD78MyJsXfzjwFw=="),\r\nthis.addDataEntry("gmdl google media design library card card collection",358,642,"Card collection","5Vptk6I4EP41ftSCAKIfR+dmb6tu9652rbraT1dRoqQGCAVx1Pv110mAAQMzKLA7emztaJp0XvrpTvqJGVnL8PgpwbH/hXkkGFm/jaxlwhhX38LjkgTBCBnUG1mPI4QM+D9CTw1vTfnWiHFCIt5GASmFFxzsiZIoQcpPQSbwcOoTUd0YWYvUx7GQJ2QD7S+2NAiWLGCJrGpt5SOq8YQ9k/xNxCLQWWRdkYSTY+NwpSgb6yfCQsKTE1Q5UI/7qoblzJSaT+jOz9SmdjZwnCrBrtB9nT18yQxQbwxLM4YJY3mwjItsggO6i0RRje7cRobhzqeLJhttWcRLlZ/kIyrHeEOj3bdsxvaraMViEJiZ7vdsjEZepv+KomlBOSEplP7OLGm2RQRdhwiylSwhAeb0hVTa74KSfaXLhsedCLPJLvSCCWfxP2ucdHJVq94wVYVTFoUTR5VLZrOnutXMS62W9f8XozCsovPxHFW6H7vVFth2mxKuWb2YRSsgHA2IJwJWF4PHHkkuCpr6YDiPnPl0NhPo1PlyyduR8X4kqbAZi7gQMNMNDh6ywA2p54kx51X/IFuBjotKwR1I2aAB5LjdXOFUjcNeoZ/2EYNxQrYEzLQhaWsPsJGEv5XdnXq7vxGRua0qETntJSLzZvKAnA2AitsHKgAKBJevIVI2fxMsSiOPStQRqNYLqVm3kPYD23jqDI/brA/cYBgcFqufGkqtEXKGAyiP2SEBmvcBUIiTHY2+qf1ObHtfpACqzSqCBeOchWJzsltn2PCGyEd17rFDtiuqffL33O5m7dY55C6GXNTLNjYzB8DVNN4H9m3Gs3gU/zqlkfM2sVUys1uz2rk9BdO8uktl5LFno5ua0VcJfgHue256sBqvyc/WWYCc5WfIruE8Z1ngXD7XB0EDVuUUwjF0eGyjnxgYAg39BOArOYDgB0ue4WNJ+aktMA2J8zkwYn7nwBjyuVVgzg8f+kFGP454xCdFr+KYwOS9CZRWPoG/nIQxSbmEicpmEryTZOxAwQLI2EceDWlE5S6FjO1eDANsa6z3QovLVg40EluH6ILvk0jW5Kx4nbI998cEp1x0/FnoHWDKMG/RIn5h+wSvA1Fz4+NoJ77gyCvUVzh6FsRQyneYRpMmxzr4lBPhREJ8gC00l32vyjI/E44yPQt+u8Y/OSspFdusoZFCc1BHtHJvKTvibNaLI5rGIGuEfuTysFx9/vMryMyOi0PdQdXZ2mAvncfFQ4l8b8DaJKngXzSTjaMrXqeKQgm9eU2OY/cD3tgZZBnRj2kK8PRs5zLwZkOBNwhydet/R+SOVacYFsheDl3aspBsKbwFClLwThvpzLOelOSm+5CkpMUxzuCkRDnb/4mV6IcwECSQanHKorbL5C9kJk2A3TI10Y9dnvaR6OU1Y10QvPE77mI/g5/8YngGIShIPz0BMiLT+4P6SKE58QHmFzSBbTOuAJiEOY4RY1GZKKRCY002WKqGTDbkUaA10YarKRR8ZH+XFKKFr9weh0D6qc/dcIgmwO6HROQpyN2RiMuhu3EWUXPJRcOvK4u4Jc6Q56jvUYa+8qQhGMPVV2IuunzRLQF6Gwc9zupB6GmNtAfZ4fSDlisia403z3VxUkRQEy5X/vaufKeR6BkTVP0BvPb397prEz1dZHKra+IQ95ja3GbJsQJNGqfkQyF0/wBdfiLycdBx7w0eKL7eT1bVy9eX/wM="),\r\nthis.addDataEntry("gmdl google media design library card card collection",358,642,"Card collection","7Vtbj5s4GP01eczINrfkcZJJulq1VdVWu+rTyiFOggKYBdLJ7K9fm9sANgkDdmZaTaLRBGPAfOe7HB/MxFgG5w8xjg6f6Jb4E2M1MZYxpWn+Kzgvie9PEPC2E+NhghBgfxO07tgLs70gwjEJ0z4HoPyAn9g/kbwlb0jSJ79o2OLkQHh3MDEWyQFHvD0mLjv/Yuf5/pL6NM66Gqsl//JuaUyPpNwT0pAdsyguReKUnDuHmzUVY/1AaEDS+Il1efS26SHvYViz/LAD8faH4jDbLAaOk7xhXx37fPfsR2EAuTEMwRiQjeXeAC+yCfa9fcg389G1bbQw+bfLRjsaprXO6+zDO0fY9cL91+KOzeem7zRiDbA49lsxRlBue//xTWiw7ZgkbOvvwpKwLyJoGCLIzNti4uPU+0ka5x+DkjnQZYPznofZ3T7Y+ncpjf7Z4HiUqxpywzQPeCqi8M7Kt2tmM23RavClViuu/4V6bFjVxadz1Lj81Gmege52CUkFq1d30QsISwDiM01JIqDBbJh2+nstOIom0U1rjoyAGCT5px0RU97CEfRc7N8XMRl42y0fVtn1I9lxwzuoFrd+1qY1NixnHMpPzRBTiqqtIryimOwIM5PL3KEH8nUQe9ndktv9QrCVtmoEm60k2MrTlLE204CKowKVhODYPQiA1K0vice8cxmPaCREvbMjlGVHNYBNy4quE7GZgNgS8w7sFgzIIfqThKHHomQAkAGO9174NecbnHZ8yhoKYvDckGfCZluR8kwxBAFYLB86mQkbyJY+1jKyjKa0cmg7/aZ8PI10bgq5GIncxqyqwh+lM0CdfAY6c1llBkqS9gxqcLb59fRQOpLv1aK6gf79amnWgQbDbTy7mJ+hJNgd0eJopMHPjUAsY93SUTQhEAD4hPkd87Kz5P8BdLqIUVcw9SQvWcDoQUUWB4rCYGpqwQGqqJMp8Ul0kNKUXfYZNW3oQEFaGEVMyqAYNdXqKotGM1QMWwdEouTwnbLtTcxcms22axWy9nPKerg4iHgfBPaMyLR2+jhMSRy2WpOAxnxG0mhkURdjfkV2zJGk7d0pfSR8wDuGLEPuFLX2P+I44Kem7rF96M6LE25QzG4WgaOXaqzt3XXcWFtwYd20jkNDnpaadfy5oGis4xWlRGXGvVrZ5yNppc7KDkVR6scpxDXHY8jkXgxo3f0TzHwOAba9LvPDjf3QBs7DbPEG+eRt/dBCPd3Qnr1hN+yhul1jmNbcMWdQEcOEHerb70sxRbmNBeDhNhyTTby14fLrkUwlEhkzOgm3mQStnmN2odCTZEKZnq8mVKYGapFMLRCJetk7yVRa3Nfr1cK4bXGXkMwsLzWKu62vkDuzmyYvPXVclCU/xNQlsSd5cKNXiKw/y2w5l2lZ9/YgJXKTfRTNYMDrKJHnijn28zdkvOX5iwJpUi1xfLk2qa8amjcgjkjUJrEf0JBXj8Dzj0O4y4G4xw09y8B6Zi91sLpqQK/nTT7eEP8LTbzUo/WVFWVQf2ztr0jslSTQRXZliydG+dYVagVHTvzOTaALbyrnnWqdSRRYXerS8JRmpCUd9Djr3Z1+AXea6RCDy2JQd6eTewo2av2oTRz6uhB/LDabzy3j3Y+U+REst9U6kiiT7mNCQn6dKPIHkdv3tPQruJMeziTKnUscRJuslxaFDYHbEtg3rbBJlhYOiF+fujiPFR0K27jHuKWe3phTICUBUj22rRQ2SwdEogi69AnmCXdLkiGTir5awgXdQMETp/bDpFZyvaYQTJF0ZirRDHp5WU+FoJKoDLunZmCP9DWdkoGaxY4K3GnxwL+93On1IC9XkV9Xid6wLClZLfmZPLIGcj54m5zxsEvyYTzgsKne/3viL8ss1pRyRSPlMv9Hym6v2lPrbt8h6w6aU/bfnvIcXO1xeEEEf/GHMq7Hhftv6d2NvE4gl+u1A8z2atx6ey/S2cpcdaoH5Jmsn386l+kH6umPEJjdrtf3XZCXLHxkR3pRIgqM8vXoq9V6bQqao4IIvsYMLMm6Z2ukwFsyA6eZPKYQ6Vj5bIiC44BIivyT+O4AA8axnRVcS2dQA6CaX8SqBVZPHgcVOLYxdCFj8RJaHxcH2Uf544tOz5a+CmOqWfQyNbV4sihPDfDkDXaPFzWELlwGvnlhdLxDWVEI1OYQEtJ4wa9HZ6FmEtLxapohykEvrguvidDvD9AL1pNJU9prouP8bvCwzedXzvPu9TfS/wc="),\r\nthis.addEntry("gmdl google media design library card card",function(){var a=new mxCell("",new mxGeometry(0,0,344,254),"shape=rect;fillColor=#BDBDBD;strokeColor=#BDBDBD;shadow=1;");a.vertex=!0;var d=new mxCell("Greyhound divisively hello couldly wonderfully marginally far upon excluding.",new mxGeometry(0,172,344,82),"shape=rect;strokeColor=none;whiteSpace=wrap;align=left;spacingLeft=16;fontColor=#666666;fontSize=14;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],300,230,"Card")}),\r\nthis.addDataEntry("gmdl google media design library card card",342,378,"Card","3Zhtb5swEIB/DR9Tgc1bPzYkrSbtTWulfXaDAWsORsYkYb9+h3GaEohCG9JpIy9wZ59tnjt8NhaO1rsHSYrsi4gpt/DSwpEUQrVX611EObeQzWILLyyEbPhZ6P5EqaNL7YJImqsxBqg12BBe0VbTKkpVc6MoM1I0l5KuoMl5wjiPBBdSl+L5ovmAvlRS/KKvSqg+mpKMxGILSgcE0x+Viu5OjlmrzIAfqFhTJWuosmWxytoa2DUDzShLM2OGg7BVkrJVpC+2BwRwYSgME8FvJnL6zo9YJfoAvaQl+01/mtsZjQW9D0vQhoAtKSeKbWin/UtQueNRgSErStqjlYt8ANStPsZiwWexuHafivtWKqaH74JBx8jej8drLequuG9AJElJVQ/qyzBHcfZ6nJ+YAsLHsAGSmg4awl6fGpqGmv8B1PwetcfqOaMkPsUtEbm6YhB+IE98DZ5Bj+eDpHUmqhyI2jHbsBJugNf6DjkXcF6JisdasxV5TGVScS2tiUxZTlohIRL+q0LkcKK7Fa9ilqc308+68N1mTNHHgqyahraQdUFHOEtzEDlNdLtQCv1/1tLC8fuB4esD9E1IsBXhd6YFJYpDA0+NsHBsY/8IE34j40ONHyYMdB+XJADjdeSZYDqXEBw0QZ4MPyBPvstjbt9jL4uUaRNv3TE4R90NL3vUTW8z98h5kzzctxd6cziP36MgitBYyuEbKe/XH5351L1GVp/hazB37PPQY1JmtKlvtwtp7YH1Lm02DDfpOuY3kNHkWH/MPbwMvbH+uB32x66zTq47S8FX3nHCgYnHv3zecZzrhKo/ny+W/2Co+l1HXClUR+wTz4eqpAVk/LFbAG8Zjt8wntgx/u1Y7W8m76KnT9++Thqxx8uTO3Tvof2yw3ThDCxDLon0rsHJuA8GNl7YnyTuZ46HupG/T7rTRn5/kzuhC3GwiHDfhWHkeF70/7sw8Kb3IIiH12dt9ddv1/4A"),\r\nthis.addDataEntry("gmdl google media design library card card",344,420,"Card","7Znvj5sgGMf/Gl9uQdRqX27edluyX0kv2WvufKxkVAxy13Z//ShibYfm7K69VDLaJvDgg/D9WB4BL0hXm1tBquIrz4B5wQcvSAXnssmtNikw5mFEMy+48TBG6ufhjwO1vq5FFRFQyjEOuHF4IuwRGktjqOWWGUNdkGqXFfCgmnyfU8ZSzrjQtUGuk7LXUvBfcFADOu1qCpLxtTL6qmDuB0LCZrDP2mQ6fAt8BVJs1SVrmsmiuSIIw8atALosjFtoBotI3RiWe99OApUxKvQrEoxXRDnSqgZr8CUvwVZqrtNYCfCzEoSoRwFjE8CIpE9w1HyfKuYOPzhVN8ao7U/UeGyPi20DPM9rkJao+26O0jm0dL6jUin8t9hKJHk+0XAQ2arh86g2ewXVIku1xeN9ASQb0i3npbzgQ/iKegaX0HN28vw35q8+00nZBdT0N/w0evl7y6dWrdFT4gAK44DeIt83Yzmgk/g2nNb2r3AMjRhdgEbsCg0cJfHkaSSu0IhQlEyextwVGnHUjmXCNHzkCo4ucGz3sxdq386mTMh3hVAXTBwjdPri80oJdQHGMUInLIavm1AXdBwjZC+jJ0qoJw6FKJz+e5tvL9knSqgnDrlByJlNgJ445AYhZzYGeuKQG4TszYJ36d3n799O43R4bDB00KC+64JKWFTkYdfQWpBK2Qijy1IVGeS6XVVLy+UXXbpRYdLaCo31x9gXpoN+W1b0Wz/76XjJo7A9cnj2SCM5C/M389kloNt7Ev+hXxH0tp2XQFfF7jSyufzwsPIP"),\r\nthis.addDataEntry("gmdl google media design library card card",344,162,"Card","5ZfbjpswEIafhstKYAeSXCbOQZV220obqdduGIJVByPjZEOfvgYMIWtQQbtIVUsUYY9n8Mz3Y1s4mJxve0nT+FmEwB28dTCRQqiqdb4R4NxBLgsdvHEQcvXfQbueUa8cdVMqIVFDAlAVcKX8ApWlMmQq58aQxTQtmhKO+pHriHFOBBeyHMVReWl7pqT4Ca0RKK9iJKaheNVGT3fMfCAV3HpzLk0m4T2IMyiZa5dXFqq48sCzWRUWAzvFdVhgsqdZZTg1sXcEumEodBPBo4n0V97HSkLGfsF3U85gLKgbS/4Q8CdIs0Vlk8CpYld4CO4CZyb8JpjOo5ntU/2cOkREUQbKIt3kOQj+zIK/OiomkmIeCVTf8Mj3c4fnG4ItlRKRlAKJRLWct8RbLgNtFyk9MlWUil3j9qIVK8Rq+iYD7z3SmYBGlJZ4Oo9pXnDfYnxgSpfylqsuRz3WjlwbWVBeBd8CWXI6iLSmVCBhR8pXnJ0SbTyzMORwd32CSNW+H7siWhgbtA9rwB25BoayDSy2L5cfMdBwAF0PDaX7d8NFY+F2bzC1Rh+6v8wtffYS8lhcEq2QG7Iry3TGPC9L4lwMkQ3bsmFS/P5L2QJ/AtkW9rFADp+/fhl3Mtd7fs8B8UbDBfF8n1ibvb1kJzm6566tEA7ep9DtYf9vznE0gWDLKQUL1uvNtmOvXKGdj/5BwRYTKKa794+Myr39DfIb"),\r\nthis.addDataEntry("gmdl google media design library card card",344,162,"Card with UI controls","7ZhNb6MwEIZ/DcdWgAlpji3d9tJIq7ZSz24YwFoTI+O2yf76HWNDiIAtKB9aaQOKZMYeGD/veExwSJRvHiUtsqWIgTvkh0MiKYQyrXwTAeeO77LYIfeO77v4c/yHgV6v6nULKmGtxjj4xuGT8g8wFmMo1ZZbQ5nRQjclrPCWdwnjPBJcyKqXJNWB9lJJ8QtaPVAduiejsfhCo4cX9nkgFWwGY65MNuBHEDkoucUhXyxWmRlBgsC4ZcDSrHYLbfS0NIa08d0hwIal0E+ETCYyPPMhVhJK9hve7HRGY/H7sWz3HL6DFNwYmwROFfuEPec+cPaBPwXDOJqnXdX3qV1EkpSgOqSbOEfBDw5Nx7t7ff5VlENQW4cGYgv2IjxRQs46TJ6pArSojJX63vz9I+9gwslVeMRavWCuoREz21y3oITVoXEVdMXW6asodEK6aNGA2IryW87SNRpzFsccdkOfINGz9MKj53MLagN6L4PdiRk8lnTYIb2kKzQsMcdAjkDs+WMR/9uE/amE+2tEXX6OWiLmHZGedIS++yAFLgP3BeHBGK16lgOJ9PlfahXOTqDVzfflPKZlBrGlXNf2fJPqN6LrNI/5damo7CvozcIa2mVPsqd6PRJ4B26pdXTWo95hCTmBJIuLJBMkCWZnkMRzL5pM0GS+OIcm3kWTSaWLnEOUEf9WL6LsRAnmxxcFL3dfJ8zw9seLPw=="),\r\nthis.addDataEntry("gmdl google media design library card card ui controls user interface",342,522,"Card with segmented buttons","7Zldb9sgFIZ/TbTtIhHYztdl89FqUitV7bRdU5skqMREmDTJfv0ONnaSgpt0Mb2oaieSfQCD34eDOdAKx8vtjSSrxZ1IKG+F01Y4lkKo4mq5HVPOWwFiSSuctIIAwb8VXNek4jwVrYikqTqnQFAUeCF8TQtLYcjUjhtDtiArfSlpDI8czRjnY8GFzFPD0USfYM+UFM/0IIXmh05ZkERswIjhxtRHpaLb2jbnJtPgGyqWVMkdZNmwRC2KHGFkGrqgbL4wxbpl60lWGOZV2b0EcGFUcCsSXqrILD/eVGQmUnVg7+WHsT+yv/rZGJX3pl4tnqQZpP4xMpwtZ+CWc3dU4JS4YTAojJJyotgLPSrtUtzUeC8YNKSqrl09qCwjZrOMKotR1dKzsEUWthHJGGexsPCBVMqGgPLjGELQewVBp2uxWUz4FWfzFGxPQimx1LxXJGbpfGTuJ8HedktnqoT6nxDDkz4R9JDDJ9A7qZ3rJ11LcKhrpiy1E5ItaGK0Kz1nuZ3rIa8zXya8w0UMTROp5TKpSKntX+OBPm2Aw/wAOydPlN+LjBUPnchCjQrc7av0JUsS3doRMUR5TssCXeVzQL0E4XGBA6DYwRN3L/NCU1m7b1x8V7Lz4JO900Pp6d6RKSLP7BnXV+NRFDbnUDh06B82on+J1sjfwx7k73/JXyd/qY1P+Qdf8tfJH0X+5R9+yV8nf6m3T/nLAe5Lf1v//uAD9MeW/lEHRj30vYt/WCTcU+JqRlU7E2pI665johO8d+Ja96E9/tJ2fQQf2BVGR+UPteH/U8HskqRw9UChV68lSe258onIpBbDYdzY/eCowxksXgrPwBoiH7DsCH8sadHMQ04Jg9EpgwuolUoYp/Rrw1sDMZCfqLWkuVhAs6Xft0eWq1xWpO+leFpnKi+T6nyc5XcsNemx+AsvPtY5IR+L9WOpUkCtMec87BWh3St0bLtZMEUfwa4zbWDc3Wd7MDTzfB57j8P1e830Hoy9DKz2SoNFrPyWcZZ/qeoXgprV9X0LOrgZldu4G/mQ2V5f+CVS3fpv2ifJC2EQ5zPO1M7LMBp9xDD6PmBRU8AiL8AaifZjLuJnl8tUw93bq60lmcAXmcDjVKV3NFNpD71gslcFYMZwFaL7uw/68LgWtsuVtxi4UNm4n5kCqIPxceDvWnNzAG7M85AXpPZKQ78O6euti0uGSDfac2K1SX563+CosEdoGH1C7vYSB7jlFfocrnyKaR/hwedjGtjLJg/Tx+nD7+mZSINpf3AdeEZ6CcB6Wq7tjqihTceogbAfbvcb80X2w337fw=="),\r\nthis.addDataEntry("gmdl google media design library card card slider",342,570,"Card with slider","7Vpdb5swFP01PLbyB5DksU2WvjRatHXa48TACdYMzoCsyX79DBiaYGelwV7UrlRV4PoDc871se8FB0+T3V0WbOIFjwhz8AcHTzPOi/os2U0JYw4CNHLwzEEIiH8HzU+UwqoUbIKMpEWfBqhu8CtgW1JbakNe7Jk05HGwKU8zEooub1eUsSlnPKtK8ao6hD0vMv6DHJSQ6ihL4iDij8IIxYW8H8kKsjs55sokB3xHeEKKbC+qPNKoiOsa2JUDjQldx7KZN6ofFgR5bVi3bZ8gECcSBT0iWEHkc5AKwzwL0pDmIVcAEk9SAcPT4uDxQXVI+2f6u6yMvOZati7LSyxoGLAbRtepsH3nRcGTErdNENJ0fSuvZ+jJdk9W5TPDsn1GctH7V4lNb4zReRg3EGeEBQX9RY76H4K7q+C+4AJ30Q5AMdAbLG4MlovasuB5wcrh5ts03Q9gBLo9GEloFDHSn5FAtmOVzSJBAKgEuS8lSN5iyam4MwL7Y56bFny1ykmhENoOrBfHnsKx7/ckb+SVf8fkTUAP8gq+OZs5WeOh7GJ2Bb2B1EloIZTYHlAJdVS2xiHzylcVfoqcWzAfALzbR8cGzho72INrOMEK+iMN+C8Wus482p3g0MhEGj2/bEdBHpNIctOs4cluXW41rtdJxK6TSkS/1RI6DN3jBi3W4uk9BeyxPbCvIEAW0B4raEOQbOIzIH+kadTulZoVAel2T0fT7pnp+LJFrDPPWPCdsCXPaUF5ac5qVjozFANT80/rE0infp4Rn2i67oqvUQ+ZKB4iRMY7f06GjG+jvdZT/l9/GFvxB8+GPzROdmZclfKUKKIgjWZ3ky0NHvLVdVEbAfgDtdos0NDESpiLeUH66XJYHb0DWfD39dLv+KLKANTMBGRgWwh7RP7PAxcHaS0inayAXx2nXNgEdOAa+153u6HBTwMfNhMhXTV0mXVoNf8gdA/cLBR29Nv1FvnD9aBPnKSsB6GggmSG6OpsDbHKlGfL0dXEQikarx7RMboYomoYX14uXzmg0PUuhqgapHtvAFEE/IshqkbI47eAqD+5GKJqFPywJXkU9E2/aiHFAyKVTg7Jt7U5hgrG2vgEmdpWTKxEJGqIKsLGKhPoIJ81fIkaYUuZ/3NbvocSGOJJdRya/HX9O/fQcTfCVPfU1DgR94jx0U2u2TzO57OxNzu1ebTtVafi36b9fae8m+Y8DJDjImEG/FCbXdN4pQWnbBNr8HhxtOSlSI2bv5IofZcZCzLjYhsEqvH4CJuRGfAuM/+hzNjxUjX58RBvs3eVMa4yE98GfWqOxHcvspd58Uu2dw0yo0HoH2qQHR9W01InlzBGNa8DDr+w+kdKoX0dAA0phWdF6NVU1fzL/b2wfPqw/PjpoafaS8X4+0s2+CrUXsuhO/DVWsNh088QDsXl0+ePdfXDryP/AA=="),\r\nthis.addDataEntry("gmdl google media design library card card",342,236,"Card","5VbJbtswEP0aHgtQpOKkx1h2cslSpIecaXNkMaFEh2Jsq1/f4RIvVYMKtQMECAHJnDcLh++Zkggv6s21Fcvq1kjQhE8JL6wxLs7qTQFaE0aVJHxCGKN4EXb1jjcLXroUFho3JIHFhJXQrxCRCLSu0wloK7H0UwtzLDkuldaF0cYGLy/DQLx11jzDngfC8J5KSLNGMEMjrQfWwebdngOUGr4GU4OzHYaslXRVjOB5arQCtahSGuOjCIo2Aott7o4CnCQW/s4I7zHyaKxExJR4cxXgfSK6Hk24n0CPadweCd/DSPhP9csHZ/zNTtkUbc+Imgt9qdWiQWxmnDO1Z28p5qpZjJM9YTvsBkq/82yEkIUWqz8mhgYzzf6P6Tz+q6gFLZxawUH9Y9jPe+zPgBSMjM8bWMWJiT/a72GYCHkYhyL4bX81EdISP4zy1NEulckPM0xZtuB6om0bG6TjWU9HIZ/wAeLb/NInh59GtAv6AaKNeqKtY0ANokHW/HqNfxQ+q0Zq7A4TeEYDY6OXV//OGgt0zwAPq4kHlLa1Qqm2/iOO7CD1ayWlhs+q/omObMY/Qv7znvw308uHO4Ru7x+mxwiX/yFc9umE6w4S/injxUlk/PZW5xgZ0dx9Lsbw/a/J3w=="),\r\nthis.addDataEntry("gmdl google media design library card card",342,530,"Card","5ZdZb+IwEIB/Sx8QT0U5gG0fC912K+0lFanaR5dMEgsnjhyHQH/9ztgORxMWtIV92VSUeMZzeD5f9MJptnpUrEi/yQhEL/zcC6dKSm3fstUUhOgFHo964X0vCDz89IKHA1rfaL2CKcj1KQaBNVgyUYGVWEGp18IJypQV9Kpgji4nMRdiKoVURhtO7ukP5aVWcgE7GjAPaVIWyRqFPjZcPFAaVgdzNiKX8CPIDLRaY5eaRzq1PcKhSzQFnqTObBTawXqstIJkY7stAb64KnRXJGxVZMY11iLwEgmliaigVaSIlSmQB88O+A8Vi83TqlgucypWLHP9zN/IHFNxbReHfFPl+JyJO8GTHGVaFuSqYHOeJxOptcyaLKzsK8RUHn+8Fc3IxkoUlBjsxRWWADHnWBi703gF3bzWewbH6IXhjRUqEEzzJexZdyF1EX9Kjolswl1vHDU2Mo5L0K1JsMn0pHkxbM2L5+pVu6nROSewYtoR3MF/a5590v4ppDMeRQJOh91GexLL8O/WnttnPgpv7F0A3aiF7m46e/rxHWX+se2ue5EeWNHvUA/N8w6t34H+TGBuRm0uw/Nw8b1LgBkfBnP0HPrfwaz2XV+U06fjt4TOAzBbJXSzGSRZJAZVsaHWbEpB171hs0F+pPj7Bjsomn1qF4V/HhTXDdKGhT+6AIubFounfkZB8KNTPAMG+DKpMAy68gRf0PmUyZISLaTgeKZwlpdWnZKyUDLjJcKjfnSOoR+WN9q5rASp8HKKpVHk/ZesqKgy75PTlC2NDc/oK0aMODEEQIG52CilFBEHZRu51IYIAsGkzdC0CfRqM2ALY+etZdU32ldSRtKNbJYCpVaDVSZy6wyzJtcR01QL3ArgCr+/wNoGXpusWRS5YtGOgW85tXVNft5ASbrhabn1ZoZTU8+aicWVHX1f2fugzdR0j+hfyslcsCqPCOcDNp76S9tXNz1jnjcp1GzdSKGc45oZHLpE1CnX8IyHPIlrXFTvNqvh9g7Qedm7Hv7zG4F/Oz7P0dM4/8gywub2R5Xtvvub6zc="),\r\nthis.addDataEntry("gmdl google media design library card card",342,386,"Card","7Zddb5swFIZ/DZebAKdJe9nSLZq0LymVdu3hA1hzMDImhP36HYxJQgGFJHQX0xwl4Nffz3mxg0OC7X6taJZ8kQyEQz44JFBS6uZuuw9ACMd3OXPIs+P7Ln4d/+NIqWdK3YwqSPWUBn7TYEdFAY3SCLmuhBXyhGb1rYIQu3yKuBCBFFKZUvL0XH9Qz7WSv+CkBEyqSxLKZImihxk7HigN+9E5G8lOeA1yC1pVWKXkTCdNDbKwE02Ax4ltRu6XjUjzRogPbY8I8MZSGCZCzhNhNE+gru42qzvF08WQyhT6zCKTUFeQ89/wwy5rMh7/OjwrqykQVPMddPq/BdliuomwIc9ymAjqYK6ZsCzcPpVWm0zFjvBdchzYd9v5WOtV3WzbgYyiHHQP6mGakzjf9Ti/cI2EX8NGSMaKGQ15Gn+GqF6q576l4QbR+vOgvfsLaJc9tJviZwKUXQA3kqk+Me+DSf8IdPIW0Fc96GsFVSKLFLG7jO94jgsQlVmhEBKvoRTMCKVMGaioECa3pSrmKW0yEVX4W2QyxQvsQ1EwjNT7i7bxMuEaNhjjWivxeEaNCh6nmBUm5q8cMGCAhUnHmnXwl7baBh1R58mgP8bOi8E9s7YRD6l4tNPTMrvRYlWnwbljxWu3+2sdZ4d7d+hoVpPd90z2GLx8+vYVNW/0mLrmMB+Lvgm3HWLyw7+6MDKrgZ2A3BiXfQdgG6V2z5k1SA/jQTr7h/R/kOogLeePEmaPLyJN9dP3lD8="),\r\nthis.addDataEntry("gmdl google media design library card card",342,356,"Card","7ZZdb4IwFIZ/DZdLgKrMy4mbWbKvRJNdd+MgzSolpSrs16/QoiASYOqSLasxad/2tOV5T5sayF0lM46j4JF5QA10ayCXMyZUbZW4QKlhm8Qz0NSwbVP+DfuuodfKe80IcwhFlwBbBWwwXYNSlBCLlGohDnCUVTm8yyknPqHUZZTxvBdNptlP6rHg7ANKPZCXrCfAHttK0ZINvR5wAUnjnnNJb3gGbAWCp3LIlngiUCPQQG80ALIMdBgajpSIYyUsd7F7BLKiKRwngtqJeDgOIBtuqq8r46liCFkIdWZ+XqTOISaf8Ko/qzMe+3t4HK1xoFiQDVTmPwXZoHsSyUASxdAR1C65zoRlYNapFFpnKnqFF0bkwrZZ7EenXlptFhMw349B1KDuttmJ87DGeUGEJHwIW0LKUzHC7yRcPoCffaplXjLhjqK1z4N2+ANoRzW08/VbANjrAddnoSgl7zgvfwQ6ugR059detWkloO3iHfe9eA8s0atdFfOc1YTrmgk37uL++UlqVuM1XrwFZMbPJdaMKOrryMFxGeSlmFQv2dknp6dPzpGTg060KakALUxzLnFyxs2mtT/g/k1rNa24WE8xTTb373g1vPzM/wI="),\r\nthis.addDataEntry("gmdl google media design library card card",342,334,"Card","7ZZdb5swFIZ/DZepABPSXTa0jSrtS2qkXXvhANYMRsZJk/36+QvygVlQWHs1R5HgtY998j4+jj2UlPsVx3XxhaVAPfTkoYQzJsxTuU+AUi/0SeqhRy8Mffn1wueB3kD3+jXmUIkxAaEJ2GG6BaMYoREHaoWmwLV65LCRUy4zQmnCKOO6Fy0f1UfqjeDsF5z0gG6qp8Ape5NiIF/sesAF7Adz1pJNeAWsBMEPcsgbSUVhRqDIJloAyQsbhlBkRNwYIe9ijxbIB+uC2xHUc2RNhPQi9HMGjV6RQ8+kFDcFqBl884P/4limW8+xilXKrIxV4pX8VuEyFftu11FzK+fIBtMHSvJKaoLVaqoab0iVL5kQrGyzMNpnyJQ9QXyU1irGKBwaudgPa6wChO3EVMc5BowiGLoJHs4CrvEMWpEDxYLs4CzaBdmu+J0RmUi33KybqI1hWdaA6G2LLtNROyXq7ZTX7U9hN4tzl0jHhGV6siE+6XbOPhjDviRpSmE8/htZotuq0Z48U+HN798B3byH7iFZv3z7KrXg2gHoLtuBGr9AHel2gTZwoJ8CZrDIFr7jzJxYYjY7C6ktuMh/B2jxMLSr/1r/obmgxR9AbXH9huH88yz3uboV3eVlSu+2dcewPb6Q684R6zYRxXnAIJgg7oO5/ydcZuiinNrzagoY+Xq8Vprhp7fOPw=="),\r\nthis.addDataEntry("gmdl google media design library card card",300,266,"Card","7VbJbtswEP2WHASfUmhxnOYYO80CdANioOiRMUcWYUojUJQV5es7Q9LxjhpNcisBW+LsfE8zUpRNyuc7I+riG0rQUfYlyiYG0fq78nkCWkdprGSU3URpGtMvSm+PaBOnjWthoLKnOKTeYSl0C14yVVYDieYIDV0KMOBtGtvrYNMUouZbAzPKMs6V1hPUaJw2y90ieWMNLmBDA26xphASOxIm7I6V3TCK3QryR/XCidJstQ9FsH4JxqqZ0NdazSuSWaw5dC1mqpqP0Vosg2WQfYWcQUlGa9GUfW5SNhIhjHZW4wAM5YDno+A6UUD2DrAEa3oy6ZS0hbeg43i3AtS8CG7paOSFovGC+avvmiu6CXQdpi7bo+6xfbKBvYO00UnsPt5Xbm3jnaQn4F0qKTWcDrmBhqL/Ctgkp2Kc/iPGQWZAC6uWsBX/EO4hxU9UlDmNe29xcbXtgXnegN3j6bWwk6gb7lH3MCg5Cf1sQbB9optxS2koVKzVgiktseG6atSKaFCiary6YGVtsFQNSGfH1FMcUa20M2w1q2jAEBKGo//GlkHEasBBC7F0PqrkS06PBj04GqCmWnyWBrVUYPymQusYIAKoaHc06xI9+QrEwvnFPbYDp31ipcRwsmkBXFoHXjnHdTCqmkNLYRkLGixwRtd76H3i3lUtpAxgYcWBRcV723GcFzDIc8viOpo7TseWndCLM3/6gfFTzlfqzCX/FYrdtWgryXTe0uZhsPS2dmWZq2pVQif6lRSaGc/FI23XFcrCI7UFizua+Dstl6275uCQOh8e7CEvuV89+R/dVsnw87v01WX8AX11sddX15Ppw4/vJEv+9hLbfllV/GQdf7PtjNChWzsj861M9FsOG7xcHqBl+MZpF6oL3IbU5yuu35Wk0XGS0v8knULS6P1Zou36o9Obb36T/gE="),\r\nthis.addDataEntry("gmdl google media design library card card",342,246,"Card","zVVNj4IwEP01PWqgRVyvoutpk73tubsMlFgsKV2F/fVb2vqBQiQRE0tIypu+zvAeQxGJ8mojacE+RAwckTUikRRC2VleRcA5wl4WI7JCGHv6Rvi9J+qbqFdQCTs1hIAtYU/5L1jEAqWquQNKRotmKuFHb7lMMs4jwYU0UbJcNZfGSyXFFi4iYEYTYTQWBw36+sHlA6mg6q3ZQK7gDYgclKz1kkMWK2ZXkMAVyiBLmaPhILQgLS2QnrhnCfTEqdCtCHlUkcSMG0V2YteIIaHM/uDLvclgRXC3InWLcE+fWWAxCZyqbA8tcpdmLuGnyHQdp2yT4z5HikiSEtSNyKc6B+ke3Nc9piWDZrlnvypjQl6lTfdM0zzmUwZUqj7pr3wKzRhqAOk2oE3otcN1YcsN/+0xN1zqiR/MW9knJHyCPbMx7PkWYptTuX1Bh/yg43/ijePQAl8ZNH+CQeEYBkkoeP2C7jyzf4LF+O2jH89nuF1+ecT/Aw=="),\r\nthis.addDataEntry("gmdl google media design library card card",342,342,"Card","7Zbfb5swEMf/Gh4rgZ1k3WMha1VpbSc10p69cAGrBiNzTZP99TuDIWE4Cm3WtxFFMt/7YXMfnyHgSbG7M6LKH3QKKuDfAp4YrbEdFbsElApYKNOALwPGQvoH7PaENWqsYSUMlDglgLUBW6FeoVVaoca9ckKdi8oODawpZbyRSiVaadNYeby0P9JrNPoFOkupS7DOusQj57C5nP4sf9u0Eevu3ZTWvgWDci3UjZJZSVoh09Qa47oSa1lmsUbUhXN22nfYYKfkItVvNjnduCekjLA7WaVGciW6A10Amj25vMkU89aDz1xpcpBZjn+Jom6FrI89FJ0Gru5+BnzEYCWRnpaFmYa6mdHAO7H0lfZi0bZiuCeBzceUbptrSIkWeZ4S6moSomhxkFY2Zhl9IUW4NKrxig3UNPdPR2AySeYnuR8EnOMa8etWNKAEyi0Mon2w3Yw/tKSF9NNd9Ym6GL3Z1ICj7dGvdNKOmY12zPPrL3SbxrtbqGI4jXQ0hfQ7+rGB/UGW/GNd6c68S+HNZ5+Abj5Cd5Os7p8eSYvO9bj/iD1qfP+pO6Tsskce6pcwOdlf16Hn2GSXAXKrc63V9dos/ARei9O8zr4q//Ma8vq6+PfA6PbwtdS6H39M/QE="),\r\nthis.addDataEntry("gmdl google media design library card card",342,216,"Card","7VjBbqMwEP0ajqkwpiQ9bpJtL11ppa3UsxsGsGIwMm6a7NfXxkNSNtAiNYnoqkaR8PM8xszTOE94dJFv7xQrs18yBuHRnx5dKCm1u8u3CxDCC3wee3TpBYFvfl5w27NK6lW/ZAoKPYQQOMKGiWdwyAPXAhxa6Z1ANGZVBpbje3ReZay0uIKVSTJPuBALKaSqQ+l8aS8bppVcQ7NSyAJssCz0m+DbeiD+h/+1jzW5cY75bc4NKM1XTPwQPC0M9iS1lrnNUrIVL9I5zpfh7ADeQ6KRz5AnaqgJMACx2VLFYg6tnUW+vdzbxvLFRpoJlstsBra9Ja8hrPcdyBy02pmQFx7rDCOimaNlwNMMaQZ1IKsckO65BwXNDYrYLSg9EvRIy/flS+rRJ5+Cyoj0iG8yuCJBd0V2LcJH9QkRUyCY5htokbtqhgl/S272sc82aZ7TUGSSVKCPirzf56C6hx/XvbOH8m1qm/8qzWNxlQFTurdz2jpF9RgqAO0WoE3olQMPkZYa5JNqYOoJCaNW9gmlZ5Dn+hTyPEm5zplaj1AhEnacJ/5pFLoh/wgUnkGg6BQCKSjFboTqnLN/wuAC7TP9tgkXswkNYRoO+1s8iW2YjdI2TP9723AzbtswG+2xdxnbQPzR+4bPSfTlfQMh4zYO4+2gcxgHMz18u3Dhbz9tvAI="),\r\nthis.addDataEntry("gmdl google media design library card card",342,146,"Card","7ZbZbsIwEEW/Jo+VHDsgeCzpokrdpPIDLpkQq04cOYZCv77eKAlmSUV560hIyZ0ZTziXQYlIWq7uJa2LJ5EBj8htRFIphHJX5SoFziOMWBaRmwhjpD8RvjuQjW0W1VRCpfo0YNewpHwBTpkyxUFLBUhwyUatuU9mtCnAtKKITJqC1kaXMNOzJjnjPBVcSFtKchumTEnxAa0M2HAHZOJTi7FpF5VqFSEbXn9jX2YQTjb3/olMfglSsRnl15zNK60pUZujazpj1XwilBLl5nmd9gi5QRMPt9LU9NzEA61Qfwy3VROPR8+A1UHEVvJ870GUoORal3yyTBWugiQedAFsXmzakqETaeOE+U/v1jF94U3bbyAJDHxbvKtjHupvokLeYxtd3jHpwbtkWcahP/JeRPFJongDr03U/9iRBE4VW0Ln/H2U/YhXwfRkjNauYjDudog8b0AFrvw8WC+jksCowJnjC/VuI1ioSlRwJtZuQwvyCIWMR2cy9sOuxt4/zzweXoD5IGB+nU4fXp61Fp+kv7MHe6kf+s/bWa7Exs4yxWe6tv6NawT/iWujjmdXCbqAacPDpp1emX/TQtN2Nu1PXNO325cUV95+h/kG"),\r\nthis.addDataEntry("gmdl google media design library card card",300,176,"Card","7VbbbqMwEP0aHiv5Qmjz2NBtVKl7kZofcMMQrBqMjJsm+/XrW5oQhwZt07eOhITPzPGYcxhEQvN6M1esrX7KAkRCfyQ0V1Jqf1dvchAiIYgXCb1LCEHmSsj9QBa7LGqZgkaPIRBPWDPxCh5ZcC3AQBUo8MlOb0VIFqyrwFJRQmddxVqLK1iaXrOSC5FLIZUrpaULW6aVfIGDDLjwGxTyzYDY0mWjD4qQi4A/8b+2EUl363Aim1+D0nzJxK3gq8ZgWrZ265YtebOaSa1lvTuvxx6htNLgbA8tLOcOTwzCwjbCVc2CPKYHbAYldlDQdw6yBq22puSNF7ryFTQNQlfAV9WOdp15kHUeWL1z946Zm2DaaQNpZODT67P+yEPzJDrWe+qirzemI/SueVEIGC/5KEXJWUVJmsWKhpcdKRBM8zX09j+lcmjxR3LTmaCtr5hM+wxZlh3oyJX3g40yKo2Mipz5eKCeXUQD1cgGPilrn3AgMsanXtsd+L8qh3ZXmNx4TpAdZ18g+ySS/TZfPPz+ZTB81oCjUTgp/NBn72i+UhdH84Q/adx2yLgbFPtGL2Nb37OrFH2Badmwaeen5tu02LRpdnnXzHL/n+LLD39j/gE="),\r\nthis.addDataEntry("gmdl google media design library card card",300,224,"Card","7VbbbqMwEP0aHiv5QlDz2NCLKnW3lZofcMMQrDUYGTdN9uvXtyYhhgb18rYjIcGZOR5zjgeR0Lze3inWVr9kASKhNwnNlZTa39XbHIRICOJFQq8TQpC5EnI7ksUui1qmoNFTCMQTNky8gkeWXAswUAUKfLLTOxGSBesqsFSU0EVXsdbiClam16LkQuRSSOVKaenClmkl/8BRBlz4BQr5ZkBs6bLRR0XIRcCf+V/biKTvz2FHNr8BpfmKiSvB143BtGzt0i1b8Wa9kFrL+n2/HnuA0kqDswO0tJxrPDMIC8sIV7UI8pgesB2V2EFB3zuQNWi1MyVvvNCVr6BpELoCvq4CjZBLD7LOA+s99+CYuQmmDRtIIwOfX1/0Rx6aN9Gx3nMXfb0xnaB3zYtCwHTJJylKzipK0mxAUX/YkQLBNN9Ab/0hlUOLJ8lNZ4J2vmI27zNkWXagI1f2G5tkVBoZFTnz8UC9uIgGqpENfFHWPuFIZDwbOLZ78LMqh3YXOAvnP8iOsx+QfRbJfpUv7x9/GwyfNeBkFAaFH/vsncxX6uJknvAXjduNGXeJYt/o99jW9+wiRT9gWjZu2vmp+W9abNo8+37XzOPhP8WXH//G/AM="),\r\nthis.addDataEntry("gmdl google media design library card card",342,272,"Card","zVXbboMwDP2aPLaCBLo+j219mrRfSIchqAGjkLXw9wtJemGlaqXSqZaQkmM7ds7BCmFJ2a4Ur8UnpiAJeycsUYjarco2ASkJDYqUsDdCaWA+Qj8ueEPrDWquoNK3JFCXsOXyBxzigEZ30gON4HW/VPBtjnzNCikTlKisl2XWDN5ohRs48YC13iN4ijsDhmbj64HS0F7s2UK+4RVgCVp1JmRXpFq4CBb5RgUUufBp9MWDvHFAfsg9UmAWnoVxRti9jKytnTFSYQW33p9evT+NgpH770EFkutiC4MCY6T4Gl9YmNI02He0cBndcLs/ALOsAX3G6aHRm2iOrtOc8kZAHx64n8hyXrZ5PyzzvEzlXABX+hLTf2RZWLtTgWHCqR4jcoTLSdSYxWwgB1s+QI54CjnWiJuSq81TKBJGIwMyzXzM4nCgyPIRA7KYQhEFteyeQo5/HJCQxffrYbbHV9iFnz7Svw==")];\r\nthis.addPalette("gmdlCards","GMDL / Cards",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLChipsPalette=function(a){var b=this,e=[this.addDataEntry("gmdl google media design library chip chip",170,32,"Chip with text and icon","rZRfT4MwEMA/TR+3sHZMXx3T+aCJiSY+N3BAY2lJ203mp7cthY0wHWaWkPTuen/6uwNEkqrZKlqXzzIDjsg9IomS0rS7qkmAc4QjliGyQRhH9kX44QfrwlujmioQZooDbh32lO+g1bwp2EtldY9UaBCtXZsDD3Zd0tptFaQ2w5qq9JV9OUUcWVEbJT8gkdyGIBshhbWsc8Z5p0KYgF9Wr+ROZOAqWTjXmqZMFE+Qu8rx0jlKYUL0BXHJOCuEFVJ7O7DR1qF6UAaaHwl4Vbj+FmQFRh3skU+WmTKcuGkpRSWwogxuJLChupWL3vXI024C0vN4yQjviGdGdekZeHwBbtUUbiTmRZXx+U77u05Bu/JrKhh8EUzH4BwXBZwatodB+GtgLS/D6vhYR1ZrmEjlLnaPmx9d+6nd5KxxzK/CNHQ4hK9tHrfy6XStxhA73WSIIf+LZLasPvmsgxbSz26HEWSeazCjJvS3mNSX+D+GuBn1yjYm96u3vAdmeGpnlr92Jh6gGfflTFtWf55iKx7/1i3c05/5Nw=="),\r\nthis.addEntry("gmdl google media design library chip chip",function(){var a=new mxCell("ANZ Bank",new mxGeometry(0,0,170,32),"shape=rect;arcSize=50;strokeColor=none;fillColor=#eeeeee;rounded=1;spacingLeft=24;fontSize=13;align=center;");a.vertex=!0;var d=new mxCell("A",new mxGeometry(0,0,32,32),"shape=ellipse;strokeColor=none;fillColor=#009587;fontColor=#ffffff;fontSize=14;");d.geometry.relative=!0;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,\r\n"Chip with text and icon")}),this.addDataEntry("gmdl google media design library chip list style",358,642,"List Style","5Vldj5s6EP01qE8b2YYk5HE3u+1WaquqrdTHKzcMwY2DETibpL++HgNJCCQhG6iqXqTVwthjhjnnjD/iuNPl5l3Kk+ijCkA67pPjTlOldH633ExBSocRETjuo8MYMX8Oe3uildpWkvAUYt3GgeUOL1yuILfkhkxvZWEIeBYBdieO+5BFPEF7CjMz/kMopJwqqVLb1Q3thd10qhZQtsQqNj4Pxasg1bA5Ga41FbG+A7UEnW5Nl7UIdJT3cId+7haBmEeF28grAudZbpjvfPdfb26KBDQnw60lg5pY7l1yXU5UrL+KX2ihrnnmUsxjbM6jPc7ZlFF/+HAqZzjYQee39sLOCZ+JeP6lyIC3N31TCb65DKSIGeNMITNhfS8ySdsiwl6HCPNyWwqSa/EClfFvQcl7JWWXmznKbDBfBnKgVfLfD57eRFW3OTFVh22hwsEwfz5ImzeqZ41em7Xi/Z+VMGHtXn43YZXX342rI6gwzEDXsr77ilZADGtATNUyURlcJZdm2lc18jShTyO3kcIHamPksmByddwd6lJCqPcdPtinxzHrWR7D8W1Ab6sq6xTYURcKK9Nagbc+R5RYts73sDnfZ3RGm3Q26kRnpQZKmfk9oDHuAo0M4qCl2HYA3QJH6yJYfk1l6mDdFEH3CB1Ke4DHr8HzTd1QAA0AYK8zwJytgobZtSo4sdf1VdCO1WsVvHG6K5D1+wB2Ugc2hReTUkaeeWwEVUP5CFiezgpMhqSl9nbQp2oVB5YxtIYK8xpWma1Q8q+vneXi9xA1txt9jsmRPEc9oEhJF+VzlcHJteIRhCN7IfxZYnnwGIoNjt4OosllITVUzNJ2y7q6rI4HmbqXJlJGPoHM1P+D7qw/ujPi/wm+v3ZH3zXfW232W+z2+2J7fbP/WZqybkyhrfE6AowEYIFLpwvcP6bn9XP65Xn4z27fO5qZabkG65bk9TOAZ+Ew42ck5VKk9XvT/HOVYShrHmskJNFmYUZmEcwWOFaMUSG0JAOEWoQYtlphInhgGzFRScEKHQn8t0pmammQ2XNjYG6/4wAm6Xm/eJF3UKFNKg/yx1VSxvCJJxzdPmAmyArHXcRqfRDEGwxAigWULnO1C3cNb2w2ltw2G15A+mJAUnE2uIaoXhuFF6Z1JDR8NaREz7UpFMaGxBMzLu8L6mpcVZ4g8mkS55bnknp989ojpBti+5M+iF0/U2lXva84TCH26rygbCsOF2HwO0Hhzutjx007OQD5wU2dOXcAcgqXVx6M0PNbcTI4OqxoXP94dai6OpIcV1c/fZxI0hZnJSVWxlMkGfxVCP37ANVPSy7NWH8POuN/DR7zuP+lMe9++EPkbw=="),\r\nthis.addDataEntry("gmdl google media design library chip list style",358,642,"List Style","5Vpdb6M4FP01aJ4aGUMIeWzSznSl2dnRzkjzWLnBCWwAI3CaZH/92gaSgE3Ch2k1XaSqibGdm3POvb73BsNaRocvKUr8P4mHQ8N6NKxlSgjNX0WHJQ5DA4LAM6wHA0LA/gz4ueGuKe6CBKU4pm0WwHzBKwp3OB/JBzJ6DIsBD2U+5tOBYS0yHyV8PMUrtv9iHYThkoQkFVOttbj4NJqSLS7vxCRmaxbFR+GU4kOjuWKosPULJhGm6ZFN2Qce9fMZ1tTNl/k42PjFMscuDEdZPrA5rT1/e/aiAEANhiWBYTJb7i3QDRMS0x/Bv3zEtNh7FAabmN/Ora1jtoSmO100YcY3u5j8WVx8coJWQbz5u0DAPg/9JAn/5NKQwmZuZ4ozZtavAkmzLSOwHyPQzsdSHCIavOLK/kNYsntKNjpsuJtNNpEXTihJnl9QOkiqlhqY6oJj4YWTaf7+AjbbkVEzu6JWfP53EjCzTh9+N4eVj7+bVXcg63WGqYT66Vu0ImIqEbEkUUIy3Mld1LKv+sjj3Hx0LKWEL7wNgtsOk3vH3aVfhnhNzxO+incPMziye0xnw4g+Vr1MK7GODg8rYa3QK58RJZet8Z6q8b7iZ6bKzxwtflb6QOlm7ghszHSwkeHYa+lsJ4KG0NE6CJbfpnJ0QD1B0KqxY5oj0ONK9PwkAwIgIwCL6woxV6MgU7YUBefi6h4FxV6jRsGBx13BrDsGsXOZ2BS/MkgheEIxcyiJ5RqxKF0VnExBS987UZ+SXewJxZgSK9BWZJmtWHK7x84y+b1kzdLjnzNQc09nBBZNoCN87jLcmCvWKHTExenPEqGDh3Vw4Lu3o2h+25EUEbMcG5JXl9HxAqn7kFkKwTccZuT/IXc4ntwhcN9C730ret16b1Xst6j2x1K7XOx/D1lYZ0NrEeOpj7klGG956nRD+3V5dj/Tb5/Db1u+azqZzTIH0ytyuQfwFBiQrWMuZZlc1n+w2//sMm7KHsWUCxJQlpiBlY9XW75XzK3i1IIMc6qDNTeb7DgQyBM3OVBJoQrqB/zfLlmRiDFz1saEvfzFN2Cg5/PibT6BrAWoyMvf7pLShm8oQXzZV44E2PF9tzHZXxjxiRsQBltcLtmQk7l7/EmgESFxm+kCp6+MJBJnky5Ctdt4eDG09wOKfzBR8pV7FijYGBdesELhfSFdyrPKBiE3izgfeSqlN7aubQD0CNudjyFsuafSLnp3aKacC3Amcya6SxpGiC5wbsssmK6ePtfUqRyp7hj1t9m3HdKBEwAWrmjitjs2G4ruW6jPdJybWtoRffKLdtA4nXM+S9EesvS0h8x6hTOKPuUOxJJFebTihsQoktuxDMD6WaBoGpzjhNQ0qEf+F0IpiaS0ZTrVRJstkabUd1mrDtK3XPZTUfY/+4YN8AFFSYgnLAdog6o9CNX8POXb/sXnUg6GA8ZD2XpDmGHfspxtEyQZHqWX2YRP+2amonqEA/ONUzMT1mJJjQUtsQTKPYAe0f2gqoBOR1zPvn+OYyM51UTAkahRpIJuMwetZfxu1fagROEsYevjnYeKn/HzCN4jgFtte+lAEb+jwPNCPCReX6fPVQSg0eK1ll/d30/orny2/fY6l2tFX/wu8Uw/mNBNG7yh0t+k3OOX9qr7WFlwsxPiDtN6KW57FHFrKTNf0Gp79RmEJl765ijXE0gwqT0voPwJQtUu0fRU0KwalsZ4KEjxe7hE3K1c/j0Z+vgEyQVuI0FNTyi8Gzuzj0YPe3t+2Deffvks8H8=")];\r\nthis.addPalette("gmdlChips","GMDL / Chips",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLDialogsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library dialog dialog persistent footer",280,472,"Dialog with persistent footer button","5ZhdU6MwFIZ/DZd1QigfvVSsvem6ndEZr2NJS2ZTwoSo7f76TUJAaMCtCnXWxXGmnHzAed5zThIcL97tFxzl6Q+WYOp4c8eLOWOi/LXbx5hSBwKSON61AyGQ/w686Wl1dSvIEceZOGUALAc8I/qES0tpKMSBGkOCihSr7sDxrooU5crO8VrOf7UhlMaMMq67eht9qW6Cs1+40YL1VU6QsBdpdOWNeTjmAu97HdAm8/YLzHZY8IPs8kISkRonotJJkGKyTc2waWhcQUVp2NZjX3nIHwZJNx7PwrNgbCvJQPBAJjfEgiUdUVyUS2SN6CUl20y27EiSUO1+jtYk2yr/A8WPZeKO/FaDIajuzWwKEMeFbH0wrp6MDH4MWWBsHFMkyDNuzf8ZjFML453kgqhmJ197K1+rh6QBtsQb0YTWCK0IqL82TNd9HXrPcmkJzk7Tey9N84gVI/LJEBzaolQj2GZTYGHRr1/sJEF8S5D5fi27KJ97hGjS9VuRDPtl+rpYHoj+bAz6gZ0OeP3EiTicWk8emRBs183dmK5Ml2u/IzX6Uui8GvnDaOTCMUQKLZEiAC/cvbTNL1fvLFfNxPnavJgOxDwcg3lkMV+honhhPPnoQvvGugHALIiif7UwQXcMAWaWAE4Yf7Qo1RUI/DUx6s3P99HH80fQpxL9rf16tUWnJMP1Vryip9bqjC3RozpqaJbWVn0k7mYAuAB+aEY1pZhG40kxyhbKde1VPJUnGwWjp2YdHZ5sZajSZcUKIghTGcVLFnWmLY/a62qHTApSnV6fq4rq6oqLQF9HC9pUxQl7yhJ9QtTxZDJ6wDTtyFL4ydDYt6c5VAE3StLah2wTKSh5RtlaooOA5UrT4r+PmbroaKWHLPbniyJ/lHpjf4uIL2/j+bJveW4i9zr2nX3LbW8gDFD93RYoexkIfVukKRxEpIkbtGWaVBMPK5P9rSP+eXs7j++/k07RiDpVcw8pk7x9/aZadm9+cv0D"),\r\nthis.addDataEntry("gmdl google media design library dialog scrollable dialog persistent footer",280,345,"Scrollable dialog with persistent footer button","3Zjfb6owFMf/Gh5dShHER2XOF6/XZEv23EmF5lZqSjf1/vW3hYKYwuYcdbnDmMBpz2nP50t/4XjR9jDnaJf+YjGmjjdzvIgzJsq77SHClDoQkNjx7h0Igfw78KGj1C1KwQ5xnIlLHGDp8IboKy4tpSEXR6oNMcpTrKoDx5vmKdopO8drGX+6IZRGjDJeVPU2xaWqCc7+4EYJLq4yQMz20ujKB9045gIfOhMoTLr3c8y2WPCjrLInsUh1EmGZJEgxSVLt5g390ojy0pDUvice8kYjacfjGXjmjCWSDATPZPBADFgyEcVFpUTWiE4oSTJZsiVxTIv0d2hNskTlHyh+LBOP5K9yhqB61tEUII5zWfqsU70YGbwOWaBtHFMkyBs+i/8VjEMD46PkgmjBTnY7kd3qIKmBLfBGNKE1Xq0QqN85TNc9uT6xnbQEN6fpfZambmLFiGwZguO5KJUH22xyLAz6dccuEsQ3BJkd1rKKyrlDiCZd/+xNht0yfd+73BP9sQ36gTkc8PqVE3G8dD55YUKwbTt3bZrqKvd+y9DoGkK31cjvRyMX2hBpZIgUAnjnHqRtNll9crpqDpzvHRfDnpiPbDAPDeYrlOd7xuNrF9p31g0AxkEY/q8TE3RtCDA2BHBG0bWTUj0DgQ8HRr35+Tn6eL4FfSrR39uvV1t0SjJcb8UremqtztgCvaijRsHS2Kpb4q4dwB3wR9qrKcUwtCeFlS2U69qXoj41WZfieBbjRsIM/MCGMOaZNposo9miax5rLtBeywLdNS91rj09aPORLCO/ZWmHX1NFNz1wq/FSyVQF7lcm82wd/V4uZ9HTT9IptKhTFbtPmeTj6eNTWb35beof"),\r\nthis.addDataEntry("gmdl google media design library dialog message dialog",480,480,"Message dialog","1Zhdc6IwFIZ/DZc6gSjqZau2N91OZ9qZvY4QIbuBMBCr7q/fhCQoBC1WmNnFcUZOvsj7nJNzxIHL5PCcoyz+wUJMHbh24DJnjKtfyWGJKXU8QEIHrhzPA+LreE8XWt2yFWQoxynvMsBTAz4R3WFlUYaCH6k2hKiIsewOHPhYxCiT9hwHYv7HLaF0ySjLy65wW16yG8/Zb3zWgstLTRCyvTC64kYvjnOODxc3UJr00z9jlmCeH0WXPQl5rHpM5mqTIMYkinnDiApliKqxJz3EDy1JuzzQkucV74UhwUWBInyTVnKbJED0gZIoFeaEhCEtJclQQNJIauJLTVnK38kfOdKF5l4vIUXLcSFaf+rtuw0KKUvxVQBIL0/xlndF4H0XgbLlmCJOPnFt/nuwTL7ptckhkpE2jpKQjg+VTEZLr004v7y6KgXblaoPOOrIHE/V/ZmO7sSW0dg6y6jXf2NEPFa1+AhOasuPZvUZ2HZbYG5hqHbRiczUIvPBLDZCQH7y+5fSEU++f6b9HMhPS0zooR8sExa/NSiGdGwI7iOiCfhgAAK+ReB9t/klj6ALGC5oa+KhHZI5kMAVaP8BARdMB0Aw6+N40lmjfkK5V4/2ljzQb1wcawO+YuRPe2E08odgNLcYPViQGgn8q2ShJadog+kbKwgnTCbaQKiK87MC4KXRgctTrMrLVndTL2wY5yypB6wHTiH6qNtXI2gHZZXFGhVbUF4tQd3JTWY3uonXkt36SW4m8RifMdP26jOLPuIacY6COCk17L/+uJXIwgbSE5FZo9qYDEHEBX0gyeiu+BdgDFj8uUYpgwMuhsDh2sXH+nXVtfJo/tNpnGHeejZ/OqtJVPUHrv21sg7Ve7JfaxHfElIDpEJTwi8aFPtIjeL29L5BdT9/HfEX"),\r\nthis.addDataEntry("gmdl google media design library dialog dialog",280,273,"Dialog","7ZZRb9owEMc/TbQnKifpgD4WCmzSJk2j056t+JJYc+zINgns0+8cmxAI1VC77WmWIPbd/e+s+12kROmy2m80rcvPioGI0lWULrVS1u+q/RKEiBLCWZQ+RUlC8Bcl6xe8ceclNdUg7S2CxAsaKnbgLd8MoGGjVCHgncGtUBm1XEncGtANzzBw7WXGHkSQMWpKcElJlC5MSWtn15DhLRY5F2KphNJdaJp3y4VZrX7A0SOVBK9lqsVz7JRK2i3/6XLFD+E8yES65UQ1zbgsnlWNjskULW3JLWzR7LQt9vcU5ZK5ECp4IfEgIHe3bEBbnlHxGMzWJVuE/qAP9i/2uDOFBm9AVWD1AUNazmwZ+jz3HEgJvCiDLJml3kiNNxS99oQMN4HadYLpiOAnsD3BrqKoXY26djQZWNAVlzAge4f755I7dwVUmo60ZK5VqEMuh0rtLkaBUUvxYdWgFN6VQAPO3ZbdQ6pTZewX/uudlJj4bjRA2F97QXw6Jv7QrdcS12Aw9feAJe4tH45Q4luJJ68jHk+DUYPATjZwVuDaGIQaXxSXjurBR8zIuULluXHUL8amv9lNk3Q/mqSnj9vHzdfV6hZY6RhWsprN18klLPJbVuTK21hxxlz1/q3NkAXo4yXC1d7K71xwODsN2F5Dez9/G9lQetKPSKg+OSb+o6zfj1j/B/2PQc//Amc8nr4dfPjw0+IX"),\r\nthis.addDataEntry("gmdl google media design library dialog fullscreen dialog",358,642,"Fullscreen dialog","7Vtdk+ooEP01eXQKQhLj43zel5mtqZ2p3cctVFTukGDF7FzdX78kgWgEvajgfFI1NZFAQvr0aU7aNkDX2fJHgeezBz4mLEC3AbouOC+bo2x5TRgLQkDHAboJwhCIvyC823EW1mfBHBckL20mhM2EV8z+JU1P07EoV0x2jPFiRqrhIEBXixmeV/0FGYnrX00oY9ec8aIeiiZ1q4aVBX8h6kzOczHnSt6KFCVZ7lxu3SXX+oPwjJTFSgz5RcflrBmB4rSZNiN0OpPTkkguHC+ajmk7d/304kAawGwMpBkDirVcInCQTTCj07z62Kxu20YA9AfJ1S4bTXhebgy+q1s1eI5HNJ/+KZ84Wnc987nogHLuk1xjta6CLOh/5G9pOWiLQHgcAmHU9BWE4ZK+ks71T0ElOtJFs+W0otXFNBuzi5LP/xni4iTXRGbDdCesJOsu4ubzhtmiRLcaPNRq8v6PnIpltTfvDcLO7Xv97hX4ZLIgpWb19imsgIg1IP4gv0QHea1MdAhFzK6/zZNBkqbKrYUji+4Q/J4iDR961cwKTzrC7FIyMqPjcbW8lqKMTMr1zPv6001yfu7E/dO8YNWloFPUExf0W2qg67uFMnZoa+zYbOw9DFRs88BAuc+2BBx4gKKvQfF0+detBoewWdnlDUS2vAH7aCNHXvGy5JmCu8Od9ETsjLEUajgmQMdRCYBTI2nSvXlvW1g4QTLVkJyR1aTg2U+e43KG8yAC0wxTdjESlj4ktBojrICb1G1n7KucJNlymsgYB3d6h9cAmTgJkCn0gOXAiT4pKM6nDcssNsdB3WyNnp4oXKCBbrEbtqmY1rLNA0Bq+RsI3TaSBeQ4IxbxE0E9fg7rZhM/hzJeavEzNMbPNSPTswuR1A3PIPKhPyE8kmmM5jqxNmOiWyMvFZNABAcamZBy+Y4IAU7sHsLUh931JME9H4l18txGe0Rn4g4Eb0yeviMQVR7CLYh6cuNDksdgd1fkSb2QR09f3BUGTWcgjmHTSer22YgTOQJw4IU4etrjrqBBKCaCB1w9XhUfgfjXtwE11kEFdfvAoIbA9D7mBlTkJxo6yWp4Fe3746P+TuxRpEMlKxQmkY/3KKinNyKZfQePD++JWzq1uql3H/D2PVCsTR5vweuHcnrO45tytu/Fnhh3bOriy2jCVq44tXuoJySeuU2A+1aEB8KXeIFPz0N8K8IzKkIvMl+Fvu/t6RhFGKl7ucVEz1nEH0URekH0nCLQD8vcFHN8EZZtiUBPJNPzG3aQfBkRGIVeVMSxKYgvY/c48eLveprhkrHeDV4dEYlGMzJ6GXJjeUurzDfDkYxQesULw0PCHvmC1l+rrKsH1aZ0v3V+Vy3T74o35IaFgGGnPMVNNiOiqc7txC8Wl93LKGaqugC3HqJnKh6F7SZ0JDqfSpyPcTEWh8/U6stj8RawW4RYwlXXZpz3FQyeuIkpEiMvEL3/oov3qyNi5KM4DelJDTtIDqoJlbRxS4WddWbm3ETqhBi9yIeqQMfWSHSIMcSjF9OW1lZs7sLlyErOxnf2aA/FhLep7extFSn5KG5BFvkHhZWYSecLowh8M4Q+P0AWBRR7Q9pbotP/bPAEVRWF+pFUM3zzN1T/Aw=="),\r\nthis.addDataEntry("gmdl google media design library dialog dialog scrollable list",280,270,"Dialog with scrollable list","7Vhdb9sgFP01fmyFce24j43b5aFpF62T9kzjGxsNmwiTJtmvHxjy4eAkrlpLWxWkSObA5cI5B3QVL0iK1UiQef7EU2Be8OAFieBcmq9ilQBjHkY09YJ7D2Okfh7+dmTUr0fRnAgoZZcAbALeCFuAQQxQyTWzQJWTuf4UMFVLDme8lC/0j0b8WPcpYwlnXNSzg1ndFF5JwX/D3gjUTY/kJOVLHa86Nj8ICaujZ6ghe4AR8AKkWKspS5rK3J4jNudEOdAst2F4YEFSGSDbxu4oUR+WlXaGAoehZ16Cw1JKqhx0CDInrCkrVplW9jorUnYtSEr560JKXh7QGNr+HlmobnqpOZnSMvvJ53btZU4lvChUhy7V8rtJCsB6CiOvwCa8opLqXPfCUDLULNMpYeOD8YKmqT7HkDCaaYDBbH/+nYW384y2vyz9uE3tqG5dBcbnBW7T12ICGJH0DRrLt2luM0w4VYkx2uwnMhFr0w3D5gJ8NqtAOpbZbrOTi24cFyWEMVpJfnHSl3WSj3APVgodK41IuS4gvTxKX9hK4aAHK0WOlcaLklxsdMZGCN1GcUvts8X/O3vhXl6qgWOvSV7XTuiHUlS2lVEnis3BKScdLTaPlacHdti5zI82ee2udJUqoFK72Jiic93aQeK2ujWM36lx11o2dgT5VwX4XMLXjYCz9OOPXTGb7Srs407duoXk3XPyMHaEVDQdChi0CWifrHe+xejUE7qRdqp0AdFynT6iZTPgqLJRD8La1Ff+DWpk70dpHzlSf3+8yNyUuY/7u5E57kFl1d39uWOm7//38xc="),\r\nthis.addDataEntry("gmdl google media design library dialog dialog scrollable list",280,112,"Dialog with scrollable list","7VTLboMwEPwajpEMbl7HFJKoUltVTX/AwgtYNRgZNyT9+q7BISEQKZfcagnJO7vDrmfAHg3zw1azMntTHKRH1x4NtVKm3eWHEKT0AiK4RyMvCAg+XrC5kfWbLCmZhsLcQwhawp7JH2iRSFQx0xxBrlmCL9m0JZU5SldSZay0Ww0x5p8TVZid+LWIv7CxkDJUUummmibNQrwyWn3DRQaaZTMZ46q2/KvXzV18QZo1C3EmRVogJsFO+VyVLBZFalkj2T1oI2ImVw42qkTUHR5zcLgpYAM59bagcjD6iCW14CZzIi5akUkGIs1ONN9py6oWSDvu2Q/cOEvG7aEDe8LVe7h+HViCB7i2gg61I2RBN/5ZrC+rQkQQqDNhYIeopdb4OfYUJSMK5oJz271TOkbFQJ+GcKP596ocjKvcJxx70YUD8xEDpk5/DZIZsYced8wU1/1DCRyqaz3xZ6TXfTK9MlYlSQVmYGt3irucfhr+iC+7cPUZ/Vvdt3r5QKuXD3Aaw/N13pZf3vZ/"),\r\nthis.addDataEntry("gmdl google media design library dialog simple dialog",280,250,"Simple dialog","7ZZdb9sgFIZ/jS8XYRx77WWbftxs0rRW6jUxJzYqGAtwmuzX92DIp50qm7pIk0YUCd7DOeD3wR9JNlOrR8Pa+rvmIJPsPslmRmsXemo1AykTSgRPsruEUoL/hD6ciKZ9lLTMQOPOSaAhYclkB0F5AofCnJWvXYsdVpa6w1r9NOvWMk6zNWt910CJC90uhJQzLbXpo9mib6hbZ/Qr7EWgbz5SM67fUEx9um7ck/jlC+KGw3gvifQNdSZF1aAmYeFXtS0rRVP5IgUOl2CcKJm8ibOcbje148bJLunZB+++5KjgNXTGiiX8BBs2QaItWBBWJ63tpejrI2gFzqxxypvgro72XsVKNYiqjmk0jyKzQai2uTtS2ImwxsFlA3CdBdMwBcmUVIoJOSm1GmDjzNbAN05EhmpV+QM4qRSXE1/mkEiafxoRJTj3Wzk+L/n99deHYnBeGt34yZLNQf7QVjihfRUTvNxW/3YU365yFkU6TnGTkIeMdRgWcbjHeDqCePoJhKejhAn9z/cv8k0zcjHA+QAw4/yMRy5WEa2Fi0Occ//7FyBeX+4uLQYQ/+CebGVnx16WR6/Rl3g59FzX8o9do4eu0YFpaTE0baP9hmk43H3R9LGDD553"),\r\nthis.addDataEntry("gmdl google media design library dialog simple dialog",280,250,"Simple dialog","7Zldj6IwFIZ/DZdO+BhBL0dm1k3WnTGZTfa6yhGaLdSU+rW/fltaUCyOJsrFEpqYlHN62uN5H9pYLS9M91OG1slPGgGxvDfLCxmlXPXSfQiEWK6NI8t7tVzXFh/L/XbB6xRee40YZPyWAFcFbBHZgLLME5qBMDGcxbzoygE5PxA9IE/QWnYZLMUSkxUmJKSEssLrrYom7Dln9A+ceKBo0pOgiO6E0ZHhNOOf+K+cUKSqnk+C7KLJoDVaiox+0bVwDIKjpQwkaAFkTnPMMc2EcSkqAGKWCSI4lgYCK5nvFhjHS0RetJnLGSe6DMIH+4ulLEy6jlOgKXB2EEN2OOKJLudIldtOAMeJDhtqDWyUK0NcxR6VER0tTrNQniHUe5M4EcoTkCG2KnShVLqPJWBPcRqRJ4YiTBcbzmWVTsvv+LeW375efaa+flXt2Zk/xVEkc76mTjVO4fRbl9ptAswv2q1iutfFbNCytDEgiOMt1KZv0levMKdYLOzaZT6+ijiox+BsArpa5cANPKo0byLm2SAmRITgnNOemk5Q45S790OxGRrYvOJ+p+kMM4HXAjO+wcwUZYcUoh6bbmBTnSYPxSYwsPmOsphueC6s8rDq6ekGPcGwBXpGBj2zTYZ6ZGrJjv3RyPyRVtn/O5S88qx5KEpjA6WPBTAhSw9TF/YfLwhagMaxDWrmCV3QvKemE9Q8lyfMY6lxDGoMXs5v2E5wCL7C4eKN26U7ujOdj/gU2DHIxaqlus6dGh5qAdfvzO6TVK82KOd5rIbmrWn48h6+zQwlRZ3OFfSaFNTHsfFC7xLM4VNYZehO7Bc1leyv3s1S2+oetEhCp3avmPWAi9IGLSirlx44vl1bvSWpzXvXjx+9zHWZxy3KPG5BZfF4/IdFDT/9A+Yf")];\r\nthis.addPalette("gmdlDialogs","GMDL / Dialogs",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLDividersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library divider email list full bleed divider",358,642,"Full-bleed dividers","7Vxtc6I6FP41zn6qAwSUfqz2defeuXu3O9OPO1GiZAqJG2Jb76+/SQALJlpQaAtTOlaICYTz5Jzz8Jg4ANP45YbBVfg3DVA0AFcDMGWU8nQvfpmiKBo4Fg4G4HLgOJZ4DZzrPZ/a6lNrBRkivEoDJ23wBKM1SkvSgoRvoqwggEmIZHVrACZJCFeynKG5OP9kgaNoSiPKVFWwUJusxhl9RPknhBLRZpJdCjGOXvZ2VxVlfb1BNEacbUSVZxzwMK0BPD9tFiK8DLNmIzfrOEzSguW27evdi53MAGZjAM0YtujLBbDq2YQSfo//kyU2EMcwwksiP057u2uzqWP73mSfzeTJCpWv1SYrr+Ack+XPzALua9EvupJXzjuS9Vn2k6FEdOshs6RdFRHnOEQcNy1jKIIcP6HS+U9ByT1yyMYvS+lmw2UcRENOV79nkJ00VIHZMOUGm8wLh156XDCbO9KtZte1Wnb9HxSLbm0vfnbulC5/Ni6fgS4WCeKa1bd3UQkITwPijszoSy1nMQ/6sodcndtXI2AcwAVfc6wD7iKRxHMYXWS+GOMgkN3bOmeEFvzVh/5SR5djZ9etztyWvcYbn4b/pux8jeI9asLxVgwtkDDTHCUa/HoGybF2qprdM5v9gBfmpip54agRL8xPkzuh3wIo4yZASRBk8/AgHkWfzNy0WYgqh03bFDabAexs7LePmP82YqIBXiWoYnzcYvQu5s8IZTnXW82YH4zL5retFux/3oTHzEM0fzQ5zDZZNecw/kHEvJLJRrq7ODpe/n5kqrKwHJqCGUVyFQVTSghliWbTAyx5ZDIkUtuB0b6TundTPJcJO8/e26uUkrn9/qzYPzFQZTD7Oy0acQzb1iCdsDURicGxeIgTeXsIPSIi6l9r+ApjmZ5+9jKvMtVS6BwJRToUD2NhtRC1MixAK1joD+Z331SNGZLViLw+XTPxRuQtzcR+iETMcqyAygHvWIgxSAKJ2nA4PBaukhcVsdph2udq6yyGXhuJxjboCSJaW7FE7204nDpw7IoMpUBXeIzJBYODGJ6EWLlFAT+/ReLgt4JfI0pDwg0yg7D2RP29qaHVZgu1cbHHOi5N8WlwXmIn7biZrkPEIkaKdtb9nHKe7n5HhGDx5PnFS9rkJfaoDaHJ1pWH+3UcSzCtyeTfz0RF9jxddZqK6BLDA04kKbwTrzldR4F6z51utpY9uvsWi/9U7dOFZJD0mbwSyS5Qko/Fsp1YqYsPqvt6WOwgIamkbHSakDQiXbw7IamLS9cJiaNLI/fiSYxBUXYRwPhLG2mVgzgeaANUXRz5Z41VisOfiIA4PdRC8ihXMP0lHSj9Q94FfJKKCCQb1X3BQ2JEAnETlCRKp7Ju0xodoBwfjF470VBXQUZ9oRz78OoP5WhmtsV7U47auHSecugayC+GnihT4Y8kSFccvzhHg5wD5CA3i6que0ww42EA5a0t8YJ/JubRQ+nDMLvitkg3cICgVDPgLBU6nkMo37hkJ0t5desW4UCyxIVyxS5QkB6qHoYpF3ZvZI9qEzo6zUE6KXvUxqXrHATosseEYc6l7HFLIz1XfTGQBhmIm1PAZjHVVY+faI5XKM9y+ayhz8FBQA/VD6CrHw/S/EmYffOCUs4hv1cBF5J4MMjVRJDkzxrK72nklzJzyoiiLUE3aMgHI9lOgDTMB/H7QkP2AdYfGgI6KYXUxqXzNESXQi7hE5Zx7wdkj18spE0W4tmtpEBdB7nBkHD56L2Ect7B52EgPVRBgK6CXKTyB+FI2IkPsgmpCULp1FMeSoayxWgVKcGKSFS6wT56KIIAw9QP0Bv20XsRBHRSBKmNS9fZh6uLIHsZR71VXrafL/0OYUCfG+AExiVfOiSeYb2d19J6OzvX+poFRVcxjvCdVbQ2Llm1fNcbWcf7iHuYoedRaVM+rLgg8qSF9rryUM1sNdZ2W2prnO7uHcxG8uv6jaTtM7eN5aKurhocMXhn0Lxc0bi+t4jLsYP6cMyxhjvrFo0LfU0rsxv6fYSdhaZtzFp3K+gFb6WCj0So/wDpSsFegIwh7SPRGfcNHnH4+rNHafXiryL9Dw=="),\r\nthis.addDataEntry("gmdl google media design library divider full bleed divider compose email",358,642,"Full-bleed dividers (Compose email)","7Zldj6IwFIZ/DZca2gLi5eo4c7OTbHYm2ctNlQrMFEpKZ1b312/Lh4pFRS1jdnabmMjhlB7Ow9seioWmyeqB4yx6ZAGhFppZaMoZE+W/ZDUllFrQjgML3VkQ2vJnwfsDZ0Fx1s4wJ6no0gGWHd4xfSOlpTTkYk0rQ4DziCh320KTPMKZsnOykNefLGNKp4wyXriiZdGUm+DsldRnUpbKPpNqKMIFWR0MtzBVsT4QlhDB19LlVxyIqPRArl92i0gcRlU3z6kCx3lpCDd9t3cv/1QJaE8G0pIBZCxfkH1eTlgqnuLfygKQPMY0DlN1uox2P2dTCHx3cihn6mI7zvdFU84ZXsRp+L3KgLM1PbNMjVwHUsWs4uQkl2H9qDIJuhKBlxGBTmnjhGIRv5PG9a+h5Fz4yCarUMlsGCYBHQqW/ZxjftWjitoT0+ywrlQ4dMvjnbQ5np41cG7WqvG/sViGtRl8MIaN4Qej5hXYcpkToWV9cxedQLgaiClLMpaTs+TS/tg3NTIbg5mHWh/hHbVB+7RgSnUMdnVJyVJsHb4WR3cj2LM83NF1oNdNlRkF65lQWJ3WBl59jahZds63257vIzoDbTrzjOis1kAtM78HGiMTNHKSBh3FtgF0DY7Ok2B9N42lA5qZBNEeHQB6wONreCKyXnKWvLAUiwinlmOHCY7pcMESjdzRyVDCIEU7Aql9FlOTo9dSi3xsCeBeuZhV3Pw+sI2NVBE8xmmo/Dspyyta16T7VyoL2C1EDAnLbgoL9QCoDn+H0DO7tX72qot50f5WXYF6fjTLDWjcnt7mL4rPf3gG4fnjPuDp+wGPJM9xqNf0MjXi30YAnV7mPX0XotvKdMb7lF0043lfNzqcouD4RigMnD6KbmBkl2GOF69H34EOcbnw3Qgc35Kwh3vvK61lg6OjMrUrMWqWDX1sSgB9V+LguiN7xlmuV2+3JPT5AXXYXThVGNyMzuiz4ZGH248Npfvut4g/"),\r\nthis.addDataEntry("gmdl google media design library divider image based content divider",358,642,"Image based content dividers","3Vpdj6IwFP01PGpoC+I8qrMzyWYn2exuso+bKhWaKUIAZ2V//VIoKLY4KB9+YEzk0tLLOfdce1s0tPB2ryEO3DffJkxDXzS0CH0/zn95uwVhTIM6tTX0rEGop18NvtRcBdlVPcAh2cRNOsC8wwdmW5JbckMUJ0wYbBy5hDfXNTSPXBxwe0hW6f3na8rYwmd+mDVF6+zgzeLQfyfFlY2/SfvMxVAkjMmu1t3MJHx9Jb5H4jBJm/ylduzmLZA5zbu5hDqu6DYxhOM4yg1O2Xf/9OkPAYAaDCSBAVJfZkg/DxN/E/+k/7gFoPQcM+ps+OXc22PMLJN/6jDjNzto/JIdvHGAV3Tj/BAIGHvTLz/gIxeOCJ+5nyGJUrd+CyRBU0bgZYxAI7eFhOGYfpDK/duwZFwYst7O4TIbO57NxrEf/FnisFWoIjUw1Q6JUOHYzM8PYDMmMmrgXNTE+N99mrpVDj56gpXhR1b1Dv56HZFYQr18ikZEmBIRM7bcetFZalFHfU1akSP4QGxQl/WiZ0dq51TSFWYzIUaP2jZ3r1QnI+t4L6Jv2dmzBY91NTJ6lo1ptQuApKq+TgmfdKG8AugK74d58JB8EQ9544J32JQCU03BCUkClSQnnUiyYKRQ5LQHgqwuCIoIDleuEvVaalQ8tqGocQ4V05vqP4/eTQ5FVpUxoPdA2VSi7A0nEmvnJk317KGk5mTSA3o1r4K2KU/gZ00l9tQZUK9nqukc4akLIVAPO8oQX2bHif+pNmjtKrOcpJiHyuABYCqSVWFsg14R6HcMHyhcvg6A4O4BhIZ+TQAvrUtvB8CqgKFhDQmfXMneG3zHAh4YwE6KzJsS8MAAysXh1206J3nEiQ2aQAnZ3mY2oJMi7IYyowFk9HqMy05KpJvKjAMDKBcs9wbgcWYcGMBHq01MBAaEDz5ebTIwgI9XmwwM4KW1yRkr3uW6dbd7Nkmlw2fTFUPYWi5Fj4w+ljoVm3UXhPESr95VUVxGax0vF65IfxLY+rjYVDm1Rm0oArujbaOjFc8+do2a7N8VXKU9aRAp88zVGHp8guTSrZYgZUq7JjvWo9GTnu7fBsmbH74s8h8="),\r\nthis.addDataEntry("gmdl google media design library divider full bleed divider",358,642,"Full-bleed dividers","7Vtdk+IoFP01PraVgJ+Po07Py07V1HRX7eMWGkxYk5ABHNv99XshSWsktjEm3Y52umwFgdzcw4XDETp4Gr18EyQJvnOPhh38tYOngnOVfopepjQMO8hhXgfPOgg58OqgxyPfuuZbJyGCxqpKBZRW+E3CNU1z0gyptmGW4REZUF3c6eCJDEii8wVdQPuTJQvDKQ+5MEXx0ly6mBJ8RfNvYh5DnUl2KyoUfTlqrsnKbP1GeUSV2EKRDfNUkJbA/VFaLaDMD7Jqg15mOJFphv9ad/f08CFzQLkzsOUMF2z5gp2zfEJC5sc6mVp36CPHGY4Hk2M+WvJY7RV+NJcunJAFi/2f2RP3dlnPPIEMN6v7lNno5Gn2n066GNKCSkj9nXnSrYoIqocI6qV5goZEsd+00P4lKPVqdtnoxddh1vUjL+wqnvwzJ8KGB83weDS4qAvjcocVK2yz6Oz20/SeO3sD25vuud7M7v+DMzDr9eYPY1S4/cOw2AJfLiVVFhqvT1EJoL4F0CMFNLTxxKPirGAqD5LDiBoPRqPSDr4XAsg5HV5pLD3oYNEYswUJv2TRHDHP0wa/hndIl2pX8y+Tmg1Ry1HVH17WD7bF4GwU90ETgZkIuqTgpgWVleHvITyp6vd+ud/fCMfcV4VwHDQSjnkzeTSOWkBl2AQqAAoEV2Ahsu/+Y7CkNfKorBwgR4CqPIq6ZaNoM7A9DPrt4zZqAjcwQ8Ho9K6hVBmhfnsA5THbJkDj0wDVYsvwDTVXCqrHNxnC78vfXAc3MtWM3BZ87zqW82dkm1KMJKHw9F4XUs8Bhf+KRgmVykDDTDOC+IaQbBi4ADnr2GMRi5mJpkMMwbUau03AFH2CyV5nbyDCbDbhmKuEOyhNKw6Jwz477++IhE4OdskJV4pHeYgXWIpem9TtE+OTfQL1Sqa9gXNml6jK6V3XwnPKRWxAmlO61OYLLhdsDe6AhC84gNbtds+Bq0jV9r2cL6v28zrli6hjmJ/Gq//ucKFz4SqP4F4bo6drKw86qB2Iw3fFFNmYjs1125gOURuY2gJKDc4SEeGz+Gc6ZeqZ87vJyMHa5WSgpwPhwdw6mem/i5bxRwB6OQBnn3Lmnbp0Hr1ofKwgenySDagwamNh69qKBjALobnFJn2T0Jx+gxlewjvXExaBF5CASH/UJsacnzW0/bnsIu2t10QvbGniOTDrImCHmk/Q+F++vQ8uURecqyYTtsjhavNtrfEmqcQHQ9oOl2hE/7gWLnEMoY8hE5/KRaV+jUZt/DqCbOnicR3riUjwRM/rejqSC3C/vBO2cG1iBLLFiFRIis3NwTKiicOCR/AY5tahtvfXmlGlVaenlAwaEqhMRUlYKHdskfiExXciXdRFt6G5Kf/tvtkQLtEu7olu3KB0UbL340+mG9ekXVTZsPFJN6DxcStjla1d/OBiBTkh11IrzE1rSXwzSwUkXgEiCBp1VoyGcyK1iDEnC61c5EK8YPM7YSbo2nSMki0WM7GOJPhRI6rWYkW3Bkm+Ds1WG0f+WsMT3c0vJXUhu2Z1o2QLB7ojuvHBkLZDN25K3TiG0MfQjZtXN9xmhqrxgbMb6djYVjemARXmyeYhl5JHeiFsmAekYbS4DyZxbRoHtjWOp0Rof0AZaaxIpYrYM7qF/mgaWMV8cz9s4gbFC2yLF/ie2MQNihf4psSLq9p4geueNjnr/EI2ljVLJLaFCqdoRb5yubB/P7SyAsK2iFGjg88JrJJLWN0r3zuGS80d7PhtWux0UXEbeeku9rLDBw2dBRoW7t7KUSBc4UxIjhXUZImkV4XQ7QNU4XjIm0PaR6IzvDV4ILk7+psW3z8Z/D8="),\r\nthis.addDataEntry("gmdl google media design library divider inset divider",358,642,"Inset dividers","7Zvvb9o4GMf/Gl5SOXZCwktKt52mbapuk+7lyQVDohobOV4P7q8/5xck2HQG7FtaSFUJO3YSnk++j51vzABNV5tPAq/Tr3xO6AB9GKCp4FxWn1abKaF0AEE2H6CHAYRA/Q/gxyN7g3IvWGNBmLTpAKsOL5j+JFVNVZHLLa0r5jhPSdEcDNB9nuJ1US/ITB3/fpFROuWUi7IpWpRb0UwK/kyaPYwz1ee+PhURkmyOXm5ZVV/rJ8JXRIqtavJPNpdp1QJFSdUtJdkyrbuNwvrCcV5VLHd9999efagDYA4G0oIRqGuZIHBSTDDNlqwoVld3GCP4gMbJ6FiMFpzJVuOP5VY0XuNZxpZ/1t843Ff94GtVEdR9v9fXCJpy9m9RDJAqC5Kr0l91JANbIvA8IjCs6gShWGYvpHP8SyiFZ96yq82ykNndcjWnd5Kv/37C4lQ8VgFD5oB1O2xrdd5FVbkVznCkRzM4NZr1+R95pi5rd/LhGHZOP4y7R+CLRU6kRmP3LawARRqgSbH/BAmZpdEFhcZhPI6Nt3Xrxofg16KqFDRELe1SspD7Bl/K0kMMPUsmii+DvO0qzynUkQvVrQVZEBWmGcktKe9GFKu4R+a4v6K1JlYdrY2caK05TCO1xAOV2EkuFBlmy6J9L5AEwKAMN0RA2EWCPCBJXCDJCRazVAPSjn6bSg2qatxkQutsdQSR9XgVmMYrNxoajiL/Ihq7ISalGir+17xmTSjyBwiG/gE1GaFF6DNmxWHBIxHPGcvtgL02u3h1FhGE+iwClJuqL9hlM0wn9dxhlc3nVTLVZw8H8wsr+OdOJi7MmTXQJPABNHAiOVlO4G3k9qCmi6MP1s+g4ORBq3l27DwBBW5GrYN5ROCFyLlGQIfIz5zYEklA8XcpEesMiAxjFHKUAiNwAMhLDtTNia+4jMFnnrKcs16mwN/8POUmBQbNjeIWqBMfw5/iLnUx3r7idB/jkUgVbgimWND8pjmfmht7GeWcuBj+NHfpPP/ta043NH4I8sIL0f2BWU5ukvMmuZ3v7JaoEz/En+Tiq5echf3RMKFZy2dqxZyUm+ZABc5fOm0aEBA0j0Hth7DEACNxIg4EfIgD6sbGBItiXgHuCWNEylu685XuUHPjuyWqOxsTjaEKijx4TWXgsPMsjnI4fOHbcJmpEJf50g7DGW6H4a3Jye97Ld0O6INSv92OY0SuZ1AyLMWYPD2RIgjTVGS5JLe5oNfkGPt4h+xm6YY/2V295WFcupEVouOMcdHP1yzvQnAh9DIb6bffcfF7zbcvON3vmFAVMQi+EXozGH0KLvEywvXb7YBX73YYFntMmEw5K8LwXZIX0tPFBO9CdBHyMcoh3UXplejG1y46dO5yjxOWA+8U5NZw3HY6/EomoRuzcRh6oeDE9HjCs2eTBWxcl9jmcubiRHTkByF7J7i7QtC4QNG0yNfRgvq4qx8f6+mRboZo4BpWqme2zkmvCL1/QBa+xqsp7XfSid8bHlXc/36uat7+ed1/")];\r\nthis.addPalette("gmdlDividers","GMDL / Dividers",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLGridListsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library grid list grid titles",358,642,"Grid titles","7VtRb5swEP41PKbCNgTymKRrN2mVpm3SHieWOISVxAjcNdmvn41tAhhSmpi2oaOqFB82XO67u+98EAvNN7vbNEjWd2SJYwt9sNA8JYSKT5vdHMexBe1oaaFrC0Kb/VvwpuUsyM/aSZDiLe2yAIoFf4L4AQuJEGR0H0vBMsjWmE+3LTTL1kHC5SlesOvPVlEcz0lM0nwqWuUHn0ZTco/VmS3ZsjUzeSucUrxrVTcXSV1vMdlgmu7ZlMdoSddiBnJ9sWyNo3Atl40dqXiQCUFYrD18e/ZBGqDZGEgzBmC6TJH9LJsEcRRu+VBoV7eRDX3/GrTZaEW2tDT5Jj/45CRYRNvwq/zGzkH0nSRMAOTab1JHW42jv3wIEBunOGOjH9KSoCsi8DREoCNkKY4DGv3Bleufg5JzostudiEPs6tws4yvKEl+/grSBngmHpp+OMuFUbPBqgv2MjqvXDEumdMZ69YEz7WmvP8XEjG1ipuPJrBy+5FXvQJZrTJMNTSKb9EJIPe8nNIcFzWU0HRy47y4TwM4Pg+GfTU2jJp9bCIuYrzSMeAG9x13bBdnlMFhV4O7TxocNHn9meaW+iiPVNa3e7C+p1mfkszitxqHtLBSCQtmLVpN0lz/OgG43ty5cevZfsTTObd4tAjiqeSbTbRcxp2TVAsg+8qCEjxuAzzPTvHN0TBy+wDE1wCZ4WCxPhGHOhG/Gg5QGcskELsqxr3iMjGRpjIcpAzLY4mqzBiSRMzmrl0bRD1mspGH+k9lwDYB0QZvH7qyucKsHziaiNwQHMipwAH6KKcAMAJHkIbR9qsosXildZcLLLGXOAhmhFKy4bkNVuRq55GLa/jNrvlfG9hMnSV5lLrp9ZqQfFTgGCzhgDdpQF4JzyQt0EtyBPp+/NPd7U8HIPvqdxKaw/1zXufVsFcYw2aPgG0IP64jir8xYuR3f2T31vmz6Ay0sqXaNssKtLx5LdU/XA37MCx0K8kENdcpgKeZ/GBywidSDiR0T99DgJZWRSt1N/qjcqM3WUMBvSMSaT6o3I4tjZKsIb0v8uNYx0N1LYDuOJP8qDlEZ+oGLVmi8168Ty6vkcfI7wPBDt0SHcAupA2m17B7DfV0tnYa6lrnzOBQ+vhVlka9xMqpbY9Kuk7ih6yP/bfwg9ZAKFz/WCg4DaFgqC3lVSOhlzLKSH+kvYyqkqYgoeYS6o1XUHWXuPCKSm/MyIoK9FJRHamddE9wWoqnLo8GhlhRjYdfUeltqQurqLz3XlEZaWB15ZFSVnnDlFHADT3fHwJrQL0FJlkDmmWNY4D/Z4ZD1pkMnhmg3ua7LGYQMfOOmUERwcsww4XuJoZHFXqPTFIF+r/BeGM08kT9Mgga0Rt+F0Yj574+dfE0YqSRONANhut6446sYZsJ055Y40W7kSZrhQqmZl+/a29GDwV1vRnZDfXnvBqpKNMsNq0U2fiipOOboUinlwSr9+BOiL1fweK+6UlNUTa14XLiExx4vPHGCurBP8Lp8u7YUw8zXxOhwQOEOrw5djSlvSY63tDgYcPDD4nE9PLvjP4B"),\r\nthis.addDataEntry("gmdl google media design library grid list grid style",358,642,"Grid Style","7VvRb+IgHP5rTHYPW1oorT6qO/dyu1xul9zjBRVts1oayjy9v/7Atmql3Wgtuk27LBGEFr6Pj6/8wA4cLlYPDMf+I52SsAO/duCQUcrTT4vVkIRhB1jBtAPvOwBY4r8DRhXf2ptvrRgzEnGdCiCtsMThC0lz0oyEr8MsY4oTn8jiVgcOEh/HMp+Ribj/YBaE4ZCGlG2KwtnmksU4o88k/yaikagzyB5FGCeryuZusrK2PhC6IJytRZG/wZT7aQmIumk1nwRzP6vmOlnDcZJmzLd1d70XHzIAysGAChi2aEsfWrUwwWEwj2Qybd0hRuAe9rpuFUYzGvG9wqPNJQvHeBJE859Zj51d1i8aiww7q/uUtdHK08E/mbShSDOSiNTvDElblxHQjBHgpHmMhJgHS1K4/zEsOQ2H7GI1lzK7my+m4R2n8Z8xZnXp0QIMlgNWrLDO1HmH0vQenI6romnXRTN7/g8aiGZtH37bA4XH33rFO9DZLCFcYWPbCy2CkELQCC8pCzhJagmpXCBFumDP8Xpe6eDeG/4Sj7ekleroVgpF8htMcNjPlLwIplPZ4K20QzLju5rfNql7DxhWFPKOGwProjBb5dxtQ5QxIzMiYJqIgaJH/9ZwtHBH5bi/IsUcq4IU3VakmN8mV2LXACteG6wkBLOJrxCyj/4+KxlRaeFcj9rSqKBIe+60y+bOdgi7dZF5xrrtMMa5mJdOKiJthpA5gnK1miSopxDUx4xGImtAokgAX8viVNfSIczaXCKfSgPisrvg8IXPUR1vW+29+htqxd+6tgHabettYebc4gmXkBvQXq++gQEV53w9c6TcwMF0aCMTuNuq3sZjIns99FmQcBIlJLpq7syas6FrgnyN6IR50dkVIYnPrDo1EiLGrdQcjSLK6i3jrnozoLeeEZPTCK2cQG8V8ZPPrDc1ZNIPBUTA+k7ChF797dx628bk2qVdI2pyAr01CIt8dL2pgZF+xH0ayX4/cbIUb5VXzZ1Zc9Ay4nEaEZYTaM67PM2VRE5O/E65i1deBba5twlTA4YiJYN7+actsMsLlQA1VFJLU7UUdNq9ZLedAe/YJhwlh/nIDWkSktjf3zt5Y+NzhOwB0sa9QQzDUnmovaevKQdgghY1hnHjIuuLyEIIiWdCR6FJQMhPYw9N9VOfx/LDGUfOazlzh1XaYU4NQzzScSCQ1eALqnwhyxk5o9f4Utloy+DPxZfuYZqSwxoNJi8fR3P6omsi9Zy8CkL9LWGv/fGf7zg61sFMZpnQQ9PDFZdj7J6RN1k1SnADAcwdxPW6PWMOYm5Gci/BQdRF/m/Knj+gf9Rny0ZlL27G/ENd1b83/6iA8HL8A2qsyI/1j+2M1q5/rAsV3pqTnG47c5Jj4uAQbLo8LyhljCfPCiVVR/H2eWl4Hi8dO5Xqse4O1nKlAio7RNnSeWavqB8Tx5mhxvo+50rUDOJEXcOfk6HPT5C60q8kqHRKOyc73mejRyR3P19Ki+//uuk/"),\r\nthis.addDataEntry("gmdl google media design library grid list grid style",358,642,"Grid Style","7Vtdb6M4FP01kWYfWoHNR3hs0sm87Eij3ZXmceQQJ6AajIynm+yvXxM+CjE0JrHbNClVpdixwZxzz73cizOB82T7jaEs+k5XmEzg1wmcM0p5+SnZzjEhE2DFqwl8nABgif8JWAx8a++/tTLEcMpVJoBywjMiv3HZU3bkfEeqjhXKI1wMtyZwlkcoK/oZDsX5Z+uYkDkllO2HwvX+KIZxRp9w/U1KUzFnVl0KM463g8vdd1Vr/YZpgjnbiSH/xiselSOgOy2nRTjeRNU0z6kWjvKyY9PMfbl78aECoB8MKIFhi7U8QGsUJojEm7Rolqs7xAg8wmDqDWG0pilvDV7sj2JwhsI43fxV3bHz0vUPzUSHXc39u1qjVbfj/4qmDUWb4Vy0flZI2qqMgNMYAU7ZxzBBPH7GnfOfw5Jzoskm200hs/tNsiL3nGa/loiNpUcJMNgPWHfCrlLnvVu2W3A6noymPRbN6vo/aCyW1Vz8LgCdy9/53TPQ9TrHXGKjuQslglyJoAV6pizmOB8lpH6BdOmCgeMHfq9xt8y/wOOYtEod3RVCKfiNQ0QeKiUn8WpVLLiRNsFr/jLzz33r0QeGFeX659nAritMrZx7OkSZMbzGAqZQGIoa/U3AUcLd7cf9FSnWWHWk6GmRYn2aWolTA6z4OljJMWJhJBHSRr/NSkVUObjWo7I0BihS9p12n+/UQ9id55pnbKqHMc6FX3pTESkz5JojqFarSYICiaAHxGgqumY4TQXwo0KcHLVUCLP2h+inRQDixe2Cwwc+R454zbRLjW+ulvg2tQ3QblvHhVlzi0JeQG5Ae8H4AAZknOt85ky5gQN3aLsmcLdlvS2XuLjrecTinOM0x+kozZ2jsFefMm9Yczb0TJCvUJ0wLzp7oCRxzaqTKyHCbgvN0TSlTH8a1zDyKbABgQVGoppCLeUUgc0eiz9lgQ0UTK5ZYHKN5C01ZdLgPT0G31TB9OKupU7BMcFZ1M5zjxSpFq49c5XlcEKZwpJ5GF1/VZQDMEGLXKj44rnWH6LLdV1xTehINAkIuY7wIKtDU8A4gcf+QvqZfq1m7nCKHubkgsV3uowFsgp8QZkv13IWzuK2+FJ98WHLtYcTnFeE0g39rRpERkbys8t3vn77r6tDjnXgySwDegAKdYLbDuzQNuGHgFwn+AIBrCOI50+DjxdBSmO68ghSC6TF3E/Knj5e/Hg3tlTjR8/+hguLH0MQ3lD8GJGRk7gnA2l7rO47OFulnHlOANnWvACr9vHtHGXa82pOk2eCvolksWcjw2cs7+IeGMFdS5KeoJgov7RuJ+knvrm+rN0Fb/EqtGd7gQilYVUidiy8RUlG8H1IE5VofmHPXreQvfdsN/iBWU5TRFQYu7Dnr0vP33v2DnzGk46VO64JK4dyTi5M7te1OKrxmwI+nqOCcnr/QZPE92JLeQ+8nI5rd1KNWvQ6qV1nwjEEnakee3dMPFpBLan6EoVPYx6BBxJHZeOGRxPD7suk3gy+75lY0+Z3v3N1I3vf4Yj8XcyMs7w3hX83hq6fIIWk/lWX9p7s+NdGj2i+/NatHN7+Kdz/"),\r\nthis.addDataEntry("gmdl google media design library grid list two line grid list",358,642,"Two-line grid list","7VvRcto4FP0aP8LYMtjmEUjTzm7SySSd6ey+7KhYYE1ki8oiQL++kiUDjgxriA2YqTtt0LVkyffcc3S5VSx3HK8+MziPHmmIiOV+stwxo5SrT/FqjAixgI1Dy72zALDFXwvc77nrZHftOWQo4VUGADXgDZIFUhZlSPmaaEMI0wjJ7rbljtIIzqWdoYl4/miKCRlTQlnW1bWzS3bjjL6i/E5CEzFmpKdCjKPV3uVmJr3Wz4jGiLO16LLEIY9UD7cfqGERwrNID/N6euEwVYbZZuz27cUH7YByZ7iGMxyxlqFrH+UTSPAskU21uuN8NKUJ3+k8zS7ZeQ4nOJk96zfubU3f6FwYHD32Ra/Rztv4l2w6rmgzlIrWd+1Jpyoi4DREQE/ZGCKQ4zdUeP5HUOqdGLLxaiZp1p3FIelyOv/vB2QfClW33DHFAWvNwm5ftXfc1vNMrznHek3P/0SxWNZm8s4AFKbv+MUn0Ok0Rdzw+uYtKgHRN4AYMbpM0VFsKWdBkTIgu0ojeCfGgW3y5z673pOlI9kgwcUTSIaarjEOQ7ngDX8JmvLtyIesdeeDhmnT9z8WAOsi+2oF3KuDeblbC7gXpC67k4Nc2d/9cn8f4J9Txj+vFv7l3MjpFzSAhl8HGjFkM5w8Ky5KSj5mBu34rUERp2jTlOgAk7GjO/lnH73FSkK61MsyOa0sX3JUatyoHH9QAnng1kK5wGkA5MAAWSIB7Aec8rQ+vBW8vYItzzUkvMsIc/QilFA+cCkedyBVeS+sXD77varu5ib9rcrKprdtjijnNM7fpyDh3oHMisqeXMIC+vti8MRkyD8txnynoWRoYMTHMOERTeSi7hlCMUwsIJ5i/4sSI1zEi/IjwS3uhhlWezfSXYydZl3umy7XX3w+ymrXa4DVjn1p7c7Jfe3ivTqwfbdOzB3HZCvhiCVqpY2quWbsucU8uGYxVzS8IjV3zHLMF9EjooskTJWO3yOCV+LndwminC4Jxb/dbrcBdQ/OoO6VMGibvJuFpAblvSVp+OaLGAgqa/mxPDunlptlqDuYTGpX8fJt+zpz8uBCMr6nEPd/8eUNmpJxszL2iBmMhOlx8hVhoqT8CS7kqK94Rduam1dyfdvUu5YyV1X1bmsifmtyblbTPhEBEqMJnjSr6ZKv15uaX0rTvWvT9JJKnAyO1UqJ+VC8PZQDntEbfpOf2pmOV/F72wTdLJI1KOhtS8f7nn8D+g3MitqTLJT/ScbPLdyDKxNuYBbdXha6KD6Csnjyl3j5BuT6LPl3FW+3TK5zdf6Tf1fKv29Ev82S2bMlo9SD8TxznT1qVs2vukB+ITHfF4yXE3Oz6jZilL6SdSJz8KzvC4dMF8v/FqPlettbHq+EQNsE3iyPPciVp1b+3xljGCMGFf9JTiDRnGxA8X4u5BFZ4UR3kF27ph2Yc6N8QGepHTQUXRLKYvktbTvKm8mf/ywSmM8qXkRNrG6doD9zAteImSHlZde7MHHztp7BMYWkJMWIeEwKW05dBzw3O47jgcKe4xj7jRAjMwT79YRgZ9DE4amTz7IdcWxxo9D14rIfhbLzhL2gHhR6jaBQyxm2H3DyakCyq9uHT2AffdIQ7KmRbAgDjBzNzNB6JQlaTWd//cLsjRz9LTmXZgCXYyVG4nmKrgqh2weoQs3roKRdEh3/1uARze2v9Kjuu7/x8xs="),\r\nthis.addDataEntry("gmdl google media design library grid list two line grid list",358,642,"Two-line grid list","7Zttc6I6FMc/jS/bIQmCvlS0u/fOdm+n7cy+3EGNklkgTshtdT/9hoegkGARsGuZ4nRajgkP55f/OeGQDpAT7L4wd+vd0xX2B2g+QA6jlKd/BTsH+/4AGmQ1QLMBhIb4GcC7im9B8q2xdRkOeZ0OMO3w4vr/49SSGiK+9zPDyo08HDc3Bmgaee42tjO8FMefronvO9SnLGmK1skWN+OM/sLym5CGos80OxVmHO8qLzcxZdf6BdMAc7YXTV7JintpCzQcpd08TDZe1s0yswt3o9Swyfse7l78kTlA7wykOAOIa5kg4yyfuD7ZhPFuenVlH4Gxbc1glY/WNORah27dJQk3j9kdmwfTM90KA8j6PmXXaMh98jveBUjsMxyJvR+ZJ0FdIrAZEWimNoZ9l5MXXDh+G0pmwyEb7DaxzG43wcq/5XT7c+GyVkMV6R1T7LDPVHg7TPeP3GZaqtfAuV7Lzv9Aibis/OQ3Y1g4/Y1dPAJdryPMFa/nd1ELxLBd7NCP/6JYIBhbd+8/dgEw2mHYFzXQqdstxe1P2GVLT9geMN0K18cx33KDbeIl48F3lzhqoJHAZRsSPqa0Ymj3iUE0s2riy8NXKaxNk48mRJXC3NBojn7YMJGcS75u2LK7CFtRSrrsfeFSK9lKCDIqaWPpQVjXg5begyciGtBpadRJRIOlgDa+gLJGXSB6oWSJaxM6tneLqXYaAkCTvFvGP5mGbKNITcbVTrGNu1EW5yLyRDUjWw7tXRDpJgrdyOoGFc9+EV1J6scp62E+F7+N2T+Tbwot4crjifRS+BEzNYvcJZtm4hvTIEvXn2QHCMhq5eNSujE7Ty37QoeCwsYqQLMlQAlMHqdbYkAh9jh35t+fn/oCayfVhsRWkEAv+KnP9c5/358nTg8Bijhs9w+gWou4pwsST+5L+E5XZKaz+FOV1ETfFX3NOMoB4OM112BdUM5pcJijy2Sa7n1LOs2AdTBNsw6z0YnBpI6J1PJVgurwUQ/YuukpsjoZBgANLzEM1GKH4CEMDg1DyqLiox4a2wjl/lIl/uoRjp8Endj8KuY+bxecjrnWFrrHA79A82zNg4raSrXCdWzbzmJzhV/iMR6o5ZNPhTdReJ4INI82tibuX7ni1fLOZLHA8Y06HiMRx2GEw6vXfT2Vnz2R1vG8bpWrZZ9PlTdRef50LHRn1gv/Vy50tdp07ya3+i/1woj2ReN2/zO5WoD61HgXmfwtzX+45A7VQtiUEc5dYftKfd4TyY97n9ahWh+7nNjfL7ea0Br1IbdKGv3AUxkWK3B9vLCoFrs+MK4cj2UasJ6a7G5i3YXo1Fhw83HoVIqpgpZGTNdNq8aqHElL9CTbCFeBqVqLcwH3q3OCoead57BlEJPvPOWL/vyttJzBd0tCreQoJGoswqEMV68WrFhuU4/Q6RcrsPjqHmgyjQaRvMc2K2UaL5U5Y2GZkWzNC9SnY786nLVrja76DVQ3q2EW7vKXgqSwMqyCS8PFMLCi3JDHHViO+5qqsami6mpdZvFN5UWWZdZZD/NWBvibhHoPCKlVgEpA2pD2N+nYfcMjdg//bpE2P/5vjD8=")];\r\nthis.addPalette("gmdlGrid Lists","GMDL / Grid Lists",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLIconsPalette=function(a){var b=[this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.edit;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Edit",null,null,this.getTagsForStencil("mxgraph.gmdl","edit","gmdl google media design library icon ").join(" ")),\r\nthis.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.star;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Star",null,null,this.getTagsForStencil("mxgraph.gmdl","star","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.heart;strokeColor=none;fillColor=#737373;shadow=0;",20,18,"",\r\n"Heart",null,null,this.getTagsForStencil("mxgraph.gmdl","heart","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.reply;strokeColor=none;fillColor=#737373;shadow=0;",20,18,"","Reply",null,null,this.getTagsForStencil("mxgraph.gmdl","reply","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.users;strokeColor=none;fillColor=#737373;shadow=0;",\r\n24,16,"","Users",null,null,this.getTagsForStencil("mxgraph.gmdl","users","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.gps;strokeColor=#737373;fillColor=#737373;shadow=0;strokeWidth=2;",20,20,"","GPS",null,null,this.getTagsForStencil("mxgraph.gmdl","gps","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.share2;strokeColor=none;fillColor=#737373;shadow=0;",\r\n20,20,"","Share",null,null,this.getTagsForStencil("mxgraph.gmdl","share","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.navigate;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Navigate",null,null,this.getTagsForStencil("mxgraph.gmdl","navigate","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.chat;strokeColor=none;fillColor=#737373;shadow=0;",\r\n20,20,"","Chat",null,null,this.getTagsForStencil("mxgraph.gmdl","chat","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.voice;strokeColor=#737373;fillColor=#737373;shadow=0;strokeWidth=2;",12,20,"","Voice",null,null,this.getTagsForStencil("mxgraph.gmdl","voice","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.google;strokeColor=none;fillColor=#737373;shadow=0;",\r\n16,24,"","Google",null,null,this.getTagsForStencil("mxgraph.gmdl","google","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.video;strokeColor=none;fillColor=#737373;shadow=0;",24,16,"","Video",null,null,this.getTagsForStencil("mxgraph.gmdl","video","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.gallery;strokeColor=none;fillColor=#737373;shadow=0;",\r\n24,22,"","Gallery",null,null,this.getTagsForStencil("mxgraph.gmdl","gallery","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.birthday;strokeColor=none;fillColor=#737373;shadow=0;",24,22,"","Birthday",null,null,this.getTagsForStencil("mxgraph.gmdl","birthday","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.cloud;strokeColor=none;fillColor=#737373;shadow=0;",\r\n24,16,"","Cloud",null,null,this.getTagsForStencil("mxgraph.gmdl","cloud","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.x;strokeColor=#737373;fillColor=#737373;shadow=0;strokeWidth=2;",16,16,"","X",null,null,this.getTagsForStencil("mxgraph.gmdl","x","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.bookmark;strokeColor=none;fillColor=#737373;shadow=0;",\r\n12,20,"","Bookmark",null,null,this.getTagsForStencil("mxgraph.gmdl","bookmark","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.calendar;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Calendar",null,null,this.getTagsForStencil("mxgraph.gmdl","calendar","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.attractions;strokeColor=#ffffff;fillColor=#737373;shadow=0;strokeWidth=1;",\r\n22,18,"","Attraction",null,null,this.getTagsForStencil("mxgraph.gmdl","attraction","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.dining;strokeColor=none;fillColor=#737373;shadow=0;",18,20,"","Dining",null,null,this.getTagsForStencil("mxgraph.gmdl","dining","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.education;strokeColor=none;fillColor=#737373;shadow=0;",\r\n20,20,"","Education",null,null,this.getTagsForStencil("mxgraph.gmdl","education","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.family;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Family",null,null,this.getTagsForStencil("mxgraph.gmdl","family","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.health;strokeColor=none;fillColor=#737373;shadow=0;",\r\n20,18,"","Health",null,null,this.getTagsForStencil("mxgraph.gmdl","health","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.office;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Office",null,null,this.getTagsForStencil("mxgraph.gmdl","office","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.promotions;strokeColor=none;fillColor=#737373;shadow=0;",\r\n20,20,"","Promotion",null,null,this.getTagsForStencil("mxgraph.gmdl","promotion","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.radio;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Radio",null,null,this.getTagsForStencil("mxgraph.gmdl","radio","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.recipes;strokeColor=none;fillColor=#737373;shadow=0;",\r\n20,20,"","Recipe",null,null,this.getTagsForStencil("mxgraph.gmdl","recipe","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sports;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Sports",null,null,this.getTagsForStencil("mxgraph.gmdl","sports","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.travel;strokeColor=none;fillColor=#737373;shadow=0;direction=south;",\r\n20,20,"","Travel",null,null,this.getTagsForStencil("mxgraph.gmdl","travel","gmdl google media design library icon ").join(" "))];this.addPalette("gmdlIcons","GMDL / Icons",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLListsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library list scannable list",358,642,"Scannable list","7Vtdk+IoFP01PraVgJ+Po07Py07V1HRX7eMWGkxYk5ABHNv99XshSWsktjEm3Y52umwFgdzcw4XDETp4Gr18EyQJvnOPhh38tYOngnOVfopepjQMO8hhXgfPOgg58OqgxyPfuuZbJyGCxqpKBZRW+E3CNU1z0gyptmGW4REZUF3c6eCJDEii8wVdQPuTJQvDKQ+5MEXx0ly6mBJ8RfNvYh5DnUl2KyoUfTlqrsnKbP1GeUSV2EKRDfNUkJbA/VFaLaDMD7Jqg15mOJFphv9ad/f08CFzQLkzsOUMF2z5gp2zfEJC5sc6mVp36CPHGY4Hk2M+WvJY7RV+NJcunJAFi/2f2RP3dlnPPIEMN6v7lNno5Gn2n066GNKCSkj9nXnSrYoIqocI6qV5goZEsd+00P4lKPVqdtnoxddh1vUjL+wqnvwzJ8KGB83weDS4qAvjcocVK2yz6Oz20/SeO3sD25vuud7M7v+DMzDr9eYPY1S4/cOw2AJfLiVVFhqvT1EJoL4F0CMFNLTxxKPirGAqD5LDiBoPRqPSDr4XAsg5HV5pLD3oYNEYswUJv2TRHDHP0wa/hndIl2pX8y+Tmg1Ry1HVH17WD7bF4GwU90ETgZkIuqTgpgWVleHvITyp6vd+ud/fCMfcV4VwHDQSjnkzeTSOWkBl2AQqAAoEV2Ahsu/+Y7CkNfKorBwgR4CqPIq6ZaNoM7A9DPrt4zZqAjcwQ8Ho9K6hVBmhfnsA5THbJkDj0wDVYsvwDTVXCqrHNxnC78vfXAc3MtWM3BZ87zqW82dkm1KMJKHw9F4XUs8Bhf+KRgmVykDDTDOC+IaQbBi4ADnr2GMRi5mJpkMMwbUau03AFH2CyV5nbyDCbDbhmKuEOyhNKw6Jwz477++IhE4OdskJV4pHeYgXWIpem9TtE+OTfQL1Sqa9gXNml6jK6V3XwnPKRWxAmlO61OYLLhdsDe6AhC84gNbtds+Bq0jV9r2cL6v28zrli6hjmJ/Gq//ucKFz4SqP4F4bo6drKw86qB2Iw3fFFNmYjs1125gOURuY2gJKDc4SEeGz+Gc6ZeqZ87vJyMHa5WSgpwPhwdw6mem/i5bxRwB6OQBnn3Lmnbp0Hr1ofKwgenySDagwamNh69qKBjALobnFJn2T0Jx+gxlewjvXExaBF5CASH/UJsacnzW0/bnsIu2t10QvbGniOTDrImCHmk/Q+F++vQ8uURecqyYTtsjhavNtrfEmqcQHQ9oOl2hE/7gWLnEMoY8hE5/KRaV+jUZt/DqCbOnicR3riUjwRM/rejqSC3C/vBO2cG1iBLLFiFRIis3NwTKiicOCR/AY5tahtvfXmlGlVaenlAwaEqhMRUlYKHdskfiExXciXdRFt6G5Kf/tvtkQLtEu7olu3KB0UbL340+mG9ekXVTZsPFJN6DxcStjla1d/OBiBTkh11IrzE1rSXwzSwUkXgEiCBp1VoyGcyK1iDEnC61c5EK8YPM7YSbo2nSMki0WM7GOJPhRI6rWYkW3Bkm+Ds1WG0f+WsMT3c0vJXUhu2Z1o2QLB7ojuvHBkLZDN25K3TiG0MfQjZtXN9xmhqrxgbMb6djYVjemARXmyeYhl5JHeiFsmAekYbS4DyZxbRoHtjWOp0Rof0AZaaxIpYrYM7qF/mgaWMV8cz9s4gbFC2yLF/ie2MQNihf4psSLq9p4geueNjnr/EI2ljVLJLaFCqdoRb5yubB/P7SyAsK2iFGjg88JrJJLWN0r3zuGS80d7PhtWux0UXEbeeku9rLDBw2dBRoW7t7KUSBc4UxIjhXUZImkV4XQ7QNU4XjIm0PaR6IzvDV4ILk7+psW3z8Z/D8="),\r\nthis.addDataEntry("gmdl google media design library list item list",358,642,"Item list","7Vtdb9owFP01PLZK7ISER0q7TdM6VWulPU4uXEhUYyPH7WC/fs4XJHVoDdgdGqSqhI3tOOfkXDsnlx4ezZefBVkkt3wCtIdvengkOJflp/lyBJT2kJdOevi6h5Cn/nvo05Zv/eJbb0EEMGnSAZUdXgh9hrKmrMjkilYVE5IlkDf3evgqS8girxcwVuNfTVNKR5xyUTTF0+LIm0nBn6D+hnGm+lxVpwIhYbl1ukVVNdfPwOcgxUo1+Z1OZFK2wGFcdksgnSVVt35QTZxkZcVs3Xdz9epDBUA3GFgDw1dzGWJvJ0wITWcsL5aze40RusaDuL8NoylnstH4U3HkjRdknLLZj+qKg03VA1+oCr/qe1/N0avL6Z+86GNVFpCp0s8KSd+UEbQfIygo6wRQItMXaI1/CEvBnrfsfDnLZXY5m0/opeSLX49E7EqPEWC4G7B2h1WlzsuwLDfgDPo6mv6uaFbnv+Opmtb65BcD1Dr9RdQegU+nGUiNjfVVGBEUHhZTunXRZgkPgmgQffg9HUaHsbBqS8Mq6n0bslgImIKCaQyZIRPrkG+Ee9iN+xtiqLFqiaFvRQz1MLUWYgesRDZYyYCIcaIR0kS/yUpFVNm4lgY6kCLj6OV3RS87hF30Q/eMxXYYk1KtzR8qImOGQncE1Wp1SdBAI+grYfmo3h2Ip5Rlh682+qrS3EsF+j7NKw5Vn1OXjgkdVpvAeTqZ5NNY7wopTOVm8/atKF1Hxurcd+EKrSxcse+AT9+zojhZ7OZM1Hattg/9G1PEB7svWVgnoB7Z8pLlOyHEt0HIcwamhMRe/ncgIcbhD3csUNhS/Au9V/y4CIC+/tB+SwoMvvKEZZydA6CrAOjXN4pdQnXj4ZgE52/B/IQUp3sOdyAV3MgbEUGzs+Zcam7gZJHb16X4IM0FJ6853dB4EPDCc9F9ISyDs+ScSW5tQdpl1IoZ4k5y/ZOXnIH3UXNC04bJ1MAcikOzn3zrXu2yJgJ59QNL8xks7iAjtiIO7DkRh25rDInI9xXeFTAGUp7Dnatwh2vwrTKKdF9jqHGoQJFtHlAHD2vHYisPr9/91byMFcRFvDQLgXuYHR3+/M6v/gzNDuSCpeM2O7YxcjqLUs1HU0aPj5CDMEpEmkk47wWdBsfIxdvKjlyLY5LdO5uOU5Cdbnmo+zsXHWeMi/NLFmeCC5CT3chx+x3o5P2OjgSOIVWIIe870LPB6FJwsZMV7rjdDnTybkdHpseQyYSzHIZ7CS9wTiVwJ7oQO1nldBflqEQXn7ro8L7JHjskh64VZNdwXLU6vCeTwI7ZeBE4YcGK6fFIxk9dFnBnUmKTlz0zE8t75y0nuJ0e2Jmd2JVOaim3Omrrx0VqNdbNEI24mivVM11kcFQM/f8EGfgab4a0f8lO9L/Ro4qbn1KVzZu/tPoL"),\r\nthis.addDataEntry("gmdl google media design library list item list",358,642,"Item list","7Vttb9sqGP01+dgKg9/yMU33ommbqnXS/XhFkyexVcdYNu2S++svfiG1i92RBLposatKAYONz/F5wAeYkPlm+ymnWfSNLSGZkA8TMs8Z4/WvzXYOSTLBKF5OyO0EYyT+J/jjwFmnOosymkPKdSrgusIzTZ6gzqkzCr5LmowlLSIoi6MJuSkimpX5OSzE9W9WcZLMWcLyqihZVUdZjOfsEeSZlKWizk1zK8g5bAebW2U1bf0EbAM834kiv+Ilj+oSxAvrahHE66ip5rtNw2lRZ6z3dV+eXvxoAOgHgyhgOKItM4IOwoQm8Totk3XrXmOEb8k09IcwWrGUtwp/rI6ycEYXcbr+0Tyx+5L1k2Uiw2nq3jdtRDId/1cmHSLSORQi9U+DpKPLCD6OEezWeTkklMfP0Ln+KSy5R76ym+26lNn1erNMrjnL/n2g+aH0aAFG+gHrVtg16rz26nQLTtdX0XQORbO5/x2LRbP2N7+a4s7tr4LuFdhqVQBX2Ng/hRZB3mkxpV8XXZbI1A2mwbu/015wGgu7rjSMou6bkEWWwwoETAsoNJnYh3wt3L1+3N8Qg8SqIwbfiBjkZaQWQgusBCZYKYDmi0ghpI1+m5WGqLqwlAY+kSLt6OX0RS8zhF35nn3GQjOMcS765ncVkTZDnj2CpFptEjRVCPpC0/Kq6A7yxzgtTu9t1F6lPZZy1XEaqg6RX1IXL2gyawaBm3i5LJuxHxUmsOIvg7evVeo20FbnsR2XZ6TjCh0LfDrIiOJ4NZrTUdutGD74H3QRnx7eZRGVAHllw12WY4UQxwQhTwXoEhKi8u9EQrTDH+npoIih+OehV/zYCICO+tH+jVYYfGFRWrB0DIC2AqAjXxSzhKrGwzkJzhnA/IIUp3oOd8AF3BjNaZ4Uo+Zsam5qpZM71qV4J825F6851dD4mcMzK0X3maYFjJKzJrm9BWmWUSNmiD3J+RcvOQ3vQ3KSxC2TqYU5VIdiPznGvdqtJAIj+cHS/gYLe8gIjYiDICviUG2NGc3LcQW6gTQFzsdwZyvcEQm+UUax6mvMFA4FKLzLA+7hYe9YDPLweu5P8rIQEFfxUi8EHmF29PjzB0/9aZod2AZL5212DDFyOZ2S5KMto4cHKEGYR3lccBjHglaDY2BjtrJnrcU5ye43g45LkJ1qeYj3uxQdS1OWj5Ms1gTnYiujkfP2O/DF+x09CzhmiUAMo++QjAajTcGFVnq483Y78MW7HT0rPWYpj1hawnDP4RnGpQT2ROcRK72c6qKclejCSxcd0Vjs8aas2hbj4OrziC7Zr4kxj1G1Fx2/b8UzOtFglEw4QdihQoJmlgnV+PgBKxGuIoWQxqQaDEhNBJKS6sQjx38V8rzjneAahzdDVi8xHj6QF+0NA6o38RmSbFJafz7dZNWDoRXA8oEuHkdcB7oCbOP1Vg2Ge7koc+ShlwcH2RgHE9VIuC/xxYg9qXMaIxV1Bc/GHBN5h50Z++Gr2dm+XafC78aorpmZvivXyhDIyE6NqkPR3RHQ5uXIbQHk7VXn6Bp31+b3bg3o28thaGNT0Lm7lX1NROOLXnIlasZZAWfF0N9P0AHrF4Y+Lv4YO8HfRo9Ivuxjrou3tzn/Dw=="),\r\nthis.addDataEntry("gmdl google media design library list item list",152,631,"Item list","7Zldb9sgFIZ/jS8nGWMn8WXjrt2kbZrWi13T+NhGwyYCmo/9+mGb5qPgKlvKLiocRYIDB/D7oBwOiXDR7u4FWTdfeQkswh8jXAjO1VhqdwUwFiUxLSN8GyVJrL9RcjfRiobWeE0EdOoSh2R02BD2BKNlNEi1Z8YgG7LuiwJWesilVIL/goIzLoZ2DMOjWyrK2Im9Gp7eoyEl32oj0hUzHwgFu8k1Dyaz4HvgLSix1122tFSN6ZGZhTZA68a4zbAZi8jRUB98jxLoglHBrQi2FPnBH7nili76BXo9+lehK8JuGK073dLSsuy7LOWarGhXa1N8rH2Bql8smvV68U490N/9cCjTdQFS136al7xYrOTfxMqy0SaAEUU3cDb+NQKml28pRjt4dUv9X0lQ/JeSmCm+c6pnTuK9UTY+9+BVJUFZEh4WdpGqmaXqjaCEvbddmS7eBkHmAcHMQlAQRh8FDRCcEFCMPVCYOyi0GgIJFNwUMuSBwsKmwFu66gGQTgYUbhR57gFF7kDRSc5IwODGkKRzDxieDw9nHISkm/DDNIEh9xGkEXJgeBIUhDZ+g22A4YSBUx+xGtnp5a3gujWJH0KYmGSR+4jYyE5sDyxA0CrAcMJIsY+YjewkWQ8g6nCKncKw8BKz7az6E7AN9EoP4UJbAw9ngo29BG87xf7cagVVoOCmsPASte0U29L/1Uvhjg/Xei/ug5fD50phzx1OZE4dIl95nWfm+vB8pDSiz99g5+vq8Y5/7H76F8Af"),\r\nthis.addDataEntry("gmdl google media design library list list style",358,642,"List Style","7Vtbj5s4GP01ecwI21ySx4RMKlWtVG232scVA06CSmIEnjbZX782lwSwIQRsRh0N0UixYxv4js/5LjAz5B7PnxIvPnwlAY5m6HmG3IQQmn87nl0cRTNohMEMbWYQGuxvBrctv4LsVyP2EnyifSbAfMIvL3rFeU/ekdJLVHQEXnrAfLgxQ+v04MW8P8E+W3+9C6PIJRFJsqFolx18GE3IT1z+ciInNmddnAonFJ9bLzfrKq71EyZHTJMLG/I7DOghH4GsRT7tgMP9oZhmm8WFe2nesb/Ovd09+1IYQG4MJBgDsGtZIeMhm3hRuD/xZn51TRsZSwetnttstCMnWhm8zQ4+OPb88LT/q7hj89b1N4lZByjmfi+u0Sjb4X+8CRBrJzhlrX8KS4K+iMBhiEAz70tw5NHwF66tPwYlc+CWPZ73nGZP+2MQPVES//viJY/C08tgSG6w+oRLwc4nK29XzGnaojXBo9Yszv+NhOyyriefL2Ht9HOnvgLZ7VJMBTSud9ELIGucpsh50URpsXFXk+9pAO1xMFzq3FBqdlsFL+IE7zCzk4/TvlAsTMs2+hreumv40jY1u480+7m+TImCoQEFR0DhK7/BbRgxizbxYJaidaHm137PCeSKP+eSzq0d+l60KnzOMQwCvriEF6VbivCO3tb6krU2DlQHoBpvICeOrQOyhQripNhL/IPAmSpBqsQpuJQPLmEaC0J9QgUSIPMoajg1d5B+Ui1VIMTdy6Si1g6HzLUoggOZ+uEAhoDHlkQBTkSFG+3os4P1E65XlN8VNProW1MZKRfNuoLakhi5Ib12djRiayA9/1BBHRiKWJYSQQWWlg0C7hO23AxsZhinuOd+AKsN7K+T921rGqJpy76x0caixkSAtFh6aAJfj/qiV1EZqzI40E+Blmy+mHFNfjqSISALBxUlQ07t7FpyISDWFL4dCCVvqZRVzXNEzbsuJJfQ+3FkPUzVnZPZaoQQGpYO+MVixWfvxDpYRMMmG9AoR3RmBcAUYVpa/NOVAxQ4rAml5MhXEcCBOjMF0FIHuQcoGim/JaBa8OxR2xjm2K5wqrLtdJ5tqcPQSqoZuywqFY3tbt1nd1yRD3QH/X1cm7TSsVDj2sq4oPRtQEvwIRY7BoAUnnakgw9CUHIFrxm7j2LOm+TOjWSt9AVqQRLLG26CPYpbhasIOurI9ZCw69OfKjD2EM/V6YEyZzht3dccycrSJTlaWChWRzbEfz3ym1YdZF4h7o4qJaC3RpX9QNeeTyuCGJV0UwoxFAsuA4Q2IL6IqAkX1taU6eyt7Dww+VvKkehK9mSFMTUesVH7n+sIWqBY9vgeM60NGDL4g4zTk9G2daCspOSSVjaGmMtvlxtmFw2kbHu/4h2TUqzA5MXqDz5OzUdTS4Cr5oWQtlRxveEfLVRsyUS6Mkb4Z1PxgepJFFYekFas/pIdgtVBn8KnToooYoitowgteTXkRxwRL+C3XlSjDWZgNiIMsIba9Icy3sN9oSMzlLyMMkAZX/OtMqUy2o8ro75aGmg8JtKijGKR5keKWYfrHXHifRByakJaUEser+RFFj/fE1MScqGGkM4fQ0g0tOIy5Imt2kjlUpswEV/mpg6+oB7vkdzny4vn/5Sx4lavbsFlIFvyvdPxaAi++9ceUI8ayb3npG+J0PsHSKyKtAIklbS3RMd5b/Cw5u1fvvLh1f8I+x8="),\r\nthis.addDataEntry("gmdl google media design library list avatar text icon",358,642,"Avatar with text and icon","7Vxdj+I2FP01PDKK43zxODCwUtuVVtuq+1hlgyHRhBgF7xb662sn9gzBDngTm68haKSJsR3nnNx7j29sBnCy2n4q43X6Gc9RPoDTAZyUGJP6v9V2gvJ84DrZfABfBq7r0L+BO2v5FlTfOuu4RAXRaeDWDX7G+Q9Ul9QFG7LLecE83qSIVXcGcLxJ4zUrL1FC+x8vsjyf4ByXVVW4qA5WjZT4FYlvClzQNmN+KVQStG0dblXEx/oJ4RUi5Y5W+Tebk7SuAf2obpaibJnyZoHHBx5v6oLlW9v3u6f/cADUYEAJDEDH8gydX8IkzrNlwU7r0R1i5LhR9ALaMFrgguxVnlUHq7yOk6xYfuV37L0X/YXXtADwtn/yMTriPPuPnQJIz0u0oWffOJJAlxG3GyOuV5eVKI9J9hM1+u/DktfxkV1tl8zMnparef5E8Pqf73GpoGcUwudpr0cYqgFrNthx63zy6/M9OL1ARhP8Kpr8+l9wRof1dvHhyG1cfhg2e8CLxQYRiY23u9AiyO/nU9R2ccASfB7NvLM/08AN+tGwa9qGUdgDE3axLtECUZwStNGlIvL8wNEF3j8JvMCmgXtP2LfNbgQLjgUWQomFz+wGZ1lOET3kgyJFmo6ajf1UEKg9/pC5dIZ2lsT5M485q2w+Z50r7EKEpRwtyHtff1RnL6FrjkAz0UBtOIENyiIThrNBcZmkks3sG8i+4XBbqisLmvqS0GywRwlQRRQzNjUMoX2jGplgiIWXszq1djpUocUQHdCzTwdwJD5mOJ+jUvZwvQI9Lzrpyw69IGEOsuktA4UePnCzQXUc6GigvH5X59lRdvi+EecJfCsPAzhtnIJ42jJbb5CmEYKIxz1D2HqODK0o66ssoobVAWgF6a6T9abCy3/IXpC5vHEYhEH3mARaZu68xdtE58jEB6ikn6GJT9i4upV5D5DzB19STPC5vOK+fwtl/+ZUR6u7PK0Pm/LT9lwrMOP0XMe3QbWchPgtLmgBVSq0seM6osZRtQ88maaRzz7HtD3nYYwJwSvWi0SOa3MGAFryG6cIhT1drSDUCp8aOYtuQWzsso9BbM8XxUY2gDaSpVhUatNO/vm4mNcJY8oMRmQmjAkNIOIYsCI05CRGB5KyYoGP2IMkQCazyXQyVej0XpZzkTnxwSRMxAKzJMlpi68oydaKNNNDbpxPboRWDFJOgNRyg1nq3euN6P70hitnUC6jN05je9t6w9XITlxUb9RPwsfWG4KTm9IbLZZzt3pDsTriGy5fH2LjcmIDQiuxqS23wV6U3bvYaFu8cdNi40qSGxrY3rjYuPbkxok3lR9DbNxgckNvSdk9iQ2NNRmClzwrZH9FIZ8G7NMzkvMGYla/Ey7JkQ0jUr3Vd9rh1V3vqFj9oF5N9HjXfj3v2j0rvgvKaYO/44SOEzN9lhFqCWXMn66HJr+IJvcCGxIOymkMrsmd+9fksCVFcsuaHGqkPLppcheMgpm2stDA9rY1OZTTFnrusSH35jjRFuT7HHRcSwOPqxGttTQqNWJIp48aVx9aoc3ILo/zqvQ2W7pblQ7lxMLvGUlSVFQ3sKo2tD20yMW0iG9lGSKUsxz8ZeRH0CId9z9ctRbRyIh00yKz0WQKXgxie+NaxMxOkxQhO3tv6wfhQ8sOIztNziw7rmk30Dlkh6exeKL3BlMhGMxuMN21caIMGl5PwxGWIvoxy4KRlRXf4+RVZRJv3qyNl44zK+/UcgtXw8fd9jYF8UsJfcL9JRm6f4I0UhZHXdol2QnvjR56+v5zLHX1/V9r+R8="),\r\nthis.addDataEntry("gmdl google media design library list three line list",358,642,"Three-line list","7Vttc6o4FP41zn7S4R36Ue3b3dmdvXvtzP24EyUKU0i8IVbdX795AQsSKiqptls6FQgJhPPkPE9yPPbscbp5IGAZ/YlDmPTsu549JhhTeZRuxjBJepYRhz37tmdZBvvvWfcNV01x1VgCAhFt08CSDV5AsoKyRBZkdJvkBSHIIsirGz17lEVgycsJnLH7j+Zxkoxxgomoas/FxqtRgp9hcQVhxNqM8kdBQuGmsbuiKO/rA8QppGTLqqzjkEayhu0GslkE40WUN/OcvOMgkwWLXdvXt2cHuQHUxrBrxjBZX4a2cZxNMKKT+F9eYtrsHCTxAvHLsrf7NjOMG3/oN9mM36xU+V5svPISzGK0+JFbwHktesJL/uSiI3mfeT8JzFi3fuaWNNsiYp2GiOXIMgITQOMXWLn/OSg5Jw7ZdLPgbjZYpGEyoHj5zxSQs4aqrTZMtcE298KBK89LZnO8utXMY62WP/87jlm3dg/v31iVx/f96h3wfJ5BWrP67i1aAeHWgPiGpnhzlLOoB/2+h4yGt5ZyAJd8zTIOu4v0jX7ZKxM4p68V/hBnt76l2Tlc/zyYt1Uf6xRWrwv/WhI4h8xMM5ipAHUDz2lrYldt4jccqzBLxbG8ThyruE3hV4EGAPwuAMggILOo5mFl65dRyT1PVi48rLUXNEDUmglNFRN2A1jftvQjFtQQG5EVYua3DBrFGX9ZCJ8hYtXva1gyw+5PG7w6QXEE4hlIhnkx5VRW5TXXV3KkgtoUlfZHCRSbZho07TNBzkENTA2g3nThhqsMNk4y9lgxMPhfW4sHBy3uGHWDF2XdsqCnQ4ZMQ2F/LylchV2Z7Wzn/VrxBdNIsBvfykUlwIpCfoN+JpxtyCqYznJTbuEt+J55Grs2xghhkhWPZr2WT5d1WIU++//2m+j6FPL+I24YvCJsh7jpp5hEGIfsNGRWXLA9JASgMKuxw4Ad3mLZnJcC8ZqDwaANZ9gKkkjjMEygmgPWUUzhhJXz1ms2YuvTJ09srDyiaVJlk2LhYTqnLywOD2H1Uq8bzvANHYPWrA3aJxyCbROAVVwE7+dFufxWCD7Yg9x5A7L3Xeydyys6edysxzgmqzSF3EFHo797PEJymFduxFZnCaeRGbqX+b0hkq9m1A6aDylXPRYuI/dBN55rmTpWs2Y9+nNNem8etvn7CX5hq24BUAV23lPwKZfeYcJAsFhnjckMUyoPf4cIxXPOGG/NAn7GGZ/xfxM9XSWh2KdQ3mK6omKikLJPLI7xnE8A8Bqp5gGn6b1kC5Wy78u2107tW60mKnTUes3YYkDrlH9bi/zXQ2J/rfgsUnx+CYImQbANLXzUSSBMnyA0BF0+kSCoAmHvKQgTtkojgItCCNIDS8DSui0CL3wh+B0QQeoEMhVIGa0ze2OUiRCQ8SjryAbwRUxGpxCilgGiD0/+hwfvxyN/RRQwJjQSyz9jEc/plwTok4DgRgek1x0DNK8pCKhFAqxLBwGfCHzBRBA2yhg9v6kBOakDtBWvAAGnfzCV0/11BKiY8HMy4IYxHmEc8snhXDwgkhpQMMb/RAcuGwPUogNWPQb4A87iJSzQL/IdvpRAhxI4vqsD1HoQ8ZqUoEXa1EdXAlV47j2VYERiSvli4BEn9EAgiLt6FuUxICh5n0d4xO0fCKCQX5j8WgEeMeLhoTEmSEhHKFgiZXAkCSeLJzDDXEbO+BboIwnCyfl/1ywI9cDmQwwQ5bAuAA8QfomBJjFwPR3fKCky365KDJxPLwYtQnOFzVnLeJnBlpa+u7u/d0wJWYjXvfO/OlUmQeVnJURcRQqU21EKlB9UHt439dBcJ3lry2SVqVjHu/Vd82535egUNTlkGuHZZaVdKEttDyEdSWqKLLV2+ByVqiumW12nHzR6jToZIehEO/qOFhQ6CSlNwexZ5SW7H2A04XKq9zSs03feY7VwH1VWbkfp7n7VfXTkB9iqUNSRmnNJhD4/QPW4SyNASkq7JDr+Z4OHnb7+ik1WL//I7T8="),\r\nthis.addDataEntry("gmdl google media design library list single line item avatar",358,642,"Single-line item with avatar","7Vtdj5s4FP01PGaEMQHymGR2WlVtNWor7ePKCU5AdTACz9f++rX5CsSmhYk9zQ5hNFLs2GDuuef45nKx4Prw/CFDafSFhphY8C8LrjNKWfnp8LzGhFiOHYcWvLUcx+b/lnPX8y0ovrVTlOGEDZnglBMeEXnAZU/ZkbMXUnWEKI+wGG5bcJVHKBX9Gd7y8692MSFrSmhWDIW74hDDWEZ/4vqbhCZ8zqq6FM4Yfu5dbtFVrfUDpgfMshc+5CkOWVSOgPOgnBbheB9V0zy3WjjKy459M/d49/xDZQC1MaBkDMDXsoT2KJsgEu8T0SxXd2oj2/YX3qrPRjuasNbgu+IQg1O0jZP9t+qO3WPXD5ryDlDN/V6t0a7b8b+iCSBvZzjnrb8rS4KhiDivQ8Rxy74ME8TiR9w5/zkoua902cPzXtDsZn8IyQ2j6T8blJ3lqlBtmO6El4qFN/Oy3TKb68lWA2OtVl3/nsZ8Wc3FZwunc/mZ3z0D3e1yzCSrN3cxCIi5BMRX/MQ7thFioxijZsIpbRZeECi9uOXnDvg9h0rCzAQjBMDxFpFlRdlDHIZiwQ2HCd6x48zPRevWdwxTZ+6f5wQvXQZqBd3Twb40wzvMzbTF+WD43cC1h9p9rrb7L7hY26rDRU8LF+vT1FQMDKDi60AlxyjbRhIgbeu3UamAKgfXfBxMjR6IBosnUImnHsBm0DWPWCAh9g1vcbEMpX5yWzLFnn6idV5xSIoFvFP5C07iBfDm8YFraxG5ABgAZ/F7Oo3dwqqut7Vx3XemjYFrwsjAlqy83GywuK91lMU5w0mOk1fo2EOOewO7k20lsMUf7ydog8k9zWMW03bwXkcIn0++74sUeiMKBSHbXPaGesJi9NZWE00n+Xq2turHpmY/ATo2NyGqzkCvcG9X3nJ9JiLDdzIFccGZEWCzky26AC1M4DMghzAptVwYsbKcnFgSbgPH/opJTq86eeIDoMcJ3rNQasmMmBPKPkimo5RyxmTSStkkOvRaWU5RfEHFbX2iUXKVSpmX49Ml/3up1JIwGSOVm1D8nQvJdKRSzo9MWiphvXfotbKc6LjHjEsd/wmOMpJfxVJmZnDJYglMiKUjJ2ouSyx7IJmMWDoDMiSTEksfmrCynOf4keFHKtTyI7rmKhVe0FPMcRlaaSSwVNSQXJRW9kEyHa0ckCSpMSFx6wlny+S4ON5cHYGeJ2Zu/Qxfr13l3MY9V8eYPuRW+Ugzl+x8fabZgxA08bxtSOnGlKIE1zeiL3JmYZXFjCERJVAysDBqQjGCN70Y4Zrb6BBxDk2kgRVFHN9REmaCiMsQHeTtaOpMvOjMhhEmwgGZjdoR+Mw4zRVIg6CuL1W5BZ8e0icNZFRG6ECCZK6oi5trqourf1Y32SYzoGip90jJg1xbKkoZ1/6df0RrdN1i6TK98DQs+UOli0EXIROVi1DOgwzDZ1S1tzi0b2i9rFFH83q2t5lrBAUtiYYN2v5UsaR5kacPl9ey59fiZt84A+ijKtXW9NqE36WPibgEjkhAHPecy0Ho/QN0bpXGn0THf2/w8ObxbchyePtlyf8A"),\r\nthis.addDataEntry("gmdl google media design library list two line item list",358,642,"Two-line item list","7Vpbb5s6HP80PKbCQIA8NtnWHWnnqNqONu1pcsABqw7mYCdL9umPbUwImLSkhUbrgtQmvsGf38XXWO5ivbsrYJ7+TWNELPe95S4KSnn5bb1bIEIsx8ax5b6zHMcWf5bz4UQpUKV2DguU8T4NnLLBFpINKnPKDMb3RGfEkKVIVrctd85SmMv8AkXi/vMVJmRBCS1UVXelLlmNF/QBVSUZzUSbuX4UKjjanQxXZelY7xBdI17sRZWfOOZpWcOdhmWzFOEk1c18TwcOWZmRHNrWby++aAC6wXANMICI5da1z8IEEpxkMllG18bItoOZPz+F0Ypm/KjyB3XJyjmMcJZ81m/s1Vn/0lxkAN32i47RrtL4l0wCV6QLxETqm0YS9GXEeR4jjlfmFYhAjreocf+XsOQ9U7LrXSJtdpOsY3LDaf5jCYsXSdXtBqbZYK9deDMt00eweb6JGjgXNf38e4pFWIeHT2ZO4/GToHkHuloxxA3UD2/Ri4ipQcQXxLmQJDvLL90+aJtm5odhp4aPVO6Apx1U2mUi/SDpxREkt9qwaxzHMuCDgwla8brlJ5V6FzgjG2cavEwC+6b/BqXcH8J7eYFWSMAUIdabfi/07L64T7txf8SJFVYNJ/qDOLG6TWXEcARWAoOVO5ShAhKDHAEb7xgZWp7x1WUoH/htG4WtUQe8+ijj2YOYJQQj0BIatNwXVCgbyVdPKad96PE7BvYOWl4XdXcY1IE3BuwzA/ZFCrNEor6nm0J83FGaSBbmEo3zKfH6UdIy1UxdHcMOl1ZqDU+/L6XBGJQC25xqpPRnzSjjkG/Maccf5iejyTDgAwP8703UbSz/bTHDS+UkaSMbCaj2cjRXJIn/G4YUFAKJq8lexvN0FJ577AVU8zmC1TStOXcT+CN1vTquYCBcA38MXM1thY9iPKIb+eSMcrwSQuWYZr36r+t0TT59lPkaMHcW/mnSI+ThgnId4pOKmQZl/n8bWhVMmOLsVlQAXr6rC0VGdKCvzqx6r6MsP5Gft4Sowa4lljIE8VZlFGVdQ0NPr8eiFEUPSyrInqd8TbQMDG/XMlMllWSc1nJNr+AIXCJyTxmWwVr1bljVMX9qlZ9afD/akWulu47Rt4Ow5ZtgOGWDrn2bUVaL7jgdfcfGDd1k8cX0rbtDOYlYI8agnKtfxf3Wxe1V++3DitvcovqKYyRnpEyK/HK9+JHKtzoiQT25Sv0PkPpsOobUzX2/v7It5uiSMxVGq4mKQjtFmUIzQngrWJXRH0K8yv6Ny37qj3HsBMx91X6qOeu8SV6DL4/2jQZPLpbCQRZLE2+MMwdgbrM+w7tLGD10mfXwQ4JTvJgm7sVLqZ2TZ7b2TXWo+chhUbVMHOPYNmg8fZRTW8fcSzWIq7gSLXHOOnd6LsbQ2yfI3G89SVBnl3ZJdoK3Ro9I1r/GKqsf/1jrfw=="),\r\nthis.addDataEntry("gmdl google media design library list three line list icon",358,642,"Three-line list with icon","7Vpdb6M4FP01eUyEgUD6mKTTaqWZUTXd1T6uHLgBVIMZ4zTJ/vq1DYQPk5a00Gqyg9Qm/jbn3HN9bWdirePDPcNp+I36QCbWl4m1ZpTy/Ft8WAMhE9OI/Il1OzFNQ/xNzLszpUiVGilmkPA+Dcy8wTMmO8hz8oyMH0mR4eMsBFndmFirLMSpzGfgif5X24iQNSWUqarWVj2yGmf0CcqShCaizaoYChiHw9npqqxirvdAY+DsKKrsI5+HeQ1rvsibhRAFYdHMsYuJ4yzPCE5tq7cXXwoAusGwNDCQmMvSMi7CBJMoSGQyn10bI3eF7pbmOYy2NOG1ynfqkZVT7EVJ8KN4Y7vK+pOmIgMVbR+LORplOvpXJpEl0gwykfq7QBL1ZcR8GyOmnecxIJhHz9Do/z0s2W802fgQSJnNgtgnM07TfzaYvctUrW5gmg2OhQpn8zxdg812dNTQpagV4z/QSEzrNPj0xmwMP3WbPdDtNgOuoX56i15EzDUiHoFzYZLZRXrp1kFTNDdr010ZnTZcs3ITva6gXC5TqQdJb+RhsiwEG0e+Lyd8UjCBLa9aflWpW9ccWThz930mcGzqb1DKnSG0lzLYgoDJg6wn/ad1pRfu827cX1BiiVVDic4gSiy7KYW4GIEVdwhWMsDMCzVC6ujXWSmIyiuXeuwtjTMU9XadqMt1DkPY1LLHZ2yhMfZXBkzkeMJ7MUp0DyrQ5B1resvbOerRfBZy2g5w0YoX0IfHB7YxiJtboBHoudHoWQusQI0rRMCBCSD7UOR0hGUd1Hws8tYwyCN7DOiR0RVViAweQqEPjQeDwDPITjhVryWcUuTJOjhNM9UUy5SHE/F/I7vx6T4hFPvCJfZg0e7HYkuLN+rpiDO4VGArHpF63IcRh0eRLcfYC8+sx/2/sLW45hjWgjRrecBZtqesF7HXLE8TzccAXD8w+AE/dxED9fIl9MaWytUs3YmQAmeyTKV3WataW7BVg/7L34iqdM6o8tc0CHuMHQHSD0008sp4k0S1mLHGCajnw3FFw+Bqlf0Mi6t+zHEPCTBMLtHG/zo0tMbxgPqxx3fKo63wJTyiiYg3xD5E2oTEyCElMw3KnJ87WhZMM8XZUlRAdnqoClW0U9JXZZYerJblBPJTzULCG0snizd0JwfdpT7mkJW+toiIlDcOcCwL8jluWNlPES39UQuTykoCm/xd8pqaJb6+y/RC8J42VJjMKuQxKYxJ8wiVsWr7y45NKMEbIA80iyQBk+rktXTxX1vl5w56XlwSCr1YprZKoEVLfe5w+hhxo9s6mbAWo7gx/cToke4S/9NUstxxOs1FUclBGTxOjjyKYSa+3mKOZcchZkGXRGJ8zBuT429pXL807HH2LvqxnTJO7Pv5iwbAP281kVOJseKcKGNXswqpWlwyjwEkjVn+FsGVi2DujCIC/SS0n9VccHlkqGfwKPbYaPBqTLsYJKad2mMcRyP9wPMN2t1g76n3/UGdlzdeIuS2c/YWwZiVN5QvXSR03fwMdAfrNkYf5QrW1E9LNeJKrkTLKM06N+CfxtD1E6QfUJ4lqNOlfSY77rXRI5LVT6vy6vVfXv0H"),\r\nthis.addDataEntry("gmdl google media design library list three line list avatar icon",358,642,"Three-line list with avatar and icons","7Vxtc6o4GP01zv1UBwgo/aj25XZnd273tjP9uBMlClNI3BD7sr9+E14smqBYEytM6bSFmEB4Dic5OST2wCR5u6VwGf5FAhT3wHUPTCghLN9L3iYojnuOFQU9cNVzHIv/9pybmk/t7FNrCSnCrEkBJy/wAuMVylPyhJS9x0VCANMQiexWD4zTEC5FOkUzfv7xPIrjCYkJzbKCebaJbIySZ1R+ggnmZcbFpRBl6K22ullSUddbRBLE6DvP8hoFLMxzAM/Pi4UoWoRFsYFbVBymecJiXfbj7vlOEQB1MIAUDJvXZQSsw2JCMHuI/hMpNuDHMI4WWHyc13Y7ZhPH9r1xXczEySqZb7JNZF7CWYQXv4sIuB9Jj2QprlxWpKizqCdFKa/WUxFJuykizucQcdw8jaIYsugFbZz/GJTcTz6yydtC0Ky/SIK4z8jynymkRz2qQB2YzQLvBQv7Xn5cCZs7kKNmHxq14vr3JOLVWl/84tLZuPzFcPMMZD5PEZOivr6LRkB4EhB3eEreDiKL+qHfZMj1pX09AMoHuMI1x9pPl5wbF1VWxmjOPjL8mR1dDR3D5PCGx8H8vskxrbAOdPBrSdEc8TDNUCqhLHcUJaSNw+6pw76DbGWoNsg20EK28jQl13wDoAx1gJIiSGfhTjyq1CvYqBeixq2jrWod9QB2MfTNI+bvR4wXiJYpatgMrjE6SfgL3bjZpVt6wg+Gm+G3LQPxv9TBmFmIZs8qwqz7JH2E8XcitsZoF2UcGTNfD2RbTZyJfqd8CiqIjeKIJ0wIxoSmEnw7dPdAhRnKth3E2tIEAq9oBuNRkcyEeiiVQvnUVIWFpxYSp9Xd/pFtZAGxb5uA2NZBylWKaoX7FrS+JX4ajz2tvSF3Fc2iq6dZ3JIR5aFeAOTx/piuMBcFjsXCKBU3i9Azwjz/jQQNj51qgLvNkyQKAlFE8eBrUt0NgFKPSY9EqoAGGOGG7D7c/chyTJHIhsX1yYryf1jc0pTvh4gzxbECIhokx0KUQhwIEPv9/tHobY2lLrOtw6h6Rjo1LW5FyhRWBcdknP3s9eEOliJ1SGyWqCqPoQyLLrEOLjfaRceEWLRlLyPhrOPlrIcZYSzf/QNhHPFh7bcSOaUSsQcmzCtbi81hTorUjN86JEVkS+NhlSSCXdZ4/LcB8dG4qK7+bD+G7VMpsq3xFKVCPt7x3xlZxUH2v2w9pytRo7sfCf9Lsn0yF1qTvOLWypSvhdWMTNHilpxcpjQyuTokUxzZInngip9CnjYKYPLtkZxUmTgeMAHyeZskTudNkjLeFQB+raKsA4sMyBJdbyI76IkoZmRckV7mg4i7gC/CGbmHNDOueBNHuH7EAb8NglvrgnwxjkbkhZ45G6eWF3VIdFdeyC7II0UvRAzJfkKcItwOfSFz88TTOzTpC1CCrhfl83Y+6t5cd0hfyM7HLxpkxseM4HlEk6wHO2Op0UFjQzFf4zGE+HmtNuZZM1i8geHNHcqqRArg5pQkrVUc++F0gIHpIEYVRysNjWazdjqkOIBsaIxpxJgwNH6SmLVDb3TFz3BLAagX4/P2M0Dn/Qwg+xm/0SxaisEzE8PpcgL+WYqNBvi0TmwA2dd4EmikYfECBUFRhWxGDhjxPU4Elk31SP9dQfG6ZZKJRdralyhfjKoRzQFa6XLUIdFdzSG7HFfwJRLsuof0+VtynFJyeLaR9vW8LQ7QeYsDyBbHbQQxE678AorJAWcrNzrobQDZ2xhhcVP80ohHkvWK+aUpQvlMUhYKObKGbBnD99YqjQ5O1wCtdDfqkOis0nBld6NWXRy2Fsz2y4WtIQzIq4b+XrkwTIbEU6zK8wytyrNLE08vKFrsiGW8Ui5stXzXG1if54i7f1xkcGFkyQKjpJDdiGbxP2DFuJVt2jVxLSuUHYh75NK79Vo7E6tTXdmB+AQLplC9OlK5nLiKy2fZsbvxsvpOg0WSqoXgmr51YWtdq4l5624Dk2Ffn/KVCHUfINleqAVI2aR9JTrDrsHDDz++TCnPXv2upf8B"),\r\nthis.addDataEntry("gmdl google media design library list line item primary checkbox",358,56,"Line item with primary checkbox","tVRNc4MgEP01HJMxUtPk2Jg2l3QmMz30TGRVJiAO0NT01xeEmC/T8ZA64wi777HLewjCqWhWitTlu6TAEX5FOFVSGj8STQqcozhiFOEliuPIvih+u5OdtNmoJgoqM4QQe8Ke8C/wkTWrwAEMCPvRwCEzQD1MmwMPMEp0CW6RCOGFLknt4spi7TRnnKeSS9VCcd4+DmaU3MExU0lbCC/2oAzLCF+TLfCN1MwwWdm0YJS6YgvCWeECHHJzhn8J4Q6Xy8p8sB/XxyRx1WqSsapYt7Tlc2xDYbN2BWjuCtaGglorkAKMOljIN6Om9AiczDytBFaUgZZMfYxoPy866kl+OwgO9LuBb9wYprtoCneCxoWgfJyVkO22srkn+JU70Ww+T3AH/gzbHCxX3C/XIZy+ceIpZ/JNetQ7xhRwYtgeLsr1SRoqbiSzjcTRsb9gQqg+ml8uIPNcg7lxpGt7kElPjzBJgNakgBuPzn+XK6Om7fNwoy4Jf9gWbpL/sG2EH++bnZ6uUQ8/v2V/AQ=="),\r\nthis.addDataEntry("gmdl google media design library list line item primary checkbox",358,56,"Line item with primary checkbox","tZRBb8IgFMc/DUdNhdVtx1k3Ly4x2WFnLK8tEUoD6Oo+/aBg1VkXD46kaXn8Hw/+PwoimWwXmjbVu2IgEHlFJNNK2fAl2wyEQDjhDJE5wjhxD8JvV0Yn3WjSUA21vSUBh4QdFVsIkSWvwQssSPfa1gYE5BZYEBq7F1HIqKnAT5MgMjMVbXxcO63rFlyITAmlOykpuuZlVqsNHEZq5UqR2Q605TkVS7oGsVKGW65qNyw5Y77YjApe+oCAwp7oX2K41xWqth/8269jkvpqDc15XS67tPkjdqG4XTcDtFct60LRrwUoCVbvneSLM1sFBUmfQloFvKxiWjoNMWpCv+xTjwDcR2QwzINc8LjNd9mW/gyNS8nEOK8g36xVe2G4QzHt2i9EEUQQf8Zt3mwXHrZrH8/fOA0pJ/ZNBtw7xDQIavkOzsoNWRorrhR3C8HJYX0RQqw+ej6fQBWFAXtBpF/2TZAe7gFJgjG0hCFG/e/y6zfq2d0X1HnCH9jiXfIf2Ebk/txc93iRBvnpPfsD"),\r\nthis.addDataEntry("gmdl google media design library list line item primary checkbox",358,56,"Line item with primary checkbox","rVTRboIwFP2aPmqwlU0fJ26+uMRkD3uu9AKNhZJSHe7r19KCOmEhcRACPffc3ss5N0UkyuuNomX2LhkIRF4RiZSU2n3ldQRCIBxwhsgaYRyYB+G3geisiQYlVVDoMQnYJZyoOIJDtrwAS9CQm1cFAmINzNEqfRaexmiVgd0kQGRVZbS0uDJcs0y4EJEUUjVUkjSXpWklD9BGCmkKkdUJlOYxFVu6B7GTFddcFiacc8ZssRUVPLWAgERf8V883PESWegP/m37mIW2WkljXqTbJm39jA3kf9bsAPWgYA3k1dqAzEGrs6F8caYzxyDhwqVlwNPMp4VPDqOVW6dd6kV+8+Ed6HeD3LkxTve8Tu0ETdOciemxAjUk9i9nFoG9xwqD+4U5+zmbhi7lSqh5cK9TiykQVPMT3JTrE89X3EluGsFB25+X21ef+DnvdpBJUoG+E7/re5Qf8//wI84gPuxlPdKTYLFchqQjf3o1R4/vgEu3CX94NuuZ7RZ70LMJ+WXa8nHPzPJyWjr69WH6Aw=="),\r\nthis.addDataEntry("gmdl google media design library list line item primary checkbox",358,56,"Line item with primary checkbox","rVTRboIwFP2aPmqQinOPEzdfXGKyhz1XeoHGQklbHe7r19KCTmQhcSWE9txze8s5N0U4LuqNJFX+LihwhF8RjqUQ2s2KOgbOURgwivAahWFgXhS+DURnTTSoiIRSj0kIXcKJ8CM4ZMtKsAQNhfkcSwUcEg3UEZU+c0+kROVgtwkQXqmcVBaXhmuWKeM8FlzIhorTZlialuIAbaQUphRenUBqlhC+JXvgO6GYZqI04YJRaoutCGeZBTik+or/4uGOl4pSf7Bve45ZZKtVJGFltm3S1k+hgfzvmh2gHpSsgbxeGxAFaHk2lC9Gde4YOFq6tBxYlvu0aOEwotw661IvBpiJ9+C+H7jnxzjdizqzPTTNCsqnRwVySOwbZ5aBfcYKE94X5uw7bRq5lCuh5kFfpxaTwIlmJ/hV7p54vuJOMHOQMGjP5+X21Se+07sdRJoq0D3xu3OP8mP+H34kOSSHvah7nhgDFs24McZ75cifXs3R7Tvg0u+EPzyb3entFnvQswm+Me35cc/M8nJfOvr1dfoD"),\r\nthis.addDataEntry("gmdl google media design library list item list",358,56,"Item list","rVTLboMwEPwajonADkl7LJDkkkqRcujZhQVWNRgZNyH9+trYeTSPCimxhGTP7njXM8YejatuKVlTvosMuEfnHo2lEMrOqi4Gzj3iY+bRxCPE159HFneiQR/1GyahVkMIxBK2jH+DRT5wtECLtmrPHZqxtgTD8T0atSVrDC4h1UWiHDmPBReyT6V5P0yakuILDpFa1JoTbUEqTBlfsU/ga9GiQlHrcIVZZopFjGNhAA65Ost/c/AxLxe12uCP6SMITbWGpVgXq56WzIiG3Nn0DtDd1aeHnDhLEBUoudcpO8xUaTNo+GJpJWBROlo4tRhr7bo4Uk9q64kT/Lb49Er8YbpXXWEuzLioMj7eYY73xL5wZtqPocKQ28Ls3bUah5ZyJhSZXOt0OJMEzhRu4U+5W+K5imuBuhHiH/pzcrvqo+BiB5HnLagr8Y99D/Jj8gw/2h2qtDQXuW36/yPJsTOUyEY2iilDMrd+kGv+/DUJZw+69pfwj4d0esND/ykejsLgwkT/cRP18vRa2vTzx/QX"),\r\nthis.addDataEntry("gmdl google media design library list item list",358,56,"Item list","rVRdb4IwFP01PGqgHTofBzhfXGLiw54rXKBZoaR0ivv165f4gS4krglJe889vZdz2no4rrqVIE35wTNgHl56OBacSzuruhgY85BPMw8nHkK++jz0/gANDOo3REAtxxCQJewJ+wYbidRMqvqlRVp5ZA7JSFuC5vkejtqSNDouIFWFopwyFnPGhUnFuRk6TQr+BSek5rXiRHsQkqaErckO2Ia3VFJeK7iiWaaLRYTRQgcY5PIi/82F+7yc13JLf3QfQairNSSldbE2tGSOVMj9n9oBuocamZATaAW8AimOKuVAMyWDycDhq6WVQIvS0cKZjZHWroueelZcTZzo9w3AAwPG6V51hT4006LK2HTXe3aruPJiZkaPfLqfGi0Oui/O0R2vaWgpF2IF/lCrwOkngBFJ93BV7p6AruKGU9UI8l1/J4arPllcb8DzvAU50L9ve5QlL/9hSXugMtV+kLYxVyTJaacpkUW2kkhN4neuiTJtZ8bwYvnLRRLOn7TumvCHkXg2NNI9KM8aOQlvnDwdmmesVMvz02nTL1/WXw=="),\r\nthis.addDataEntry("gmdl google media design library list item list",358,56,"Item list","jVNBbsMgEHwNx0YOyEmvtdPmkkqReuix2oa1jYqNBSR1+vqCwY6buFKQkGB2h11mgLC87rYa2upVcZSEPROWa6VsWNVdjlISmghO2IZQmrhJ6Ms/0WUfTVrQ2Nh7CDQQTiCPGJANWHDI0UCJIWjsWcYgB1OhpyaEZaaC1uMaD65WVggpcyWV7lNZ0Q+fZrX6wiHSqMZxshNqKw4gd/CJcq+MsEI1LlwLzn2xDKQoPSCxsJP8pwiPeYVq7Jv48X0sU1+thYNoyl1P26ypg+IV3QnY/StTD0WNtqhqtPrsUr4Ft1XIYOljoFUoyirS0lXAwIR9OVIvortF1H3eA3bjwX26113p382irLlccGfbRzDtWnJnxqofY+Q93ordqw6dV+ccn9giDZSJWsMlpmINmEYJVpzwT7k5BWPFvRKuEZoM/a0DI1Z/WF6doIrCoL1xYOx7zhS3vXy6kD79k78="),\r\nthis.addDataEntry("gmdl google media design library list line item checkbox",358,56,"Line item with primary checkbox","rVTtboMgFH0afraxUrvu57Rbk6VLmuwJmF6VFMEA7eyefiBov+xi0kFM4Nx7uHjODQgnVbOWpC4/RAYM4VeEEymEdquqSYAxFAY0Q3iFwjAwHwrf7kRnbTSoiQSuxxBCRzgQtgeHvBMO2kBbkDvKlYsrfWQ+nhFVgmUHCMeqJLXFJaSmXJxTxhLBhGxTcd4Om6al2EEX4YIbTnwAqWlK2IZ8AdsKRTUV3IQrmmW2WEwYLSzAINdn+S8e7vNywfUn/bH3mEW2Wk1SyotNS1s9hQbyf2lOgOauUi3kZVqDqEDLo0n5ppkuXQaOlo5WAi1KT4sWDiPK7YueetLdLLz0wzbgGxvG6V41hW2daVFlbLpXIO+JfeXMMrBzrDDhsDBH32DTyFHOhJoHtzp1mARGND3ARbkh8XzFraDcNmR3Py+3rz7xDd6fIPJc2Qa+Er+/9yg/5v/hRy0hB6NiCmqkLYt2PGjLJeEPk2YDzdxhD5o0wVcuPT9uktme3kWXfv5s/gI="),\r\nthis.addDataEntry("gmdl google media design library list item list",358,642,"Item list","7Zxdb6M4FIZ/TS5TYUyAXPZjOnsxq61mRruXKxdMYg2JkaHdZn/9AgYSMM5CYkMTkqpScDCY8573iXUwmcHHzcdXhqL179TH4Qx+mcFHRmnC320+HnEYzkyD+DP4NDNNI/2fmc+ST0H+qREhhrdJlw4m7/COwjfMW3hDnOzCosFH8Rpnuxsz+BCvUZS1M+ylx38ISBg+0pCyfFcY5K9st4TRX7j8ZEu3aZ+H4lSYJfhDOty8qRjrV0w3OGG7dJd/iJ+s+R5w4fJua0xW66KbbRUDRzFvWFV991efvikC0B4MKAQDpGO5h0avmKCQrLbZJh9dM0aG4SztB1mMArpNDnZ+zl/ZzhHyyHb1vbhia9/0k0ZpAyj6/ijGaJTb5N9sE8B0m+E43fqriCToqoh5miKmxdsYDlFC3nHt+OeoZJ2YspuPVWazu9XGD+8SGv39ithZqQrbA1PvsCtceLfg2wdhs2wxaqBv1Irzv1CSDqs6+Xxp1k4/d+pHoEEQ40SIenUVnYRYCEKkuUi8uJdb2l3QtMzSdt3WDD7IcRP8v3+4WeaZGzJxiYfC+8KuG+L72YAr/4Y4SPY9v+VbT46p2TYL57wE2NXdp1RwW4XzIoYDnIbJw3FH+atvlU5xX7TH/YgPy1jVfGgr8WF5mNKGrgZVHBWqpMNI0iwfVJLOoFxo02deaq9TIFcQ6D5JGPISQrfqYVlJI8KyRN439IrDFxqTbARH0CdFZAsT+dAkaAaOZmparhJqukCD/EsV/kQHGdPMg8PvuUYyOPlf1+C7atB5phYSdC41SAMMFdq8RW2SVKGvOyPzShCS6M8+U3CJMJ0BCkxRJkUAhY2JJtQhExBkeiLbFEDXAs8LRCUwtRjy1HpEzZA+T45ukvdDJJDUJ46Zr236ooaRRXFHLyPFqsinZKRMmclAUqyLfPHfPJRj6sbJ0Tjp6Ci9ALH2coIpcZUfWlBp9Ual2WLBS5pOKimQDIBKiTKTQaVYMnlGGxLubpwcjZNVlUet0mLt5QRHBjw5tEDS+VSQdAaApJJ6yACQlCgzFUiaYm3kN4zC9OpukBwNko4WpcXyygmOXPPk0AFJnopTgmQ5/M8OSZkyk4GkWBz5IwiIh2+QHA2SsNlFjdJKlp1QnhxaIClZjnIMkoYoQnlZ50LSrZsPaNFESRVkAEqeu1Lo0ikp1kVeGN3Qq7oBfomktLXMXZQsSIn2CaKFlnZ/Wrbc6+69yLFbcbL0u1pdlNRCBqClRJrJ0FIskHxHPqE3UI4GSgvouIkDlaw+YXluaGHksj8jW6ynipHNGaUORkIlpZABGCmRZiqMLM9xyEjskQjfppMjUtLWcQsHKll/wors0MFJKAn7Fc8loZJqiH5OyqSZDCfFCsmPiLLkhsnxMLkAWpRWsvYk5smhhZInPJjTNps01VCycRNHS30SKqmEDEDJcx/QuXRKipWRnwy94/BGyfEoaWtxpJLFJwlPjp6U9EmWKFzUmL7l98q72VPNcznl3R7V80tDg07WhTyYI5NmKuS0Tq2X9Hr6O3u1MvMcju1qHQai2rw8jloVTBVueUXerza/VN9ZMl1EH3XSxTr+wIZxV97ePWaftucPFf2EQmOGqKMCbHWobZRapT1JFONPpdD1C9ShznEUaWOq41ybPOnm/peR+O6HP5z0Hw=="),\r\nthis.addDataEntry("gmdl google media design library list item list expanded",358,642,"Item list (expanded)","7Vtdj5s4FP01PGYEGAJ5nI9O96G7O2qr3ceVB0ywxmAEpJ3019dgIARDFoidaJIwGil2bDD33HN8fWNr4DF6/5zCJPyT+oho4JMGHlNKc/4pen9EhGimjn0NPGmmqbN/zXwe+NYov9UTmKI4H9PB5B1+QLJBvIZXZPmWVBU+zEJUNNc18JCFMCnqU+Sx+z8EmJBHSmhaNgVBeRXN8pS+ofqbmMasz0P1KJTm6H1wuGVVNdbPiEYoT7esyU/s5yFvAWyXdwsRXodVt6VVDRxmvGLd9N29PftQGaDfGEAwhsHGcg/0STaBBK/joshH17WRrjur5cOQjQIa563Gz+VVNE6gh+P11+qNrV3Vd5qwCqPq+60ao16X8a+iaABWTlHGSv9WljTGImLOQ8S0eF2KCMzxD7R3/2NQsma6bPS+Lmh2t458cpfT5L9XmB7lqqDfMPsdthUL72xebpnNWopWM6ZarXr+C8VsWM3DFytz7/ELZ/8ONAgylAtWb95iFBC2AATzRexlk9jSz4IuZVZL1+314JaPm8b/84eTZVGwoQAXe5DcV3SNsO8XA274S1CQ73p+KUtPjqmYNrZznANs99knFfClDOYlKQoQM5OHspHwN7PKKLvb/XY/wMPaVns8XErhYX2bmoauAlQcGaiwYeTMy08KyWihtJXhs6ixVwmQKwB0n+cp9HJMY/li2UAjimUteV/gKyIvNMPFCA5I36BE9mhiO9hwFGvk0pSika6hAOyVDDbCln90UW/Pah3onfKv6TE50nPlSKerRDpXCsAydBlobZI+kAbAKLlCcPKPBGBGC6hh9pBIjoCCTqAJVMBkzISJ4FIhBWxQeZ18SVS725G6ZQAVs1TtIy0jP+GYqfylzlCdpUKzyPgAM5dhKaGZmP+YoYY+d5qJK7tRRjcGrH5I+fpiRzkTVB14K52gpCQ7Jk9QR6FxNbOSmP9gigbfApgVQ9HMJYyS0pj6a7qJvVBAjll3ioh1c3rOyScw60jm1MkJ3VaBh5ie+Av9ZBX3EUqZfeOb/Wv720r4ICYivm2yEBf+D1NxoXut1ge6inWnIWYZxs0UlxkjA0tFAtQQV/ef/I0Hyyj1QsNklWBLCoeBpSL2MqUkB1DjH+NQb6KyUXbnDjktZdMTdclK2ZwgIjbn5gJOnLIZQuZaouMalhZOzzDCZHvTybNFHpa+VIG0lLRBwJ1DhUgOWf2CRfI8aYPJIjmEzNWIpJhC+ANBkoupgptInkwkbSUiKWXvRMidQ4lIztg38cFFUsrGiROI5LHbJz66SIqZjb+DAHvoJpJnE0lbN1UgLWXzBOXOoUQkZ+yQ0EUQ6tc6ViTdffIZKvKK4INskbj2PRJAzIu8pDSit01mZ1ZKW1eBtphdmcHKZOcgKtQSDJzlmLifbPJBggG17Ownq/kuFxcpuRD1ajkEzdWo5dwEyaRTC8Ul/Qe07V6HE6nYwlKx5QyI6Y8ZbHmF3lsfX5o5agiXmfteuO8Mcke/q7M6h+jTt29W0tGfztJZxckfMCKbUWPFeuIkE+PxcyJ0+QCNyG0clLRzouNcGjysuDvRy5u3D/z+Bg==")];\r\nthis.addPalette("gmdlLists","GMDL / Lists",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLMenusPalette=function(a){var b=[this.addDataEntry("gmdl google media design library menu menu simple",170,168,"Menu","7ZXLbsMgEEW/hr2DEzfbxm3TTaWqWXRNzdigYGMBefXrOxjykhPJ6mPVWLLkuXNnYA6WIGleb+eGteJFc1AkfSRpbrR24ave5qAUoYnkJH0glCb4Evp0JTvqsknLDDRuSAENBWumVhCUIFi3U1FowcgaHBgMG92gOuPMCvAdEgysYK23GihwyVkplcq10qarTsvu8TZn9BJOMtA9oQHXGxRHGMT9gHGwvTpTJ8WB5qBxd2aHlo3kTkTHXZg7ESArsS/LpkFkNgjVofaICD8ipcvE0h6xNygNWNEDhxN4IH4WWTB1r2TVYKaWnHvLrNSNW8hP7x5NPIeWFbKpfJhhiD0x+R5nGsyGfo/NOB68AcWcXMNZ/0u84hKvWuLKR4suSwuuB/Swk0GMxz3Gz6Ba4v/ljNVthyIpAfgHK5b/m/vuvM2vHsOkdwwLcA5R2RtzlKfjP2Ce9Zl7lDTRK3ej7gv2iH6CHcPjHRvsp1fwFw=="),\r\nthis.addDataEntry("gmdl google media design library menu menu simple",170,272,"Menu","7VhNb6MwEP01XCtjEmiPJd3mVClqD3t24wGsGIyMm4/++rWxSUkharQxpxSEhMf2jOe9NzYiiBblfilJXbwICjyI/gTRQgqh7Fu5XwDnAUaMBtFTgDHST4Cfz/SGbS+qiYRKXTIB2wlbwj/AWqyhUQfuDDVIVoICqZuVqLQ1paQpwHhAutEUpDZDJax1yDRjnC8EF7KdHWXtZYYpKTbQ64H2sg6o2GljqBtuPSAV7M/m1JpcQksQenXyoIfsGFWFG5HYvFEBLC/cNJy47EhjDflx7hdE+sWhNI5YNEBsJWHLYPffwJX73PB/l5eU39XOWZQaDNia8EfO8soMY5Qa1ylxBg6ZAZyTd+Ar0TDFhDFLm3CaiUq9sU8TIZybcDVZsyo3zVg3JTS686+DLBww5Fb8jc5kZu5LecI/8xQPaQodSxI4UWwLJ+7HqHMRVoLpwBh160nsjMNppM6ByLIG1ID54zIvEsNsIIa3QufvRwqNcRXdjBLuR5Qw86OE+EQJ82QCJcwHSlgan4izauNHDq2nWxYDmkIMIQonUEP887HacaxphVHcR0Ry/gz1hfvYsXkt8B3SeIodOBkg/UI2YKLoZy3qg5/iaz1dX3yWwI5lfH059muvX5MuMV+ywCOqiL2Uo/s+PYpkjiYQyf1AJE9iV3FBqB910M7brWzP0+nh+/b8gCfQw8Pv9jzYno+V6BXpbnE9qF+hFFtPn8jS+votO89lh2ceyk43v35k2OH9/xz/AA=="),\r\nthis.addDataEntry("gmdl google media design library menu simple menu",280,160,"Simple menu","3VVda8MgFP01vidxLXtts7V7GQz6sGeJN1FmNKjrx379rh9ru6aFMgqDGgJ6rkeP5yASWvfbpWWDeDUcFKHPhNbWGJ96/bYGpUhVSE7oE6mqAn9SLS5Uy1gtBmZB+2sIVSKsmfqEhCTA+Z3KgBNsCF0LDS45b6VStVHGxipdzMKHuPPWfMBRBWILFcG42SBY4iDvB9bD9qLmCGXBSzA9eLvDKRvJvci6H9O5CgGyEz+0aQaZS0C35x4swE524bwjdOTISqB6XDRO08bLVjbMS6Nx2Bjtg+xT0/B00Swsr+RXAEuax0cWFbEhzpTsNGIK2kBzA2uk7gJrOrZ8b2xwEaWoWWb3kvMgYG7B4abv2a6rba/+ZvskYxYU2rKGX+ufiyJv8WZkcK7YZcJJeKZtHfhRdHthV6X5MErzRXIIWYF2Mqr9n0zvK7vTi3eT7CaXsvu/m3hfqZW3uHI4PDxXafrxa/YN"),\r\nthis.addDataEntry("gmdl google media design library menu simple menu multi line",280,328,"Simple menu (multi-line)","3VZbT8IwFP41e+86uT0qKk8mJpj4XNnZ1tC1S1cY+Os9vXDRiQHkYiwhtN+57vt6yKJkWC5GmlXFk0pBRMlDlAy1UsbvysUQhIgo4WmU3EeUEvxG9HGHNXZWUjEN0uwTQH3AnIkZeMQDtVmKANQFq+xWwwRT3mVciKESSjtrkrmFeG20msKWBdyyloKlqkEwxkOoB9rAYmfPDgoNj0CVYPQSXRqemiL03ffPRQrgeRHCEtr3IKs9kK9jNxTgJrDwPSNJi5EXbpALSnIFtauooUUSPo0jR0kz5u8WjAfhvEUJcQtxJnguEROQ2bC6YhMucxvVxaNlh0+YuA1eJU9TW8inD0UtmRpqLPYaaNmbXnocvd3ArgbBDJ/Dp/y/ofymRfkY2XCcCy7tj6P3YAU6Ryvw5ZIDsZ+flLmsEh1yoBKhxLPi0vK4/CzoKkJlWQ2mpdy6sb3E7LTnp1EbJRv8q6sg3aEpKdnUyoDpTHC2njZeenef5pza79S4KbiBMTrbAq61S+veO43ucXwO4bt/bor/17TG/XOo1muPa6FhS7TTDCxh0qaYoI5czlwCoWQOeuX9Bte9Etcf7sFprglNTnBN8Lh5B/Xu26+oHw=="),\r\nthis.addDataEntry("gmdl google media design library menu menu items",318,126,"Menu items","3ZZLb8IwDIB/TY+gPihwHWzjhDRph50zatpoaVyl4dH9+jlNeIPoBkiDSIjasZ34s63Wi4b5cqRYkY0xAeFFL140VIjaPuXLIQjhhT5PvOjZC0Offl74emI3qHf9gimQuolDaB3mTMzAaqyi1JVwigIUz0GDIlGiJO0gYWUGJoJPQpmxwpgqmNCRgykXYogCVe0dTetlzLTCL9jagXrZAAkuSBmQ4O4DSsPyZE61yiU0AqTbqYpMFjzRmbWIgr51y4Cn2cot7FolK60iXftuENGDo3ScWHRAbAxyZgw05PRnCO0jpFwMGpMVnzDxJHgqaUdjYYCh1O/825gGscFRsAmXqRG7JCooafPDpdYYUfg3RB1XfwWCaT6HnfiXYOtcr9HyZWrmpZ3miWhrxZlMBRx0mIuw147depnI3PQrR1mbKgOlGdjoONhdh8rNXju28hb2+Ehf+r+E7o5/Q063Wp/dCnu7LjidlqAPqrS+daPCxWf6XS+wab/nPEnqSt13y+/Rr3bDXBV+91GmJv7/U+NOb8U3qGPv3BBlChq/Nj5Ra8wfdIz6nRvg7z/KGPXuZ4xWcS8pJImbT2Frvv2l/AM="),\r\nthis.addDataEntry("gmdl google media design library menu menu",318,126,"Menu","7ZbbboMwDIafhstNHHq6XdlBkza1WqXtOgNTooUEJdlW9vRzSEpLaSW0w0XVIrXCju3En/kFXhQXqztJyvxRpMC86MaLYimEtnfFKgbGvNCnqRdde2Ho488Lbw+sBvWqXxIJXPdJCG3CB2HvYD3WoXTFnKMESQvQINHkgqN3mhKVg6ngo6FyUppQCQluOc0oY7FgQtbZUVZfJkxL8QZbK1BftkAqPtEZoOHOA1LD6mBPtcs1dAcCTycrDPmkqc5tRBRMbFoOdJmv08KRdRJlHcsmd4MIbxyl/cSiDrFZCbxDDY9vaJhGaELYFaNLjisFTVNWN12ShPLlmqG1HiAzRw1GhqPgekG/TLlgiLYEhdaLa7E3qvBnqAbuOZDAiKYf0Kr/G3yDDr644KkXTmeHEDLyCmwuFNVUGIQJ9mYexobtw05Aw5g46NL2dXgYu6x7kY32k20nVE6El0Nrb3EP/FGXu5Nrf+7uAHNB8VzN7hfBulC1dvjtGiLLFOjO5JpGeg1z2BnmnCgNJoIbWowkcPLK2JlQ1S7zp/MYdeaxyGlmdkWB4f/zsWlseNbYuDPTJ1BAZJKflbVXWZPBP0xhsuetv9FVW2X2heaM+2OT3PjkJIfm5oPbhm9/j38D"),\r\nthis.addDataEntry("gmdl google media design library menu menu",318,126,"Menu","7VhRb5swEP41PBYBhpQ+LllXTeq0aJO2Zw8fYM3YyPaaZL9+NnZpAomasqaqlCAhuPPd+e777oxEgBbN+k7itv4iCLAA3QZoIYXQ7q1ZL4CxIIkoCdDHIEkicwfJpwOrcbcatVgC18c4JM7hAbM/4DROofSGeUULkjagQRqRC260c4JVDTZCZARV49aaSijMlvOSMrYQTMjOG5XdZc20FL9hawW6ywUgYmWUsRF8PiA1rA/W1Kl8QXcgTHZyY0xWlOjaWaA4d2410Kp+dEtmTomVU1S97xNE5sWjtB8xNELsawt8hJpJ36JhC6EFZh8YrbhZaSghrCu6xQXl1SOGTrqH0qYazyyOguvv9K8NF2dGlqCM9NOXeDRUyTSoUt8HEhjW9AF24v8PfOkYvskd16wrOzhh1RAWFqJpMDcmc4Z/AVsKRTUVFnPpyuq5uB+s95xgTxLraDjM3ZCao4hA+4nYddj4mQ0zJ2/RFCf7GvqFLPn9l4KatPrNr9Ld7a8GYyLKUoEesdxXcRTx2Yj4JVYarAW3UDFcwNlP0YCfzW6YV+VjNuLjx3kMYnbmg3j9/Cd/yCuWUqxU4p62Caj92DvSuJAWmTmxOUehHTpiy0nD/NICE1oguz59C+SjFvgGCrAs6ssJvPcEztMTsHAzYuHzeZzA+TseP4ROP35xdDmC33MPpDdv0APx8z0wafhFqy+kTyB9lr066UZ8+pPjzLd/9PwD"),\r\nthis.addDataEntry("gmdl google media design library menu cascading menu",636,632,"Cascading menu","7VxRb6M4EP41eWyEMSHZxya7tzqpu6oUne7ZCSZYNTgyZLe9X382hrRhoCUJVts1karGBhs8H9+M52OUCV6lj98l2Sc/RET5BH+b4JUUojDf0scV5Xzieyya4K8T3/fU38T/q+MoKo96eyJpVvQZ4JsBvwg/UNNjOvLiiVcdeypZSgsqVTMTmepdRiRPqJ7BU408IXt9qqRbdcllzDhfCS5kORrH5UefVkjxQF8coeXHTBCJ36oTqUZ1P1QW9LFzTWVXtaDvVKi7k0/qlN8sKhJzBkYLMyyhbJdUw2Z+YDpJbjp2x7HPJlJfKiu1WwwDiy0Fj4DV1O1ra+iFsC3ht5ztMnUkZVHEy0XvyZZlu9qGpnVHY32rKNR2FFmxZv/p6dBMtSXNVevfaonaVC3A9LKef5n1gurRkJSTgv2iJ/NfY9EAWvTihzB93GkuTXdpxKdbkaYkU6csOdlQfi9yVjChYZBmWUd47hrHjzCRCjdeItMNZxOtXkDgdiBOBzxVNJ7OTPsFTMiHKKFzUaqufy+Yuq3jxW+C08vfhKcziDjOaQFQPq6iF/AzAPzfhTL4diTTmzA9nU4zKCwhhMUNPs4c5+McAP9PFlHJmcJ3pGRPSi4CC8gsIDJuUHLuOCW/AODXhWQPagJx2CUjK/uyEvk20EEegOeWq0mX64TF+v+sC6Em27bKTtqk/enW5OebfLsUuC/XUtALIaxVWno1B1E9UU3CGpJhcUaQhgdlz3wr2b4YWdibheHCBjpQxJi6ER1RhxDiTHhEUI1ZHzYjLc+jpW/HaUJdZ+KvHCGm69IOgtoOQL5GtswvXxOI351n6MrdSs2zmQ25BkG95p5IUrKlNnh+tjNsPvbPzrF0he8OyVCuL7QCCVRShvF7Kvcj2Y5DulQzNF6+hOVHz8z02xnjATMhtWV7OrLwSkc2G55NtR/Di1M/NrOBJFReDFVGPrXyCXs25C8EZZDPyqeF23zyoWJyV8rL3roixMDEaiD4cfYUQxEusLF986Hg8UkJZx44hwkHxZGfh3RDpcLJ9+5Yfn6e7EooW9gQq1rqRz4rszrgcYZZUN8wdPLEXttzzLm6ihawDbmppZrksxIrcJxYUNAASDqnHQVzG0JFS8nHilMiVVcsZEqK4pItubNCerCwAhLUIPR0gzi3jy6kO18A0lIB0ukMqwrsbmfYWZv9sgL7Uuq9/i7ySLtm3voWNf1F2A1M76JtKDusWRnUB96jnTo75bMHdW4dpRjvVrmNoUyApqiz6MVto3aEDBsRA8Ok/6s4bMbH/d0LOTFM/1eHvBDpBN+qbjSF3n2EqBMiO1V9uK1wYZDNVkK3D40wXA02MbuGxG+L4sfEshcyuKMC4bWtUlv2ElwHVB39w5PgfzO3AdsfIwB0YeeKAIA/qABwobMbSAGwUzyJoQJwG0Xa1ipu6PdyGxoLSY0p6qISmxFqaKnzQtDqLdS1oM2tgNZSlXACGom1pUbMLsLMTjkkPiORd8ep2cl/ApjuV7tsQxH15E6nsEb8j+TElRu4IUsXVfP5lw3M6S9/+OB/"),\r\nthis.addDataEntry("gmdl google media design library menu cascading menu",192,146,"Cascading menu","7VZdb4IwFP01PM5AQXCPm9t82RIzH/bcwYU2FkpKVdyvX0vr10Dn5kwWYxOS9tx7295z0hMcf5jXI4FL8sITYI7/6PhDwbk0s7weAmMOcmni+A8OQq76HPS0J+o1UbfEAgp5TAEyBXPMZmAQA1RyySxQEVzqqYBYbXlfScGnMOSMiybuQzNUJKWMbeFpM3QFwQlfKNBTixIEzUGCTip4oevsFUBIqPe20UC2hxFwtYVYqpQFTSSxGbf27gRoRlZlQWhAXBkgW9duWFETS0w3SX6LpAlRDX0lSl1fE6QboTFmd4xmhYrkNElYww8v5IR+6Gyvr3kpcUyLTC/DzfIZUrmCBFQq/832eAp96Hf0BRYTwLCkc9jZ/xRKgxalI6FiyGW0gOqvqLVcRug/cOn/lEt7xJhTdTJyl7uSrCp4mlYgW9yvL3aUHP3vbaCDrQRXBPQOrnnljU3kdabdrJflCevFBOLpF2uwxcZHVnqgLmcJm3GsLEG3LJY2t2d73JZp0GUYp6lk7+db27Gn30RnEC1siTbGGSjkXQCeXh/RgUcUBWfQI2rp8TpjVzM7pIPnhmcQYnABbhZduJup5eYv16Rv/wR/Ag=="),\r\nthis.addDataEntry("gmdl google media design library menu menu disabled actions",85,190,"Menu with disabled actions","7VZdb4IwFP01PM5AQXCPm9t82RIzH/bcwYU2FkpKVdyvX0vr10Dn5kwWYxOS9tx7295z0hMcf5jXI4FL8sITYI7/6PhDwbk0s7weAmMOcmni+A8OQq76HPS0J+o1UbfEAgp5TAEyBXPMZmAQA1RyySxQEVzqqYBYbXlfScGnMOSMiybuQzNUJKWMbeFpM3QFwQlfKNBTixIEzUGCTip4oevsFUBIqPe20UC2hxFwtYVYqpQFTSSxGbf27gRoRlZlQWhAXBkgW9duWFETS0w3SX6LpAlRDX0lSl1fE6QboTFmd4xmhYrkNElYww8v5IR+6Gyvr3kpcUyLTC/DzfIZUrmCBFQq/832eAp96Hf0BRYTwLCkc9jZ/xRKgxalI6FiyGW0gOqvqLVcRug/cOn/lEt7xJhTdTJyl7uSrCp4mlYgW9yvL3aUHP3vbaCDrQRXBPQOrnnljU3kdabdrJflCevFBOLpF2uwxcZHVnqgLmcJm3GsLEG3LJY2t2d73JZp0GUYp6lk7+db27Gn30RnEC1siTbGGSjkXQCeXh/RgUcUBWfQI2rp8TpjVzM7pIPnhmcQYnABbhZduJup5eYv16Rv/wR/Ag=="),\r\nthis.addDataEntry("gmdl google media design library menu menu disabled actions",170,222,"Menu with disabled actions","7ZZLT4QwEMc/DXce+/Io6K4XE6MH47ELAzRbGFK6Lz+909J9hV3dqJiYACFhpvNvO78hQ50gKjYzyar8ERMQTnDvBJFEVM1bsYlACMd3eeIEd47vu/Q4/vTCqGdG3YpJKNU1Ar8RrJhYQuNpHLXaCuuoQPICFEgySyzJGyaszkHP4JJR56zSoRJiWjJMuRARCpRGHaTm0mFK4gKORsBczQQJrsnpkWH3A1LB5mJOxmUTmgHS7uSWQtY8UbmNGDd5uznwLLeyfbqsbhzZXntARC+W0nliQYvYA03Sokbb1zR0Ijxm4lbwrKSRgieJDglTLNULf9fR3lBDqFjMy0ybIzIl1DT4ahO6Goz/PTCB5SJBMMVXcDL/OVh2iSfktLLvbq3APVVgmtagWnD3G7uK96DFO2Txouet0fgd8B62eE9RrplMukeuBUcNYm7u/1GK8aCDUoy+bs675iu4acyXm+zffuC7TvDjhjLqAOu4hfUZYspY6MxigTX03/qnVfG6qMqkVZUZYib6P6sRDCYdIL9pIX/DpVrOe+ZGMPmF4wyZh8N8E3581v8A"),\r\nthis.addDataEntry("gmdl google media design library menu scrollable menu",272,420,"Scrollable menu","7ZhbT8MgFMc/TR9NoLS7PLqpe9Fo4oPPZD1dibQ0FHfx0wstuwmui7MxxpI0hQMHDv9fF3YIyDRfzyQtsweRAA/IbUCmUgjV1PL1FDgPQsSSgNwEYYj0E4R3X/TiuheVVEKhznEIG4cl5W/QWBpDpTbcGqqMlqYqYa6nnFRKileYCi5k3U+gLronZZwf2NO6GI+MJmKljVg37HogFay/jLk22YBnIHJQcqOHrFiiMhv30AaaAVtk1i2ym0W0agyLne9eAl2xKvgVIY4ij6ViojBDFOT6hR2J9F6MNGZXbE75NWeLQvfkLEnMkElV0jkrFtqE9q17SE3ceGCkE4V6Zu9mOhzrtoRKt17sfs/WLfyubo1NAqeKLeFo/ku0jFq1dD+3/6alXeJJML1yiDbH02w9RJpWoBztd4GdhSNuxUF6HF4co6gDHINWHFGPw4sDb7X7UR7DVh5xz8PPYzDqgMeolceg5+HlEWLUAY9xK49hz8PPI+7iON9CPgFk1APxAxl3caBj3Apk/BtAPiVmu4TtD4AipIuTHrtpr5Pkof6n4ycy7OKsx27a7eh/8iKiEIXnDiKpy4XCHjscyBy5IuMxukxlu9iVnXv3hze+XHTd3F8sNcMP750+AA=="),\r\nthis.addDataEntry("gmdl google media design library menu cascading menu",604,590,"Cascading menu","7VvRbqs4EP0aHoswTkjuY5O7e7VSd1VttNpnEpxg1eDIkHvb/fo12NDAQEoDTtVCpKrBYIPPmTP2zBALr6PnH8I/hn/ygDAL/2bhteA8Vd+i5zVhzHIdGlj4u+W6jvyz3N9bzqL8rHP0BYnTLh1c1eGnz05EtaiGJH1huuFIBI1ISoQ8jHksW1eBn4QkG8GRB0noH7NLBdnJW672lLE1Z1zkvfE+/2SXpYI/kbMzJP+oAQL+SzYieaCfh4iUPLfOKW/SE/pBuHw68SIvKTogT3X5RYM0VG0YLVVbSOgh1MPMsL7QT1TDoRzrFTL5RaPWjCAGCK44CwCKcjoZOtnE6M5n94weYnkmokHAchCO/o7GhwJTdfRA9tmjyvlIXHmcbuh/2XBoLo8FSeTRv3qKnaFzm6F7EyptF4IwP6U/SWX8PvDNIHxXW2D0fMiEZB+igNk7HkV+LC9ZMX9L2CNPaEp5hrlQ0yq5eKidLznxNUksp6Gduzo1nYjAl21YdXjRGrbnwKKRC1lC72VJ3/+RU/lY5c3vZtXb39Vkwvf7hKSA5XIWnYifA+L/SCXgu9Erp8bJS3WYQTnwIAfjEN985OJbAOL/iQMiGJX8Tvpr0t9yZoCGJaRhHPpbjFx/3wDxm1TQJzkAPx3CSYKNEkSuCSqQA7i4Z3LQ1Sak++z/vI2OurR2EqdMpt21VRfjMOL61ldcjgc51HFkb3WhYqBCXgX+w5KKoMBO0pMmO0GP6aSvZn15SxNUwBSDPY5FDr2RpvjyqxyCuZHNaTtp8IIGXTPuEGZZLHc9EhWOPdGCYKYFMF8wmweAl3K1txUV6rnpKEQ1N5E8QTB78ugLP5dGgW7ybjdXt/FXt5c7uc/p1Dwj+MMkxjAeTUZifnxgUAh6hFqFw8s/2cg0K4Eo3xZzkSHb0UV5PV3UfHjpFB4KL6seam6CSZgHecgzUU5h/S0qqjFReqlRqQs7JlJTCKYo/jpFWyKkdlyH0eT9O7gvCf7MxJLtwpzEQ464w4+Zg5mWlXzspYl41YWpA4D2194uzVwTMUgBYxdc9asE7bi2vmQw8KsE7tKrLH+lr32LirJjn9p4w7sFG5rvTAaWfzWaXrg9LPdWLqEzhjD0RTZqzemOCMEb1pkbiv3f+Wk7GXIrDUbKjQ31/vUpSXlk4XvZjGzokYfno23P/jl5MlOTaqjPA2auS9aFZPdUI0F3Vottgb/btPyWkW43Zlqi2kuptqZNzawfUfoBcXUhv1uYoA3GscPQdvOMRBt3Y8lINBToAZPGg4CPjQLMVANxQ7U9CCyV6ckyPluy54IoKIpcqsk1qVf4eyVDeKC1Z2GEIRj/Vhny95n3mgj6qGJe8XAj9k1mohQMw229PS4T0bYN3134/Nbec4dltMqGYfzeau0fnzYqg2gN8xn0ZUaoWkdetsPc+RcoMLruVj65wmRb3r240mIVuRcttsyF3yRbhGGEPGxUfIbf33o+OYD1NwJ7wVftcQam12CCfQPhYlvumQiEMQyEKzX2wr7LbePYDf2GST0Mo91JK+/TilF6YAjbLB29n5+Uc7M87AwGwcgesiQxGuUMQY88fP29tbr8/OfY/wM=")];\r\nthis.addPalette("gmdlMenus","GMDL / Menus",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLMiscPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;fillColor=#eeeeee;strokeColor=none;",358,642,"","Background (Light)",null,null,this.getTagsForStencil("mxgraph.gmdl","background","gmdl google media design library misc ").join(" ")),this.createVertexTemplateEntry("shape=rect;fillColor=#333333;strokeColor=none;",\r\n358,642,"","Background (Dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","background","gmdl google media design library misc ").join(" ")),this.addDataEntry("gmdl google media design library misc keyboard",358,224,"Keyboard","1dvLcpswFAbgp2GbQRLXpU2arLrqomsCsqHmViCJnaevuCi1OXhKYw9njmcyYwvkwGfQ0Y+xIYL8+FyHVfK9jGVmiG+GCOqybIdn+TGQWWZwM40N8Whwbqo/gz9dWcr6pWYV1rJol3TgQ4e3MHuVQ8vQ0LSnbGyIwyaR3eqmIbZNElZdey0j9f7bXZplQZmVdb+q4I7gwutWa+vyIPWSoixUn23YVH2vx1167N5wO/5vWbfyeHX7+6Zx459lmcu2PqlV3tO4TYY1hO0N3RKZ7pOxG+fW0Bg2Q8P+s+9fDvVkFJnXEUDnN+BR295LlEV7JvHSP8b2H+lHt7LaIrHt9jaNwmyTpftCNeZpHGe9ztgQqT2X9VIdPq+jO4yf5kmbDC/P7UxIp9tukbOA3DspOcvBkrOBnCQl55lYcg6Qq0nJMWZh0bmArqVFZ3lYdB6gO9Gi89CKhA/oXknRcYZWJZgJ7FJadjZanWAM2JW07Dy0QqFnlGd2FSk7wdAqBYNxIiRlp6cJI51rr0cH80RDis5haHQwUMSk6HwbjQ4mih0pOqanWAh2MFLsadk5As0OZoqElp2PVylgqPhFyk7NULDsOAwVB1p2Dlqt4DBUZLTsfLRaoefgZ3YfpOwmszumL0WuYQdDxZGU3WR6t6odTBURKbvp/G5VPJgr3mjhTSZ4q+LBZPFCC28yw1sVD0aLghTedIq3Kh7MFjktPAexYMBwwRbi+f3jEo+Zq+Pxid1qdAJmC06KznbQ6GC0EKTofBONDiYLixQd4xaaHUwWNi0720Ozg8nCoWXn41UKGCxcUnafnzWCHcwVHi07B69WwFjh07Lz8WoFTBUmKTvB8WoFDBWAbvYe7Py47+4bf9jncfbQJOmu052983pym/aGbdyNf6eDbhJlBbxsrPfn8vbs2+EsGCm+APcSRoemCiOJgCfYZLQT8LDTxeRcT39BeJMeTBWGeGKLo8Xc1QC2/nWoyWUo113tvLVgtjB4cIMewvcWk0mea62nB9PFAyk7cB3KNdfDg/EC2OnBTvVMq2bp6GYFW3uzvdPoZk5qqjNzcs6MbrrtJiEYIr5QG6JERgcgp5h2/eNzyc9xh/hSuOEDvD6q/XMSzOaqwj1qKgwQV4+s8TdgSw4rEViuFaj2unwt4h6ddV2Hk1fcqRaY0zMSDmdMHxgXkxH7v+HUy78/0uuXXfyG7w8="),\r\nthis.addEntry("gmdl google media design library misc snackbar",function(){var a=new mxCell("Archived",new mxGeometry(0,0,358,48),"shape=rect;strokeColor=none;fillColor=#333333;fontColor=#FFFFFF;align=left;spacing=16;fontSize=13;spacingLeft=8;");a.vertex=!0;var d=new mxCell("UNDO",new mxGeometry(1,0,88,48),"text;verticalAlign=middle;align=center;fontColor=#EEFF41;fontSize=14;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-88,0);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],\r\n358,48,"Snackbar")})];this.addPalette("gmdlMisc","GMDL / Misc",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLPickersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library picker date picker portrait",328,484,"Date picker (portrait)","7Zxdc6IwFIZ/DZfdSQgiXHbtx8VutzvTzvSa1SjMojCQ1rq/fhNBiz3YVsuJe5jVqSMhATyPoed9OeiI0fz5uojy+CabyNQRl44YFVmmqnfz55FMU8dlycQRF47rMv3nuFd71vL1WpZHhVyojwxwqwFPUfooq5aqoVSrtG4o4yg3bws51pv8Ok3SdJSlWbFeK6brh24vVZH9lo01cv0wa+Joki11I9cL9f5koeTz3mNeN9UHfC2zuVTFSndZJhMVVz2EG1TDYpnM4nqYF3hVY1RWDbPt2JcQ6Dd1FNojIkBE7uNHx9Xj2Hle6FcuDgwRY6EfBKY9W6j3Q7fIFiZqUZrMFnoxlVOzzTKPxsliZqLo15u6S/6YnQqhl01Ak3GUntejfmVKZXO9opCl7vZQR+7DBNzjCIR+1VbINFLJk9zZ/meoeICKBjEEIPRHUi3RmCeTienymsDV+vES3fss1yv8N8PNB3rZ7OfWdFEr3TRkxwdaHPlVZ0iBHrScEPxUbT/O8cH2LszzsGC7rDETxjpossD8TntdRLrew88s0Tt22Wp3ZmxGZNNpKRUgsz2uD8HyASx9ikpMjy5mxzHAuGgDtu5QHwfvHGA9gH3hnl+fmxtM9fyhBXXYNgNnfZ6BW4DBQAwBQGqTMgD87g4G1zqDGiQDZp6op8IQLep6miKEPQRhv6ES9rdPYJtokSHBGUBxTw6FG2xODqRRcIDigRwKzw3DHqCAUpverBgMGe8BCqjxr8ihGHLm9QAFFPZksqVG2spa/ldQS6A4lP68cxRbCWJJElpHE6CggULfpYrGDoetN9ItB6jNoRlMhMPJRAcSGii7PfJobIsQJDRQmg/Io7EtSnDQuFCq++TR2BYpSGigdD/c0X8Pzc6lSQtobIsWJDRQygfkZ43tTBkJDZT2IVU0ljj4KBygrt/YwvRAnC5VxmHTIvTpK33ruTIOG6j0N8YxYTbWk2UcNlD9v1ELpscmeWlo7CsHay37OprptprsNdNOCPoecyFB1j3Beo9nG2WCSxSaBpy+a2A9ycZhA10DTt82sJ5lo7AR0DbgZH0DOyAEQwEBTYIj6v7+ERAnS7OR2ECXgNO3CWyn2UhsoE3AyfoEJ0uzkdi01fqTZ2PblEZiA62DHhQJ2E6Ykdi0FAnQtw5sJ8xIbKB1QLdywBIIlCInARV/D+oErCfMOGyg4u9BoYD1hBmFjQcVfw8qBawnzDhsoAmAUCrQ+4QZhw00AXpQK2A9YcZhA00AusUCp0uYcdhAE0CQNQEsgUApPfeg4h+d/xhdft8H4/XN4PsqznbuQTY3ZyzjRMk73WqGLosod5r3JbODOXd8DbQesNpZapAdtlwMHXR0MZT7u1dDzzYb7hY1NBBuv/3HvIs5RMQcIlDWiy+/JlR1b/7Y0F8="),\r\nthis.addDataEntry("gmdl google media design library picker date picker portrait dark",328,484,"Date picker (portrait, dark)","7Zxdc5pAFIZ/DZfp7LKIcJnSJBdtms4kM7mmugpTFAZIjP313QVU9GCqlrPmOCWTDOwH4Puw5LycRUsEs7e7PMyi+3QsE0vcWCLI07Ss12ZvgUwSy2bx2BJfLNtm6teyb/fU8qqWZWEu5+UhHey6w2uYvMi6pC4oymXSFBRRmOnVXI7ULj9P4iQJ0iTNq1rh2PpHlRdlnv6SrRpZLbomCsfpQhVytdEcT+alfNt7zlVRc8J3Mp3JMl+qJot4XEZ1C2F7dbdIxtOo6eZ4Tl0YFnXBdN13I4FaaVToVkQARZ6iF8tW/dh1lqu/XBwp0aBadHk6L1vlk2oB0s3TuVYtTOLpXG0mcqL3WWThKJ5PtYpus6vH+Lc+qBBqWwsaj8Lkuun1My3LdKYqclmoZs+NcgcTsE8j4Lt1WS6TsIxf5db+/4WKA6goEEMAQn2kskONWTwe6ya7BG6rZaPuU5qpCvddubkmqY/zoJuUS1U0ZKcLLU681BmS0IOOG4KblOuPc7rYm8v9cLFt1hoJIyWazDGvaacPpZsj/EhjdWCbLbdHxqpHOpkUsgRk1ud1ECwXwFK3qFi36GN0nAKMiy5gVYPmPHjvAJsO7BN33Obe3GKqxg8tqMOuETi95BG4BugNxBAApDYoPcDv8WhwnSOoRXJULai3Qh9NdTVMEWT3gez3VGR//wa2UosMCc4AiidyKGxvdXMgjYIDFM/kUDi2718ACmi16Y2KwZDxC0ABPf4tORRDzpwLQAGNPZloqRW2so7/FdQCKA6tP+8dxdqCXAoKDwUFNPY2FRRmdF8/++hXd+i94cPeD6r72UwEEgpoox1yKEybCCQU0FoPyKEwbSJwUNjQWrvkUJg2EUgooLU+/on731B4LPgcOJdjIpBQQGvtkRsVpiNXJBTQWvtUUBjS3UXRHfro1WPYjy/8+UJXHBYdRpqekzYeu+KwgE569SCWEAvjwSsOC+iu35lLpfrGWaHV35lOtY6JOqdNncxwPZFtd7JCLwRdh9mQIOufYHPEq5VTwCUKTTqn59KNB8E4LKBL5/RsuvEoGIWFgDadk/HpZoQXDEV4aMpPmAd37kFgOgxGYgFdOadny02HwUgsoC3nZHz52cJgJBZdc9nJsTD9EBeJBbTqBJPepgNYJBYdSW96Vt10AIvEAlp1OplwQ8KjTMIR0FETzHsbD2BxWEBHTTDxbTyARWHhQEdNMPNtPIDFYQFNNkLq++ICWBwW0GQTzH0bD2BxWECTTSf5fb4AFocFNNmCjMk2JDzK1GUHOurg+ntw822f+LsvD++bAbX1zqp+KXURxaV8VKW66yIPM6v9His7mmvPOb+mw3Jrq0V22JH8G/SU/OPudvbvarXjflFDw/7w9T/mbcw+ImYfgbLa3Hz7TN28/eU0fwA="),\r\nthis.addDataEntry("gmdl google media design library picker date picker landscape",512,304,"Date picker (landscape)","7Zxbb9owFMc/TR47+ZLrY0cvD1vXSa205wgMiRYIStJS9ulnE0OBY1pgsdeTjaoScexc/r/EnPPnBI8Ppi+3VTrP7sqRKDx+7fFBVZZN+276MhBF4TGSjzx+5TFG5L/Hbg6spau1ZJ5WYtYcM4C1A57T4km0LW1D3SwL3VBn6Vy9rcRQbvLzOC+KQVmU1WotH69esr1uqvKn2FojVi+1JktH5UI2Urmg9yeqRrwcPOZVkz7gW1FORVMtZZdFPmqytkdA9YFmIp9kehgnftuY1m3DZDP2VQL5RqtgVoQDRR6zJ4/JcaE8KUrkOVzOK9mD8hOlIiQJ41i1l7PmfQln5Uyplxb5ZCYXCzFW26zn6TCfTZSaod7UQ/5L7ZRzuayEzYdpcalHNeX8ddCjWrii/rEY2LsYaBhbwuADDFLxCCguD78xnPY0H41Ul32pb1avfUXCN3WlgVxW+7lXXZqlbIrUVVCJWnb4ocU4+trm54nqt/cxqUSRNvmz2Nn+nwgdGGaAsGg2p3O+2P6V+jtNbEa2LvmhFE1U50t94PrVA8gnzkI9i2zPLMSh+CEQX84tuerRxdV+DgDKTQBWHfRxUHtAfJZEAAjzDVO9NSKR6XaY/BO3Q0LWH35/63aIgfgPJ6tuvHa3MMRE/bmeVEzRCjtRRb3T72Uuj4WRpd5MuDuiHI9r0QDVN4d6FIgEgLhDB8I4mfimeOUDg6AEkHhERyKQkx9+EhSQ+IGOREgjODmhIwGTVnz3RERJgp8ETJZv0JGIid+DzwmYL+MLneIkhp8T2EInChNq2jmJTS7hKDEzkvETa2TWDki3ZGC2zdCTMaYbFslQQmyggWk3dFexoTEnICE2NDAp99GjMWck6NDAND1Aj8acomBDw2DeHqJHY85Z0KGBifzpTvt7aHa+63MRoBmTGHRoYGYfo79rXMfOltDAVD9Bj8Z58LzeTrdoYO6/to0Rs3EePdthY3AD8NsBzsNnO2ygH7C2lhGzcR4/22EDDYE36q3k2HxeKxqHSq6MpVVnM91UbO0z7YRgFAQA4FrkLgHqHV6sfTG7QKGNQPH7CM7DbjtsoI9A8RsJzuNuK2w4NBIofifBeeAd+jbYQCfhjKK9j8bGeeBthw2DbPB7Cc4DbztsoJdA8ZsJzgNvO2xMhffo2Th3ru2wgWZCH2oLXMfQdtgYigsYfjauY2g7bKCZ0IPyAucxdGKjXIpDX6AH9QXOY2g7bKAv0IMCA+cxtBU2PvQFelBh4DyGtsMG+gIWSgx6H0PbYQN9gT7UGLiOoe2wgb5AD4oMnMfQdthAX4Dj9wVcx9CbuaZbNtAXGFx+G1x/PcRn/3nvQ8VrO08qqwc/FlneiAfZqoYuqnTrxyV0j9PQd/zdqR6w3FnaIhsZHmYOTn2Y+eC3qGRn7xeBjTIsH9oM91/+Y97FnFjEnFigLBdff/Gn7b79g0C/AQ=="),\r\nthis.addDataEntry("gmdl google media design library picker date picker landscape dark",512,304,"Date picker (landscape, dark)","7Zxdb5swFIZ/DZed/MFHuOzox8XWdVIr9RolTkAjIQLaNPv1s8FJkxynTTLs9nSjqgTGBvM+xpwXm3g8mT5fV+k8uylHovD4pceTqiybbm36nIii8BjJRx6/8Bgj8t9jV3v20nYvmaeVmDWHFGBdgae0eBRdSpdQN8tCJ9RZOlerlRjKQ34d50WRlEVZtXu5z9SfTK+bqvwlNvaIdlF7snRULmQilRv6fKJqxPPeOrdJusLXopyKplrKLIt81GRdjoDqimYin2S6GCd+l5jWXcJkXfZFArmiVTArwoEi99mjx2S5UF4UJfIazueVzEH5kVIF7aLSy1mzkT5uFyDhrJwp9dIin8zkZiHG6pj1PB3ms4lSM9SHust/q5NyLreVsPkwLc51qaacvxS6VxsX1D8UA3sTAw0HljD4AINUPAKKy+o3hsue5qORyrIr9VW77CoSvqorVcjUeW5VlmYpkyLVCipRywwPWoyD2zY/TVS/u49JJYq0yZ/E1vH/RujA0AOERbO+nNPFfmnXh4vNyEaTH0rRRHW61Hvary5AvnAW6l5ks2chDsUPgfiyb8lVjj5a+ykAKDcBaDPoelB7QHwWRwCIery4IxKZbofJP3E7xGT18Huv22EAxL87WnVj293AMGwX152KKVphR6qoT/qzzGVdGFnqw4TbJcrxuBYNUH1d1YNAxADEDToQxs7EN8UrHxgEJYDEPToSgbQJ+ElQQOIBHYmQRrBzQkcCmlZ890RESYyfBDTLV+hIDIj/CZ4T0C/jC50G8QA+J7CFThQaato7ibWXcEnCj62RWL3x6JcEdNcMHQmjnbBIghJiAwW01fDt6UdHYTYUITYU0GT76FCYHQU6FNBmB+hQmC0FNhQM+uwQHQqzp0CHAhrt49+Ev4ViQJKvie/aVKBDAZ32AN1d4TqWtYQCWu0YHQrnwezqOP2igF579ZoWEQvn0awdFga3jc9uOw9n7bCAfnv1qhYRC+fxrB0W0HC/Ml9Jls3ntVJ/Z8rSOkwyTk06meF60tjuvIJeCEZBAACuRO4ToD7h2eo9k12g0LZTfL7deVhshwX07RSfcXceF1thwaFxp/icu/PAOPRtsIDO/YRJbO/NwnlgbIcFgyzweXfngbEdFtC7U3zm3XlgbIeFaWI5OhbO3/TaYQHNO8axctcxrR0WhsFyho+F65jWDgto3hEOlzuPaWMb03k49N0Ix8udx7R2WEDfjXDA3HlMa4WFD303whFz5zGtHRbQd1sYMv90Ma0dFtB3Yxwzdx3T2mEBfTfCQXPnMa0dFtB3c3y+23VMu+47+mUBfXdy/iO5/L6Px+73wfsmU2192ao+XV1keSPuZKoquqjSjR8j0DmOQ93zWKEusNza2iAbGT5+DY79+HXvqCHZOvtZYGPakA9t/e23/5i3MccWMccWKMvNl1+I6bJv/oDMHw=="),\r\nthis.addDataEntry("gmdl google media design library picker time picker",328,484,"Time picker","7ZnbbqMwEIafhstWNuZ4maaHi2231XalvVyh4ASrECPwNsk+/drYCYchTdqGqEibKBKMPTZ8/3jwEItMs/VdEeXJA49papEbi0wLzoU+ytZTmqaWjVhskWvLtpH8WfbtnlZctaI8KuhSHONga4fXKP1DtUUbSrFJjaFMolwdFnQmh7yaszSd8pQXVSuZVx9pL0XBX2ijhVYf1ZJEMV9JI5YnUZlX41zP2ZrKi7gyF0ALQdd7b6IymTu4ozyjotjILisWi0T3IHag3RLKFolxcwJHG6NSGxY735qJPDBY+hERgIhYZELQO0EhFHpBoOx8KQ4DXPKlYhelbLGUpzOJghaqVx7N2HIhTciM9cz+qlldNbbCyGZROjFuGYvjlNZuV1wInikpUG28p3PFizjHqmF/TI3Q+7wYDhBj8gCEkNcu3oIBoO6TpIEX+9tzM48CqCZ6VBDFRlp8dCxA0g/QOMiw1S4bM4A5bfB1UE+wo8/jdQHepzPiHYCdY5+NnXd8KpWOLC8pTBJ1zuxLBp9ZnFsHrx1a2zTW4LNbp01AJ1m8fk8m7SKKozJRz4VqfW15ZeuFekJeLrI4vRQso79zNnvRsbUny4LH0a7lYNwW+rYPJOpfhphdJ9IfhhcmneB2jxXPe1s8x22rZ8PMsOtz6vAOgHj45JnBuVbfj8J7O/JthNrwHB+mhnAYdiFgB3PDl2bndNJGCNPGUOwwAvCcUcMjOITwelLuSeBhAM8dF7zOqiWedz54sDjyRgUPOx14ATkfPFg2+aOC57c3kmcNPFjlBKNiR8jhjDfU4wKWMOGo2OH2Hs92e6q/odjBEgbD1xxfGV4n8Hr3KUMtWljd4HHtkDsZr3eDPBS8nupiXFvk7rMWE+d89GB9MZ18n97c7yPYvH8COdVFtK5rf/Lc0gX5KmGCPkurcl3Jmhy8kXyfONuXafhEIrQlAAL4Pa9+XGMraBoJ9tqubftUMbM/cSYvajf1BfbaAXDhdpTl83lJBdB1dxdHSW3Daujx23+Z2zKHA8ocDqCyPK3/8dHdm38I/QM="),\r\nthis.addDataEntry("gmdl google media design library picker time picker dark",328,484,"Time picker (dark)","7Zldb5swFIZ/DZet8AdflwnterF2rdZJu5xQcIJViBF4TbJfPxs7CWCS0jWgIi1RJHzsg+F5jw8+xEJhtr0rojx5YDFJLXRrobBgjKujbBuSNLWgTWML3VgQ2uJnwS8nekHVa+dRQda8jwNUDq9R+psoizKUfJdqQ5lEuTwsyEKccr6kaRqylBVVL8JQfoW95AV7IfueNVsTaUyimG1EG4hGVObVKW6WdEvE/HM9Nyk42Z68/sqkL/6OsIzwYieGbGjMEzUCQV+5JYSuEu2GfayMUakMq4PvEYc40ES66SCDDrLQDNnvZORUH2lna16zL6vPKXZRSldr0VwIFKSQo/JoQdcrYbL1uZ7pHzmr44u2xEgXUTrTbhmN45Qc3eaMc5ZJKeyj8Z4sJS+E+6oB/02NwP24GNgQY/ZgCCGunZ+DYUA9JUkNL/D2bT2PBCgnepQQ+U5YPLsvQNQNUDuIsFUuO30C3azxxXZHsNsfx+sYeJ9GxDsAOwxHY+f2z6LCkeYlOZMkOpPBRxbn3sFthtY+jdX4HNZpHdBFFq/XkUnbiOKoTORzoVpfe17ZdiUfjterLE6vOc3Ir5wuXlRsNQH6djgPsQGw3vNm3Bbqtt9I1D81MXhMpN81L4Bawe30Fc89Lx52mupBMzMcxlw6vH1DPDBOZugN73zkQ9tuwsOemRqCYdgFBjszN3xqdriVNgIzbQzFDtgGPDxpeAgEJryOlHsReMCA50wLXmvVItcdD55ZF7mTggdwC56PxoNnlk3epOB5zY3kqIFnVjn+pNgh9HbGG+pxYZYwwaTYgeYeDzod1d9Q7MwSBpivOT4zvFbgde5Thlq0ZnUDprVDbmW8zg3yUPA6qotpbZHbz1qA8Hj0zPoinH0Lb+9PEazfPzI5HYtoVdf+YLmlCvJNQjl5FlbpuhE1ufFG8n3i7F+mgQuJ0JTAEMDrePXjaFtB0ojT12Zt26WKnv2JUXFRh6mvgNsMgCunpSxbLkvCDV0Pd9FLamhWQ49f/8vclDkYUOZgAJVF8/hnjxpe/y/oLw=="),\r\nthis.addDataEntry("gmdl google media design library picker time picker landscape light",512,304,"Time picker (landscape, light)","7Zldb5swFIZ/DZet/AEkXCZp14u1a7VO2uWEghOsQozAa5L9+tnghI/jNKlSsiKNKBIcc7D9vPaxDzh0lm7u8jCLH0TEEofeOnSWCyGrs3QzY0niEMQjh944hCD1d8iXA6W4LEVZmLOVPMWBVA6vYfKbVZbKUMhtYgxFHGb6NGdz9cjpgifJTCQiL0vpojyUvZC5eGGNElYeuiQOI7FWRqwuwiIrn3Oz4BumGjE1DWC5ZJuDnShNpgd3TKRM5lt1y5pHMq7u8LBpecz4MjZuFLmVMSwqw3LvWzNRJwaLHREFiKhDJxS9ExRCgT8ea7tYyeMAV2Kl2YUJX67U5VyhYLm+KwvnfLVUJmSe9cz/6Fo9BWiqMfJ5mEyMW8qjKGG121RIKVJV4KPaeM8Wmhf2T1WDHFUD++Oe1HCBGpMHoIRqvHyLBqB6SJMGXzzaXZt6NEFd0aOmKLfKMkKnEqR2glvj4PqVyzGiLjofqAeAPl0Q6EfQGqHL0fJPj5fKkWcFg5GgDoy2GX/ODDQOhJje7wjB4bSfSE1Ae+M5hEaWcNlFFIVFrIN/OYd2vNLNUi+D18s0Sq4lT9mvjM9fqtF0IJSCNWdfcnSk5lW3j0Tjn4YYqaPld8Mr6IxmrxMe8Kla+m9qiTFqa4ksox1Zo+35Wo6BlvjDQ4N7o38WmB8wEajnteBRyM4N+gkUAUAHI8WnRheQFjqfXgzdbsQ32LkDY+e256xnGXd+T/AwgOcNC57XWbzGcPXqDR5Mh/xhwcPtgEcsq0Vv8GCiNBoUPDLC/27kwbxmPCx41D8e8/paMGAOEwwLHumMvN2G7hLwYEqD4buNT02PtlcM21alr2kLsx08rC1yN+jZtsh9wbOkFwPbJHeWW0ui3Rs8mGDMJt9mt/eHADa7TyGmOqeu0twfInOq/Hwdc8melVW7rlWKDt5Cvk+bdyfIb2vQiZxAgN3boaYAu7UpZ0ko+Ws7t7WpYmp/Elw1al/1FfbbyfmV11FWLBYFk0DXfS9OkprAfOjx63+Z2zIHPcoc9KCyuqy/8lS3Nz8C/QU="),\r\nthis.addDataEntry("gmdl google media design library picker time picker landscape dark",512,304,"Time picker (landscape, dark)","7Zldb5swFIZ/DZet/AEkXCa068XatVon7XJCwQlWTYzAa5L9+tlgEsDOl1KyIi1RJHzMwfC8x8c+xMFhun7Ioyx54jFhDr53cJhzLqqjdB0SxhwEaOzgOwchIH8O+rKnF5a9IItyshSnOKDK4T1iv0llqQyF2DBtKJIoU4c5mclLTueUsZAznpe92EXqK+2FyPkbqXuWfEmUMYlivpJtKBtRkZWXuJvTNZHjT/XYJBdkvff+S5O++QfCUyLyjTxlRWORVGd4UN90Qugi0W4YuJUxKirDYuu7wyEPNBE7HWzQwQ6eYHAmI6/8KDtfioZ9Xn72sYsYXSxlcyZRkFydlUUzulxIE9DXeqV/1Kie4q8w0lnEJtotpXHMyM5tyoXgqezwwc74SOaKF/RPVQMdVQP6457UcA01Jk+GEvLmxSEaBtV9mjT4wlHd1uMogmqgZ0VRbKRlBE4liO0EN9rB9SuXY0RdcDlQzwD6ckWgH0FrBK5Hyz89VUpHmhXkQCawzvhLZqB2QEg/fU3IDKftRGoC2hovITSypMsuojgqEpX8yzlU80rXC7UC3i7SmN0KmpJfGZ29VdHUBjgG4TR0DYDNnqORmleP3Q3UjjY/NTG0y5bfNa+gE81eJz3AU7X0D2oJIWhrCSzRDqzZ9nItx4aW8DqpwfuYiSDlbMHDJjs36CdRBAY6M1N8anQBaqHz8dXQ1RHfYOcOjJ3bnrOeJe78nuBBA543LHheZ/Eam6tXb/DMSsgfFjzYTnjIslr0Bs8slEaDgodG8N9FnlnXjIcFD/vHc15fC4ZZwwTDgoc6kVdv6K4BzyxpoPlu41PTw+0Vw7ZV6WvamtUOHNYWuZv0bFvkvuBZyouBbZI7y62l0O4NnllghJNv4f3jPoDNx8cmpl1NXZW5P3jmVPX5KqGCvEqrcl3JEt14C3meNmcXyIc16GROQ4D67VBTgHptygmLBH1v17Y2VfToL5zKm9oOfQP9dnF+43WU5fN5QYSh6/YpTpIamfXQ89f/MrdlDnqUOehBZdnc/cFTnd78/+cv"),\r\nthis.addDataEntry("gmdl google media design library picker year picker light",328,484,"Year picker (light)","7Zhbc6owEMc/DY+dyQURHj308nAu7YydOc8ciZJpJExIq/bTnw2kKiVSsaVP4OiQ3Ww2/n9x1sWj8Xp7p5Ii+y1TJjx649FYSanru/U2ZkJ4BPHUo9ceIQjeHrk94cWVFxWJYrk+J4DUAS+JeGa1pTaUeiesocySwtwqtoAlfyy5ELEUUlVeuqwusJdaySd25GHVZTxZksoNGDEMbD6mNNue3HNlshu+Y3LNtNrBlA1PdVbPoCSswzLGV5kN80O/NiZlbVjtYw8SwI1Vwa0IbSnymD17BOLQrFDwiWlPiRCKgjA0dpnrj6XLZW5USwRf5TAUbGnWLItkwfOVUTGwS835q0lKKYyNoHyRiJmN+ie1lmtwKFbCtL9WubMJkMsIREFtU0wkmr+wxvqfoeK3qACIaQsEfCXtUGPN09RMeU/gtroO6j7KAhxBp9x4AmOT595M0TswTdHlQtMLjzoaSOiJS2i/t9Bvp3cBX5SptvL+tXk5lP3e8+qHPWW0KR4kh8wE7ZrH/i1CLpcl0y3Z9xs7i0TgIjEZSXSSwL4/AIqpC0UwouhGEZEBUIRfUwg+QtGo2RYFib4dxaRvPXWj2JeLL0URuVCE46+iG8UgtQIjF4toZNHJgg5SLDB2sLBt2MjiJItBqgVu97fx7E988+sUjWMtaUdZaDQM5u//JuOazcFqQjfQzzeaCNQb9Nxu7bP4mgG7xugI7RQ5ik/fHuMdWZv6Cgeokf1qMkQ1wu3G/f7niLmJORoQczQAZRgenoXV048flf0H"),\r\nthis.addDataEntry("gmdl google media design library picker year picker dark",328,484,"Year picker (dark)","7ZjLbuIwFIafJstKviQhWdK008VcOhKVZp0hhlhj4shxC8zTzzE2lDSXIS3pKiBQ/NvHdv7P6HDi0WSze1BpmX+XGRMevfdooqTU9mqzS5gQHkE88+idRwiCj0e+dPTiQy8qU8UKfUkAsQEvqXhmVrFCpffCCVWeluZSsSVMebviQiRSSHXopT4xb9ArreQfduwpZMGMmKeZ3EIbQ8MtxZRmu87tHiS31wcmN0yrPQzZ8kzndgQlkQ3LGV/nLsyPfCumlRXWp9jXu4cLZ0C7GbRhxlP+7BGIQ/NSwTemA90JDi+jy0Kf6avDq8u1VPB1AU3BVmbOqkyXvFgbF0M31YL/NYtSCm1jKF+mYu6ifkut5QY6wGb9aGL1HuQZAkmxCiJ/OTMvhkLeByUOraaYSDV/YbX5PwLKb4ACNrMGG2NAi0EbnmVmSDcUa/iTLKEj7CWAj3CvYzR95+lHIxkdtBntDzb6eKCXcKNM9Tj/1tnPPa9+NNBGt8RPyWFlgvb1Y3+MkKtVxXTD9tPGLiIRtpEIJhK9JLDvj4Bi1oYinFD0o4jJCCii6ySC/6GIUHKb+HUUJP50FMHQfNqO4pQurooibkMRTb+KfhSj5AqM2ljEE4teFnSUZIFxCwtXlE0sOlmMki1ws9pN5j+S+29dNM69pD1poVYwmL//25xrtgDVhG6huq8VEWgw6IXb2kfx1QP2tdYZ2hlqST5Da4w3ZN3SNzhEtdVvgjGyEW7W8o9fJ8x1zPGImOMRKEPz9cmYHX7+4Owf"),\r\nthis.addDataEntry("gmdl google media design library picker date picker landscape light",512,304,"Date picker (landscape, light)","7ZhNb6MwEIZ/DceubAwEjlnS9rDbdqVU2rMVnGCtg5Fxm2R//Y7BSSCQJrRB2gNEkZjxjD/exwYNDonX20dF8/RJJkw45N4hsZJSV3frbcyEcFzEE4fMHNdF8HfchzOtuGxFOVUs09ckuFXCOxVvrPJUjkLvhHUUKc3NrWIL6PL7kgsRSyFV2UqW5QX+Qiv5h9VaWHmZlpQmcgNODIYdjynNtmfnXLrshB+ZXDOtdhCy4YlOqwgf24mmjK9Sm0aQVzlpUTlWh9yjBHBjVehWhLQUeU3fHBfyAlgURrCGaa4gApOeUiEUBWFo/DLTlyXMZGbUo4KvMjAFW5o+i5wueLYyaga2qzn/awYlBGwjLF9QMbVZWubHpFdjzLB3LQb3IgYchANh8FoYQPFJS3GYvu5Y9poniQk5lfqhvE4VCT7UFftgm3FeTIjegWtidoFiBQT8tmJcvbfJ50T1qnOMFBNU83fW6P8rQvtdQnu9hd5v0wUslKm28t7M/DqU/aSMZ/amTUDfiBvarJqyxPM6tmswkLJBl7L+qOx5Ze2ovySHybho1+xmnyGXy4LpFonDXK+CM+mCE4xw+sKZuAPACW/z8L8Ep/FCtnDc6H+As/d9EQ5G4QB0oi464Xh0etPxhzg7GHXhiUY8vfGEQxwejDvw2CJtxNMDz6FEuC2edkEcT5/j+5/nANXlJR+8YhoFhykfNinXbA5ek7pRtFan2Yh+7Od2ajciahN2DauGdoLaZP2+NcoJWTv0HQ5QY/S7fce3Rd2u9F9+jJibmKMBMUcDUAbz+PGsCq9/W/sH"),\r\nthis.addDataEntry("gmdl google media design library picker date picker landscape dark",512,304,"Date picker (landscape, dark)","7ZhLb+IwEMc/TY5d+ZGEcKTp47CPrkSlPVvEEGtNHDlugf30O04MTUigpCVSDzFCiscz9vj/s0ETj8br7aNmefpTJVx69N6jsVbKVE/rbcyl9AgSiUfvPEIQfD3ycGIUl6MoZ5pn5pIAUgW8MvnCK0tlKMxOOkORstw+ar6AKW+XQspYSaXLUeoT+wF7YbT6y2sjvGx2JGWJ2oARQ8etx7Xh25M5lyaX8CNXa270Dlw2IjFp5RFgl2jKxSp1YRT5lZEVlWF1iH2TAB6cCt2K0JYiz+mLRyAuhE1hBHuY5Ro8MO0pVVA2a1eZqdmXZWtJmKnMqsekWGXQlXxp5yxythDZyqoZuqnm4p9dlFLoW2HFgsmZizIqfwt6tp077F+KgbyLAYfRQBj8FgZQfNJSHNI3HdteiySxLsdSP5TtWJHwrK7YIrPrPFkXswPTxJ4CzQtw+OPEuPhs04+J6lf3GGkumRGvvDH/Z4QOuoT2ewu9P6YL2CjXZw75sbIflPHE2XQB6BslkYuqKUt9v+O4hgMpG3YpG4zKnlbWrfpbCUiGoF1zmn2EWi4LblokDrleBGfSBScc4fSFMyEDwImu8+P/HpwIxbex34RDpl8Bzt72STgYRQPQmXbRicar05tOMMTdwagLz3TE0xtPNMTlwbgDjyvSRjw98BxKhOviaRfE8exXfP/jFKC6vPTMX0yj4LDlwyYVhs/BakM3mtXqNOfRj/3cpXYloi5g1+jV0E5Qm2zQt0Y5IuuWvsEhaqx+s5/4uqjblf7T9xFzE/N0QMzTAShD9+3lWeVef7f2Hw==")];\r\nthis.addPalette("gmdlPickers","GMDL / Pickers",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLSelectionControlsPalette=function(a){var b=this,e=[this.addEntry("gmdl google media design library selection control checkbox on hover light dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#009587;strokeWidth=2;aspect=fixed;");a.vertex=\r\n!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, hover))")}),this.addEntry("gmdl google media design library selection control checkbox on focused pressed light dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#009587;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#009587;strokeWidth=2;");\r\nd.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, focused or pressed))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#B0B0B0;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled focused light",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#B0B0B0;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox off hover light",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, hover, light))")}),this.addEntry("gmdl google media design library selection control checkbox off focused pressed light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");\r\na.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;aspect=fixed;");\r\na.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;");\r\nd.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#676767;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, disabled, dark))")}),\r\nthis.addEntry("gmdl google media design library selection control checkbox on disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#676767;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],\r\n48,48,"Checkbox (on, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off hover dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#ffffff;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, hover, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off focused pressed dark",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#ffffff;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, focused or pressed, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled dark",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, disabled, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");\r\na.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button on hover light dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#009587;fillColor=#009587;strokeWidth=2;aspect=fixed;");\r\na.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, hover))")}),this.addEntry("gmdl google media design library selection control radio button on focused pressed light dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#009587;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#009587;fillColor=#009587;strokeWidth=2;");\r\nd.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, focused or pressed))")}),this.addEntry("gmdl google media design library selection control radio button on disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=#B0B0B0;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, disabled, light))")}),\r\nthis.addEntry("gmdl google media design library selection control radio button on disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=#B0B0B0;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],\r\n48,48,"Radio button (on, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control radio button off hover light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, hover, light))")}),this.addEntry("gmdl google media design library selection control radio button off focused pressed light",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control radio button off disabled light",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, disabled, light))")}),this.addEntry("gmdl google media design library selection control radio button off disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");\r\na.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control radio button on disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#676767;fillColor=#676767;strokeWidth=2;aspect=fixed;");\r\na.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, disabled, dark))")}),this.addEntry("gmdl google media design library selection control radio button on disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#676767;fillColor=#676767;strokeWidth=2;");\r\nd.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button off hover dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#ffffff;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, hover, dark))")}),\r\nthis.addEntry("gmdl google media design library selection control radio button off focused pressed dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#ffffff;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],\r\n48,48,"Radio button (off, focused or pressed, dark))")}),this.addEntry("gmdl google media design library selection control radio button off disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, disabled, dark))")}),this.addEntry("gmdl google media design library selection control radio button off disabled focused dark",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control switch on light",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,36,20),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.switch;aspect=fixed;switchState=on;strokeColor=none;fillColor=#0E9D57;");a.vertex=!0;return b.createVertexTemplateFromCells([a],36,20,"Switch (on, light)")}),this.addEntry("gmdl google media design library selection control switch on dark",function(){var a=new mxCell("",new mxGeometry(0,0,36,20),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.switch;aspect=fixed;switchState=on;strokeColor=none;fillColor=#80CBC4;");\r\na.vertex=!0;return b.createVertexTemplateFromCells([a],36,20,"Switch (on, dark)")}),this.addEntry("gmdl google media design library selection control switch off light dark",function(){var a=new mxCell("",new mxGeometry(0,0,36,20),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.switch;aspect=fixed;switchState=off;strokeColor=none;fillColor=#0E9D57;");a.vertex=!0;return b.createVertexTemplateFromCells([a],36,20,"Switch (off)")})];this.addPalette("gmdlSelection Controls","GMDL / Selection Controls",\r\na||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLSlidersPalette=function(a){var b=[this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;handleSize=10;shadow=0;",200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),\r\nthis.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=10;shadow=0;",200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=10;shadow=0;",\r\n200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderFocused;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;handleSize=30;shadow=0;",200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),\r\nthis.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderFocused;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=30;shadow=0;",200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderFocused;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=30;shadow=0;",\r\n200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;handleSize=20;shadow=0;",200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),\r\nthis.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=20;shadow=0;",200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=20;shadow=0;",\r\n200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=none;handleSize=6;shadow=0;hPos=0;",210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),\r\nthis.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=50;",210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=100;",\r\n210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;opacity=100;strokeWidth=2;fillColor=#000000;handleSize=10;shadow=0;",200,10,"","Discrete slider (normal, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider normal light","gmdl google media design library slider ").join(" ")),\r\nthis.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=60;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;",200,10,"","Discrete slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=100;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;",\r\n200,10,"","Discrete slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscrete;barPos=1;strokeColor=#BEBEBE;opacity=100;strokeWidth=2;fillColor=#BEBEBE;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl",\r\n"slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscrete;barPos=60;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscrete;barPos=100;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",\r\n200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=0;bright=1;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl",\r\n"slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=60;bright=1;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click light","gmdl google media design library slider ").join(" ")),\r\nthis.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=100;bright=1;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click light","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=0;",\r\n200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=50;",200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled",\r\n"gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=100;",200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#ffffff;opacity=100;strokeWidth=2;handleSize=10;shadow=0;",\r\n200,10,"","Discrete slider (normal, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider normal dark","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=0;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,\r\nthis.getTagsForStencil("mxgraph.gmdl","discrete slider click dark","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=60;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark",\r\n"gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=100;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark","gmdl google media design library slider ").join(" "))];\r\nthis.addPalette("gmdlSliders","GMDL / Sliders",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLSteppersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library tab stepper",704,478,"Stepper","7Zhvj5sgHIA/je/5o619uXO9y5KtW7LtA3gTKxkVg+zWfvuhQK8W2dwOlt1ykqb6U1CeBxBMcHE43omya97xirAEbxNcCM6l3jscC8JYggCtEvw6QQioX4JuPWfheBZ0pSCtXJIB6QwPJftGdEQHenliJtA3ZTfsCvJFFXnTS8G/koIzLlSw5a06d1NTxmwoQbgeNxU3pRMhydH7hGPIPN4d4QcixUld8p1WstFXrEGqszWE7huTLV3nOlj2OrA/532ssNoxdZ6vP3bqD70AVE7a9WQhgxTl2W06xHkr/5gN+iUbNIPGxgRhpaQP05rN4TJ3+MCpujECx2kxp+mhLYDXdU+kQ/v8mIsEpI6AXXkgKsLr0QLp1J/fydJGaUIlo/tWHTJSS6PmoykUBlQCQDQn2Sq+k2z5oMDoyLWigwjK2xG1GEBcOVEt/35M4TDDOcqbVRDMGE4wZzEwr6KMvffVkMJRzizRS8xwA4JgXoEp5jwC5rWDuXi/+/Rm93kbAvcwzNd/YZiHALkacJjGfmUBrVEEDbmr4dWu2L4NIeEM+0pCDob0PCRASz2qhY1jwT/o/N58Z0OG9D/Nd7B91wY1YN9aP5/xPP1V4J/xXMgpx+1Zznwi2YGOHfzSQTwdJLWDR1gF7pp0poP4rbx0kKh23BWz18Q/tzjIgnC+WhtgOxd+Cmd1+PjRR19++U3oBw=="),\r\nthis.addDataEntry("gmdl google media design library tab editable steps",704,72,"Editable Steps","5VfRbpswFP0aHhcZm5DkNcnal1aq1Ic9u3ABqwYj43bk72djk4ZBVqpgbdKwEtnH9uX6HPsAATmU7b2kdfEoUuAB+R6QgxRC2VrZHoDzACOWBuQYYIz0L8B3V3rDrhfVVEKl5kzAdsI75W9gEQs06sQd0BS0NlUJiQ65b5QUr3AQXEgNVqLSffuMcd5DASZZd2ncRQepoL2aYQe59O5BlKDkSQ/5yVJV2BEbFNlpBbC8cNM2LlXa2HZ+nvqxXl1xS55ePhkt/xm4WSdGCS1ryvLKkAFKsSpvrlKjg7K6gZnsRHi7vosMLip1gaPu0jinL8CfRMMUE5Vh3i56T7nJhxw5ZJ0SNU10Wg9d6xgiF/HZ5RfO5R9/yj+eoL/HJHCq2DsMwk9p4u7wJFhl+G2HYU7DZh9AZJlmfyTpOc1ZKkefb/KUNgWY4YbFXtayzc3BXOVlyleQMj/bn0zT7yag1XpA0Ll9IU+IxvL02I3yfBvevW8uKs96vgdxVo1PmWb8pSvLbfidP0YxigeUktADpfGI0oMEqsDcxzgaTfVfLsVbvZCn7cAUL57273sY+U1SLya2WcLEkgKS16kDdLYs2/PD8Ybn8h/fbmLYn4kN5fFiYtv/ysSiGPk3sd2IUuLZrb724P6rnrOOt/49p98tf3yO3Pi54KB577YXWm2RKctpFU69RS0l1g4vLpZufnwm2uGXX5G/AA=="),\r\nthis.addDataEntry("gmdl google media design library tab noneditable non editable steps",704,72,"Non-editable Steps","5VdNb5wwEP01HLMyNuzHdXebXFIpUg49OzCAFYORcVL239fGZgMFukQFVVWwdoXHnvHMe/az8Mgprx8kLbPvIgbukW8eOUkhlH3L6xNw7mHEYo+cPYyR/nn4fmLUb0ZRSSUUao4Dtg7vlL+BtVhDpS7cGaqMluZVQqRDHislxSucBBdSGwtR6LFjwjhvTR4mSfNou4sOUkE9mWFjcuk9gMhByYue8pPFKrMzdiiwbhmwNHNuO5cqrWw/vbp+1KtfXMnj5ZNB+c/ATZ0YRTQvKUsLAwYoxYq0moRGB2VlBTPRCfA+vA+MXRSqY0fNo+2cvgB/EhVTTBQGeVv0kXKTDzlzSBomShrptB6b3tlHc/HGN/HGI3C3NgmcKvYOvfBjHLgVngQrDJ51P8yl320DiCTRaA8ovKY5i9Xg9qaOaZWBmW5Qa2nM69QcxE2ax3wTZRC9Dhjtbm478sPBhufCT8bhdw5oE/YAuvY79Ph4SI+PFqHnbttb/S5cgZ5wvuZwVgxPlebgpWnLbfgDWg1RjPqQEn8FSLcDSKcxXUasPifx/1RyyG8MrKI5uwEDJwlUgVnH3CE01n+pFG/lX1+wrWni9rh9SxjPZ7e+vyCFaOQULcUhQetzuP9SwhRs+5CuIkyHAaRkIWE6gGn/tTCF2/36m7rdLX9UpmUUaZ7ydLjaI9OW48r311Og8IAXJ0t3Pz717PTul+Av"),\r\nthis.addDataEntry("gmdl google media design library tab mobile step text",358,642,"Mobile step (text)","3Zhdj6IwFIZ/DZeaQvnQS8VxLvYjm51Jdu82HSkfmUJJ6c7q/vottCAIjKiwMxmMxh562vI+ffWABt14f89QGn6hHiYavNOgyyjl8lu8dzEhmgEiT4MbzTCAeGvGtuesXpwFKWI44UMSDJnwgshvLCMykPEDUQEPZSHOuwMNrrMQpXmc4Z0Yf+1HhLiUUFZ0hetN/sq7cUafcXkmoYnIWaupMON437vcIqTWeo9pjDk7iC5/Io+Hsge0FjItxFEQqjTbVAtHmQwEVe7x6sUXJUC3GLAlhi7WsoLgIk0QiYIkb8rVnWoEoe1s7D6NfJrwWudtceSdU7SLkuC7umLzGHqkqQjoKvdBrRGU7ehv3tShaDOcidYPpaQ+lIhxHRHDlDGGCeLRC26Mfwsl88otG++D3GbzIPbInNP01xNiN21V2C1MM+GgXDi3ZLsmm2m3VdMvVU3N/41GYlnV5LOl0Zh+5jRHoL6fYd5SvbqKQSCsFgiXYcTxRW7pdkHTMqaxsLZm5w6u7XEDnPePNMtSBHK20Q6RlXIrz89U3iXY58esz0Vr4xgTW8ayb4N/aDpvVNj2GK5LGfaxkGmHs4Ho/eIYqrt1VvdSm4bnbpR93xympAAmoOC0KDxwnIqIuCxAffFhj+4+38pf59xX/MOcuA8Ux0ju0+2J3WcuRnHfYgruiw732YQXioj5wHrlfnpH4O3i6OAcR56XL29i1IdGwn8CP1vaE5Bftsh/vfv5KKmLPRDwSqqxyKvQhNDLyvikqB2OfTGk8qph1wEYH3tZalWDj8pdB1f+4V5g8Or3edw7g7dxXznOuBT0McqeJ7R7biGpFzd9XGRGyWVw+Sn3Tq8/wLws3V+5OdG7CqWRbk6cxuyT3JvoAx5slKxEZpRm+F0R+viA2g9begF1/qS9JR3no+ERzeMzR9m9/kjyHw=="),\r\nthis.addDataEntry("gmdl google media design library tab mobile step dots",358,642,"Mobile step (dots)","7Vlbb5swFP41PKayMZfkMZemD7to2iptb5MbDEF1YmS8Ltmvn8GGQCANSUwitXUUCR98bPN9/ozPwULT1eaB42T5hQWEWujeQlPOmFBXq82UUGrZIA4sNLNsG8i/Zc8P3IX5XZBgTtaii4OtHF4w/UOURRlSsaXaEOB0SbLmwEKTdImTzM7JQvY/CWNKp4wynjdFk1n2y5oJzp5JcWfN1tJnoociXJDNwenmJj3XB8JWRPCtbPI3DsRStUDuULktSRwttZvn6InjVBmi0nf39PJCA9AOBmqAAeVcxgichAmmcbTOqmp2+xgh5Pkz7xBGIVuLSuN5XrLGCV7E6+i7fmJnZ3pkiTRA7ftDzxEU9fhfVoVI1jlJZe2nRhJ2ZcQ+jxHbUTZOKBbxC6n1fwlLzplLdrWJMpndRauA3gmW/H7C/KKlitqBqTtstQrvXFWvwOZ4TdTgqajp8b+xWE6rHHwwsmvDD/x6DywMUyIaqJdP0YkIt0HElBMsyElqaVdBXTKOPXTnTusKrqxxGxzXjxLLSBoybuMFpmOtVpHdKbVLSSh2Xp/z2sy3e5aM611G/rauPKNkeyZUl3ASEgnTgqQdqQ/z0hV39yjuBTY1zV0I+6beTcEC6IEFv4UFj4ocHzkemIynn4zLL3Sz3zH55a+YPfl5eWlR2yoOgmx6rwsOehcKbltzOCY/Z2hEfoOR1wPzwwbzX+9/PSrW5RqIRAmVKeYrJxIjFBfnob2jTHeS/S7v2wrJEADzJBcv2LJzoyyPju+yBY3SMU5S0lHDOC9mkG47y7QcZczsqgMH1bdV2APsEHzgvo97seP0ijv8wL2xsVxjvXcI+8/DvTyq94R7y2vbzIZeD9d6ObzBZn7hva926F9hsXdIGLwz2JF9Bdib6YEG7JdGJiAvxlNbtwkbin7MsmAkbn/Ci+cGJdXo/BAvyqPgpXP+BB4I5EutFLmnV7JrsC3SN5Rdq+9avSTXYFuof+KudUuG3j5BzYj8IEGtW9ot2fHfGj2yuvtopppXv6n9Bw=="),\r\nthis.addDataEntry("gmdl google media design library tab mobile step progress bar",358,642,"Mobile step (progress bar)","3Vhdj6IwFP01PGpKy4c+Ko7zsB/Z7E6y+7bpSEEy1ZLSndX99dvSgqCoqDUzGYwJvb23vZzT015wULTaPHKcL7+wmFAHPTgo4owJfbfaRIRSB4IsdtDMgRDIvwPnR3rdshfkmJO16BMAdcArpn+ItmhDIbbUGGJcLIlyBw6aFkucKzsnCzn+NMkojRhlvHRF05n6KTfB2QupetZsLWOmZirCBdkcTbc0mVwfCVsRwbfS5W8Wi6X2QP5Ihy1Jli5NWOCZxHGhDWkdu3t6eWMA6AYDHYDhylwmCFyECaZZulZNnd0+RggF4Sw4hlHC1qLhPC8v5ZzjRbZOv5sn9namJ5ZLg2tif5gcQdXO/qmmi2Sbk0K2fhok3b6MwOsYgZ62cUKxyF5Ja/xbWPKuXLKrTapkNkxXMR0Klv9+xvympYq6gWkHbI0Kh75uN2DzgkPU3EtRM/N/Y5lMq558MIat6QdhewSWJAURB6jXT9GLCP+AiIgTLMhFaulWQVsyHhz5c69zBTfWOATn9aPFMpYGxW22wHRi1CpUT61dShKxi/pctmYhvLNk/OA28rdt5VklO7ChupyThEiYFqToSX1SXn1x98/iXmHT0tyNsG/aw1QsgDuwEHawEFBR4iPnA9NJ9Mm6/BJf/c7Jrzxi9uQXlFeH2lZZHKv0TgvODW4U3LYVcE5+3siK/Abj4A7Mjw6Y//rw60mzLtdAKmqobDHfqEisUFzVQ3ulTH+Swz7nbYNkFwD7JFcHbD24VZbHdnZZlkqpFtOO+qZ5muqeSs6K23jjqoGHoR1K6qLnRBHkurBjRwZ2SAraW/LAvwNlVa7XvkL12YFBeVkv4d9me6zGscuCa0M5z3jx0iWZugo5xktbSr3rRL12TugH9hBQV0Vj6S0ibMvnHi8RlfxPEVdxJSOzvCDviqGPT9DhV5GjBHVuaW/JTvjR6JHN3cdB7d78dvgf"),\r\nthis.addDataEntry("gmdl google media design library tab editable steps optional",704,72,"Editable Steps (with optional steps)","5VfBjpswFPwajhsZOyHJsUm6e2nVlfbQsxceYK3B1Dgp6dfXxoaEQrpUAVVVgxLZY/v5vRkzAY/ss+pJ0iL9LCLgHvnokb0UQtlWVu2Bcw8jFnnk4GGM9NfDjzdG/XoUFVRCrsYswHbBifIjWMQCpTpzB5QpLUxTQqhD7kolxRvsBRdSg7nI9dguZpw3kIdJXH807qKDVFDdzLCGXHpPIDJQ8qynfGeRSu2MNVraZSmwJHXL1i5VWtp+0i691KsbruTh8kmv/Bfgpk6MQpoVlCW5IQOUYnlS3qRGB2VFCSPZWeLN6nFpcJGrKxzVH41z+gr8WZRMMZEb5m3RO8pNPuTAIa6VKGio0/pU9w4+chFfXH7+WP7xu/zjAfobTAKnip2gE35IE7fDs2C54bfqhjl3u00AEcea/Z6kbZqjVF6+f8gjWqZgphsWG1mzKjE35iLJIr6AiM1z/Mkw/W4BWqw6BLX9K3l81Jenwe6U56G7e9OdVJ7VeA/iLO/fZZrx1/qa7sBv52MUo6BDKfFnoDToUbqXQBWYfYyj0Uj/JFIcCw8H3JzriJ10M1E1hxYyZtKRIfh2FM3AQ8l+aPSDnuD7RXUZNNbZCnMBG4muILvbl8K4HOXNrro0u3E3GQ13UpzEibdgrlmcOFUZ/2dMmPxyJmdx4fUULhymEL4NOUDruXbkq+MNj+U/uN+F8Xwu3JVnFhfe/FcuvAzQ/C687VFKZjauP3vy+Kueswo283tOc1p++0d45/uOg8Y9nF9ptUHmmk4rf+gxcCqxtnhysXT38p5rp1+/Bv8E"),\r\nthis.addDataEntry("gmdl google media design library tab noneditable non editable steps optional",704,72,"Non-editable Steps (with optional steps)","5VfBjpswEP0ajomMHUhybJLuXlp1pT307IUJWGswNU6W9OtrY5OFQhqqgqqqQYnsZ88w894wDh7ZZ9WjpEX6WcTAPfLRI3sphLKjrNoD5x5GLPbIwcMY6a+HH26s+vUqKqiEXI0xwNbgTPkJLGKBUl24A8qUFmYoIdIud6WS4hX2ggupwVzkem13ZJw3kIfJsf5o3HkHqaC6GWENufAeQWSg5EVveWOxSu2ONVpZsxRYkjqztQuVlnaeXE3f89UDl/Jw+qSX/jNwkydGEc0KypLckAFKsTwpb1KjnbKihJHsrPAmeFgZXOSqhaP6o3FOX4A/iZIpJnLDvE16R7mJhxw4HGslChrpsD7Vs4OPxvKN7/KNB+huMAmcKnaGjvshDdwdngTLDZ9V182lO20ciONRs92T8BrmKFVX94s6pmUKZrthrZExqxLzIC6TLObLKIXotadou7jtyldHGx5LPxmm3xmgZdAh6DpvyePjvjw+mkSeRdi5+yKYQZ5gfM/hLO8/VVqDl/qaruC3aDZGMepSSvwZKA17lN7mdJpm9Xst/q+2HPKTArP0nHVPgb0EqsDcx5whNNY/iRSnwsMhN+07Zmc9TFTNoYUMx+boudIcfjsJu6Ep+RbUErcBjYPFm6Pwg96SC5lRE6e1qNdL9h3squ8XVdujjeZLYc4dY2Wj0qnbwLrBariTwh/+bWigG2fi/bPPWD67+/t6nqqMu+FUNYoG2sRURUrQ/EW6+a867yrsUjpL5932KCUTdd4tmOuf7rxBuJm/qJtq+WXrnaY5jWtCLa02yFzTaeX783WgYIsnF0tP399l7fb2q+4P"),\r\nthis.addDataEntry("gmdl google media design library tab mobile vertical stepper",358,642,"Mobile vertical stepper","7VrZcpswFP0aHpMREov9mDhJpzNt2mm6PHYUI4ymYinIrd2vr4SAgAUxDqJNM4WJg65WztHR1YKFVvHuVY6z6G0aEGahawut8jTl6inerQhjFgQ0sNCVBSEQfxa8GYi1y1iQ4ZwkfEwGqDL8wGxLlEUZCr5nlSHARURkcmChyyLCmbTnZC3KvwwpY6uUpXmZFIXlJZPxPP1G6pgkTUSey6oqknOyG2xuaara+oqkMeH5XiT5SQMeqRTIXahsEaGbqMrmOVXDcaEMmybvw9uLhwqAfjCQBoYt2nKBwEmYYEY3iQyq1h1ihJDnX3lDGIVpwluJb8pLJs7wmiabD9UbOw+mj2kmDHaV965qI6jD9JcM2kiEc1KI0JcKSXssI/BpjEBH2XLCMKc/SKf8KSw5T+yy8W4jZXa+iQN2ztPs6z3OJ3VV1A9MN8O+UuG5q8It2BxPR80+FbWq/vcpFc1qKj9bwk71Z363hDQMC8I11Ju3GEWEqxGxygnm5CS19KugKxkHLtwbp7cHt/o4BMf1o8SyFAbJLV1jdlGplcuYRruMhPwh15sydOXDmSXjetPI33eVZ5Rsz4TqspyERMC0JsVI6huPMgp39yjuNTYdzU2EfdctpmYBzMCCr7FwR5gUkqgnkT9ZZkmqkA1KzDzGK1GIyHUDq/d9KycYIgFallfb5G3k/7ttHONcKkvUHoqfhJBAsFsVKRqqSlWptb5Q0y+aT7OCnCr0AxmD8hJ2hu8Je58WlNO07WMf1W2JRcRjZtbr9XWlk51ef1eqi6m6kg3gDH1pYULR64isv2ns6lPBeswePYT6jzrXxp0+4l5t2CN1YMa9dqV+5s5Az/I4PTUjjJZiCqj0qUoYSZpLHHRe7svbnApqRNsoIzMoo+4UykZz+LW6/S2ch4E2M5qd5tOe1UDkzzEQ2bZGwSpNQrrZ5qR0bJjtxVytEM+hwBACHtGidnYDTI2dXVamA//RXkmZ9BigRyyGmHK9P8HUiO2C5zooQX8xx6gEwSyjkr4VMbmrS5wDeRvs0H7fEtYQ0B44AHoxB9D6bsLq3e3H17efrk0ALl1A+AdcQDND7LhhM+uaAx4cMMfCxu7ZTLi4XV2/McFCg/YBCwsg73+DhWZAn5cGfZmPBhk4bTa0JPJ+SbMhZzHLiHR0jR+oiVCMlUkGExyTOmqbUD5ZNcPzovboFsj7n5wfzcSdvqZ2/stnQD7u4ZGNGQr0dfNnSn5KCgjfZjJlIvDelnPS4r9OjuhkHpKgvugeZOLZrSNm2dxwa89rFmd9Za3hPPVwptmbNXu8uO9kOHZy4kxcctQbec4cXqEGfdpO6z0+stE6xMsTN2CHTuKbHVg4Ygu277TF0Amn36l9lgPOng8CTvbmf5Ohl0/QiG8BHh3S/iY7/kujRwQfPlxSydvfNf0G"),\r\nthis.addDataEntry("gmdl google media design library tab stepper alternative label placing",404,50,"Stepper with alternative label placing","1ZbfboIwFMafpvelxamXyqZXu9oTdPYozQolpTrd0+8A9Q8pJCY6dDRo+x1O0/OjXyjhSbZfWlGk70aCJvyN8MQa45petk9Aa8KokoS/EsYo3oQteqJRHaWFsJC7axJYk7ATegutKUp30F4pU1FUXcxURYm9+drk7kP9VGLEcFw6a74gMdpYlHKT1w8prY8SYTxmk9Ei9skX+rq+UBdabXLUVrh0wOB8B9apldAzH8iUlNWa5n7NGIZ9b9215ItegsnA2QM+4hP4pMn4VtKlHkXcSCmoTeramiib8eY00ZkpdjzWbsQ8QDyTON7myuGfBCeULnuhW1i5EFosq6Yv3wO/5j146RaAB18VDQBGlHYQpLcTjAOCvbi0qgtsg0Bgn3W7z94Z+5I8iXEIIuoAEd0BxCgA0U/iNrdOoWrP4tZoGu62v7LrS7ddSwT4j1x6TBix1l4d0rXj53LtySvD23YSkOCPsu09Pp0xG8yM04BcYkE4qKbNqx85rCWHPaPQeCjz4vB85qxjrSPpLw=="),\r\nthis.addDataEntry("gmdl google media design library tab stepper alternative label placing optional",404,50,"Stepper with alternative optional label placing","zZbNcoMgEMefxmNnFMzXMTFtTz21L0CFKFMEi6RN+vRdFJM46DSdJE7CROG/gOwPdocAJ8XuWZMyf1GUiQA/BjjRSpmmVuwSJkSAQk4DvA4QCuEfoKcBa1Rbw5JoJs05A1Az4IuILetMUZm9cEqVk9JWYSQvK6itKqPVB0uUUBp0qaQVN1yIVgoQjtF88hRbXUlzom/qn9Nf+Y+dOULQJoJnEhopLJ1B59UX04anRCydoeCU2jWt3JrBzHaDfteSc/qZqYIZvYcubgCeNyO+OTW5QxE3Us54lpuuRqqmnR0mOjKFisPajxh7iJcU2lvJDbwoM4SLahC6ZqnxIcbUFnGKEJ+zL066BODeeRV6AKMw7CEYXk4w9ggO4hJc+gcUgL3X5TpnZ+ZcciRmPoioB0R0BRATD8Qwif9F64LZcq/RGi3803arcJ32h2sFvkOUghXDTlqvpqINzM4GTD+3qjU8VDWxJXSIonJ3NIKQHiAfxfaYnkjTzL5VabiSRLRfBSeaDzfmv7LHuXkhN4WwG9yznUaV56ehkqRcZm92yPohvtIZmKBO2I2ZgGb3lYAOYT9+Bpp7JPAtMtBpphnKSNe4BcRotLyy8MglmhHD7LTSPui4d4Bxr1thPFbwQvN4fa5tndv1Lw==")];\r\nthis.addPalette("gmdlSteppers","GMDL / Steppers",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLTabsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zlbb9owFMc/TR5Bdhxuj4VCN2kdVVepj5ObOBfVkMjxOtinnx07kJCkDeDQSyQkfOLjOOfnv304WGi22twwnIS3sUeoheYWmrE45urbajMjlFo2iDwLXVu2DcTHshcNd2F2FySYkTVv42ArhxdM/xBlUYaUb6k2eDgNiewOLDRNQ5xIOyOuGH/qR5TOYhqzrCvys0t24yx+JvmddbwWPlP9KMI42TRONzPpud6QeEU424oufyOPh6oHGoyVW0iiINRuQ0dPHKfKEOx8928vvugA1AcDVYIBxVyuEDgqJphGwVo21ewOYwTAFZg6TTHy4zUvdF5kl+ycYDdaB/f6jZ296SFOhAFq3196jiBvR/9kEyLRZiQVrUcdSdiWiH0aEdtRNkYo5tELKY1/DiXnxCW72gRSZv1g5dE+j5PfT5idtVRRfWDKDlutwv5AtQthc4bVqMFjo6affxdHYlq7h/cmdunxvVF5hNj3U8IrUd+9RSsQgwqIOxwQYeERFySO0Uy9Fg6FM51lC7+6jgsr3QZvq0hJZiIMknDkYnqlNcvlnZ2CKfH53utH1roe2R0LB4Iz18C2LECjzIcmxJcw4hMRJ5ekLdnvDpZWgR+8Gfg8NqW4D41ILx8mpwA6oDCqUPj+ML8VluXPeYWHiBSvOQ2aNHIoiVXkeXKonSpcEWfCTj9PGuhsSw4FVhBOqrCcsRGN9PJxjOIZN+F5eFxeDo8ceCm3Li5fdgyME9vkRxtCpSVfgzBXwadBOGlE+O1+fkGNXQ7icPQWxE+nQwhOPK2OyEoWcDEdL957NzQDAXXBAJrIGFKCmRtWkBQzgyIXjUp1zpG0ztteV0oNkro83kwy0RsOus8m4KlFgANEnIss+aIZXSOSQXdEcrF1SqRaiTC+cYHsMl4WaNy4an/rfOzjw0il4Qm7z603riKXE3cv+HpZAvTt8pZSV5mAdT+PDFUmymlGJ4UJWK1MVMDlrIRnlKTkQxH6+oBalBFe3dLek87oq+ERzf0fDqp78f+I/w=="),\r\nthis.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zlbb9owFMc/TR5Bdhxuj4VCN2kdVVepj5ObOBfVkMjxOtinnx07kJCkBOrQSyQkfOLjOOfnv304WGi22twwnIS3sUeoheYWmrE45urbajMjlFo2iDwLXVu2DcTHshcNd2F2FySYkTVv42ArhxdM/xBlUYaUb6k2eDgNiewOLDRNQ5xIOyOuGH/qR5TOYhqzrCvys0t24yx+JvmddbwWPlP9KMI42TRONzPpud6QeEU424oufyOPh6oHGoyVW0iiINRuQ0dPHKfKEOx8928vvugA1AcDVYIBxVyuEDgpJphGwVo21ewOYwTAFZg6TTHy4zUvdF5kl+ycYDdaB/f6jZ296SFOhAFq3196jiBvR/9kEyLRZiQVrUcdSdiWiH0eEdtRNkYo5tELKY3/FkrOmUt2tQmkzPrByqN9Hie/nzB701JF9YEpO2y1CvsD1S6EzRlWowZPjZp+/l0ciWntHt6b2KXH90blEWLfTwmvRH33Fq1ADCog7nBAhIVHXJA4RTP1WjgUznSWLfzqOi6sdOQcV5GSTA/KrpJx5GJ6pVW7ijxPzngnY0p8vnf9kbWuR3bH6oFD8LaFsC2r0Cj4oQkFJoz4RMTJJWnLBbA7XVoFfnA08HlsynE3or98mJwC6IDCqELh+8P8VliWP+cVHiJSvOZIaBLKUVW4Is6EnX+oNNDZlhwKrCCcVGE5YyMa6eXjGMUzbsLz8Li8HB458FJuXVy+7BgYJ7bJzzeESku+BmGugk+DcNKI8Nv9/IIauxzE4egYxE+nQwjOPK1OSE0WcDEdL957NzQDAXXBAJrIGFKCmRtWkBQzgyIXjUp1zpG0ztteV0oNkrpk3kwy0RsOus8m4LmVgANEnIss+aIZXSOSQXdEcrF1SqRajjC+cYHsMl4baNy4an/rfOzjw0i54Qm7z603riKXM3cv+HptAvTt8pZSV56AdT+PDJUnymlGJ9UJWC1PVMDlrIRnlKTkQxH6+oBalBFe3dLek87oq+ERzf2/Dqp78U+J/w=="),\r\nthis.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3ZdNb6MwEIZ/DcdGgElCjwsNbQ/drLqVevbCBKwajIzbTfbX18YmTZagoITSD0uR8HjG9rxPxgYLhfn6muMyu2MJUAstLBRyxoR+ytchUGq5NkksdGW5ri1/lht1jDr1qF1iDoXoE+DqgBdMn0FbtKESG2oMCa4yUO62hYIqw6Wyc4jl/MGKUBoyynjtilZ1U26CsydoRgpWyJjALAVcwLpzu7XJ7PUaWA6Cb6TLX5KITHugqa/DMiBpZsJmntk4rrQh3ca+ZS8fjACHxUDniXEw6f8Usu0gvPKknUNF/sGjScvpK497mjyesXGgWJAX2Jv/HMm8lmS3D4s7aVn+XLTEk4nVfxpWiN8yeZU3Mv0diaK6SbuSgsSY/qAkLeRYTpJETRVgY4ilLMBPFxMdFnOzF7AjreNcDiCtWfAXI3If29UumnmaELZaVSBaLLb77IVn2oXn4XE5Hh418bLEMREqWd8enJgJsCfIlHA3QnMefh2Es06EN/eLEWtsPIiz+TGIX64O5+9/s0ROFPjRRx+GwzBA74DAH+NyV23wy70TwTBX/Zh1cHkihHydqlfkSZondPIHx08tIrtvn11YdESDxe2LxT9yXjW37KYxTNvF4rVBOWcWi1n/Yv+0bLqDYnPs49waVDKSlBV8JkDfn4/Tn8/B8+wD4cy/Gx3Zfft+1+67n/ev"),\r\nthis.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zldb5swFIZ/DZeJbEwIvUzSpJu0rlVbqZeTCw5YNRgZr03262fzkUCAjiaQdiWKFB/OAfM+PsfGMdAi3FwJHAfX3CPMQEsDLQTnMvsVbhaEMcME1DPQpWGaQH0Nc9VyFqZnQYwFiWSXADMLeMHsN8ksmSGRW5YbPJwERLsDA82TAMfaLoirrj9fU8YWnHGRuqJ1emg3KfgzKc5EPFIx8/xWREiyae1uasr7ekV4SKTYKpdX6skg80ATJwsLCPWDPMy28o7jJDP4u9j906sfuQDNYqCaGFD1ZYbAuzTBjPqRbma9O9QIgBmYW20arXkkS86r9NDOMXZp5N/lT2ztTQ88VgaYx97nfQRFm/7RTYhUW5BEtR5zJWFXIuZxREwrswnCsKQvpHL9UyhZRw7ZcOPrNBv7ocfGkse/nrA4aaiiZmGqAds8C8eTrF2SzbLrqsH3qpbf/5ZT1a3dzUcXZuX2o2n1Cny9Toisqb57ik4gJqfVjubxf5gs80U62M87diE4EcO2mgO9ym7XZL8nWLiBst0SHivpdc23cRinKoFbhl2SHJEjIRY+je4yWhradWpQbk5HfPv5IMAefy3VqZLTIj0O6pVVKqSMrOW+3v1IW5dT8/hRMTl2jhmook37qGhJNggOwSiBZ5f6c0AnB5Y5FwqaXRW0mxV8o9jBpmJn91LsTKda65wBks7pA9ELpy7pTKhs7xdT5xkKgsGgjSwwPLWLGrXvD8trZbn5uazxU0LKhlVT24pMS09dzGZ5lQqp5+lL7cqWqzAQ0XuV2lYCyrDgRZ2W5fQykY2sIfAUw6vO5+Hx5nx89IVv9OQi9dM6oHdkmyLDEKqM+QaGZkPGfW6GsJXht7vlGbPsfBTt6b8o/n+ZeOI+QJfF4Aqu5s7qo+thPxDQEAzq2w+9MwDp0fv7VCuDxnX0586EXrYXnrD73LTQ270QtXE5cqEH396LAOPiZf2txZ5VR9XXdkS1Yg6yGwE7bEcUrFQkjZPGpfiHEfr6gOobF62AGkvaR9KZfjU8qrn/lyFzL/8J8Rc="),\r\nthis.addDataEntry("gmdl google media design library tab scrollable tab bar",358,642,"Scrollable tab bar","3ZnbbqMwEIafhstENpADl02atJW2m6obqZeVC+agkhgZbzfZp18bmwRq2BICbRWkSPHgMWY+//bYGNZ8s7uhKAnviYdjw1oY1pwSwuS/zW6O49gwQeQZ1rVhmoD/DHNZcxdmd0GCKN6yJg6mdHhD8W8sLdKQsn2sDB5KQyyqA8OapSFKhJ1il7c/86M4npOY0Kyq5WeXqMYoecX5nS3Zcp+ZehSmDO9qu5uZVF9vMNlgRve8yp/IY6GsYY2m0i3EURAqt7GtOo5SaQgOvse3539UAKqDYWnBgLwvVxY4KSYojoKtKMrevY8RAFdgZtfFyCdbVqi8zC5ROUFutA0e1RvbR9OaJNwAle8v1UeQl6O/oggtXqY45aUnFUnYlIjZjohpSxvFMWLRGy61fw4lu+WQ3ewCIbNhsPHiISPJ8wuiZw1VqzowZYe9UuFwJMuFsNljPWrw1Kip5z+QiHfr8PCBY5YeP5iUWyC+n2KmRf3wFo1AjDQQDyjA3MIixkmcoplqLbwXzmyeDXx9HBdGugk+VpGUjMMNgnDkovhKaZaJOwcFx9hnR68fWel6YvYsHAjOHAP7sgA7ZT7uQnwJxT7mcXJx2pD9YWFpFPjRh4HPY1OK+7gT6eXN5BRADxQmGoW79eKeW1Y/FxoPHilWsRrUaeS9JDaR54mmDqpweZwxbb+e1NDZ5RMlnDpOKYRQmzkdoOOzp52oZpC30ymwaR2w9dPq84CJhldiMmPiZaegP4a2Da1LY+hoDNe3C4Hw9u7x+hIhjp18orkciBBoFJdfq8AOUMEPKJk9UMoTzbztfqlBjZrG7Nz0cgmXs+ny+y1r3YjJ6oNK28ODUjKYYkTdUINUTPqKpBQ8WTmH1Dglb6SjAhFYtUXrJk8cjEel4dBLogj1I41WiBjjG6BPTdZrkYz6I5KLrVcibY8vTtopi6vzE5/aeatyG/u90wD97KKFLl6Q+9p44ipyaTl7ybHznzXGLE8pVYdOsGrn29GhUzlb7OXMCTY4gMhZcc8oSfG3InT5gPSziVpAlVPaV9KZXBoeXjx+S5LVi5+a/gE="),\r\nthis.addDataEntry("gmdl google media design library tab scrollable tab bar",358,642,"Scrollable tab bar","3Zldb5swFIZ/DZeJbBzycdmkaTdpXauuUi8rFwxYdQIyXpfs188GQyBAS6hZP4gi4YOPMefxa5uDhVab3SXHcXgVeYRZaG2hFY8ikZ1tdivCmGUD6lno3LJtIP+WfdFyFaZXQYw52YouDnbm8IzZb5JZMkMi9kwbPJyERFUHFlomIY6VnRNXtr/0KWOriEU8rYr89FDVBI+eSH5lG22lz1LfinBBdq3dTU26r5ck2hDB97LKH+qJMKuBnHnmFhIahNptOtEdx0lmCArfw9PLEx2A5mCgWjCg7MsZAifFBDMabFUx691xjGaO+rXFyI+2olT5Ij1U5Ri7dBvc6ieeHEx3USwNUPv+0n0EeZn+VUWIZJmTRJbudSRhVyJ2PyL2JLNxwrCgz6TS/lsoTXoO2c0uUDIbBxuPjUUUPzxi/qahipoDU3XYaxWOnaxcCttkWo8aPDVq+v43EZXdKm4+WtiV249m1RYi30+IqEW9eIpOIJwaiBscEGkRVEgSp2imWQtV4VycqV/jOC6NdBvUVQTS41gyC2lQhKmL2ZnWrFBXCgUz4ouD14+0dD6zBxYOBG8cA/uqAI0yn5oQX8yJT2ScXJJ0ZF9Mmp0C77wa+Dw2lbhPjUgvbyanAAagMKtR+H63vpKW65/rGg8ZKdGwGhxrBC5X6bJyLIkN9TzVVKEKV8aZ8P7rSQudfcWhxArCRR3WZG5EI6O8HaN45m147u6ve+IpBNAdj2r4Wk1dQj3sHBgntsuXNoQqQ74BYa6CT4Nw0Yrw2+26r8Y+NMTp7DWIn06HEPRcrU7YlRTz5rvOhmYgoCEYQBM7hoRg7oY1JGVNlbloVFnlHEnnfdvLSmlA0rSPN7OZGE2d4XcTsG8S4AiREHKX/F93dK1InOGI5GIblEg9E2F+4spfisymBVonrsZ3nY+9fBjJNDxi96lp4ipyZW1ces5e8OW0BBjb1SmlKTMBm16PDGUmqtuMQRITsJ6ZqIHLWUlPGifkQxH6+oA6pBFenNLek87sq+GRxcMHh6x6+XvEPw=="),\r\nthis.addDataEntry("gmdl google media design library tab fixed tab bar icons",358,642,"Fixed tab bar with icons","3Vlbb5swFP41PDayuYU8hjSpJnVtlVab9jQ5xIBVJ0bgdcl+/cw1EENKuKxTkSLFh3OMOd/3HV9QtMXucBeiwP/Ktpgq2lLRFiFjPP23OywwpYoKyFbRbhVVBeKnqKuGuzC5CwIU4j1vE6CmAW+I/sKpJTVE/EgzwxZFPo7dgaLZkY+C2B5iR/Rvu4TSBaMsTFw1N7liNx6yV5zf2bO9iLGzR+GQ40PjcBNTNtY7zHaYh0fh8ptsuZ96aIaVhvmYeH4WZurZwFGUGrwi9vT24k+WgPpkaFIyoBjLXANX5QRR4u3jZjq68xwBMAe23pQjl+15yXmVXLFzgByy99bZG+sn0wsLhAFmsc/ZGEHeJn/iJtREO8SRaH3PMgnbIqJ2Q0TVU1uIKeLkDVf674OS3pGyu4MXy2zi7bZ0wlnwc4PCXlTV6hNTDThmKpwYabuUNt2UswavzVr2/CdGxLCKh9/M1Mrjb6bVHpjrRphLWS/eohUQhgTEE/KwsHDCBRLXaKZeC+fCsRcJ8WUel5iugvdVlEpmJgwxwsRBdJ5plsd3CgVT7PJT1H3Sup2qIwsHqlY/DhyrAhwUc3MI8QUhdrHIk4OjltgXE0urxBvvJj7PTSXv5iDSy7vJUQAjoDCVUFgvF8uHl+culRBTHPin2ac8YzTp6LJsHAEEbiytFG0wfWIR4YRVvPNO788cNoxztuuJ/SEvw9DUrQpAUKrLsE6UPTVZ1OVqWc7HMig7LIkdq/m3x/WXl2UXfvgYhfyMG2p/bggM+WNcWHmcCwsMTxdW9D4FQ7HH6EKdYeqKRJ0xpvSZRJ2H5Xxt/+jAG8dHH0ibM/A/uOhYqtml6ORzx8DMMeAIzIGg48rgihXgCq5sa9V9J9MAUzMmcCaD0nOBnoOgjYEB7IhBRbiRKPiOL0FSXoWVccmgSp1zSFqvkS8rpwaSuj3TQAXWrFb3UVZusOuByxlEnIsdyT9dPTdCYoyHSC62URGRT30GL1wguQY/gmksXLX7Sn2YbeU4a1Y4yKnOBjmvrQtXGZeO1QtePgICE7VaUupOgWDdVnSgU6BpdeIfY8UI5VMgCbgcKxFJggj/Vwh9foBaHNlcLGkfic70s8EjmqePO6l7+dvPXw=="),\r\nthis.addDataEntry("gmdl google media design library tab fixed tab bar icons",358,642,"Fixed tab bar with icons","3ZnbjpswEIafhstEtjkkucyh2ZtWWrWVell5iTloHYyMu0369DVgCMSwJcQ00hJFigcPmPn8D2PHsrfH0xPHafSFHQi17E+WveWMifLX8bQllFoIxAfL3lkIAfm10L7nLCzOghRzkoghDqh0eMP0FyktpSETZ6oMB5xFJO8OLHuTRTjN7Zz48vqbIKZ0yyjjRVc7KI68m+DslVRnEpZIn426FeGCnHqHW5jUWJ8IOxLBz7LL7/ggorKH7S5Lt4jEYaTcPEcNHGelIax9L08vf6gAdAfD1oIB5VjWNrgpJpjGYZI3y9Fdx2jh5p++GAUsEY3O++LIO6fYj5Pwq3pi52L6zlJpgMr3mxojqNrxn7wJbdnmJJOtHyqScCgRNI4IckobJxSL+I20rn8PJWfklD2ewlxm8/B4oHPB0p8vmN81Ve3uwLQdzkqFc7dsN8LmeHrU4K1RU/d/ZrEcVn3z2Qq1bj9btK/AgiAjQot6/RSDQLgaiGccEmkRsZAkbtFMtxbawtmv80/nPG7MdAR0FYHiuJbMShpywrGP6VppVuRnagVTEoiL1+eitVugiYUDwfK+OXBuC9Aoc8+E+FJOAiLj5JNsIHuvOIYG3v1n4KvYtOLuGZFedZmKApiAwsJICiSUpFEZ7iEMANisdoMnfw+DU5UOoecsW4GCWn6EXeK4Uxt1fmynR7ScgNLSBKWIYD40QxpRSU3IHYPHjIY0PFO8vlYm8PgRfgydJfLG6KdKR4YB2XACQBCMJHRDUVEntZHFcQ+mfiZwpUO5s+arIUzBAJpQSSaTmB9pSJqiaHJJmi+lComhN08Hkq4y3FAe89pJdJJiAI5dw18hEkIWuf+1IOtF4k5HpBLbpET0jYQJEpda05hd1fcmrs6limNmpTJzpii/oJGNghfsv3Ylrnqrq4/LyOwF399VAHPUTildGwuwa3VjaGNh0X7xT1GYQX1jQQNXsZKecZrpS5hHEvr4gAbsAryb0h5JZ/HR8Mjm5f+Csnvz74S/"),\r\nthis.addDataEntry("gmdl google media design library tab desktop tab bar",758,152,"Desktop tab bar","7Zhdb5swFIZ/DZepjEkCuQxJaCetS9Vl6rUFBqw5gIzXJfv1s/lKCKCSxDBtGlKkcOxzMO/jY/ugGav94ZGhJHyOPUw1Y6MZKxbHPP+3P6wwpRoExNOMtQYhED8NOh2tetYKEsRwxPs4wNzhHdEfOLfkhpQfaWHwUBpi2R1ohp2GKJF2hl0R3/YJpauYxizravjZJbtxFn/HZUsUR8LHLh6FGceHzuFmpmKsjzjeY86OostP4vEw72HOrNwtxCQIS7dZMXCU5oag8j29vfhTCNAuhqFUDACWwJ52icFwSn7ht+K19L7ywNvkMYo3YZgiTt5xLf49kk1vlGx/COScfwj2Hn04NEQS8i3ttbOZVy2lUrCvUka7UnWHM9102DKrrpWteN5LTMQwqodNoJm7HIsAFxFi308xb8hejboXidnHJC7m6zWSn8/ta9L5agpGCwWghsJsUadgDEBh3p8CJZmMf37iT5uSK5r3C72m+GUEJYqbDcVfUICFhRMuJL9mAW9dqBurur1aT1sX8NzyVMooTX4c8a/CKPmB4v4smJNd8skJckkU7OJENCyEQTImLqJLSoJI2LhssVFxR7HPT16fs7u12XuG3LiJ6PDORDzWNyOl08BSsRElDPtY6OTitOd0qE48vYQ3PxQetiSjPleSjWWYMhnBABQWDQqfdptnYdl+2TR4CKV4PUfEktydI5cpsSeeJ0NVWeEKnTG7k8Wx5nC+TIJ5E83UUoJmbtXQTMqwStmU22gTzu5tOx4cGXgrFy4u39YCfyMv3ZyOAUzvBPb0uhkxn/4FZNACYyBr1tMFMmf77fU/sWuIGdZ8DGJ3Fv19DgmO7tiWc3vRr4bKIDvVEDWUruSjQooRc8O2Aqs6s7UUtTfWXB2EumuuFkCKjnkTc1ZDNMg5T+/xtaEPIs5F/TLqWbsTyWw4ItBSTkTcnj4S593PvyH/Bg=="),\r\nthis.addDataEntry("gmdl google media design library tab desktop tab bar",758,152,"Desktop tab bar","3Zldj6IwFIZ/DZdOSgHBS1F0TNbR7Gx2rokUaLaCKd1Z3V+/5XPAQkQtbiKJiZz2lPI+Pf04KNpsf1xS9xCuYw8RRXMUbUbjmOX/9scZIkSBAHuKNlcgBPynwEVHqZqVgoNLUcT6OMDc4dMlv1FuyQ0JO5HC4LlJiNLqQNHsJHQPqZ2iHW/f9jEhs5jENKuq+dmVVmM0/oXKkiiOuI9dPApRho6d3c1MRV+XKN4jRk+8yh/ssTCvYRpW7hYiHISlm1F03E1yQ1D5fr09/1MI0C6GJlUMAKbA1rvEoCjBf9FH8VpqX3ngbfJoxZtQRFyGP1Gj/Xsk02+UbH8M0jH/Euw98nIUROLyTe35whlXJaVSsK9SWrtSTYeabipsGVXXylY8bxtj3o3qYSNo5i6nooGzFmLfTxATZK963YuEcZnE2Xi9RvL62L4mnK+moLVQAHIoGJMmBW0ACuP+FAjOZPz/A18XJZc07idqQ/HzFqQobgqKb90AcQvDjEt+zQTeOlELs7o9m+utE3hueS1lTE1+HLF3bkz5geK+1tgiu9InH9wdjoIf8YEXTLghZYx3LpkSHETcxtIS2y3uCPLZl9e37G5u9h4hNy4iKrwzEE/NxUjqMLBkLEQHinzEddqhpOdwqHY8vYQ3LwoPW4JRHUuJxrKZMhjBABQmAoUPxxZAcIlYMzj4XNwdHOexsMeelzZVhcOOC4zonRBODYd6LLQg0S0pSMZWA8mobFYqk3L5rEF5f91st6u35ePIpA1v0umKpe9qgaFgqaBl4pJES9XhI3CpAq6fq7mzeX8+WJPhWEEDPIKVeHxeradL5wlZDTgLavpDpkHxdP/mfDwhKWs8GCm93FUNS0pMKqw3353nIzVgTBngITHVI+lwedfNKHajgIiH4Qtb7rhCZPZGlI+tS6fjQjTwYgjMyt1UnZkhBdlIPVuyhshPqD0SFPcekRfqwrYWgwUNbAkaKQDOd+OD6C+mK26ImAS5dBe2JY+q4GhJ2N2YT+oA1J1Pall/JB1hR6bRQDTIGVaVkkrg/WA4Ch6aR+hEYgxHBFrSifDbrw9gefX697F/"),\r\nthis.addDataEntry("gmdl google media design library tab desktop tab bar overflow",758,152,"Desktop tab bar with overflow","7Zldb5swFIZ/DZetwIZALksS2krrUrVdu1sUDFhzMAK3S/brZ/PVEGCFxDBtaqRI4djnYN7nHGM7Clxsd9eJG4d31ENEgSsFLhJKWf5ru1sgQhSgYk+BSwUAlX8V4HS0almrGrsJilgfB5A7vLnkFeWW3JCyPSkMnpuGSHRXFWinoRsLe4I2PL7tY0IWlNAk6wr97CO6sYT+QGVLRCPuYxe3QglDu87hZqZirNeIbhFL9rzLT+yxMO9hGlbuFiIchKWbUQzcTXNDUPm+Pz3/UQjQLgaUKoaqXqm23iVGglL8C70Uj6X1lQecJg8sniRBxGX4DdXinyOZfqJk210gcv4y2HrkctcQict3ZS+d1axqKZUCfZWC7UrVHQ5000BLVg2VrbjfPcV8GNXNLoCZu+yLAEcRqO+niDVkr0bdi4TxMYmjfB0i+WFuDynnwRRgCwVVDgVjXqcAR6Aw60+B4EzGv5/4elNySXk/12qKH0eQorjZUPzeDRC3MMy45EMm8NaJujGr24ul3jqB55abUkZh8mnEHrlR8FOL64NgTvYRd47dDY6CJxrzhjk3CMZ445IrgoOI25hosd3iiiCfvXt9ya6WZu8MOfElooEzC3FffxlJTQNLxosoTpCPuE4blPZMh2rF00t480PhQUsxajMp1ViGKYtRHYHCvEHh9ml1xy3rr6sGD64Uq9cIn5K7a+S4JLbY80Soqio2XGeUnMliX3M4nCbVWRONbklBM7NqaC7KsFLZlK/RJpynl/V0cETgtZi4mHhaS/0XeWmmPgUwrRPYzcNqwnr6H5ABS50CWXM/XSBz1t8ePokNIQat2RTEmpv+ktjt82eNDSKmz8EUxJpnDgWxx9vvn8CGADPmkyw8ehxNfLw2f43bNsvV+tvDYhOHqWCU0leh3qkb6A5CdYdOXi20ZB0j6UflBcdYwms9jjDO3UQ7mmNbzrQVIwXB8UJ9jCMkrXmicUK5pMhNNuEfS6blTG/Mijkk1FYkcna5F6ZRQzTKNleTctrAx8FwFEx61NCJxBiPCLCkE+GX7/+R5d0P/0L7DQ=="),\r\nthis.addDataEntry("gmdl google media design library tab desktop tab bar overflow",758,152,"Desktop tab bar with overflow","7Zldb5swFIZ/DZetwIZALksS2krrUrVdu1sUDFhzMAK3S/brZ/PVEGCFxDBtaqRI4djnYN7nHGM7Clxsd9eJG4d31ENEgSsFLhJKWf5ru1sgQhSgYk+BSwUAlX8V4HS0almrGrsJilgfB5A7vLnkFeWW3JCyPSkMnpuGSHRXFWinoRsLe4I2PL7tY0IWlNAk6wr97CO6sYT+QGVLRCPuYxe3QglDu87hZqZirNeIbhFL9rzLT+yxMO9hGlbuFiIchKWbUQzcTXNDUPm+Pz3/UQjQLgaUKoaqXqm23iVGglL8C70Uj6X1lQecJg8sniRBxGX4DdXinyOZfqJk210gcv4y2HrkctcQict3ZS+d1axqKZUCfZWC7UrVHQ5000BLVg2VrbjfPcV8GNXNLoCZu+yLAEcRqO+niDVkr0bdi4TxMYmjfB0i+WFuDynnwRRgCwVVDgVjXqcAR6Aw60+B4EzGv5/4elNySXk/12qKH0eQorjZUPzeDRC3MMy45EMm8NaJujGr24ul3jqB55abUkZh8mnEHrlR8FOL64NgTvYRd47dDY6CJxrzhjk3CMZ445IrgoOI25hosd3iiiCfvXt9ya6WZu8MOfElooEzC3FffxlJTQNLxosoTpCPuE4blPZMh2rF00t480PhQUsxajMp1ViGKYtRHYHCvEHh9ml1xy3rr6sGD64Uq9cIn5K7a+S4JLbY80Soqio2XGeUnMliX3M4nCbVWRONbklBM7NqaC7KsFLZlK/RJpynl/V0cETgtZi4mHhaS/0XeWmmPgUwrRPYzcNqwnr6H5ABS50CWXM/XSBz1t8ePokNIQat2RTEmpv+ktjt82eNDSKmz8EUxJpnDgWxx9vvn8CGADPmkyw8ehxNfLw2f43bNsvV+tvDYhOHqWCU0leh3qkb6A5CdYdOXi20ZB0j6UflBcdYwms9jjDO3UQ7mmNbzrQVIwXB8UJ9jCMkrXmicUK5pMhNNuEfS6blTG/Mijkk1FYkcna5F6ZRQzTKNleTctrAx8FwFEx61NCJxBiPCLCkE+GX7/+R5d0P/0L7DQ==")];\r\nthis.addPalette("gmdlTabs","GMDL / Tabs",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLTextFieldsPalette=function(a){var b=this,e=[this.addDataEntry("gmdl google media design library text field single line text field",346,360,"Single-line text field","7Zhbb5swFMc/yx54bORLSsnjcqsq9TJt1frsBgNWDI6M1yb79LPBJBCHNllCtVUBheBjH1/+Pzi28fAoXV5LskjuREi5hyceHkkhVHmXLkeUcw8BFnp47CEE9M9D05ZcWOSCBZE0U/s4oNLhhfBftLSUhlytuDWEJE+oKQ48PMwTsjB2SWe6/mHEOB8JLmRRFEfFYYopKea0lkOLo6wgFK/aCHXCNk6losvWARQm2/trKlKq5EoXeWWhSsoSuO+XbgllcWLdsF+OHJC8NMRr340e+sZKslse7MgzFGKeEjk3FYchDb84eumxGGnMqNiM8K+cxZnOSVkY8kKBBZmxLDYS+EZCkakf7LdxRrBK29pMWtJc5z7Z0e6tGvo71SrRJOVEsRfaqP8YJfuOkvckpW3iWY1uaaTqOtUeqACYs6kfxBvXR7HQFv/DBcSHCmib+CaYbhmBVVkiCJoeIopyqhzB1x3bi8GlwwAC3V0wJqtc/4lIX25mGgoYSUrSNjh1xf3GA43a0VWPNHBRguL4X0lBeNkBKv/9uFyFYs4yug65dfEycUuezZRSpNpD8mlltw6gB/q+7XSdBOy7JNCJSPRBBySuHBJTwUMqz6GrDYPvd4AhaJ2JTeh6Jq08ztGqAWeAO4AzeD9a7VxFpsvYrHx7cRrynpKMZDGnTqzKRBHgttaaV8Cc+6oevBmsoBOnIHARXB5HwLZ1UcX2ikgXQKruH0zkPJlYLAh2sQKD0OHyfXL38HOyT/TCO3YHW8EJ4mA6RdtTCXhrO0KsYaZZ6FntOF4rr+V9Gux4nw7ea+wmdbG90TsNKXdnPBnfPH4STk2HD6VWhUEYgEbrHWF0d/Djh/vP8rr9AxgHHVDUyc0XsLJ4/QPZHw=="),\r\nthis.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var a=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#eeeeee;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field hover light dark",\r\nfunction(){var a=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#cccccc;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (hover)")}),this.addEntry("gmdl google media design library text field single line text field press light dark",function(){var a=\r\nnew mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;opacity=50;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (press)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=\r\nnew mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (focus, light)")}),this.addEntry("gmdl google media design library text field single line text field normal light",function(){var a=new mxCell("Input text",\r\nnew mxGeometry(0,0,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#eeeeee;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field error light",function(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");\r\na.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#ff0000;");d.vertex=!0;var e=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff0000;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");e.vertex=!0;return b.createVertexTemplateFromCells([a,d,e],346,55,"Single-line text field (error, light)")}),this.addEntry("gmdl google media design library text field single line text field disabled",\r\nfunction(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#B3B3B3;dashed=1;dashPattern=1 4;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (disabled)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",\r\nfunction(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (focus, dark)")}),this.addEntry("gmdl google media design library text field single line text field normal dark",function(){var a=\r\nnew mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#cccccc;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field error dark",function(){var a=new mxCell("Input text",\r\nnew mxGeometry(0,0,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#ff0000;");d.vertex=!0;var e=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff0000;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");e.vertex=!0;return b.createVertexTemplateFromCells([a,d,e],346,55,"Single-line text field (error, dark)")}),\r\nthis.addDataEntry("gmdl google media design library text field single line text field icon normal light",346,35,"Single-line text field with icon (normal, light)","1ZbfT4MwEMf/Gh5dSjtQH3X+eNFo4oPPddygsVBSqjL/enu0zjG6jUyNkYWkvfbo3ee+3IjYrGyvNa+LW5WBjNhlxGZaKeNGZTsDKSNKRBaxi4hSYu+IXm1ZjbtVUnMNlRnjQJ3DK5cv4CzO0Jil9Iam4DUONcztI88bo9UzzJRU2horVdm184WQcsPkHwzaQLs1uM7kI7sGVYLRS7vlTWSmcDvY1EdUgMgL78YSZ+ONm+cr169U7cBnG86c7c88400BuJ1g3h5D2eZYrUleZnJiQEJduIT3gokoS7trLB0aprP0hZ14Cmu04nQIyyuAaJDciFfoHRci6E+8V8IGsjruKCZ9F7VYNGAGyFeBjqrCdFCF+w7nZiksJhTfQlUmhBPtD+IdN8c4R7BizuWZFHmFRRNZJkcVyZvwvLuaz4XB9BPyzZJ5h2QaqNhJQN9ke3XG6js5UN9SrKn50QcaW0ulbvgTdqhu1gdpa3GZ4u9nOXnp0ZDQA9g2FXoItnSA7VY9Cfn3ilQ/rkaa0AHXU/I7ajw+UI1GC17lHahd+tvTbTOBf15CIfhGvWCy4wCmOwHGPZUG+3EAZ/K9dtx+tuP+O3LEfqE7n/zjHrJS9/YmEhL7AT3ETr8+2Bzl9e+5Dw=="),\r\nthis.addDataEntry("gmdl google media design library text field single line text field icon focus light",342,35,"Single-line text field with icon (focus, light)","zZZRb4IwEMc/DY+a0gpzj0OnLzNZsoc9d+OEZoWaUh3u06+lnVMpypxLBiEp1x69+92fg4BMinou6SpfiBR4QO4DMpFCKDsq6glwHmDE0oBMA4yRvgI865gNm1m0ohJK1ccBW4cN5WuwFmuo1JY7Q5XTlRlKeNWPTColxRtMBBdSG0tR6rlkyTg/MrkHg1RQdwbXmFxkcxAFKLnVS95ZqnK7goxcRDmwLHduJLI2Wtn7bOf6naoeuGz9mZPzmae0ysEsRyZvh6GoM1OtYVakfKiAwyq3CZ8FE2ASzm6T2bQvHeyns3WFHToKe7TCuA3LKQBJ4FSxDRxs5yPodnwUTAey224QokMXsVxWoFrId4H2qsKoVYU4Qq1CaEhGektRqj2YqDmc/Yl9mMUaAEkMVvZK+R1nWWlKxtKU9yrRT7TbUR3nEI08xRl7pIy6C9FXytGFUuZsT7jPLlCdU1KKB/pimtE0bFG7loqPODmVYZ+mPdiOxXgJtriFbSFemCbWT35Jc/5T+eEIt0Deor+R382F8lOS0TJryJwSnL+Txs2h7SkzHyYmDOlKrE2y/QDGJwGGB7L09loPzuh3rbb+arWHL8WA/EHnHV+zaYTnm8Z9bM4rq7u7a/jEfkHT0LffP2OW8v6/2ic="),\r\nthis.addDataEntry("gmdl google media design library text field single line text field icon normal light",342,35,"Single-line text field with icon (normal, light)","3ZZNU4MwEIZ/Dcd2QtKgHrV+XHTGGQ+e07KFjIF0Qlqpv96ExFoktFjtQWGYSTZZsvvs2y0RmRb1nWLL/EGmICJyE5GpklK7UVFPQYgII55G5DrCGJknwrc9q3GzipZMQamHOGDnsGZiBc7iDJXeCG+ocra0QwVz88qrSiv5AlMppDLGUpZm7WrBhfhi8i8GpaHuDa4x+cjuQBag1cZseeWpzt0OMvER5cCz3LsR6myscvNs6/qZqhn4bMOZk8OZp6zKwW5HNm+PoagzW61xVqRirEHAMncJHwQTYZI011A6OExn4ws79hR2aMVJF5ZXAFIgmOZraB0XIuhPfJTcBLI9bhSjtotcLCrQHeTbQAdVYdKpQkLRiFI6ik3pOxUxtKwGF7LUO1RRc3n7E3+zm2NL2fLlcyYuBc9KWzuepmJQrb4j4p4yeQc6CVTpPKBp1F+RoZqmR2pa8B0FP/tAY2Mp5T2b2a7UzNrUDPibxN6/y8nLDYfEHcD2VZXHYEs62B7kjBti/0B+mOIOyAt0GvmdHSk/rTgrs4bMPsEdaKkpt/9QXFrSlVzZZIcBTPYCjFuyDDbdAE76s55bf/Tc9o9iRE7Qgs//cNPYqru/a4TEfkTTMNPPrzJHefej7R0="),\r\nthis.addDataEntry("gmdl google media design library text field single line text field icon normal dark",342,35,"Single-line text field with icon (normal, dark)","1ZZRT8IwEMc/zR4lXcsAHwWVF01IfPC5sGNr7Nalqzr89LZrRcY6mAgxNiFpr7317nf/HQvILKvmkhbpo4iBB+QuIDMphLKzrJoB5wFGLA7IbYAx0r8A33fshvUuKqiEXPVxwNbhjfJXsBZrKNWGO0OZ0sJMJaz0I6elkuIFZoILqY25yPXedM043zO5B4NUUHUGV5tcZHMQGSi50UfeWaxSe4IMXUQpsCR1biSyNlradbJ1/U5VT1y2/szJ8cxjWqZgjiOTt8OQVYmp1iDJYj5QwKFIbcJHwQSYrOrRlw7209m4wg4chR1a4agNyykASeBUsTdoXOcj6G5cCKYD2V53FaKmi1ivS1At5NtAe1Vh2KrCosa5XwqNyYhvLXK1g3NcD2d/Yh/msEZApgYsW1F+w1mSm6KxOOa9ivQT9XbUxzlEQ095Jh4xo+5S9BVzdKKYOduR7rMLNNSWXDzQpWlH9apJTYOP6nFeTk5n2KdqD7Z9OZ6CbdTC9iiWjP+9/ERBV0wZIhE6D2Uc4RbXa3QZNY5PVKOSjOZJDeqQ/o601piZfyomDPhSvJpk+wEcHQQYNlTqbb4enNHvem/11Xub78gVuUArnvzjHrJVd3cT8Yn9hB6il99fZ5by7sfbJw=="),\r\nthis.addDataEntry("gmdl google media design library text field single line text field icon focus dark",342,35,"Single-line text field with icon (focus, dark)","zZZRb4IwEMc/DY+a0opuj0OnL1uyZA977uSAZoWaUjfcp19LO6dSlDlN1oSkXHv07nd/DgIyLeqFpKv8USTAA3IfkKkUQtlZUU+B8wAjlgRkFmCM9BXgecdq2KyiFZVQqj4O2Dq8U74Ga7GGSm24M1Q5XZmphKV+ZFwpKd5gKriQ2liKUq/FKeP8wOQeDFJB3RlcY3KRLUAUoORGb/lgicrtDjJyEeXAsty5kcjaaGXvs63rT6p64rL1Z05OZ57QKgezHZm8HYaizky1hlmR8KECDqvcJnwSTIBJOL+N57O+dLCfzsYVdugo7NAKx21YTgFIAqeKvcPecT6C7sQnwXQg2+MGIdp3EWlagWoh3wbaqwqjVhXGEWoVQkMy0ktFqXZgps1w9mf2aTZrACQ2WNmS8jvOstKUjCUJ71Wi32i3ozrOIRp5inPjkTLqLkRfKUdnSpmzHeG+uEB1TnEpHuiraUazsEXtUio+4ORUhn2a9mA7FOM52MYtbI/ilWli/eQ3acY/lR+OcAvkLbqO/CZnyk9JRsusIXNMcP5OumyGtifMfJiYMKQrsTbJ9gM4Pgow3JOlt9d6cEZ/a7X1d6vdfykG5Aqd9+aSTSM83TSiZlxY3d1dwyf2M5qGvv35GbOUd//VvgA="),\r\nthis.addDataEntry("gmdl google media design library text field single line text field icon normal dark",342,35,"Single-line text field with icon (normal, dark)","3ZZNU8MgEIZ/TY7tEChVj7Z+XHTGGQ+eabNJGEnoENTUXy8EbJuG2FjtQZnpDCxs2H32zTYRmRf1rWKr/F4mICJyHZG5klK7WVHPQYgII55E5CrCGJlfhG96duNmF62YglIPccDO4ZWJF3AWZ6j0WnhDlbOVnSpYmkfOKq3kM8ylkMoYS1mavVnKhdgz+QeD0lD3BteYfGS3IAvQam2OvPFE5+4EmfiIcuBZ7t0IdTZWuXW2cd2maiY+23Dm5HDmCatysMeRzdtjKOrMVmucFYkYaxCwyl3CB8FEmCybMZQODtNZ+8KOPYUdWvG0C8srACkQTPNXaF0XIuhvfJDcBLK5bhSjtotM0wp0B/km0EFVmHSqMKVoRCkdxab0nYoYWlaDqSz1DtW0Gd7+yN/tYUOCzCxfvmTiUvCstLXjSSIG1eo7Iu4pk3egk0CVzgOaRv0VGappeqSmBd9R8JMPNDaWUt6xhe1KzapNzYCnzfhdTl5uOCTuALZ9VR6DbdrBdi8X3BD7B/LDFHdAXqDTyO/sSPlpxVmZNWS+EtyBlppw+w/FpSVdyReb7DCA0y8Bxi1ZBptuACf9Wc+tP3tu+6UYkRO04PM/3DQ26u7vGiGxH9E0zHL7VeYo7360fQA="),\r\nthis.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;opacity=80;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (normal)")}),\r\nthis.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#1F9BFD;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#1F9BFD;");\r\ne.vertex=!0;return b.createVertexTemplateFromCells([a,d,e],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#cccccc;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");\r\nd.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#eeeeee;");e.vertex=!0;return b.createVertexTemplateFromCells([a,d,e],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;textOpacity=80;");\r\na.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#999999;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;textOpacity=80;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;dashed=1;dashPattern=1 4;opacity=80;");e.vertex=!0;return b.createVertexTemplateFromCells([a,d,e],346,55,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",\r\nfunction(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#1F9BFD;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#1F9BFD;");e.vertex=!0;return b.createVertexTemplateFromCells([a,\r\nd,e],346,55,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#cccccc;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");d.vertex=!0;var e=new mxCell("",\r\nnew mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;");e.vertex=!0;return b.createVertexTemplateFromCells([a,d,e],346,55,"Single-line text field (normal, dark)")}),this.addDataEntry("gmdl google media design library text field full text field",362,56,"Full text field","vVTLboMwEPwaHxMRG2jPJW0urVQph56tsGCrBiPjJqRfX79CQJAKqVFXQvKOd9j1jGVEsqrbKdqwN5mDQOQZkUxJqf2q6jIQAuGI54hsEcaR+RB+ubG7cbtRQxXUegkBe8KRii/wyB6oOjAPt/osApzTloElRYg8tYw2Fldw0D7N5cnkG5toJT8hk0IqxyTgot/54LlmobbgQgwqCxcWl7Xe82/bwszh80Fd5sLgVPCyNpiAws3R0AOvy1eXbdPEQOF4oDR0NyVyUNBnB7ICrc6m5BQmNbskDUIx4CULtCT1GG19XvbUq+BmETSf159M9F+mfNWV9s6syyoX68vxR/riOS9SF0t1wfO6nMPFWieeMtBpk05lumAKBNX8CKN2c9qFju+Sm0FwFOa7KBO6rx7HP5BF0YKeSN+PvciN+B5udP9oxZjwmzHxjDHxXYxZkWTszMPfnTHp9Q305cMn8gc="),\r\nthis.addDataEntry("gmdl google media design library text field full text field",362,294,"Full text field","7VjRbpswFP0aHhsZQ2jzmCZbX7ap0ibt2Q0XsGZsZLsp2dfPGJPAICpdoarWWIrEPb4XO+fkXCv2gk1e3klSZF9FDMwLPnnBRgqh66e83ABjHkY09oKthzEyHw9/PjPr21lUEAlcjynAdcGesEeoEVIjSh+YQ2KiMqjykRfcqowUFS5hp+swFk8m9qtAS/ELNoIJaSsDsOM485PGOnO5CWWslZnYUeGC6+/0d7WE2Ucdt/KQHQYnjKbcYAwSu4+C7ChPv9hoGy0NVG37nmgNkts1MQoNugep6Y6wtavXojiV/6iCbWQAR4tJhvIstRZyvN6ByEHLg0l5cl/TzAaRIzgDmmauDK/CGiSqBtJj7Ukp8+DEGhYu6Ak3Tre8TKsf2yLNY7ZoyOuog4eUjOwYSwx+lhg/6vPSYBIY0XQPndcPceVWuBfULIyR20/DxMGFqPsCkSQKdI/q4zZHsR9OwX75htR3C9pChANChJMIcRUsu0rgGZRY/qMSjPLhxnS+iUlQpjG1cycyw2CX8NHrRHCkh6sZSI96pK+JFNxAt8A5aP2yM6TDOBdWmPb54KC/Wn7rpPCj4SMg0zlzUr2teNE04i3DGcS7nqJ3PSqQY6R7cf+KxvQvRw9aLHv9LER9NcJXqtH0s0ZVt/zVLEfLTd9bDw9QcbDJJFUauAJ+8dck/vL9OQy2etcGu/noBmsO1rbDGKOVwQTnQqqLuaYx1/Uc5vL9d+2u+sf1oe3Vv1JYM8MYRt+AKXE5uqZxFw5mcdck1wrzuWvUv9v/yF0mPN0F1untq8I/"),\r\nthis.addDataEntry("gmdl google media design library text field inset text field",362,56,"Inset text field","rVTBboMwDP2aHFtB0qKdR7deNmlSDztHYEi0QFDIWtjXLyQphUIrpNYSUvxsY/OeCSJx0ewVrdinTEEg8oZIrKTU7lQ0MQiBcMBTRHYI48A8CL/fiIY2GlRUQamXFGBXcKTiFxxyAKoS5uBat8LDKa0ZdEUBIq81o1WHK0i0c1N5Mn7YOVrJH4ilkMpWErDWR755qpnPzbgQg8zMWofLUh/4X9fCzOH8QV5szeBU8Lw0mIDMzlHRhJf5h/V20dZA/vNAaWhuUmQhz88eZAFatSbl5Cc1URJ5ohjwnPmybeQwWjs/70svhJuD53yefzLhfxnzRZN3O7POi1SsayfZNcN4To3I2lJm8DwzrV+t9daVDJgKoylRZ0yBoJofYdRujj3f8UtyMwgO/Hxnbnz31cv4BTLLatAT8vuxF+mxeYYeR8mT6cLfl+PqV3iKTOOCe6LNbLe/OB4VbUU2Y9XC4HHZjHu5Il368Ab9Bw=="),\r\nthis.addDataEntry("gmdl google media design library text field focus card suggestion",362,246,"Focus card suggestions","7VfBjpswEP0ajl0ZA25y7CbtXlpppVbq2Q0DWDWYGieb9Os72CaBhmijLqSXWIrCPM/Y5r1hBoJoVe6fNK+LLyoFGUQfg2illTLuqtyvQMqAEpEG0TqglOAvoJ8uzIZ2ltRcQ2WuCaAuYMflFhySQtOANg5vzEF2OG8KaKNIED02Ba9bXMPGODNVL2iHrWG0+gkrJZW2kRHYcZz5LlJTeN9MSNnzzOxocVWZr+J3uwWew9k9P2IH4lyKvEJMQmbPUfONqPLP1lqzBKH22M/cGNCV3ZOSGNEd3qHYcPnBxxtVn8K/tcaaIeDJQWfYXyTYQp7dJ1AlGH1Alxd/mzgbMU9zASIvfBiNmQN544D8GHvSCy+8ZOPyRWfyXadbuc/blHvIy1Q+dOQN1KFjSjI7riWGvkpMyM556TANkhuxg8HyY1z5HZ6VwI0p8efpmDh4kwwXUFnWgDmj+njMq9iPp2B/f0PqhwF9IeIRIeJJhHgXJUMl6AxKJP+ohBTVeGG6XMQ0NFiY+r4TPQyjVSIkbxPBkx4vZyCdTdM7BkxXygrS7wse+qvU9zpEyMZLf2FK2fWZYf9Y2nFzMePFJGIm8Qxivr8sJqYgkx3naG6ORLJf2/ZF5fHUknsQy9v/H1x34XgEt4KbuWfJrFkSkjkK7WKmNGkKfOm658n/yJNkjlej5Ux5ghQbvtXcpsc9W26fLcvF27MFzdMXrnPvfwD/AQ==")];\r\nthis.addPalette("gmdlText Fields","GMDL / Text Fields",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))}})();(function(){Sidebar.prototype.addIBMPalette=function(){this.setCurrentSearchEntryLibrary("ibm","ibmAnalytics");this.addIBMAnalyticsPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.setCurrentSearchEntryLibrary("ibm","ibmApplications");this.addIBMApplicationsPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");\r\nthis.setCurrentSearchEntryLibrary("ibm","ibmBlockchain");this.addIBMBlockchainPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.setCurrentSearchEntryLibrary("ibm","ibmData");this.addIBMDataPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");\r\nthis.setCurrentSearchEntryLibrary("ibm","ibmDevOps");this.addIBMDevOpsPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.setCurrentSearchEntryLibrary("ibm","ibmInfrastructure");this.addIBMInfrastructurePalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");\r\nthis.setCurrentSearchEntryLibrary("ibm","ibmManagement");this.addIBMManagementPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.setCurrentSearchEntryLibrary("ibm","ibmMiscellaneous");this.addIBMMiscPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");\r\nthis.setCurrentSearchEntryLibrary("ibm","ibmSecurity");this.addIBMSecurityPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.setCurrentSearchEntryLibrary("ibm","ibmSocial");this.addIBMSocialPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");\r\nthis.setCurrentSearchEntryLibrary("ibm","ibmUsers");this.addIBMUsersPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.setCurrentSearchEntryLibrary("ibm","ibmVPC");this.addIBMVPCPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");\r\nthis.setCurrentSearchEntryLibrary("ibm","ibmBoxes");this.addIBMBoxesPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.setCurrentSearchEntryLibrary("ibm","ibmConnectors");this.addIBMConnectorsPalette(60,"ibm ",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");\r\nthis.setCurrentSearchEntryLibrary()};Sidebar.prototype.addIBMAnalyticsPalette=function(a,b,e,c){c+="analytics/";var d=[this.createVertexTemplateEntry(c+"analytics.svg;",a,a,"","Analytics",!1,null,this.getTagsForStencil("analytics ","",b).join(" ")),this.createVertexTemplateEntry(c+"data_integration.svg;",a,a,"","Data Integration",!1,null,this.getTagsForStencil("analytics ","data integration",b).join(" ")),this.createVertexTemplateEntry(c+"data_repositories.svg;",a,a,"","Data Repositories",!1,null,\r\nthis.getTagsForStencil("analytics ","data repositories",b).join(" ")),this.createVertexTemplateEntry(c+"device_analytics.svg;",a,a,"","Device Analytics",!1,null,this.getTagsForStencil("analytics ","device analytics",b).join(" ")),this.createVertexTemplateEntry(c+"streaming_computing.svg;",a,a,"","Streaming Computing",!1,null,this.getTagsForStencil("analytics ","streaming computing",b).join(" "))];this.addPalette("ibmAnalytics","IBM / Analytics",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};\r\nSidebar.prototype.addIBMApplicationsPalette=function(a,b,e,c){c+="applications/";var d=[this.createVertexTemplateEntry(c+"actionable_insight.svg;",a,a,"","Actionable Insight",!1,null,this.getTagsForStencil("applications ","actionable insight",b).join(" ")),this.createVertexTemplateEntry(c+"annotate.svg;",a,a,"","Annotate",!1,null,this.getTagsForStencil("applications ","annotate",b).join(" ")),this.createVertexTemplateEntry(c+"api_developer_portal.svg;",a,a,"","API Developer Portal",!1,null,this.getTagsForStencil("applications ",\r\n"api developer portal",b).join(" ")),this.createVertexTemplateEntry(c+"api_polyglot_runtimes.svg;",a,a,"","API Polyglot Runtimes",!1,null,this.getTagsForStencil("applications ","api polyglot runtimes",b).join(" ")),this.createVertexTemplateEntry(c+"app_server.svg;",a,a,"","App Server",!1,null,this.getTagsForStencil("applications ","app server",b).join(" ")),this.createVertexTemplateEntry(c+"application_logic.svg;",a,a,"","Application Logic",!1,null,this.getTagsForStencil("applications ","application logic",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"automation_tools.svg;",a,a,"","Automation Tools",!1,null,this.getTagsForStencil("applications ","automation tools",b).join(" ")),this.createVertexTemplateEntry(c+"enterprise_applications.svg;",a,a,"","Enterprise Applications",!1,null,this.getTagsForStencil("applications ","enterprise applications",b).join(" ")),this.createVertexTemplateEntry(c+"index.svg;",a,a,"","Index",!1,null,this.getTagsForStencil("applications ","index",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"iot_application.svg;",a,a,"","IoT Application",!1,null,this.getTagsForStencil("applications ","iot application",b).join(" ")),this.createVertexTemplateEntry(c+"microservice.svg;",1.37*a,a,"","Microservice",!1,null,this.getTagsForStencil("applications ","microservice",b).join(" ")),this.createVertexTemplateEntry(c+"mobile_app.svg;",a,a,"","Mobile App",!1,null,this.getTagsForStencil("applications ","mobile app",b).join(" ")),this.createVertexTemplateEntry(c+"ontology.svg;",a,a,"","Ontology",!1,null,\r\nthis.getTagsForStencil("applications ","ontology",b).join(" ")),this.createVertexTemplateEntry(c+"open_source_tools.svg;",a,a,"","Open Source Tools",!1,null,this.getTagsForStencil("applications ","open source tools",b).join(" ")),this.createVertexTemplateEntry(c+"runtime_services.svg;",a,a,"","Runtime Services",!1,null,this.getTagsForStencil("applications ","runtime services",b).join(" ")),this.createVertexTemplateEntry(c+"saas_applications.svg;",a,a,"","SaaS Applications",!1,null,this.getTagsForStencil("applications ",\r\n"saas applications",b).join(" ")),this.createVertexTemplateEntry(c+"service_broker.svg;",a,a,"","Service Broker",!1,null,this.getTagsForStencil("applications ","service broker",b).join(" ")),this.createVertexTemplateEntry(c+"speech_to_text.svg;",a,a,"","Speech to Text",!1,null,this.getTagsForStencil("applications ","speech to text",b).join(" ")),this.createVertexTemplateEntry(c+"visual_recognition.svg;",a,a,"","Visual Recognition",!1,null,this.getTagsForStencil("applications ","visual recognition",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"visualization.svg;",a,a,"","Visualization",!1,null,this.getTagsForStencil("applications ","visualization",b).join(" "))];this.addPalette("ibmApplications","IBM / Applications",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMBlockchainPalette=function(a,b,e,c){c+="blockchain/";var d=[this.createVertexTemplateEntry(c+"blockchain.svg;",a,a,"","Blockchain",!1,null,this.getTagsForStencil("blockchain",\r\n"",b).join(" ")),this.createVertexTemplateEntry(c+"blockchain_developer.svg;",a,a,"","Blockchain Developer",!1,null,this.getTagsForStencil("blockchain","developer",b).join(" ")),this.createVertexTemplateEntry(c+"certificate_authority.svg;",a,a,"","Certificate Authority",!1,null,this.getTagsForStencil("blockchain","certificate authority",b).join(" ")),this.createVertexTemplateEntry(c+"client_application.svg;",a,a,"","Client Application",!1,null,this.getTagsForStencil("blockchain","client application",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"communication.svg;",a,a,"","Communication",!1,null,this.getTagsForStencil("blockchain","communication",b).join(" ")),this.createVertexTemplateEntry(c+"consensus.svg;",a,a,"","Consensus",!1,null,this.getTagsForStencil("blockchain","communication",b).join(" ")),this.createVertexTemplateEntry(c+"e_cert.svg;",a,a,"","E-Cert",!1,null,this.getTagsForStencil("blockchain","ecert e-cert",b).join(" ")),this.createVertexTemplateEntry(c+"event.svg;",a,a,"","Event",\r\n!1,null,this.getTagsForStencil("blockchain","event",b).join(" ")),this.createVertexTemplateEntry(c+"event_listener.svg;",a,a,"","Event Listener",!1,null,this.getTagsForStencil("blockchain","event listener",b).join(" ")),this.createVertexTemplateEntry(c+"existing_enterprise_systems.svg;",a,a,"","Existing Enterprise Systems",!1,null,this.getTagsForStencil("blockchain","existing enterprise systems",b).join(" ")),this.createVertexTemplateEntry(c+"hyperledger_fabric.svg;",a,a,"","Hyperledger Fabric",!1,\r\nnull,this.getTagsForStencil("blockchain","hyperledger fabric",b).join(" ")),this.createVertexTemplateEntry(c+"identity_access_manager.svg;",a,a,"","Identity & Access Manager",!1,null,this.getTagsForStencil("blockchain","identity access manager",b).join(" ")),this.createVertexTemplateEntry(c+"key_management.svg;",.38*a,.38*a,"","Key Management",!1,null,this.getTagsForStencil("blockchain","key management",b).join(" ")),this.createVertexTemplateEntry(c+"ledger.svg;",a,a,"","Ledger",!1,null,this.getTagsForStencil("blockchain",\r\n"ledger",b).join(" ")),this.createVertexTemplateEntry(c+"membership.svg;",a,a,"","Membership",!1,null,this.getTagsForStencil("blockchain","membership",b).join(" ")),this.createVertexTemplateEntry(c+"membership_services_provider_api.svg;",a,a,"","Membership Services Provider API",!1,null,this.getTagsForStencil("blockchain","membership services provider api",b).join(" ")),this.createVertexTemplateEntry(c+"message_bus.svg;",a,a,"","Message Bus",!1,null,this.getTagsForStencil("blockchain","message bus",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"node.svg;",a,a,"","Node",!1,null,this.getTagsForStencil("blockchain","node",b).join(" ")),this.createVertexTemplateEntry(c+"services.svg;",a,a,"","Services",!1,null,this.getTagsForStencil("blockchain","services",b).join(" ")),this.createVertexTemplateEntry(c+"smart_contract.svg;",a,a,"","Smart Contract",!1,null,this.getTagsForStencil("blockchain","smart contract",b).join(" ")),this.createVertexTemplateEntry(c+"transaction_manager.svg;",a,a,"","Transaction Manager",\r\n!1,null,this.getTagsForStencil("blockchain","transaction manager",b).join(" ")),this.createVertexTemplateEntry(c+"wallet.svg;",a,a,"","Wallet",!1,null,this.getTagsForStencil("blockchain","wallet",b).join(" "))];this.addPalette("ibmBlockchain","IBM / Blockchain",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMDataPalette=function(a,b,e,c){c+="data/";var d=[this.createVertexTemplateEntry(c+"caches.svg;",a,a,"","Caches",!1,null,this.getTagsForStencil("data ",\r\n"caches",b).join(" ")),this.createVertexTemplateEntry(c+"conversation_trained_deployed.svg;",a,a,"","Conversation (Trained & Deployed)",!1,null,this.getTagsForStencil("data ","conversation trained deployed",b).join(" ")),this.createVertexTemplateEntry(c+"cloud.svg;",a,a,"","Cloud",!1,null,this.getTagsForStencil("data ","cloud",b).join(" ")),this.createVertexTemplateEntry(c+"data_services.svg;",a,a,"","Data Services",!1,null,this.getTagsForStencil("data ","data services",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"data_sources.svg;",a,a,"","Data Sources",!1,null,this.getTagsForStencil("data ","data sources",b).join(" ")),this.createVertexTemplateEntry(c+"device_identity_service.svg;",a,a,"","Device Identity Service",!1,null,this.getTagsForStencil("data ","device identity service",b).join(" ")),this.createVertexTemplateEntry(c+"device_registry.svg;",a,a,"","Device Registry",!1,null,this.getTagsForStencil("data ","device registry",b).join(" ")),this.createVertexTemplateEntry(c+"enterprise_data.svg;",a,a,"",\r\n"Enterprise Data",!1,null,this.getTagsForStencil("data ","enterprise data",b).join(" ")),this.createVertexTemplateEntry(c+"enterprise_user_directory.svg;",a,a,"","Enterprise User Directory",!1,null,this.getTagsForStencil("data ","enterprise user directory",b).join(" ")),this.createVertexTemplateEntry(c+"file_repository.svg;",a,a,"","File Repository",!1,null,this.getTagsForStencil("data ","file repository",b).join(" ")),this.createVertexTemplateEntry(c+"ground_truth.svg;",a,a,"","Ground Truth",!1,\r\nnull,this.getTagsForStencil("data ","ground truth",b).join(" ")),this.createVertexTemplateEntry(c+"model.svg;",a,a,"","Model",!1,null,this.getTagsForStencil("data ","model",b).join(" ")),this.createVertexTemplateEntry(c+"tms_data_interface.svg;",a,a,"","TMS Data Interface",!1,null,this.getTagsForStencil("data ","tms data interface",b).join(" "))];this.addPalette("ibmData","IBM / Data",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMDevOpsPalette=\r\nfunction(a,b,e,c){c+="devops/";var d=[this.createVertexTemplateEntry(c+"artifact_management.svg;",a,a,"","Artifact Management",!1,null,this.getTagsForStencil("devops ","artifact management",b).join(" ")),this.createVertexTemplateEntry(c+"build_test.svg;",a,a,"","Build & Test",!1,null,this.getTagsForStencil("devops ","build test",b).join(" ")),this.createVertexTemplateEntry(c+"code_editor.svg;",a,a,"","Code Editor",!1,null,this.getTagsForStencil("devops ","code editor",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"collaborative_development.svg;",a,a,"","Collaborative Development",!1,null,this.getTagsForStencil("devops ","collaborative development",b).join(" ")),this.createVertexTemplateEntry(c+"configuration_management.svg;",a,a,"","Configuration Management",!1,null,this.getTagsForStencil("devops ","configuration management",b).join(" ")),this.createVertexTemplateEntry(c+"continuous_deploy.svg;",a,a,"","Continuous Deploy",!1,null,this.getTagsForStencil("devops ","continuous deploy",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"continuous_testing.svg;",a,a,"","Continuous Testing",!1,null,this.getTagsForStencil("devops ","continuous testing",b).join(" ")),this.createVertexTemplateEntry(c+"devops.svg;",a,a,"","DevOps",!1,null,this.getTagsForStencil("devops ","devops",b).join(" ")),this.createVertexTemplateEntry(c+"provision.svg;",a,a,"","Provision",!1,null,this.getTagsForStencil("devops ","provision",b).join(" ")),this.createVertexTemplateEntry(c+"release_management.svg;",a,a,"","Release Management",!1,null,this.getTagsForStencil("devops ",\r\n"release management",b).join(" "))];this.addPalette("ibmDevOps","IBM / DevOps",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMInfrastructurePalette=function(a,b,e,c){c+="infrastructure/";var d=[this.createVertexTemplateEntry(c+"channels.svg;",a,a,"","Channels",!1,null,this.getTagsForStencil("infrastructure ","channels",b).join(" ")),this.createVertexTemplateEntry(c+"cloud_messaging.svg;",a,a,"","Cloud Messaging",!1,null,this.getTagsForStencil("infrastructure ",\r\n"cloud messaging",b).join(" ")),this.createVertexTemplateEntry(c+"dashboard.svg;",a,a,"","Dashboard",!1,null,this.getTagsForStencil("infrastructure ","dashboard",b).join(" ")),this.createVertexTemplateEntry(c+"diagnostics.svg;",a,a,"","Diagnostics",!1,null,this.getTagsForStencil("infrastructure ","diagnostics",b).join(" ")),this.createVertexTemplateEntry(c+"edge_services.svg;",a,a,"","Edge Services",!1,null,this.getTagsForStencil("infrastructure ","edge services",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"enterprise_messaging.svg;",a,a,"","Enterprise Messaging",!1,null,this.getTagsForStencil("infrastructure ","enterprise messaging",b).join(" ")),this.createVertexTemplateEntry(c+"event_feed.svg;",a,a,"","Event Feed",!1,null,this.getTagsForStencil("infrastructure ","event feed",b).join(" ")),this.createVertexTemplateEntry(c+"infrastructure_services.svg;",a,a,"","Infrastructure Services",!1,null,this.getTagsForStencil("infrastructure ","infrastructure services",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"interservice_communication.svg;",a,a,"","Interservice Communication",!1,null,this.getTagsForStencil("infrastructure ","interservice communication",b).join(" ")),this.createVertexTemplateEntry(c+"load_balancing_routing.svg;",a,a,"","Load Balancing / Routing",!1,null,this.getTagsForStencil("infrastructure ","load balancing routing",b).join(" ")),this.createVertexTemplateEntry(c+"microservices_mesh.svg;",a,a,"","Microservices Mesh",!1,null,this.getTagsForStencil("infrastructure ","microservices mesh",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"mobile_backend.svg;",a,a,"","Mobile Backend",!1,null,this.getTagsForStencil("infrastructure ","mobile backend",b).join(" ")),this.createVertexTemplateEntry(c+"mobile_provider_network.svg;",a,a,"","Mobile Provider Network",!1,null,this.getTagsForStencil("infrastructure ","mobile provider network",b).join(" ")),this.createVertexTemplateEntry(c+"monitoring.svg;",a,a,"","Monitoring",!1,null,this.getTagsForStencil("infrastructure ","monitoring",b).join(" ")),\r\nthis.createVertexTemplateEntry(c+"monitoring_logging.svg;",a,a,"","Monitoring & Logging",!1,null,this.getTagsForStencil("infrastructure ","monitoring logging",b).join(" ")),this.createVertexTemplateEntry(c+"peer_services.svg;",a,a,"","Peer Services",!1,null,this.getTagsForStencil("infrastructure ","peer services",b).join(" ")),this.createVertexTemplateEntry(c+"service_discovery_configuration.svg;",a,a,"","Service Discovery & Configuration",!1,null,this.getTagsForStencil("infrastructure ","service discovery configuration",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"transformation_connectivity.svg;",a,a,"","Transformation & Connectivity",!1,null,this.getTagsForStencil("infrastructure ","transformation connectivity",b).join(" "))];this.addPalette("ibmInfrastructure","IBM / Infrastructure",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMManagementPalette=function(a,b,e,c){c+="management/";var d=[this.createVertexTemplateEntry(c+"alert_notification.svg;",\r\na,a,"","Alert Notification",!1,null,this.getTagsForStencil("management ","alert notification",b).join(" ")),this.createVertexTemplateEntry(c+"api_management.svg;",a,a,"","API Management",!1,null,this.getTagsForStencil("management ","api management",b).join(" ")),this.createVertexTemplateEntry(c+"cloud_management.svg;",a,a,"","Cloud Management",!1,null,this.getTagsForStencil("management ","cloud management",b).join(" ")),this.createVertexTemplateEntry(c+"cluster_management.svg;",a,a,"","Cluster Management",\r\n!1,null,this.getTagsForStencil("management ","cluster management",b).join(" ")),this.createVertexTemplateEntry(c+"content_management.svg;",a,a,"","Content Management",!1,null,this.getTagsForStencil("management ","content management",b).join(" ")),this.createVertexTemplateEntry(c+"data_services.svg;",a,a,"","Data Services",!1,null,this.getTagsForStencil("management ","data services",b).join(" ")),this.createVertexTemplateEntry(c+"device_management.svg;",a,a,"","Device Management",!1,null,this.getTagsForStencil("management ",\r\n"device management",b).join(" ")),this.createVertexTemplateEntry(c+"information_governance.svg;",a,a,"","Information Governance",!1,null,this.getTagsForStencil("management ","information governance",b).join(" ")),this.createVertexTemplateEntry(c+"it_service_management.svg;",a,a,"","IT Service Management",!1,null,this.getTagsForStencil("management ","it service management information technology",b).join(" ")),this.createVertexTemplateEntry(c+"management.svg;",a,a,"","Management",!1,null,this.getTagsForStencil("management ",\r\n"management",b).join(" ")),this.createVertexTemplateEntry(c+"monitoring_metrics.svg;",a,a,"","Monitoring & Metrics",!1,null,this.getTagsForStencil("management ","monitoring metrics",b).join(" ")),this.createVertexTemplateEntry(c+"process_management.svg;",a,a,"","Process Management",!1,null,this.getTagsForStencil("management ","process management",b).join(" ")),this.createVertexTemplateEntry(c+"provider_cloud_portal_service.svg;",a,a,"","Provider Cloud Portal Service",!1,null,this.getTagsForStencil("management ",\r\n"provider cloud portal service",b).join(" ")),this.createVertexTemplateEntry(c+"push_notifications.svg;",a,a,"","Push Notifications",!1,null,this.getTagsForStencil("management ","push notifications",b).join(" ")),this.createVertexTemplateEntry(c+"service_management_tools.svg;",a,a,"","Service Management Tools",!1,null,this.getTagsForStencil("management ","service management tools",b).join(" "))];this.addPalette("ibmManagement","IBM / Management",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};\r\nSidebar.prototype.addIBMMiscPalette=function(a,b,e,c){c+="miscellaneous/";var d=[this.createVertexTemplateEntry(c+"bluemix.svg;",a,a,"","Bluemix",!1,null,this.getTagsForStencil("miscellaneous ","bluemix",b).join(" ")),this.createVertexTemplateEntry(c+"cloudant.svg;",a,a,"","Cloudant",!1,null,this.getTagsForStencil("miscellaneous ","cloudant",b).join(" ")),this.createVertexTemplateEntry(c+"cognitive_services.svg;",a,a,"","Cognitive Services",!1,null,this.getTagsForStencil("miscellaneous ","cognitive services",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"ibm_containers.svg;",a,a,"","IBM Containers",!1,null,this.getTagsForStencil("miscellaneous ","ibm containers",b).join(" ")),this.createVertexTemplateEntry(c+"ibm_public_cloud.svg;",a,.77*a,"","IBM Public Cloud",!1,null,this.getTagsForStencil("miscellaneous ","ibm public cloud",b).join(" ")),this.createVertexTemplateEntry(c+"iot_cloud.svg;",a,.77*a,"","IoT Cloud",!1,null,this.getTagsForStencil("miscellaneous ","iot cloud internet of things",b).join(" ")),\r\nthis.createVertexTemplateEntry(c+"microservices_application.svg;",a,a,"","Microservices Application",!1,null,this.getTagsForStencil("miscellaneous ","microservices application",b).join(" ")),this.createVertexTemplateEntry(c+"object_storage.svg;",a,a,"","Object Storage",!1,null,this.getTagsForStencil("miscellaneous ","object storage",b).join(" ")),this.createVertexTemplateEntry(c+"offline_capabilities.svg;",a,a,"","Offline Capabilities",!1,null,this.getTagsForStencil("miscellaneous ","offline capabilities",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"openwhisk.svg;",a,a,"","Openwhisk",!1,null,this.getTagsForStencil("miscellaneous ","openwhisk",b).join(" ")),this.createVertexTemplateEntry(c+"peer_cloud.svg;",a,.77*a,"","Peer Cloud",!1,null,this.getTagsForStencil("miscellaneous ","peer cloud",b).join(" ")),this.createVertexTemplateEntry(c+"retrieve_rank.svg;",a,a,"","Retrieve Rank",!1,null,this.getTagsForStencil("miscellaneous ","retrieve rank",b).join(" ")),this.createVertexTemplateEntry(c+"scalable.svg;",\r\n.25*a,.25*a,"","Scalable",!1,null,this.getTagsForStencil("miscellaneous ","scalable",b).join(" ")),this.createVertexTemplateEntry(c+"text_to_speech.svg;",a,a,"","Text to Speech",!1,null,this.getTagsForStencil("miscellaneous ","text to speech",b).join(" "))];this.addPalette("ibmMiscellaneous","IBM / Miscellaneous",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMSecurityPalette=function(a,b,e,c){c+="security/";var d=[this.createVertexTemplateEntry(c+\r\n"api_security.svg;",a,a,"","API Security",!1,null,this.getTagsForStencil("security ","api security",b).join(" ")),this.createVertexTemplateEntry(c+"blockchain_security_service.svg;",a,a,"","Blockchain Security Service",!1,null,this.getTagsForStencil("security ","blockchain security service",b).join(" ")),this.createVertexTemplateEntry(c+"data_security.svg;",a,a,"","Data Security",!1,null,this.getTagsForStencil("security ","data security",b).join(" ")),this.createVertexTemplateEntry(c+"firewall.svg;",\r\na,a,"","Firewall",!1,null,this.getTagsForStencil("security ","firewall",b).join(" ")),this.createVertexTemplateEntry(c+"gateway.svg;",a,a,"","Gateway",!1,null,this.getTagsForStencil("security ","gateway",b).join(" ")),this.createVertexTemplateEntry(c+"governance_risk_compliance.svg;",a,a,"","Governance, Risk & Compliance",!1,null,this.getTagsForStencil("security ","governance risk compliance",b).join(" ")),this.createVertexTemplateEntry(c+"identity_access_management.svg;",a,a,"","Identity & Access Management",\r\n!1,null,this.getTagsForStencil("security ","identity access management",b).join(" ")),this.createVertexTemplateEntry(c+"identity_provider.svg;",a,a,"","Identity Provider",!1,null,this.getTagsForStencil("security ","identity provider",b).join(" ")),this.createVertexTemplateEntry(c+"infrastructure_security.svg;",a,a,"","Infrastructure Security",!1,null,this.getTagsForStencil("security ","infrastructure security",b).join(" ")),this.createVertexTemplateEntry(c+"physical_security.svg;",a,a,"","Physical Security",\r\n!1,null,this.getTagsForStencil("security ","physical security",b).join(" ")),this.createVertexTemplateEntry(c+"security_monitoring_intelligence.svg;",a,a,"","Security Monitoring & Intelligence",!1,null,this.getTagsForStencil("security ","security monitoring intelligence",b).join(" ")),this.createVertexTemplateEntry(c+"security_services.svg;",a,a,"","Security Services",!1,null,this.getTagsForStencil("security ","security services",b).join(" ")),this.createVertexTemplateEntry(c+"trustend_computing.svg;",\r\na,a,"","Trustend Computing",!1,null,this.getTagsForStencil("security ","trustend computing",b).join(" ")),this.createVertexTemplateEntry(c+"vpn.svg;",a,a,"","VPN",!1,null,this.getTagsForStencil("security ","vpn virtual private network",b).join(" "))];this.addPalette("ibmSecurity","IBM / Security",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMSocialPalette=function(a,b,e,c){c+="social/";var d=[this.createVertexTemplateEntry(c+"communities.svg;",\r\na,a,"","Communities",!1,null,this.getTagsForStencil("social ","communities",b).join(" ")),this.createVertexTemplateEntry(c+"file_sync.svg;",a,a,"","File Sync",!1,null,this.getTagsForStencil("social ","file sync",b).join(" ")),this.createVertexTemplateEntry(c+"live_collaboration.svg;",a,a,"","Live Collaboration",!1,null,this.getTagsForStencil("social ","live collaboration",b).join(" ")),this.createVertexTemplateEntry(c+"messaging.svg;",a,a,"","Messaging",!1,null,this.getTagsForStencil("social ","messaging",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"networking.svg;",a,a,"","Networking",!1,null,this.getTagsForStencil("social ","networking",b).join(" "))];this.addPalette("ibmSocial","IBM / Social",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMUsersPalette=function(a,b,e,c){c+="users/";var d=[this.createVertexTemplateEntry(c+"browser.svg;",a,a,"","Browser",!1,null,this.getTagsForStencil("users ","browser",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"device.svg;",a,a,"","Device",!1,null,this.getTagsForStencil("users ","device",b).join(" ")),this.createVertexTemplateEntry(c+"integrated_digital_experiences.svg;",a,a,"","Integrated Digital Experiences",!1,null,this.getTagsForStencil("users ","integrated digital experiences",b).join(" ")),this.createVertexTemplateEntry(c+"physical_entity.svg;",a,a,"","Physical Entity",!1,null,this.getTagsForStencil("users ","physical entity",b).join(" ")),this.createVertexTemplateEntry(c+"sensor.svg;",a,a,"","Sensor",\r\n!1,null,this.getTagsForStencil("users ","sensor",b).join(" ")),this.createVertexTemplateEntry(c+"user.svg;",a,a,"","User",!1,null,this.getTagsForStencil("users ","user",b).join(" "))];this.addPalette("ibmUsers","IBM / Users",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMVPCPalette=function(a,b,e,c){c+="vpc/";var d=[this.createVertexTemplateEntry(c+"Instance.svg;",a,a,"","Instance",!1,null,this.getTagsForStencil("vpc virtual private cloud ",\r\n"instance",b).join(" ")),this.createVertexTemplateEntry(c+"LoadBalancer.svg;",a,a,"","Load Balancer",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer",b).join(" ")),this.createVertexTemplateEntry(c+"BlockStorage.svg;",a,a,"","Block Storage",!1,null,this.getTagsForStencil("vpc virtual private cloud ","block storage",b).join(" ")),this.createVertexTemplateEntry(c+"FloatingIP.svg;",a,a,"","Floating IP",!1,null,this.getTagsForStencil("vpc virtual private cloud ","floating ip internet protocol",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"PublicGateway.svg;",a,a,"","Public Gateway",!1,null,this.getTagsForStencil("vpc virtual private cloud ","public gateway",b).join(" ")),this.createVertexTemplateEntry(c+"ObjectStorage.svg;",a,a,"","Object Storage",!1,null,this.getTagsForStencil("vpc virtual private cloud ","object storage",b).join(" ")),this.createVertexTemplateEntry(c+"VPNConnection.svg;",a,a,"","VPN Connection",!1,null,this.getTagsForStencil("vpc virtual private cloud ","connection",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"VPNGateway.svg;",a,a,"","VPN Gateway",!1,null,this.getTagsForStencil("vpc virtual private cloud ","gateway",b).join(" ")),this.createVertexTemplateEntry(c+"DirectLink.svg;",a,a,"","Direct Link",!1,null,this.getTagsForStencil("vpc virtual private cloud ","direct link",b).join(" ")),this.createVertexTemplateEntry(c+"InternetServices2.svg;",a,a,"","Internet Services",!1,null,this.getTagsForStencil("vpc virtual private cloud ","internet services",b).join(" ")),\r\nthis.createVertexTemplateEntry(c+"LoadBalancerPool.svg;",a,a,"","Load Balancer Pool",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer pool",b).join(" ")),this.createVertexTemplateEntry(c+"LoadBalancerListener.svg;",a,a,"","Load Balancer Listener",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer listener",b).join(" ")),this.createVertexTemplateEntry(c+"Rules.svg;",a,a,"","Rules",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer listener",\r\nb).join(" ")),this.createVertexTemplateEntry(c+"ImageService.svg;",a,a,"","Image Service",!1,null,this.getTagsForStencil("vpc virtual private cloud ","image service",b).join(" ")),this.createVertexTemplateEntry(c+"Key.svg;",a,a,"","Key",!1,null,this.getTagsForStencil("vpc virtual private cloud ","key",b).join(" ")),this.createVertexTemplateEntry(c+"VPNPolicy.svg;",a,a,"","VPN Policy",!1,null,this.getTagsForStencil("vpc virtual private cloud ","policy",b).join(" ")),this.createVertexTemplateEntry(c+\r\n"Router.svg;",a,a,"","Router",!1,null,this.getTagsForStencil("vpc virtual private cloud ","router",b).join(" ")),this.createVertexTemplateEntry(c+"Bridge.svg;",a,a,"","Bridge",!1,null,this.getTagsForStencil("vpc virtual private cloud ","bridge",b).join(" ")),this.createVertexTemplateEntry(c+"CloudServices.svg;",a,a,"","Cloud Services",!1,null,this.getTagsForStencil("vpc virtual private cloud ","cloud services",b).join(" ")),this.createVertexTemplateEntry(c+"Internet.svg;",a,a,"","Internet",!1,null,\r\nthis.getTagsForStencil("vpc virtual private cloud ","internet",b).join(" ")),this.createVertexTemplateEntry(c+"Enterprise.svg;",a,a,"","Data Center",!1,null,this.getTagsForStencil("vpc virtual private cloud ","dat acenter",b).join(" ")),this.createVertexTemplateEntry(c+"Enterprise2.svg;",a,.8*a,"","Enterprise",!1,null,this.getTagsForStencil("vpc virtual private cloud ","enterprise",b).join(" ")),this.createVertexTemplateEntry(c+"PowerInstance.svg;",a,a,"","Power Instance",!1,null,this.getTagsForStencil("vpc virtual private cloud ",\r\n"power instance",b).join(" ")),this.createVertexTemplateEntry(c+"TransitGateway.svg;",a,a,"","Transit Gateway",!1,null,this.getTagsForStencil("vpc virtual private cloud ","transit gateway",b).join(" ")),this.createVertexTemplateEntry(c+"BareMetalServer.svg;",a,a,"","Bare Metal Server",!1,null,this.getTagsForStencil("vpc virtual private cloud ","bare metal server",b).join(" "))];this.addPalette("ibmVPC","IBM / VPC",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};\r\nSidebar.prototype.addIBMBoxesPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry("shape=mxgraph.ibm.box;prType=cloud;fontStyle=0;verticalAlign=top;align=left;spacingLeft=32;spacingTop=4;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#4376BB;strokeWidth=3;dashed=0;container=1;spacing=-4;collapsible=0;expand=0;recursiveResize=0;",200,200,"IBM Cloud","IBM Cloud",!0,null,this.getTagsForStencil("boxes box ","ibm cloud",b).join(" ")),this.createVertexTemplateEntry("shape=mxgraph.ibm.box;prType=vpc;fontStyle=0;verticalAlign=top;align=left;spacingLeft=32;spacingTop=4;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#4376BB;strokeWidth=2;dashed=0;container=1;spacing=-4;collapsible=0;expand=0;recursiveResize=0;",\r\n200,200,"VPC","VPC",!0,null,this.getTagsForStencil("boxes box ","vpc virtual private cloud",b).join(" ")),this.createVertexTemplateEntry("shape=mxgraph.ibm.box;prType=region;fontStyle=0;verticalAlign=top;align=left;spacingLeft=32;spacingTop=4;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#919191;strokeWidth=2;dashed=0;container=1;spacing=-4;collapsible=0;expand=0;recursiveResize=0;",200,200,"Region","Region",!0,null,this.getTagsForStencil("boxes box ","region",b).join(" ")),this.createVertexTemplateEntry("shape=mxgraph.ibm.box;prType=zone;fontStyle=0;verticalAlign=top;align=left;spacingLeft=32;spacingTop=4;fillColor=#E0E0E0;rounded=0;whiteSpace=wrap;html=1;strokeColor=#919191;strokeWidth=1;dashed=0;container=1;spacing=-4;collapsible=0;expand=0;recursiveResize=0;",\r\n200,200,"Zone","Zone",!0,null,this.getTagsForStencil("boxes box ","zone",b).join(" ")),this.createVertexTemplateEntry("shape=mxgraph.ibm.box;prType=subnet;fontStyle=0;verticalAlign=top;align=left;spacingLeft=32;spacingTop=4;fillColor=#E6F0E2;rounded=0;whiteSpace=wrap;html=1;strokeColor=#00882B;strokeWidth=1;dashed=0;container=1;spacing=-4;collapsible=0;expand=0;recursiveResize=0;",200,200,"Subnet:ACL","Subnet:ACL",!0,null,this.getTagsForStencil("boxes box ","subnet acl",b).join(" ")),this.createVertexTemplateEntry("fontStyle=0;verticalAlign=top;align=center;spacingTop=-2;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#FF0000;strokeWidth=2;dashed=1;container=1;collapsible=0;expand=0;recursiveResize=0;",\r\n200,200,"Security Group","Security Group",!0,null,this.getTagsForStencil("boxes box ","security group",b).join(" ")),this.createVertexTemplateEntry("fontStyle=0;verticalAlign=top;align=center;spacingTop=-2;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#00882B;strokeWidth=2;dashed=1;container=1;collapsible=0;expand=0;recursiveResize=0;",200,200,"Instance Group","Instance Group",!0,null,this.getTagsForStencil("boxes box ","instance group",b).join(" ")),this.createVertexTemplateEntry("fontStyle=0;verticalAlign=top;align=center;spacingTop=-2;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#919191;strokeWidth=2;dashed=1;container=1;collapsible=0;expand=0;recursiveResize=0;",\r\n200,200,"Resource Group","Resource Group",!0,null,this.getTagsForStencil("boxes box ","resource group",b).join(" ")),this.createVertexTemplateEntry("shape=mxgraph.ibm.box;prType=public;fontStyle=0;verticalAlign=top;align=left;spacingLeft=32;spacingTop=4;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#4376BB;strokeWidth=3;dashed=0;container=1;spacing=-4;collapsible=0;expand=0;recursiveResize=0;",200,200,"Public Network","Public Network",!0,null,this.getTagsForStencil("boxes box ","public network",\r\nb).join(" ")),this.createVertexTemplateEntry("shape=mxgraph.ibm.box;prType=enterprise;fontStyle=0;verticalAlign=top;align=left;spacingLeft=32;spacingTop=4;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#4376BB;strokeWidth=3;dashed=0;container=1;spacing=-4;collapsible=0;expand=0;recursiveResize=0;",200,200,"Enterprise Network","Enterprise Network",!0,null,this.getTagsForStencil("boxes box ","enterprise network",b).join(" ")),this.createVertexTemplateEntry("shape=mxgraph.ibm.box;prType=classic;fontStyle=0;verticalAlign=top;align=left;spacingLeft=32;spacingTop=4;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#4376BB;strokeWidth=2;dashed=0;container=1;spacing=-4;collapsible=0;expand=0;recursiveResize=0;",\r\n200,200,"Classic Infrastructure","Classic Infrastructure",!0,null,this.getTagsForStencil("boxes box ","classic infrastructure",b).join(" ")),this.createVertexTemplateEntry("fontStyle=0;verticalAlign=top;align=center;spacingTop=-2;fillColor=none;rounded=0;whiteSpace=wrap;html=1;strokeColor=#4376BB;strokeWidth=1;dashed=0;container=1;collapsible=0;expand=0;recursiveResize=0;",200,200,"Cloud Services","Cloud Services",!0,null,this.getTagsForStencil("boxes box ","cloud services",b).join(" "))];this.addPalette("ibmBoxes",\r\n"IBM / Boxes",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addIBMConnectorsPalette=function(a,b,e,c){var d=[this.createEdgeTemplateEntry("html=1;labelBackgroundColor=#ffffff;jettySize=auto;orthogonalLoop=1;strokeWidth=1;fontSize=14;endArrow=none;endFill=0;",a,a,"","Connector",null,b+"connector"),this.createEdgeTemplateEntry("html=1;labelBackgroundColor=#ffffff;endArrow=classic;endFill=1;endSize=6;jettySize=auto;orthogonalLoop=1;strokeWidth=1;fontSize=14;",\r\na,a,"","Connector (Single Arrow)",null,b+"connector single arrow"),this.createEdgeTemplateEntry("html=1;labelBackgroundColor=#ffffff;startArrow=classic;startFill=1;startSize=6;endArrow=classic;endFill=1;endSize=6;jettySize=auto;orthogonalLoop=1;strokeWidth=1;fontSize=14;",a,a,"","Connector (Double Arrow)",null,b+"connector double arrow"),this.createEdgeTemplateEntry("html=1;labelBackgroundColor=#ffffff;endArrow=none;endFill=0;jettySize=auto;orthogonalLoop=1;strokeWidth=1;dashed=1;fontSize=14;",a,\r\na,"","Dashed Connector",null,b+"dashed connector"),this.createEdgeTemplateEntry("html=1;labelBackgroundColor=#ffffff;startArrow=none;startFill=0;startSize=6;endArrow=classic;endFill=1;endSize=6;jettySize=auto;orthogonalLoop=1;strokeWidth=1;dashed=1;fontSize=14;",a,a,"","Dashed Connector (Single Arrow)",null,b+"dashed connector single arrow"),this.createEdgeTemplateEntry("html=1;labelBackgroundColor=#ffffff;startArrow=classic;startFill=1;startSize=6;endArrow=classic;endFill=1;endSize=6;jettySize=auto;orthogonalLoop=1;strokeWidth=1;dashed=1;fontSize=14;",\r\na,a,"","Dashed Connector (Double Arrow)",null,b+"dashed connector double arrow"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;rounded=0;elbow=vertical;html=1;labelBackgroundColor=#ffffff;jettySize=auto;orthogonalLoop=1;strokeWidth=1;fontSize=14;endArrow=none;endFill=0;",a,a,"","Elbow Connector",null,b+"elbow connector"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;rounded=0;elbow=vertical;html=1;labelBackgroundColor=#ffffff;endArrow=classic;endFill=1;endSize=6;jettySize=auto;orthogonalLoop=1;strokeWidth=1;fontSize=14;",\r\na,a,"","Elbow Connector (Single Arrow)",null,b+"elbow connector single arrow"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;rounded=0;elbow=vertical;html=1;labelBackgroundColor=#ffffff;startArrow=classic;startFill=1;startSize=6;endArrow=classic;endFill=1;endSize=6;jettySize=auto;orthogonalLoop=1;strokeWidth=1;fontSize=14;",a,a,"","Elbow Connector (Double Arrow)",null,b+"elbow connector double arrow")];this.addPalette("ibmConnectors","IBM / Connectors",!1,mxUtils.bind(this,function(a){for(var c=\r\n0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addInfographicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.setCurrentSearchEntryLibrary("infographic");this.addPaletteFunctions("infographic","Infographic",!1,[this.createVertexTemplateEntry(b+"pie;fillColor=#10739E;strokeColor=none;startAngle=0.2;endAngle=0.9;",\r\n100,100,"","Pie",null,null,this.getTagsForStencil("mxgraph.infographic","pie","").join(" ")),this.createVertexTemplateEntry(b+"arc;strokeColor=#10739E;strokeWidth=6;startAngle=0.3;endAngle=0.1;",100,100,"","Arc",null,null,this.getTagsForStencil("mxgraph.infographic","arc","").join(" ")),this.createVertexTemplateEntry(b+"partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0.25;endAngle=0.1;arcWidth=0.5;",100,100,"","Partial Concentric Ellipse",null,null,this.getTagsForStencil("mxgraph.infographic",\r\n"partConcEllipse","").join(" ")),this.createVertexTemplateEntry(a+"parallelogram;dx=15;fillColor=#10739E;strokeColor=none;",100,70,"","Trapezoid",null,null,this.getTagsForStencil("mxgraph.infographic","partConcEllipse","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=20;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;",200,40,"Label","Ribbon",null,null,this.getTagsForStencil("mxgraph.infographic",\r\n"ribbonRolled","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonRolled;dx=185;dy=15;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;",200,70,"Label","Ribbon (rolled)",null,null,this.getTagsForStencil("mxgraph.infographic","ribbonRolled","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonDoubleFolded;dx=25;dy=15;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;",\r\n200,70,"Label","Ribbon (double folded)",null,null,this.getTagsForStencil("mxgraph.infographic","ribbonDoubleFolded","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonFrontFolded;dx=25;dy=15;notch=15;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingTop=10;",200,100*.55,"Label","Ribbon (front folded)",null,null,this.getTagsForStencil("mxgraph.infographic","ribbonFrontFolded","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonBackFolded;dx=25;dy=15;notch=15;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingTop=10;",\r\n200,100*.55,"Label","Ribbon (back folded)",null,null,this.getTagsForStencil("mxgraph.infographic","ribbonBackFolded","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.banner;dx=32;dy=17;notch=15;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingBottom=15;",260,70,"Label","Banner",null,null,this.getTagsForStencil("mxgraph.infographic","banner","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.bannerSingleFold;dx=32;dx2=20;dy=17;notch=15;fillColor=#10739E;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingBottom=15;spacingLeft=25;",\r\n260,70,"Label","Banner (single fold)",null,null,this.getTagsForStencil("mxgraph.infographic","bannerSingleFold","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#10739E;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;",200,200,"Label","Banner (half fold)",null,null,this.getTagsForStencil("mxgraph.infographic","bannerHalfFold","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.barCallout;dx=100;dy=30;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;",\r\n200,70,"Label","Bar with callout",null,null,this.getTagsForStencil("mxgraph.infographic","ribbonRolled","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.flag;dx=30;dy=20;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;",200,70,"Label","Flag",null,null,this.getTagsForStencil("mxgraph.infographic","flag","").join(" ")),this.createVertexTemplateEntry(a+"shadedTriangle;fillColor=#10739E;strokeColor=none;",\r\n80,100,"","Triangle",null,null,this.getTagsForStencil("mxgraph.infographic","shadedTriangle","").join(" ")),this.createVertexTemplateEntry(a+"shadedPyramid;fillColor=#10739E;strokeColor=none;",60,100,"","Pyramid",null,null,this.getTagsForStencil("mxgraph.infographic","shadedTriangle","").join(" ")),this.createVertexTemplateEntry(a+"pyramidStep;fillColor=#10739E;strokeColor=none;",60,100,"","Pyramid step",null,null,this.getTagsForStencil("mxgraph.infographic","pyramidStep","").join(" ")),this.createVertexTemplateEntry(a+\r\n"cylinder;fillColor=#10739E;strokeColor=none;",60,100,"","Cylinder",null,null,this.getTagsForStencil("mxgraph.infographic","cylinder","").join(" ")),this.createVertexTemplateEntry(a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;",100,100,"","Cube",null,null,this.getTagsForStencil("mxgraph.infographic","shaded cube","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0;endAngle=0.75;arcWidth=0.4;fontSize=20;fontColor=#10739E;align=center;fontStyle=1;",\r\n100,100,"75%","Partial Concentric Ellipse",null,null,this.getTagsForStencil("mxgraph.infographic","partConcEllipse","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.circularDial;dy=15;fillColor=#10739E;strokeColor=none;labelPosition=center;align=center;fontStyle=1;fontSize=15;spacingBottom=5;",80,100*1.1,"Label","Circular Dial",null,null,this.getTagsForStencil("mxgraph.infographic","circularDial","").join(" ")),this.addEntry("chevron list",\r\nfunction(){var a=new mxCell("LABEL",new mxGeometry(0,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;fontSize=17;fontStyle=1;align=center;");a.vertex=!0;var c=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- magna aliqua.",new mxGeometry(0,40,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;");\r\nc.vertex=!0;return sb.createVertexTemplateFromCells([a,c],200,160,"Chevron list")}),this.addEntry("roadmap vertical",function(){var a=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;");a.vertex=!0;var c=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew mxGeometry(100,0,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");c.vertex=!0;return sb.createVertexTemplateFromCells([a,c],300,70,"Roadmap (vertical)")}),this.addEntry("numbered entry",function(){var a=new mxCell("Label",new mxGeometry(30,10,170,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#B1DDF0;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");\r\na.vertex=!0;var c=new mxCell("1",new mxGeometry(0,0,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#10739E;strokeWidth=4;fontColor=#ffffff;align=center;");c.vertex=!0;return sb.createVertexTemplateFromCells([a,c],200,60,"Numbered Entry")}),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=middle;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.numberedEntryVert;dy=25;fillColor=#10739E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;align=center;labelPosition=center;spacingTop=32;fontStyle=1;",\r\n80,160,"Label","Numbered Entry (vertical)",null,null,this.getTagsForStencil("mxgraph.infographic","numberedEntryVert","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.bendingArch;startAngle=0.75;endAngle=0.25;arcWidth=0.25;fillColor=#10739E;strokeColor=none;fontSize=19;fontColor=#FFFFFF;labelPosition=center;align=center;fontStyle=1",100,100,"50%","Bending Arch",null,null,this.getTagsForStencil("mxgraph.infographic","bendingArch",\r\n"").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout;dy=15;fillColor=#10739E;strokeColor=none;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;",100,100,"50%","Circular Callout",null,null,this.getTagsForStencil("mxgraph.infographic","circularCallout","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;",\r\n60,140,"","Circular Callout",null,null,this.getTagsForStencil("mxgraph.infographic","circularCallout2","").join(" ")),this.addEntry("circular dial",function(){var a=new mxCell("",new mxGeometry(0,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#10739E;fontSize=10;align=center;fillOpacity=20;");a.vertex=!0;var c=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1");\r\nc.vertex=!0;a.insert(c);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Circular Dial")}),this.addEntry("angled entry",function(){var a=new mxCell("1",new mxGeometry(0,0,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(45,0,95,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#B1DDF0;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");\r\nc.vertex=!0;return sb.createVertexTemplateFromCells([a,c],140,30,"Angled Entry")}),this.addEntry("chevron list",function(){var a=new mxCell("LABEL",new mxGeometry(0,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");a.vertex=!0;var c=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- magna aliqua.",\r\nnew mxGeometry(0,40,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");c.vertex=!0;var b=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- magna aliqua.",new mxGeometry(0,170,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");\r\nb.vertex=!0;var f=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- magna aliqua.",new mxGeometry(0,300,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");f.vertex=!0;var g=new mxCell("LABEL",new mxGeometry(200,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#F2931E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");\r\ng.vertex=!0;var h=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- 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("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- magna aliqua.",\r\nnew 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("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- 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;");\r\nl.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 p=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- 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;");\r\np.vertex=!0;var n=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- 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;");n.vertex=!0;var q=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- magna aliqua.",\r\nnew 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 r=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;");r.vertex=!0;var u=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- magna aliqua.",\r\nnew 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 t=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- 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;");\r\nt.vertex=!0;var v=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- 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;");v.vertex=!0;var y=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\ny.vertex=!0;var x=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- 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 w=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- magna aliqua.",\r\nnew 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;");w.vertex=!0;var z=new mxCell("&nbsp;- Lorem ipsum dolor sit amet<br>&nbsp;- consectetur adipisicing elit<br>&nbsp;- sed do eiusmod tempor<br>&nbsp;- incididunt ut labore et dolore<br>&nbsp;- 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;");\r\nz.vertex=!0;return sb.createVertexTemplateFromCells([a,g,m,r,y,c,b,f,h,k,l,p,n,q,u,t,v,x,w,z],1E3,420,"Chevron list")}),this.addEntry("roadmap vertical",function(){var a=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;");a.vertex=!0;var c=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew mxGeometry(100,0,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");c.vertex=!0;var b=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;");b.vertex=!0;var f=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew 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(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew 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(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew mxGeometry(100,240,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");l.vertex=!0;var m=new mxCell("",new mxGeometry(0,320,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#12AAB5;strokeColor=none;rounded=0;");m.vertex=!0;var p=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew mxGeometry(100,320,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,b,g,k,m,c,f,h,l,p],300,400,"Roadmap (vertical)")}),this.addEntry("numbered list",function(){var a=new mxCell("Label",new mxGeometry(30,10,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#64BBE2;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");\r\na.vertex=!0;var c=new mxCell("1",new mxGeometry(0,0,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#10739E;strokeWidth=4;fontColor=#ffffff;align=center;");c.vertex=!0;var b=new mxCell("Label",new mxGeometry(30,75,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#F8C382;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");b.vertex=!0;var f=new mxCell("2",new mxGeometry(0,\r\n65,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#F2931E;strokeWidth=4;fontColor=#ffffff;align=center;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(30,140,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#F08E81;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");g.vertex=!0;var h=new mxCell("3",new mxGeometry(0,130,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#AE4132;strokeWidth=4;fontColor=#ffffff;align=center;");\r\nh.vertex=!0;var k=new mxCell("Label",new mxGeometry(30,205,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#5D7F99;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");k.vertex=!0;var l=new mxCell("4",new mxGeometry(0,195,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#23445D;strokeWidth=4;fontColor=#ffffff;align=center;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(30,\r\n270,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#61C6CE;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");m.vertex=!0;var p=new mxCell("5",new mxGeometry(0,260,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#12AAB5;strokeWidth=4;fontColor=#ffffff;align=center;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p],200,320,"Numbered List")}),\r\nthis.addEntry("list",function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=middle;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.numberedEntryVert;dy=25;strokeColor=none;fontSize=17;fontColor=#FFFFFF;align=center;labelPosition=center;spacingTop=32;fontStyle=1;fillColor=#",c=new mxCell("Label",new mxGeometry(0,0,80,160),a+"10739E;");c.vertex=!0;var b=new mxCell("Label",new mxGeometry(85,0,80,160),a+"F2931E;");b.vertex=!0;var f=new mxCell("Label",new mxGeometry(170,\r\n0,80,160),a+"AE4132;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(255,0,80,160),a+"23445D;");g.vertex=!0;a=new mxCell("Label",new mxGeometry(340,0,80,160),a+"12AAB5;");a.vertex=!0;return sb.createVertexTemplateFromCells([c,b,f,g,a],420,160,"List")}),this.addEntry("rodmap horizontal",function(){var a=new mxCell("",new mxGeometry(0,90,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#10739E;strokeColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(105,\r\n90,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.25;arcWidth=0.25;fillColor=#F2931E;strokeColor=none;");c.vertex=!0;var d=new mxCell("",new mxGeometry(210,90,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#AE4132;strokeColor=none;");d.vertex=!0;var f=new mxCell("",new mxGeometry(315,90,120,120),b+"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),\r\nb+"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;");\r\nl.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 p=new mxCell("5",new mxGeometry(455,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#12AAB5;fontSize=15;html=0;fontStyle=1;fontColor=#12AAB5;");p.vertex=!0;var n=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew mxGeometry(0,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");n.vertex=!0;var q=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',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\nq.vertex=!0;var r=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',new mxGeometry(210,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");r.vertex=!0;var u=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew 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 t=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',new mxGeometry(420,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");\r\nt.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,p,n,q,r,u,t],540,300,"Roadmap (horizontal)")}),this.addEntry("roadmap diagonal",function(){var a=new mxCell("",new mxGeometry(190,0,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#10739E;strokeColor=none;shadow=0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(190,105,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0;arcWidth=0.25;fillColor=#F2931E;strokeColor=none;shadow=0;");c.vertex=\r\n!0;var d=new mxCell("",new mxGeometry(295,105,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#AE4132;strokeColor=none;shadow=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(295,210,120,120),b+"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),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#12AAB5;strokeColor=none;shadow=0;");\r\ng.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;");\r\nl.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 p=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;");p.vertex=!0;var n=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew 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;");n.vertex=!0;var q=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',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\nq.vertex=!0;var r=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',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;");r.vertex=!0;var u=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew 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 t=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',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;");\r\nt.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,p,n,q,r,u,t],710,330,"Roadmap (diagonal)")}),this.addEntry("arrow list",function(){var a=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;");a.vertex=!0;var c=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;");\r\nc.vertex=!0;var b=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;");b.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;");\r\ng.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),\r\n"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 p=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;");\r\np.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p],220,220,"Arrow List")}),this.addEntry("angled list",function(){var a=new mxCell("1",new mxGeometry(0,0,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(45,0,95,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");\r\nc.vertex=!0;var b=new mxCell("2",new mxGeometry(0,35,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");b.vertex=!0;var f=new mxCell("Label",new mxGeometry(45,35,115,30),"shape=mxgraph.infographic.parallelogram;dx=5;;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,70,\r\n50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(45,70,135,30),"shape=mxgraph.infographic.parallelogram;dx=5;;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,105,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");\r\nk.vertex=!0;var l=new mxCell("Label",new mxGeometry(45,105,155,30),"shape=mxgraph.infographic.parallelogram;dx=5;;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,140,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");m.vertex=!0;var p=new mxCell("Label",new mxGeometry(45,\r\n140,175,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#61C6CE;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p],220,170,"Angled List")}),this.addEntry("angled list",function(){var a=new mxCell("1",new mxGeometry(200,0,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");\r\na.vertex=!0;var c=new mxCell("Label",new mxGeometry(245,0,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");c.vertex=!0;var b=new mxCell("2",new mxGeometry(150,35,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");b.vertex=!0;var f=new mxCell("Label",new mxGeometry(195,\r\n35,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;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(100,70,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(145,70,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#F08E81;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");\r\nh.vertex=!0;var k=new mxCell("4",new mxGeometry(50,105,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(95,105,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;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,\r\n140,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");m.vertex=!0;var p=new mxCell("Label",new mxGeometry(45,140,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#61C6CE;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p],390,170,"Angled List")}),\r\nthis.addEntry("matrix",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,35,100,100),"html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");a.vertex=!0;var c=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,35,100,100),"html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");\r\nc.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,100),"html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");b.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100,100),"html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");\r\nf.vertex=!0;var g=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;");g.vertex=!0;var h=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;");h.vertex=!0;var k=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;");\r\nk.vertex=!0;var l=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;");l.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l],240,240,"Matrix (2x2)")}),this.addEntry("matrix",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,35,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;flipH=1;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");\r\na.vertex=!0;var c=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,35,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");c.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;flipH=1;flipV=1;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");\r\nb.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;flipV=1;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,45,30,80),"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;");\r\ng.vertex=!0;var h=new mxCell("Label",new mxGeometry(0,150,30,80),"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(45,0,80,30),"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(150,0,80,30),\r\n"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;");l.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l],240,240,"Matrix (2x2)")}),this.addEntry("matrix",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,35,100,100),"html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");\r\na.vertex=!0;var c=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,35,100,100),"html=1;fillColor=#F5AB50;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");c.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(245,35,100,100),"html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");\r\nb.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;");\r\ng.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;");\r\nk.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;");\r\nm.vertex=!0;var p=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;");p.vertex=!0;var n=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;");n.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;");\r\nq.vertex=!0;var r=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;");r.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 t=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;");\r\nt.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n,q,r,u,t],345,345,"Matrix (3x3)")}),this.addEntry("hex loop",function(){var a=new mxCell("Lorem ipsum<br> 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;");a.vertex=!0;var c=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",\r\nnew 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;");c.vertex=!0;var b=new mxCell("Lorem ipsum<br> 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;");\r\nb.vertex=!0;var f=new mxCell("Lorem ipsum<br> 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<br> 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;");\r\ng.vertex=!0;var h=new mxCell("Lorem ipsum<br> 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<br> 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;");\r\nk.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k],284,312,"Hex Loop")}),this.addEntry("target",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(25,25,300,300),"ellipse;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");\r\nc.vertex=!0;var b=new mxCell("",new mxGeometry(50,50,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var f=new mxCell("",new mxGeometry(75,75,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,100,\r\n150,150),"ellipse;html=1;strokeWidth=4;fillColor=#5D7F99;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");g.vertex=!0;var h=new mxCell("",new mxGeometry(125,125,100,100),"ellipse;html=1;strokeWidth=4;fillColor=#2F5B7C;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");h.vertex=!0;var k=new mxCell("",new mxGeometry(150,150,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");\r\nk.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k],350,350,"Target")}),this.addEntry("target simple",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#10739E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,50,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");\r\nc.vertex=!0;var b=new mxCell("",new mxGeometry(100,100,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#AE4132;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var f=new mxCell("",new mxGeometry(150,150,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells([a,\r\nc,b,f],350,350,"Target (simple)")}),this.addEntry("onion",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#F5AB50;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(25,50,300,300),"ellipse;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");\r\nc.vertex=!0;var b=new mxCell("",new mxGeometry(50,100,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var f=new mxCell("",new mxGeometry(75,150,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,\r\n200,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#5D7F99;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");g.vertex=!0;var h=new mxCell("",new mxGeometry(125,250,100,100),"ellipse;html=1;strokeWidth=4;fillColor=#2F5B7C;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");h.vertex=!0;var k=new mxCell("",new mxGeometry(150,300,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");\r\nk.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k],350,350,"Onion")}),this.addEntry("onion simple",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#10739E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,100,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");\r\nc.vertex=!0;var b=new mxCell("",new mxGeometry(100,200,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#AE4132;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var f=new mxCell("",new mxGeometry(150,300,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells([a,\r\nc,b,f],350,350,"Onion (simple)")}),this.addEntry("triangle",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(25,0,300,300),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");\r\nc.vertex=!0;var b=new mxCell("",new mxGeometry(50,0,250,250),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var f=new mxCell("",new mxGeometry(75,0,200,200),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",\r\nnew mxGeometry(100,0,150,150),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#5D7F99;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");g.vertex=!0;var h=new mxCell("",new mxGeometry(125,0,100,100),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#2F5B7C;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");h.vertex=!0;var k=new mxCell("",new mxGeometry(150,\r\n0,50,50),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");k.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k],350,350,"Triangle")}),this.addEntry("triangle simple",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#10739E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,250,250),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");c.vertex=!0;var b=new mxCell("",new mxGeometry(100,0,150,150),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#AE4132;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var f=new mxCell("",\r\nnew mxGeometry(150,0,50,50),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f],350,350,"Triangle (simple)")}),this.addEntry("percent percentage list",function(){var a=new mxCell("30%",new mxGeometry(0,0,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;");\r\na.vertex=!0;var c=new mxCell("",new mxGeometry(70,10,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#B1DDF0;strokeColor=none;");c.vertex=!0;var b=new mxCell("",new mxGeometry(70,10,90,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;shadow=0;");b.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;");\r\nf.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;");\r\nk.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 p=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;");\r\np.vertex=!0;var n=new mxCell("",new mxGeometry(70,160,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#BAC8D3;strokeColor=none;");n.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([a,c,b,f,g,h,k,l,m,p,n,q],370,190,"Percentage list")}),this.addEntry("percent percentage list",function(){var a=new mxCell("",new mxGeometry(0,0,400,40),\r\n"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");a.vertex=!0;var c=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;");c.vertex=!0;var b=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;");\r\nb.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;");\r\nh.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;");\r\nm.vertex=!0;var p=new mxCell("",new mxGeometry(0,150,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");p.vertex=!0;var n=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;");n.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;");\r\nq.vertex=!0;var r=new mxCell("",new mxGeometry(0,200,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");r.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 t=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;");\r\nt.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,g,k,l,p,n,r,u,b,h,m,q,t],400,250,"Percentage list")}),this.addEntry("arc list",function(){var a=new mxCell("",new mxGeometry(0,0,260,260),b+"partConcEllipse;fillColor=#10739E;strokeColor=#ffffff;startAngle=0.75;endAngle=0.08;arcWidth=0.16;strokeWidth=3;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20,20,220,220),b+"partConcEllipse;fillColor=#F2931E;strokeColor=#ffffff;startAngle=0.91;endAngle=0.17;arcWidth=0.18;strokeWidth=3;");c.vertex=\r\n!0;var d=new mxCell("",new mxGeometry(40,40,180,180),b+"partConcEllipse;fillColor=#AE4132;strokeColor=#ffffff;startAngle=0.75;endAngle=0.11;arcWidth=0.22;strokeWidth=3;");d.vertex=!0;var f=new mxCell("",new mxGeometry(60,60,140,140),b+"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),b+"partConcEllipse;fillColor=#CCCCCC;strokeColor=#ffffff;startAngle=0.75;endAngle=0.25;arcWidth=0.4;strokeWidth=3;");\r\ng.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([a,c,d,f,g,h],200,200,"Arc list")}),this.addEntry("arc list",function(){var a=new mxCell("",new mxGeometry(0,0,250,250),"ellipse;fillColor=none;strokeColor=#444444;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20,\r\n20,210,210),"ellipse;fillColor=none;strokeColor=#444444;");c.vertex=!0;var d=new mxCell("",new mxGeometry(40,40,170,170),"ellipse;fillColor=none;strokeColor=#444444;");d.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),b+"arc;fillColor=none;strokeColor=#10739E;startAngle=0.75;endAngle=0.08;strokeWidth=16;");\r\nh.vertex=!0;var k=new mxCell("",new mxGeometry(20,20,210,210),b+"arc;fillColor=none;strokeColor=#F2931E;startAngle=0.91;endAngle=0.17;strokeWidth=16;");k.vertex=!0;var l=new mxCell("",new mxGeometry(40,40,170,170),b+"arc;fillColor=none;strokeColor=#AE4132;startAngle=0.75;endAngle=0.11;strokeWidth=16;");l.vertex=!0;var m=new mxCell("",new mxGeometry(60,60,130,130),b+"arc;fillColor=none;strokeColor=#12AAB5;startAngle=0.02;endAngle=0.25;strokeWidth=16;");m.vertex=!0;var p=new mxCell("",new mxGeometry(80,\r\n80,90,90),b+"arc;fillColor=none;strokeColor=#CCCCCC;startAngle=0.75;endAngle=0.25;strokeWidth=16;");p.vertex=!0;var n=new mxCell("2018",new mxGeometry(92,92,66,66),"html=1;shape=mxgraph.basic.pie;fillColor=#23445D;strokeColor=none;startAngle=0.75;endAngle=0.25;fontSize=16;fontColor=#FFFFFF;verticalAlign=top;spacingTop=8;fontStyle=1;");n.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,p,n],200,200,"Arc list")}),this.addEntry("triangle graph",function(){var a=new mxCell("Label",\r\nnew mxGeometry(0,70,80,70),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#10739E;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(60,10,80,130),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#F2931E;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");\r\nc.vertex=!0;var b=new mxCell("Label",new mxGeometry(120,0,80,140),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#AE4132;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");b.vertex=!0;var f=new mxCell("Label",new mxGeometry(180,40,80,100),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#12AAB5;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");\r\nf.vertex=!0;var g=new mxCell("Label",new mxGeometry(240,60,80,80),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#23445D;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,b,c,a],320,140,"Triangle Graph")}),this.addEntry("pyramid graph",function(){var a=new mxCell("Label",new mxGeometry(0,70,80,70),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#10739E;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;");\r\na.vertex=!0;var c=new mxCell("Label",new mxGeometry(60,10,80,130),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#F2931E;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;");c.vertex=!0;var b=new mxCell("Label",new mxGeometry(120,0,80,140),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#AE4132;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;");\r\nb.vertex=!0;var f=new mxCell("Label",new mxGeometry(180,40,80,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#12AAB5;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(240,60,80,80),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#23445D;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;");\r\ng.vertex=!0;return sb.createVertexTemplateFromCells([g,f,b,c,a],320,140,"Pyramid Graph")}),this.addEntry("change graph",function(){var a=new mxCell("",new mxGeometry(0,30,30,100),"fillColor=#10739E;strokeColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(3,30,24,70),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#1699D3;strokeColor=none;");c.vertex=!0;a.insert(c);c=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;");\r\nc.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(35,10,30,120),"fillColor=#F2931E;strokeColor=none;");c.vertex=!0;var b=new mxCell("",new mxGeometry(3,0,24,80),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=south;fillColor=#F5AB50;strokeColor=none;");b.vertex=!0;c.insert(b);b=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;");b.vertex=!0;c.insert(b);b=new mxCell("",new mxGeometry(70,0,30,130),\r\n"fillColor=#AE4132;strokeColor=none;");b.vertex=!0;var f=new mxCell("",new mxGeometry(3,80,24,50),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#E85642;strokeColor=none;");f.vertex=!0;b.insert(f);f=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;");f.vertex=!0;b.insert(f);f=new mxCell("",new mxGeometry(105,50,30,80),"fillColor=#12AAB5;strokeColor=none;");f.vertex=!0;var g=new mxCell("",\r\nnew mxGeometry(3,0,24,30),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=south;fillColor=#64BBE2;strokeColor=none;");g.vertex=!0;f.insert(g);g=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;");g.vertex=!0;f.insert(g);g=new mxCell("",new mxGeometry(140,60,30,70),"fillColor=#23445D;strokeColor=none;");g.vertex=!0;var h=new mxCell("",new mxGeometry(3,10,24,60),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#2F5B7C;strokeColor=none;");\r\nh.vertex=!0;g.insert(h);h=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;");h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,c,b,f,g],170,130,"Change Graph")}),this.addEntry("step pyramid",function(){var a=new mxCell("",new mxGeometry(70,0,20,95),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#F2931E;strokeColor=none;shadow=0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(60,10,\r\n40,85),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#F8C382;strokeColor=none;shadow=0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(50,20,60,75),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#FCE7CD;strokeColor=none;shadow=0;");b.vertex=!0;var f=new mxCell("",new mxGeometry(40,30,80,65),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#BAC8D3;strokeColor=none;shadow=0;");f.vertex=!0;var g=new mxCell("",new mxGeometry(30,40,100,55),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#5D7F99;strokeColor=none;shadow=0;");\r\ng.vertex=!0;var h=new mxCell("",new mxGeometry(20,50,120,45),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#2F5B7C;strokeColor=none;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(10,60,140,35),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#23445D;strokeColor=none;shadow=0;");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,70,160,25),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#333333;strokeColor=none;shadow=0;");l.vertex=!0;return sb.createVertexTemplateFromCells([a,\r\nc,b,f,g,h,k,l],160,95,"Step Pyramid")}),this.addEntry("circular dial list horizontal",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#B1DDF0;fontSize=12;fontColor=#10739E;align=center;fontStyle=1;");a.vertex=!0;var c=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1");\r\nc.vertex=!0;a.insert(c);c=new mxCell("Label",new mxGeometry(110,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F8C382;fontSize=12;fontColor=#F2931E;align=center;fontStyle=1;");c.vertex=!0;var b=new mxCell("40%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.2;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1");\r\nb.vertex=!0;c.insert(b);b=new mxCell("Label",new mxGeometry(220,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F08E81;fontSize=12;fontColor=#AE4132;align=center;fontStyle=1;");b.vertex=!0;var f=new mxCell("25%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.2;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1");\r\nf.vertex=!0;b.insert(f);f=new mxCell("Label",new mxGeometry(330,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#5D7F99;fontSize=12;fontColor=#23445D;align=center;fontStyle=1;");f.vertex=!0;var g=new mxCell("60%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.2;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1");\r\ng.vertex=!0;f.insert(g);g=new mxCell("Label",new mxGeometry(440,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#61C6CE;fontSize=12;fontColor=#12AAB5;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("80%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.8;arcWidth=0.2;strokeColor=none;fillColor=#12AAB5;fontSize=22;fontColor=#12AAB5;align=center;fontStyle=1");\r\nh.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,c,b,f,g],540,100,"Circular Dial List (horizontal)")}),this.addEntry("circular dial list vertical",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#B1DDF0;fontSize=12;fontColor=#10739E;align=left;fontStyle=1;");a.vertex=!0;var c=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1");\r\nc.vertex=!0;a.insert(c);c=new mxCell("Label",new mxGeometry(0,110,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F8C382;fontSize=12;fontColor=#F2931E;align=left;fontStyle=1;");c.vertex=!0;var b=new mxCell("40%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.2;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1");\r\nb.vertex=!0;c.insert(b);b=new mxCell("Label",new mxGeometry(0,220,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F08E81;fontSize=12;fontColor=#AE4132;align=left;fontStyle=1;");b.vertex=!0;var f=new mxCell("25%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.2;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1");\r\nf.vertex=!0;b.insert(f);f=new mxCell("Label",new mxGeometry(0,330,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#5D7F99;fontSize=12;fontColor=#23445D;align=left;fontStyle=1;");f.vertex=!0;var g=new mxCell("60%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.2;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1");\r\ng.vertex=!0;f.insert(g);g=new mxCell("Label",new mxGeometry(0,440,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#61C6CE;fontSize=12;fontColor=#12AAB5;align=left;fontStyle=1;");g.vertex=!0;var h=new mxCell("80%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.8;arcWidth=0.2;strokeColor=none;fillColor=#12AAB5;fontSize=22;fontColor=#12AAB5;align=center;fontStyle=1");\r\nh.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,c,b,f,g],100,540,"Circular Dial List (vertical)")}),this.addEntry("circular dial list horizontal",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#10739E;align=center;fontStyle=1;");a.vertex=!0;var c=new mxCell("65%",new mxGeometry(0,30,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;");\r\nc.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,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;");b.vertex=!0;var f=new mxCell("Label",new mxGeometry(110,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#F2931E;align=center;fontStyle=1;");\r\nf.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;");\r\nh.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;");\r\nl.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 p=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;");\r\np.vertex=!0;var n=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;");n.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;");\r\nq.vertex=!0;var r=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;");r.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;");\r\nu.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(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;");t.vertex=!0;return sb.createVertexTemplateFromCells([c,g,l,n,u,a,f,k,p,r,b,h,m,q,t],540,260,"Circular Dial List (horizontal)")}),\r\nthis.addEntry("circular dial list vertical",function(){var a=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;");a.vertex=!0;var c=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>\',\r\nnew 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;");c.vertex=!0;var b=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;");b.vertex=!0;var f=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>\',\r\nnew 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(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>\',\r\nnew mxGeometry(110,220,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");h.vertex=!0;var k=new mxCell("60%",new mxGeometry(0,330,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;");k.vertex=!0;var l=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>\',\r\nnew mxGeometry(110,330,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");l.vertex=!0;var m=new mxCell("80%",new mxGeometry(0,440,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;");m.vertex=!0;var p=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>\',\r\nnew mxGeometry(110,440,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");p.vertex=!0;return sb.createVertexTemplateFromCells([a,b,g,k,m,c,f,h,l,p],320,540,"Circular Dial List (vertical)")}),this.addEntry("bar graph",function(){var b=new mxCell("Label",new mxGeometry(0,20,40,80),a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;");b.vertex=!0;var c=\r\nnew mxCell("Label",new mxGeometry(50,0,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");c.vertex=!0;var d=new mxCell("Label",new mxGeometry(100,10,40,90),a+"shadedCube;isoAngle=15;fillColor=#AE4132;strokeColor=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(150,50,40,50),a+"shadedCube;isoAngle=15;fillColor=#23445D;strokeColor=none;fontStyle=1;fontColor=#23445D;fontSize=12;shadow=0;");\r\nf.vertex=!0;var g=new mxCell("Label",new mxGeometry(200,30,40,70),a+"shadedCube;isoAngle=15;fillColor=#12AAB5;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;");g.vertex=!0;return sb.createVertexTemplateFromCells([b,c,d,f,g],240,100,"Bar Graph")}),this.addEntry("bar graph",function(){var b=new mxCell("Label",new mxGeometry(0,40,40,80),a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;");b.vertex=!0;var c=new mxCell("",\r\nnew mxGeometry(0,0,40,60),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;align=left;opacity=70;");c.vertex=!0;var d=new mxCell("Label",new mxGeometry(50,20,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(50,0,40,40),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#F19A19;fontSize=12;shadow=0;align=left;opacity=70;");\r\nf.vertex=!0;var g=new mxCell("Label",new mxGeometry(100,30,40,90),a+"shadedCube;isoAngle=15;fillColor=#AE4132;strokeColor=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;");g.vertex=!0;var h=new mxCell("",new mxGeometry(100,0,40,50),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#D82A23;fontSize=12;shadow=0;align=left;opacity=70;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(150,\r\n70,40,50),a+"shadedCube;isoAngle=15;fillColor=#23445D;strokeColor=none;fontStyle=1;fontColor=#23445D;fontSize=12;shadow=0;");k.vertex=!0;var l=new mxCell("",new mxGeometry(150,0,40,90),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#4A5768;fontSize=12;shadow=0;align=left;opacity=70;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(200,50,40,70),a+"shadedCube;isoAngle=15;fillColor=#12AAB5;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;");\r\nm.vertex=!0;var p=new mxCell("",new mxGeometry(200,0,40,70),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#15AA96;fontSize=12;shadow=0;align=left;opacity=70;");p.vertex=!0;return sb.createVertexTemplateFromCells([b,d,g,k,m,c,f,h,l,p],240,120,"Bar Graph")}),this.addEntry("bar graph",function(){var b=new mxCell("",new mxGeometry(0,38,40,80),a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;shadow=0;");\r\nb.vertex=!0;var c=new mxCell("",new mxGeometry(25,6,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;strokeColor=none;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,4,40,90),a+"shadedCube;isoAngle=15;fillColor=#AE4132;strokeColor=none;shadow=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(75,32,40,50),a+"shadedCube;isoAngle=15;fillColor=#23445D;strokeColor=none;shadow=0;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,0,40,70),a+"shadedCube;isoAngle=15;fillColor=#12AAB5;strokeColor=none;shadow=0;");\r\ng.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,c,b],140,100,"Bar Graph")}),this.addEntry("bar graph",function(){var b=new mxCell("Label",new mxGeometry(0,40,40,80),a+"cylinder;isoAngle=15;fillColor=#10739E;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,40,60),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;align=left;opacity=70;");\r\nc.vertex=!0;var d=new mxCell("Label",new mxGeometry(50,20,40,100),a+"cylinder;isoAngle=15;fillColor=#F2931E;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(50,0,40,40),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;align=left;opacity=70;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(100,\r\n30,40,90),a+"cylinder;isoAngle=15;fillColor=#AE4132;strokeColor=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;");g.vertex=!0;var h=new mxCell("",new mxGeometry(100,0,40,50),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;align=left;opacity=70;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(150,70,40,50),a+"cylinder;isoAngle=15;fillColor=#23445D;strokeColor=none;fontStyle=1;fontColor=#23445D;fontSize=12;shadow=0;");\r\nk.vertex=!0;var l=new mxCell("",new mxGeometry(150,0,40,90),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#23445D;fontSize=12;shadow=0;align=left;opacity=70;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(200,50,40,70),a+"cylinder;isoAngle=15;fillColor=#12AAB5;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;");m.vertex=!0;var p=new mxCell("",new mxGeometry(200,\r\n0,40,70),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;align=left;opacity=70;");p.vertex=!0;return sb.createVertexTemplateFromCells([b,d,g,k,m,c,f,h,l,p],240,120,"Bar Graph")}),this.addEntry("folded banners",function(){var a=new mxCell("Label",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#10739E;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;");\r\na.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,60,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#F2931E;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;");c.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,120,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#AE4132;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;");\r\nb.vertex=!0;var f=new mxCell("Label",new mxGeometry(0,180,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#23445D;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,240,200,120),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#12AAB5;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;");\r\ng.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g],200,360,"Folded Banners")}),this.addEntry("cylinder graph",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,85),"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;");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,75,100,55),"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;");\r\nc.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,120,100,110),"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;");b.vertex=!0;var f=new mxCell("Label",new mxGeometry(0,220,100,150),"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;");\r\nf.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,360,100,90),"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;return sb.createVertexTemplateFromCells([g,f,b,c,a],100,460,"Cylinder Graph")}),this.addEntry("cylinder graph",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,85),"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;");\r\na.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,65,100,55),"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;");c.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,100,100,110),"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;");\r\nb.vertex=!0;var f=new mxCell("Label",new mxGeometry(0,190,100,150),"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("Label",new mxGeometry(0,320,100,90),"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;");\r\ng.vertex=!0;return sb.createVertexTemplateFromCells([g,f,b,c,a],100,410,"Cylinder Graph")}),this.addEntry("ribbon list",function(){var a=new mxCell("",new mxGeometry(0,0,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#10739E;strokeColor=none;shadow=1;");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(410,50,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;");\r\nc.vertex=!0;var b=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;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(150,-20);a.insert(b);b=new mxCell(\'<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>\',new mxGeometry(0,0,230,\r\n100),"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;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(200,0);a.insert(b);b=new mxCell("",new mxGeometry(50,32,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");b.vertex=!0;var f=new mxCell("",new mxGeometry(0,120,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#F2931E;strokeColor=none;shadow=1;");\r\nf.vertex=!0;var g=new mxCell("Label",new mxGeometry(410,170,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;");g.vertex=!0;var h=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;");h.vertex=!0;h.geometry.relative=!0;h.geometry.offset=\r\nnew mxPoint(150,-20);f.insert(h);h=new mxCell(\'<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>\',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;");h.vertex=!0;h.geometry.relative=!0;h.geometry.offset=new mxPoint(200,0);f.insert(h);\r\nh=new mxCell("",new mxGeometry(50,152,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");h.vertex=!0;var k=new mxCell("",new mxGeometry(0,240,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#AE4132;strokeColor=none;shadow=1;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(410,290,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;");\r\nl.vertex=!0;var m=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;");m.vertex=!0;m.geometry.relative=!0;m.geometry.offset=new mxPoint(150,-20);k.insert(m);m=new mxCell(\'<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>\',new mxGeometry(0,0,230,\r\n100),"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 p=new mxCell("",new mxGeometry(0,360,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#23445D;strokeColor=none;shadow=1;");\r\np.vertex=!0;var n=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;");n.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=\r\nnew mxPoint(150,-20);p.insert(q);q=new mxCell(\'<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>\',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);p.insert(q);\r\nq=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 r=new mxCell("",new mxGeometry(0,480,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#12AAB5;strokeColor=none;shadow=1;");r.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;");\r\nu.vertex=!0;var t=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;");t.vertex=!0;t.geometry.relative=!0;t.geometry.offset=new mxPoint(150,-20);r.insert(t);t=new mxCell(\'<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>\',new mxGeometry(0,0,230,\r\n100),"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;");t.vertex=!0;t.geometry.relative=!0;t.geometry.offset=new mxPoint(200,0);r.insert(t);t=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;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n,q,r,\r\nu,t],550,590,"Ribbon List")}),this.addEntry("bar graph",function(){var a=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;");a.vertex=!0;var c=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");c.vertex=\r\n!0;var b=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;");b.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),\r\n"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;");\r\nk.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 p=new mxCell("14",new mxGeometry(610,75,\r\n40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#12AAB5;strokeWidth=6;fontSize=16;align=center;fontStyle=1");p.vertex=!0;return sb.createVertexTemplateFromCells([a,b,g,k,m,c,f,h,l,p],700,115,"Bar Graph")}),this.addEntry("arrow graph",function(){var a=new mxCell("Label",new mxGeometry(0,40,90,160),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#10739E;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1");\r\na.vertex=!0;var c=new mxCell("Label",new mxGeometry(50,0,90,200),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#F2931E;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1");c.vertex=!0;var b=new mxCell("Label",new mxGeometry(100,20,90,180),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#AE4132;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1");\r\nb.vertex=!0;var f=new mxCell("Label",new mxGeometry(150,90,90,110),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#23445D;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(200,60,90,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#12AAB5;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1");\r\ng.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g],300,200,"Arrow Graph")}),this.addEntry("triangular diagram",function(){var a=new mxCell("Label",new mxGeometry(120,0,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#10739E;fontSize=16;fontColor=#FFFFFF;align=center;direction=north;fontStyle=1");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#F2931E;fontSize=16;fontColor=#FFFFFF;align=center;direction=north;fontStyle=1");\r\nc.vertex=!0;var b=new mxCell("Label",new mxGeometry(120,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#AE4132;fontSize=16;fontColor=#FFFFFF;align=center;direction=south;fontStyle=1");b.vertex=!0;var f=new mxCell("Label",new mxGeometry(240,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#23445D;fontSize=16;fontColor=#FFFFFF;align=center;direction=north;fontStyle=1");f.vertex=!0;return sb.createVertexTemplateFromCells([a,\r\nc,b,f],480,360,"Triangular Diagram")}),this.addEntry("roll",function(){var a=new mxCell("",new mxGeometry(0,0,400,400),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(25,25,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#2F5B7C;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");c.vertex=\r\n!0;var b=new mxCell("",new mxGeometry(50,50,300,300),"ellipse;html=1;strokeWidth=4;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var f=new mxCell("",new mxGeometry(75,75,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,100,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");\r\ng.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,\r\n225,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 p=\r\nnew 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;");p.vertex=!0;var n=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;");\r\nn.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 r=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;");\r\nr.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([a,c,b,f,g,h,k,l,m,p,n,q,r,u],740,400,"Roll")}),this.addEntry("cylinder graph",function(){var a=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;");\r\na.vertex=!0;var c=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;");c.vertex=!0;var b=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;");\r\nb.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;");\r\ng.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;");\r\nk.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;");\r\nm.vertex=!0;var p=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;");p.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.",\r\nnew mxGeometry(0,30,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");n.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 r=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",\r\nnew mxGeometry(0,190,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");r.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 t=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",\r\nnew mxGeometry(0,380,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");t.vertex=!0;return sb.createVertexTemplateFromCells([g,f,b,c,a,h,k,l,m,p,n,q,r,u,t],415,430,"Cylinder Graph")}),this.addEntry("swirl",function(){var a=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;");\r\na.vertex=!0;var c=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;");c.vertex=!0;var b=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;");\r\nb.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;");\r\ng.vertex=!0;var h=new mxCell(\'<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">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(\'<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\',\r\nnew mxGeometry(50,79,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");k.vertex=!0;var l=new mxCell(\'<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\',new mxGeometry(100,158,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");\r\nl.vertex=!0;var m=new mxCell(\'<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\',new mxGeometry(50,237,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");m.vertex=!0;var p=new mxCell(\'<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\',\r\nnew mxGeometry(100,316,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");p.vertex=!0;return sb.createVertexTemplateFromCells([g,f,b,c,a,h,k,l,m,p],300,456,"Swirl")}),this.addEntry("swirl",function(){var a=new mxCell("Label",new mxGeometry(60,0,120,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#10739E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;");\r\na.vertex=!0;var c=new mxCell("Label",new mxGeometry(30,15,150,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#F2931E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;");c.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,30,180,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#AE4132;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;");b.vertex=!0;var f=new mxCell("",new mxGeometry(114,\r\n0,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;");\r\ng.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;");\r\nk.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;");\r\nm.vertex=!0;var p=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;");p.vertex=!0;var n=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;");n.vertex=!0;var q=new mxCell("",new mxGeometry(179,\r\n200,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 r=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;");r.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;");\r\nu.vertex=!0;var t=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;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n,q,r,u,t],360,215,"Swirl")}),this.addEntry("callout",function(){var a=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;");\r\na.geometry.setTerminalPoint(new mxPoint(0,100),!0);a.geometry.setTerminalPoint(new mxPoint(100,0),!1);a.geometry.x=-1;a.geometry.relative=!0;a.edge=!0;return sb.createVertexTemplateFromCells([a],100,100,"Callout")}),this.addEntry("roadmap vertical",function(){var a=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;");a.vertex=!0;var c=new mxCell("",new mxGeometry(234,498,12,12),\r\n"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;align=center;strokeWidth=2;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;strokeWidth=3;strokeColor=#CCCCCC;labelBackgroundColor=none;fontSize=16");b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);c.insertEdge(b,!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;");\r\nf.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;");\r\nh.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;");\r\nl.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 p=new mxCell("Label",new mxGeometry(70,20,160,30),"fillColor=#10739E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");p.vertex=!0;var n=new mxCell("Label",\r\nnew mxGeometry(250,85,160,30),"fillColor=#F2931E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");n.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 r=new mxCell("Label",new mxGeometry(250,225,160,30),"fillColor=#23445D;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");r.vertex=!0;\r\nvar 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 t=new mxCell("Label",new mxGeometry(250,365,160,30),"fillColor=#56517E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");t.vertex=!0;var v=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew mxGeometry(70,70,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");v.vertex=!0;var y=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',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\ny.vertex=!0;var x=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',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 w=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew mxGeometry(250,280,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");w.vertex=!0;var z=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',new mxGeometry(70,350,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");\r\nz.vertex=!0;var A=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#56517E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',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([b,a,c,f,g,h,k,l,m,p,n,q,r,u,t,v,y,x,w,z,A],480,510,"Roadmap (vertical)")}),\r\nthis.addEntry("roadmap horizontal",function(){var a=new mxCell("",new mxGeometry(0,90,840,30),"fillColor=#dddddd;rounded=0;strokeColor=none;");a.vertex=!0;var c=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;");c.vertex=!0;var b=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;");\r\nb.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;");\r\ng.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(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',new mxGeometry(0,0,200,70),\r\n"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");k.vertex=!0;var l=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',new mxGeometry(160,140,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");\r\nl.vertex=!0;var m=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',new mxGeometry(320,0,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");m.vertex=!0;var p=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',\r\nnew mxGeometry(480,140,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");p.vertex=!0;var n=new mxCell(\'<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>\',new mxGeometry(640,0,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");\r\nn.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f,g,h,k,l,m,p,n],840,210,"Roadmap (horizontal)")}),this.addEntry("flower",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,0,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;flipH=1;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");a.vertex=!0;var c=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",\r\nnew mxGeometry(160,0,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");c.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,160,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;flipH=1;flipV=1;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");\r\nb.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(160,160,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;flipV=1;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");f.vertex=!0;return sb.createVertexTemplateFromCells([a,c,b,f],310,310,"Flower")})]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addIosPalette=function(){sb=this;var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios.",b=mxConstants.STYLE_STROKEWIDTH+"=1;html=1;shadow=0;dashed=0;shape=mxgraph.ios.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;html=1;shadow=0;dashed=0;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;strokeWidth=1;shape=mxgraph.ios.";this.setCurrentSearchEntryLibrary("ios");var c=\r\n[this.createVertexTemplateEntry(a+"iPhone;bgStyle=bgGreen;fillColor=#aaaaaa;",200,400,"","iPhone (portrait)",null,null,null),this.createVertexTemplateEntry(a+"iPhone;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;",400,200,"","iPhone (landscape)",null,null,null),this.createVertexTemplateEntry(a+"iPad;bgStyle=bgGreen;fillColor=#aaaaaa;",200*2.425,625,"","iPad (portrait)",null,null,null),this.createVertexTemplateEntry(a+"iPad;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;",625,200*2.425,"","iPad (landscape)",\r\nnull,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;",175,280,"","iPad background (white)",null,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;fillColor=#1f2923;",175,280,"","iPad background (green)",null,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;fillColor=#dddddd;",175,280,"","iPad background (gray)",null,null,null),this.createVertexTemplateEntry(a+"iBgStriped;strokeColor=#18211b;fillColor=#5D7585;strokeColor2=#657E8F;",\r\n175,280,"","iPad background (striped)",null,null,null),this.createVertexTemplateEntry(a+"iBgMap;strokeColor=#18211b;strokeColor2=#008cff;fillColor2=#96D1FF;",175,280,"","iPad background (map)",null,null,null),this.addDataEntry(null,165,50,"Button bar","3ZfdboIwFMefhltSKCjeIptZsl3tCTqo0KxQUurUPf0OpfgJiVN0OowJ55z20P7Ov01r4Wm+mklSZm8iodzCTxaeSiFU85avppRzy0UssXBkuS6Cv+U+90QdHUUlkbRQp3Rwmw5fhC9o42kclVpz48hUDsOKHAuHVUYSsQQDgZGQKqOJMSBS1u3zVVrPxWaisqWkMQwilO/su475dTslxSedCi6kzo49/UBkzjjf8c/1A37IlzCYTRsrRAHJQjNuKhVd9c5du8zEZ1TkVMk1NFmyRGWmxchvumWUpZnp5jfMEKkaO9103ZKEFwOzGyw+AvuiaA4eZzjASpThQilRHEDeRWlwHXGPvfoHEcJZCgkiTud1saqSxKxIX7UVOfWn56JQJntgzJ1EI/2cWhH3vIo4ru1fXhOvQ+yjVG3GPkRNSBFnNZpDTBvemqb5kHMqNtyNre3gGcGu9xLsQkUdTAdQud+ncny9bQQ9pMJNaVpitxH86GEF79+p4Md9gveGI/ohYE/P/8nObiqEx/ZNlR88rPLHd6r8SZ/yr3hiPNzqAa4fjf3g+CRpFsOlku89dUIMoSDWsQGWw1bkt1kOrQAecD1M7nQ9OE4H0r+/Ov3menTmYfyM6xGY2zutju1deX8A"),\r\nthis.createVertexTemplateEntry(a+"iButtonBar;buttonText=Item 1,+Item 2,Item 3,Item 4;textColor=#999999;textColor2=#ffffff;strokeColor=#444444;strokeColor2=#c4c4c4;",165,80,"","Button Bar",null,null,null),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iAppBar;strokeWidth=1;");a.vertex=!0;var c=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;align=left;fontSize=8;spacingLeft=18;");\r\nc.vertex=!0;a.insert(c);c=new mxCell("11:55PM",new mxGeometry(60,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fontSize=8;strokeColor=none;fillColor=none;");c.vertex=!0;a.insert(c);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"App bar (portrait)")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,280,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iAppBar;strokeWidth=1;");a.vertex=!0;var c=new mxCell("CARRIER",new mxGeometry(0,2,50,\r\n13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;align=left;fontSize=8;spacingLeft=18;");c.vertex=!0;a.insert(c);c=new mxCell("11:55PM",new mxGeometry(115,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fontSize=8;strokeColor=none;fillColor=none;");c.vertex=!0;a.insert(c);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"App bar (landscape)")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iTopBar2;opacity=50;fillColor=#999999;strokeColor=#cccccc;strokeWidth=1;");\r\na.vertex=!0;var c=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;align=left;fontSize=7.5;spacingLeft=18;fontColor=#cccccc;textOpacity=50;strokeColor=none;fillColor=none;");c.vertex=!0;a.insert(c);c=new mxCell("11:15AM",new mxGeometry(60,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fontSize=7.5;fontColor=#cccccc;textOpacity=50;strokeColor=none;fillColor=none;");c.vertex=!0;a.insert(c);return sb.createVertexTemplateFromCells([a],a.geometry.width,\r\na.geometry.height,"Top bar")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iTopBarLocked;strokeWidth=1;");a.vertex=!0;var c=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;align=left;fontSize=7.5;spacingLeft=18;fontColor=#cccccc;");c.vertex=!0;a.insert(c);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Top bar locked")}),this.createVertexTemplateEntry(b+\r\n"iButton;strokeColor=#444444;fontColor=#ffffff;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;whiteSpace=wrap;align=center;",43.5,15,"Button","Button",null,null,null),this.createVertexTemplateEntry(b+"iButtonBack;strokeColor=#444444;fontColor=#ffffff;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;spacingLeft=10;whiteSpace=wrap;align=center;",43.5,15,"Button","Back button",null,null,null),this.createVertexTemplateEntry(b+"iButtonFw;strokeColor=#444444;fontColor=#ffffff;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;spacingRight=10;whiteSpace=wrap;align=center;",\r\n43.5,15,"Button","Forward button",null,null,null),this.createVertexTemplateEntry(a+"iPrevNext;strokeColor=#444444;fillColor=#dddddd;fillColor2=#3D5565;fillColor3=#ffffff;align=center;",43.5,15,"","Prev/next button",null,null,null),this.createVertexTemplateEntry(b+"iTextInput;strokeColor=#444444;buttonText=;fontSize=8;whiteSpace=wrap;align=left;",43.5,15,"Default text","Text input",null,null,null),this.addDataEntry(null,165,50,"Radio Buttons","7VbbbsIwDP2avqI2AcTrgI2XTZu2/UAgpo2WNlWSMdjXz0kMu0AlNLa9jEiV6nNsyz6nkZrxSb2eWdFWN0aCzvhlxifWGJ/e6vUEtM5YrmTGpxljOT4Zu+pgi8jmrbDQ+GMKWCpYCf0MCUmA8xtNQOVrHGtaZHzsKiHNCwY5BlK4CiQFyLQhv16XYZeeMq5nLSxwiLF9UK+B4yHPW/MEE6ONjd35MB5klkrrD/gyHsSxn1S4zZZrTAOhKSyerVMruAeX2ue0ClgP6045IkRazMDU4O0GU16U9BVlDAeprAJVVlQ2oO7Cpbjclb6Liy+k72Gt+Z7Wt61XpkGs2FN9Kyi2UK1LG+OiYq6BJP8imIwHcaFV2SCmYRnUd61YqKa8jtGUhULTeLJkROEhQ7SYg74zTsUZ+dQmNcZBYLUQ+voLXyspw3C7hAsaZEfQKI+mpa/hKMfYYceogPXIrQ2JvI0/OHrIz9Pt7HfbuX+JznZ+z85i+EduDrrd5Ke72Y/n37vJRn92O4fdfvbPt/OH/OwXv+Mmhu+/QJH79If0Bg=="),\r\nthis.addDataEntry(null,165,50,"Checkboxes","7ZZbT8IwFMc/zV7J1gLBRxnKCyZG/AJlPWyN3bq0RYef3tOLeGEQEoUXbbKk55rT/29NmtC87uaatdWd4iATepPQXCtlw67ucpAyIangCZ0lhKT4JeT2QDTz0bRlGhp7SgEJBc9MbiB4gsPYrYyOytY41ixL6NRUjKsXNFI0ODMV8GhgpHX5dVe6swyEMgOtocAhpnopXl2Mujyr1RPkSirtu9OxXxhZCyk/+dd+oR/7cYGneY81qgHXFIqNNuIZHsCE9m6MeBrQFrqDinhXlGMOqgart5jyIritYsZ4FMoqEGUVy0ZByZSZYJe70g99cRMl7peb7sm9BGtFU6IzO5/y6b6+3C/0MynKBn0S1q7EtKzAeRbemhFXqBob+0yi2cdPshXIe2WEFcr100G5qYMhCiYX3+K14NwddJdwHQfZBeIoj6qNP89JdEk/3VhABpHsNgJ5tz/R72P/c/TDI+jPeOn+0R9Cn40vRH50hDz9PfJFBcXTSnX7wK/8+vPAyeRil318BPnw/7Jfnv0wOw95ND8eaz725S33Bg=="),\r\nthis.createVertexTemplateEntry(b+"iComboBox;spacingTop=2;spacingLeft=2;align=left;strokeColor=#444444;fontColor=#666666;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;",200*.29,15,"Option 1","Combobox",null,null,null),this.createVertexTemplateEntry(b+"iOnOffButton;mainText=;strokeColor=#444444;fontSize=9;fontColor=#ffffff;spacingRight=14;buttonState=on",43.5,15,"ON","On-off button",null,null,null),this.createVertexTemplateEntry(b+"iTextInput;strokeColor=#444444;align=left;buttonText=;fontSize=8",\r\n43.5,15,"********","Password field",null,null,null),this.addDataEntry(null,150,100,"Alert Box","rVVNb6MwEP01PjaycdI2x02629NKq+awZwsGbNXYyHYb6K/fMTgNCLJKP5CQmDdf9nszgvB93T460cjftgBN+E/C987aMHzV7R60JhlVBeEPJMsoviT7dcHLei9thAMTrknIhoRXoV9gQH5ocAGhAnzuVBOUNWgFaBG8JRlnlPDdkpN6yK0p8EMrA0NdHzqd6spQ4+0eGGZ7KQp7RKMvJbyEIhnoaWJ83VaRkpWyflUKk3dPT5DjhXbuoN5iwH0MDs4+w95q6/oWvOgf9JRK6xG+3t6xbczAooVCZkY+tuXsNvpsI3IVulg7nqS0k7CyfxKezrBF8yhVgAOmRuCIZ0ZMaFUZNHPsBJi/Sxwjr9Be1KmHkkiPYGsIrsOQoyqCTBGbQUsqQVXylEYTKPwAVO+5Z9nxIym/PAV8NgWHWEQqU8V2omnAoEbfJikqKiOzYzYZ/w/rSzQ78Jj5N/HDruU5+xzP2WbAHGgR1CtM6n+F+/WM+91LCHGvvott56a7w+djfIn32Yqd9+D6Fcs3OQCbr9iSqF+RMCXQVZKqmxQYCXy/pC/9oL6p/x+rTDg3v1nTSfOb09ycStiy9BBmA/J+jaWZQfP8RxjCxz+Mfw=="),\r\nthis.addDataEntry(null,150,100,"Dialog Box","7VZNb6MwEP01PjbCdkk315BuD6vVrprDni08YKsGs8ZtQn99x+A0IJJVtu2pKhKS59P2e28QhGfV/s6JRv20Egzht4Rnzlo/rKp9BsYQlmhJ+IYwluBL2PczUdpHk0Y4qP0lBWwoeBLmEQbPRgtjS/T9fYTWa1vj0sPeE7YkjNOE8PUskrSQ21riwugahpat70xsqXyFF9tQLG2VkHaHRugjRatARgMjTciv9mVAY6FtuyhEnXf395DjXdZuq59DwreQ7J19gMwa6/otuOwfjBTamJH/enVDV6ECm0qNoIxidMXpMsRsI3Ltu9A7nKSwk7Sif6I/nmGF5k5pD1ssDY4dnhl9wuiyRjPHnQDr1xFecAjUWYp6V+TnDmwF3nWYstPSq5iRDjQmCnSpDmVJdIp2cJSvtUfGcRFJPy0APhPANjRRug4aQE4aqJGjD6MUGVUB2TGalP8D9VMwO2ix8k/Eh16KM3sbziwdfA6M8PoJJv3fg/31DPsM4cGPwIeh7dx0dvhcxudwn43YcQ4uH7E8zQHofMROkfoeCmNBsjhw1U06jBhepicITv6T4HiA31bX/rj7FWeL6fZXh+McmtiiaMHPNPJ6k4tkk85k8+vHl2TeLJmbzycZNI+/EEP6+A/jBQ=="),\r\nthis.createVertexTemplateEntry(b+"iLockButton;fontColor=#cccccc;fontSize=13;mainText=;spacingLeft=50;spacingRight=10;align=center;",174,50,"slide to unlock","Lock button",null,null,null),this.createVertexTemplateEntry(a+"iArrowIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff;",15,15,"","Arrow",null,null,null),this.createVertexTemplateEntry(a+"iDeleteIcon;fillColor=#e8878E;fillColor2=#BD1421;strokeColor=#ffffff;",15,15,"","Delete",null,null,null),this.createVertexTemplateEntry(a+"iAddIcon;fillColor=#7AdF78;fillColor2=#1A9917;strokeColor=#ffffff;",\r\n15,15,"","Add",null,null,null),this.createVertexTemplateEntry(a+"iInfoIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff;",15,15,"","Info",null,null,null),this.createVertexTemplateEntry(a+"iSortFindIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff;",15,15,"","Sort/find",null,null,null),this.createVertexTemplateEntry(a+"iCheckIcon;fillColor=#e8878E;fillColor2=#BD1421;strokeColor=#ffffff;",15,15,"","Check",null,null,null),this.createVertexTemplateEntry(a+"iKeybLett;",174,100,\r\n"","Keyboard (letters)",null,null,null),this.createVertexTemplateEntry(a+"iKeybNumb;",174,100,"","Keyboard (numbers)",null,null,null),this.createVertexTemplateEntry(a+"iKeybSymb;",174,100,"","Keyboard (symbols)",null,null,null),this.createVertexTemplateEntry(a+"iDeleteApp;fillColor=#cccccc;fillColor2=#000000;strokeColor=#ffffff;",15,15,"","Delete app",null,null,null),this.createVertexTemplateEntry(a+"iDir;",100,100,"","Direction",null,null,null),this.createVertexTemplateEntry(b+"iLocBar;align=left;spacingLeft=4;spacingBottom=4;fontColor=#ffffff;fontSize=10;barPos=80;pointerPos=bottom;buttonText=5th Street Music Store",\r\n155,32.5,"","Location bar",null,null,null),this.createVertexTemplateEntry(a+"iCallDialog;",150,125,"","Call Dialog",null,null,null),this.createVertexTemplateEntry(a+"iCallButtons;",174,400*.575,"","Call buttons",null,null,null),this.createVertexTemplateEntry(b+"iOption;barPos=80;pointerPos=bottom;buttonText=Option;fontSize=10;fontColor=#ffffff;spacingBottom=6;",75,400*.06875,"","Option",null,null,null),this.createVertexTemplateEntry(a+"iAlphaList;fontSize=7.5;",15,225,"","Alphabet list",null,null,\r\nnull),this.createVertexTemplateEntry(b+"iHorButtonBar;buttonText=Item 1,+Item 2,Item 3,Item 4;textColor=#999999;textColor2=#ffffff;strokeColor=#444444;strokeColor2=#c4c4c4;fillColor2=#008cff;fontSize=8;",165,12.5,"","Horizontal button bar",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000;",10,25,"","Pin",null,\r\nnull,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#ccccff;fillColor3=#0000ff;strokeColor=#000066;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#ffff00;fillColor3=#888800;strokeColor=#999900;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#ffa500;fillColor3=#885000;strokeColor=#997000;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(a+"iVideoControls;barPos=20;",174,50,"","Video controls",null,null,null),\r\nthis.addEntry(null,function(){var a=new mxCell("Page title",new mxGeometry(0,0,175,30),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iURLBar;verticalAlign=top;fontSize=8;spacingTop=-5;align=center;");a.vertex=!0;var c=new mxCell("https://www.draw.io/",new mxGeometry(5,12,115,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;fontSize=8;spacingLeft=3;align=left;spacingTop=2;");c.vertex=!0;a.insert(c);c=new mxCell("Cancel",new mxGeometry(137,12,32,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;fontSize=8;fontColor=#ffffff;spacingTop=2;");\r\nc.vertex=!0;a.insert(c);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"URL bar")}),this.createVertexTemplateEntry(a+"iSlider;barPos=20;",150,10,"","Slider",null,null,null),this.createVertexTemplateEntry(a+"iProgressBar;barPos=40;",150,10,"","Progress bar",null,null,null),this.createVertexTemplateEntry(a+"iCloudProgressBar;barPos=20;",150,10,"","Cloud progress bar",null,null,null),this.createVertexTemplateEntry(b+"iDownloadBar;verticalAlign=top;spacingTop=-4;fontSize=8;fontColor=#ffffff;buttonText=;barPos=30;align=center;",\r\n174,30,"Downloading 2 of 6","Download bar",null,null,null),this.createVertexTemplateEntry(b+"iScreenNameBar;fillColor2=#000000;fillColor3=#ffffff;buttonText=;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;align=center;",174,25,"Screen Name","Screen name bar",null,null,null),this.createVertexTemplateEntry(a+"iIconGrid;gridSize=3,3;",150,150,"","Icon grid",null,null,null),this.createVertexTemplateEntry(b+"iCopy;fillColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;",\r\n40,400*.06875,"Copy","Copy",null,null,null),this.addEntry(null,function(){var a=new mxCell("Copy",new mxGeometry(10,0,40,400*.06875),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iCopy;fillColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,400*.06875,60,52.5),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fillColor=#2266ff;strokeColor=none;opacity=30;");c.vertex=!0;return sb.createVertexTemplateFromCells([a,\r\nc],60,80,"Copy Area")}),this.createVertexTemplateEntry(a+"iHomePageControl;fillColor=#666666;strokeColor=#cccccc;",50,5,"","Home page control",null,null,null),this.createVertexTemplateEntry(a+"iPageControl;fillColor=#666666;strokeColor=#cccccc;",50,5,"","Page control",null,null,null)];this.addPalette("ios","iOS6",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addIos7Palette=function(){var a=this,b="ios icon ",e="html=1;verticalLabelPosition=bottom;align=center;labelBackgroundColor=#ffffff;verticalAlign=top;strokeWidth=2;strokeColor=#0080F0;shadow=0;dashed=0;shape=mxgraph.ios7.icons.",c="mxgraph.ios7.icons";this.setCurrentSearchEntryLibrary("ios","ios7icons");this.addPaletteFunctions("ios7icons","iOS Icons",!1,[this.createVertexTemplateEntry(e+"add;",30,30,"","Add",null,null,this.getTagsForStencil(c,"add",b).join(" ")),this.createVertexTemplateEntry(e+\r\n"alarm_clock;",27,30,"","Alarm Clock",null,null,this.getTagsForStencil(c,"alarm_clock",b).join(" ")),this.createVertexTemplateEntry(e+"back;",30,25.5,"","Back",null,null,this.getTagsForStencil(c,"back",b).join(" ")),this.createVertexTemplateEntry(e+"backward;",30,16.8,"","Backward",null,null,this.getTagsForStencil(c,"backward",b).join(" ")),this.createVertexTemplateEntry(e+"bag;",21,21,"","Bag",null,null,this.getTagsForStencil(c,"bag",b).join(" ")),this.createVertexTemplateEntry(e+"basket_cancel;",\r\n30,12,"","Basket Cancel",null,null,this.getTagsForStencil(c,"basket_cancel",b).join(" ")),this.createVertexTemplateEntry(e+"basketball;",30,30,"","Basketball",null,null,this.getTagsForStencil(c,"basketball",b).join(" ")),this.createVertexTemplateEntry(e+"battery;",30,12,"","Battery",null,null,this.getTagsForStencil(c,"battery",b).join(" ")),this.createVertexTemplateEntry(e+"bell;",24,77*.3,"","Bell",null,null,this.getTagsForStencil(c,"bell",b).join(" ")),this.createVertexTemplateEntry(e+"bluetooth;pointerEvents=1",\r\n15,96*.3,"","Bluetooth",null,null,this.getTagsForStencil(c,"bluetooth",b).join(" ")),this.createVertexTemplateEntry(e+"book;",30,25.5,"","Book",null,null,this.getTagsForStencil(c,"book",b).join(" ")),this.createVertexTemplateEntry(e+"bookmark;",18,24,"","Bookmark",null,null,this.getTagsForStencil(c,"bookmark",b).join(" ")),this.createVertexTemplateEntry(e+"box;",30,30,"","Box",null,null,this.getTagsForStencil(c,"box",b).join(" ")),this.createVertexTemplateEntry(e+"briefcase;",30,67*.3,"","Briefcase",\r\nnull,null,this.getTagsForStencil(c,"briefcase",b).join(" ")),this.createVertexTemplateEntry(e+"calculator;",24,30,"","Calculator",null,null,this.getTagsForStencil(c,"calculator",b).join(" ")),this.createVertexTemplateEntry(e+"calendar;",30,30,"","Calendar",null,null,this.getTagsForStencil(c,"calendar",b).join(" ")),this.createVertexTemplateEntry(e+"camera;",30,17.4,"","Camera",null,null,this.getTagsForStencil(c,"camera",b).join(" ")),this.createVertexTemplateEntry(e+"chat;",30,18,"","Chat",null,null,\r\nthis.getTagsForStencil(c,"chat",b).join(" ")),this.createVertexTemplateEntry(e+"clock;",30,30,"","Clock",null,null,this.getTagsForStencil(c,"clock",b).join(" ")),this.createVertexTemplateEntry(e+"cloud;",30,30,"","Cloud",null,null,this.getTagsForStencil(c,"cloud",b).join(" ")),this.createVertexTemplateEntry(e+"compose;",97*.3,97*.3,"","Compose",null,null,this.getTagsForStencil(c,"compose",b).join(" ")),this.createVertexTemplateEntry(e+"controls;",27,24,"","Controls",null,null,this.getTagsForStencil(c,\r\n"controls",b).join(" ")),this.createVertexTemplateEntry(e+"credit_card;",30,15,"","Credit Card",null,null,this.getTagsForStencil(c,"credit_card",b).join(" ")),this.createVertexTemplateEntry(e+"crop;",30,30,"","Crop",null,null,this.getTagsForStencil(c,"crop",b).join(" ")),this.createVertexTemplateEntry(e+"cube;",30,30,"","Cube",null,null,this.getTagsForStencil(c,"cube",b).join(" ")),this.createVertexTemplateEntry(e+"cup;",30,30,"","Cup",null,null,this.getTagsForStencil(c,"cup",b).join(" ")),this.createVertexTemplateEntry(e+\r\n"data;",24,97*.3,"","Data",null,null,this.getTagsForStencil(c,"data",b).join(" ")),this.createVertexTemplateEntry(e+"delete;",30,30,"","Delete",null,null,this.getTagsForStencil(c,"delete",b).join(" ")),this.createVertexTemplateEntry(e+"document;",21,30,"","Document",null,null,this.getTagsForStencil(c,"document",b).join(" ")),this.createVertexTemplateEntry(e+"documents;",22.5,30,"","Documents",null,null,this.getTagsForStencil(c,"documents",b).join(" ")),this.createVertexTemplateEntry(e+"down;",21,\r\n25.5,"","Down",null,null,this.getTagsForStencil(c,"down",b).join(" ")),this.createVertexTemplateEntry(e+"edit;",29.4,29.4,"","Edit",null,null,this.getTagsForStencil(c,"edit",b).join(" ")),this.createVertexTemplateEntry(e+"envelope_(empty);",30,30,"","Envelope (Empty)",null,null,this.getTagsForStencil(c,"envelope_(empty)",b).join(" ")),this.createVertexTemplateEntry(e+"envelope_(message);",30,30,"","Envelope (Message)",null,null,this.getTagsForStencil(c,"envelope_(message)",b).join(" ")),this.createVertexTemplateEntry(e+\r\n"eye;",30,14.1,"","Eye",null,null,this.getTagsForStencil(c,"eye",b).join(" ")),this.createVertexTemplateEntry(e+"flag;",30,30,"","Flag",null,null,this.getTagsForStencil(c,"flag",b).join(" ")),this.createVertexTemplateEntry(e+"flash;",18,30,"","Flash",null,null,this.getTagsForStencil(c,"flash",b).join(" ")),this.createVertexTemplateEntry(e+"flashlight;",15,30,"","Flashlight",null,null,this.getTagsForStencil(c,"flashlight",b).join(" ")),this.createVertexTemplateEntry(e+"folder;",30,19.5,"","Folder",\r\nnull,null,this.getTagsForStencil(c,"folder",b).join(" ")),this.createVertexTemplateEntry(e+"folders;",30,25.5,"","Folders",null,null,this.getTagsForStencil(c,"folders",b).join(" ")),this.createVertexTemplateEntry(e+"folders_2;",30,22.5,"","Folders",null,null,this.getTagsForStencil(c,"folders_2",b).join(" ")),this.createVertexTemplateEntry(e+"forward;",30,16.8,"","Forward",null,null,this.getTagsForStencil(c,"forward",b).join(" ")),this.createVertexTemplateEntry(e+"gauge;",32.4,31.5,"","Gauge",null,\r\nnull,this.getTagsForStencil(c,"gauge",b).join(" ")),this.createVertexTemplateEntry(e+"glasses;",30,12,"","Glasses",null,null,this.getTagsForStencil(c,"glasses",b).join(" ")),this.createVertexTemplateEntry(e+"globe;",30,30,"","Globe",null,null,this.getTagsForStencil(c,"globe",b).join(" ")),this.createVertexTemplateEntry(e+"heart;",102*.3,27.3,"","Heart",null,null,this.getTagsForStencil(c,"heart",b).join(" ")),this.createVertexTemplateEntry(e+"help;",30,30,"","Help",null,null,this.getTagsForStencil(c,\r\n"help",b).join(" ")),this.createVertexTemplateEntry(e+"home;",24,25.5,"","Home",null,null,this.getTagsForStencil(c,"home",b).join(" ")),this.createVertexTemplateEntry(e+"info;",30,30,"","Info",null,null,this.getTagsForStencil(c,"info",b).join(" ")),this.createVertexTemplateEntry(e+"keypad;",30,30,"","Keypad",null,null,this.getTagsForStencil(c,"keypad",b).join(" ")),this.createVertexTemplateEntry(e+"lightbulb;",22.8,29.7,"","Lightbulb",null,null,this.getTagsForStencil(c,"lightbulb",b).join(" ")),this.createVertexTemplateEntry(e+\r\n"link;",30,30,"","Link",null,null,this.getTagsForStencil(c,"link",b).join(" ")),this.createVertexTemplateEntry(e+"location;",24,30,"","Location",null,null,this.getTagsForStencil(c,"location",b).join(" ")),this.createVertexTemplateEntry(e+"location_2;",30,30,"","Location",null,null,this.getTagsForStencil(c,"location_2",b).join(" ")),this.createVertexTemplateEntry(e+"locked;",24,30,"","Locked",null,null,this.getTagsForStencil(c,"locked",b).join(" ")),this.createVertexTemplateEntry(e+"looking_glass;",\r\n30,30,"","Looking Glass",null,null,this.getTagsForStencil(c,"looking_glass",b).join(" ")),this.createVertexTemplateEntry(e+"loud;",102*.3,32.4,"","Loud",null,null,this.getTagsForStencil(c,"loud",b).join(" ")),this.createVertexTemplateEntry(e+"magnet;pointerEvents=1",24,30,"","Magnet",null,null,this.getTagsForStencil(c,"magnet",b).join(" ")),this.createVertexTemplateEntry(e+"mail;",30,16.5,"","Mail",null,null,this.getTagsForStencil(c,"mail",b).join(" ")),this.createVertexTemplateEntry(e+"map;",30,\r\n30,"","Map",null,null,this.getTagsForStencil(c,"map",b).join(" ")),this.createVertexTemplateEntry(e+"message;",30,19.5,"","Message",null,null,this.getTagsForStencil(c,"message",b).join(" ")),this.createVertexTemplateEntry(e+"messages;",30,25.5,"","Messages",null,null,this.getTagsForStencil(c,"messages",b).join(" ")),this.createVertexTemplateEntry(e+"microphone;",12,30,"","Microphone",null,null,this.getTagsForStencil(c,"microphone",b).join(" ")),this.createVertexTemplateEntry(e+"monitor;",30,19.5,\r\n"","Monitor",null,null,this.getTagsForStencil(c,"monitor",b).join(" ")),this.createVertexTemplateEntry(e+"moon;",29.4,29.4,"","Moon",null,null,this.getTagsForStencil(c,"moon",b).join(" ")),this.createVertexTemplateEntry(e+"most_viewed;pointerEvents=1",28.2,22.8,"","Most Viewed",null,null,this.getTagsForStencil(c,"most_viewed",b).join(" ")),this.createVertexTemplateEntry(e+"move_to_folder;",30,22.5,"","Move to Folder",null,null,this.getTagsForStencil(c,"move_to_folder",b).join(" ")),this.createVertexTemplateEntry(e+\r\n"note;pointerEvents=1",29.7,29.7,"","Note",null,null,this.getTagsForStencil(c,"note",b).join(" ")),this.createVertexTemplateEntry(e+"options;pointerEvents=1",30,15,"","Options",null,null,this.getTagsForStencil(c,"options",b).join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;strokeWidth=2;strokeColor=#0080F0;fillColor=strokeColor;shadow=0;dashed=0;shape=mxgraph.ios7.icons.orientation_lock;pointerEvents=1",77*.3,21,"","Orientation Lock",null,null,this.getTagsForStencil(c,\r\n"orientation_lock",b).join(" ")),this.createVertexTemplateEntry(e+"page_navigation;pointerEvents=1",30,4.8,"","Page Navigation",null,null,this.getTagsForStencil(c,"page_navigation",b).join(" ")),this.createVertexTemplateEntry(e+"paint;",30,25.5,"","Paint",null,null,this.getTagsForStencil(c,"paint",b).join(" ")),this.createVertexTemplateEntry(e+"pause;pointerEvents=1",15,24,"","Pause",null,null,this.getTagsForStencil(c,"pause",b).join(" ")),this.createVertexTemplateEntry(e+"pen;",29.4,29.7,"","Pen",\r\nnull,null,this.getTagsForStencil(c,"pen",b).join(" ")),this.createVertexTemplateEntry(e+"pie_chart;",30,30,"","Pie Chart",null,null,this.getTagsForStencil(c,"pie_chart",b).join(" ")),this.createVertexTemplateEntry(e+"play;",21,24,"","Play",null,null,this.getTagsForStencil(c,"play",b).join(" ")),this.createVertexTemplateEntry(e+"pointer;",30,30,"","Pointer",null,null,this.getTagsForStencil(c,"pointer",b).join(" ")),this.createVertexTemplateEntry(e+"preferences;pointerEvents=1",30,24,"","Preferences",\r\nnull,null,this.getTagsForStencil(c,"preferences",b).join(" ")),this.createVertexTemplateEntry(e+"printer;",30,25.5,"","Printer",null,null,this.getTagsForStencil(c,"printer",b).join(" ")),this.createVertexTemplateEntry(e+"privacy;",16.8,28.5,"","Privacy",null,null,this.getTagsForStencil(c,"privacy",b).join(" ")),this.createVertexTemplateEntry(e+"radio;",30,22.5,"","Radio",null,null,this.getTagsForStencil(c,"radio",b).join(" ")),this.createVertexTemplateEntry(e+"reload;",24,27,"","Reload",null,null,\r\nthis.getTagsForStencil(c,"reload",b).join(" ")),this.createVertexTemplateEntry(e+"repeat;pointerEvents=1",30,24,"","Repeat",null,null,this.getTagsForStencil(c,"repeat",b).join(" ")),this.createVertexTemplateEntry(e+"retry;",92*.3,48*.3,"","Retry",null,null,this.getTagsForStencil(c,"retry",b).join(" ")),this.createVertexTemplateEntry(e+"select;",30,30,"","Select",null,null,this.getTagsForStencil(c,"select",b).join(" ")),this.createVertexTemplateEntry(e+"settings;",30,30,"","Settings",null,null,this.getTagsForStencil(c,\r\n"settings",b).join(" ")),this.createVertexTemplateEntry(e+"share;",21,28.5,"","Share",null,null,this.getTagsForStencil(c,"share",b).join(" ")),this.createVertexTemplateEntry(e+"shopping_cart;",30,25.5,"","Shopping Cart",null,null,this.getTagsForStencil(c,"shopping_cart",b).join(" ")),this.createVertexTemplateEntry(e+"shuffle;pointerEvents=1",30,21,"","Shuffle",null,null,this.getTagsForStencil(c,"shuffle",b).join(" ")),this.createVertexTemplateEntry(e+"silent;",30,30,"","Silent",null,null,this.getTagsForStencil(c,\r\n"silent",b).join(" ")),this.createVertexTemplateEntry(e+"smartphone;",18,30,"","Smartphone",null,null,this.getTagsForStencil(c,"smartphone",b).join(" ")),this.createVertexTemplateEntry(e+"star;",30,27,"","Star",null,null,this.getTagsForStencil(c,"star",b).join(" ")),this.createVertexTemplateEntry(e+"stopwatch;",27,28.2,"","Stopwatch",null,null,this.getTagsForStencil(c,"stopwatch",b).join(" ")),this.createVertexTemplateEntry(e+"storage;",30,10.5,"","Storage",null,null,this.getTagsForStencil(c,"storage",\r\nb).join(" ")),this.createVertexTemplateEntry(e+"sun;pointerEvents=1",30,30,"","Sun",null,null,this.getTagsForStencil(c,"sun",b).join(" ")),this.createVertexTemplateEntry(e+"tape;pointerEvents=1",30,12,"","Tape",null,null,this.getTagsForStencil(c,"tape",b).join(" ")),this.createVertexTemplateEntry(e+"tools;pointerEvents=1",29.7,29.7,"","Tools",null,null,this.getTagsForStencil(c,"tools",b).join(" ")),this.createVertexTemplateEntry(e+"trashcan;",24,30,"","Trashcan",null,null,this.getTagsForStencil(c,\r\n"trashcan",b).join(" ")),this.createVertexTemplateEntry(e+"trophy;",28.5,30,"","Trophy",null,null,this.getTagsForStencil(c,"trophy",b).join(" ")),this.createVertexTemplateEntry(e+"umbrella;",30,30,"","Umbrella",null,null,this.getTagsForStencil(c,"umbrella",b).join(" ")),this.createVertexTemplateEntry(e+"unlocked;",24,30,"","Unlocked",null,null,this.getTagsForStencil(c,"unlocked",b).join(" ")),this.createVertexTemplateEntry(e+"up;",21,25.5,"","Up",null,null,this.getTagsForStencil(c,"up",b).join(" ")),\r\nthis.createVertexTemplateEntry(e+"user;",30,30,"","User",null,null,this.getTagsForStencil(c,"user",b).join(" ")),this.createVertexTemplateEntry(e+"video_conversation;",30,15,"","Video Conversation",null,null,this.getTagsForStencil(c,"video_conversation",b).join(" ")),this.createVertexTemplateEntry(e+"volume;pointerEvents=1",30,30,"","Volume",null,null,this.getTagsForStencil(c,"volume",b).join(" ")),this.createVertexTemplateEntry(e+"volume_2;pointerEvents=1",101*.3,28.2,"","Volume",null,null,this.getTagsForStencil(c,\r\n"volume_2",b).join(" ")),this.createVertexTemplateEntry(e+"wallet;",30,24,"","Wallet",null,null,this.getTagsForStencil(c,"wallet",b).join(" ")),this.createVertexTemplateEntry(e+"wifi;pointerEvents=1",29.7,21,"","WiFi",null,null,this.getTagsForStencil(c,"wifi",b).join(" ")),this.createVertexTemplateEntry(e+"window;",30,30,"","Window",null,null,this.getTagsForStencil(c,"window",b).join(" "))]);this.setCurrentSearchEntryLibrary();var e="html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7ui.",\r\nd=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios.",b="ios ui ",c="mxgraph.ios7ui";this.setCurrentSearchEntryLibrary("ios","ios7ui");var f=[this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.iphone;strokeColor=#c0c0c0;",200,400,"","iPhone (Portrait)",null,null,this.getTagsForStencil(c,\r\n"phone",b+"iphone portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad7inch;strokeColor=#c0c0c0;",366,549,"","iPad (7\'\')",null,null,this.getTagsForStencil(c,"tablet tab 7",b+"ipad portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad10inch;strokeColor=#c0c0c0;",\r\n488,693,"","iPad (10\'\')",null,null,this.getTagsForStencil(c,"tablet tab 10",b+"ipad portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad13inch;strokeColor=#c0c0c0;",572,400*2.0325,"","iPad (13\'\')",null,null,this.getTagsForStencil(c,"tablet tab 10",b+"ipad portrait").join(" ")),this.addDataEntry(b+"app bar portrait",175,15,"App Bar (portrait)","zVVdb4IwFP01fZTw6cejoDNLZmLYkj03o0CzQkmpivv1u0BBEIw+zMUmJL3n3tt7e05LkeUlxUbgLN7ygDBkrZHlCc5lPUsKjzCGTJ0GyFoh09ThQ+bLFa9RefUMC5LKexLMOuGA2Z7USA3k8sQUEMsE2loZyHJzKfg3+aSBjBskxgE/gqGDEeA8JoEywJOVKyRFVO5Oozyf7amGs8zFAvwhZczjjIuqihVWA3CIDih03/hSnsIyruqTCEmKq3utILXRDeEJkeIEIUfVcBkxc+q0mNAobtIUhvPajtrUM3MwUeSNE2kNiPSWvv+69gd8NsQI8gX1XcxolILJSFiaIU/lO/0pA+Ylixn+omn0VjlXpt2PaMwOj7garVYXLHZJV5Cq8MEzteBdTJvjTJ/UmdMUox3mHX2EeMWaIAxLeiC9cmNqqIo7TqGRttxkql0oyMMwJ3KgX9vpXZLaA0kNOPJLx9ltb4l6oeJTaVRcaPTPmqnyE0vvlX+Qhs5Aw8UcNejtSynqfV+5lb5ixVj0Q6ZPKrlxU3B77O/4R4LbzgMEB/P8WNbh3bf0Fw=="),\r\nthis.addDataEntry(b+"app bar landscape",280,15,"App Bar (landscape)","zZVdb4IwFIZ/TS81UMDppaIzS2Zi2JJdN6NAs0JJqYr79TvQovJh9MbFJiScj/ac87wlIMdPy7UkebIRIeXIWSHHl0Io/ZaWPuUcYYuFyFkijC14EH69ErXrqJUTSTN1zwasN+wJ31Ht0Y5CHblxJCqFtpY2chaFkuKHfrFQJY0nIaE4gGGBEZIioaExIJJXJ6RlXE03ZqJ42bExyfMFkRCPGOe+4ELWVZyoXuCH7JBB900sExkcszB9UqloeXXW2mUGXVORUiWPkHIwDVfzTjUPK6EsTpptnvaRQtvxaeuZHLwYeMMgnR5Ifx4Eb6ugx7MBI+k31F8QzuIMTE6jyoxEpj7Yb5UwrSjm5Jtl8XsdXGK3ndGYFxxJvU5adSheQjcuU+FT5ObAu0jjYdJHc+fGhugFeW8IvKEmKSeK7Wmr3JAapuJWMGjkVG40GXcUFFFUUNXT79TpXZK6PUltuPJzz9tubonaUfGpNCo7Gv2zZqb8CLfLP0hDr6fhbIoa7+2PUuq5r3yVgaFiz9opkyeV3L4puOs9TnD3EYKDef5Z6vTLf+kf"),\r\nthis.createVertexTemplateEntry(e+"slider;barPos=20;strokeColor=#0080f0;strokeColor2=#a0a0a0;",150,15,"","Slider",null,null,this.getTagsForStencil(c,b+"slider",null).join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.downloadBar;verticalAlign=middle;fontSize=8;buttonText=;barPos=30;fillColor=#aaaaaa;strokeColor=#0080f0;align=center;",150,30,"Downloading 2 of 6\\n\\n","Download bar",null,null,this.getTagsForStencil(c,"downloadBar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.adjust;gradientColor=none;",\r\n80,20,"","Adjust",null,null,this.getTagsForStencil(c,"adjust",b+"").join(" ")),this.addEntry(b+"horizontal button bar",function(){var c=new mxCell("",new mxGeometry(0,0,164,12.5),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=3;strokeColor=#0080F0;gradientColor=none;");c.vertex=!0;var b=new mxCell("Item 1",new mxGeometry(0,0,41,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.leftButton;rSize=3;fontSize=8;");\r\nb.vertex=!0;c.insert(b);b=new mxCell("Item 3",new mxGeometry(82,0,41,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=0;fontSize=8;");b.vertex=!0;c.insert(b);b=new mxCell("Item 4",new mxGeometry(123,0,41,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rightButton;rSize=3;fontSize=8;");b.vertex=!0;c.insert(b);b=new mxCell("Item 2",\r\nnew mxGeometry(41,0,41,12.5),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=0;strokeColor=#0080F0;fillColor=#0080F0;fontColor=#ffffff;fontSize=8;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Horizontal button bar")}),this.addDataEntry(b+"select bar",165,27,"Select Bar","7ZRNb8IwDIZ/Ta6oTcZ6HmWDy6RJHHaOiEujpU2VBCj79XM+ClTAhrbrIlWKX8dO/LxSCSubfmF4V79qAYqwZ8JKo7WLu6YvQSlCMykImxNKM/wIfbmRzUM267iB1t1TQGPBjqstRCUK1h1UEmrX4LPmOWEz64z+gHcpXI0K9UrNhd5jkGEguK1BpAAzne/Q9Bs/3URqW2zlxIKCtZtx48/3vi8NpQfcToOGbeeF31r5CUmNF5daaRMexaqwMFNJpc50GhbqeKmQCGHItbrFZrM0LhgH/U1kQUq8FqAbcOaAR/Zpbn/icRrLapCbOpXRImrcxnhzLD0ZgJvkwXU/2IUfqwDswpUBr/HJMYY06phZEit9QjLCiPoq8s5pil94I5X3ZQlqB06uOSY6MBKngrOeBrxTy4FEfi9m+iPm4hvKBhR3cgej9n9B/3ATffbkD/4b8EsD0g1vWrYeZj9uPVToqrLgLgw7vuuahxiefpXx+Pmf9As="),\r\nthis.addDataEntry(b+"select bar",165,27,"Select Bar","7ZVNb8IwDIZ/Ta4oTddxHmXAZRISh50j6tJoaVMlAcp+/ZyPAlWHhrYdiVQpfh078fMeStK87paat9WbKkCS9JWkuVbKhl3d5SAlYVQUJJ0Txih+hC1uZBOfpS3X0Nh7ClgoOHC5h6AEwdiTjEJla3zWPCHpzFitPuBdFLZChTml4oU6YkAxKLipoIgBZlrXoe52brqJUGa6FxMDErZ2xrU737m+zJeecJt5jbmd7yA+Iarh4lxJpf2j0tIvzJRCyiud+YU6XloIhNDnGtVgs1kcF7SF7iYyL0VeS1A1WH3CI8c4tzvxnIWyCsSuimVsGjRuQrw7l14MwE304Hs/0pEfGw9s5EqPV7vkEEMcdcgsiqW6IBlgRH0TeCc0xgteC+l8WYE8gBVbjokWtMCp4KqnBufUqieR3IuZ/Yg5o7cpa5DcigMM2v8F/dNN9PTFHXwY8EsD4g1rJRoHsxu27itUWRqwI8PO77rLw2zk4ZobCw/z/tm8hP6DexhefnTh+PV/8As="),\r\nthis.addEntry(b+"labels",function(){var c=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#F6F6F8;strokeColor=none;");c.vertex=!0;var b=new mxCell("Label",new mxGeometry(55,0,54,20),"text;fontSize=10;verticalAlign=middle;align=center;spacingTop=2;");b.vertex=!0;c.insert(b);b=new mxCell("Label",new mxGeometry(109,0,55,20),"text;fontColor=#0080f0;fontSize=10;verticalAlign=middle;align=right;spacingTop=2;spacingRight=4;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],\r\nc.geometry.width,c.geometry.height,"Labels")}),this.addEntry(b+"search box",function(){var c=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#e0e0e0;strokeColor=none;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,164,20),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.marginRect;rx=3;ry=3;rectMargin=5;strokeColor=none;");b.vertex=!0;c.insert(b);b=new mxCell("Search",new mxGeometry(.5,.5,6,6),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#e0e0e0;fillColor=none;fontColor=#e0e0e0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;fontSize=6;fontStyle=0;spacingTop=2;");\r\nb.geometry.relative=!0;b.geometry.offset=new mxPoint(-17,-3);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Search Box")}),this.addEntry(b+"search box",function(){var c=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#F6F6F6;strokeColor=none;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,164,20),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.marginRect;rx=3;ry=3;rectMargin=5;fillColor=#E4E4E4;strokeColor=none;");\r\nb.vertex=!0;c.insert(b);b=new mxCell("Search",new mxGeometry(.5,.5,6,6),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#878789;fillColor=none;fontColor=#878789;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;fontSize=6;fontStyle=0;spacingTop=2;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(-17,-3);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Search Box")}),this.addDataEntry(b+"status",164,25,"Status",\r\n"vZRtb4MgEMc/jS9rnNZ2b1e7NlmyZcnWD8D0VDLkDNDW7tMPhD5qM7cm0xi5/3HA/eDwoqRqloLU5TNmwLzo0YsSgahsq2oSYMwLA5p50dwLw0B/Xri44r1rvUFNBHA1JCC0ARvC1mAVK0i1Y06QJalNU0Cqh5zllLEEGYrWGy0m5tW6VAI/Ye/hyHXMzI0OQkFzdYWt5Ja3BKxAiZ3usqWZKl2PydiGlUCL0oWFsdWItHZxCD3mqxsu5f70o076qzojCjItPq2l0r8X3HaQ6GxaFMjVCYqgfZz+Rr9M51ibJn2aEvbAaMG1prDWKnFWqjmAMABrklJevBvvfBQOpRf+kV5wO71xh54xV1wAyQYy+2ifn5lVNMvMSF1st0DaWa87SP+BLB5eb1VTmGvBpyinPk2RSz/FqkYJnWprD999kAcX9fmbKryC6DzAAQv8HmRxl9heE8CIohs4G6sPo5v/FSlXx8lHe/Ju+tHUv6h9zHMJqrMRhzz69kabx3vWdj+9hr8B"),\r\nthis.addDataEntry(b+"message",164,20,"Message","xVbbbqMwEP0aHouICUnzSnp52UirdqU+WzDB1toY2W6b9OvX4IGWW5ZVuyoWkn3GM545x4MI4r083WtasYPKQQTxbRDvtVLWz+RpD0IEJOJ5EN8EhETuDcjdjHXVWKOKaijtEgfiHV6oeAaPeMDYs0DAMFrVUw2ZC5keuRB7JZRurPHdth4ON1ar39BaSlU6nxSjg7Zwms2wgTC9e1ASrD67La88twx3bNbejQEvGLphZRE1fl10ru/1ugmWPF1+PCqfH8AYWsCIBmali3Kz6kp9wvwahNFcvbpF5BY5NQxyXLTsyVNRixxyZbbPPJRUF7x88JTqmpu4npzbiTMcmi0/4FjXS5Ie+oA0DOBfqhoFSJW1SiI8FC+tx0g8Z0mbUXuo0k7hVPCidJho8ktNRTNeFm22O/R85G918ddLrwL5vquwXtAJY92HvHXtMGB60zwz9yHkmSpNmFEJmn6SqjN2fZh4l4/UJWPmdh7SIKjlL9A7bYpNPPCn4i4PEmF6GBjPvlq3h7cR1PFowI7U6NJeJFCyVKDBN+hvSrhTeGUWf61meO87XFJh4v622CdluFrt+kJs/4MMm3+VYa4rUJ4LDSF5plXFcN+o+RbJlVyUqxPogmBTekVfoxfpy/UFXeOW7z8PfvvHf4s/"),\r\nthis.addDataEntry(b+"action sheet",164,115,"Action Sheet","7VZNc4IwEP01HOuERNSzUL3UmU576DlKgEwDYUL86q/vQoKi2Err0F7UcWb3ZXez2ffMxCF+upsrmicLGTLhkEeH+EpKbax05zMhHIx46JDAwRjBz8GzL1bdahXlVLFMd0nAJmFDxZoZxACF3gsLFAnNS1OxFZScqlf+UboE7EIr+c58KaQCJJMZLEwjLkQNOZgEOCCBB3isaMihrbNwKB/KLfgIHNsNU5rtvjxRBdnjzJlMmVZ7CNnyUCc2YjQ0aQnjcVKnuZ4BaWGA+JB7HBAYdkaX50Va83qiS6DtfGiJTqFE4B6G9Ga7c8+PHNIiYaF16lmnu7iUxIDLYrzmAy3z6VprmX07/+awI5lpGzhpczJzy68Na+AITdCs7EOxApKbPXdiBl9nxrvAjNUoUkxQzTfspP4ltuwWz5LDzhjZhiy9+xOvTpdRVDDdovrQZSf2hx3ZP/vLtMRwZ+wSY71Q5t0p65GyYR+Ujf7ljl1KuGDT+zX7QwWM+lDAuKUAn2ar3iWQUhXz7MW+c8rjlhyXTRsDFhZViAV+q4uo+vyZLvYnCdeeSeRGldjdHuo6twgD3ONT2IQ3X8qf"),\r\nthis.addDataEntry(b+"action sheet",164,115,"Action Sheet","7VhRj6IwEP41PK4BqoiPKyz7suY2t5fc46ULFZotlLR11fv1N5XiouCK52ruEjWadjpTynzfN0OwUJCvHgUusxlPCLPQg4UCwbmqRvkqIIxZrk0TC4WW69rws9zowKqzWbVLLEih+gS4VcA7ZgtSWSqDVGtmDDLDpR4KEsOWU/FCf+spgrFUgr+RgDMuwFLwAhamc8pYbbJcFLohCkdgTwVOKBxrzx22T/gS5jZMzGmIUGR18I42JnM7j4TnRIk1uCxpojLj4Q2rsIzQNKvDnFFlxLIypNvYjwTBwOSoO1/oeL4ylUN06Gzz89MczNm/2wTLjCRmUqc5X6WaDQPK5XhBB4qX04VSvPg09c08z3mhjKPfhiNy9Ne4Ney27duRPocgEoKbZ+4FinsclFEHKMOKnrYgDCv6Tnb27wLKXOKZU7iya5sDGWTXO7M6nM/nkqgWyttT9gJ+2AJ+RqTEKTmqF74okg3KzkHFfCA2aiPm+dHYR12I6U+HsPTaaOo5cB9TjRqNMbtnNAUKhUAnsDL8Stgzl1RRTawwhmgiGu5Pew6vHCiYgwM2+2wjZIljWqQ/9L7h3bAvXVA3XQyA9sBA2KBPrbQme2rbl7Lnbr9OfAl/Rv0LbV0BXrGk8YBDyC+AhPGF6lly55tPXyiG3VCsdhrEeqf8NVXtd1Ra7/xC67X1him7uNiciWc/BKeJzYnCIIpuYusnNjS+gtrGp6tN99sBjXkhB7lmWkeLdd3JJELn6s37VG9oJzteW29eh97s8/XmX/vBpmL57dnmxO40vIRcJi3wv5Wk0A76774sL153txI6VHevXFvHYFlmVJEXMOszL4G7ffni/0v19hoPN3UBahPoiRZvN/L8t+S5SrN2nBZ7AlzE5PDT3l4rybFIafHdsGlluoi+fDWAhdnGxdDnb/vLYZ5dpL+sdwKOvd5AZ3abGmJknw8xTD9eYVXuzTdcfwA="),\r\nthis.addDataEntry(b+"cell list",164,120,"Cell List","7ZlNb6MwEIZ/DcdGtgmEHBtSeulKK3WlPbPBgLUGI0PbpL9+HWyaD2BlWlxVBUuR7MEz2O+YRxmwbD/b3/OwSH+wCFPLvrNsnzNWyV629zGlFgIksuythRAQPwsFPVdhfRUUIcd5peOApMNzSJ+wtEhDWR2oMpRpWBy7HO9EyE1ZcfYX+4wyLow5y8W1TUwobUwWsuO6CXvCw4iIpVxNFyEj9iLGQAzUCjCv8L53F7VJbeEeswxX/CCmvJCoStUMdyndUkyStHFT2wdhKQ3Jm+9JFNFRunRrZLc0egj/iFS9SyiWV4/k9TgNAjU+Ew7UTdg5LsWs32p7UFhCSpJc9CmO6+hFuCN58lCPtsg5mX6x4mjRVRa9T9lGWI5pWJFnfBH/I2ovB59Izp7yCEdKJ67ktTXPahCsHQB11bK71TqoZ23hSJdz9ZyOY+kMFE/d8ScjYiEIqPWpKOrmN6vm7k0EFsclrlriv61bKx+Ofj6yfXIE2YKwcrXISLlbcLnnq0QI1d26fVD1S4f/5KArBUPPb3cKbuBVEkykwJ0BNAKArhJ4uAwzasJWn84we3Ncrp7g7uQY5n0BhvWoPhWGrWeGGWPY0gTDmsP1aRBb+ttbIZKm4uvJQQzCL0CxHtmnQjHYrpdnjI2FMdcIxtrVu1mMAbC6DbT/i8Eeyb8zxwZU+MY41qf7ZEDWLutnkI0FMs8IyNpvAcyCzPEcZ6v/QDnTA9mAMt8cyHp0nwzI2rX9DLKxQAaBEZK13wWYJZkXeHdr7cpSnqhJkQwNqPXNkaxH929KMjE8feaV08+/Av8D"),\r\nthis.addDataEntry(b+"cell list",164,60,"Cell List","7Vddb4IwFP01PGr4dnucuvniErMt2XMnBZoVStpOZb9+F1pRQCPqfJImJL3nfrXn9D5gOJNkM+Moi19ZgKnhPBvOhDMm1S7ZTDClhm2SwHCmhm2b8Bn2yxGvVXrNDHGcyi4JtkpYIfqDFaIAIXOqARGjrNhyvISSYyE5+8YTRhkHMGUp+MYhoXQLGbYTlgvwiKOAwFEa4VAyYGuwTTD0CTCXeHP0FiWkrzDDLMGS5xCyJoGMdYTvqrQYkyjWab66vYmEsqMqdccJbDQthylyWhTN0RcodRFPLJXv5LcIs0xt7/FmlgtwjgVEferbWYAgSqIU9hSHZfUMLUkafbAMMHsHzEv31OvKq30Zr/pVmRxTJMkK1+pfQ7Z7JtnJJipmZ0iYGA0TIpZDrk7Z4B/I9csFHlpUXDBBJGF7lBZMkSWi84Y7IUFQtK0k2HbYJjxpvApsqqy1edP8uW3hH8vVVTTnsGj1hFyP/9BT9p6kXltQ61xBdfsFI3CqqvfA8mrdB169AgtDgWXrQVSX6PRGvH4grx/Ihn55vcy/6uX3M31ad+++Z3rUz/StZtq9xUw/9DN9WvfRXc00mLv/FhW+/1vzBw=="),\r\nthis.addDataEntry(b+"message",164,35,"Message","1VbbbqMwEP0aHhdxyaX72KSbaKWuFO3uSx+98QBuDYNsp0n263cMJikQWqQ2K9URhDme8WXO8YAXL/PDWrEy+4EcpBd/8+KlQjT1U35YgpReFAjuxXdeFAV0edFqoDeseoOSKSjMmICoDnhmcgc1UgPaHKUDdMZK+6hgS0MutFH4BEuUqAgssKC+RSKkbCAvipOqEZ4qxgUtpeNOQ3Lckx2Q4VYAysBhcBcV5LawBszBqCO57AU3mfOYTeqwDESaubB4WmNM13Z6Cj3nhB5cWi6nKO6laAMGFEFr2jXowYTRMKLUMDJnQTBfrW4sjoX5Jf7aERqz5WYb4UyKtCBMQlLRUrKtKNLfWBIWnoH7qvuOkreQ7A/IDWphBNpIVedpYVMvtkzed/pzwbnd08nh1k156hhFXfQ2dUGfuQZTIJkRz9Aa/hKdboYNCpo4Ctx6HP/HltWEY5JoMD0tnBY5Sh6TnjzsYm4n00Fd5IfUnndfoJ77udBbv2GirRNie1a1C9w51t+krlFJl+selR3VOfX8dIRM+kL8WrV3iqAd8EIS06sp4kt4fU1Me5r4TubjTtt1pGjvjK4C9nRPFFVIPqgWyupg2e3UgDHkznulIZy/UmVaZSX6wCN/qVq/l2HHaHgNSmc9Sh9wR8BTgZZEy++eFQa445Zj6tPfA2h6V3B2dD5n8stdWVrU9/3/xf1sFPc3gf19Uu4/4jiTef4Aq91ffp/9Aw=="),\r\nthis.addDataEntry(b+"message",164,100,"Message","7Zbfb9sgEMf/Gj8uwjg/2sckTdqHVZqaSntm5myzYmMBbpL99TsM+VUnm9el0h6GFAu+3AF393FwlMzLzb1mdfGoOMgoWUTJXCtlfa/czEHKiBLBo+QuopTgL6LLC7NxO0tqpqGyfRyod3hlsgGveMHYrQyCKVjtuhpSXHJmrFYvMFdSaRQrVeHcLBNS7qSIJlnbUM814wKP8sYcl+RqjWOCg3AC0BY2F6NopRDCPagSrN6iyVpwWwSL8dC7FSDyYudGfPiEGS/ke99DUrAT8nI+R0knRytmG82ZO0GMIUxjNz99vJg6jMyljkmRVzhMMSzAdMxc0CJlchomSsG5bPOpKrsSP5zvKAyP0nvbtj612OW7Zqmo8mdVo5agoMHg6l9D9uK+VaDvrYLXNEhmxSucrH+uMmGLL0rgzgcTlWUGbKd0+5P0quawU80HcEGUrIooepNctXu6SkIaJctOVQtbypA1X4DjPJ6gzZkpgIfBDoZyk7vXfSCUmTRigOWXqun7Zi0mi/FifsSShMz2JGlyIOFz63UXT7pwkba9hQZrMlsXwsIKVbfYGmP4SJBuSZcj+pcchfOMvMM2uI9O/a8C2agLmcDxsyg9YyrDR6oabcAL3xvjTpi7qJBFCASiSS1bRVSNBYM9q/CRiUqYAjvfNLCXjBk7+KcwJeMbslw6XYr6Iez5G2StA+3XvNIurvur5gTXT5d4DVZPAaqYXp3h4EAGSYDg+N+RnKF6Z/deqgPHQ/IBHI87HD8B46gstWjvv34XnvbR/r/v/qiiN1eoKA4PH5Pe/Phb8yc="),\r\nthis.addEntry(b+"alert",function(){var c=new mxCell("A dialog text that notifies you of something of which you don\'t need to make a decision, just to acknowledge it by pressing the close button.",new mxGeometry(0,0,120,70),"shape=rect;rounded=1;strokeColor=none;fillColor=#F6F6F8;gradientColor=none;shadow=0;glass=0;dashed=1;fontFamily=Helvetica;fontSize=7;fontColor=#333333;align=center;html=0;verticalAlign=top;whiteSpace=wrap;spacing=8;spacingTop=0;");c.vertex=!0;var b=new mxCell("Close",new mxGeometry(0,\r\n1,120,20),"shape=text;align=center;verticalAlign=middle;fontSize=8;fontColor=#0680FF;strokeColor=none;fillColor=none;spacingTop=3;resizeWidth=1;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(0,-20);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Alert")}),this.addDataEntry(b+"dialog",120,70,"Dialog","5ZZNb9pAEIZ/jY+JjN0SroHW6aVSpVTqeeUde0dZ71rr4cP99Z3FAwFiNyhtDlVB4J3vwc+L5CRfNbuHoFrz1WuwSf45yVfBexpOzW4F1iZZijrJPyVZlvInyYqJ6GwfTVsVwNE1BdlQsFF2DYPnnk2NyvqaD4RkYUjpqLeS0hnVxmOAkocsg187DbHhjK2Ogn+Clbc+sMd5x5nLCq09uJIsL+b8XrC/Dkojr3qRzgO037Kdxhyruk7OWnXmOKnyjgrVoO3Z8QXsBghLJYFH/BlXXIh5Mnx4sV9ZrB37Sl4AOLg01FgZtIEQm9l7ySHfsndrkOCxVWVsvWVocVc20dUyS6zvMX3fSO4vt4PdJKO9SwA9gG+AQs8pW9RkJEM4pgawNlJ2Jz7VDXZ9LH0mzgeBPi6A/BUBwI7ixah4cZ6wQuj42Ps1f/sqKiNONfEe8CpOH4MOIBrkY0MoUUP8TQZLExNLQu8OYVJPcDups/0SI7wuITWotYVzAdz9RgCvSvUgx1OoNxFzgI7b/xA+swlpXMU+exv7XHwBrCLcwFn/MUHIiG8eXUTZy/QLCfmq6oBeCOi42FWa+vBSUwfas3eBPPIvT+eLtCjeCjkfZfwnPPuzghO68xG42d+Be/MudD9O083+V7pSkN7KzflnabP5/PAxpJ8+m/wC"),\r\nthis.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.bluetooth;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Bluetooth",null,null,this.getTagsForStencil(c,"bluetooth",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.broadcast;fillColor=#4CDA64;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",\r\n15,15,"","Broadcast",null,null,this.getTagsForStencil(c,"broadcast",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.link;fillColor=#4CDA64;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Link",null,null,this.getTagsForStencil(c,"link",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.night;fillColor=#5855D6;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",\r\n15,15,"","Night",null,null,this.getTagsForStencil(c,"night",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.notification;fillColor=#FF3B2F;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Notification",null,null,this.getTagsForStencil(c,"notification",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.settings;fillColor=#8F8E94;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",\r\n15,15,"","Settings",null,null,this.getTagsForStencil(c,"settings",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.switch;fillColor=#8F8E94;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Switch",null,null,this.getTagsForStencil(c,"switch",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.text_size;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",\r\n15,15,"","Text Size",null,null,this.getTagsForStencil(c,"text size",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.travel;fillColor=#FF9501;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Travel",null,null,this.getTagsForStencil(c,"travel",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.vpn;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",\r\n15,15,"","VPN",null,null,this.getTagsForStencil(c,"vpn virtual private network",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.wifi;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","WiFi",null,null,this.getTagsForStencil(c,"wifi",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.url;fillColor=#e0e0e0;strokeColor=#c0c0c0;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;spacingTop=2;align=center;",\r\n165,12.5,"draw.io","URL",null,null,this.getTagsForStencil(c,"url",b+"url").join(" ")),this.createVertexTemplateEntry(e+"iconGrid;fillColor=#c0c0c0;gridSize=3,3;",175,280,"","Icon grid",null,null,this.getTagsForStencil(c,"iconGrid",b+"icon grid").join(" ")),this.addEntry(b+"action dialog",function(){var c=new mxCell("",new mxGeometry(0,0,164,60),"shape=rect;fillColor=#a0a0a0;strokeColor=none;shadow=0;");c.vertex=!0;var b=new mxCell("Action",new mxGeometry(8,6,148,21),"html=1;strokeWidth=1;shadow=0;dashed=0;rounded=1;absoluteArcSize=1;arcSize=6;fontColor=#0080F0;fontSize=7;fontSize=14;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;");\r\nb.vertex=!0;c.insert(b);b=new mxCell("Cancel",new mxGeometry(8,33,148,21),"html=1;strokeWidth=1;shadow=0;dashed=0;rounded=1;absoluteArcSize=1;arcSize=6;fontColor=#0080F0;fontSize=7;fontSize=14;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Action Dialog")}),this.createVertexTemplateEntry(d+"iKeybLett;",174,100,"","iPhone Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",\r\n"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybNumb;",174,100,"","iPhone Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybSymb;",174,100,"","iPhone Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybLett;",332,144,"","iPad 7\'\'Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",\r\n"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybNumb;",332,144,"","iPad 7\'\' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybSymb;",332,144,"","iPad 7\'\' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybLett;",442,192,"","iPad 10\'\'Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",\r\n"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybNumb;",442,192,"","iPad 10\'\' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybSymb;",442,192,"","iPad 10\'\' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybLett;",200*2.53,400*.55,"","iPad 13\'\'Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",\r\n"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybNumb;",200*2.53,400*.55,"","iPad 13\'\' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybSymb;",200*2.53,400*.55,"","iPad 13\'\' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.call_pad;",\r\n140,160,"","Call Pad",null,null,this.getTagsForStencil("mxgraph.ios7.misc","call_pad",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.number_pad;strokeWidth=1;",140,160,"","Number Pad",null,null,this.getTagsForStencil("mxgraph.ios7.misc","number_pad",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.keyboard_(letters);",\r\n175,120,"","Keyboard",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard_(letters)",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.scroll_(horizontal);fillColor=#a0a0a0;",80,6,"","Scroll (Horizontal)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","scroll_(horizontal)",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.scroll_(vertical);fillColor=#a0a0a0;",\r\n6,80,"","Scroll (Vertical)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","scroll_(vertical)",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.add;fillColor=#00dd00;strokeColor=#ffffff;",12,12,"","Add",null,null,this.getTagsForStencil("mxgraph.ios7.misc","add",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.delete;fillColor=#ff0000;strokeColor=#ffffff;",\r\n12,12,"","Delete",null,null,this.getTagsForStencil("mxgraph.ios7.misc","delete",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.select;fillColor=#0080f0;strokeColor=#ffffff;",12,12,"","Select",null,null,this.getTagsForStencil("mxgraph.ios7.misc","select",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.remove;fillColor=#0080f0;strokeColor=#ffffff;",\r\n16,12,"","Remove",null,null,this.getTagsForStencil("mxgraph.ios7.misc","remove",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.check;strokeColor=#0080f0;",10,8,"","Check",null,null,this.getTagsForStencil("mxgraph.ios7.misc","check",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.flagged;strokeColor=#0080f0;",\r\n12,12,"","Flagged",null,null,this.getTagsForStencil("mxgraph.ios7.misc","flagged",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.up;strokeColor=#0080f0;",12,6,"","Up",null,null,this.getTagsForStencil("mxgraph.ios7.misc","up",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.down;strokeColor=#0080f0;",\r\n12,6,"","Down",null,null,this.getTagsForStencil("mxgraph.ios7.misc","down",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.left;strokeColor=#0080f0;",6,12,"","Left",null,null,this.getTagsForStencil("mxgraph.ios7.misc","left",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.right;strokeColor=#0080f0;",\r\n6,12,"","Right",null,null,this.getTagsForStencil("mxgraph.ios7.misc","right",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.increase;strokeColor=#0080f0;",12,12,"","Increase",null,null,this.getTagsForStencil("mxgraph.ios7.misc","increase",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.info;strokeColor=#0080f0;",\r\n12,12,"","Info",null,null,this.getTagsForStencil("mxgraph.ios7.misc","info",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.more_2;strokeColor=#a0a0a0;",6,8,"","More 2",null,null,this.getTagsForStencil("mxgraph.ios7.misc","more_2",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.more;strokeColor=#a0a0a0;",\r\n5,8,"","More",null,null,this.getTagsForStencil("mxgraph.ios7.misc","more",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.options;fillColor=#222222;",12,6,"","Options",null,null,this.getTagsForStencil("mxgraph.ios7.misc","options",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.pause;strokeColor=#0080f0;",\r\n12,12,"","Pause",null,null,this.getTagsForStencil("mxgraph.ios7.misc","pause",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.star;fillColor=#0080f0;strokeColor=none;",12,12,"","Star",null,null,this.getTagsForStencil("mxgraph.ios7.misc","star",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.contacts_bar;strokeColor=#0080F0;fillColor=#e0e0e0",\r\n175,400*.07,"","Contacts Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","contacts_bar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.edit_bar;strokeColor=#0080F0;fillColor=#e0e0e0",175,400*.07,"","Edit Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","edit_bar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.message_bar;strokeColor=#0080F0;fillColor=#e0e0e0",\r\n175,400*.07,"","Message Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","message_bar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.misc_bar;strokeColor=#0080F0;fillColor=#e0e0e0",175,400*.07,"","Misc Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","misc_bar",b+"").join(" ")),this.createVertexTemplateEntry(e+"onOffButton;buttonState=on;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff;",\r\n43.5,15,"","On-off button (On)",null,null,this.getTagsForStencil(c,"onOffButton",b+"").join(" ")),this.createVertexTemplateEntry(e+"onOffButton;buttonState=off;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff;",43.5,15,"","On-off button (Off)",null,null,this.getTagsForStencil(c,"onOffButton",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.icon;fontSize=8;fontColor=#ffffff;buttonText=;whiteSpace=wrap;align=center;",\r\n40,36,"Icon","Icon",null,null,this.getTagsForStencil(c,"icon",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.loading_circle;",40,40,"","Loading Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","loading_circle",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.circle;strokeColor=#222222;fillColor=none;",\r\n12,12,"","Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","circle",b+"").join(" ")),this.createVertexTemplateEntry(e+"pageControl;fillColor=#222222;strokeColor=#aaaaaa;",50,5,"","Page control",null,null,this.getTagsForStencil(c,"pageControl",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.current_location;strokeColor=#ffffff;fillColor=#0080F0",60,\r\n60,"","Current Location",null,null,this.getTagsForStencil("mxgraph.ios7.misc","current_location",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.expand;fillColor=#c0c0c0;",24,6,"","Expand",null,null,this.getTagsForStencil("mxgraph.ios7.misc","expand",b+"").join(" ")),this.addDataEntry(b+"volume control",160,14,"Volume Control","vVVdb8IgFP01fbTBVqvPuunTEpM97HFhchUyWhqgWvfrd1to/WjdjHEjacI9cLmcc4AG8Twtl5rm/EUxkEH8HMRzrZR1vbScg5RBRAQL4qcgigh+QbS4MjqsR0lONWT2loTIJeyoLMAhDjD2ID1gOM2rroY1LjkzVqtPmCupNIKZynBsthFSXkB+YdAWyqubqyG/syWoFKw+4JS9YJb7GYkjQDiILW/SRg6jxsXbNvVIFTuebT/z+HbmabmtDAqFMpMwFWYd7pQsUnhnap9dsA+iOKnbNalu0iXq1+XgLQ3HLuVEp6Sr0tRBGiS1YgdnxfqU8/VWSuA22mKDC63VZmPAdpRud3mT+KMHiF/k/yn9ecIPRjRns++83muFLz5o1mmsmfyBNePfreE2xeynYavzm6dfI5zitcCAYMCo4cB80OdoIUIjBQN0afZB9UpVVBLScRC9JcmULJDXTOV0LWylwZCQ7hlY1A1xTjMm4VV8VUVRusccgGnX8WHP5bvjicLw+PA7507/C98="),\r\nthis.addDataEntry(b+"picker",175,160,"Picker","7ZZta8IwEMc/Td5Km9i6vV3dZLDBYC/2OqxXE5Y2kkSt+/S7mtQHtEx8gg0Vofe/u9z1/6tQwrKyHhk+Ea86B0XYI2GZ0dr5q7LOQClCI5kTNiSURvgj9KkjGy+z0YQbqNwhDdQ3zLiagle8YN1CBUG4EtcaxoQ9WGf0F3zI3IlWETzXcwwiDHJuBeQhwMykOaGsx83d9aS2g6ns8epTaIP5MBiMg7pz+aUUNh+BLsGZBZbMwwZNxSDxbQLkWLRtqb/riFsvjFe9ay/wItix3xq2Y82zgxKV+FoWFbpy7/K7KYmTEGdaNTmcynjUfFE3YLFqc+ZB5tLjzGXhETGguJMz2Dr/FMP7XYZf7Zn8J4aHEW9a4mQaLbaPaTt0UVhwO4BWix3ELOlixi7MDIG9yArs79To8rOauo9nIZVq9UpXsLMi/avQ0/4FoKdd0Pu3P+oZmN2nF2A26GKW3JidgVlM706HhuH6zc+Xb74Y/gA=")];\r\nthis.addPalette("ios7ui","iOS UI",!1,mxUtils.bind(this,function(a){for(var c=0;c<f.length;c++)a.appendChild(f[c](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addKubernetesPalette=function(){this.setCurrentSearchEntryLibrary("kubernetes");this.addPaletteFunctions("kubernetes","Kubernetes",!1,[this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=api",50,48,"","API",null,null,this.getTagsForStencil("mxgraph.kubernetes","api application programming interface",\r\n"kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=c_c_m",50,48,"","C-C-M",null,null,this.getTagsForStencil("mxgraph.kubernetes","ccm","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=c_m",\r\n50,48,"","C-M",null,null,this.getTagsForStencil("mxgraph.kubernetes","cm","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=c_role",50,48,"","C-Role",null,null,this.getTagsForStencil("mxgraph.kubernetes","crole role","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=cm",\r\n50,48,"","CM",null,null,this.getTagsForStencil("mxgraph.kubernetes","cm","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=crb",50,48,"","CRB",null,null,this.getTagsForStencil("mxgraph.kubernetes","crb","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=crd",\r\n50,48,"","CRD",null,null,this.getTagsForStencil("mxgraph.kubernetes","crd","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=cronjob",50,48,"","Cronjob",null,null,this.getTagsForStencil("mxgraph.kubernetes","cronjob","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=deploy",\r\n50,48,"","Deploy",null,null,this.getTagsForStencil("mxgraph.kubernetes","deploy","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=ds",50,48,"","DS",null,null,this.getTagsForStencil("mxgraph.kubernetes","ds","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=ep",\r\n50,48,"","EP",null,null,this.getTagsForStencil("mxgraph.kubernetes","ep","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=etcd",50,48,"","ETCD",null,null,this.getTagsForStencil("mxgraph.kubernetes","etcd","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=group",\r\n50,48,"","Group",null,null,this.getTagsForStencil("mxgraph.kubernetes","group","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=hpa",50,48,"","HPA",null,null,this.getTagsForStencil("mxgraph.kubernetes","hpa","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=ing",\r\n50,48,"","ING",null,null,this.getTagsForStencil("mxgraph.kubernetes","ing","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=job",50,48,"","Job",null,null,this.getTagsForStencil("mxgraph.kubernetes","job","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=k_proxy",\r\n50,48,"","K-Proxy",null,null,this.getTagsForStencil("mxgraph.kubernetes","k proxy kproxy","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=kubelet",50,48,"","Kubelet",null,null,this.getTagsForStencil("mxgraph.kubernetes","kubelet","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=limits",\r\n50,48,"","Limits",null,null,this.getTagsForStencil("mxgraph.kubernetes","limits","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=master",50,48,"","Master",null,null,this.getTagsForStencil("mxgraph.kubernetes","master","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=netpol",\r\n50,48,"","Netpol",null,null,this.getTagsForStencil("mxgraph.kubernetes","netpol","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=node",50,48,"","Node",null,null,this.getTagsForStencil("mxgraph.kubernetes","node","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=ns",\r\n50,48,"","NS",null,null,this.getTagsForStencil("mxgraph.kubernetes","ns","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=pod",50,48,"","Pod",null,null,this.getTagsForStencil("mxgraph.kubernetes","pod","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=psp",\r\n50,48,"","PSP",null,null,this.getTagsForStencil("mxgraph.kubernetes","psp","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=pv",50,48,"","PV",null,null,this.getTagsForStencil("mxgraph.kubernetes","pv","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=pvc",\r\n50,48,"","PVC",null,null,this.getTagsForStencil("mxgraph.kubernetes","pvc","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=quota",50,48,"","Quota",null,null,this.getTagsForStencil("mxgraph.kubernetes","quota","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=rb",\r\n50,48,"","RB",null,null,this.getTagsForStencil("mxgraph.kubernetes","rb","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=role",50,48,"","Role",null,null,this.getTagsForStencil("mxgraph.kubernetes","role","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=rs",\r\n50,48,"","RS",null,null,this.getTagsForStencil("mxgraph.kubernetes","rs","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=sa",50,48,"","SA",null,null,this.getTagsForStencil("mxgraph.kubernetes","sa","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=sc",\r\n50,48,"","SC",null,null,this.getTagsForStencil("mxgraph.kubernetes","sc","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=sched",50,48,"","Sched",null,null,this.getTagsForStencil("mxgraph.kubernetes","sched","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=secret",\r\n50,48,"","Secret",null,null,this.getTagsForStencil("mxgraph.kubernetes","secret","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=sts",50,48,"","STS",null,null,this.getTagsForStencil("mxgraph.kubernetes","sts","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=svc",\r\n50,48,"","SVC",null,null,this.getTagsForStencil("mxgraph.kubernetes","svc","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=user",50,48,"","User",null,null,this.getTagsForStencil("mxgraph.kubernetes","user","kubernetes ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon;prIcon=vol",\r\n50,48,"","Vol",null,null,this.getTagsForStencil("mxgraph.kubernetes","vol","kubernetes ").join(" "))]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addLeanMappingPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=2;html=1;shape=mxgraph.lean_mapping.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=2;shape=mxgraph.lean_mapping.",e=this;this.setCurrentSearchEntryLibrary("lean_mapping");var c=[this.createVertexTemplateEntry(b+"boat_shipment;align=center;",100,100,"","Boat Shipment",null,null,this.getTagsForStencil("mxgraph.lean_mapping","boat_shipment",\r\n"value stream lean mapping ").join(" ")),this.addDataEntry("value stream lean mapping data box",60,100,"Data Box","1ZVfT8MgFMU/Da9LB7Pude10LxofNPFxuRZWiLQQirP10wstczbd4p9osz00uT2XA/f8HgCRtKhXBjS/VZRJRK4QSY1StquKOmVSIhwJisgSYRy5D+HrI91p2400GFba7xhwZ9iCfGGd0gmVbWQQKmvUM3sU1HInYEQSbgs36HLqyoqD9uuKOvcZJpJBuS5Aa1HmEwoW1k+q7lvCicxYVh+dupXCyCumCmZN45a8hilcN+6CRZyJnO9cURCh6oT8w7pn4IqA4TASMkDiLQ87Op/RuATu5GSjSnsv3rw490w0ZC7+DdvYAMyHFRnIhRR56WkJSv0eP8aCf4UF/wGV2UEqd6dMpemnHwHSxQBSAjbjZwBpNh6keABpsQUhzwBSPB6ky6/v5RODM/83OO53/yC2vd57+Q4="),\r\nthis.createVertexTemplateEntry(a+"outside_sources;whiteSpace=wrap;align=center;",100,70,\'<table cellpadding="5" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td height="50%"></td></tr><tr><td align="center" height="50%">XYZ Corp</td></tr></table>\',"Customer/Supplier",null,null,this.getTagsForStencil("mxgraph.lean_mapping","outside_sources","value stream lean mapping ").join(" ")),this.addEntry("value stream lean mapping dedicated process manufacturing",function(){var c=new mxCell("\\nDescription",\r\nnew mxGeometry(0,0,100,70),a+"manufacturing_process;fontSize=12;verticalAlign=middle;html=1;align=center;whiteSpace=wrap;");c.vertex=!0;var b=new mxCell("Process",new mxGeometry(0,0,100,13),"text;fontSize=12;spacingLeft=2;verticalAlign=top;html=1;align=center;spacingTop=-5;resizeWidth=1;");b.vertex=!0;c.insert(b);return e.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dedicated Process")}),this.createVertexTemplateEntry(a+"manufacturing_process_shared;spacingTop=-5;align=center;"+\r\nmxConstants.STYLE_VERTICAL_ALIGN+"=top;",100,70,"Process","Shared Process",null,null,this.getTagsForStencil("mxgraph.lean_mapping","manufacturing_process_shared","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"work_cell;pointerEvents=1;",70,60,"","Workcell",null,null,this.getTagsForStencil("mxgraph.lean_mapping","work_cell","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"inventory_box;",100,90,"","Inventory Box",null,null,this.getTagsForStencil("mxgraph.lean_mapping",\r\n"inventory_box","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"push_arrow;",100,30,"","Push Arrow",null,null,this.getTagsForStencil("mxgraph.lean_mapping","push_arrow","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"supermarket;",60,100,"","Supermarket",null,null,this.getTagsForStencil("mxgraph.lean_mapping","supermarket","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"physical_pull;pointerEvents=1;",100,100,"","Material Pull",\r\nnull,null,this.getTagsForStencil("mxgraph.lean_mapping","physical_pull","value stream lean mapping circular arrow").join(" ")),this.createVertexTemplateEntry(a+"fifo_lane;overflow=fill;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;",100,50,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td height="0%">MAX=XX</td></tr><tr><td align="center" height="100%"></td></tr></table>\',"FIFO Lane",null,null,this.getTagsForStencil("mxgraph.lean_mapping","fifo_lane",\r\n"value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"buffer_or_safety_stock;",40,100,"","Safety Stock",null,null,this.getTagsForStencil("mxgraph.lean_mapping","buffer_or_safety_stock","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping","truck_shipment","value stream lean mapping ").join(" "),function(){var c=new mxCell("",new mxGeometry(0,0,100,100),a+"truck_shipment;");c.vertex=!0;var b=new mxCell("2x per\\nWeek",new mxGeometry(0,\r\n0,60,80),"text;fontSize=12;verticalAlign=middle;html=1;align=center;whiteSpace=wrap;");b.vertex=!0;c.insert(b);return e.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Truck Shipment")}),this.createVertexTemplateEntry(a+"schedule;whiteSpace=wrap;align=center;",100,70,"Production\\nControl","Production Control",null,null,this.getTagsForStencil("mxgraph.lean_mapping","schedule","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"schedule;whiteSpace=wrap;align=center;",\r\n100,70,"Other\\nInformation","Other Information",null,null,this.getTagsForStencil("mxgraph.lean_mapping","schedule","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"go_see_production_scheduling;pointerEvents=1;",92,60,"","Go See Production Scheduling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","go_see_production_scheduling","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping","kaizen_lightening_burst","value stream lean mapping ").join(" "),\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,90,40),b+"kaizen_lightening_burst;");a.vertex=!0;var c=new mxCell("",new mxGeometry(8,8,74,24),"rect;fillColor=#000000;strokeColor=none;");c.vertex=!0;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Kaizen Lightening Burst")}),this.createVertexTemplateEntry(b+"kanban_post;",50,100,"","Kanban Post",null,null,this.getTagsForStencil("mxgraph.lean_mapping","kanban_post","value stream lean mapping ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"load_leveling;",100,30,"","Load Leveling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","load_leveling","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"move_by_forklift;",92,100,"","Move by Forklift",null,null,this.getTagsForStencil("mxgraph.lean_mapping","move_by_forklift","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"mrp_erp;whiteSpace=wrap;",70,100,"","MRP/ERP",null,null,this.getTagsForStencil("mxgraph.lean_mapping",\r\n"mrp_erp","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"operator;",100,84,"","Operator",null,null,this.getTagsForStencil("mxgraph.lean_mapping","operator","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"quality_problem;fontSize=24;fontStyle=1;whiteSpace=wrap;align=center;",80,100,"Q","Quality Problem",null,null,this.getTagsForStencil("mxgraph.lean_mapping","quality_problem","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+\r\n"verbal;pointerEvents=1;",50,100,"","Verbal Information",null,null,this.getTagsForStencil("mxgraph.lean_mapping","verbal","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"fifo_sequence_flow;pointerEvents=1;fontStyle=0;fontSize=20;align=center;",100,50,"FIFO","FIFO Sequence",null,null,this.getTagsForStencil("mxgraph.lean_mapping","fifo_sequence_flow","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"production_kanban;overflow=fill;",100,100,\'<p style="font-size:2em;margin-right:35px;margin-top:13px;text-align:right">P</p>\',\r\n"Production Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","production_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"withdrawal_kanban;overflow=fill;",100,100,\'<p style="font-size:2em;margin-right:35px;margin-top:13px;text-align:right">W</p>\',"Withdrawal Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","withdrawal_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"signal_kanban;overflow=fill;",100,\r\n90,\'<p style="font-size:2em;margin-right:35px;margin-top:4px;text-align:right">S</p>\',"Signal Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","signal_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"sequenced_pull_ball;",60,60,"","Sequenced Pull Ball",null,null,this.getTagsForStencil("mxgraph.lean_mapping","sequenced_pull_ball","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"rail_shipment;",100,30,"","Rail Shipment",null,\r\nnull,this.getTagsForStencil("mxgraph.lean_mapping","rail_shipment","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"airplane_7;",100,45,"","Air Freight",null,null,this.getTagsForStencil("mxgraph.lean_mapping","airplane_7","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"warehouse;",100,60,"","Warehouse",null,null,this.getTagsForStencil("mxgraph.lean_mapping","warehouse","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"timeline2;dx1=0;dy1=1;dx2=30;dy2=0;dx3=160;dy3=1;dx4=230;dy4=0;dx5=310;dy5=1;dy6=0;",\r\n400,40,"","Timeline",null,null,this.getTagsForStencil("mxgraph.lean_mapping","timeline","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"crossDock;",100,80,"","Cross-Dock",null,null,this.getTagsForStencil("mxgraph.lean_mapping","crossDock","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"orders;overflow=fill;",100,60,\'<table cellpadding="0" cellspacing="0" style="font-size:1.5em;width:100%;height:100%;"><tr><td height="65%"></td></tr><tr><td align="center" height="35%">IN</td></tr></table>\',\r\n"Orders",null,null,this.getTagsForStencil("mxgraph.lean_mapping","orders","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"batched_kanban;",200,80,"","Batched Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","batched_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"control_center;",80,80,"","Control Center",null,null,this.getTagsForStencil("mxgraph.lean_mapping","control_center","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("shape=flexArrow;html=1;",\r\n100,100,"","Shipments",null,this.getTagsForStencil("mxgraph.lean_mapping","arrow","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("shape=mxgraph.lean_mapping.manual_info_flow_edge;html=1;",100,100,"Daily","Manual Information",null,this.getTagsForStencil("mxgraph.lean_mapping","manual_info_flow_edge","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("shape=mxgraph.lean_mapping.electronic_info_flow_edge;html=1;",100,100,"Monthly","Electronic Information",null,\r\nthis.getTagsForStencil("mxgraph.lean_mapping","electronic_info_flow_edge","value stream lean mapping ").join(" "))];this.addPalette("lean_mapping","Value Stream Mapping",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addMockupPalette=function(){this.setCurrentSearchEntryLibrary("mockups","mockupButtons");this.addMockupButtonsPalette();this.setCurrentSearchEntryLibrary("mockups","mockupContainers");this.addMockupContainersPalette();this.setCurrentSearchEntryLibrary("mockups","mockupForms");this.addMockupFormsPalette();this.setCurrentSearchEntryLibrary("mockups","mockupGraphics");this.addMockupGraphicsPalette();this.setCurrentSearchEntryLibrary("mockups","mockupMarkup");this.addMockupMarkupPalette();\r\nthis.setCurrentSearchEntryLibrary("mockups","mockupMisc");this.addMockupMiscPalette();this.setCurrentSearchEntryLibrary("mockups","mockupNavigation");this.addMockupNavigationPalette();this.setCurrentSearchEntryLibrary("mockups","mockupText");this.addMockupTextPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addMockupButtonsPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+\r\n"=#999999;",e=this,c=[this.createVertexTemplateEntry(a+"buttons.button;"+(mxConstants.STYLE_STROKECOLOR+"=#666666;")+"fontColor=#ffffff;mainText=;buttonStyle=round;fontSize=17;fontStyle=1;fillColor=#008cff;whiteSpace=wrap;",150,50,"Button Text","Button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","button","mockup button ").join(" ")),this.addEntry("mockup button formatted multibutton multi",function(){var c=new mxCell("",new mxGeometry(0,0,150,50),a+"buttons.multiButton;fillColor=#008cff;strokeColor=#666666;mainText=;subText=;");\r\nc.vertex=!0;var b=new mxCell("Main Text",new mxGeometry(0,8,150,20),a+"anchor;fontSize=16;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;");b.vertex=!0;c.insert(b);b=new mxCell("Sub Text",new mxGeometry(0,30,150,10),a+"anchor;fontSize=12;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;");b.vertex=!0;c.insert(b);return e.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Formatted Button")}),this.addEntry("mockup button horizontal bar",function(){var c=new mxCell("",new mxGeometry(0,\r\n0,500,50),a+"rrect;rSize=10;fillColor=#ffffff;strokeColor=#666666;");c.vertex=!0;var b=new mxCell("Button 2",new mxGeometry(0,0,125,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeHeight=1;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(125,0);b.vertex=!0;c.insert(b);b=new mxCell("Button 3",new mxGeometry(0,0,125,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeHeight=1;");\r\nb.geometry.relative=!0;b.geometry.offset=new mxPoint(250,0);b.vertex=!0;c.insert(b);b=new mxCell("Button 4",new mxGeometry(1,0,125,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rightButton;rSize=10;fontSize=17;fontColor=#666666;fontStyle=1;resizeHeight=1;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(-125,0);b.vertex=!0;c.insert(b);b=new mxCell("Button 1",new mxGeometry(0,0,125,50),a+"leftButton;rSize=10;fontSize=17;fontColor=#ffffff;fontStyle=1;fillColor=#008cff;strokeColor=#008cff;resizeHeight=1;");\r\nb.geometry.relative=!0;b.vertex=!0;c.insert(b);return e.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Horizontal Button Bar")}),this.addEntry("mockup button vertical bar",function(){var c=new mxCell("",new mxGeometry(0,0,120,200),a+"rrect;rSize=10;strokeColor=#666666;");c.vertex=!0;var b=new mxCell("Button 2",new mxGeometry(0,0,120,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");\r\nb.geometry.relative=!0;b.geometry.offset=new mxPoint(0,50);b.vertex=!0;c.insert(b);b=new mxCell("Button 3",new mxGeometry(0,0,120,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(0,100);b.vertex=!0;c.insert(b);b=new mxCell("Button 4",new mxGeometry(0,1,120,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"bottomButton;rSize=10;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");\r\nb.geometry.relative=!0;b.geometry.offset=new mxPoint(0,-50);b.vertex=!0;c.insert(b);b=new mxCell("Button 1",new mxGeometry(0,0,120,50),a+"topButton;rSize=10;fontSize=17;fontColor=#ffffff;fontStyle=1;fillColor=#008cff;strokeColor=#008cff;resizeWidth=1;");b.geometry.relative=!0;b.vertex=!0;c.insert(b);return e.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Vertical Button Bar")}),this.createVertexTemplateEntry(a+"buttons.onOffButton;gradientColor=none;"+b+"buttonState=on;fillColor2=#008cff;fontColor=#ffffff;fontSize=17;mainText=;spacingRight=40;fontStyle=1;",\r\n150,50,"ON","On-off button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","onOffButton","mockup button on off").join(" "))];this.addPalette("mockupButtons","Mockup Buttons",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMockupContainersPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+\r\n"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e=mxConstants.STYLE_STROKECOLOR+"=#666666;",c=this,d=[this.createVertexTemplateEntry(a+"containers.videoPlayer;"+e+"strokeColor2=#008cff;strokeColor3=#c4c4c4;textColor=#666666;fillColor2=#008cff;barHeight=30;barPos=20;",300,200,"","Video Player",null,null,this.getTagsForStencil("mxgraph.mockup.containers","videoPlayer","mockup container ").join(" ")),this.addEntry("mockup container accordion",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,100,220),b+"containers.rrect;rSize=0;strokeColor=#666666;");a.vertex=!0;var d=new mxCell("Group 1",new mxGeometry(0,0,100,26),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;a.insert(d);d=new mxCell("Group 2",new mxGeometry(0,0,100,26),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,26);d.vertex=!0;a.insert(d);d=new mxCell("Group 3",new mxGeometry(0,0,100,26),b+"containers.rrect;rSize=0;fontSize=17;fontColor=#ffffff;fontStyle=1;fillColor=#008cff;strokeColor=#008cff;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,52);d.vertex=!0;a.insert(d);d=new mxCell("Group 4",new mxGeometry(0,1,100,26),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-26);d.vertex=!0;a.insert(d);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Accordion")}),this.addEntry("mockup container browser window",function(){var a=new mxCell("",new mxGeometry(0,0,550,380),b+"containers.browserWindow;rSize=0;strokeColor=#666666;strokeColor2=#008cff;strokeColor3=#c4c4c4;mainText=,;recursiveResize=0;");a.vertex=!0;var d=new mxCell("Page 1",new mxGeometry(60,12,110,26),b+"containers.anchor;fontSize=17;fontColor=#666666;align=left;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("https://www.draw.io",new mxGeometry(130,60,250,26),b+"containers.anchor;rSize=0;fontSize=17;fontColor=#666666;align=left;");d.vertex=!0;a.insert(d);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Browser Window")}),this.createVertexTemplateEntry(a+"containers.userMale;"+e+"strokeColor2=#008cff;",100,100,"","User, Male",null,null,this.getTagsForStencil("mxgraph.mockup.containers","userMale","mockup container ").join(" ")),this.createVertexTemplateEntry(a+\r\n"containers.userFemale;"+e+"strokeColor2=#008cff;",100,100,"","User, Female",null,null,this.getTagsForStencil("mxgraph.mockup.containers","userFemale","mockup container ").join(" ")),this.addEntry("mockup container group",function(){var a=new mxCell("",new mxGeometry(0,0,150,200),"shape=mxgraph.mockup.containers.marginRect;rectMarginTop=10;strokeColor=#666666;strokeWidth=1;dashed=0;rounded=1;arcSize=5;recursiveResize=0;");a.vertex=!0;var b=new mxCell("Group",new mxGeometry(5,0,90,30),"shape=rect;strokeColor=none;fillColor=#008cff;strokeWidth=1;dashed=0;rounded=1;arcSize=20;fontColor=#ffffff;fontSize=17;spacing=2;spacingTop=-2;align=left;autosize=1;spacingLeft=4;resizeWidth=0;resizeHeight=0;perimeter=none;");\r\nb.vertex=!0;a.insert(b);return c.createVertexTemplateFromCells([a],150,200,"Group")}),this.createVertexTemplateEntry(b+"containers.window;align=left;verticalAlign=top;spacingLeft=8;strokeColor2=#008cff;strokeColor3=#c4c4c4;fontColor=#666666;mainText=;fontSize=17;labelBackgroundColor=none;",550,380,"Window Title","Window",null,null,this.getTagsForStencil("mxgraph.mockup.containers","window","mockup container ").join(" ")),this.addEntry("mockup container horizontal tab bar",function(){var a=new mxCell("",\r\nnew mxGeometry(0,0,400,200),b+"containers.marginRect2;rectMarginTop=32;strokeColor=#666666;gradientColor=none;");a.vertex=!0;var d=new mxCell("Tab 1",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;gradientColor=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,0);d.vertex=!0;a.insert(d);d=new mxCell("Tab 2",new mxGeometry(0,0,60,25),b+"containers.rrect;rSize=0;fontSize=17;fontColor=#ffffff;strokeColor=#008cff;fillColor=#008cff;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(75,0);d.vertex=!0;a.insert(d);d=new mxCell("Tab 3",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;gradientColor=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(140,0);d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(0,0,400,7),b+"containers.topButton;rSize=5;strokeColor=#008cff;fillColor=#008cff;gradientColor=none;resizeWidth=1;movable=0;deletable=1;");\r\nd.vertex=!0;d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,25);a.insert(d);return c.createVertexTemplateFromCells([a],400,200,"Horizontal Tab Bar")}),this.addEntry("mockup container vertical tab bar",function(){var a=new mxCell("",new mxGeometry(0,0,400,200),b+"containers.marginRect2;rectMarginLeft=67;strokeColor=#666666;gradientColor=none;");a.vertex=!0;var d=new mxCell("Tab 1",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;");\r\nd.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;a.insert(d);d=new mxCell("Tab 2",new mxGeometry(0,0,60,25),b+"containers.rrect;rSize=0;fontSize=17;fontColor=#ffffff;strokeColor=#008cff;fillColor=#008cff;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;a.insert(d);d=new mxCell("Tab 3",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;");d.geometry.relative=\r\n!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(0,0,7,200),b+"containers.leftButton;rSize=5;strokeColor=#008cff;fillColor=#008cff;resizeHeight=1;movable=0;deletable=0;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(60,0);d.vertex=!0;a.insert(d);return c.createVertexTemplateFromCells([a],400,200,"Vertical Tab Bar")}),this.addDataEntry("mockup container dialog box",250,140,"Dialog Box","7ZZNj5swEIZ/jY+LwA7Z7bFL2j20VStlpZ5dGMBag5FxEtJf3wE7CeGjok0rraoSRbLHnvF4ntcGwqKiedK8yj+pBCRh7wiLtFLGtoomAikJ9UVC2IZQ6uOf0Pczo0E36ldcQ2mWOFDrsOdyB9ayVQWgJYGU76QhdE0oC3zCHhPBpcp6BgON8ax/bY7S+ddGqxf4KhKToyHAeXXOE3XATheF1zkkrsOlyEpsx5gtaDTkppAXr6oNWTRZWx2vUPHLrvJiVRouStC1pzXEuMlHvRXfwUW0q0dKKt2lw9bdgyMpOs7ZXYDgHvt70EbEXL51uRlVofWQCwPbisftvAMm1HoKKXsR0+5pc8BposyeW8cNo2hxRcbI0MyC6kyO0hMgBaOPOOXgKtnCCi1MPweR5Se3lTPy2hqys++FOzYc+mkZsJEMNo62/ywMon1dlIfM5tjOq+GUk4TUXJB97HqbhwHcUpXQZgA1rtnf8yKu9Pe4MmfTILkRe7iKfwvr1Yj1mK6jgo6iqmGqkr7/EHdq76rCv8kzm3HherwXVYxNV+za4eiuNy+0/X49J8pJf7Wcbv0vSmBa58XvaHi1/F0wOH0qTWswIx7nbSxCFI4QRbyM8e3weo/hz67YkXjiVftbcK06Ad1yzpqTTgbkgpFs3kzJJvwzslkNZMPYX5DNeiSbzx/+S+YGydz/a5LB7uXb0k7vf3r+AA=="),\r\nthis.addDataEntry("mockup container dialog box",250,160,"Dialog Box","zZZRb5swEMc/jR+LwC5pX9dk68NWtVIq7dmDA6wajGwnIf30O8AECFClyx5KFMn3x3c+3+9sQdg6rx41L7MnFYMk7Dtha62UbUd5tQYpCfVFTNiGUOrjn9AfC2+D5q1fcg2FvcSBtg57LnfQKluVAyoxJHwnLaErQlngE/aQgzE8hYFiobJeG8DYo3QBjNXqDX6L2GYoBDjPZDxWBzRqp5ibDGJncCnSAscRpgsahczmsvcq65B5ldbl8XIVve1KL1KF5aIAbTytIcJdPuiteAcXsV19raTSTTps1Tz4JkHHJd0FCO7Q3oO2IuLym8vNqhLVQyYsbEse1fMOmFDtKaQcREyap84Bp4kifa0dN4yi4qqMkaFaJNVIDtMjIAarjzjl4CpZ0wpbmn4GIs06t5UTuWmF9OTbg8eBYz/fB2zSB08dbv9VWGT7tTCfQ1uCu9wOXU4SEtsz+9VYm/sP6GowuPBw4xfRpf9GlzlNg+RW7GEU/xritxPiU8QODTqK0sBcOX3/Puqrwv/IE6BB9QpVwBj6RRVj8xUbOxzdLeeFrT2s50w56WfL6dZ/UQLTOi1+Q8PR8jfB2RlUSWLATnictnERonCC6PnnFz6HH12yk8aJbuvfTON85qK95uBVZ41zHAUYtFEw20fh/+mj7u7u+oix6/sIzf4Dop0+/L74Cw==")];\r\nthis.addPalette("mockupContainers","Mockup Containers",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMockupFormsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",\r\ne=mxConstants.STYLE_STROKECOLOR+"=#999999;",c=this,d=[this.createVertexTemplateEntry(b+"forms.rrect;rSize=0;fillColor=#eeeeee;strokeColor=#999999;gradientColor=#cccccc;align=left;spacingLeft=4;fontSize=17;fontColor=#666666;labelPosition=right;",15,15,"Option 1","Checkbox",null,null,this.getTagsForStencil("mxgraph.mockup.forms","checkbox","mockup form ").join(" ")),this.addDataEntry("mockup form checkbox checkboxes",150,120,"Checkboxes","7VZNb8IwDP01uValKV9XYOOyadN22DmkbhuRNlUSoOzXL00yvtZOSGgMabOEFD/32Yn9GorwtKjnklT5o0iAI3yH8FQKod2qqKfAOYpCliA8Q1EUmh+K7juiPRsNKyKh1OcQIkdYE74ChzhA6S33gNJSLOGNJTo3QA/hicpJIjbGCY2TEJVD4h3CWVaaNTXlQRog1wXfs6omZVFnzXGDQtDlqgpSIQsVSAnUbHgiX9k7+GSu8FRwIe1O8NiaiaSM8wM8tdawga6kYmt4AbXP448IUkPd2SYL+R7NQRSg5dY8svHHbp7ou1aGObAs/6T5/oZEOSDbcfddNwvf+PYh4C9DeKo0E6XBerczjpOmg7Vvx2QSJ8yUPohRawdb45A2hVRFKCuzB+vN4qacKLWv3ht6/yDRwJrBOVkAfxaK2Y7hmXTDOW/qUfvUPWHkCFvnDYO+84800SKJ/uWKiLsVcUMv6F9XBL6mJPrdksC/IwmaA10uRH2iCtncvWTBO1RCrLWpJLbWrpLdcC9VSRiOqP2vuJpKBtdUyaBbJfH/xXErF8f4ByVh3P3no40dfV1+AA=="),\r\nthis.createVertexTemplateEntry("shape=ellipse;fillColor=#eeeeee;strokeColor=#999999;gradientColor=#cccccc;html=1;align=left;spacingLeft=4;fontSize=17;fontColor=#666666;labelPosition=right;shadow=0;",15,15,"Setting 1","Radiobutton",null,null,this.getTagsForStencil("mxgraph.mockup.forms","radiobutton radio button","mockup form ").join(" ")),this.addDataEntry("mockup form radiobutton radio button group",150,120,"Radiobutton Group","7ZbJboMwEIafhmtEcMhyTdrm0kpVc+jZhQlYMRjZztan72A7C4Eg1LQ5ZSQkzwwztv/PLB6ZZbu5pEX6JmLgHnn2yEwKoe0o282Acy/wWeyRJy8IfLy84OVKtm+yfkEl5LpLQWALNpSvwUZsQOk9dwGlpVjBJ4t1ioG+R6YqpbHYouOjE1OVQuwcylmS4zjC6UFiINUZP1UVZctsl5Tb7WUiWq2L3lLITPWkhAgXPJUL9g2umZ14JriQZiVkYgwzS8b5WXxprKyGaC0V28AHqFMft0WQGnZXZTIhp9EcRAZa7vGWrdt2eUdopfRTYEl6KHP6+lTZQHKsPamOAyd8MwRSg7AArVmeYLBf5+F0xB6sUHAh2oU0YKxVTKQRM9ThLBcZq+I7oOWwLEGpgka4wlfjPQ3KmUWu3UL6I+ef9RwawzinX8DfhWKaibKhtGp2wxQ0Y3IFY1uwt96oF1q/ArGBYXg7wkELwoZH6oGwG0JyT4ZhC0NyG0NqrInhwFgzw6Pef8jQ98eReVfejeHwngyHHb5nNXAXsI5IqrBykUOVRSepwlapSPW413Sa1GWa3K7SqOWkDx5vq9+e9Mk/nnR0T3+FJlf5afwB"),\r\nthis.createVertexTemplateEntry(a+"forms.colorPicker;chosenColor=#aaddff;",40,40,"","Color Picker",null,null,this.getTagsForStencil("mxgraph.mockup.forms","colorPicker","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.comboBox;"+e+mxConstants.STYLE_FILLCOLOR+"=#ddeeff;align=left;fillColor2=#aaddff;mainText=;fontColor=#666666;fontSize=17;spacingLeft=3;",150,30,"Option 1","Combo Box",null,null,this.getTagsForStencil("mxgraph.mockup.forms","comboBox","mockup form ").join(" ")),this.createVertexTemplateEntry(b+\r\n"forms.spinner;"+e+"spinLayout=right;spinStyle=normal;adjStyle=triangle;fillColor=#aaddff;fontSize=17;fontColor=#666666;mainText=;html=1;overflow=fill;",150,60,\'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td style="width:85%">100</td><td style="width:15%"></td></tr></table>\',"Spinner",null,null,this.getTagsForStencil("mxgraph.mockup.forms","spinner","mockup form ").join(" ")),this.addEntry("mockup form menu bar",function(){var a=new mxCell("",new mxGeometry(0,0,498,\r\n30),b+"forms.rrect;rSize=0;strokeColor=#999999;");a.vertex=!0;var d=new mxCell("File",new mxGeometry(0,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Edit",new mxGeometry(83,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Options",new mxGeometry(166,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+\r\nb+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Tools",new mxGeometry(249,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Window",new mxGeometry(332,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Help",new mxGeometry(415,\r\n0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");d.vertex=!0;a.insert(d);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Menu Bar")}),this.createVertexTemplateEntry(a+"forms.horSlider;"+e+"sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;",150,30,"","Horizontal Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms","horSlider","mockup form horizontal").join(" ")),\r\nthis.createVertexTemplateEntry(a+"forms.horSlider;"+e+"sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;direction=north;",30,150,"","Vertical Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms","horSlider","mockup form vertical").join(" ")),this.addDataEntry("mockup form list box",150,200,"List Box","7ZZdS8MwFIZ/TW9HlmzO3W7qEBQEBa9De9oG06YkUTd/vadJ3FprZX7MOVigkPMmJx/vEw6N2LxYLjSv8muVgIzYecTmWinre8VyDlJGlIgkYmcRpQS/iF70jA7dKKm4htJuk0B9whOXj+AVLxi7kkEwVqsHuBeJzVEYRmxmcp6oZwwIBgk3OSQh4FJkJfZj3B40Crkt5Carqpcslll93UGh4ofHapAqXZiB1hDjgWf6VrxAWMxvPFdSaXcSNnUNR1IhZUNPXUM9XAa0hWWvIU4KbixAFWD1Cqc8hwvWM8beNJKDyPKQRkkQufFCts7d+IudYPHHdrOO3XfCotGH4LkqbUMn5DR2ntd6WGA4+YSNBoOzmlfaihb9Hi0WNA2SW/EErfV/QnDUIXhpoUBluB+IvIzz2usuhzavE9caO0lIa/im4rEosysXnY3/HBT9KqiwxY0SuDMlqzbvtwyVpgZsB+z6YFuxHvex3lORPLL2WHbB+qSPNfs/xfnXsL+r0UkC4Gp0u/qXqoRDfSOTXbyRSd8bGR3rwR5ZT3+BNYabn24/vflP/go="),\r\nthis.createVertexTemplateEntry(b+"forms.pwField;"+e+"mainText=;align=left;fontColor=#666666;fontSize=17;spacingLeft=3;",150,30,"********","Password Field",null,null,this.getTagsForStencil("mxgraph.mockup.forms","pwField","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"forms.splitter;"+e,350,10,"","Horizontal Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"forms.splitter;"+e+mxConstants.STYLE_DIRECTION+\r\n"="+mxConstants.DIRECTION_NORTH+";",10,350,"","Vertical Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),this.addEntry("mockup form wedge bar",function(){var a=new mxCell("Tab 1",new mxGeometry(10,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;");a.vertex=!0;var d=new mxCell("Tab 2",new mxGeometry(85,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#ffffff;align=left;spacingLeft=5;strokeColor=#008cff;fillColor=#008cff;");\r\nd.vertex=!0;var e=new mxCell("Tab 3",new mxGeometry(160,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;");e.vertex=!0;return c.createVertexTemplateFromCells([a,d,e],230,30,"Wedge Bar")}),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_1;",136,31,"","Formatting Toolbar 1",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_1","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_2;",\r\n235,31,"","Formatting Toolbar 2",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_2","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_3;",176,38,"","Formatting Toolbar 3",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_3","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.searchBox;"+e+"mainText=;strokeColor2=#008cff;fontColor=#666666;fontSize=17;align=left;spacingLeft=3;",\r\n150,30,"Search","Search Box",null,null,this.getTagsForStencil("mxgraph.mockup.forms","searchBox","mockup form ").join(" ")),this.addDataEntry("mockup form sign in",200,300,"Sign In","7Vhtb9owEP41+TIJ5DgkLR8HG6jShpBQtc8uubysTowct8B+/RzHQILDFmm4TScsRYrPOft8z3N3sR1vmu3mnGyS7ywE6nhfHW/KGRPVW7abAqUORmnoeF8cjJF8HDy7MOqqUbQhHHLRRQFXCq+EvkAlqQSF2FMtKARnz/AjDUUiBa7jTYqEhGwrO0h2QlIkEOoOoWmcy/e1XB64FCQioyetTTlltovL7Q4ztn5+2QwjxrNiyDmspcETvkp/gZ6sWnjKKOPKEm+smhyJUkpr8kg1KdebAS5gd9EhSqS9MQeWgeB7+clWb7B0CqqchhJI40SreQchKSpBfNQ9+Ve+aBe3u9sz3L0qHYbRQ/4+fif5OindOIlYLrTvXaz7NRcHqtVWohApvKCQSg0jN2Sd5vE3Na6M64QK/isqbhsqmt6IAyUifYXG/G1I6SWWLJUrY3QwSE+zb3YPE7AoKkAYQB/t7IT9qEOoaahomkNbAIQhgCJ6kxu4CbiJybUQuG9BwLWCgGcDAd9A4LGQ0YLRgmRS8PkWgv0JwZENAgQGAX6yJA8ZfIii140OTfB9q/nAb6ODb4MOgQ063Bl0WJKi2DIe3pJBr5LB2LeA/r2B/ifdbtmg59nAdW0QYmwQYvUwX5Q/54t+MMI3GJEz9aN4RobjeejsnBQET0+VvJZcgkNfb+5fGbFvKNT40fbz6F0nXeAmPQZHKl6VHwcS1ggyYzxmpSGnwjHrd+Eo04fiwB8TBTojxejqieMiTdrTiJWyMnCtHPRc1+CJyYkenvQuQ/J2577B2Aoi5jXXArZSUJ3/+hyv3Qo7+j/j884KGVou4ao6/7i81fkPVeevUeZl93TdXn1ev43/DQ=="),\r\nthis.addDataEntry("mockup form calendar date",160,175,"Calendar","7Zxdc6IwFIZ/DbdOPkDktu62V529cGd6zUoUp2CcSLe6v37Dh7bm0K2dLjk2kRlnIBCF9wnkvMmRgE/L3Z1KN/m9zEQR8O8Bnyopq3at3E1FUQSMrLKAfwsYI/oTsNs39tJmL9mkSqyrcyqwtsLvtHgSbUlbsK32RVewrZR8FA+rrMp1AQ34zTZPM/msN4jeyNJtLrJuIy1Wy7Ven+ufF0oX5FVZvNTa1F9Z7pb15Y5KOX982owWUpXbkVJirk/4Rs1Wf+qDorpC88NTWUjVnAlPmkXvWayK4lX5oll0eXcxQlVi96YgTVGnxp2QpajUXh/y3F1gfcS4FY3kYrXMD9XiqC1Mt23B8lj3RV+90kncLzcHcv+YV/KXlooRRmiII366nue1ljcLua769D5LV9ava1eBd5Lu281Ju/VadNIjetd6P6V52NPEx0V1vCzsph7+u6mfIiFkMm+ael3efQE9HDfrroT+H2STd4ixaBhgUR+w5RXYu8Aoi5GQjQGye+nus4yePsv6dB7oWRYDnX8+uaszR9N5AnR+EO7qHKHpnMD2nLurc4ym8+GJ9UroW+Wu0Ame0BQIPUvdFZridYUUWteZw30hxesMKXStFEdoMxInH4nEB4wAQ4swoJ29kCEbNBgcDwa0qtxzGBEeDGhCkcbTLgZGjAcDOtXIcxgJHgxoZ8eewzADV5s0oOmNfaeB14Uz6IwnvtM4hTG2CAO658RzGBwPBjTYh5bhLY0Ij0aPCffdhcd4NKALP4xHeUsjwaMBbTj13YebAa5NHNCIY2W2XA4OxH4cWnHquxc3bo6JRRrQi1PfzbiZG2aRBvTi1HczHqHR4NCLU9/NeIxHA5px6rsbT/BoQDfOfHfjZoxrEwe049dJcbx+nPfMivvux42bgxKLOKAh935inCPigIbc+9nYGBEHNOTez8cmiDigI79OyGJ2HtCTX6dkEXuPELpy72dlzdvDYjZuCG05990ImneHTRzQl3PfjWCEiMOxXHXjn+5ZJsT5/3T/WARsk5JjSewDUjIDY5uUHMtuH5ASiJdtYnIs731ITJiBgmMZ8UNiMihZTAcO4WDAlx6aGZCSeS/ZpORYCv2AlMxY3CKlCA4cfOlxHIuxuE1KjuXcW4zFbVKCwwxfOxnfZjBuk5Nrafo2o3GbnHpGIC7ZNS0WRC+Q0/HVh6enyiC544vIBggqhpuN0JsvL8Ns9p28K/Mv"),\r\nthis.addDataEntry("mockup form calendar date",400,300,"Email","7VhLU9swEP41vmacOLyOJQEu9FLa6VnI61igF3qQ0F/fXcmGdJzMtAOmh8QzcbyrfX6fV05cVAu1uXHMtl9NDbKoropq4YwJ+UptFiBlMStFXVTLYjYr8VPMrvesTtNqaZkDHf7GYZYdnpmMkDXXzqis9OFFdkofnHmEn6IOLSqmRXXpW1abNQolCjXzLdSdwKRYabzmWAI4VLRByTcvSyHVZkUtT5Thj9FOGuOUnzDNW+O2IjixagN5WcaFXn3L4nKGqsbosDCSzLG+6jQdqO/aARdgsxeSpOrwuAGjILgXNFl37eHqSUatbKHLSV7nWcd8llevnm/44kUH8W64qwHcD6bVxbx8yHjw/4W9c8AJ6kZIuYVrkw7UuzvxC7ok+7Dvk0totli7TdKyIk3qZMv1Ih3vpG3zJ2VbLFZj0Tgf0HgX7x8IwYMcnJce7gEDYxFwMiDgxgEE7PU4Pu8bn/1cjjZNpwMyv5uDHqSz4VY2FvZnA+wbhzgeH0gfPlE7SB1tos4HrC4WBz1R0/Lznk0XA/CPE/QhE7SLxNFGaFoOaLw89CGaf95zaTo9TtFIU7SDxfGmaPh+4dY4UGRifaTvOnWNxIpAyTBFMcO4JTfaI/QQIq2yWljhBU+/8EuQorPyyDDFIKWIXhkSAyibYgrNRS3qqCl0pJNk95ifrEOfmyTFVppRGimeIpvg1Q9aBy1USk4mIgvPqGQqZ3+KwuOXNkhgJCPYgOMisCCMppRSMsVNnzcbYxt9NSmdsMmRTiz1rbAL0yOA5QSqZ5lTsRioXuFiqrsHT1A2B9ZBC7oGl7BMymcjo8WCIJWecCvBexI53tJvFCRQIp6auBKMzDSVn281VERHZVxtONgAMTOWcDWcM+DJg0crahayd0LAOiNqulEzW5mJVBiP0rKMIQVpGiSX5Bo8uGynjMwFswy9SBD7Vx6jmhzkpkDbgeBMfulCBGNRu25FgDsMQ5nXWPQH7fpnw6fuvNy1X/T/yv9hwyjodWP/rjOt/fEq9Dc=")];\r\nthis.addPalette("mockupForms","Mockup Forms",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMockupGraphicsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e=\r\nmxConstants.STYLE_STROKECOLOR+"=none;",c=this,d=[this.createVertexTemplateEntry(a+"graphics.barChart;"+e+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Bar Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","barChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.columnChart;"+e+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Column Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics",\r\n"columnChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.lineChart;"+e+"strokeColor2=#666666;strokeColor3=#008cff;strokeColor4=#dddddd;",400,200,"","Line Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","lineChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.pieChart;"+mxConstants.STYLE_STROKECOLOR+"=#008cff;parts=10,20,35;partColors=#e0e0e0,#d0d0d0,#c0c0c0,#b0b0b0,#a0a0a0;strokeWidth=2;",200,200,"","Pie Chart",null,null,\r\nthis.getTagsForStencil("mxgraph.mockup.graphics","pieChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.simpleIcon;strokeColor=#999999;",50,50,"","Icon Placeholder",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","simpleIcon","mockup graphics icon placeholder").join(" ")),this.addDataEntry("mockup graphics icon grid placeholder",200,200,"Icon Grid","7ZdRa8MgEMc/ja8licu6Pm7pVgYb7G3PNrFRqjWobdNvv4vadYUVRpv5ZCDg/e9OzvuRCyJcyX6hScfeVUMFws8IV1op61eyr6gQqMh4g/AcFUUGLypeLnhz5806ounG/iWh8Ak7IrbUK14w9iCCsKPa8pqIN7Kk4kMZbrnagGuprFUS4SfDSKP2oGRgNMQw2gSDCN4OoTVUQzUIzEo44jyH5XHbxxBjVTfsZbVa00/eWBbiYPduqET27dCliVT1ettNnMFrMzFcdoK+1kNNIb1SQmlXPJ65BzwrLsQPfeUe0MP5oRjaX+yhk0IDF1RJavUBQvahTPCWvs0Zo7xl9lwjxtvtd+YJCCwCk9/54MTnej4hYVr6jAi47hKum3HlRxAReJWJ1/W8DtE/r/uEa7RpGJ/eNNEbbzjGx/eQ8N08K2P+22aJ19jDMia+PEv8Rh+X/wgQzNO13fnObvVf"),\r\nthis.createVertexTemplateEntry(a+"graphics.bubbleChart;"+e+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Bubble Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","bubbleChart","mockup graphics bubble chart").join(" ")),this.addDataEntry("mockup graphics gauge",100,100,"Gauge","zZXdT8IwEMD/mr6S0jqVRxnKiya8GJ/LemwN3bp0BcZ/760tXwKRGEGbLblv7n49MsLTsh1bURdvRoIm/Jnw1BrjglS2KWhNGFWS8BFhjOJL2MsZb997aS0sVO6SBBYSlkIvIFiCoXFrHQ1LsE5lQr+KKeiJaZRTpkLX1DhnSsKHTSGkWaGFoiJFU4CMitAq70Iz7AYsGgpX4oijPoqbsk8xxpm6q+WsmcOHkq6IcVi97jop27yj1CtNNl/UPa+orOnlYpGjfzhTWqdGG+u75jN/thX3PAN/0OMzcSA0s6SLxG5CYBMip1MpsQZLUZYSYCMPBlnma/sKnkvISLuHDysAqfd/ktLHkBBp4+jQnr0xb4rXNQZTgrNrDFlFKF0EDbdKC1B54b4YRWiG5dvc3QKgEHfg9D7wo31IJ+8kwcYTkoyOduPkdf1gGb67ZFFlRQdzODOV2wN778+lYNlpsDEBJ/QZ66hGmnvYkxPU2S9AvzuCTv+e9KaIhpm7Mnh6AP4huRn45Aj89k/0H9DbMO012fNbsUd191XzvoOP3ic="),\r\nthis.createVertexTemplateEntry(a+"graphics.plotChart;"+mxConstants.STYLE_STROKECOLOR+"=none;strokeColor2=#aaaaaa;strokeColor3=#666666;fillColor2=#99aaff,#0022ff,#008cff;",400,200,"","Plot Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","plotChart","mockup graphics plot chart").join(" ")),this.addEntry("mockup graphics gantt chart",function(){var a=new mxCell("",new mxGeometry(0,0,600,300),b+"graphics.rrect;rSize=0;strokeColor=#999999;");a.vertex=!0;var d=new mxCell("#",new mxGeometry(0,\r\n0,20,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Task",new mxGeometry(20,0,40,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Start",new mxGeometry(60,0,130,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);\r\nd=new mxCell("Effort",new mxGeometry(190,0,50,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("20//10//2014",new mxGeometry(240,0,210,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("27//10//2014",new mxGeometry(450,0,150,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("M",new mxGeometry(240,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("T",new mxGeometry(270,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("W",new mxGeometry(300,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("T",new mxGeometry(330,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("F",new mxGeometry(360,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("S",new mxGeometry(390,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("S",new mxGeometry(420,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("M",new mxGeometry(450,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("T",new mxGeometry(480,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("W",new mxGeometry(510,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("T",new mxGeometry(540,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("F",new mxGeometry(570,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(0,40,240,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(240,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(300,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(360,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(420,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(480,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(540,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("1",new mxGeometry(0,40,20,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Task 1",new mxGeometry(20,40,40,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,40,130,20),b+"graphics.anchor;fontColor=#666666;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("40h",new mxGeometry(190,40,50,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("2",new mxGeometry(0,60,20,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Task 2",new mxGeometry(20,60,40,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,60,130,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("40h",\r\nnew mxGeometry(190,60,50,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("3",new mxGeometry(0,80,20,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Task 3",new mxGeometry(20,80,40,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,80,130,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("40h",new mxGeometry(190,80,50,20),b+"graphics.anchor;fontColor=#666666;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("4",new mxGeometry(0,100,20,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Task 4",new mxGeometry(20,100,40,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,100,130,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("40h",new mxGeometry(190,100,50,20),b+"graphics.anchor;fontColor=#666666;");d.vertex=!0;a.insert(d);d=new mxCell("",\r\nnew mxGeometry(250,45,130,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(250,65,40,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(280,85,100,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(340,105,70,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");d.vertex=\r\n!0;a.insert(d);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Gantt Chart")}),this.createVertexTemplateEntry(a+"misc.map;",250,250,"","Map",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","map","mockup graphics ").join(" "))];this.addPalette("mockupGraphics","Mockup Graphics",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMockupMarkupPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+\r\n"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+"=#999999;",e=mxConstants.STYLE_STROKECOLOR+"=none;";this.addPaletteFunctions("mockupMarkup","Mockup Markup",!1,[this.createVertexTemplateEntry(a+"markup.curlyBrace;"+b,100,20,"","Horizontal Curly Brace",null,null,this.getTagsForStencil("mxgraph.mockup.markup","curlyBrace","horizontal curly brace").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_LABEL_POSITION+\r\n"=right;"+mxConstants.STYLE_ALIGN+"=left;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.markup.curlyBrace;html=1;shadow=0;dashed=0;"+b+mxConstants.STYLE_DIRECTION+"="+mxConstants.DIRECTION_NORTH+";",20,100,"","Vertical Curly Brace",null,null,this.getTagsForStencil("mxgraph.mockup.markup","curlyBrace","vertical curly brace").join(" ")),this.createVertexTemplateEntry(a+"markup.line;"+b,100,20,"","Horizontal Line",null,null,this.getTagsForStencil("mxgraph.mockup.markup","line","horizontal line").join(" ")),\r\nthis.createVertexTemplateEntry(a+"markup.line;"+b+mxConstants.STYLE_DIRECTION+"="+mxConstants.DIRECTION_NORTH+";",20,100,"","Vertical Line",null,null,this.getTagsForStencil("mxgraph.mockup.markup","line","vertical line").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.mockup.markup.scratchOut;shadow=0;dashed=0;html=1;"+b+"strokeWidth=4;",200,100,"","Scratch Out",null,null,this.getTagsForStencil("mxgraph.mockup.markup","scratchOut","scratch out").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+\r\n"=mxgraph.mockup.markup.redX;fillColor=#ff0000;html=1;shadow=0;"+e,200,100,"","Red X",null,null,this.getTagsForStencil("mxgraph.mockup.markup","redX","red").join(" "))])};Sidebar.prototype.addMockupMiscPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+\r\n"=mxgraph.mockup.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",c=mxConstants.STYLE_STROKECOLOR+"=#999999;",d=mxConstants.STYLE_STROKECOLOR+"=none;",f=this,g=c+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=2;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",h=[this.createVertexTemplateEntry(a+\r\n"misc.help_icon;",32,32,"","Help Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","help_icon","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.playbackControls;"+c+"fillColor2=#99ddff;strokeColor2=none;fillColor3=#ffffff;strokeColor3=none;",250,30,"","Playback Controls",null,null,this.getTagsForStencil("mxgraph.mockup.misc","playbackControls","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.progressBar;fillColor=#cccccc;"+d+"fillColor2=#99ddff;barPos=80;",200,20,\r\n"","Progress Bar",null,null,this.getTagsForStencil("mxgraph.mockup.misc","progress bar","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.shoppingCart;"+c,50,50,"","Shopping Cart",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shopping cart","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.rating;"+c+mxConstants.STYLE_FILLCOLOR+"=#ffff00;emptyFillColor=#ffffff;grade=4;ratingScale=5;ratingStyle=star;",225,30,"","Rating",null,null,this.getTagsForStencil("mxgraph.mockup.misc",\r\n"rating","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.mail2;"+c,100,60,"","Mail",null,null,this.getTagsForStencil("mxgraph.mockup.misc","mail","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.volumeSlider;barPos=80;fillColor=#cccccc;"+c+"fillColor2=#ddeeff;",250,30,"","Volume Slider",null,null,this.getTagsForStencil("mxgraph.mockup.misc","volume slider","mockup ").join(" ")),this.createVertexTemplateEntry(g+"misc.editIcon;",50,50,"","Edit Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc",\r\n"editIcon","mockup edit icon").join(" ")),this.createVertexTemplateEntry(g+"misc.printIcon;",50,50,"","Print Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","printIcon","mockup print icon").join(" ")),this.createVertexTemplateEntry(g+"misc.shareIcon;",50,50,"","Share Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shareIcon","mockup share icon").join(" ")),this.createVertexTemplateEntry(g+"misc.trashcanIcon;",50,50,"","Trashcan Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc",\r\n"trashcanIcon","mockup trashcan icon").join(" ")),this.createVertexTemplateEntry(g+"misc.copyrightIcon;",25,25,"","Copyright",null,null,this.getTagsForStencil("mxgraph.mockup.misc","copyrightIcon","mockup copyright icon").join(" ")),this.createVertexTemplateEntry(g+"misc.registeredIcon;",25,25,"","Registered",null,null,this.getTagsForStencil("mxgraph.mockup.misc","registeredIcon","mockup registered icon").join(" ")),this.createVertexTemplateEntry(g+"misc.volumeIcon;",25,25,"","Volume",null,null,this.getTagsForStencil("mxgraph.mockup.misc",\r\n"volumeIcon","mockup volume icon").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;spacing=0;"+c,350,30,"1","Horizontal Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;spacing=0;"+\r\nc,350,30,"1","Horizontal Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;rotation=-90;spacing=0;"+c,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+\r\n"misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;rotation=-90;spacing=0;"+c,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.addEntry("mockup revision table",function(){var a=new mxCell("",new mxGeometry(0,0,400,75),b+"misc.rrect;rSize=0;strokeColor=#666666;");a.vertex=!0;var c=new mxCell("REVISION HISTORY",new mxGeometry(0,\r\n0,400,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("REV",new mxGeometry(0,25,50,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("DATE",new mxGeometry(50,25,150,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");\r\nc.vertex=!0;a.insert(c);c=new mxCell("DESCRIPTION",new mxGeometry(200,25,200,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("A",new mxGeometry(0,50,50,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("10/23/2014",new mxGeometry(50,50,150,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+\r\nb+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("Design modified",new mxGeometry(200,50,200,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Revision Table")}),this.addDataEntry("mockup status bar",500,30,"Status Bar","7VfRTsIwFP2aPUq6liF7FZUXfcLE57pdtsZuXdoi4Nd713UCDnRETNC4hKT33N2195zTdQRsUqymmlf5vUpBBuwmYBOtlG1GxWoCUgaUiDRg1wGlBH8BvT2QDV2WVFxDafsU0KbghcsFNEgDGLuWHjBWq2d4FKnNEQgDdmVynqolBgSDlJscUh9wKbISxwlODxqB3BZyU1XVjyxWWd3uoFDJ86IaFMIkA60hwfVe6Zl4Bf+sZt6Jkkq7hbDYXZiZCym38Lm7EPe9gLawOsiHgzwZU1AFWL3GW5a+P8xGpOGM5CCy3Jcxj3HTxNl76YZdHHiC95PNOmTPLLcLgxiu2J4F81GH+VKVUJOuSuvvCSMf9xAnTQGcOO0CJczr+UzFE1Fmdy5ys/ZSj+5XzxdETcF6J9pSNoyjrrL0BMoOO8o+OEHJeWynXy0qJV/Kum/DnkLW6JCs7F/W78rKQvKVrOEP7dbReRx6vEzymvpTsDmMdzdJS913aLrsQZNvDwtFZeCDpbwbOwc5IePE+UyDEa/8SbZH/hZxvTgZfcrJBd112EXruC2P0R96c4z/oMVGp7dY3N9iUhxppl4tj49yUPcdtc8/4fH+wXDzze9yO38J3gA="),\r\nthis.createVertexTemplateEntry(e+"misc.pin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(e+"misc.pin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(e+"misc.pin;fillColor2=#ccccff;fillColor3=#0000ff;strokeColor=#000066;",\r\n10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(e+"misc.pin;fillColor2=#ffff00;fillColor3=#888800;strokeColor=#999900;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(e+"misc.pin;fillColor2=#ffa500;fillColor3=#885000;strokeColor=#997000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" "))];\r\nthis.addPalette("mockupMisc","Mockup Misc",!1,mxUtils.bind(this,function(a){for(var c=0;c<h.length;c++)a.appendChild(h[c](a))}))};Sidebar.prototype.addMockupNavigationPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e=\r\nmxConstants.STYLE_STROKECOLOR+"=#999999;",c=[this.addDataEntry("mockup navigation breadcrumb",300,30,"Breadcrumb","7VaxboMwEP0ar8jYlGQObbK0U4fOFhhsxWBknIT063uAC40CUoeAGGIJyXfnO87v+VlGNMrrg2Gl+NAJV4i+IRoZrW03y+uIK4UIlgmir4gQDB8i+4mo30ZxyQwv7H8SSJdwZurEO887u3IDLleqslflIpU1+si/ZGIFOHxEd5Vgib6AgcFIWCV44gymZFbAPIY+oBzdCZurIatsSuZ11uzby3V8PJVewc4yY1bqwmNFLHSTlerCfsrvZrW/cXakVRODjmjYjt91rtPmF25X3FheTyLTuhwsB65zbs0VllzcBiEaduBhwWUmXBZ1PlZ1dtZnDjDDxCE9jjq9Qx2RMLN946sBnQT3oLN2PBj0+hbwPxyQmTgIJk8+WRkJi518l7C9J2EuIbw8hTDOgR8sp4RwUgl0ZSwsrQR/5D6aSwqbpxTGSejP/QJS2E5KIVgZC2NSwHgbp+lMLIxcSA+SApjDg7eN3byHfwA="),\r\nthis.createVertexTemplateEntry(b+"navigation.stepBar;strokeColor=#c4c4c4;textColor=#666666;textColor2=#008cff;mainText=,,+,;textSize=17;fillColor=#666666;overflow=fill;fontSize=17;fontColor=#666666;",300,50,\'<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" style="font-size:1em;"><tr height="0%"><td width="25%">Layer 1</td><td width="25%">Layer 2</td><td width="25%" style="color:#008cff;">Layer 3</td><td width="25%">Layer 4</td></tr><tr height="100%"><td/></tr></table>\',\r\n"Step Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","stepBar","mockup navigation step bar").join(" ")),this.createVertexTemplateEntry(b+"navigation.stepBar;strokeColor=#c4c4c4;textColor=#666666;textColor2=#008cff;mainText=Layer 1,Layer 2,+Layer 3,Layer 4;textSize=17;fillColor=#666666;overflow=fill;fontSize=17;fontColor=#666666;",300,50,"","Step Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","stepBar","mockup navigation step bar").join(" ")),this.createVertexTemplateEntry(a+\r\n"navigation.coverFlow;strokeColor=#999999;",400,200,"","Cover Flow",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","coverFlow","mockup navigation cover flow").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;"+e+"barPos=20;fillColor2=#99ddff;strokeColor2=none;",200,20,"","Horizontal Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation scroll bar").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;"+e+\r\n"barPos=20;fillColor2=#99ddff;strokeColor2=none;direction=north;",20,200,"","Vertical Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation scroll bar").join(" ")),this.createVertexTemplateEntry(b+"navigation.pagination;linkText=;fontSize=17;fontColor=#0000ff;fontStyle=4;",350,30,"<< Prev 1 2 3 4 5 6 7 8 9 10 Next >>","Pagination",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pagination","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+\r\n"navigation.pageControl;fillColor=#999999;strokeColor=#ddeeff;",100,30,"","Page Control",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pageControl","mockup navigation page control").join(" ")),this.createVertexTemplateEntry(a+"navigation.mapNavigator;fillColor2=#99ddff;strokeColor2=none;strokeColor3=#ffffff;"+e,60,100,"","Map Navigator",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","mapNavigator","mockup navigation map navigator").join(" ")),this.createVertexTemplateEntry(a+\r\n"misc.loading_circle_1;pointerEvents=1",90,90,"","Wheel Throbber 1",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","loading_circle_1","mockup navigation wheel throbber").join(" ")),this.createVertexTemplateEntry(a+"misc.loading_circle_2;pointerEvents=1",90,90,"","Wheel Throbber 2",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","loading_circle_2","mockup navigation wheel throbber").join(" "))];this.addPalette("mockupNavigation","Mockup Navigation",!1,mxUtils.bind(this,function(a){for(var b=\r\n0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMockupTextPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+"=#666666;",e=mxConstants.STYLE_STROKECOLOR+"=none;",c=this,d=[this.createVertexTemplateEntry("shape=rectangle;strokeColor=none;fillColor=none;linkText=;fontSize=17;fontColor=#0000ff;fontStyle=4;html=1;align=center;",150,30,"Link","Link",null,null,this.getTagsForStencil("mxgraph.mockup.text",\r\n"link","mockup text ").join(" ")),this.addEntry("mockup text horizontal button bar",function(){var b=new mxCell("",new mxGeometry(0,0,500,25),a+"text.rrect;rSize=0;strokeColor=#666666;");b.vertex=!0;var d=new mxCell("Button 2",new mxGeometry(125,0,125,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;");d.vertex=!0;b.insert(d);d=new mxCell("Button 3",new mxGeometry(250,0,125,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+\r\na+"text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;");d.vertex=!0;b.insert(d);d=new mxCell("Button 4",new mxGeometry(375,0,125,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;");d.vertex=!0;b.insert(d);d=new mxCell("Button 1",new mxGeometry(0,0,125,25),a+"text.rrect;rSize=0;fontSize=17;fontColor=#ffffff;fillColor=#008cff;strokeColor=#008cff;");d.vertex=!0;b.insert(d);return c.createVertexTemplateFromCells([b],b.geometry.width,\r\nb.geometry.height,"Horizontal Button Bar")}),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#666666;align=left;verticalAlign=top;"+b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=NE;callStyle=line;fontSize=17;fontColor=#666666;align=right;verticalAlign=top;"+\r\nb,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=SW;callStyle=line;fontSize=17;fontColor=#666666;align=left;verticalAlign=bottom;"+b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=SE;callStyle=line;fontSize=17;fontColor=#666666;align=right;verticalAlign=bottom;"+\r\nb,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.stickyNote2;fontColor=#666666;mainText=;fontSize=17;whiteSpace=wrap;fillColor=#ffffcc;strokeColor=#F62E00;",200,200,"Note Line 1\\nNote Line 2\\nNote Line 3","Sticky Note",null,null,this.getTagsForStencil("mxgraph.mockup.text","stickyNote","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.bulletedList;textColor=#666666;mainText=,,,,;textSize=17;bulletStyle=none;"+\r\ne+mxConstants.STYLE_FILLCOLOR+"=none;align=left;verticalAlign=top;fontSize=17;fontColor=#666666;",150,135,"-Line 1\\n-Line 2\\n-Line 3\\n-Line 4","Bulleted List",null,null,this.getTagsForStencil("mxgraph.mockup.text","bulletedList","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.textBox;fontColor=#666666;align=left;fontSize=17;spacingLeft=4;spacingTop=-3;"+b+"mainText=",150,30,"Line 1","Text Box",null,null,this.getTagsForStencil("mxgraph.mockup.text","textBox","mockup text ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"text.captcha;fontColor=#666666;fontSize=25;"+b+"mainText=",150,50,"fG2yQ23","Captcha",null,null,this.getTagsForStencil("mxgraph.mockup.text","captcha","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.alphanumeric;linkText=;html=1;fontStyle=4;fontSize=17;fontColor=#0000ff;",450,50,"0-9 A B C D E F G H I J K L M N O P Q R S T U V X Y Z","Alphanumeric",null,null,this.getTagsForStencil("mxgraph.mockup.text","alphanumeric","mockup text ").join(" ")),this.createVertexTemplateEntry("text;spacingTop=-5;whiteSpace=wrap;html=1;align=left;fontSize=12;fontFamily=Helvetica;fillColor=none;strokeColor=none;",\r\n250,470,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\\nSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?",\r\n"Paragraph of Text",null,null,this.getTagsForStencil("mxgraph.mockup.text","peragraph of text","mockup text ").join(" ")),this.addEntry("mockup text table",function(){var a=new mxCell(\'<table cellpadding="4" cellspacing="0" border="1" style="font-size:1em;width:100%;height:100%;"><tr><th>Header 1</th><th>Header 2</th></tr><tr><td>row 1, cell 1</td><td>row 1, cell 2</td></tr><tr><td>row 2, cell 1</td><td>row 2, cell 2</td></tr></table> \',new mxGeometry(0,0,180,80),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1");\r\na.vertex=!0;return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Table")})];this.addPalette("mockupText","Mockup Text",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addMSCAEPalette=function(){this.setCurrentSearchEntryLibrary("mscae","mscaeCompanies");this.addMSCAECompaniesPalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeEnterpriseFlat");this.addMSCAEEnterpriseFlatPalette("mxgraph.mscae",100,this);this.setCurrentSearchEntryLibrary("mscae","mscaeIntuneFlat");this.addMSCAEIntuneFlatPalette("mxgraph.mscae",100,this);\r\nthis.setCurrentSearchEntryLibrary("mscae","mscaeOMSFlat");this.addMSCAEOMSFlatPalette("mxgraph.mscae",100,this);this.setCurrentSearchEntryLibrary("mscae","mscaeSystem CenterFlat");this.addMSCAESystemCenterFlatPalette("mxgraph.mscae",100,this);this.setCurrentSearchEntryLibrary("mscae","mscaeAI and ML Service");this.addMSCAEAIandMLServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeAnalytics Service");\r\nthis.addMSCAEAnalyticsServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeCompute Service");this.addMSCAEComputeServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeCompute Service VM");this.addMSCAEComputeServiceVMPalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");\r\nthis.setCurrentSearchEntryLibrary("mscae","mscaeContainer Service");this.addMSCAEContainerServiceVMPalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeDatabases Service");this.addMSCAEDatabasesServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeDevOps Service");this.addMSCAEDevOpsServicePalette("mxgraph.mscae",\r\n100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeGeneral Service");this.addMSCAEGeneralServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeIdentity Service");this.addMSCAEIdentityServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");\r\nthis.setCurrentSearchEntryLibrary("mscae","mscaeIntegration Service");this.addMSCAEIntegrationServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeInternet of Things Service");this.addMSCAEInternetOfThingsServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeIntune Service");\r\nthis.addMSCAEIntuneServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeManagement and Governance Service");this.addMSCAEManagementGovernanceServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeManagement and Governance Service Media");this.addMSCAEManagementGovernanceMediaServicePalette("mxgraph.mscae",\r\n100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeMigrate Service");this.addMSCAEMigrateServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeMixed Reality Service");this.addMSCAEMixedRealityServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");\r\nthis.setCurrentSearchEntryLibrary("mscae","mscaeMobile Service");this.addMSCAEMobileServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeNetworking Service");this.addMSCAENetworkingServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeOther Category Service");this.addMSCAEOtherCategoryServicePalette("mxgraph.mscae",\r\n100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeSecurity Service");this.addMSCAESecurityServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary("mscae","mscaeStorage Service");this.addMSCAEStorageServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");\r\nthis.setCurrentSearchEntryLibrary("mscae","mscaeWeb Service");this.addMSCAEWebServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addMSCAECompaniesPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Cache_Redis_Product.svg;",.5*b,.42*b,"","Cache Redis Product Icon",null,null,this.getTagsForStencil(a,"azure cache redis product icon","ms microsoft cloud enterprise company companies").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Databricks.svg;",.5*b,.48*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"HDInsight.svg;",.5*b,.48*b,"","HDInsight",null,null,this.getTagsForStencil(a,"azure hdinsight","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.cloud.hockeyapp;fillColor=#0079D6;pointerEvents=1;",\r\n.5*b,.38*b,"","HockeyApp",null,null,this.getTagsForStencil(a,"azure hockey app hockeyapp","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"OpenShift.svg;",.5*b,.46*b,"","OpenShift",null,null,this.getTagsForStencil(a,"azure open shift openshift","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Cycle.svg;",.5*b,.46*b,"","Cloud Cycle",null,null,this.getTagsForStencil(a,"cloud cycle","ms microsoft cloud enterprise company companies").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Kubernetes.svg;",.5*b,.48*b,"","Kubernetes",null,null,this.getTagsForStencil(a,"kubernetes","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"PluralSight_mono.svg;",.5*b,.5*b,"","PluralSight Mono",null,null,this.getTagsForStencil(a,"pluralsight mono","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"DC_OS.svg;",.4*b,.5*b,"","DC OS",null,null,this.getTagsForStencil(a,"dc os",\r\n"ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"Docker.svg;",.5*b,.41*b,"","Docker",null,null,this.getTagsForStencil(a,"docker","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"StackOverflow.svg;",.4*b,.5*b,"","StackOverflow",null,null,this.getTagsForStencil(a,"stack overflow stackoverflow so","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"WebAppUmbraco.svg;",\r\n.49*b,.5*b,"","WebAppUmbraco",null,null,this.getTagsForStencil(a,"webappumbraco webapp umbraco","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"WebAppWordPress.svg;",.49*b,.5*b,"","WebAppWordPress",null,null,this.getTagsForStencil(a,"webappwordpress webapp wordpress","ms microsoft cloud enterprise company companies").join(" "))];this.addPalette("mscaeCompanies","CAE / Companies",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};\r\nSidebar.prototype.addMSCAEEnterpriseFlatPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.d",.4*b,.5*b,"","Federation Services Proxy",null,null,this.getTagsForStencil(a,"active directory ad fs federation services proxy","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.ad_fs",\r\n.4*b,.5*b,"","Federation Services",null,null,this.getTagsForStencil(a,"active directory ad fs federation services","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.android_phone",.3*b,.5*b,"","Android Phone",null,null,this.getTagsForStencil(a,"android phone","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.application",.5*b,.34*b,"","Application",null,null,this.getTagsForStencil(a,"application","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.application_blank",\r\n.5*b,.43*b,"","Application (blank)",null,null,this.getTagsForStencil(a,"application blank","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.app_generic",.5*b,.39*b,"","Application (generic)",null,null,this.getTagsForStencil(a,"application generic","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.application_server",.43*b,.5*b,"","Application Server",null,null,this.getTagsForStencil(a,"application server","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.application_server2",\r\n.43*b,.5*b,"","Application Server",null,null,this.getTagsForStencil(a,"application server","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.pack",.5*b,.45*b,"","Pack",null,null,this.getTagsForStencil(a,"pack","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.backup_local",\r\n.49*b,.5*b,"","Backup (local)",null,null,this.getTagsForStencil(a,"backup local","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.backup_online",.5*b,.4*b,"","Backup (local)",null,null,this.getTagsForStencil(a,"backup local","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.calendar",.5*b,.41*b,"","Calendar",null,null,this.getTagsForStencil(a,"calendar","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.certificate",\r\n.5*b,.4*b,"","Certificate",null,null,this.getTagsForStencil(a,"certificate","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.client_application",.5*b,.32*b,"","Client Application",null,null,this.getTagsForStencil(a,"client application","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.cloud",.5*b,.32*b,"","Cloud",null,null,this.getTagsForStencil(a,"cloud","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.internet",\r\n.5*b,.31*b,"","Cloud",null,null,this.getTagsForStencil(a,"cloud","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.cluster_server",.4*b,.5*b,"","Cluster Server",null,null,this.getTagsForStencil(a,"cluster server","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.code_file",\r\n.49*b,.5*b,"","Code File",null,null,this.getTagsForStencil(a,"code file","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.connectors",.5*b,.34*b,"","Connectors",null,null,this.getTagsForStencil(a,"connectors","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.database_generic",\r\n.37*b,.5*b,"","Database (generic)",null,null,this.getTagsForStencil(a,"database generic","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.database_server",.38*b,.5*b,"","Database (server)",null,null,this.getTagsForStencil(a,"database server","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.database_synchronization",.39*b,.5*b,"","Database (synchronization)",null,null,this.getTagsForStencil(a,"database synchronization","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.device",\r\n.5*b,.26*b,"","Device",null,null,this.getTagsForStencil(a,"device","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.direct_access_feature",.5*b,.44*b,"","Direct Access (feature)",null,null,this.getTagsForStencil(a,"direct access feature","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.code_file",.47*b,.5*b,"","Document DB file",null,null,this.getTagsForStencil(a,"documentdb document db database file","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.document",\r\n.4*b,.5*b,"","Document",null,null,this.getTagsForStencil(a,"document","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.domain_controller",.36*b,.5*b,"","Domain Controller",null,null,this.getTagsForStencil(a,"domain controller","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.enterprise",.3*b,.5*b,"","Enterprise Building",null,null,this.getTagsForStencil(a,"enterprise building","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.file",\r\n.47*b,.5*b,"","File (general)",null,null,this.getTagsForStencil(a,"file","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.filter",.5*b,.45*b,"","Filter",null,null,this.getTagsForStencil(a,"filter","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.firewall",\r\n.5*b,.44*b,"","Firewall",null,null,this.getTagsForStencil(a,"firewall","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.folder",.5*b,.43*b,"","Folder",null,null,this.getTagsForStencil(a,"folder","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.gateway",\r\n.5*b,.5*b,"","Gateway",null,null,this.getTagsForStencil(a,"gateway","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.general.graph",.5*b,.5*b,"","Graph",null,null,this.getTagsForStencil(a,"graph","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.health_monitoring",\r\n.5*b,.42*b,"","Health Monitoring",null,null,this.getTagsForStencil(a,"health monitoring","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.healthy",.5*b,.45*b,"","Healthy",null,null,this.getTagsForStencil(a,"healthy","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.import_generic",\r\n.4*b,.5*b,"","Import (generic)",null,null,this.getTagsForStencil(a,"import generic","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.internet_hollow",.5*b,.31*b,"","Internet (hollow)",null,null,this.getTagsForStencil(a,"internet hollow","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.internet",.5*b,.31*b,"","Internet",null,null,this.getTagsForStencil(a,"internet","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.key_permissions",\r\n.26*b,.5*b,"","Key, Permissions",null,null,this.getTagsForStencil(a,"key permissions","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.keyboard",.5*b,.3*b,"","Keyboard",null,null,this.getTagsForStencil(a,"keyboard","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.laptop",\r\n.5*b,.3*b,"","Laptop",null,null,this.getTagsForStencil(a,"laptop","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.load_balancer_generic",.37*b,.5*b,"","Load Balancer (generic)",null,null,this.getTagsForStencil(a,"load balancer generic","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.load_testing",.48*b,.5*b,"","Load Testing",null,null,this.getTagsForStencil(a,"load testing","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.lock_unlocked",\r\n.37*b,.5*b,"","Lock (unlocked)",null,null,this.getTagsForStencil(a,"lock unlocked unprotected accessible","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.lock",.39*b,.5*b,"","Lock, protected",null,null,this.getTagsForStencil(a,"lock protected","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.maintenance",.39*b,.5*b,"","Maintenance",null,null,this.getTagsForStencil(a,"maintenance","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.management_console;",\r\n.5*b,.34*b,"","Management Console",null,null,this.getTagsForStencil(a,"management console","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.message2;",.5*b,.37*b,"","Message",null,null,this.getTagsForStencil(a,"message","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.monitor_running_apps",\r\n.5*b,.39*b,"","Monitor Running Apps",null,null,this.getTagsForStencil(a,"monitor running apps","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.computer",.5*b,.45*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor computer","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.mouse",.3*b,.5*b,"","Mouse",null,null,this.getTagsForStencil(a,"mouse","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.network_card",\r\n.5*b,.35*b,"","Network Card",null,null,this.getTagsForStencil(a,"network card","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.enterprise.not_allowed;fillColor=#EA1C24;",.5*b,.5*b,"","Not Allowed",null,null,this.getTagsForStencil(a,"not allowed","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.performance_monitor",\r\n.5*b,.36*b,"","Performance Monitor",null,null,this.getTagsForStencil(a,"performance monitor","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.performance",.5*b,.5*b,"","Performance",null,null,this.getTagsForStencil(a,"performance","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.mobile",.35*b,.5*b,"","Mobile",null,null,this.getTagsForStencil(a,"mobile","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.plug_and_play",\r\n.4*b,.5*b,"","Plug and Play",null,null,this.getTagsForStencil(a,"plug and play","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.other.powerpoint;fillColor=#DE5D24;",.5*b,.5*b,"","PowerPoint",null,null,this.getTagsForStencil(a,"powerpoint","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.powershell_file",\r\n.47*b,.5*b,"","PowerShell file",null,null,this.getTagsForStencil(a,"powershell file","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.protocol_stack",.5*b,.34*b,"","Protocol Stack",null,null,this.getTagsForStencil(a,"protocol stack","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.queue_generic",.5*b,.15*b,"","Queue Generic",null,null,this.getTagsForStencil(a,"queue generic","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.rms_connector",\r\n.38*b,.5*b,"","RMS Connector",null,null,this.getTagsForStencil(a,"rms connector","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.router",.5*b,.39*b,"","Router",null,null,this.getTagsForStencil(a,"router","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.router",\r\n.5*b,.39*b,"","Router",null,null,this.getTagsForStencil(a,"router","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.azure.rdp_remoting_file;fillColor=#0078D7;",.48*b,.5*b,"","RPD Remoting file",null,null,this.getTagsForStencil(a,"rpd remoting file","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.script_file",\r\n.47*b,.5*b,"","Script file",null,null,this.getTagsForStencil(a,"script file","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.secure_virtual_machine",.5*b,.38*b,"","Secure Virtual Machine",null,null,this.getTagsForStencil(a,"secure virtual machine","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.server",.5*b,.15*b,"","Server (blade)",null,null,this.getTagsForStencil(a,"server","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.server_generic",\r\n.24*b,.5*b,"","Server (generic)",null,null,this.getTagsForStencil(a,"server generic","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.server_directory",.36*b,.5*b,"","Server Directory",null,null,this.getTagsForStencil(a,"server directory","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.server_farm",.5*b,.32*b,"","Server Farm",null,null,this.getTagsForStencil(a,"server farm","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.server_rack",\r\n.5*b,.5*b,"","Server Rack",null,null,this.getTagsForStencil(a,"server rack","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.settings",.5*b,.5*b,"","Settings",null,null,this.getTagsForStencil(a,"settings","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.shared_folder",\r\n.43*b,.5*b,"","Shared Folder",null,null,this.getTagsForStencil(a,"shared folder","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.smartcard",.5*b,.32*b,"","Smartcard",null,null,this.getTagsForStencil(a,"smartcard","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.azure.startup_task;fillColor=#0078D7;",\r\n.48*b,.5*b,"","Startup Task",null,null,this.getTagsForStencil(a,"startup task","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.storage",.5*b,.41*b,"","Storage",null,null,this.getTagsForStencil(a,"storage","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.table",\r\n.5*b,.5*b,"","Table",null,null,this.getTagsForStencil(a,"table","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.tablet;",.5*b,.37*b,"","Tablet",null,null,this.getTagsForStencil(a,"tablet","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.tool;",\r\n.5*b,.45*b,"","Tool",null,null,this.getTagsForStencil(a,"tool","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.enterprise.triggers;fillColor=#0078D7;",.47*b,.5*b,"","Triggers",null,null,this.getTagsForStencil(a,"triggers","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.general.tunnel",\r\n.5*b,.09*b,"","Tunnel",null,null,this.getTagsForStencil(a,"tunnel","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.enterprise.udf_function;fillColor=#0078D7;",.47*b,.5*b,"","UDF Function",null,null,this.getTagsForStencil(a,"udf function","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.enterprise.unhealthy;fillColor=#0078D7;",\r\n.5*b,.41*b,"","Unhealthy",null,null,this.getTagsForStencil(a,"unhealthy","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.unhealthy",.5*b,.41*b,"","Unhealthy",null,null,this.getTagsForStencil(a,"unhealthy","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.usb",\r\n.5*b,.23*b,"","USB",null,null,this.getTagsForStencil(a,"usb","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.user",.47*b,.5*b,"","User (enterprise)",null,null,this.getTagsForStencil(a,"user","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.enterprise.user_permissions;fillColor=#0078D7;",\r\n.47*b,.5*b,"","User permissions",null,null,this.getTagsForStencil(a,"user permissions","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.general.video",.49*b,.5*b,"","Video",null,null,this.getTagsForStencil(a,"video","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.azure.virtual_machine_feature",\r\n.5*b,.45*b,"","Virtual Machine",null,null,this.getTagsForStencil(a,"virtual machine","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.web_server",.38*b,.5*b,"","Web Server",null,null,this.getTagsForStencil(a,"web server","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.enterprise.website_generic;fillColor=#7D7D7D;",.5*b,.44*b,"","Website (generic)",null,null,this.getTagsForStencil(a,"website generic","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.windows_server",\r\n.39*b,.5*b,"","Windows Server",null,null,this.getTagsForStencil(a,"windows server","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.wireless_connection",.42*b,.5*b,"","Wireless Connection",null,null,this.getTagsForStencil(a,"wireless connection","ms microsoft cloud enterprise flat").join(" ")),\r\nthis.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.workstation_client",.5*b,.5*b,"","Workstation Client",null,null,this.getTagsForStencil(a,"workstation client","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.xml_web_service",\r\n.5*b,.5*b,"","XML Web Service",null,null,this.getTagsForStencil(a,"xml web service","ms microsoft cloud enterprise flat").join(" "))];this.addPalette("mscaeEnterpriseFlat","CAE / Enterprise (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEIntuneFlatPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.account_portal",\r\n.43*b,.5*b,"","Account Portal",null,null,this.getTagsForStencil(a,"account portal","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.administration",.3*b,.5*b,"","Administration",null,null,this.getTagsForStencil(a,"administration","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.alerts",\r\n.5*b,.5*b,"","Alerts",null,null,this.getTagsForStencil(a,"alerts","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.apps",.5*b,.5*b,"","Apps",null,null,this.getTagsForStencil(a,"apps","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.certificate",\r\n.5*b,.49*b,"","Certificate (Compliance)",null,null,this.getTagsForStencil(a,"certificate compliance","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.client_software",.5*b,.45*b,"","Client Software Deployment Wizard",null,null,this.getTagsForStencil(a,"client software deployment wizard",\r\n"ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.company_portal",.5*b,.38*b,"","Company Portal",null,null,this.getTagsForStencil(a,"company portal","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.computer_inventory",\r\n.5*b,.45*b,"","Computer Inventory",null,null,this.getTagsForStencil(a,"computer inventory","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.conditional_access_exchange",.49*b,.5*b,"","Conditional Access (Exchange)",null,null,this.getTagsForStencil(a,"conditional access exchange","ms microsoft cloud enterprise intune").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.conditional_access_sharepoint",.44*b,.5*b,"","Conditional Access (Sharepoint)",null,null,this.getTagsForStencil(a,"conditional access sharepoint","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.connector",\r\n.5*b,.17*b,"","Connector",null,null,this.getTagsForStencil(a,"connector","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.dashboard",.5*b,.4*b,"","Dashboard",null,null,this.getTagsForStencil(a,"dashboard","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.data_migration_wizard",\r\n.5*b,.48*b,"","Data Migration Wizard",null,null,this.getTagsForStencil(a,"data migration wizard","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.detected_software",.5*b,.5*b,"","Detected Software",null,null,this.getTagsForStencil(a,"detected software","ms microsoft cloud enterprise intune").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.device_group",.5*b,.5*b,"","Device Group",null,null,this.getTagsForStencil(a,"device group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.device_health",\r\n.5*b,.31*b,"","Device Health",null,null,this.getTagsForStencil(a,"device_health","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.device_history",.45*b,.5*b,"","Device History",null,null,this.getTagsForStencil(a,"device history","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.device_os",\r\n.49*b,.5*b,"","Device OS",null,null,this.getTagsForStencil(a,"device os operating system","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.end_protection",.48*b,.5*b,"","End Protection",null,null,this.getTagsForStencil(a,"end protection","ms microsoft cloud enterprise intune").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.exchange_connector",.5*b,.49*b,"","Exchange Connector",null,null,this.getTagsForStencil(a,"exchange connector","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.groups",\r\n.5*b,.48*b,"","Groups",null,null,this.getTagsForStencil(a,"groups","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.hybrid",.5*b,.39*b,"","Hybrid",null,null,this.getTagsForStencil(a,"hybrid","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.intune_certificate_profiles",\r\n.4*b,.5*b,"","Intune Certificate Profiles",null,null,this.getTagsForStencil(a,"certificate profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.intune_connector",.82*b,.59*b,"","Intune Connector",null,null,this.getTagsForStencil(a,"intune connector","ms microsoft cloud enterprise intune").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.intune_email_profiles",.5*b,.5*b,"","Intune Email Profiles",null,null,this.getTagsForStencil(a,"email profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.intune_managed_app",\r\n.5*b,.38*b,"","Intune Managed App",null,null,this.getTagsForStencil(a,"managed app application","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.intune_mobile_application_management",.49*b,.5*b,"","Intune Mobile Application Management",null,null,this.getTagsForStencil(a,"mobile app aplication management",\r\n"ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.intune_vpn_profiles",.42*b,.5*b,"","Intune VPN Profiles",null,null,this.getTagsForStencil(a,"vpn virtual private network profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.intune_wifi_profiles",\r\n.43*b,.5*b,"","Intune WiFi Profiles",null,null,this.getTagsForStencil(a,"wifi profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.inventory_license",.5*b,.48*b,"","Inventory License",null,null,this.getTagsForStencil(a,"inventory license","ms microsoft cloud enterprise intune").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.inventory_software",.5*b,.49*b,"","Inventory Software",null,null,this.getTagsForStencil(a,"inventory software","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.license_group",\r\n.5*b,.49*b,"","License Group",null,null,this.getTagsForStencil(a,"license group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.license_installation",.5*b,.43*b,"","License Installation",null,null,this.getTagsForStencil(a,"license installation","ms microsoft cloud enterprise intune").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.microsoft_intune",.5*b,.4*b,"","MS Intune",null,null,this.getTagsForStencil(a,"microsoft","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.mobile_inventory",\r\n.44*b,.5*b,"","Mobile Inventory",null,null,this.getTagsForStencil(a,"mobile inventory","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.noncompliant_apps",.46*b,.5*b,"","Noncompliant Apps",null,null,this.getTagsForStencil(a,"noncompliant apps applications","ms microsoft cloud enterprise intune").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.policy",.5*b,.5*b,"","Policy",null,null,this.getTagsForStencil(a,"policy","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.protection",\r\n.48*b,.5*b,"","Protection",null,null,this.getTagsForStencil(a,"protection","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.reports",.46*b,.5*b,"","Reports",null,null,this.getTagsForStencil(a,"reports","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.enterprise.settings",\r\n.5*b,.5*b,"","Settings",null,null,this.getTagsForStencil(a,"settings","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.subscription_portal",.5*b,.5*b,"","Subscription Portal",null,null,this.getTagsForStencil(a,"subscription portal","ms microsoft cloud enterprise intune").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.terms_and_conditions",.37*b,.5*b,"","Terms and Conditions",null,null,this.getTagsForStencil(a,"terms and conditions","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.update",\r\n.48*b,.5*b,"","Update",null,null,this.getTagsForStencil(a,"update","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.user_group",.5*b,.37*b,"","User Group",null,null,this.getTagsForStencil(a,"user group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.user_management",\r\n.5*b,.46*b,"","User Management",null,null,this.getTagsForStencil(a,"user management","ms microsoft cloud enterprise intune").join(" "))];this.addPalette("mscaeIntuneFlat","CAE / Intune (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEOMSFlatPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.alerts",\r\n.41*b,.5*b,"","Alerts",null,null,this.getTagsForStencil(a,"alerts","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.app_with_changes",.5*b,.32*b,"","App With Changes",null,null,this.getTagsForStencil(a,"app with changes","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.assessments",\r\n.47*b,.5*b,"","Assessments",null,null,this.getTagsForStencil(a,"assessments","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.capacity",.41*b,.5*b,"","Capacity",null,null,this.getTagsForStencil(a,"capacity","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.config_assessment",\r\n.5*b,.45*b,"","Config Assessment",null,null,this.getTagsForStencil(a,"config assessment","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.dashboard",.5*b,.41*b,"","Dashboard",null,null,this.getTagsForStencil(a,"dashboard","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.dependency_monitor",\r\n.5*b,.49*b,"","Dependency Monitor",null,null,this.getTagsForStencil(a,"dependency monitor","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.diagnostics",.5*b,.34*b,"","Diagnostics",null,null,this.getTagsForStencil(a,"diagnostics","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.jobs",\r\n.5*b,.5*b,"","Jobs",null,null,this.getTagsForStencil(a,"jobs","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.log_management",.41*b,.5*b,"","Log Management",null,null,this.getTagsForStencil(a,"log management","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.log_search",\r\n.5*b,.5*b,"","Log Search",null,null,this.getTagsForStencil(a,"log search","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.malware_assessment",.49*b,.5*b,"","Malware Assessment",null,null,this.getTagsForStencil(a,"malware assessment","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.overview",\r\n.5*b,.41*b,"","Overview",null,null,this.getTagsForStencil(a,"overview","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.security",.5*b,.5*b,"","Security",null,null,this.getTagsForStencil(a,"security","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.server_width_changes",\r\n.47*b,.5*b,"","Server Width Changes",null,null,this.getTagsForStencil(a,"server width changes","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.services",.49*b,.5*b,"","Services",null,null,this.getTagsForStencil(a,"services","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.solutions",\r\n.5*b,.49*b,"","Solutions",null,null,this.getTagsForStencil(a,"solutions","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.system_update",.5*b,.5*b,"","System Update",null,null,this.getTagsForStencil(a,"system update","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.track_changes",\r\n.42*b,.5*b,"","Track Changes",null,null,this.getTagsForStencil(a,"track changes","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.wire_data",.5*b,.5*b,"","Wire Data",null,null,this.getTagsForStencil(a,"wire data","ms microsoft cloud enterprise oms").join(" "))];this.addPalette("mscaeOMSFlat",\r\n"CAE / OMS (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAESystemCenterFlatPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.admin_console",.5*b,.36*b,"","Admin Console",null,null,this.getTagsForStencil(a,"admin console","ms microsoft cloud enterprise system center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.enterprise.database_server",.38*b,.5*b,"","Central Administration Site",null,null,this.getTagsForStencil(a,"central administration site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.central_administration_site_sql",\r\n.38*b,.5*b,"","Central Administration Site SQL",null,null,this.getTagsForStencil(a,"central administration site sql","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.cloud_distribution_point",.46*b,.5*b,"","Cloud Distribution Point",null,null,this.getTagsForStencil(a,"cloud distribution point",\r\n"ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.distribution_point",.44*b,.5*b,"","Distribution Point",null,null,this.getTagsForStencil(a,"distribution point","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.management_point",\r\n.48*b,.5*b,"","Management Point",null,null,this.getTagsForStencil(a,"management point","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.primary_site",.38*b,.5*b,"","Primary Site",null,null,this.getTagsForStencil(a,"primary site","ms microsoft cloud enterprise system center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.roles",.42*b,.5*b,"","Roles",null,null,this.getTagsForStencil(a,"roles","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.secondary_site",\r\n.41*b,.5*b,"","Secondary Site",null,null,this.getTagsForStencil(a,"secondary site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.software_update_point",.5*b,.43*b,"","Software Update Point",null,null,this.getTagsForStencil(a,"software update point","ms microsoft cloud enterprise system center").join(" "))];\r\nthis.addPalette("mscaeSystem CenterFlat","CAE / System Center (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEAIandMLServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Batch_AI.svg;",.36*b,.5*b,"","Batch AI",null,null,this.getTagsForStencil(a,"batch ai","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Bot_Services.svg;",.5*b,.5*b,"","Bot Services",null,null,this.getTagsForStencil(a,\r\n"bot services","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Cognitive_Services.svg;",.5*b,.3*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Genomics_Accounts.svg;",.26*b,.5*b,"","Genomics Accounts",null,null,this.getTagsForStencil(a,"genomics accounts","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+\r\n"Machine_Learning_Service_Workspaces.svg;",.46*b,.5*b,"","Machine Learning Service Workspaces",null,null,this.getTagsForStencil(a,"machine learning service workspaces","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Web_Service_Plans.svg;",.5*b,.5*b,"","Machine Learning Studio Web Service Plans",null,null,this.getTagsForStencil(a,"machine learning studio web service plans","ms microsoft cloud enterprise ai ml service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Machine_Learning_Studio_Web_Services.svg;",.5*b,.5*b,"","Machine Learning Studio Web Services",null,null,this.getTagsForStencil(a,"machine learning studio web services","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Workspaces.svg;",.5*b,.5*b,"","Machine Learning Studio Workspaces",null,null,this.getTagsForStencil(a,"machine learning studio workspaces","ms microsoft cloud enterprise ai ml service").join(" "))];\r\nthis.addPalette("mscaeAI and ML Service","CAE / AI and ML Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEAnalyticsServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Analysis_Services.svg;",.5*b,.39*b,"","Analysis Services",null,null,this.getTagsForStencil(a,"analysis services","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Explorer_Clusters.svg;",\r\n.5*b,.5*b,"","Azure Data Explorer Clusters",null,null,this.getTagsForStencil(a,"azure data explorer clusters","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Databricks.svg;",.5*b,.48*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Data_Factory.svg;",.5*b,.5*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factory factories",\r\n"ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Analytics.svg;",.5*b,.5*b,"","Data Lake Analytics",null,null,this.getTagsForStencil(a,"data lake analytics","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Store.svg;",.5*b,.39*b,"","Data Lake Store",null,null,this.getTagsForStencil(a,"data lake store","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+\r\n"Event_Hub_Clusters.svg;",.5*b,.48*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.48*b,.5*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"HDInsightClusters.svg;",.5*b,.49*b,"","HDInsight Clusters",null,null,this.getTagsForStencil(a,"hdinsight clusters",\r\n"ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.5*b,.5*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics.svg;",.5*b,.39*b,"","Stream Analytics",null,null,this.getTagsForStencil(a,"stream analytics","ms microsoft cloud enterprise analytics service").join(" "))];this.addPalette("mscaeAnalytics Service",\r\n"CAE / Analytics Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEComputeServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.5*b,.48*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Citrix_Virtual_Desktops_Essentials.svg;",.5*b,.5*b,"","Citrix Virtual Desktops Essentials",\r\nnull,null,this.getTagsForStencil(a,"citrix virtual desktops essentials","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Services_Classic.svg;",.5*b,.42*b,"","Cloud Services (classic)",null,null,this.getTagsForStencil(a,"cloud services classic","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Service.svg;",.5*b,.42*b,"","Cloud Services",null,null,this.getTagsForStencil(a,"cloud services","ms microsoft cloud enterprise compute service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"CloudSimple_Virtual_Machines.svg;",.5*b,.32*b,"","CloudSimple Virtual Machines",null,null,this.getTagsForStencil(a,"cloudsimple virtual machines","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"MD_snapshot.svg;",.5*b,.42*b,"","Disk Snapshots",null,null,this.getTagsForStencil(a,"disk snapshots","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Discs.svg;",.5*b,.42*b,"","Disks",\r\nnull,null,this.getTagsForStencil(a,"disks","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Functions.svg;",.5*b,.46*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"SAP_HANA_on_Azure.svg;",.5*b,.25*b,"","SAP HANA on Azure",null,null,this.getTagsForStencil(a,"sap hana on azure","ms microsoft cloud enterprise compute service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Service_Fabric.svg;",.5*b,.5*b,"","Service Fabric",null,null,this.getTagsForStencil(a,"service fabric","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"VM_Images.svg;",.5*b,.46*b,"","VM Images",null,null,this.getTagsForStencil(a,"vm virtual machine images","ms microsoft cloud enterprise compute service").join(" "))];this.addPalette("mscaeCompute Service","CAE / Compute Service",!1,mxUtils.bind(this,function(a){for(var c=\r\n0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEComputeServiceVMPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Virtual_Machines_Availability_Set.svg;",.5*b,.5*b,"","Availability Sets",null,null,this.getTagsForStencil(a,"availability sets","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"Non_Azure_Machine.svg;",.31*b,.5*b,"","Non-Azure Machine",null,null,this.getTagsForStencil(a,"non azure machine",\r\n"ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"OS_Images_Classic.svg;",.5*b,.46*b,"","OS Images (classic)",null,null,this.getTagsForStencil(a,"os images classic","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machine_2.svg;",.5*b,.46*b,"","VM",null,null,this.getTagsForStencil(a,"","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),\r\nthis.createVertexTemplateEntry(c+"VM_Scale_Set.svg;",.5*b,.5*b,"","VM Scale Sets",null,null,this.getTagsForStencil(a,"scale sets","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machine.svg;",.5*b,.46*b,"","VM",null,null,this.getTagsForStencil(a,"","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"VM_Linux.svg;",.5*b,.46*b,"","VM (Linux)",null,null,this.getTagsForStencil(a,\r\n"linux","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"VM_Linux_Non_Azure.svg;",.5*b,.46*b,"","VM (Linux, Non-Azure)",null,null,this.getTagsForStencil(a,"linux non azure","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"VirtualMachineWindows.svg;",.5*b,.46*b,"","VM (Windows)",null,null,this.getTagsForStencil(a,"windows","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),\r\nthis.createVertexTemplateEntry(c+"VM_Windows_Non_Azure.svg;",.5*b,.46*b,"","VM (Windows, Non-Azure)",null,null,this.getTagsForStencil(a,"windows non azure","ms microsoft cloud enterprise compute service vm virtual machine").join(" "))];this.addPalette("mscaeCompute Service VM","CAE / Compute Service VM",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEContainerServiceVMPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+\r\n"Container_Instances.svg;",.5*b,.5*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","ms microsoft cloud enterprise container service").join(" ")),this.createVertexTemplateEntry(c+"Container_Registries.svg;",.5*b,.43*b,"","Container Registries",null,null,this.getTagsForStencil(a,"container registries","ms microsoft cloud enterprise container service").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.5*b,.37*b,"","Kubernetes Services",null,null,\r\nthis.getTagsForStencil(a,"kubernetes services","ms microsoft cloud enterprise container service").join(" "))];this.addPalette("mscaeContainer Service","CAE / Container Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEDatabasesServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Cache_for_Redis.svg;",.5*b,.5*b,"","Azure Cache for Redis",null,null,this.getTagsForStencil(a,"azure cache for redis","ms microsoft cloud enterprise database databases db service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Cache_including_Redis.svg;",.5*b,.5*b,"","Cache plus Redis",null,null,this.getTagsForStencil(a,"cache including plus redis","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"CosmosDB.svg;",.5*b,.5*b,"","CosmosDB",null,null,this.getTagsForStencil(a,"cosmosdb db database","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Database_General.svg;",.38*b,.5*\r\nb,"","Database (generic)",null,null,this.getTagsForStencil(a,"database generic","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"aspect=fixed;html=1;perimeter=none;align=center;shadow=0;dashed=0;image;fontSize=12;image=img/lib/mscae/Azure_Database_for_MariaDB_servers.svg;",.38*b,.5*b,"","Azure Database for MariaDB servers",null,null,this.getTagsForStencil(a,"azure database for mariadb servers","ms microsoft cloud enterprise database databases db service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Azure_Database_for_MySQL_servers.svg;",.38*b,.5*b,"","Azure Database for MySQL servers",null,null,this.getTagsForStencil(a,"azure database db for mysql servers","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_for_PostgreSQL_servers.svg;",.38*b,.5*b,"","Azure Database for PostgreSQL servers",null,null,this.getTagsForStencil(a,"azure database db for postgresql servers","ms microsoft cloud enterprise database databases db service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"SQL_DataWarehouse.svg;",.5*b,.48*b,"","Azure SQL DataWarehouse",null,null,this.getTagsForStencil(a,"azure sql datawarehouse","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"BlobBlock.svg;",.5*b,.42*b,"","Blob Storage",null,null,this.getTagsForStencil(a,"blob storage","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake.svg;",.38*b,.5*b,"","Data Lake",\r\nnull,null,this.getTagsForStencil(a,"data lake","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Elastic_Database_Pools.svg;",.5*b,.5*b,"","Elastic Database Pools",null,null,this.getTagsForStencil(a,"elastic database pools","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Elastic_Job_Agents.svg;",.42*b,.5*b,"","Elastic Job Agents",null,null,this.getTagsForStencil(a,"elastic job agents",\r\n"ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Managed_Databases.svg;",.47*b,.5*b,"","Managed Databases",null,null,this.getTagsForStencil(a,"managed databases","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"SQL_Database_generic.svg;",.38*b,.5*b,"","SQL Databases",null,null,this.getTagsForStencil(a,"sql databases","ms microsoft cloud enterprise database databases db service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"SQL_Managed_Instances.svg;",.38*b,.5*b,"","SQL Managed Instances",null,null,this.getTagsForStencil(a,"sql managed instances","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"dep/SQL_Server_Stretch_DB.svg;",.5*b,.5*b,"","SQL Server Stretch DB",null,null,this.getTagsForStencil(a,"sql server stretch db database","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+\r\n"SQL_Servers.svg;",.5*b,.5*b,"","SQL Servers",null,null,this.getTagsForStencil(a,"sql servers","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Clusters.svg;",.5*b,.48*b,"","Virtual Clusters",null,null,this.getTagsForStencil(a,"virtual clusters","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Datacenter.svg;",.5*b,.5*b,"","Virtual Datacenter",null,null,this.getTagsForStencil(a,\r\n"virtual datacenter","ms microsoft cloud enterprise database databases db service").join(" "))];this.addPalette("mscaeDatabases Service","CAE / Databases Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEDevOpsServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Insights.svg;",.32*b,.5*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","ms microsoft cloud enterprise devops service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Azure_Artifacts.svg;",.5*b,.5*b,"","Azure Artifacts",null,null,this.getTagsForStencil(a,"azure artifacts","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Boards.svg;",.5*b,.5*b,"","Azure Boards",null,null,this.getTagsForStencil(a,"azure boards","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"Azure_DevOps.svg;",.5*b,.5*b,"","Azure DevOps",null,null,this.getTagsForStencil(a,\r\n"azure devops","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"DevTest_Labs.svg;",.5*b,.5*b,"","Azure DevTest Labs",null,null,this.getTagsForStencil(a,"azure devtest labs","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Pipelines.svg;",.5*b,.5*b,"","Azure Pipelines",null,null,this.getTagsForStencil(a,"azure pipelines","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+\r\n"Azure_Repos.svg;",.45*b,.5*b,"","Azure Repos",null,null,this.getTagsForStencil(a,"azure repos","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Test_Plans.svg;",.45*b,.5*b,"","Azure Test Plans",null,null,this.getTagsForStencil(a,"azure test plans","ms microsoft cloud enterprise devops service").join(" "))];this.addPalette("mscaeDevOps Service","CAE / DevOps Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};\r\nSidebar.prototype.addMSCAEGeneralServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Grid3x3.svg;",.5*b,.5*b,"","All Resources",null,null,this.getTagsForStencil(a,"all resources","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Home.svg;",.5*b,.4*b,"","Azure Home",null,null,this.getTagsForStencil(a,"azure home","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Developer_Tools.svg;",\r\n.47*b,.5*b,"","Developer Tools",null,null,this.getTagsForStencil(a,"developer tools","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Support_2.svg;",.32*b,.5*b,"","Help, Support",null,null,this.getTagsForStencil(a,"help support","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Info_2.svg;",.5*b,.5*b,"","Information",null,null,this.getTagsForStencil(a,"info information","ms microsoft cloud enterprise general service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Management_Groups.svg;",.5*b,.4*b,"","Management Groups",null,null,this.getTagsForStencil(a,"management groups","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Store_Marketplace.svg;",.44*b,.5*b,"","Marketplace",null,null,this.getTagsForStencil(a,"marketplace store","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Store_Marketplace.svg;",.44*b,.5*b,"","Marketplace",null,null,\r\nthis.getTagsForStencil(a,"marketplace store","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Quick_Start_Center.svg;",.5*b,.5*b,"","Quick Start Center",null,null,this.getTagsForStencil(a,"quick start center","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Clock.svg;",.5*b,.5*b,"","Recent",null,null,this.getTagsForStencil(a,"clock recent","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+\r\n"Reservations.svg;",.5*b,.5*b,"","Reservations",null,null,this.getTagsForStencil(a,"reservations","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"ResourceGroup.svg;",.5*b,.4*b,"","Resource Groups",null,null,this.getTagsForStencil(a,"resource group groups","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"ServiceHealth.svg;",.5*b,.44*b,"","Service Health",null,null,this.getTagsForStencil(a,"service health","ms microsoft cloud enterprise general service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Shared_Dashboard.svg;",.5*b,.41*b,"","Shared Dashboard",null,null,this.getTagsForStencil(a,"shared dashboard","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Key.svg;",.31*b,.5*b,"","Subscriptions",null,null,this.getTagsForStencil(a,"subscriptions key","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Support_Requests.svg;",.5*b,.46*b,"","Support Requests",null,null,this.getTagsForStencil(a,\r\n"support requests","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Tag.svg;",.5*b,.5*b,"","Tag",null,null,this.getTagsForStencil(a,"tag","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Tags.svg;",.42*b,.5*b,"","Tags",null,null,this.getTagsForStencil(a,"tags","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Templates.svg;",.44*b,.5*b,"","Templates",null,null,this.getTagsForStencil(a,\r\n"templates","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Two_User_Icon.svg;",.5*b,.5*b,"","Two User Icon",null,null,this.getTagsForStencil(a,"two user icon","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"User_Health_Icon.svg;",.46*b,.5*b,"","User Health Icon",null,null,this.getTagsForStencil(a,"user health icon","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+\r\n"Person.svg;",.37*b,.5*b,"","User",null,null,this.getTagsForStencil(a,"user person","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"User_Privacy.svg;",.36*b,.5*b,"","User Privacy",null,null,this.getTagsForStencil(a,"user privacy","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"User_Resource.svg;",.48*b,.5*b,"","User Resource",null,null,this.getTagsForStencil(a,"user resource","ms microsoft cloud enterprise general service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Info.svg;",.5*b,.5*b,"","What\'s New",null,null,this.getTagsForStencil(a,"info whats new","ms microsoft cloud enterprise general service").join(" "))];this.addPalette("mscaeGeneral Service","CAE / General Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEIdentityServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Access_Review.svg;",.5*b,.5*b,"","Access Review",null,null,\r\nthis.getTagsForStencil(a,"access review","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Health_Monitoring.svg;",.5*b,.5*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory.svg;",.5*b,.5*b,"","Active Directory",null,null,this.getTagsForStencil(a,"active directory","ms microsoft cloud enterprise identity service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"App_Registrations.svg;",.5*b,.5*b,"","App Registrations",null,null,this.getTagsForStencil(a,"app registrations","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C.svg;",.5*b,.46*b,"","Azure AD B2C",null,null,this.getTagsForStencil(a,"azure ad b2c","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Domain_Services.svg;",.5*b,.5*b,"","Azure AD Domain Services",\r\nnull,null,this.getTagsForStencil(a,"azure ad domain services","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Identity_Protection.svg;",.5*b,.5*b,"","Azure AD Identity Protection",null,null,this.getTagsForStencil(a,"azure ad identity protection","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Privileged_Identity_Management.svg;",.5*b,.5*b,"","Azure AD Privileged Identity Management",null,\r\nnull,this.getTagsForStencil(a,"azure ad privileged identity management","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry("aspect=fixed;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.cloud.azure_rights_management_rms;fillColor=#58B4D9;",.42*b,.5*b,"","Azure Information Protection",null,null,this.getTagsForStencil(a,"azure information protection","ms microsoft cloud enterprise identity service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Security_Center.svg;",.36*b,.5*b,"","Conditional Access",null,null,this.getTagsForStencil(a,"conditional access security center","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Enterprise_Applications.svg;",.49*b,.5*b,"","Enterprise Applications",null,null,this.getTagsForStencil(a,"enterprise applications","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Identity_Governance.svg;",\r\n.5*b,.5*b,"","Identity Governance",null,null,this.getTagsForStencil(a,"identity governance","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Managed_Identities.svg;",.38*b,.5*b,"","Managed Identitties",null,null,this.getTagsForStencil(a,"managed identities","ms microsoft cloud enterprise identity service").join(" "))];this.addPalette("mscaeIdentity Service","CAE / Identity Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};\r\nSidebar.prototype.addMSCAEIntegrationServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"API_Management.svg;",.5*b,.42*b,"","API Management Service",null,null,this.getTagsForStencil(a,"api application programming interface management service","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"App_Configuration.svg;",.5*b,.49*b,"","App Configuration",null,null,this.getTagsForStencil(a,"app configuration","ms microsoft cloud enterprise integration service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Azure_API_for_FHIR.svg;",.5*b,.5*b,"","Azure API for FHIR",null,null,this.getTagsForStencil(a,"azure api application programming interface for fhir","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Data_Catalog.svg;",.47*b,.5*b,"","Azure Data Catalog",null,null,this.getTagsForStencil(a,"azure data catalog","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus_Relay.svg;",\r\n.5*b,.5*b,"","Azure Service Bus Relays",null,null,this.getTagsForStencil(a,"azure service bus relay relays","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus_Relay.svg;",.5*b,.5*b,"","Azure Service Bus Relays",null,null,this.getTagsForStencil(a,"azure service bus relay relays","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",.5*b,.5*b,"","Azure Service Bus",null,null,this.getTagsForStencil(a,\r\n"azure service bus","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"StorSimple.svg;",.5*b,.45*b,"","Azure StorSimple Device Managers",null,null,this.getTagsForStencil(a,"azure storsimple device managers","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid.svg;",.5*b,.5*b,"","Event Grid Domains and Subscriptions",null,null,this.getTagsForStencil(a,"event grid domains subscriptions","ms microsoft cloud enterprise integration service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Event_Grid_Topics.svg;",.5*b,.5*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Topics.svg;",.5*b,.5*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Integration_Accounts.svg;",.5*b,.5*b,"","Integration Accounts",\r\nnull,null,this.getTagsForStencil(a,"integration accounts","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Integration_Service_Environments.svg;",.5*b,.5*b,"","Integration Service Environments",null,null,this.getTagsForStencil(a,"integration service environments","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps_Custom_Connector.svg;",.5*b,.5*b,"","Logic Apps Custom Connector",null,null,this.getTagsForStencil(a,\r\n"logic apps custom connector","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.5*b,.39*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"SendGrid_Accounts.svg;",.5*b,.5*b,"","SendGrid Accounts",null,null,this.getTagsForStencil(a,"sendgrid accounts","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+\r\n"Service_Catalog_Managed_Application_Definitions.svg;",.47*b,.5*b,"","Service Catalog Managed Application Definitions",null,null,this.getTagsForStencil(a,"service catalog managed application definitions","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Software_as_a_Service.svg;",.5*b,.5*b,"","Software as a Service (SaaS)",null,null,this.getTagsForStencil(a,"software service saas","ms microsoft cloud enterprise integration service").join(" "))];this.addPalette("mscaeIntegration Service",\r\n"CAE / Integration Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEInternetOfThingsServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Digital_Twins.svg;",.45*b,.5*b,"","Azure Digital Twins",null,null,this.getTagsForStencil(a,"azure digital twins","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Azure_IoT_Hub_Security.svg;",.37*b,.5*b,"","Azure IoT Hub Security",\r\nnull,null,this.getTagsForStencil(a,"azure hub security","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Azure_IoT_Hub.svg;",.5*b,.5*b,"","Azure IoT Hub",null,null,this.getTagsForStencil(a,"azure hub","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Azure_Maps.svg;",.39*b,.5*b,"","Azure Maps",null,null,this.getTagsForStencil(a,"azure maps","ms microsoft cloud enterprise iot internet of things").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Azure_Sphere.svg;",.48*b,.5*b,"","Azure Sphere",null,null,this.getTagsForStencil(a,"azure sphere","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Device_Provisioning_Services.svg;",.48*b,.5*b,"","Device Provisioning Services",null,null,this.getTagsForStencil(a,"device provisioning services","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry("aspect=fixed;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.cloud.central;fillColor=#0079D6;pointerEvents=1;",\r\n.44*b,.5*b,"","IoT Central Applications",null,null,this.getTagsForStencil(a,"central applications","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_environments.svg;",.49*b,.5*b,"","Time Series Insights environments",null,null,this.getTagsForStencil(a,"time series insights environments","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Input.svg;",.5*b,.45*b,"","Time Series Insights Events Sources",\r\nnull,null,this.getTagsForStencil(a,"time series insights events sources input","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Windows_10_IoT_Core_Services.svg;",.5*b,.5*b,"","Windows 10 IoT Core Services",null,null,this.getTagsForStencil(a,"windows 10 core services","ms microsoft cloud enterprise iot internet of things").join(" "))];this.addPalette("mscaeInternet of Things Service","CAE / Internet of Things Service",!1,mxUtils.bind(this,function(a){for(var c=\r\n0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEIntuneServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Client_Apps.svg;",.5*b,.5*b,"","Client Apps",null,null,this.getTagsForStencil(a,"client apps","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Dedicated_Event_Hub.svg;",.5*b,.48*b,"","Dedicated Event Hub",null,null,this.getTagsForStencil(a,"dedicated event hub","ms microsoft cloud enterprise intune service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Device_Compliance.svg;",.41*b,.5*b,"","Device Compliance",null,null,this.getTagsForStencil(a,"device compliance","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Device_Config.svg;",.44*b,.5*b,"","Device Config",null,null,this.getTagsForStencil(a,"device config","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Devices_Groups.svg;",.5*b,.5*b,"","Devices Groups",null,null,this.getTagsForStencil(a,\r\n"devices groups","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"eBooks.svg;",.5*b,.41*b,"","eBooks",null,null,this.getTagsForStencil(a,"ebooks","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Enrollment.svg;",.5*b,.5*b,"","Enrollment",null,null,this.getTagsForStencil(a,"enrollment","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Exchange_On_premises_Access.svg;",\r\n.29*b,.5*b,"","Exchange On-premises Access",null,null,this.getTagsForStencil(a,"exchange on premises access","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Intune_App_Protection.svg;",.5*b,.4*b,"","Intune App Protection",null,null,this.getTagsForStencil(a,"intune app protection","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Managed_Desktop.svg;",.5*b,.36*b,"","Managed Desktop",null,null,this.getTagsForStencil(a,\r\n"managed desktop","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Security_Baselines.svg;",.44*b,.5*b,"","Security Baselines",null,null,this.getTagsForStencil(a,"security baselines","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Software_Update.svg;",.5*b,.45*b,"","Software Update",null,null,this.getTagsForStencil(a,"software update","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+\r\n"Tools.svg;",.47*b,.5*b,"","Tools",null,null,this.getTagsForStencil(a,"tools","ms microsoft cloud enterprise intune service").join(" "))];this.addPalette("mscaeIntune Service","CAE / Intune Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEManagementGovernanceServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Log.svg;",.45*b,.5*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","ms microsoft cloud enterprise management and governance service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Advisor.svg;",.5*b,.5*b,"","Advisor",null,null,this.getTagsForStencil(a,"advisor","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Notification.svg;",.5*b,.5*b,"","Alerts",null,null,this.getTagsForStencil(a,"notification alert alerts","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Automation.svg;",.5*b,.5*b,"","Automation Accounts",null,\r\nnull,this.getTagsForStencil(a,"automation accounts","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Blueprints.svg;",.5*b,.48*b,"","Blueprints",null,null,this.getTagsForStencil(a,"blueprints","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"BillingHub.svg;",.5*b,.5*b,"","BillingHub",null,null,this.getTagsForStencil(a,"billinghub","ms microsoft cloud enterprise management and governance service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"LogDiagnostics.svg;",.45*b,.5*b,"","Diagnostic Settings",null,null,this.getTagsForStencil(a,"diagnostic settings log","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Free_Services.svg;",.5*b,.46*b,"","Free Services",null,null,this.getTagsForStencil(a,"free services","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Guest_Assignments.svg;",\r\n.44*b,.5*b,"","Guest Assignments",null,null,this.getTagsForStencil(a,"guest assignments","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Managed_Applications.svg;",.47*b,.5*b,"","Managed Applications",null,null,this.getTagsForStencil(a,"managed applications","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Chart.svg;",.5*b,.48*b,"","Metrics",null,null,this.getTagsForStencil(a,\r\n"metrics chart","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Monitor.svg;",.5*b,.5*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Network_watcher.svg;",.5*b,.5*b,"","Network Watcher",null,null,this.getTagsForStencil(a,"network watcher","ms microsoft cloud enterprise management and governance service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Policy.svg;",.45*b,.5*b,"","Policy",null,null,this.getTagsForStencil(a,"policy","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Backup.svg;",.5*b,.42*b,"","Recovery Services Vault",null,null,this.getTagsForStencil(a,"recovery services vault backup","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Resource_Graph_Explorer.svg;",.49*b,.5*b,"",\r\n"Resource Graph Explorer",null,null,this.getTagsForStencil(a,"resource graph explorer","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"SchedulerJobCollection.svg;",.5*b,.43*b,"","Scheduler Job Collections",null,null,this.getTagsForStencil(a,"scheduler job collection collections","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Solutions.svg;",.5*b,.5*b,"","Solutions",null,\r\nnull,this.getTagsForStencil(a,"solutions","ms microsoft cloud enterprise management and governance service").join(" "))];this.addPalette("mscaeManagement and Governance Service","CAE / Management and Governance Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEManagementGovernanceMediaServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Media_Player.svg;",.45*b,.5*b,"","Azure Media Player",null,null,\r\nthis.getTagsForStencil(a,"azure media player","ms microsoft cloud enterprise management and governance service media").join(" ")),this.createVertexTemplateEntry(c+"Content_Protection.svg;",.45*b,.5*b,"","Content Protection",null,null,this.getTagsForStencil(a,"content protection","ms microsoft cloud enterprise management and governance service media").join(" ")),this.createVertexTemplateEntry(c+"Media_Encoding.svg;",.43*b,.5*b,"","Media Encoding",null,null,this.getTagsForStencil(a,"media encoding",\r\n"ms microsoft cloud enterprise management and governance service media").join(" ")),this.createVertexTemplateEntry(c+"Media_On_Demand.svg;",.5*b,.5*b,"","Media On Demand",null,null,this.getTagsForStencil(a,"media_on_demand","ms microsoft cloud enterprise management and governance service media").join(" "))];this.addPalette("mscaeManagement and Governance Service Media","CAE / Management and Governance Service - Media",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};\r\nSidebar.prototype.addMSCAEMigrateServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Database_Migration_Services.svg;",.5*b,.5*b,"","Azure Database Migration Services",null,null,this.getTagsForStencil(a,"azure database migration services","ms microsoft cloud enterprise migrate service").join(" ")),this.createVertexTemplateEntry(c+"Migration_Projects.svg;",.5*b,.32*b,"","Migration Projects",null,null,this.getTagsForStencil(a,"migration projects","ms microsoft cloud enterprise migrate service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Backup.svg;",.5*b,.42*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults vault","ms microsoft cloud enterprise migrate service").join(" "))];this.addPalette("mscaeMigrate Service","CAE / Migrate Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEMixedRealityServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Spatial_Anchor.svg;",.48*\r\nb,.5*b,"","Spatial Anchor",null,null,this.getTagsForStencil(a,"spatial anchor","ms microsoft cloud enterprise mixed reality service").join(" "))];this.addPalette("mscaeMixed Reality Service","CAE / Mixed Reality Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEMobileServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"App_Service_Mobile_App.svg;",.34*b,.5*b,"","Azure App Service - Mobile",null,null,this.getTagsForStencil(a,\r\n"azure app service mobile","ms microsoft cloud enterprise mobile service").join(" ")),this.createVertexTemplateEntry(c+"Mobile_Engagement.svg;",.34*b,.5*b,"","Azure Mobile Engagement",null,null,this.getTagsForStencil(a,"azure mobile engagement","ms microsoft cloud enterprise mobile service").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.5*b,.5*b,"","Notification_Hubs",null,null,this.getTagsForStencil(a,"notification hubs","ms microsoft cloud enterprise mobile service").join(" "))];\r\nthis.addPalette("mscaeMobile Service","CAE / Mobile Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAENetworkingServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Gateway.svg;",.5*b,.5*b,"","Application Gateway",null,null,this.getTagsForStencil(a,"application gateway","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Application_Security_Groups.svg;",\r\n.37*b,.5*b,"","Application Security Groups",null,null,this.getTagsForStencil(a,"application security groups","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Firewall.svg;",.5*b,.5*b,"","Azure Firewall",null,null,this.getTagsForStencil(a,"azure firewall","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Content_Delivery_Network.svg;",.5*b,.23*b,"","CDN Profiles",null,null,this.getTagsForStencil(a,\r\n"cdn profiles content delivery network","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Connections.svg;",.5*b,.5*b,"","Connections",null,null,this.getTagsForStencil(a,"connections","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Connections.svg;",.5*b,.5*b,"","Connections",null,null,this.getTagsForStencil(a,"connections","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+\r\n"DDOS_Protection_Plans.svg;",.37*b,.5*b,"","DDOS Protection Plans",null,null,this.getTagsForStencil(a,"ddos protection plans","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"DNS_Private_Zones.svg;",.5*b,.5*b,"","DNS Private Zones",null,null,this.getTagsForStencil(a,"dns domain name server private zones","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"DNS.svg;",.5*b,.5*b,"","DNS Zones",null,null,this.getTagsForStencil(a,\r\n"dns domain name server zones","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Express_Route.svg;",.5*b,.3*b,"","Express Route Circuits",null,null,this.getTagsForStencil(a,"express route circuits","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Front_Doors.svg;",.5*b,.44*b,"","Front Doors",null,null,this.getTagsForStencil(a,"front doors","ms microsoft cloud enterprise networking service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Load_Balancer_feature.svg;",.5*b,.5*b,"","Load Balancers",null,null,this.getTagsForStencil(a,"load balancer balancers","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Local_Network_Gateways.svg;",.5*b,.5*b,"","Local Network Gateways",null,null,this.getTagsForStencil(a,"local network gateways","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"NetworkInterfaceCard.svg;",\r\n.44*b,.5*b,"","Network Interface Card",null,null,this.getTagsForStencil(a,"network interface card","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Network_Security_Groups_Classic.svg;",.37*b,.5*b,"","Network Security Groups (Classic)",null,null,this.getTagsForStencil(a,"network security group classic","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Network_watcher.svg;",.5*b,.5*b,"","Network Watcher",\r\nnull,null,this.getTagsForStencil(a,"network watcher","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"On_Premises_Data_Gateways.svg;",.5*b,.5*b,"","On-Premises Data Gateways",null,null,this.getTagsForStencil(a,"on premises data gateways","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"App_Service_IPAddress.svg;",.5*b,.42*b,"","Public IP Addresses",null,null,this.getTagsForStencil(a,"app service ip internet protocol address addresses",\r\n"ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"ClassicIPAddress.svg;",.5*b,.42*b,"","Reserved IP Addresses (Classic)",null,null,this.getTagsForStencil(a,"classic ip internet protocol address adresses","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Route_Filter.svg;",.5*b,.42*b,"","Route Filters",null,null,this.getTagsForStencil(a,"route filters","ms microsoft cloud enterprise networking service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"UserDefinedRoute.svg;",.5*b,.5*b,"","Route Tables",null,null,this.getTagsForStencil(a,"route tables","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Service_Endpoint_Policies.svg;",.49*b,.5*b,"","Service Endpoint Policies",null,null,this.getTagsForStencil(a,"service endpoint policies","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Traffic_Manager.svg;",.5*b,.5*b,"",\r\n"Traffic Manager Profiles",null,null,this.getTagsForStencil(a,"traffic manager profiles","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Network_Classic.svg;",.5*b,.28*b,"","Virtual Network (Classic)",null,null,this.getTagsForStencil(a,"virtual network classic","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"VPN_Gateway.svg;",.45*b,.5*b,"","Virtual Network Gateways",null,null,this.getTagsForStencil(a,\r\n"vpn gateway gateways virtual private network","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Network.svg;",.5*b,.28*b,"","Virtual Networks",null,null,this.getTagsForStencil(a,"virtual network networks","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Virtual_WANs.svg;",.5*b,.5*b,"","Virtual WANs",null,null,this.getTagsForStencil(a,"virtual wans wan wide area network networks","ms microsoft cloud enterprise networking service").join(" "))];\r\nthis.addPalette("mscaeNetworking Service","CAE / Networking Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEOtherCategoryServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"CloudSimple_Nodes.svg;",.49*b,.5*b,"","CloudSimple Nodes",null,null,this.getTagsForStencil(a,"cloudsimple nodes","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"CloudSimple_Services.svg;",\r\n.5*b,.5*b,"","CloudSimple Services",null,null,this.getTagsForStencil(a,"cloudsimple services","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"CloudSimple_Virtual_Machines.svg;",.5*b,.32*b,"","CloudSimple Virtual Machines",null,null,this.getTagsForStencil(a,"cloudsimple virtual machines","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Controllers.svg;",.5*b,.44*b,"","Controllers",null,null,this.getTagsForStencil(a,\r\n"controllers","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Customer_Lockbox.svg;",.47*b,.5*b,"","Customer Lockbox",null,null,this.getTagsForStencil(a,"customer lockbox","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Education.svg;",.5*b,.39*b,"","Education",null,null,this.getTagsForStencil(a,"education","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+\r\n"Image_Definitions.svg;",.5*b,.39*b,"","Image Definitions",null,null,this.getTagsForStencil(a,"image definitions","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Image_Versions.svg;",.5*b,.48*b,"","Image Versions",null,null,this.getTagsForStencil(a,"image versions","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Resource_Explorer.svg;",.5*b,.46*b,"","Resource Explorer",null,null,this.getTagsForStencil(a,\r\n"resource explorer","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Shared_Image_Galleries.svg;",.5*b,.5*b,"","Shared Image Galleries",null,null,this.getTagsForStencil(a,"shared image galleries","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Status.svg;",.46*b,.5*b,"","Tenant Status",null,null,this.getTagsForStencil(a,"tenant status","ms microsoft cloud enterprise other category service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Web_App_Firewall.svg;",.5*b,.5*b,"","Web App Firewall",null,null,this.getTagsForStencil(a,"web app firewall","ms microsoft cloud enterprise other category service").join(" "))];this.addPalette("mscaeOther Category Service","CAE / Other Category Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAESecurityServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Sentinel.svg;",\r\n.44*b,.5*b,"","Azure Sentinel",null,null,this.getTagsForStencil(a,"azure sentinel","ms microsoft cloud enterprise security service").join(" ")),this.createVertexTemplateEntry(c+"Key_Vaults.svg;",.48*b,.5*b,"","Key Vaults",null,null,this.getTagsForStencil(a,"key vaults","ms microsoft cloud enterprise security service").join(" ")),this.createVertexTemplateEntry(c+"Security_Center.svg;",.36*b,.5*b,"","Security Center",null,null,this.getTagsForStencil(a,"security center","ms microsoft cloud enterprise security service").join(" "))];\r\nthis.addPalette("mscaeSecurity Service","CAE / Security Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEStorageServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Archive_Storage.svg;",.5*b,.48*b,"","Archive Storage",null,null,this.getTagsForStencil(a,"archive storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Azure_NetApp_files.svg;",.5*b,.42*b,"","Azure NetApp files",\r\nnull,null,this.getTagsForStencil(a,"azure netapp files","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"StorSimple.svg;",.5*b,.45*b,"","StorSimple",null,null,this.getTagsForStencil(a,"storsimple","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"AzureFXTEdgeFiler.svg;",.5*b,.5*b,"","AzureFXTEdgeFiler",null,null,this.getTagsForStencil(a,"azurefxtedgefiler","ms microsoft cloud enterprise storage service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Blog_Storage.svg;",.5*b,.46*b,"","Blob Storage",null,null,this.getTagsForStencil(a,"blob storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Data_Box_Edge_Data_Box_Gateway.svg;",.5*b,.32*b,"","Data Box Edge - Data Box Gateway",null,null,this.getTagsForStencil(a,"data box edge data gateway","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Data_Box.svg;",.5*b,.47*b,"","Data Box / Import Export Storage",\r\nnull,null,this.getTagsForStencil(a,"data box","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Storage.svg;",.5*b,.46*b,"","Data Lake Storage",null,null,this.getTagsForStencil(a,"data lake storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"General_Storage.svg;",.5*b,.5*b,"","General Storage",null,null,this.getTagsForStencil(a,"general storage","ms microsoft cloud enterprise storage service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Queues_Storage.svg;",.5*b,.44*b,"","Queues Storage",null,null,this.getTagsForStencil(a,"queues storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"ClassicStorage.svg;",.5*b,.43*b,"","Classic Storage",null,null,this.getTagsForStencil(a,"classic storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Storage_Accounts.svg;",.5*b,.45*b,"","Storage Accounts",null,null,this.getTagsForStencil(a,\r\n"storage accounts","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Storage_Explorer.svg;",.5*b,.5*b,"","Storage Explorer",null,null,this.getTagsForStencil(a,"storage explorer","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Storage_sync_service.svg;",.5*b,.5*b,"","Storage Sync Services",null,null,this.getTagsForStencil(a,"storage sync services","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+\r\n"StorSimple_Data_Managers.svg;",.37*b,.5*b,"","StorSimple Data Managers",null,null,this.getTagsForStencil(a,"storsimple data managers","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry("aspect=fixed;verticalLabelPosition=bottom;html=1;verticalAlign=top;align=center;strokeColor=none;fillColor=#00BEF2;shape=mxgraph.azure.storsimple;",.5*b,.45*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","ms microsoft cloud enterprise storage service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"StorSimple_Data_Managers.svg;",.37*b,.5*b,"","StorSimple Data Managers",null,null,this.getTagsForStencil(a,"storsimple data managers","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Table_Storage.svg;",.5*b,.48*b,"","Table Storage",null,null,this.getTagsForStencil(a,"table storage","ms microsoft cloud enterprise storage service").join(" "))];this.addPalette("mscaeStorage Service","CAE / Storage Service",!1,mxUtils.bind(this,\r\nfunction(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addMSCAEWebServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Connection.svg;",.5*b,.31*b,"","Connection",null,null,this.getTagsForStencil(a,"connection","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"Certificate.svg;",.5*b,.42*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app application certificates certificate","ms microsoft cloud enterprise web service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"CustomDomain.svg;",.5*b,.42*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domain domains","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"App_Service.svg;",.5*b,.5*b,"","App Service Environments",null,null,this.getTagsForStencil(a,"app service environments","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"WebHosting.svg;",.5*b,.5*b,"","App Service Plans",\r\nnull,null,this.getTagsForStencil(a,"app plans web hosting","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"App_Services.svg;",.5*b,.5*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"Media_Services.svg;",.44*b,.5*b,"","Azure Media Services",null,null,this.getTagsForStencil(a,"azure media services","ms microsoft cloud enterprise web service").join(" ")),\r\nthis.createVertexTemplateEntry(c+"Search.svg;",.5*b,.5*b,"","Azure Search",null,null,this.getTagsForStencil(a,"azure search","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.5*b,.5*b,"","Notification Hub Namespaces",null,null,this.getTagsForStencil(a,"notification hub namespace namespaces","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"SignalR.svg;",.5*b,.5*b,"","SignalR",null,null,this.getTagsForStencil(a,\r\n"signalr","ms microsoft cloud enterprise web service").join(" "))];this.addPalette("mscaeWeb Service","CAE / Web Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addNetworkPalette=function(){this.setCurrentSearchEntryLibrary("network");this.addPaletteFunctions("network","Network",!1,[this.addDataEntry("computer network ring bus",100,100,"Ring Bus","7VfJboMwEP0arpWBkNJjgTanSpF66NmKJ2DVYDQ429/XYIclKi2Nkp5AQrLfrLzHsDh+nB9XSMvsTTIQjv/i+DFKqcwqP8YghOMRzhw/cTyP6NPxXkesbmMlJUUo1JQAzwTsqdiBQQxQqZOwQKZy3VbiOn605ULEUkhsLH7cHBqvFMpP6FmWYehGfm3JaFnn0VV5WelVVALyHBRgh647KEqRMq6bPycrZAE9OOEIG8Vl0ZhQZXVXsnPXtbfN0Xb1wVntlXgasRcLqOA4SlgDWbZWIHVjeNIuNsALTMRpuD3YKnoXGMZJBjzN1BCjldmnbd5OG72w8nwvlf+7VOM6AEvh3TpaSlHuCgZ1clI7FOwZUR46O6NV1pp7N8EYrXWJAamKYgpqcJ9N4BlBUMX3w1Tf8WZD15LrjK0+l0xXcocbsE4XZLdVJ/G/mPmfwH8YPAwnxF2cgdtLEsySTJDEJWSgyP1GZDnrcc2IdMDtJXmcJfnDW+P8zCJ3G5Fw1mPKI2vxjyPyNEvykyR3f2u4ZBbgmpm44ZeV3nb/nMa9/0v6BQ=="),\r\nthis.addDataEntry("computer network bus backbone",260,140,"Bus","7ZdNj4IwEIZ/DVcD1HXd4wK7njYx8bDnKiM0FmqGori/fltaBb8Ws5EbJCb0nel0fF4yBIeEWTVDuk2/RAzcIR8OCVEIae6yKgTOHd9lsUMix/dd9XP8zztRr466W4qQy0c2+GbDjvISjGKEQh64FVKZqbYizyHBmnEeCi6wjpCwvpReSBQbaEUm06kXEBVJkMZM9XKM5SKHlhwxhJVkIq9DKNNTsW8W61XkayWlW91MViUa1CgHuRe4KUbLsvjfGWvRpKt21/Wl9C0gy0CC1pd0tVmqUvNGC47agv3ohhRcEliCgBKquy7UkrVgBkLVw4NKOZjoxJjk7u2f1sYctRRYktoq1kyXFmadnCo1Fqsb6/Jtx0m34/fthDiBhU20mFGUeQy6uIYBefyOKPZNvPX4XDtrjtZVz8hJignIsyf0AZgInEq2Oy91C5XdOhdMVfRd69r4Am4hSlyBTbrgezr1IeTjAflt5J7bG/OXgfkd5pPemE8G5reZXw3u5zF/HZj/Pc7tK9brb7xPBws6xnv/HrwNHnSM+/498NzBhI75/3QT1LL5WDTp7W/JXw=="),\r\nthis.createVertexTemplateEntry("html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.bus;gradientColor=none;gradientDirection=north;fontColor=#ffffff;perimeter=backbonePerimeter;backboneSize=20;",200,20,"","Bus",null,null,this.getTagsForStencil("mxgraph.networks","bus backbone","computer network ").join(" ")),this.createEdgeTemplateEntry("html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.comm_link_edge;html=1;",\r\n100,100,"","Comm Link",null,this.getTagsForStencil("mxgraph.networks","comm_link_edge","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.biometric_reader;",60,100,"","Biometric Reader",null,null,this.getTagsForStencil("mxgraph.networks","biometric_reader",\r\n"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.business_center;",90,100,"","Business Center",null,null,this.getTagsForStencil("mxgraph.networks","business_center","computer network ").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.cloud;fontColor=#ffffff;",\r\n90,50,"","Cloud",null,null,this.getTagsForStencil("mxgraph.networks","cloud","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.community;",95,100,"","Community",null,null,this.getTagsForStencil("mxgraph.networks","community","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.comm_link;",30,100,"","Comm Link (Icon)",null,null,this.getTagsForStencil("mxgraph.networks","comm_link","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.copier;",\r\n100,100,"","Copier",null,null,this.getTagsForStencil("mxgraph.networks","copier","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.pc;",100,70,"","PC",null,null,this.getTagsForStencil("mxgraph.networks","pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.desktop_pc;",\r\n30,60,"","Desktop PC",null,null,this.getTagsForStencil("mxgraph.networks","desktop_pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.external_storage;",90,100,"","External Storage",null,null,this.getTagsForStencil("mxgraph.networks","external_storage",\r\n"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.firewall;",100,100,"","Firewall",null,null,this.getTagsForStencil("mxgraph.networks","firewall","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.gamepad;",\r\n100,70,"","Gamepad",null,null,this.getTagsForStencil("mxgraph.networks","gamepad","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.hub;",100,30,"","Hub",null,null,this.getTagsForStencil("mxgraph.networks","hub","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.laptop;",\r\n100,55,"","Laptop",null,null,this.getTagsForStencil("mxgraph.networks","laptop","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.load_balancer;",100,30,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.networks","load_balancer","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.mail_server;",105,105,"","Mail Server",null,null,this.getTagsForStencil("mxgraph.networks","mail_server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.mainframe;",\r\n80,100,"","Mainframe",null,null,this.getTagsForStencil("mxgraph.networks","mainframe","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.mobile;",50,100,"","Mobile",null,null,this.getTagsForStencil("mxgraph.networks","mobile","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.modem;",100,30,"","Modem",null,null,this.getTagsForStencil("mxgraph.networks","modem","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.monitor;",\r\n80,65,"","Monitor",null,null,this.getTagsForStencil("mxgraph.networks","monitor","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.nas_filer;",100,35,"","NAS Filer",null,null,this.getTagsForStencil("mxgraph.networks","NAS Filer","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.patch_panel;",100,35,"","Patch Panel",null,null,this.getTagsForStencil("mxgraph.networks","patch_panel","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.pc;",\r\n100,70,"","PC",null,null,this.getTagsForStencil("mxgraph.networks","pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.phone_1;",100,70,"","Phone",null,null,this.getTagsForStencil("mxgraph.networks","phone_1","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.phone_2;",\r\n100,90,"","Phone",null,null,this.getTagsForStencil("mxgraph.networks","phone_2","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.printer;",100,100,"","Printer",null,null,this.getTagsForStencil("mxgraph.networks","printer","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.proxy_server;",105,105,"","Proxy Server",null,null,this.getTagsForStencil("mxgraph.networks","proxy_server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.rack;",\r\n50,100,"","Rack",null,null,this.getTagsForStencil("mxgraph.networks","rack","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.radio_tower;",55,100,"","Radio Tower",null,null,this.getTagsForStencil("mxgraph.networks","radio_tower","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.router;",100,30,"","Router",null,null,this.getTagsForStencil("mxgraph.networks","router","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.satellite;",\r\n100,100,"","Satellite",null,null,this.getTagsForStencil("mxgraph.networks","satellite","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.satellite_dish;",90,100,"","Satellite Dish",null,null,this.getTagsForStencil("mxgraph.networks","satellite_dish",\r\n"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.scanner;",100,75,"","Scanner",null,null,this.getTagsForStencil("mxgraph.networks","scanner","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.secured;",\r\n80,100,"","Secured",null,null,this.getTagsForStencil("mxgraph.networks","secured","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.security_camera;",100,75,"","Security Camera",null,null,this.getTagsForStencil("mxgraph.networks","security_camera",\r\n"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.server;",90,100,"","Server",null,null,this.getTagsForStencil("mxgraph.networks","server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.server_storage;",\r\n105,105,"","Server Storage",null,null,this.getTagsForStencil("mxgraph.networks","server_storage","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.storage;",100,100,"","Storage",null,null,this.getTagsForStencil("mxgraph.networks","storage","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.supercomputer;",100,100,"","Supercomputer",null,null,this.getTagsForStencil("mxgraph.networks","supercomputer","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.switch;",\r\n100,30,"","Switch",null,null,this.getTagsForStencil("mxgraph.networks","switch","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.tablet;",100,70,"","Tablet",null,null,this.getTagsForStencil("mxgraph.networks","tablet","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.tape_storage;",105,105,"","Tape Storage",null,null,this.getTagsForStencil("mxgraph.networks","tape_storage","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.terminal;",\r\n80,65,"","Terminal",null,null,this.getTagsForStencil("mxgraph.networks","terminal","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.unsecure;",80,100,"","Unsecure",null,null,this.getTagsForStencil("mxgraph.networks","unsecure","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.ups_enterprise;",100,100,"","UPS Enterprise",null,null,this.getTagsForStencil("mxgraph.networks","ups_enterprise","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.ups_small;",\r\n70,100,"","UPS Small",null,null,this.getTagsForStencil("mxgraph.networks","ups_small","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.usb_stick;",45,100,"","USB Stick",null,null,this.getTagsForStencil("mxgraph.networks","usb_stick","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.users;",90,100,"","Users",null,null,this.getTagsForStencil("mxgraph.networks","users","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.user_female;",\r\n40,100,"","User Female",null,null,this.getTagsForStencil("mxgraph.networks","user_female","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.user_male;",40,100,"","User Male",null,null,this.getTagsForStencil("mxgraph.networks","user_male","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.video_projector;",100,35,"","Video Projector",null,null,this.getTagsForStencil("mxgraph.networks","video_projector","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.video_projector_screen;",\r\n80,100,"","Video Projector Screen",null,null,this.getTagsForStencil("mxgraph.networks","video_projector_screen","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.virtual_pc;",115,85,"","Virtual PC",null,null,this.getTagsForStencil("mxgraph.networks",\r\n"virtual_pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.virtual_server;",110,120,"","Virtual Server",null,null,this.getTagsForStencil("mxgraph.networks","virtual_server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.virus;",\r\n100,90,"","Virus",null,null,this.getTagsForStencil("mxgraph.networks","virus","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.web_server;",105,105,"","Web Server",null,null,this.getTagsForStencil("mxgraph.networks","web_server","computer network ").join(" ")),\r\nthis.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.wireless_hub;",100,85,"","Wireless Hub",null,null,this.getTagsForStencil("mxgraph.networks","wireless_hub","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.wireless_modem;",\r\n100,85,"","Wireless Modem",null,null,this.getTagsForStencil("mxgraph.networks","wireless_modem","computer network ").join(" "))]);this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addOfficePalette=function(){this.setCurrentSearchEntryLibrary("office","officeClouds");this.addOfficeCloudsPalette();this.setCurrentSearchEntryLibrary("office","officeCommunications");this.addOfficeCommunicationsPalette();this.setCurrentSearchEntryLibrary("office","officeConcepts");this.addOfficeConceptsPalette();this.setCurrentSearchEntryLibrary("office","officeDatabases");this.addOfficeDatabasesPalette();this.setCurrentSearchEntryLibrary("office","officeDevices");this.addOfficeDevicesPalette();\r\nthis.setCurrentSearchEntryLibrary("office","officeSecurity");this.addOfficeSecurityPalette();this.setCurrentSearchEntryLibrary("office","officeServers");this.addOfficeServersPalette();this.setCurrentSearchEntryLibrary("office","officeServices");this.addOfficeServicesPalette();this.setCurrentSearchEntryLibrary("office","officeSites");this.addOfficeSitesPalette();this.setCurrentSearchEntryLibrary("office","officeUsers");this.addOfficeUsersPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addOfficeCloudsPalette=\r\nfunction(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.azure;",103,66,"","Azure",null,null,this.getTagsForStencil("mxgraph.office.clouds","azure","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.cloud;",\r\n94,55,"","Cloud",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.cloud_disaster;",94,74,"","Cloud Disaster",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud disaster","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.cloud_disaster;fillColor=#ff0000;",\r\n94,74,"","Cloud Disaster (Red)",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud disaster","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.cloud_exchange_online;",100,61,"","Cloud Exchange Online",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud exchange online",\r\n"office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.cloud_service_request;",102,80,"","Cloud Service Request",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud service request","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.cloud_sharepoint;",\r\n101,61,"","Cloud SharePoint",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud sharepoint","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.office_365;",101,61,"","Office 365",null,null,this.getTagsForStencil("mxgraph.office.clouds","office 365","office cloud ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.online_backup;",94,101,"","Online Backup",null,null,this.getTagsForStencil("mxgraph.office.clouds","online backup","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.online_user;",\r\n93,74,"","Online User",null,null,this.getTagsForStencil("mxgraph.office.clouds","online user","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.private_cloud;",94,55,"","Private Cloud",null,null,this.getTagsForStencil("mxgraph.office.clouds","private cloud","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.public_cloud;",\r\n101,81,"","Public Cloud",null,null,this.getTagsForStencil("mxgraph.office.clouds","public cloud","office cloud ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;outlineConnect=0;verticalAlign=top;align=center;shape=mxgraph.office.clouds.public_im_cloud_service;",102,99,"","Public IM Cloud Service",null,null,this.getTagsForStencil("mxgraph.office.clouds","public im instant message cloud service",\r\n"office cloud ").join(" "))];this.addPalette("officeClouds","Office / Clouds",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addOfficeCommunicationsPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.3rd_party_call_center_solution;",\r\n98,101,"","3rd Party Call Center Solution",null,null,this.getTagsForStencil("mxgraph.office.communications","3rd party call center solution","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.3rd_party_integration;",54,55,"","3rd Party Integration",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"3rd party integration","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.3rd_party_service;",53,54,"","3rd Party Service",null,null,this.getTagsForStencil("mxgraph.office.communications","3rd party service","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.application_sharing_workload;",\r\n57,49,"","Application Sharing Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","application sharing workload","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.audio_conferencing_application;",59,46,"","Audio Conferencing Application",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"audio_conferencing_application","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.central_management_service;",52,55,"","Central Management Service",null,null,this.getTagsForStencil("mxgraph.office.communications","central management service","office communication ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.chat_room;",46,48,"","Chat Room",null,null,this.getTagsForStencil("mxgraph.office.communications","chat room","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.conference_announcement_service;",\r\n60,60,"","Conference Announcement Service",null,null,this.getTagsForStencil("mxgraph.office.communications","conference announcement service","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.disconnected_mailbox;",60,55,"","Disconnected Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"disconnected mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.discovery_search_mailbox;",55,49,"","Discovery Search Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","discovery search mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.dynamic_distribution_group;",\r\n58,59,"","Dynamic Distribution Group",null,null,this.getTagsForStencil("mxgraph.office.communications","dynamic distribution group","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.edge_subscription;",57,59,"","Edge Subscription",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"edge subscription","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.email_workloaad;",57,47,"","Email Workloaad",null,null,this.getTagsForStencil("mxgraph.office.communications","email workloaad","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.equipment_mailbox;",\r\n59,59,"","Equipment Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","equipment mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.exchange_active_sync;",49,49,"","Exchange Active Sync",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"exchange_active_sync","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.exchange_active_sync;fillColor=#2072B8;",49,49,"","Exchange Active Sync - Blue",null,null,this.getTagsForStencil("mxgraph.office.communications","exchange_active_sync","office communication ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.fax_partner;",45,56,"","Fax Partner",null,null,this.getTagsForStencil("mxgraph.office.communications","fax partner","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.global_address_list;",\r\n59,53,"","Global Address List",null,null,this.getTagsForStencil("mxgraph.office.communications","global address list","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.hybrid_voip_gateway;",59,38,"","Hybrid VOIP Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"hybrid voip gateway","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.im_workload;",56,54,"","IM Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","im workload instant message","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.journaling_rule;",\r\n52,58,"","Journaling Rule",null,null,this.getTagsForStencil("mxgraph.office.communications","journaling rule","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.local_move_request;",57,57,"","Local Move Request",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"local move request","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.lync_control_panel;",69,58,"","Lync Control Panel",null,null,this.getTagsForStencil("mxgraph.office.communications","lync control panel","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.lync_phone_edition;",\r\n80,45,"","Lync Phone Edition",null,null,this.getTagsForStencil("mxgraph.office.communications","lync phone edition","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.lync_room_system;",80,42,"","Lync Room System",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"lync room system","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.lync_server_management_tool;",75,47,"","Lync Server Management Tool",null,null,this.getTagsForStencil("mxgraph.office.communications","lync server management tool","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.lync_storage_service;",\r\n66,59,"","Lync Storage Service",null,null,this.getTagsForStencil("mxgraph.office.communications","lync storage service","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.lync_web_app_client;",83,50,"","Lync Web App Client",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"lync web app client","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.mail_enabled_public_folder;",58,52,"","Mail-Enabled Public Folder",null,null,this.getTagsForStencil("mxgraph.office.communications","mail enabled public folder","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.mailbox_assistant;",\r\n59,57,"","Mailbox Assistant",null,null,this.getTagsForStencil("mxgraph.office.communications","mailbox assistant","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.messages_queued;",59,57,"","Messages Queued",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"messages queued","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.offline_address_book;",59,53,"","Offline Address Book",null,null,this.getTagsForStencil("mxgraph.office.communications","offline address book","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.personal_archive_mailbox;",\r\n59,58,"","Personal Archive Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","personal archive mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.public_im_cloud_service;",60,58,"","Public IM Cloud Service",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"public im cloud service instant message","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.push_notification_service;",50,58,"","Push Notification Service",null,null,this.getTagsForStencil("mxgraph.office.communications","push notification service","office communication ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.queue_viewer;",59,57,"","Queue Viewer",null,null,this.getTagsForStencil("mxgraph.office.communications","queue viewer","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.remote_mailbox;",\r\n59,57,"","Remote Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","remote mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.remote_move_request;",60,57,"","Remote Move Request",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"remote move request","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.response_group;",58,54,"","Response Group",null,null,this.getTagsForStencil("mxgraph.office.communications","response group","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.room_mailbox;",\r\n60,57,"","Room Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","room mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.shared_mailbox;",60,55,"","Shared Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","shared mailbox",\r\n"office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.sip_uri_um_dial_plan;",55,56,"","SIP URI UM Dial Plan",null,null,this.getTagsForStencil("mxgraph.office.communications","sip uri um dial plan","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.site_mailbox;",\r\n59,54,"","Site Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","site mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.skype_for_business_control_panel;",65,59,"","Skype for Business Control Panel",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"skype for business control panel","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.skype_for_business_phone_edition;",76,45,"","Skype for Business Phone Edition",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business phone edition","office communication ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.skype_for_business_room_system;",74,41,"","Skype for Business Room System",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business room system","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.skype_for_business_server_management_tool;",\r\n72,48,"","Skype for Business Server Management Tool",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business server management tool","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.skype_for_business_storage_service;",62,58,"","Skype for Business Storage Service",\r\nnull,null,this.getTagsForStencil("mxgraph.office.communications","skype for business storage service","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.skype_for_business_web_app_client;",80,51,"","Skype for Business Web App Client",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"skype for business web app client","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.sms_gateway;",59,37,"","SMS Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","sms gateway","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.smtp_connector;",\r\n47,49,"","SMTP Connector",null,null,this.getTagsForStencil("mxgraph.office.communications","smtp connector","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.system_mailbox;",58,55,"","System Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","system mailbox",\r\n"office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.tdm_pbx;",59,46,"","TDM PBX",null,null,this.getTagsForStencil("mxgraph.office.communications","tdm pbx","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.telephone_extension_dial_plan;",\r\n55,56,"","Telephone Extension Dial Plan",null,null,this.getTagsForStencil("mxgraph.office.communications","telephone extension dial plan","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.transport_rule;",56,57,"","Transport Rule",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"transport rule","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.ucma_application;",53,40,"","UCMA Application",null,null,this.getTagsForStencil("mxgraph.office.communications","ucma application","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.ucwa_application;",\r\n53,40,"","UCWA Application",null,null,this.getTagsForStencil("mxgraph.office.communications","ucwa application","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.um_auto_attendant;",57,57,"","UM Auto Attendant",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"um auto attendant","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.um_dial_plan_e164;",55,56,"","UM Dial Plan E164",null,null,this.getTagsForStencil("mxgraph.office.communications","um dial plan e164","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.um_dial_plan_secondary;",\r\n55,56,"","UM Dial Plan Secondary",null,null,this.getTagsForStencil("mxgraph.office.communications","um dial plan secondary","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.um_enabled_mailbox;",59,57,"","UM Enabled Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"um enabled mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.um_hunt_group;",59,48,"","UM Hunt Group",null,null,this.getTagsForStencil("mxgraph.office.communications","um hunt group","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.um_ip_gateway;",\r\n59,38,"","UM IP Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","um ip gateway internet protocol","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.user_mailbox;",59,55,"","User Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"user mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.video_workload;",57,50,"","Video Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","video workload","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.voice_mail_preview;",\r\n46,56,"","Voice Mail Preview",null,null,this.getTagsForStencil("mxgraph.office.communications","voice mail preview","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.voice_workload;",58,51,"","Voice Workload",null,null,this.getTagsForStencil("mxgraph.office.communications",\r\n"voice workload","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.voip_gateway;",51,15,"","VoIP Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","voip gateway voice over ip internet protocol","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.watcher_node;",\r\n52,56,"","Watcher Node",null,null,this.getTagsForStencil("mxgraph.office.communications","watcher node","office communication ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.communications.xmpp_service;",58,52,"","XMPP Service",null,null,this.getTagsForStencil("mxgraph.office.communications","xmpp service",\r\n"office communication ").join(" "))];this.addPalette("officeCommunications","Office / Communications",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addOfficeConceptsPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.address_book;",\r\n55,44,"","Address Book",null,null,this.getTagsForStencil("mxgraph.office.concepts","address book","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.address_book;",40,31,"","Address Book (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","address book small","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.anti_spam;",55,47,"","Anti-Spam",null,null,this.getTagsForStencil("mxgraph.office.concepts","anti spam","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.application_android;",\r\n60,51,"","Application Android",null,null,this.getTagsForStencil("mxgraph.office.concepts","application android","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.application_generic;",53,40,"","Application Generic",null,null,this.getTagsForStencil("mxgraph.office.concepts","application generic",\r\n"office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.application_generic;",40,30,"","Application Generic (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","application generic small","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.application_hybrid;",\r\n59,44,"","Application Hybrid",null,null,this.getTagsForStencil("mxgraph.office.concepts","application hybrid","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.application_ios;",59,49,"","Application iOS",null,null,this.getTagsForStencil("mxgraph.office.concepts","application ios","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.application_web;",56,49,"","Application Web",null,null,this.getTagsForStencil("mxgraph.office.concepts","application web","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.application_windows;",\r\n59,47,"","Application Windows",null,null,this.getTagsForStencil("mxgraph.office.concepts","application windows","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.app_for_office;",53,40,"","App for Office",null,null,this.getTagsForStencil("mxgraph.office.concepts","app for office","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.app_for_sharepoint;",53,40,"","App For SharePoint",null,null,this.getTagsForStencil("mxgraph.office.concepts","app for sharepoint","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.app_part;",\r\n46,45,"","App Part",null,null,this.getTagsForStencil("mxgraph.office.concepts","app part","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.archive;",35,55,"","Archive",null,null,this.getTagsForStencil("mxgraph.office.concepts","archive","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.attachment;",\r\n22,44,"","Attachment",null,null,this.getTagsForStencil("mxgraph.office.concepts","attachment","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.backup_local;",48,44,"","Backup Local",null,null,this.getTagsForStencil("mxgraph.office.concepts","backup local","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.backup_online;",55,60,"","Backup Online",null,null,this.getTagsForStencil("mxgraph.office.concepts","backup online","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.bandwidth;",\r\n45,45,"","Bandwidth",null,null,this.getTagsForStencil("mxgraph.office.concepts","bandwidth","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.bandwidth_calculator;",49,53,"","Bandwidth Calculator",null,null,this.getTagsForStencil("mxgraph.office.concepts","bandwidth calculator","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.best_practices;",53,53,"","Best Practices",null,null,this.getTagsForStencil("mxgraph.office.concepts","best practices","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.book_journal;",\r\n41,49,"","Book, Journal",null,null,this.getTagsForStencil("mxgraph.office.concepts","book journal","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.calculator;",32,46,"","Calculator",null,null,this.getTagsForStencil("mxgraph.office.concepts","calculator","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.calendar;",53,49,"","Calendar",null,null,this.getTagsForStencil("mxgraph.office.concepts","calendar","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.clipboard;",\r\n40,52,"","Clipboard",null,null,this.getTagsForStencil("mxgraph.office.concepts","clipboard","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.clipboard;",30,39,"","Clipboard (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","clipboard small","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.clock;",45,45,"","Clock",null,null,this.getTagsForStencil("mxgraph.office.concepts","clock","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.clock;",\r\n35,35,"","Clock (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","clock small","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.column;",52,43,"","Column",null,null,this.getTagsForStencil("mxgraph.office.concepts","column","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.connector;",\r\n44,32,"","Connector",null,null,this.getTagsForStencil("mxgraph.office.concepts","connector","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.connector;",33,24,"","Connector (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","connector","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.contacts;",\r\n53,39,"","Contacts",null,null,this.getTagsForStencil("mxgraph.office.concepts","contacts","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.content_type;",53,40,"","Content Type",null,null,this.getTagsForStencil("mxgraph.office.concepts","content type","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.credit_card;",\r\n55,36,"","Credit Card",null,null,this.getTagsForStencil("mxgraph.office.concepts","credit card","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.document;",40,47,"","Document",null,null,this.getTagsForStencil("mxgraph.office.concepts","document","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.document;",\r\n30,35,"","Document (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","document","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.documents;",46,54,"","Documents",null,null,this.getTagsForStencil("mxgraph.office.concepts","documents","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.documents_shared;",\r\n58,59,"","Documents Shared",null,null,this.getTagsForStencil("mxgraph.office.concepts","documents shared","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.document_blank;",40,47,"","Document Blank",null,null,this.getTagsForStencil("mxgraph.office.concepts","document blank","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.document_blank;",30,35,"","Document Blank (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","document blank","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.document_shared;",\r\n52,53,"","Document Shared",null,null,this.getTagsForStencil("mxgraph.office.concepts","document shared","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.download;",48,56,"","Download",null,null,this.getTagsForStencil("mxgraph.office.concepts","download","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.email;",47,36,"","Email",null,null,this.getTagsForStencil("mxgraph.office.concepts","email","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.email;",\r\n31,24,"","Email (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","email","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.email_approved;",56,46,"","Email Approved",null,null,this.getTagsForStencil("mxgraph.office.concepts","email approved","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.email_expired;",56,46,"","Email Expired",null,null,this.getTagsForStencil("mxgraph.office.concepts","email expired","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.email_rejected;",\r\n55,45,"","Email Rejected",null,null,this.getTagsForStencil("mxgraph.office.concepts","email rejected","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.file_key;",48,53,"","File Key",null,null,this.getTagsForStencil("mxgraph.office.concepts","file key","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.firewall;",\r\n47,43,"","Firewall",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.firewall;fillColor=#2072B8;",47,43,"","Firewall (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.firewall;fillColor=#DA4026;",\r\n47,43,"","Firewall (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.firewall;fillColor=#7FBA42;",47,43,"","Firewall (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.firewall;fillColor=#CCCBCB;",47,43,"","Firewall (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folder;",\r\n50,45,"","Folder",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folder;fillColor=#2072B8;",50,45,"","Folder (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folder;fillColor=#DA4026;",\r\n50,45,"","Folder (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folder;fillColor=#7FBA42;",50,45,"","Folder (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folder;fillColor=#CCCBCB;",\r\n50,45,"","Folder (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folder;",33,30,"","Folder (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folders;",\r\n57,53,"","Folders",null,null,this.getTagsForStencil("mxgraph.office.concepts","folders","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folder_open;",56,43,"","Folder, Open",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder open","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folder_public;",\r\n58,52,"","Folder, Public",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder public","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.folder_shared;",54,52,"","Folder, Shared",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder shared","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.form;",56,49,"","Form",null,null,this.getTagsForStencil("mxgraph.office.concepts","form","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.get_started;",\r\n42,52,"","Get Started",null,null,this.getTagsForStencil("mxgraph.office.concepts","get started","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.globe_internet;",49,49,"","Globe, Internet",null,null,this.getTagsForStencil("mxgraph.office.concepts","globe internet","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.help;",49,49,"","Help",null,null,this.getTagsForStencil("mxgraph.office.concepts","help","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.help;",\r\n38,38,"","Help (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","help","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home;",51,50,"","Home",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home;fillColor=#2072B8;",\r\n51,50,"","Home (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home;fillColor=#DA4026;",51,50,"","Home (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home;fillColor=#7FBA42;",\r\n51,50,"","Home (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home;fillColor=#CCCBCB;",51,50,"","Home (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home;",\r\n39,38,"","Home (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home_page;",53,43,"","Home Page",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home_page;fillColor=#2072B8;",\r\n53,43,"","Home Page (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home_page;fillColor=#DA4026;",53,43,"","Home Page (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home_page;fillColor=#7FBA42;",53,43,"","Home Page (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.home_page;fillColor=#CCCBCB;",\r\n53,43,"","Home Page (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.hybrid;",58,52,"","Hybrid",null,null,this.getTagsForStencil("mxgraph.office.concepts","hybrid","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.input_output_filter;",\r\n46,46,"","Input Output Filter",null,null,this.getTagsForStencil("mxgraph.office.concepts","input output filter","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.install;",45,52,"","Install",null,null,this.getTagsForStencil("mxgraph.office.concepts","install","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.integration;",44,43,"","Integration",null,null,this.getTagsForStencil("mxgraph.office.concepts","integration","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.lab;",\r\n47,50,"","Lab",null,null,this.getTagsForStencil("mxgraph.office.concepts","lab","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.learn;",56,57,"","Learn",null,null,this.getTagsForStencil("mxgraph.office.concepts","learn","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.license;",\r\n45,52,"","License",null,null,this.getTagsForStencil("mxgraph.office.concepts","license","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.link;",61,21,"","Link",null,null,this.getTagsForStencil("mxgraph.office.concepts","link","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.list_library;",\r\n52,48,"","List Library",null,null,this.getTagsForStencil("mxgraph.office.concepts","list library","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.mailbox;",53,49,"","Mailbox",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.mailbox;",\r\n40,38,"","Mailbox (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.mailbox2;",53,49,"","Mailbox",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox2","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.mailbox2;",\r\n40,38,"","Mailbox (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox2","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.maintenance;",39,56,"","Maintenance",null,null,this.getTagsForStencil("mxgraph.office.concepts","maintenance","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.marketplace_shopping_bag;",36,46,"","Marketplace, Shopping Bag",null,null,this.getTagsForStencil("mxgraph.office.concepts","marketplace shopping bag","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.meets_requirements;",\r\n56,53,"","Meets Requirements",null,null,this.getTagsForStencil("mxgraph.office.concepts","meets requirements","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.migration;",59,34,"","Migration",null,null,this.getTagsForStencil("mxgraph.office.concepts","migration","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.moes;",40,47,"","MOEs",null,null,this.getTagsForStencil("mxgraph.office.concepts","moes","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.navigation;",\r\n53,40,"","Navigation",null,null,this.getTagsForStencil("mxgraph.office.concepts","navigation","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.node_generic;",46,52,"","Node, Generic",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.node_generic;fillColor=#2072B8;",46,52,"","Node, Generic (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.node_generic;fillColor=#DA4026;",\r\n46,52,"","Node, Generic (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.node_generic;fillColor=#7FBA42;",46,52,"","Node, Generic (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.node_generic;fillColor=#CCCBCB;",46,52,"","Node, Generic (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.office_installed;",\r\n58,48,"","Office Installed",null,null,this.getTagsForStencil("mxgraph.office.concepts","office installed","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.on_premises;",34,55,"","On Premises",null,null,this.getTagsForStencil("mxgraph.office.concepts","on premises","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.on_premises_directory;",50,59,"","On Premises Directory",null,null,this.getTagsForStencil("mxgraph.office.concepts","on premises directory","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.phishing;",\r\n59,47,"","Phishing",null,null,this.getTagsForStencil("mxgraph.office.concepts","phishing","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.pin;",24,44,"","Pin",null,null,this.getTagsForStencil("mxgraph.office.concepts","pin","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.platform_options;",\r\n58,52,"","Platform Options",null,null,this.getTagsForStencil("mxgraph.office.concepts","platform options","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.powershell;",45,45,"","PowerShell",null,null,this.getTagsForStencil("mxgraph.office.concepts","powershell","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.properties;",50,49,"","Properties",null,null,this.getTagsForStencil("mxgraph.office.concepts","properties","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.publish;",\r\n57,48,"","Publish",null,null,this.getTagsForStencil("mxgraph.office.concepts","publish","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.remote_access;",59,41,"","Remote Access",null,null,this.getTagsForStencil("mxgraph.office.concepts","remote access","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.script;",\r\n53,49,"","Script",null,null,this.getTagsForStencil("mxgraph.office.concepts","script","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.search;",49,49,"","Search",null,null,this.getTagsForStencil("mxgraph.office.concepts","search","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.search;",\r\n35,35,"","Search (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","search","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.service_application;",59,48,"","Service Application",null,null,this.getTagsForStencil("mxgraph.office.concepts","service application","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.settings;",48,48,"","Settings",null,null,this.getTagsForStencil("mxgraph.office.concepts","settings","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.settings_office_365;",\r\n48,48,"","Settings, Office 365",null,null,this.getTagsForStencil("mxgraph.office.concepts","settings office 365","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.settings_office_365;",31,31,"","Settings, Office 365 (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","settings office 365",\r\n"office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.sign_up;",51,47,"","Sign Up",null,null,this.getTagsForStencil("mxgraph.office.concepts","sign up","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.sound_file;",\r\n40,50,"","Sound File",null,null,this.getTagsForStencil("mxgraph.office.concepts","sound file","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.tasks;",40,52,"","Tasks",null,null,this.getTagsForStencil("mxgraph.office.concepts","tasks","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.technical_diagram;",\r\n50,56,"","Technical Diagram",null,null,this.getTagsForStencil("mxgraph.office.concepts","technical diagram","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.upgrade_application;",58,42,"","Upgrade Application",null,null,this.getTagsForStencil("mxgraph.office.concepts","upgrade application",\r\n"office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.upgrade_server;",39,52,"","Upgrade Server",null,null,this.getTagsForStencil("mxgraph.office.concepts","upgrade server","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.upgrade_site;",\r\n59,48,"","Upgrade Site",null,null,this.getTagsForStencil("mxgraph.office.concepts","upgrade site","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.upload;",48,55,"","Upload",null,null,this.getTagsForStencil("mxgraph.office.concepts","upload","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.video_form;",\r\n58,49,"","Video Form",null,null,this.getTagsForStencil("mxgraph.office.concepts","video form","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.video_play;",50,40,"","Video Play",null,null,this.getTagsForStencil("mxgraph.office.concepts","video play","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.voicemail;",\r\n53,34,"","Voicemail",null,null,this.getTagsForStencil("mxgraph.office.concepts","voicemail","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.voicemail_preview;",57,52,"","Voicemail Preview",null,null,this.getTagsForStencil("mxgraph.office.concepts","voicemail preview","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.walkthrough;",41,58,"","Walkthrough",null,null,this.getTagsForStencil("mxgraph.office.concepts","walkthrough","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.website;",\r\n59,49,"","Website",null,null,this.getTagsForStencil("mxgraph.office.concepts","website","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.web_conferencing;",60,56,"","Web Conferencing",null,null,this.getTagsForStencil("mxgraph.office.concepts","web conferencing","office concept ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.web_page;",50,54,"","Web Page",null,null,this.getTagsForStencil("mxgraph.office.concepts","web page","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.web_part;",\r\n45,52,"","Web Part",null,null,this.getTagsForStencil("mxgraph.office.concepts","web part","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.web_services;",60,56,"","Web Services",null,null,this.getTagsForStencil("mxgraph.office.concepts","web services","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.whats_new;",\r\n55,38,"","Whats New",null,null,this.getTagsForStencil("mxgraph.office.concepts","whats new","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.writing_pen;",54,54,"","Writing, Pen",null,null,this.getTagsForStencil("mxgraph.office.concepts","writing pen","office concept ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.concepts.writing_pencil;",\r\n50,50,"","Writing, Pencil",null,null,this.getTagsForStencil("mxgraph.office.concepts","writing pencil","office concept ").join(" "))];this.addPalette("officeConcepts","Office / Concepts",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addOfficeDatabasesPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.address_book_store;",\r\n50,54,"","Address Book Store",null,null,this.getTagsForStencil("mxgraph.office.databases","address_book_store","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.application_store;",49,53,"","Application Store",null,null,this.getTagsForStencil("mxgraph.office.databases","application store","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database;",35,49,"","Database",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database;fillColor=#2072B8;",\r\n35,49,"","Database (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database;fillColor=#DA4026;",35,49,"","Database (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database;fillColor=#7FBA42;",\r\n35,49,"","Database (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database;fillColor=#CCCBCB;",35,49,"","Database (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database;",\r\n28,38,"","Database (small)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_availability_group;",59,59,"","Database Availability Group",null,null,this.getTagsForStencil("mxgraph.office.databases","availability group","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_cube;",47,52,"","Database Cube",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_cube;fillColor=#2072B8;",\r\n47,52,"","Database Cube (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_cube;fillColor=#DA4026;",47,52,"","Database Cube (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_cube;fillColor=#7FBA42;",47,52,"","Database Cube (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_cube;fillColor=#CCCBCB;",\r\n47,52,"","Database Cube (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_1;",35,27,"","Database, Mini",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_1;fillColor=#2072B8;",35,27,"","Database, Mini (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_1;fillColor=#DA4026;",\r\n35,27,"","Database, Mini (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_1;fillColor=#7FBA42;",35,27,"","Database, Mini (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_1;fillColor=#CCCBCB;",35,27,"","Database, Mini (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_2;",\r\n35,42,"","Database, Mini",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_2;fillColor=#2072B8;",35,42,"","Database, Mini (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_2;fillColor=#DA4026;",\r\n35,42,"","Database, Mini (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_2;fillColor=#7FBA42;",35,42,"","Database, Mini (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_2;fillColor=#CCCBCB;",35,42,"","Database, Mini (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_3;",\r\n35,57,"","Database, Mini",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_3;fillColor=#2072B8;",35,57,"","Database, Mini (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_3;fillColor=#DA4026;",\r\n35,57,"","Database, Mini (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_3;fillColor=#7FBA42;",35,57,"","Database, Mini (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mini_3;fillColor=#CCCBCB;",35,57,"","Database, Mini (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mirror;",\r\n60,59,"","Database Mirror",null,null,this.getTagsForStencil("mxgraph.office.databases","mirror","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_mirror_witness_node;",60,59,"","Database Mirror Witness Node",null,null,this.getTagsForStencil("mxgraph.office.databases","mirror witness node",\r\n"office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_partition_2;",57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_partition_3;",\r\n57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_partition_4;",57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_partition_5;",57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_public_folder;",\r\n53,54,"","Database Public Folder",null,null,this.getTagsForStencil("mxgraph.office.databases","public folder","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_server;",43,57,"","Database Server",null,null,this.getTagsForStencil("mxgraph.office.databases","server","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_server_blue;",43,57,"","Database Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_server_orange;",\r\n43,57,"","Database Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_server_green;",43,57,"","Database Server (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.database_server_ghosted;",43,57,"","Database Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.mailbox_database;",\r\n53,55,"","Mailbox Database",null,null,this.getTagsForStencil("mxgraph.office.databases","mailbox","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.monitoring_store;",58,58,"","Monitoring Store",null,null,this.getTagsForStencil("mxgraph.office.databases","monitoring store","office database db ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.unified_contact_store;",54,55,"","Unified Contact Store",null,null,this.getTagsForStencil("mxgraph.office.databases","unified contact store","office database db ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.databases.web_store;",\r\n50,54,"","Web Store",null,null,this.getTagsForStencil("mxgraph.office.databases","web store","office database db ").join(" "))];this.addPalette("officeDatabases","Office / Databases",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addOfficeDevicesPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.bluetooth;",\r\n56,57,"","Bluetooth",null,null,this.getTagsForStencil("mxgraph.office.devices","bluetooth","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.cd_dvd;",49,49,"","CD, DVD",null,null,this.getTagsForStencil("mxgraph.office.devices","cd dvd compact disc digital video drive","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.cell_phone_android_proportional;",17,31,"","Cell Phone, Android, Proportional",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone android proportional","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.cell_phone_android_standalone;",\r\n24,44,"","Cell Phone, Android, Standalone",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone android standalone","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.cell_phone_generic;",26,47,"","Cell Phone, Generic",null,null,this.getTagsForStencil("mxgraph.office.devices",\r\n"cell phone generic","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.cell_phone_generic;",21,37,"","Cell Phone, Generic (small)",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone generic small","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.cell_phone_iphone_proportional;",\r\n17,29,"","Cell Phone, iPhone, Proportional",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone iphone proportional","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.cell_phone_iphone_standalone;",25,42,"","Cell Phone, iPhone, Standalone",null,null,this.getTagsForStencil("mxgraph.office.devices",\r\n"cell phone iphone standalone","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.cell_phone_windows_phone_proportional;",16,29,"","Cell Phone, Windows Phone, Proportional",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone windows phone proportional","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.cell_phone_windows_phone_standalone;",24,42,"","Cell Phone, Windows Phone, Standalone",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone windows standalone","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.data_jack;",\r\n47,47,"","Data Jack",null,null,this.getTagsForStencil("mxgraph.office.devices","data jack","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.device_update_service;",50,54,"","Device Update Service",null,null,this.getTagsForStencil("mxgraph.office.devices","device update service","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.fax;",57,47,"","Fax",null,null,this.getTagsForStencil("mxgraph.office.devices","fax","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.hard_disk;",\r\n40,54,"","Hard Disk",null,null,this.getTagsForStencil("mxgraph.office.devices","hard disk hdd drive","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.headset;",36,48,"","Headset",null,null,this.getTagsForStencil("mxgraph.office.devices","headset","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.ipad_mini;",\r\n33,47,"","iPad, Mini",null,null,this.getTagsForStencil("mxgraph.office.devices","ipad mini","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.ip_gateway;",59,40,"","IP Gateway",null,null,this.getTagsForStencil("mxgraph.office.devices","ip gateway","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.ip_pbx;",\r\n59,39,"","IP PBX",null,null,this.getTagsForStencil("mxgraph.office.devices","ip pbx","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.laptop;",58,34,"","Laptop",null,null,this.getTagsForStencil("mxgraph.office.devices","laptop","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.lcd_monitor;",\r\n58,48,"","LCD Monitor",null,null,this.getTagsForStencil("mxgraph.office.devices","lcd monitor","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.lcd_monitor;",39,32,"","LCD Monitor (small)",null,null,this.getTagsForStencil("mxgraph.office.devices","lcd monitor small","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.load_balancer;",59,39,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.office.devices","load balancer","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.mac_client;",\r\n58,48,"","Mac Client",null,null,this.getTagsForStencil("mxgraph.office.devices","mac client","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.management_console;",58,48,"","Management Console",null,null,this.getTagsForStencil("mxgraph.office.devices","management console","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.microphone;",53,37,"","Microphone",null,null,this.getTagsForStencil("mxgraph.office.devices","microphone","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.modem;",\r\n54,34,"","Modem",null,null,this.getTagsForStencil("mxgraph.office.devices","modem","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.nic;",57,38,"","NIC",null,null,this.getTagsForStencil("mxgraph.office.devices","nic","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.phone_digital;",\r\n49,42,"","Phone, Digital",null,null,this.getTagsForStencil("mxgraph.office.devices","phone digital","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.phone_traditional;",48,40,"","Phone, Traditional",null,null,this.getTagsForStencil("mxgraph.office.devices","phone traditional","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.phone_usb;",58,51,"","Phone, USB",null,null,this.getTagsForStencil("mxgraph.office.devices","phone usb","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.phone_voip;",\r\n57,51,"","Phone, VoIP",null,null,this.getTagsForStencil("mxgraph.office.devices","phone voip voice over internet protocol","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.printer;",56,47,"","Printer",null,null,this.getTagsForStencil("mxgraph.office.devices","printer","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.roundtable;",50,58,"","Roundtable",null,null,this.getTagsForStencil("mxgraph.office.devices","roundtable","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.router;",\r\n55,56,"","Router",null,null,this.getTagsForStencil("mxgraph.office.devices","router","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.session_border_controller;",59,52,"","Session Border Controller",null,null,this.getTagsForStencil("mxgraph.office.devices","session border controller","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.shadowed_router;",59,59,"","Shadowed Router",null,null,this.getTagsForStencil("mxgraph.office.devices","shadowed router","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.stylus;",\r\n57,57,"","Stylus",null,null,this.getTagsForStencil("mxgraph.office.devices","stylus","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.switch;",55,18,"","Switch",null,null,this.getTagsForStencil("mxgraph.office.devices","switch","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.tablet_android;",\r\n56,37,"","Tablet, Android",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet android","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.tablet_ipad;",39,52,"","Tablet, iPad",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet ipad","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.tablet_windows_7inch;",34,47,"","Tablet, Windows, 7inch",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet windows seven inch","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.tablet_windows_8;",\r\n56,35,"","Tablet, Windows 8",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet windows eight","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.tv;",59,45,"","TV",null,null,this.getTagsForStencil("mxgraph.office.devices","tv television","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.video_camera;",\r\n52,25,"","Video Camera",null,null,this.getTagsForStencil("mxgraph.office.devices","video camera","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.video_gateway;",59,41,"","Video Gateway",null,null,this.getTagsForStencil("mxgraph.office.devices","video gateway","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.webcam;",40,50,"","Webcam",null,null,this.getTagsForStencil("mxgraph.office.devices","webcam","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.webcam_hd;",\r\n56,59,"","Webcam, HD",null,null,this.getTagsForStencil("mxgraph.office.devices","webcam hd high definition","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.workstation;",53,56,"","Workstation",null,null,this.getTagsForStencil("mxgraph.office.devices","workstation","office device ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.workstation_pc;",53,59,"","Workstation, PC",null,null,this.getTagsForStencil("mxgraph.office.devices","workstation pc personal computer","office device ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.devices.workstation_visual_studio;",\r\n53,59,"","Workstation, Visual Studio",null,null,this.getTagsForStencil("mxgraph.office.devices","workstation visual studio","office device ").join(" "))];this.addPalette("officeDevices","Office / Devices",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addOfficeSecurityPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.active_directory;",\r\n53,46,"","Active Directory",null,null,this.getTagsForStencil("mxgraph.office.security","active directory","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.address_book_policies;",55,53,"","Address Book Policies",null,null,this.getTagsForStencil("mxgraph.office.security","address book policies",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.certificate;",58,50,"","Certificate",null,null,this.getTagsForStencil("mxgraph.office.security","certificate","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.certificate;",\r\n39,33,"","Certificate (small)",null,null,this.getTagsForStencil("mxgraph.office.security","certificate small","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.credentials;",56,58,"","Credentials",null,null,this.getTagsForStencil("mxgraph.office.security","credentials","office security ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.domain;",53,46,"","Domain",null,null,this.getTagsForStencil("mxgraph.office.security","domain","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.domain;",\r\n41,36,"","Domain (small)",null,null,this.getTagsForStencil("mxgraph.office.security","domain","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.email_address_policy;",55,53,"","Email Address Policy",null,null,this.getTagsForStencil("mxgraph.office.security","email address policy","office security ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.federation_service;",58,59,"","Federation Service",null,null,this.getTagsForStencil("mxgraph.office.security","federation service","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.federation_trust;",\r\n58,59,"","Federation Trust",null,null,this.getTagsForStencil("mxgraph.office.security","federation trust","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.irm_protected_message;",56,50,"","IRM-Protected Message",null,null,this.getTagsForStencil("mxgraph.office.security","irm protected message",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.key_permissions;",25,53,"","Key, Permissions",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.key_permissions;fillColor=#2072B8;",\r\n25,53,"","Key, Permissions (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.key_permissions;fillColor=#DA4026;",25,53,"","Key, Permissions (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.key_permissions;fillColor=#7FBA42;",25,53,"","Key, Permissions (green)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.key_permissions;fillColor=#CCCBCB;",\r\n25,53,"","Key, Permissions (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.key_permissions;",19,40,"","Key, Permissions (small)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions small",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_protected;",38,52,"","Lock, Protected",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_protected;fillColor=#2072B8;",\r\n38,52,"","Lock, Protected (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_protected;fillColor=#DA4026;",38,52,"","Lock, Protected (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_protected;fillColor=#7FBA42;",38,52,"","Lock, Protected (green)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_protected;fillColor=#CCCBCB;",\r\n38,52,"","Lock, Protected (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_protected;",28,37,"","Lock, Protected (small)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected small",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_unprotected;",38,55,"","Lock, Unprotected",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_unprotected;fillColor=#2072B8;",\r\n38,55,"","Lock, Unprotected (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_unprotected;fillColor=#DA4026;",38,55,"","Lock, Unprotected (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_unprotected;fillColor=#7FBA42;",38,55,"","Lock, Unprotected (green)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_unprotected;fillColor=#CCCBCB;",\r\n38,55,"","Lock, Unprotected (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_unprotected;",28,40,"","Lock, Unprotected (small)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected small",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_with_key_security;",47,58,"","Lock With Key, Security",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_with_key_security_blue;",\r\n47,58,"","Lock With Key, Security (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_with_key_security_orange;",47,58,"","Lock With Key, Security (orange)",null,null,this.getTagsForStencil("mxgraph.office.security",\r\n"lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_with_key_security_green;",47,58,"","Lock With Key, Security (green)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.lock_with_key_security_ghosted;",\r\n47,58,"","Lock With Key, Security (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.management_role;",45,45,"","Management Role",null,null,this.getTagsForStencil("mxgraph.office.security","management role",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.policy;",53,49,"","Policy",null,null,this.getTagsForStencil("mxgraph.office.security","policy","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.policy;",\r\n39,36,"","Policy (small)",null,null,this.getTagsForStencil("mxgraph.office.security","policy small","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.protected_voice_mail;",59,51,"","Protected Voice Mail",null,null,this.getTagsForStencil("mxgraph.office.security","protected voice mail",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.retention_policy;",54,55,"","Retention Policy",null,null,this.getTagsForStencil("mxgraph.office.security","retention policy","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.retention_policy_tag;",\r\n56,58,"","Retention Policy Tag",null,null,this.getTagsForStencil("mxgraph.office.security","retention policy tag","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.role_assignment_policy;",55,54,"","Role Assignment Policy",null,null,this.getTagsForStencil("mxgraph.office.security","role assignment policy",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.role_group;",59,56,"","Role Group",null,null,this.getTagsForStencil("mxgraph.office.security","role group","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.secure_messaging;",\r\n55,46,"","Secure Messaging",null,null,this.getTagsForStencil("mxgraph.office.security","secure messaging","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.security_access_portal;",64,55,"","Security Access Portal",null,null,this.getTagsForStencil("mxgraph.office.security","security access portal",\r\n"office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.sharing_policy;",56,53,"","Sharing Policy",null,null,this.getTagsForStencil("mxgraph.office.security","sharing policy","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.split_domain_user;",\r\n59,55,"","Split-Domain User",null,null,this.getTagsForStencil("mxgraph.office.security","split domain user","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.token;",41,52,"","Token",null,null,this.getTagsForStencil("mxgraph.office.security","token","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.token;",\r\n29,37,"","Token (small)",null,null,this.getTagsForStencil("mxgraph.office.security","token small","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.token_service;",60,56,"","Token Service",null,null,this.getTagsForStencil("mxgraph.office.security","token service","office security ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.trusted_application_server;",46,57,"","Trusted Application Server",null,null,this.getTagsForStencil("mxgraph.office.security","trusted application server","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.um_mailbox_policy;",\r\n55,53,"","UM Mailbox Policy",null,null,this.getTagsForStencil("mxgraph.office.security","um mailbox policy","office security ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.security.universal_security_group;",58,58,"","Universal Security Group",null,null,this.getTagsForStencil("mxgraph.office.security","universal security group",\r\n"office security ").join(" "))];this.addPalette("officeSecurity","Office / Security",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addOfficeServersPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.3rd_party_mail_server;",47,59,"","3rd Party Mail Server",\r\nnull,null,this.getTagsForStencil("mxgraph.office.servers","3rd party mail server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.active_directory_federation_services_proxy;",44,55,"","Active Directory Federation Services Proxy",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"active directory federation services proxy","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.active_directory_federation_services_server;",45,56,"","Active Directory Federation Services Server",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server",\r\n"office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.active_directory_federation_services_server_blue;",45,56,"","Active Directory Federation Services Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.active_directory_federation_services_server_orange;",45,56,"","Active Directory Federation Services Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.active_directory_federation_services_server_green;",\r\n45,56,"","Active Directory Federation Services Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.active_directory_federation_services_server_ghosted;",45,56,"","Active Directory Federation Services Server (ghosted)",\r\nnull,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.application_server;",46,56,"","Application Server",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.application_server_blue;",46,56,"","Application Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.application_server_orange;",\r\n46,56,"","Application Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.application_server_green;",46,56,"","Application Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"application server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.application_server_ghosted;",46,56,"","Application Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.call_admission_control_service;",\r\n50,60,"","Call Admission Control Service",null,null,this.getTagsForStencil("mxgraph.office.servers","call admission control service","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.certificate_authority;",46,59,"","Certificate Authority",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"certificate authority","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.cluster_server;",49,59,"","Cluster Server",null,null,this.getTagsForStencil("mxgraph.office.servers","cluster_server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.database_server;",\r\n43,56,"","Database Server",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.database_server_blue;",43,56,"","Database Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.database_server_orange;",43,56,"","Database Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.database_server_green;",\r\n43,56,"","Database Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.database_server_ghosted;",43,56,"","Database Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server",\r\n"office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.datacenter;",53,53,"","Datacenter",null,null,this.getTagsForStencil("mxgraph.office.servers","datacenter","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.dirsync_server;",\r\n47,56,"","DirSync Server",null,null,this.getTagsForStencil("mxgraph.office.servers","dirsync server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.domain_controller;",45,55,"","Domain Controller",null,null,this.getTagsForStencil("mxgraph.office.servers","domain controller","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.excahnge_client_access_server_role;",52,59,"","Exchange Client Access Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","excahnge client access server role","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.exchange_edge_transport_server_role;",\r\n52,55,"","Exchange Edge Transport Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange edge transport server role","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.exchange_hub_transport_server_role;",52,59,"","Exchange Hub Transport Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"exchange hub transport server role","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.exchange_mailbox_server_role;",52,59,"","Exchange Mailbox Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange mailbox server role","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.exchange_um_server_role;",\r\n52,59,"","Exchange UM Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange um server role","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.exchange_client_access_server;",57,59,"","Exchange Client Access Server",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"exchange client access server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.exchange_edge_transport_server;",57,55,"","Exchange Edge Transport Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange edge transport server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.exchange_mailbox_server;",\r\n57,59,"","Exchange Mailbox Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange mailbox server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.exchange_server;",57,55,"","Exchange Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange server",\r\n"office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.file_server;",45,56,"","File Server",null,null,this.getTagsForStencil("mxgraph.office.servers","file server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.hybrid_server;",\r\n59,52,"","Hybrid Server",null,null,this.getTagsForStencil("mxgraph.office.servers","hybrid server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.mainframe;",58,42,"","Mainframe",null,null,this.getTagsForStencil("mxgraph.office.servers","mainframe","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.mainframe_host;",\r\n44,42,"","Mainframe Host",null,null,this.getTagsForStencil("mxgraph.office.servers","mainframe host","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.monitoring_sql_reporting_services;",50,59,"","Monitoring SQL Reporting Services",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"monitoring sql reporting services","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.network;",34,57,"","Network",null,null,this.getTagsForStencil("mxgraph.office.servers","network","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.office_web_apps_server;",\r\n52,56,"","Office Web Apps Server",null,null,this.getTagsForStencil("mxgraph.office.servers","office web apps server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.on_premises_server;",44,58,"","On Premises Server",null,null,this.getTagsForStencil("mxgraph.office.servers","on premises server",\r\n"office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.physical_host;fillColor=#2072B8;",27,52,"","Physical Host",null,null,this.getTagsForStencil("mxgraph.office.servers","physical host","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.physical_host_farm;fillColor=#2072B8;",\r\n56,49,"","Physical Host Farm",null,null,this.getTagsForStencil("mxgraph.office.servers","physical host farm","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.reverse_proxy;",41,53,"","Reverse Proxy",null,null,this.getTagsForStencil("mxgraph.office.servers","reverse proxy","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.scom;",56,53,"","SCOM",null,null,this.getTagsForStencil("mxgraph.office.servers","scom","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_disaster;",\r\n46,57,"","Server Disaster",null,null,this.getTagsForStencil("mxgraph.office.servers","server disaster","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_farm;",56,49,"","Server Farm",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_farm;fillColor=#2072B8;",56,49,"","Server Farm (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_farm;fillColor=#DA4026;",\r\n56,49,"","Server Farm (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_farm;fillColor=#7FBA42;",56,49,"","Server Farm (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm",\r\n"office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_farm;fillColor=#CCCBCB;",56,49,"","Server Farm (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_generic;",\r\n27,52,"","Server, Generic",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_generic;fillColor=#2072B8;",27,52,"","Server, Generic (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_generic;fillColor=#DA4026;",27,52,"","Server, Generic (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_generic;fillColor=#7FBA42;",\r\n27,52,"","Server, Generic (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_generic;fillColor=#CCCBCB;",27,52,"","Server, Generic (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic",\r\n"office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_generic;",20,39,"","Server, Generic (small)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic small","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.server_side_code;",\r\n49,56,"","Server Side Code",null,null,this.getTagsForStencil("mxgraph.office.servers","server side code","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.sharepoint_server;",56,55,"","Sharepoint Server",null,null,this.getTagsForStencil("mxgraph.office.servers","sharepoint server","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_back_end_server;",54,60,"","Skype for Business Back End Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business back end server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_back_end_server_mirror;",\r\n54,60,"","Skype for Business Back End Server Mirror",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business back end server mirror","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_director;",54,55,"","Skype for Business Director",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"skype for business director","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_director_array;",70,60,"","Skype for Business Director Array",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business director array","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_edge_server;",\r\n54,55,"","Skype for Business Edge Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business edge server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_edge_server_pool;",70,60,"","Skype for Business Edge Server Pool",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"skype for business edge server pool","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_front_end_pool;",70,60,"","Skype for Business Front End Pool",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business front end pool","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_front_end_server;",54,60,"","Skype for Business Front End Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business front end server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_mediation_server;",\r\n54,60,"","Skype for Business Mediation Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business mediation server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_monitoring_server;",54,60,"","Skype for Business Monitoring Server",null,null,\r\nthis.getTagsForStencil("mxgraph.office.servers","skype for business monitoring server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_persistent_chat_server;",54,58,"","Skype for Business Persistent Chat Server",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"skype for business persistent chat server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.skype_for_business_server;",54,55,"","Skype for Business Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.sql_server;",\r\n43,56,"","SQL Server",null,null,this.getTagsForStencil("mxgraph.office.servers","sql server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.survivable_branch_appliance;",37,59,"","Survivable Branch Appliance",null,null,this.getTagsForStencil("mxgraph.office.servers","survivable branch appliance",\r\n"office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.survivable_branch_server;",42,58,"","Survivable Branch Server",null,null,this.getTagsForStencil("mxgraph.office.servers","survivable branch server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.topology_builder;",\r\n59,59,"","Topology Builder",null,null,this.getTagsForStencil("mxgraph.office.servers","topology builder","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.trusted_application_pool;",59,59,"","Trusted Application Pool",null,null,this.getTagsForStencil("mxgraph.office.servers","trusted application pool",\r\n"office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.trusted_application_server;",43,52,"","Trusted Application Server",null,null,this.getTagsForStencil("mxgraph.office.servers","trusted application server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.tunnel_angled;",\r\n55,35,"","Tunnel Angled",null,null,this.getTagsForStencil("mxgraph.office.servers","tunnel angled","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.tunnel_straight;",59,10,"","Tunnel Straight",null,null,this.getTagsForStencil("mxgraph.office.servers","tunnel straight","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.universal_security_group;",58,58,"","Universal Security Group",null,null,this.getTagsForStencil("mxgraph.office.servers","universal security group","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.video_interop_server;",\r\n54,60,"","Video Interop Server",null,null,this.getTagsForStencil("mxgraph.office.servers","video interop server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.virtual_application_server;",48,55,"","Virtual Application Server",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"virtual application server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.virtual_application_server;fillColor=#2072B8;",48,55,"","Virtual Application Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual application server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.virtual_database_server;",\r\n41,56,"","Virtual Database Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual database server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.virtual_database_server;fillColor=#2072B8;",41,56,"","Virtual Database Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"virtual database server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.virtual_server;",28,52,"","Virtual Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.virtual_server;fillColor=#2072B8;",\r\n28,52,"","Virtual Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.virtual_server;",20,37,"","Virtual Server (small)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual server small",\r\n"office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.virtual_web_server;",44,55,"","Virtual Web Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual web server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.virtual_web_server;fillColor=#2072B8;",\r\n44,55,"","Virtual Web Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual web server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.vociemail_preview_partner;",46,56,"","Vociemail Preview Partner",null,null,this.getTagsForStencil("mxgraph.office.servers",\r\n"vociemail preview partner","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.web_server;",48,57,"","Web Server",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.web_server_blue;",\r\n48,57,"","Web Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.web_server_orange;",48,57,"","Web Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.web_server_green;",48,57,"","Web Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.web_server_ghosted;",\r\n48,57,"","Web Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.windows_router;",52,59,"","Windows Router",null,null,this.getTagsForStencil("mxgraph.office.servers","windows router","office server ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.servers.windows_server;",52,55,"","Windows Server",null,null,this.getTagsForStencil("mxgraph.office.servers","windows server","office server ").join(" "))];this.addPalette("officeServers","Office / Servers",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};\r\nSidebar.prototype.addOfficeServicesPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.3rd_party_service;",53,54,"","3rd Party Service",null,null,this.getTagsForStencil("mxgraph.office.services","3rd party service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.access_services;",\r\n59,49,"","Access Services",null,null,this.getTagsForStencil("mxgraph.office.services","access services","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.business_connectivity_services;",34,51,"","Business Connectivity Services",null,null,this.getTagsForStencil("mxgraph.office.services",\r\n"business connectivity services","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.call_admission_control_service;",50,59,"","Call Admission Control Service",null,null,this.getTagsForStencil("mxgraph.office.services","call admission control service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.central_management_service;",\r\n51,54,"","Central Management Service",null,null,this.getTagsForStencil("mxgraph.office.services","central management service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.conference_announcement_service;",59,59,"","Conference Announcement Service",null,null,this.getTagsForStencil("mxgraph.office.services",\r\n"conference announcement service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.device_update_service;",50,54,"","Device Update Service",null,null,this.getTagsForStencil("mxgraph.office.services","device update service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.email_service;",\r\n58,48,"","Email Service",null,null,this.getTagsForStencil("mxgraph.office.services","email service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.excel_services;",60,49,"","Excel Services",null,null,this.getTagsForStencil("mxgraph.office.services","excel services","office service ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.federation_service;",58,59,"","Federation Service",null,null,this.getTagsForStencil("mxgraph.office.services","federation service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.lync_storage_service;",\r\n65,58,"","Lync Storage Service",null,null,this.getTagsForStencil("mxgraph.office.services","lync storage service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.lync_web_app_client;",83,51,"","Lync Web App Client",null,null,this.getTagsForStencil("mxgraph.office.services","lync web app client",\r\n"office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.mobility_service;",45,53,"","Mobility Service",null,null,this.getTagsForStencil("mxgraph.office.services","mobility service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.network_file_share_service;",\r\n55,53,"","Network File Share Service",null,null,this.getTagsForStencil("mxgraph.office.services","network file share service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.online_hosted_services;",56,52,"","Online Hosted Services",null,null,this.getTagsForStencil("mxgraph.office.services",\r\n"online hosted services","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.outlook_web_app;",83,51,"","Outlook Web App",null,null,this.getTagsForStencil("mxgraph.office.services","outlook web app","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.powerpoint_automation_services;",\r\n59,49,"","PowerPoint Automation Services",null,null,this.getTagsForStencil("mxgraph.office.services","powerpoint automation services","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.push_notification_service;",50,58,"","Push Notification Service",null,null,this.getTagsForStencil("mxgraph.office.services",\r\n"push notification service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.registrar_service;",56,52,"","Registrar Service",null,null,this.getTagsForStencil("mxgraph.office.services","registrar service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.response_group_service;",\r\n58,54,"","Response Group Service",null,null,this.getTagsForStencil("mxgraph.office.services","response group service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.skype_for_business_storage_service;",62,58,"","Skype for Business Storage Service",null,null,this.getTagsForStencil("mxgraph.office.services",\r\n"skype for business storage service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.user_services;",59,59,"","User Services",null,null,this.getTagsForStencil("mxgraph.office.services","user services","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.verification_service;",\r\n57,59,"","Verification Service",null,null,this.getTagsForStencil("mxgraph.office.services","verification service","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.web_services;",60,56,"","Web Services",null,null,this.getTagsForStencil("mxgraph.office.services","web services","office service ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.word_automation_services;",60,49,"","Word Automation Services",null,null,this.getTagsForStencil("mxgraph.office.services","word automation services","office service ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.services.xmpp_service;",\r\n58,52,"","XMPP Service",null,null,this.getTagsForStencil("mxgraph.office.services","xmpp service","office service ").join(" "))];this.addPalette("officeServices","Office / Services",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addOfficeSitesPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.access_services;",\r\n59,49,"","Access Services",null,null,this.getTagsForStencil("mxgraph.office.sites","access services","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.blog_site;",56,49,"","Blog Site",null,null,this.getTagsForStencil("mxgraph.office.sites","blog site","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.business_connectivity_services;",\r\n34,51,"","Business Connectivity Services",null,null,this.getTagsForStencil("mxgraph.office.sites","business connectivity services","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.excel_services;",60,49,"","Excel Services",null,null,this.getTagsForStencil("mxgraph.office.sites","excel services",\r\n"office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.meeting_workspace_site;",58,50,"","Meeting Workspace Site",null,null,this.getTagsForStencil("mxgraph.office.sites","meeting workspace site","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.my_site;",\r\n58,49,"","My Site",null,null,this.getTagsForStencil("mxgraph.office.sites","my site","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.powerpoint_automation_services;",59,49,"","PowerPoint Automation Services",null,null,this.getTagsForStencil("mxgraph.office.sites","powerpoint automation services",\r\n"office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.publish;",57,48,"","Publish",null,null,this.getTagsForStencil("mxgraph.office.sites","publish","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.site_collection;",\r\n52,40,"","Site Collection",null,null,this.getTagsForStencil("mxgraph.office.sites","site collection","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.site_shared;",56,50,"","Site Shared",null,null,this.getTagsForStencil("mxgraph.office.sites","site shared","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.site_team;",\r\n60,49,"","Site, Team",null,null,this.getTagsForStencil("mxgraph.office.sites","site team","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.subsite;",53,40,"","Subsite",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.subsite;fillColor=#2072B8;",\r\n53,40,"","Subsite (blue)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.subsite;fillColor=#DA4026;",53,40,"","Subsite (orange)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.subsite;fillColor=#7FBA42;",\r\n53,40,"","Subsite (green)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.subsite;fillColor=#CCCBCB;",53,40,"","Subsite (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.subsite;",\r\n38,29,"","Subsite (small)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute small","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.upgrade_site;",59,48,"","Upgrade Site",null,null,this.getTagsForStencil("mxgraph.office.sites","upgrade site","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.website;",\r\n59,49,"","Website",null,null,this.getTagsForStencil("mxgraph.office.sites","website","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.website_public;",58,48,"","Website, Public",null,null,this.getTagsForStencil("mxgraph.office.sites","website public","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.wiki_site;",\r\n59,50,"","Wiki Site",null,null,this.getTagsForStencil("mxgraph.office.sites","wiki_site","office site ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.sites.word_automation_services;",60,49,"","Word Automation Services",null,null,this.getTagsForStencil("mxgraph.office.sites","word automation services","office site ").join(" "))];\r\nthis.addPalette("officeSites","Office / Sites",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addOfficeUsersPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.administrator;",58,56,"","Administrator",null,null,this.getTagsForStencil("mxgraph.office.users",\r\n"administrator","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.approver;",59,55,"","Approver",null,null,this.getTagsForStencil("mxgraph.office.users","approver","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.call_center_agent;",\r\n46,55,"","Call Center Agent",null,null,this.getTagsForStencil("mxgraph.office.users","call center agent","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.communications;",54,58,"","Communications",null,null,this.getTagsForStencil("mxgraph.office.users","communications","office user ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.conferencing_attendant;",53,59,"","Conferencing Attendant",null,null,this.getTagsForStencil("mxgraph.office.users","conferencing attendant","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.credentials;",\r\n56,58,"","Credentials",null,null,this.getTagsForStencil("mxgraph.office.users","credentials","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.csv_file;",59,43,"","CSV File",null,null,this.getTagsForStencil("mxgraph.office.users","csv comma separated value file","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.distribution_group;",\r\n58,59,"","Distribution Group",null,null,this.getTagsForStencil("mxgraph.office.users","distribution group","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.dynamic_distribution_group;",58,59,"","Dynamic Distribution Group",null,null,this.getTagsForStencil("mxgraph.office.users","dynamic distribution group",\r\n"office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.mail_user;",58,59,"","Mail User",null,null,this.getTagsForStencil("mxgraph.office.users","mail user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.meeting;",\r\n59,38,"","Meeting",null,null,this.getTagsForStencil("mxgraph.office.users","meeting","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.mobile_user;",59,56,"","Mobile User",null,null,this.getTagsForStencil("mxgraph.office.users","mobile user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.online_user;",\r\n54,43,"","Online User",null,null,this.getTagsForStencil("mxgraph.office.users","online user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.on_premises_user;",49,59,"","On-Premises User",null,null,this.getTagsForStencil("mxgraph.office.users","on premises user","office user ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.outlook_user;",63,55,"","Outlook User",null,null,this.getTagsForStencil("mxgraph.office.users","outlook user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.response_group;",\r\n58,54,"","Response Group",null,null,this.getTagsForStencil("mxgraph.office.users","response group","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.role_group;",59,56,"","Role Group",null,null,this.getTagsForStencil("mxgraph.office.users","role group","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.skype_commercial_user;",\r\n59,56,"","Skype Commercial User",null,null,this.getTagsForStencil("mxgraph.office.users","skype commercial user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.skype_for_business_user;",59,56,"","Skype for Business User",null,null,this.getTagsForStencil("mxgraph.office.users","skype for business user",\r\n"office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.tenant_admin;",56,58,"","Tenant Admin",null,null,this.getTagsForStencil("mxgraph.office.users","tenant admin","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.um_enabled_user;",\r\n58,59,"","UM-Enabled User",null,null,this.getTagsForStencil("mxgraph.office.users","um enabled user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.universal_security_group;",58,58,"","Universal Security Group",null,null,this.getTagsForStencil("mxgraph.office.users","universal security group",\r\n"office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user;",46,50,"","User",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user;fillColor=#2072B8;",\r\n46,50,"","User (blue)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user;fillColor=#DA4026;",46,50,"","User (orange)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user;fillColor=#7FBA42;",\r\n46,50,"","User (green)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user;fillColor=#CCCBCB;",46,50,"","User (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user;",\r\n32,35,"","User (small)",null,null,this.getTagsForStencil("mxgraph.office.users","user small","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users;",46,50,"","Users",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users;fillColor=#2072B8;",\r\n46,50,"","Users (blue)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users;fillColor=#DA4026;",46,50,"","Users (orange)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users;fillColor=#7FBA42;",\r\n46,50,"","Users (green)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users;fillColor=#CCCBCB;",46,50,"","Users (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users_two;",\r\n57,43,"","Users, Two",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users_two;fillColor=#2072B8;",57,43,"","Users, Two (blue)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users_two;fillColor=#DA4026;",57,43,"","Users, Two (orange)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users_two;fillColor=#7FBA42;",\r\n57,43,"","Users, Two (green)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.users_two;fillColor=#CCCBCB;",57,43,"","Users, Two (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_accounts;",59,59,"","User Accounts",null,null,this.getTagsForStencil("mxgraph.office.users","user accounts","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_external;",\r\n59,50,"","User External",null,null,this.getTagsForStencil("mxgraph.office.users","user external","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_services;",59,59,"","User Services",null,null,this.getTagsForStencil("mxgraph.office.users","user services","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.user_store;",\r\n50,55,"","User Store",null,null,this.getTagsForStencil("mxgraph.office.users","user store","office user ").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;align=center;shape=mxgraph.office.users.writer;",54,59,"","Writer",null,null,this.getTagsForStencil("mxgraph.office.users","writer","office user ").join(" "))];this.addPalette("officeUsers",\r\n"Office / Users",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addPidPalette=function(a,b){this.setCurrentSearchEntryLibrary("pid","pidInstruments");this.addPidInstrumentsPalette();this.setCurrentSearchEntryLibrary("pid","pidMisc");this.addPidMiscPalette();this.setCurrentSearchEntryLibrary("pid","pidValves");this.addPidValvesPalette();this.setCurrentSearchEntryLibrary("pid","pidCompressors");this.addPidCompressorsPalette();this.setCurrentSearchEntryLibrary("pid","pidEngines");this.addPidEnginesPalette();this.setCurrentSearchEntryLibrary("pid",\r\n"pidFilters");this.addPidFiltersPalette();this.setCurrentSearchEntryLibrary("pid","pidFlow Sensors");this.addPidFlowSensorsPalette();this.setCurrentSearchEntryLibrary("pid","pidPiping");this.addPidPipingPalette();for(var e="Instruments;Misc;Valves;Compressors;Engines;Filters;Flow Sensors;Piping".split(";"),c=0;c<a.length;c++)0>mxUtils.indexOf(e,a[c])&&(this.setCurrentSearchEntryLibrary("pid","pid"+a[c]),this.addStencilPalette("pid"+a[c],"Proc. Eng. / "+a[c],b+"/pid/"+a[c].toLowerCase().replace(" ",\r\n"_")+".xml",";html=1;pointerEvents=1;align=center;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;",null,null,null,null,null,"pid"));this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addPidInstrumentsPalette=function(){var a="html=1;outlineConnect=0;align=center;dashed=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2",b="html=1;outlineConnect=0;align=center;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2";this.addPaletteFunctions("pidInstruments",\r\n"Proc. Eng. / Instruments",!1,[this.createVertexTemplateEntry(a+"inst.discInst;mounting=room",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Discrete Instrument (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst","pid process instrumentation engineering instrument engineering discrete control room").join(" ")),this.createVertexTemplateEntry(a+"inst.discInst;mounting=field",\r\n50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Discrete Instrument (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst","pid process instrumentation engineering instrument engineering discrete field").join(" ")),this.createVertexTemplateEntry(a+"inst.discInst;mounting=inaccessible",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',\r\n"Discrete Instrument (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst","pid process instrumentation engineering instrument engineering discrete inaccessible").join(" ")),this.createVertexTemplateEntry(a+"inst.discInst;mounting=local",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Discrete Instrument (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst",\r\n"pid process instrumentation engineering instrument engineering discrete local panel").join(" ")),this.createVertexTemplateEntry(a+"inst.sharedCont;mounting=room",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Shared Control/Display in DCS (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display room").join(" ")),\r\nthis.createVertexTemplateEntry(a+"inst.sharedCont;mounting=field",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Shared Control/Display in DCS (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display dcs field").join(" ")),this.createVertexTemplateEntry(a+"inst.sharedCont;mounting=inaccessible",\r\n50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Shared Control/Display in DCS (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display dcs inaccessible").join(" ")),this.createVertexTemplateEntry(a+"inst.sharedCont;mounting=local",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',\r\n"Shared Control/Display in DCS (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display dcs local panel").join(" ")),this.createVertexTemplateEntry(a+"inst.compFunc;mounting=room",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Computer Function (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst",\r\n"compFunc","pid process instrumentation engineering instrument engineering computer function control room").join(" ")),this.createVertexTemplateEntry(a+"inst.compFunc;mounting=field",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Computer Function (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc","pid process instrumentation engineering instrument engineering computer function field").join(" ")),\r\nthis.createVertexTemplateEntry(a+"inst.compFunc;mounting=inaccessible",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Computer Function (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc","pid process instrumentation engineering instrument engineering computer function inaccessible").join(" ")),this.createVertexTemplateEntry(a+"inst.compFunc;mounting=local",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',\r\n"Computer Function (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc","pid process instrumentation engineering instrument engineering computer function local panel").join(" ")),this.createVertexTemplateEntry(a+"inst.progLogCont;mounting=room",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Programmable Logic Control (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst",\r\n"progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc room").join(" ")),this.createVertexTemplateEntry(a+"inst.progLogCont;mounting=field",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Programmable Logic Control (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc field").join(" ")),\r\nthis.createVertexTemplateEntry(a+"inst.progLogCont;mounting=inaccessible",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Programmable Logic Control (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc inaccessible").join(" ")),this.createVertexTemplateEntry(a+"inst.progLogCont;mounting=local",\r\n50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:width;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Programmable Logic Control (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc local panel").join(" ")),this.createVertexTemplateEntry(a+"inst.logic;mounting=room",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',\r\n"Logic (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering control room").join(" ")),this.createVertexTemplateEntry(a+"inst.logic;mounting=field",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Logic (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering field").join(" ")),\r\nthis.createVertexTemplateEntry(a+"inst.logic;mounting=inaccessible",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',"Logic (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering inaccessible").join(" ")),this.createVertexTemplateEntry(a+"inst.logic;mounting=local",50,50,\'<table cellpadding="4" cellspacing="0" border="0" style="font-size:1em;width:100%;height:100%;"><tr><td>TI</td></tr><tr><td>##</td></table> \',\r\n"Logic (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering local panel").join(" ")),this.createVertexTemplateEntry(b+"inst.indicator;mounting=room;overflow=fill;indType=inst",50,100,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>\',\r\n"Indicator (Instrument)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator").join(" ")),this.createVertexTemplateEntry(b+"inst.indicator;mounting=room;overflow=fill;indType=ctrl",50,100,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>\',\r\n"Indicator (Control)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator control").join(" ")),this.createVertexTemplateEntry(b+"inst.indicator;mounting=room;overflow=fill;indType=func",50,100,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>\',\r\n"Indicator (Function)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator function").join(" ")),this.createVertexTemplateEntry(b+"inst.indicator;mounting=room;overflow=fill;indType=plc",50,100,\'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td align="center" height="25">TI</td></tr><tr><td align="center" height="25">##</td></tr><tr><td align="center" valign="bottom"></td></tr></table>\',\r\n"Indicator (PLC)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator plc programmable logic control").join(" "))])};Sidebar.prototype.addPidValvesPalette=function(){var a="dashed=0;outlineConnect=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2valves.valve;valveType=",\r\na=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;pointerEvents=1;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2valves.";this.addPaletteFunctions("pidValves","Proc. Eng. / Valves",!1,[this.createVertexTemplateEntry(b+"gate",100,60,"","Gate Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate").join(" ")),this.createVertexTemplateEntry(b+"gate;defState=closed",100,60,"",\r\n"Normally Closed Gate Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering normally closed nc gate").join(" ")),this.createVertexTemplateEntry(b+"ball",100,60,"","Ball Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering ball").join(" ")),this.createVertexTemplateEntry(b+"ball;defState=closed",100,60,"","Normally Closed Ball Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves",\r\n"valve","pid process instrumentation engineering normally closed nc ball").join(" ")),this.createVertexTemplateEntry(b+"globe",100,60,"","Globe Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering globe").join(" ")),this.createVertexTemplateEntry(b+"butterfly",100,60,"","Butterfly Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering butterfly").join(" ")),this.createVertexTemplateEntry(b+\r\n"check;",100,60,"","Check Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering check").join(" ")),this.createVertexTemplateEntry(b+"plug",100,60,"","Plug Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering plug").join(" ")),this.createVertexTemplateEntry(b+"needle",100,60,"","Needle Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering needle").join(" ")),\r\nthis.createVertexTemplateEntry(b+"selfDrain",100,60,"","Self Draining Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering self draining").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=man",100,100,"","Gate Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate manual").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=diaph",100,100,"","Gate Valve (Diaphragm)",\r\nnull,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate diaphragm").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=balDiaph",100,100,"","Gate Valve (Balanced Diaphragm)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate balanced diaphragm").join(" ")),this.addEntry("pid process instrumentation engineering valve gate powered",function(){var a=new mxCell("",new mxGeometry(0,0,100,\r\n100),b+"gate;actuator=powered");a.vertex=!0;var c=new mxCell("",new mxGeometry(32.5,0,35,35),"part=1;strokeColor=none;fillColor=none;fontStyle=1;fontSize=14;");c.vertex=!0;a.insert(c);return sb.createVertexTemplateFromCells([a],100,100,"Gate Valve (Powered)")}),this.createVertexTemplateEntry(b+"gate;actuator=digital",100,100,"","Gate Valve (Digital)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate digital").join(" ")),this.createVertexTemplateEntry(b+\r\n"gate;actuator=elHyd",100,100,"","Gate Valve (Electro-Hydraulic)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate electro hydraulic").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=key",100,100,"","Gate Valve (Key)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate key").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=motor",100,100,"","Gate Valve (Motor)",null,\r\nnull,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate motor").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=pilot",100,100,"","Gate Valve (Pilot)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate pilot").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=solenoid",100,100,"","Gate Valve (Solenoid)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate solenoid").join(" ")),\r\nthis.createVertexTemplateEntry(b+"gate;actuator=solenoidManRes",100,100,"","Gate Valve (Solenoid With Manual Reset)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate solenoid manual reset").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=spring",100,100,"","Gate Valve (Spring)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate spring").join(" ")),this.createVertexTemplateEntry(b+\r\n"gate;actuator=weight",100,100,"","Gate Valve (Weight)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate weight").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=singActing",100,100,"","Gate Valve (Single Acting Cylinder)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate single acting cylinder").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=dblActing",100,100,\r\n"","Gate Valve (Double Acting Cylinder)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate double acting cylinder").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=angBlow",100,100,"","Angle Blowdown Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle blowdown").join(" ")),this.createVertexTemplateEntry(a+"blockBleedValve;actuator=none",100,130,"","Integrated Block and Bleed Valve",\r\nnull,null,this.getTagsForStencil("mxgraph.pid2valves","blockBleedValve","pid process instrumentation engineering integrated block bleed").join(" ")),this.createVertexTemplateEntry(a+"blockBleedValve;actuator=man",100,170,"","Integrated Block and Bleed Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","blockBleedValve","pid process instrumentation engineering integrated block bleed manual").join(" ")),this.createVertexTemplateEntry(b+"angle;actuator=none",100,80,"","Angle Valve",\r\nnull,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle").join(" ")),this.createVertexTemplateEntry(b+"angle;actuator=man",100,120,"","Angle Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle manual").join(" ")),this.createVertexTemplateEntry(b+"angleGlobe;actuator=none",100,80,"","Angle Globe Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle globe").join(" ")),\r\nthis.createVertexTemplateEntry(b+"angleGlobe;actuator=man",100,120,"","Angle Globe Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle globe manual").join(" ")),this.createVertexTemplateEntry(b+"threeWay;actuator=none",100,80,"","3 Way Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering three way").join(" ")),this.createVertexTemplateEntry(b+"threeWay;actuator=man",100,\r\n120,"","3 Way Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering three way manual").join(" ")),this.createVertexTemplateEntry(a+"autoRecircValve",100,60,"","Auto Recirculation Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","blockBleedValve","pid process instrumentation engineering auto recirculation").join(" "))])};Sidebar.prototype.addPidCompressorsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+\r\n"=bottom;outlineConnect=0;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.compressors.";this.addPaletteFunctions("pidCompressors","Proc. Eng. / Compressors",!1,[this.createVertexTemplateEntry(a+"ac_air_compressor",100,65,"","AC Air Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","ac_air_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"centrifugal_compressor",70,\r\n70,"","Centrifugal Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","centrifugal_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.pid.compressors.centrifugal_compressor_-_turbine_driven;dashed=0;fontSize=8;html=1;overflow=fill;",100,70,\'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr style="height:25%;"><td></td></tr><tr style="height:75%;"><td align="left" style="padding-left:11%;width:100%">T</td></tr></table>\',\r\n"Centrifugal Compressor - Turbine Driven",null,null,this.getTagsForStencil("mxgraph.pid.compressors","centrifugal_compressor_-_turbine_driven","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"compressor",100,100,"","Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"compressor_and_silencers;pointerEvents=1",90,80,"","Compressor and Silencers",\r\nnull,null,this.getTagsForStencil("mxgraph.pid.compressors","compressor_and_silencers","pid process instrumentation engineering silencer").join(" ")),this.createVertexTemplateEntry(a+"liquid_ring_compressor",90,90,"","Liquid Ring Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","liquid_ring_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"reciprocating_compressor",100,40,"","Reciprocating Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors",\r\n"reciprocating_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"reciprocating_compressor_2",50,65,"","Reciprocating Compressor 2",null,null,this.getTagsForStencil("mxgraph.pid.compressors","reciprocating_compressor_2","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(a+"rotary_compressor",42,91,"","Rotary Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","rotary_compressor","pid process instrumentation engineering ").join(" "))])};\r\nSidebar.prototype.addPidEnginesPalette=function(){var a="dashed=0;outlineConnect=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.engines.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.engines.";this.addPaletteFunctions("pidEngines","Proc. Eng. / Engines",!1,[this.createVertexTemplateEntry(a+"electric_motor;fontSize=45;",100,100,"M","Electric Motor",null,null,this.getTagsForStencil("mxgraph.pid.engines",\r\n"electric_motor","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"electric_motor_(ac);fontSize=45;",100,100,"M","Electric Motor (AC)",null,null,this.getTagsForStencil("mxgraph.pid.engines","electric_motor_(ac)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"electric_motor_(dc);fontSize=45;",100,100,"M","Electric Motor (DC)",null,null,this.getTagsForStencil("mxgraph.pid.engines","electric_motor_(dc)","pid process instrumentation engine motor ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"gear;fontSize=45;",100,100,"G","Gear",null,null,this.getTagsForStencil("mxgraph.pid.engines","gear","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"generator;fontSize=45;",100,100,"G","Generator",null,null,this.getTagsForStencil("mxgraph.pid.engines","generator","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"generator_(ac);fontSize=45;",100,100,"G","Generator (AC)",null,null,this.getTagsForStencil("mxgraph.pid.engines",\r\n"generator_(ac)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(a+"generator_(dc);fontSize=45;",100,100,"G","Generator (DC)",null,null,this.getTagsForStencil("mxgraph.pid.engines","generator_(dc)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(b+"turbine",70,100,"","Turbine",null,null,this.getTagsForStencil("mxgraph.pid.engines","turbine","pid process instrumentation engine motor ").join(" "))])};Sidebar.prototype.addPidFiltersPalette=\r\nfunction(){var a="html=1;dashed=0;outlineConnect=0;align=center;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.filters.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.filters.";this.addPaletteFunctions("pidFilters","Proc. Eng. / Filters",!1,[this.createVertexTemplateEntry(b+"filter;",50,50,"","Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","filter","pid process instrumentation filter ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"gas_filter;",50,100,"","Gas Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"gas_filter_(bag,_candle,_cartridge);",50,100,"","Gas Filter (Bag, Candle, Cartridge)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(bag,_candle,_cartridge)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"gas_filter_(belt,_roll);",\r\n50,100,"","Gas Filter (Belt, Roll)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(belt,_roll)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"gas_filter_(fixed_bed);",50,100,"","Gas Filter (Fixed Bed)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(fixed_bed)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(a+"gas_filter_(hepa);",50,100,"HEPA","Gas Filter (HEPA)",null,null,this.getTagsForStencil("mxgraph.pid.filters",\r\n"gas_filter_(hepa)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_filter;",50,100,"","Liquid Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_Filter_(bag,_candle,_cartridge);",50,100,"","Liquid Filter (Bag, Candle, Cartridge)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_Filter_(bag,_candle,_cartridge)","pid process instrumentation filter ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"liquid_filter_(belt,_roll);",50,100,"","Liquid Filter (Belt, Roll)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(belt,_roll)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(a+"liquid_filter_(biological);",50,100,"BIO","Liquid Filter (Biological)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(biological)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+\r\n"liquid_filter_(fixed_bed);",50,100,"","Liquid Filter (Fixed Bed)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(fixed_bed)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(a+"liquid_filter_(ion_exchanger);",50,100,"ION","Liquid Filter (Ion Exchanger)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(ion_exchanger)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_filter_(rotary,_drum_or_disc);",\r\n50,100,"","Liquid Filter (Rotary, Drum or Disc)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(rotary,_drum_or_disc)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_filter_(rotary,_drum_or_disc,_scraper);",55,100,"","Liquid Filter (Rotary, Drum or Disc, Scraper)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(rotary,_drum_or_disc,_scraper)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+\r\n"press_filter;",100,50,"","Press Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","press_filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"suction_filter;",50,100,"","Suction Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","suction_filter","pid process instrumentation filter ").join(" "))])};Sidebar.prototype.addPidFlowSensorsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;outlineConnect=0;dashed=0;html=1;"+\r\nmxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.flow_sensors.";this.addPaletteFunctions("pidFlow Sensors","Proc. Eng. / Flow Sensors",!1,[this.createVertexTemplateEntry(a+"averging_pitot_tube;",50,50,"","Averging Pitot Tube",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","averging_pitot_tube","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"coriolis;",50,50,"","Coriolis",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",\r\n"coriolis","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"flow_nozzle;",50,25,"","Flow Nozzle",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","flow_nozzle","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"flume;pointerEvents=1;",50,50,"","Flume",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","flume","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.pid.flow_sensors.magnetic;dashed=0;align=center;html=1;fontSize=25;",\r\n50,50,"M","Magnetic",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","magnetic","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"pitot_tube;",50,50,"","Pitot Tube",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","pitot_tube","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"positive_displacement;",50,30,"","Positive Displacement",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","positive_displacement",\r\n"process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"rotameter;",75,50,"","Rotameter",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","rotameter","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"target;",50,50,"","Target",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","target","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"turbine;",50,50,"","Turbine",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",\r\n"turbine","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"ultrasonic;",50,50,"","Ultrasonic",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","ultrasonic","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"v-cone;",50,50,"","V-cone",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","v-cone","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"venturi;",50,40,"","Venturi",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",\r\n"venturi","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"vortex;",50,50,"","Vortex",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","vortex","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"wedge;",50,50,"","Wedge",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","wedge","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(a+"weir;",50,50,"","Weir",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",\r\n"weir","process instrumentation sensor ").join(" "))])};Sidebar.prototype.addPidPipingPalette=function(){var a="html=1;dashed=0;outlineConnect=0;align=center;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.piping.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.piping.";this.addPaletteFunctions("pidPiping","Proc. Eng. / Piping",!1,[this.createVertexTemplateEntry(b+"basket_strainer;",50,45,"",\r\n"Basket Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","basket_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"blank;",20,60,"","Blank",null,null,this.getTagsForStencil("mxgraph.pid.piping","blank","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"breather;",50,30,"","Breather",null,null,this.getTagsForStencil("mxgraph.pid.piping","breather","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+\r\n"cap;",10,20,"","Cap",null,null,this.getTagsForStencil("mxgraph.pid.piping","cap","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"closed_figure_8_blind;",20,80,"","Closed Figure 8 Blind",null,null,this.getTagsForStencil("mxgraph.pid.piping","closed_figure_8_blind","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"concentric_reducer;",20,20,"","Concentric Reducer",null,null,this.getTagsForStencil("mxgraph.pid.piping","concentric_reducer",\r\n"process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"cone_strainer;",30,30,"","Cone Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","cone_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"damper;",50,20,"","Damper",null,null,this.getTagsForStencil("mxgraph.pid.piping","damper","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"desuper_heater;",50,50,"DS","Desuper Heater",null,null,this.getTagsForStencil("mxgraph.pid.piping",\r\n"desuper_heater","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"detonation_arrestor;",50,20,"D","Detonation Arrestor",null,null,this.getTagsForStencil("mxgraph.pid.piping","detonation_arrestor","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"diverter_valve;pointerEvents=1;",50,35,"","Diverter Valve",null,null,this.getTagsForStencil("mxgraph.pid.piping","diverter_valve","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+\r\n"double_flange;pointerEvents=1;",5,20,"","Double Flange",null,null,this.getTagsForStencil("mxgraph.pid.piping","double_flange","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"duplex_strainer;",50,40,"","Duplex Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","duplex_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"eccentric_reducer;",20,15,"","Eccentric Reducer",null,null,this.getTagsForStencil("mxgraph.pid.piping",\r\n"eccentric_reducer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"excess_flow_valve;",50,25,"","Excess Flow Valve",null,null,this.getTagsForStencil("mxgraph.pid.piping","excess_flow_valve","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"exhaust_head;",50,40,"","Exhaust Head",null,null,this.getTagsForStencil("mxgraph.pid.piping","exhaust_head","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"expansion_joint;",\r\n50,20,"","Expansion Joint",null,null,this.getTagsForStencil("mxgraph.pid.piping","expansion_joint","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"flame_arrestor;",50,20,"F","Flame Arrestor",null,null,this.getTagsForStencil("mxgraph.pid.piping","flame_arrestor","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"flange;pointerEvents=1;",5,20,"","Flange",null,null,this.getTagsForStencil("mxgraph.pid.piping","flange","process instrumentation piping ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"flange_in;pointerEvents=1;",10,20,"","Flange In",null,null,this.getTagsForStencil("mxgraph.pid.piping","flange_in","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"flexible_hose;pointerEvents=1;",50,25,"","Flexible Hose",null,null,this.getTagsForStencil("mxgraph.pid.piping","flexible_hose","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"hose_connection;pointerEvents=1;",20,20,"","Hose Connection",null,\r\nnull,this.getTagsForStencil("mxgraph.pid.piping","hose_connection","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"in-line_mixer;",50,10,"","In-Line Mixer",null,null,this.getTagsForStencil("mxgraph.pid.piping","in-line_mixer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"in-line_silencer;",50,20,"S","In-Line Silencer",null,null,this.getTagsForStencil("mxgraph.pid.piping","in-line_silencer","process instrumentation piping ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"open_figure_8_blind;",20,80,"","Open Figure 8 Blind",null,null,this.getTagsForStencil("mxgraph.pid.piping","open_figure_8_blind","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"orifice_(quick_change);",10,50,"","Orifice (Quick Change)",null,null,this.getTagsForStencil("mxgraph.pid.piping","orifice_(quick_change)","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"plug;",10,10,"","Plug",null,null,this.getTagsForStencil("mxgraph.pid.piping",\r\n"plug","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"pulsation_dampener;",50,150,"","Pulsation Dampener",null,null,this.getTagsForStencil("mxgraph.pid.piping","pulsation_dampener","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;pointerEvents=1;dashed=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.piping.removable_spool;html=1;overflow=fill;",50,30,\'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td valign="bottom" align="center">RS</td></tr></table>\',\r\n"Removable Spool",null,null,this.getTagsForStencil("mxgraph.pid.piping","removable_spool","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"rotary_valve;pointerEvents=1;",50,20,"","Rotary Valve",null,null,this.getTagsForStencil("mxgraph.pid.piping","rotary_valve","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"spacer;",20,60,"","Spacer",null,null,this.getTagsForStencil("mxgraph.pid.piping","spacer","process instrumentation piping ").join(" ")),\r\nthis.createVertexTemplateEntry(a+"steam_trap;",50,50,"T","Steam Trap",null,null,this.getTagsForStencil("mxgraph.pid.piping","steam_trap","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"t-type_strainer;",20,35,"","T-Type Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","t-type_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"temporary_strainer;",30,30,"","Temporary Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping",\r\n"temporary_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(a+"vent_silencer;",20,80,"S","Vent Silencer",null,null,this.getTagsForStencil("mxgraph.pid.piping","vent_silencer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"welded_connection;",50,20,"","Welded Connection",null,null,this.getTagsForStencil("mxgraph.pid.piping","welded_connection","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"y-type_strainer;pointerEvents=1;",\r\n50,35,"","Y-Type Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","y-type_strainer","process instrumentation piping ").join(" "))])};Sidebar.prototype.addPidMiscPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;outlineConnect=0;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid2",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;outlineConnect=0;align=center;dashed=0;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+\r\n"=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.pid.misc.";this.addPaletteFunctions("pidMisc","Proc. Eng. / Misc",!1,[this.createVertexTemplateEntry(a+"misc.fan;fanType=common",50,50,"","Fan",null,null,this.getTagsForStencil("mxgraph.pid.misc","fan","process instrumentation ").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=common",50,120,"","Column",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation ").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=tray",\r\n50,120,"","Column (Tray)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation tray").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=fixed",50,180,"","Column (Fixed Bed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation fixed bed").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=fluid",50,120,"","Column (Fluidized Bed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation fluidized bed").join(" ")),\r\nthis.createVertexTemplateEntry(a+"misc.column;columnType=baffle",50,120,"","Column (Staggered Baffle Trays)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation staggered baffle tray").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=bubble",50,120,"","Column (Bubble Cap Trays)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation bubble cap tray").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=valve",\r\n50,120,"","Column (Valve Trays)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation valve tray").join(" ")),this.createVertexTemplateEntry(a+"misc.column;columnType=nozzle",50,180,"","Column (Fixed Bed, Spray Nozzle)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation fixed bed spray nozzle").join(" ")),this.createVertexTemplateEntry(a+"misc.conveyor",200,50,"","Conveyor",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor",\r\n"process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"aerator_with_sparger;",35,100,"","Aerator With Sparger",null,null,this.getTagsForStencil("mxgraph.pid.misc","aerator_with_sparger","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"air_cooler;",70,20,"","Air Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","air_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"air_filter;",40,65,"","Air Filter",null,null,this.getTagsForStencil("mxgraph.pid.misc",\r\n"air_filter","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"air_separator;",65.5,106,"","Air Separator",null,null,this.getTagsForStencil("mxgraph.pid.misc","air_separator","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"back_draft_damper;",62,32,"","Back Draft Damper",null,null,this.getTagsForStencil("mxgraph.pid.misc","back_draft_damper","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"bag_filling_machine;",80,100,"","Bag Filling Machine",\r\nnull,null,this.getTagsForStencil("mxgraph.pid.misc","bag_filling_machine","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"belt_skimmer;",70,98,"","Belt Skimmer",null,null,this.getTagsForStencil("mxgraph.pid.misc","belt_skimmer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"bin;",100,65,"","Bin",null,null,this.getTagsForStencil("mxgraph.pid.misc","bin","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"boiler_(dome);",100,120,\r\n"","Boiler (Dome)",null,null,this.getTagsForStencil("mxgraph.pid.misc","boiler_(dome)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"boiler_(dome,_hot_liquid);",100,120,"","Boiler (Dome, Hot Liquid)",null,null,this.getTagsForStencil("mxgraph.pid.misc","boiler_(dome,_hot_liquid)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"box_truck;",120,80,"","Box Truck",null,null,this.getTagsForStencil("mxgraph.pid.misc","box_truck","process instrumentation ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"bucket_elevator;",65,200,"","Bucket Elevator",null,null,this.getTagsForStencil("mxgraph.pid.misc","bucket_elevator","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"chiller;",155,115,"","Chiller",null,null,this.getTagsForStencil("mxgraph.pid.misc","chiller","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"combustion_chamber;",130,100,"","Combustion Chamber",null,null,this.getTagsForStencil("mxgraph.pid.misc","combustion_chamber",\r\n"process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor;",200,60,"","Conveyor",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(belt);",200,50,"","Conveyor (Belt)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(belt)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(belt,_closed);",240,80,"","Conveyor (Belt, Closed)",null,null,\r\nthis.getTagsForStencil("mxgraph.pid.misc","conveyor_(belt,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(belt,_closed,_reversible);",240,80,"","Conveyor (Belt, Closed, Reversible)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(belt,_closed,_reversible)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(chain,_closed);",240,80,"","Conveyor (Chain, Closed)",null,null,this.getTagsForStencil("mxgraph.pid.misc",\r\n"conveyor_(chain,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(screw,_closed);",220,80,"","Conveyor (Screw, Closed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(screw,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"conveyor_(vibrating,_closed);",240,80,"","Conveyor (Vibrating, Closed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(vibrating,_closed)","process instrumentation ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"cooler;",85,90,"","Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower",100,120,"","Cooling Tower",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(dry,_forced_draught);",100,120,"","Cooling Tower (Dry, Forced Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc",\r\n"cooling_tower_(dry,_forced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(dry,_induced_draught);",100,120,"","Cooling Tower (Dry, Induced Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(dry,_induced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(dry,_natural_draught);",100,120,"","Cooling Tower (Dry, Natural Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc",\r\n"cooling_tower_(dry,_natural_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(wet,_forced_draught);",100,120,"","Cooling Tower (Wet, Forced Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet,_forced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(wet,_induced_draught);",100,120,"","Cooling Tower (Wet, Induced Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc",\r\n"cooling_tower_(wet,_induced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(wet,_natural_draught);",100,120,"","Cooling Tower (Wet, Natural Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet,_natural_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cooling_tower_(wet-dry,_natural_draught);",100,120,"","Cooling Tower (Wet-Dry, Natural Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc",\r\n"cooling_tower_(wet-dry,_natural_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"covered_gas_vent;pointerEvents=1;",80,100,"","Covered Gas Vent",null,null,this.getTagsForStencil("mxgraph.pid.misc","covered_gas_vent","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"crane;",100,100,"","Crane",null,null,this.getTagsForStencil("mxgraph.pid.misc","crane","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"curved_gas_vent;pointerEvents=1;",\r\n30,70,"","Curved Gas Vent",null,null,this.getTagsForStencil("mxgraph.pid.misc","curved_gas_vent","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"cyclone;",100,80,"","Cyclone",null,null,this.getTagsForStencil("mxgraph.pid.misc","cyclone","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"dryer;",80,100,"","Dryer",null,null,this.getTagsForStencil("mxgraph.pid.misc","dryer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"elevator_(bucket);",\r\n160,250,"","Elevator (Bucket)",null,null,this.getTagsForStencil("mxgraph.pid.misc","elevator_(bucket)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"elevator_(bucket,_z-form);",430,250,"","Elevator (Bucket, Z-Form)",null,null,this.getTagsForStencil("mxgraph.pid.misc","elevator_(bucket,_z-form)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"fan;",100,100,"","Fan",null,null,this.getTagsForStencil("mxgraph.pid.misc","fan","process instrumentation ").join(" ")),\r\nthis.createVertexTemplateEntry(b+"fan_2;",58,8,"","Fan 2",null,null,this.getTagsForStencil("mxgraph.pid.misc","fan_2","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"filter;",100,100,"","Filter",null,null,this.getTagsForStencil("mxgraph.pid.misc","filter","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"filter_2;",100,100,"","Filter 2",null,null,this.getTagsForStencil("mxgraph.pid.misc","filter_2","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+\r\n"firing_system,_burner;",100,100,"","Firing System, Burner",null,null,this.getTagsForStencil("mxgraph.pid.misc","firing_system,_burner","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"flame_arrestor;",100,40,"","Flame Arrestor",null,null,this.getTagsForStencil("mxgraph.pid.misc","flame_arrestor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"flexible_pipe;pointerEvents=1;",60,16,"","Flexible Pipe",null,null,this.getTagsForStencil("mxgraph.pid.misc",\r\n"flexible_pipe","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"forced_flow_air_cooler;",70,30,"","Forced Flow Air Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","forced_flow_air_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"forklift_(manual);",140,100,"","Forklift (Manual)",null,null,this.getTagsForStencil("mxgraph.pid.misc","forklift_(manual)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"forklift_(truck);",\r\n140,100,"","Forklift (Truck)",null,null,this.getTagsForStencil("mxgraph.pid.misc","forklift_(truck)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"funnel;pointerEvents=1;",40,80,"","Funnel",null,null,this.getTagsForStencil("mxgraph.pid.misc","funnel","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"gas_flare;",60,100,"","Gas Flare",null,null,this.getTagsForStencil("mxgraph.pid.misc","gas_flare","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+\r\n"induced_flow_air_cooler;",93,30,"","Induced Flow Air Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","induced_flow_air_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"industrial_truck;pointerEvents=1;",120,20,"","Industrial Truck",null,null,this.getTagsForStencil("mxgraph.pid.misc","industrial_truck","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"lift;",100,100,"","Lift",null,null,this.getTagsForStencil("mxgraph.pid.misc","lift",\r\n"process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"loading_arm;pointerEvents=1;",120,80,"","Loading Arm",null,null,this.getTagsForStencil("mxgraph.pid.misc","loading_arm","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"mixer;",80,100,"","Mixer",null,null,this.getTagsForStencil("mxgraph.pid.misc","mixer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"palletizer;",80,100,"","Palletizer",null,null,this.getTagsForStencil("mxgraph.pid.misc",\r\n"palletizer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"protective_palette_covering;",80,100,"","Protective Palette Covering",null,null,this.getTagsForStencil("mxgraph.pid.misc","protective_palette_covering","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"roller_conveyor;",160,20,"","Roller Conveyor",null,null,this.getTagsForStencil("mxgraph.pid.misc","roller_conveyor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"rolling_bin;",\r\n100,65,"","Rolling Bin",null,null,this.getTagsForStencil("mxgraph.pid.misc","rolling_bin","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"rotary_screen;",100,65,"","Rotary Screen",null,null,this.getTagsForStencil("mxgraph.pid.misc","rotary_screen","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer;",80,120,"","Screening Device, Sieve, Strainer",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer",\r\n"process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(basket_reel);",80,180,"","Screening Device, Sieve, Strainer (Basket Reel)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(basket_reel)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(coarse_and_fine_screens);",80,120,"","Screening Device, Sieve, Strainer (Coarse and Fine Screens)",null,null,\r\nthis.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(coarse_and_fine_screens)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(coarse_rake);",80,120,"","Screening Device, Sieve, Strainer (Coarse Rake)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(coarse_rake)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(fine_rake);",\r\n80,120,"","Screening Device, Sieve, Strainer (Fine Rake)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(fine_rake)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"screening_device,_sieve,_strainer_(rotating_drum)",80,120,"","Screening Device, Sieve, Strainer (Rotating Drum)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(rotating_drum)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+\r\n"screening_device,_sieve,_strainer_(vibrating);",80,120,"","Screening Device, Sieve, Strainer (Vibrating)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(vibrating)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"ship",105,60,"","Ship",null,null,this.getTagsForStencil("mxgraph.pid.misc","ship","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"silencer;",100,30,"","Silencer",null,null,this.getTagsForStencil("mxgraph.pid.misc",\r\n"silencer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"spraying_device;pointerEvents=1;",60,20,"","Spraying Device",null,null,this.getTagsForStencil("mxgraph.pid.misc","spraying_device","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"spray_cooler;",100,120,"","Spray Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","spray_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"stack,_chimney;",60,100,"","Stack, Chimney",\r\nnull,null,this.getTagsForStencil("mxgraph.pid.misc","stack,_chimney","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"steam_trap;",53,53,"","Steam Trap",null,null,this.getTagsForStencil("mxgraph.pid.misc","steam_trap","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"tank_car,_tank_wagon;",127,80,"","Tank Car, Tank Wagon",null,null,this.getTagsForStencil("mxgraph.pid.misc","tank_car,_tank_wagon","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+\r\n"viewing_glass;",80,50,"","Viewing Glass",null,null,this.getTagsForStencil("mxgraph.pid.misc","viewing_glass","process instrumentation ").join(" "))])}})();(function(){Sidebar.prototype.addRackPalette=function(a,b){for(var e=0;e<a.length;e++)"general"===a[e].toLowerCase()?(this.setCurrentSearchEntryLibrary("rack","rackGeneral"),this.addRackGeneralPalette()):"f5"===a[e].toLowerCase()?(this.setCurrentSearchEntryLibrary("rack","rackF5"),this.addRackF5Palette()):"dell"===a[e].toLowerCase()?(this.setCurrentSearchEntryLibrary("rack","rackDell"),this.addRackDellPalette()):"hpe aruba gateways controllers"===a[e].toLowerCase()?this.addRackHPEArubaGatewaysControllersPalette():\r\n"hpe aruba security"===a[e].toLowerCase()?this.addRackHPEArubaSecurityPalette():"hpe aruba switches"===a[e].toLowerCase()?this.addRackHPEArubaSwitchesPalette():(this.setCurrentSearchEntryLibrary("rack","rack"+a[e]),this.addStencilPalette("rack"+a[e],"Rack / "+a[e],b+"/rack/"+a[e].toLowerCase()+".xml",";html=1;labelPosition=right;align=left;spacingLeft=15;dashed=0;shadow=0;fillColor=#ffffff;",null,null,null,null,null,"rack"));this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addRackGeneralPalette=\r\nfunction(){this.addPaletteFunctions("rackGeneral","Rack / General",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;",180,228.6,"","Rack Cabinet",null,null,"rack equipment general cabinet"),\r\nthis.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;",210,228.6,"","Numbered Rack Cabinet",null,null,"rack equipment general cabinet numbered"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;",\r\n180,228.6,"","Rack Cabinet",null,null,"rack equipment general cabinet"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;",210,228.6,"","Numbered Rack Cabinet",null,null,"rack equipment general cabinet numbered"),\r\nthis.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;text;",160,15,"","Spacing",null,null,"rack equipment general spacing"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.plate;fillColor=#e8e8e8;",160,15,"","Cover Plate",null,null,"rack equipment general cover plate"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.1u_rack_server;",\r\n160,15,"","Server",null,null,"rack equipment general server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.horCableDuct;",160,15,"","Horizontal Cable Duct",null,null,"rack equipment general horizontal cable duct"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.horRoutingBank;",\r\n160,20,"","Horizontal Routing Bank",null,null,"rack equipment general horizontal routing bank"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.neatPatch;",160,30,"","Neat-Patch",null,null,"rack equipment general neat patch"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.shelf;container=1;collapsible=0",\r\n160,15,"","Shelf",null,null,"rack equipment general shelf"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.channelBase;",200,30,"","Channel Base",null,null,"rack equipment general channel base"),this.createVertexTemplateEntry("shape=mxgraph.rackGeneral.cabinetLeg;html=1;shadow=0;dashed=0;fillColor=#444444;strokeColor=#444444;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",\r\n50,50,"","Cabinet Leg",null,null,"rack equipment general cabinet leg support"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.cat5e_enhanced_patch_panel_48_ports;",160,30,"","CAT5e Enhanced Patch Panel 48 ports",null,null,"rack equipment general cat5e enhanced patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.cat5e_rack_mount_patch_panel_24_ports;",\r\n160,15,"","CAT5e Rack Mount Patch Panel 24 ports",null,null,"rack equipment general cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.cat5e_rack_mount_patch_panel_96_ports;",160,60,"","CAT5e Rack Mount Patch Panel 96 ports",null,null,"rack equipment general cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.hub;",\r\n160,30,"","Hub",null,null,"rack equipment general hub"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.general.server_1;",73,150,"","Server 1",null,null,"rack equipment general server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.general.server_2;",\r\n73,150,"","Server 2",null,null,"rack equipment general server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.general.server_3;",73,150,"","Server 3",null,null,"rack equipment general server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.switches_1;",\r\n160,30,"","Switches 1",null,null,"rack equipment general server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.switches_2;",160,30,"","Switches 2",null,null,"rack equipment general server")]);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addRackF5Palette=function(){this.addPaletteFunctions("rackF5","Rack / F5",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_500;",\r\n168,20,"","ARX 500",null,null,"rack equipment f5 arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_1000;",168,40,"","ARX 1000",null,null,"rack equipment f5 arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_1500;",168,20,"","ARX 1500",null,null,"rack equipment f5 arx"),\r\nthis.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_2000;",168,40,"","ARX 2000",null,null,"rack equipment f5 arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_2500;",168,20,"","ARX 2500",null,null,"rack equipment f5 arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_4000;",\r\n168,60,"","ARX 4000",null,null,"rack equipment f5 arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_5000;",168,20,"","ARX 5000",null,null,"rack equipment f5 arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_6000;",168,240,"","ARX 6000",null,null,"rack equipment f5 arx"),\r\nthis.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_1600;",168,20,"","BIG-IP 1600",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_2x00;",168,20,"","BIG-IP 2x00",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_3600;",\r\n168,20,"","BIG-IP 3600",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_3900;",168,20,"","BIG-IP 3900",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_4x00;",168,20,"","BIG-IP 4x00",null,\r\nnull,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_5x00;",168,20,"","BIG-IP 5x00",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_6900;",168,40,"","BIG-IP 6900",null,null,"rack equipment f5 big ip"),\r\nthis.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_89x0;",168,40,"","BIG-IP 89x0",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_7x00;",168,40,"","BIG-IP 7x00",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_10x00;",\r\n168,40,"","BIG-IP 10x00",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_110x0;",168,60,"","BIG-IP 110x0",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.em_4000;",168,20,"","EM 4000",null,null,\r\n"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.firepass_1200;",168,20,"","FirePass 1200",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.firepass_4100;",168,40,"","FirePass 4100",null,null,"rack equipment f5 big ip"),\r\nthis.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.viprion_2400;",168,60,"","VIPRION 2400",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.viprion_4400;",168,120,"","VIPRION 4400",null,null,"rack equipment f5 big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.viprion_4800;",\r\n168,320,"","VIPRION 4800",null,null,"rack equipment f5 big ip")]);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addRackDellPalette=function(){this.addPaletteFunctions("rackDell","Rack / Dell",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.dell_poweredge_1u;",162,15,"","PowerEdge 1U",null,null,"rack equipment dell poweredge 1u"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.dell_poweredge_2u;",\r\n162,30,"","PowerEdge 2U",null,null,"rack equipment dell poweredge 2u"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.dell_poweredge_4u;",162,60,"","PowerEdge 4U",null,null,"rack equipment dell poweredge 4u"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.power_strip;",\r\n162,15,"","Power Strip",null,null,"rack equipment dell power strip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_630;",162,15,"","PowerEdge 630",null,null,"rack equipment dell poweredge 630"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_c4140;",\r\n162,15,"","PowerEdge C4140",null,null,"rack equipment dell poweredge c4140"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m1000e_enclosure;",162,150,"","PowerEdge M1000e Enclosure",null,null,"rack equipment dell poweredge m1000e enclosure"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m420;",\r\n20,37,"","PowerEdge M420",null,null,"rack equipment dell poweredge m420"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m520;",20,37,"","PowerEdge M520",null,null,"rack equipment dell poweredge m520"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m610x;",\r\n20,37,"","PowerEdge M610x",null,null,"rack equipment dell poweredge m610x"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m620;",20,37,"","PowerEdge M620",null,null,"rack equipment dell poweredge m620"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m820;",\r\n20,143,"","PowerEdge M820",null,null,"rack equipment dell poweredge m820"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m915;",20,143,"","PowerEdge M915",null,null,"rack equipment dell poweredge m820"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r240;",\r\n162,15,"","PowerEdge R240",null,null,"rack equipment dell poweredge r240"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r340;",162,15,"","PowerEdge R340",null,null,"rack equipment dell poweredge r340"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r440;",\r\n162,15,"","PowerEdge R440",null,null,"rack equipment dell poweredge r440"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r540;",162,27,"","PowerEdge R540",null,null,"rack equipment dell poweredge r540"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r640;",\r\n162,15,"","PowerEdge R640",null,null,"rack equipment dell poweredge r640"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r6415;",162,15,"","PowerEdge R6415",null,null,"rack equipment dell poweredge r6415"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r6515;",\r\n162,15,"","PowerEdge R6515",null,null,"rack equipment dell poweredge r6515"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r6525;",162,15,"","PowerEdge R6525",null,null,"rack equipment dell poweredge r6525"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r730;",\r\n162,30,"","PowerEdge R730",null,null,"rack equipment dell poweredge r730"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r730xd;",162,30,"","PowerEdge R730xd",null,null,"rack equipment dell poweredge r730xd"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r740;",\r\n162,30,"","PowerEdge R740",null,null,"rack equipment dell poweredge r740"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r740xd;",162,30,"","PowerEdge R740xd",null,null,"rack equipment dell poweredge r740xd"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r740xd2;",\r\n162,30,"","PowerEdge R740xd2",null,null,"rack equipment dell poweredge r740xd2"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r7415;",162,30,"","PowerEdge R7415",null,null,"rack equipment dell poweredge r7415"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r7425;",\r\n162,30,"","PowerEdge R7425",null,null,"rack equipment dell poweredge r7425"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r7515;",162,30,"","PowerEdge R7515",null,null,"rack equipment dell poweredge r7515"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r840;",\r\n162,30,"","PowerEdge R840",null,null,"rack equipment dell poweredge r840"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r940;",162,45,"","PowerEdge R940",null,null,"rack equipment dell poweredge r940"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_xr2;",\r\n162,15,"","PowerEdge XR2",null,null,"rack equipment dell poweredge xr2")]);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addRackHPEArubaGatewaysControllersPalette=function(){this.addPaletteFunctions("rackHPE Aruba Gateways Controllers","Rack / HPE Aruba / Gateways and Controllers",!1,[this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7010_mobility_controller_front;",\r\n142,15,"","Aruba 7010 Mobility Controller (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7010 mobility front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7010_mobility_controller_rear;",142,15,"","Aruba 7010 Mobility Controller (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7010 mobility rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7024_mobility_controller_front;",142,15,"","Aruba 7024 Mobility Controller (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7024 mobility front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7024_mobility_controller_rear;",\r\n142,15,"","Aruba 7024 Mobility Controller (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7024 mobility rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7030_mobility_controller_front;",142,15,"","Aruba 7030 Mobility Controller (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7030 mobility front"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7030_mobility_controller_rear;",142,15,"","Aruba 7030 Mobility Controller (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7030 mobility rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7205_mobility_controller_front;",\r\n142,15,"","Aruba 7205 Mobility Controller (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7205 mobility front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7205_mobility_controller_rear;",142,15,"","Aruba 7205 Mobility Controller (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7205 mobility rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7210_mobility_controller_front;",142,15,"","Aruba 7210 Mobility Controller (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7210 mobility front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7210_mobility_controller_rear;",\r\n142,15,"","Aruba 7210 Mobility Controller (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7210 mobility rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7220_mobility_controller_front;",142,15,"","Aruba 7220 Mobility Controller (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7220 mobility front"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7220_mobility_controller_rear;",142,15,"","Aruba 7220 Mobility Controller (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7220 mobility rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7240_mobility_controller_front;",\r\n142,15,"","Aruba 7240 Mobility Controller (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7240 mobility front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7240_mobility_controller_rear;",142,15,"","Aruba 7240 Mobility Controller (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7240 mobility rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7280_mobility_controller_front;",142,15,"","Aruba 7280 Mobility Controller (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7280 mobility front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_7280_mobility_controller_rear;",\r\n142,15,"","Aruba 7280 Mobility Controller (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 7280 mobility rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_9004_4_port_gbe_gateway_front;",71,15,"","Aruba 9004 4-Port GbE Gateway (back)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 9004 port gbe front"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_9004_4_port_gbe_gateway_back;",71,15,"","Aruba 9004 4-Port GbE Gateway (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 9004 port gbe back"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_9004_dual_rackmount;",\r\n142,15,"","Aruba 9004 dual rackmount",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 9004 dual rackmount"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_9012_10_port_gbe_gateway_front;",142,15,"","Aruba 9012 10-Port GbE Gateway (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 9012 10 port gbe front"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_9012_10_port_gbe_gateway_back;",142,15,"","Aruba 9012 10-Port GbE Gateway (back)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller 9012 10 port gbe back"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_clearpass_c1000_front;",\r\n142,15,"","Aruba ClearPass C1000 (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller clearpass c1000 front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_mobility_master_10k_front;",142,15,"","Aruba Mobility Master 10k (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller mobility master 10k front"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_mobility_master_10k_rear;",142,15,"","Aruba Mobility Master 10k (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller mobility master 10k rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_mobility_master_1k_front;",\r\n142,15,"","Aruba Mobility Master 1k (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller mobility master 1k front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_mobility_master_1k_rear;",142,15,"","Aruba Mobility Master 1k (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller mobility master 1k rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_mobility_master_5k_front;",142,15,"","Aruba Mobility Master 5k (front)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller mobility master 5k front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.gateways_controllers.aruba_mobility_master_5k_rear;",\r\n142,15,"","Aruba Mobility Master 5k (rear)",null,null,"rack equipment hpe hp aruba hewlett packard enterprise gateway controller mobility master 5k rear")])};Sidebar.prototype.addRackHPEArubaSecurityPalette=function(){this.addPaletteFunctions("rackHPE Aruba Security","Rack / HPE Aruba / Security",!1,[this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.security.aruba_clearpass_c1000_front;",142,15,"",\r\n"Aruba ClearPass C1000 (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba security clearpass c1000 front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.security.aruba_clearpass_c1000_rear;",142,15,"","Aruba ClearPass C1000 (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba security clearpass c1000 rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.security.aruba_clearpass_c2000_front;",\r\n142,15,"","Aruba ClearPass C2000 (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba security clearpass c2000 front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.security.aruba_clearpass_c2000_rear;",142,15,"","Aruba ClearPass C2000 (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba security clearpass c2000 rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.security.aruba_clearpass_c3000_front;",\r\n142,15,"","Aruba ClearPass C3000 (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba security clearpass c3000 front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.security.aruba_clearpass_c3000_rear;",142,15,"","Aruba ClearPass C3000 (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba security clearpass c3000 rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.security.direct_qsfp;",\r\n11,5.7,"","Direct QSFP",null,null,"rack equipment hpe hp hewlett packard enterprise aruba security clearpass direct qsfp")])};Sidebar.prototype.addRackHPEArubaSwitchesPalette=function(){this.addPaletteFunctions("rackHPE Aruba Switches","Rack / HPE Aruba / Switches",!1,[this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.direct_qsfp;",11,5.7,"","Direct QSFP",null,null,"rack equipment hpe hp hewlett packard enterprise aruba direct qsfp"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.direct_sfp;",11,8,"","Direct SFP",null,null,"rack equipment hpe hp hewlett packard enterprise aruba direct sfp"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.fibre_qsfp;",20,5.7,"","Fibre QSFP",null,null,"rack equipment hpe hp hewlett packard enterprise aruba fibre qsfp"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9772a_2530_48g_poeplus_switch;",142,15,"","J9772A 2530-48G PoE+ Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9772a 2530 48g poeplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9773a_2530_24g_poeplus_switch;",\r\n142,15,"","J9773A 2530-24G PoE+ Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9773a 2530 24g poeplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9774a_2530_8g_poeplus_front;",87,15,"","J9774A 2530-8G PoE+ (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9774a 2530 8g poeplus front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9774a_2530_8g_poeplus_rear;",\r\n87,15,"","J9774A 2530-8G PoEplus (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9774a 2530 8g poeplus rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9775a_2530_48g_switch;",142,15,"","J9775A 2530-48G Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9775a 2530 48g switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9776a_2530_24g_switch;",\r\n142,15,"","J9776A 2530-24G Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9776a 2530 24g switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9777a_2530_8g_front;",87,15,"","J9777A 2530-8G (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9777a 2530 8g front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9777a_2530_8g_rear;",\r\n87,15,"","J9777A 2530-8G (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9777a 2530 8g rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9778a_2530_48_poeplus_front;",142,15,"","J9778A 2530-48 PoE+ (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9778a 2530 48 poeplus front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9780a_2530_8_poeplus_front;",\r\n142,15,"","J9780A 2530-8 PoE+ (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9780a 2530 poeplus front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9780a_2530_8_poeplus_rear;",142,15,"","J9780A 2530-8 PoE+ (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9780a 2530 poeplus rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9781a_2530_48_front;",\r\n142,15,"","J9781A 2530-48 (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9781a 2530 48 front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9782a_2530_24_front;",142,15,"","J9782A 2530-24 (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9782a 2530 24 front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9821a_540r_zl2_switch_rear;",\r\n142,56,"","J9821A 540R zl2 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9821a 540r zl2 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9822a_5412r_zl2_switch;",142,98,"","J9822A 5412R zl2 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9822a 5412r zl2 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9822a_5412r_zl2_switch_rear;",\r\n142,98,"","J9822A 5412R zl2 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9822a 5412r zl2 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9827a_5400r_management_module;",98,15,"","J9827A 5400R Management Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9827a 5400r management module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9828a_5400r_700w_poeplus_zl2_power_supply;",\r\n63,43,"","J9828A 5400R 700W PoE+ zl2 Power Supply",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9828a 5400r 700w poeplus zl2 power supply"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9829a_5400r_1100w_poeplus_zl2_power_supply;",63,43,"","J9829A 5400R 1100W PoE+ zl2 Power Supply",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9829a 5400r 1100w poeplus zl2 power supply"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9830b_5400r_2750w_poeplus_zl2_power_supply;",63,43,"","J9830B 5400R 2750W PoE+ zl2 Power Supply",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9830b 5400r 2750w poeplus zl2 power supply"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9831a_5406r_zl2_switch_fan_tray;",\r\n15,53,"","J9831A 5406R zl2 Switch Fan Tray",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9831a 5406r zl2 switch fan tray"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9832a_5412r_zl2_switch_fan_tray;",15,96,"","J9832A 5412R zl2 Switch Fan Tray",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9832a 5412r zl2 switch fan tray"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9840a_msm_775zl_v2_zl_module;",\r\n75,15,"","J9840A MSM 775zl v2 zl Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9840a msm 775zl v2 zl module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9850a_5406r_zl2_switch_rear;",142,55,"","J9850A 5406R zl2 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9850a 5406r zl2 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9850a_540r_zl2_switch;",\r\n142,55,"","J9850A 540R zl2 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9850a 540r zl2 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9851a_5412r_zl2_switch;",142,98,"","J9851A 5412R zl2 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9851a 5412r zl2 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9851a_5412r_zl2_switch_rear;",\r\n142,98,"","J9851A 5412R zl2 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9851a 5412r zl2 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9853a_2530_48g_poeplus_2sfpplus_switch;",142,15,"","J9853A 2530-48G PoE+ 2SFP+ Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9853a 2530 48g poeplus 2sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9854a_2530_24g_poeplus_2sfpplus_switch;",\r\n142,15,"","J9854A 2530-24G PoE+ 2SFP+ Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9854a 2530 24g poeplus 2sfpplus Switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9855a_2530_48g_2sfpplus_switch;",142,15,"","J9855A 2530-48G 2SFP+ Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9855a 2530 48g 2sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9856a_2530_24g_2sfpplus_switch;",\r\n142,15,"","J9856A 2530-24G 2SFP+ Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9856a 2530 24g 2sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9857a_adv_svcs_v2_zl_module;",75,15,"","J9857A Adv Svcs v2 zl Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9857a adv svcs v2 zl module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9858a_adv_svcs_v2_zl_module;",\r\n75,15,"","J9858A Adv Svcs v2 zl Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9858a adv svcs v2 zl module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j993a_8_port_1g_10gbe_sfpplus_with_macsec_v3_zl2_module;",75,15,"","J993A 8-port 1G 10GbE SFP+ with MACsec v3 zl2 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j993a 8 port 1g 10gbe sfpplus with macsec v3 zl2 module"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9986a_24p_gigt_module;",75,15,"","J9986A 24p GigT Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9986a 24p gigt module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9987a_24_port_10_100_1000base_t_with_macsec_v3_zl2_module;",\r\n75,15,"","J9987A 24-port 10/100/1000BASE-T with MACsec v3 zl2 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9987a 24 port 10 100 1000base with macsec v3 zl2 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9988a_24_port_1gbe_sfp_with_magsec_v3_zl2_module;",75,15,"","J9988A 24-port 1GbE SFP with MAGsec v3 zl2 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9988A 24 port 1gbe sfp with magsec v3 zl2 module"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9989a_12_port_10_100_1000base_t_poeplus_and_12_port_1gbe_sfp_with_macsec_v3_zl2_module;",75,15,"","J9989A 12-port 10/100/1000BASE-T PoE+ and 12-port 1GbE SFP with MACsec v3 zl2 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9989a 12 port 10 100 1000base poeplus and 12 port 1gbe sfp with macsec v3 zl2 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9990a_20p_gigt_4p_sfpplus_module;",\r\n75,15,"","J9990A 20p GigT 4p SFP+ Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9990a 20p gigt 4p sfpplus module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9991a_20_port_10_100_1000base_t_poeplus_and_4_port_1_2.5_5_10gbase_t_poeplus_with_macsec_v3_zl2_module;",75,15,"","J9991A 20-port 10/100/1000BASE-T PoE+ and 4 port 1/2.5/5/10GBASE-T PoE+ with MACsec v3 zl2 Module",\r\nnull,null,"rack equipment hpe hp hewlett packard enterprise aruba j9991a 20 port 10 100 1000base poeplus and port 2.5 10gbase poeplus with macsec v3 zl2 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9992a_20_port_10_100_1000base_t_poeplus_and_1_port_40gbe_qsfpplus_withmacsec_v3_zl2_module;",75,15,"","J9992A 20-port 10/100/1000BASE-T PoE+ and 1-port 40GbE QSFP+ with MACsec v3 zl2 Module",\r\nnull,null,"rack equipment hpe hp hewlett packard enterprise aruba j9992a 20 port 10 100 1000base poeplus and port 40gbe qsfpplus withmacsec v3 zl2 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9995a_8p_smart_rate_poeplus_module;",75,15,"","J9995A 8p Smart Rate PoE+ Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9995a 8p smart rate poeplus module"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.j9996a_2_port_40gbe_qsfpplus_with_macsec_v3_zl2_module;",75,15,"","J9996A 2-port 40GbE QSFP+ with MACsec v3 zl2 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba j9996a port 40gbe qsfpplus with macsec v3 zl2 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl070a_2530_8_poeplus_internal_ps_switch;",\r\n82,15,"","JL070A 2530-8 PoE+ Internal PS Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jL070a 2530 poeplus internal ps switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl071a_hpe_aruba_3810m_24_port_gt_1_slot_switch;",142,15,"","JL071A HPE Aruba 3810M 24-port GT 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl071a 3810m 24 port gt slot switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl071a_hpe_aruba_3810m_24_port_gt_1_slot_switch_rear;",142,15,"","JL071A HPE Aruba 3810M 24-port GT 1-slot Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl071a 3810m 24 port gt slot switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl072a_hpe_aruba_3810m_48_port_gt_1_slot_switch;",\r\n142,15,"","JL072A HPE Aruba 3810M 48-port GT 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl072a hpe aruba 3810m 48 port gt slot switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl072a_hpe_aruba_3810m_48_port_gt_1_slot_switch_rear;",142,15,"","JL072A HPE Aruba 3810M 48-port GT 1-slot Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl072a 3810m 48 port gt slot switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl073a_hpe_aruba_3810m_24_port_gt_poeplus_1_slot_switch;",142,15,"","JL073A HPE Aruba 3810M 24-port GT PoEplus 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl073a 3810m 24 port gt poeplus slot switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl073a_hpe_aruba_3810m_24_port_gt_poeplus_1_slot_switch_rear;",\r\n142,15,"","JL073A HPE Aruba 3810M 24-port GT PoE 1-slot Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl073a 3810m 24 port gt poeplus slot switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl074a_hpe_aruba_3810m_48_port_gt_poeplus_1_slot_switch;",142,15,"","JL074A HPE Aruba 3810M 48-port GT PoE+ 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl074a 3810m 48 port gt poeplus slot switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl075a_hpe_aruba_3810m_16_port_sfpplus_2_slot_switch;",142,15,"","JL075A HPE Aruba 3810M 16-port SFP+ 2-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl075a 3810m 16 port sfpplus slot switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl075a_hpe_aruba_3810m_16_port_sfpplus_2_slot_switch_rear;",\r\n142,15,"","JL075A HPE Aruba 3810M 16-port SFP+ 2-slot Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl075a 3810m 16 port sfpplus slot switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl076a_hpe_aruba_3810m_40_port_gt_poeplus_8_port_1_2_5_5_10gbase_t_poeplus_1_slot_switch;",142,15,"","JL076A HPE Aruba 3810M 40-port GT PoE+ 8-port 1/2.5/5/10GBASE-T PoE+ 1-slot Switch",\r\nnull,null,"rack equipment hpe hp hewlett packard enterprise aruba jl076a 3810m 40 port gt poeplus port 10gbase poeplus slot switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl076a_hpe_aruba_3810m_40_port_gt_poeplus_8_port_1_2_5_5_10gbase_t_poeplus_1_slot_switch_rear;",142,15,"","JL076A HPE Aruba 3810M 40-port GT PoE+ 8-port 1/2.5/5/10GBASE-T PoE+ 1-slot Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl076a 3810m 40 port gt poeplus port 10gbase poeplus slot switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl079a3810m_2930m_2_port_40gbe_qsfpplus_module;",41,15,"","JL079A3810M 2930M 2-port 40GbE QSFP+ Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl079a3810m 2930m port 40gbe qsfpplus module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl081a_3810m_2930m_4_1_2_5_5_10_gbe_hpe_smart_rate_module;",\r\n41,15,"","JL081A 3810M 2930M 4 1/2.5/5/10 GbE HPE Smart Rate Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl081a 3810m 2930m 10 gbe smart rate module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl083a_3810m_2930m_4_port_10gbe_sfpplus_module;",41,15,"","JL083A 3810M 2930M 4-port 10GbE SFP+ Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl083a 3810m 2930m port 10gbe sfpplus module"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl084a_3810m_2930m_4_port_stacking_module;",82,15,"","JL084A 3810M 2930M 4-port Stacking Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl084a 3810m 2930m port stacking module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl085a_aruba_6300m_psu_module;",\r\n27,13,"","JL085A Aruba 6300M PSU Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl085a 6300m psu module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl086a_aruba_6300m_psu_module;",27,13,"","JL086A Aruba 6300M PSU Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl086a 6300m psu module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl087a_3810m_2930m_1_port_40gbe_qsfpplus_module;",\r\n41,15,"","JL087A 3810M 2930M 1-port 40GbE QSFP+ Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl087a 3810m 2930m port 40gbe qsfpplus module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl087a_aruba_6300m_psu_module;",27,15,"","JL087A Aruba 6300M PSU Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl087a 6300m psu module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl253a_aruba_2930f_24g_4sfpplus_switch;",\r\n142,15,"","JL253A Aruba 2930F-24G 4SFP+ switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl253a 2930f 24g 4sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl254a_aruba_2930f_48g_4sfpplus_switch;",142,15,"","JL254A Aruba 2930F-48G 4SFP+ switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl254a 2930f 48g 4sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl255a_aruba_2930f_24g_poeplus_4sfpplus_switch;",\r\n142,15,"","JL255A Aruba 2930F-24G PoE+ 4SFP+ switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl255a 2930f 24g poeplus 4sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl256a_aruba_2930f_48g_poeplus_4sfpplus_switch;",142,15,"","JL256A Aruba 2930F-48G PoE+ 4SFP+ switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl256a 2930f 48g poeplus 4sfpplus switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl258a_aruba_2930f_8g_poeplus_2sfpplus_rear;",82,15,"","JL258A Aruba 2930F-8G PoE+ 2SFP+ (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl258a 2930f 8g poeplus 2sfpplus rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl258a_aruba_2930f_8g_poeplus_2sfpplus_switch;",\r\n82,15,"","JL258A Aruba 2930F-8G PoE+ 2SFP+ switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl258a 2930f 8g poeplus 2sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl258a_aruba_2930f_8g_poeplus_2sfpplus_switch_rear;",82,15,"","JL258A Aruba 2930F-8G PoE+ 2SFP+ switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl258a 2930f 8g poeplus 2sfpplus switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl259a_aruba_2930f_24g_4sfp_switch;",142,15,"","JL259A Aruba 2930F-24G 4SFP switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl259a 2930f 24g 4sfp switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl260a_aruba_2930f_48g_4sfp_switch;",\r\n142,15,"","JL260A Aruba 2930F-48G 4SFP switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl260a 2930f 48g 4sfp switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl261a_aruba_2930f_24g_poeplus_4sfp_switch;",142,15,"","JL261A Aruba 2930F-24G PoE+ 4SFP switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl261a 2930f 24g poeplus 4sfp switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl262a_aruba_2930f_48g_poeplus_4sfp_switch;",142,15,"","JL262A Aruba 2930F-48G PoE+ 4SFP switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl262a 2930f 48g poeplus 4sfp switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl263a_aruba_2930f_24g_poeplus_4sfpplus_taa_switch;",\r\n142,15,"","JL263A Aruba 2930F-24G PoE+ 4SFP+ TAA Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl263a 2930f 24g poeplus 4sfpplus taa switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl264a_aruba_2930f_48g_poeplus_4sfpplus_taa_switch;",142,15,"","JL264A Aruba 2930F-48G PoE+ 4SFP+ TAA switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl264a 2930f 48g poeplus 4sfpplus taa switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl319a_aruba_2930m_24g_1_slot_switch;",142,15,"","JL319A Aruba 2930M-24G 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl319a 2930m 24g slot switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl319a_aruba_2930m_24g_1_slot_switch_rear;",\r\n142,15,"","JL319A Aruba 2930M-24G 1-slot Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl319a 2930m 24g slot switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl320a_aruba_2930m_24g_poeplus_1_slot_switch;",142,15,"","JL320A Aruba 2930M-24G PoE+ 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl320a 2930m 24g poeplus slot switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl320a_aruba_2930m_24g_poeplus_1_slot_switch_rear;",142,15,"","JL320A Aruba 2930M-24G PoE+ 1-slot Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl320a 2930m 24g poeplus slot switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl321a_aruba_2930m_48g_1_slot_switch;",\r\n142,15,"","JL321A Aruba 2930M-48G 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl321a 2930m 48g slot switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl321a_aruba_2930m_48g_1_slot_switch_rear;",142,15,"","JL321A Aruba 2930M-48G 1-slot Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl321a 2930m 48g slot switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl322a_aruba_2930m_48g_poeplus_1_slot_switch;",142,15,"","JL322A Aruba 2930M-48G PoE+ 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl322a 2930m 48g poeplus slot switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl322a_aruba_2930m_48g_poeplus_1_slot_switch_rear;",\r\n142,15,"","JL322A Aruba 2930M-48G PoE+ 1-slot Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl322a 2930m 48g poeplus slot switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl323a_aruba_2930m_40g_8_smart_rate_poeplus_1_slot_switch;",142,15,"","JL323A Aruba 2930M-40G 8 Smart Rate PoE+ 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl323a 2930m 40g smart rate poeplus slot switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl324a_aruba_2930m_24_smart_rate_poeplus_1_slot_switch;",142,15,"","JL324A Aruba 2930M-24 Smart Rate PoE+ 1-slot Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl324a 2930m 24 smart rate poeplus slot switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl325a_2930m_2_port_stacking_module;",\r\n23,10,"","JL325A 2930M 2-port Stacking Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl325a 2930m port stacking module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl354a_aruba_2540_24g_4sfpplus_switch;",142,15,"","JL354A Aruba 2540-24G 4SFP+ switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl354a 2540 24g 4sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl355a_aruba_2540_48g_4sfpplus_switch;",\r\n142,15,"","JL355A Aruba 2540-48G 4SFP Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl355a 2540 48g 4sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl356a_aruba_2540_24g_poeplus_4sfpplus_switch;",142,15,"","JL356A Aruba 2540-24G PoE+ 4SFP+ Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl356a 2540 24g poeplus 4sfpplus switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl357a_aruba_2540_48g_poeplus_4sfpplus_switch;",142,15,"","JL357A Aruba 2540-48G PoE+ 4SFP+ Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl357a 2540 48g poeplus 4sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl363a_32p_sfpplus_adv;",\r\n14,107,"","JL363A-32P SFP+ Adv",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl363a 32p sfpplus adv"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl365a_8p_qsfpplus_adv;",14,107,"","JL365A-8P QSFP+ Adv",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl365a 8p qsfpplus adv"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl366a_6p_qsfp28_adv;",\r\n14,107,"","JL366A-6P QSFP28 Adv",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl366a 6p qsfpP28 adv"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl368a_aruba_8400_mgmt_mod;",14,122,"","JL368A Aruba 8400 Mgmt Mod",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl368a 8400 mgmt management mod"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl369a_aruba_8400_x731_fan_tray;",\r\n142,27,"","JL369A Aruba 8400 X731 Fan tray",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl369a 8400 x731 Fan tray"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl370a_aruba_8400_fan_for_x731_fan_tray;",20,23,"","JL370A Aruba 8400 Fan for X731 Fan tray",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl370a 8400 fan for x731 fan tray"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl371a_aruba8400_fan_tray_and_6_fans_bundle;",\r\n142,27,"","JL371A Aruba 8400 Fan tray and 6 fans bundle",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl371a 8400 fan tray and fans bundle"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl375a_aruba_8400_front;",142,112,"","JL375A Aruba 8400 (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl375a 8400 front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl375a_aruba_8400_rear;",\r\n142,112,"","JL375A Aruba 8400 (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl375a 8400 rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl375a_aruba_8400_rear_empty;",142,112,"","JL375A Aruba 8400 (rear, empty)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl375a 8400 rear empty"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl376a_aruba_8400_front;",\r\n142,112,"","JL376A Aruba 8400 (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl376a 8400 front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl376a_aruba_8400_rear;",142,112,"","JL376A Aruba 8400 (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl376a 8400 rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl376a_aruba_8400_rear_empty;",\r\n142,112,"","JL376A Aruba 8400 (rear, empty)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl376a 8400 rear empty"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl479a_aruba_8320_48p_10g_sfp_sfpplus_and_6p_40g_qsfpplus_5_fan_2_ps_switch_bundle;",142,15,"","JL479A Aruba 8320-48p 10G SFP SFP+ and 6p 40G QSFP+ 5 fan 2 PS Switch Bundle",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl479a 8320 48p 10g sfp sfpplus and 6p 40g qsfpplus fan ps switch bundle"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl479a_aruba_8320_48p_10g_sfp_sfpplus_and_6p_40g_qsfpplus_5_fan_2_ps_switch_bundle_rear;",142,15,"","JL479A Aruba 8320 48p 10G SFP SFP+ and 6p 40G QSFP+ 5 fan 2 PS Switch Bundle (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl479a 8320 48p 10g sfp sfpplus and 6p 40g qsfpplus fan ps switch bundle rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl557a_aruba_2930f_48g_poeplus_4sfp_740w_switch;",\r\n142,15,"","JL557A Aruba 2930F-48G PoE+ 4SFP 740W Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl557a 2930f 48g poeplus 4sfp 740w switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl557a_aruba_2930f_48g_poeplus_4sfp_740w_switch_rear;",142,15,"","JL557A Aruba 2930F-48G PoE+ 4SFP 740W Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl557a 2930f 48g poeplus 4sfp 740w switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl558a_aruba_2930f_48g_poeplus_4sfpplus_740w_switch;",142,15,"","JL558A Aruba 2930F-48G PoE+ 4SFP+ 740W Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl558a 2930f 48g poeplus 4sfpplus 740w switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl558a_aruba_2930f_48g_poeplus_4sfpplus_740w_switch_rear;",\r\n142,15,"","JL558A Aruba 2930F-48G PoE+ 4SFP+ 740W Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl558a 2930f 48g poeplus 4sfpplus 740w switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl559a_aruba_2930f_48g_poeplus_4sfpplus_740w_taa_switch;",142,15,"","JL559A Aruba 2930F-48G PoE+ 4SFP+ 740W TAA switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl559a 2930f 48g poeplus 4sfpplus 740w taa switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl559a_aruba_2930f_48g_poeplus_4sfpplus_740w_taa_switch_rear;",142,15,"","JL559A Aruba 2930F-48G PoE+ 4SFP+ 740W TAA switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl559a 2930f 48g poeplus 4sfpplus 740w taa switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl579a_aruba_8320_32p_40g_qsfpplus_5_fans_2_ps_switch_bundle;",\r\n142,15,"","JL579A Aruba 8320-32p-40G QSFP+ 5 fans 2 PS Switch Bundle",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl579a 8320 32p 40g qsfpplus fans ps switch bundle"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl579a_aruba_8320_32p_40g_qsfpplus_5_fans_2_ps_switch_bundle_rear;",142,15,"","JL579A Aruba 8320-32p-40G QSFP+ 5 fans 2 PS Switch Bundle (rear)",null,null,\r\n"rack equipment hpe hp hewlett packard enterprise aruba jl579a 8320 32p 40g qsfpplus fans ps switch bundle rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl581a_aruba_8320_48p_1g_10gbase_t_and_6p_40g_qsfpplus_5_fans_2_ps_switch_bundle;",142,15,"","JL581A Aruba 8320-48p-1G 10GBASE-T and 6p 40G QSFP+ 5 fans 2 PS Switch Bundle",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl581a 8320 48p 1g 10gbase and 6p 40g qsfpplus fans ps switch bundle"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl581a_aruba_8320_48p_1g_10gbase_t_and_6p_40g_qsfpplus_5_fans_2_ps_switch_bundle_rear;",142,15,"","JL581A Aruba 8320-48p-1G 10GBASE-T and 6p 40G QSFP+ 5 fans 2 PS Switch Bundle (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl581a 8320 48p 1g 10gbase and 6p 40g qsfpplus fans ps switch bundle rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl624a_aruba_8325_32y8c_f2b_front;",\r\n142,15,"","JL624A Aruba 8325 32Y8C F2B (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl624a 8325 32y8c f2b front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl624a_aruba_8325_32y8c_f2b_rear;",142,15,"","JL624A Aruba 8325 32Y8C F2B (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl624a 8325 32y8c f2b rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl625a_aruba_8325_32y_8c_b2f_front;",\r\n142,15,"","JL625A Aruba 8325 32Y 8C B2F (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl625a 8325 32y 8c b2f front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl625a_aruba_8325_32y_8c_b2f_rear;",142,15,"","JL625A Aruba 8325 32Y 8C B2F (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl625a 8325 32y 8c b2f rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl626a_aruba_8325_32c_f2b_front;",\r\n142,15,"","JL626A Aruba 8325 32C F2B (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl626a 8325 32c f2b front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl626a_aruba_8325_32c_f2b_rear;",142,15,"","JL626A Aruba 8325 32C F2B (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl626a 8325 32c f2b rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl627a_aruba_8325_32c_b2f_front;",\r\n142,15,"","JL627A Aruba 8325 32C B2F (front)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl627a 8325 32c b2f front"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl627a_aruba_8325_32c_b2f_rear;",142,15,"","JL627A Aruba 8325 32C B2F (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl627a 8325 32c b2f rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl658a_aruba_6300m_24_port_sfpplus_and_4_port_sfp56_switch;",\r\n142,15,"","JL658A Aruba 6300M 24-port SFP+ and 4 port SFP56 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl658a 6300m 24 port sfpplus and port sfp56 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl658a_aruba_6300m_24_port_sfpplus_and_4_port_sfp56_switch_rear;",142,15,"","JL658A Aruba 6300M 24-port SFP+ and 4 port SFP56 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl658a 6300m 24 port sfpplus and port sfp56 switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl659a_aruba_6300m_48_port_hpe_smart_rate_1_2_5_5gbe_class_6_poe_and_4_port_switch;",142,15,"","JL659A Aruba 6300M 48-port HPE Smart Rate 1/2.5/5GbE Class 6 PoE and 4-port Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl659a a6300m 48 port smart rate 5gbe class poe and port switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl659a_aruba_6300m_48_port_hpe_smart_rate_1_2_5_5gbe_class_6_poe_and_4_port_switch_rear;",\r\n142,15,"","JL659A Aruba 6300M 48-port HPE Smart Rate 1/2.5/5GbE Class 6 PoE and 4-port Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl659a 6300m 48 port smart rate 5gbe class poe and port switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl660a_aruba_6300m_24_port_hpe_smart_rate_1_2_5_5_gbe_class_6_poe_and_4_port_switch;",142,15,"","JL660A Aruba 6300M 24-port HPE Smart Rate 1/2.5/5 GbE Class 6 PoE and 4-port switch",\r\nnull,null,"rack equipment hpe hp hewlett packard enterprise aruba jl660a 6300m 24 port smart rate gbe class poe and port switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl660a_aruba_6300m_24_port_hpe_smart_rate_1_2_5_5_gbe_class_6_poe_and_4_port_switch_rear;",142,15,"","JL660A Aruba 6300M 24-port HPE Smart Rate 1/2.5/5 GbE Class 6 PoE and 4-port switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl660a 6300m 24 port smart rate 1 2 5 5 gbe class 6 poe and 4 port switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl661a_aruba_6300m_48_port_1gbe_class_4_poe_and_4_port_sfp56_switch;",142,15,"","JL661A Aruba 6300M 48-port 1GbE Class 4 PoE and 4-port SFP56 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl661a 6300m 48 port 1gbe class poe and port sfp56 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl661a_aruba_6300m_48_port_1gbe_class_4_poe_and_4_port_sfp56_switch_rear;",\r\n142,15,"","JL661A Aruba 6300M 48-port 1GbE Class 4 PoE and 4-port SFP56 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl661a 6300m 48 port 1gbe class poe and port sfp56 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl662a_aruba_6300m_24_port_1gbe_class_4_poe_4_port_sfp56_switch;",142,15,"","JL662A Aruba 6300M 24-port 1GbE Class 4 PoE 4-port SFP56 Switch",\r\nnull,null,"rack equipment hpe hp hewlett packard enterprise aruba jlJL662a 6300m 24 port 1gbe class poe port sfp56 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl662a_aruba_6300m_24_port_1gbe_class_4_poe_4_port_sfp56_switch_rear;",142,15,"","JL662A Aruba 6300M 24-port 1GbE Class 4 PoE 4-port SFP56 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl662a 6300m 24 port 1gbe class poe port sfp56 switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl663a_aruba_6300m_48_port_1gbe_and_4_port_sfp56_switch;",142,15,"","JL663A Aruba 6300M 48-port 1GbE and 4-port SFP56 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl663a 6300m 48 port 1gbe and port sfp56 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl663a_aruba_6300m_48_port_1gbe_and_4_port_sfp56_switch_rear;",\r\n142,15,"","JL663A Aruba 6300M 48-port 1GbE and 4-port SFP56 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl663a 6300m 48 port 1gbe and port sfp56 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl664a_aruba_6300m_24_port_1gbe_and_4_port_sfp56_switch;",142,15,"","JL664A Aruba 6300M 24-port 1GbE and 4-port SFP56 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl664a 6300m 24 port 1gbe and port sfp56 switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl664a_aruba_6300m_24_port_1gbe_and_4_port_sfp56_switch_rear;",142,15,"","JL664A Aruba 6300M 24-port 1GbE and 4-port SFP56 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl664a 6300m 24 port 1gbe and port sfp56 Switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl665a_aruba_6300f_48_port_1gbe_class_4_poe_and_4_port_sfp56_switch;",\r\n142,15,"","JL665A Aruba 6300F 48-port 1GbE Class 4 PoE and 4-port SFP56 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl665a 6300f 48 port 1gbe class poe and port sfp56 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl665a_aruba_6300f_48_port_1gbe_class_4_poe_and_4_port_sfp56_switch_rear;",142,15,"","JL665A Aruba 6300F 48-port 1GbE Class 4 PoE and 4-port SFP56 Switch (rear)",\r\nnull,null,"rack equipment hpe hp hewlett packard enterprise aruba jl665a 6300f 48 port 1gbe class poe and port sfp56 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl666a_aruba_6300f_24_port_1gbe_class_4_poe_and_4_port_sfp56_switch;",142,15,"","JL666A Aruba 6300F 24-port 1GbE Class 4 PoE and 4-port SFP56 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl666a 6300f 24 port 1gbe class poe and port sfp56 switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl666a_aruba_6300f_24_port_1gbe_class_4_poe_and_4_port_sfp56_switch_rear;",142,15,"","JL666A Aruba 6300F 24-port 1GbE Class 4 PoE and 4-port SFP56 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl666a 6300f 24 port 1gbe class poe and port sfp56 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl667a_aruba_6300f_48_port_1gbe_and_4_port_sfp56_switch;",\r\n142,15,"","JL667A Aruba 6300F 48-port 1GbE and 4-port SFP56 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl667a 6300f 48 port 1gbe and port sfp56 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl667a_aruba_6300f_48_port_1gbe_and_4_port_sfp56_switch_rear;",142,15,"","JL667A Aruba 6300F 48-port 1GbE and 4-port SFP56 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl667a 6300f 48 port 1gbe and port sfp56 switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl668a_aruba_6300f_24_port_1gbe_and_4_port_sfp56_rear;",142,15,"","JL668A aruba 6300F 24-port 1GbE and 4-port SFP56 (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl668a 6300f 24 port 1gbe and port sfp56 rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl668a_aruba_6300f_24_port_1gbe_and_4_port_sfp56_switch;",\r\n142,15,"","JL668A Aruba 6300F 24-port 1GbE and 4-port SFP56 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl668a 6300f 24 port 1gbe and port sfp56 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl669_aruba_6300m_fan_module;",41,13,"","JL669 Aruba 6300M Fan Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl669 6300m fan module"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl670a_aruba_6300m_psu_module;",27,13,"","JL670A Aruba 6300M PSU Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl670a 6300m psu module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl687a_aruba_8400x_32y_32p_1_10_25g_sfp_sfpplus_sfp28_module;",\r\n14,107,"","JL687A Aruba 8400X 32Y 32p 1/10/25G SFP SFP+ SFP28 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl687a 8400x 32y 32p 10 25g sfp sfpplus sfp28 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl693a_aruba_12g_poeplus_2g_2sfpplus_switch;",82,15,"","JL693A Aruba 12G PoE+ 2G 2SFP+ Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl693a 12g poeplus 2G 2sfpplus switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl693a_aruba_12g_poeplus_2g_2sfpplus_switch_rear;",82,15,"","JL693A Aruba 12G PoE+ 2G 2SFP+ Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl693a 12g poeplus 2g 2sfpplus switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl724a_aruba_6200f_24_port_1gbe_and_4_port_sfpplus_switch;",\r\n142,15,"","JL724A Aruba 6200F 24-port 1GbE and 4-port SFP+ switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl724a 6200f 24 port 1gbe and port sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl724a_aruba_6200f_24_port_1gbe_and_4_port_sfpplus_switch_rear;",142,15,"","JL724A Aruba 6200F 24-port 1GbE and 4-port SFP+ switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl724a 6200f 24 port 1gbe and port sfpplus switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl725a_aruba_6200f_24_port_1gbe_class_4_poe_and_4_port_sfpplus_370w_switch;",142,15,"","JL725A Aruba 6200F 24-port 1GbE Class 4 PoE and 4-port SFP+ 370W Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl725a 6200f 24 port 1gbe class poe and port sfpplus 370w switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl725a_aruba_6200f_24_port_1gbe_class_4_poe_and_4_port_sfpplus_370w_switch_rear;",\r\n142,15,"","JL725A Aruba 6200F 24-port 1GbE Class 4 PoE and 4-port SFP+ 370W Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl725a 6200f 24 port 1gbe class poe and port sfpplus 370w switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl726a_aruba_6200f_48_port_1gbe_and_4_port_sfpplus_switch;",142,15,"","JL726A Aruba 6200F 48-port 1GbE and 4-port SFP+ Switch",\r\nnull,null,"rack equipment hpe hp hewlett packard enterprise aruba jl726a 6200f 48 port 1gbe and port sfpplus switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl726a_aruba_6200f_48_port_1gbe_and_4_port_sfpplus_switch_rear;",142,15,"","JL726A Aruba 6200F 48-port 1GbE and 4-port SFP+ Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl726a 6200f 48 port 1gbe and port sfpplus switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl727a_aruba_6200f_48_port_1gbe_class_4_poe_and_4_port_sfpplus_370w_switch;",142,15,"","JL727A Aruba 6200F 48-port 1GbE Class 4 PoE and 4-port SFP+ 370W Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl727a 6200f 48 port 1gbe class poe and port sfpplus 370w switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl727a_aruba_6200f_48_port_1gbe_class_4_poe_and_4_port_sfpplus_370w_switch_rear;",\r\n142,15,"","JL727A Aruba 6200F 48-port 1GbE Class 4 PoE and 4-port SFP+ 370W Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl727a 6200f 48 port 1gbe class poe and port sfpplus 370w switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl728a_aruba_6200f_48_port_1gbe_class_4_poe_and_4_port_sfpplus_740w_switch;",142,15,"","JL728A Aruba 6200F 48-port 1GbE Class 4 PoE and 4-port SFP+ 740W Switch",\r\nnull,null,"rack equipment hpe hp hewlett packard enterprise aruba jl728a 6200f 48 port 1gbe class poe and port sfpplus 740w switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl728a_aruba_6200f_48_port_1gbe_class_4_poe_and_4_port_sfpplus_740w_switch_rear;",142,15,"","JL728A Aruba 6200F 48-port 1GbE Class 4 PoE and 4-port SFP+ 740W Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl728a 6200f 48 port 1gbe class poe and port sfpplus 740w switch rear"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.jl9826a_5412r_92g_poeplus_4sfp_zl2_switch;",142,98,"","JL9826A 5412R 92G PoE+ 4SFP zl2 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba jl9826a 5412r 92g poeplus 4sfp zl2 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.lc_sfp;",\r\n17,6,"","LC SFP",null,null,"rack equipment hpe hp hewlett packard enterprise aruba lc sfp"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x26a_aruba_cx_6400_switch;",142,98,"","R0X26A Aruba CX 6400 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0X26a cx 6400 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x26a_aruba_cx_6405_switch_rear;",\r\n142,98,"","R0X26A Aruba CX 6405 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0X26a cx 6405 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x27a_aruba_cx_6410_switch;",142,169,"","R0X27A Aruba CX 6410 Switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0X27a cx 6410 switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x27a_aruba_cx_6410_switch_rear;",\r\n142,169,"","R0X27A Aruba CX 6410 Switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0X27a cx 6410 switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x31a_aruba_6400_management_module;",142,15,"","R0X31A Aruba 6400 Management Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0X31a 6400 management module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x35a_aruba_6400_1800w_ps_w_c16;",\r\n41,20,"","R0X35A Aruba 6400 1800W PS w/C16",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x35a 6400 1800w ps c16"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x36a_aruba_6400_3000w_ps_w_c20;",41,20,"","R0X36A Aruba 6400 3000W PS w/C20",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x36a 6400 3000w ps c20"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x38a_aruba_6400_48p_1gbe_cls4_poe_module;",\r\n142,15,"","R0X38A Aruba 6400-48p 1GbE CLS4 PoE Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x38a 6400 48p 1gbe cls4 poe module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x39a_aruba_6400_48p_1gbe_cls4_poe_4sfp56_module;",142,15,"","R0X39A Aruba 6400-48p 1GbE CLS4 PoE 4SFP56 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x39a 6400 48p 1gbe cls4 poe 4sfp56 module"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x40a_aruba_6400_48p_1gbe_cls6_poe_4sfp56_module;",142,15,"","R0X40A Aruba 6400-48p 1GbE CLS6 PoE 4SFP56 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x40a 6400 48p 1gbe cls6 poe 4sfp56 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x41a_aruba_6400_48p_smart_rate_cls6_poe_4sfp56_module;",\r\n142,15,"","R0X41A Aruba 6400-48p Smart Rate CSL6 PoE 4SFP56 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x41a 6400 48p smart rate csl6 poe 4sfp56 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x42a_aruba_6400_24p_10gt_4sfp56_module;",142,15,"","R0X42A Aruba 6400-24p 10GT 4SFP56 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x42a 6400 24p 10gt 4sfp56 module"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x43a_aruba_6400_24p_sfp_4sfp56_module;",142,15,"","R0X43A Aruba 6400-24p SFP 4SFP56 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x43a 6400 24p sfp 4sfp56 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x44_aruba_6400_48p_10g_25g_sfp28_module;",\r\n142,15,"","R0X44 Aruba 6400-48p 10G/25G SFP28 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x44 6400 48p 10g 25g sfp28 module"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.r0x45a_aruba_6400_12p_40g_100g_qsfp28_module;",142,15,"","R0X45A Aruba 6400-12p 40G/100G QSFP28 Module",null,null,"rack equipment hpe hp hewlett packard enterprise aruba r0x45a 6400 12p 40g 100g qsfp28 module"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.rj45_sfp;",8,6,"","rj45 SFP",null,null,"rack equipment hpe hp hewlett packard enterprise aruba rj45 sfp"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.rj45_sfp_alt;",5,4,"","rj45 SFP alt",null,null,"rack equipment hpe hp hewlett packard enterprise aruba rj45 sfp alt alternative"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.rom67a_aruba_2930m_48p_poe_class_6_switch;",142,15,"","ROM67A Aruba 2930M-48p PoE class 6 switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba rom67a 2930m 48p poe class switch"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.rom67a_aruba_2930m_poe_class_6_switch_rear;",\r\n142,15,"","ROM67A Aruba 2930M PoE class 6 switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba rom67a 2930m poe class switch rear"),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.rom68a_aruba_2930m_24p_poe_class_6_switch;",142,15,"","ROM68A Aruba 2930M-24p PoE class 6 switch",null,null,"rack equipment hpe hp hewlett packard enterprise aruba rom68a 2930m 24p poe class switch"),\r\nthis.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.hpe_aruba.switches.rom68a_aruba_2930m_24p_poe_class_6_switch_rear;",142,15,"","ROM68A Aruba 2930M-24p PoE class 6 switch (rear)",null,null,"rack equipment hpe hp hewlett packard enterprise aruba rom68a 2930m 24p poe class switch rear")])}})();(function(){Sidebar.prototype.addSignsPalette=function(a,b){for(var e=0;e<a.length;e++)this.setCurrentSearchEntryLibrary("signs","signs"+a[e]),this.addStencilPalette("signs"+a[e],"Signs / "+a[e],b+"/signs/"+a[e].toLowerCase()+".xml",";html=1;pointerEvents=1;fillColor=#000000;strokeColor=none;verticalLabelPosition=bottom;verticalAlign=top;align=center;",null,null,null,null,null,"signs");this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addSitemapPalette=function(){this.setCurrentSearchEntryLibrary("sitemap");var a=[this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.page;",120,70,"Page","Page",null,null,this.getTagsForStencil("mxgraph.sitemap","page","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.about_us;",\r\n120,70,"About us","About us",null,null,this.getTagsForStencil("mxgraph.sitemap","about","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.audio;",120,70,"Audio","Audio",null,null,this.getTagsForStencil("mxgraph.sitemap","audio","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.biography;",\r\n120,70,"Biography","Biography",null,null,this.getTagsForStencil("mxgraph.sitemap","biography","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.blog;",120,70,"Blog","Blog",null,null,this.getTagsForStencil("mxgraph.sitemap","blog","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.calendar;",\r\n120,70,"Calendar","Calendar",null,null,this.getTagsForStencil("mxgraph.sitemap","calendar","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.chart;",120,70,"Chart","Chart",null,null,this.getTagsForStencil("mxgraph.sitemap","chart","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.chat;",\r\n120,70,"Chat","Chat",null,null,this.getTagsForStencil("mxgraph.sitemap","chat","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.cloud;",120,70,"Cloud","Cloud",null,null,this.getTagsForStencil("mxgraph.sitemap","cloud","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.contact;",\r\n120,70,"Contact","Contact",null,null,this.getTagsForStencil("mxgraph.sitemap","contact","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.contact_us;",120,70,"Contact us","Contact us",null,null,this.getTagsForStencil("mxgraph.sitemap","contact","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.document;",\r\n120,70,"Document","Document",null,null,this.getTagsForStencil("mxgraph.sitemap","document","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.download;",120,70,"Download","Download",null,null,this.getTagsForStencil("mxgraph.sitemap","download","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.error;",\r\n120,70,"Error","Error",null,null,this.getTagsForStencil("mxgraph.sitemap","error","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.faq;",120,70,"FAQ","FAQ",null,null,this.getTagsForStencil("mxgraph.sitemap","faq frequently asked questions","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.form;",\r\n120,70,"Form","Form",null,null,this.getTagsForStencil("mxgraph.sitemap","form","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.gallery;",120,70,"Gallery","Gallery",null,null,this.getTagsForStencil("mxgraph.sitemap","gallery","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.game;",\r\n120,70,"Game","Game",null,null,this.getTagsForStencil("mxgraph.sitemap","game","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.home;",120,70,"Home","Home",null,null,this.getTagsForStencil("mxgraph.sitemap","home","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.info;",\r\n120,70,"Info","Info",null,null,this.getTagsForStencil("mxgraph.sitemap","info","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.jobs;",120,70,"Jobs","Jobs",null,null,this.getTagsForStencil("mxgraph.sitemap","jobs","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.log;",\r\n120,70,"Log","Log",null,null,this.getTagsForStencil("mxgraph.sitemap","log","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.login;",120,70,"Login","Login",null,null,this.getTagsForStencil("mxgraph.sitemap","login","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.mail;",\r\n120,70,"Mail","Mail",null,null,this.getTagsForStencil("mxgraph.sitemap","mail","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.map;",120,70,"Map","Map",null,null,this.getTagsForStencil("mxgraph.sitemap","map","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.news;",\r\n120,70,"News","News",null,null,this.getTagsForStencil("mxgraph.sitemap","news","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.payment;",120,70,"Payment","Payment",null,null,this.getTagsForStencil("mxgraph.sitemap","payment","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.photo;",\r\n120,70,"Photo","Photo",null,null,this.getTagsForStencil("mxgraph.sitemap","photo","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.portfolio;",120,70,"Portfolio","Portfolio",null,null,this.getTagsForStencil("mxgraph.sitemap","portfolio","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.post;",\r\n120,70,"Post","Post",null,null,this.getTagsForStencil("mxgraph.sitemap","post","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.pricing;",120,70,"Pricing","Pricing",null,null,this.getTagsForStencil("mxgraph.sitemap","pricing","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.print;",\r\n120,70,"Print","Print",null,null,this.getTagsForStencil("mxgraph.sitemap","print","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.products;",120,70,"Products","Products",null,null,this.getTagsForStencil("mxgraph.sitemap","products","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.profile;",\r\n120,70,"Profile","Profile",null,null,this.getTagsForStencil("mxgraph.sitemap","profile","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.references;",120,70,"References","References",null,null,this.getTagsForStencil("mxgraph.sitemap","references","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.script;",\r\n120,70,"Script","Script",null,null,this.getTagsForStencil("mxgraph.sitemap","script","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.search;",120,70,"Search","Search",null,null,this.getTagsForStencil("mxgraph.sitemap","search","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.security;",\r\n120,70,"Security","Security",null,null,this.getTagsForStencil("mxgraph.sitemap","security","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.services;",120,70,"Services","Services",null,null,this.getTagsForStencil("mxgraph.sitemap","services","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.settings;",\r\n120,70,"Settings","Settings",null,null,this.getTagsForStencil("mxgraph.sitemap","settings","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.shopping;",120,70,"Shopping","Shopping",null,null,this.getTagsForStencil("mxgraph.sitemap","shopping","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.sitemap;",\r\n120,70,"Sitemap","Sitemap",null,null,this.getTagsForStencil("mxgraph.sitemap","sitemap","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.slideshow;",120,70,"Slideshow","Slideshow",null,null,this.getTagsForStencil("mxgraph.sitemap","slideshow","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.sports;",\r\n120,70,"Sports","Sports",null,null,this.getTagsForStencil("mxgraph.sitemap","sports","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.success;",120,70,"Success","Success",null,null,this.getTagsForStencil("mxgraph.sitemap","success","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.text;",\r\n120,70,"Text","Text",null,null,this.getTagsForStencil("mxgraph.sitemap","text","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.upload;",120,70,"Upload","Upload",null,null,this.getTagsForStencil("mxgraph.sitemap","upload","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.user;",\r\n120,70,"User","User",null,null,this.getTagsForStencil("mxgraph.sitemap","user","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.video;",120,70,"Video","Video",null,null,this.getTagsForStencil("mxgraph.sitemap","video","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.warning;",\r\n120,70,"Warning","Warning",null,null,this.getTagsForStencil("mxgraph.sitemap","warning","").join(" "))];this.addPalette("sitemap","Sitemap",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addSysMLPalette=function(){this.setCurrentSearchEntryLibrary("sysml","sysmlModel Elements");this.addSysMLModelElementsPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlBlocks");this.addSysMLBlocksPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlPorts and Flows");this.addSysMLPortsAndFlowsPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlConstraint Blocks");this.addSysMLConstraintBlocksPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlActivities");\r\nthis.addSysMLActivitiesPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlInteractions");this.addSysMLInteractionsPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlState Machines");this.addSysMLStateMachinesPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlUse Cases");this.addSysMLUseCasesPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlAllocations");this.addSysMLAllocationsPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlRequirements");this.addSysMLRequirementsPalette();\r\nthis.setCurrentSearchEntryLibrary("sysml","sysmlProfiles");this.addSysMLProfilesPalette();this.setCurrentSearchEntryLibrary("sysml","sysmlStereotypes");this.addSysMLStereotypesPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addSysMLModelElementsPalette=function(a){var b=this,e=[this.addDataEntry("sysml model element comment",180,80,"Comment","1ZS7bsMgFIafhrXCOJGytk6bpZUqZWlHFE4NEgYLn8ROn74Hg5I4FylDlg6W///cgM8WrKyaYRVkqz+8AsvKV1ZWwXtMqhkqsJYJbhQrl0wITg8TbzeyxZjlrQzg8J4GkRp20m4hRSrfNLFZcIQBU7rDvc3pTss2SueRXi+d+Y2umJOW1tSOjIUfjKlWboyr30e3LDiFNDY2apK9NghrKontPZ2fYnkvEGjlm+cZQ/kwK/ANYNhTyT5lZ+m4vDcKdW6Y55gGU2uc1sku+fow6QiLROZ1nV15we6CFqga1tk67yIxcOo5BN+fRAaDX2T50yy77+hIK9lpUJnYCby0Thw+wdT5bdjA5MPeQW6KOoCVaHbTwdco5UGf3ow/S54izriiDDVgLjpDe9jDXbRnD6e9+Pe0i8WjcJM9Xjqp/PRO+gM="),\r\nthis.addDataEntry("sysml model element constraint note",180,80,"Constraint Note","1ZQxb8IwEIV/jVcUO1BYIaUsVKrE0o4WvsaWHDtyDEn663uOLSAUJAaWDlHuPd8921+kkLyouo3jtXy3AjTJ1yQvnLU+VlVXgNaEZUqQ/JUwluFD2NudVTqsZjV3YPwjAywOHLk+QHTIfFVQki/RxXJLyRzdbE0nXXDYS4m5q+CwST+shfnG9zrNN5LXoTTW42vVqJ+g6AxrrlVpUGj4DiFNzffKlNtBvdIMLekrHWosW6k87LAljLcIaNh2OCw4D93dCw9Wuu0GbAXe9djSx9Vp5JG1SniZBmbJk6BK6cd9vIm6PCWdaWKRgN6Gm/+Fe00LRAm7JI01gRgYsXTOthdOp/wnymwyTeorKKwFbySIROwCXtwnhI8wNfbg9jD68g+QG6N2oLlXx3HwLUop6MMqzD+lsCuunrsSfGq6Qns6w0O0p0+nvfj3tOniWbhRnv9Ksf3yp/UL"),\r\nthis.addDataEntry("sysml model element constraint textual note",160,60,"Constraint Textual Note","lVNNb8MgDP01SNuNgtSel6TrZZMm9bAzTdyASiAidEn362cCaZV+SN0ByX72g+dnQXjeDBsnWvlpK9CErwnPnbU+Rs2Qg9aEUVURXhDGKB7C3h9UF2OVtsKB8c8QWCT8CH2EiKw1NEjGm5aE8QUlPHsR5oRNdVCpShH4BsW+Rm7nTzpxOynaEDoo8fWs884e4FtVXiLIENlb47epf4G59I1OYS+Vh20rylDr8SnEhFa1wbREQeAQSGrBeRgeTjxCadwN2Aa8C/L7pCN0LKMrVIKqZaJNmOhiXp+pF/8wSBbet5Pf2ElWWWkNOiEU6mMUhXuyKm6sm0bVsPdzY8K0wfW31NGoqgqsTIsd6C/bKa9sKLg4y5nwcVWfEzNRHmpnj6bKrbZobmGsgWlH6ndcUbIEJzC4UrGb1NKnFsHuL2K4WsIpefd//zG9fJWxNvtJfw=="),\r\nthis.addDataEntry("sysml model element constraint textual note",160,0,"Constraint Textual Note","lVNBbsIwEHyNj5WMI5UzCS2nSpU49GySJVg4XuQsNPD6rmNDSBskerDkHc+s7RlbZEXTrbw+7D6wAiuyN5EVHpHirOkKsFYoaSqRLYVSkodQ7w9WZ/2qPGgPjp4RqCg4aXuEiIh5XqJryWvDLZQk6EjMl5HX0tkm3gk8mVLbhTW1Y2iDRNiILN9Rw9dYzngKrlp4j99cOnQQkKqGdWqSIKs3YHNd7muPR1cVaNEPq1t0tDaXwJ9JrvlguIcvU9GOIcVIPFlo/NCDHkoGrAAbIH9migeryZzGOt3Gsr7xbtJPjJZcKS0efQkJvTf5SuxS51c57k3a10B/hDy5O98A9ZlN55dN5adduF0dHlVIqDeD7ZoI0UNrLnrTl3KcnU65Wtiyi/nvuAkP/84ubs+vy0FJadfbC5VhB+geZqimM0yCl6R4OtKR54PBXA6fL+Zx/zd/AA=="),\r\nthis.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.composite;symbol0=folder;fontStyle=1;spacingTop=15;tabWidth=80;tabHeight=20;tabPosition=left;symbol1=triangle;symbol1Width=7;symbol1Height=10;symbol1Align=right;symbol1VerticalAlign=top;symbol1Spacing=8;symbol1VSpacing=25;symbol1Direction=north;strokeWidth=2;whiteSpace=wrap;align=center;",160,90,"Model","Model",null,null,this.getTagsForStencil("","","sysml model element model").join(" ")),this.addEntry("sysml model element package diagram",\r\nfunction(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>pkg</b> Name</p>\',new mxGeometry(0,0,300,120),"html=1;shape=mxgraph.sysml.package;xSize=90;align=left;spacingLeft=10;overflow=fill;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("\\nSubpackage1",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");\r\nd.vertex=!0;a.insert(d);var e=new mxCell("\\nSubpackage2",new mxGeometry(190,20,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");e.vertex=!0;a.insert(e);var g=new mxCell("&lt;&lt;import&gt;&gt;",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;endArrow=open;dashed=1;verticalAlign=top;labelBackgroundColor=none;endSize=12;html=1;");\r\ng.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);return b.createVertexTemplateFromCells([a],300,120,"Package Diagram")}),this.addEntry("sysml model element package tab",function(){var a=new mxCell("Package1",new mxGeometry(0,0,300,120),"shape=folder;xSize=90;align=left;spacingLeft=10;align=left;verticalAlign=top;spacingLeft=5;spacingTop=-4;tabWidth=70;tabHeight=20;tabPosition=left;html=1;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("\\nSubpackage1",\r\nnew mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");d.vertex=!0;a.insert(d);var e=new mxCell("\\nSubpackage2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");e.vertex=!0;a.insert(e);var g=new mxCell("&lt;&lt;import&gt;&gt;",\r\nnew mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;endArrow=open;dashed=1;verticalAlign=top;labelBackgroundColor=none;endSize=12;html=1;");g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);return b.createVertexTemplateFromCells([a],300,120,"Package (Tab)")}),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;strokeWidth=2;html=1;whiteSpace=wrap;align=center;",160,90,"Package1","Package (Name)",\r\nnull,null,this.getTagsForStencil("","","sysml model element package name").join(" ")),this.createVertexTemplateEntry("shape=note;size=15;align=left;spacingLeft=10;html=1;whiteSpace=wrap;",160,60,"&lt;&lt;problem&gt;&gt;\\nDescription","Problem",null,null,this.getTagsForStencil("","","sysml model element problem").join(" ")),this.createVertexTemplateEntry("shape=note;size=15;align=left;spacingLeft=10;html=1;whiteSpace=wrap;",160,60,"&lt;&lt;rationale&gt;&gt;\\nDescription","Rationale",null,null,this.getTagsForStencil("",\r\n"","sysml model element rationale").join(" ")),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;",160,80,"\\n&lt;&lt;view&gt;&gt;\\n{viewpoint = View name}\\nName","View (Name)",null,null,this.getTagsForStencil("","","sysml model element view name").join(" ")),this.createVertexTemplateEntry("shape=folder;html=1;tabWidth=80;tabHeight=40;tabPosition=left;align=left;verticalAlign=top;spacingLeft=10;whiteSpace=wrap;",160,120,"&lt;&lt;view&gt;&gt;\\nName",\r\n"View",null,null,this.getTagsForStencil("","","sysml model element view").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",120,140,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;viewpoint&gt;&gt;<br/><b>Name</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:left;">stakeholders="..."<br/>purpose="..."<br>concerns="..."<br>languages="..."<br>methods="..."</p>\',"Viewpoint",null,null,this.getTagsForStencil("","","sysml model element viewpoint").join(" ")),\r\nthis.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"&lt;&lt;conform&gt;&gt;","Conform",null,this.getTagsForStencil("","","sysml model element conform").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"&lt;&lt;stereotype1&gt;&gt;\\ndependency1","Dependency",null,this.getTagsForStencil("","","sysml model element dependency").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",\r\n160,0,"&lt;&lt;import&gt;&gt;","Public Package Import",null,this.getTagsForStencil("","","sysml model element public package import").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"&lt;&lt;access&gt;&gt;","Private Package Import",null,this.getTagsForStencil("","","sysml model element private package import").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;"+mxConstants.STYLE_STARTARROW+"=sysMLPackCont;startSize=12;"+\r\nmxConstants.STYLE_ENDARROW+"=none;",160,0,"","Package Containment",null,this.getTagsForStencil("","","sysml model element package containment").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endSize=12;endArrow=block;endFill=0;dashed=1;",160,0,"","Realization",null,this.getTagsForStencil("","","sysml model element realization").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"&lt;&lt;refine&gt;&gt;","Refine",\r\nnull,this.getTagsForStencil("","","sysml model element refine").join(" "))];this.addPalette("sysmlModel Elements","SysML / Model Elements",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLBlocksPalette=function(a){var b=this,e=[this.addEntry("sysml block block definition diagram",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>bdd</b> Namespace1</p>\',new mxGeometry(0,0,300,100),\r\n"html=1;strokeWidth=1;shape=mxgraph.sysml.package;labelX=120;align=left;spacingLeft=10;overflow=fill;recursiveResize=0;");a.vertex=!0;var d=new mxCell("Block1",new mxGeometry(15,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new mxCell("Block2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;");\r\ne.vertex=!0;a.insert(e);var g=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;align=right;html=1;verticalAlign=bottom;endArrow=none;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=none;endFill=0;labelBackgroundColor=none;");g.geometry.relative=!0;g.geometry.x=1;g.edge=!0;a.insert(g);var h=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=\r\n!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.insertEdge(g,!1);return b.createVertexTemplateFromCells([a],300,100,"Block Definition Diagram")}),this.addDataEntry("sysml block relation",160,0,"Relation","zVRNb8IwDP01vUwaCi3aHcrgNGkS+wOhMW20NEapYYVfP9MmLVVh2qYddqjkPNvPHy9NlKRlvXZyX7ygAhMlz1GSOkRqrbJOwZgoFlpFyTKKY8FfFK/ueKeNV+ylA0vfSYjbhKM0B2gRziVPU9HJeFQanVs2nc4LJl4UVHKvyymbR3CkM2nmPmSLRFiyA6yaO4cfjFm0TLSoiMkDprQs0aq3Qtvg2ujzpd50FoCVNqEMqBw2viFP13Z5cdydvoH86GvAEsidOKQeJDgwkvRxyCKr9ph3WR3RK2rm70MqPLgMPHq97BAYyj2JITePmAONEtm46raHGu1u65iMdBxr6KDSZ7ltjmKoYZDXwI5uSEq4Z9TILZiFzN5zhwerUjToejF2aDv9/JgZWgsZ+ZLdXRQXeqjvahZ/qdnjT0UbbPWLFc5GKxSTycNvthh+kv+8xj/aIh/7x6q9t9dv2Sc="),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;verticalAlign=top;align=left;whiteSpace=wrap;",220,340,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;block&gt;&gt;<br/>{encapsulated}<br/><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>constraints</i></p><p style="margin:0px;margin-left:8px;text-align:left;">{x &gt; y}</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-left:8px;text-align:left;">operation1 (p1 : Type1) : Type2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>parts</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 : Block2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>references</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property2 : Block3 [0..*] {ordered}</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property3 : Integer = 99 {readOnly}<br/>property4 : Real = 10.0</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property5 : Type1</p>\',\r\n"Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.createVertexTemplateEntry("shape=umlActor;html=1;verticalLabelPosition=bottom;verticalAlign=top;align=center;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",160,80,"<p>&lt;&lt;actor&gt;&gt;<br/><b>ActorName</b></p>","Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,180,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;valueType&gt;&gt;<br/><b>ValueType1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-left:8px;text-align:left;">operation1 (p1 : Type1) : Type2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 : Type3</p><hr/><p style="margin:0px;margin-left:8px;text-align:center;">&lt;&lt;valueType&gt;&gt;</p><p style="margin:0px;margin-left:8px;text-align:left;">unit = UnitName</p>\',\r\n"ValueType",null,null,this.getTagsForStencil("","","sysml block value type valuetype").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;enumeration&gt;&gt;<br/><b>Enumeration1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:left;">literalName1<br/>literalName2</p>\',"Enumeration",null,null,this.getTagsForStencil("","","sysml block enumeration").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",\r\n80,40,\'<p style="margin:13px;"><b><i>Name</i></b></p>\',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",80,40,\'<p style="margin:5px;">{abstract}<br/><b><i>Name</i></b></p>\',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",\r\n80,40,\'<p style="margin:5px;"><b><i>Name</i></b><br/>{abstract}</p>\',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",200,80,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;stereotype1&gt;&gt;<br/><b>Block1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;">&lt;&lt;stereotype1&gt;&gt;</p><p style="margin:0px;margin-left:8px;text-align:left;">property1 = value</p>\',\r\n"Stereotype Property Compartment",null,null,this.getTagsForStencil("","","sysml block stereotype property compartment").join(" ")),this.addEntry("sysml block namespace compartment",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>namespace</i></p>\',new mxGeometry(0,0,300,120),"shape=rect;align=left;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;\r\nvar d=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var g=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;align=right;verticalAlign=bottom;endArrow=none;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=none;html=1;labelBackgroundColor=none;");\r\ng.geometry.relative=!0;g.geometry.x=1;g.edge=!0;a.insert(g);var h=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.insertEdge(g,!1);\r\nreturn b.createVertexTemplateFromCells([a],300,100,"Namespace Compartment")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",250,100,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>namespace</i></p>\',"Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.addEntry("sysml block structure compartment",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>structure</i></p>\',\r\nnew mxGeometry(0,0,300,120),"shape=rect;align=left;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");\r\ne.vertex=!0;a.insert(e);var g=new mxCell("c1:",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;verticalAlign=bottom;html=1;endArrow=none;edgeStyle=none;labelBackgroundColor=none;");g.geometry.relative=!0;g.edge=!0;a.insert(g);var h=new mxCell("e1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);h=new mxCell("1",new mxGeometry(1,\r\n0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.insertEdge(g,!1);return b.createVertexTemplateFromCells([a],300,100,"Structure Compartment")}),this.addDataEntry("sysml block relation",160,0,"Relation","3VTLboMwEPwa3x2Ieg/kcapUKV/gwNZYNV60bFKSr68BB4IIVQ499YDkHe+MvTMWIk7L5kCqKt4xByvinYhTQuR+VTYpWCsiaXIRb0UUSf+JaL+wu+p2ZaUIHL9CiHrCRdkz9EgWNGq+2gBdgNhkym6s0c5DJ2TGUsRJwaW/8Xbll+DyDRF++9Kh88SkZkX8DDuaWyu8Wt+BvbGtjGxlcg3HcDISF6jRKbsb0aS/Xdu3OHIHhXkPgCUwXX0LgVVsLlOeqvtSD30D9QONVxxbajxTBgF99PTe2ATlNznV9jNq4BnRLx7uN0JdRM/jimdxzdMiqM1NnbpSTkNSIUAyuvBeJYvBWnUCm6jsSxOeXZ6iRRpT/EQ3hBhGzdA5yDgcOzw72Z4AzWJS0fOkpoSXc5sY+4uL65mL8Kc2Mlb/zUNfjj+l/uE+/rN+AA=="),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,60,\'<p style="margin:0px;margin-top:10px;text-align:center;">&lt;&lt;unit&gt;&gt;<br/><p style="margin:0px;margin-left:8px;text-align:center;">{quantityKind = QuantityKind1}<br/><b>Unit1</b></p>\',"Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Unit1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;">&lt;&lt;unit&gt;&gt;<br/>{quantityKind = QuantityKind1}</p>\',\r\n"Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,60,\'<p style="margin:0px;margin-top:10px;text-align:center;">&lt;&lt;quantityKind&gt;&gt;<br/><p style="margin:0px;margin-left:8px;text-align:center;"><b>QuantityKind1</b></p>\',"Quantity Kind",null,null,this.getTagsForStencil("","","sysml block quantity kind").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;fontSize=15;whiteSpace=wrap;",\r\n70,30,\'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"><B>i1: Type1</b><br/>\',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addDataEntry("sysml block instance specification",280,30,"Instance Specification","3VVNj5swEP01HFcCk416DWG7p5VWSv+AgQlYNR7XOF/76zvGBkLYtDmt1B6ieJ7nDeP3PBCl2/b8arhu3rACGaUvUbo1iNav2vMWpIxYLKoozSPGYvpF7Pud3aTfjTU3oOwjBOYJRy4P4JGIrSVRM01wZy/Sw+tfB9dS1nJTCxWlm1ifx/DJoiZo1UMWzvaJS1G7rJLaADOgFZRouBXotg6qAiOFovrZVJ9WdfjvuxgBkRCHWvpx0ZAMu3Su4pZRGHfaEWSzY7Cu4dotDZRuv7EtSZ5T7QyPYPYSTxTuBWmUZntUdic+XHryTPGpERZ2mpcOOZFl4wOISge8a0EPBf1fAVuw5kIpJ1HZxmd88y7FDYi6Caw0YLzzcT0yJz9pESz93N70n7GXTfay/8PeQGBx8PEL7F4t7N4kC43caUTJ5cabmBdoLbZztUBVG2N6tVCD8sggFnNhVcMu1ERjG6xRcfkyoUE6lzcTrsODKWH28rF0y8DOLuwD8hqQdNeO8+qfiReo7yio4pTiGwno9RtySBwMX98Y49tdEHtvxv4esut5YZdOF3YZ6MQHL/ownrsUxjA3/hZlt872c5tJXoDMePmzNkhTuUWJNLK5wn42r6cgHLREpWh+wjPHT8jfxmD1xzEIhIddu3PlKZw+jl7y62/nbw=="),\r\nthis.addDataEntry("sysml block relation",160,0,"Relation","jVPBbsIwDP2a3Esi7U4L4zRpEl8QWi+NlsaV60Lh65c2gdIBEodK9rP9Er/XCFU0w450W39hBU6orVAFIXKMmqEA54TMbCXURkiZhU/IzxfV1VTNWk3g+Z0BGQeO2vUQkXXi6PjsEnQEYltqt3bW+AAdkBkbofKam3DjzSqE4Ks1EZ5Cii34iOztZaRYyTGtDOwTJxLXaNBrt53RPJ479r1cZoLSJjvABpjOoYXAabbH5ZzuYmpufbfRb7SBcW7psKcSEnqv1rVxSMwf2ZKbNRngh8EQ3N1vhibxnxuhHoxo1YMRBJ296MOUZkv9dfKGrKmDWPl/zxjbgDp9AJfr8tcQ9r4q0CGFokc/GvCDnq+WpUVL9B5KTmfefqdspIfhpU/yuU/LgbddW8g6axjS+aFEye/f0R8="),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",\r\n120,60,\'<p style="margin:0px;margin-top:10px;text-align:center;text-decoration:underline;">instance1: Type1<br/></p><p style="margin:0px;margin-top:4px;text-align:center;">value1</p>\',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",160,80,\'<p style="margin:0px;margin-top:10px;text-align:center;text-decoration:underline;">instance1: Type1<br/></p><hr/><p style="margin:0px;margin-top:4px;margin-left:4px;text-align:left;">property1 = 10<br/>property2 = "value"</p>\',\r\n"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addEntry("sysml block instance specification",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:5px;text-align:center;text-decoration:underline;">: Type1<hr/></p>\',new mxGeometry(0,0,200,180),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell(\'<p style="margin:0px;margin-top:5px;text-align:center;text-decoration:underline;">instance1 / property1: Type2<hr/></p>\',\r\nnew mxGeometry(10,30,180,140),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;");d.vertex=!0;a.insert(d);d=new mxCell(\'<p style="margin:0px;margin-top:5px;text-align:center;text-decoration:underline;">instance2 / property2:<br/>Type3<hr/></p><p style="margin:0px;margin-top:4px;margin-left:4px;text-align:left;">property1 = 10<br/>property2 = "value"</p>\',new mxGeometry(20,60,160,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;");\r\nd.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],200,180,"Instance Specification")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,160,\'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;">: Type1</p><hr/>\',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",\r\n160,0,"&lt;&lt;stereotype&gt;&gt;\\ndependency1","Dependency",null,null,this.getTagsForStencil("","","sysml block dependency").join(" ")),this.addDataEntry("sysml block reference association",250,0,"Reference Association","3VRRa4MwEP41eRlMoq6UPda269Ng0F+Q6lXDYk7OtLP99Yuaap11jMJg7EHIfXffJfm+eCxc5tWGRJG9YgKKhWsWLgnRtKu8WoJSLOAyYeGKBQG3HwteJrJ+k+WFINDmJ4SgJRyFOkCLiLLEWAojUbtupTkplzwCGRkLtVAy1RbaoTGYszDKTG7PvvLtEnSyIMIPG2IBukW28ly38IM6TFLYup5IJsMUtVDrHo3afeu6yWs1kLvTBjAHQydbQqDs0Y9DnijbMO3qOuobStuxLynxQDE49Fq3S2HldJvxYW8jKAUzItrF1fl6qLHhtiXhyBLueWMrCEp5Frsm5EMHhHNHwd6qFX01zWBhUSV2oCIRv6eEB50sUSHZpEZdO7BHbS6euZvGqDXExm3ZvSxet4dq0qjgtlGO8OgYP/ZtIOw3Kj6NVGTzCCkBgoTNbcx9z3u4R1WSafbXZeXe8y/pOhvpWpD9zcmc7nqiU2J2g+Wf6WnDfri3w+F69n8C"),\r\nthis.addDataEntry("sysml block reference association",250,0,"Reference Association","3ZVRb4IwEMc/TV+WzFSYM3sUdD4tWeInqHBis9IjR3Xop1+BDmTIYoxLzB5Iete74/r7H5T5YVosSWTbN4xBMX/B/JAQTb1KixCUYh6XMfPnzPO4fZj3OrA7rnZ5Jgi0uSTBqxP2Qu2g9og8x0gKI1G7ark5KLe5BzIyEmqmZKKta43GYMr8YGtS2/t8bJeg4xkRflpTo4bSEyewckWQzBYT1EItWm9Qv6iMGzxH5XKHWAKmYOhgQwiU7XXfzRN5bSZNXJP6jtJWbENy3FEEznsK6juwcKAmvFvbCErA9BLt4qS/1lVxP6+B39OgD54gl0exrkze5S2cFgo2FlXwUyKDmfUqsQYViOgjIdzpOESF1Aq0QW1W8lgWH7tjRqg1RMa9spkjXpaHYlAl77xKLuHRZVwsWofqLwifeggzwsy2evBuiLKZ9n9Oc9KjyaYBUgwEMZtam/PR6OEasCST7b0PKR+9/BHX58EpveqDH4J5Z2N6M57WbC/G+j97em9+AQ=="),\r\nthis.addDataEntry("sysml block part association",250,0,"Part Association","3VXLasMwEPwaXQo1st0QeozzOhUK6Q8o1sYWlbVmraRJvr6yrThO3ZQQKJQeDNrZ3Vlpxkgsnhb7JYkyf0EJmsVzFk8J0barYj8FrVnElWTxjEURdx+LFleyYZPlpSAw9paGqG3YCb2FFhFVhakSVqHxbJU9aJ/cAVmVCj3RKjMOWqO1WLA4yW3h9j4L3RKMnBDhhwuxBNMiK3WsKcKoDmUGK8+JZHPM0Ag9P6NJZQXZhdInyibuUzTAaYpUokAj33JVD2v3XM+4KkkDeT2WgAVYOrgSAu2OvbvsE1UbZl1d1/qKyjGeSyrcUgoe7Wt+Ktx7zUf8ktsdJgM7aHSL3v7OUGPh93bGAzt5EAxtJKjUUaybkF+6J7yzGjZOreSr4RZLh2qxBp2I9D0j3Bo5RY3kkgZN7d4GTWeWP2mKxkBq/cjur+Q1PeyvGhV9b5RveOTBc9tzs3MX0v6g49NARzZOkCQQSDZ2MQ+D4OEeXUll+V8X9vd0HQ10LcldEmQPd/2k18TsrqV/pqcLz09Dez30X45P"),\r\nthis.addDataEntry("sysml block part association",250,0,"Part Association","3VXLbsIwEPwaXyoVmaQU9Uh4nSpVoj9g4iWx6nijjaHA19ckJoGmqRCiEuohkne8s17P2DELx9l2TiJPX1GCZuGUhWNCtNUo245BaxZwJVk4YUHA3ceCWcdsv5zluSAw9hJCUBE2Qq+hQkRRYKyEVWh8tcLutJ/cAFkVCz3SKjEOWqK1mLEwSm3mep/03RCMHBHhpwsNGjggMoGFL4JkU0zQCD1t0KiwguxM6WONMl6o/YHRD47AsaxUIkMj31PleoiqJg9rdGpQQl6AOWAGlnYuhUC7fW7OeaKowqTOq6lvqFzFJqXANcXg0VORj4lbL/KAn9d2m0nAtohucNJfA5We/exf2PKvbRpBofZiWYb83CvhfdSwclJF3+21mDtUiyXoSMQfCeHayDFqpMbcFZraKb/NGI2B2Pol6zPID+Vh2+lS8LNLnvDIey8V52LbznT9RcSnlog5Ye6a3QU3FLO+K/9ez0FLTzaMkCQQSDZ0Mee93sM10pJK0ns/qH+n63PnOb3q0neJeWcH9WZ6urB5WKt/7em7+wU="),\r\nthis.addDataEntry("sysml block shared association",250,0,"Shared Association","3VXLasMwEPwaXQo1st0QeozzOhUK6Q8o1sYWlbVmraRJvr6yrThO3ZQQKJQeDNrZ3Vlpxkgsnhb7JYkyf0EJmsVzFk8J0barYj8FrVnElWTxjEURdx+LFleyYZPlpSAw9paGqG3YCb2FFhFVhakSVqHxbJU9aJ/cAVmVCj3RKjMOWqO1WLA4yW3h9j4L3RKMnBDhhwuxBNMiK3WsKcKoDmUGK8+JZHPM0Ag9P6NJZQXZhdI1JT/FfYoGOE2RShRo5Fuu6mHtnusZVyVpIK/HErAASwdXQqDdsXeXfaJqw6yr61pfUTnGc0mFW0rBo33NT4V7r/mIX3K7w2RgB41u0dvfGWos/N7OeGAnD4KhjQSVOop1E/JL94R3VsPGqZV8Ndxi6VAt1qATkb5nhFsjp6iRXNKgqd3boOnM8idN0RhIrR/Z/ZW8pof9VaOi743yDY88eG57bnbuQtofdHwa6MjGCZIEAsnGLuZhEDzcoyupLP/rwv6erqOBriW5S4Ls4a6f9JqY3bX0z/R04flpaK+H/svxCQ=="),\r\nthis.addDataEntry("sysml block shared association",250,0,"Shared Association","3VXLbsIwEPwaXyoVmaQU9Uh4nSpVoj9g4iWx6nijjaHA19chJoGmqRCiEuohkne8s17P2DELx9l2TiJPX1GCZuGUhWNCtNUo245BaxZwJVk4YUHA3ceCWcds/zDLc0Fg7CWEoCJshF5DhYiiwFgJq9D4aoXdaT+5AbIqFnqkVWIctERrMWNhlNrM9T7puyEYOSLCTxcaNFAiMoGFL4JkU0zQCD1t0KiwguxM6bIGP8YLtS8Z/eAIHMtKJTI08j1VroeoarJco1ODA+QFmANmYGnnUgi02+fmnCeKKkzqvJr6hspVbFIKXFMMHj0V+Zi49SIP+Hltt5kEbIvoBif9NdDBs5/9C1v+tU0jKNReLA8hP/dKeB81rJxU0Xd7LeYO1WIJOhLxR0K4NnKMGqkxd4WmdspvM0ZjILZ+yfoM8rI8bDtdCn52yRMeee+l4lxs25muv4j41BIxJ8xds7vghmLWd+Xf6zlo6cmGEZIEAsmGLua813u4RlpSSXrvB/XvdH3uPKdXXfouMe/soN5MTxc2D2v1rz19d78A"),\r\nthis.addDataEntry("sysml block multibranch part association",250,50,"Multibranch Part Association","7VbBbuIwEP2aXPZQBbts99rQwqnSSt0fMPGQWHU8kWMo8PU7iU1oGiJStbS7UpGQPDOZ5/F7eeCIz4rtwooyf0AJOuL3EZ9ZROdXxXYGWkcsVjLidxFjMX0jNh+oTppqXAoLxo1pYL5hI/QafEZUFaZKOIUmoFVup0NxA9apVOhbrTJDqSU6h0XEk9wVNPvdhJa0gSorakhWSusZarRNM4+bD+UrZ/EJTlXCNLQLbAdP1KTCcRaABTi7o0cODYz7lp2PQ/SspMt95tpnclBZ7jopUfkwa1GP1NEisHeaSd5jsrRY0kl2fRpBZvAYQtBLfL4/JrpUUo3WOVq1R+MEFRIRuLd+/GRQEzDy1toGwKCpoS2ujYR64JpsLZagE5E+ZU3+oEd41g9dT9oRosK1TaHz8rxBG99gQdP7tekCn+I+AP1GRfgtCpvGHYWnXQAnbAYu9LzSrx1plKTXPUnjq6sfPTUtVGovlk0YdwU8p5XD8qwQKxL+Ue1r9MlY2VI0BlIXhmp/Bc45i3+oemOdMx10Dnu3cw6Ef/vmhG/iSxnn5z9onPf4YvolvrgZ9AW/hC80rMbaQipRoJF/cmV67qDH5kq3+xl5kID9j9a59F/Mr57G/dvCCJsMaPe5Lrn5DJdQeLwde8JfXp7/Ag=="),\r\nthis.addDataEntry("sysml block multibranch shared association",250,50,"Multibranch Shared Association","7VbbToQwEP0aXnwwbOuqr7LqPpmY6A90YRYaS4eU7vXrHWjZFVkiZl0viSQknZnOYTiHExrwSb6eGlFkD5iACvhdwCcG0bpVvp6AUgELZRLw24CxkO6A3fdUR3U1LIQBbYc0MNewFGoBLiPKEmMprETt0Uq7Ub64BGNlLNSNkqmm1AytxTzgUWZzmv12REt6gCxKaojmUqkJKjR1Mw/ri/L+mYQF696565QfegqYgzUb2tI0MO5aNi720UomNnOZC5fJQKaZbaVE6cJ0h7oniBaeo8N88Q5fhcGC3mTTJQuSFJ58CGqGq7t9ok0Y1WidoZFb1FZQIRKeYePGj3qZB53cGFMDaNQVtMGFTqAauCJbiRmoSMQvaZ1v9PB73dDVpC0hSlyYGFqfyCe0cQ0GFH1FyzbwIe490CNKwt+hsHHYUnjcBrDCpGB9zzv9diMNkvSiI2l4fn7WUdNAKbdiVofhAYHeCPpeK4vFh0LMSfgnua3QR0Nli1FriK0fauf1j5zFv1S9oc4Z9zqHHe2chvB/3xzwTXgq41z+QuMc44vxj/jiqtcX/BS+UDAfaotEihx18pxJ3XEHbbuX1Ts1USMB+4vWOfUv5rqjcfe00GcTL9ivccnVd7iEwv0Z2BH+9oj8Cg=="),\r\nthis.createEdgeTemplateEntry("edgeStyle=none;html=1;endSize=12;endArrow=block;endFill=0;",160,0,"","Generalization",null,this.getTagsForStencil("","","sysml block generalization").join(" ")),this.addDataEntry("sysml block multibranch generalization",140,50,"Multibranch Generalization","7VXLbsIwEPwa350Y2l4hPE6VKvEFBm8TC8eLnOX59XViF3AFag70UIlIkbyzu5P1TCwzUdSHuZOb6h0VGCamTBQOkcKqPhRgDMu5VkxMWJ5z/7J8diebdVm+kQ4s9WnIQ8NOmi0EJAANHU0EduBIr6QZGV1aDy2RCGsmxhXVft5J5peeVG8a3zD+1MYUaNB1zYJ3j8cbcriGW5k4gf8KHO7uooPiFuaANZA7+pLY8PIWOo5xUyKEe62oCtAgIBXosqIEkk0IyzPrRS6/iIrdVk/8rh6oEhYxBLPE/fQCJApatdCntirLQzhyDvet3gZX6wDNdDvKhHeKL7tshU6f0JL0ibHDrVWgYkmYpR0gkbXBrVtBYn9/pSOHAyNJ71LiW0pGog/Unv/M8srTDpKuBIpFP+Q/z9DLkcEDHYkKf///Hrp7FK7ssmjhH1mRDXhydoZ/Zs3waU1Pax5thQ8vN0oov75wvgA="),\r\nthis.addDataEntry("sysml block generalization set",140,50,"Generalization Set","7VXJbsIwEP0a37NA6ZWE5VQJiS9w8JBMcTJoYtavrxO7QApIOdBDpUaKNO/Nouc3jiLitDzOWW6LD1KgRTwVccpExkXlMQWtRRSgEvFERFFgXxHNnmTDNhtsJUNl+jRErmEv9Q4cI0aJwvqT0A4YTVy6Nift07Ydt7UFSWFKK3cS2nCNWqekiduaOGgfy9eGaQOPMlpmoBdUo0GqbI4xL6zgRGrMG6xh3UCvDtjA8ekJW8ofbw5UguGTLfENb++u4+QPHDt4QGUKRw0cU4DTcEPJ2sH8MvVqpQ28m4+dje+dvfNS5bD0EHRGh+mVuLUXKrXEc1MVRg6OmelgcaZptXHUDBspk8bcdpaNC2I8U2WkTSRMu0qB8iVOSyOgY2tNO15B52r0d9rPYNDS4L47+JGTftCivWqXKaOg22Ek52B80Q/7Lxp6bWTwwo14h5ubiavW3+9w7G9wRsZQ2V1XRRX8oVWEg6Dz7Qx/bTXD/9X0XM2rV2Hh9W/jym9/Rl8="),\r\nthis.addDataEntry("sysml block generalization set",150,80,"Generalization Set","5ZXBboMwDIafJncITPQ6YO1pUqU+QVo8iGYSFFIGe/oFErUwilYxqZceEPlt/5blT1FIkJTtTrGqeJcZIAneSJAoKbU9lW0CiIR6PCNBSij1zEfodiHrD1mvYgqEvsdAraFheAYbsYFad+gCkOVwcFJIYX5xoUszaeqbI4jsVSn5ZeQR5enThrYc+wLPqgP/7s0+NdK273suTjyE3Lg7kCVo1ZkSBcg0b6Y+VluZX+ou1r3kpiP1Wmfwpg7NVA7aFY03tODrrNz8alPLszrBrI05jIa/hob130YRPA2KcCWK8FEowqdBEa1EET0KxcscRRTLBhSyquIiJ1G6no1LZqwuIHNpZEfAvay55lKYmOJ5YRDEDHnea4QP/S9i7cSwll93+yotLH7GbzPld+eN/JufkdfHy5aP37Yf"),\r\nthis.addDataEntry("sysml block block namespace containment",140,70,"Block Namespace Containment","7ZXPjoIwEMafhjtQ192roOtlTUx8gmpHaCyMKfUPPv0OtKJ1McvBwx6WxKTztfMxfD8MAUuL81zzfb5AASpgs4ClGtHYVXFOQakgDqUI2DSI45B+Qfz5ZDdqd8M911CaIQ2xbThydQCrWKEytXLCEbSRG64mSmYlSWs0BouAJbkpaN5pREsylfuKGpKtVCpFhbptZmF7kV4ZjTvo23ET0F3g/PQpWsk9whywAKNrOuIaxh+2o7Ylc+VJCpNbaWSVHGSWG0/ilS2zzvUWFy1cYv3psd/TA5HBypWg1nia3QQvwVKs5KU5FcW2nGiNJ6qrulp8Lflml2KTRtK6kJ6jlheSOFkkGg+lgGasJlLuUCnYNh2PBAspBN2/HbWZz0u9woPegPd2DAfhPDQobuTRN+4L2hktUZJ/5/IeejijsW9guM7AuJ4HWN1Ig/iNXsjPUblm3RN798e5g1tiCT/w/V0y0chHcyX1ejRv/2gGonk1Cipv3x97/P7z9A0="),\r\nthis.addDataEntry("sysml block participant property",400,140,"Participant Property","5ZfbbtswDEC/xi8DWviS2x7tZOvLBhTrFyg2YwuVLU9WmmRfP+qW1LfBRdKhQB+aiqTpkEekqHjRujw+CFIXP3kGzIu+edFacC7NqjyugTEv9GnmRRsvDH3888LvI9ZAW/2aCKjkFIfQOLwQtgejSRhPn626kSdm1U1BarUUkOKLk0KWGOsmwOWOV/LJPqjkQ0ElPNUkVYoDZoY6wmheoZhiWCBQYb8WhITjaOhaZeN+AF6CFCd85EAzWZgn5iY7vwCaF9bLZuyTxsj52fPCARcWxTCWaBhL8JGxWIfIMfkPmGY9TF64YApE3cK0+L1XBZ2UROQUE479+ngW7yRHFvFMqzBveWexxK+wuDfgKrf/9fdsnSJuGp5SIimvAmfE8Lddh0Ko7DpKVNVd3VsyYLBDY7x6awqkVFXA+hJut6QprQnuuTO0nazke8sEqkwtVJh+LXiN1aPqIfCWWhNoY4yfuoa1xdHrwHjXeEIbT9iLJxzeh8mtxrFhdowfUNxRVayDzXaD3nJ9dDLiot9pkT/QaqsbtNq812rtiu/AgiwHd/pUvII2MNyhWAgNzBoVFpoSFtsTacul5OWZmnpdi1nD9yKF1gyR2AsgW+fnBLICGKbw0n77NaAWPVCuBgeGGlYIrfIfun03URuSO5xNc48TYmQL7JE3VO2Eqk+z8UafkPQ5F3xfZWvOuLgA1+OB/tHTwZZHyqsKa5tsXXj+pJKd/7Nk76zHzTkve5wHpuMVfPVU+KxwV6NFPAr5lz1vRig7cJPL2G7LxwD9Xpy/9i8wy4SLDARkZlz59/dfbox8uLI/BW8XdOvGeOXoykhTQGbNE8bV7Pazybo+cqruRw5i6LevC0HnGmAGpnXqMDxHMYQVxcsvRPP46x+QfwE="),\r\nthis.addEntry("sysml block participant property",function(){var a=new mxCell("Block2",new mxGeometry(0,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Block1",new mxGeometry(350,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;text-align:center;"><i>structure</i></p>\',\r\nnew mxGeometry(20,60,360,150),"shape=rect;html=1;strokeWidth=1;overflow=fill;whiteSpace=wrap;recursiveResize=0;");e.vertex=!0;var g=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;participant&gt;&gt;<br/>{end = property 2}<br/><br/><b>p2 : Block 2</b></p>\',new mxGeometry(20,50,150,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");g.vertex=!0;e.insert(g);g=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;participant&gt;&gt;<br/>{end = property 1}<br/><br/><b>p1 : Block 1</b></p>\',\r\nnew mxGeometry(190,50,150,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");g.vertex=!0;e.insert(g);g=new mxCell("Association1",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;");g.geometry.relative=!0;g.edge=!0;a.insertEdge(g,!0);d.insertEdge(g,!1);var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;dashed=1;");h.geometry.setTerminalPoint(new mxPoint(200,10),!1);\r\nh.geometry.relative=!0;h.edge=!0;e.insertEdge(h,!0);var k=new mxCell("property2",new mxGeometry(-1,0,0,0),"spacingLeft=3;html=1;align=left;verticalAlign=bottom;labelPosition=right;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;g.insert(k);k=new mxCell("1",new mxGeometry(-1,0,0,0),"spacingLeft=3;html=1;align=left;verticalAlign=top;labelPosition=right;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;g.insert(k);\r\nk=new mxCell("property1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;g.insert(k);k=new mxCell("{ordered} 0..*",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;g.insert(k);return b.createVertexTemplateFromCells([a,\r\nd,e,g,h],400,260,"Participant Property")}),this.addDataEntry("sysml block participant property",400,80,"Participant Property","5ZZfT+MwDMA/TV+QDvXPxu4e18Hxckjo+ARZY9qINK7SjG18etwm3ShpUREDIfEwLXbi1P7FjhMkq3J3rVlV3CAHGSRXQbLSiMaOyt0KpAziUPAguQziOKRfEP8dmY3a2bBiGpSZYhBbg0cmN2A1qcTswalrs5dOXResaoYaMto4LUxJvl5GNLxHZe7cwkbeFsLAXcWyRrGlyEjHpMgViRm5BZoU7rOgDexGXW9Vzu9rwBKM3tOSreCmsCvmNrqwAJEXzspFHLLayvnB8siBBg7FMJZkGEv0nbE4g6Rj8gWYZh6mZV1jJpgRqN4D6wRxRzMX0N7KFz6GKP4kDnOPgxc78By6dFCo6C8FxZda4/ao8Yg0Vj0eNW50Br3aNUznYHp5O4GaBkmn9Njf/SMMLjwGlcaKTnQ/cJlQGQiV/4P7xsmkH3lXFLKdTZukEBmTS6deozFY0oRka5C3WIsm2Zqssmdq9SnLHnKNG8VXKFEfEbdlKZ7aqnQnn6FSlJFs3bkXTkrH+Zvp+MtZnJzzwuM8UGgf4Guw+rlwf48m8Sjk/+4qGaHcgZucxu5Yvgfoz+L8x78wFylqDhp4sCA5DM/Pz06MfDizfwTvzul3dqgXcP1mxVldAJ/erman703O9BYF7XiASMnTewlErzq8bZjO6BXDgxdDWEk8vszt8pcP92c="),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",300,80,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;">&lt;&lt;participant&gt;&gt; {end = property 1} p1 : Blcok 1<br/>&lt;&lt;participant&gt;&gt; {end = property 2} p2 : Blcok 2</p>\',"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",\r\n300,80,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;text-align:center;"><i>structure</i></p>\',"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;",150,80,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;participant&gt;&gt;<br/>{end = property 1}<br/><br/><b>p1 : Block 1</b></p>\',"Participant",null,\r\nnull,this.getTagsForStencil("","","sysml block participant").join(" ")),this.addEntry("sysml block connector property",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b><hr/></p><p style="margin:0px;margin-top:-6px;margin-left:10px;text-align:left;">&lt;&lt;connector&gt;&gt; c1 : Association1<br/>&lt;&lt;connector&gt;&gt; c2 : Association2<hr/></p><p style="margin:0px;margin-top:-6px;text-align:center;font-size:10px;"><i>structure</i></p>\',new mxGeometry(0,\r\n0,400,250),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("p1:\\nType1",new mxGeometry(20,100,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new mxCell("p2:\\nType2",new mxGeometry(300,100,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");e.vertex=\r\n!0;a.insert(e);var g=new mxCell("c1: Association1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;labelBackgroundColor=none;");g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);d=new mxCell("1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10");d.geometry.relative=!0;d.setConnectable(!1);\r\nd.vertex=!0;g.insert(d);d=new mxCell("e1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");d.geometry.relative=!0;d.setConnectable(!1);d.vertex=!0;g.insert(d);d=new mxCell("p3:\\nType3",new mxGeometry(20,160,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);e=new mxCell("p4:\\nType4",new mxGeometry(300,160,80,40),\r\n"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);g=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=none;");g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);d=new mxCell("1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10");\r\nd.geometry.relative=!0;d.setConnectable(!1);d.vertex=!0;g.insert(d);d=new mxCell("e1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");d.geometry.relative=!0;d.setConnectable(!1);d.vertex=!0;g.insert(d);g=new mxCell("c2: Association2",new mxGeometry(140,210,120,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;align=center;");g.vertex=!0;a.insert(g);d=new mxCell("",new mxGeometry(0,\r\n0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=none;dashed=1;");d.geometry.setTerminalPoint(new mxPoint(200,180),!1);d.geometry.relative=!0;d.edge=!0;g.insertEdge(d,!0);a.insert(d);return b.createVertexTemplateFromCells([a],400,250,"Connector Property")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,120,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b><hr/>&lt;&lt;connector&gt;&gt; c1 : Association1<br/>&lt;&lt;connector&gt;&gt; c2 : Association2<hr/></p>\',\r\n"Connector Property",null,null,this.getTagsForStencil("","","sysml block connector property").join(" ")),this.addEntry("sysml block internal block diagram",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>ibd</b> Block1</p>\',new mxGeometry(0,0,300,100),"html=1;strokeWidth=1;shape=mxgraph.sysml.package;labelX=100;align=left;spacingLeft=10;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=0;recursiveResize=0;");a.vertex=!0;var d=new mxCell("p1:\\nType1",\r\nnew mxGeometry(15,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new mxCell("p2:\\nType2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var g=new mxCell("c1:a1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;verticalAlign=bottom;html=1;endArrow=none;edgeStyle=none;labelBackgroundColor=none;");\r\ng.geometry.relative=!0;g.edge=!0;var h=new mxCell("1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);h=new mxCell("p3",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;g.insert(h);d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);return b.createVertexTemplateFromCells([a],\r\n300,100,"Internal Block Diagram")}),this.addEntry("sysml block property",function(){var a=new mxCell("",new mxGeometry(0,0,300,120),"shape=rect;html=1;strokeWidth=2;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell(\'<p style="margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;">0..*</p><p style="margin:0px;text-align:center;"><b>p1 : Type1</b><hr/>x : Integer = 4</p>\',new mxGeometry(20,20,140,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;");\r\nd.vertex=!0;a.insert(d);d=new mxCell("r1: Type2",new mxGeometry(180,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;dashed=1;strokeWidth=2;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],300,120,"Property")}),this.createVertexTemplateEntry("html=1;strokeWidth=1;shape=mxgraph.sysml.package;html=1;overflow=fill;whiteSpace=wrap;",300,135,\'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>idb</b> Block1</p>\',\r\n"Package",null,null,this.getTagsForStencil("","","sysml block package").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",100,80,\'<p style="margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;">0..*</p><p style="margin:0px;text-align:center;"><b>p1 : Type1</b><hr/>x : Integer = 4</p>\',"Property",null,null,this.getTagsForStencil("","","sysml block property").join(" ")),this.addEntry("sysml block property",function(){var a=\r\nnew mxCell(\'<p style="margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;">0..*</p><p style="margin:0px;text-align:center;">p1 : Type1<hr/></p>\',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p3 : Type3</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>initialValues</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x1 = 5.0<br/>x2 = "today"</p>\',\r\nnew mxGeometry(30,50,140,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],250,160,"Property")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",100,100,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p3 : Type3</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>initialValues</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x1 = 5.0<br/>x2 = "today"</p>\',\r\n"Property",null,null,this.getTagsForStencil("","","sysml block property").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",300,70,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p1 : [Type1]</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">&lt;&lt;normal&gt;&gt; {mean = 2, stdDeviation = 0.1} x : Real</p>\',"Property Specific Type",\r\nnull,null,this.getTagsForStencil("","","sysml block property specific type").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",100,70,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p2</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">y : Integer = 5</p>\',"Property Specific Type",null,null,this.getTagsForStencil("","","sysml block property specific type").join(" ")),\r\nthis.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"&lt;&lt;stereotype1&gt;&gt;\\ndependency1","Dependency",null,null,this.getTagsForStencil("","","sysml block dependency").join(" ")),this.addDataEntry("sysml block property",160,0,"Property","zVTBboMwDP2aXCatgjDtXmjX06RJPeycggtRQ4yM29F+/QJkpYx2qqYddohkv/g58XtRRJSUzYpUVbxiBkZESxElhMh9VDYJGCNkoDMRLYSUgVtCvtzYDbvdoFIElu8hyJ5wUGYPPdIDNR+NBw5ArFNl5kbn1kEbZMZSRHHBpbvvInQh2GxOhB8utWihRbIc1r4JEheYo1VmOaBxzYQ7eNcZF65GOqQ/umXenKaD/CgrwBKYjq6EwCjWhzFP1X2an+vO1DfUruNQUuOeUvDopVxfhY3v/ByMe7OiHHhCdMHF/QaoU/+6E9HEiXBiBUGtT2rTpcHYAeXdMbB1UsXfTWOsHGrUBkys0l1OuLdZggZpsGyLltf61DYP/ZgpWgsp+yPPrylo20Nz0yV53SVPePSMu00bqfqDhE8TCYPZ7OE3KpLOi/8u4x+p6NLhu+nf7eVv9Ak="),\r\nthis.addDataEntry("sysml block binding connector",160,0,"Binding Connector","zVSxboMwEP0aj5XAVNlDknaqVClDZwcuxorxpceRknx9DbgQmqTKkKEDku/53jN+72SRLMrmldS+eMMcrEhWIlkQIverslmAtUJGJhfJUkgZ+U/Ilxu7cbcb7RWB43sIsicclK2hR4ScqXIvktR6gXRawWet7ADpSUOoWrWKjzaoHYDYZMrOrdHOQxtkxtJ3Flz6yy7jVtXlcyL88qVDBy2Sa1gHESQuUKNTdjWiacWEO/gwORe+Rw5Ht8ybVnRQ8OEVsASmo28hsIrNYcpTVV/qoW+gvqPximNLhTVlENBzr38am6A8i6barEgDXxD94uz/RqiL7nqMyUWM8UUUBJU5qU1XRtMEVEjHwrZN8XdojN0EqA3YVGU7TVi7fIEWaYxsi47X5tSKx+GaGToHGYcjh1GMWnlobqYkr6cUCE+BcXdoE1f/sPD5MRaS0cV/9/BBFvpyfKj6oT1/x74B"),\r\nthis.addDataEntry("sysml block bidirectional connector",160,0,"Bidirectional Connector","3VXBboMwDP2aXCatCrD1XmjX06RJ/YIUXIgWYhRMR/v1C5BBGe1UTZ1U7QCKH89O/J5FWBDl9dqIInvFBBQLViyIDCJ1q7yOQCnmc5mwYMl8n9uH+S8XvnrtV14IA5quSfC7hL1QFXRIbGtwFizsW5QlxlKQRN3RSjooR9uDIRkLtVAy1RbaIhHmLAgzym0XS88uQScLY/DDhho1NEiSwsYVQUMZpqiFWg1o2G3U8C521EKunTVgDmQOlmJA2aPux3mi7MK05/WpbyhtxYFSYmVicOipZF/E2lWe83FtEiYFmiTaxcn5Bqh14LwbwcQNPpt5E+0NlPIotm3Ix5ILZ4eCnVUr/O4SYWFRJbagQhG/pwYrnUSo0Awe7VDTRh6b4p7rNEatISa3ZT9UvCkP9UWj/PNGuYRHl3G1byNhf1DxaaJicUsN+0n/5zI+nxvGh98IaWSa3fs0/pWK8+kw+rfU8M6m8UYy2nC4A7sf6ekV+Qk="),\r\nthis.addDataEntry("sysml block unidirectional connector",160,0,"Unidirectional Connector","3VXBboMwDP2aXCatCrD1XmjX06RJ/YIUXIgWYhRMR/v1C5BBGe1UTZ1U7QCKH89O/J5FWBDl9dqIInvFBBQLViyIDCJ1q7yOQCnmc5mwYMl8n9uH+S8XvnrtV14IA5quSfC7hL1QFXRIbGtwFizsW5QlxlKQRN3RSjooR9uDIRkLtVAy1RbaIhHmLAgzym0XS88uQScLY/DDhho1NEiSwsYVQUMZpqiFWg1o2G3U8C521EKunTVgDmQOlmJA2aPux3mi7MK05/WpbyhtxYFSYmVicOipZF/E2lWe83FtEiYFmiTaxcn5Bqh14LwbwcQNPpt5E+0NlPIotm3Ix5ILZ4eCnVUr/O4SYWFRJbagQhG/pwYrnUSo0Awe7VDTRh6b4p7rNEatISa3ZT9UvCkP9UWj/PNGuYRHl3G1byNhf1DxaaJicUsN+0n/5zI+nxvGh98IaWSa3fs0/pWK8+kw+rfU8M6m8UYy2nC4A7sf6ekV+Qk=")];\r\nthis.addPalette("sysmlBlocks","SysML / Blocks",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLPortsAndFlowsPalette=function(a){var b=this,e=[this.addEntry("sysml port flow port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;points=[[0,0.5,0],[1,0.5,0]];");a.vertex=!0;var d=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;part=1;");\r\nd.geometry.relative=!1;d.vertex=!0;a.insert(d);d=new mxCell("p2",new mxGeometry(140,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[1,0.5,0]];html=1;resizable=1;labelBackgroundColor=none;fontSize=10;part=1;");d.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Port")}),this.addEntry("sysml port flow port conjugated",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,200,\r\n60),"html=1;shape=mxgraph.sysml.port2;fontStyle=1;spacingRight=20;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("p1 : ~T1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPositin=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;part=1;");d.geometry.relative=!1;d.vertex=!0;a.insert(d);d=new mxCell("p2 : ~T2",new mxGeometry(140,20,60,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[1,0.5,0]];html=1;resizable=1;labelBackgroundColor=none;fontSize=10;part=1;");\r\nd.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Port (Conjugated Ports)")}),this.addDataEntry("sysml port flow port flow property",160,80,"Ports with Flow Properties","7ZTLboMwEEW/xtuI4KbqtoE2m1aqlP6AAxOwanuQPWkgX18DJi9S9aFI3XSBZN87V5o5g8x4ouuFFVX5jDkoxh8YTywi9SddJ6AUiyOZM56yOI78x+LHT9xp50aVsGDoO4G4D7wLtYFeebXCOC2dk2h601GjglmS9i2mU8bnrhRVq+q6aLufuMZpNanQEvfuGg0tQ66t3paSYFmJrBW2PuA1oWRh/DXzvYL1QugFLEH96TydFIZZAGog2/iSrcypDBW3/cxRCbIoQ+wuaML192IfPdDxhwDoMiw+glVNR4gsOLkTq+4a+aGOkA0D276teTupzIS6D/oKiVB7Q4kVqBd0ktol8FTB+rj+6cwmrIbQXGRvhcWNyRNU6KGmBg0MC5G7bh8BRYbGQEah1/2v8tUC4ssLaELgCpxvxpzjf86nnGdX4Dwbc+a/4XyG7TLmvyM2BIZnIRDkPyfor4enufNOXu4P"),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",160,70,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>ports</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">p1 : ITransCmd</p>\',"Port (Compartment Notation)",null,null,this.getTagsForStencil("","","sysml port flow port compartment notation").join(" ")),this.addDataEntry("sysml port flow nested port",\r\n160,60,"Nested Port","7ZXLboMwEEW/xtsIcJp9gTabVoqU/oADE7DqB7KdBvL1tbHJk6iPdFVlgeS54yvPnLEwwhlv54o09assgSH8hHCmpDR+xdsMGENJREuEc5Qkkf1Q8nwlG/fZqCEKhPmOIfGGD8I24JU3RYTmVGsqhU9q07GQrA23JeYxwqmuSeNU3lau+onuNGcTAdpAuZDKnp6upTDLYHaWbU0NLBtSOGFrXVYjjFbChoUtGJQVQkGgDLRXm+ql0NEcJAejOrtlS0tThx0z33hUA63qYBs0on1c7a0HRHYRKI0TwxfEmngSX5BSoOmOrPowsm0dkRtaVr6w1PVKC8Ieg85pWTpfysgK2EJqatwscM5gfbz/5SxtZDOYUlK8V0puRJlJJi3WXEgBw0jorp9IgFFIIaAwodb9jflqBMn4CLpgmN5OejpGOrmTPiWN/+BOP4yRxnfSp6Sns9tJz0ZI/4bzGbZ/gTkYhjdp+JP8/H7b8PCC9rmTB/YT"),\r\nthis.addEntry("sysml port flow proxy port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;proxy&gt;&gt;\\np1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;part=1;");\r\nd.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Proxy Port")}),this.addEntry("sysml port flow full port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;full&gt;&gt;\\np1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;paart=1;");\r\nd.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Full Port")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,100,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>flow properties</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">in gearSelect: Gear<br/>in engineTorque: Torque<br/>out wheelsTorque: Torque</p>\',\r\n"Flow Property",null,null,this.getTagsForStencil("","","sysml port flow flow property").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",250,150,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">prov Boolean selectGear(g : Gear)<br/>reqd Torque getTorque()</p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">prov temperature : Integer<br/>reqd geometry : Spline</p>\',\r\n"Required and Provided Features",null,null,this.getTagsForStencil("","","sysml port flow required provided feature").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;interfaceBlock&gt;&gt;\\n<b>ISpeedObserver</b></p><hr/><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">notifySpeedChange(): void</p>\',"Interface Block",null,null,this.getTagsForStencil("","","sysml port flow interface block").join(" ")),\r\nthis.addDataEntry("sysml port flow item flow",120,180,"Item Flow","1ZXBbtswDIafRscFjt0Gu8bJ2ks3DEgO21GxGVuYLHkUk9h9+lG2nMRNuhVYVmAHA+JPUhY/UrZIFlXziLIuP9sctEg+iWSB1lK/qpoFaC3iSOUiWYo4jvgR8cMr3mnnjWqJYOgtCXGfsJd6B70CphDJnDVeKAMinok4mUYiSftQR60OoSVVfODllH2ulLVXq6bwtUxc6yo9UQTVg7YHDthaQ6uQ6hO2LC8VsrUK1rrtdrA7Pnh6KDl3VcvMSwfekjWpVWHYzLg2wOOB9oAEzav1d1Io/hFsBYQth4SEgCc6qJzKXvoYpBJUUYZNZkGTrreL40YntrwIeK+jTi5Qn7ElNK7HvkZpXKWcU9b8I+JfxsSVeQ/gbfBeIX7Ubo387gL52uJPXr/kCnkBAytjeeqT9Az1wAH706Vg8jmihzwEQ6PoG5vR5D5Y30MuY8H2zOVN7ztdKP/uEUxnd5jB6H6SxAJoNEdvQI6gJan9ePe/4Xl/wbO+QIng1LPcdGZ0naOGrcfoeNqUKZ46a9ldAz9aKpN6HiLJ+jnUcgP6q3WK/J045g/BTy/cG0tkqyEvldmPAu3O5AurLZ561t0P9Qz9u7syMmsMZBROf/x4/mni7377ifkQMm7ejdl7d2MM9r9tyI36webpP935Rr/xXw=="),\r\nthis.addDataEntry("sysml port flow item flow property",140,180,"Item Flow (Item Property)","1ZXfb5swEMf/Gj8uIpBGew3J2pdumpQ+bI8OXMCqsZl9SaB//c7YkFDardLSSntA8n3vB/bnfMCSddXcGV6XX3UOkiVfWLI2WqNfVc0apGRxJHKWbFgcR/Sw+PYV77zzRjU3oPAtCbFPOHJ5AK+AKliyIo0WQgGLlyxO5hFLUh9qsZUhtMSKNryZk8+WvHZq1RTuLDPb2krOBEJ1K/WJAvZa4TakuoQ9yRthyNoG66HtKugDbTw9lZS7rXnmpBOVJI1LUSgyMzobmGFDRzAIzavn76Rw+DvQFaBpKSQkLDye6CRyLL30OUgliKIMRZZB49bbxVDozJYWAe/LqJMJ6gu2aJT12B8MV7YS1gqt3on4tzFxoT4QeLiPURuC42kDBu3aHVhMOoDa/HLrDrxfP0cOeQE9RqVpIJL0ogs9IuN3moLKV8Y4/n0wNAJ/kBnNboL1M+QSMdNeuJzpfOdZc+8ecbb6YDIYjS5yUwCOrtgbumFAchTHcfV/YXszYVtPUBqw4onvOjN6maOEvcNo6SIKVdx31qabEHfrRMblKkSidldU8h3I79oKdOMy5PfB98/cO42oqz4v5dljYfRB5WsttTn3rBsd8QT+3d0xMq0UZBh2P3xX/zYMiz8Ow6eQcfVuLD+6G2Ow/21DrtQPMs+/8M43+sP/Bg=="),\r\nthis.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.itemFlow;fontStyle=1;flowDir=n;flowType=in;whiteSpace=wrap;align=center;",200,80,"eng:Engine","Item Flow North In",null,null,this.getTagsForStencil("","","sysml port flow item flow north in").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.itemFlow;fontStyle=1;flowDir=e;flowType=out;whiteSpace=wrap;align=center;",200,80,"eng:Engine","Item Flow East Out",null,null,this.getTagsForStencil("","","sysml port flow item flow east out").join(" ")),\r\nthis.addEntry("sysml port flow item flow",function(){var a=new mxCell("eng: engine",new mxGeometry(40,0,100,60),"html=1;shape=mxgraph.sysml.itemFlow;fontStyle=1;strokeWidth=1;flowDir=e;flowType=none;spacingRight=20;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("trns: Translation",new mxGeometry(260,0,140,60),"html=1;shape=mxgraph.sysml.itemFlow;strokeWidth=1;fontStyle=1;flowDir=w;flowType=none;spacingLeft=15;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("Torque",new mxGeometry(0,\r\n0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=none;exitX=1;exitY=0.5;entryX=0;entryY=0.5;");e.geometry.relative=!0;e.edge=!0;var g=new mxCell("ep:EP",new mxGeometry(0,0,0,0),"resizable=0;html=1;align=left;spacingLeft=5;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=bottom;labelBackgroundColor=none;fontSize=10");g.geometry.relative=!0;g.geometry.x=-1;g.setConnectable(!1);g.vertex=!0;e.insert(g);g=new mxCell("tp:TP",new mxGeometry(0,0,0,0),"resizable=0;html=1;align=right;spacingRight=5;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=bottom;labelBackgroundColor=none;fontSize=10");\r\ng.geometry.relative=!0;g.geometry.x=1;g.setConnectable(!1);g.vertex=!0;e.insert(g);a.insertEdge(e,!0);d.insertEdge(e,!1);g=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>c1: Association-1</b></p><hr/><p style="margin:0px;margin-left:4px;text-align:left;font-size:0.9em;">&lt;&lt;participant&gt;&gt;{end = ep} epInLink : EP[1]<br/>&lt;&lt;participant&gt;&gt;{end = tp} etInLink : TP[1]<hr/></p><p style="margin:0px;text-align:center;font-size:0.9em;">structure</p>\',new mxGeometry(0,\r\n120,470,250),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");g.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=elbowEdgeStyle;elbow=horizontal;dashed=1;");h.geometry.relative=!0;h.geometry.setTerminalPoint(new mxPoint(160,30),!0);h.edge=!0;g.insertEdge(h,!1);var k=new mxCell("epInLink : EP",new mxGeometry(30,100,160,120),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.itemFlowRight;fontStyle=1;spacingRight=40;whiteSpace=wrap;align=center;");\r\nk.vertex=!0;g.insert(k);var l=new mxCell("ep.1",new mxGeometry(160,30,0,0),"resizable=0;html=1;align=right;spacingRight=22;verticalAlign=middle;labelPosition=right;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");l.geometry.relative=!1;l.setConnectable(!1);l.vertex=!0;k.insert(l);l=new mxCell("ep.2",new mxGeometry(160,60,0,0),"resizable=0;html=1;align=right;spacingRight=22;verticalAlign=middle;labelPosition=right;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");l.geometry.relative=\r\n!1;l.setConnectable(!1);l.vertex=!0;k.insert(l);l=new mxCell("ep.3",new mxGeometry(160,90,0,0),"resizable=0;html=1;align=right;spacingRight=22;verticalAlign=middle;labelPosition=right;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");l.geometry.relative=!1;l.setConnectable(!1);l.vertex=!0;k.insert(l);l=new mxCell("tpInLink : TP",new mxGeometry(280,100,160,120),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.itemFlowLeft;fontStyle=1;spacingLeft=40;whiteSpace=wrap;align=center;");\r\nl.vertex=!0;g.insert(l);var m=new mxCell("tp.1",new mxGeometry(0,30,0,0),"resizable=0;html=1;align=left;spacingLeft=22;verticalAlign=middle;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");m.geometry.relative=!1;m.setConnectable(!1);m.vertex=!0;l.insert(m);m=new mxCell("tp.2",new mxGeometry(0,60,0,0),"resizable=0;html=1;align=left;spacingLeft=22;verticalAlign=middle;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");m.geometry.relative=\r\n!1;m.setConnectable(!1);m.vertex=!0;l.insert(m);m=new mxCell("tp.3",new mxGeometry(0,90,0,0),"resizable=0;html=1;align=left;spacingLeft=22;verticalAlign=middle;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");m.geometry.relative=!1;m.setConnectable(!1);m.vertex=!0;l.insert(m);m=new mxCell("Vibration",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;verticalAlign=bottom;endArrow=none;exitX=1;exitY=0.25;entryX=0;entryY=0.25;labelBackgroundColor=none;");\r\nm.geometry.relative=!0;m.edge=!0;k.insertEdge(m,!0);l.insertEdge(m,!1);g.insert(m);m=new mxCell("Heat",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;verticalAlign=bottom;endArrow=none;exitX=1;exitY=0.5;entryX=0;entryY=0.5;labelBackgroundColor=none;");m.geometry.relative=!0;m.edge=!0;k.insertEdge(m,!0);l.insertEdge(m,!1);g.insert(m);m=new mxCell("Current",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;verticalAlign=bottom;endArrow=none;exitX=1;exitY=0.75;entryX=0;entryY=0.75;labelBackgroundColor=none;");\r\nm.geometry.relative=!0;m.edge=!0;k.insertEdge(m,!0);l.insertEdge(m,!1);g.insert(m);return b.createVertexTemplateFromCells([a,d,e,g,h],470,370,"Item Flow")}),this.addDataEntry("sysml port flow item flow",200,120,"Item Flow","7ZXfasIwFMafJrdSm22wS1unDBwI7gVie2yD+VOSuLY+/U6bVN1WcYNdetGQfOd84ZzfKYTQVDZLw6ryTecgCH0hNDVaO7+TTQpCkDjiOaFzEscRfiReXIlO+2hUMQPK/cYQe8MHEwfwiqte1YqrPaqEznB9X/sc61oRckonsdL5lNDElqzqVNkUXRMT21opJtyBXAhdr2CHZSQ7rdwm2DtTXWLCpmJZJ9ToQ40JXig8Zlg5GBRCZWAcNFe766XQ2hK0BGdaTKl57srQYeQJRCXwohxsAUvErBeKk/cMCzeB1zg7OsJuMv0By4DlR7btj4g0uYA39Cw8JotEuCo8tHnXWNK1zzMmZiFT8jzvbkoE24JYa8sd1xdXDPmrb2Gnq8GUsGxfGH1QeaqFRtJzpRUMU+LHfkgBT6aVgsyF6k9/062pxONTaQO3f2D/MMY+vrO/xf7pH9g/jrGnd/a32D//nT0ez29BH/vyVHwC"),\r\nthis.addDataEntry("sysml port flow item flow",200,120,"Item Flow","7ZVdb4IwFIZ/TW8N0m3JLgXULHGJmb+gwhk09oO0dYC/fgco6hxmH/HSC0j79rzNOc9LAqGxrJeGlcWrzkAQOic0Nlq7fiXrGIQgYcAzQhMShgE+JFxcOZ12p0HJDCj3G0PYGz6Y2EOvQPmiVlztUCV0hu/5uq+xrhG+pnASO02mhEa2YGWryjpvh5jYxkox4Q7kQujqjecF9hG9a+U23t+6qgIrNiVLW6FCI2pM8FzhNsXWwaDgWwPjoL46Xif52ZagJTjTYEnFM1f4EYMeQVBA301n81wCZnshP3pPtHDhgY3DoyPwJtNvtAxYfmDbbotMozN6w8zGc7KIhKvcY0va0aIWAE+ZmPlaybOsvSsSbAtirS13XJ9fMhhWF+dOl4MrYukuN3qvslgLjbATpRUMQfFDl5MnlGqlIHV+gOMX9VMw4Xgw9UUojUd5gzgexuII73H8I46nG8TxOBYHvcfxjzie/x4Hbk9/ke7sy0/mEw=="),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;interface&gt;&gt;<br/><b>ISpeedObserver</b></p><hr/><p style="margin:0px;margin-top:4px;margin-left:4px;text-align:left;">notifySpeedChange(): void</p>\',"Interface",null,null,this.getTagsForStencil("","","sysml port flow interface").join(" ")),this.addEntry("sysml port flow required interface",function(){var a=new mxCell("Transmission",new mxGeometry(90,\r\n0,160,60),"html=1;shape=mxgraph.sysml.port4;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;resizable=0;align=left;verticalAlign=bottom;labelPosition=right;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);d=new mxCell("ITransCmd",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;");\r\nd.geometry.setTerminalPoint(new mxPoint(0,0),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0;a.insertEdge(d,!0);var e=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;");e.geometry.setTerminalPoint(new mxPoint(0,60),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;a.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,d,e],250,60,"Required Interface")}),this.addEntry("sysml port flow provided interface",\r\nfunction(){var a=new mxCell("Transmission",new mxGeometry(90,0,160,60),"html=1;shape=mxgraph.sysml.port4;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;resizable=0;labelBackgroundColor=none;fontSize=10;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);d=new mxCell("ITransCmd",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;");\r\nd.geometry.setTerminalPoint(new mxPoint(0,0),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0;a.insertEdge(d,!0);var e=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;");e.geometry.setTerminalPoint(new mxPoint(0,60),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;a.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,d,e],250,60,"Provided Interface")})];this.addPalette("sysmlPorts and Flows",\r\n"SysML / Ports and Flows",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLConstraintBlocksPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,180,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;constraint&gt;&gt;<br/><b>ConstraintBlock1</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>constraints</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">{{L1} x > y }<br/>nested: ConstraintBlock2</p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>parameters</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x: Real<br/>y: Real</p>\',\r\n"Constraint Block",null,null,this.getTagsForStencil("","","sysml constraint block ").join(" ")),this.addEntry("sysml constraint block parametric diagram",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>par</b> Block1</p>\',new mxGeometry(0,0,300,170),"html=1;shape=mxgraph.sysml.package;labelX=120;align=left;spacingLeft=10;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("C1: Constraint",new mxGeometry(130,\r\n50,150,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.paramDgm;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new mxCell("x:",new mxGeometry(0,25,0,0),"html=1;resizable=0;align=left;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingLeft=22;fontStyle=1;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;d.insert(e);e=new mxCell("y:",new mxGeometry(0,75,0,0),\r\n"html=1;resizable=0;align=left;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingLeft=22;fontStyle=1;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;d.insert(e);var g=new mxCell("length: Real",new mxGeometry(30,65,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontSize=10;verticalLabelPosition=top;verticalAlign=bottom;");g.vertex=!0;a.insert(g);e=new mxCell("width: Real",new mxGeometry(30,\r\n115,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontSize=10;verticalLabelPosition=top;verticalAlign=bottom;");e.vertex=!0;a.insert(e);var h=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;exitY=0.25;exitX=0;entryY=0.5;entryX=1;");h.geometry.relative=!0;h.geometry.x=1;h.edge=!0;d.insertEdge(h,!0);g.insertEdge(h,!1);a.insert(h);g=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;exitY=0.75;exitX=0;entryY=0.5;entryX=1;");\r\ng.geometry.relative=!0;g.geometry.x=1;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);return b.createVertexTemplateFromCells([a],300,170,"Parametric Diagram")}),this.addDataEntry("sysml constraint block constraint property",150,100,"Constraint Property","7VTLbsIwEPwaX1FIinrOo+VCpap8gUkW26ofkW1Kwtd3nRgoDaituPYQyZ7dsXdmIpOsVN3S0pa/mAYkyZ5IVlpj/LhSXQlSkjQRDckqkqYJfiR9vlGdD9WkpRa0/w0hHQkfVO5gRMo5yfLSaOctFdrHE53vZWzgXuGYFbYVjtM2oKpjQcHM9U7JGd5OVcUUNmyN9utIDYQ9Fx7WLa0DsEcOYlQKpnFb48hgEYgjgfXQ3ZQ1QFHTEowCb3ts2YvG89ixGKUnHATjR1oSQepGgJ24Z5dwEY26blo2MQ3nzBF5Ayonfllw4kA3wzZBeV/8O0qXsMX5iiBZ1FTmEVaiaQKtkHQD8tU44YW50r/6Vr7kFbR+Z9bsdFMaadDgShsNx3DEYcgmDOYwF6HZaji8CvZO8hvF1UZrqH3UdPrHfoosvR5ZH6uL+4N5mATT/wdzbzCPfw8Gt+cnbKhdvHCf"),\r\nthis.addDataEntry("sysml constraint block constraint property",150,120,"Constraint Property","3VTLboMwEPwaHxMRk0a9xtDmkkpR0x9wwAGrflDbSUi/vmswIPJQK/VS9YDwzu7Y3pkFFCeyXhlalS86ZwLFTyhOjNauXck6YUIgHPEcxSnCOIIH4ec72VmTjSpqmHI/IeCWcKTiwFoE4YUAKqkAtu4sWnjxcfBXIpKagisUL6Oq7sOJ0xVA8wZyrHYTKnjhqzK4BjOADjvAqghvKoFGxHWUaWWdoRx66PAxp4ua6p3x/Q3btmAHJDO4B/SS9HvOuhqg7S55gFWXWDk+AI+UwaWTYFsKxxBb0sqjsi68o1N7tlJMfTcb4yUi+sjMXugT1Ow5GBGTU8kd21Y087wTsPojoBS0vOtrAwVTV0xL5swZSk48d2WoeGi9j0rGi7KjhYGIqG2BoucOYwKLMCm3pya+mpq6FfmVUXElkGGWf9JdE0ZezkGwMCepYHuvrW+ZZ1QsAyx5nnsaEXTHxEZb7ri+Ub++SI95hGbvhdEHlSdaaJjGVGnlsxZk56pYN5ulXs4OevNupV6rmOy1ctvQzax3B0xVLHOhrf47+841fNu135gxvzLj/C/NePyDZkA4/Kub3OhX/gU=")];\r\nthis.addPalette("sysmlConstraint Blocks","SysML / Constraint Blocks",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLActivitiesPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;whiteSpace=wrap;align=center;",160,80,"Action","Action",null,null,this.getTagsForStencil("","","sysml activity action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.callBehAct;whiteSpace=wrap;align=center;",\r\n160,80,"action name:\\nbehavior name","Call Behavior Action",null,null,this.getTagsForStencil("","callBehAct","sysml activity call behavior action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.accEvent;strokeWidth=2;whiteSpace=wrap;align=center;",100,60,"Event","Accept Event Action",null,null,this.getTagsForStencil("","accEvent","sysml activity accept event action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.timeEvent;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;",\r\n35,40,"","Time Event",null,null,this.getTagsForStencil("","timeEvent","sysml activity time event").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.sendSigAct;strokeWidth=2;whiteSpace=wrap;align=center;",100,60,"Signal","Send Signal Action",null,null,this.getTagsForStencil("","sendSigAct","sysml activity send signal action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.actFinal;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;",40,40,"",\r\n"Activity Final",null,null,this.getTagsForStencil("","actFinal","sysml activity activity final").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.actParamNode;align=left;spacingLeft=15;verticalAlign=top;spacingTop=-3;",300,135,"act","Activity Parameter Node",null,null,this.getTagsForStencil("","act","sysml activity activity parameter node").join(" ")),this.createVertexTemplateEntry("shape=rect;rounded=1;html=1;whiteSpace=wrap;align=center;",160,80,"&lt;&lt;controlOperator&gt;&gt;\\nCallBehaviorAction",\r\n"Control Operator",null,null,this.getTagsForStencil("","","sysml activity control operator").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;labelX=135;html=1;overflow=fill;",250,120,\'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>act</b> [ControlOperator]</p>\',"Control Operator",null,null,this.getTagsForStencil("","package","sysml activity control operator").join(" ")),this.addDataEntry("sysml activity decision node",\r\n200,80,"Decision Node","7ZXJboMwEIafxneWpOo1kDSXVoqUJzBhBFaNB5kh29PXYIclTVS6ST30gDTzz+JhPpBZGBfHteZl/oIpSBauWBhrRLJWcYxBShZ4ImXhkgWBZx4WPN2J+m3UK7kGRVMKAluw57IGq1ihopN0QpXzsjF1jkVSVyyMcirMoEvfmHvQJHZcPvME5AYrQQKViSVIhMUgYSFFpgo7FWFpIu5kE4fj3elbyY2+BiyA9MmkuIJH+3Leyboz5x5ESvlYykFkOY01Xlk/6/r2izKG29XtvYUf7w3SDLbOBZngYdULwxW2MWPnqMUZFXETiHizrmbpduzxGof7BZUutG4bKFRNa421SqGZ0zOebMBEfPeatXqMEnWfWxHXdKnHEtRF24pzM7cfdKCa1xlhqrDWOxh9RhPIaZCcxH7c6hYJV7pBYTp2xH3vCp4ZNgNyWVf8umMnIZ29RzqPsprrlM2X36Z7ATiRpWPxGZam+q9SC7zxj/rwaxDntyCCrOCf4VcZ/jQz4/b3m00fXn9v"),\r\nthis.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.flowFinal;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;",40,40,"","Flow Final",null,null,this.getTagsForStencil("","flowFinal","sysml activity flow final").join(" ")),this.addDataEntry("sysml activity fork node",200,80,"Fork Node","7ZZNb4JAEIZ/DXdYrPZq0XppExMPPa8yhU2XHbKMn7++Czt+QDQ1RpMeJCHZfeeD2feBhCBOis3EyjL/xBR0EI+DOLGI5FfFJgGtAxGqNIhHgRChuwPxfiEaNdGwlBYMXVMgfMFK6iV4xQsVbTULVS7Lemlh4Vq+5VS4KUeRW34rrRPUaJvEOGwup6/AklpI/SHnoKdYKVJoXM4cibA4SRhqlZnCj0pYugiP4+KwuXikRuLzTAALILt1KVzQ9ycO1yql3Es9r+Sgspx7vHKWrPw+O/Q5uuUWbNh58+K/zYM0gxlvQc9xPT4Kp1Y2MbfO0aodGpK6Fk06tLbRDZq6wuLSpFA/vva5Imlpn4ElmEaz+ANffPZ4nzVTu3qESBw8ridrOVzh0i6g9VpcYboFLUmt2q3OmcqlU1Suowi3TKaDwc2aAXFSh8ThqVfB6d0fzv61baNh47touhhcxb+DwF+MCJkCQ4keBuXlCeVWKPHDoPSfUG6F8vIwKIMnlFuhDO4FxW2Pf2I+/fRH7Rc="),\r\nthis.createVertexTemplateEntry("shape=ellipse;html=1;fillColor=#000000;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;perimeter=ellipsePerimeter;",40,40,"","Initial Node",null,null,this.getTagsForStencil("","","sysml activity initial node").join(" ")),this.addDataEntry("sysml activity join node",200,80,"Join Node","7ZZNb8IwDIZ/Ta6oNBvsugLjskmTdtg5tKbNltZVahjs189NMigfk5AAaQcqVXLs1076PjlUyFG5mlpVFy+YgRFyIuTIIpKPytUIjBFxpDMhxyKOI35F/PRHte+qUa0sVHRKQ+wblsoswGfEMPlAXTU1pJzo9XpiOPaihtYmiJpC1W1oIeVtkoJKPvm4z+FcGzNCg9YJZeQezi/Bkk6VeVYzMK/YaNJYsWaGRFiywLSFRKWfucVFlXVmzN3TmfFodN72EtacDV/ANVj96YJLBQumgCWQXbPkt0EOfMuXzqjwuTufKUDnRRjy4L2MVOPX+WbQ1mEOgsnHDZeHhu+bC1kOb2EJZoZfk22ia7WrcVyg1d9YkeJC4syDdrPWdaiyR2udCmtgz5KGLH7Ce/hO6TVv+rvdrB9v7GzPsGNmgwubws6lOcFfC0aRXu6OOmZfaH3lm0dbLnEUHF8HJnsASNkcKDTtMdic4iQsd5fH8ntbnenK0h6IDpoKKzhAdwjKTfl3qAKa/tXQ3N/QnIdGXg3N4IbmPDT3V0MzvKE5D83wUmh4uf2f8/Lu794P"),\r\nthis.addDataEntry("sysml activity is control",300,60,"Is Control","zVTLboMwEPwaXyMCbaMeA0lzqlQpl/bowApbMjYymwD5+q7BQEgTKYdW6gFpd/bh8Qwyi5Ki2VleineTgWLRlkWJNQb7qGgSUIqFgcxYtGFhGNDHwrc71WVXDUpuQeMjA2E/cOLqCD2yTlEa3cMVtsrDAgsit1myKK4ELx1aNLnjvajaqlALWSVGozXUFddCIuxLnrq2mpoI40rmmtKUmIElwJ8MFqG5y76DPPUdmALQttTiB177ywW1zFD4AX/hQIDMhd/y4jFe9Xk+bpqkocCrc1up6IdSbBWn/sqrzQ/BIMth71NQB1NvJyC+ULOrUSyMlWdax52AFXKLa2u7iimBhIutOeoMHJvAjelsqGuj3U6npEy5WnuhDwbRFK61kfg5jFH85eLF83DMXp4dx2U4euKozxypzNGmMPtjHjDJguIoT/NVtyzwox9G0sYwaL3gV6YR1xzQN135Np76kJVPf2zl4MTcpps23jeN2LSjay6ZbKOl/860ZjDNu/bbJlI6vYp9++Wj+Q0="),\r\nthis.addDataEntry("sysml activity is stream",300,60,"Is Stream","zVTLboMwEPwaXyMCbaMeA0lzqlQpl/bowAos2RjZmwD5+q7BQEgTKYdW6gFpd/bhYQbMokQ1O8Or4l1nIFm0ZVFitMY+Uk0CUrIwEBmLNiwMA3pY+HanuuyqQcUNlPjIQNgPnLg8Qo+sUxS67GGLrfRwgYrIbZYsim3BK4eqJne8F7a1Si6ETXSJRlNXXBcCYV/x1LXV1EQYlyIvKU2JGRgC/MlgEJq77DvIU9+BVoCmpRY/8Nq/XFCLDAs/4F84KEDkhd/y4jFu+zwfN03SUODVua1U9EMptootGuCKrTY/9IIsh71PQR50vZ2A+ELMrkZxoY04k4Dc6WeRG1wb01V0BaRbbPSxzMCRCdxYmQ31UpdupxNSpFyuvc4HjaiVa20Efg5jFH+5ePE8HLMXZ8dxGY6WOOozQ6w+mhRmH8wDHhmQHMVpvuqWA370QwvaGAat1/vKM+KaA/qmK9vGUx9y8ulvnRyMmLt008X7ntGf1I6muWRyjZb+O8+awTNv2m97SOl0J/btl1fmNw=="),\r\nthis.addDataEntry("sysml activity is stream",300,60,"Is Stream","zVTJboMwEP0aXyMCbaUes58qVeKSHl0YYUtekJkEyNd3DCaQTcohhx6QZt4sfn7PgiUr3ewcL8WXzUGxZMOSlbMW+0g3K1CKxZHMWbJmcRzRx+Ltg+q8q0Yld2DwmYG4HzhydYAeWWQorenhClsVYIGayK3nLFlWgpce1U3hec+qttJqJqsUHXBNDbWQCGnJM99VUw9hXMnCUJoRMXAEhIPBITQPyXdQYL4DqwFdSy1h4LO/W1TLHEUYCPeNBMhChC0fAeNVnxfnTaMyFARx7guV3Ah1IxHkBaQhBfVr680ILCf6dTWKhXXyZA1y5UVF7nDhXFexJZBWS2cPJgdPIPJjJh/qxhq/ExqJ+6FK8Y+PZ+/DtlSePJV5fFbbM7zQurIHl8HFU3hCfgeKozxerronbhj9tpI2xlEbpLyyg7gWgKHpypHzqU+Z9PZ6k/wDlVln0cSABwYR0f00GQ2h2X9nRzPYEfx4tT2Ujj+yvn36n/sD"),\r\nthis.addEntry("sysml activity is stream",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;");a.vertex=!0;var d=new mxCell("{stream}",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],\r\n250,100,"Is Stream")}),this.addDataEntry("sysml activity local pre precondition post postcondition",150,180,"Local Pre- and Postconditions","5ZVNb4MwDIZ/Te6QtL33a71s0qQeds7Ag2ghQcEtbX/9HEhbEEWqtHWatAPCfp03kCeGMLEsDhsny/zFpqCZWDOxdNZiGxWHJWjNeKRSJlaM84guxp9GqnFTjUrpwOA9Bt4a9lLvoFW0TaR+dZBYkypU1jA+Y1zEERML0ip0UtHcja3Cow62KpelD41Fui1yLGgtq5jCSp18IZ76GJ39hDeVYk4SJ0VqlRmKNXygH1DKRJnsuclW3lLnCmFLsp+kJlAdU0KrBEdCWAU4hMMoiUYKGDZgC0B3pCF1eBs/ItCKclBZHmyToMmqzbOL9cqVgoD2NmYxwDxPWrYjGIk/9jE6uzMppGeoA5AP53Q2BBzHNp1N27RLMbpBcfoDFCcjzWor/DfdGgy8vwvxuUm72yAe1MzTwTYM+EKawTakoN9tvb4KXdpNjeLcOnWyBqXudbrfRTDp3LlmlLEGLvj8I3rwKrtzCfR+ayhdBtj7BO9A7EBLVPv+7N8BNvv7wMQQ2OTXgFF6PfGaWu9A/AI="),\r\nthis.addDataEntry("sysml activity merge node",200,80,"Merge Node","7ZXPboMwDMafJncInbRrS7teNqlSnyAUC6KFGAXTf0+/hKQUunbrpE7aYQck53PsON8PKSxJq/3SiLp8wxwUSxYsSQ0i+ajap6AU45HMWTJnnEf2Y/zlRjbuslEtDGi6p4D7gq1QLXjFCw0dVBCaUtQuNCVWWduwZFZSZQedxzbcgiG5EepVZKBW2EiSqG2OsB5kp0oWuvIjZUiElU2Gk+0W2N+cvpPC6EvACsgc7JZQ8OwvF+1kTqWXJkEqQRYljTXR+HXRNzo7Y4NgznWjku+NgryAdViCynC3OAtDz7qcjUs08oiahE3MhLPIuezHHls3tM1gq3NwU0V2pZzvM7F5Lzo9RYXGpjRqdyjofGpMdxjWoL2ylkc3Ycx7Bm7wEYEGW7OB0R9yBxQDSpDcjltd8zyUrlDajj3MOAqYDmO4pw4kTAEUii7A9VPcxXLyeJYnXF+Ra+wN6DOPkxKY/YRv1/Gv8uQXPPmv8Xz65/mbPB/Nzy7PD5zfPnz/PgA="),\r\nthis.addDataEntry("sysml activity no buffer",300,60,"No Buffer","zZTBboMwDIafJteKwlZpx9JuPU2a1Mt2TMGFSCFGwW2hTz8HApSulXrYoQck+4/t2P4AEa2KemNlmX9iClpE7yJaWUTqrKJegdYiDFQqorUIw4AfEX7cOZ23p0EpLRh6JCHsEo5SH6BTlgkpNJ1cUaO9nFPBza3nIoqrXJZOLerM9T2rmqrQM1Wt0JBFjopPuSLYljJxYScOYk1qlRl2E+4MLAv+ZrAE9d3uW8m3vgEsgGzDIT7hrRsuOKmUcp/gBw5yUFnuqyy8JqvOz4ZK42rY8Nu5vanoz6ZEuJCFG01TO86lZzA+7Pc8Z69mkxjvXe0Y0gy23gW9w9P7KMQXANoztnO06sxLl27nFUlLS2vbEyyBdx1bPJgU3ACBSzNpf27QuJpu+SqReunZ7JAICxdaK/ru09j+cfbstb9mq86ux3k4TOFan0Cs8GATmLxkD3C1oCWp47TULWo+9QsVVwyDxjO64sy9ZkA+6Ar1cOtD9F+ej34Pb0r2Jvn7nPmLbQbQzhlJc9Gn41z3nD3o/+bO7vjv7cIvf82/"),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"object node name:\\n type name\\n[state, state ...]","Object Node",null,null,this.getTagsForStencil("","","sysml activity object node").join(" ")),this.addEntry("sysml activity object node",function(){var a=new mxCell("Action",new mxGeometry(0,0,120,60),"html=1;shape=mxgraph.sysml.isControl;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("pin name: type name\\n[state, state ...]",new mxGeometry(0,30,\r\n0,0),"resizable=0;html=1;align=right;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;spacingRight=5;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Object Node")}),this.addDataEntry("sysml activity optional",300,60,"Optional","zZTBboMwDIafJteKwlZpx9J2PU2a1Mt2TMGCSAlGwS3Qp58DAUrXSj3ssAOS/cd2bH+AiDam2VtZ5h+YghbRTkQbi0i9ZZoNaC3CQKUi2oowDPgR4fuD02V3GpTSQkHPJIR9wlnqE/TKOiGFRS9X1Gov52S4ue1SRHGVy9Kppslc34uqrYxeqGqDBVnkqLjOFcGhlIkLqzmINalVVrCbcGdgWfA3gyVoHnbfSb71PaABsi2H+IS3frigVinlPsEPHOSgstxXWXlNVr2fjZWm1bDht3N/U9GvTYlwJY0bTVM3zrWHpdui1KOazWK8d7NjSDM4eBf0EevdJMRXALoztnO06sJLl27nFUlLa2u7EyyBdx1bPBUpuAECl1akw3mBhavplq8SqdeezRGJ0LjQRtHXkMb2t7MXr8M1B3VxPS7DcQrX+gxihSebwOwle4KrBS1Jneel7lHzqZ+ouGIYtJ7RDWfuNQPyQTeox1ufov/y/+gP8OZk75J/zJm/2HYE7ZyJNBf9d5ybgbMH/dfc2Z3+vX349a/5Bw=="),\r\nthis.addEntry("sysml activity optional",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;");a.vertex=!0;var d=new mxCell("&lt;&lt;optional&gt;&gt;",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=\r\n!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Optional")}),this.addDataEntry("sysml activity overwrite",300,60,"Overwrite","zZTBboMwDIafJteKwlZpx9J2PU2a1Mt2TMGCSCFGwS3Qp58DAUrXSj3ssAOS/cd2bH+AiDZFs7eyzD8wBS2inYg2FpF6q2g2oLUIA5WKaCvCMOBHhO8PTpfdaVBKC4aeSQj7hLPUJ+iVdUIKTS9X1Gov51Rwc9uliOIql6VTiyZzfS+qtir0QlUbNGSRo+I6VwSHUiYurOYg1qRWmWE34c7AsuBvBkvQPOy+k3zre8ACyLYc4hPe+uGCWqWU+wQ/cJCDynJfZeU1WfV+NlaaVsOG3879TUW/NiXClSzcaJq6ca495Llqy1sY5WwW5L2bJUOawcG7oI9Y7yYhviLQnbGdo1UX3rp0S69IWlpb251gCbzs2OLJpOAmCFyaSYdzg8bVdNtXidRrD+eIRFi40EbR15DG9rezF6/DNQd1cT0uw3EK1/qMYoUnm8DsLXsCrAUtSZ3npe5h86mfqLhiGLQe0g1o7jUD8kE3rMdbn8L/8g/xD/TmaO+ifwyav9l2JO2cCTUX/XegmwG0J/3X4Nmd/r59+PXP+Qc="),\r\nthis.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.paramSet;whiteSpace=wrap;align=center;",160,100,"Action","Parameter Set",null,null,this.getTagsForStencil("","paramSet","sysml activity parameter set").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.paramActSet;align=left;spacingLeft=15;verticalAlign=top;spacingTop=-3;fontStyle=1;",250,120,"act","Parameter Set",null,null,this.getTagsForStencil("","paramActSet","sysml activity parameter set").join(" ")),this.addDataEntry("sysml activity probability",\r\n120,160,"Probability","zVTLboMwEPwaXyNi2uQcoM2llSqlP2DMBqwaG9lOA/n6rsEhb7WRqqoHJO/sjj2eQSZxWrdLw5rqVRcgSfxE4tRo7YZV3aYgJaGRKEicEUoj/Ah9vtGd9t2oYQaU+wmBDoRPJjcwIAvuhFYDbF0nA1y5GsVlUxIntmKNR+u29LontrO1nDRG5ywXUrgOZ7aVcLBqGPeDWxxDjElRKiw5agODQDgbjIP2pv4eCuKXoGtwpsORrShcFSbCHaMKRFntabMAMjsA5cg92IGL4Mh1d+ILd8g88fqO7oqH+86M0HiKy6QfXjXAxVpwNngZkXl24agBK3Ys70tPPHJ475SEtfNbokO4l1wEONfO6RobkuUg37QV/TEX8y9n7VNewvhHafRGFamWGvPIlFYoJllr5VZi53X1N7IYo1BlEtgZfRyz41op4C7cYvzbvsuUXs+0PcuzG+qHX0jy4X8m6XRzf4xHpHszfPfUPw9wrO9IEMvDK9j3Th7JLw=="),\r\nthis.addDataEntry("sysml activity probability",120,160,"Probability","zVRdb4MgFP01PK6x0I/nqVtfuqRJ9wdQqZIh1yDttL9+gFRb22Zrsix7MOGec0+4nCMgEpXNStGqeIOMCUReEIkUgO5WZRMxIRAOeIZIjDAOzIfw6x126tigoopJ/RMB7gQHKvasQ2iqO6zWrfBYoUszWTxFJKwLWlm0bHI79KRu61JMjGijIDE8FTyXhhdsp217RVMu87Wr4rlBDkxpnlLx7Bs1VEPfuy3iJ2KQHUi99SPYjf2gRs2au4d1kD/pikHJtGpNyyfPdOE7vCFBwXhenGQLD9K6A/JeO3hnFt6+21aSKyvRMrTzGWNowgXXdhTHLBAm08CaYZu3FUv5zniiOUjbsoyvElCs5keauNIKzxIZOT72NwGtoTSEoAkTG6i52+aqfz2iL3UhTT9yBXuZRSBAGV6CZKeY+NGlFAxBhl4d43mfXQpSslT7U/S/5neZ4tuZNqM8266e/UKSs/+ZZHdTHozxTPRoht1l/OsA+/qBBE05PJmOu3hRvwA="),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",120,60,"&lt;&lt;continuous&gt;&gt;\\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",120,60,"&lt;&lt;discrete&gt;&gt;\\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",140,\r\n120,"{ rate = constant }\\n{ rate = distribution }\\n&lt;&lt;continuous&gt;&gt;\\n&lt;&lt;discrete&gt;&gt;\\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",140,80,\'<p style="margin:0px;margin-top:4px;text-align:center;">Object Node</p><hr/><p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;rate&gt;&gt;<br/>rate = constant<br/>rate = distribution</p>\',"Rate",null,\r\nnull,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.addEntry("sysml activity rate",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;");a.vertex=!0;var d=new mxCell("{ rate = constant }\\n{ rate = distributuion}\\n&lt;&lt;continuous&gt;&gt;\\n&lt;&lt;discrete&gt;&gt;",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");\r\nd.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Rate")}),this.addDataEntry("sysml activity rate",300,60,"Rate","7ZVNj5swEIZ/ja8RgTarHgO73dNKK+XSHh0YgbXGg+xhA/vrOwZDlnxUqOqhhx5QPK/H43dGD0EkWd09W9lUL1iAFsmTSDKLSOOq7jLQWsSRKkTyKOI44kfE3+/sbofdqJEWDK05EI8H3qVuYVT2OSk0o+yo10GuqGZzj1uRpK6SjVfrrvS+N653td4ol6Ehi5yVnipFcGhk7tNOnMSa1Ko0HObsDCwL4WawBN1d94MUrD8D1kC255Rw4NvYXHRSBVXhQGg4qkCVVaiyC5p0Y1zOlc6j4UWYzu1JJVeTEg/cQ2QlAf8MUpSjcSTZPAsPLOxEnGwj3+x1bqEcWXVsqfXzXmbHO1n7oWm6ivgKUqbF1s16uciaojXF2ENuwZv6XakLFKAo4RBC0Ec8PZ2F9BMnwx6vK7Tqg11LjwaPx9Le2mEHG2AkUoutKcDP2fsFU0z7Bo2v6RlRudT7gBChNwedoh/TGV7/9OvNV9+aPIJOZf5WDpUz1GjP1QYHB/Xh7W/juUHf1QJDh63NYfGarCDTgpak3pelbnEXjr6iGnDpA2UXpLLXEigkXcA637qK3y//+f1Dfif8lmzeZPcOqfy/2M+o+mAtq3zfP0dqN5EaUP3b5HJ4/v6N6Z8/j78A"),\r\nthis.addEntry("sysml activity control flow",function(){var a=new mxCell("",new mxGeometry(0,0,60,40),"shape=rect;html=1;rounded=1;whiteSpace=wrap;");a.vertex=!0;var d=new mxCell("",new mxGeometry(100,0,60,40),"shape=rect;html=1;rounded=1;whiteSpace=wrap;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow=open;labelBackgroundColor=none;endSize=12;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,\r\nd,e],160,60,"Control Flow")}),this.addDataEntry("sysml activity control flow",160,60,"Control Flow","zVNNb4MwDP01ufNR7d7Srqed+AUpsUi0ECMTCu2vnyEZDGnVusu0QyT72c/4PRKRF814JtnqN1RgRX4SeUGIPkTNWIC1IkuMEvlRZFnCR2SvD6rpXE1aSeD8M4QsEK7S9hCQAHT+ZiPQadlOIUHFIw/aN7zlMeWQsHcKVMwGbTyUraym5oEVMRanA3kYH244Q3G9M2ADnm7cMhjldeh4CSISDabWkbWLmOxCXi/MVS4HUfH36vP/q/6TkESZf+DG7mc3QNVQxhTsBYfTCnz1Zq5xrJHMHZ2XdgKd2hPNOLbgGLHyAvYgq/d6NrNAi8RVh26ap2SnF3+ZXJr79N00W6yd1tkY22FPFWyutpdUg9/87yfsJ7DSm+t2+i/M5XR9xHNt88Y/AA=="),this.addDataEntry("sysml activity object flow",\r\n260,60,"Object Flow","3ZVNb8IwDIZ/Te4lZdxHYZw49bBzaKwmIo0rN1Dg189tM1g10JDQkLZDJft1X8d5+hGRZtVhRao2a9TgRLoUaUaIYYiqQwbOCZlYLdKFkDLhS8i3G9VJX01qReDDPQY5GPbK7WBQBqEJRxeFxqi6CwkKbjk3oeIpFxMOCXdeg45ZEwi38G51MKxIVlpjA+S1Kjp7y3tkLa4HFOBwc+ZeigOvACsIdORb2tibq7NhW4kBW5romkZNNUNenp0XABxEBtd5pI/w+H0Cn4YkbvUJRKZ/6Q2JBvlEPi8/8wFdQh5TcBtslxfhK62+xrFBsif0QblO9PqVqNexBs+KUxtwc1Vsyx5vhg6Jqx49XIXMHXJ76hafyDPfbqYR3QZ3VMDorxAUlRBGH8Ydz4DAqWD34+6PEJ79Q8Lpd8LTpxHm9HLC9LXRAfQB"),this.addEntry("sysml activity object flow",\r\nfunction(){var a=new mxCell("",new mxGeometry(0,0,60,40),"html=1;shape=mxgraph.sysml.objFlowR;strokeWidth=2;whiteSpace=wrap;");a.vertex=!0;var d=new mxCell("",new mxGeometry(140,0,60,40),"html=1;shape=mxgraph.sysml.objFlowL;strokeWidth=2;whiteSpace=wrap;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow=open;labelBackgroundColor=none;strokeWidth=2;endSize=12;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);\r\nreturn b.createVertexTemplateFromCells([a,d,e],200,60,"Object Flow")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.objFlowR;whiteSpace=wrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowR","sysml activity object flow").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.objFlowL;whiteSpace=wrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowL","sysml activity object flow").join(" ")),this.addDataEntry("sysml activity probability",\r\n350,80,"Probability","7ZXbboMwDIafhnsKZb3uabvZpEp9ggAeiRZiFExPTz+H0FK2Vuu0TdvFLpCc3wdsf0EE8bzcPVhRySfMQQfxMojnFpG8Ve7moHUQhSoP4kUQRSE/QXR/xTtqvWElLBi6JSHyCRuhG/CKF2ra606opaicaSWWaVMH8UxSyY0uRmxupSJYVyJzEVseg7UNWFKZ0I8iBb3CWpFCw+4UibA8C5hqVZjSd0roUrtu2A+7qxO1UjfOA2AJZPccckxIEp+y9+exX0C4VTnJoSRBFZKGmqj9uTgV7rfHRrfAy8uMP14m5AWsuyPoFLfLXjjfa+tjW6JVBzQk2DETbl+OhG97uMfzBYPJp9a2BQwaV9piY3JwfYZ80o7MTGQvRavPUaPtY2sSlo75WIE5amt1cH2PohMpN86AU42NzWBwt25AZ0ELUpthqUskutQVKq7YI58kwxRutgDqot7wO732JqTj90gnMzeUxVSkSity/bceH7SuIFPPTKW99OyaLL58CY6cb0TeIfsMcs7+q3DjJBx8z3fhT7FO/ln/FuvvZsvH/h/qw89/sa8="),\r\nthis.addDataEntry("sysml activity probability",250,60,"Probability","7VRNb4MwDP01uVYU1vVc6NrTpGlctmMAF7IFjEJaYL9+Dkk/aJlU7bTDkBD284t5PIewICq7reJ18YwZSBY8sSBSiNpGZReBlMz3RMaCNfN9j27mb36ozoeqV3MFlb5ngW8XHLjcg0VWqRZYWbjRvXRwoUsSt56zIGwKXhu07HKje9b0TSlnmHxsJLavRGgLoSGueWpYLXEI41LkFaUpCQNFgHsxKA3dj+IHyCnfApagVU+UVmS6cIxH+4FeASIv3LIjxhub56elZysocG5MOxPcOMOWoZGnMOGJkEIbJUPFkuIaUrETKbf+eWy5vnERshxil1ZY0SO8MPbGI+MONZQrV0hQayypAFW2UgpbwrCGyiKx+DJ9575JO6HfXFsTv1PszRaU7YSUEUpUg6JgN1yES56ADHn6mSvcV9mR4lTaLzHyR7NqcK9SGG2lO8Y3nrcCSZYdxo2nJucavaCg/qcu/uJq2JqrHLRjXc37JOKuLfDwB7eAxvp//pPz76f//V9vB0rP57ClXx7T3w=="),\r\nthis.addDataEntry("sysml activity probability",250,60,"Probability","3VRNb4MwDP01XCcK23ou7dbTPiQu2zGAC9lCjIJb6H79HJK2o2ulqqdpSAj72THPfoYgntf90oimesICVBA/BPHcIJKz6n4OSgVRKIsgXgRRFPIdRI9nopMhGjbCgKZLDkTuwEaoNTjkJfuAnBh7Zj4u2tJW+WhbicaaxubESVdJgrQRucU67oIxoWSp2c2ZAhgG/CvAEPRnaQ6Q57gErIHMllM6WVDlM+5dK2EFsqz8sR0mWueX+6OHptnwfZ+eQfxrBsE0sfQMZiKTSpJlMkRcUtpALlcyFyRR29B08WtQUJSQelej5kdSUc0UFpNTM7LT4YJq5gMZEmHNAdDFzBjsGMMGtENS+WXrTiLr9pLefFlrv7Md3sTsraRSc1RoBkbxargYVyIDlYj8szS41sUuxbN0nVj6I61aXJscRktzgXxjvQ0oHtlmXPiUcr7QK0pNhyrR3ZHYJEwJ5LOO9N6TuGgFbv/gChA21+s//c/6b09/+1evA7uHP65L//lD/gY="),\r\nthis.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;verticalAlign=top;labelBackgroundColor=none;",160,0,"{ rate = constant }\\n{rate = distribution}\\n&lt;&lt;continuous&gt;&gt;\\n&lt;&lt;discrete&gt;&gt;","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.addEntry("sysml activity in block definition diagram activity association",function(){var a=new mxCell("bdd",new mxGeometry(0,0,330,250),"html=1;shape=mxgraph.sysml.package;labelX=45;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;strokeWidth=1;recursiveResize=0;");\r\na.vertex=!0;var d=new mxCell("&lt;&lt;activity&gt;&gt;\\nactivity name",new mxGeometry(30,40,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var e=new mxCell("&lt;&lt;activity&gt;&gt;\\nactivity name",new mxGeometry(30,160,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var g=new mxCell("action\\nname",new mxGeometry(0,\r\n0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;endFill=0;startArrow=diamondThin;startFill=1;startSize=12;align=left;verticalAlign=bottom;labelBackgroundColor=none;");g.geometry.relative=!0;g.geometry.x=1;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);d=new mxCell("&lt;&lt;activity&gt;&gt;\\nactivity name",new mxGeometry(180,40,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");\r\nd.vertex=!0;a.insert(d);e=new mxCell("&lt;&lt;block&gt;&gt;\\nblock name",new mxGeometry(180,160,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);g=new mxCell("object\\nnode\\nname",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;endFill=0;startFill=1;startSize=12;align=left;verticalAlign=bottom;labelBackgroundColor=none;");g.geometry.relative=\r\n!0;g.geometry.x=1;g.edge=!0;d.insertEdge(g,!0);e.insertEdge(g,!1);a.insert(g);return b.createVertexTemplateFromCells([a],400,250,"In Block Definition Diagrams, Activity, Association")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.actPart;strokeWidth=3;verticalAlign=top;rotation=-90;whiteSpace=wrap;",100,100,"Partition Name","Activity Partition",null,null,this.getTagsForStencil("","actPart","sysml activity activity partition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;strokeWidth=2;verticalAlign=top;whiteSpace=wrap;align=center;",\r\n140,50,"(Partition Name)\\nAction","Activity Partition",null,null,this.getTagsForStencil("","","sysml activity activity partition").join(" ")),this.addEntry("sysml activity interruptible activity region",function(){var a=new mxCell("region name",new mxGeometry(0,0,160,60),"shape=rect;html=1;rounded=1;verticalAlign=top;dashed=1;strokeWidth=2;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"shape=mxgraph.lean_mapping.electronic_info_flow_edge;html=1;edgeStyle=none;align=center;verticalAlign=bottom;exitX=1;exitY=0.5;fillColor=#ffffff;");\r\nd.geometry.setTerminalPoint(new mxPoint(250,30),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0;a.insertEdge(d,!0);return b.createVertexTemplateFromCells([a,d],250,60,"Interruptible Activity Region")}),this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;dashed=1;strokeWidth=2;verticalAlign=top;whiteSpace=wrap;align=center;",160,60,"&lt;&lt;structured&gt;&gt; node name","Structured Activity Node",null,null,this.getTagsForStencil("","","sysml activity structured activity node").join(" "))];\r\nthis.addPalette("sysmlActivities","SysML / Activities",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLInteractionsPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;overflow=fill;labelX=95;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;",160,80,\'<p style="margin:0px;margin-top:4px;margin-left:5px;text-align:left;"><b>sd</b> Interaction1</p>\',"Sequence Diagram",null,null,\r\nthis.getTagsForStencil("","package","sysml interaction sequence diagram").join(" ")),this.addEntry("sysml interaction lifeline",function(){var a=new mxCell("b1:Block1",new mxGeometry(0,0,160,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;dashed=1;endArrow=none;align=center;verticalAlign=bottom;exitX=0.5;exitY=1;");d.geometry.setTerminalPoint(new mxPoint(80,150),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0;\r\na.insertEdge(d,!0);return b.createVertexTemplateFromCells([a,d],160,150,"Lifeline")}),this.addDataEntry("sysml interaction execution specification",160,220,"Execution Specification","xZTbboMwDIafJveU7NDbQrdeTZrUJ8iIR6IFgkJa6NvPJS40W6sxddKQkOLTj/1hhfG86jdONOrFSjCMPzGeO2t9OFV9DsawNNGS8TVL0wRflj5fiS6GaNIIB7WfU5CGgr0wOwietwXjq8zY4oPEWn8wFGuVaI5HBwWqZ8pX2PAaC7JOaQ/bRhTHcIfjoE8YXdZoFtgLOHTQt8B56K/2O7io2Q3YCrw7YEqnpVeU8RBmShToUlHZySfaYJdj6TQ9HgjAZRj8G4xfEHjXxuTWWDckchieG4emgkea7UDJCdlnTNILSJZ/gOTuZyQgS9iSWdsaYixStAokGVDLlXO2mzKD2lEiYtPanSsgWlEvXAk++lEzCDowwut9rH4LkPv/BzJ/+njhZrMgoVerUX9UWcZbOK7cSSH8ICr6AnTs6RJjNKcLL6Sf34ef"),\r\nthis.addDataEntry("sysml interaction execution specification",160,220,"Execution Specification","zZTNbsIwDMefJvfSbBNXKBsnpEl9giyxmmhpU6WBlrefIaaQUaRKm7QdKsVf/9q/WGG8qIetF63eOQWW8VfGC+9ciKd6KMBalmdGMb5heZ7hx/K3B9HFOZq1wkMT5hTkseAg7B6i52PB+GptnfwksS4cLcU6LdrT0YNE9bUONTa8wYJ1r02AshXyFO5xHPQJa6oGTYm9gEcH/Qt8gOFhv2cXNbsFV0PwR0zpjQqaMl7iTJkGU2kqu/hEF+1qLL1OjwcCMA2D38GAAWTZgvxPJKiALjY7UnJG9i2ofALU8hdAPd2BugMEqoKSzMY1kEJSotOgyIBGrbx3/TUzqp0kEjid23sJyeIG4SsIyfXNQOjBimAOqfpPgDz/PZD506cbN5sFCb07g/qjyjJdw3EtLwrxgqjoG9CxpynGaF6fwZh++0p+AQ=="),\r\nthis.addEntry("sysml interaction use",function(){var a=new mxCell("Interaction3",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.package;labelX=40;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("ref",new mxGeometry(0,0,0,0),"html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;spacingLeft=5;spacingTop=-2;fontStyle=1;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],\r\na.geometry.width,a.geometry.height,"Interaction Use")}),this.addEntry("sysml interaction combined fragment",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>sd</b> Interaction1</p>\',new mxGeometry(0,0,350,320),"html=1;shape=mxgraph.sysml.package;labelX=100;html=1;overflow=fill;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("b1: Block1",new mxGeometry(30,40,80,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");\r\nd.vertex=!0;a.insert(d);var e=new mxCell("b2: Block2",new mxGeometry(140,40,80,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var g=new mxCell("b3: Block3",new mxGeometry(250,40,80,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");g.vertex=!0;a.insert(g);var h=new mxCell("alt",new mxGeometry(20,90,200,160),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.package;labelX=35;fontStyle=1;align=left;verticalAlign=top;spacingLeft=5;spacingTop=-3;");\r\nh.vertex=!0;a.insert(h);h=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");h.geometry.setTerminalPoint(new mxPoint(70,300),!1);h.geometry.relative=!0;h.edge=!0;d.insertEdge(h,!0);a.insert(h);d=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");d.geometry.setTerminalPoint(new mxPoint(180,300),!1);d.geometry.relative=\r\n!0;d.edge=!0;a.insert(d);e.insertEdge(d,!0);e=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometry.setTerminalPoint(new mxPoint(290,300),!1);e.geometry.relative=!0;e.edge=!0;a.insert(e);g.insertEdge(e,!0);g=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");g.geometry.setTerminalPoint(new mxPoint(20,\r\n170),!1);g.geometry.setTerminalPoint(new mxPoint(220,170),!0);g.geometry.relative=!0;g.edge=!0;a.insert(g);g=new mxCell("[if x < 10]",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=open;html=1;edgeStyle=none;verticalAlign=bottom;labelBackgroundColor=none;endSize=12;");g.geometry.setTerminalPoint(new mxPoint(70,150),!0);g.geometry.setTerminalPoint(new mxPoint(180,150),!1);g.geometry.relative=!0;g.geometry.x=-1;g.edge=!0;a.insert(g);e=new mxCell("msg1",\r\nnew mxGeometry(1,0,0,0),"align=right;html=1;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative=!0;e.setConnectable(!1);e.vertex=!0;g.insert(e);g=new mxCell("[else]",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=open;html=1;edgeStyle=none;verticalAlign=bottom;labelBackgroundColor=none;align=right;endSize=12;");g.geometry.setTerminalPoint(new mxPoint(70,230),!0);g.geometry.setTerminalPoint(new mxPoint(180,230),!1);g.geometry.relative=\r\n!0;g.geometry.x=-1;g.edge=!0;a.insert(g);e=new mxCell("msg2",new mxGeometry(1,0,0,0),"align=right;html=1;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative=!0;e.setConnectable(!1);e.vertex=!0;g.insert(e);a.insert(g);g=new mxCell("msg3",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=open;html=1;edgeStyle=none;verticalAlign=bottom;labelBackgroundColor=none;endSize=12;");g.geometry.setTerminalPoint(new mxPoint(70,290),!0);g.geometry.setTerminalPoint(new mxPoint(290,\r\n290),!1);g.geometry.relative=!0;g.edge=!0;a.insert(g);return b.createVertexTemplateFromCells([a],350,320,"Combined Fragment")}),this.addDataEntry("sysml interaction state invariant configuration",120,220,"State Invariant / Continuations","xVTLboMwEPwaXyMCpfeEtDlFqpRTjxbeYksGI9sJ8Pdd4gVCHhJSpfSAvM9hZ7wyS7Ky3Vtey4MRoFnywZLMGuODVbYZaM3iSAmW7FgcR/ix+PNJdn3JRjW3UPklDXFoOHN9ghBhyeY7BJ3vNAWd5HVvWsgRdit9iZPu1mg2Unk41jzv0w3ywBjXqqjQzXEIsBign4D10D4d9BKiKfdgSvC2w5JGCS+pgshEElQhqS2lGHfBL8bWiTYaxPyxCsmdCnV/IMP0Toor7oMqZVv0F7hynSv1Kjc9o+0PHkdqe4lQHWUjEuQVwr3dr8+tXiAKGHSoTAXz9RHcSRDkQCU21ppmqgxoPcRMDWdONofZBntuC/Cz61ygmQXNvTrP0f8iSPr/gixnP1+xxVoQ0JdRiD+ivNM60RoOD8+IEC6Imm4EHWd6pDG603sYyq+fy18="),\r\nthis.addDataEntry("sysml interaction coregion",250,220,"Coregion","1ZZbb4IwFIB/TV8NUJjuUXHzackSH/bcwRk0K5S09bZfv0ILCmjmJmpmYtJz5ZzvlFKEw2y7EKRIX3gMDOEnhEPBuTKrbBsCY8hzaIzwHHmeo//Iez5hdSurUxABuTonwDMBa8JWYDQSBbMVCuYIT2fGKNWO1caUFOVSQKTTz1KV6Yrnrl5uUqpgWZCoNG90P1pHGE1yLUa6GBBaYR8GQsH2ZMGVyla7AJ6BEjvtsqGxSq2HY5pyUqBJasMCqyPSyEkTum9fLyyB4zRwj0aPwEHLNYxsm5TzG8mdzNgo4gISyvPSQQn+CW+2cHwhABvg2z53HRYHfLwjeMYD4PF/xlMz0YG0kNDeIx+UsZAzLipf7FS/gahM2lTcSY+K34fiX84k+D9M/FsxefiZCcQJLK2Y87wDJSYyhdgKkMdTIfhm72mylSlaZCRfiQha55oiIoF2Y2fwE8CIout29kuAjO8PxO8DCe4HZHJ/IFfo3oa+cqozNq9h0D6wm9O5zmBGYoM6CJsqzqL62KOa4WG5Sl2sqnW8gPIrV55RNCJsar/271wpntXOS/pVPsn1frVNrz+V7ljc643FdfpzGXi/X30uN3tbenPp3uv+PBct7u/Vxv3w2v0N"),\r\nthis.addDataEntry("sysml interaction creation destruction event",250,220,"Creation/Destruction Event","1Zdtb4MgEIB/jd8VtNs+tt3LlzVZ0l9A9aZkKAZZbffrh4J2SJfZ9W0zacLdcVfuOTzEw/N88yRImS14AszDDx6eC86lHuWbOTDmIZ8mHr73EPLVz0OP31iD1uqXREAhxzgg7bAm7B20ZhV4eDpjPH4zwSq5ZcZWZaRshgJiFX2WyVwt+F45zOqMSliWJG7MtUpH6QijaaHEWK0FhFKY/wIhYfPteluVWewT8Byk2KopNU1kZmb4Oic/A5pmxg0bHam0nPauu+zVwADYDwO7MFAHA/0lGJ1DZJLeajk04iVYhQ6rnwC9UsbmnHHRWjG0jw3uFEzubCY3LhO0B0nP6Rgm0XgmypGWFbhY/PY5OZbw1qISYYdK6EIJj0cy+TdIgk4+O5Obn5lAksLSiAUvGigJqTJITPpQJFMheL0zO2yaEBaZir+LGKy2L4lIQVqbdwQ/AYxIurajHwPk9vpAIhfI5HpA7q4P5AzZG9cXTlXE/jUcnGF9d+4i6JIYpwHCfhWjqAa+gzUWQCSMgfuFJy9BneSzpvnQmLCpOdlXXEqe66lL+tH4BugUGxFfqhTDWgRnrEVw2BYHtuL1w06xpx7tFCV2dTm2EhO3EuHVKhGdrxLuFeDA96HaVovnjYW7SczuR4exvxxof9B+ht+BvwatxN01Tk//esv7BA=="),\r\nthis.addDataEntry("sysml interaction duration constraint",250,250,"Duration Constraint","zZbNjpswEMefxpdKQXwsjXoMod1DVW2ltA/g4hFYMhjZzibp03ccuwnBREFbVO0himfsGWZ+/5GBZNv2+Kxo33yTDATJPpNsq6Q0btUetyAESWPOSFaSNI3xR9Ivd3aT827cUwWdmROQuoBXKvbgPCTb/NSgnF+bk/B+3dDeLhVUmLloTIvFlgkuDw03sOtpZbcP2Ar6qOB1h2aFdWCyrPDPAWXgeLfWs8sX+gyyBaNOeOTAmWn8idj1EzfA68aH5d5HtbPrS+i1c1z45qdBZCGIdcGiKPvAyLoMaAza/wumPdZWxkifdCsixlvoNJcIoVDSUHNelqtPMTosBl5RsfGUjLTMNCLkXf3DGuUq/xdiPmDl1Y9PI3qPiD4tQPQpJDqmCKyGnTc72eFfwahugHm00LGNUvJw3R5wd9lsihs6Wu5VBTfTPQOYAoESvd6mmureh36XHDNeQOe3nIOJNFTVYHzQCOGlillU84DqFu8N9Nh9tldu0GaAHpAcYJY9dBMD+ksaI1t3dMd/2zRJel+D/w58PeLthiDgHaR5lGc53T6GulHFXva2GLxp4ihKsqmLZjHl/O1SeLvM36+ayUwZHsoZJLozF2/Qcx3o+fJ1cfEm3gvvWLY0Xkq28evnzbKhef2WcseHn1p/AA=="),\r\nthis.addDataEntry("sysml interaction duration constraint",250,200,"Time Constraint","3ZbbUoMwEIafJpcyHFq5LqC9cJw6U18gJStkDIQJoQef3kBiQZFprVSrF0yzm/13tv9HMiAvzLZzgYv0nhNgyLtBXig4l3qVbUNgDLk2JciLkOva6kHu7cCu0+zaBRaQy2MErhasMatAZ3SilDtmEkASWJow57n6CVKZqUkjRy0JLlMgJoCczITgm7ZSd6tbDA7YpMx0c+AZSLFTJQIYlnT9XodLHSb7ur30gVPV0bW35o/Z7xUlr0QMpqhryIBu9xZ+6COxSED2+qhFZ/o21dj9ufXev7XeO9V778fMn/TMD7Egi6qeBvmBbVmOh/zoi0Q6EHgBucqsQUgaYzZjNFFxtOJS8kxtlAWOaZ4EJo6mWr6kL3Vrx72Es2MwOJPjMBzk2Ws08GKcwHPa47m4Gx2e5EVL7rEOLhqbPxY252zYrvt3oB9Iy1J9g++dP7OJDTpBk1SZHzC8Ahbg+DkRvMpJyBkXY1yZxroro/htkkPC8cj5PXKy8XEzGjIGT3+I2KGr7ujDNz3XnanC9rtSl3c/O18B"),\r\nthis.addDataEntry("sysml interaction message",250,250,"Message","zZbfboIwFMafhmS7gzJ1t4LTqyVLeIIKJ9CsUFKqyJ5+B1tUQDNHCHpB6L/zcc7vowXL9dPDRtI8+RQRcMv9sFxfCqF0Kz34wLlFbBZZ7soixMbLIusbs85x1s6phEzdE0B0wJ7yHeiRrWO5S4+L8NuIFariZq5IaF43JYSo7iUqxYRXGOCVCVMQ5DSsp0ssB8coZ3GG3RBzAYkD5lkgFRxu5nscMsluQKSgZIVLShapxKywdU12AixOTJhrxmih+/Ep9Fw9NgyA6zDcPgzSwCDPBKMJmJmip4Dz1oPTIwJRDIHpZiLDmxfRIoHIcLlABFm0lFKU55VarZZo0SjETobQelnvACSBU8X2balr1ZvQL8FQ8QS24VqZ5846/BSVMSgT1EF4yuIuqrPHU3WnokrsybDOe1hpUWVhgHuQ8nsIX4cqcsA97NWbloWUL82e3gqlRKqXBuynlnHIbfiTv7+LDmftfo/zn4Z1dcbza9Hzq7bLp5y/IC2avg73bFuf3v8wDbtrxhuhZ7HQmY/kYU9oPBPfB51lo+y0tmmt4/FhDvaOO3ughd2vUVdnsIPYPf9p6uWXP6K/"),\r\nthis.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=sysMLLost;endSize=12;verticalAlign=bottom;",160,0,"lost","Lost Message",null,this.getTagsForStencil("","","sysml interaction lost message").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;verticalAlign=bottom;startArrow=sysMLFound;startSize=12;",160,0,"found","Found Message",null,this.getTagsForStencil("","","sysml interaction found message").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;dashed=1;strokeWidth=2;",\r\n160,0,"","General Ordering",null,this.getTagsForStencil("","","sysml interaction general ordering").join(" "))];this.addPalette("sysmlInteractions","SysML / Interactions",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLStateMachinesPalette=function(a){var b=this,e=[this.addDataEntry("sysml state machine choice pseudo state",150,100,"Choice Pseudo State","zZXbcoIwEIafJvcctPeC1ulFZ5zxCYLZQqaBZUJQ9OmbkKCgMqVjnfaCmd1/k+zyfxxIGOfNWtIye0cGgoQrEsYSUdkob2IQggQeZyRckiDw9EWC15Gq31a9kkoo1JQNgd2wp6IGq1ihUkfhhCqjpQllhnlSVySMMpXrQZe+DgVNQGyw4opjYRbxNNONIyp4anIBHybdg1R8R8XCyTlnTJ9ve+saNKPzt5Ibfg2Yg5JHveTo5re35x04U5mVZk7KwM7S12hl8/R80MUbHTh77lsVfm8VsBS2LgWR4GF1EfqutTUdZyj5CQtFRc+yzsJrzxJUCnNdkFgXDMxUXkcgorvPtNVjFCh1qcDCNIWCLaRsm2EJhVW2/GQm9LWvkb0HM/iAgKIyBTV4RiZAkSCo4vvhUfc8d1s3yPWJgdcMYXY7KqzlDtyiK1DnrpPYzW7ZzaM3RoIXYaw2ZnhkvnwYaMfsDs5bEj/kOIGaNeyPqLk30veuKNpH6TcozkcppsbhpyF0H7HHCI6+zv8YrT9/FludXn5ydnn/H/gF"),\r\nthis.addEntry("sysml state machine composite state",function(){var a=new mxCell("CompositeState1",new mxGeometry(0,0,220,190),"shape=mxgraph.sysml.compState;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=18;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,50,20,20),"shape=ellipse;html=1;fillColor=#000000;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;");d.vertex=!0;a.insert(d);var e=new mxCell("State1",new mxGeometry(80,60,100,\r\n40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;rounded=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var g=new mxCell("State2",new mxGeometry(80,130,100,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;rounded=1;whiteSpace=wrap;align=center;");g.vertex=!0;a.insert(g);var h=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=open;endSize=12;");\r\nh.geometry.relative=!0;h.edge=!0;d.insertEdge(h,!0);e.insertEdge(h,!1);a.insert(h);d=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=open;endSize=12;");d.geometry.relative=!0;d.edge=!0;e.insertEdge(d,!0);g.insertEdge(d,!1);a.insert(d);return b.createVertexTemplateFromCells([a],220,190,"Composite State")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.compState;html=1;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=18;",\r\n200,160,"CompositeState1","Composite State",null,null,this.getTagsForStencil("","compState","sysml state machine composite state").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;labelPosition=left;verticalLabelPosition=bottom;spacingBottom=10;align=right;verticalAlign=bottom;resizable=0;",20,20,"again","Entry Point",null,null,this.getTagsForStencil("","compState","sysml state machine entry point").join(" ")),this.addEntry("sysml state machine exit point",function(){var a=new mxCell("aborted",\r\nnew mxGeometry(0,10,20,20),"shape=mxgraph.sysml.flowFinal;labelPosition=right;verticalLabelPosition=top;spacingTop=5;spacingLeft=3;align=left;verticalAlign=top;resizable=0;");a.vertex=!0;return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Exit Point")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.actFinal;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",40,40,"","Final State",null,null,this.getTagsForStencil("","actFinal","sysml state machine final state").join(" ")),\r\nthis.createVertexTemplateEntry("shape=ellipse;html=1;fontSize=18;align=center;",40,40,"H*","History, Deep Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine history deep pseudo state").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;fontSize=18;align=center;",40,40,"H","History, Shallow Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine history shallow pseudo state").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;fillColor=#000000;fontSize=18;fontColor=#ffffff;",\r\n40,40,"","Initial Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine initial pseudo state").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;fillColor=#000000;fontSize=18;fontColor=#ffffff;",40,40,"","Junction Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine junction pseudo state").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sysml.accEvent;flipH=1;whiteSpace=wrap;align=center;",140,40,"Req(Id)","Receive Signal Action",null,\r\nnull,this.getTagsForStencil("","accEvent","sysml state machine receive signal action").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sysml.sendSigAct;whiteSpace=wrap;align=center;",140,40,"TurnOn","Send Signal Action",null,null,this.getTagsForStencil("","sendSigAct","sysml state machine send signal action").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",140,40,"MinorReq := Id;","Action",null,null,this.getTagsForStencil("","","sysml state machine action").join(" ")),\r\nthis.createVertexTemplateEntry("shape=mxgraph.sysml.region;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=25;",200,160,"S","Region",null,null,this.getTagsForStencil("","","sysml state machine region").join(" ")),this.createVertexTemplateEntry("shape=rect;rounded=1;html=1;whiteSpace=wrap;align=center;",100,40,"State1","Simple State",null,null,this.getTagsForStencil("","","sysml state machine simple state").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sysml.simpleState;html=1;overflow=fill;whiteSpace=wrap;align=center;",\r\n200,100,\'<p style="margin:0px;margin-top:4px;text-align:center;">State2<hr/></p><p style="margin:0px;margin-left:8px;text-align:left;">entry / entryActivity<br/>do / doActivity<br/>exit / exitActivity</p>\',"Simple State",null,null,this.getTagsForStencil("","simpleState","sysml state machine simple state").join(" ")),this.createVertexTemplateEntry("shape=rect;rounded=1;html=1;whiteSpace=wrap;align=center;",120,40,"State1, State2","State List",null,null,this.getTagsForStencil("","","sysml state machine state list").join(" ")),\r\nthis.addEntry("sysml state machine state machine",function(){var a=new mxCell("ReadAmountSM",new mxGeometry(0,0,160,120),"shape=mxgraph.sysml.stateMachine;verticalAlign=top;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable=0;html=1;verticalAlign=top;align=left;labelBackgroundColor=none;spacingLeft=5;spacingTop=-2;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,\r\na.geometry.height,"State Machine")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.x;",40,40,"","Terminate Node",null,null,this.getTagsForStencil("","x","sysml state machine terminate node").join(" ")),this.addEntry("sysml state machine submachine state",function(){var a=new mxCell("ReadAmount :\\nReadAmountSM",new mxGeometry(0,0,160,120),"shape=mxgraph.sysml.submState;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable=0;html=1;verticalAlign=bottom;align=left;labelBackgroundColor=none;spacingLeft=5;spacingBottom=2;");\r\nd.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Submachine State")}),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;strokeWidth=3;verticalAlign=bottom;",160,0,"trigger[guard]/activity","Transition",null,this.getTagsForStencil("","","sysml state machine transition").join(" "))];this.addPalette("sysmlState Machines","SysML / State Machines",a||!1,mxUtils.bind(this,function(a){for(var c=\r\n0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLUseCasesPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=ellipse;html=1;strokeWidth=3;fontStyle=1;whiteSpace=wrap;align=center;perimeter=ellipsePerimeter;",120,60,"UseCaseName","Use Case",null,null,this.getTagsForStencil("","","sysml use case use case").join(" ")),this.addEntry("sysml use case ",function(){var a=new mxCell("\\nextension points\\np1, p2",new mxGeometry(0,0,160,80),"html=1;shape=mxgraph.sysml.useCaseExtPt;whiteSpace=wrap;align=center;");\r\na.vertex=!0;var d=new mxCell("UseCaseName",new mxGeometry(80,17,0,0),"resizable=0;html=1;verticalAlign=middle;align=center;labelBackgroundColor=none;fontStyle=1;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Use Case")}),this.createVertexTemplateEntry("shape=umlActor;html=1;verticalLabelPosition=bottom;verticalAlign=top;align=center;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("",\r\n"umlActor","sysml use case ").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;html=1;whiteSpace=wrap;align=center;",80,40,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;actor&gt;&gt;<br/><b>ActorName</b></p>\',"Actor",null,null,this.getTagsForStencil("","","sysml use case ").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;verticalAlign=top;fontStyle=1;whiteSpace=wrap;align=center;",120,60,"SubjectName","Subject",null,null,this.getTagsForStencil("",\r\n"","sysml use case subject").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;",160,0,"","Communication Path",null,this.getTagsForStencil("","","sysml use case communication path").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;verticalAlign=bottom;dashed=1;labelBackgroundColor=none;",160,0,"&lt;&lt;include&gt;&gt;","Include",null,this.getTagsForStencil("","","sysml use case include").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;startArrow=open;endArrow=none;startSize=12;verticalAlign=bottom;dashed=1;labelBackgroundColor=none;",\r\n160,0,"&lt;&lt;extend&gt;&gt;","Extend",null,this.getTagsForStencil("","","sysml use case extend").join(" ")),this.addDataEntry("sysml use case extend condition",250,80,"Extend with Condition","tVTLjtswDPwaXQvH2kevsbfdSwsUyKU9KjFrC5VFQ1Y2Tr++pMRknWyyj0MPgcUhh6JmFCld99NjMEP3HRtwSn9Rug6IMa/6qQbnVFnYRukHVZYF/VT59Up2kbLFYAL4+B5CmQlPxm0hIzX6xkaLXuklZdR9tUZ0YDwFMA0BxpGT91R7p0q9KJSuYIrgE0x7o+WtmTvQODV/ZZcx7p3sMnZm4KXHSJ9qtH85WtzyejAb69tv8JtPwIhxtqVxHlyCql1nI6yoiik7ko4wOQaECNNVKRIkOjwC9hDDnkqEIEoVO9vETiAtWAe27aTLjWBmzHF77PSsMy1E6suy6xeyk5qm55O4mI4zj5K8zRFrTyokOtP3IFnIc1dd7B0LTEsWyW6MW0rJGmPEnhIBt74BnpA9dWYNrjKbP23Ca3QYkmGeDaN5liHgjhAcwGdkJS6SyFVjxi71WhzHg6aFj3oTwJlon055l5QX6o90+8pinys+n3kVTWghStH8b3HgHS7PnRCv9BlxGzbwok+y/Tj9u27CzYWbcOYl67aSUOSf2TlzQpIf8fHEJphs/Mm0T7cS/XrdwCzDyUvyHz09eFO87s0Vj9/2hsLnhzeXz9/lfw=="),\r\nthis.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=block;endFill=0;endSize=12;verticalAlign=bottom;",160,0,"","Generalization",null,this.getTagsForStencil("","","sysml use case generalization").join(" "))];this.addPalette("sysmlUse Cases","SysML / UseCases",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLAllocationsPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;html=1;whiteSpace=wrap;align=center;",\r\n120,60,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;allocated&gt;&gt;<br/><b>Named<br/>Element</b></p>\',"Allocated Stereotype",null,null,this.getTagsForStencil("","","sysml allocation allocated stereotype").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;",200,120,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>BlockName</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedFrom</i></p><p style="margin:0px;margin-left:8px;text-align:left;">&lt;&lt;elementType&gt;&gt; ElementName</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedTo</i></p><p style="margin:0px;margin-left:8px;text-align:left;">&lt;&lt;elementType&gt;&gt; ElementName</p>\',\r\n"Allocation derived properties (Block)",null,null,this.getTagsForStencil("","","sysml allocation derived property block").join(" ")),this.addDataEntry("sysml allocation derived property comment",270,140,"Allocation derived properties (Comment)","xVRNb+MgEP01HCPZOK16rZO2l3Yv6R8g9sRGHQzF5Ku/fgdM7bKJpVZa7R4sz7xhhuHxGFas1OnJCtO+6BqQFQ+sWFmt3WCp0woQGc9kzYo14zyjj/HHmWgeopkRFjr3nQQ+JBwE7mFAGL9FSi0Nwb074wDfvu99S6UStpEdK+4zcxrdhdOGoDzBEHZuAh2c3EKgbHzuECqnqmQ18R/23n4CAlFXwkH9aLX6jNJpthcZ1p9xAoWijkq89ABBETevZwNjIE2KXvYwrPwlFMztMtPsq/7/rdIeZtqEJ5fJ+1YYb3ba0a9snSLhrXMye/nhA/mNt42oZNc8h9ta34QThgtcxwv8kqcPYHeoj+TuJCmsKI+tdLChEr7ekQT+Jb+iZsGOnVEu6WNWwQGK8n0CrcDZMy2JCctB4NlR1q6Noi4i1oJs2ljlLmKiH/xmrDQ9DzLiC7n+WoqL15IwP8OyhcqztdOd28Ro/i8IOsdodslQzq8wtPwLDC2vzJM/aLF639Xg12ephlBsAUtRvTVhyUqjtkGknRcpdPW9tUFhEalF34Y6+UgU1A0kNPV6bytIZp2j+QQuudBvkGkBhZOHtPoPmCJ3muohlgz93w=="),\r\nthis.addEntry("sysml allocation derived property internal block diagram",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;block&gt;&gt;<br/><b>BlockName</b></p><hr/>\',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;verticalAlign=top;recursiveResize=0;");a.vertex=!0;var d=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>PartName</b><hr/></p><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedFrom</i></p><p style="margin:0px;margin-left:8px;text-align:left;">&lt;&lt;elementType&gt;&gt; ElementName</p>\',\r\nnew mxGeometry(20,60,210,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],250,160,"Allocation derived properties (Internal Block Diagram)")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.simpleState;html=1;overflow=fill;whiteSpace=wrap;align=center;",200,100,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>ActivityName</b><hr/></p><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedTo</i></p><p style="margin:0px;margin-left:8px;text-align:left;">&lt;&lt;elementType&gt;&gt; ElementName</p>\',\r\n"Allocation Derived Properties (Activity Diagram)",null,null,this.getTagsForStencil("","","sysml allocation derived property activity diagram").join(" ")),this.addEntry("sysml allocation activity partition",function(){var a=new mxCell(\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;allocate&gt;&gt;<br/>:ElementName<hr/></p>\',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;verticalAlign=top;");a.vertex=!0;var d=new mxCell("ActionName",new mxGeometry(65,\r\n70,120,60),"html=1;shape=mxgraph.sysml.cont;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],250,160,"Allocation Activity Partition")}),this.addEntry("sysml allocation general",function(){var a=new mxCell("Client",new mxGeometry(0,0,100,60),"shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Supplier",new mxGeometry(200,0,100,60),"shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=\r\nnew mxCell("&lt;&lt;allocate&gt;&gt;",new mxGeometry(0,0,0,0),"rounded=0;html=1;verticalAlign=top;labelBackgroundColor=none;endArrow=open;dashed=1;endSize=12;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],300,60,"Allocation (General)")})];this.addPalette("sysmlAllocations","SysML / Allocations",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLRequirementsPalette=\r\nfunction(a){var b=this,e=[this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;overflow=fill;labelX=110;strokeWidth=2;align=center;",160,80,\'<p style="margin:0px;margin-top:4px;margin-left:7px;text-align:left;"><b>req</b> ReqDiagram</p>\',"Requirement Diagram",null,null,this.getTagsForStencil("","package","sysml requirement diagram").join(" ")),this.createVertexTemplateEntry("shape=rect;overflow=fill;html=1;whiteSpace=wrap;align=center;",200,100,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;requirement&gt;&gt;<br/><b>Requirement Name</b><hr/></p><p style="margin:0px;margin-left:8px;text-align:left;">text="The system shall do"<br/>Id="62j32."</p>\',\r\n"Requirement",null,null,this.getTagsForStencil("","package","sysml requirement ").join(" ")),this.createVertexTemplateEntry("shape=rect;overflow=fill;html=1;whiteSpace=wrap;align=center;",200,100,\'<p style="margin:0px;margin-top:4px;text-align:center;">&lt;&lt;testCase&gt;&gt;<br/><b>TestCaseName</b><hr/></p>\',"Test Case",null,null,this.getTagsForStencil("","package","sysml requirement test case").join(" ")),this.addDataEntry("sysml requirement containment relationship",300,180,"Requirement Containment Relationship",\r\n"5ZXfboIwFMafpvdQnNkuB27ezMTEJ6hwQpsVykoR2dPvtBRdjSYmy5zJLkjOn37fob8GSpKs2i81a/hKFSBJ8kKSTCtlxqjaZyAloZEoSLIglEb4EPp6oRu7btQwDbW5RkBHwY7JDsYKoXNWNSRJJRqkYabhoxMaKms+Ncpg2ZQRmsQRhuvxTdyQ1gzSD2k5a2yoIbcCbirc+SLGsOfCwKZhuW33yAVrTIqyxjRHK9BugHtp0Ab2FzfuSn7XS1AVGD3gEi94GrlEvSgM9wLPKuIgSu5d5r7G2jEvD05Hqhh4sOchJ78MOeNCFvE9QR5OiN6C8uwWlOk9UZ4Ej57eX1B/OEP9hJBWXV2AXR+FgCTbgkxZ/l66JZmSCpEsalWjMoW6eNZa9d8qRQkb7wtyq/qXYyF1BWxYlCJnOCNtDdNm8miHdvW2xmGZsljH5kZ8WrOYHk7CzgjOoVWdziH4W6KyBBN821eclgbJjNiF7j9BP//n6Gc3Q4/p8Up2veDG/gI="),\r\nthis.addEntry("sysml requirement copy dependency",function(){var a=new mxCell("&lt;&lt;requirement&gt;&gt;\\nSlave",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nMaster",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("&lt;&lt;copy&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=\r\n!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Copy Dependency")}),this.addEntry("sysml requirement master callout",function(){var a=new mxCell("Master\\n&lt;&lt;requirement&gt;&gt; Master",new mxGeometry(0,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt; Slave",new mxGeometry(200,0,160,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=\r\n!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Master Callout")}),this.addEntry("sysml requirement derive dependency",function(){var a=new mxCell("&lt;&lt;requirement&gt;&gt;\\nClient",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nSupplier",\r\nnew mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("&lt;&lt;deriveReq&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;html=1;edgeStyle=none;endSize=12;dashed=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Derive Dependency")}),this.addEntry("sysml requirement derive callout",function(){var a=new mxCell("&lt;&lt;requirement&gt;&gt;\\nReqA",new mxGeometry(0,0,\r\n120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Derived\\n&lt;&lt;requirement&gt;&gt; ReqB",new mxGeometry(200,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Derive Callout")}),this.addEntry("sysml requirement derive callout",\r\nfunction(){var a=new mxCell("DerivedFrom\\n&lt;&lt;requirement&gt;&gt; ReqA",new mxGeometry(0,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nReqB",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,\r\n!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Derive Callout")}),this.addEntry("sysml requirement satisfy dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("&lt;&lt;satisfy&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");\r\ne.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Satisfy Dependency")}),this.addEntry("sysml requirement satisfy callout",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Satisfies\\n&lt;&lt;requirement&gt;&gt; ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");\r\nd.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement satisfy callout",function(){var a=new mxCell("SatisfiedBy\\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nReqA",\r\nnew mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement verify dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");\r\na.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("&lt;&lt;verify&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Verify Dependency")}),this.addEntry("sysml requirement verify callout",function(){var a=\r\nnew mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Verifies\\n&lt;&lt;requirement&gt;&gt; ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,\r\nd,e],360,60,"Verify Callout")}),this.addEntry("sysml requirement verify callout",function(){var a=new mxCell("VerifiedBy\\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nReqA",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=\r\n!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Verify Callout")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nClient",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("&lt;&lt;refine&gt;&gt;",new mxGeometry(0,\r\n0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Refine Dependency")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Refines\\n&lt;&lt;requirement&gt;&gt; ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");\r\nd.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Refine Callout")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("RefinedBy\\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nReqA",\r\nnew mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Refine Callout")}),this.addEntry("sysml requirement trace dependency",function(){var a=new mxCell("&lt;&lt;requirement&gt;&gt;\\nClient",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");\r\na.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("&lt;&lt;trace&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Trace Dependency")}),this.addEntry("sysml requirement refine callout",function(){var a=new mxCell("NamedElement",\r\nnew mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("TracedFrom\\n&lt;&lt;requirement&gt;&gt; ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Refine Callout")}),\r\nthis.addEntry("sysml requirement trace callout",function(){var a=new mxCell("TracedTo\\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;requirement&gt;&gt;\\nReqA",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,\r\n!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Trace Callout")})];this.addPalette("sysmlRequirements","SysML / Requirements",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLProfilesPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"&lt;&lt;stereotype&gt;&gt;\\nStereotypeName","Stereotype",null,null,this.getTagsForStencil("","","sysml profile stereotype").join(" ")),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"&lt;&lt;metaclass&gt;&gt;\\nMetaClassName","Metaclass",null,null,this.getTagsForStencil("","","sysml profile metaclass").join(" ")),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;",160,100,"&lt;&lt;profile&gt;&gt;\\nProfileName","Profile",null,null,this.getTagsForStencil("","","sysml profile profile").join(" ")),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;",\r\n160,100,"&lt;&lt;modelLibrary&gt;&gt;\\nLibraryName","Model Library",null,null,this.getTagsForStencil("","","sysml profile model library").join(" ")),this.addEntry("sysml profile extension",function(){var a=new mxCell("&lt;&lt;metaclass&gt;&gt;\\nMetaClassName",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("&lt;&lt;stereotype&gt;&gt;\\nStereotypeName",new mxGeometry(0,120,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=\r\n!0;var e=new mxCell("{required}",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=1;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,d,e],120,180,"Extension")}),this.addEntry("sysml profile generalization",function(){var a=new mxCell("&lt;&lt;stereotype&gt;&gt;\\nStereotypeName",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=\r\n!0;var d=new mxCell("&lt;&lt;stereotype&gt;&gt;\\nStereotypeName",new mxGeometry(0,120,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=0;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,d,e],120,180,"Generalization")}),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",\r\n160,0,"&lt;&lt;apply&gt;&gt;{strict}","Profile Application",null,this.getTagsForStencil("","","sysml profile profile application").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=top;",160,0,"&lt;&lt;reference&gt;&gt;","Metamodel Reference",null,this.getTagsForStencil("","","sysml profile metamodel reference").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;verticalAlign=bottom;",160,0,"propertyName",\r\n"Unidirectional Association",null,this.getTagsForStencil("","","sysml profile unidirectional association").join(" "))];this.addPalette("sysmlProfiles","SysML / Profiles",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addSysMLStereotypesPalette=function(a){var b=[this.addDataEntry("sysml stereotype note",320,150,"Stereotype Note","3ZZdb5swFIZ/DZeVwCTRbgPpetNOkSLt3oETsGYwM4ck7NfvGDtQAkk7tdKkXkSx3/Nh8/Aa8MK4OD9pXuUvKgXphY9eGGul0I6KcwxSeswXqRduPMZ8+nns+41o0EX9imso8T0FzBYcuWzAKh5bSSqNKpJrbKWVV78bs6Wo4DoTpReu/ercTx9QVSQFI03CAQcR4YwPXIrM1NpQNHSlUeb+u7X3rwReUO9ITmc1ggaFbQU/eAF9bFw3bqsNCNd6q1UFGtuuONz8NAR2qEWZzaa/NBLFvZqYeL3VJFJKAi9HbVweZe2vMZBWDRob3RBW57wyw1IhGBrij5kFSzOueEJbeO4wb4ySYyFNlIbqCPog1YmmB0FeCKNTLhB2VGManMiK/XKUSjfuprU6yfnqCVQBqFtKcQUL6zz/JFLMndu+OS0HkeWuy0XjtZ1nfafBtzRw1p23cTix8aOEwmyUrTwWBj5dkqV9g6KGxFA+qBJ3LhqMuc1RcobeJLQS6A9ia100mHKbw7b4BGyLL4DNFVwedP8D43KCccsxnwWnVVOmYOoMW8n3ICOe/Mo6PVZS6e5Il+ZIGx4i4XLtcHVP2QjKdK11d35d3h36dn1IMxhhrVWjExgdHaSnNuDIFu+Ar0FyFMdx94+gXM28j+4inOJIeZ134X9nwT7/wl3pVglzqi5uDZZXbg2vbGhvh6u6wtdvY44oTYevB5v++uPiLw=="),\r\nthis.addDataEntry("sysml stereotype note",320,150,"Stereotype Note","rZRNj9owEIZ/jY8rJTGLet3Adi/daiWk3r1kSCw5tutMgPTXdxybZA2hXak9IMbvfNg8fjHjm/b84oRtXk0FivFnxjfOGAxRe96AUqzIZMX4lhVFRh9WfL2TzcdsZoUDjZ9pKELDUagegsKKtaLW0pLc4aCCvP7Z+yOVrXC11Iw/ZfY8LR/QWJLyRFNwwFlEOOODULL2vSFVzlMpquP3uPf7B0G0NLtUt6sOwYHBwcJ30cKUS/vSsc6DiKPfnLHgcBib+faHJ7BDJ3W9WP7aK5R/6tkQr78NKY1RIHQyJtZR1fs1BtLsrBXJhRRdI6wPtUHwNOQvv8offWzFno7wbcS89UqDrfJZCs0R3EGZEy0PkrzAy1MjEXbU4wecyIrTdlRKF3fXWqMUffUCpgV0A5XEhlVwXnaSFTbRbV+i1oCsmzjlookurOtp0uxbCqJ1l23Mb2z8rKD1By3WrOB5Rj8p0L5D0cHeUz4YjbuYzVNuS5Siobd72gncP2IbYja/5baEbfUfsK0W/v1XgJzpdQW+3jMEXT05N5pHG+19V4muGdNXuMIgqGpIOHSmd3tI3h6k9wIwucdP0HKgBMpjOn2JRWx9M9K74WLO/DHiu1DnVzjDqWLXFdHpGEuQaTk/36H84+v+Gw=="),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"&lt;&lt;stereotypeName&gt;&gt;\\n{PropertyName=ValueString;\\nBooleanPropertyName}\\nNodeName","Stereotype (Node)",null,null,this.getTagsForStencil("","","sysml stereotype node").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",400,100,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>NodeName</b><hr/></p><p style="margin:0px;margin-left:10px;text-align:left;">&lt;&lt;stereotypeName&gt;&gt;{PropertyName=ValueString}ElementName<br/>&lt;&lt;stereotypeName&gt;&gt;{PropertyName=ValueString};<br/>BooleanPropertyName<br/>ElementName</p>\',\r\n"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" ")),this.addDataEntry("sysml stereotype edge",200,180,"Stereotype (Edge)","3VTBboMwDP2a3CmZ2vOgXU+bKlXaPQM3iRYSZEwp+/oFCO2ytVJ32WEHJD8/G/OeQxjPq9MWRa2eXQmG8Q3jOTpHU1SdcjCGpYkuGV+zNE38w9KnG+xiZJNaIFi6pyGdGo7CtDBlNgaqoTldspQvEsazF1HBVNZQb0JZo0Q9hAiFH5QdnKV9YBceK6pMCDulCfa1KAau80p9ThgtrYeFnwToE+EzAAlON6WMqaBjC64Cwt6XdLokFSqC3ESBliq0LUNONBOW59aLMT4I3lz3if8Dn/pvHv2Fbw8/fPOGiWrQZmjU8xU1XiRQ72CyMlAyKpzR7DpbZTt0tXekH7v4+nUYtifUVsalmXMGhI3KV+udIHV1dWDLR0TXeWSdhXhbUEqYFxlYI97AZKJ4l+haW+bOOLyw8yoNHK4dhBHrjxEm50UPU6I1N67FAqIzSQIlUPQ733EYEIwgfYzf/otNe3i5pUYuusQ+AQ=="),\r\nthis.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",300,120,\'<p style="margin:0px;margin-top:4px;text-align:center;"><b>&lt;&lt;stereotypeName&gt;&gt;</br>NodeName</b><hr/></p><p style="margin:0px;margin-left:10px;text-align:left;">&lt;&lt;stereotypeName&gt;&gt;<br/>PropertyName=ValueString<br/>MultiPropertyName=ValueString, ValueString<br/>BooleanPropertyName<br/></p>\',"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" "))];\r\nthis.addPalette("sysmlStereotypes","SysML / Stereotypes",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}})();(function(){Sidebar.prototype.addThreatModelingPalette=function(){this.setCurrentSearchEntryLibrary("threatModeling");this.addPaletteFunctions("threatModeling","Threat Modeling",!1,[this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;",120,60,"","External Entity",null,null,this.getTagsForStencil("","external entity","threat modeling ").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Process",null,null,this.getTagsForStencil("","process",\r\n"threat modeling ").join(" ")),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Multi-Process",null,null,this.getTagsForStencil("","multi process","threat modeling ").join(" ")),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;left=0;right=0;fillColor=none;",120,80,"","Data Store",null,null,this.getTagsForStencil("","data store","threat modeling ").join(" ")),this.createEdgeTemplateEntry("endArrow=classic;html=1;fontColor=#FF3333;",\r\n50,50,"","Data Flow",null,"threat modeling data flow"),this.createEdgeTemplateEntry("endArrow=classic;startArrow=classic;html=1;fontColor=#FF3333;",50,50,"","Bidirectional Data Flow",null,"threat modeling bidirectional data flow"),this.createVertexTemplateEntry("html=1;fontColor=#FF3333;fontStyle=1;align=left;verticalAlign=top;spacing=0;labelBorderColor=none;fillColor=none;dashed=1;strokeWidth=2;strokeColor=#FF3333;spacingLeft=4;spacingTop=-3;",290,140,"Trust Boundary","Trust Boundary",null,null,\r\nthis.getTagsForStencil("","trust boundary","threat modeling ").join(" ")),this.createVertexTemplateEntry("shape=requiredInterface;html=1;verticalLabelPosition=bottom;dashed=1;strokeColor=#FF3333;strokeWidth=2;fillColor=none;fontColor=#FF3333;align=left;",20,330,"","Trust Boundary",null,null,this.getTagsForStencil("","trust boundary","threat modeling ").join(" ")),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;",\r\n80,20,"Label","Label",null,null,this.getTagsForStencil("","label","threat modeling ").join(" ")),this.createVertexTemplateEntry("text;html=1;strokeColor=#d6b656;fillColor=#fff2cc;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;",40,20,"A01","Asset Label",null,null,this.getTagsForStencil("","asset label","threat modeling ").join(" ")),this.createVertexTemplateEntry("text;html=1;strokeColor=#82b366;fillColor=#d5e8d4;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;",\r\n30,20,"C01","Security Control Label",null,null,this.getTagsForStencil("","security control label","threat modeling ").join(" ")),this.createVertexTemplateEntry("text;html=1;strokeColor=#b85450;fillColor=#f8cecc;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;",40,20,"TA01","Threat Actor Label",null,null,this.getTagsForStencil("","threat actor label","threat modeling ").join(" ")),this.createVertexTemplateEntry("text;html=1;strokeColor=#c0c0c0;fillColor=#ffffff;overflow=fill;rounded=0;shadow=1;labelBackgroundColor=#ffffff;fontColor=#000000;align=left;",\r\n390,100*1.1,\'<table border="1" width="100%" style="width: 100% ; height: 100% ; border-collapse: collapse ; border: 1px solid #d6b656"><tbody><tr style="background-color: #fff2cc ; color: #000000 ; border: 1px solid #d6b656"><th align="center" colspan="2">Assets</th></tr><tr style="background-color: #fff2cc ; color: #000000 ; border: 1px solid #d6b656"><th align="left" style="border: 1px solid #d6b656">ID</th><th align="left" style="border: 1px solid #d6b656">Description</th></tr><tr><td style="border: 1px solid #d6b656">A01</td><td style="border: 1px solid #d6b656"></td></tr></tbody></table>\',\r\n"Asset Table",null,null,this.getTagsForStencil("","asset table","threat modeling ").join(" ")),this.createVertexTemplateEntry("text;html=1;strokeColor=#c0c0c0;fillColor=#ffffff;overflow=fill;rounded=0;shadow=1;labelBackgroundColor=#ffffff;fontColor=#000000;align=left;",365,90,\'<table border="1" width="100%" style="width: 100% ; height: 100% ; border-collapse: collapse ; border: 1px solid #b85450"><tbody><tr style="background-color: #f8cecc ; color: #000000 ; border: 1px solid #b85450"><th align="center" colspan="2">Threat Actors</th></tr><tr style="background-color: #f8cecc ; color: #000000 ; border: 1px solid #b85450"><th align="left" style="border: 1px solid #b85450">ID</th><th align="left" style="border: 1px solid #b85450">Description</th></tr><tr><td style="border: 1px solid #b85450">TA01</td><td style="border: 1px solid #b85450"></td></tr></tbody></table>\',\r\n"Threat Actor Table",null,null,this.getTagsForStencil("","threat actor table","threat modeling ").join(" ")),this.createVertexTemplateEntry("text;html=1;strokeColor=#c0c0c0;fillColor=#ffffff;overflow=fill;rounded=0;shadow=1;labelBackgroundColor=#ffffff;fontColor=#000000;align=left;",365,90,\'<table border="1" width="100%" style="width: 100% ; height: 100% ; border-collapse: collapse ; border: 1px solid #82b366"><tbody><tr style="background-color: #d5e8d4 ; color: #000000 ; border: 1px solid #82b366"><th align="center" colspan="2">Security Controls</th></tr><tr style="background-color: #d5e8d4 ; color: #000000 ; border: 1px solid #82b366"><th align="left" style="border: 1px solid #82b366">ID</th><th align="left" style="border: 1px solid #82b366">Description</th></tr><tr><td style="border: 1px solid #82b366">C01</td><td style="border: 1px solid #82b366"></td></tr></tbody></table>\',\r\n"Security Control Table",null,null,this.getTagsForStencil("","security control table","threat modeling ").join(" ")),this.createVertexTemplateEntry("shape=note;strokeWidth=2;fontSize=14;size=20;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=#666600;",100*1.1,80,"Note","Note",null,null,this.getTagsForStencil("","note","threat modeling ").join(" ")),this.createVertexTemplateEntry("shape=or;whiteSpace=wrap;html=1;direction=north;fillColor=#dae8fc;strokeColor=#6c8ebf;",120,80,\r\n"AND","AND Gate",null,null,this.getTagsForStencil("","and gate","threat modeling ").join(" ")),this.createVertexTemplateEntry("shape=xor;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;direction=north;",120,80,"OR","OR Gate",null,null,this.getTagsForStencil("","or gate","threat modeling ").join(" ")),this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;",120,80,"Leaf","Leaf Node",null,null,this.getTagsForStencil("","leaf node","threat modeling ").join(" "))]);\r\nthis.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addUml25Palette=function(){var a=this;(new mxCell("+ field: type",new mxGeometry(0,0,100,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;")).vertex=!0;var b=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;");\r\nb.vertex=!0;this.setCurrentSearchEntryLibrary("uml25");var e=[this.createVertexTemplateEntry("shape=umlFrame;whiteSpace=wrap;html=1;width=120;height=30;boundedLbl=1;verticalAlign=middle;align=left;spacingLeft=5;",340,180,"Diagram1 heading","Diagram",null,null,"diagram"),this.createVertexTemplateEntry("shape=note2;boundedLbl=1;whiteSpace=wrap;html=1;size=25;verticalAlign=top;align=center;",120,60,"Comment1 body","Comment",null,null,"uml comment note"),this.createVertexTemplateEntry("shape=partialRectangle;html=1;top=1;align=left;dashed=1;",\r\n200,20,"Template1 signature","Template signature",null,null,"template signature"),this.createVertexTemplateEntry("shape=partialRectangle;html=1;top=1;align=left;dashed=1;",200,50,"Template parameter 1\\nTemplate parameter 2","Template signature",null,null,"template signature"),this.addEntry("constraint",function(){var c=new mxCell("Constraint1 specification",new mxGeometry(0,0,160,60),"shape=note2;boundedLbl=1;whiteSpace=wrap;html=1;size=25;verticalAlign=top;align=center;");c.vertex=!0;var b=new mxCell("<<keyword>>",\r\nnew mxGeometry(0,0,c.geometry.width,25),"resizeWidth=1;part=1;strokeColor=none;fillColor=none;align=left;spacingLeft=5;");b.geometry.relative=!0;b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Constraint")}),this.addEntry("uml classifier",function(){var c=new mxCell("&lt;&lt;keyword&gt;&gt;<br><b>Classifier1</b><br>{abstract}",new mxGeometry(0,0,140,183),"swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=55;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;");\r\nc.vertex=!0;var d=new mxCell("attributes",new mxGeometry(0,0,140,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");d.vertex=!0;c.insert(d);d=new mxCell("attribute1",new mxGeometry(0,0,140,20),"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");\r\nd.vertex=!0;c.insert(d);d=new mxCell("inherited attribute2",new mxGeometry(0,0,140,20),"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontColor=#808080;");d.vertex=!0;c.insert(d);d=new mxCell("...",new mxGeometry(0,0,140,20),"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");\r\nd.vertex=!0;c.insert(d);c.insert(b.clone());d=new mxCell("operations",new mxGeometry(0,0,140,20),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");d.vertex=!0;c.insert(d);d=new mxCell("operation1",new mxGeometry(0,0,140,20),"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");\r\nd.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Classifier")}),this.createVertexTemplateEntry("shape=process2;fixedSize=1;size=5;fontStyle=1;",140,40,"Classifier1","Classifier",null,null,"classifier"),this.addEntry("uml classifier",function(){var c=new mxCell("Classifier1",new mxGeometry(0,0,140,183),"swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;");\r\nc.vertex=!0;var b=new mxCell("internal structure",new mxGeometry(0,0,140,30),"html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];resizeWidth=1;");b.vertex=!0;c.insert(b);b=new mxCell("",new mxGeometry(0,0,140,140),"swimlane;fontStyle=1;align=center;verticalAlign=top;horizontal=1;startSize=0;collapsible=0;marginBottom=0;html=1;strokeColor=none;fillColor=none;");b.vertex=!0;c.insert(b);var e=new mxCell("property1",\r\nnew mxGeometry(0,0,100,30),"html=1;align=center;verticalAlign=middle;rotatable=0;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(20,20);e.vertex=!0;b.insert(e);var g=new mxCell("property2",new mxGeometry(0,0,100,30),"html=1;align=center;verticalAlign=middle;rotatable=0;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(20,90);g.vertex=!0;b.insert(g);var h=new mxCell("connector1",new mxGeometry(0,0,0,0),"edgeStyle=none;endArrow=none;verticalAlign=middle;labelBackgroundColor=none;endSize=12;html=1;align=left;endFill=0;exitX=0.15;exitY=1;entryX=0.15;entryY=0;spacingLeft=4;");\r\nh.geometry.relative=!0;h.edge=!0;e.insertEdge(h,!0);g.insertEdge(h,!1);b.insert(h);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Classifier")}),this.createVertexTemplateEntry("fontStyle=1;",140,30,"Association1","Association",null,null,"association"),this.addEntry("uml classifier",function(){var c=new mxCell("Instance1",new mxGeometry(0,0,140,138),"swimlane;fontStyle=4;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;");\r\nc.vertex=!0;var d=new mxCell("slot1",new mxGeometry(0,0,140,30),"html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];resizeWidth=1;");d.vertex=!0;c.insert(d);c.insert(b.clone());d=new mxCell("internal structure",new mxGeometry(0,0,140,20),"html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];resizeWidth=1;");d.vertex=!0;c.insert(d);\r\nd=new mxCell("",new mxGeometry(0,0,140,50),"swimlane;fontStyle=1;align=center;verticalAlign=top;horizontal=1;startSize=0;collapsible=0;marginBottom=0;html=1;strokeColor=none;fillColor=none;");d.vertex=!0;c.insert(d);var e=new mxCell("instance2",new mxGeometry(0,0,80,30),"html=1;align=center;verticalAlign=middle;rotatable=0;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(30,10);e.vertex=!0;d.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Classifier")}),\r\nthis.createVertexTemplateEntry("fontStyle=0;",120,40,"Instance1 value","Instance",null,null,"instance"),this.addEntry("uml classifier",function(){var c=new mxCell("&lt;&lt;enumeration&gt;&gt;<br><b>Enum1</b>",new mxGeometry(0,0,140,70),"swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;");c.vertex=!0;var b=new mxCell("literal1",new mxGeometry(0,0,\r\n140,30),"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Classifier")}),this.addEntry("uml interface generalization",function(){var c=new mxCell("Interface1, Interface2...",new mxGeometry(-1,0,0,0),"html=1;verticalAlign=bottom;labelBackgroundColor=none;startArrow=oval;startFill=0;startSize=8;endArrow=none;");\r\nc.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.geometry.x=-1;c.geometry.y=3;c.edge=!0;return a.createEdgeTemplateFromCells([c],160,0,"Interface Generalization")}),this.addEntry("uml required interface",function(){var c=new mxCell("Interface1",new mxGeometry(-1,0,0,0),"html=1;verticalAlign=bottom;labelBackgroundColor=none;startArrow=halfCircle;startFill=0;startSize=2;endArrow=none;");c.geometry.setTerminalPoint(new mxPoint(0,\r\n0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.geometry.x=-1;c.geometry.y=3;c.edge=!0;return a.createEdgeTemplateFromCells([c],160,0,"Required Interface")}),this.addEntry("uml property",function(){var c=new mxCell("0..1",new mxGeometry(0,0,120,50),"align=right;verticalAlign=top;spacingRight=2;");c.vertex=!0;var b=new mxCell("Property1",new mxGeometry(0,1,120,30),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;resizeWidth=1;");\r\nb.geometry.relative=!0;b.geometry.offset=new mxPoint(0,-30);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Property")}),this.createVertexTemplateEntry("fontStyle=0;dashed=1;",140,30,"Property1","Property",null,null,"property"),this.createVertexTemplateEntry("fontStyle=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=2;",30,30,"port1","Port",null,null,"port"),this.addEntry("uml port provided interface lollipop notation",\r\nfunction(){var c=new mxCell("",new mxGeometry(0,0,30,30),"html=1;rounded=0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=2;");b.geometry.relative=!0;b.edge=!0;c.insertEdge(b,!0);var e=new mxCell("",new mxGeometry(52,11,8,8),"ellipse;html=1;fontSize=11;align=center;fillColor=none;points=[];aspect=fixed;resizable=0;verticalAlign=bottom;labelPosition=center;verticalLabelPosition=top;flipH=1;");\r\ne.vertex=!0;e.insertEdge(b,!1);return a.createEdgeTemplateFromCells([c,b,e],60,30,"Port with provided interface")}),this.addEntry("uml port required interface lollipop notation",function(){var c=new mxCell("",new mxGeometry(0,0,30,30),"html=1;rounded=0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=2;");b.geometry.relative=!0;b.edge=!0;c.insertEdge(b,!0);var e=new mxCell("",new mxGeometry(55,\r\n10,5,10),"shape=requiredInterface;html=1;fontSize=11;align=center;fillColor=none;points=[];aspect=fixed;resizable=0;verticalAlign=bottom;labelPosition=center;verticalLabelPosition=top;flipH=1;");e.vertex=!0;e.insertEdge(b,!1);return a.createEdgeTemplateFromCells([c,b,e],60,30,"Port with required interface")}),this.addEntry("uml component",function(){var c=new mxCell("",new mxGeometry(0,0,140,200),"fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;marginBottom=0;");\r\nc.vertex=!0;var d=new mxCell("Component",new mxGeometry(0,0,140,40),"html=1;align=left;spacingLeft=4;verticalAlign=top;strokeColor=none;fillColor=none;");d.vertex=!0;c.insert(d);var e=new mxCell("",new mxGeometry(1,0,16,20),"shape=module;jettyWidth=10;jettyHeight=4;");e.vertex=!0;e.geometry.relative=!0;e.geometry.offset=new mxPoint(-25,9);d.insert(e);c.insert(b.clone());d=new mxCell("provided interfaces",new mxGeometry(0,0,140,25),"html=1;align=center;spacingLeft=4;verticalAlign=top;strokeColor=none;fillColor=none;");\r\nd.vertex=!0;c.insert(d);d=new mxCell("Interface1",new mxGeometry(0,0,140,25),"html=1;align=left;spacingLeft=4;verticalAlign=top;strokeColor=none;fillColor=none;");d.vertex=!0;c.insert(d);c.insert(b.clone());d=new mxCell("required interfaces",new mxGeometry(0,0,140,25),"html=1;align=center;spacingLeft=4;verticalAlign=top;strokeColor=none;fillColor=none;");d.vertex=!0;c.insert(d);d=new mxCell("Interface2",new mxGeometry(0,0,140,30),"html=1;align=left;spacingLeft=4;verticalAlign=top;strokeColor=none;fillColor=none;");\r\nd.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Component")}),this.addEntry("uml classifier",function(){var c=new mxCell("",new mxGeometry(0,0,270,230),"shape=ellipse;container=1;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;html=1;dashed=1;collapsible=0;");c.vertex=!0;var b=new mxCell("Collaboration1",new mxGeometry(0,0,270,30),"html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;rotatable=0;points=[[0,0.5],[1,0.5]];resizeWidth=1;");\r\nb.vertex=!0;c.insert(b);b=new mxCell("",new mxGeometry(39,30,192,8),"line;strokeWidth=1;fillColor=none;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;dashed=1;resizeWidth=1;");b.vertex=!0;c.insert(b);var e=new mxCell("Classifier1",new mxGeometry(0,0,100,30),"html=1;align=center;verticalAlign=middle;rotatable=0;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(85,50);e.vertex=!0;c.insert(e);b=new mxCell("Collaboration use 1",new mxGeometry(0,0,140,30),"shape=ellipse;html=1;align=center;verticalAlign=middle;rotatable=0;dashed=1;");\r\nb.geometry.relative=!0;b.geometry.offset=new mxPoint(65,110);b.vertex=!0;c.insert(b);var g=new mxCell("property1",new mxGeometry(0,0,0,0),"edgeStyle=none;endArrow=none;verticalAlign=middle;labelBackgroundColor=none;endSize=12;html=1;align=left;endFill=0;spacingLeft=4;");g.geometry.relative=!0;g.edge=!0;e.insertEdge(g,!0);b.insertEdge(g,!1);c.insert(g);e=new mxCell("Classifier2",new mxGeometry(0,0,100,30),"html=1;align=center;verticalAlign=middle;rotatable=0;");e.geometry.relative=!0;e.geometry.offset=\r\nnew mxPoint(85,170);e.vertex=!0;c.insert(e);g=new mxCell("property1",new mxGeometry(0,0,0,0),"edgeStyle=none;endArrow=none;verticalAlign=middle;labelBackgroundColor=none;endSize=12;html=1;align=left;endFill=0;spacingLeft=4;");g.geometry.relative=!0;g.edge=!0;b.insertEdge(g,!0);e.insertEdge(g,!1);c.insert(g);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Classifier")}),this.createVertexTemplateEntry("shape=folder;fontStyle=1;tabWidth=80;tabHeight=30;tabPosition=left;html=1;boundedLbl=1;",\r\n150,80,"Package1","Package",null,null,"uml package"),this.addEntry("uml package",function(){var c=new mxCell("Package1",new mxGeometry(0,0,150,100),"shape=folder;fontStyle=1;tabWidth=110;tabHeight=30;tabPosition=left;html=1;boundedLbl=1;labelInHeader=1;container=1;collapsible=0;recursiveResize=0;");c.vertex=!0;var b=new mxCell("Packaged element1",new mxGeometry(0,0,110,30),"html=1;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(20,50);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],\r\nc.geometry.width,c.geometry.height,"Package")}),this.addEntry("uml model",function(){var c=new mxCell("Model1",new mxGeometry(0,0,150,80),"shape=folder;fontStyle=1;tabWidth=110;tabHeight=30;tabPosition=left;html=1;boundedLbl=1;folderSymbol=triangle;");c.vertex=!0;return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Model")}),this.addEntry("uml stereotype",function(){var c=new mxCell("",new mxGeometry(0,0,160,75),"shape=note2;size=25;childLayout=stackLayout;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;container=1;");\r\nc.vertex=!0;var b=new mxCell("&lt;&lt;stereotype1&gt;&gt;",new mxGeometry(0,0,160,25),"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");b.vertex=!0;c.insert(b);b=new mxCell("stereotype property 1",new mxGeometry(0,0,160,25),"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");\r\nb.vertex=!0;c.insert(b);b=new mxCell("stereotype property 2",new mxGeometry(0,0,160,25),"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Stereotype")}),this.addEntry("uml class",function(){var c=new mxCell("Class1",new mxGeometry(0,0,140,79),"swimlane;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=29;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;");\r\nc.vertex=!0;var b=new mxCell("&lt;&lt;stereotype1&gt;&gt;",new mxGeometry(0,0,140,25),"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");b.vertex=!0;c.insert(b);b=new mxCell("stereotype property 1",new mxGeometry(0,0,140,25),"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;");\r\nb.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Class")}),this.createVertexTemplateEntry("text;html=1;align=center;",200,25,"&lt;&lt;stereotype1, stereotype2...&gt;&gt;","Stereotype Label",null,null,"uml stereotype label"),this.createVertexTemplateEntry("ellipse;",50,25,"icon","Icon",null,null,"uml icon"),this.addEntry("uml region",function(){var c=new mxCell("",new mxGeometry(60,0,10,100),"line;strokeWidth=1;direction=south;html=1;dashed=1;dashPattern=20 20;");\r\nc.vertex=!0;var b=new mxCell("Region 1",new mxGeometry(0,40,60,20),"text;align=right;");b.vertex=!0;var e=new mxCell("Region 2",new mxGeometry(70,40,60,20),"text;align=left;");e.vertex=!0;return a.createVertexTemplateFromCells([c,b,e],130,c.geometry.height,"Region")}),this.addEntry("uml state",function(){var c=new mxCell("State1<br>[invariant1]<br>&lt;&lt;extended/final&gt;&gt;",new mxGeometry(0,0,140,176),"swimlane;fontStyle=4;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=60;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;html=1;rounded=1;absoluteArcSize=1;arcSize=50;");\r\nc.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,140,50),"fillColor=none;strokeColor=none;container=1;collapsible=0;");d.vertex=!0;c.insert(d);var e=new mxCell("State2",new mxGeometry(30,10,80,30),"html=1;align=center;verticalAlign=middle;rounded=1;absoluteArcSize=1;arcSize=10;");e.vertex=!0;d.insert(e);c.insert(b.clone());d=new mxCell("behavior1",new mxGeometry(0,0,140,25),"fillColor=none;strokeColor=none;align=left;verticalAlign=middle;spacingLeft=5;");d.vertex=!0;c.insert(d);c.insert(b.clone());\r\nd=new mxCell("transition1",new mxGeometry(0,0,140,25),"fillColor=none;strokeColor=none;align=left;verticalAlign=middle;spacingLeft=5;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"State")}),this.createVertexTemplateEntry("html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=1;",140,40,"State1","State",null,null,"uml state"),this.createVertexTemplateEntry("html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;",\r\n140,40,"State","State",null,null,"uml state"),this.createVertexTemplateEntry("shape=folder;align=center;verticalAlign=middle;fontStyle=0;tabWidth=100;tabHeight=30;tabPosition=left;html=1;boundedLbl=1;labelInHeader=1;rounded=1;absoluteArcSize=1;arcSize=10;",140,90,"State1","State",null,null,"uml state"),this.createVertexTemplateEntry("html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;",140,40,"State1, State2, ...","State",null,null,"uml state"),this.createVertexTemplateEntry("shape=umlState;rounded=1;verticalAlign=top;spacingTop=5;umlStateSymbol=collapseState;absoluteArcSize=1;arcSize=10;",\r\n140,60,"State1","State",null,null,"uml state"),this.addEntry("uml state entry point",function(){var c=new mxCell("State1",new mxGeometry(40,0,140,50),"shape=umlState;rounded=1;verticalAlign=middle;align=center;absoluteArcSize=1;arcSize=10;umlStateConnection=connPointRefEntry;boundedLbl=1;");c.vertex=!0;var b=new mxCell("Entry1",new mxGeometry(0,40,50,20),"text;verticalAlign=middle;align=center;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c,b],180,60,"State with entry point")}),\r\nthis.addEntry("uml state exit point",function(){var c=new mxCell("State1",new mxGeometry(40,0,140,50),"shape=umlState;rounded=1;verticalAlign=middle;spacingTop=0;absoluteArcSize=1;arcSize=10;umlStateConnection=connPointRefExit;boundedLbl=1;");c.vertex=!0;var b=new mxCell("Exit1",new mxGeometry(0,40,50,20),"text;verticalAlign=middle;align=center;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c,b],180,60,"State with exit point")}),this.createVertexTemplateEntry("ellipse;fillColor=#000000;strokeColor=none;",\r\n30,30,"","Initial preudostate / node",null,null,"uml initial pseudostate"),this.createVertexTemplateEntry("ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#000000;",30,30,"","Final state / node",null,null,"uml final state"),this.createVertexTemplateEntry("ellipse;fillColor=#ffffff;strokeColor=#000000;",30,30,"H","Shallow History",null,null,"uml shallow history pseudostate"),this.createVertexTemplateEntry("ellipse;fillColor=#ffffff;strokeColor=#000000;",30,30,"H*","Deep History",null,null,\r\n"uml deep history pseudostate"),this.createVertexTemplateEntry("ellipse;fillColor=#ffffff;strokeColor=#000000;",30,30,"","Entry Point",null,null,"uml entry point pseudostate"),this.createVertexTemplateEntry("shape=sumEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",30,30,"","Exit Point / Flow Final Node",null,null,"uml exit point pseudostate"),this.createVertexTemplateEntry("ellipse;fillColor=#000000;strokeColor=none;",20,20,"","Junction",null,null,"uml junction pseudostate"),\r\nthis.createVertexTemplateEntry("rhombus;",30,30,"","Choice / Merge Node / Decision Node",null,null,"uml choice pseudostate merge decision node"),this.createVertexTemplateEntry("shape=umlDestroy;",30,30,"","Terminate",null,null,"uml terminate pseudostate"),this.createVertexTemplateEntry("html=1;points=[];perimeter=orthogonalPerimeter;fillColor=#000000;strokeColor=none;",5,80,"","Join/Fork Node",null,null,"uml join fork pseudostate"),this.createVertexTemplateEntry("text;align=center;verticalAlign=middle;dashed=0;fillColor=#ffffff;strokeColor=#000000;",\r\n140,40,"OpaqueAction1 spec.","Opaque Action",null,null,"uml opaque action"),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;align=center;verticalAlign=middle;fontSize=14;fontStyle=0;flipH=1;fillColor=#FFFFFF;",160,40,"Trigger1 spec.","Trigger",null,null,"uml trigger"),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;align=center;verticalAlign=middle;fontSize=14;fontStyle=0;fillColor=#FFFFFF;",160,40,"SendSignalAction1",\r\n"Send Signal Action",null,null,"uml send signal action"),this.createVertexTemplateEntry("html=1;align=right;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=50;dashed=0;spacingTop=10;spacingRight=30;",300,160,"&lt;&lt;singleExecution&gt;&gt;","Single Execution",null,null,"uml single execution"),this.addEntry("uml parameter",function(){var c=new mxCell("",new mxGeometry(0,10,30,30),"fillColor=#ffffff;strokeColor=#000000;");c.vertex=!0;var b=new mxCell("Parameter1 spec.",new mxGeometry(40,0,100,\r\n20),"text;verticalAlign=middle;align=center;");b.vertex=!0;c.insert(b);var e=new mxCell("",new mxGeometry(50,25,30,15),"triangle;whiteSpace=wrap;html=1;direction=north;");e.vertex=!0;c.insert(e);return a.createVertexTemplateFromCells([c,b,e],140,40,"Parameter")}),this.createVertexTemplateEntry("html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;",140,40,"Action1","Action",null,null,"uml action"),this.createVertexTemplateEntry("html=1;align=center;verticalAlign=middle;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;",\r\n140,70,"&lt;&lt;external&gt;&gt;<br>Action1<br>(partition1)","Activity Partition",null,null,"uml activity partition"),this.addEntry("uml object node",function(){var c=new mxCell("ObjectNode1<br><br>[State1, State2...]",new mxGeometry(0,0,140,60),"html=1;align=center;verticalAlign=middle;rounded=0;absoluteArcSize=1;arcSize=10;dashed=0;");c.vertex=!0;var b=new mxCell("{annotation1}",new mxGeometry(0,60,140,30),"text;verticalAlign=middle;align=center;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c,\r\nb],140,90,"Object Node")}),this.addEntry("uml activity parameter node",function(){var c=new mxCell("Parameter1 spec.",new mxGeometry(0,0,140,60),"html=1;align=center;verticalAlign=middle;rounded=0;absoluteArcSize=1;arcSize=10;dashed=0;");c.vertex=!0;var b=new mxCell("{stream}",new mxGeometry(0,60,140,30),"text;verticalAlign=middle;align=center;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c,b],140,90,"Activity Parameter Node")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=20;align=center;verticalAlign=middle;fontSize=14;fontStyle=0;fillColor=#FFFFFF;",\r\n160,40,"ObjectNode1","Object Node",null,null,"uml object node"),this.addEntry("behavior selection transformation decision input",function(){var c=new mxCell("Behavior1 spec.",new mxGeometry(0,0,160,60),"shape=note2;boundedLbl=1;whiteSpace=wrap;html=1;size=25;verticalAlign=top;align=left;spacingLeft=5;");c.vertex=!0;var b=new mxCell("<<keyword>>",new mxGeometry(0,0,c.geometry.width,25),"resizeWidth=1;part=1;strokeColor=none;fillColor=none;align=left;spacingLeft=5;");b.geometry.relative=!0;b.vertex=\r\n!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Behavior")}),this.createVertexTemplateEntry("html=1;points=[];perimeter=orthogonalPerimeter;fillColor=#000000;strokeColor=none;align=left;verticalAlign=top;spacingLeft=10;",5,80,"{joinSpec = join spec}","Join Node",null,null,"uml join node"),this.addDataEntry("activity partition",180,200,"Activity Partition","7ZjRbtowFIafJrdTnMBobwltbzZpWvcCLjkQa45P5Jw20KefnRjCBikBnKlURUGyj30c5/vt/JggTvLVg+ZF9h1TkEF8F8SJRqSmlK8SkDKIQpEG8SyIotB8g+i+o5XVrWHBNSjqkxA1CS9cPkMTSUUOqhSo3FglraVrKjNe2CLxJxuaZpSbCc+YKVaZIHgs+Ny2V+ZxTKwkrulRvNqQmUY8naMiLhRolzRHKXlRinq0Wd0jEzL9xtf4TJv7bGrThZAyQYk2W6GyEygrkUuu4H6nKYjiRf2pZ6DxN/yT5J4YNMGqk1odcsgeAHMgvTZdKpFS5nrcNGTDDMQyc2lR6IK8bALLbW4rgik4HQ5rEu9p0qmEmTIJLn/CnLha9hFln3mqsfjF9RLIBQoUikDfvRgapYsdgE9YuEYJi03uExJh7iragdkOWkMZT81lMCXhl3EwNk+TmDpr6+ay3TUlqIyAZsHYMYCXVEFJF6kaHVZ1vRGvyTgu8uUaj4bVWCnbu9W4Uz7Wysd25WM78tkyGrILiZWpZiJNQV2kQ3x0d0UDcR/vcf9h8dKb77t3q8AlsFedi36oNf+1m/0Vrn4P7Fn4/+BPrslU+uri0VQ8+Meop39MPMh5072X4uvbSxlq8Wp/HEp3l15qTM5yER/0bz+Ae1+C+DTv8EGchZ/IT7EML8zZp2cM7RmM9TSNWx+C7p/2t64xur7tdJ5rsONH+0O24YX/wCf79/MS64J8mnF4Yf4RTto+mPd1jjOgm2r7j2Xd9tcfmn8A"),\r\nthis.createVertexTemplateEntry("html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=20;dashed=1;",200,100,"","Interruptible Activity Region",null,null,"uml interruptible activity region"),this.createVertexTemplateEntry("html=1;align=center;verticalAlign=middle;rounded=1;absoluteArcSize=1;arcSize=10;dashed=1;",140,40,"State1","State",null,null,"uml state"),this.addEntry("constraint precondition postcondition selection transformation decision input",function(){var c=new mxCell("Constraint1 spec.",\r\nnew mxGeometry(0,0,160,60),"shape=note2;boundedLbl=1;whiteSpace=wrap;html=1;size=25;verticalAlign=top;align=left;spacingLeft=5;");c.vertex=!0;var b=new mxCell("<<keyword>>",new mxGeometry(0,0,c.geometry.width,25),"resizeWidth=1;part=1;strokeColor=none;fillColor=none;align=left;spacingLeft=5;");b.geometry.relative=!0;b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Constraint / Precondition / Postcondition")}),this.createVertexTemplateEntry("fontStyle=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=2;html=1;",\r\n30,30,"Pin1<br>[State1]<br>{control}<br>Parameter1 spec.","Port",null,null,"port"),this.addEntry("object flow",function(){var c=new mxCell("",new mxGeometry(50,0,30,30),"html=1;rounded=0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;");b.geometry.setTerminalPoint(new mxPoint(0,15),!0);b.geometry.relative=!0;b.edge=!0;c.insertEdge(b,!1);var e=new mxCell("",new mxGeometry(0,0,0,\r\n0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;");e.geometry.setTerminalPoint(new mxPoint(130,15),!1);e.geometry.relative=!0;e.edge=!0;c.insertEdge(e,!0);return a.createEdgeTemplateFromCells([c,b,e],160,30,"Object Flow")}),this.createVertexTemplateEntry("fontStyle=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=2;html=1;points=[[0,0.5],[1,0.5]];fillColor=#000000;strokeColor=none;",30,30,\r\n"","Pin ",null,null,"pin"),this.createVertexTemplateEntry("shape=mxgraph.uml25.inputPin;html=1;points=[[0,0.5],[1,0.5]];",30,30,"","Input Pin",null,null,"input pin"),this.createVertexTemplateEntry("shape=mxgraph.uml25.inputPin;html=1;points=[[0,0.5],[1,0.5]];strokeColor=#ffffff;fillColor=#000000;",30,30,"","Input Pin",null,null,"input pin"),this.createVertexTemplateEntry("shape=mxgraph.uml25.inputPin;html=1;points=[[0,0.5],[1,0.5]];flipH=1;",30,30,"","Output Pin",null,null,"output pin"),this.createVertexTemplateEntry("shape=mxgraph.uml25.inputPin;html=1;points=[[0,0.5],[1,0.5]];strokeColor=#ffffff;fillColor=#000000;flipH=1;",\r\n30,30,"","Output Pin",null,null,"output pin"),this.createVertexTemplateEntry("shape=mxgraph.uml25.behaviorAction;html=1;rounded=1;absoluteArcSize=1;arcSize=10;align=left;spacingLeft=5;",190,60,"CallBehaviorAction1","Behavior Action",null,null,"behavior action"),this.createVertexTemplateEntry("html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;",140,40,"Action1<br>(Operation1)","Call Operation Action",null,null,"uml call operation action"),this.createVertexTemplateEntry("html=1;align=center;verticalAlign=middle;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;",\r\n140,40,"ValueSpecAction1 spec.","Value Specification Action",null,null,"uml value specification action"),this.addEntry("uml action with output",function(){var c=new mxCell("Action1",new mxGeometry(0,20,110,40),"shape=mxgraph.uml25.action;html=1;align=center;verticalAlign=middle;absoluteArcSize=1;arcSize=10;dashed=0;spacingRight=10;");c.vertex=!0;var b=new mxCell("variable1",new mxGeometry(110,0,60,30),"text;verticalAlign=middle;align=left;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c,\r\nb],170,60,"Action with output")}),this.addEntry("uml action with input",function(){var c=new mxCell("Action1",new mxGeometry(60,0,110,40),"shape=mxgraph.uml25.action;html=1;align=center;verticalAlign=middle;absoluteArcSize=1;arcSize=10;dashed=0;spacingLeft=10;flipH=1;");c.vertex=!0;var b=new mxCell("variable1",new mxGeometry(0,0,60,40),"text;verticalAlign=middle;align=right;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c,b],170,40,"Action with input")}),this.addEntry("uml read self object action",\r\nfunction(){var c=new mxCell("Action1",new mxGeometry(60,0,110,40),"shape=mxgraph.uml25.action;html=1;align=center;verticalAlign=middle;absoluteArcSize=1;arcSize=10;dashed=0;spacingLeft=10;flipH=1;");c.vertex=!0;var b=new mxCell("self",new mxGeometry(0,0,60,40),"text;verticalAlign=middle;align=right;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c,b],170,40,"Read self object action")}),this.addEntry("uml value specification action",function(){var c=new mxCell("Action1",new mxGeometry(60,\r\n0,110,40),"shape=mxgraph.uml25.action;html=1;align=center;verticalAlign=middle;absoluteArcSize=1;arcSize=10;dashed=0;spacingLeft=10;flipH=1;");c.vertex=!0;var b=new mxCell("value1",new mxGeometry(0,0,60,40),"text;verticalAlign=middle;align=right;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c,b],170,40,"Value specification action")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;align=center;verticalAlign=middle;fontSize=14;fontStyle=0;fillColor=#FFFFFF;",\r\n160,40,"SendObjectAction1","Send Object Action",null,null,"uml send object action"),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;align=center;verticalAlign=middle;fontSize=14;fontStyle=0;fillColor=#FFFFFF;flipH=0;spacingRight=0;spacingLeft=14;",170,40,"AcceptEventAction1","Accept Event Action",null,null,"uml acceppt event action"),this.createVertexTemplateEntry("shape=collate;whiteSpace=wrap;html=1;",40,40,"","Time Event Trigger",null,null,"uml time event trigger"),\r\nthis.createVertexTemplateEntry("shape=mxgraph.uml25.actionParams;html=1;align=center;verticalAlign=top;absoluteArcSize=1;arcSize=10;dashed=0;spacingLeft=10;spacingTop=5;",150,50,"Action1","Action with Parameters",null,null,"uml action with parameters"),this.createVertexTemplateEntry("dashed=1;rounded=1;absoluteArcSize=1;arcSize=20;html=1;verticalAlign=top;align=left;spacingTop=5;spacingLeft=10;",200,100,"&lt;&lt;structured&gt;&gt;","Structured Activity Node",null,null,"uml structured activity node"),\r\nthis.addDataEntry("uml expansion",300,300,"Expansion","7ZtRr5owFMc/DY93oa0693j1bncPW7JkS/bcXSqQVTFQvbJPv2ILDi8Glnha2pBo4jmlpf218e8/RwKy3p6ec7pPvmYR4wH5GJB1nmVCfdqe1ozzAIdpFJCnAONQvgP86UYrOreGe5qznRjSAasOR8oPTGUCvKDbfUBWXA6wake/Wfma5VGTjFuX6KgarxAl1+MlYitX9YRkW0SLhEU6yLPDLmoi+qvI+EGwx/zle/qH1dkmkssgqyPLRfpC+SNP451Miqy6LdURZ5tqAsWevqS7+EfVprrpzJdzu0rpVcvx2OkmuXNKY3tm2ZaJvJSXvKaRSNQVJFR0w4SlcSKukrRQibjpe9kI+UHvRfe+kI59uQIbS4LV+nNWSEY/9azCJvO5ntPgBePeBS871qtPWJgzTkV6ZK3huxjoO3zLUnljHJ5qbKpHqcIHdEUx22wKJt4wbOY5COusH+sgnPtq7ueJzVfyJae6DoO57L6uonfzVozqSL4G7gTp3QkMsBN3RT2fUPcfegxxyBcT+X7yMwjy7yfy/eQXEOSXI9LLdgcz6vmAkAn9/ODIAV+6r5/1/k2sjQsoQhN6SwqKugzphN6EhKIxec7SgoYacaAI0IKiqwOOWgcc/d8BRx54UARoQn2ADSqigDbUI/YwKgpoRD1iDyOj47WiNkTVkDFFgM70vifeA2taT2aCbV5WMaA39Yg9iKzWqCf25mV1rBXRLo7Le0lnWzkJCFdXSqI+1ESdKYpagl1CCqcrZVG77GGE05XCqF32MMI5Jj9604EalNGLI70vZ1dqoz4UR+ufQhNs80JKXKmO2mUPIqQE0IF6xB5ESMmYHOjN/xi57keJK36UeOBHiSt+1BJsUBl1xY/aZQ8jo674UbvsYWR0TH50YH3UfXdKXHGnxAN3Wn9nTbDNy+rMFXdqlz2IrM5ccad22d9DVmV4eUhYXf7vM8R/AQ=="),\r\nthis.addEntry("uml execution region",function(){var c=new mxCell("Action",new mxGeometry(0,0,160,50),"html=1;dashed=0;rounded=1;absoluteArcSize=1;arcSize=20;verticalAlign=middle;align=center;");c.vertex=!0;var b=new mxCell("*",new mxGeometry(1,.5,20,20),"text;resizeWidth=0;resizeHeight=0;points=[];part=1;verticalAlign=middle;align=center;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-20,-10);c.insert(b);return a.createVertexTemplateFromCells([c],160,50,"Execution region")}),\r\nthis.addDataEntry("uml execution node action",210,60,"Execution node with action","7ZhNb4MwDIZ/TY6bklC67tjSrbtMmrTDzhm4ECk0KKRdu18/UwJdvwSTyr6EBBJ24uT1E0sWIV6QrmdGZMmjjkAR7454gdHall/pOgClCKcyIt6UcE7xJfz+zCjbjtJMGFjYNgG8DFgJtYTSMw6t1Au3UG43yvkTm6K6KSPeJBJ5AsUCFA2jl4toaxVD4jXXamlhbMJn+Q6Vt7Z4EbICY2Uo1FjJeIHOVEZRsc1EOEeI6sGgw6nD+bA+m+HW5dKbgU7Bmg1OeZORTVyWrKRAE5Bx4sKGzify0o7r0B0v/HDITuPzjvAdcYsRUFZwghwRvDhRtPY8VJJo23x5Y76jE+m6QqAGlLByBXvLn2LgdnjSEjfm1Onx3DKb0rxiBxT1fJ6DPWJY62yFddCMtRXOrNC+FeZP8EGpASU+hgeFde3v2ayy8Gl5El5z5XVwEhdF7feom4ued1Hkw558M/lBF+RvevLN5A/b40XIj35Rv9zsBfyj7nnbXXmzg/Jme+XNvlbeo7/fPavz61l/e/tkrEf/Q/2THf819ug7aaBo7u4Cyumfrwo+AA=="),\r\nthis.addEntry("uml interaction",function(){var c=new mxCell("Interaction1 heading",new mxGeometry(0,0,290,160),"shape=umlFrame;tabWidth=110;tabHeight=30;tabPosition=left;html=1;boundedLbl=1;labelInHeader=1;width=140;height=30;recursiveResize=0;");c.vertex=!0;var b=new mxCell("Property1",new mxGeometry(0,0,100,20),"text");b.geometry.relative=!0;b.geometry.offset=new mxPoint(20,40);b.vertex=!0;c.insert(b);b=new mxCell("Property2",new mxGeometry(0,0,150,60),"shape=note2;boundedLbl=1;whiteSpace=wrap;html=1;size=25;verticalAlign=top;align=left;spacingLeft=10;");\r\nb.geometry.relative=!0;b.geometry.offset=new mxPoint(120,80);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Interaction")}),this.addDataEntry("uml lifeline sequence participant",220,300,"Lifelines","1ZPBbsMgDIafhjuFN2iy9bJJ0/oELPEKEgQETpPu6ecEaDRpkXbYDjsgmc/+4/gHmGzcfIoq6Gffg2Xygckmeo85cnMD1jLBTc9ky4TgtJh43Mke1iwPKsKAPxGILLgqO0ImT+YdrBmgfCrhzZZM0ios4ehsLWLyGCAaBwiRMrbgl40dJ20QzkF1i3SiQYlpdDRpe6Cw8wMqksT73loVknlbu3IiEboxJnOFV0jmo1I/4tKp8cMAHRZYhoGIMO8asqLixgk8/We8UclketSlgmfTuAZz0UUmK1Qpg8tdu/lLQbH4e7vlrt3iH9pd+7cqaeh/4QyqoFzaPzkT2m7Pa819eX2f"),\r\nthis.addDataEntry("uml lifeline execution",220,300,"Lifelines","5ZTbasMwDIafxvdu3MB223TrzQZjewIvVWuDYhlH6WFPPydx2m5pR2FsDEYISL8syfoQFqqodougvXmkJaBQd0IVgYh7q9oVgCgyaZdCzUWWyfiL7P5CdNJFpdcBHF+TkPUJG40N9MqDXQFaBylS8x5TpDbat2ZT4XBIqJmHYCtgCDGCSX46arOtsQwvXpdt6jYOGjXDVZx0PolmSY51TAkHH1H72r52XWVUApRNqO0GnqG2b4NKDbedCnIOSk5iGgYCw+4ikE5KNBZA8Z5hH48MCQmY3Nolm6TJpBmwa5PKqEHUdS+sD7WOvKORkJ/Hr0b4R9RPWHmyjrtu+Uzk80/wKbChNTmNp/hXFrEgpNBVUzey/a5FlX2Japr3GfvevT0HbsztAPg73KYX13byz9b2V9Y0//E1vQrB9I+sY3SPL3QX+/CAvwM="),\r\nthis.addDataEntry("uml destruction occurence specification",100,300,"Destruction Occurence Specification","lZJBboMwEEVP471jZ9F1oM2mlaL2BC5MY0sGW/YQoKfvgE1oVVI1C6SZP/Nt/pOZLJrhGJTXL64Gy+Qjk0VwDlPVDAVYywQ3NZMlE4LTx8TTjelunnKvArT4H4NIhouyHSTl2XyANS3koyKONk+iVn4qu8YuS0wePATTAEKgic3yadUOvTYIb15Vk7WnoKRpbChpuaOyci0qsoRrb63y0bzPt3JSAlRdiOYCrxDN56K6DqebCte2UGEWcxgICMNNILOUaRzB0X+GkVZ6U6POGzxB4xrMWWebXEQVk3C+ele+VGTE27jlL9x/US4hYnAjBatV1FDfk1JspxyWMMkx5uWH3H+DsN9gsL8fAbXra55nPx77Fw=="),this.addEntry("uml interaction",\r\nfunction(){var c=new mxCell("Interaction1 heading",new mxGeometry(0,0,290,250),"shape=umlFrame;tabWidth=110;tabHeight=30;tabPosition=left;html=1;boundedLbl=1;labelInHeader=1;width=140;height=30;");c.vertex=!0;var b=new mxCell("[constraint1]",new mxGeometry(0,0,100,20),"text");b.geometry.relative=!0;b.geometry.offset=new mxPoint(20,40);b.vertex=!0;c.insert(b);b=new mxCell("[constraint2]",new mxGeometry(0,125,290,10),"line;strokeWidth=1;dashed=1;labelPosition=center;verticalLabelPosition=bottom;align=left;verticalAlign=top;spacingLeft=20;spacingTop=15;");\r\nb.geometry.relative=!1;b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Interaction")}),this.addEntry("uml lifeline continuation",function(){var c=new mxCell("Continuation1",new mxGeometry(30,60,160,30),"rounded=1;dashed=0;");c.vertex=!0;var b=new mxCell("Lifeline1",new mxGeometry(0,0,100,200),"shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;");b.vertex=!0;var e=\r\nnew mxCell("Lifeline2",new mxGeometry(120,0,100,200),"shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;");e.vertex=!0;return a.createVertexTemplateFromCells([c,b,e],220,200,"Lifeline Continuation")}),this.addEntry("uml lifeline state invariant",function(){var c=new mxCell("Lifeline1",new mxGeometry(0,0,100,200),"shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;");\r\nc.vertex=!0;var b=new mxCell("State1 inv.",new mxGeometry(10,50,80,30),"rounded=1;dashed=0;point=[];connectable=0;");b.vertex=!0;c.insert(b);b=new mxCell("{State2 inv.}",new mxGeometry(0,140,100,30),"text;align=center;point=[];connectable=0;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],100,200,"Lifeline State Invariant")}),this.addEntry("uml interaction use",function(){var c=new mxCell("ref",new mxGeometry(0,0,260,120),"shape=umlFrame;tabPosition=left;html=1;boundedLbl=1;labelInHeader=1;width=50;height=30;");\r\nc.vertex=!0;var b=new mxCell("Interaction1",new mxGeometry(0,0,100,20),"text;align=center;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(60,50);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Interaction")}),this.addEntry("uml lifeline state invariant",function(){var c=new mxCell("Lifeline1",new mxGeometry(0,0,100,200),"shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;");\r\nc.vertex=!0;var b=new mxCell("",new mxGeometry(30,70,40,20),"shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;fillColor=none;point=[];connectable=0;");b.vertex=!0;c.insert(b);b=new mxCell("",new mxGeometry(30,150,40,20),"shape=partialRectangle;whiteSpace=wrap;html=1;top=0;fillColor=none;point=[];connectable=0;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],100,200,"Lifeline")}),this.addEntry("uml use case",function(){var c=new mxCell("Class1",new mxGeometry(0,0,180,140),\r\n"swimlane;fontStyle=1;align=center;horizontal=1;startSize=30;collapsible=0;html=1;");c.vertex=!0;var b=new mxCell("heading1",new mxGeometry(0,0,140,70),"shape=umlFrame;tabPosition=left;html=1;boundedLbl=1;labelInHeader=1;width=80;height=30;swimlaneFillColor=#ffffff;align=left;spacingLeft=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(20,50);b.vertex=!0;c.insert(b);var e=new mxCell("Interaction1",new mxGeometry(0,0,100,20),"text;align=left;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(10,\r\n40);e.vertex=!0;b.insert(e);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Use Case")}),this.addEntry("observation",function(){var c=new mxCell("observation",new mxGeometry(0,0,0,0),"endArrow=none;html=1;endSize=12;startArrow=none;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=center;verticalAlign=bottom;endFill=0;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.geometry.x=\r\n0;c.geometry.y=3;c.edge=!0;return a.createEdgeTemplateFromCells([c],160,0,"Observation")}),this.addEntry("time constraint",function(){var c=new mxCell("{Time constraint 1}",new mxGeometry(0,0,0,0),"endArrow=none;html=1;endSize=12;startArrow=none;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=center;verticalAlign=bottom;endFill=0;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.geometry.x=0;c.geometry.y=3;\r\nc.edge=!0;return a.createEdgeTemplateFromCells([c],160,0,"Time constraint")}),this.addEntry("duration constraint",function(){var c=new mxCell("{Duration constraint 1}",new mxGeometry(0,0,0,0),"endArrow=open;html=1;endSize=12;startArrow=open;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=center;verticalAlign=bottom;endFill=0;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.geometry.x=0;c.geometry.y=3;c.edge=\r\n!0;return a.createEdgeTemplateFromCells([c],160,0,"Duration constraint")}),this.addEntry("uml classifier",function(){var c=new mxCell("",new mxGeometry(0,0,180,120),"shape=ellipse;container=1;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;html=1;dashed=0;collapsible=0;");c.vertex=!0;var b=new mxCell("UseCase1",new mxGeometry(0,0,180,30),"html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;rotatable=0;");b.vertex=!0;c.insert(b);b=new mxCell("",new mxGeometry(9,\r\n30,162,10),"line;strokeWidth=1;fillColor=none;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;dashed=0;resizeWidth=1;");b.vertex=!0;c.insert(b);b=new mxCell("extension points",new mxGeometry(0,40,180,30),"text;html=1;align=center;verticalAlign=middle;rotatable=0;");b.vertex=!0;c.insert(b);b=new mxCell("Extension point 1",new mxGeometry(0,70,180,30),"text;html=1;align=left;verticalAlign=middle;rotatable=0;spacingLeft=25;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],\r\nc.geometry.width,c.geometry.height,"Classifier")}),this.addEntry("uml extension point classifier",function(){var c=new mxCell("",new mxGeometry(0,0,160,88),"fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;marginBottom=0;");c.vertex=!0;var d=new mxCell("UseCase1",new mxGeometry(0,0,160,30),"html=1;align=left;spacingLeft=4;verticalAlign=middle;strokeColor=none;fillColor=none;fontStyle=1");d.vertex=!0;c.insert(d);\r\nvar e=new mxCell("",new mxGeometry(1,0,20,16),"shape=ellipse;");e.vertex=!0;e.geometry.relative=!0;e.geometry.offset=new mxPoint(-25,7);d.insert(e);c.insert(b.clone());d=new mxCell("extension points",new mxGeometry(0,0,160,25),"html=1;align=center;spacingLeft=4;verticalAlign=top;strokeColor=none;fillColor=none;");d.vertex=!0;c.insert(d);d=new mxCell("Extension point 1",new mxGeometry(0,0,160,25),"html=1;align=left;spacingLeft=4;verticalAlign=top;strokeColor=none;fillColor=none;");d.vertex=!0;c.insert(d);\r\nreturn a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Extension Point Classifier")}),this.createVertexTemplateEntry("shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;",30,60,"Actor","Actor",!1,null,"uml actor"),this.createVertexTemplateEntry("text;html=1;align=center;verticalAlign=middle;dashed=0;fillColor=#ffffff;strokeColor=#000000;",160,70,"&lt;&lt;actor&gt;&gt;<br><br><b>Actor1</b>","Actor",null,null,"uml actor"),this.addEntry("extension point extend",\r\nfunction(){var c=new mxCell("Extension point 1",new mxGeometry(0,0,140,60),"shape=note2;boundedLbl=1;whiteSpace=wrap;html=1;size=25;verticalAlign=top;align=left;spacingLeft=5;");c.vertex=!0;var b=new mxCell("Extend condition 1",new mxGeometry(0,0,c.geometry.width,25),"resizeWidth=1;part=1;strokeColor=none;fillColor=none;align=left;spacingLeft=5;");b.geometry.relative=!0;b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Extension")}),this.addEntry("deployment target diagram",\r\nfunction(){var c=new mxCell("DeploymentTarget1",new mxGeometry(0,0,130,140),"verticalAlign=top;align=left;shape=cube;size=10;direction=south;fontStyle=0;html=1;boundedLbl=1;spacingLeft=5;");c.vertex=!0;var b=new mxCell("Node1",new mxGeometry(0,0,100,80),"verticalAlign=top;align=center;shape=cube;size=10;direction=south;html=1;boundedLbl=1;spacingLeft=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(10,50);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,\r\nc.geometry.height,"Deployment")}),this.createVertexTemplateEntry("text;html=1;align=center;verticalAlign=middle;dashed=0;fillColor=#ffffff;strokeColor=#000000;",180,60,"&lt;&lt;deployment spec&gt;&gt;<br><br><b>Deployment1</b>","Deployment Specification",null,null,"uml deployment specification"),this.createVertexTemplateEntry("text;html=1;align=center;verticalAlign=middle;dashed=0;fillColor=#ffffff;strokeColor=#000000;",180,60,"&lt;&lt;artifact&gt;&gt;<br><br><b>Artifact1</b>","Artifact",null,null,\r\n"uml artifact"),this.addEntry("information item",function(){var c=new mxCell("InformationItem1",new mxGeometry(0,0,200,50),"align=left;spacingLeft=10;html=1;dashed=0;");c.vertex=!0;var b=new mxCell("",new mxGeometry(1,.5,30,20),"shape=triangle;fillColor=#000000;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(-45,-10);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Information item")}),this.addEntry("template binding",function(){var c=\r\nnew mxCell("&lt;&lt;bind&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=bottom;dashed=1;endFill=0;labelBackgroundColor=none;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.edge=!0;var b=new mxCell("Binding1 information",new mxGeometry(0,0,0,0),"resizable=0;html=1;align=center;verticalAlign=top;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=\r\n!0;c.insert(b);return a.createEdgeTemplateFromCells([c],160,0,"Template Binding")}),this.createEdgeTemplateEntry("endArrow=circlePlus;startArrow=none;endFill=0;startFill=0;endSize=8;html=1;labelBackgroundColor=none;",160,0,"","Inner class",null,"inner class"),this.createEdgeTemplateEntry("endArrow=open;startArrow=none;endFill=0;startFill=0;endSize=8;html=1;verticalAlign=bottom;dashed=1;labelBackgroundColor=none;",160,0,"&lt;&lt;keyword&gt;&gt;","Element / Package Merge / Package Import, Substitution",\r\nnull,"element package import substitution merge"),this.createEdgeTemplateEntry("endArrow=none;startArrow=none;endFill=0;startFill=0;endSize=8;html=1;verticalAlign=bottom;dashed=1;labelBackgroundColor=none;dashPattern=10 10;",160,0,"{constraint spec.}","Constraint",null,"constraint"),this.addEntry("dependency",function(){var c=new mxCell("&lt;&lt;keyword&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=bottom;dashed=1;endFill=0;labelBackgroundColor=none;");\r\nc.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.edge=!0;var b=new mxCell("Dependency1",new mxGeometry(0,0,0,0),"resizable=0;html=1;align=center;verticalAlign=top;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);return a.createEdgeTemplateFromCells([c],160,0,"Dependency")}),this.addEntry("dependency",function(){var c=new mxCell("",new mxGeometry(68,38,4,4),"ellipse;resizable=0;aspect=fixed;fillColor=#000000;");\r\nc.vertex=!0;var b=new mxCell("&lt;&lt;keyword&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=bottom;dashed=1;endFill=0;labelBackgroundColor=none;spacingBottom=35;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.relative=!0;b.edge=!0;c.insertEdge(b,!1);var e=new mxCell("&lt;&lt;keyword&gt;&gt;",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;dashed=1;endFill=0;labelBackgroundColor=none;spacingTop=35;");\r\ne.geometry.setTerminalPoint(new mxPoint(0,80),!0);e.geometry.relative=!0;e.edge=!0;c.insertEdge(e,!1);var g=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=bottom;dashed=1;endFill=0;labelBackgroundColor=none;spacingBottom=35;");g.geometry.setTerminalPoint(new mxPoint(140,0),!1);g.geometry.relative=!0;g.edge=!0;c.insertEdge(g,!0);var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;dashed=1;endFill=0;labelBackgroundColor=none;spacingTop=35;");\r\nh.geometry.setTerminalPoint(new mxPoint(140,80),!1);h.geometry.relative=!0;h.edge=!0;c.insertEdge(h,!0);return a.createEdgeTemplateFromCells([c,b,e,g,h],140,80,"Dependency")}),this.createEdgeTemplateEntry("endArrow=block;startArrow=none;endFill=0;startFill=0;endSize=8;html=1;verticalAlign=bottom;dashed=1;labelBackgroundColor=none;",160,0,"","Realization",null,"realization"),this.addEntry("generalization set",function(){var c=new mxCell("GeneralizationSet1",new mxGeometry(0,0,0,0),"endArrow=block;html=1;rounded=0;align=center;verticalAlign=bottom;endFill=0;labelBackgroundColor=none;endSize=8;");\r\nc.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.edge=!0;var b=new mxCell(":powertype {constraint1}",new mxGeometry(0,0,0,0),"resizable=0;html=1;align=center;verticalAlign=top;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);return a.createEdgeTemplateFromCells([c],160,0,"Generalization Set")}),this.createEdgeTemplateEntry("endArrow=none;startArrow=none;endFill=0;startFill=0;endSize=8;html=1;verticalAlign=bottom;labelBackgroundColor=none;strokeWidth=3;",\r\n160,0,"","Association / Connector / Instance Specification / Property / Connector End",null,"association connector instance specification property connector end"),this.createEdgeTemplateEntry("endArrow=open;startArrow=none;endFill=0;startFill=0;endSize=8;html=1;verticalAlign=bottom;labelBackgroundColor=none;strokeWidth=1;",160,0,"","Association / Connector / Instance Specification / Property / Connector End / Navigability notation",null,"association connector instance specification property connector end navigability notation"),\r\nthis.addEntry("association connector instance specification property connector end",function(){var c=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;startArrow=oval;startFill=1;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.edge=!0;return a.createEdgeTemplateFromCells([c],160,0,"Association / Connector / Instance Specification / Property / Connector End")}),\r\nthis.createEdgeTemplateEntry("endArrow=none;startArrow=sysMLx;endFill=0;startFill=0;html=1;verticalAlign=bottom;labelBackgroundColor=none;strokeWidth=1;startSize=8;",160,0,"","Association / Connector / Instance Specification / Property / Connector End / Non-Navigability notation",null,"association connector instance specification property connector end non navigability notation"),this.createEdgeTemplateEntry("endArrow=none;startArrow=diamondThin;endFill=0;startFill=0;html=1;verticalAlign=bottom;labelBackgroundColor=none;strokeWidth=1;startSize=8;endSize=8;",\r\n160,0,"","Association / Connector / Instance Specification / Property / Connector End / Shared Association",null,"association connector instance specification property connector end shared"),this.createEdgeTemplateEntry("endArrow=none;startArrow=diamondThin;endFill=0;startFill=1;html=1;verticalAlign=bottom;labelBackgroundColor=none;strokeWidth=1;startSize=8;endSize=8;",160,0,"","Association / Connector / Instance Specification / Property / Connector End / Composite Association",null,"association connector instance specification property connector end composite"),\r\nthis.addEntry("association instance specification connector",function(){var c=new mxCell("",new mxGeometry(60,0,20,20),"rhombus;aspect=fixed;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;rounded=0;align=center;verticalAlign=bottom;labelBackgroundColor=none;");b.geometry.setTerminalPoint(new mxPoint(0,10),!0);b.geometry.relative=!0;b.edge=!0;c.insertEdge(b,!1);var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;rounded=0;align=center;verticalAlign=bottom;labelBackgroundColor=none;");\r\ne.geometry.setTerminalPoint(new mxPoint(140,10),!1);e.geometry.relative=!0;e.edge=!0;c.insertEdge(e,!0);return a.createEdgeTemplateFromCells([c,b,e],140,20,"Association / Instance Secification")}),this.addEntry("association instance specification connector",function(){var c=new mxCell("",new mxGeometry(65,0,6,12),"triangle;aspect=fixed;fillColor=#000000;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;rounded=0;align=center;verticalAlign=bottom;labelBackgroundColor=none;");\r\nb.geometry.setTerminalPoint(new mxPoint(0,22),!0);b.geometry.setTerminalPoint(new mxPoint(140,22),!1);b.geometry.relative=!0;b.edge=!0;return a.createVertexTemplateFromCells([c,b],140,22,"Association / Instance Secification")}),this.addEntry("Redefine",function(){var c=new mxCell("{redefines}",new mxGeometry(0,0,0,0),"endArrow=none;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(200,\r\n0),!1);c.geometry.relative=!0;c.edge=!0;var b=new mxCell("end1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=bottom;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);b=new mxCell("0..1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);b=new mxCell("Association1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;");\r\nb.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);b=new mxCell("{modifier1}",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);return a.createEdgeTemplateFromCells([c],200,0,"Redefine")}),this.createVertexTemplateEntry("text;html=1;align=center;verticalAlign=middle;dashed=0;fillColor=#ffffff;strokeColor=#000000;",60,30,"qualifier1","Qualifier",null,null,"uml qualifier"),\r\nthis.addEntry("connector",function(){var c=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.edge=!0;var b=new mxCell("end1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=bottom;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;\r\nc.insert(b);b=new mxCell("0..1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);b=new mxCell("Connector1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);return a.createEdgeTemplateFromCells([c],160,0,"Connector")}),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=oval;endFill=0;endSize=8;",\r\n160,0,"","Provided Interface",null,"provided interface"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=halfCircle;endFill=0;endSize=2;",160,0,"","Required Interface",null,"required interface"),this.addEntry("structural feature",function(){var c=new mxCell("feature1",new mxGeometry(-1,0,0,0),"html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=none;endFill=0;endSize=6;align=left;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,\r\n0),!1);c.geometry.relative=!0;c.edge=!0;return a.createEdgeTemplateFromCells([c],160,0,"Structural Feature")}),this.addEntry("usage",function(){var c=new mxCell("",new mxGeometry(0,0,60,30),"resizable=0;html=1;align=left;verticalAlign=bottom;labelBackgroundColor=none;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=halfCircle;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=2;");b.geometry.setTerminalPoint(new mxPoint(120,15),!1);b.geometry.relative=\r\n!0;b.edge=!0;c.insertEdge(b,!0);return a.createEdgeTemplateFromCells([c,b],120,30,"Usage")}),this.addEntry("collaboration",function(){var c=new mxCell("Collaboration1",new mxGeometry(0,0,100,30),"ellipse;html=1;dashed=1;dashPattern=10 10;");c.vertex=!0;var b=new mxCell("Classifier1",new mxGeometry(10,70,80,30),"html=1;");b.vertex=!0;var e=new mxCell("ConnectableElement",new mxGeometry(0,0,0,0),"html=1;rounded=0;labelBackgroundColor=none;align=left;spacingLeft=5;endArrow=none;endFill=0;");e.geometry.relative=\r\n!0;e.edge=!0;c.insertEdge(e,!0);b.insertEdge(e,!1);return a.createEdgeTemplateFromCells([c,b,e],100,100,"Collaboration")}),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=open;endFill=0;dashed=1;",160,0,"&lt;&lt;occurence&gt;&gt;","Collaboration Use",null,"collaboration use"),this.addEntry("Extension",function(){var c=new mxCell("{required}",new mxGeometry(-1,0,0,0),"html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=block;endFill=1;endSize=6;align=left;");\r\nc.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.edge=!0;return a.createEdgeTemplateFromCells([c],160,0,"Extension")}),this.addEntry("transition",function(){var c=new mxCell("Transition1 spec.",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=bottom;endFill=0;labelBackgroundColor=none;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=\r\n!0;c.edge=!0;var b=new mxCell("(via connectionPoint1)",new mxGeometry(0,0,0,0),"resizable=0;html=1;align=center;verticalAlign=top;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);return a.createEdgeTemplateFromCells([c],160,0,"Transition")}),this.addEntry("activity",function(){var c=new mxCell("{annotation1}",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;");c.geometry.setTerminalPoint(new mxPoint(0,\r\n0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.edge=!0;var b=new mxCell("Edge1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=bottom;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);b=new mxCell("[guard]",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;c.insert(b);return a.createEdgeTemplateFromCells([c],\r\n160,0,"Activity")}),this.createEdgeTemplateEntry("html=1;verticalAlign=top;labelBackgroundColor=none;endArrow=open;endFill=0;",160,0,"&lt;&lt;multicast/multireceive&gt;&gt;","Control Flow",null,"control flow"),this.addEntry("action",function(){var b=new mxCell("Action1",new mxGeometry(0,5,100,30),"html=1;rounded=1;absoluteArcSize=1;arcSize=10;");b.vertex=!0;var d=new mxCell("Action2",new mxGeometry(180,5,100,30),"html=1;rounded=1;absoluteArcSize=1;arcSize=10;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,\r\n0,0,0),"html=1;rounded=0;labelBackgroundColor=none;align=left;spacingLeft=5;endArrow=open;endFill=0;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);d.insertEdge(e,!1);var g=new mxCell("",new mxGeometry(132,0,16,16),"html=1;");g.vertex=!0;return a.createEdgeTemplateFromCells([b,d,g,e],300,35,"Action")}),this.addEntry("object node",function(){var b=new mxCell("ObjectNode1",new mxGeometry(40,0,80,30),"html=1;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=block;html=1;rounded=0;align=center;verticalAlign=top;endFill=1;labelBackgroundColor=none;endSize=6;");\r\nd.geometry.setTerminalPoint(new mxPoint(0,15),!0);d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!1);return a.createEdgeTemplateFromCells([b,d],120,30,"Object Node")}),this.addEntry("activity",function(){var b=new mxCell("",new mxGeometry(40,0,30,30),"ellipse;html=1;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;");d.geometry.setTerminalPoint(new mxPoint(0,15),!0);d.geometry.relative=\r\n!0;d.edge=!0;b.insertEdge(d,!1);return a.createEdgeTemplateFromCells([b,d],70,30,"Activity")}),this.addEntry("activity",function(){var b=new mxCell("",new mxGeometry(0,0,30,30),"ellipse;html=1;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;");d.geometry.setTerminalPoint(new mxPoint(70,15),!1);d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!0);return a.createEdgeTemplateFromCells([b,\r\nd],70,30,"Activity")}),this.createEdgeTemplateEntry("shape=mxgraph.lean_mapping.electronic_info_flow_edge;html=1;",160,0,"","Activity",null,"activity"),this.addEntry("activity",function(){var b=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;");b.geometry.setTerminalPoint(new mxPoint(0,40),!0);b.geometry.setTerminalPoint(new mxPoint(160,40),!1);b.geometry.relative=!0;b.edge=!0;var d=new mxCell("",new mxGeometry(0,\r\n0,0,0),"shape=mxgraph.lean_mapping.electronic_info_flow_edge;html=1;");d.geometry.setTerminalPoint(new mxPoint(60,0),!0);d.geometry.setTerminalPoint(new mxPoint(100,20),!1);d.geometry.relative=!0;d.edge=!0;return a.createEdgeTemplateFromCells([b,d],70,30,"Activity")}),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=open;endFill=0;",160,0,"Message1 label","Message",null,"message async asynchronous signal call"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=block;endFill=1;",\r\n160,0,"","Message, synchronous call",null,"message sync synchronous call"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=block;endFill=1;dashed=1;",160,0,"","Message, reply",null,"message reply"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=open;endFill=0;dashed=1;",160,0,"","Message, create",null,"message create"),this.addEntry("message lost",function(){var b=new mxCell("",new mxGeometry(160,0,4,4),"ellipse;html=1;fillColor=#000000;");\r\nb.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;");d.geometry.setTerminalPoint(new mxPoint(0,2),!0);d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!1);return a.createEdgeTemplateFromCells([b,d],164,4,"Message lost")}),this.addEntry("message found",function(){var b=new mxCell("",new mxGeometry(0,0,4,4),"ellipse;html=1;fillColor=#000000;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,\r\n0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;");d.geometry.setTerminalPoint(new mxPoint(164,2),!1);d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!0);return a.createEdgeTemplateFromCells([b,d],164,4,"Message found")}),this.addEntry("uml lifeline execution",function(){var b=new mxCell("",new mxGeometry(0,0,160,160),"rounded=0;dashed=0;container=0;collapsible=0;recursiveResize=0;");b.vertex=!0;var d=new mxCell("LifeLine1",new mxGeometry(30,\r\n10,100,30),"rounded=0;dashed=0;");d.vertex=!0;b.insert(d);var e=new mxCell("",new mxGeometry(75,60,10,60),"rounded=0;dashed=0;");e.vertex=!0;b.insert(e);var g=new mxCell("",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow=none;endArrow=none;dashed=1;");g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!1);e.insertEdge(g,!0);d=new mxCell("",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow=none;endArrow=none;dashed=1;");d.geometry.setTerminalPoint(new mxPoint(80,150),!0);\r\nd.geometry.relative=!0;d.edge=!0;e.insertEdge(d,!1);e=new mxCell("",new mxGeometry(0,0,0,0),"html=1;verticalAlign=bottom;startArrow=none;endArrow=open;endFill=0;");e.geometry.setTerminalPoint(new mxPoint(0,60),!0);e.geometry.setTerminalPoint(new mxPoint(75,60),!1);e.geometry.relative=!0;e.edge=!0;b.insert(g);b.insert(d);b.insert(e);return a.createVertexTemplateFromCells([b],160,160,"Lifeline")}),this.addEntry("message",function(){var b=new mxCell("Message1",new mxGeometry(40,0,80,30),"html=1;rounded=1;absoluteArcSize=1;arcSize=10;");\r\nb.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;");d.geometry.setTerminalPoint(new mxPoint(0,15),!0);d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!1);return a.createEdgeTemplateFromCells([b,d],120,30,"Message")}),this.addEntry("message",function(){var b=new mxCell("Message1",new mxGeometry(0,0,80,30),"html=1;rounded=1;absoluteArcSize=1;arcSize=10;");b.vertex=!0;var d=new mxCell("",\r\nnew mxGeometry(0,0,0,0),"endArrow=open;html=1;rounded=0;align=center;verticalAlign=top;endFill=0;labelBackgroundColor=none;endSize=6;");d.geometry.setTerminalPoint(new mxPoint(120,15),!1);d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!0);return a.createEdgeTemplateFromCells([b,d],120,30,"Message")}),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=open;endFill=0;dashed=1;",160,0,"&lt;&lt;extend&gt;&gt;","Extend",null,"extend"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=open;endFill=0;dashed=1;",\r\n160,0,"&lt;&lt;include&gt;&gt;","Include",null,"include"),this.createEdgeTemplateEntry("html=1;verticalAlign=bottom;labelBackgroundColor=none;endArrow=open;endFill=0;dashed=1;",160,0,"&lt;&lt;deploy&gt;&gt;","Deploy",null,"deploy")];this.addPalette("uml25",mxResources.get("uml")+" 2.5",!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addVeeamPalette=function(){this.addVeeamDataCenterPalette();this.addVeeamMiscPalette();this.addVeeamSoftwarePalette();this.addVeeamStoragePalette();this.addVeeamUsersStatusPalette();this.addVeeamVASComponentsPalette();this.addVeeamBackupReplicationPalette();this.addVeeamProductsPalette();this.addVeeamVMsTapePalette();this.setCurrentSearchEntryLibrary("veeam2","veeam23D");this.addVeeam3DPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addVeeamDataCenterPalette=\r\nfunction(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.hyper_v_vmware_host;",108,104,"","VMware/Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","hyper vmware host","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.hyper_v_host;",\r\n108,104,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","hyper host","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vmware_host;",108,104,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","vmware host","veeam vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.virtual_host;",108,104,"","Virtual Host",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","virtual host","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.production_site;",\r\n44.8,44.8,"","Production Site",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","production site","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.dr_site;",44.8,44.8,"","DR Site",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","dr site","veeam vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.esx_esxi;",33.2,50.8,"","Physical Server",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","esx esxi","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.server;",\r\n71.6,18.8,"","Server",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","esx esxi","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.server_stack;",57.2,49.6,"","Server stack",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","server stack","veeam vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.data_center;",76,50,"","Data center",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","data center","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.cluster;",\r\n102.8,49.2,"","Cluster",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","cluster","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.controller;",44.8,44.8,"","Controller",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","controller","veeam vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.cpu;",44.8,44.8,"","CPU",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","cpu","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.cpu_socket;",\r\n44.8,44.8,"","CPU socket",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","cpu socket","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.cloud_gateway;",44.8,44.8,"","Gateway",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","cloud gateway","veeam vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.laptop;",58.4,44,"","Laptop",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","laptop","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.monitor;",\r\n43.2,47.6,"","Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","monitor","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.proxy;",44.8,44.8,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","proxy","veeam vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.proxy_appliance;",44.8,44.8,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","proxy appliance","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.ram;",\r\n48.4,25.2,"","RAM",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","ram random access memory","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.raid_controller;",42,29.2,"","RAID controller",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","raid controller",\r\n"veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.sd_card;",32.4,38.8,"","SD card",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","sd card","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.workstation;",\r\n76.4,51.2,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","workstation","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.wan_accelerator;",44.8,44.8,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","wan accelerator wireless area network",\r\n"veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.usb;",52.8,18.4,"","USB",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","usb","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.network_card;",\r\n42.8,30,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","network card","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.switch;",64,10.8,"","Network Switch",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","network switch",\r\n"veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.service_vnic;",56.8,54,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","service vnic","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.virtual_switch;",\r\n44.8,44.8,"","Virtual Switch",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","switch","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.vnic;",44.8,44.8,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","vnic","veeam vmware virtual machine data center").join(" "))];\r\nthis.addPalette("veeamData Center","Veeam / Data Center",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeamMiscPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.alarm;",52.8,37.6,"","Alarm",null,null,this.getTagsForStencil("mxgraph.veeam.misc","alarm",\r\n"veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.building;",63.2,55.2,"","Building",null,null,this.getTagsForStencil("mxgraph.veeam.misc","building","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.cloud;",\r\n58.8,41.6,"","Cloud",null,null,this.getTagsForStencil("mxgraph.veeam.misc","cloud","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.checked_doc;",50.8,61.6,"","Checked doc",null,null,this.getTagsForStencil("mxgraph.veeam.misc","checked doc document","veeam vmware virtual machine misc miscellaneous").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.download;",44.8,44.8,"","Download",null,null,this.getTagsForStencil("mxgraph.veeam.misc","download","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.dns;",\r\n44.8,44.8,"","DNS",null,null,this.getTagsForStencil("mxgraph.veeam.misc","dns domain name server","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.encryption_key;",36.8,50.8,"","Encryption key",null,null,this.getTagsForStencil("mxgraph.veeam.misc","dns domain name server","veeam vmware virtual machine misc miscellaneous").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.file;",36.8,50.8,"","File",null,null,this.getTagsForStencil("mxgraph.veeam.misc","file","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.folder;",\r\n55.2,51.2,"","Folder",null,null,this.getTagsForStencil("mxgraph.veeam.misc","folder","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.globe;",44.8,44.8,"","Globe",null,null,this.getTagsForStencil("mxgraph.veeam.misc","globe","veeam vmware virtual machine misc miscellaneous").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.iso;",36.8,50.8,"","ISO",null,null,this.getTagsForStencil("mxgraph.veeam.misc","iso international standard organization","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.letter;",\r\n46.4,34.8,"","Letter",null,null,this.getTagsForStencil("mxgraph.veeam.misc","letter","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.library;",48,36.8,"","Library",null,null,this.getTagsForStencil("mxgraph.veeam.misc","library","veeam vmware virtual machine misc miscellaneous").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.license;",50.8,56.4,"","License",null,null,this.getTagsForStencil("mxgraph.veeam.misc","license","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.magnifying_glass;pointerEvents=1;",\r\n55.2,54.4,"","Magnifying Glass",null,null,this.getTagsForStencil("mxgraph.veeam.misc","magnifying glass","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.script;",44.8,44.8,"","Script",null,null,this.getTagsForStencil("mxgraph.veeam.misc","script","veeam vmware virtual machine misc miscellaneous").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.search;",44.8,44.8,"","Search",null,null,this.getTagsForStencil("mxgraph.veeam.misc","search","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.smb;pointerEvents=1;",\r\n80,56.4,"","SMB",null,null,this.getTagsForStencil("mxgraph.veeam.misc","smb","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.tasks;",36.8,50.8,"","Tasks",null,null,this.getTagsForStencil("mxgraph.veeam.misc","tasks","veeam vmware virtual machine misc miscellaneous").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.table;",50.8,50.8,"","Table",null,null,this.getTagsForStencil("mxgraph.veeam.misc","table","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.time;",\r\n44.8,44.8,"","Time",null,null,this.getTagsForStencil("mxgraph.veeam.misc","time","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.resource_pool;",44.8,44.8,"","Part",null,null,this.getTagsForStencil("mxgraph.veeam.misc","resource pool","veeam vmware virtual machine misc miscellaneous").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.private_key;",55.6,50.8,"","Private Key",null,null,this.getTagsForStencil("mxgraph.veeam.misc","private key","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.report;",\r\n36.8,50.8,"","Report",null,null,this.getTagsForStencil("mxgraph.veeam.misc","report","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.privilege;",60.4,58,"","Policy",null,null,this.getTagsForStencil("mxgraph.veeam.misc","policy","veeam vmware virtual machine misc miscellaneous").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.restore;pointerEvents=1;",44.8,44.8,"","Restore",null,null,this.getTagsForStencil("mxgraph.veeam.misc","restore","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.role;",\r\n36.8,50.8,"","Role",null,null,this.getTagsForStencil("mxgraph.veeam.misc","role","veeam vmware virtual machine misc miscellaneous").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.transportation;",55.2,38.4,"","Transportation",null,null,this.getTagsForStencil("mxgraph.veeam.misc","transportation","veeam vmware virtual machine misc miscellaneous").join(" "))];\r\nthis.addPalette("veeamMisc","Veeam / Miscellaneous",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeamSoftwarePalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#07B152;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.veeam_logo;",109.6,19.2,"","Veeam logo",null,null,this.getTagsForStencil("mxgraph.veeam.software",\r\n"veeam logo","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.active_directory;",44.8,44.8,"","Active Directory",null,null,this.getTagsForStencil("mxgraph.veeam.software","active directory","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.agent;pointerEvents=1;",\r\n44.8,44.8,"","Agent",null,null,this.getTagsForStencil("mxgraph.veeam.software","agent","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.automated_testing;",44.8,44.8,"","Automated Testing",null,null,this.getTagsForStencil("mxgraph.veeam.software","automated testing","veeam vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.backup_browser;",44.8,44.8,"","Backup Browser",null,null,this.getTagsForStencil("mxgraph.veeam.software","backup browser","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.data_mover;pointerEvents=1;",\r\n44.8,44.8,"","Data Mover",null,null,this.getTagsForStencil("mxgraph.veeam.software","data mover","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.database;",62.8,54,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.software","database db","veeam vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.deduplication;",44.8,44.8,"","Deduplication",null,null,this.getTagsForStencil("mxgraph.veeam.software","deduplication","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.failover_plan;",\r\n38.4,54.4,"","Failover plan",null,null,this.getTagsForStencil("mxgraph.veeam.software","failover plan","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.file_system_browser;",44.8,44.8,"","File System Browser",null,null,this.getTagsForStencil("mxgraph.veeam.software","file system browser",\r\n"veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.failover_protective_snapshot;",44.8,44.8,"","Failover Protection",null,null,this.getTagsForStencil("mxgraph.veeam.software","failover protection","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.interface;",\r\n44.8,44.8,"","Interface",null,null,this.getTagsForStencil("mxgraph.veeam.software","interface","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.monitoring_console;",44.8,44.8,"","Monitoring Console",null,null,this.getTagsForStencil("mxgraph.veeam.software","monitoring console","veeam vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.linux;",44.8,44.8,"","Linux",null,null,this.getTagsForStencil("mxgraph.veeam.software","linux","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.ms_sharepoint;",\r\n44.8,44.8,"","MS SharePoint",null,null,this.getTagsForStencil("mxgraph.veeam.software","sharepoint","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.ms_sql;",44.8,44.8,"","MS SQL",null,null,this.getTagsForStencil("mxgraph.veeam.software","sql","veeam vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.ms_exchange;",44.8,44.8,"","MS Exchange",null,null,this.getTagsForStencil("mxgraph.veeam.software","exchange","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.ms_exchange_items;",\r\n81.6,69.2,"","MS Exchange items",null,null,this.getTagsForStencil("mxgraph.veeam.software","exchange items","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.ms_office;",44.8,44.8,"","MS Office",null,null,this.getTagsForStencil("mxgraph.veeam.software","office","veeam vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.ms_outlook;",44.8,44.8,"","MS Outlook",null,null,this.getTagsForStencil("mxgraph.veeam.software","outlook","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.web_console;",\r\n44.8,44.8,"","Web Console",null,null,this.getTagsForStencil("mxgraph.veeam.software","web console","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vpn;",54,38,"","VPN",null,null,this.getTagsForStencil("mxgraph.veeam.software","vpn virtual private network","veeam vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.service;",33.2,33.2,"","Service",null,null,this.getTagsForStencil("mxgraph.veeam.software","service","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#75B4DB;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.volume_shadow_copy;",\r\n57.2,57.2,"","Volume shadow copy",null,null,this.getTagsForStencil("mxgraph.veeam.software","volume shadow copy","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.ms_windows;",44.8,44.8,"","MS Windows",null,null,this.getTagsForStencil("mxgraph.veeam.software","windows","veeam vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.powershell_extension;",44.8,44.8,"","PowerShell Extension",null,null,this.getTagsForStencil("mxgraph.veeam.software","powershell extension","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vcloud_director",\r\n44.8,44.8,"","vCloud Director",null,null,this.getTagsForStencil("mxgraph.veeam.software","vcloud director virtual cloud","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vsphere",44.8,44.8,"","vSphere",null,null,this.getTagsForStencil("mxgraph.veeam.software","vsphere virtual sphere","veeam vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.web_ui;",44.8,44.8,"","Web UI",null,null,this.getTagsForStencil("mxgraph.veeam.software","web ui user interface","veeam vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.transport_service;pointerEvents=1;",\r\n44.8,44.8,"","Transport Service",null,null,this.getTagsForStencil("mxgraph.veeam.software","transport service","veeam vmware virtual machine software").join(" "))];this.addPalette("veeamSoftware","Veeam / Software",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeamStoragePalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.backup_repository;",\r\n54,50,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.storage","backup repository","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.remote_repository;",47.6,46.4,"","Remote Repository",null,null,this.getTagsForStencil("mxgraph.veeam.storage","remote repository","veeam vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.shared_folder;",55.2,64,"","Shared Folder",null,null,this.getTagsForStencil("mxgraph.veeam.storage","shared folder","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.datastore;",\r\n44.4,45.2,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.storage","datastore","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.snapshot;",55.6,48.8,"","Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.storage","snapshot","veeam vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.storage_cluster;",55.6,56,"","Storage Cluster",null,null,this.getTagsForStencil("mxgraph.veeam.storage","storage cluster","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.datastore_volume;",\r\n63.2,16.8,"","Data Volume",null,null,this.getTagsForStencil("mxgraph.veeam.storage","data volume","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.physical_storage;",59.2,20,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.storage","physical storage","veeam vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#75B4DB;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.datastore;",43.2,44.4,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.storage","datastore","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.full_datastore;",\r\n43.2,44.4,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.storage","full datastore","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.medium_datastore;",43.2,44.4,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.storage","medium datastore","veeam vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.free_datastore;",43.2,44.4,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.storage","free datastore","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.remote_storage;",\r\n46.4,46.4,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.storage","remote storage","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.vm_backup;",57.2,53.2,"","VM Backup",null,null,this.getTagsForStencil("mxgraph.veeam.storage","vm backup","veeam vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.lost_space;",43.2,44.4,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.storage","lost space","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.hard_drive;",\r\n40,48,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.storage","hard drive","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.disk_partition;",57.2,57.2,"","Disk partition",null,null,this.getTagsForStencil("mxgraph.veeam.storage","disk partition","veeam vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.local_disk;",57.2,56.8,"","Local disk",null,null,this.getTagsForStencil("mxgraph.veeam.storage","local disk","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.audio_file;",\r\n36.8,50.8,"","Audio file",null,null,this.getTagsForStencil("mxgraph.veeam.storage","audio file","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.backup_file;",57.6,53.2,"","Backup file",null,null,this.getTagsForStencil("mxgraph.veeam.storage","audio file","veeam vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.data_file;",47.2,60.8,"","Data file",null,null,this.getTagsForStencil("mxgraph.veeam.storage","data file","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.google_document;",\r\n36.8,50.8,"","Google document",null,null,this.getTagsForStencil("mxgraph.veeam.storage","google document","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.video_file;",36.8,50.8,"","Video file",null,null,this.getTagsForStencil("mxgraph.veeam.storage","video file","veeam vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vsb_file;",36.8,50.8,"","VSB file",null,null,this.getTagsForStencil("mxgraph.veeam.storage","vsb file","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.windows_repository;",\r\n53.2,49.2,"","Windows Repository",null,null,this.getTagsForStencil("mxgraph.veeam.storage","windows repository","veeam vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.linux_repository;",53.6,49.6,"","Linux Repository",null,null,this.getTagsForStencil("mxgraph.veeam.storage","linux repository","veeam vmware virtual machine storage").join(" "))];\r\nthis.addPalette("veeamStorage","Veeam / Storage",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeamUsersStatusPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.user;",32,58,"","User",null,null,this.getTagsForStencil("mxgraph.veeam.storage","user","veeam vmware virtual machine users status").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.group;",53.6,60.4,"","User Group",null,null,this.getTagsForStencil("mxgraph.veeam.storage","user group","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.company_user;",\r\n44.4,48.8,"","Company User",null,null,this.getTagsForStencil("mxgraph.veeam.storage","company user","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.company_owner;",44.4,48.8,"","Company Owner",null,null,this.getTagsForStencil("mxgraph.veeam.storage","company owner","veeam vmware virtual machine users status").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.portal_admin;",44.4,48.8,"","Portal Admin",null,null,this.getTagsForStencil("mxgraph.veeam.storage","portal admin","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.company_administrator;",\r\n44.4,48.8,"","Company Administrator",null,null,this.getTagsForStencil("mxgraph.veeam.storage","company administrator","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.alert;",33.2,33.2,"","Alert",null,null,this.getTagsForStencil("mxgraph.veeam.storage","alert","veeam vmware virtual machine users status").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.zipped;pointerEvents=1;",6.8,57.2,"","Zipped",null,null,this.getTagsForStencil("mxgraph.veeam.storage","zipped","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.shared;",\r\n46,24.8,"","Shared",null,null,this.getTagsForStencil("mxgraph.veeam.storage","shared","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.checked;",36,36,"","Checked",null,null,this.getTagsForStencil("mxgraph.veeam.storage","checked","veeam vmware virtual machine users status").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.eject;",36,36,"","Eject",null,null,this.getTagsForStencil("mxgraph.veeam.storage","eject","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.recording;",\r\n36,36,"","Recording",null,null,this.getTagsForStencil("mxgraph.veeam.storage","recording","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.powered;",36,36,"","Powered",null,null,this.getTagsForStencil("mxgraph.veeam.storage","powered","veeam vmware virtual machine users status").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.failed;",36,36,"","Failed",null,null,this.getTagsForStencil("mxgraph.veeam.storage","failed","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.paused;",\r\n36,36,"","Paused",null,null,this.getTagsForStencil("mxgraph.veeam.storage","paused","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.unavailable;",36,36,"","Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.storage","unavailable","veeam vmware virtual machine users status").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.active;",36,36,"","Active",null,null,this.getTagsForStencil("mxgraph.veeam.storage","active","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.delayed;",\r\n36,36,"","Delayed",null,null,this.getTagsForStencil("mxgraph.veeam.storage","delayed","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.restore;pointerEvents=1;",31.2,29.6,"","Restore",null,null,this.getTagsForStencil("mxgraph.veeam.storage","restore","veeam vmware virtual machine users status").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.locked;",30.4,34.4,"","Locked",null,null,this.getTagsForStencil("mxgraph.veeam.storage","locked","veeam vmware virtual machine users status").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.unlocked;",\r\n41.6,34.8,"","Unlocked",null,null,this.getTagsForStencil("mxgraph.veeam.storage","unlocked","veeam vmware virtual machine users status").join(" "))];this.addPalette("veeamUsersStatus","Veeam / Users and Status",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeamVASComponentsPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.database_server;",\r\n76,72,"","Database Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","database server","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.gateway_server;",76,72,"","Gateway Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","gateway server",\r\n"veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.mount_server;",76,72,"","Mount Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","mount server","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.proxy_server;",\r\n76,72,"","Proxy Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","proxy server","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.repository_server;",76,72,"","Repository Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","repository server",\r\n"veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_backup_search_server;",76,72,"","Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","backup search server","veeam vmware virtual machine vas availability suite component").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.tape_server;",76,72,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","tape server","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vsphere_server;",\r\n76,72,"","vSphere Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","vsphere server","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.windows_linux_server;",76,72,"","Windows Linux Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent",\r\n"windows linux server","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_backup_and_replication_server;",76,72,"","Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","backup and replication server","veeam vmware virtual machine vas availability suite component").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_backup_enterprise_manager_server;",76,72,"","Backup Enterprise Manager Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","backup enterprise manager server","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.one_server;",\r\n76,72,"","ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","one server","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_explorer_for_active_directory;",44.8,44.8,"","Explorer for Active Directory",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent",\r\n"explorer for active directory","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_explorer_for_exchange;",44.8,44.8,"","Explorer for Exchange",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","explorer for exchange","veeam vmware virtual machine vas availability suite component").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.explorer_for_oracle;",44.8,44.8,"","Explorer for Oracle",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","explorer for oracle","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_explorer_for_sharepoint;",\r\n44.8,44.8,"","Explorer for SharePoint",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","explorer for sharepoint","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.explorer_for_storage_snapshots;",44.8,44.8,"","Explorer for Storage Snapshots",null,null,\r\nthis.getTagsForStencil("mxgraph.veeam.vascomponent","explorer for storage snapshots","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_explorer_for_sql;",44.8,44.8,"","Explorer for SQL",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","explorer for sql",\r\n"veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_availability_suite;",44.8,44.8,"","Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","availability suite","veeam vmware virtual machine vas availability suite component").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.backup_replication;",44.8,44.8,"","Backup and Replication",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","backup and replication","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.enterprise_manager;",\r\n44.8,44.8,"","Enterprise Manager",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","enterprise manager","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.linux_repository;",48.8,44.8,"","Linux Repository",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent",\r\n"linux repository","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.windows_repository;",48.8,44.8,"","Windows Repository",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","windows repository","veeam vmware virtual machine vas availability suite component").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.flr_helper_appliance;",49.6,50,"","FLR Helper Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","flr helper appliance","veeam vmware virtual machine vas availability suite component").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.one_client;",\r\n90.8,61.6,"","ONE client",null,null,this.getTagsForStencil("mxgraph.veeam.vascomponent","one client","veeam vmware virtual machine vas availability suite component").join(" "))];this.addPalette("veeamVASComponents","Veeam / Availability Suite components",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeamBackupReplicationPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.built_in_wan_acceleration;",\r\n44.8,44.8,"","Built-in WAN Acceleration",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","built in wan acceleration wireless area network","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.1_click_failover_orchestration;",44.8,44.8,"","1 Click Failover Orchestration",\r\nnull,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","one click failover orchestration","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.advanced_refs_integration;",44.8,44.8,"","Advanced ReFS integration",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication",\r\n"advanced refs integration","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.assisted_failover_and_failback;",44.8,44.8,"","Assisted Failover and Failback",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","assisted failover and failback","veeam vmware virtual machine backup replication").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.chargeback_and_billing_capabilities;",44.8,44.8,"","Chargeback and billing capabilities",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","chargeback and billing capabilities","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_cloud_connect;",\r\n44.8,44.8,"","Cloud Connect",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","cloud connect","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.built_in_management_for_agents;",44.8,44.8,"","Built-in Management for agents",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication",\r\n"built in management for agents","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.disaster_recovery;",44.8,44.8,"","Disaster Recovery",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","disaster recovery","veeam vmware virtual machine backup replication").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.emc_data_domain_boost;",44.8,44.8,"","Dell EMC Data Domain Boost",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","emc data domain boost","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.end_to_end_encryption;",\r\n44.8,44.8,"","End-to-end Encryption",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","end to end encryption","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.backup_from_storage_snapshots;",44.8,44.8,"","Backup from Storage Snapshots",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication",\r\n"backup from storage snapshots","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.direct_restore_to_ms_azure;",44.8,44.8,"","Direct Restore to MS Azure",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","direct restore to ms azure","veeam vmware virtual machine backup replication").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.draas_enhancements;",44.8,44.8,"","DRaaS Enhancements",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","draas enhancements","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.full_ms_integration;",\r\n44.8,44.8,"","Full MS Integration",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","full ms integration","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.native_tape_support;",44.8,44.8,"","Native Tape Support",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication",\r\n"native tape support","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.enterprise_scalability_enhancements;",44.8,44.8,"","Enterprise scalability enhancements",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","enterprise scalability enhancements","veeam vmware virtual machine backup replication").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.on_demand_sandbox;",44.8,44.8,"","On Demand Sandbox",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","on demand sandbox","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.nas_backup;",\r\n44.8,44.8,"","NAS Backup",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","nas backup","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.quick_migration;",44.8,44.8,"","Quick Migration",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","quick migration",\r\n"veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.replication_from_a_backup;",44.8,44.8,"","Replication from a Backup",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","replication from a backup","veeam vmware virtual machine backup replication").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.primary_storage_integration;",44.8,44.8,"","Primary Storage integration",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","primary storage integration","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.sure_replica;",\r\n44.8,44.8,"","Sure Replica",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","sure replica","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.archive_tier;",44.8,44.8,"","Archive Tier",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","archive tier",\r\n"veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.restore_data_from_the_vm_backup;",44.8,44.8,"","Restore Data from VM Backup",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","restore data from vm backup","veeam vmware virtual machine backup replication").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.scheduled_backups;",44.8,44.8,"","Scheduled Backups",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","Scheduled Backups","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.restful_apis;",\r\n44.8,44.8,"","RESTful API",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","restful apis api","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.self_service_recovery;",44.8,44.8,"","Self-Service Recovery",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication",\r\n"self service recovery","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.reporting;",44.8,44.8,"","Reporting",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","reporting","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.continuous_data_protection;",\r\n44.8,44.8,"","Continuous Data Protection",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","continuous data protection","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vcloud_director_support;",44.8,44.8,"","vCloud Director Support",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication",\r\n"vcloud director support","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.virtual_lab;",44.8,44.8,"","Virtual Lab",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","virtual lab","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.sure_backup;",\r\n44.8,44.8,"","SureBackup",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","sure backup","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.scale_out_repository;",64.8,57.2,"","Scale Out Repository",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication",\r\n"scale out repository","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeamzip;",44.8,44.8,"","VeeamZIP",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","veeamzip zip","veeam vmware virtual machine backup replication").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_explorer;",\r\n44.8,44.8,"","Veeam Explorer",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","explorer","veeam vmware virtual machine backup replication").join(" "))];this.addPalette("veeamBackup Replication","Veeam / Backup and Replication",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeamProductsPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#07B152;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.veeam_logo;",\r\n109.6,19.2,"","Veeam logo",null,null,this.getTagsForStencil("mxgraph.veeam.products","veeam logo","veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.backup_replication;",44.8,44.8,"","Backup and Replication",null,null,this.getTagsForStencil("mxgraph.veeam.products","backup and replication",\r\n"veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.enterprise_manager;",44.8,44.8,"","Enterprise Manager",null,null,this.getTagsForStencil("mxgraph.veeam.products","enterprise manager","veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_availability_suite;",\r\n44.8,44.8,"","Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.products","availability suite","veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.availability_console;",44.8,44.8,"","Availability Console",null,null,this.getTagsForStencil("mxgraph.veeam.products","availability console",\r\n"veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.availability_orchestrator;",44.8,44.8,"","Availability Orchestrator",null,null,this.getTagsForStencil("mxgraph.veeam.products","availability orchestrator","veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.agents;",\r\n44.8,44.8,"","Agents",null,null,this.getTagsForStencil("mxgraph.veeam.products","agents","veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.powered_network;",44.8,44.8,"","Powered Network",null,null,this.getTagsForStencil("mxgraph.veeam.products","powered network","veeam vmware virtual machine products").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.backup_for_office_365;",44.8,44.8,"","Backup for Office 365",null,null,this.getTagsForStencil("mxgraph.veeam.products","backup for office 365","veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.endpoint_backup;",\r\n44.8,44.8,"","Endpoint Backup",null,null,this.getTagsForStencil("mxgraph.veeam.products","endpoint backup","veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_one_monitor;",44.8,44.8,"","ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.products","one monitor","veeam vmware virtual machine products").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_one_reporter;",44.8,44.8,"","ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.products","one reporter","veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_one_business_view;",\r\n44.8,44.8,"","ONE (Business View)",null,null,this.getTagsForStencil("mxgraph.veeam.products","one business view","veeam vmware virtual machine products").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.veeam_one_server;",44.8,44.8,"","ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.products","one server","veeam vmware virtual machine products").join(" "))];\r\nthis.addPalette("veeamProducts","Veeam / Products",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeamVMsTapePalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.virtual_machine;",44.8,44,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape",\r\n"","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vm_checked;",54,52,"","VM Checked",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","checked","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.vm_running;",\r\n54,52,"","VM Started",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","vm started","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.vm_locked;",55.6,52,"","VM Locked",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","vm locked","veeam vmware virtual machine vm tape").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vm_paused;",54,52,"","VM Paused",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","vm paused","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.vm_failed;",\r\n54,52,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","vm failed","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vm_kernel;",54,52,"","VM Kernel",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","vm kernel","veeam vmware virtual machine vm tape").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vm_windows;",57.2,55.2,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","vm windows","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vm_linux;",\r\n57.2,55.2,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","vm linux","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#A2C6E0;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vm_snapshot;",60.8,58.4,"","VM Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","vm snapshot","veeam vmware virtual machine vm tape").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.vapp;",44.8,44,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","vapp","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.tape;",\r\n62,33.6,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","tape","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.tape_device;",105.2,106,"","Tape Device",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","tape device","veeam vmware virtual machine vm tape").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.tape_library;",96.8,98,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","tape library","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.tape_writing_device;",\r\n82.4,43.6,"","Tape writing device",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","tape writing device","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.media_pool;",74.4,71.6,"","Media pool",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","media pool","veeam vmware virtual machine vm tape").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.unknown_tape;",67.2,62.4,"","Unknown tape",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","unknown tape","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.tape_ejecting;",\r\n75.6,49.6,"","Tape eject",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","tape eject","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.tape_locked;",70.4,40,"","Tape locked",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","tape locked","veeam vmware virtual machine vm tape").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.tape_licensed;",75.2,44.4,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","tape licensed","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.tape_recording;",\r\n71.2,47.2,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","tape recording","veeam vmware virtual machine vm tape").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.2d.tape_checked;",75.2,45.6,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.vmstape","tape checked","veeam vmware virtual machine vm tape").join(" "))];\r\nthis.addPalette("veeamVMs and Tape","Veeam / VMs and Tape",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam3DPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm;",68,62,"","1FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm","veeam 3d vmware virtual machine ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_error;",68,62,"","1FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm error","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_running;",\r\n68,62,"","1FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_unavailable;",68,62,"","1FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm unavailable","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_warning;",\r\n68,62,"","1FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm warning","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm;",68,62,"","2FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_error;",\r\n68,62,"","2FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm error","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_running;",68,62,"","2FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_unavailable;",\r\n68,62,"","2FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm unavailable","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_warning;",68,62,"","2FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm warning","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.backup_repository;",\r\n62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.backup_repository_2;",62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.cd;",\r\n68,26,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam.3d","cd","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.database;",58,62,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.3d","database","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.datastore;",\r\n44,60,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.datastore_snapshot;",54,34,"","Datastore Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore snapshot","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.datastore_volume;",\r\n54,34,"","Datastore Volume",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore volume","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.esx_esxi;",38,52,"","ESX ESXi",null,null,this.getTagsForStencil("mxgraph.veeam.3d","esx esxi","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.failover_protective_snapshot;",\r\n46,46,"","Failover Protective Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.failover_protective_snapshot_locked;",56,46,"","Failover Protective Snapshot Locked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot locked",\r\n"veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.failover_protective_snapshot_running;",58,46,"","Failover Protective Snapshot Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.free_datastore;",\r\n44,60,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","free datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.full_datastore;",44,60,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","full datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.hard_drive;fillColor=#637D8A;gradientColor=#324752;strokeColor=none;",\r\n62,28,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hard drive","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.hyper_v_host;",110,98,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hyper-v host","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.lost_space;",\r\n44,60,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lost space","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.lun;",72,40,"","LUN",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lun","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.medium_datastore;",\r\n44,60,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","medium datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.network_card;",38,40,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.3d","network card","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.physical_storage;",\r\n108,60,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","physical_storage","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.proxy;",46,46,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.proxy_appliance;",\r\n46,46,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy appliance","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.remote_site;",46,60,"","Remote Site",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote site","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.remote_storage;",\r\n52,62,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote storage","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.resource_pool;",56,32,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.veeam.3d","resource pool","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.service_vnic;",\r\n72,64,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","service vnic","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.switch;",110,58,"","Switch",null,null,this.getTagsForStencil("mxgraph.veeam.3d","switch","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape;",\r\n58,58,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_checked;",70,58,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape checked","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_ejecting;",\r\n70,58,"","Tape Ejecting",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape ejecting","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_library;",62,74,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape library","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_licensed;",\r\n70,58,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape licensed","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_recording;",70,58,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape recording","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_server;",\r\n46,46,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vapp;",92,62,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vapp_started;",\r\n92,62,"","vApp Started",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp started","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_availability_suite;",46,46,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam availability suite","veeam 3d vmware virtual machine ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_backup_and_replication_server;",46,46,"","Veeam Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup and replication server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_backup_enterprise_manager_server;",\r\n46,46,"","Veeam Backup Enterprise Manager Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup enterprise manager server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_backup_search_server;",46,46,"","Veeam Backup Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup search server",\r\n"veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_business_view;",46,46,"","Veeam ONE Business View",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one business view","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_monitor;",\r\n46,46,"","Veeam ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one monitor","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_reporter;",46,46,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one reporter","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_server;",\r\n46,46,"","Veeam ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.virtual_machine;",46,46,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.3d","virtual machine","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vmware_host;",\r\n110,98,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vmware host","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_failed;",56,46,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm failed","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_linux;",\r\n46,60,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm linux","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_no_network;",58,46,"","VM No Network",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm no network","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_problem;",\r\n56,46,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm problem","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_running;",56,46,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_saved_state;",\r\n58,48,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm saved state","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_windows;",46,60,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm windows","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vnic;",\r\n62,62,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vnic","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.wan_accelerator;",46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.3d","wan accelerator","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.workstation;",\r\n76,62,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.3d","workstation","veeam 3d vmware virtual machine ").join(" "))];this.addPalette("veeam3D","Veeam / 3D",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addVeeam2Palette=function(){this.setCurrentSearchEntryLibrary("veeam2","veeam2Auxiliary");this.addVeeam2AuxiliaryPalette();this.setCurrentSearchEntryLibrary("veeam2","veeam2Data Center");this.addVeeam2DataCenterPalette();this.setCurrentSearchEntryLibrary("veeam2","veeam2Features");this.addVeeam2FeaturesPalette();this.setCurrentSearchEntryLibrary("veeam2","veeam2General");this.addVeeam2GeneralPalette();this.setCurrentSearchEntryLibrary("veeam2","veeam2Products and Components");\r\nthis.addVeeam2ProductsComponentsPalette();this.setCurrentSearchEntryLibrary("veeam2","veeam2Software");this.addVeeam2SoftwarePalette();this.setCurrentSearchEntryLibrary("veeam2","veeam2States");this.addVeeam2StatesPalette();this.setCurrentSearchEntryLibrary("veeam2","veeam2Storage");this.addVeeam2StoragePalette();this.setCurrentSearchEntryLibrary("veeam2","veeam23D");this.addVeeam23DPalette();this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addVeeam2AuxiliaryPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#13B24B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_logo;",\r\n136,24,"","Veeam logo",null,null,this.getTagsForStencil("mxgraph.veeam2","logo","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("align=left;verticalAlign=middle;fontFamily=Tahoma;strokeColor=#ECECEC;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0",150,100*1.1,"Please use Tahome font family, not less than 9 pt\\n\\nABCDEFGHIJKLM\\nabcdefghijklm\\n0123456789","Font",null,null,this.getTagsForStencil("mxgraph.veeam2","font","veeam vmware virtual machine auxiliary").join(" ")),\r\nthis.createVertexTemplateEntry("align=left;verticalAlign=middle;fontFamily=Tahoma;fillColor=#005f4b;strokeColor=none;fontColor=#ffffff;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0",150,100*1.1,"Veeam Sapphire\\n\\nR: 0\\nG: 95\\nB: 75\\n\\n #005f4b","Veeam Sapphire",null,null,this.getTagsForStencil("mxgraph.veeam2","sapphite","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("align=left;verticalAlign=middle;fontFamily=Tahoma;fillColor=#df8c42;strokeColor=none;fontColor=#ffffff;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0",\r\n150,100*1.1,"Orange\\n\\nR: 223\\nG: 140\\nB: 66\\n\\n #df8c42","Veeam Sapphire",null,null,this.getTagsForStencil("mxgraph.veeam2","orange","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("align=left;verticalAlign=middle;fontFamily=Tahoma;fillColor=#d9d9d9;strokeColor=none;fontColor=#ffffff;strokeWidth=2;html=1;whiteSpace=wrap;spacing=6;fontStyle=0",150,100*1.1,"Grey 2\\n\\nR: 217\\nG: 217\\nB: 217\\n\\n #d9d9d9","Grey 2",null,null,this.getTagsForStencil("mxgraph.veeam2","grey",\r\n"veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;gradientColor=#D3D3D3;strokeColor=none;gradientDirection=east;",40,160,"","Inclusion",null,null,this.getTagsForStencil("mxgraph.veeam2","inclusion","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#d3d3d3;strokeWidth=2;",150,100*1.1,"","Frame (grey 2)",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"grey frame","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#00B336;strokeWidth=2;",150,100*1.1,"","Frame (topaz)",null,null,this.getTagsForStencil("mxgraph.veeam2","topaz frame","veeam vmware virtual machine auxiliary").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=block;startFill=1;",\r\n100,0,"","Connector (topaz)",null,"veeam vmware virtual machine auxiliaryconnector topaz"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#404040;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=block;startFill=1;",100,0,"","Connector (grey 3)",null,"veeam vmware virtual machine auxiliaryconnector grey"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#D9D9D9;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=oval;endFill=1;startArrow=oval;startFill=1;",\r\n100,0,"","Connector (grey 2)",null,"veeam vmware virtual machine auxiliaryconnector grey"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=oval;endFill=1;startArrow=oval;startFill=1;",100,0,"","Connector #2 (topaz)",null,"veeam vmware virtual machine auxiliaryconnector topaz"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#404040;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=none;",\r\n100,0,"","Arrow (grey 3)",null,"veeam vmware virtual machine auxiliaryarrow grey"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=block;endFill=1;startArrow=none;",100,0,"","Arrow (topaz)",null,"veeam vmware virtual machine auxiliaryarrow topaz"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#00B336;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=none;endFill=0;startArrow=none;dashed=1;",\r\n100,0,"","Dotted line (topaz)",null,"veeam vmware virtual machine auxiliarydotted line topaz"),this.createEdgeTemplateEntry("edgeStyle=none;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;strokeColor=#404040;strokeWidth=2;fontColor=#000000;jumpStyle=none;endArrow=none;endFill=0;startArrow=none;dashed=1;",100,0,"","Dotted line (grey 3)",null,"veeam vmware virtual machine auxiliarydotted line grey"),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",\r\n20,20,"1","Number one",null,null,this.getTagsForStencil("mxgraph.veeam2","number one","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",20,20,"2","Number two",null,null,this.getTagsForStencil("mxgraph.veeam2","number two","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",\r\n20,20,"3","Number three",null,null,this.getTagsForStencil("mxgraph.veeam2","number three","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",20,20,"4","Number four",null,null,this.getTagsForStencil("mxgraph.veeam2","number four","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",\r\n20,20,"5","Number five",null,null,this.getTagsForStencil("mxgraph.veeam2","number five","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",20,20,"6","Number six",null,null,this.getTagsForStencil("mxgraph.veeam2","number six","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",\r\n20,20,"7","Number seven",null,null,this.getTagsForStencil("mxgraph.veeam2","number seven","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",20,20,"8","Number eight",null,null,this.getTagsForStencil("mxgraph.veeam2","number eight","veeam vmware virtual machine auxiliary").join(" ")),this.createVertexTemplateEntry("ellipse;whiteSpace=wrap;html=1;aspect=fixed;strokeWidth=2;fontFamily=Tahoma;spacingBottom=4;spacingRight=2;strokeColor=#d3d3d3;",\r\n20,20,"9","Number nine",null,null,this.getTagsForStencil("mxgraph.veeam2","number nine","veeam vmware virtual machine auxiliary").join(" "))];this.addPalette("veeam2Auxiliary","Veeam / Auxiliary",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2DataCenterPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datacenter;",\r\n83,53,"","Datacenter",null,null,this.getTagsForStencil("mxgraph.veeam2","datacenter","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cloud;",40,25,"","Cloud",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud","veeam vm vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.azure;",34,34,"","Azure",null,null,this.getTagsForStencil("mxgraph.veeam2","azure","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.aws;",\r\n34,34,"","AWS",null,null,this.getTagsForStencil("mxgraph.veeam2","aws","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server;",23,39,"","Server",null,null,this.getTagsForStencil("mxgraph.veeam2","server","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server_cluster;",\r\n100*.56,100*.28,"","Server Cluster",null,null,this.getTagsForStencil("mxgraph.veeam2","server cluster","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.1u_server;",40,11,"","1U Server",null,null,this.getTagsForStencil("mxgraph.veeam2","1u one unit server","veeam vm vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server_stack;",40,40,"","Server Stack",null,null,this.getTagsForStencil("mxgraph.veeam2","server stack","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.monitor;",\r\n51,40,"","Monitor",null,null,this.getTagsForStencil("mxgraph.veeam2","monitor","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.laptop;",48,100*.28,"","Laptop",null,null,this.getTagsForStencil("mxgraph.veeam2","laptop","veeam vm vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.workstation;",38,100*.28,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam2","workstation","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.virtual_host;",\r\n82,79,"","Virtual Host",null,null,this.getTagsForStencil("mxgraph.veeam2","virtual host","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.esxi_host;",82,79,"","ESXi Host",null,null,this.getTagsForStencil("mxgraph.veeam2","esxi host","veeam vm vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.hyper_v_host;",82,79,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam2","hyper hyperv host","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.ahv_host;",\r\n82,79,"","AHV Host",null,null,this.getTagsForStencil("mxgraph.veeam2","ahv host","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.esxi_hyper_v_ahv_host;",82,79,"","ESXi/Hyper-V/AHV Host",null,null,this.getTagsForStencil("mxgraph.veeam2","esxi hyper hyperv ahv host",\r\n"veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.esxi_hyper_v_host;",82,79,"","ESXi/Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam2","esxi hyper hyperv host","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cpu;",\r\n100*.28,100*.28,"","CPU",null,null,this.getTagsForStencil("mxgraph.veeam2","cpu central processing unit","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cpu_socket;",100*.28,100*.28,"","CPU Socket",null,null,this.getTagsForStencil("mxgraph.veeam2","cpu socket central processing unit",\r\n"veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.ram;",40,19,"","RAM",null,null,this.getTagsForStencil("mxgraph.veeam2","ram random access memory","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.hdd;",\r\n100*.28,35,"","HDD",null,null,this.getTagsForStencil("mxgraph.veeam2","hdd hard disk drive","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.network_card;",38,27,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam2","network card","veeam vm vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.hardware_controller;",38,100*.28,"","Hardware Controller",null,null,this.getTagsForStencil("mxgraph.veeam2","hardware controller","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.physical_switch;",\r\n53,15,"","Physical Switch",null,null,this.getTagsForStencil("mxgraph.veeam2","physical switch","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vmware_vswitch;",40,11,"","VMware vSwitch",null,null,this.getTagsForStencil("mxgraph.veeam2","vswitch","veeam vm vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.usb_drive;",40,17,"","USB Drive",null,null,this.getTagsForStencil("mxgraph.veeam2","usb drive","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sd_card;",\r\n23,100*.28,"","SD Card",null,null,this.getTagsForStencil("mxgraph.veeam2","sd card","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.virtual_machine;",100*.28,100*.28,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam2","","veeam vm vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_snapshot;",38,38,"","VM Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","vnapshot","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_with_a_snapshot;",\r\n42,42,"","VM with a Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","with vnapshot","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_checked;",36,36,"","VM Checked",null,null,this.getTagsForStencil("mxgraph.veeam2","checked","veeam vm vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_failed;",36,36,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam2","failed","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_turn_on_off;",\r\n36,36,"","VM turn on/off",null,null,this.getTagsForStencil("mxgraph.veeam2","turn on off","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_paused_saved_state;",36,36,"","VM paused/saved state",null,null,this.getTagsForStencil("mxgraph.veeam2","paused saved state",\r\n"veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_locked;",36,36,"","VM locked",null,null,this.getTagsForStencil("mxgraph.veeam2","locked","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vm_running;",\r\n36,36,"","VM running",null,null,this.getTagsForStencil("mxgraph.veeam2","running","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.linux_vm;",36,36,"","Linux VM",null,null,this.getTagsForStencil("mxgraph.veeam2","linux","veeam vm vmware virtual machine data center").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.windows_vm;",36,36,"","Windows VM",null,null,this.getTagsForStencil("mxgraph.veeam2","windows","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vapp;",\r\n100*.28,100*.28,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam2","vapp","veeam vm vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vapp_running;",36,36,"","vApp Running",null,null,this.getTagsForStencil("mxgraph.veeam2","vapp running","veeam vm vmware virtual machine data center").join(" "))];\r\nthis.addPalette("veeam2Data Center","Veeam / Data Center",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2FeaturesPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#13B24B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_logo;",136,24,"","Veeam logo",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"logo","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.backup_from_storage_snapshots;",34,34,"","Backup from Storage Snapshots",null,null,this.getTagsForStencil("mxgraph.veeam2","backup from storage snapshots","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cdp;",\r\n34,34,"","CDP",null,null,this.getTagsForStencil("mxgraph.veeam2","cdp","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datalabs;",34,34,"","Datalabs",null,null,this.getTagsForStencil("mxgraph.veeam2","datalabs","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.failover;",\r\n34,34,"","Failover",null,null,this.getTagsForStencil("mxgraph.veeam2","failover","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.instant_vm_recovery;",34,34,"","Instant VM recovery",null,null,this.getTagsForStencil("mxgraph.veeam2","instant recovery","veeam vm vmware virtual machine features").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.nas_backup;",34,34,"","NAS Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","nas backup","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.object_storage_support;",\r\n34,34,"","Object Storage Support",null,null,this.getTagsForStencil("mxgraph.veeam2","object storage support","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.on_demand_sandbox;",34,34,"","On-demand Sandbox",null,null,this.getTagsForStencil("mxgraph.veeam2","on demand sandbox",\r\n"veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.restful_api;",34,34,"","RESTful API",null,null,this.getTagsForStencil("mxgraph.veeam2","restful api application programming interface","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.scale_out_backup_repository2;",\r\n34,34,"","Scale-out Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","scale out backup repository","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.scheduled_backups;",34,34,"","Scheduled Backups",null,null,this.getTagsForStencil("mxgraph.veeam2","scheduled backups",\r\n"veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.surebackup;",34,34,"","SureBackup",null,null,this.getTagsForStencil("mxgraph.veeam2","surebackup","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.surereplica;",\r\n34,34,"","SureReplica",null,null,this.getTagsForStencil("mxgraph.veeam2","surereplica","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_console;",34,34,"","VBR console",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr console","veeam vm vmware virtual machine features").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_cloud_connect;",34,34,"","Veeam Cloud Connect",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud connect","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_cloud_mobility;",\r\n34,34,"","Veeam Cloud Mobility",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud mobility","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeamzip;",34,34,"","VeeamZIP",null,null,this.getTagsForStencil("mxgraph.veeam2","veeamzip zip","veeam vm vmware virtual machine features").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorers;",34,34,"","Veeam Explorers",null,null,this.getTagsForStencil("mxgraph.veeam2","veeam explorers","veeam vm vmware virtual machine features").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.universal_storage_api;",\r\n34,34,"","Universal Storage API",null,null,this.getTagsForStencil("mxgraph.veeam2","universal storage api application programming interface","veeam vm vmware virtual machine features").join(" "))];this.addPalette("veeam2Features","Veeam / Features",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2GeneralPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.enterprise_business;",\r\n38,33,"","Enterprise (business)",null,null,this.getTagsForStencil("mxgraph.veeam2","enterprise business","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.smb_business;",38,27,"","SMB (business)",null,null,this.getTagsForStencil("mxgraph.veeam2","smb business","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.automation;",100*.28,100*.28,"","Automation",null,null,this.getTagsForStencil("mxgraph.veeam2","automation","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.service_application;",\r\n100*.28,100*.28,"","Service Application",null,null,this.getTagsForStencil("mxgraph.veeam2","service application","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cloud;",40,25,"","Cloud",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.database;",23,100*.28,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam2","database","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.report;",\r\n100*.28,39,"","Report",null,null,this.getTagsForStencil("mxgraph.veeam2","report","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.task_list;",100*.28,39,"","Task List",null,null,this.getTagsForStencil("mxgraph.veeam2","task list","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.dr_plan;",100*.28,42,"","DR Plan",null,null,this.getTagsForStencil("mxgraph.veeam2","dr plan","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.folder;",\r\n100*.28,24,"","Folder",null,null,this.getTagsForStencil("mxgraph.veeam2","folder","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.file;",100*.28,39,"","File",null,null,this.getTagsForStencil("mxgraph.veeam2","file","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.audio_file;",100*.28,39,"","Audio File",null,null,this.getTagsForStencil("mxgraph.veeam2","audio file","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_file;",\r\n100*.28,39,"","Data File",null,null,this.getTagsForStencil("mxgraph.veeam2","data file","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.iso_file;",100*.28,39,"","ISO File",null,null,this.getTagsForStencil("mxgraph.veeam2","iso file","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.metadata_file;",100*.28,39,"","Metadata File",null,null,this.getTagsForStencil("mxgraph.veeam2","metadata file","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.license_file;",\r\n100*.28,39,"","License File",null,null,this.getTagsForStencil("mxgraph.veeam2","license file","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.video_file;",100*.28,39,"","Video File",null,null,this.getTagsForStencil("mxgraph.veeam2","video file","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.alarm;",100*.28,100*.28,"","Alarm",null,null,this.getTagsForStencil("mxgraph.veeam2","alarm","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.backup_browser;",\r\n100*.28,100*.28,"","Backup Browser",null,null,this.getTagsForStencil("mxgraph.veeam2","backup browser","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.calendar;",100*.28,100*.28,"","Calendar",null,null,this.getTagsForStencil("mxgraph.veeam2","calendar","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.command_line;",100*.28,100*.28,"","Command Line",null,null,this.getTagsForStencil("mxgraph.veeam2","command line","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cd;",\r\n100*.28,100*.28,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam2","cd compact disc","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.controller;",100*.28,100*.28,"","Controller",null,null,this.getTagsForStencil("mxgraph.veeam2","controller","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.deduplication;",100*.28,100*.28,"","Deduplication",null,null,this.getTagsForStencil("mxgraph.veeam2","deduplication","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.download;",\r\n100*.28,100*.28,"","Download",null,null,this.getTagsForStencil("mxgraph.veeam2","download","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.dns;",100*.28,100*.28,"","DNS",null,null,this.getTagsForStencil("mxgraph.veeam2","dns domain name store","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.globe;",100*.28,100*.28,"","Globe",null,null,this.getTagsForStencil("mxgraph.veeam2","globe","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.key;",\r\n100*.28,100*.28,"","Key",null,null,this.getTagsForStencil("mxgraph.veeam2","key","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.encryption_key;",36,36,"","Encryption Key",null,null,this.getTagsForStencil("mxgraph.veeam2","encryption key","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.letter;",100*.28,20,"","Letter",null,null,this.getTagsForStencil("mxgraph.veeam2","letter","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.exchange_objects;",\r\n100*.28,100*.28,"","Exchange objects",null,null,this.getTagsForStencil("mxgraph.veeam2","exchange objects","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.magnifying_glass;",100*.28,100*.28,"","Magnifying Glass",null,null,this.getTagsForStencil("mxgraph.veeam2","magnifying glass",\r\n"veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.restore;",100*.28,100*.28,"","Restore",null,null,this.getTagsForStencil("mxgraph.veeam2","restore","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.role;",\r\n100*.28,39,"","Role",null,null,this.getTagsForStencil("mxgraph.veeam2","role","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.interface_console;",100*.28,100*.28,"","Interface / Console",null,null,this.getTagsForStencil("mxgraph.veeam2","interface console","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.monitoring_console;",100*.28,100*.28,"","Monitoring Console",null,null,this.getTagsForStencil("mxgraph.veeam2","monitoring console","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.web_console;",\r\n100*.28,100*.28,"","Web Console",null,null,this.getTagsForStencil("mxgraph.veeam2","web console","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.file_browser;",100*.28,100*.28,"","File Browser",null,null,this.getTagsForStencil("mxgraph.veeam2","file browser","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.table;",100*.28,100*.28,"","Table",null,null,this.getTagsForStencil("mxgraph.veeam2","table","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.time_clocks;",\r\n100*.28,100*.28,"","Time / Clocks",null,null,this.getTagsForStencil("mxgraph.veeam2","time clocks","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tag;",100*.28,100*.28,"","Tag",null,null,this.getTagsForStencil("mxgraph.veeam2","tag","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.transport;",38,23,"","Transport",null,null,this.getTagsForStencil("mxgraph.veeam2","transport","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vpn;",\r\n100*.28,100*.28,"","VPN",null,null,this.getTagsForStencil("mxgraph.veeam2","vpn virtual private network","veeam vm vmware virtual machine general").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.user;",100*.28,100*.28,"","User",null,null,this.getTagsForStencil("mxgraph.veeam2","user","veeam vm vmware virtual machine general").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.user_group;",100*.28,100*.28,"","User Group",null,null,this.getTagsForStencil("mxgraph.veeam2","user group","veeam vm vmware virtual machine general").join(" "))];this.addPalette("veeam2General","Veeam / General",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};\r\nSidebar.prototype.addVeeam2ProductsComponentsPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#13B24B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_logo;",136,24,"","Veeam logo",null,null,this.getTagsForStencil("mxgraph.veeam2","logo","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_availability_suite;",\r\n34,34,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam2","availability suite","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vas_server;",40,52,"","VAS server",null,null,this.getTagsForStencil("mxgraph.veeam2","vas server",\r\n"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_backup_replication;",34,34,"","Veeam Backup & Replication",null,null,this.getTagsForStencil("mxgraph.veeam2","backup and replication","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_server;",40,52,"","VBR server",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.proxy_server;",\r\n40,52,"","Proxy Server",null,null,this.getTagsForStencil("mxgraph.veeam2","proxy server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.repository_server;",40,52,"","Repository Server",null,null,this.getTagsForStencil("mxgraph.veeam2","repository server",\r\n"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.mount_server;",40,52,"","Mount Server",null,null,this.getTagsForStencil("mxgraph.veeam2","mount server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_server;",\r\n40,52,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam2","tape server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_backup_enterprise_manager;",34,34,"","Veeam Backup Enterprise Manager",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"backup enterprise manager","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbem_server;",40,52,"","VBEM Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vbem server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.search_server;",\r\n40,52,"","Search Server",null,null,this.getTagsForStencil("mxgraph.veeam2","search server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_cloud_connect;",34,34,"","Veeam Cloud Connect",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud connect",\r\n"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_one;",34,34,"","Veeam ONE",null,null,this.getTagsForStencil("mxgraph.veeam2","one","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.one_server;",\r\n40,52,"","ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam2","one server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_one_reporter;",34,34,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam2","one reporter","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agents;",34,34,"","Veeam Agents",null,null,this.getTagsForStencil("mxgraph.veeam2","agents","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server_with_veeam_agent;",\r\n40,52,"","Server with Veeam Agent",null,null,this.getTagsForStencil("mxgraph.veeam2","server with agent","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agent_for_windows;",34,34,"","Veeam Agent for Windows",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"agent for windows","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agent_for_linux;",34,34,"","Veeam Agent for Linux",null,null,this.getTagsForStencil("mxgraph.veeam2","agent for linux","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agent_for_oracle_solaris;",34,34,"","Veeam Agent for Oracle Solaris",null,null,this.getTagsForStencil("mxgraph.veeam2","agent for oracle solaris","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_agent_for_ibm_aix;",\r\n34,34,"","Veeam Agent for IBM AIX",null,null,this.getTagsForStencil("mxgraph.veeam2","agent for ibm aix","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_exchange;",34,34,"","Veeam Explorer for Exchange",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"explorer for exchange","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_active_directory;",34,34,"","Veeam Explorer for Active Directory",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for active directory","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_oracle;",34,34,"","Veeam Explorer for Oracle",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for oracle","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_onedrive;",\r\n34,34,"","Veeam Explorer for OneDrive",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for onedrive","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_storage_snapshots;",34,34,"","Veeam Explorer for Storage Snapshots",null,\r\nnull,this.getTagsForStencil("mxgraph.veeam2","explorer for storage snapshots","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_sql;",34,34,"","Veeam Explorer for SQL",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for sql",\r\n"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_explorer_for_sharepoint;",34,34,"","Veeam Explorer for SharePoint",null,null,this.getTagsForStencil("mxgraph.veeam2","explorer for sharepoint","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_plugin_for_oracle_rman;",34,34,"","Veeam Plugin for Oracle RMAN",null,null,this.getTagsForStencil("mxgraph.veeam2","plugin for oracle rman","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_plugin_for_sap_hana;",\r\n34,34,"","Veeam Plugin for SAP HANA",null,null,this.getTagsForStencil("mxgraph.veeam2","plugin for sap hana","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_plugin_for_sap_on_oracle;",34,34,"","Veeam Plugin for SAP on Oracle",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"plugin for sap on oracle","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_backup_for_office_365;",34,34,"","Veeam Backup for Office 365",null,null,this.getTagsForStencil("mxgraph.veeam2","plugin for office 365","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbo_server;",40,52,"","VBO Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vbo server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_mp;",\r\n34,34,"","Veeam MP",null,null,this.getTagsForStencil("mxgraph.veeam2","mp","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_pn;",34,34,"","Veeam PN",null,null,this.getTagsForStencil("mxgraph.veeam2","pn","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vpn_server;",40,52,"","VPN Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vpn server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_availability_orchestrator;",\r\n34,34,"","Veeam Availability Orchestrator",null,null,this.getTagsForStencil("mxgraph.veeam2","availability orchestrator","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vao_server;",40,52,"","VAO Server",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"vao server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_service_provider_console;",34,34,"","Veeam Service Provider Console",null,null,this.getTagsForStencil("mxgraph.veeam2","service provider console","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vspc_server;",40,52,"","VSPC Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vspc server","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.agent;",\r\n21,21,"","Agent",null,null,this.getTagsForStencil("mxgraph.veeam2","agent","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.transport_service;",21,21,"","Transport Service",null,null,this.getTagsForStencil("mxgraph.veeam2","transport service","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_mover;",21,21,"","Data Mover",null,null,this.getTagsForStencil("mxgraph.veeam2","data mover","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_proxy;",\r\n21,21,"","Veeam Proxy",null,null,this.getTagsForStencil("mxgraph.veeam2","veeam proxy","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.wan_accelerator;",21,21,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam2","wan accelerator wide area network",\r\n"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.flr_helper_appliance;",21,21,"","FLR Helper Appliance",null,null,this.getTagsForStencil("mxgraph.veeam2","flr helper appliance","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.network_proxy;",\r\n100*.28,100*.28,"","Network Proxy",null,null,this.getTagsForStencil("mxgraph.veeam2","network proxy","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_repository;",37,38,"","Veeam Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","repository",\r\n"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.windows_repository;",37,38,"","Windows Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","windows repository","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.linux_repository;",\r\n37,38,"","Linux Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","linux repository","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.cloud_repository;",37,38,"","Cloud Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","cloud repository",\r\n"veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.scale_out_backup_repository;",37,38,"","Scale-Out Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","scale out backup repository","veeam vm vmware virtual machine products and components").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbo_repository;",37,38,"","VBO Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","vbo repository","veeam vm vmware virtual machine products and components").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_repository;",\r\n37,38,"","VBR Repository",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr repository","veeam vm vmware virtual machine products and components").join(" "))];this.addPalette("veeam2Products and Components","Veeam / Products and Components",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2SoftwarePalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.antivirus;",\r\n34,34,"","Antivirus",null,null,this.getTagsForStencil("mxgraph.veeam2","antivirus","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.firewall;",34,34,"","Firewall",null,null,this.getTagsForStencil("mxgraph.veeam2","firewall","veeam vm vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.application;",34,34,"","Application",null,null,this.getTagsForStencil("mxgraph.veeam2","application","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.linux;",\r\n34,34,"","Linux",null,null,this.getTagsForStencil("mxgraph.veeam2","linux","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.linux_server;",40,52,"","Linux Server",null,null,this.getTagsForStencil("mxgraph.veeam2","linux server","veeam vm vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_active_directory;",34,34,"","Microsoft Active Directory",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms active directory","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.domain_controller;",\r\n40,52,"","Domain Controller",null,null,this.getTagsForStencil("mxgraph.veeam2","domain controller","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_exchange;",34,34,"","Microsoft Exchange",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms exchange",\r\n"veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.exchange_server;",40,52,"","Exchange Server",null,null,this.getTagsForStencil("mxgraph.veeam2","exchange server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_scom;",\r\n34,34,"","Microsoft SCOM",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms scom","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_scvmm;",34,34,"","Microsoft SCVMM",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms scvmm","veeam vm vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_sharepoint;",34,34,"","Microsoft SharePoint",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms sharepoint","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sharepoint_server;",\r\n40,52,"","Sharepoint Server",null,null,this.getTagsForStencil("mxgraph.veeam2","sharepoint server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_sql;",34,34,"","Microsoft SQL",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms sql","veeam vm vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sql_server;",40,52,"","SQL Server",null,null,this.getTagsForStencil("mxgraph.veeam2","sql server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_teams;",\r\n34,34,"","Microsoft Teams",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms teams","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_windows;",34,34,"","Microsoft Windows",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms windows",\r\n"veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.windows_server;",40,52,"","Windows Server",null,null,this.getTagsForStencil("mxgraph.veeam2","windows server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_onedrive;",\r\n34,34,"","Microsoft OneDrive",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms onedrive","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_outlook;",34,34,"","Microsoft Outlook",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms outlook",\r\n"veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_office;",34,34,"","Microsoft Office",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft ms office","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.power_shell;",\r\n34,34,"","PowerShell",null,null,this.getTagsForStencil("mxgraph.veeam2","powershell","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.oracle_rman;",34,34,"","Oracle RMAN",null,null,this.getTagsForStencil("mxgraph.veeam2","oracle rman","veeam vm vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sap_brtools;",34,34,"","SAP BRTools",null,null,this.getTagsForStencil("mxgraph.veeam2","sap brtools","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sap_hana;",\r\n34,34,"","SAP HANA",null,null,this.getTagsForStencil("mxgraph.veeam2","sap hana","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.nutanix;",34,34,"","Nutanix",null,null,this.getTagsForStencil("mxgraph.veeam2","nutanix","veeam vm vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.server_nutanix;",40,52,"","Server Nutanix",null,null,this.getTagsForStencil("mxgraph.veeam2","server nutanix","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vmware_vcloud_director;",\r\n34,34,"","VMware vCloud Director",null,null,this.getTagsForStencil("mxgraph.veeam2","vmware vcloud director","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vcloud_director_server;",40,52,"","vCloud Director Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vcloud director server",\r\n"veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vmware_vsphere;",34,34,"","VMware vSphere",null,null,this.getTagsForStencil("mxgraph.veeam2","vmware vsphere","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vcenter_server;",\r\n40,52,"","vCenter Server",null,null,this.getTagsForStencil("mxgraph.veeam2","vcenter server","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.database2;",34,34,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam2","database db","veeam vm vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.database_server;",40,52,"","Database Server",null,null,this.getTagsForStencil("mxgraph.veeam2","database server db","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.microsoft_sql_db;",\r\n34,34,"","Microsoft SQL DB",null,null,this.getTagsForStencil("mxgraph.veeam2","microsoft sql db database","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.oracle_db;",34,34,"","Oracle DB",null,null,this.getTagsForStencil("mxgraph.veeam2","oracle db database","veeam vm vmware virtual machine software").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sap_hana_db;",34,34,"","SAP HANA DB",null,null,this.getTagsForStencil("mxgraph.veeam2","sap hana db database","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.open_vpn;",\r\n34,34,"","OpenVPN",null,null,this.getTagsForStencil("mxgraph.veeam2","openvpn open vpn virtual private network","veeam vm vmware virtual machine software").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.wireguard;",34,34,"","WireGuard",null,null,this.getTagsForStencil("mxgraph.veeam2","wireguard","veeam vm vmware virtual machine software").join(" "))];\r\nthis.addPalette("veeam2Software","Veeam / Software",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam2StatesPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.turn_on_off;",21,21,"","Turn on / off",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"turn on off","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.running_playing;",21,21,"","Running / Playing",null,null,this.getTagsForStencil("mxgraph.veeam2","running playing","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.critical;",\r\n21,21,"","Critical",null,null,this.getTagsForStencil("mxgraph.veeam2","critical","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.failed;",21,21,"","Failed",null,null,this.getTagsForStencil("mxgraph.veeam2","failed","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.unavailable;",\r\n21,21,"","Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam2","unavailable","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.paused;",21,21,"","Paused / saved",null,null,this.getTagsForStencil("mxgraph.veeam2","paused","veeam vm vmware virtual machine states").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.zipped;",21,21,"","Zipped",null,null,this.getTagsForStencil("mxgraph.veeam2","zipped","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.recording;",\r\n21,21,"","Recording",null,null,this.getTagsForStencil("mxgraph.veeam2","recording","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.locked;",21,21,"","Locked",null,null,this.getTagsForStencil("mxgraph.veeam2","locked","veeam vm vmware virtual machine states").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.unlocked;",21,21,"","Unlocked",null,null,this.getTagsForStencil("mxgraph.veeam2","unlocked","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.encrypted;",\r\n21,21,"","encrypted",null,null,this.getTagsForStencil("mxgraph.veeam2","enrypted","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.delayed;",21,21,"","Delayed",null,null,this.getTagsForStencil("mxgraph.veeam2","delayed","veeam vm vmware virtual machine states").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.restored;",21,21,"","Restored",null,null,this.getTagsForStencil("mxgraph.veeam2","restored","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.exported;",\r\n21,21,"","Exported",null,null,this.getTagsForStencil("mxgraph.veeam2","exported","veeam vm vmware virtual machine states").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.ejected;",21,21,"","Ejected",null,null,this.getTagsForStencil("mxgraph.veeam2","ejected","veeam vm vmware virtual machine states").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.instant;",21,21,"","Instant",null,null,this.getTagsForStencil("mxgraph.veeam2","instant","veeam vm vmware virtual machine states").join(" "))];this.addPalette("veeam2States","Veeam / States",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};\r\nSidebar.prototype.addVeeam2StoragePalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.object_storage;",100*.28,100*.28,"","Object Storage",null,null,this.getTagsForStencil("mxgraph.veeam2","object storage","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.azure_blob;",\r\n34,34,"","Azure Blob",null,null,this.getTagsForStencil("mxgraph.veeam2","azure blob","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.aws_s3;",34,34,"","AWS S3",null,null,this.getTagsForStencil("mxgraph.veeam2","aws s3","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.ibm_object_storage;",34,34,"","IBM Object Storage",null,null,this.getTagsForStencil("mxgraph.veeam2","ibm object storage","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.s3_compatible;",\r\n100*.28,100*.28,"","S3-compatible",null,null,this.getTagsForStencil("mxgraph.veeam2","s3 compatible","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vmware_vsan;",34,34,"","VMware vSAN",null,null,this.getTagsForStencil("mxgraph.veeam2","vmware vsan","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.nas;",100*.28,100*.28,"","NAS",null,null,this.getTagsForStencil("mxgraph.veeam2","nas","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.shared_folder;",\r\n100*.28,24,"","Shared Folder",null,null,this.getTagsForStencil("mxgraph.veeam2","shared folder","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.folder;",100*.28,24,"","Folder",null,null,this.getTagsForStencil("mxgraph.veeam2","folder","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datastore_empty;",100*.28,35,"","Datastore empty",null,null,this.getTagsForStencil("mxgraph.veeam2","datastore empty","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datastore_33_full;",\r\n100*.28,35,"","Datastore 33% full",null,null,this.getTagsForStencil("mxgraph.veeam2","datastore 33 percentage third full 33%","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datastore_66_full;",100*.28,35,"","Datastore 66% full",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"datastore 66 percentage two thirds full 66%","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.datastore;",100*.28,35,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam2","datastore","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.sd_card;",\r\n23,100*.28,"","SD Card",null,null,this.getTagsForStencil("mxgraph.veeam2","sd card","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.storage;",40,11,"","Storage",null,null,this.getTagsForStencil("mxgraph.veeam2","storage","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.storage_snapshot;",40,11,"","Storage Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","storage snapshot","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.storage_with_snapshot;",\r\n43,15,"","Storage with Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","storage with snapshot","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.storage_stack;",40,40,"","Storage Stack",null,null,this.getTagsForStencil("mxgraph.veeam2","storage stack","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.deduplicating_storage;",40,11,"","Deduplicating Storage",null,null,this.getTagsForStencil("mxgraph.veeam2","deduplicating storage","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_volume;",\r\n40,11,"","Data Volume",null,null,this.getTagsForStencil("mxgraph.veeam2","data volume","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_volume_snapshot;",40,11,"","Data Volume Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","data volume snapshot","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.data_volume_with_snapshot;",43,15,"","Data Volume with Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam2","data volume with snapshot","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.file;",\r\n100*.28,39,"","File",null,null,this.getTagsForStencil("mxgraph.veeam2","file","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.backup_file;",100*.28,39,"","Backup file",null,null,this.getTagsForStencil("mxgraph.veeam2","backup file","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_full_backup;",100*.28,39,"","Veeam Full Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","full backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_incremental_backup;",\r\n100*.28,39,"","Veeam Incremental Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","incremental backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_reversed_incremental_backup;",100*.28,39,"","Veeam Reversed Incremental Backup",null,null,this.getTagsForStencil("mxgraph.veeam2",\r\n"reversed incremental backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.veeam_backup_chain_metadata;",100*.28,39,"","Veeam Backup Chain Metadata",null,null,this.getTagsForStencil("mxgraph.veeam2","backup chain metadata","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_configuration_backup;",100*.28,39,"","VBR Configuration Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr configuration backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.vbr_transaction_log_backup;",\r\n100*.28,39,"","VBR Transaction Log Backup",null,null,this.getTagsForStencil("mxgraph.veeam2","vbr transaction log backup","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape;",38,22,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam2","tape","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_checkout;",46,30,"","Tape Checkout",null,null,this.getTagsForStencil("mxgraph.veeam2","tape checkout","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_encrypted;",\r\n46,30,"","Tape Encrypted",null,null,this.getTagsForStencil("mxgraph.veeam2","tape encrypted","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_locked;",46,30,"","Tape Locked",null,null,this.getTagsForStencil("mxgraph.veeam2","tape locked","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_recording;",46,30,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam2","tape recording","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_media_pool;",\r\n100*.28,24,"","Tape Media Pool",null,null,this.getTagsForStencil("mxgraph.veeam2","tape media pool","veeam vm vmware virtual machine storage").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_library;",100*.28,35,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam2","tape library","veeam vm vmware virtual machine storage").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.tape_writing_device;",38,100*.14,"","Tape Writing Device",null,null,this.getTagsForStencil("mxgraph.veeam2","tape writing device","veeam vm vmware virtual machine storage").join(" "))];this.addPalette("veeam2Storage","Veeam / Storage",!1,mxUtils.bind(this,function(b){for(var e=\r\n0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addVeeam23DPalette=function(){var a=[this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm;",68,62,"","1FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_error;",\r\n68,62,"","1FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm error","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_running;",68,62,"","1FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_unavailable;",\r\n68,62,"","1FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm unavailable","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.1ftvm_warning;",68,62,"","1FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","1ftvm warning","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm;",\r\n68,62,"","2FTVM",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_error;",68,62,"","2FTVM Error",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm error","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_running;",\r\n68,62,"","2FTVM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_unavailable;",68,62,"","2FTVM Unavailable",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm unavailable","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.2ftvm_warning;",\r\n68,62,"","2FTVM Warning",null,null,this.getTagsForStencil("mxgraph.veeam.3d","2ftvm warning","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.backup_repository;",62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.backup_repository_2;",\r\n62,62,"","Backup Repository",null,null,this.getTagsForStencil("mxgraph.veeam.3d","backup repository","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.cd;",68,26,"","CD",null,null,this.getTagsForStencil("mxgraph.veeam.3d","cd","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.database;",\r\n58,62,"","Database",null,null,this.getTagsForStencil("mxgraph.veeam.3d","database","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.datastore;",44,60,"","Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.datastore_snapshot;",\r\n54,34,"","Datastore Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore snapshot","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.datastore_volume;",54,34,"","Datastore Volume",null,null,this.getTagsForStencil("mxgraph.veeam.3d","datastore volume","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.esx_esxi;",\r\n38,52,"","ESX ESXi",null,null,this.getTagsForStencil("mxgraph.veeam.3d","esx esxi","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.failover_protective_snapshot;",46,46,"","Failover Protective Snapshot",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot","veeam 3d vmware virtual machine ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.failover_protective_snapshot_locked;",56,46,"","Failover Protective Snapshot Locked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot locked","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.failover_protective_snapshot_running;",\r\n58,46,"","Failover Protective Snapshot Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","failover protective snapshot running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.free_datastore;",44,60,"","Free Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","free datastore","veeam 3d vmware virtual machine ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.full_datastore;",44,60,"","Full Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","full datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.hard_drive;fillColor=#637D8A;gradientColor=#324752;strokeColor=none;",\r\n62,28,"","Hard Drive",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hard drive","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.hyper_v_host;",110,98,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","hyper-v host","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.lost_space;",\r\n44,60,"","Lost Space",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lost space","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.lun;",72,40,"","LUN",null,null,this.getTagsForStencil("mxgraph.veeam.3d","lun","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.medium_datastore;",\r\n44,60,"","Medium Datastore",null,null,this.getTagsForStencil("mxgraph.veeam.3d","medium datastore","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.network_card;",38,40,"","Network Card",null,null,this.getTagsForStencil("mxgraph.veeam.3d","network card","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.physical_storage;",\r\n108,60,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","physical_storage","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.proxy;",46,46,"","Proxy",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.proxy_appliance;",\r\n46,46,"","Proxy Appliance",null,null,this.getTagsForStencil("mxgraph.veeam.3d","proxy appliance","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.remote_site;",46,60,"","Remote Site",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote site","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.remote_storage;",\r\n52,62,"","Remote Storage",null,null,this.getTagsForStencil("mxgraph.veeam.3d","remote storage","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.resource_pool;",56,32,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.veeam.3d","resource pool","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.service_vnic;",\r\n72,64,"","Service vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","service vnic","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.switch;",110,58,"","Switch",null,null,this.getTagsForStencil("mxgraph.veeam.3d","switch","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape;",\r\n58,58,"","Tape",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_checked;",70,58,"","Tape Checked",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape checked","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_ejecting;",\r\n70,58,"","Tape Ejecting",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape ejecting","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_library;",62,74,"","Tape Library",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape library","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_licensed;",\r\n70,58,"","Tape Licensed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape licensed","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_recording;",70,58,"","Tape Recording",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape recording","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.tape_server;",\r\n46,46,"","Tape Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","tape server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vapp;",92,62,"","vApp",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vapp_started;",\r\n92,62,"","vApp Started",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vapp started","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_availability_suite;",46,46,"","Veeam Availability Suite",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam availability suite","veeam 3d vmware virtual machine ").join(" ")),\r\nthis.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_backup_and_replication_server;",46,46,"","Veeam Backup and Replication Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup and replication server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_backup_enterprise_manager_server;",\r\n46,46,"","Veeam Backup Enterprise Manager Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup enterprise manager server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_backup_search_server;",46,46,"","Veeam Backup Search Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam backup search server",\r\n"veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_business_view;",46,46,"","Veeam ONE Business View",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one business view","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_monitor;",\r\n46,46,"","Veeam ONE Monitor",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one monitor","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_reporter;",46,46,"","Veeam ONE Reporter",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one reporter","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.veeam_one_server;",\r\n46,46,"","Veeam ONE Server",null,null,this.getTagsForStencil("mxgraph.veeam.3d","veeam one server","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.virtual_machine;",46,46,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.veeam.3d","virtual machine","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vmware_host;",\r\n110,98,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vmware host","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_failed;",56,46,"","VM Failed",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm failed","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_linux;",\r\n46,60,"","VM Linux",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm linux","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_no_network;",58,46,"","VM No Network",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm no network","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_problem;",\r\n56,46,"","VM Problem",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm problem","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_running;",56,46,"","VM Running",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm running","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_saved_state;",\r\n58,48,"","VM Saved State",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm saved state","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vm_windows;",46,60,"","VM Windows",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vm windows","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.vnic;",\r\n62,62,"","vNIC",null,null,this.getTagsForStencil("mxgraph.veeam.3d","vnic","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.wan_accelerator;",46,46,"","WAN Accelerator",null,null,this.getTagsForStencil("mxgraph.veeam.3d","wan accelerator","veeam 3d vmware virtual machine ").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.3d.workstation;",\r\n76,62,"","Workstation",null,null,this.getTagsForStencil("mxgraph.veeam.3d","workstation","veeam 3d vmware virtual machine ").join(" "))];this.addPalette("veeam23D","Veeam / 3D",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addVVDPalette=function(){this.setCurrentSearchEntryLibrary("vvd");var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.administrator;",21.5,50,"","Administrator",null,null,this.getTagsForStencil("mxgraph.vvd","administrator","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.administrator;fillColor=#066A90;",\r\n21.5,50,"","Infrastructure Role",null,null,this.getTagsForStencil("mxgraph.vvd","administrator","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.administrator;fillColor=#65B245;",21.5,50,"","Tenant Role",null,null,this.getTagsForStencil("mxgraph.vvd","administrator","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.app;",50,50,"","App",null,null,this.getTagsForStencil("mxgraph.vvd","app application","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.volumes_agent;",\r\n49,50,"","Volumes Agent",null,null,this.getTagsForStencil("mxgraph.vvd","volumes agent","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.appstack_volume;",50,35,"","AppStack Volume",null,null,this.getTagsForStencil("mxgraph.vvd","appstack volume","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.app_volumes_manager;",48.5,50,"","App Volumes Manager",null,null,this.getTagsForStencil("mxgraph.vvd","app volumes manager","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.array_manager;",\r\n50,36.5,"","Array Manager",null,null,this.getTagsForStencil("mxgraph.vvd","array manager","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.blueprint;",50,47.5,"","Blueprint",null,null,this.getTagsForStencil("mxgraph.vvd","blueprint","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.business_continuity_data_protection;",\r\n50,43,"","Business Continuity Data Protection",null,null,this.getTagsForStencil("mxgraph.vvd","business continuity data protection","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.cd;",50,50,"","CD",null,null,this.getTagsForStencil("mxgraph.vvd","cd compact disc","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.cloud_computing;fillColor=#066A90;",50,32,"","Cloud Computing",null,null,this.getTagsForStencil("mxgraph.vvd","cloud computing","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.collective_nsx_esg;",\r\n50,47.5,"","Collective NSX ESG",null,null,this.getTagsForStencil("mxgraph.vvd","collective nsx esg","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.consumption_plane;",50,50,"","Consumption Plane",null,null,this.getTagsForStencil("mxgraph.vvd","consumption plane","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.cpu;",50,50,"","CPU",null,null,this.getTagsForStencil("mxgraph.vvd","cpu central processing unit","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.datacenter;",\r\n50,37,"","Datacenter",null,null,this.getTagsForStencil("mxgraph.vvd","datacenter","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.datastore;",50,39,"","Datastore",null,null,this.getTagsForStencil("mxgraph.vvd","datastore","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.disk;",\r\n35,50,"","Disk",null,null,this.getTagsForStencil("mxgraph.vvd","disk","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.document;",36.5,50,"","Document",null,null,this.getTagsForStencil("mxgraph.vvd","document","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.edge_gateway;",\r\n50,42.5,"","Edge Gateway",null,null,this.getTagsForStencil("mxgraph.vvd","edge gateway","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.endpoint;fillColor=#ffffff;",50,46.5,"","Endpoint White",null,null,this.getTagsForStencil("mxgraph.vvd","endpoint","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.endpoint;",\r\n50,46.5,"","Endpoint",null,null,this.getTagsForStencil("mxgraph.vvd","endpoint","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.ethernet_port;",50,50,"","Ethernet Port",null,null,this.getTagsForStencil("mxgraph.vvd","ethernet port","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.external_networks;",\r\n50,35,"","External Networks",null,null,this.getTagsForStencil("mxgraph.vvd","external networks","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.flash_drive;",21,50,"","Flash Drive",null,null,this.getTagsForStencil("mxgraph.vvd","flash drive","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.folder;",50,38,"","Folder",null,null,this.getTagsForStencil("mxgraph.vvd","folder","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.guest_agent_customization;",\r\n50,46,"","Guest Agent Customization",null,null,this.getTagsForStencil("mxgraph.vvd","guest agent customization","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.horizon;",50,43.5,"","Horizon",null,null,this.getTagsForStencil("mxgraph.vvd","horizon","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.infrastructure;",50,48.5,"","Infrastructure",null,null,this.getTagsForStencil("mxgraph.vvd","infrastructure","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.key;",\r\n24,50,"","Key",null,null,this.getTagsForStencil("mxgraph.vvd","key","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.tenant_key;",25.5,50,"","Tenant Key",null,null,this.getTagsForStencil("mxgraph.vvd","tenant key","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.keyboard;",\r\n50,35.5,"","Keyboard",null,null,this.getTagsForStencil("mxgraph.vvd","keyboard","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.laptop;",50,36,"","Laptop",null,null,this.getTagsForStencil("mxgraph.vvd","laptop","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.log_files;",\r\n40,50,"","Log Files",null,null,this.getTagsForStencil("mxgraph.vvd","log files","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.logical_firewall;",48.5,50,"","Logical Firewall",null,null,this.getTagsForStencil("mxgraph.vvd","logical firewall","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.logical_distribution;",50,50,"","Logical Distribution",null,null,this.getTagsForStencil("mxgraph.vvd","logical distribution","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.machine;",\r\n20.5,50,"","Machine",null,null,this.getTagsForStencil("mxgraph.vvd","machine","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.memory;",50,19,"","Memory",null,null,this.getTagsForStencil("mxgraph.vvd","memory","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.monitor;",\r\n50,46.5,"","Monitor",null,null,this.getTagsForStencil("mxgraph.vvd","monitor","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.mouse;",24.5,50,"","Mouse",null,null,this.getTagsForStencil("mxgraph.vvd","mouse","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.networking;",\r\n50,50,"","Networking",null,null,this.getTagsForStencil("mxgraph.vvd","networking","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.networks;",50,30.5,"","Networks",null,null,this.getTagsForStencil("mxgraph.vvd","networks","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.nfvo;",\r\n50,50,"","NFVO",null,null,this.getTagsForStencil("mxgraph.vvd","nfvo","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.nsx;",50,38.5,"","NSX",null,null,this.getTagsForStencil("mxgraph.vvd","nsx","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.nsx_controller;",\r\n50,50,"","NSX Controller",null,null,this.getTagsForStencil("mxgraph.vvd","nsx controller","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.nsx_dashboard;",50,46.5,"","NSX Dashboard",null,null,this.getTagsForStencil("mxgraph.vvd","nsx dashboard","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.nsx_edge_and_load_balancer;",50,40.5,"","NSX Edge and Load Balancer",null,null,this.getTagsForStencil("mxgraph.vvd","nsx edge and load balancer","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.nsx_esg;",\r\n50,50,"","NSX ESG",null,null,this.getTagsForStencil("mxgraph.vvd","nsx esg","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.nsx_manager;",50,50,"","NSX Manager",null,null,this.getTagsForStencil("mxgraph.vvd","nsx manager","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.nsx_public_cloud_gateway;",\r\n50,47.5,"","NSX Public Cloud Gateway",null,null,this.getTagsForStencil("mxgraph.vvd","nsx public cloud gateway","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.on_demand_self_service;",50,42.5,"","On-demand self-service",null,null,this.getTagsForStencil("mxgraph.vvd","on demand self service",\r\n"vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.ovdc_networks;",50,30.5,"","OvDC Networks",null,null,this.getTagsForStencil("mxgraph.vvd","ovdc networks","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.pair_sites;",\r\n50,27,"","Pair Sites",null,null,this.getTagsForStencil("mxgraph.vvd","pair sites","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.platform_services_controller;",50,50,"","Platform Services Controller",null,null,this.getTagsForStencil("mxgraph.vvd","platform services controller",\r\n"vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.phone;",29.5,50,"","Phone",null,null,this.getTagsForStencil("mxgraph.vvd","phone","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.physical_storage;",\r\n50,35.5,"","Physical Storage",null,null,this.getTagsForStencil("mxgraph.vvd","physical storage","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.physical_network_adapter;",50,50*.58,"","Physical Network Adapter",null,null,this.getTagsForStencil("mxgraph.vvd","physical network adapter",\r\n"vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.physical_upstream_router;",50,50,"","Physical Upstream Router",null,null,this.getTagsForStencil("mxgraph.vvd","physical upstream router","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.protection_group_config;",\r\n48.5,50,"","Protection Group Config",null,null,this.getTagsForStencil("mxgraph.vvd","protection group config","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.protection_group;",48,50,"","Protection Group",null,null,this.getTagsForStencil("mxgraph.vvd","protection group","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.recovery_plan;",36.5,50,"","Recovery Plan",null,null,this.getTagsForStencil("mxgraph.vvd","recovery plan","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.resource_pool;",\r\n50,50,"","Resource Pool",null,null,this.getTagsForStencil("mxgraph.vvd","resource pool","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.site_container;",49.5,50,"","Site Container",null,null,this.getTagsForStencil("mxgraph.vvd","site container","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.scsi_controller;",50,22.5,"","SCSI Controller",null,null,this.getTagsForStencil("mxgraph.vvd","scsi controller","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.security;",\r\n38.5,50,"","Security",null,null,this.getTagsForStencil("mxgraph.vvd","security","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.server;",50,13,"","Server",null,null,this.getTagsForStencil("mxgraph.vvd","server","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.service_provider_cloud_environment;",\r\n50,44,"","Service Provider Cloud Environment",null,null,this.getTagsForStencil("mxgraph.vvd","service provider cloud environment","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.site;",50,44,"","Site",null,null,this.getTagsForStencil("mxgraph.vvd","site","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.site_recovery;",47,50,"","Site Recovery",null,null,this.getTagsForStencil("mxgraph.vvd","site recovery","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.site_recovery_functional_icon;",\r\n40.5,50,"","Site Recovery Functional Icon",null,null,this.getTagsForStencil("mxgraph.vvd","site recovery functional icon","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.ssd;",50,35.5,"","SSD",null,null,this.getTagsForStencil("mxgraph.vvd","ssd solid state drive","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.storage;",37.5,50,"","Storage",null,null,this.getTagsForStencil("mxgraph.vvd","storage","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.switch;",\r\n50,50,"","Switch",null,null,this.getTagsForStencil("mxgraph.vvd","switch","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.telco_network;",50,36,"","Telco Network",null,null,this.getTagsForStencil("mxgraph.vvd","telco network","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.template;",\r\n41,50,"","Template",null,null,this.getTagsForStencil("mxgraph.vvd","template","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.user_group;",35.5,50,"","User Group",null,null,this.getTagsForStencil("mxgraph.vvd","user group","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vapp_network;",\r\n50,42.5,"","vApp Network",null,null,this.getTagsForStencil("mxgraph.vvd","vapp network","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.virtual_machine;",50,50,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.vvd","virtual machine","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.virtual_switch;",50,26.5,"","Virtual Switch",null,null,this.getTagsForStencil("mxgraph.vvd","virtual switch","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.virtual_appliance;",\r\n50,50,"","Virtual Appliance",null,null,this.getTagsForStencil("mxgraph.vvd","virtual appliance","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vcenter_server;",48,50,"","vCenter Server",null,null,this.getTagsForStencil("mxgraph.vvd","vcenter server","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vcloud_director;",50,21.5,"","vCloud Director",null,null,this.getTagsForStencil("mxgraph.vvd","vcloud director","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vpn;",\r\n50,50,"","VPN",null,null,this.getTagsForStencil("mxgraph.vvd","vpn virtual private network","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vrealize_automation;",50,50,"","vRealize Automation",null,null,this.getTagsForStencil("mxgraph.vvd","vrealize automation","vmware validated design").join(" ")),\r\nthis.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vrealize_log_insight;",50,50,"","vRealize Log Insight",null,null,this.getTagsForStencil("mxgraph.vvd","vrealize log insight","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vrealize_operations;",\r\n49,50,"","vRealize Operations",null,null,this.getTagsForStencil("mxgraph.vvd","vrealize operations","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vrealize_orchestrator;",50,46,"","vRealize Orchestrator",null,null,this.getTagsForStencil("mxgraph.vvd","vrealize orchestrator",\r\n"vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vrops;",50,50,"","vROPs",null,null,this.getTagsForStencil("mxgraph.vvd","vrops","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vsan;",\r\n43.5,50,"","vSAN",null,null,this.getTagsForStencil("mxgraph.vvd","vsan","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vshield;",42.5,50,"","vShield",null,null,this.getTagsForStencil("mxgraph.vvd","vshield","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vm_group;",\r\n49.5,50,"","VM Group",null,null,this.getTagsForStencil("mxgraph.vvd","vm group","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vnf_m;",50,43.5,"","VNF-M",null,null,this.getTagsForStencil("mxgraph.vvd","vnf","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.vxlan;",\r\n50,50,"","VXLAN",null,null,this.getTagsForStencil("mxgraph.vvd","vxlan","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.writable_volume;",50,40.5,"","Writable Volume",null,null,this.getTagsForStencil("mxgraph.vvd","writable volume","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.wavefront;",\r\n43,50,"","Wavefront",null,null,this.getTagsForStencil("mxgraph.vvd","wavefront","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.web_browser;",50,35.5,"","Web Browser",null,null,this.getTagsForStencil("mxgraph.vvd","web browser","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.wi_fi;",\r\n50,50,"","Wi-Fi",null,null,this.getTagsForStencil("mxgraph.vvd","wi fi wifi","vmware validated design").join(" "))];this.addPalette("vvd","VMware Validated Design",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addWebIconsPalette=function(){var a="dashed=0;outlineConnect=0;html=1;align=center;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.webicons.";this.setCurrentSearchEntryLibrary("webicons","webicons");this.addPaletteFunctions("webicons","Web Icons",!1,[this.createVertexTemplateEntry(a+"adfty;fillColor=#66E8F3;gradientColor=#1C7CBA",102.4,102.4,"","Adfty",null,null,this.getTagsForStencil("mxgraph.webicons","adfty",\r\n"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"adobe_pdf;fillColor=#F40C0C;gradientColor=#610603",102.4,102.4,"","Adobe PDF",null,null,this.getTagsForStencil("mxgraph.webicons","adobe pdf","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"aim;fillColor=#27E1E5;gradientColor=#0A4361",102.4,102.4,"","Aim",null,null,this.getTagsForStencil("mxgraph.webicons","aim","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"allvoices;fillColor=#807E7E;gradientColor=#1B1C1C",\r\n102.4,102.4,"","Allvoices",null,null,this.getTagsForStencil("mxgraph.webicons","allvoices","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"amazon;gradientColor=#DFDEDE",102.4,102.4,"","Amazon",null,null,this.getTagsForStencil("mxgraph.webicons","amazon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"amazon_2;gradientColor=#231F20",102.4,102.4,"","Amazon",null,null,this.getTagsForStencil("mxgraph.webicons","amazon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"android;gradientColor=#DFDEDE",102.4,102.4,"","Android",null,null,this.getTagsForStencil("mxgraph.webicons","android","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apache;gradientColor=#DFDEDE",102.4,102.4,"","Apache",null,null,this.getTagsForStencil("mxgraph.webicons","apache db database","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apple;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,102.4,"","Apple",null,null,this.getTagsForStencil("mxgraph.webicons","apple",\r\n"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apple_classic;fillColor=#66E8F3;gradientColor=#1C7CBA",102.4,102.4,"","Apple (classic)",null,null,this.getTagsForStencil("mxgraph.webicons","apple classic","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"arduino;gradientColor=#DFDEDE",102.4,102.4,"","Arduino",null,null,this.getTagsForStencil("mxgraph.webicons","arduino","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ask;fillColor=#F33543;gradientColor=#B50E11",\r\n102.4,102.4,"","Ask",null,null,this.getTagsForStencil("mxgraph.webicons","ask","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"atlassian;gradientColor=#DFDEDE",102.4,102.4,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.webicons","atlassian","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"audioboo;fillColor=#EB35CF;gradientColor=#8C0E35",102.4,102.4,"","Audioboo",null,null,this.getTagsForStencil("mxgraph.webicons","audioboo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"aws;gradientColor=#DFDEDE",102.4,102.4,"","AWS",null,null,this.getTagsForStencil("mxgraph.webicons","aws amazon web service","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"aws_s3;gradientColor=#DFDEDE",102.4,102.4,"","AWS S3",null,null,this.getTagsForStencil("mxgraph.webicons","aws s3 amazon web service","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"baidu;fillColor=#738FE8;gradientColor=#1F2470",102.4,102.4,"","Baidu",null,null,this.getTagsForStencil("mxgraph.webicons",\r\n"baidu","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bebo;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Bebo",null,null,this.getTagsForStencil("mxgraph.webicons","bebo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"behance;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Behance",null,null,this.getTagsForStencil("mxgraph.webicons","behance","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bing;fillColor=#0A776E;gradientColor=#053D39",\r\n102.4,102.4,"","Bing",null,null,this.getTagsForStencil("mxgraph.webicons","bing","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bitbucket;gradientColor=#DFDEDE",102.4,102.4,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.webicons","bitbucket","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blinklist;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Blinklist",null,null,this.getTagsForStencil("mxgraph.webicons","blinklist","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"blogger;fillColor=#FDE47C;gradientColor=#F55F21",102.4,102.4,"","Blogger",null,null,this.getTagsForStencil("mxgraph.webicons","blogger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blogmarks;gradientColor=#DFDEDE",102.4,102.4,"","Blogmarks",null,null,this.getTagsForStencil("mxgraph.webicons","blogmarks","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bookmarks.fr;fillColor=#F9FAF4;gradientColor=#DCDFBB",102.4,102.4,"","Bookmarks.fr",\r\nnull,null,this.getTagsForStencil("mxgraph.webicons","bookmarks.fr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"box;fillColor=#4CDFEF;gradientColor=#153EA0",102.4,102.4,"","Box",null,null,this.getTagsForStencil("mxgraph.webicons","box","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buddymarks;gradientColor=#DFDEDE",102.4,102.4,"","Buddymarks",null,null,this.getTagsForStencil("mxgraph.webicons","buddymarks","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"buffer;gradientColor=#DFDEDE",102.4,102.4,"","Buffer",null,null,this.getTagsForStencil("mxgraph.webicons","buffer","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buzzfeed;gradientColor=#DFDEDE",102.4,102.4,"","Buzzfeed",null,null,this.getTagsForStencil("mxgraph.webicons","buzzfeed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"chrome;gradientColor=#DFDEDE",103.2,104,"","Chrome",null,null,this.getTagsForStencil("mxgraph.webicons","chrome","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"citeulike;fillColor=#ACD65E;gradientColor=#2E3618",102.4,102.4,"","Citeulike",null,null,this.getTagsForStencil("mxgraph.webicons","citeulike","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"confluence;gradientColor=#DFDEDE",102.4,102.4,"","Confluence",null,null,this.getTagsForStencil("mxgraph.webicons","confluence","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"connotea;fillColor=#E9FDFC;gradientColor=#BADBE9",102.4,102.4,"","Connotea",\r\nnull,null,this.getTagsForStencil("mxgraph.webicons","connotea","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dealsplus;fillColor=#B569B5;gradientColor=#7A467A",102.4,102.4,"","Dealsplus",null,null,this.getTagsForStencil("mxgraph.webicons","dealsplus","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"delicious",102.4,102.4,"","Delicious",null,null,this.getTagsForStencil("mxgraph.webicons","delicious","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"designfloat;fillColor=#247BE0;gradientColor=#0A1F42",\r\n102.4,102.4,"","Designfloat",null,null,this.getTagsForStencil("mxgraph.webicons","designfloat","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"deviantart;fillColor=#00C659;gradientColor=#00813B",102.4,102.4,"","Deviantart",null,null,this.getTagsForStencil("mxgraph.webicons","deviantart","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"digg;gradientColor=#DFDEDE",102.4,102.4,"","Digg",null,null,this.getTagsForStencil("mxgraph.webicons","digg","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"diigo;fillColor=#2C7DE0;gradientColor=#1E5599",102.4,102.4,"","Diigo",null,null,this.getTagsForStencil("mxgraph.webicons","diiigo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dopplr;gradientColor=#DFDEDE",102.4,102.4,"","Dopplr",null,null,this.getTagsForStencil("mxgraph.webicons","dopplr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"drawio2;fillColor=#2174CE;gradientColor=#134277",102.4,102.4,"","draw.io",null,null,this.getTagsForStencil("mxgraph.webicons",\r\n"diagrams.net drawio draw io draw.io","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dribbble;gradientColor=#DFDEDE",102.4,102.4,"","Dribbble",null,null,this.getTagsForStencil("mxgraph.webicons","dribbble","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dropbox;fillColor=#0BAAFE;gradientColor=#0080E6",102.4,102.4,"","Dropbox",null,null,this.getTagsForStencil("mxgraph.webicons","dropbox","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dropbox2;fillColor=#2FB8FC;gradientColor=#0080E6",\r\n102.4,102.4,"","Dropbox",null,null,this.getTagsForStencil("mxgraph.webicons","dropbox","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"drupal;gradientColor=#DFDEDE",102.4,102.4,"","Drupal",null,null,this.getTagsForStencil("mxgraph.webicons","drupal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dzone;gradientColor=#DFDEDE",102.4,102.4,"","Dzone",null,null,this.getTagsForStencil("mxgraph.webicons","dzone","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"ebay;gradientColor=#DFDEDE",102.4,102.4,"","Ebay",null,null,this.getTagsForStencil("mxgraph.webicons","ebay","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"edmodo;fillColor=#2F81CE;gradientColor=#1F5487",102.4,102.4,"","Edmodo",null,null,this.getTagsForStencil("mxgraph.webicons","edmodo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"evernote;fillColor=#D4EF75;gradientColor=#399F1F",102.4,102.4,"","Evernote",null,null,this.getTagsForStencil("mxgraph.webicons","evernote",\r\n"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"facebook;fillColor=#6294E4;gradientColor=#1A2665",102.4,102.4,"","Facebook",null,null,this.getTagsForStencil("mxgraph.webicons","facebook","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fancy;fillColor=#C3ECF8;gradientColor=#348DD4",102.4,102.4,"","Fancy",null,null,this.getTagsForStencil("mxgraph.webicons","fancy","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fark;fillColor=#EBEBF1;gradientColor=#8482A7",\r\n102.4,102.4,"","Fark",null,null,this.getTagsForStencil("mxgraph.webicons","fark","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fashiolista;gradientColor=#DFDEDE",102.4,102.4,"","Fashiolista",null,null,this.getTagsForStencil("mxgraph.webicons","fashiolista","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"feed;fillColor=#FFAC75;gradientColor=#FF6600",102.4,102.4,"","Feed",null,null,this.getTagsForStencil("mxgraph.webicons","feed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"feedburner;gradientColor=#DFDEDE",102.4,102.4,"","Feedburner",null,null,this.getTagsForStencil("mxgraph.webicons","feedburner","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"flickr;gradientColor=#DFDEDE",102.4,102.4,"","Flickr",null,null,this.getTagsForStencil("mxgraph.webicons","flickr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"folkd;fillColor=#27A2E9;gradientColor=#0A2977",102.4,102.4,"","Folkd",null,null,this.getTagsForStencil("mxgraph.webicons","folkd","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"forrst;fillColor=#3E6B32;gradientColor=#111C0D",102.4,102.4,"","Forrst",null,null,this.getTagsForStencil("mxgraph.webicons","forrst","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fotolog;gradientColor=#DFDEDE",102.4,102.4,"","Fotolog",null,null,this.getTagsForStencil("mxgraph.webicons","fotolog","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"freshbump;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Freshbump",null,null,this.getTagsForStencil("mxgraph.webicons",\r\n"freshbump","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fresqui;gradientColor=#DFDEDE",102.4,102.4,"","Fresqui",null,null,this.getTagsForStencil("mxgraph.webicons","fresqui","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"friendfeed;fillColor=#7BDCEF;gradientColor=#21379E",102.4,102.4,"","Friendfeed",null,null,this.getTagsForStencil("mxgraph.webicons","fiendfeed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"funp;gradientColor=#DFDEDE",102.4,102.4,\r\n"","Funp",null,null,this.getTagsForStencil("mxgraph.webicons","funp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fwisp;gradientColor=#DFDEDE",102.4,102.4,"","Fwisp",null,null,this.getTagsForStencil("mxgraph.webicons","fwisp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gabbr;fillColor=#FBAC39;gradientColor=#EA2B0E",102.4,102.4,"","Gabbr",null,null,this.getTagsForStencil("mxgraph.webicons","gabbr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gamespot;fillColor=#695D5D;gradientColor=#100E0E",\r\n102.4,102.4,"","Gamespot",null,null,this.getTagsForStencil("mxgraph.webicons","gamespot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"github;gradientColor=#DFDEDE",102.4,102.4,"","Github",null,null,this.getTagsForStencil("mxgraph.webicons","github","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gmail;gradientColor=#DFDEDE",102.4,102.4,"","Gmail",null,null,this.getTagsForStencil("mxgraph.webicons","gmail","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"google;gradientColor=#DFDEDE",102.4,102.4,"","Google",null,null,this.getTagsForStencil("mxgraph.webicons","google","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_drive;gradientColor=#DFDEDE",102.4,102.4,"","Google Drive",null,null,this.getTagsForStencil("mxgraph.webicons","google drive","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_hangout;gradientColor=#DFDEDE",102.4,102.4,"","Google Hangout",null,null,this.getTagsForStencil("mxgraph.webicons","google hangout",\r\n"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_play;fillColor=#000000",69.4,20.6,"","Google Play",null,null,this.getTagsForStencil("mxgraph.webicons","google play","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_play_light;fillColor=#66E8F3;gradientColor=#1C7CBA",60,10.4,"","Google Play Light",null,null,this.getTagsForStencil("mxgraph.webicons","google play light","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_photos;gradientColor=#DFDEDE",\r\n102.4,102.4,"","Google Photos",null,null,this.getTagsForStencil("mxgraph.webicons","google photos","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_plus;fillColor=#F24B46;gradientColor=#AD3832",102.4,102.4,"","Google Plus",null,null,this.getTagsForStencil("mxgraph.webicons","google plus","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"grooveshark;fillColor=#695D5D;gradientColor=#000000",102.4,102.4,"","Grooveshark",null,null,this.getTagsForStencil("mxgraph.webicons",\r\n"grooveshark","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"hatena;gradientColor=#DFDEDE",102.4,102.4,"","Hatena",null,null,this.getTagsForStencil("mxgraph.webicons","hatena","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"html5;gradientColor=#DFDEDE",102.4,102.4,"","HTML5",null,null,this.getTagsForStencil("mxgraph.webicons","html5 html","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"identi.ca;gradientColor=#DFDEDE",102.4,102.4,"","Identi.ca",null,null,\r\nthis.getTagsForStencil("mxgraph.webicons","identi.ca","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"instagram;gradientColor=#DFDEDE",102.4,102.4,"","Instagram",null,null,this.getTagsForStencil("mxgraph.webicons","instagram","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"instapaper;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,102.4,"","Instapaper",null,null,this.getTagsForStencil("mxgraph.webicons","instapaper","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"ios;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","iOS",null,null,this.getTagsForStencil("mxgraph.webicons","ios","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"jamespot;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Jamespot",null,null,this.getTagsForStencil("mxgraph.webicons","jamespot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"java;gradientColor=#DFDEDE",102.4,102.4,"","Java",null,null,this.getTagsForStencil("mxgraph.webicons","java","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"joomla;fillColor=#1F457D;gradientColor=#081220",102.4,102.4,"","Joomla",null,null,this.getTagsForStencil("mxgraph.webicons","joomla","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"jquery;fillColor=#0BB9EA;gradientColor=#032F80",102.4,102.4,"","Jquery",null,null,this.getTagsForStencil("mxgraph.webicons","jquery","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"json;gradientColor=#DFDEDE",102.4,102.4,"","JSON",null,null,this.getTagsForStencil("mxgraph.webicons",\r\n"json","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"json_2;gradientColor=#DFDEDE",102.4,102.4,"","JSON",null,null,this.getTagsForStencil("mxgraph.webicons","json","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"last.fm;fillColor=#F33543;gradientColor=#BD0E11",102.4,102.4,"","Last.fm",null,null,this.getTagsForStencil("mxgraph.webicons","last.fm last fm","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"linkagogo;fillColor=#F6F5FA;gradientColor=#C8C1E1",\r\n102.4,102.4,"","Linkagogo",null,null,this.getTagsForStencil("mxgraph.webicons","linkagogo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"linkedin;fillColor=#0095DB;gradientColor=#006391",102.4,102.4,"","LinkedIn",null,null,this.getTagsForStencil("mxgraph.webicons","linkedin","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"livejournal;fillColor=#2690E5;gradientColor=#0A2463",102.4,102.4,"","Livejournal",null,null,this.getTagsForStencil("mxgraph.webicons","livejournal",\r\n"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mail.ru;fillColor=#267BE0;gradientColor=#0A1F42",102.4,102.4,"","Mail.ru",null,null,this.getTagsForStencil("mxgraph.webicons","mail.ru","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"meetup;fillColor=#F83263;gradientColor=#D40D19",102.4,102.4,"","Meetup",null,null,this.getTagsForStencil("mxgraph.webicons","meetup","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"meneame;gradientColor=#DFDEDE",102.4,102.4,\r\n"","Meneame",null,null,this.getTagsForStencil("mxgraph.webicons","meneame","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"messenger;gradientColor=#DFDEDE",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"messenger_2;gradientColor=#DFDEDE",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"messenger_3;fillColor=#09BEFC;gradientColor=#0060FA",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mind_body_green;fillColor=#E0EEF8;gradientColor=#4496D5",102.4,102.4,"","Mind Body Green",null,null,this.getTagsForStencil("mxgraph.webicons","mind body green","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mongodb;gradientColor=#DFDEDE",102.4,102.4,"","MongoDb",null,null,this.getTagsForStencil("mxgraph.webicons",\r\n"mongodb","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"myspace;fillColor=#3C69E2;gradientColor=#101B54",102.4,102.4,"","MySpace",null,null,this.getTagsForStencil("mxgraph.webicons","myspace","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"n4g;gradientColor=#DFDEDE",102.4,102.4,"","N4g",null,null,this.getTagsForStencil("mxgraph.webicons","n4g","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netlog;fillColor=#FA3743;gradientColor=#E10E11",102.4,102.4,\r\n"","Netlog",null,null,this.getTagsForStencil("mxgraph.webicons","netlog","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netvibes;fillColor=#99DB00;gradientColor=#638E00",102.4,102.4,"","Netvibes",null,null,this.getTagsForStencil("mxgraph.webicons","netvibes","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netvouz;gradientColor=#DFDEDE",102.4,102.4,"","Netvouz",null,null,this.getTagsForStencil("mxgraph.webicons","netvouz","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"networkedblogs;gradientColor=#DFDEDE",102.4,102.4,"","Networkedblogs",null,null,this.getTagsForStencil("mxgraph.webicons","networkedblogs","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"newsvine;fillColor=#008733;gradientColor=#00441B",102.4,102.4,"","Newsvine",null,null,this.getTagsForStencil("mxgraph.webicons","newsvine","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"odnoklassniki;fillColor=#FDE15A;gradientColor=#F24317",102.4,102.4,"","Odnoklassniki",null,null,\r\nthis.getTagsForStencil("mxgraph.webicons","odnoklassniki","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"oknotizie;gradientColor=#DFDEDE",102.4,102.4,"","Oknotizie",null,null,this.getTagsForStencil("mxgraph.webicons","oknotizie","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"onedrive;gradientColor=#DFDEDE",102.4,102.4,"","OneDrive",null,null,this.getTagsForStencil("mxgraph.webicons","onedrive","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"oracle;fillColor=#FA3743;gradientColor=#E10E11",\r\n102.4,102.4,"","Oracle",null,null,this.getTagsForStencil("mxgraph.webicons","oracle","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"paypal;gradientColor=#DFDEDE",102.4,102.4,"","Paypal",null,null,this.getTagsForStencil("mxgraph.webicons","paypal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"phone;fillColor=#76F21E;gradientColor=#079704",102.4,102.4,"","Phone",null,null,this.getTagsForStencil("mxgraph.webicons","phone","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"phonefavs;gradientColor=#DFDEDE",102.4,102.4,"","Phonefavs",null,null,this.getTagsForStencil("mxgraph.webicons","phonefavs","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"pinterest;fillColor=#E50B28;gradientColor=#890616",102.4,102.4,"","Pinterest",null,null,this.getTagsForStencil("mxgraph.webicons","pinterest","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"plaxo;gradientColor=#DFDEDE",102.4,102.4,"","Plaxo",null,null,this.getTagsForStencil("mxgraph.webicons","plaxo",\r\n"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"playfire;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Playfire",null,null,this.getTagsForStencil("mxgraph.webicons","playfire","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"plurk;fillColor=#FF5656;gradientColor=#A8312D",102.4,102.4,"","Plurk",null,null,this.getTagsForStencil("mxgraph.webicons","plurk","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"pocket;fillColor=#FF4460;gradientColor=#B73143",\r\n102.4,102.4,"","Pocket",null,null,this.getTagsForStencil("mxgraph.webicons","pocket","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"protopage;fillColor=#4B78C0;gradientColor=#294282",102.4,102.4,"","Protopage",null,null,this.getTagsForStencil("mxgraph.webicons","protopage","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"readernaut;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Readernaut",null,null,this.getTagsForStencil("mxgraph.webicons","readernaut","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"reddit;fillColor=#F3F8FC;gradientColor=#B4D2F0",102.4,102.4,"","Reddit",null,null,this.getTagsForStencil("mxgraph.webicons","reddit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"rss;fillColor=#FDE532;gradientColor=#F4600D",102.4,102.4,"","RSS",null,null,this.getTagsForStencil("mxgraph.webicons","rss","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"scoopit;fillColor=#8CD845;gradientColor=#4E7A27",102.4,102.4,"","Scoopit",null,null,\r\nthis.getTagsForStencil("mxgraph.webicons","scoopit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"scribd;fillColor=#1D637D;gradientColor=#071920",102.4,102.4,"","Scribd",null,null,this.getTagsForStencil("mxgraph.webicons","scribd","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"segnalo;gradientColor=#DFDEDE",102.4,102.4,"","Segnalo",null,null,this.getTagsForStencil("mxgraph.webicons","segnalo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sina;gradientColor=#DFDEDE",\r\n102.4,102.4,"","Sina",null,null,this.getTagsForStencil("mxgraph.webicons","sina","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sitejot;gradientColor=#DFDEDE",102.4,102.4,"","Sitejot",null,null,this.getTagsForStencil("mxgraph.webicons","sitejot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"skype;gradientColor=#DFDEDE",102.4,102.4,"","Skype",null,null,this.getTagsForStencil("mxgraph.webicons","skype","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"skyrock;fillColor=#47B8FF;gradientColor=#006AAD",\r\n102.4,102.4,"","Skyrock",null,null,this.getTagsForStencil("mxgraph.webicons","skyrock","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"slashdot;fillColor=#03B2AC;gradientColor=#012C2C",102.4,102.4,"","Slashdot",null,null,this.getTagsForStencil("mxgraph.webicons","slashdot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sms;fillColor=#86D466;gradientColor=#42B418",102.4,102.4,"","SMS",null,null,this.getTagsForStencil("mxgraph.webicons","sms","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"socialvibe;fillColor=#FA16E2;gradientColor=#DF064B",102.4,102.4,"","Socialvibe",null,null,this.getTagsForStencil("mxgraph.webicons","socialvibe","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"society6;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Society6",null,null,this.getTagsForStencil("mxgraph.webicons","society6","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sonico;fillColor=#3FEAF6;gradientColor=#117EC9",102.4,102.4,\r\n"","Sonico",null,null,this.getTagsForStencil("mxgraph.webicons","sonico","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"soundcloud;fillColor=#F78E11;gradientColor=#F93A0E",102.4,102.4,"","Soundcloud",null,null,this.getTagsForStencil("mxgraph.webicons","soundcloud","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sourceforge;gradientColor=#DFDEDE",102.4,102.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.webicons","sourceforge","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"sourceforge_2;fillColor=#0078AF;gradientColor=#00385E",102.4,102.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.webicons","sourceforge","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"spring.me;fillColor=#3CBEF2;gradientColor=#2B8AAF",102.4,102.4,"","Spring.me",null,null,this.getTagsForStencil("mxgraph.webicons","spring me","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stackexchange;gradientColor=#DFDEDE",102.4,102.4,\r\n"","Stackexchange",null,null,this.getTagsForStencil("mxgraph.webicons","stackexchange stack exchange","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stackoverflow;gradientColor=#DFDEDE",102.4,102.4,"","StackOverflow",null,null,this.getTagsForStencil("mxgraph.webicons","stackoverflow stack overflow","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"startaid;fillColor=#47B0E5;gradientColor=#2F7599",102.4,102.4,"","Startaid",null,null,this.getTagsForStencil("mxgraph.webicons",\r\n"startaid","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"startlap;fillColor=#B9E6F0;gradientColor=#3062A2",102.4,102.4,"","Startlap",null,null,this.getTagsForStencil("mxgraph.webicons","startlap","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"steam;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Steam",null,null,this.getTagsForStencil("mxgraph.webicons","steam","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stumbleupon;fillColor=#FA823C;gradientColor=#E12110",\r\n102.4,102.4,"","StumbleUpon",null,null,this.getTagsForStencil("mxgraph.webicons","stumbleupon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stumpedia;gradientColor=#DFDEDE",102.4,102.4,"","Stumpedia",null,null,this.getTagsForStencil("mxgraph.webicons","stumpedia","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"technorati;fillColor=#99EC92;gradientColor=#288925",102.4,102.4,"","Technorati",null,null,this.getTagsForStencil("mxgraph.webicons","technorati","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"translate;gradientColor=#DFDEDE",102.4,102.4,"","Translate",null,null,this.getTagsForStencil("mxgraph.webicons","translate","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"tumblr;fillColor=#588BBC;gradientColor=#172330",102.4,102.4,"","Tumblr",null,null,this.getTagsForStencil("mxgraph.webicons","tumblr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"tunein;gradientColor=#DFDEDE",102.4,102.4,"","Tunein",null,null,this.getTagsForStencil("mxgraph.webicons",\r\n"tunein","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"twitter;fillColor=#49EAF7;gradientColor=#137BD0",102.4,102.4,"","Twitter",null,null,this.getTagsForStencil("mxgraph.webicons","twitter","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"two;gradientColor=#DFDEDE",102.4,102.4,"","Two",null,null,this.getTagsForStencil("mxgraph.webicons","two","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"typepad;fillColor=#CBD372;gradientColor=#818748",102.4,102.4,\r\n"","Typepad",null,null,this.getTagsForStencil("mxgraph.webicons","typepad","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viadeo;gradientColor=#DFDEDE",102.4,102.4,"","Viadeo",null,null,this.getTagsForStencil("mxgraph.webicons","viadeo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viber;fillColor=#9964C4;gradientColor=#52366B",102.4,102.4,"","Viber",null,null,this.getTagsForStencil("mxgraph.webicons","viber","web icons icon").join(" ")),this.createVertexTemplateEntry(a+\r\n"viddler;gradientColor=#DFDEDE",102.4,102.4,"","Viddler",null,null,this.getTagsForStencil("mxgraph.webicons","viddler","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"vimeo;fillColor=#A4EDF9;gradientColor=#2B8ED9",102.4,102.4,"","Vimeo",null,null,this.getTagsForStencil("mxgraph.webicons","vimeo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"virb;fillColor=#536873;gradientColor=#161A1D",102.4,102.4,"","Virb",null,null,this.getTagsForStencil("mxgraph.webicons","virb",\r\n"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"vkontakte;fillColor=#5F94CC;gradientColor=#39587A",102.4,102.4,"","Vkontakte",null,null,this.getTagsForStencil("mxgraph.webicons","vkontakte","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wakoopa;gradientColor=#DFDEDE",102.4,102.4,"","Wakoopa",null,null,this.getTagsForStencil("mxgraph.webicons","wakoopa","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"weheartit;fillColor=#FF7AA2;gradientColor=#FF4577",102.4,\r\n102.4,"","Weheartit",null,null,this.getTagsForStencil("mxgraph.webicons","weheartit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"whatsapp;fillColor=#4FE238;gradientColor=#138709",102.4,102.4,"","Whatsapp",null,null,this.getTagsForStencil("mxgraph.webicons","whatsapp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wix;fillColor=#8AE3F2;gradientColor=#2451B0",102.4,102.4,"","Wix",null,null,this.getTagsForStencil("mxgraph.webicons","wix","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"wordpress;fillColor=#35E2EE;gradientColor=#0E4D99",102.4,102.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.webicons","wordpress","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wordpress_2;fillColor=#35E2EE;gradientColor=#0E4D99",102.4,102.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.webicons","wordpress","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xanga;gradientColor=#DFDEDE",102.4,102.4,"","Xanga",null,\r\nnull,this.getTagsForStencil("mxgraph.webicons","xanga","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xerpi;fillColor=#7F719B;gradientColor=#32264B",102.4,102.4,"","Xerpi",null,null,this.getTagsForStencil("mxgraph.webicons","xerpi","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xing;gradientColor=#DFDEDE",102.4,102.4,"","Xing",null,null,this.getTagsForStencil("mxgraph.webicons","xing","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yahoo;fillColor=#AC37AE;gradientColor=#2E0E2D",\r\n102.4,102.4,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.webicons","yahoo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yahoo_2;fillColor=#AC37AE;gradientColor=#2E0E2D",102.4,102.4,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.webicons","yahoo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yammer;fillColor=#00AFE0;gradientColor=#005F7A",102.4,102.4,"","Yammer",null,null,this.getTagsForStencil("mxgraph.webicons","yammer","web icons icon").join(" ")),\r\nthis.createVertexTemplateEntry(a+"yandex;gradientColor=#DFDEDE",102.4,102.4,"","Yandex",null,null,this.getTagsForStencil("mxgraph.webicons","yandex","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yelp;fillColor=#EF5140;gradientColor=#9C1410",102.4,102.4,"","Yelp",null,null,this.getTagsForStencil("mxgraph.webicons","yelp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yoolink;gradientColor=#DFDEDE",102.4,102.4,"","Yoolink",null,null,this.getTagsForStencil("mxgraph.webicons",\r\n"yoolink","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"youmob;gradientColor=#DFDEDE",102.4,102.4,"","Youmob",null,null,this.getTagsForStencil("mxgraph.webicons","youmob","web icons icon").join(" "))]);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addWebLogosPalette=function(){var a="dashed=0;outlineConnect=0;html=1;align=center;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.weblogos.";this.setCurrentSearchEntryLibrary("webicons",\r\n"weblogos");this.addPaletteFunctions("weblogos","Web Logos",!1,[this.createVertexTemplateEntry(a+"adfty;fillColor=#66E8F3;gradientColor=#1C7CBA",91.2,.2*458,"","Adfty",null,null,this.getTagsForStencil("mxgraph.weblogos","adfty","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"adobe_pdf;fillColor=#A60908",69.4,.2*338,"","Adobe PDF",null,null,this.getTagsForStencil("mxgraph.weblogos","adobe pdf","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aim",.2*312,68.4,"","Aim",null,\r\nnull,this.getTagsForStencil("mxgraph.weblogos","aim","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"allvoices",84,.2*398,"","Allvoices",null,null,this.getTagsForStencil("mxgraph.weblogos","allvoices","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"amazon",.2*314,68.2,"","Amazon",null,null,this.getTagsForStencil("mxgraph.weblogos","amazon","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#A4CA39;strokeColor=none",.2*338,80,"","Android",\r\nnull,null,this.getTagsForStencil("mxgraph.weblogos","android","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apache",42.6,85.2,"","Apache",null,null,this.getTagsForStencil("mxgraph.weblogos","apache db database","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apple;fillColor=#1B1C1C;strokeColor=none",.2*312,76.2,"","Apple",null,null,this.getTagsForStencil("mxgraph.weblogos","apple","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apple_classic",.2*312,\r\n76.2,"","Apple (classic)",null,null,this.getTagsForStencil("mxgraph.weblogos","apple classic","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"app_store;fillColor=#000000;strokeColor=none",61.2,20,"","App Store",null,null,this.getTagsForStencil("mxgraph.weblogos","app store application","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"app_store_iphone;fillColor=#75797C;strokeColor=none",61.2,20,"","App Store iPhone",null,null,this.getTagsForStencil("mxgraph.weblogos","app store iphone",\r\n"web logos logo").join(" ")),this.createVertexTemplateEntry(a+"arduino;fillColor=#36868D;strokeColor=none",67.4,32,"","Arduino",null,null,this.getTagsForStencil("mxgraph.weblogos","arduino","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ask;fillColor=#D22028;strokeColor=none",.2*343,50.6,"","Ask",null,null,this.getTagsForStencil("mxgraph.weblogos","ask","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Atlassian_Logo.svg;",66,66,"","Atlassian",\r\nnull,null,this.getTagsForStencil("mxgraph.weblogos","atlassian logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"audioboo;fillColor=#B9217E",54,79.4,"","Audioboo",null,null,this.getTagsForStencil("mxgraph.weblogos","audioboo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aws",63.6,.2*292,"","AWS",null,null,this.getTagsForStencil("mxgraph.weblogos","aws amazon web service","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aws_s3",61.6,57.6,"","AWS S3",\r\nnull,null,this.getTagsForStencil("mxgraph.weblogos","aws s3 amazon web service","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"baidu;fillColor=#3F4D9E",71,77,"","Baidu",null,null,this.getTagsForStencil("mxgraph.weblogos","baidu","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bamboo_Logo.svg;",64,74,"","Bamboo",null,null,this.getTagsForStencil("mxgraph.weblogos","bamboo logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bebo;fillColor=#EC1C23;strokeColor=none",\r\n.2*279,71.4,"","Bebo",null,null,this.getTagsForStencil("mxgraph.weblogos","bebo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"behance;fillColor=#3A3333",73.8,45.6,"","Behance",null,null,this.getTagsForStencil("mxgraph.weblogos","behance","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bing;fillColor=#008373;strokeColor=none",53,66.2,"","Bing",null,null,this.getTagsForStencil("mxgraph.weblogos","bing","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bitbucket_Logo.svg;",\r\n57,50,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.weblogos","bitbucket logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blinklist;fillColor=#3A3333;strokeColor=none",81.2,72,"","Blinklist",null,null,this.getTagsForStencil("mxgraph.weblogos","blinklist","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blogger;fillColor=#F66C2A;strokeColor=none",58,58.2,"","Blogger",null,null,this.getTagsForStencil("mxgraph.weblogos","blogger","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"blogmarks",37.6,64.4,"","Blogmarks",null,null,this.getTagsForStencil("mxgraph.weblogos","blogmarks","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bookmarks.fr",70.2,.2*314,"","Bookmarks.fr",null,null,this.getTagsForStencil("mxgraph.weblogos","bookmarks.fr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"box;fillColor=#2771B9;strokeColor=none",44.6,64.2,"","Box",null,null,this.getTagsForStencil("mxgraph.weblogos","box","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"buddymarks",79.4,57,"","Buddymarks",null,null,this.getTagsForStencil("mxgraph.weblogos","buddymarks","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"buffer;fillColor=#221F1F;strokeColor=none",70.4,.2*302,"","Buffer",null,null,this.getTagsForStencil("mxgraph.weblogos","buffer","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"buzzfeed;fillColor=#ED3223;strokeColor=none",78,78,"","Buzzfeed",null,null,this.getTagsForStencil("mxgraph.weblogos",\r\n"buzzfeed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"chrome",74.8,75.4,"","Chrome",null,null,this.getTagsForStencil("mxgraph.weblogos","chrome","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"citeulike;fillColor=#698139",.2*378,36,"","Citeulike",null,null,this.getTagsForStencil("mxgraph.weblogos","citeulike","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Clover_Logo.svg;",71,71,"","Clover",null,null,this.getTagsForStencil("mxgraph.weblogos",\r\n"clover logo","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Confluence_Logo.svg;",63,57,"","Confluence",null,null,this.getTagsForStencil("mxgraph.weblogos","confluence logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"connotea",81,.2*413,"","Connotea",null,null,this.getTagsForStencil("mxgraph.weblogos","connotea","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crowd_Logo.svg;",66,65,"","Crowd",\r\nnull,null,this.getTagsForStencil("mxgraph.weblogos","crowd logo","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crucible_Logo.svg;",61,61,"","Crucible",null,null,this.getTagsForStencil("mxgraph.weblogos","crucible logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dealsplus;fillColor=#935492",76,.2*333,"","Dealsplus",null,null,this.getTagsForStencil("mxgraph.weblogos","dealsplus","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"designfloat;strokeColor=none",72,72,"","Designfloat",null,null,this.getTagsForStencil("mxgraph.weblogos","designfloat","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"deviantart;fillColor=#009544;strokeColor=none;",62,86.4,"","Deviantart",null,null,this.getTagsForStencil("mxgraph.weblogos","deviantart","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"digg",58,56,"","Digg",null,null,this.getTagsForStencil("mxgraph.weblogos","digg","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"diigo;fillColor=#2973D2;strokeColor=none",61.2,68.8,"","Diigo",null,null,this.getTagsForStencil("mxgraph.weblogos","diiigo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dopplr;fillColor=#F9634D;strokeColor=none",102.4,102.4,"","Dopplr",null,null,this.getTagsForStencil("mxgraph.weblogos","dopplr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drawio2;fillColor=#1A5BA3",52.2,70.8,"","draw.io",null,null,this.getTagsForStencil("mxgraph.weblogos","diagrams.net drawio draw io draw.io",\r\n"web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drawio3;fillColor=#1A5BA3;fontSize=15;fontColor=#1A5BA3;fontStyle=1",52.2,52.2,\'diagrams.<font color="#f08707">net</font>\',"diagrams.net",null,null,this.getTagsForStencil("mxgraph.weblogos","diagrams.net drawio draw io draw.io","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dribbble;fillColor=#EB548D",67.4,67.2,"","Dribbble",null,null,this.getTagsForStencil("mxgraph.weblogos","dribbble","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"dropbox;fillColor=#0287EA",73.4,62,"","Dropbox2",null,null,this.getTagsForStencil("mxgraph.weblogos","dropbox","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drupal",60.6,69,"","Drupal",null,null,this.getTagsForStencil("mxgraph.weblogos","drupal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dzone",.2*438,61.2,"","Dzone",null,null,this.getTagsForStencil("mxgraph.weblogos","dzone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ebay",81.2,34.4,"","Ebay",\r\nnull,null,this.getTagsForStencil("mxgraph.weblogos","ebay","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"edmodo;fillColor=#276CB0;strokeColor=none",69.2,73.8,"","Edmodo",null,null,this.getTagsForStencil("mxgraph.weblogos","edmodo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"evernote;fillColor=#3F3F3F",.2*317,75.2,"","Evernote",null,null,this.getTagsForStencil("mxgraph.weblogos","evernote","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fancy;fillColor=#6DB3E3",\r\n39.2,79,"","Fancy",null,null,this.getTagsForStencil("mxgraph.weblogos","fancy","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fark;fillColor=#B1B0C7;gradientColor=#ffffff;strokeColor=#B1B0C7",44.2,70.2,"","Fark",null,null,this.getTagsForStencil("mxgraph.weblogos","fark","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fashiolista",.2*388,73.2,"","Fashiolista",null,null,this.getTagsForStencil("mxgraph.weblogos","fashiolista","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"feed;fillColor=#000000",.2*302,59.2,"","Feed",null,null,this.getTagsForStencil("mxgraph.weblogos","feed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"feedburner",68.4,74.4,"","Feedburner",null,null,this.getTagsForStencil("mxgraph.weblogos","feedburner","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Fisheye_Logo.svg;",71,59,"","Fisheye",null,null,this.getTagsForStencil("mxgraph.weblogos","fisheye logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"flickr",71.2,.2*156,"","Flickr",null,null,this.getTagsForStencil("mxgraph.weblogos","flickr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"folkd;fillColor=#165AA6",.2*419,43.6,"","Folkd",null,null,this.getTagsForStencil("mxgraph.weblogos","folkd","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"forrst;fillColor=#27431F",.2*264,73.2,"","Forrst",null,null,this.getTagsForStencil("mxgraph.weblogos","forrst","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"fotolog;fillColor=#000000;strokeColor=none",47.6,47.6,"","Fotolog",null,null,this.getTagsForStencil("mxgraph.weblogos","fotolog","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"freshbump;fillColor=#C2D952;strokeColor=none",71.2,76,"","Freshbump",null,null,this.getTagsForStencil("mxgraph.weblogos","freshbump","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fresqui",102.4,102.4,"","Fresqui",null,null,this.getTagsForStencil("mxgraph.weblogos","fresqui","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"friendfeed;fillColor=#4172BB",73.8,71,"","Friendfeed",null,null,this.getTagsForStencil("mxgraph.weblogos","fiendfeed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"funp",75,40,"","Funp",null,null,this.getTagsForStencil("mxgraph.weblogos","funp","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fwisp;fillColor=#66676A;strokeColor=none",65.4,66,"","Fwisp",null,null,this.getTagsForStencil("mxgraph.weblogos","fwisp","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"gabbr;fillColor=#F05B1E",64.4,66,"","Gabbr",null,null,this.getTagsForStencil("mxgraph.weblogos","gabbr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"gamespot",.2*408,.2*408,"","Gamespot",null,null,this.getTagsForStencil("mxgraph.weblogos","gamespot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"github",75,75,"","Github",null,null,this.getTagsForStencil("mxgraph.weblogos","github","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"gmail",64.8,.2*234,"","Gmail",null,null,this.getTagsForStencil("mxgraph.weblogos","gmail","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google",65.2,69.4,"","Google",null,null,this.getTagsForStencil("mxgraph.weblogos","google","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_drive",66.4,58,"","Google Drive",null,null,this.getTagsForStencil("mxgraph.weblogos","google drive","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_hangout;fillColor=#4BA139;strokeColor=none",\r\n64.8,75.4,"","Google Hangout",null,null,this.getTagsForStencil("mxgraph.weblogos","google hangout","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_play;fillColor=#000000",69.4,20.6,"","Google Play",null,null,this.getTagsForStencil("mxgraph.weblogos","google play","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_play_light;fillColor=#66E8F3;gradientColor=#1C7CBA",60,10.4,"","Google Play Light",null,null,this.getTagsForStencil("mxgraph.weblogos","google play light",\r\n"web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_photos",87.2,87.2,"","Google Photos",null,null,this.getTagsForStencil("mxgraph.weblogos","google photos","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_plus;fillColor=#DD4C40;strokeColor=none",.2*328,44,"","Google+",null,null,this.getTagsForStencil("mxgraph.weblogos","google plus","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"grooveshark;fillColor=#000000;strokeColor=none",62.2,62.2,"","Grooveshark",\r\nnull,null,this.getTagsForStencil("mxgraph.weblogos","grooveshark","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"hatena",86.2,44.2,"","Hatena",null,null,this.getTagsForStencil("mxgraph.weblogos","hatena","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Hipchat_Logo.svg;",66,62,"","Hipchat",null,null,this.getTagsForStencil("mxgraph.weblogos","hipchat logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"html5",.2*262,\r\n74,"","HTML5",null,null,this.getTagsForStencil("mxgraph.weblogos","html5 html","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"identi.ca",74.2,47.6,"","Identi.ca",null,null,this.getTagsForStencil("mxgraph.weblogos","identi.ca","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"instagram;fillColor=#6FC0E4;gradientColor=#1E305B",72.2,72.2,"","Instagram",null,null,this.getTagsForStencil("mxgraph.weblogos","instagram","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"instapaper",27.6,70.2,"","Instapaper",null,null,this.getTagsForStencil("mxgraph.weblogos","instapaper","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ios;fillColor=#695D5D;gradientColor=#100E0E",.2*368,.2*197,"","iOS",null,null,this.getTagsForStencil("mxgraph.weblogos","ios","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"jamespot;fillColor=#695D5D;gradientColor=#100E0E",78,78,"","Jamespot",null,null,this.getTagsForStencil("mxgraph.weblogos","jamespot","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"java",34.4,65,"","Java",null,null,this.getTagsForStencil("mxgraph.weblogos","java","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Logo.svg;",72,72,"","Jira",null,null,this.getTagsForStencil("mxgraph.weblogos","jira logo","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Core_Logo.svg;",55,66,"","Jira Core",null,null,this.getTagsForStencil("mxgraph.weblogos","jira core logo atlassian",\r\n"web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Service_Desk_Logo.svg;",59,76,"","Jira Service Desk",null,null,this.getTagsForStencil("mxgraph.weblogos","jira service desk logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Software_Logo.svg;",74,76,"","Jira Software",null,null,this.getTagsForStencil("mxgraph.weblogos","jira software logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"joomla;fillColor=#1F457D;gradientColor=#081220",66,.2*328,"","Joomla",null,null,this.getTagsForStencil("mxgraph.weblogos","joomla","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"jquery;fillColor=#0BB9EA;gradientColor=#032F80",73.8,67,"","Jquery",null,null,this.getTagsForStencil("mxgraph.weblogos","jquery","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"json",70,75.8,"","JSON",null,null,this.getTagsForStencil("mxgraph.weblogos","json","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"json_2",80.4,.2*126,"","JSON",null,null,this.getTagsForStencil("mxgraph.weblogos","json","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"last.fm;fillColor=#F33543;gradientColor=#BD0E11",83.2,50,"","Last.fm",null,null,this.getTagsForStencil("mxgraph.weblogos","last.fm last fm","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"linkagogo;fillColor=#F6F5FA;gradientColor=#C8C1E1",102.2,80,"","Linkagogo",null,null,this.getTagsForStencil("mxgraph.weblogos","linkagogo","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"linkedin;fillColor=#0095DB;gradientColor=#006391",.2*287,60.6,"","LinkedIn",null,null,this.getTagsForStencil("mxgraph.weblogos","linkedin","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"livejournal;fillColor=#2690E5;gradientColor=#0A2463",64,.2*343,"","Livejournal",null,null,this.getTagsForStencil("mxgraph.weblogos","livejournal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mail.ru;fillColor=#267BE0;gradientColor=#0A1F42",81.2,.2*\r\n393,"","Mail.ru",null,null,this.getTagsForStencil("mxgraph.weblogos","mail.ru","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mathoverflow;fillColor=#656463;gradientColor=#F28711;gradientDirection=east",59,48.2,"","MathOverflow",null,null,this.getTagsForStencil("mxgraph.weblogos","mathoverflow","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"meetup;fillColor=#413E3E;strokeColor=none",74.8,30,"","Meetup",null,null,this.getTagsForStencil("mxgraph.weblogos","meetup","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"meneame",76,.2*338,"","Meneame",null,null,this.getTagsForStencil("mxgraph.weblogos","meneame","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"messenger",.2*413,.2*384,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"messenger_2",64.4,64.8,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"messenger_3;fillColor=#437BBD;strokeColor=#dddddd",64.4,64.8,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mind_body_green;strokeColor=#888888",81.4,.2*464,"","Mind Body Green",null,null,this.getTagsForStencil("mxgraph.weblogos","mind body green","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mongodb",41.2,86.2,"","MongoDb",null,null,this.getTagsForStencil("mxgraph.weblogos","mongodb",\r\n"web logos logo").join(" ")),this.createVertexTemplateEntry(a+"myspace;fillColor=#003399;strokeColor=none",63,70.2,"","MySpace",null,null,this.getTagsForStencil("mxgraph.weblogos","myspace","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"n4g;fillColor=#000000;strokeColor=none",88.2,31.8,"","N4g",null,null,this.getTagsForStencil("mxgraph.weblogos","n4g","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netlog;fillColor=#F42424;strokeColor=none",.2*383,68.8,"","Netlog",null,\r\nnull,this.getTagsForStencil("mxgraph.weblogos","netlog","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netvibes;fillColor=#84BD00;strokeColor=none",.2*309,.2*309,"","Netvibes",null,null,this.getTagsForStencil("mxgraph.weblogos","netvibes","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netvouz",57.2,.2*287,"","Netvouz",null,null,this.getTagsForStencil("mxgraph.weblogos","netvouz","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"networkedblogs",.2*394,.2*\r\n394,"","Networkedblogs",null,null,this.getTagsForStencil("mxgraph.weblogos","networkedblogs","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"newsvine;fillColor=#005221;strokeColor=none",40.6,77.2,"","Newsvine",null,null,this.getTagsForStencil("mxgraph.weblogos","newsvine","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"odnoklassniki;fillColor=#F58220;strokeColor=none",.2*247,82,"","Odnoklassniki",null,null,this.getTagsForStencil("mxgraph.weblogos","odnoklassniki","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"oknotizie",.2*237,70.4,"","Oknotizie",null,null,this.getTagsForStencil("mxgraph.weblogos","oknotizie","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"onedrive;fillColor=#094AB1;strokeColor=none",71.2,43.2,"","OneDrive",null,null,this.getTagsForStencil("mxgraph.weblogos","onedrive","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"oracle;fillColor=#FF0000;strokeColor=none",90,23,"","Oracle",null,null,this.getTagsForStencil("mxgraph.weblogos",\r\n"oracle","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"paypal",51.2,58,"","Paypal",null,null,this.getTagsForStencil("mxgraph.weblogos","paypal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"phone;fillColor=#36BE0F;strokeColor=none",.2*289,54.2,"","Phone",null,null,this.getTagsForStencil("mxgraph.weblogos","phone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"phonefavs",64.4,.2*394,"","Phonefavs",null,null,this.getTagsForStencil("mxgraph.weblogos",\r\n"phonefavs","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"pinterest;fillColor=#BD081C;strokeColor=none",.2*384,74.4,"","Pinterest",null,null,this.getTagsForStencil("mxgraph.weblogos","pinterest","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"plaxo;fillColor=#414F5C;strokeColor=none",80,80,"","Plaxo",null,null,this.getTagsForStencil("mxgraph.weblogos","plaxo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"playfire;fillColor=#FDA21A;gradientColor=#FEE635;strokeColor=none",\r\n62,61.6,"","Playfire",null,null,this.getTagsForStencil("mxgraph.weblogos","playfire","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"plurk;fillColor=#E9443D;strokeColor=none",102.4,102.4,"","Plurk",null,null,this.getTagsForStencil("mxgraph.weblogos","plurk","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"pocket;fillColor=#EE4056;strokeColor=none",.2*314,.2*289,"","Pocket",null,null,this.getTagsForStencil("mxgraph.weblogos","pocket","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"protopage;fillColor=#4B78C0;gradientColor=#294282",.2*394,80,"","Protopage",null,null,this.getTagsForStencil("mxgraph.weblogos","protopage","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"readernaut;fillColor=#000000;strokeColor=none",72,72,"","Readernaut",null,null,this.getTagsForStencil("mxgraph.weblogos","readernaut","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"reddit;fillColor=#F3F8FC;gradientColor=#B4D2F0",88,.2*368,"","Reddit",null,null,this.getTagsForStencil("mxgraph.weblogos",\r\n"reddit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"rss;fillColor=#F56800;strokeColor=none",.2*408,.2*408,"","RSS",null,null,this.getTagsForStencil("mxgraph.weblogos","rss","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"scoopit;fillColor=#6CAB36;strokeColor=none",58,70,"","Scoopit",null,null,this.getTagsForStencil("mxgraph.weblogos","scoopit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"scribd;fillColor=#3D3533;strokeColor=none",.2*289,69.2,"",\r\n"Scribd",null,null,this.getTagsForStencil("mxgraph.weblogos","scribd","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"segnalo",.2*403,.2*389,"","Segnalo",null,null,this.getTagsForStencil("mxgraph.weblogos","segnalo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sina",.2*429,.2*343,"","Sina",null,null,this.getTagsForStencil("mxgraph.weblogos","sina","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sitejot",77.2,66,"","Sitejot",null,null,this.getTagsForStencil("mxgraph.weblogos",\r\n"sitejot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"skype;fillColor=#2AACE2;strokeColor=none",.2*388,.2*394,"","Skype",null,null,this.getTagsForStencil("mxgraph.weblogos","skype","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"skyrock;fillColor=#009AFF;strokeColor=none",67.8,70.4,"","Skyrock",null,null,this.getTagsForStencil("mxgraph.weblogos","skyrock","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"slashdot;fillColor=#026664;strokeColor=none",.2*\r\n262,62,"","Slashdot",null,null,this.getTagsForStencil("mxgraph.weblogos","slashdot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sms;fillColor=#48B921;strokeColor=none",69.2,64,"","SMS",null,null,this.getTagsForStencil("mxgraph.weblogos","sms","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"socialvibe;fillColor=#EE2F7F;strokeColor=none",50,50,"","Socialvibe",null,null,this.getTagsForStencil("mxgraph.weblogos","socialvibe","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"society6;fillColor=#000000;strokeColor=none",74.8,53,"","Society6",null,null,this.getTagsForStencil("mxgraph.weblogos","society6","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sonico;fillColor=#01AEF0;strokeColor=none",69.2,63.2,"","Sonico",null,null,this.getTagsForStencil("mxgraph.weblogos","sonico","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"soundcloud;fillColor=#FE4600;strokeColor=none",73.4,32.6,"","Soundcloud",null,null,this.getTagsForStencil("mxgraph.weblogos",\r\n"soundcloud","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sourceforge",74.2,74.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.weblogos","sourceforge","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sourceforge_2;fillColor=#00547E;strokeColor=none",63.2,.2*234,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.weblogos","sourceforge","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Sourcetree_Logo.svg;",\r\n57,71,"","Sourcetree",null,null,this.getTagsForStencil("mxgraph.weblogos","sourcetree logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"spring.me;fillColor=#0374B8;strokeColor=none",73.2,31.6,"","Spring.me",null,null,this.getTagsForStencil("mxgraph.weblogos","spring me","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"stackexchange",.2*319,79,"","Stackexchange",null,null,this.getTagsForStencil("mxgraph.weblogos","stackexchange stack exchange","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"stackoverflow",.2*272,64,"","StackOverflow",null,null,this.getTagsForStencil("mxgraph.weblogos","stackoverflow stack overflow","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"startaid;fillColor=#409FCF;strokeColor=none",41.2,42.6,"","Startaid",null,null,this.getTagsForStencil("mxgraph.weblogos","startaid","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"startlap;fillColor=#B9E6F0;gradientColor=#3062A2",82,84.2,"","Startlap",null,null,\r\nthis.getTagsForStencil("mxgraph.weblogos","startlap","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Statuspage_Logo.svg;",75,52,"","Statuspage",null,null,this.getTagsForStencil("mxgraph.weblogos","statuspage logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"steam;fillColor=#695D5D;gradientColor=#100E0E",85.2,39.6,"","Steam",null,null,this.getTagsForStencil("mxgraph.weblogos","steam","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Stride_Logo.svg;",\r\n69,57,"","Stride",null,null,this.getTagsForStencil("mxgraph.weblogos","stride logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"stumbleupon;fillColor=#EB4924;strokeColor=none",102.4,102.4,"","StumbleUpon",null,null,this.getTagsForStencil("mxgraph.weblogos","stumbleupon","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"stumpedia",67,.2*338,"","Stumpedia",null,null,this.getTagsForStencil("mxgraph.weblogos","stumpedia","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"translate",68.4,67,"","Translate",null,null,this.getTagsForStencil("mxgraph.weblogos","translate","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Trello_Logo.svg;",70,70,"","Trello",null,null,this.getTagsForStencil("mxgraph.weblogos","trello logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"tumblr;fillColor=#36465D;strokeColor=none",40.6,65.2,"","Tumblr",null,null,this.getTagsForStencil("mxgraph.weblogos","tumblr","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"tunein",70,70,"","Tunein",null,null,this.getTagsForStencil("mxgraph.weblogos","tunein","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"twitter;fillColor=#1DA1F2;strokeColor=none",80,70,"","Twitter",null,null,this.getTagsForStencil("mxgraph.weblogos","twitter","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"two;fillColor=#FF6D00;strokeColor=none",75.4,20,"","Two",null,null,this.getTagsForStencil("mxgraph.weblogos","two","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"typepad;fillColor=#ADB560;strokeColor=none",64.8,.2*192,"","Typepad",null,null,this.getTagsForStencil("mxgraph.weblogos","typepad","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"viadeo",73.4,84,"","Viadeo",null,null,this.getTagsForStencil("mxgraph.weblogos","viadeo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"viber;fillColor=#7D539F;strokeColor=none",77.4,85.2,"","Viber",null,null,this.getTagsForStencil("mxgraph.weblogos","viber",\r\n"web logos logo").join(" ")),this.createVertexTemplateEntry(a+"viddler;fillColor=#1896E0;gradientColor=#06253F",82,.2*106,"","Viddler",null,null,this.getTagsForStencil("mxgraph.weblogos","viddler","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"vimeo;fillColor=#1AB7EA;strokeColor=none",62.6,58,"","Vimeo",null,null,this.getTagsForStencil("mxgraph.weblogos","vimeo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"virb;fillColor=#000000;strokeColor=none",66,.2*353,"","Virb",\r\nnull,null,this.getTagsForStencil("mxgraph.weblogos","virb","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"vkontakte;fillColor=#4C75A3;strokeColor=none",70.4,40,"","Vkontakte",null,null,this.getTagsForStencil("mxgraph.weblogos","vkontakte","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"wakoopa;fillColor=#FF6D00;strokeColor=none",.2*413,.2*224,"","Wakoopa",null,null,this.getTagsForStencil("mxgraph.weblogos","wakoopa","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"weheartit;fillColor=#FF4577;strokeColor=none",82.2,.2*348,"","Weheartit",null,null,this.getTagsForStencil("mxgraph.weblogos","weheartit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"whatsapp;fillColor=#00E676;strokeColor=#dddddd",74.4,74.8,"","Whatsapp",null,null,this.getTagsForStencil("mxgraph.weblogos","whatsapp","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"wix;strokeColor=#dddddd",74,61.6,"","Wix",null,null,this.getTagsForStencil("mxgraph.weblogos","wix","web logos logo").join(" ")),\r\nthis.createVertexTemplateEntry(a+"wordpress;fillColor=#00A7DA;strokeColor=none",.2*333,65.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.weblogos","wordpress","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"wordpress_2;fillColor=#00A7DA;strokeColor=none",68.8,68.8,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.weblogos","wordpress","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"xanga;fillColor=#000000;strokeColor=none",70,38,"","Xanga",null,null,\r\nthis.getTagsForStencil("mxgraph.weblogos","xanga","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"xerpi;fillColor=#7F719B;gradientColor=#32264B;strokeColor=none",70.2,.2*328,"","Xerpi",null,null,this.getTagsForStencil("mxgraph.weblogos","xerpi","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"xing",65,73.8,"","Xing",null,null,this.getTagsForStencil("mxgraph.weblogos","xing","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"yahoo;fillColor=#65106E;strokeColor=none",\r\n74.4,43.6,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.weblogos","yahoo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"yahoo_2;fillColor=#65106E;strokeColor=none",80,46.6,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.weblogos","yahoo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"yammer;fillColor=#0093BE;strokeColor=none",.2*348,59.6,"","Yammer",null,null,this.getTagsForStencil("mxgraph.weblogos","yammer","web logos logo").join(" ")),this.createVertexTemplateEntry(a+\r\n"yandex",31.8,66.4,"","Yandex",null,null,this.getTagsForStencil("mxgraph.weblogos","yandex","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"yelp;fillColor=#C41200;strokeColor=none",.2*317,83,"","Yelp",null,null,this.getTagsForStencil("mxgraph.weblogos","yelp","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"yoolink",79.2,79.2,"","Yoolink",null,null,this.getTagsForStencil("mxgraph.weblogos","yoolink","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"youmob",\r\n76,76.2,"","Youmob",null,null,this.getTagsForStencil("mxgraph.weblogos","youmob","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"youtube;fillColor=#FF2626;gradientColor=#B5171F",.2*786,65.8,"","Youtube",null,null,this.getTagsForStencil("mxgraph.weblogos","youtube","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"youtube_2;fillColor=#FF2626;gradientColor=#B5171F",.2*232,32.6,"","Youtube",null,null,this.getTagsForStencil("mxgraph.weblogos","youtube","web logos logo").join(" "))]);\r\nthis.setCurrentSearchEntryLibrary()}})();\r\nDrawioFile=function(a,d){mxEventSource.call(this);this.ui=a;this.shadowData=this.data=d||"";this.shadowPages=null;this.created=(new Date).getTime();this.stats={opened:0,merged:0,fileMerged:0,fileReloaded:0,conflicts:0,timeouts:0,saved:0,closed:0,destroyed:0,joined:0,checksumErrors:0,bytesSent:0,bytesReceived:0,msgSent:0,msgReceived:0,cacheHits:0,cacheMiss:0,cacheFail:0}};DrawioFile.SYNC=urlParams.sync||"auto";DrawioFile.LAST_WRITE_WINS=!0;mxUtils.extend(DrawioFile,mxEventSource);\r\nDrawioFile.prototype.allChangesSavedKey="allChangesSaved";DrawioFile.prototype.savingSpinnerKey="saving";DrawioFile.prototype.savingStatusKey="saving";DrawioFile.prototype.autosaveDelay=1500;DrawioFile.prototype.maxAutosaveDelay=3E4;DrawioFile.prototype.optimisticSyncDelay=300;DrawioFile.prototype.autosaveThread=null;DrawioFile.prototype.lastAutosave=null;DrawioFile.prototype.lastSaved=null;DrawioFile.prototype.lastChanged=null;DrawioFile.prototype.opened=null;DrawioFile.prototype.modified=!1;\r\nDrawioFile.prototype.shadowModified=!1;DrawioFile.prototype.data=null;DrawioFile.prototype.shadowData=null;DrawioFile.prototype.shadowPages=null;DrawioFile.prototype.changeListenerEnabled=!0;DrawioFile.prototype.lastAutosaveRevision=null;DrawioFile.prototype.maxAutosaveRevisionDelay=3E5;DrawioFile.prototype.inConflictState=!1;DrawioFile.prototype.invalidChecksum=!1;DrawioFile.prototype.errorReportsEnabled=!1;DrawioFile.prototype.ageStart=null;\r\nDrawioFile.prototype.getSize=function(){return null!=this.data?this.data.length:0};DrawioFile.prototype.synchronizeFile=function(a,d){this.savingFile?null!=d&&d({message:mxResources.get("busy")}):null!=this.sync?this.sync.fileChanged(a,d):this.updateFile(a,d)};\r\nDrawioFile.prototype.updateFile=function(a,d,c,b){null!=c&&c()||(this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=d&&d():this.getLatestVersion(mxUtils.bind(this,function(g){try{null!=c&&c()||(this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=d&&d():null!=g?this.mergeFile(g,a,d,b):this.reloadFile(a,d))}catch(f){null!=d&&d(f)}}),d))};\r\nDrawioFile.prototype.mergeFile=function(a,d,c,b){var g=!0;try{this.stats.fileMerged++;var f=null!=this.shadowPages?this.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.shadowData).documentElement),m=this.ui.getPagesForNode(mxUtils.parseXml(a.data).documentElement);if(null!=m&&0<m.length){this.shadowPages=m;this.backupPatch=this.isModified()?this.ui.diffPages(f,this.ui.pages):null;var e=[this.ui.diffPages(null!=b?b:f,this.shadowPages)];if(!this.ignorePatches(e)){var k=this.ui.patchPages(f,\r\ne[0]);b={};var l=this.ui.getHashValueForPages(k,b),f={},n=this.ui.getHashValueForPages(this.shadowPages,f);"1"==urlParams.test&&EditorUi.debug("File.mergeFile",[this],"backup",this.backupPatch,"patches",e,"checksum",n==l,l);if(null!=l&&l!=n){var p=this.compressReportData(this.getAnonymizedXmlForPages(m)),q=this.compressReportData(this.getAnonymizedXmlForPages(k)),u=this.ui.hashValue(a.getCurrentEtag()),t=this.ui.hashValue(this.getCurrentEtag());this.checksumError(c,e,"Shadow Details: "+JSON.stringify(b)+\r\n"\\nChecksum: "+l+"\\nCurrent: "+n+"\\nCurrent Details: "+JSON.stringify(f)+"\\nFrom: "+u+"\\nTo: "+t+"\\n\\nFile Data:\\n"+p+"\\nPatched Shadow:\\n"+q,null,"mergeFile");return}this.patch(e,DrawioFile.LAST_WRITE_WINS?this.backupPatch:null)}}else throw g=!1,Error(mxResources.get("notADiagramFile"));this.inConflictState=this.invalidChecksum=!1;this.setDescriptor(a.getDescriptor());this.descriptorChanged();this.backupPatch=null;null!=d&&d()}catch(y){this.invalidChecksum=this.inConflictState=!0;this.descriptorChanged();\r\nnull!=c&&c(y);try{if(g)if(this.errorReportsEnabled)this.sendErrorReport("Error in mergeFile",null,y);else{var v=this.getCurrentUser(),z=null!=v?v.id:"unknown";EditorUi.logError("Error in mergeFile",null,this.getMode()+"."+this.getId(),z,y)}}catch(x){}}};\r\nDrawioFile.prototype.getAnonymizedXmlForPages=function(a){var d=new mxCodec(mxUtils.createXmlDocument()),c=d.document.createElement("mxfile");if(null!=a)for(var b=0;b<a.length;b++){var g=d.encode(new mxGraphModel(a[b].root));"1"!=urlParams.dev&&(g=this.ui.anonymizeNode(g,!0));g.setAttribute("id",a[b].getId());a[b].viewState&&this.ui.editor.graph.saveViewState(a[b].viewState,g,!0);c.appendChild(g)}return mxUtils.getPrettyXml(c)};\r\nDrawioFile.prototype.compressReportData=function(a,d,c){d=null!=d?d:1E4;null!=c&&null!=a&&a.length>c?a=a.substring(0,c)+"[...]":null!=a&&a.length>d&&(a=Graph.compress(a)+"\\n");return a};\r\nDrawioFile.prototype.checksumError=function(a,d,c,b,g){this.stats.checksumErrors++;this.invalidChecksum=this.inConflictState=!0;this.descriptorChanged();null!=this.sync&&this.sync.updateOnlineState();null!=a&&a();try{if(this.errorReportsEnabled){if(null!=d)for(a=0;a<d.length;a++)this.ui.anonymizePatch(d[a]);var f=mxUtils.bind(this,function(a){var b=this.compressReportData(JSON.stringify(d,null,2));a=null!=a?this.compressReportData(this.getAnonymizedXmlForPages(this.ui.getPagesForNode(mxUtils.parseXml(a.data).documentElement)),\r\n25E3):"n/a";this.sendErrorReport("Checksum Error in "+g+" "+this.getHash(),(null!=c?c:"")+"\\n\\nPatches:\\n"+b+(null!=a?"\\n\\nRemote:\\n"+a:""),null,7E4)});null==b?f(null):this.getLatestVersion(mxUtils.bind(this,function(a){null!=a&&a.getCurrentEtag()==b?f(a):f(null)}),function(){})}else{var m=this.getCurrentUser(),e=null!=m?m.id:"unknown";EditorUi.logError("Checksum Error in "+g+" "+this.getId(),null,this.getMode()+"."+this.getId(),"user_"+e+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync"));\r\ntry{EditorUi.logEvent({category:"CHECKSUM-ERROR-SYNC-FILE-"+this.getHash(),action:g,label:"user_"+e+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")})}catch(k){}}}catch(k){}};\r\nDrawioFile.prototype.sendErrorReport=function(a,d,c,b){try{var g=this.compressReportData(this.getAnonymizedXmlForPages(this.shadowPages),25E3),f=this.compressReportData(this.getAnonymizedXmlForPages(this.ui.pages),25E3),m=this.getCurrentUser(),e=null!=m?this.ui.hashValue(m.id):"unknown",k=null!=this.sync?"-client_"+this.sync.clientId:"-nosync",l=this.getTitle(),n=l.lastIndexOf("."),m="xml";0<n&&(m=l.substring(n));var p=null!=c?c.stack:Error().stack;EditorUi.sendReport(a+" "+(new Date).toISOString()+\r\n":\\n\\nAppVersion="+navigator.appVersion+"\\nFile="+this.ui.hashValue(this.getId())+" ("+this.getMode()+")"+(this.isModified()?" modified":"")+"\\nSize/Type="+this.getSize()+" ("+m+")\\nUser="+e+k+"\\nPrefix="+this.ui.editor.graph.model.prefix+"\\nSync="+DrawioFile.SYNC+(null!=this.sync?(this.sync.enabled?" enabled":"")+(this.sync.isConnected()?" connected":""):"")+"\\nPlugins="+(null!=mxSettings.settings?mxSettings.getPlugins():"null")+"\\n\\nStats:\\n"+JSON.stringify(this.stats,null,2)+(null!=d?"\\n\\n"+d:\r\n"")+(null!=c?"\\n\\nError: "+c.message:"")+"\\n\\nStack:\\n"+p+"\\n\\nShadow:\\n"+g+"\\n\\nData:\\n"+f,b)}catch(q){}};\r\nDrawioFile.prototype.reloadFile=function(a,d){try{this.ui.spinner.stop();var c=mxUtils.bind(this,function(){this.stats.fileReloaded++;var b=this.ui.editor.graph.getViewState(),c=this.ui.editor.graph.getSelectionCells(),d=this.ui.currentPage;this.ui.loadFile(this.getHash(),!0,null,mxUtils.bind(this,function(){if(null==this.ui.fileLoadedError){this.ui.restoreViewState(d,b,c);null!=this.backupPatch&&this.patch([this.backupPatch]);var f=this.ui.getCurrentFile();null!=f&&(f.stats=this.stats);null!=a&&\r\na()}}),!0)});this.isModified()&&null==this.backupPatch?this.ui.confirm(mxResources.get("allChangesLost"),mxUtils.bind(this,function(){this.handleFileSuccess("manual"==DrawioFile.SYNC)}),c,mxResources.get("cancel"),mxResources.get("discardChanges")):c()}catch(b){null!=d&&d(b)}};DrawioFile.prototype.copyFile=function(a,d){this.ui.editor.editAsNew(this.ui.getFileData(!0),this.ui.getCopyFilename(this))};\r\nDrawioFile.prototype.ignorePatches=function(a){for(var d=!0,c=0;c<a.length&&d;c++)d=d&&0==Object.keys(a[c]).length;return d};\r\nDrawioFile.prototype.patch=function(a,d,c){var b=this.ui.editor.undoManager,g=b.history.slice(),f=b.indexOfNextAdd,m=this.ui.editor.graph;m.container.style.visibility="hidden";var e=this.changeListenerEnabled;this.changeListenerEnabled=c;var k=m.foldingEnabled,l=m.mathEnabled,n=m.cellRenderer.redraw;m.cellRenderer.redraw=function(a){a.view.graph.isEditing(a.cell)&&(a.view.graph.scrollCellToVisible(a.cell),a.view.graph.cellEditor.resize());n.apply(this,arguments)};m.model.beginUpdate();try{for(var p=\r\n0;p<a.length;p++)this.ui.pages=this.ui.patchPages(this.ui.pages,a[p],!0,d,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{m.container.style.visibility="";m.model.endUpdate();m.cellRenderer.redraw=n;this.changeListenerEnabled=e;c||(b.history=g,b.indexOfNextAdd=f,b.fireEvent(new mxEventObject(mxEvent.CLEAR)));if(null==this.ui.currentPage||this.ui.currentPage.needsUpdate)l!=\r\nm.mathEnabled?(this.ui.editor.updateGraphComponents(),m.refresh()):(k!=m.foldingEnabled?m.view.revalidate():m.view.validate(),m.sizeDidChange());this.ui.updateTabContainer()}};\r\nDrawioFile.prototype.save=function(a,d,c,b,g,f){try{if(this.isEditable())if(!g&&this.invalidChecksum)if(null!=c)c({message:mxResources.get("checksum")});else throw Error(mxResources.get("checksum"));else this.updateFileData(),this.clearAutosave(),null!=d&&d();else if(null!=c)c({message:mxResources.get("readOnly")});else throw Error(mxResources.get("readOnly"));}catch(m){if(null!=c)c(m);else throw m;}};\r\nDrawioFile.prototype.updateFileData=function(){this.setData(this.ui.getFileData(null,null,null,null,null,null,null,null,this,!this.isCompressed()))};DrawioFile.prototype.isCompressedStorage=function(){return!0};DrawioFile.prototype.isCompressed=function(){var a=null!=this.ui.fileNode?this.ui.fileNode.getAttribute("compressed"):null;return null!=a?"false"!=a:this.isCompressedStorage()&&Editor.compressXml};DrawioFile.prototype.saveAs=function(a,d,c){};DrawioFile.prototype.saveFile=function(a,d,c,b){};\r\nDrawioFile.prototype.getPublicUrl=function(a){a(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(a){this.shadowModified=a};DrawioFile.prototype.setModified=function(a){this.shadowModified=this.modified=a};DrawioFile.prototype.isAutosaveOptional=function(){return!1};\r\nDrawioFile.prototype.isAutosave=function(){return!this.inConflictState&&this.ui.editor.autosave};DrawioFile.prototype.isRenamable=function(){return!1};DrawioFile.prototype.rename=function(a,d,c){};DrawioFile.prototype.isMovable=function(){return!1};DrawioFile.prototype.isTrashed=function(){return!1};DrawioFile.prototype.move=function(a,d,c){};DrawioFile.prototype.share=function(){this.ui.alert(mxResources.get("sharingAvailable"),null,380)};DrawioFile.prototype.getHash=function(){return""};\r\nDrawioFile.prototype.getId=function(){return""};DrawioFile.prototype.isEditable=function(){return!this.ui.editor.isChromelessView()||this.ui.editor.editable};DrawioFile.prototype.getUi=function(){return this.ui};DrawioFile.prototype.getTitle=function(){return""};DrawioFile.prototype.setData=function(a){this.data=a};DrawioFile.prototype.getData=function(){return this.data};\r\nDrawioFile.prototype.open=function(){this.stats.opened++;var a=this.getData();if(null!=a){var d=function(a){for(var b=0;null!=a&&b<a.length;b++){var c=a[b];null!=c.id&&0==c.id.indexOf("extFont_")&&c.parentNode.removeChild(c)}};d(document.querySelectorAll("head > style[id]"));d(document.querySelectorAll("head > link[id]"));this.ui.setFileData(a);this.isModified()||(this.shadowData=mxUtils.getXml(this.ui.getXmlFileData()),this.shadowPages=null)}this.installListeners();this.isSyncSupported()&&this.startSync()};\r\nDrawioFile.prototype.isSyncSupported=function(){return!1};DrawioFile.prototype.isRevisionHistorySupported=function(){return!1};DrawioFile.prototype.getRevisions=function(a,d){a(null)};DrawioFile.prototype.loadDescriptor=function(a,d){a(null)};DrawioFile.prototype.loadPatchDescriptor=function(a,d){this.loadDescriptor(mxUtils.bind(this,function(c){a(c)}),d)};DrawioFile.prototype.patchDescriptor=function(a,d){this.setDescriptorEtag(a,this.getDescriptorEtag(d));this.descriptorChanged()};\r\nDrawioFile.prototype.startSync=function(){"auto"!=DrawioFile.SYNC||"1"==urlParams.stealth||"1"!=urlParams.rt&&this.ui.editor.chromeless&&!this.ui.editor.editable||(null==this.sync&&(this.sync=new DrawioFileSync(this)),this.sync.start())};DrawioFile.prototype.isConflict=function(){return!1};DrawioFile.prototype.getChannelId=function(){return Graph.compress(this.getHash()).replace(/[\\/ +]/g,"_")};DrawioFile.prototype.getChannelKey=function(a){return null};DrawioFile.prototype.getCurrentUser=function(){return null};\r\nDrawioFile.prototype.getLatestVersion=function(a,d){a(null)};DrawioFile.prototype.getLastModifiedDate=function(){return new Date};DrawioFile.prototype.setCurrentRevisionId=function(a){this.setDescriptorRevisionId(this.getDescriptor(),a)};DrawioFile.prototype.getCurrentRevisionId=function(){return this.getDescriptorRevisionId(this.getDescriptor())};DrawioFile.prototype.setCurrentEtag=function(a){this.setDescriptorEtag(this.getDescriptor(),a)};DrawioFile.prototype.getCurrentEtag=function(){return this.getDescriptorEtag(this.getDescriptor())};\r\nDrawioFile.prototype.getDescriptor=function(){return null};DrawioFile.prototype.setDescriptor=function(){};DrawioFile.prototype.setDescriptorRevisionId=function(a,d){this.setDescriptorEtag(a,d)};DrawioFile.prototype.getDescriptorRevisionId=function(a){return this.getDescriptorEtag(a)};DrawioFile.prototype.setDescriptorEtag=function(a,d){};DrawioFile.prototype.getDescriptorEtag=function(a){return null};DrawioFile.prototype.getDescriptorSecret=function(a){return null};\r\nDrawioFile.prototype.installListeners=function(){null==this.changeListener&&(this.changeListener=mxUtils.bind(this,function(a,d){var c=null!=d?d.getProperty("edit"):null;!this.changeListenerEnabled||!this.isEditable()||null!=c&&c.ignoreEdit||this.fileChanged()}),this.ui.editor.graph.model.addListener(mxEvent.CHANGE,this.changeListener),this.ui.editor.graph.addListener("gridSizeChanged",this.changeListener),this.ui.editor.graph.addListener("shadowVisibleChanged",this.changeListener),this.ui.addListener("pageFormatChanged",\r\nthis.changeListener),this.ui.addListener("pageScaleChanged",this.changeListener),this.ui.addListener("backgroundColorChanged",this.changeListener),this.ui.addListener("backgroundImageChanged",this.changeListener),this.ui.addListener("foldingEnabledChanged",this.changeListener),this.ui.addListener("mathEnabledChanged",this.changeListener),this.ui.addListener("gridEnabledChanged",this.changeListener),this.ui.addListener("guidesEnabledChanged",this.changeListener),this.ui.addListener("tooltipsEnabledChanged",\r\nthis.changeListener),this.ui.addListener("pageViewChanged",this.changeListener),this.ui.addListener("connectionPointsChanged",this.changeListener),this.ui.addListener("connectionArrowsChanged",this.changeListener))};\r\nDrawioFile.prototype.addAllSavedStatus=function(a){null!=this.ui.statusContainer&&this.ui.getCurrentFile()==this&&(a=null!=a?a:mxUtils.htmlEntities(mxResources.get(this.allChangesSavedKey)),this.ui.editor.setStatus(\'<div title="\'+a+\'">\'+a+"</div>"),a=this.ui.statusContainer.getElementsByTagName("div"),0<a.length&&this.isRevisionHistorySupported()&&(a[0].style.cursor="pointer",a[0].style.textDecoration="underline",mxEvent.addListener(a[0],"click",mxUtils.bind(this,function(){this.ui.actions.get("revisionHistory").funct()}))))};\r\nDrawioFile.prototype.saveDraft=function(){try{null==this.draftId&&(this.draftId=Editor.guid());var a={type:"draft",created:this.created,modified:(new Date).getTime(),data:this.ui.getFileData(),title:this.getTitle(),aliveCheck:this.ui.draftAliveCheck};this.ui.setDatabaseItem(".draft_"+this.draftId,JSON.stringify(a));EditorUi.debug("draft saved",this.draftId,a)}catch(d){this.removeDraft()}};\r\nDrawioFile.prototype.removeDraft=function(){try{null!=this.draftId&&(this.ui.removeDatabaseItem(".draft_"+this.draftId),EditorUi.debug("draft deleted",".draft_"+this.draftId))}catch(a){}};\r\nDrawioFile.prototype.addUnsavedStatus=function(a){if(!this.inConflictState&&null!=this.ui.statusContainer&&this.ui.getCurrentFile()==this)if(a instanceof Error&&null!=a.message&&""!=a.message){var d=mxUtils.htmlEntities(mxResources.get("unsavedChanges"));this.ui.editor.setStatus(\'<div title="\'+d+\'" class="geStatusAlert" style="overflow:hidden;">\'+d+" ("+mxUtils.htmlEntities(a.message)+")</div>")}else{d=this.getErrorMessage(a);if(null==d&&null!=this.lastSaved){var c=this.ui.timeSince(new Date(this.lastSaved));\r\nnull!=c&&(d=mxResources.get("lastSaved",[c]))}null!=d&&60<d.length&&(d=d.substring(0,60)+"...");d=mxUtils.htmlEntities(mxResources.get("unsavedChangesClickHereToSave"))+(null!=d&&""!=d?" ("+mxUtils.htmlEntities(d)+")":"");this.ui.editor.setStatus(\'<div title="\'+d+\'" class="geStatusAlertOrange" style="cursor:pointer;overflow:hidden;">\'+d+\' <img src="\'+Editor.saveImage+\'" align="top" style="width:16px;margin-top:\'+(mxClient.IS_FF?-3:-2)+\'px"/></div>\');d=this.ui.statusContainer.getElementsByTagName("div");\r\nnull!=d&&0<d.length?mxEvent.addListener(d[0],"click",mxUtils.bind(this,function(){this.ui.actions.get(null!=this.ui.mode&&this.isEditable()?"save":"saveAs").funct()})):(d=mxUtils.htmlEntities(mxResources.get("unsavedChanges")),this.ui.editor.setStatus(\'<div title="\'+d+\'" class="geStatusAlert" style="overflow:hidden;">\'+d+" ("+mxUtils.htmlEntities(a.message)+")</div>"));EditorUi.enableDrafts&&(null==this.getMode()||EditorUi.isElectronApp)&&(null!=this.saveDraftThread&&window.clearTimeout(this.saveDraftThread),\r\nthis.saveDraftThread=window.setTimeout(mxUtils.bind(this,function(){this.saveDraft()}),0))}};\r\nDrawioFile.prototype.addConflictStatus=function(a,d){this.invalidChecksum&&null==d&&(d=mxResources.get("checksum"));this.setConflictStatus(mxUtils.htmlEntities(mxResources.get("fileChangedSync"))+(null!=d&&""!=d?" ("+mxUtils.htmlEntities(d)+")":""));this.ui.spinner.stop();this.clearAutosave();var c=null!=this.ui.statusContainer?this.ui.statusContainer.getElementsByTagName("div"):null;null!=c&&0<c.length?mxEvent.addListener(c[0],"click",mxUtils.bind(this,function(b){"IMG"!=mxEvent.getSource(b).nodeName&&\r\na()})):this.ui.alert(mxUtils.htmlEntities(mxResources.get("fileChangedSync")),a)};DrawioFile.prototype.setConflictStatus=function(a){this.ui.editor.setStatus(\'<div title="\'+a+\'" class="geStatusAlert geBlink" style="cursor:pointer;overflow:hidden;">\'+a+\' <a href="https://www.diagrams.net/doc/faq/synchronize" target="_blank"><img border="0" style="margin-left:2px;cursor:help;opacity:0.5;width:16px;height:16px;" valign="bottom" src="\'+Editor.helpImage+\'" style=""/></a></div>\')};\r\nDrawioFile.prototype.showRefreshDialog=function(a,d,c){null==c&&(c=mxResources.get("checksum"));this.ui.editor.isChromelessView()&&!this.ui.editor.editable?this.ui.alert(mxResources.get("fileChangedSync"),mxUtils.bind(this,function(){this.reloadFile(a,d)})):(this.addConflictStatus(mxUtils.bind(this,function(){this.showRefreshDialog(a,d)}),c),this.ui.showError(mxResources.get("error")+" ("+c+")",mxResources.get("fileChangedSyncDialog"),mxResources.get("makeCopy"),mxUtils.bind(this,function(){this.copyFile(a,\r\nd)}),null,mxResources.get("synchronize"),mxUtils.bind(this,function(){this.reloadFile(a,d)}),mxResources.get("cancel"),mxUtils.bind(this,function(){this.ui.hideDialog()}),360,150))};\r\nDrawioFile.prototype.showCopyDialog=function(a,d,c){this.invalidChecksum=this.inConflictState=!1;this.addUnsavedStatus();this.ui.showError(mxResources.get("externalChanges"),mxResources.get("fileChangedOverwriteDialog"),mxResources.get("makeCopy"),mxUtils.bind(this,function(){this.copyFile(a,d)}),null,mxResources.get("overwrite"),c,mxResources.get("cancel"),mxUtils.bind(this,function(){this.ui.hideDialog()}),360,150)};\r\nDrawioFile.prototype.showConflictDialog=function(a,d){this.ui.showError(mxResources.get("externalChanges"),mxResources.get("fileChangedSyncDialog"),mxResources.get("overwrite"),a,null,mxResources.get("synchronize"),d,mxResources.get("cancel"),mxUtils.bind(this,function(){this.ui.hideDialog();this.handleFileError(null,!1)}),340,150)};\r\nDrawioFile.prototype.redirectToNewApp=function(a,d){this.ui.spinner.stop();if(!this.redirectDialogShowing){this.redirectDialogShowing=!0;var c=window.location.protocol+"//"+window.location.host+"/"+this.ui.getSearch("create title mode url drive splash state".split(" "))+"#"+this.getHash(),b=mxResources.get("redirectToNewApp");null!=d&&(b+=" ("+d+")");var g=mxUtils.bind(this,function(){var b=mxUtils.bind(this,function(){this.redirectDialogShowing=!1;window.location.href==c?window.location.reload():\r\nwindow.location.href=c});null==a&&this.isModified()?this.ui.confirm(mxResources.get("allChangesLost"),mxUtils.bind(this,function(){this.redirectDialogShowing=!1}),b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()});null!=a?this.isModified()?this.ui.confirm(b,mxUtils.bind(this,function(){this.redirectDialogShowing=!1;a()}),g,mxResources.get("cancel"),mxResources.get("discardChanges")):this.ui.confirm(b,g,mxUtils.bind(this,function(){this.redirectDialogShowing=!1;a()})):this.ui.alert(mxResources.get("redirectToNewApp"),\r\ng)}};DrawioFile.prototype.handleFileSuccess=function(a){this.ui.spinner.stop();this.ui.getCurrentFile()==this&&(this.isModified()?this.fileChanged():a?(this.isTrashed()?this.addAllSavedStatus(mxUtils.htmlEntities(mxResources.get(this.allChangesSavedKey))+" ("+mxUtils.htmlEntities(mxResources.get("fileMovedToTrash"))+")"):this.addAllSavedStatus(),null!=this.sync&&(this.sync.resetUpdateStatusThread(),this.sync.remoteFileChanged&&(this.sync.remoteFileChanged=!1,this.sync.fileChangedNotify()))):this.ui.editor.setStatus(""))};\r\nDrawioFile.prototype.handleFileError=function(a,d){this.ui.spinner.stop();if(this.ui.getCurrentFile()==this)if(this.inConflictState)this.handleConflictError(a,d);else if(this.isModified()&&this.addUnsavedStatus(a),d)this.ui.handleError(a,null!=a?mxResources.get("errorSavingFile"):null);else if(!this.isModified()){var c=this.getErrorMessage(a);null!=c&&60<c.length&&(c=c.substring(0,60)+"...");this.ui.editor.setStatus(\'<div class="geStatusAlert" style="cursor:pointer;overflow:hidden;">\'+mxUtils.htmlEntities(mxResources.get("error"))+\r\n(null!=c?" ("+mxUtils.htmlEntities(c)+")":"")+"</div>")}};\r\nDrawioFile.prototype.handleConflictError=function(a,d){var c=mxUtils.bind(this,function(){this.handleFileSuccess(!0)}),b=mxUtils.bind(this,function(a){this.handleFileError(a,!0)}),g=mxUtils.bind(this,function(){this.ui.spinner.spin(document.body,mxResources.get(this.savingSpinnerKey))&&(this.ui.editor.setStatus(""),this.save(!0,c,b,null,!0,this.constructor!=GitHubFile&&this.constructor!=GitLabFile||null==a?null:a.commitMessage))}),f=mxUtils.bind(this,function(){this.ui.spinner.spin(document.body,\r\nmxResources.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,c,b,null,null,this.constructor!=GitHubFile&&this.constructor!=GitLabFile||null==a?null:a.commitMessage)}),b)});"none"==DrawioFile.SYNC?this.showCopyDialog(c,b,g):this.invalidChecksum?this.showRefreshDialog(c,b,this.getErrorMessage(a)):d?this.showConflictDialog(g,f):this.addConflictStatus(mxUtils.bind(this,\r\nfunction(){this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("updatingDocument")));this.synchronizeFile(c,b)}),this.getErrorMessage(a))};DrawioFile.prototype.getErrorMessage=function(a){var d=null!=a?null!=a.error?a.error.message:a.message:null;null==d&&null!=a&&a.code==App.ERROR_TIMEOUT&&(d=mxResources.get("timeout"));return d};DrawioFile.prototype.isOverdue=function(){return null!=this.ageStart&&Date.now()-this.ageStart.getTime()>=this.ui.warnInterval};\r\nDrawioFile.prototype.fileChanged=function(){this.lastChanged=new Date;this.setModified(!0);this.isAutosave()?(null!=this.savingStatusKey&&this.addAllSavedStatus(mxUtils.htmlEntities(mxResources.get(this.savingStatusKey))+"..."),this.ui.scheduleSanityCheck(),null==this.ageStart&&(this.ageStart=new Date),this.sendFileChanges(),this.autosave(this.autosaveDelay,this.maxAutosaveDelay,mxUtils.bind(this,function(a){this.ui.stopSanityCheck();null==this.autosaveThread?(this.handleFileSuccess(!0),this.ageStart=\r\nnull):this.isModified()&&(this.ui.scheduleSanityCheck(),this.ageStart=this.lastChanged)}),mxUtils.bind(this,function(a){this.handleFileError(a)}))):(this.ageStart=null,this.isAutosaveOptional()&&this.ui.editor.autosave||this.inConflictState||this.addUnsavedStatus())};DrawioFile.prototype.isOptimisticSync=function(){return!1};\r\nDrawioFile.prototype.createSecret=function(a){var d=Editor.guid(32);null==this.sync||this.isOptimisticSync()?a(d):this.sync.createToken(d,mxUtils.bind(this,function(c){a(d,c)}),mxUtils.bind(this,function(){a(d)}))};DrawioFile.prototype.fileSaving=function(){null!=this.sync&&this.isOptimisticSync()&&this.sync.fileSaving();"1"==urlParams.test&&EditorUi.debug("DrawioFile.fileSaving",[this])};\r\nDrawioFile.prototype.sendFileChanges=function(){try{null!=this.p2pCollab&&null!=this.sync&&(this.updateFileData(),this.sync.sendFileChanges(this.ui.getPagesForNode(mxUtils.parseXml(this.getData()).documentElement),this.desc),"1"==urlParams.test&&EditorUi.debug("DrawioFile.sendFileChanges",[this]))}catch(a){console.log(a)}};\r\nDrawioFile.prototype.fileSaved=function(a,d,c,b,g){this.lastSaved=new Date;this.ageStart=null;try{this.stats.saved++,this.invalidChecksum=this.inConflictState=!1,null==this.sync||this.isOptimisticSync()?(this.shadowData=a,this.shadowPages=null,null!=this.sync&&(this.sync.lastModified=this.getLastModifiedDate(),this.sync.resetUpdateStatusThread()),null!=c&&c()):this.sync.fileSaved(this.ui.getPagesForNode(mxUtils.parseXml(a).documentElement),d,c,b,g)}catch(e){this.invalidChecksum=this.inConflictState=\r\n!0;this.descriptorChanged();null!=b&&b(e);try{if(this.errorReportsEnabled)this.sendErrorReport("Error in fileSaved",null,e);else{var f=this.getCurrentUser(),m=null!=f?f.id:"unknown";EditorUi.logError("Error in fileSaved",null,this.getMode()+"."+this.getId(),m,e)}}catch(k){}}"1"==urlParams.test&&EditorUi.debug("DrawioFile.fileSaved",[this])};\r\nDrawioFile.prototype.autosave=function(a,d,c,b){null==this.lastAutosave&&(this.lastAutosave=Date.now());a=Date.now()-this.lastAutosave<d?a:0;this.clearAutosave();var g=window.setTimeout(mxUtils.bind(this,function(){this.lastAutosave=null;this.autosaveThread==g&&(this.autosaveThread=null);if(this.isModified()&&this.isAutosaveNow()){var a=this.isAutosaveRevision();a&&(this.lastAutosaveRevision=(new Date).getTime());this.save(a,mxUtils.bind(this,function(a){this.autosaveCompleted();null!=c&&c(a)}),mxUtils.bind(this,\r\nfunction(a){null!=b&&b(a)}))}else this.isModified()||this.ui.editor.setStatus(""),null!=c&&c(null)}),a);this.autosaveThread=g};DrawioFile.prototype.isAutosaveNow=function(){return!0};DrawioFile.prototype.autosaveCompleted=function(){};DrawioFile.prototype.clearAutosave=function(){null!=this.autosaveThread&&(window.clearTimeout(this.autosaveThread),this.autosaveThread=null)};\r\nDrawioFile.prototype.isAutosaveRevision=function(){var a=(new Date).getTime();return null==this.lastAutosaveRevision||a-this.lastAutosaveRevision>this.maxAutosaveRevisionDelay};DrawioFile.prototype.descriptorChanged=function(){this.fireEvent(new mxEventObject("descriptorChanged"))};DrawioFile.prototype.contentChanged=function(){this.fireEvent(new mxEventObject("contentChanged"))};\r\nDrawioFile.prototype.close=function(a){this.updateFileData();this.stats.closed++;this.isAutosave()&&this.isModified()&&this.save(this.isAutosaveRevision(),null,null,a);this.destroy()};DrawioFile.prototype.hasSameExtension=function(a,d){if(null!=a&&null!=d){var c=a.lastIndexOf("."),b=0<c?a.substring(c):"",c=d.lastIndexOf(".");return b===(0<c?d.substring(c):"")}return a==d};\r\nDrawioFile.prototype.removeListeners=function(){null!=this.changeListener&&(this.ui.editor.graph.model.removeListener(this.changeListener),this.ui.editor.graph.removeListener(this.changeListener),this.ui.removeListener(this.changeListener),this.changeListener=null)};DrawioFile.prototype.destroy=function(){this.clearAutosave();this.removeListeners();this.stats.destroyed++;null!=this.sync&&(this.sync.destroy(),this.sync=null)};DrawioFile.prototype.commentsSupported=function(){return!1};\r\nDrawioFile.prototype.commentsRefreshNeeded=function(){return!0};DrawioFile.prototype.commentsSaveNeeded=function(){return!1};DrawioFile.prototype.getComments=function(a,d){a([])};DrawioFile.prototype.addComment=function(a,d,c){d(Date.now())};DrawioFile.prototype.canReplyToReplies=function(){return!0};DrawioFile.prototype.canComment=function(){return!0};DrawioFile.prototype.newComment=function(a,d){return new DrawioComment(this,null,a,Date.now(),Date.now(),!1,d)};LocalFile=function(a,d,c,b,g,f){DrawioFile.call(this,a,d);this.title=c;this.mode=b?null:App.MODE_DEVICE;this.fileHandle=g;this.desc=f};mxUtils.extend(LocalFile,DrawioFile);LocalFile.prototype.isAutosave=function(){return null!=this.fileHandle&&!this.invalidFileHandle&&DrawioFile.prototype.isAutosave.apply(this,arguments)};LocalFile.prototype.isAutosaveOptional=function(){return null!=this.fileHandle};LocalFile.prototype.getMode=function(){return this.mode};LocalFile.prototype.getTitle=function(){return this.title};\r\nLocalFile.prototype.isRenamable=function(){return!0};LocalFile.prototype.save=function(a,d,c){this.saveAs(this.title,d,c)};LocalFile.prototype.saveAs=function(a,d,c){this.saveFile(a,!1,d,c)};LocalFile.prototype.saveAs=function(a,d,c){this.saveFile(a,!1,d,c)};LocalFile.prototype.getDescriptor=function(){return this.desc};LocalFile.prototype.setDescriptor=function(a){this.desc=a};\r\nLocalFile.prototype.getLatestVersion=function(a,d){null==this.fileHandle?a(null):this.ui.loadFileSystemEntry(this.fileHandle,a,d)};\r\nLocalFile.prototype.saveFile=function(a,d,c,b,g){a!=this.title&&(this.desc=this.fileHandle=null);this.title=a;g||this.updateFileData();var f=this.ui.useCanvasForExport&&/(\\.png)$/i.test(this.getTitle());this.setShadowModified(!1);var m=this.getData(),e=mxUtils.bind(this,function(){this.setModified(this.getShadowModified());this.contentChanged();null!=c&&c()}),k=mxUtils.bind(this,function(c){if(null!=this.fileHandle){if(!this.savingFile){this.savingFileTime=new Date;this.savingFile=!0;var d=mxUtils.bind(this,\r\nfunction(a){this.savingFile=!1;null!=b&&b({error:a})});this.saveDraft();this.fileHandle.createWritable().then(mxUtils.bind(this,function(a){this.fileHandle.getFile().then(mxUtils.bind(this,function(b){this.invalidFileHandle=null;this.desc.lastModified==b.lastModified?a.write(f?this.ui.base64ToBlob(c,"image/png"):c).then(mxUtils.bind(this,function(){a.close().then(mxUtils.bind(this,function(){this.fileHandle.getFile().then(mxUtils.bind(this,function(a){try{var b=this.desc;this.savingFile=!1;this.desc=\r\na;this.fileSaved(m,b,e,d);this.removeDraft()}catch(z){d(z)}}),d)}),d)}),d):(this.inConflictState=!0,d())}),mxUtils.bind(this,function(a){this.invalidFileHandle=!0;d(a)}))}),d)}}else{if(this.ui.isOfflineApp()||this.ui.isLocalFileSave())this.ui.doSaveLocalFile(c,a,f?"image/png":"text/xml",f);else if(c.length<MAX_REQUEST_SIZE){var k=a.lastIndexOf("."),k=0<k?a.substring(k+1):"xml";(new mxXmlRequest(SAVE_URL,"format="+k+"&xml="+encodeURIComponent(c)+"&filename="+encodeURIComponent(a)+(f?"&binary=1":""))).simulate(document,\r\n"_blank")}else this.ui.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(c)}));e()}});f?(d=this.ui.getPngFileProperties(this.ui.fileNode),this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){k(a)}),b,this.ui.getCurrentFile()!=this?m:null,d.scale,d.border)):k(m)};LocalFile.prototype.rename=function(a,d,c){this.title=a;this.descriptorChanged();null!=d&&d()};\r\nLocalFile.prototype.open=function(){this.ui.setFileData(this.getData());this.installListeners()};LocalLibrary=function(a,d,c){LocalFile.call(this,a,d,c)};mxUtils.extend(LocalLibrary,LocalFile);LocalLibrary.prototype.getHash=function(){return"F"+this.getTitle()};LocalLibrary.prototype.isAutosave=function(){return!1};LocalLibrary.prototype.saveAs=function(a,d,c){this.saveFile(a,!1,d,c)};LocalLibrary.prototype.updateFileData=function(){};LocalLibrary.prototype.open=function(){};StorageFile=function(a,d,c){DrawioFile.call(this,a,d);this.title=c};mxUtils.extend(StorageFile,DrawioFile);StorageFile.prototype.autosaveDelay=2E3;StorageFile.prototype.maxAutosaveDelay=2E4;StorageFile.prototype.type="F";StorageFile.prototype.getMode=function(){return App.MODE_BROWSER};StorageFile.prototype.isAutosaveOptional=function(){return!0};StorageFile.prototype.getHash=function(){return"L"+encodeURIComponent(this.getTitle())};StorageFile.prototype.getTitle=function(){return this.title};\r\nStorageFile.prototype.isRenamable=function(){return!0};StorageFile.prototype.save=function(a,d,c){this.saveAs(this.getTitle(),d,c)};StorageFile.prototype.saveAs=function(a,d,c){DrawioFile.prototype.save.apply(this,arguments);this.saveFile(a,!1,d,c)};\r\nStorageFile.insertFile=function(a,d,c,b,g){var f=mxUtils.bind(this,function(f){var e=function(){var e=new StorageFile(a,c,d);e.saveFile(d,!1,function(){b(e)},g)};f?a.confirm(mxResources.get("replaceIt",[d]),e,g):e()});StorageFile.getFileContent(a,d,function(a){f(null!=a)},function(){f(!1)})};StorageFile.getFileContent=function(a,d,c,b){a.getDatabaseItem(d,function(a){c(null!=a?a.data:null)},mxUtils.bind(this,function(){null==a.database?a.getLocalData(d,c):null!=b&&b()}),"files")};\r\nStorageFile.getFileInfo=function(a,d,c,b){a.getDatabaseItem(d,function(a){c(a)},mxUtils.bind(this,function(){null==a.database?a.getLocalData(d,function(a){c(null!=a?{title:d}:null)}):null!=b&&b()}),"filesInfo")};\r\nStorageFile.prototype.saveFile=function(a,d,c,b){if(this.isEditable()){var g=mxUtils.bind(this,function(){this.isRenamable()&&(this.title=a);try{var d=mxUtils.bind(this,function(){this.setModified(!1);this.contentChanged();null!=c&&c()}),g=this.getData();this.ui.setDatabaseItem(null,[{title:this.title,size:g.length,lastModified:Date.now(),type:this.type},{title:this.title,data:g}],d,mxUtils.bind(this,function(){null==this.ui.database?this.ui.setLocalData(this.title,g,d):null!=b&&b()}),["filesInfo",\r\n"files"])}catch(e){null!=b&&b(e)}});this.isRenamable()&&"."==a.charAt(0)&&null!=b?b({message:mxResources.get("invalidName")}):StorageFile.getFileInfo(this.ui,a,mxUtils.bind(this,function(c){this.isRenamable()&&this.getTitle()!=a&&null!=c?this.ui.confirm(mxResources.get("replaceIt",[a]),g,b):g()}),b)}else null!=c&&c()};\r\nStorageFile.prototype.rename=function(a,d,c){var b=this.getTitle();b!=a?StorageFile.getFileInfo(this.ui,a,mxUtils.bind(this,function(g){var f=mxUtils.bind(this,function(){this.title=a;this.hasSameExtension(b,a)||this.setData(this.ui.getFileData());this.saveFile(a,!1,mxUtils.bind(this,function(){this.ui.removeLocalData(b,d)}),c)});null!=g?this.ui.confirm(mxResources.get("replaceIt",[a]),f,c):f()}),c):d()};StorageFile.prototype.open=function(){DrawioFile.prototype.open.apply(this,arguments);this.saveFile(this.getTitle())};\r\nStorageFile.prototype.getLatestVersion=function(a,d){StorageFile.getFileContent(this.ui,this.title,mxUtils.bind(this,function(c){a(new StorageFile(this.ui,c,this.title))}),d)};StorageFile.prototype.destroy=function(){DrawioFile.prototype.destroy.apply(this,arguments);null!=this.storageListener&&(mxEvent.removeListener(window,"storage",this.storageListener),this.storageListener=null)};\r\nStorageFile.listLocalStorageFiles=function(a){for(var d=[],c=0;c<localStorage.length;c++){var b=localStorage.key(c),g=localStorage.getItem(b);if(0<b.length&&"."!=b.charAt(0)&&0<g.length){var f=(null==a||"F"==a)&&("<mxfile "===g.substring(0,8)||"<?xml"===g.substring(0,5)||"\\x3c!--[if IE]>"===g.substring(0,12)),m=(null==a||"L"==a)&&"<mxlibrary>"===g.substring(0,11);(f||m)&&d.push({title:b,type:f?"F":"L",size:g.length,lastModified:Date.now()})}}return d};\r\nStorageFile.migrate=function(a){var d=StorageFile.listLocalStorageFiles();d.push({title:".scratchpad",type:"L"});var c=a.transaction(["files","filesInfo"],"readwrite");a=c.objectStore("files");for(var c=c.objectStore("filesInfo"),b=0;b<d.length;b++){var g=d[b],f=localStorage.getItem(g.title);a.add({title:g.title,data:f});c.add(g)}};\r\nStorageFile.listFiles=function(a,d,c,b){a.getDatabaseItems(function(a){var b=[];if(null!=a)for(var g=0;g<a.length;g++)"."==a[g].title.charAt(0)||null!=d&&a[g].type!=d||b.push(a[g]);c(b)},function(){null==a.database?c(StorageFile.listLocalStorageFiles(d)):null!=b&&b()},"filesInfo")};StorageFile.deleteFile=function(a,d,c,b){a.removeDatabaseItem([d,d],c,function(){null==a.database?(localStorage.removeItem(d),c()):null!=b&&b()},["files","filesInfo"])};StorageLibrary=function(a,d,c){StorageFile.call(this,a,d,c)};mxUtils.extend(StorageLibrary,StorageFile);StorageLibrary.prototype.type="L";StorageLibrary.prototype.isAutosave=function(){return!0};StorageLibrary.prototype.saveAs=function(a,d,c){this.saveFile(a,!1,d,c)};StorageLibrary.prototype.getHash=function(){return"L"+encodeURIComponent(this.title)};StorageLibrary.prototype.getTitle=function(){return".scratchpad"==this.title?mxResources.get("scratchpad"):this.title};\r\nStorageLibrary.prototype.isRenamable=function(a,d,c){return".scratchpad"!=this.title};StorageLibrary.prototype.open=function(){};RemoteFile=function(a,d,c){DrawioFile.call(this,a,d);this.title=c;this.mode=null};mxUtils.extend(RemoteFile,DrawioFile);RemoteFile.prototype.isAutosave=function(){return!1};RemoteFile.prototype.getMode=function(){return this.mode};RemoteFile.prototype.getTitle=function(){return this.title};RemoteFile.prototype.isRenamable=function(){return!1};RemoteFile.prototype.open=function(){this.ui.setFileData(this.getData());this.installListeners()};RemoteLibrary=function(a,d,c){RemoteFile.call(this,a,d,c.title);this.libObj=c};mxUtils.extend(RemoteLibrary,LocalFile);RemoteLibrary.prototype.getHash=function(){return"R"+encodeURIComponent(JSON.stringify([this.libObj.id,this.libObj.title,this.libObj.downloadUrl]))};RemoteLibrary.prototype.isEditable=function(){return!1};RemoteLibrary.prototype.isRenamable=function(){return!1};RemoteLibrary.prototype.isAutosave=function(){return!1};RemoteLibrary.prototype.save=function(a,d,c){};\r\nRemoteLibrary.prototype.saveAs=function(a,d,c){};RemoteLibrary.prototype.updateFileData=function(){};RemoteLibrary.prototype.open=function(){};UrlLibrary=function(a,d,c){StorageFile.call(this,a,d,c);a=c;d=a.lastIndexOf("/");0<=d&&(a=a.substring(d+1));this.fname=a};mxUtils.extend(UrlLibrary,StorageFile);UrlLibrary.prototype.getHash=function(){return"U"+encodeURIComponent(this.title)};UrlLibrary.prototype.getTitle=function(){return this.fname};UrlLibrary.prototype.isAutosave=function(){return!1};UrlLibrary.prototype.isEditable=function(a,d,c){return!1};UrlLibrary.prototype.saveAs=function(a,d,c){};UrlLibrary.prototype.open=function(){};EmbedFile=function(a,d,c){DrawioFile.call(this,a,d);this.desc=c||{};this.mode=App.MODE_EMBED};mxUtils.extend(EmbedFile,DrawioFile);EmbedFile.prototype.getMode=function(){return this.mode};EmbedFile.prototype.getTitle=function(){return this.desc.title||""};/*\r\n mxClient.IS_IOS || */\r\nvar StorageDialog=function(a,d,c){function b(b,f,g,n,v,z){function p(){mxEvent.addListener(q,"click",null!=z?z:function(){g!=App.MODE_GOOGLE||a.isDriveDomain()?g==App.MODE_GOOGLE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(g,!0);d()})):g==App.MODE_ONEDRIVE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.oneDrive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(g,!0);d()})):\r\n(a.setMode(g,!0),d()):window.location.hostname=DriveClient.prototype.newAppHostname})}e++;++m>c&&(mxUtils.br(k),m=1);var q=document.createElement("a");q.style.overflow="hidden";q.style.display="inline-block";q.className="geBaseButton";q.style.boxSizing="border-box";q.style.fontSize="11px";q.style.position="relative";q.style.margin="4px";q.style.marginTop="8px";q.style.marginBottom="0px";q.style.padding="8px 10px 8px 10px";q.style.width="88px";q.style.height="100px";q.style.whiteSpace="nowrap";q.setAttribute("title",\r\nf);var u=document.createElement("div");u.style.textOverflow="ellipsis";u.style.overflow="hidden";u.style.position="absolute";u.style.bottom="8px";u.style.left="0px";u.style.right="0px";mxUtils.write(u,f);q.appendChild(u);if(null!=b){var t=document.createElement("img");t.setAttribute("src",b);t.setAttribute("border","0");t.setAttribute("align","absmiddle");t.style.width="60px";t.style.height="60px";t.style.paddingBottom="6px";q.appendChild(t)}else u.style.paddingTop="5px",u.style.whiteSpace="normal",\r\nmxClient.IS_IOS?(q.style.padding="0px 10px 20px 10px",q.style.top="6px"):mxClient.IS_FF&&(u.style.paddingTop="0px",u.style.marginTop="-2px");if(null!=v)for(b=0;b<v.length;b++)mxUtils.br(u),mxUtils.write(u,v[b]);if(null!=n&&null==a[n]){t.style.visibility="hidden";mxUtils.setOpacity(u,10);var E=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});E.spin(q);var F=window.setTimeout(function(){null==\r\na[n]&&(E.stop(),q.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(b,e){null!=a[n]&&e.getProperty("client")==a[n]&&(window.clearTimeout(F),mxUtils.setOpacity(u,100),t.style.visibility="",E.stop(),p(),"drive"==n&&null!=l.parentNode&&l.parentNode.removeChild(l))}))}else p();k.appendChild(q)}c=null!=c?c:2;var g=document.createElement("div");g.style.textAlign="center";g.style.whiteSpace="nowrap";g.style.paddingTop="0px";g.style.paddingBottom="20px";var f=document.createElement("div");\r\nf.style.border="1px solid #d3d3d3";f.style.borderWidth="1px 0px 1px 0px";f.style.padding="10px 0px 20px 0px";var m=0,e=0,k=document.createElement("div");k.style.paddingTop="2px";f.appendChild(k);var l=document.createElement("p"),n=document.createElement("p");n.style.cssText="font-size:22px;padding:4px 0 16px 0;margin:0;color:gray;";mxUtils.write(n,mxResources.get("saveDiagramsTo")+":");g.appendChild(n);g.appendChild(f);m=0;"function"===typeof window.DriveClient&&b(IMAGE_PATH+"/google-drive-logo.svg",\r\nmxResources.get("googleDrive"),App.MODE_GOOGLE,"drive");"function"===typeof window.OneDriveClient&&b(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE,"oneDrive");b(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE);!isLocalStorage||"1"!=urlParams.browser&&"1"!=urlParams.offline||b(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER);"function"===typeof window.DropboxClient&&b(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),\r\nApp.MODE_DROPBOX,"dropbox");null!=a.gitHub&&b(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),App.MODE_GITHUB,"gitHub");null!=a.gitLab&&b(IMAGE_PATH+"/gitlab-logo.svg",mxResources.get("gitlab"),App.MODE_GITLAB,"gitLab");6>e&&null!=a.notion&&b(IMAGE_PATH+"/notion-logo.svg",mxResources.get("notion"),App.MODE_NOTION,"notion");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,\r\n"transform","translate(-50%,0)");mxUtils.write(f,mxResources.get("decideLater"));mxEvent.addListener(f,"click",function(){a.hideDialog();var b=Editor.useLocalStorage;a.createFile(a.defaultFilename,null,null,null,null,null,null,!0);Editor.useLocalStorage=b});g.appendChild(f);mxClient.IS_SVG&&isLocalStorage&&"0"!=urlParams.gapi&&(null==document.documentMode||10<=document.documentMode)&&window.setTimeout(function(){null==a.drive&&(l.style.padding="7px",l.style.fontSize="9pt",l.style.marginTop="-14px",\r\nl.innerHTML=\'<a style="background-color:#dcdcdc;padding:6px;color:black;text-decoration:none;" href="https://desk.draw.io/a/solutions/articles/16000074659" target="_blank"><img border="0" src="\'+mxGraph.prototype.warningImage.src+\'" align="absmiddle" style="margin-top:-4px"> \'+mxResources.get("googleDriveMissingClickHere")+"</a>",g.appendChild(l))},5E3);this.container=g},SplashDialog=function(a){var d=document.createElement("div");d.style.textAlign="center";if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp){var c=\r\na.addLanguageMenu(d,!0);null!=c&&(c.style.bottom="19px")}a.getServiceCount();var b=document.createElement("img");b.setAttribute("border","0");b.setAttribute("align","absmiddle");b.style.width="32px";b.style.height="32px";b.style.marginRight="8px";b.style.marginTop="-4px";var g=document.createElement("div");g.style.margin="8px 0px 0px 0px";g.style.padding="18px 0px 24px 0px";c="";a.mode==App.MODE_GOOGLE?(b.src=IMAGE_PATH+"/google-drive-logo.svg",c=mxResources.get("googleDrive")):a.mode==App.MODE_DROPBOX?\r\n(b.src=IMAGE_PATH+"/dropbox-logo.svg",c=mxResources.get("dropbox")):a.mode==App.MODE_ONEDRIVE?(b.src=IMAGE_PATH+"/onedrive-logo.svg",c=mxResources.get("oneDrive")):a.mode==App.MODE_GITHUB?(b.src=IMAGE_PATH+"/github-logo.svg",c=mxResources.get("github")):a.mode==App.MODE_GITLAB?(b.src=IMAGE_PATH+"/gitlab-logo.svg",c=mxResources.get("gitlab")):a.mode==App.MODE_NOTION?(b.src=IMAGE_PATH+"/notion-logo.svg",c=mxResources.get("notion")):a.mode==App.MODE_BROWSER?(b.src=IMAGE_PATH+"/osa_database.png",c=mxResources.get("browser")):\r\na.mode==App.MODE_TRELLO?(b.src=IMAGE_PATH+"/trello-logo.svg",c=mxResources.get("trello")):(b.src=IMAGE_PATH+"/osa_drive-harddisk.png",g.style.paddingBottom="10px",g.style.paddingTop="30px",c=mxResources.get("device"));var f=document.createElement("button");f.className="geBigButton";f.style.marginBottom="8px";f.style.fontSize="18px";f.style.padding="10px";f.style.width="340px";if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)g.style.padding="42px 0px 56px 0px",f.style.marginBottom="12px";else{g.style.border=\r\n"1px solid #d3d3d3";g.style.borderWidth="1px 0px 1px 0px";var m=document.createElement("table"),e=document.createElement("tbody"),k=document.createElement("tr"),l=document.createElement("td"),n=document.createElement("td");m.setAttribute("align","center");l.appendChild(b);b=document.createElement("div");b.style.fontSize="22px";b.style.paddingBottom="6px";b.style.color="gray";mxUtils.write(b,c);n.style.textAlign="left";n.appendChild(b);k.appendChild(l);k.appendChild(n);e.appendChild(k);m.appendChild(e);\r\nd.appendChild(m);c=document.createElement("span");c.style.cssText="position:absolute;cursor:pointer;bottom:27px;color:gray;userSelect:none;text-align:center;left:50%;";mxUtils.setPrefixedStyle(c.style,"transform","translate(-50%,0)");mxUtils.write(c,mxResources.get("changeStorage"));mxEvent.addListener(c,"click",function(){a.hideDialog(!1);a.setMode(null);a.clearMode();a.showSplash(!0)});d.appendChild(c)}mxUtils.write(f,mxResources.get("createNewDiagram"));mxEvent.addListener(f,"click",function(){a.hideDialog();\r\na.actions.get("new").funct()});g.appendChild(f);mxUtils.br(g);f=document.createElement("button");f.className="geBigButton";f.style.marginBottom="22px";f.style.fontSize="18px";f.style.padding="10px";f.style.width="340px";mxUtils.write(f,mxResources.get("openExistingDiagram"));mxEvent.addListener(f,"click",function(){a.actions.get("open").funct()});g.appendChild(f);a.mode==App.MODE_GOOGLE?mxResources.get("googleDrive"):a.mode==App.MODE_DROPBOX?mxResources.get("dropbox"):a.mode==App.MODE_ONEDRIVE?mxResources.get("oneDrive"):\r\na.mode==App.MODE_GITHUB?mxResources.get("github"):a.mode==App.MODE_GITLAB?mxResources.get("gitlab"):a.mode==App.MODE_NOTION?mxResources.get("notion"):a.mode==App.MODE_TRELLO?mxResources.get("trello"):a.mode==App.MODE_DEVICE?mxResources.get("device"):a.mode==App.MODE_BROWSER&&mxResources.get("browser");if(!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp)if(c=function(b){f.style.marginBottom="24px";var e=document.createElement("a");e.style.display="inline-block";e.style.color="gray";e.style.cursor="pointer";\r\ne.style.marginTop="6px";mxUtils.write(e,mxResources.get("signOut"));f.style.marginBottom="16px";g.style.paddingBottom="18px";mxEvent.addListener(e,"click",function(){a.confirm(mxResources.get("areYouSure"),function(){b()})});g.appendChild(e)},a.mode==App.MODE_GOOGLE&&null!=a.drive){var p=a.drive.getUsersList();if(0<p.length){b=document.createElement("span");b.style.marginTop="6px";mxUtils.write(b,mxResources.get("changeUser")+":");f.style.marginBottom="16px";g.style.paddingBottom="18px";g.appendChild(b);\r\nvar q=document.createElement("select");q.style.marginLeft="4px";q.style.width="140px";for(c=0;c<p.length;c++)m=document.createElement("option"),mxUtils.write(m,p[c].displayName),m.value=c,q.appendChild(m),m=document.createElement("option"),m.innerHTML="&nbsp;&nbsp;&nbsp;",mxUtils.write(m,"<"+p[c].email+">"),m.setAttribute("disabled","disabled"),q.appendChild(m);m=document.createElement("option");mxUtils.write(m,mxResources.get("addAccount"));m.value=p.length;q.appendChild(m);mxEvent.addListener(q,\r\n"change",function(){var b=q.value,e=p.length!=b;e&&a.drive.setUser(p[b]);a.drive.authorize(e,function(){a.setMode(App.MODE_GOOGLE);a.hideDialog();a.showSplash()},function(b){a.handleError(b,null,function(){a.hideDialog();a.showSplash()})},!0)});g.appendChild(q)}else c(function(){a.drive.logout()})}else a.mode!=App.MODE_ONEDRIVE||null==a.oneDrive||a.oneDrive.noLogout?a.mode==App.MODE_GITHUB&&null!=a.gitHub?c(function(){a.gitHub.logout();a.openLink("https://www.github.com/logout")}):a.mode==App.MODE_GITLAB&&\r\nnull!=a.gitLab?c(function(){a.gitLab.logout();a.openLink(DRAWIO_GITLAB_URL+"/users/sign_out")}):a.mode==App.MODE_NOTION&&null!=a.notion?c(function(){a.notion.logout()}):a.mode==App.MODE_TRELLO&&null!=a.trello?a.trello.isAuthorized()&&c(function(){a.trello.logout()}):a.mode==App.MODE_DROPBOX&&null!=a.dropbox&&c(function(){a.dropbox.logout();a.openLink("https://www.dropbox.com/logout")}):c(function(){a.oneDrive.logout()});d.appendChild(g);this.container=d},EmbedDialog=function(a,d,c,b,g,f,m){m=null!=\r\nm?m:"Check out the diagram I made using @drawio";b=document.createElement("div");var e=/^https?:\\/\\//.test(d)||/^mailto:\\/\\//.test(d);null!=f?mxUtils.write(b,f):mxUtils.write(b,mxResources.get(5E5>d.length?e?"link":"mainEmbedNotice":"preview")+":");mxUtils.br(b);f=document.createElement("div");f.style.position="absolute";f.style.top="30px";f.style.right="30px";f.style.color="gray";mxUtils.write(f,a.formatFileSize(d.length));b.appendChild(f);var k=document.createElement("textarea");k.setAttribute("autocomplete",\r\n"off");k.setAttribute("autocorrect","off");k.setAttribute("autocapitalize","off");k.setAttribute("spellcheck","false");k.style.fontFamily="monospace";k.style.wordBreak="break-all";k.style.marginTop="10px";k.style.resize="none";k.style.height="150px";k.style.width="440px";k.style.border="1px solid gray";k.value=mxResources.get("updatingDocument");b.appendChild(k);mxUtils.br(b);this.init=function(){window.setTimeout(function(){5E5>d.length?(k.value=d,k.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?\r\nk.select():document.execCommand("selectAll",!1,null)):(k.setAttribute("readonly","true"),k.value=mxResources.get("tooLargeUseDownload"))},0)};f=document.createElement("div");f.style.position="absolute";f.style.bottom="36px";f.style.right="32px";var l=null;!EmbedDialog.showPreviewOption||mxClient.IS_CHROMEAPP&&!e||navigator.standalone||!(e||mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode))||(l=mxUtils.button(mxResources.get(5E5>d.length?"preview":"openInNewWindow"),function(){var b=\r\n5E5>d.length?k.value:d;if(null!=g)g(b);else if(e)try{var l=a.openLink(b);null!=l&&(null==c||0<c)&&window.setTimeout(mxUtils.bind(this,function(){try{null!=l&&null!=l.location.href&&l.location.href.substring(0,8)!=b.substring(0,8)&&(l.close(),a.handleError({message:mxResources.get("drawingTooLarge")}))}catch(v){}}),c||500)}catch(v){a.handleError({message:v.message||mxResources.get("drawingTooLarge")})}else{var f=window.open(),f=null!=f?f.document:null;null!=f?(f.writeln("<html><head><title>"+encodeURIComponent(mxResources.get("preview"))+\r\n\'</title><meta charset="utf-8"></head><body>\'+d+"</body></html>"),f.close()):a.handleError({message:mxResources.get("errorUpdatingPreview")})}}),l.className="geBtn",f.appendChild(l));if(!e||7500<d.length){var n=mxUtils.button(mxResources.get("download"),function(){a.hideDialog();a.saveData("embed.txt","txt",d,"text/plain")});n.className="geBtn";f.appendChild(n)}if(e&&(!a.isOffline()||mxClient.IS_CHROMEAPP)){if(51200>d.length){var p=mxUtils.button("",function(){try{var b="https://www.facebook.com/sharer.php?p[url]="+\r\nencodeURIComponent(k.value);a.openLink(b)}catch(u){a.handleError({message:u.message||mxResources.get("drawingTooLarge")})}}),n=document.createElement("img");n.setAttribute("src",Editor.facebookImage);n.setAttribute("width","18");n.setAttribute("height","18");n.setAttribute("border","0");p.appendChild(n);p.setAttribute("title",mxResources.get("facebook")+" ("+a.formatFileSize(51200)+" max)");p.style.verticalAlign="bottom";p.style.paddingTop="4px";p.style.minWidth="46px";p.className="geBtn";f.appendChild(p)}7168>\r\nd.length&&(p=mxUtils.button("",function(){try{var b="https://twitter.com/intent/tweet?text="+encodeURIComponent(m)+"&url="+encodeURIComponent(k.value);a.openLink(b)}catch(u){a.handleError({message:u.message||mxResources.get("drawingTooLarge")})}}),n=document.createElement("img"),n.setAttribute("src",Editor.tweetImage),n.setAttribute("width","18"),n.setAttribute("height","18"),n.setAttribute("border","0"),n.style.marginBottom="5px",p.appendChild(n),p.setAttribute("title",mxResources.get("twitter")+\r\n" ("+a.formatFileSize(7168)+" max)"),p.style.verticalAlign="bottom",p.style.paddingTop="4px",p.style.minWidth="46px",p.className="geBtn",f.appendChild(p))}n=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});f.appendChild(n);p=mxUtils.button(mxResources.get("copy"),function(){k.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?k.select():document.execCommand("selectAll",!1,null);document.execCommand("copy");a.alert(mxResources.get("copiedToClipboard"))});5E5>d.length?\r\nmxClient.IS_SF||null!=document.documentMode?n.className="geBtn gePrimaryBtn":(f.appendChild(p),p.className="geBtn gePrimaryBtn",n.className="geBtn"):(f.appendChild(l),n.className="geBtn",l.className="geBtn gePrimaryBtn");b.appendChild(f);this.container=b};EmbedDialog.showPreviewOption=!0;\r\nvar GoogleSitesDialog=function(a,d){function c(){var a=null!=F&&null!=F.getTitle()?F.getTitle():this.defaultFilename;if(B.checked&&""!=q.value){var b="https://www.draw.io/gadget.xml?type=4&diagram="+encodeURIComponent(mxUtils.htmlEntities(q.value));null!=a&&(b+="&title="+encodeURIComponent(a));0<E.length&&(b+="&s="+E);""!=u.value&&"0"!=u.value&&(b+="&border="+u.value);""!=p.value&&(b+="&height="+p.value);b+="&pan="+(t.checked?"1":"0");b+="&zoom="+(v.checked?"1":"0");b+="&fit="+(A.checked?"1":"0");\r\nb+="&resize="+(x.checked?"1":"0");b+="&x0="+Number(n.value);b+="&y0="+k;g.mathEnabled&&(b+="&math=1");y.checked?b+="&edit=_blank":z.checked&&(b+="&edit="+encodeURIComponent(mxUtils.htmlEntities(window.location.href)));l.value=b}else F.constructor==DriveFile||F.constructor==DropboxFile?(b="https://www.draw.io/gadget.xml?embed=0&diagram=",""!=q.value?b+=encodeURIComponent(mxUtils.htmlEntities(q.value))+"&type=3":(b+=F.getHash().substring(1),b=F.constructor==DropboxFile?b+"&type=2":b+"&type=1"),null!=\r\na&&(b+="&title="+encodeURIComponent(a)),""!=p.value&&(a=parseInt(p.value)+parseInt(n.value),b+="&height="+a),l.value=b):l.value=""}var b=document.createElement("div"),g=a.editor.graph,f=g.getGraphBounds(),m=g.view.scale,e=Math.floor(f.x/m-g.view.translate.x),k=Math.floor(f.y/m-g.view.translate.y);mxUtils.write(b,mxResources.get("googleGadget")+":");mxUtils.br(b);var l=document.createElement("input");l.setAttribute("type","text");l.style.marginBottom="8px";l.style.marginTop="2px";l.style.width="410px";\r\nb.appendChild(l);mxUtils.br(b);this.init=function(){l.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?l.select():document.execCommand("selectAll",!1,null)};mxUtils.write(b,mxResources.get("top")+":");var n=document.createElement("input");n.setAttribute("type","text");n.setAttribute("size","4");n.style.marginRight="16px";n.style.marginLeft="4px";n.value=e;b.appendChild(n);mxUtils.write(b,mxResources.get("height")+":");var p=document.createElement("input");p.setAttribute("type","text");\r\np.setAttribute("size","4");p.style.marginLeft="4px";p.value=Math.ceil(f.height/m);b.appendChild(p);mxUtils.br(b);f=document.createElement("hr");f.setAttribute("size","1");f.style.marginBottom="16px";f.style.marginTop="16px";b.appendChild(f);mxUtils.write(b,mxResources.get("publicDiagramUrl")+":");mxUtils.br(b);var q=document.createElement("input");q.setAttribute("type","text");q.setAttribute("size","28");q.style.marginBottom="8px";q.style.marginTop="2px";q.style.width="410px";q.value=d||"";b.appendChild(q);\r\nmxUtils.br(b);mxUtils.write(b,mxResources.get("borderWidth")+":");var u=document.createElement("input");u.setAttribute("type","text");u.setAttribute("size","3");u.style.marginBottom="8px";u.style.marginLeft="4px";u.value="0";b.appendChild(u);mxUtils.br(b);var t=document.createElement("input");t.setAttribute("type","checkbox");t.setAttribute("checked","checked");t.defaultChecked=!0;t.style.marginLeft="16px";b.appendChild(t);mxUtils.write(b,mxResources.get("pan")+" ");var v=document.createElement("input");\r\nv.setAttribute("type","checkbox");v.setAttribute("checked","checked");v.defaultChecked=!0;v.style.marginLeft="8px";b.appendChild(v);mxUtils.write(b,mxResources.get("zoom")+" ");var z=document.createElement("input");z.setAttribute("type","checkbox");z.style.marginLeft="8px";z.setAttribute("title",window.location.href);b.appendChild(z);mxUtils.write(b,mxResources.get("edit")+" ");var y=document.createElement("input");y.setAttribute("type","checkbox");y.style.marginLeft="8px";b.appendChild(y);mxUtils.write(b,\r\nmxResources.get("asNew")+" ");mxUtils.br(b);var x=document.createElement("input");x.setAttribute("type","checkbox");x.setAttribute("checked","checked");x.defaultChecked=!0;x.style.marginLeft="16px";b.appendChild(x);mxUtils.write(b,mxResources.get("resize")+" ");var A=document.createElement("input");A.setAttribute("type","checkbox");A.style.marginLeft="8px";b.appendChild(A);mxUtils.write(b,mxResources.get("fit")+" ");var B=document.createElement("input");B.setAttribute("type","checkbox");B.style.marginLeft=\r\n"8px";b.appendChild(B);mxUtils.write(b,mxResources.get("embed")+" ");var E=a.getBasenames().join(";"),F=a.getCurrentFile();mxEvent.addListener(t,"change",c);mxEvent.addListener(v,"change",c);mxEvent.addListener(x,"change",c);mxEvent.addListener(A,"change",c);mxEvent.addListener(z,"change",c);mxEvent.addListener(y,"change",c);mxEvent.addListener(B,"change",c);mxEvent.addListener(p,"change",c);mxEvent.addListener(n,"change",c);mxEvent.addListener(u,"change",c);mxEvent.addListener(q,"change",c);c();\r\nmxEvent.addListener(l,"click",function(){l.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?l.select():document.execCommand("selectAll",!1,null)});f=document.createElement("div");f.style.paddingTop="12px";f.style.textAlign="right";m=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});m.className="geBtn gePrimaryBtn";f.appendChild(m);b.appendChild(f);this.container=b},CreateGraphDialog=function(a,d,c){var b=document.createElement("div");b.style.textAlign="right";this.init=\r\nfunction(){var d=document.createElement("div");d.style.position="relative";d.style.border="1px solid gray";d.style.width="100%";d.style.height="360px";d.style.overflow="hidden";d.style.marginBottom="16px";mxEvent.disableContextMenu(d);b.appendChild(d);var f=new Graph(d);f.setCellsCloneable(!0);f.setPanning(!0);f.setAllowDanglingEdges(!1);f.connectionHandler.select=!1;f.view.setTranslate(20,20);f.border=20;f.panningHandler.useLeftButtonForPanning=!0;var m="curved=1;";f.cellRenderer.installCellOverlayListeners=\r\nfunction(a,b,e){mxCellRenderer.prototype.installCellOverlayListeners.apply(this,arguments);mxEvent.addListener(e.node,mxClient.IS_POINTER?"pointerdown":"mousedown",function(e){b.fireEvent(new mxEventObject("pointerdown","event",e,"state",a))});!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&mxEvent.addListener(e.node,"touchstart",function(e){b.fireEvent(new mxEventObject("pointerdown","event",e,"state",a))})};f.getAllConnectionConstraints=function(){return null};f.connectionHandler.marker.highlight.keepOnTop=\r\n!1;f.connectionHandler.createEdgeState=function(a){a=f.createEdge(null,null,null,null,null,m);return new mxCellState(this.graph.view,a,this.graph.getCellStyle(a))};var e=f.getDefaultParent(),k=mxUtils.bind(this,function(a){var b=new mxCellOverlay(this.connectImage,"Add outgoing");b.cursor="hand";b.addListener(mxEvent.CLICK,function(b,c){f.connectionHandler.reset();f.clearSelection();var d=f.getCellGeometry(a),l;p(function(){l=f.insertVertex(e,null,"Entry",d.x,d.y,80,30,"rounded=1;");k(l);f.view.refresh(l);\r\nf.insertEdge(e,null,"",a,l,m)},function(){f.scrollCellToVisible(l)})});b.addListener("pointerdown",function(a,b){var e=b.getProperty("event"),c=b.getProperty("state");f.popupMenuHandler.hideMenu();f.stopEditing(!1);var d=mxUtils.convertPoint(f.container,mxEvent.getClientX(e),mxEvent.getClientY(e));f.connectionHandler.start(c,d.x,d.y);f.isMouseDown=!0;f.isMouseTrigger=mxEvent.isMouseEvent(e);mxEvent.consume(e)});f.addCellOverlay(a,b)});f.getModel().beginUpdate();var l;try{l=f.insertVertex(e,null,"Start",\r\n0,0,80,30,"ellipse"),k(l)}finally{f.getModel().endUpdate()}var n;"horizontalTree"==c?(n=new mxCompactTreeLayout(f),n.edgeRouting=!1,n.levelDistance=30,m="edgeStyle=elbowEdgeStyle;elbow=horizontal;"):"verticalTree"==c?(n=new mxCompactTreeLayout(f,!1),n.edgeRouting=!1,n.levelDistance=30,m="edgeStyle=elbowEdgeStyle;elbow=vertical;"):"radialTree"==c?(n=new mxRadialTreeLayout(f,!1),n.edgeRouting=!1,n.levelDistance=80):"verticalFlow"==c?n=new mxHierarchicalLayout(f,mxConstants.DIRECTION_NORTH):"horizontalFlow"==\r\nc?n=new mxHierarchicalLayout(f,mxConstants.DIRECTION_WEST):"organic"==c?(n=new mxFastOrganicLayout(f,!1),n.forceConstant=80):"circle"==c&&(n=new mxCircleLayout(f));if(null!=n){var p=function(a,b){f.getModel().beginUpdate();try{null!=a&&a(),n.execute(f.getDefaultParent(),l)}catch(x){throw x;}finally{var e=new mxMorphing(f);e.addListener(mxEvent.DONE,mxUtils.bind(this,function(){f.getModel().endUpdate();null!=b&&b()}));e.startAnimation()}},q=mxEdgeHandler.prototype.connect;mxEdgeHandler.prototype.connect=\r\nfunction(a,b,e,c,d){q.apply(this,arguments);p()};f.resizeCell=function(){mxGraph.prototype.resizeCell.apply(this,arguments);p()};f.connectionHandler.addListener(mxEvent.CONNECT,function(){p()})}var u=mxUtils.button(mxResources.get("close"),function(){a.confirm(mxResources.get("areYouSure"),function(){null!=d.parentNode&&(f.destroy(),d.parentNode.removeChild(d));a.hideDialog()})});u.className="geBtn";a.editor.cancelFirst&&b.appendChild(u);var t=mxUtils.button(mxResources.get("insert"),function(b){f.clearCellOverlays();\r\nvar e=f.getModel().getChildren(f.getDefaultParent());b=mxEvent.isAltDown(b)?a.editor.graph.getFreeInsertPoint():a.editor.graph.getCenterInsertPoint(f.getBoundingBoxFromGeometry(e,!0));e=a.editor.graph.importCells(e,b.x,b.y);b=a.editor.graph.view;var c=b.getBounds(e);c.x-=b.translate.x;c.y-=b.translate.y;a.editor.graph.scrollRectToVisible(c);a.editor.graph.setSelectionCells(e);null!=d.parentNode&&(f.destroy(),d.parentNode.removeChild(d));a.hideDialog()});b.appendChild(t);t.className="geBtn gePrimaryBtn";\r\na.editor.cancelFirst||b.appendChild(u)};this.container=b};\r\nCreateGraphDialog.prototype.connectImage=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjQ3OTk0QjMyRDcyMTFFNThGQThGNDVBMjNBMjFDMzkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjQ3OTk0QjQyRDcyMTFFNThGQThGNDVBMjNBMjFDMzkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyRjA0N0I2MjJENzExMUU1OEZBOEY0NUEyM0EyMUMzOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGNDc5OTRCMjJENzIxMUU1OEZBOEY0NUEyM0EyMUMzOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjIf+MgAAATlSURBVHjanFZraFxFFD735u4ru3ls0yZG26ShgmJoKK1J2vhIYzBgRdtIURHyw1hQUH9IxIgI2h8iCEUF/1RRlNQYCsYfCTHVhiTtNolpZCEStqSC22xIsrs1bDfu7t37Gs/cO3Ozxs1DBw73zpk555vzmHNGgJ0NYatFgmNLYUHYUoHASMz5ijmgVLmxgfKCUiBxC4ACJAeSG8nb1dVVOTc3dyoSibwWDofPBIPBJzo7O8vpGtvjpDICGztxkciECpF2LS0tvZtOpwNkk5FKpcYXFxffwL1+JuPgllPj8nk1F6RoaGjoKCqZ5ApljZDZO4SMRA0SuG2QUJIQRV8HxMOM9vf3H0ZZH9Nhg20MMl2QkFwjIyNHWlpahtADnuUMwLcRHX5aNSBjCJYEsSSLUeLEbhGe3ytCmQtA1/XY+Pj46dbW1iDuyCJp9BC5ycBj4hoeHq5ra2sbw0Xn1ZgBZ+dVkA1Lc+6p0Ck2p0QS4Ox9EhwpEylYcmBg4LH29vYQLilIOt0u5FhDfevNZDI/u93uw6PLOrwTUtjxrbPYbhD42WgMrF8JmR894ICmCgnQjVe8Xu8pXEkzMJKbuo5oNPomBbm1ZsD7s2kwFA1JZ6QBUXWT1nmGNc/qoMgavDcrQzxjQGFh4aOYIJ0sFAXcEtui4uLiVjr5KpSBVFYDDZVrWUaKRRWSAYeK0fmKykgDXbVoNaPChRuyqdDv97czL5nXxQbq6empQmsaklkDBiNpSwFVrmr2P6UyicD5piI4f8wHh0oEm8/p4h8pyGiEWvVQd3e3nxtjAzU1NR2jP7NRBWQ8GbdEzzJAmc0V3RR4cI8Dvmwuhc8fKUFA0d6/ltHg5p+Kuaejo6OeY0jcNJ/PV00ZS0nFUoZRvvFS1bZFsKHCCQ2Pl8H0chY+C96B6ZUsrCQ1qKtwQVFRURW/QhIXMAzDPAZ6BgOr8tTa8dDxCmiYGApaJbJMxSzV+brE8pdgWkcpY5dbMF1AR9XH8/xu2ilef48bvn92n82ZwHh+8ssqTEXS9p7dHisiiURikd8PbpExNTU1UVNTA3V3Y7lC16n0gpB/NwpNcZjfa7dScC4Qh0kOQCwnlEgi3F/hMVl9fX0zvKrzSk2lfXjRhj0eT/2rvWG4+Pta3oJY7XfC3hInXAv/ldeFLx8shQ+eqQL0UAAz7ylkpej5eNZRVBWL6BU6ef14OYiY1oqyTtmsavr/5koaRucT1pzx+ZpL1+GV5nLutksUgIcmtwTRiuuVZXnU5XId7A2swJkfFsymRWC91hHg1Viw6x23+7vn9sPJ+j20BE1hCXqSWaNSQ8ScbknRZWxub1PGCw/fBV+c3AeijlUbY5bBjEqr9GuYZP4jP41WudGSC6erTRCqdGZm5i1WvXWeDHnbBCZGc2Nj4wBl/hZOwrmBBfgmlID1HmGJutHaF+tKoevp/XCgstDkjo2NtWKLuc6AVN4mNjY+s1XQxoenOoFuDPHGtnRbJj9ej5GvL0dI7+giuRyMk1giazc+DP6vgUDgOJVlOv7R+PJ12QIeL6SyeDz+Kfp8ZrNWjgDTsVjsQ7qXyTjztXJhm9ePxFLfMTg4eG9tbe1RTP9KFFYQfHliYmIS69kCC7jKYmKwxxD5P88tkVkqbPPcIps9t4T/+HjcuJ/s5BFJgf4WYABCtxGuxIZ90gAAAABJRU5ErkJggg==":IMAGE_PATH+\r\n"/handle-connect.png",26,26);\r\nvar BackgroundImageDialog=function(a,d,c){var b=document.createElement("div");b.style.whiteSpace="nowrap";var g=document.createElement("h2");mxUtils.write(g,mxResources.get("backgroundImage"));g.style.marginTop="0px";b.appendChild(g);mxUtils.write(b,mxResources.get("image")+" "+mxResources.get("url")+":");mxUtils.br(b);var f=document.createElement("input");f.setAttribute("type","text");f.style.marginTop="4px";f.style.marginBottom="4px";f.style.width="350px";f.value=null!=c?c.src:"";var m=!1,e=!1,\r\nk=function(b,c){null!=b&&e||(f.value=mxUtils.trim(f.value),m||""==f.value||a.isOffline()?(l.value="",n.value="",null!=c&&c("")):a.loadImage(f.value,function(a){l.value=a.width;n.value=a.height;null!=c&&c(f.value)},function(){a.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResources.get("ok"));l.value="";n.value="";null!=c&&c(null)}))};this.init=function(){f.focus();if(Graph.fileSupport){f.setAttribute("placeholder",mxResources.get("dragImagesHere"));var e=b.parentNode,c=null;\r\nmxEvent.addListener(e,"dragleave",function(a){null!=c&&(c.parentNode.removeChild(c),c=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(e,"dragover",mxUtils.bind(this,function(b){null==c&&(!mxClient.IS_IE||10<document.documentMode)&&(c=a.highlightElement(e));b.stopPropagation();b.preventDefault()}));mxEvent.addListener(e,"drop",mxUtils.bind(this,function(b){null!=c&&(c.parentNode.removeChild(c),c=null);if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxBackgroundSize,\r\nfunction(a,b,e,c,d,l){f.value=a;k()},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!0,a.maxBackgroundBytes,a.maxBackgroundBytes,!0);else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var e=b.dataTransfer.getData("text/uri-list");/\\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(e)&&(f.value=decodeURIComponent(e),k())}b.stopPropagation();b.preventDefault()}),!1)}};b.appendChild(f);mxUtils.br(b);mxUtils.br(b);mxUtils.write(b,mxResources.get("width")+\r\n":");var l=document.createElement("input");l.setAttribute("type","text");l.style.width="60px";l.style.marginLeft="4px";l.style.marginRight="16px";l.value=null!=c?c.width:"";b.appendChild(l);mxUtils.write(b,mxResources.get("height")+":");var n=document.createElement("input");n.setAttribute("type","text");n.style.width="60px";n.style.marginLeft="4px";n.style.marginRight="16px";n.value=null!=c?c.height:"";b.appendChild(n);c=mxUtils.button(mxResources.get("reset"),function(){f.value="";l.value="";n.value=\r\n"";m=!1});mxEvent.addGestureListeners(c,function(){m=!0});c.className="geBtn";c.width="100";b.appendChild(c);mxUtils.br(b);mxEvent.addListener(f,"change",k);ImageDialog.filePicked=function(a){a.action==google.picker.Action.PICKED&&null!=a.docs[0].thumbnails&&(a=a.docs[0].thumbnails[a.docs[0].thumbnails.length-1],null!=a&&(f.value=a.url,k()));f.focus()};c=document.createElement("div");c.style.marginTop="40px";c.style.textAlign="right";g=mxUtils.button(mxResources.get("cancel"),function(){m=!0;a.hideDialog()});\r\ng.className="geBtn";a.editor.cancelFirst&&c.appendChild(g);applyBtn=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();k(null,function(a){d(""!=a&&null!=a?new mxImage(f.value,l.value,n.value):null,null==a)})});mxEvent.addGestureListeners(applyBtn,function(){e=!0});applyBtn.className="geBtn gePrimaryBtn";c.appendChild(applyBtn);a.editor.cancelFirst||c.appendChild(g);b.appendChild(c);this.container=b},ParseDialog=function(a,d,c){function b(b,e,c){var d=b.split("\\n");if("plantUmlPng"==\r\ne||"plantUmlSvg"==e||"plantUmlTxt"==e){if(a.spinner.spin(document.body,mxResources.get("inserting"))){var k=function(b,e,d,k,g){f=mxEvent.isAltDown(c)?f:l.getCenterInsertPoint(new mxRectangle(0,0,k,g));var n=null;l.getModel().beginUpdate();try{n="txt"==e?a.insertAsPreText(d,f.x,f.y):l.insertVertex(null,null,null,f.x,f.y,k,g,"shape=image;noLabel=1;verticalAlign=top;aspect=fixed;imageAspect=0;image="+a.convertDataUri(d)+";"),l.setAttributeForCell(n,"plantUmlData",JSON.stringify({data:b,format:e},null,\r\n2))}finally{l.getModel().endUpdate()}null!=n&&(l.setSelectionCell(n),l.scrollCellToVisible(n))},l=a.editor.graph,g="plantUmlTxt"==e?"txt":"plantUmlPng"==e?"png":"svg";"@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"==b&&"svg"==g?window.setTimeout(function(){a.spinner.stop();k(b,g,"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBjb250ZW50U2NyaXB0VHlwZT0iYXBwbGljYXRpb24vZWNtYXNjcmlwdCIgY29udGVudFN0eWxlVHlwZT0idGV4dC9jc3MiIGhlaWdodD0iMjEycHgiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHN0eWxlPSJ3aWR0aDoyOTVweDtoZWlnaHQ6MjEycHg7IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyOTUgMjEyIiB3aWR0aD0iMjk1cHgiIHpvb21BbmRQYW49Im1hZ25pZnkiPjxkZWZzLz48Zz48bGluZSBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsgc3Ryb2tlLWRhc2hhcnJheTogNS4wLDUuMDsiIHgxPSIzMSIgeDI9IjMxIiB5MT0iMzQuNDg4MyIgeTI9IjE3MS43MzA1Ii8+PGxpbmUgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjA7IHN0cm9rZS1kYXNoYXJyYXk6IDUuMCw1LjA7IiB4MT0iMjY0LjUiIHgyPSIyNjQuNSIgeTE9IjM0LjQ4ODMiIHkyPSIxNzEuNzMwNSIvPjxyZWN0IGZpbGw9IiNGRUZFQ0UiIGhlaWdodD0iMzAuNDg4MyIgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjU7IiB3aWR0aD0iNDciIHg9IjgiIHk9IjMiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIzMyIgeD0iMTUiIHk9IjIzLjUzNTIiPkFsaWNlPC90ZXh0PjxyZWN0IGZpbGw9IiNGRUZFQ0UiIGhlaWdodD0iMzAuNDg4MyIgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjU7IiB3aWR0aD0iNDciIHg9IjgiIHk9IjE3MC43MzA1Ii8+PHRleHQgZmlsbD0iIzAwMDAwMCIgZm9udC1mYW1pbHk9InNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGxlbmd0aEFkanVzdD0ic3BhY2luZ0FuZEdseXBocyIgdGV4dExlbmd0aD0iMzMiIHg9IjE1IiB5PSIxOTEuMjY1NiI+QWxpY2U8L3RleHQ+PHJlY3QgZmlsbD0iI0ZFRkVDRSIgaGVpZ2h0PSIzMC40ODgzIiBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuNTsiIHdpZHRoPSI0MCIgeD0iMjQ0LjUiIHk9IjMiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIyNiIgeD0iMjUxLjUiIHk9IjIzLjUzNTIiPkJvYjwvdGV4dD48cmVjdCBmaWxsPSIjRkVGRUNFIiBoZWlnaHQ9IjMwLjQ4ODMiIHN0eWxlPSJzdHJva2U6ICNBODAwMzY7IHN0cm9rZS13aWR0aDogMS41OyIgd2lkdGg9IjQwIiB4PSIyNDQuNSIgeT0iMTcwLjczMDUiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIyNiIgeD0iMjUxLjUiIHk9IjE5MS4yNjU2Ij5Cb2I8L3RleHQ+PHBvbHlnb24gZmlsbD0iI0E4MDAzNiIgcG9pbnRzPSIyNTIuNSw2MS43OTg4LDI2Mi41LDY1Ljc5ODgsMjUyLjUsNjkuNzk4OCwyNTYuNSw2NS43OTg4IiBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsiLz48bGluZSBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsiIHgxPSIzMS41IiB4Mj0iMjU4LjUiIHkxPSI2NS43OTg4IiB5Mj0iNjUuNzk4OCIvPjx0ZXh0IGZpbGw9IiMwMDAwMDAiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBsZW5ndGhBZGp1c3Q9InNwYWNpbmdBbmRHbHlwaHMiIHRleHRMZW5ndGg9IjE0NyIgeD0iMzguNSIgeT0iNjEuMDU2NiI+QXV0aGVudGljYXRpb24gUmVxdWVzdDwvdGV4dD48cG9seWdvbiBmaWxsPSIjQTgwMDM2IiBwb2ludHM9IjQyLjUsOTEuMTA5NCwzMi41LDk1LjEwOTQsNDIuNSw5OS4xMDk0LDM4LjUsOTUuMTA5NCIgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjA7Ii8+PGxpbmUgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjA7IHN0cm9rZS1kYXNoYXJyYXk6IDIuMCwyLjA7IiB4MT0iMzYuNSIgeDI9IjI2My41IiB5MT0iOTUuMTA5NCIgeTI9Ijk1LjEwOTQiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMyIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIxNTciIHg9IjQ4LjUiIHk9IjkwLjM2NzIiPkF1dGhlbnRpY2F0aW9uIFJlc3BvbnNlPC90ZXh0Pjxwb2x5Z29uIGZpbGw9IiNBODAwMzYiIHBvaW50cz0iMjUyLjUsMTIwLjQxOTksMjYyLjUsMTI0LjQxOTksMjUyLjUsMTI4LjQxOTksMjU2LjUsMTI0LjQxOTkiIHN0eWxlPSJzdHJva2U6ICNBODAwMzY7IHN0cm9rZS13aWR0aDogMS4wOyIvPjxsaW5lIHN0eWxlPSJzdHJva2U6ICNBODAwMzY7IHN0cm9rZS13aWR0aDogMS4wOyIgeDE9IjMxLjUiIHgyPSIyNTguNSIgeTE9IjEyNC40MTk5IiB5Mj0iMTI0LjQxOTkiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMyIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIxOTkiIHg9IjM4LjUiIHk9IjExOS42Nzc3Ij5Bbm90aGVyIGF1dGhlbnRpY2F0aW9uIFJlcXVlc3Q8L3RleHQ+PHBvbHlnb24gZmlsbD0iI0E4MDAzNiIgcG9pbnRzPSI0Mi41LDE0OS43MzA1LDMyLjUsMTUzLjczMDUsNDIuNSwxNTcuNzMwNSwzOC41LDE1My43MzA1IiBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsiLz48bGluZSBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsgc3Ryb2tlLWRhc2hhcnJheTogMi4wLDIuMDsiIHgxPSIzNi41IiB4Mj0iMjYzLjUiIHkxPSIxNTMuNzMwNSIgeTI9IjE1My43MzA1Ii8+PHRleHQgZmlsbD0iIzAwMDAwMCIgZm9udC1mYW1pbHk9InNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTMiIGxlbmd0aEFkanVzdD0ic3BhY2luZ0FuZEdseXBocyIgdGV4dExlbmd0aD0iMjA5IiB4PSI0OC41IiB5PSIxNDguOTg4MyI+QW5vdGhlciBhdXRoZW50aWNhdGlvbiBSZXNwb25zZTwvdGV4dD48IS0tTUQ1PVs3ZjNlNGQwYzkwMWVmZGJjNTdlYjQ0MjQ5YTNiODE5N10KQHN0YXJ0dW1sDQpza2lucGFyYW0gc2hhZG93aW5nIGZhbHNlDQpBbGljZSAtPiBCb2I6IEF1dGhlbnRpY2F0aW9uIFJlcXVlc3QNCkJvYiAtIC0+IEFsaWNlOiBBdXRoZW50aWNhdGlvbiBSZXNwb25zZQ0KDQpBbGljZSAtPiBCb2I6IEFub3RoZXIgYXV0aGVudGljYXRpb24gUmVxdWVzdA0KQWxpY2UgPC0gLSBCb2I6IEFub3RoZXIgYXV0aGVudGljYXRpb24gUmVzcG9uc2UNCkBlbmR1bWwNCgpQbGFudFVNTCB2ZXJzaW9uIDEuMjAyMC4wMihTdW4gTWFyIDAxIDA0OjIyOjA3IENTVCAyMDIwKQooTUlUIHNvdXJjZSBkaXN0cmlidXRpb24pCkphdmEgUnVudGltZTogT3BlbkpESyBSdW50aW1lIEVudmlyb25tZW50CkpWTTogT3BlbkpESyA2NC1CaXQgU2VydmVyIFZNCkphdmEgVmVyc2lvbjogMTIrMzMKT3BlcmF0aW5nIFN5c3RlbTogTWFjIE9TIFgKRGVmYXVsdCBFbmNvZGluZzogVVRGLTgKTGFuZ3VhZ2U6IGVuCkNvdW50cnk6IFVTCi0tPjwvZz48L3N2Zz4=",\r\n295,212)},200):a.generatePlantUmlImage(b,g,function(e,c,d){a.spinner.stop();k(b,g,e,c,d)},function(b){a.handleError(b)})}}else if("mermaid"==e)a.spinner.spin(document.body,mxResources.get("inserting"))&&(l=a.editor.graph,a.generateMermaidImage(b,g,function(e,d,k){f=mxEvent.isAltDown(c)?f:l.getCenterInsertPoint(new mxRectangle(0,0,d,k));a.spinner.stop();var g=null;l.getModel().beginUpdate();try{g=l.insertVertex(null,null,null,f.x,f.y,d,k,"shape=image;noLabel=1;verticalAlign=top;imageAspect=1;image="+\r\ne+";"),l.setAttributeForCell(g,"mermaidData",JSON.stringify({data:b,config:EditorUi.defaultMermaidConfig},null,2))}finally{l.getModel().endUpdate()}null!=g&&(l.setSelectionCell(g),l.scrollCellToVisible(g))},function(b){a.handleError(b)}));else if("table"==e){var n=null,p=[],q=0;for(e=0;e<d.length;e++){var m=mxUtils.trim(d[e]);if("create table"==m.substring(0,12).toLowerCase())m=mxUtils.trim(m.substring(12)),"("==m.charAt(m.length-1)&&(m=mxUtils.trim(m.substring(0,m.length-1))),n=new mxCell(m,new mxGeometry(q,\r\n0,160,40),"shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;"),n.vertex=!0,p.push(n),m=a.editor.graph.getPreferredSizeForCell(t),null!=m&&(n.geometry.width=m.width+10);else if(null!=n&&")"==m.charAt(0))q+=n.geometry.width+40,n=null;else if("("!=m&&null!=n&&(m=m.substring(0,","==m.charAt(m.length-1)?m.length-1:m.length),"primary key"!=m.substring(0,11).toLowerCase())){var u=m.toLowerCase().indexOf("primary key"),\r\nm=m.replace(/primary key/i,""),t=new mxCell("",new mxGeometry(0,0,160,30),"shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom="+(0<u?"1":"0")+";");t.vertex=!0;var G=new mxCell(0<u?"PK":"",new mxGeometry(0,0,30,30),"shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;"+(0<u?"fontStyle=1;":""));G.vertex=!0;t.insert(G);m=new mxCell(m,new mxGeometry(30,\r\n0,130,30),"shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;"+(0<u?"fontStyle=5;":""));m.vertex=!0;t.insert(m);m=a.editor.graph.getPreferredSizeForCell(m);null!=m&&n.geometry.width<m.width+30&&(n.geometry.width=Math.min(320,Math.max(n.geometry.width,m.width+30)));n.insert(t);n.geometry.height+=30}}0<p.length&&(l=a.editor.graph,f=mxEvent.isAltDown(c)?f:l.getCenterInsertPoint(l.getBoundingBoxFromGeometry(p,!0)),l.setSelectionCells(l.importCells(p,\r\nf.x,f.y)),l.scrollCellToVisible(l.getSelectionCell()))}else if("list"==e){if(0<d.length){l=a.editor.graph;t=null;p=[];for(e=n=0;e<d.length;e++)";"!=d[e].charAt(0)&&(0==d[e].length?t=null:null==t?(t=new mxCell(d[e],new mxGeometry(n,0,160,30),"swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;"),t.vertex=!0,p.push(t),m=l.getPreferredSizeForCell(t),null!=m&&t.geometry.width<m.width+10&&(t.geometry.width=\r\nm.width+10),n+=t.geometry.width+40):"--"==d[e]?(m=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;"),m.vertex=!0,t.geometry.height+=m.geometry.height,t.insert(m)):0<d[e].length&&(q=new mxCell(d[e],new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"),\r\nq.vertex=!0,m=l.getPreferredSizeForCell(q),null!=m&&q.geometry.width<m.width&&(q.geometry.width=m.width),t.geometry.width=Math.max(t.geometry.width,q.geometry.width),t.geometry.height+=q.geometry.height,t.insert(q)));if(0<p.length){f=mxEvent.isAltDown(c)?f:l.getCenterInsertPoint(l.getBoundingBoxFromGeometry(p,!0));l.getModel().beginUpdate();try{p=l.importCells(p,f.x,f.y);m=[];for(e=0;e<p.length;e++)m.push(p[e]),m=m.concat(p[e].children);l.fireEvent(new mxEventObject("cellsInserted","cells",m))}finally{l.getModel().endUpdate()}l.setSelectionCells(p);\r\nl.scrollCellToVisible(l.getSelectionCell())}}}else{var t=function(a){var b=K[a];null==b&&(b=new mxCell(a,new mxGeometry(0,0,80,30),"whiteSpace=wrap;html=1;"),b.vertex=!0,K[a]=b,p.push(b));return b},K={},p=[];for(e=0;e<d.length;e++)if(";"!=d[e].charAt(0)){var M=d[e].split("->");2<=M.length&&(u=t(M[0]),G=t(M[M.length-1]),M=new mxCell(2<M.length?M[1]:"",new mxGeometry),M.edge=!0,u.insertEdge(M,!0),G.insertEdge(M,!1),p.push(M))}if(0<p.length){d=document.createElement("div");d.style.visibility="hidden";\r\ndocument.body.appendChild(d);l=new Graph(d);l.getModel().beginUpdate();try{p=l.importCells(p);for(e=0;e<p.length;e++)l.getModel().isVertex(p[e])&&(m=l.getPreferredSizeForCell(p[e]),p[e].geometry.width=Math.max(p[e].geometry.width,m.width),p[e].geometry.height=Math.max(p[e].geometry.height,m.height));n=new mxFastOrganicLayout(l);n.disableEdgeStyle=!1;n.forceConstant=120;n.execute(l.getDefaultParent());q=new mxParallelEdgeLayout(l);q.spacing=20;q.execute(l.getDefaultParent())}finally{l.getModel().endUpdate()}l.clearCellOverlays();\r\nm=[];a.editor.graph.getModel().beginUpdate();try{p=l.getModel().getChildren(l.getDefaultParent()),f=mxEvent.isAltDown(c)?f:a.editor.graph.getCenterInsertPoint(l.getBoundingBoxFromGeometry(p,!0)),m=a.editor.graph.importCells(p,f.x,f.y),a.editor.graph.fireEvent(new mxEventObject("cellsInserted","cells",m))}finally{a.editor.graph.getModel().endUpdate()}a.editor.graph.setSelectionCells(m);a.editor.graph.scrollCellToVisible(a.editor.graph.getSelectionCell());l.destroy();d.parentNode.removeChild(d)}}}function g(){return"list"==\r\ne.value?"Person\\n-name: String\\n-birthDate: Date\\n--\\n+getName(): String\\n+setName(String): void\\n+isBirthday(): boolean\\n\\nAddress\\n-street: String\\n-city: String\\n-state: String":"mermaid"==e.value?"graph TD;\\n A--\\x3eB;\\n A--\\x3eC;\\n B--\\x3eD;\\n C--\\x3eD;":"table"==e.value?"CREATE TABLE Suppliers\\n(\\nsupplier_id int NOT NULL PRIMARY KEY,\\nsupplier_name char(50) NOT NULL,\\ncontact_name char(50),\\n);\\nCREATE TABLE Customers\\n(\\ncustomer_id int NOT NULL PRIMARY KEY,\\ncustomer_name char(50) NOT NULL,\\naddress char(50),\\ncity char(50),\\nstate char(25),\\nzip_code char(10)\\n);\\n":\r\n"plantUmlPng"==e.value?"@startuml\\nskinparam backgroundcolor transparent\\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":"plantUmlSvg"==e.value||"plantUmlTxt"==e.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":\r\n";Example:\\na->b\\nb->edge label->c\\nc->a\\n"}var f=a.editor.graph.getFreeInsertPoint();d=document.createElement("div");d.style.textAlign="right";var m=document.createElement("textarea");m.style.resize="none";m.style.width="100%";m.style.height="354px";m.style.marginBottom="16px";var e=document.createElement("select");if("formatSql"==c||"mermaid"==c)e.style.display="none";var k=document.createElement("option");k.setAttribute("value","list");mxUtils.write(k,mxResources.get("list"));"plantUml"!=c&&e.appendChild(k);\r\nnull!=c&&"fromText"!=c||k.setAttribute("selected","selected");k=document.createElement("option");k.setAttribute("value","table");mxUtils.write(k,mxResources.get("formatSql"));"formatSql"==c&&(e.appendChild(k),k.setAttribute("selected","selected"));k=document.createElement("option");k.setAttribute("value","mermaid");mxUtils.write(k,mxResources.get("formatSql"));"mermaid"==c&&(e.appendChild(k),k.setAttribute("selected","selected"));k=document.createElement("option");k.setAttribute("value","diagram");\r\nmxUtils.write(k,mxResources.get("diagram"));"plantUml"!=c&&e.appendChild(k);k=document.createElement("option");k.setAttribute("value","plantUmlSvg");mxUtils.write(k,mxResources.get("plantUml")+" ("+mxResources.get("formatSvg")+")");"plantUml"==c&&k.setAttribute("selected","selected");var l=document.createElement("option");l.setAttribute("value","plantUmlPng");mxUtils.write(l,mxResources.get("plantUml")+" ("+mxResources.get("formatPng")+")");var n=document.createElement("option");n.setAttribute("value",\r\n"plantUmlTxt");mxUtils.write(n,mxResources.get("plantUml")+" ("+mxResources.get("text")+")");EditorUi.enablePlantUml&&Graph.fileSupport&&!a.isOffline()&&"plantUml"==c&&(e.appendChild(k),e.appendChild(l),e.appendChild(n));var p=g();m.value=p;d.appendChild(m);this.init=function(){m.focus()};Graph.fileSupport&&(m.addEventListener("dragover",function(a){a.stopPropagation();a.preventDefault()},!1),m.addEventListener("drop",function(a){a.stopPropagation();a.preventDefault();if(0<a.dataTransfer.files.length){a=\r\na.dataTransfer.files[0];var b=new FileReader;b.onload=function(a){m.value=a.target.result};b.readAsText(a)}},!1));d.appendChild(e);mxEvent.addListener(e,"change",function(){var a=g();if(0==m.value.length||m.value==p)p=a,m.value=p});a.isOffline()||"mermaid"!=c&&"plantUml"!=c||(k=mxUtils.button(mxResources.get("help"),function(){a.openLink("mermaid"==c?"https://mermaid-js.github.io/mermaid/#/":"https://plantuml.com/")}),k.className="geBtn",d.appendChild(k));k=mxUtils.button(mxResources.get("close"),\r\nfunction(){m.value==p?a.hideDialog():a.confirm(mxResources.get("areYouSure"),function(){a.hideDialog()})});k.className="geBtn";a.editor.cancelFirst&&d.appendChild(k);l=mxUtils.button(mxResources.get("insert"),function(c){a.hideDialog();b(m.value,e.value,c)});d.appendChild(l);l.className="geBtn gePrimaryBtn";a.editor.cancelFirst||d.appendChild(k);this.container=d},NewDialog=function(a,d,c,b,g,f,m,e,k,l,n,p,q,u,t,v,z,y){function x(a){null!=a&&(na=S=a?135:140);a=!0;if(null!=ia)for(;M<ia.length&&(a||\r\n0!=mxUtils.mod(M,30));){var b=ia[M++],b=E(b.url,b.libs,b.title,b.tooltip?b.tooltip:b.title,b.select,b.imgUrl,b.info,b.onClick,b.preview,b.noImg,b.clibs);a&&b.click();a=!1}}function A(){if(Y&&null!=u)c||a.hideDialog(),u(Y,ba,K.value);else if(b)c||a.hideDialog(),b(X,K.value,ga,ha);else{var e=K.value;null!=e&&0<e.length&&a.pickFolder(a.mode,function(b){a.createFile(e,X,null!=ha&&0<ha.length?ha:null,null,function(){a.hideDialog()},null,b,null,null!=ea&&0<ea.length?ea:null)},a.mode!=App.MODE_GOOGLE||null==\r\na.stateArg||null==a.stateArg.folderId)}}function B(a,b,c,d,l,f,g){null!=Z&&(Z.style.backgroundColor="transparent",Z.style.border="1px solid transparent");I.removeAttribute("disabled");X=b;ha=c;ea=f;Z=a;Y=d;ga=g;ba=l;Z.style.backgroundColor=e;Z.style.border=k}function E(b,e,c,d,k,l,f,g,n,p,m){function q(b,e){if(null==H){var c=b,c=/^https?:\\/\\//.test(c)&&!a.editor.isCorsEnabledForUrl(c)?PROXY_URL+"?url="+encodeURIComponent(c):TEMPLATE_PATH+"/"+c;mxUtils.get(c,mxUtils.bind(this,function(a){200<=a.getStatus()&&\r\n299>=a.getStatus()&&(H=a.getText());e(H)}))}else e(H)}function x(e,d,k){if(null!=e&&mxUtils.isAncestorNode(document.body,t)){e=mxUtils.parseXml(e);e=Editor.parseDiagramNode(e.documentElement);var l=new mxCodec(e.ownerDocument),g=new mxGraphModel;l.decode(e,g);e=g.root.getChildAt(0).children;a.sidebar.createTooltip(t,e,Math.min((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-80,1E3),Math.min((window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)-\r\n80,800),null!=c?mxResources.get(c,null,c):null,!0,new mxPoint(d,k),!0,function(){C=null!=a.sidebar.tooltip&&"none"!=a.sidebar.tooltip.style.display;B(t,null,null,b,f,m)},!0)}}function u(e,c){null==b||N||a.sidebar.currentElt==t?a.sidebar.hideTooltip():(a.sidebar.hideTooltip(),a.sidebar.currentElt=t,N=!0,q(b,function(b){N&&a.sidebar.currentElt==t&&x(b,mxEvent.getClientX(e),mxEvent.getClientY(e));N=!1}))}var t=document.createElement("div");t.className="geTemplate";t.style.position="relative";t.style.height=\r\nna+"px";t.style.width=S+"px";var H=null;Editor.isDarkMode()&&(t.style.filter="invert(100%)");null!=c?t.setAttribute("title",mxResources.get(c,null,c)):null!=d&&0<d.length&&t.setAttribute("title",d);var N=!1;if(null!=l){t.style.display="inline-flex";t.style.justifyContent="center";t.style.alignItems="center";k=document.createElement("img");k.setAttribute("src",l);k.setAttribute("alt",d);k.style.maxWidth=na+"px";k.style.maxHeight=S+"px";var v=l.replace(".drawio.xml","").replace(".drawio","").replace(".xml",\r\n"");t.appendChild(k);k.onerror=function(){this.src!=v?this.src=v:(this.src=Editor.errorImage,this.onerror=null)};mxEvent.addGestureListeners(t,mxUtils.bind(this,function(a){B(t,null,null,b,f,m)}),null,null);mxEvent.addListener(t,"dblclick",function(a){A();mxEvent.consume(a)})}else if(!p&&null!=b&&0<b.length){var z=function(a){I.setAttribute("disabled","disabled");t.style.backgroundColor="transparent";t.style.border="1px solid transparent";J.spin(O);q(b,function(b){J.stop();null!=b&&(B(t,b,e,null,\r\nnull,m,R),a&&A())})};d=n||TEMPLATE_PATH+"/"+b.substring(0,b.length-4)+".png";t.style.backgroundImage="url("+d+")";t.style.backgroundPosition="center center";t.style.backgroundRepeat="no-repeat";null!=c&&(t.innerHTML=\'<table width="100%" height="100%" style="line-height:1.3em;\'+(Editor.isDarkMode()?"":"background:rgba(255,255,255,0.85);")+\'border:inherit;"><tr><td align="center" valign="middle"><span style="display:inline-block;padding:4px 8px 4px 8px;user-select:none;border-radius:3px;background:rgba(255,255,255,0.85);overflow:hidden;text-overflow:ellipsis;max-width:\'+\r\n(na-34)+\'px;">\'+mxUtils.htmlEntities(mxResources.get(c,null,c))+"</span></td></tr></table>");mxEvent.addGestureListeners(t,mxUtils.bind(this,function(a){z()}),null,null);mxEvent.addListener(t,"dblclick",function(a){z(!0);mxEvent.consume(a)})}else t.innerHTML=\'<table width="100%" height="100%" style="line-height:1.3em;"><tr><td align="center" valign="middle"><span style="display:inline-block;padding:4px 8px 4px 8px;user-select:none;border-radius:3px;background:#ffffff;overflow:hidden;text-overflow:ellipsis;max-width:\'+\r\n(na-34)+\'px;">\'+mxUtils.htmlEntities(mxResources.get(c,null,c))+"</span></td></tr></table>",k&&B(t),mxEvent.addGestureListeners(t,mxUtils.bind(this,function(a){B(t,null,null,b,f)}),null,null),null!=g?mxEvent.addListener(t,"click",g):(mxEvent.addListener(t,"click",function(a){B(t,null,null,b,f)}),mxEvent.addListener(t,"dblclick",function(a){A();mxEvent.consume(a)}));if(null!=b){var V=document.createElement("img");V.setAttribute("src",Sidebar.prototype.searchImage);V.setAttribute("title",mxResources.get("preview"));\r\nV.className="geActiveButton";V.style.position="absolute";V.style.cursor="default";V.style.padding="8px";V.style.right="0px";V.style.top="0px";t.appendChild(V);var C=!1;mxEvent.addGestureListeners(V,mxUtils.bind(this,function(b){C=a.sidebar.currentElt==t}),null,null);mxEvent.addListener(V,"click",mxUtils.bind(this,function(a){C||u(a,V);mxEvent.consume(a)}))}O.appendChild(t);return t}function F(){function a(a,b){var e=mxResources.get(a);null==e&&(e=a.substring(0,1).toUpperCase()+a.substring(1));18<\r\ne.length&&(e=e.substring(0,18)+"&hellip;");return e+" ("+b.length+")"}function b(a,b,e){mxEvent.addListener(b,"click",function(){ka!=b&&(ka.style.backgroundColor="",ka=b,ka.style.backgroundColor=m,O.scrollTop=0,O.innerHTML="",M=0,ia=e?ca[a][e]:aa[a],H=null,x(!1))})}oa&&(oa=!1,mxEvent.addListener(O,"scroll",function(a){O.scrollTop+O.clientHeight>=O.scrollHeight&&(x(),mxEvent.consume(a))}));if(0<qa){var e=document.createElement("div");e.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;";\r\nmxUtils.write(e,mxResources.get("custom"));ja.appendChild(e);for(var c in da){var d=document.createElement("div"),k=c,e=da[c];18<k.length&&(k=k.substring(0,18)+"&hellip;");d.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;user-select:none;";d.setAttribute("title",k+" ("+e.length+")");mxUtils.write(d,d.getAttribute("title"));null!=l&&(d.style.padding=l);ja.appendChild(d);(function(a,b){mxEvent.addListener(d,"click",\r\nfunction(){ka!=b&&(ka.style.backgroundColor="",ka=b,ka.style.backgroundColor=m,O.scrollTop=0,O.innerHTML="",M=0,ia=da[a],H=null,x(!1))})})(c,d)}e=document.createElement("div");e.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;";mxUtils.write(e,"draw.io");ja.appendChild(e)}for(c in aa){var k=ca[c],f=d=document.createElement(k?"ul":"div"),e=aa[c],g=a(c,e);if(null!=k){var n=document.createElement("li"),p=document.createElement("div");p.className="geTempTreeCaret";\r\np.setAttribute("title",g);mxUtils.write(p,g);f=p;n.appendChild(p);g=document.createElement("ul");g.className="geTempTreeNested";g.style.visibility="hidden";for(var q in k){var I=document.createElement("li"),u=a(q,k[q]);I.setAttribute("title",u);mxUtils.write(I,u);b(c,I,q);g.appendChild(I)}n.appendChild(g);d.className="geTempTree";d.appendChild(n);(function(a,b){mxEvent.addListener(b,"click",function(){a.style.visibility="visible";a.classList.toggle("geTempTreeActive");a.classList.toggle("geTempTreeNested")&&\r\nsetTimeout(function(){a.style.visibility="hidden"},550);b.classList.toggle("geTempTreeCaret-down")})})(g,p)}else d.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;user-select:none;transition: all 0.5s;",d.setAttribute("title",g),mxUtils.write(d,g);null!=l&&(d.style.padding=l);ja.appendChild(d);null==ka&&0<e.length&&(ka=d,ka.style.backgroundColor=m,ia=e);b(c,f)}x(!1)}c=null!=c?c:!0;g=null!=g?g:!1;m=null!=m?m:"#ebf2f9";\r\ne=null!=e?e:Editor.isDarkMode()?"#a2a2a2":"#e6eff8";k=null!=k?k:Editor.isDarkMode()?"1px dashed #00a8ff":"1px solid #ccd9ea";n=null!=n?n:EditorUi.templateFile;var D=document.createElement("div");D.style.userSelect="none";D.style.height="100%";var C=document.createElement("div");C.style.whiteSpace="nowrap";C.style.height="46px";c&&D.appendChild(C);var G=document.createElement("img");G.setAttribute("border","0");G.setAttribute("align","absmiddle");G.style.width="40px";G.style.height="40px";G.style.marginRight=\r\n"10px";G.style.paddingBottom="4px";G.src=a.mode==App.MODE_GOOGLE?IMAGE_PATH+"/google-drive-logo.svg":a.mode==App.MODE_DROPBOX?IMAGE_PATH+"/dropbox-logo.svg":a.mode==App.MODE_ONEDRIVE?IMAGE_PATH+"/onedrive-logo.svg":a.mode==App.MODE_GITHUB?IMAGE_PATH+"/github-logo.svg":a.mode==App.MODE_GITLAB?IMAGE_PATH+"/gitlab-logo.svg":a.mode==App.MODE_NOTION?IMAGE_PATH+"/notion-logo.svg":a.mode==App.MODE_TRELLO?IMAGE_PATH+"/trello-logo.svg":a.mode==App.MODE_BROWSER?IMAGE_PATH+"/osa_database.png":IMAGE_PATH+"/osa_drive-harddisk.png";\r\n!d&&c&&C.appendChild(G);c&&mxUtils.write(C,(null==a.mode||a.mode==App.MODE_GOOGLE||a.mode==App.MODE_BROWSER?mxResources.get("diagramName"):mxResources.get("filename"))+":");G=".drawio";a.mode==App.MODE_GOOGLE&&null!=a.drive?G=a.drive.extension:a.mode==App.MODE_DROPBOX&&null!=a.dropbox?G=a.dropbox.extension:a.mode==App.MODE_ONEDRIVE&&null!=a.oneDrive?G=a.oneDrive.extension:a.mode==App.MODE_GITHUB&&null!=a.gitHub?G=a.gitHub.extension:a.mode==App.MODE_GITLAB&&null!=a.gitLab?G=a.gitLab.extension:a.mode==\r\nApp.MODE_NOTION&&null!=a.notion?G=a.notion.extension:a.mode==App.MODE_TRELLO&&null!=a.trello&&(G=a.trello.extension);var K=document.createElement("input");K.setAttribute("value",a.defaultFilename+G);K.style.marginLeft="10px";K.style.width=d?"144px":"244px";this.init=function(){c&&(K.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?K.select():document.execCommand("selectAll",!1,null));null!=O.parentNode&&null!=O.parentNode.parentNode&&mxEvent.addGestureListeners(O.parentNode.parentNode,\r\nmxUtils.bind(this,function(b){a.sidebar.hideTooltip()}),null,null)};c&&(C.appendChild(K),y?K.style.width=d?"350px":"450px":(null!=a.editor.diagramFileTypes&&(y=FilenameDialog.createFileTypes(a,K,a.editor.diagramFileTypes),y.style.marginLeft="6px",y.style.width=d?"80px":"180px",C.appendChild(y)),null!=a.editor.fileExtensions&&(y=FilenameDialog.createTypeHint(a,K,a.editor.fileExtensions),y.style.marginTop="12px",C.appendChild(y))));var C=!1,M=0,J=new Spinner({lines:12,length:10,width:5,radius:10,rotate:0,\r\ncolor:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9}),I=mxUtils.button(v||mxResources.get("create"),function(){I.setAttribute("disabled","disabled");A();I.removeAttribute("disabled")});I.className="geBtn gePrimaryBtn";if(p||q){var N=[],H=null,L=null,V=null,U=function(a){I.setAttribute("disabled","disabled");for(var b=0;b<N.length;b++)N[b].className=b==a?"geBtn gePrimaryBtn":"geBtn"},C=!0;v=document.createElement("div");v.style.whiteSpace="nowrap";v.style.height="30px";D.appendChild(v);\r\ny=mxUtils.button(mxResources.get("Templates",null,"Templates"),function(){ja.style.display="";Q.style.display="";O.style.left="160px";U(0);O.scrollTop=0;O.innerHTML="";M=0;H!=ia&&(ia=H,aa=L,qa=V,ja.innerHTML="",F(),H=null)});N.push(y);v.appendChild(y);var P=function(a){ja.style.display="none";Q.style.display="none";O.style.left="30px";U(a?-1:1);null==H&&(H=ia);O.scrollTop=0;O.innerHTML="";J.spin(O);var b=function(a,b,e){M=0;J.stop();ia=a;e=e||{};var c=0,d;for(d in e)c+=e[d].length;if(b)O.innerHTML=\r\nb;else if(0==a.length&&0==c)O.innerHTML=mxUtils.htmlEntities(mxResources.get("noDiagrams",null,"No Diagrams Found"));else if(O.innerHTML="",0<c){ja.style.display="";O.style.left="160px";ja.innerHTML="";qa=0;aa={"draw.io":a};for(d in e)aa[d]=e[d];F()}else x(!0)};a?q(W.value,b):p(b)};p&&(y=mxUtils.button(mxResources.get("Recent",null,"Recent"),function(){P()}),v.appendChild(y),N.push(y));if(q){y=document.createElement("span");y.style.marginLeft="10px";y.innerHTML=mxUtils.htmlEntities(mxResources.get("search")+\r\n":");v.appendChild(y);var W=document.createElement("input");W.style.marginRight="10px";W.style.marginLeft="10px";W.style.width="220px";mxEvent.addListener(W,"keypress",function(a){13==a.keyCode&&P(!0)});v.appendChild(W);y=mxUtils.button(mxResources.get("search"),function(){P(!0)});y.className="geBtn";v.appendChild(y)}U(0)}var ha=null,ea=null,X=null,Z=null,Y=null,ga=null,ba=null,O=document.createElement("div");O.style.border="1px solid #d3d3d3";O.style.position="absolute";O.style.left="160px";O.style.right=\r\n"34px";v=(c?72:40)+(C?30:0);O.style.top=v+"px";O.style.bottom="68px";O.style.margin="6px 0 0 -1px";O.style.padding="6px";O.style.overflow="auto";var Q=document.createElement("div");Q.style.cssText="position:absolute;left:30px;width:128px;top:"+v+"px;height:22px;margin-top: 6px;white-space: nowrap";var ma=document.createElement("input");ma.style.cssText="width:105px;height:16px;border:1px solid #d3d3d3;padding: 3px 20px 3px 3px;font-size: 12px";ma.setAttribute("placeholder",mxResources.get("search"));\r\nma.setAttribute("type","text");Q.appendChild(ma);var T=document.createElement("img"),fa="undefined"!=typeof Sidebar?Sidebar.prototype.searchImage:IMAGE_PATH+"/search.png";T.setAttribute("src",fa);T.setAttribute("title",mxResources.get("search"));T.style.position="relative";T.style.left="-18px";T.style.top="1px";T.style.background="url(\'"+a.editor.transparentImage+"\')";Q.appendChild(T);mxEvent.addListener(T,"click",function(){T.getAttribute("src")==Dialog.prototype.closeImage&&(T.setAttribute("src",\r\nfa),T.setAttribute("title",mxResources.get("search")),ma.value="",null!=pa&&(pa.click(),pa=null));ma.focus()});mxEvent.addListener(ma,"keydown",mxUtils.bind(this,function(a){if(13==a.keyCode){var b=ma.value;if(""==b)null!=pa&&(pa.click(),pa=null);else{if(null==NewDialog.tagsList[n]){var e={},c;for(c in aa)for(var d=aa[c],k=0;k<d.length;k++){var l=d[k];if(null!=l.tags)for(var f=l.tags.toLowerCase().split(";"),g=0;g<f.length;g++)null==e[f[g]]&&(e[f[g]]=[]),e[f[g]].push(l)}NewDialog.tagsList[n]=e}var p=\r\nb.toLowerCase().split(" "),e=NewDialog.tagsList[n];if(0<qa&&null==e.__tagsList__){for(c in da)for(d=da[c],k=0;k<d.length;k++)for(l=d[k],f=l.title.split(" "),f.push(c),g=0;g<f.length;g++){var m=f[g].toLowerCase();null==e[m]&&(e[m]=[]);e[m].push(l)}e.__tagsList__=!0}c=[];d={};for(k=f=0;k<p.length;k++)if(0<p[k].length){var m=e[p[k]],q={};c=[];if(null!=m)for(g=0;g<m.length;g++)l=m[g],0==f==(null==d[l.url])&&(q[l.url]=!0,c.push(l));d=q;f++}O.scrollTop=0;O.innerHTML="";M=0;e=document.createElement("div");\r\ne.style.cssText="border: 1px solid #D3D3D3; padding: 6px; background: #F5F5F5;";mxUtils.write(e,mxResources.get(0==c.length?"noResultsFor":"resultsFor",[b]));O.appendChild(e);null!=ka&&null==pa&&(ka.style.backgroundColor="",pa=ka,ka=e);ia=c;H=null;x(!1)}mxEvent.consume(a)}}));mxEvent.addListener(ma,"keyup",mxUtils.bind(this,function(a){""==ma.value?(T.setAttribute("src",fa),T.setAttribute("title",mxResources.get("search"))):(T.setAttribute("src",Dialog.prototype.closeImage),T.setAttribute("title",\r\nmxResources.get("reset")))}));v+=23;var ja=document.createElement("div");ja.style.cssText="position:absolute;left:30px;width:128px;top:"+v+"px;bottom:68px;margin-top:6px;overflow:auto;border:1px solid #d3d3d3;";mxEvent.addListener(O,"scroll",function(){a.sidebar.hideTooltip()});var na=140,S=140,aa={},ca={},da={},qa=0,oa=!0,ka=null,pa=null;aa.basic=[{title:"blankDiagram",select:!0}];var ia=aa.basic;if(!d){var ra=function(){mxUtils.get(R,function(a){if(!wa){wa=!0;a=a.getXml().documentElement.firstChild;\r\nfor(var b={};null!=a;){if("undefined"!==typeof a.getAttribute)if("clibs"==a.nodeName){for(var e=a.getAttribute("name"),c=a.getElementsByTagName("add"),d=[],k=0;k<c.length;k++)d.push(encodeURIComponent(mxUtils.getTextContent(c[k])));null!=e&&0<d.length&&(b[e]=d.join(";"))}else if(d=a.getAttribute("url"),null!=d){c=a.getAttribute("section");e=a.getAttribute("subsection");if(null==c&&(k=d.indexOf("/"),c=d.substring(0,k),null==e)){var l=d.indexOf("/",k+1);-1<l&&(e=d.substring(k+1,l))}k=aa[c];null==k&&\r\n(k=[],aa[c]=k);d=a.getAttribute("clibs");null!=b[d]&&(d=b[d]);d={url:a.getAttribute("url"),libs:a.getAttribute("libs"),title:a.getAttribute("title"),tooltip:a.getAttribute("name")||a.getAttribute("url"),preview:a.getAttribute("preview"),clibs:d,tags:a.getAttribute("tags")};k.push(d);null!=e&&(k=ca[c],null==k&&(k={},ca[c]=k),c=k[e],null==c&&(c=[],k[e]=c),c.push(d))}a=a.nextSibling}J.stop();F()}})};D.appendChild(Q);D.appendChild(ja);D.appendChild(O);var wa=!1,R=n;/^https?:\\/\\//.test(R)&&!a.editor.isCorsEnabledForUrl(R)&&\r\n(R=PROXY_URL+"?url="+encodeURIComponent(R));J.spin(O);null!=z?z(function(a,b){da=a;V=qa=b;ra()},ra):ra();L=aa}mxEvent.addListener(K,"keypress",function(b){a.dialog.container.firstChild==D&&13==b.keyCode&&A()});z=document.createElement("div");z.style.marginTop=d?"4px":"16px";z.style.textAlign="right";z.style.position="absolute";z.style.left="40px";z.style.bottom="24px";z.style.right="40px";d||a.isOffline()||!c||null!=b||g||(v=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://support.draw.io/display/DO/Creating+and+Opening+Files")}),\r\nv.className="geBtn",z.appendChild(v));v=mxUtils.button(mxResources.get("cancel"),function(){null!=f&&f();a.hideDialog(!0)});v.className="geBtn";!a.editor.cancelFirst||g&&null==f||z.appendChild(v);d||"1"==urlParams.embed||g||(d=mxUtils.button(mxResources.get("fromTemplateUrl"),function(){var b=new FilenameDialog(a,"",mxResources.get("create"),function(b){null!=b&&0<b.length&&(b=a.getUrl(window.location.pathname+"?mode="+a.mode+"&title="+encodeURIComponent(K.value)+"&create="+encodeURIComponent(b)),\r\nnull==a.getCurrentFile()?window.location.href=b:window.openWindow(b))},mxResources.get("url"));a.showDialog(b.container,300,80,!0,!0);b.init()}),d.className="geBtn",z.appendChild(d));Graph.fileSupport&&t&&(t=mxUtils.button(mxResources.get("import"),function(){if(null==a.newDlgFileInputElt){var b=document.createElement("input");b.setAttribute("multiple","multiple");b.setAttribute("type","file");mxEvent.addListener(b,"change",function(e){a.openFiles(b.files,!0);b.value=""});b.style.display="none";document.body.appendChild(b);\r\na.newDlgFileInputElt=b}a.newDlgFileInputElt.click()}),t.className="geBtn",z.appendChild(t));z.appendChild(I);a.editor.cancelFirst||null!=b||g&&null==f||z.appendChild(v);D.appendChild(z);this.container=D};NewDialog.tagsList={};\r\nvar CreateDialog=function(a,d,c,b,g,f,m,e,k,l,n,p,q,u,t,v,z){function y(b,e,c,k){function l(){mxEvent.addListener(f,"click",function(){var b=c;if(m){var e=B.value,k=e.lastIndexOf(".");if(0>d.lastIndexOf(".")&&0>k){var b=null!=b?b:C.value,l="";b==App.MODE_GOOGLE?l=a.drive.extension:b==App.MODE_GITHUB?l=a.gitHub.extension:b==App.MODE_GITLAB?l=a.gitLab.extension:b==App.MODE_NOTION?l=a.notion.extension:b==App.MODE_TRELLO?l=a.trello.extension:b==App.MODE_DROPBOX?l=a.dropbox.extension:b==App.MODE_ONEDRIVE?\r\nl=a.oneDrive.extension:b==App.MODE_DEVICE&&(l=".drawio");0<=k&&(e=e.substring(0,k));B.value=e+l}}x(c)})}var f=document.createElement("a");f.style.overflow="hidden";var g=document.createElement("img");g.src=b;g.setAttribute("border","0");g.setAttribute("align","absmiddle");g.style.width="60px";g.style.height="60px";g.style.paddingBottom="6px";f.style.display="inline-block";f.className="geBaseButton";f.style.position="relative";f.style.margin="4px";f.style.padding="8px 8px 10px 8px";f.style.whiteSpace=\r\n"nowrap";f.appendChild(g);f.style.color="gray";f.style.fontSize="11px";var n=document.createElement("div");f.appendChild(n);mxUtils.write(n,e);if(null!=k&&null==a[k]){g.style.visibility="hidden";mxUtils.setOpacity(n,10);var q=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});q.spin(f);var u=window.setTimeout(function(){null==a[k]&&(q.stop(),f.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,\r\nfunction(){null!=a[k]&&(window.clearTimeout(u),mxUtils.setOpacity(n,100),g.style.visibility="",q.stop(),l())}))}else l();F.appendChild(f);++D==p&&(mxUtils.br(F),D=0)}function x(b){var e=B.value;if(null==b||null!=e&&0<e.length)z&&a.hideDialog(),c(e,b,B)}m=null!=m?m:!0;e=null!=e?e:!0;p=null!=p?p:4;z=null!=z?z:!0;f=document.createElement("div");f.style.whiteSpace="nowrap";null==b&&a.addLanguageMenu(f);var A=document.createElement("h2");mxUtils.write(A,g||mxResources.get("create"));A.style.marginTop=\r\n"0px";A.style.marginBottom="24px";f.appendChild(A);mxUtils.write(f,mxResources.get("filename")+":");var B=document.createElement("input");B.setAttribute("value",d);B.style.width="200px";B.style.marginLeft="10px";B.style.marginBottom="20px";B.style.maxWidth="70%";this.init=function(){B.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?B.select():document.execCommand("selectAll",!1,null)};f.appendChild(B);null!=v&&(null!=a.editor.diagramFileTypes&&(g=FilenameDialog.createFileTypes(a,\r\nB,a.editor.diagramFileTypes),g.style.marginLeft="6px",g.style.width="80px",f.appendChild(g)),f.appendChild(FilenameDialog.createTypeHint(a,B,v)));v=null;if(null!=q&&null!=u&&"image/"==u.substring(0,6)&&("image/svg"!=u.substring(0,9)||mxClient.IS_SVG)){B.style.width="160px";g=document.createElement("img");var E=t?q:btoa(unescape(encodeURIComponent(q)));g.setAttribute("src","data:"+u+";base64,"+E);g.style.position="absolute";g.style.top="70px";g.style.right="100px";g.style.maxWidth="120px";g.style.maxHeight=\r\n"80px";mxUtils.setPrefixedStyle(g.style,"transform","translate(50%,-50%)");f.appendChild(g);mxClient.IS_FF||null==navigator.clipboard||"image/png"!=u||(v=mxUtils.button(mxResources.get("copy"),function(b){b=a.base64ToBlob(E,"image/png");b=new ClipboardItem({"image/png":b,"text/html":new Blob([\'<img src="data:\'+u+";base64,"+E+\'">\'],{type:"text/html"})});navigator.clipboard.write([b]).then(mxUtils.bind(this,function(){a.alert(mxResources.get("copiedToClipboard"))}))["catch"](mxUtils.bind(this,function(b){a.handleError(b)}))}),\r\nv.style.marginTop="6px",v.className="geBtn");k&&Editor.popupsAllowed&&(g.style.cursor="pointer",mxEvent.addGestureListeners(g,null,null,function(a){mxEvent.isPopupTrigger(a)||x("_blank")}))}mxUtils.br(f);var F=document.createElement("div");F.style.textAlign="center";var D=0;F.style.marginTop="6px";f.appendChild(F);var C=document.createElement("select");C.style.marginLeft="10px";a.isOfflineApp()||a.isOffline()||("function"===typeof window.DriveClient&&(q=document.createElement("option"),q.setAttribute("value",\r\nApp.MODE_GOOGLE),mxUtils.write(q,mxResources.get("googleDrive")),C.appendChild(q),y(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive")),"function"===typeof window.OneDriveClient&&(q=document.createElement("option"),q.setAttribute("value",App.MODE_ONEDRIVE),mxUtils.write(q,mxResources.get("oneDrive")),C.appendChild(q),a.mode==App.MODE_ONEDRIVE&&q.setAttribute("selected","selected"),y(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE,\r\n"oneDrive")),"function"===typeof window.DropboxClient&&(q=document.createElement("option"),q.setAttribute("value",App.MODE_DROPBOX),mxUtils.write(q,mxResources.get("dropbox")),C.appendChild(q),a.mode==App.MODE_DROPBOX&&q.setAttribute("selected","selected"),y(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox")),null!=a.gitHub&&(q=document.createElement("option"),q.setAttribute("value",App.MODE_GITHUB),mxUtils.write(q,mxResources.get("github")),C.appendChild(q),y(IMAGE_PATH+\r\n"/github-logo.svg",mxResources.get("github"),App.MODE_GITHUB,"gitHub")),null!=a.gitLab&&(q=document.createElement("option"),q.setAttribute("value",App.MODE_GITLAB),mxUtils.write(q,mxResources.get("gitlab")),C.appendChild(q),y(IMAGE_PATH+"/gitlab-logo.svg",mxResources.get("gitlab"),App.MODE_GITLAB,"gitLab")),null!=a.notion&&(q=document.createElement("option"),q.setAttribute("value",App.MODE_NOTION),mxUtils.write(q,mxResources.get("notion")),C.appendChild(q),y(IMAGE_PATH+"/notion-logo.svg",mxResources.get("notion"),\r\nApp.MODE_NOTION,"notion")),"function"===typeof window.TrelloClient&&(q=document.createElement("option"),q.setAttribute("value",App.MODE_TRELLO),mxUtils.write(q,mxResources.get("trello")),C.appendChild(q),y(IMAGE_PATH+"/trello-logo.svg",mxResources.get("trello"),App.MODE_TRELLO,"trello")));Editor.useLocalStorage&&"device"!=urlParams.storage&&null==a.getCurrentFile()||(q=document.createElement("option"),q.setAttribute("value",App.MODE_DEVICE),mxUtils.write(q,mxResources.get("device")),C.appendChild(q),\r\na.mode!=App.MODE_DEVICE&&e||q.setAttribute("selected","selected"),n&&y(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE));e&&isLocalStorage&&"0"!=urlParams.browser&&(e=document.createElement("option"),e.setAttribute("value",App.MODE_BROWSER),mxUtils.write(e,mxResources.get("browser")),C.appendChild(e),a.mode==App.MODE_BROWSER&&e.setAttribute("selected","selected"),y(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER));e=document.createElement("div");\r\ne.style.marginTop="26px";e.style.textAlign="center";null!=l&&(n=mxUtils.button(mxResources.get("help"),function(){a.openLink(l)}),n.className="geBtn",e.appendChild(n));n=mxUtils.button(mxResources.get(null!=b?"close":"cancel"),function(){null!=b?b():(a.fileLoaded(null),a.hideDialog(),window.close(),window.location.href=a.getUrl())});n.className="geBtn";a.editor.cancelFirst&&null==b&&e.appendChild(n);null==b&&(q=mxUtils.button(mxResources.get("decideLater"),function(){x(null)}),q.className="geBtn",\r\ne.appendChild(q));k&&Editor.popupsAllowed&&(k=mxUtils.button(mxResources.get("openInNewWindow"),function(){x("_blank")}),k.className="geBtn",e.appendChild(k));CreateDialog.showDownloadButton&&(k=mxUtils.button(mxResources.get("download"),function(){x("download")}),k.className="geBtn",e.appendChild(k),null!=v&&(k.style.marginTop="6px",e.style.marginTop="6px"));null!=v&&(mxUtils.br(e),e.appendChild(v));a.editor.cancelFirst&&null==b||e.appendChild(n);mxEvent.addListener(B,"keypress",function(b){13==\r\nb.keyCode?x(App.MODE_DEVICE):27==b.keyCode&&(a.fileLoaded(null),a.hideDialog(),window.close())});f.appendChild(e);this.container=f};CreateDialog.showDownloadButton=!0;\r\nvar PopupDialog=function(a,d,c,b,g){g=null!=g?g:!0;var f=document.createElement("div");f.style.textAlign="left";mxUtils.write(f,mxResources.get("fileOpenLocation"));mxUtils.br(f);mxUtils.br(f);var m=mxUtils.button(mxResources.get("openInThisWindow"),function(){g&&a.hideDialog();null!=b&&b()});m.className="geBtn";m.style.marginBottom="8px";m.style.width="280px";f.appendChild(m);mxUtils.br(f);var e=mxUtils.button(mxResources.get("openInNewWindow"),function(){g&&a.hideDialog();null!=c&&c();a.openLink(d,\r\nnull,!0)});e.className="geBtn gePrimaryBtn";e.style.width=m.style.width;f.appendChild(e);mxUtils.br(f);mxUtils.br(f);mxUtils.write(f,mxResources.get("allowPopups"));this.container=f},ImageDialog=function(a,d,c,b,g,f){f=null!=f?f:!0;var m=a.editor.graph,e=document.createElement("div");mxUtils.write(e,d);d=document.createElement("div");d.className="geTitle";d.style.backgroundColor="transparent";d.style.borderColor="transparent";d.style.whiteSpace="nowrap";d.style.textOverflow="clip";d.style.cursor=\r\n"default";d.style.paddingRight="20px";var k=document.createElement("input");k.setAttribute("value",c);k.setAttribute("type","text");k.setAttribute("spellcheck","false");k.setAttribute("autocorrect","off");k.setAttribute("autocomplete","off");k.setAttribute("autocapitalize","off");k.style.marginTop="6px";k.style.width=(Graph.fileSupport?460:340)-20+"px";k.style.backgroundImage="url(\'"+Dialog.prototype.clearImage+"\')";k.style.backgroundRepeat="no-repeat";k.style.backgroundPosition="100% 50%";k.style.paddingRight=\r\n"14px";c=document.createElement("div");c.setAttribute("title",mxResources.get("reset"));c.style.position="relative";c.style.left="-16px";c.style.width="12px";c.style.height="14px";c.style.cursor="pointer";c.style.display="inline-block";c.style.top="3px";c.style.background="url(\'"+a.editor.transparentImage+"\')";mxEvent.addListener(c,"click",function(){k.value="";k.focus()});d.appendChild(k);d.appendChild(c);e.appendChild(d);var l=function(e,c,d,k){var l="data:"==e.substring(0,5);!a.isOffline()||l&&\r\n"undefined"===typeof chrome?0<e.length&&a.spinner.spin(document.body,mxResources.get("inserting"))?a.loadImage(e,function(l){a.spinner.stop();a.hideDialog();var g=!1===k?1:null!=c&&null!=d?Math.max(c/l.width,d/l.height):Math.min(1,Math.min(520/l.width,520/l.height));f&&(e=a.convertDataUri(e));b(e,Math.round(Number(l.width)*g),Math.round(Number(l.height)*g))},function(){a.spinner.stop();b(null);a.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResources.get("ok"))}):(a.hideDialog(),\r\nb(e)):(e=a.convertDataUri(e),c=null==c?120:c,d=null==d?100:d,a.hideDialog(),b(e,c,d))},n=function(e,c){if(null!=e){var d=g?null:m.getModel().getGeometry(m.getSelectionCell());null!=d?l(e,d.width,d.height,c):l(e,null,null,c)}else a.hideDialog(),b(null)};this.init=function(){k.focus();if(Graph.fileSupport){k.setAttribute("placeholder",mxResources.get("dragImagesHere"));var b=e.parentNode,c=null;mxEvent.addListener(b,"dragleave",function(a){null!=c&&(c.parentNode.removeChild(c),c=null);a.stopPropagation();\r\na.preventDefault()});mxEvent.addListener(b,"dragover",mxUtils.bind(this,function(e){null==c&&(!mxClient.IS_IE||10<document.documentMode)&&(c=a.highlightElement(b));e.stopPropagation();e.preventDefault()}));mxEvent.addListener(b,"drop",mxUtils.bind(this,function(b){null!=c&&(c.parentNode.removeChild(c),c=null);if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxImageSize,function(a,b,e,c,d,k,l,f){n(a,f)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=\r\n0;b<a.length;b++)a[b]()},!mxEvent.isControlDown(b),null,null,!0);else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var e=b.dataTransfer.getData("text/uri-list");/\\.(gif|jpg|jpeg|tiff|png|svg)($|\\?)/i.test(e)&&n(decodeURIComponent(e))}b.stopPropagation();b.preventDefault()}),!1)}};c=document.createElement("div");c.style.marginTop="14px";c.style.textAlign="center";d=mxUtils.button(mxResources.get("cancel"),function(){a.spinner.stop();a.hideDialog()});d.className="geBtn";a.editor.cancelFirst&&\r\nc.appendChild(d);ImageDialog.filePicked=function(a){a.action==google.picker.Action.PICKED&&null!=a.docs[0].thumbnails&&(a=a.docs[0].thumbnails[a.docs[0].thumbnails.length-1],null!=a&&(k.value=a.url));k.focus()};if(Graph.fileSupport){if(null==a.imgDlgFileInputElt){var p=document.createElement("input");p.setAttribute("multiple","multiple");p.setAttribute("type","file");mxEvent.addListener(p,"change",function(b){null!=p.files&&(a.importFiles(p.files,0,0,a.maxImageSize,function(a,b,e,c,d,k){n(a)},function(){},\r\nfunction(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!0),p.type="",p.type="file",p.value="")});p.style.display="none";document.body.appendChild(p);a.imgDlgFileInputElt=p}var q=mxUtils.button(mxResources.get("open"),function(){a.imgDlgFileInputElt.click()});q.className="geBtn";c.appendChild(q)}document.createElement("canvas").getContext&&"data:image/"==k.value.substring(0,11)&&"data:image/svg"!=k.value.substring(0,14)&&(q=mxUtils.button(mxResources.get("crop"),\r\nfunction(){var b=new CropImageDialog(a,k.value,function(a){k.value=a});a.showDialog(b.container,300,380,!0,!0);b.init()}),q.className="geBtn",c.appendChild(q));mxEvent.addListener(k,"keypress",function(a){13==a.keyCode&&n(k.value)});q=mxUtils.button(mxResources.get("apply"),function(){n(k.value)});q.className="geBtn gePrimaryBtn";c.appendChild(q);a.editor.cancelFirst||c.appendChild(d);Graph.fileSupport&&(c.style.marginTop="120px",e.style.backgroundImage="url(\'"+IMAGE_PATH+"/droptarget.png\')",e.style.backgroundPosition=\r\n"center 65%",e.style.backgroundRepeat="no-repeat",d=document.createElement("div"),d.style.position="absolute",d.style.width="420px",d.style.top="58%",d.style.textAlign="center",d.style.fontSize="18px",d.style.color="#a0c3ff",mxUtils.write(d,mxResources.get("dragImagesHere")),e.appendChild(d));e.appendChild(c);this.container=e},LinkDialog=function(a,d,c,b,g,f,m){function e(a,b,e){e=mxUtils.button("",e);e.className="geBtn";e.setAttribute("title",b);b=document.createElement("img");b.style.height="26px";\r\nb.style.width="26px";b.setAttribute("src",a);e.style.minWidth="42px";e.style.verticalAlign="middle";e.appendChild(b);x.appendChild(e)}var k=document.createElement("div");mxUtils.write(k,mxResources.get("editLink")+":");var l=document.createElement("div");l.className="geTitle";l.style.backgroundColor="transparent";l.style.borderColor="transparent";l.style.whiteSpace="nowrap";l.style.textOverflow="clip";l.style.cursor="default";l.style.paddingRight="20px";var n=document.createElement("input");n.setAttribute("placeholder",\r\nmxResources.get("dragUrlsHere"));n.setAttribute("type","text");n.style.marginTop="6px";n.style.width="100%";n.style.boxSizing="border-box";n.style.backgroundImage="url(\'"+Dialog.prototype.clearImage+"\')";n.style.backgroundRepeat="no-repeat";n.style.backgroundPosition="100% 50%";n.style.paddingRight="14px";var p=document.createElement("div");p.setAttribute("title",mxResources.get("reset"));p.style.position="relative";p.style.left="-16px";p.style.width="12px";p.style.height="14px";p.style.cursor="pointer";\r\np.style.display="inline-block";p.style.top="3px";p.style.background="url(\'"+a.editor.transparentImage+"\')";mxEvent.addListener(p,"click",function(){n.value="";n.focus()});var q=document.createElement("input");q.style.cssText="margin-right:8px;margin-bottom:8px;";q.setAttribute("value","url");q.setAttribute("type","radio");q.setAttribute("name","current-linkdialog");var u=document.createElement("input");u.style.cssText="margin-right:8px;margin-bottom:8px;";u.setAttribute("value","url");u.setAttribute("type",\r\n"radio");u.setAttribute("name","current-linkdialog");var t=document.createElement("select");t.style.width="100%";var v=document.createElement("input");v.setAttribute("type","checkbox");v.style.margin="0 6p 0 6px";null!=m&&(v.setAttribute("checked","checked"),v.defaultChecked=!0);m=null!=m?m:"_blank";v.setAttribute("title",m);f&&(n.style.width="340px");if(g&&null!=a.pages){null!=d&&"data:page/id,"==d.substring(0,13)?(u.setAttribute("checked","checked"),u.defaultChecked=!0):(n.setAttribute("value",\r\nd),q.setAttribute("checked","checked"),q.defaultChecked=!0);l.appendChild(q);l.appendChild(n);l.appendChild(p);f&&(l.appendChild(v),mxUtils.write(l,mxResources.get("openInNewWindow")));mxUtils.br(l);l.appendChild(u);g=!1;for(f=0;f<a.pages.length;f++)p=document.createElement("option"),mxUtils.write(p,a.pages[f].getName()||mxResources.get("pageWithNumber",[f+1])),p.setAttribute("value","data:page/id,"+a.pages[f].getId()),d==p.getAttribute("value")&&(p.setAttribute("selected","selected"),g=!0),t.appendChild(p);\r\nif(!g&&u.checked){var z=document.createElement("option");mxUtils.write(z,mxResources.get("pageNotFound"));z.setAttribute("disabled","disabled");z.setAttribute("selected","selected");z.setAttribute("value","pageNotFound");t.appendChild(z);mxEvent.addListener(t,"change",function(){null==z.parentNode||z.selected||z.parentNode.removeChild(z)})}l.appendChild(t)}else n.setAttribute("value",d),l.appendChild(n),l.appendChild(p);k.appendChild(l);var y=mxUtils.button(c,function(){a.hideDialog();b(u.checked?\r\n"pageNotFound"!==t.value?t.value:d:n.value,LinkDialog.selectedDocs,v.checked?m:null)});y.style.verticalAlign="middle";y.className="geBtn gePrimaryBtn";this.init=function(){u.checked?t.focus():(n.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?n.select():document.execCommand("selectAll",!1,null));mxEvent.addListener(t,"focus",function(){q.removeAttribute("checked");u.setAttribute("checked","checked");u.checked=!0});mxEvent.addListener(n,"focus",function(){u.removeAttribute("checked");\r\nq.setAttribute("checked","checked");q.checked=!0});if(Graph.fileSupport){var b=k.parentNode,e=null;mxEvent.addListener(b,"dragleave",function(a){null!=e&&(e.parentNode.removeChild(e),e=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(b,"dragover",mxUtils.bind(this,function(c){null==e&&(!mxClient.IS_IE||10<document.documentMode)&&(e=a.highlightElement(b));c.stopPropagation();c.preventDefault()}));mxEvent.addListener(b,"drop",mxUtils.bind(this,function(a){null!=e&&(e.parentNode.removeChild(e),\r\ne=null);0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")&&(n.value=decodeURIComponent(a.dataTransfer.getData("text/uri-list")),q.setAttribute("checked","checked"),q.checked=!0,y.click());a.stopPropagation();a.preventDefault()}),!1)}};var x=document.createElement("div");x.style.marginTop="20px";x.style.textAlign="center";c=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://www.diagrams.net/doc/faq/custom-links")});c.style.verticalAlign="middle";c.className="geBtn";x.appendChild(c);\r\na.isOffline()&&!mxClient.IS_CHROMEAPP&&(c.style.display="none");c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});c.style.verticalAlign="middle";c.className="geBtn";a.editor.cancelFirst&&x.appendChild(c);LinkDialog.selectedDocs=null;LinkDialog.filePicked=function(a){if(a.action==google.picker.Action.PICKED){LinkDialog.selectedDocs=a.docs;var b=a.docs[0].url;"application/mxe"==a.docs[0].mimeType||null!=a.docs[0].mimeType&&"application/vnd.jgraph."==a.docs[0].mimeType.substring(0,\r\n23)?b="https://www.draw.io/#G"+a.docs[0].id:"application/vnd.google-apps.folder"==a.docs[0].mimeType&&(b="https://drive.google.com/#folders/"+a.docs[0].id);n.value=b;n.focus()}else LinkDialog.selectedDocs=null;n.focus()};"undefined"!=typeof google&&"undefined"!=typeof google.picker&&null!=a.drive&&e(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googlePlus"),function(){a.spinner.spin(document.body,mxResources.get("authorizing"))&&a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();\r\nif(null==a.linkPicker){var b=a.drive.createLinkPicker();a.linkPicker=b.setCallback(function(a){LinkDialog.filePicked(a)}).build()}a.linkPicker.setVisible(!0)}))});"undefined"!=typeof Dropbox&&"undefined"!=typeof Dropbox.choose&&e(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),function(){Dropbox.choose({linkType:"direct",cancel:function(){},success:function(a){n.value=a[0].link;n.focus()}})});null!=a.oneDrive&&e(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),function(){a.oneDrive.pickFile(function(a,\r\nb){n.value=b.value[0].webUrl;n.focus()})});null!=a.gitHub&&e(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),function(){a.gitHub.pickFile(function(a){if(null!=a){a=a.split("/");var b=a[0],e=a[1],c=a[2];a=a.slice(3,a.length).join("/");n.value="https://github.com/"+b+"/"+e+"/blob/"+c+"/"+a;n.focus()}})});null!=a.gitLab&&e(IMAGE_PATH+"/gitlab-logo.svg",mxResources.get("gitlab"),function(){a.gitLab.pickFile(function(a){if(null!=a){a=a.split("/");var b=a[0],e=a[1],c=a[2];a=a.slice(3,a.length).join("/");\r\nn.value=DRAWIO_GITLAB_URL+"/"+b+"/"+e+"/blob/"+c+"/"+a;n.focus()}})});mxEvent.addListener(n,"keypress",function(e){13==e.keyCode&&(a.hideDialog(),b(u.checked?t.value:n.value,LinkDialog.selectedDocs))});x.appendChild(y);a.editor.cancelFirst||x.appendChild(c);k.appendChild(x);this.container=k},FeedbackDialog=function(a,d,c,b){var g=document.createElement("div"),f=document.createElement("div");mxUtils.write(f,mxResources.get("sendYourFeedback"));f.style.fontSize="18px";f.style.marginBottom="18px";g.appendChild(f);\r\nf=document.createElement("div");mxUtils.write(f,mxResources.get("yourEmailAddress")+(c?"":" ("+mxResources.get("required")+")"));g.appendChild(f);var m=document.createElement("input");m.setAttribute("type","text");m.style.marginTop="6px";m.style.width="600px";var e=mxUtils.button(mxResources.get("sendMessage"),function(){var e=n.value+(l.checked?"\\nDiagram:\\n"+(null!=b?b:mxUtils.getXml(a.getXmlFileData())):"")+"\\nuserAgent:\\n"+navigator.userAgent+"\\nappVersion:\\n"+navigator.appVersion+"\\nappName:\\n"+\r\nnavigator.appName+"\\nplatform:\\n"+navigator.platform;e.length>FeedbackDialog.maxAttachmentSize?a.alert(mxResources.get("drawingTooLarge")):(a.hideDialog(),a.spinner.spin(document.body)&&mxUtils.post(null!=FeedbackDialog.feedbackUrl?FeedbackDialog.feedbackUrl:"/email","email="+encodeURIComponent(m.value)+"&version="+encodeURIComponent(EditorUi.VERSION)+"&url="+encodeURIComponent(window.location.href)+"&body="+encodeURIComponent((null!=d?d:"Feedback")+":\\n"+e),function(b){a.spinner.stop();200<=b.getStatus()&&\r\n299>=b.getStatus()?a.alert(mxResources.get("feedbackSent")):a.alert(mxResources.get("errorSendingFeedback"))},function(){a.spinner.stop();a.alert(mxResources.get("errorSendingFeedback"))}))});e.className="geBtn gePrimaryBtn";if(!c){e.setAttribute("disabled","disabled");var k=/^(([^<>()[\\]\\\\.,;:\\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(m,"change",function(){0<m.value.length&&0<k.test(m.value)?\r\ne.removeAttribute("disabled"):e.setAttribute("disabled","disabled")});mxEvent.addListener(m,"keyup",function(){0<m.value.length&&k.test(m.value)?e.removeAttribute("disabled"):e.setAttribute("disabled","disabled")})}g.appendChild(m);this.init=function(){m.focus()};var l=document.createElement("input");l.setAttribute("type","checkbox");l.setAttribute("checked","checked");l.defaultChecked=!0;c=document.createElement("p");c.style.marginTop="14px";c.appendChild(l);f=document.createElement("span");mxUtils.write(f,\r\n" "+mxResources.get("includeCopyOfMyDiagram"));c.appendChild(f);mxEvent.addListener(f,"click",function(a){l.checked=!l.checked;mxEvent.consume(a)});g.appendChild(c);f=document.createElement("div");mxUtils.write(f,mxResources.get("feedback"));g.appendChild(f);var n=document.createElement("textarea");n.style.resize="none";n.style.width="600px";n.style.height="140px";n.style.marginTop="6px";n.setAttribute("placeholder",mxResources.get("comments"));g.appendChild(n);c=document.createElement("div");c.style.marginTop=\r\n"26px";c.style.textAlign="right";f=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});f.className="geBtn";a.editor.cancelFirst?(c.appendChild(f),c.appendChild(e)):(c.appendChild(e),c.appendChild(f));g.appendChild(c);this.container=g};FeedbackDialog.maxAttachmentSize=1E6;\r\nvar RevisionDialog=function(a,d,c){var b=document.createElement("div"),g=document.createElement("h3");g.style.marginTop="0px";mxUtils.write(g,mxResources.get("revisionHistory"));b.appendChild(g);g=document.createElement("div");g.style.position="absolute";g.style.overflow="auto";g.style.width="170px";g.style.height="378px";b.appendChild(g);var f=document.createElement("div");f.style.position="absolute";f.style.border="1px solid lightGray";f.style.left="199px";f.style.width="470px";f.style.height="376px";\r\nf.style.overflow="hidden";var m=document.createElement("div");m.style.cssText="position:absolute;left:0;right:0;top:0;bottom:20px;text-align:center;transform:translate(0,50%);pointer-events:none;";f.appendChild(m);mxEvent.disableContextMenu(f);b.appendChild(f);var e=new Graph(f);e.setTooltips(!1);e.setEnabled(!1);e.setPanning(!0);e.panningHandler.ignoreCell=!0;e.panningHandler.useLeftButtonForPanning=!0;e.minFitScale=null;e.maxFitScale=null;e.centerZoom=!0;var k=0,l=null,n=0,p=e.getGlobalVariable;\r\ne.getGlobalVariable=function(a){return"page"==a&&null!=l&&null!=l[n]?l[n].getAttribute("name"):"pagenumber"==a?n+1:"pagecount"==a?null!=l?l.length:1:p.apply(this,arguments)};e.getLinkForCell=function(){return null};Editor.MathJaxRender&&e.addListener(mxEvent.SIZE,mxUtils.bind(this,function(b,c){a.editor.graph.mathEnabled&&Editor.MathJaxRender(e.container)}));for(var q={lines:11,length:15,width:6,radius:10,corners:1,rotate:0,direction:1,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.4,trail:60,\r\nshadow:!1,hwaccel:!1,className:"spinner",zIndex:2E9,top:"50%",left:"50%"},u=new Spinner(q),t=a.getCurrentFile(),v=a.getXmlFileData(!0,!1,!0).getElementsByTagName("diagram"),z={},q=0;q<v.length;q++)z[v[q].getAttribute("id")]=v[q];var y=null,x=null,A=null,B=null,E=mxUtils.button("",function(){null!=A&&e.zoomIn()});E.className="geSprite geSprite-zoomin";E.setAttribute("title",mxResources.get("zoomIn"));E.style.outline="none";E.style.border="none";E.style.margin="2px";E.setAttribute("disabled","disabled");\r\nmxUtils.setOpacity(E,20);var F=mxUtils.button("",function(){null!=A&&e.zoomOut()});F.className="geSprite geSprite-zoomout";F.setAttribute("title",mxResources.get("zoomOut"));F.style.outline="none";F.style.border="none";F.style.margin="2px";F.setAttribute("disabled","disabled");mxUtils.setOpacity(F,20);var D=mxUtils.button("",function(){null!=A&&(e.maxFitScale=8,e.fit(8),e.center())});D.className="geSprite geSprite-fit";D.setAttribute("title",mxResources.get("fit"));D.style.outline="none";D.style.border=\r\n"none";D.style.margin="2px";D.setAttribute("disabled","disabled");mxUtils.setOpacity(D,20);var C=mxUtils.button("",function(){null!=A&&(e.zoomActual(),e.center())});C.className="geSprite geSprite-actualsize";C.setAttribute("title",mxResources.get("actualSize"));C.style.outline="none";C.style.border="none";C.style.margin="2px";C.setAttribute("disabled","disabled");mxUtils.setOpacity(C,20);var G=mxUtils.button("",function(){});G.className="geSprite geSprite-middle";G.setAttribute("title",mxResources.get("compare"));\r\nG.style.outline="none";G.style.border="none";G.style.margin="2px";mxUtils.setOpacity(G,60);var K=f.cloneNode(!1);K.style.pointerEvent="none";f.parentNode.appendChild(K);var M=new Graph(K);M.setTooltips(!1);M.setEnabled(!1);M.setPanning(!0);M.panningHandler.ignoreCell=!0;M.panningHandler.useLeftButtonForPanning=!0;M.minFitScale=null;M.maxFitScale=null;M.centerZoom=!0;mxEvent.addGestureListeners(G,function(a){a=z[l[k].getAttribute("id")];mxUtils.setOpacity(G,20);m.innerHTML="";null==a?mxUtils.write(m,\r\nmxResources.get("pageNotFound")):(J.style.display="none",f.style.display="none",K.style.display="",K.style.backgroundColor=f.style.backgroundColor,a=Editor.parseDiagramNode(a),(new mxCodec(a.ownerDocument)).decode(a,M.getModel()),M.view.scaleAndTranslate(e.view.scale,e.view.translate.x,e.view.translate.y))},null,function(){mxUtils.setOpacity(G,60);m.innerHTML="";"none"==f.style.display&&(J.style.display="",f.style.display="",K.style.display="none")});var J=document.createElement("div");J.style.position=\r\n"absolute";J.style.textAlign="right";J.style.color="gray";J.style.marginTop="10px";J.style.backgroundColor="transparent";J.style.top="440px";J.style.right="32px";J.style.maxWidth="380px";J.style.cursor="default";var I=mxUtils.button(mxResources.get("download"),function(){if(null!=A){var b=mxUtils.getXml(A.documentElement),e=a.getBaseFilename()+".drawio";a.isLocalFileSave()?a.saveLocalFile(b,e,"text/xml"):(b="undefined"===typeof pako?"&xml="+encodeURIComponent(b):"&data="+encodeURIComponent(Graph.compress(b)),\r\n(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(e)+"&format=xml"+b)).simulate(document,"_blank"))}});I.className="geBtn";I.setAttribute("disabled","disabled");var N=mxUtils.button(mxResources.get("restore"),function(b){null!=A&&null!=B&&(mxEvent.isShiftDown(b)?null!=A&&(b=a.getPagesForNode(A.documentElement),b=a.diffPages(a.pages,b),b=new TextareaDialog(a,mxResources.get("compare"),JSON.stringify(b,null,2),function(b){if(0<b.length)try{a.confirm(mxResources.get("areYouSure"),function(){t.patch([JSON.parse(b)],\r\nnull,!0);a.hideDialog();a.hideDialog()})}catch(ba){a.handleError(ba)}},null,null,null,null,null,!0,null,mxResources.get("merge")),b.textarea.style.width="600px",b.textarea.style.height="380px",a.showDialog(b.container,620,460,!0,!0),b.init()):a.confirm(mxResources.get("areYouSure"),function(){null!=c?c(B):a.spinner.spin(document.body,mxResources.get("restoring"))&&t.save(!0,function(b){a.spinner.stop();a.replaceFileData(B);a.hideDialog()},function(b){a.spinner.stop();a.editor.setStatus("");a.handleError(b,\r\nnull!=b?mxResources.get("errorSavingFile"):null)})}))});N.className="geBtn";N.setAttribute("disabled","disabled");var H=document.createElement("select");H.setAttribute("disabled","disabled");H.style.maxWidth="80px";H.style.position="relative";H.style.top="-2px";H.style.verticalAlign="bottom";H.style.marginRight="6px";H.style.display="none";var L=null;mxEvent.addListener(H,"change",function(a){null!=L&&(L(a),mxEvent.consume(a))});var V=mxUtils.button(mxResources.get("edit"),function(){null!=A&&(window.openFile=\r\nnew OpenFile(function(){window.openFile=null}),window.openFile.setData(mxUtils.getXml(A.documentElement)),a.openLink(a.getUrl(),null,!0))});V.className="geBtn";V.setAttribute("disabled","disabled");null!=c&&(V.style.display="none");var U=mxUtils.button(mxResources.get("show"),function(){null!=x&&a.openLink(x.getUrl(H.selectedIndex))});U.className="geBtn gePrimaryBtn";U.setAttribute("disabled","disabled");null!=c&&(U.style.display="none",N.className="geBtn gePrimaryBtn");v=document.createElement("div");\r\nv.style.position="absolute";v.style.top="482px";v.style.width="640px";v.style.textAlign="right";var P=document.createElement("div");P.className="geToolbarContainer";P.style.backgroundColor="transparent";P.style.padding="2px";P.style.border="none";P.style.left="199px";P.style.top="442px";var W=null;if(null!=d&&0<d.length){f.style.cursor="move";var ha=document.createElement("table");ha.style.border="1px solid lightGray";ha.style.borderCollapse="collapse";ha.style.borderSpacing="0px";ha.style.width=\r\n"100%";var ea=document.createElement("tbody"),X=(new Date).toDateString();null!=a.currentPage&&null!=a.pages&&(k=mxUtils.indexOf(a.pages,a.currentPage));for(q=d.length-1;0<=q;q--){var Z=function(b){var c=new Date(b.modifiedDate),g=null;if(0<=c.getTime()){var p=function(d){u.stop();m.innerHTML="";var p=mxUtils.parseXml(d),q=a.editor.extractGraphModel(p.documentElement,!0);if(null!=q){var x=function(a){null!=a&&(a=z(Editor.parseDiagramNode(a)));return a},z=function(a){var b=a.getAttribute("background");\r\nif(null==b||""==b||b==mxConstants.NONE)b=e.defaultPageBackgroundColor;f.style.backgroundColor=b;(new mxCodec(a.ownerDocument)).decode(a,e.getModel());e.maxFitScale=1;e.fit(8);e.center();return a};H.style.display="none";H.innerHTML="";A=p;B=d;l=parseSelectFunction=null;n=0;if("mxfile"==q.nodeName){p=q.getElementsByTagName("diagram");l=[];for(d=0;d<p.length;d++)l.push(p[d]);n=Math.min(k,l.length-1);0<l.length&&x(l[n]);if(1<l.length)for(H.removeAttribute("disabled"),H.style.display="",d=0;d<l.length;d++)p=\r\ndocument.createElement("option"),mxUtils.write(p,l[d].getAttribute("name")||mxResources.get("pageWithNumber",[d+1])),p.setAttribute("value",d),d==n&&p.setAttribute("selected","selected"),H.appendChild(p);L=function(){try{var b=parseInt(H.value);n=k=b;x(l[b])}catch(aa){H.value=k,a.handleError(aa)}}}else z(q);d=b.lastModifyingUserName;null!=d&&20<d.length&&(d=d.substring(0,20)+"...");J.innerHTML="";mxUtils.write(J,(null!=d?d+" ":"")+c.toLocaleDateString()+" "+c.toLocaleTimeString());J.setAttribute("title",\r\ng.getAttribute("title"));E.removeAttribute("disabled");F.removeAttribute("disabled");D.removeAttribute("disabled");C.removeAttribute("disabled");G.removeAttribute("disabled");null!=t&&t.isRestricted()||(a.editor.graph.isEnabled()&&N.removeAttribute("disabled"),I.removeAttribute("disabled"),U.removeAttribute("disabled"),V.removeAttribute("disabled"));mxUtils.setOpacity(E,60);mxUtils.setOpacity(F,60);mxUtils.setOpacity(D,60);mxUtils.setOpacity(C,60);mxUtils.setOpacity(G,60)}else H.style.display="none",\r\nH.innerHTML="",J.innerHTML="",mxUtils.write(J,mxResources.get("errorLoadingFile")),mxUtils.write(m,mxResources.get("errorLoadingFile"))},g=document.createElement("tr");g.style.borderBottom="1px solid lightGray";g.style.fontSize="12px";g.style.cursor="pointer";var q=document.createElement("td");q.style.padding="6px";q.style.whiteSpace="nowrap";b==d[d.length-1]?mxUtils.write(q,mxResources.get("current")):c.toDateString()===X?mxUtils.write(q,c.toLocaleTimeString()):mxUtils.write(q,c.toLocaleDateString()+\r\n" "+c.toLocaleTimeString());g.appendChild(q);g.setAttribute("title",c.toLocaleDateString()+" "+c.toLocaleTimeString()+(null!=b.fileSize?" "+a.formatFileSize(parseInt(b.fileSize)):"")+(null!=b.lastModifyingUserName?" "+b.lastModifyingUserName:""));mxEvent.addListener(g,"click",function(a){x!=b&&(u.stop(),null!=y&&(y.style.backgroundColor=""),x=b,y=g,y.style.backgroundColor=Editor.isDarkMode()?"#000000":"#ebf2f9",B=A=null,J.removeAttribute("title"),J.innerHTML=mxUtils.htmlEntities(mxResources.get("loading")+\r\n"..."),f.style.backgroundColor=e.defaultPageBackgroundColor,m.innerHTML="",e.getModel().clear(),N.setAttribute("disabled","disabled"),I.setAttribute("disabled","disabled"),E.setAttribute("disabled","disabled"),F.setAttribute("disabled","disabled"),C.setAttribute("disabled","disabled"),D.setAttribute("disabled","disabled"),G.setAttribute("disabled","disabled"),V.setAttribute("disabled","disabled"),U.setAttribute("disabled","disabled"),H.setAttribute("disabled","disabled"),mxUtils.setOpacity(E,20),\r\nmxUtils.setOpacity(F,20),mxUtils.setOpacity(D,20),mxUtils.setOpacity(C,20),mxUtils.setOpacity(G,20),u.spin(f),b.getXml(function(a){if(x==b)try{p(a)}catch(fa){J.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+": "+fa.message)}},function(a){u.stop();H.style.display="none";H.innerHTML="";J.innerHTML="";mxUtils.write(J,mxResources.get("errorLoadingFile"));mxUtils.write(m,mxResources.get("errorLoadingFile"))}),mxEvent.consume(a))});mxEvent.addListener(g,"dblclick",function(a){U.click();window.getSelection?\r\nwindow.getSelection().removeAllRanges():document.selection&&document.selection.empty();mxEvent.consume(a)},!1);ea.appendChild(g)}return g}(d[q]);null!=Z&&q==d.length-1&&(W=Z)}ha.appendChild(ea);g.appendChild(ha)}else null==t||null==a.drive&&t.constructor==window.DriveFile||null==a.dropbox&&t.constructor==window.DropboxFile?(f.style.display="none",P.style.display="none",mxUtils.write(g,mxResources.get("notAvailable"))):(f.style.display="none",P.style.display="none",mxUtils.write(g,mxResources.get("noRevisions")));\r\nthis.init=function(){null!=W&&W.click()};g=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});g.className="geBtn";P.appendChild(H);P.appendChild(E);P.appendChild(F);P.appendChild(C);P.appendChild(D);P.appendChild(G);a.editor.cancelFirst?(v.appendChild(g),v.appendChild(I),v.appendChild(V),v.appendChild(N),v.appendChild(U)):(v.appendChild(I),v.appendChild(V),v.appendChild(N),v.appendChild(U),v.appendChild(g));b.appendChild(v);b.appendChild(P);b.appendChild(J);this.container=b},DraftDialog=\r\nfunction(a,d,c,b,g,f,m,e,k){var l=document.createElement("div"),n=document.createElement("div");n.style.marginTop="0px";n.style.whiteSpace="nowrap";n.style.overflow="auto";n.style.lineHeight="normal";mxUtils.write(n,d);l.appendChild(n);var p=document.createElement("select"),q=mxUtils.bind(this,function(){x=mxUtils.parseXml(k[p.value].data);A=a.editor.extractGraphModel(x.documentElement,!0);B=0;this.init()});if(null!=k){p.style.marginLeft="4px";for(d=0;d<k.length;d++){var u=document.createElement("option");\r\nu.setAttribute("value",d);var t=new Date(k[d].created),v=new Date(k[d].modified);mxUtils.write(u,t.toLocaleDateString()+" "+t.toLocaleTimeString()+" - "+(t.toDateString(),v.toDateString(),v.toLocaleDateString())+" "+v.toLocaleTimeString());p.appendChild(u)}n.appendChild(p);mxEvent.addListener(p,"change",q)}null==c&&(c=k[0].data);var z=document.createElement("div");z.style.position="absolute";z.style.border="1px solid lightGray";z.style.marginTop="10px";z.style.left="40px";z.style.right="40px";z.style.top=\r\n"46px";z.style.bottom="74px";z.style.overflow="hidden";mxEvent.disableContextMenu(z);l.appendChild(z);var y=new Graph(z);y.setEnabled(!1);y.setPanning(!0);y.panningHandler.ignoreCell=!0;y.panningHandler.useLeftButtonForPanning=!0;y.minFitScale=null;y.maxFitScale=null;y.centerZoom=!0;var x=mxUtils.parseXml(c),A=a.editor.extractGraphModel(x.documentElement,!0),B=0,E=null,F=y.getGlobalVariable;y.getGlobalVariable=function(a){return"page"==a&&null!=E&&null!=E[B]?E[B].getAttribute("name"):"pagenumber"==\r\na?B+1:"pagecount"==a?null!=E?E.length:1:F.apply(this,arguments)};y.getLinkForCell=function(){return null};c=mxUtils.button("",function(){y.zoomIn()});c.className="geSprite geSprite-zoomin";c.setAttribute("title",mxResources.get("zoomIn"));c.style.outline="none";c.style.border="none";c.style.margin="2px";mxUtils.setOpacity(c,60);n=mxUtils.button("",function(){y.zoomOut()});n.className="geSprite geSprite-zoomout";n.setAttribute("title",mxResources.get("zoomOut"));n.style.outline="none";n.style.border=\r\n"none";n.style.margin="2px";mxUtils.setOpacity(n,60);d=mxUtils.button("",function(){y.maxFitScale=8;y.fit(8);y.center()});d.className="geSprite geSprite-fit";d.setAttribute("title",mxResources.get("fit"));d.style.outline="none";d.style.border="none";d.style.margin="2px";mxUtils.setOpacity(d,60);u=mxUtils.button("",function(){y.zoomActual();y.center()});u.className="geSprite geSprite-actualsize";u.setAttribute("title",mxResources.get("actualSize"));u.style.outline="none";u.style.border="none";u.style.margin=\r\n"2px";mxUtils.setOpacity(u,60);m=mxUtils.button(m||mxResources.get("discard"),function(){g.apply(this,[p.value,mxUtils.bind(this,function(){null!=p.parentNode&&(p.options[p.selectedIndex].parentNode.removeChild(p.options[p.selectedIndex]),0<p.options.length?(p.value=p.options[0].value,q()):a.hideDialog(!0))})])});m.className="geBtn";var D=document.createElement("select");D.style.maxWidth="80px";D.style.position="relative";D.style.top="-2px";D.style.verticalAlign="bottom";D.style.marginRight="6px";\r\nD.style.display="none";f=mxUtils.button(f||mxResources.get("edit"),function(){b.apply(this,[p.value])});f.className="geBtn gePrimaryBtn";t=document.createElement("div");t.style.position="absolute";t.style.bottom="30px";t.style.right="40px";t.style.textAlign="right";v=document.createElement("div");v.className="geToolbarContainer";v.style.cssText="box-shadow:none !important;background-color:transparent;padding:2px;border-style:none !important;bottom:30px;";this.init=function(){function a(a){if(null!=\r\na){var b=a.getAttribute("background");if(null==b||""==b||b==mxConstants.NONE)b=Editor.isDarkMode()?"transparent":"#ffffff";z.style.backgroundColor=b;(new mxCodec(a.ownerDocument)).decode(a,y.getModel());y.maxFitScale=1;y.fit(8);y.center()}return a}function b(b){null!=b&&(b=a(Editor.parseDiagramNode(b)));return b}mxEvent.addListener(D,"change",function(a){B=parseInt(D.value);b(E[B]);mxEvent.consume(a)});if("mxfile"==A.nodeName){var e=A.getElementsByTagName("diagram");E=[];for(var c=0;c<e.length;c++)E.push(e[c]);\r\n0<E.length&&b(E[B]);D.innerHTML="";if(1<E.length)for(D.style.display="",c=0;c<E.length;c++)e=document.createElement("option"),mxUtils.write(e,E[c].getAttribute("name")||mxResources.get("pageWithNumber",[c+1])),e.setAttribute("value",c),c==B&&e.setAttribute("selected","selected"),D.appendChild(e);else D.style.display="none"}else a(A)};v.appendChild(D);v.appendChild(c);v.appendChild(n);v.appendChild(u);v.appendChild(d);c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog(!0)});c.className=\r\n"geBtn";e=null!=e?mxUtils.button(mxResources.get("ignore"),e):null;null!=e&&(e.className="geBtn");a.editor.cancelFirst?(t.appendChild(c),null!=e&&t.appendChild(e),t.appendChild(m),t.appendChild(f)):(t.appendChild(f),t.appendChild(m),null!=e&&t.appendChild(e),t.appendChild(c));l.appendChild(t);l.appendChild(v);this.container=l},FindWindow=function(a,d,c,b,g,f){function m(a,b,e,c){if("object"===typeof b.value&&null!=b.value.attributes){b=b.value.attributes;for(var d=0;d<b.length;d++)if("label"!=b[d].nodeName){var k=\r\nmxUtils.trim(b[d].nodeValue.replace(/[\\x00-\\x1F\\x7F-\\x9F]|\\s+/g," ")).toLowerCase();if(null==a&&(c&&0<=k.indexOf(e)||!c&&k.substring(0,e.length)===e)||null!=a&&a.test(k))return!0}}return!1}function e(){u&&E.value?(I.removeAttribute("disabled"),N.removeAttribute("disabled")):(I.setAttribute("disabled","disabled"),N.setAttribute("disabled","disabled"));E.value&&B.value?H.removeAttribute("disabled"):H.setAttribute("disabled","disabled")}function k(b,c,d){M.innerHTML="";var l=n.model.getDescendants(n.model.getRoot()),\r\ng=B.value.toLowerCase(),x=F.checked?new RegExp(g):null,I=null;v=null;p!=g&&(p=g,q=null,t=!1);var A=null==q;if(0<g.length){if(t){t=!1;for(var H,N=0;N<a.pages.length;N++)if(a.currentPage==a.pages[N]){H=N;break}b=(H+1)%a.pages.length;q=null;do t=!1,l=a.pages[b],n=a.createTemporaryGraph(n.getStylesheet()),a.updatePageRoot(l),n.model.setRoot(l.root),b=(b+1)%a.pages.length;while(!k(!0,c,d)&&b!=H);q&&(q=null,d?a.editor.graph.model.execute(new SelectPage(a,l)):a.selectPage(l));t=!1;n=a.editor.graph;return k(!0,\r\nc,d)}for(N=0;N<l.length;N++){H=n.view.getState(l[N]);c&&null!=x&&(A=A||H==q);if(null!=H&&null!=H.cell.value&&(A||null==I)&&(n.model.isVertex(H.cell)||n.model.isEdge(H.cell))){null!=H.style&&"1"==H.style.html?(C.innerHTML=n.sanitizeHtml(n.getLabel(H.cell)),label=mxUtils.extractTextWithWhitespace([C])):label=n.getLabel(H.cell);label=mxUtils.trim(label.replace(/[\\x00-\\x1F\\x7F-\\x9F]|\\s+/g," ")).toLowerCase();var V=0;c&&f&&null!=x&&H==q&&(label=label.substr(z),V=z);var y=""==E.value,L=y;if(null==x&&(L&&\r\n0<=label.indexOf(g)||!L&&label.substring(0,g.length)===g||y&&m(x,H.cell,g,L))||null!=x&&(x.test(label)||y&&m(x,H.cell,g,L)))if(f&&(null!=x?(y=label.match(x),v=y[0].toLowerCase(),z=V+y.index+v.length):(v=g,z=v.length)),A){I=H;break}else null==I&&(I=H)}A=A||H==q}}if(null!=I){if(N==l.length&&D.checked)return q=null,t=!0,k(!0,c,d);q=I;n.scrollCellToVisible(q.cell);n.isEnabled()&&!n.isCellLocked(q.cell)?d||n.getSelectionCell()==q.cell&&1==n.getSelectionCount()||n.setSelectionCell(q.cell):n.highlightCell(q.cell)}else{if(!b&&\r\nD.checked)return t=!0,k(!0,c,d);n.isEnabled()&&!d&&n.clearSelection()}u=null!=I;f&&!b&&e();return 0==g.length||null!=I}var l=a.actions.get("findReplace"),n=a.editor.graph,p=null,q=null,u=!1,t=!1,v=null,z=0,y=1,x=document.createElement("div");x.style.userSelect="none";x.style.overflow="hidden";x.style.padding="10px";x.style.height="100%";var A=f?"260px":"200px",B=document.createElement("input");B.setAttribute("placeholder",mxResources.get("find"));B.setAttribute("type","text");B.style.marginTop="4px";\r\nB.style.marginBottom="6px";B.style.width=A;B.style.fontSize="12px";B.style.borderRadius="4px";B.style.padding="6px";x.appendChild(B);mxUtils.br(x);var E;f&&(E=document.createElement("input"),E.setAttribute("placeholder",mxResources.get("replaceWith")),E.setAttribute("type","text"),E.style.marginTop="4px",E.style.marginBottom="6px",E.style.width=A,E.style.fontSize="12px",E.style.borderRadius="4px",E.style.padding="6px",x.appendChild(E),mxUtils.br(x),mxEvent.addListener(E,"input",e));var F=document.createElement("input");\r\nF.setAttribute("id","geFindWinRegExChck");F.setAttribute("type","checkbox");F.style.marginRight="4px";x.appendChild(F);A=document.createElement("label");A.setAttribute("for","geFindWinRegExChck");x.appendChild(A);mxUtils.write(A,mxResources.get("regularExpression"));x.appendChild(A);A=a.menus.createHelpLink("https://www.diagrams.net/doc/faq/find-shapes");A.style.position="relative";A.style.marginLeft="6px";A.style.top="-1px";x.appendChild(A);mxUtils.br(x);var D=document.createElement("input");D.setAttribute("id",\r\n"geFindWinAllPagesChck");D.setAttribute("type","checkbox");D.style.marginRight="4px";x.appendChild(D);A=document.createElement("label");A.setAttribute("for","geFindWinAllPagesChck");x.appendChild(A);mxUtils.write(A,mxResources.get("allPages"));x.appendChild(A);var C=document.createElement("div");mxUtils.br(x);A=document.createElement("div");A.style.left="0px";A.style.right="0px";A.style.marginTop="6px";A.style.padding="0 6px 0 6px";A.style.textAlign="center";x.appendChild(A);var G=mxUtils.button(mxResources.get("reset"),\r\nfunction(){M.innerHTML="";B.value="";B.style.backgroundColor="";f&&(E.value="",e());p=q=null;t=!1;B.focus()});G.setAttribute("title",mxResources.get("reset"));G.style["float"]="none";G.style.width="120px";G.style.marginTop="6px";G.style.marginLeft="8px";G.style.overflow="hidden";G.style.textOverflow="ellipsis";G.className="geBtn";f||A.appendChild(G);var K=mxUtils.button(mxResources.get("find"),function(){try{B.style.backgroundColor=k()?"":Editor.isDarkMode()?"#ff0000":"#ffcfcf"}catch(V){a.handleError(V)}});\r\nK.setAttribute("title",mxResources.get("find")+" (Enter)");K.style["float"]="none";K.style.width="120px";K.style.marginTop="6px";K.style.marginLeft="8px";K.style.overflow="hidden";K.style.textOverflow="ellipsis";K.className="geBtn gePrimaryBtn";A.appendChild(K);var M=document.createElement("div");M.style.marginTop="10px";if(f){var J=function(a,b,e,c,d){if(null==d||"1"!=d.html)return c=a.toLowerCase().indexOf(b,c),0>c?a:a.substr(0,c)+e+a.substr(c+b.length);var k=a;b=mxUtils.htmlEntities(b);d=[];for(var l=\r\n-1;-1<(l=a.indexOf("<",l+1));)d.push(l);l=a.match(/<[^>]*>/g);a=a.replace(/<[^>]*>/g,"");c=a.toLowerCase().indexOf(b,c);if(0>c)return k;k=c+b.length;e=mxUtils.htmlEntities(e);a=a.substr(0,c)+e+a.substr(k);for(var f=0,g=0;g<d.length;g++){if(d[g]-f<c)a=a.substr(0,d[g])+l[g]+a.substr(d[g]);else{var n=d[g]-f<k?c+f:d[g]+(e.length-b.length);a=a.substr(0,n)+l[g]+a.substr(n)}f+=l[g].length}return a},I=mxUtils.button(mxResources.get("replFind"),function(){try{if(null!=v&&null!=q&&E.value){var b=q.cell,e=n.getLabel(b);\r\nn.isCellEditable(b)&&n.model.setValue(b,J(e,v,E.value,z-v.length,n.getCurrentCellStyle(b)));B.style.backgroundColor=k(!1,!0)?"":Editor.isDarkMode()?"#ff0000":"#ffcfcf"}}catch(P){a.handleError(P)}});I.setAttribute("title",mxResources.get("replFind"));I.style["float"]="none";I.style.width="120px";I.style.marginTop="6px";I.style.marginLeft="8px";I.style.overflow="hidden";I.style.textOverflow="ellipsis";I.className="geBtn gePrimaryBtn";I.setAttribute("disabled","disabled");A.appendChild(I);mxUtils.br(A);\r\nvar N=mxUtils.button(mxResources.get("replace"),function(){try{if(null!=v&&null!=q&&E.value){var b=q.cell,e=n.getLabel(b);n.model.setValue(b,J(e,v,E.value,z-v.length,n.getCurrentCellStyle(b)));I.setAttribute("disabled","disabled");N.setAttribute("disabled","disabled")}}catch(P){a.handleError(P)}});N.setAttribute("title",mxResources.get("replace"));N.style["float"]="none";N.style.width="120px";N.style.marginTop="6px";N.style.marginLeft="8px";N.style.overflow="hidden";N.style.textOverflow="ellipsis";\r\nN.className="geBtn gePrimaryBtn";N.setAttribute("disabled","disabled");A.appendChild(N);var H=mxUtils.button(mxResources.get("replaceAll"),function(){M.innerHTML="";if(E.value){var b=a.currentPage,e=a.editor.graph.getSelectionCells();a.editor.graph.rendering=!1;n.getModel().beginUpdate();try{for(var c=0,d={};k(!1,!0,!0)&&100>c;){var l=q.cell,f=n.getLabel(l),g=d[l.id];if(g&&g.replAllMrk==y&&g.replAllPos>=z)break;d[l.id]={replAllMrk:y,replAllPos:z};n.isCellEditable(l)&&(n.model.setValue(l,J(f,v,E.value,\r\nz-v.length,n.getCurrentCellStyle(l))),c++)}b!=a.currentPage&&a.editor.graph.model.execute(new SelectPage(a,b));mxUtils.write(M,mxResources.get("matchesRepl",[c]))}catch(Z){a.handleError(Z)}finally{n.getModel().endUpdate(),a.editor.graph.setSelectionCells(e),a.editor.graph.rendering=!0}y++}});H.setAttribute("title",mxResources.get("replaceAll"));H.style["float"]="none";H.style.width="120px";H.style.marginTop="6px";H.style.marginLeft="8px";H.style.overflow="hidden";H.style.textOverflow="ellipsis";H.className=\r\n"geBtn gePrimaryBtn";H.setAttribute("disabled","disabled");A.appendChild(H);mxUtils.br(A);A.appendChild(G);G=mxUtils.button(mxResources.get("close"),mxUtils.bind(this,function(){this.window.setVisible(!1)}));G.setAttribute("title",mxResources.get("close"));G.style["float"]="none";G.style.width="120px";G.style.marginTop="6px";G.style.marginLeft="8px";G.style.overflow="hidden";G.style.textOverflow="ellipsis";G.className="geBtn";A.appendChild(G);mxUtils.br(A);A.appendChild(M)}else G.style.width="90px",\r\nK.style.width="90px";mxEvent.addListener(B,"keyup",function(a){if(91==a.keyCode||93==a.keyCode||17==a.keyCode)mxEvent.consume(a);else if(27==a.keyCode)l.funct();else if(p!=B.value.toLowerCase()||13==a.keyCode)try{B.style.backgroundColor=k()?"":Editor.isDarkMode()?"#ff0000":"#ffcfcf"}catch(U){B.style.backgroundColor=Editor.isDarkMode()?"#ff0000":"#ffcfcf"}});mxEvent.addListener(x,"keydown",function(b){70==b.keyCode&&a.keyHandler.isControlDown(b)&&!mxEvent.isShiftDown(b)&&(l.funct(),mxEvent.consume(b))});\r\nthis.window=new mxWindow(mxResources.get("find")+(f?"/"+mxResources.get("replace"):""),x,d,c,b,g,!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()?(B.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?B.select():document.execCommand("selectAll",!1,null),null!=a.pages&&1<a.pages.length?D.removeAttribute("disabled"):\r\n(D.checked=!1,D.setAttribute("disabled","disabled"))):n.container.focus()}));this.window.setLocation=function(a,b){var e=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,e-this.table.clientHeight-("1"==urlParams.sketch?3:48)));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};\r\nvar L=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",L);this.destroy=function(){mxEvent.removeListener(window,"resize",L);this.window.destroy()}},FreehandWindow=function(a,d,c,b,g){var f=a.editor.graph;a=document.createElement("div");a.style.textAlign="center";a.style.userSelect="none";a.style.overflow="hidden";a.style.height="100%";var m=mxUtils.button(mxResources.get("startDrawing"),function(){f.freehand.isDrawing()?\r\nf.freehand.stopDrawing():f.freehand.startDrawing()});m.setAttribute("title",mxResources.get("startDrawing"));m.style.marginTop="10px";m.style.width="90%";m.style.boxSizing="border-box";m.style.overflow="hidden";m.style.textOverflow="ellipsis";m.style.textAlign="center";m.className="geBtn gePrimaryBtn";a.appendChild(m);this.window=new mxWindow(mxResources.get("freehand"),a,d,c,b,g,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!1);this.window.setClosable(!0);\r\nf.addListener("freehandStateChanged",mxUtils.bind(this,function(){m.innerHTML="";mxUtils.write(m,mxResources.get(f.freehand.isDrawing()?"stopDrawing":"startDrawing"));m.setAttribute("title",mxResources.get(f.freehand.isDrawing()?"stopDrawing":"startDrawing"));m.className="geBtn"+(f.freehand.isDrawing()?"":" gePrimaryBtn")}));this.window.addListener("show",mxUtils.bind(this,function(){this.window.fit()}));this.window.addListener("hide",mxUtils.bind(this,function(){f.freehand.isDrawing()&&f.freehand.stopDrawing()}));\r\nthis.window.setLocation=function(a,b){var e=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,e-this.table.clientHeight-("1"==urlParams.sketch?3:48)));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var e=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();\r\nthis.window.setLocation(a,b)});mxEvent.addListener(window,"resize",e);this.destroy=function(){mxEvent.removeListener(window,"resize",e);this.window.destroy()}},TagsWindow=function(a,d,c,b,g){var f=a.editor.graph,m="tags",e=document.createElement("div");e.style.userSelect="none";e.style.overflow="hidden";e.style.padding="10px";e.style.height="100%";var k=document.createElement("input");k.setAttribute("placeholder",mxResources.get("allTags"));k.setAttribute("type","text");k.style.marginTop="4px";k.style.width=\r\n"260px";k.style.fontSize="12px";k.style.borderRadius="4px";k.style.padding="6px";e.appendChild(k);if(!a.isOffline()||mxClient.IS_CHROMEAPP){k.style.width="240px";var l=a.menus.createHelpLink("https://www.diagrams.net/doc/faq/tags-plugin");l.firstChild.style.marginBottom="6px";l.style.marginLeft="6px";e.appendChild(l)}mxEvent.addListener(k,"dblclick",function(){var b=new FilenameDialog(a,m,mxResources.get("ok"),mxUtils.bind(this,function(a){null!=a&&0<a.length&&(m=a)}),mxResources.get("enterPropertyName"));\r\na.showDialog(b.container,300,80,!0,!0);b.init()});k.setAttribute("title",mxResources.get("doubleClickChangeProperty"));mxUtils.br(e);l=mxUtils.button(mxResources.get("hide"),function(){var a=f.getCellsForTags(k.value.split(" "),void 0,m,!0);f.setCellsVisible(a,!1)});l.setAttribute("title",mxResources.get("hide"));l.style.marginTop="8px";l.style.marginRight="4px";l.className="geBtn";e.appendChild(l);l=mxUtils.button(mxResources.get("show"),function(){var a=f.getCellsForTags(k.value.split(" "),void 0,\r\nm,!0);f.setCellsVisible(a,!0);if(f.isEnabled()){for(var b=[],e=0;e<a.length;e++)f.isCellLocked(a[e])||!f.model.isVertex(a[e])&&!f.model.isEdge(a[e])||b.push(a[e]);f.setSelectionCells(b)}else for(e=0;e<a.length;e++)f.highlightCell(a[e])});l.setAttribute("title",mxResources.get("show"));l.style.marginTop="8px";l.style.marginRight="4px";l.className="geBtn";e.appendChild(l);var n=a.actions.get("tags"),l=mxUtils.button(mxResources.get("close"),function(){n.funct()});l.setAttribute("title",mxResources.get("close")+\r\n" (Enter/Esc)");l.style.marginTop="8px";l.className="geBtn gePrimaryBtn";e.appendChild(l);mxEvent.addListener(k,"keyup",function(a){13!=a.keyCode&&27!=a.keyCode||n.funct()});this.window=new mxWindow(mxResources.get("tags"),e,d,c,b,g,!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()?(k.focus(),mxClient.IS_GC||mxClient.IS_FF||\r\n5<=document.documentMode?k.select():document.execCommand("selectAll",!1,null)):f.container.focus()}));this.window.setLocation=function(a,b){var e=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,e-this.table.clientHeight-("1"==urlParams.sketch?3:48)));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,\r\narguments)};var p=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",p);this.destroy=function(){mxEvent.removeListener(window,"resize",p);this.window.destroy()}},AuthDialog=function(a,d,c,b){var g=document.createElement("div");g.style.textAlign="center";var f=document.createElement("p");f.style.fontSize="16pt";f.style.padding="0px";f.style.margin="0px";f.style.color="gray";mxUtils.write(f,mxResources.get("authorizationRequired"));\r\nvar m="Unknown",e=document.createElement("img");e.setAttribute("border","0");e.setAttribute("align","absmiddle");e.style.marginRight="10px";d==a.drive?(m=mxResources.get("googleDrive"),e.src=IMAGE_PATH+"/google-drive-logo-white.svg"):d==a.dropbox?(m=mxResources.get("dropbox"),e.src=IMAGE_PATH+"/dropbox-logo-white.svg"):d==a.oneDrive?(m=mxResources.get("oneDrive"),e.src=IMAGE_PATH+"/onedrive-logo-white.svg"):d==a.gitHub?(m=mxResources.get("github"),e.src=IMAGE_PATH+"/github-logo-white.svg"):d==a.gitLab?\r\n(m=mxResources.get("gitlab"),e.src=IMAGE_PATH+"/gitlab-logo.svg",e.style.width="32px"):d==a.notion?(m=mxResources.get("notion"),e.src=IMAGE_PATH+"/notion-logo-white.svg",e.style.width="32px"):d==a.trello&&(m=mxResources.get("trello"),e.src=IMAGE_PATH+"/trello-logo-white.svg");a=document.createElement("p");mxUtils.write(a,mxResources.get("authorizeThisAppIn",[m]));var k=document.createElement("input");k.setAttribute("type","checkbox");m=mxUtils.button(mxResources.get("authorize"),function(){b(k.checked)});\r\nm.insertBefore(e,m.firstChild);m.style.marginTop="6px";m.className="geBigButton";m.style.fontSize="18px";m.style.padding="14px";g.appendChild(f);g.appendChild(a);g.appendChild(m);c&&(c=document.createElement("p"),c.style.marginTop="20px",c.appendChild(k),f=document.createElement("span"),mxUtils.write(f," "+mxResources.get("rememberMe")),c.appendChild(f),g.appendChild(c),k.checked=!0,k.defaultChecked=!0,mxEvent.addListener(f,"click",function(a){k.checked=!k.checked;mxEvent.consume(a)}));this.container=\r\ng},MoreShapesDialog=function(a,d,c){c=null!=c?c:a.sidebar.entries;var b=document.createElement("div"),g=[];if(null!=a.sidebar.customEntries)for(var f=0;f<a.sidebar.customEntries.length;f++){for(var m=a.sidebar.customEntries[f],e={title:a.getResource(m.title),entries:[]},k=0;k<m.entries.length;k++){var l=m.entries[k];e.entries.push({id:l.id,title:a.getResource(l.title),desc:a.getResource(l.desc),image:l.preview})}g.push(e)}for(f=0;f<c.length;f++)if(null==a.sidebar.enabledLibraries)g.push(c[f]);else{e=\r\n{title:c[f].title,entries:[]};for(k=0;k<c[f].entries.length;k++)0<=mxUtils.indexOf(a.sidebar.enabledLibraries,c[f].entries[k].id)&&e.entries.push(c[f].entries[k]);0<e.entries.length&&g.push(e)}c=g;if(d){f=mxUtils.bind(this,function(b){for(var e=0;e<b.length;e++)(function(b){var c=t.cloneNode(!1);c.style.fontWeight="bold";c.style.backgroundColor=Editor.isDarkMode()?"#505759":"#e5e5e5";c.style.padding="6px 0px 6px 20px";mxUtils.write(c,b.title);n.appendChild(c);for(var d=0;d<b.entries.length;d++)(function(b){var c=\r\nt.cloneNode(!1);c.style.cursor="pointer";c.style.padding="4px 0px 4px 20px";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.textOverflow="ellipsis";c.setAttribute("title",b.title+" ("+b.id+")");var k=document.createElement("input");k.setAttribute("type","checkbox");k.checked=a.sidebar.isEntryVisible(b.id);k.defaultChecked=k.checked;c.appendChild(k);mxUtils.write(c," "+b.title);n.appendChild(c);var l=function(a){if(null==a||"INPUT"!=mxEvent.getSource(a).nodeName){p.style.textAlign="center";\r\np.style.padding="0px";p.style.color="";p.innerHTML="";if(null!=b.desc){var e=document.createElement("pre");e.style.boxSizing="border-box";e.style.fontFamily="inherit";e.style.margin="20px";e.style.right="0px";e.style.textAlign="left";mxUtils.write(e,b.desc);p.appendChild(e)}null!=b.imageCallback?b.imageCallback(p):null!=b.image?p.innerHTML+=\'<img border="0" src="\'+b.image+\'"/>\':null==b.desc&&(p.style.padding="20px",p.style.color="rgb(179, 179, 179)",mxUtils.write(p,mxResources.get("noPreview")));\r\nnull!=q&&(q.style.backgroundColor="");q=c;q.style.backgroundColor=Editor.isDarkMode()?"#000000":"#ebf2f9";null!=a&&mxEvent.consume(a)}};mxEvent.addListener(c,"click",l);mxEvent.addListener(c,"dblclick",function(a){k.checked=!k.checked;mxEvent.consume(a)});u.push(function(){return k.checked?b.id:null});0==e&&0==d&&l()})(b.entries[d])})(b[e])});k=document.createElement("div");k.className="geDialogTitle";mxUtils.write(k,mxResources.get("shapes"));k.style.position="absolute";k.style.top="0px";k.style.left=\r\n"0px";k.style.lineHeight="40px";k.style.height="40px";k.style.right="0px";var n=document.createElement("div"),p=document.createElement("div");n.style.position="absolute";n.style.top="40px";n.style.left="0px";n.style.width="202px";n.style.bottom="60px";n.style.overflow="auto";p.style.position="absolute";p.style.left="202px";p.style.right="0px";p.style.top="40px";p.style.bottom="60px";p.style.overflow="auto";p.style.borderLeft="1px solid rgb(211, 211, 211)";p.style.textAlign="center";var q=null,u=[],\r\nt=document.createElement("div");t.style.position="relative";t.style.left="0px";t.style.right="0px";f(c);b.style.padding="30px";b.appendChild(k);b.appendChild(n);b.appendChild(p);c=document.createElement("div");c.className="geDialogFooter";c.style.position="absolute";c.style.paddingRight="16px";c.style.color="gray";c.style.left="0px";c.style.right="0px";c.style.bottom="0px";c.style.height="60px";c.style.lineHeight="52px";var v=document.createElement("input");v.setAttribute("type","checkbox");if(isLocalStorage||\r\nmxClient.IS_CHROMEAPP)f=document.createElement("span"),f.style.paddingRight="20px",f.appendChild(v),mxUtils.write(f," "+mxResources.get("rememberThisSetting")),v.checked=!0,v.defaultChecked=!0,mxEvent.addListener(f,"click",function(a){mxEvent.getSource(a)!=v&&(v.checked=!v.checked,mxEvent.consume(a))}),c.appendChild(f);f=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});f.className="geBtn";k=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();for(var b=[],e=0;e<u.length;e++){var c=\r\nu[e].apply(this,arguments);null!=c&&b.push(c)}a.sidebar.showEntries(b.join(";"),v.checked,!0)});k.className="geBtn gePrimaryBtn"}else{var z=document.createElement("table"),f=document.createElement("tbody");b.style.height="100%";b.style.overflow="auto";k=document.createElement("tr");z.style.width="100%";d=document.createElement("td");var g=document.createElement("td"),m=document.createElement("td"),y=mxUtils.bind(this,function(b,e,c){var d=document.createElement("input");d.type="checkbox";z.appendChild(d);\r\nd.checked=a.sidebar.isEntryVisible(c);var k=document.createElement("span");mxUtils.write(k,e);e=document.createElement("div");e.style.display="block";e.appendChild(d);e.appendChild(k);mxEvent.addListener(k,"click",function(a){d.checked=!d.checked;mxEvent.consume(a)});b.appendChild(e);return function(){return d.checked?c:null}});k.appendChild(d);k.appendChild(g);k.appendChild(m);f.appendChild(k);z.appendChild(f);for(var u=[],x=0,f=0;f<c.length;f++)for(k=0;k<c[f].entries.length;k++)x++;for(var A=[d,\r\ng,m],B=0,f=0;f<c.length;f++)(function(a){for(var b=0;b<a.entries.length;b++){var e=a.entries[b];u.push(y(A[Math.floor(B/(x/3))],e.title,e.id));B++}})(c[f]);b.appendChild(z);c=document.createElement("div");c.style.marginTop="18px";c.style.textAlign="center";v=document.createElement("input");isLocalStorage&&(v.setAttribute("type","checkbox"),v.checked=!0,v.defaultChecked=!0,c.appendChild(v),f=document.createElement("span"),mxUtils.write(f," "+mxResources.get("rememberThisSetting")),c.appendChild(f),\r\nmxEvent.addListener(f,"click",function(a){v.checked=!v.checked;mxEvent.consume(a)}));b.appendChild(c);f=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});f.className="geBtn";k=mxUtils.button(mxResources.get("apply"),function(){for(var b=["search"],e=0;e<u.length;e++){var c=u[e].apply(this,arguments);null!=c&&b.push(c)}a.sidebar.showEntries(0<b.length?b.join(";"):"",v.checked);a.hideDialog()});k.className="geBtn gePrimaryBtn";c=document.createElement("div");c.style.marginTop="26px";\r\nc.style.textAlign="right"}a.editor.cancelFirst?(c.appendChild(f),c.appendChild(k)):(c.appendChild(k),c.appendChild(f));b.appendChild(c);this.container=b},PluginsDialog=function(a,d,c){function b(){if(0==m.length)f.innerHTML=mxUtils.htmlEntities(mxResources.get("noPlugins"));else{f.innerHTML="";for(var e=0;e<m.length;e++){var d=document.createElement("span");d.style.whiteSpace="nowrap";var k=document.createElement("span");k.className="geSprite geSprite-delete";k.style.position="relative";k.style.cursor=\r\n"pointer";k.style.top="5px";k.style.marginRight="4px";k.style.display="inline-block";d.appendChild(k);mxUtils.write(d,m[e]);f.appendChild(d);mxUtils.br(f);mxEvent.addListener(k,"click",function(e){return function(){a.confirm(mxResources.get("delete")+\' "\'+m[e]+\'"?\',function(){null!=c&&c(m[e]);m.splice(e,1);b()})}}(e))}}}var g=document.createElement("div"),f=document.createElement("div");f.style.height="120px";f.style.overflow="auto";var m=mxSettings.getPlugins().slice();g.appendChild(f);b();var e=\r\nmxUtils.button(mxResources.get("add")+"...",null!=d?function(){d(function(a){a&&0>mxUtils.indexOf(m,a)&&m.push(a);b()})}:function(){var e=document.createElement("div"),c=document.createElement("span");c.style.marginTop="6px";mxUtils.write(c,mxResources.get("builtinPlugins")+": ");e.appendChild(c);var d=document.createElement("select");d.style.width="150px";for(c=0;c<App.publicPlugin.length;c++){var k=document.createElement("option");mxUtils.write(k,App.publicPlugin[c]);k.value=App.publicPlugin[c];\r\nd.appendChild(k)}e.appendChild(d);mxUtils.br(e);mxUtils.br(e);c=mxUtils.button(mxResources.get("custom")+"...",function(){var e=new FilenameDialog(a,"",mxResources.get("add"),function(e){a.hideDialog();if(null!=e&&0<e.length){e=e.split(";");for(var c=0;c<e.length;c++){var d=e[c],k=App.pluginRegistry[d];null!=k&&(d=k);0<d.length&&0>mxUtils.indexOf(m,d)&&m.push(d)}b()}},mxResources.get("enterValue")+" ("+mxResources.get("url")+")");a.showDialog(e.container,300,80,!0,!0);e.init()});c.className="geBtn";\r\ne=new CustomDialog(a,e,mxUtils.bind(this,function(){var a=App.pluginRegistry[d.value];0>mxUtils.indexOf(m,a)&&(m.push(a),b())}),null,null,null,c);a.showDialog(e.container,300,80,!0,!0)});e.className="geBtn";var k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";var l=mxUtils.button(mxResources.get("apply"),function(){mxSettings.setPlugins(m);mxSettings.save();a.hideDialog();a.alert(mxResources.get("restartForChangeRequired"))});l.className="geBtn gePrimaryBtn";\r\nvar n=document.createElement("div");n.style.marginTop="14px";n.style.textAlign="right";var p=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://www.diagrams.net/doc/faq/plugins")});p.className="geBtn";a.isOffline()&&!mxClient.IS_CHROMEAPP&&(p.style.display="none");n.appendChild(p);a.editor.cancelFirst?(n.appendChild(k),n.appendChild(e),n.appendChild(l)):(n.appendChild(e),n.appendChild(l),n.appendChild(k));g.appendChild(n);this.container=g},CropImageDialog=function(a,d,c){function b(a){null!=\r\nm&&m.destroy();m=a?new Croppie(f,{viewport:{width:150,height:150,type:"circle"},enableExif:!0,showZoomer:!1,enableResize:!1,enableOrientation:!0}):new Croppie(f,{viewport:{width:150,height:150,type:"square"},enableExif:!0,showZoomer:!1,enableResize:!0,enableOrientation:!0});m.bind({url:d})}var g=document.createElement("div"),f=document.createElement("div");f.style.width="300px";f.style.height="300px";g.appendChild(f);var m=null;this.init=function(){b()};var e=document.createElement("input");e.setAttribute("type",\r\n"checkbox");e.setAttribute("id","croppieCircle");e.style.margin="5px";g.appendChild(e);var k=document.createElement("label");k.setAttribute("for","croppieCircle");mxUtils.write(k,mxResources.get("circle"));g.appendChild(k);var l,n,p,q,k=document.createElement("div");l=document.createElement("button");n=document.createElement("button");k.appendChild(l);k.appendChild(n);p=document.createElement("i");q=document.createElement("i");l.appendChild(p);n.appendChild(q);k.className="cr-rotate-controls";k.style["float"]=\r\n"right";k.style.position="inherit";l.className="cr-rotate-l";n.className="cr-rotate-r";g.appendChild(k);l.addEventListener("click",function(){m.rotate(-90)});n.addEventListener("click",function(){m.rotate(90)});mxEvent.addListener(e,"change",function(){b(this.checked)});e=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});e.className="geBtn";k=mxUtils.button(mxResources.get("apply"),function(){m.result({type:"base64",size:"original"}).then(function(b){c(b);a.hideDialog()})});k.className=\r\n"geBtn gePrimaryBtn";l=document.createElement("div");l.style.marginTop="20px";l.style.textAlign="right";a.editor.cancelFirst?(l.appendChild(e),l.appendChild(k)):(l.appendChild(k),l.appendChild(e));g.appendChild(l);this.container=g},EditGeometryDialog=function(a,d){var c=a.editor.graph,b=1==d.length?c.getCellGeometry(d[0]):null,g=document.createElement("div"),f=document.createElement("table"),m=document.createElement("tbody"),e=document.createElement("tr"),k=document.createElement("td"),l=document.createElement("td");\r\nf.style.paddingLeft="6px";mxUtils.write(k,mxResources.get("relative")+":");var n=document.createElement("input");n.setAttribute("type","checkbox");null!=b&&b.relative&&(n.setAttribute("checked","checked"),n.defaultChecked=!0);this.init=function(){n.focus()};l.appendChild(n);e.appendChild(k);e.appendChild(l);m.appendChild(e);e=document.createElement("tr");k=document.createElement("td");l=document.createElement("td");mxUtils.write(k,mxResources.get("left")+":");var p=document.createElement("input");\r\np.setAttribute("type","text");p.style.width="100px";p.value=null!=b?b.x:"";l.appendChild(p);e.appendChild(k);e.appendChild(l);m.appendChild(e);e=document.createElement("tr");k=document.createElement("td");l=document.createElement("td");mxUtils.write(k,mxResources.get("top")+":");var q=document.createElement("input");q.setAttribute("type","text");q.style.width="100px";q.value=null!=b?b.y:"";l.appendChild(q);e.appendChild(k);e.appendChild(l);m.appendChild(e);e=document.createElement("tr");k=document.createElement("td");\r\nl=document.createElement("td");mxUtils.write(k,mxResources.get("dx")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.width="100px";u.value=null!=b&&null!=b.offset?b.offset.x:"";l.appendChild(u);e.appendChild(k);e.appendChild(l);m.appendChild(e);e=document.createElement("tr");k=document.createElement("td");l=document.createElement("td");mxUtils.write(k,mxResources.get("dy")+":");var t=document.createElement("input");t.setAttribute("type","text");t.style.width="100px";\r\nt.value=null!=b&&null!=b.offset?b.offset.y:"";l.appendChild(t);e.appendChild(k);e.appendChild(l);m.appendChild(e);e=document.createElement("tr");k=document.createElement("td");l=document.createElement("td");mxUtils.write(k,mxResources.get("width")+":");var v=document.createElement("input");v.setAttribute("type","text");v.style.width="100px";v.value=null!=b?b.width:"";l.appendChild(v);e.appendChild(k);e.appendChild(l);m.appendChild(e);e=document.createElement("tr");k=document.createElement("td");l=\r\ndocument.createElement("td");mxUtils.write(k,mxResources.get("height")+":");var z=document.createElement("input");z.setAttribute("type","text");z.style.width="100px";z.value=null!=b?b.height:"";l.appendChild(z);e.appendChild(k);e.appendChild(l);m.appendChild(e);e=document.createElement("tr");k=document.createElement("td");l=document.createElement("td");mxUtils.write(k,mxResources.get("rotation")+":");var y=document.createElement("input");y.setAttribute("type","text");y.style.width="100px";y.value=\r\n1==d.length?mxUtils.getValue(c.getCellStyle(d[0]),mxConstants.STYLE_ROTATION,0):"";l.appendChild(y);e.appendChild(k);e.appendChild(l);m.appendChild(e);f.appendChild(m);g.appendChild(f);b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});b.className="geBtn";var x=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();c.getModel().beginUpdate();try{for(var b=0;b<d.length;b++){var e=c.getCellGeometry(d[b]);null!=e&&(e=e.clone(),c.isCellMovable(d[b])&&(e.relative=n.checked,\r\n0<mxUtils.trim(p.value).length&&(e.x=Number(p.value)),0<mxUtils.trim(q.value).length&&(e.y=Number(q.value)),0<mxUtils.trim(u.value).length&&(null==e.offset&&(e.offset=new mxPoint),e.offset.x=Number(u.value)),0<mxUtils.trim(t.value).length&&(null==e.offset&&(e.offset=new mxPoint),e.offset.y=Number(t.value))),c.isCellResizable(d[b])&&(0<mxUtils.trim(v.value).length&&(e.width=Number(v.value)),0<mxUtils.trim(z.value).length&&(e.height=Number(z.value))),c.getModel().setGeometry(d[b],e));0<mxUtils.trim(y.value).length&&\r\nc.setCellStyles(mxConstants.STYLE_ROTATION,Number(y.value),[d[b]])}}finally{c.getModel().endUpdate()}});x.className="geBtn gePrimaryBtn";mxEvent.addListener(g,"keypress",function(a){13==a.keyCode&&x.click()});f=document.createElement("div");f.style.marginTop="20px";f.style.textAlign="right";a.editor.cancelFirst?(f.appendChild(b),f.appendChild(x)):(f.appendChild(x),f.appendChild(b));g.appendChild(f);this.container=g},LibraryDialog=function(a,d,c,b,g,f){function m(a){for(a=document.elementFromPoint(a.clientX,\r\na.clientY);null!=a&&a.parentNode!=u;)a=a.parentNode;var b=null;if(null!=a)for(var e=u.firstChild,b=0;null!=e&&e!=a;)e=e.nextSibling,b++;return b}function e(b,c,d,k,l,f,g,p,q){try{if(a.spinner.stop(),null==c||"image/"==c.substring(0,6))if(null==b&&null!=g||null==v[b]){var I=function(){D.innerHTML="";D.style.cursor="pointer";D.style.whiteSpace="nowrap";D.style.textOverflow="ellipsis";mxUtils.write(D,null!=J.title&&0<J.title.length?J.title:mxResources.get("untitled"));D.style.color=null==J.title||0==\r\nJ.title.length?"#d0d0d0":""};u.style.backgroundImage="";t.style.display="none";var H=l,N=f;if(l>a.maxImageSize||f>a.maxImageSize){var y=Math.min(1,Math.min(a.maxImageSize/Math.max(1,l)),a.maxImageSize/Math.max(1,f));l*=y;f*=y}H>N?(N=Math.round(100*N/H),H=100):(H=Math.round(100*H/N),N=100);var C=document.createElement("div");C.setAttribute("draggable","true");C.style.display="inline-block";C.style.position="relative";C.style.cursor="move";mxUtils.setPrefixedStyle(C.style,"transition","transform .1s ease-in-out");\r\nif(null!=b){var E=document.createElement("img");E.setAttribute("src",A.convert(b));E.style.width=H+"px";E.style.height=N+"px";E.style.margin="10px";E.style.paddingBottom=Math.floor((100-N)/2)+"px";E.style.paddingLeft=Math.floor((100-H)/2)+"px";C.appendChild(E)}else if(null!=g){var K=a.stringToCells(Graph.decompress(g.xml));0<K.length&&(a.sidebar.createThumb(K,100,100,C,null,!0,!1),C.firstChild.style.display="inline-block",C.firstChild.style.cursor="")}var F=document.createElement("img");F.setAttribute("src",\r\nEditor.closeImage);F.setAttribute("border","0");F.setAttribute("title",mxResources.get("delete"));F.setAttribute("align","top");F.style.paddingTop="4px";F.style.position="absolute";F.style.marginLeft="-12px";F.style.zIndex="1";F.style.cursor="pointer";mxEvent.addListener(F,"dragstart",function(a){mxEvent.consume(a)});(function(a,b,e){mxEvent.addListener(F,"click",function(c){v[b]=null;for(var d=0;d<n.length;d++)if(null!=n[d].data&&n[d].data==b||null!=n[d].xml&&null!=e&&n[d].xml==e.xml){n.splice(d,\r\n1);break}C.parentNode.removeChild(a);0==n.length&&(u.style.backgroundImage="url(\'"+IMAGE_PATH+"/droptarget.png\')",t.style.display="");mxEvent.consume(c)});mxEvent.addListener(F,"dblclick",function(a){mxEvent.consume(a)})})(C,b,g);C.appendChild(F);C.style.marginBottom="30px";var D=document.createElement("div");D.style.position="absolute";D.style.boxSizing="border-box";D.style.bottom="-18px";D.style.left="10px";D.style.right="10px";D.style.backgroundColor=Editor.isDarkMode()?"#2a2a2a":"#ffffff";D.style.overflow=\r\n"hidden";D.style.textAlign="center";var J=null;null!=b?(J={data:b,w:l,h:f,title:q},null!=p&&(J.aspect=p),v[b]=E,n.push(J)):null!=g&&(g.aspect="fixed",n.push(g),J=g);mxEvent.addListener(D,"keydown",function(a){13==a.keyCode&&null!=x&&(x(),x=null,mxEvent.consume(a))});I();C.appendChild(D);mxEvent.addListener(D,"mousedown",function(a){"true"!=D.getAttribute("contentEditable")&&mxEvent.consume(a)});K=function(b){if(mxClient.IS_IOS||mxClient.IS_FF||!(null==document.documentMode||9<document.documentMode)){var e=\r\nnew FilenameDialog(a,J.title||"",mxResources.get("ok"),function(a){null!=a&&(J.title=a,I())},mxResources.get("enterValue"));a.showDialog(e.container,300,80,!0,!0);e.init();mxEvent.consume(b)}else if("true"!=D.getAttribute("contentEditable")){null!=x&&(x(),x=null);if(null==J.title||0==J.title.length)D.innerHTML="";D.style.textOverflow="";D.style.whiteSpace="";D.style.cursor="text";D.style.color="";D.setAttribute("contentEditable","true");mxUtils.setPrefixedStyle(D.style,"user-select","text");D.focus();\r\ndocument.execCommand("selectAll",!1,null);x=function(){D.removeAttribute("contentEditable");D.style.cursor="pointer";J.title=D.innerHTML;I()};mxEvent.consume(b)}};mxEvent.addListener(D,"click",K);mxEvent.addListener(C,"dblclick",K);u.appendChild(C);mxEvent.addListener(C,"dragstart",function(a){null==b&&null!=g&&(F.style.visibility="hidden",D.style.visibility="hidden");mxClient.IS_FF&&null!=g.xml&&a.dataTransfer.setData("Text",g.xml);z=m(a);mxClient.IS_GC&&(C.style.opacity="0.9");window.setTimeout(function(){mxUtils.setPrefixedStyle(C.style,\r\n"transform","scale(0.5,0.5)");mxUtils.setOpacity(C,30);F.style.visibility="";D.style.visibility=""},0)});mxEvent.addListener(C,"dragend",function(a){"hidden"==F.style.visibility&&(F.style.visibility="",D.style.visibility="");z=null;mxUtils.setOpacity(C,100);mxUtils.setPrefixedStyle(C.style,"transform",null)})}else B||(B=!0,a.handleError({message:mxResources.get("fileExists")}));else{l=!1;try{if(H=mxUtils.parseXml(b),"mxlibrary"==H.documentElement.nodeName){N=JSON.parse(mxUtils.getTextContent(H.documentElement));\r\nif(null!=N&&0<N.length)for(var G=0;G<N.length;G++)null!=N[G].xml?e(null,null,0,0,0,0,N[G]):e(N[G].data,null,0,0,N[G].w,N[G].h,null,"fixed",N[G].title);l=!0}else if("mxfile"==H.documentElement.nodeName){for(var M=H.documentElement.getElementsByTagName("diagram"),G=0;G<M.length;G++){var N=mxUtils.getTextContent(M[G]),K=a.stringToCells(Graph.decompress(N)),O=a.editor.graph.getBoundingBoxFromGeometry(K);e(null,null,0,0,0,0,{xml:N,w:O.width,h:O.height})}l=!0}}catch(Q){}l||(a.spinner.stop(),a.handleError({message:mxResources.get("errorLoadingFile")}))}}catch(Q){}return null}\r\nfunction k(a){a.dataTransfer.dropEffect=null!=z?"move":"copy";a.stopPropagation();a.preventDefault()}function l(b){b.stopPropagation();b.preventDefault();B=!1;y=m(b);if(null!=z)null!=y&&y<u.children.length?(n.splice(y>z?y-1:y,0,n.splice(z,1)[0]),u.insertBefore(u.children[z],u.children[y])):(n.push(n.splice(z,1)[0]),u.appendChild(u.children[z]));else if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxImageSize,E(b));else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var c=\r\ndecodeURIComponent(b.dataTransfer.getData("text/uri-list"));(/(\\.jpg)($|\\?)/i.test(c)||/(\\.png)($|\\?)/i.test(c)||/(\\.gif)($|\\?)/i.test(c)||/(\\.svg)($|\\?)/i.test(c))&&a.loadImage(c,function(a){e(c,null,0,0,a.width,a.height);u.scrollTop=u.scrollHeight})}b.stopPropagation();b.preventDefault()}var n=[];c=document.createElement("div");c.style.height="100%";var p=document.createElement("div");p.style.whiteSpace="nowrap";p.style.height="40px";c.appendChild(p);mxUtils.write(p,mxResources.get("filename")+\r\n":");null==d&&(d=a.defaultLibraryName+".xml");var q=document.createElement("input");q.setAttribute("value",d);q.style.marginRight="20px";q.style.marginLeft="10px";q.style.width="500px";null==g||g.isRenamable()||q.setAttribute("disabled","true");this.init=function(){if(null==g||g.isRenamable())q.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?q.select():document.execCommand("selectAll",!1,null)};p.appendChild(q);var u=document.createElement("div");u.style.borderWidth="1px 0px 1px 0px";\r\nu.style.borderColor="#d3d3d3";u.style.borderStyle="solid";u.style.marginTop="6px";u.style.overflow="auto";u.style.height="340px";u.style.backgroundPosition="center center";u.style.backgroundRepeat="no-repeat";0==n.length&&Graph.fileSupport&&(u.style.backgroundImage="url(\'"+IMAGE_PATH+"/droptarget.png\')");var t=document.createElement("div");t.style.position="absolute";t.style.width="640px";t.style.top="260px";t.style.textAlign="center";t.style.fontSize="22px";t.style.color="#a0c3ff";mxUtils.write(t,\r\nmxResources.get("dragImagesHere"));c.appendChild(t);var v={},z=null,y=null,x=null;d=function(a){"true"!=mxEvent.getSource(a).getAttribute("contentEditable")&&null!=x&&(x(),x=null,mxEvent.consume(a))};mxEvent.addListener(u,"mousedown",d);mxEvent.addListener(u,"pointerdown",d);mxEvent.addListener(u,"touchstart",d);var A=new mxUrlConverter,B=!1;if(null!=b)for(d=0;d<b.length;d++)p=b[d],e(p.data,null,0,0,p.w,p.h,p,p.aspect,p.title);mxEvent.addListener(u,"dragleave",function(a){t.style.cursor="";for(var b=\r\nmxEvent.getSource(a);null!=b;){if(b==u||b==t){a.stopPropagation();a.preventDefault();break}b=b.parentNode}});var E=function(b){return function(c,d,k,l,f,g,n,p,m){null!=m&&(/(\\.v(dx|sdx?))($|\\?)/i.test(m.name)||/(\\.vs(x|sx?))($|\\?)/i.test(m.name))?a.importVisio(m,mxUtils.bind(this,function(a){e(a,d,k,l,f,g,n,"fixed",mxEvent.isAltDown(b)?null:n.substring(0,n.lastIndexOf(".")).replace(/_/g," "))})):null!=m&&!a.isOffline()&&(new XMLHttpRequest).upload&&a.isRemoteFileFormat(c,m.name)?a.parseFile(m,mxUtils.bind(this,\r\nfunction(c){4==c.readyState&&(a.spinner.stop(),200<=c.status&&299>=c.status&&(e(c.responseText,d,k,l,f,g,n,"fixed",mxEvent.isAltDown(b)?null:n.substring(0,n.lastIndexOf(".")).replace(/_/g," ")),u.scrollTop=u.scrollHeight))})):(e(c,d,k,l,f,g,n,"fixed",mxEvent.isAltDown(b)?null:n.substring(0,n.lastIndexOf(".")).replace(/_/g," ")),u.scrollTop=u.scrollHeight)}};mxEvent.addListener(u,"dragover",k);mxEvent.addListener(u,"drop",l);mxEvent.addListener(t,"dragover",k);mxEvent.addListener(t,"drop",l);c.appendChild(u);\r\nb=document.createElement("div");b.style.textAlign="right";b.style.marginTop="20px";d=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog(!0)});d.setAttribute("id","btnCancel");d.className="geBtn";a.editor.cancelFirst&&b.appendChild(d);"draw.io"!=a.getServiceName()||null==g||g.constructor!=DriveLibrary&&g.constructor!=GitHubLibrary||(p=mxUtils.button(mxResources.get("link"),function(){a.spinner.spin(document.body,mxResources.get("loading"))&&g.getPublicUrl(function(b){a.spinner.stop();\r\nif(null!=b){var e=a.getSearch("create title mode url drive splash state clibs ui".split(" ")),e=e+((0==e.length?"?":"&")+"splash=0&clibs=U"+encodeURIComponent(b));b=new EmbedDialog(a,window.location.protocol+"//"+window.location.host+"/"+e,null,null,null,null,"Check out the library I made using @drawio");a.showDialog(b.container,440,240,!0);b.init()}else g.constructor==DriveLibrary?a.showError(mxResources.get("error"),mxResources.get("diagramIsNotPublic"),mxResources.get("share"),mxUtils.bind(this,\r\nfunction(){a.drive.showPermissions(g.getId())}),null,mxResources.get("ok"),mxUtils.bind(this,function(){})):a.handleError({message:mxResources.get("diagramIsNotPublic")})})}),p.className="geBtn",b.appendChild(p));p=mxUtils.button(mxResources.get("export"),function(){var b=a.createLibraryDataFromImages(n),e=q.value;/(\\.xml)$/i.test(e)||(e+=".xml");a.isLocalFileSave()?a.saveLocalFile(b,e,"text/xml",null,null,!0,null,"xml"):(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(e)+"&format=xml&xml="+\r\nencodeURIComponent(b))).simulate(document,"_blank")});p.setAttribute("id","btnDownload");p.className="geBtn";b.appendChild(p);if(Graph.fileSupport){if(null==a.libDlgFileInputElt){var F=document.createElement("input");F.setAttribute("multiple","multiple");F.setAttribute("type","file");mxEvent.addListener(F,"change",function(b){B=!1;a.importFiles(F.files,0,0,a.maxImageSize,function(a,e,c,d,k,l,f,g,n){null!=F.files&&(E(b)(a,e,c,d,k,l,f,g,n),F.type="",F.type="file",F.value="")});u.scrollTop=u.scrollHeight});\r\nF.style.display="none";document.body.appendChild(F);a.libDlgFileInputElt=F}p=mxUtils.button(mxResources.get("import"),function(){null!=x&&(x(),x=null);a.libDlgFileInputElt.click()});p.setAttribute("id","btnAddImage");p.className="geBtn";b.appendChild(p)}p=mxUtils.button(mxResources.get("addImages"),function(){null!=x&&(x(),x=null);a.showImageDialog(mxResources.get("addImageUrl"),"",function(a,b,c){B=!1;if(null!=a){if("data:image/"==a.substring(0,11)){var d=a.indexOf(",");0<d&&(a=a.substring(0,d)+\r\n";base64,"+a.substring(d+1))}e(a,null,0,0,b,c);u.scrollTop=u.scrollHeight}})});p.setAttribute("id","btnAddImageUrl");p.className="geBtn";b.appendChild(p);this.saveBtnClickHandler=function(b,e,c,d){a.saveLibrary(b,e,c,d)};p=mxUtils.button(mxResources.get("save"),mxUtils.bind(this,function(){null!=x&&(x(),x=null);this.saveBtnClickHandler(q.value,n,g,f)}));p.setAttribute("id","btnSave");p.className="geBtn gePrimaryBtn";b.appendChild(p);a.editor.cancelFirst||b.appendChild(d);c.appendChild(b);this.container=\r\nc},EditShapeDialog=function(a,d,c,b,g){b=null!=b?b:300;g=null!=g?g:120;var f,m,e=document.createElement("table"),k=document.createElement("tbody");e.style.cellPadding="4px";f=document.createElement("tr");m=document.createElement("td");m.setAttribute("colspan","2");m.style.fontSize="10pt";mxUtils.write(m,c);f.appendChild(m);k.appendChild(f);f=document.createElement("tr");m=document.createElement("td");var l=document.createElement("textarea");l.style.outline="none";l.style.resize="none";l.style.width=\r\nb-200+"px";l.style.height=g+"px";this.textarea=l;this.init=function(){l.focus();l.scrollTop=0};m.appendChild(l);f.appendChild(m);m=document.createElement("td");c=document.createElement("div");c.style.position="relative";c.style.border="1px solid gray";c.style.top="6px";c.style.width="200px";c.style.height=g+4+"px";c.style.overflow="hidden";c.style.marginBottom="16px";mxEvent.disableContextMenu(c);m.appendChild(c);var n=new Graph(c);n.setEnabled(!1);var p=a.editor.graph.cloneCell(d);n.addCells([p]);\r\nc=n.view.getState(p);var q="";null!=c.shape&&null!=c.shape.stencil&&(q=mxUtils.getPrettyXml(c.shape.stencil.desc));mxUtils.write(l,q||"");c=n.getGraphBounds();g=Math.min(160/c.width,(g-40)/c.height);n.view.scaleAndTranslate(g,20/g-c.x,20/g-c.y);f.appendChild(m);k.appendChild(f);f=document.createElement("tr");m=document.createElement("td");m.setAttribute("colspan","2");m.style.paddingTop="2px";m.style.whiteSpace="nowrap";m.setAttribute("align","right");a.isOffline()||(g=mxUtils.button(mxResources.get("help"),\r\nfunction(){a.openLink("https://www.diagrams.net/doc/faq/shape-complex-create-edit")}),g.className="geBtn",m.appendChild(g));g=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});g.className="geBtn";a.editor.cancelFirst&&m.appendChild(g);var u=function(b,e,c){var d=l.value,k=mxUtils.parseXml(d),d=mxUtils.getPrettyXml(k.documentElement),k=k.documentElement.getElementsByTagName("parsererror");if(null!=k&&0<k.length)a.showError(mxResources.get("error"),mxResources.get("containsValidationErrors"),\r\nmxResources.get("ok"));else if(c&&a.hideDialog(),k=!b.model.contains(e),!c||k||d!=q){d=Graph.compress(d);b.getModel().beginUpdate();try{if(k){var f=a.editor.graph.getFreeInsertPoint();e.geometry.x=f.x;e.geometry.y=f.y;b.addCell(e)}b.setCellStyles(mxConstants.STYLE_SHAPE,"stencil("+d+")",[e])}catch(B){throw B;}finally{b.getModel().endUpdate()}k&&(b.setSelectionCell(e),b.scrollCellToVisible(e))}};c=mxUtils.button(mxResources.get("preview"),function(){u(n,p,!1)});c.className="geBtn";m.appendChild(c);\r\nc=mxUtils.button(mxResources.get("apply"),function(){u(a.editor.graph,d,!0)});c.className="geBtn gePrimaryBtn";m.appendChild(c);a.editor.cancelFirst||m.appendChild(g);f.appendChild(m);k.appendChild(f);e.appendChild(k);this.container=e},CustomDialog=function(a,d,c,b,g,f,m,e,k,l){var n=document.createElement("div");n.appendChild(d);d=document.createElement("div");d.style.marginTop="16px";d.style.textAlign="center";null!=m&&d.appendChild(m);a.isOffline()||null==f||(m=mxUtils.button(mxResources.get("help"),\r\nfunction(){a.openLink(f)}),m.className="geBtn",d.appendChild(m));k=mxUtils.button(k||mxResources.get("cancel"),function(){a.hideDialog();null!=b&&b()});k.className="geBtn";e&&(k.style.display="none");a.editor.cancelFirst&&d.appendChild(k);g=mxUtils.button(g||mxResources.get("ok"),mxUtils.bind(this,function(){l||a.hideDialog(null,null,this.container);if(null!=c){var b=c();if("string"===typeof b){a.showError(mxResources.get("error"),b);return}}l&&a.hideDialog(null,null,this.container)}));d.appendChild(g);\r\ng.className="geBtn gePrimaryBtn";a.editor.cancelFirst||d.appendChild(k);n.appendChild(d);this.cancelBtn=k;this.okButton=g;this.container=n},TemplatesDialog=function(a,d,c,b,g,f,m,e,k,l,n,p,q,u,t){function v(a){ka.innerHTML=mxUtils.htmlEntities(a);ka.style.display="block";setTimeout(function(){ka.style.display="none"},4E3)}function z(){null!=U&&(U.style.fontWeight="normal",U.style.textDecoration="none",P=U,U=null)}function y(a,b,e,c,d,k,l){if(-1<a.className.indexOf("geTempDlgRadioBtnActive"))return!1;\r\na.className+=" geTempDlgRadioBtnActive";H.querySelector(".geTempDlgRadioBtn[data-id="+c+"]").className="geTempDlgRadioBtn "+(l?"geTempDlgRadioBtnLarge":"geTempDlgRadioBtnSmall");H.querySelector("."+b).src="/images/"+e+"-sel.svg";H.querySelector("."+d).src="/images/"+k+".svg";return!0}function x(b,e,c,d){function l(b,e){if(null==g){var c=b,c=/^https?:\\/\\//.test(c)&&!a.editor.isCorsEnabledForUrl(c)?PROXY_URL+"?url="+encodeURIComponent(c):TEMPLATE_PATH+"/"+c;mxUtils.get(c,mxUtils.bind(this,function(a){200<=\r\na.getStatus()&&299>=a.getStatus()&&(g=a.getText());e(g)}))}else e(g)}function f(c,d,k){if(null!=c&&mxUtils.isAncestorNode(document.body,e)&&(c=mxUtils.parseXml(c),c=Editor.extractGraphModel(c.documentElement,!0),null!=c)){"mxfile"==c.nodeName&&(c=Editor.parseDiagramNode(c.getElementsByTagName("diagram")[0]));var l=new mxCodec(c.ownerDocument),f=new mxGraphModel;l.decode(c,f);c=f.root.getChildAt(0).children||[];a.sidebar.createTooltip(e,c,Math.min((window.innerWidth||document.documentElement.clientWidth||\r\ndocument.body.clientWidth)-80,1E3),Math.min((window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)-80,800),null!=b.title?mxResources.get(b.title,null,b.title):null,!0,new mxPoint(d,k),!0,null,!0);var g=document.createElement("div");g.className="geTempDlgDialogMask";H.appendChild(g);var n=a.sidebar.hideTooltip;a.sidebar.hideTooltip=function(){g&&(H.removeChild(g),g=null,n.apply(this,arguments),a.sidebar.hideTooltip=n)};mxEvent.addListener(g,"click",function(){a.sidebar.hideTooltip()})}}\r\nvar g=null;if(ia||a.sidebar.currentElt==e)a.sidebar.hideTooltip();else{var n=function(b){ia&&a.sidebar.currentElt==e&&f(b,mxEvent.getClientX(d),mxEvent.getClientY(d));ia=!1;c.src="/images/icon-search.svg"};a.sidebar.hideTooltip();a.sidebar.currentElt=e;ia=!0;c.src="/images/aui-wait.gif";b.isExt?k(b,n,function(){v(mxResources.get("cantLoadPrev"));ia=!1;c.src="/images/icon-search.svg"}):l(b.url,n)}}function A(a,b,e){if(null!=W){for(var c=W.className.split(" "),d=0;d<c.length;d++)if(-1<c[d].indexOf("Active")){c.splice(d,\r\n1);break}W.className=c.join(" ")}null!=a?(W=a,W.className+=" "+b,ha=e,da.className="geTempDlgCreateBtn"):(ha=W=null,da.className="geTempDlgCreateBtn geTempDlgBtnDisabled")}function B(b,e){if(null!=ha){var c=function(b){m.isExternal?k(m,function(a){f(a,b)},g):m.url?mxUtils.get(TEMPLATE_PATH+"/"+m.url,mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()?f(a.getText(),b):g()})):f(a.emptyDiagramXml,b)},f=function(b,c){t||a.hideDialog(!0);d(b,c,m,e)},g=function(){v(mxResources.get("cannotLoad"));\r\nn()},n=function(){ha=m;da.className="geTempDlgCreateBtn";e&&(qa.className="geTempDlgOpenBtn")},m=ha;ha=null;"boolean"!==typeof e&&(e=m.isExternal&&p);if(1==b)l(m.url,m);else if(e)qa.className="geTempDlgOpenBtn geTempDlgBtnDisabled geTempDlgBtnBusy",c();else{da.className="geTempDlgCreateBtn geTempDlgBtnDisabled geTempDlgBtnBusy";var q=null==a.mode||a.mode==App.MODE_GOOGLE||a.mode==App.MODE_BROWSER?mxResources.get("diagramName"):mxResources.get("filename"),q=new FilenameDialog(a,a.defaultFilename+".drawio",\r\nmxResources.get("ok"),c,q,function(a){var b=null!=a&&0<a.length;return b&&t?(c(a),!1):b},null,null,null,n,u?null:[]);a.showDialog(q.container,350,80,!0,!0);q.init()}}}function E(a){da.innerHTML=mxUtils.htmlEntities(mxResources.get(Q||a?"create":"copy"));a=a?"none":"";p&&(qa.style.display=a);for(var b=H.querySelectorAll(".geTempDlgLinkToDiagram"),e=0;e<b.length;e++)b[e].style.display=a}function F(b,e,c,d,k){k||(T.innerHTML="",A(),Y=b,ga=d);var l=null;if(c){l=document.createElement("table");l.className=\r\n"geTempDlgDiagramsListGrid";var f=document.createElement("tr"),g=document.createElement("th");g.style.width="50%";g.innerHTML=mxUtils.htmlEntities(mxResources.get("diagram"));f.appendChild(g);g=document.createElement("th");g.style.width="25%";g.innerHTML=mxUtils.htmlEntities(mxResources.get("changedBy"));f.appendChild(g);g=document.createElement("th");g.style.width="25%";g.innerHTML=mxUtils.htmlEntities(mxResources.get("lastModifiedOn"));f.appendChild(g);l.appendChild(f);T.appendChild(l)}for(f=0;f<\r\nb.length;f++){b[f].isExternal=!e;var n=b[f].url,p=(g=mxUtils.htmlEntities(e?mxResources.get(b[f].title,null,b[f].title):b[f].title))||b[f].url,m=b[f].imgUrl,q=mxUtils.htmlEntities(b[f].changedBy||""),I="";b[f].lastModifiedOn&&(I=a.timeSince(new Date(b[f].lastModifiedOn)),null==I&&(I=mxResources.get("lessThanAMinute")),I=mxUtils.htmlEntities(mxResources.get("timeAgo",[I],"{1} ago")));m||(m=TEMPLATE_PATH+"/"+n.substring(0,n.length-4)+".png");n=c?50:15;null!=g&&g.length>n&&(g=g.substring(0,n)+"&hellip;");\r\nif(c){var u=document.createElement("tr"),m=document.createElement("td"),t=document.createElement("img");t.src="/images/icon-search.svg";t.className="geTempDlgDiagramListPreviewBtn";t.setAttribute("title",mxResources.get("preview"));k||m.appendChild(t);p=document.createElement("span");p.className="geTempDlgDiagramTitle";p.innerHTML=g;m.appendChild(p);u.appendChild(m);m=document.createElement("td");m.innerHTML=q;u.appendChild(m);m=document.createElement("td");m.innerHTML=I;u.appendChild(m);l.appendChild(u);\r\nnull==W&&(E(e),A(u,"geTempDlgDiagramsListGridActive",b[f]));(function(a,b,c){mxEvent.addListener(u,"click",function(){W!=b&&(E(e),A(b,"geTempDlgDiagramsListGridActive",a))});mxEvent.addListener(u,"dblclick",B);mxEvent.addListener(t,"click",function(e){x(a,b,c,e)})})(b[f],u,t)}else{var H=document.createElement("div");H.className="geTempDlgDiagramTile";H.setAttribute("title",p);null==W&&(E(e),A(H,"geTempDlgDiagramTileActive",b[f]));q=document.createElement("div");q.className="geTempDlgDiagramTileImg geTempDlgDiagramTileImgLoading";\r\nvar N=document.createElement("img");N.style.display="none";(function(a,b,e){N.onload=function(){b.className="geTempDlgDiagramTileImg";a.style.display=""};N.onerror=function(){this.src!=e?this.src=e:b.className="geTempDlgDiagramTileImg geTempDlgDiagramTileImgError"}})(N,q,m?m.replace(".drawio.xml","").replace(".drawio","").replace(".xml",""):"");N.src=m;q.appendChild(N);H.appendChild(q);q=document.createElement("div");q.className="geTempDlgDiagramTileLbl";q.innerHTML=null!=g?g:"";H.appendChild(q);\r\nt=document.createElement("img");t.src="/images/icon-search.svg";t.className="geTempDlgDiagramPreviewBtn";t.setAttribute("title",mxResources.get("preview"));k||H.appendChild(t);(function(a,b,c){mxEvent.addListener(H,"click",function(){W!=b&&(E(e),A(b,"geTempDlgDiagramTileActive",a))});mxEvent.addListener(H,"dblclick",B);mxEvent.addListener(t,"click",function(e){x(a,b,c,e)})})(b[f],H,t);T.appendChild(H)}}for(var z in d)b=d[z],0<b.length&&(k=document.createElement("div"),k.className="geTempDlgImportCat",\r\nk.innerHTML=mxResources.get(z,null,z),T.appendChild(k),F(b,e,c,null,!0))}function D(a,b){ca.innerHTML="";A();for(var e=Math.floor(ca.offsetWidth/150)-1,c=!b&&a.length>e?e:a.length,d=0;d<c;d++){var k=a[d];k.isCategory=!0;var l=document.createElement("div"),f=mxResources.get(k.title);null==f&&(f=k.title.substring(0,1).toUpperCase()+k.title.substring(1));l.className="geTempDlgNewDiagramCatItem";l.setAttribute("title",f);f=mxUtils.htmlEntities(f);15<f.length&&(f=f.substring(0,15)+"&hellip;");null==W&&\r\n(E(!0),A(l,"geTempDlgNewDiagramCatItemActive",k));var g=document.createElement("div");g.className="geTempDlgNewDiagramCatItemImg";var n=document.createElement("img");n.src=NEW_DIAGRAM_CATS_PATH+"/"+k.img;g.appendChild(n);l.appendChild(g);g=document.createElement("div");g.className="geTempDlgNewDiagramCatItemLbl";g.innerHTML=f;l.appendChild(g);ca.appendChild(l);(function(a,b){mxEvent.addListener(l,"click",function(){W!=b&&(E(!0),A(b,"geTempDlgNewDiagramCatItemActive",a))});mxEvent.addListener(l,"dblclick",\r\nB)})(k,l)}l=document.createElement("div");l.className="geTempDlgNewDiagramCatItem";f=mxResources.get("showAllTemps");l.setAttribute("title",f);g=document.createElement("div");g.className="geTempDlgNewDiagramCatItemImg";g.innerHTML="...";g.style.fontSize="32px";l.appendChild(g);g=document.createElement("div");g.className="geTempDlgNewDiagramCatItemLbl";g.innerHTML=f;l.appendChild(g);ca.appendChild(l);mxEvent.addListener(l,"click",function(){function a(){var e=b.querySelector(".geTemplateDrawioCatLink");\r\nnull!=e?e.click():setTimeout(a,200)}Q=!0;var b=H.querySelector(".geTemplatesList");b.style.display="block";na.style.width="";oa.style.display="";oa.value="";ba=null;a()});ma.style.display=a.length<=e?"none":""}function C(a,b,e){function c(a,b){var e=mxResources.get(a);null==e&&(e=a.substring(0,1).toUpperCase()+a.substring(1));var c=e+" ("+b.length+")",d=e=mxUtils.htmlEntities(e);15<e.length&&(e=e.substring(0,15)+"&hellip;");return{lbl:e+" ("+b.length+")",fullLbl:c,lblOnly:d}}function d(e,c,d,k,l){mxEvent.addListener(d,\r\n"click",function(){U!=d&&(null!=U?(U.style.fontWeight="normal",U.style.textDecoration="none"):(aa.style.display="none",S.style.minHeight="100%"),U=d,U.style.fontWeight="bold",U.style.textDecoration="underline",na.scrollTop=0,L&&(V=!0),fa.innerHTML=c,ja.style.display="none",F(l?b[e]:k?ta[e][k]:a[e],l?!1:!0))})}var k=H.querySelector(".geTemplatesList");if(0<e){e=document.createElement("div");e.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;margin-top: 10px;";\r\nmxUtils.write(e,mxResources.get("custom"));k.appendChild(e);for(var l in b){e=document.createElement("div");var f=b[l],f=c(l,f);e.className="geTemplateCatLink";e.setAttribute("title",f.fullLbl);e.innerHTML=f.lbl;k.appendChild(e);d(l,f.lblOnly,e,null,!0)}e=document.createElement("div");e.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;margin-top: 10px;";mxUtils.write(e,"draw.io");k.appendChild(e)}for(l in a){var g=ta[l],n=e=document.createElement(g?"ul":\r\n"div"),f=a[l],f=c(l,f);if(null!=g){var p=document.createElement("li"),m=document.createElement("div");m.className="geTempTreeCaret geTemplateCatLink geTemplateDrawioCatLink";m.style.padding="0";m.setAttribute("title",f.fullLbl);m.innerHTML=f.lbl;n=m;p.appendChild(m);var q=document.createElement("ul");q.className="geTempTreeNested";q.style.visibility="hidden";for(var x in g){var I=document.createElement("li"),u=c(x,g[x]);I.setAttribute("title",u.fullLbl);I.innerHTML=u.lbl;I.className="geTemplateCatLink";\r\nI.style.padding="0";I.style.margin="0";d(l,u.lblOnly,I,x);q.appendChild(I)}p.appendChild(q);e.className="geTempTree";e.appendChild(p);(function(a,b){mxEvent.addListener(b,"click",function(){for(var e=a.querySelectorAll("li"),c=0;c<e.length;c++)e[c].style.margin="";a.style.visibility="visible";a.classList.toggle("geTempTreeActive");a.classList.toggle("geTempTreeNested")&&setTimeout(function(){for(var b=0;b<e.length;b++)e[b].style.margin="0";a.style.visibility="hidden"},250);b.classList.toggle("geTempTreeCaret-down")})})(q,\r\nm)}else e.className="geTemplateCatLink geTemplateDrawioCatLink",e.setAttribute("title",f.fullLbl),e.innerHTML=f.lbl;k.appendChild(e);d(l,f.lblOnly,n)}}function G(){mxUtils.get(b,function(a){if(!ra){ra=!0;a=a.getXml().documentElement.firstChild;for(var b={};null!=a;){if("undefined"!==typeof a.getAttribute)if("clibs"==a.nodeName){for(var e=a.getAttribute("name"),c=a.getElementsByTagName("add"),d=[],k=0;k<c.length;k++)d.push(encodeURIComponent(mxUtils.getTextContent(c[k])));null!=e&&0<d.length&&(b[e]=\r\nd.join(";"))}else if(d=a.getAttribute("url"),null!=d){c=a.getAttribute("section");e=a.getAttribute("subsection");if(null==c&&(k=d.indexOf("/"),c=d.substring(0,k),null==e)){var l=d.indexOf("/",k+1);-1<l&&(e=d.substring(k+1,l))}k=R[c];null==k&&(va++,k=[],R[c]=k);d=a.getAttribute("clibs");null!=b[d]&&(d=b[d]);d={url:a.getAttribute("url"),libs:a.getAttribute("libs"),title:a.getAttribute("title")||a.getAttribute("name"),preview:a.getAttribute("preview"),clibs:d,tags:a.getAttribute("tags")};k.push(d);null!=\r\ne&&(k=ta[c],null==k&&(k={},ta[c]=k),c=k[e],null==c&&(c=[],k[e]=c),c.push(d))}a=a.nextSibling}C(R,la,ya)}})}function K(a){m&&(na.scrollTop=0,T.innerHTML="",pa.spin(T),V=!1,L=!0,fa.innerHTML=mxUtils.htmlEntities(mxResources.get("recentDiag")),ba=null,m(xa,function(){v(mxResources.get("cannotLoad"));xa([])},a?null:f))}function M(a){if(""==a)null!=P&&(P.click(),P=null);else{if(null==TemplatesDialog.tagsList[b]){var e={},c;for(c in R)for(var d=R[c],k=0;k<d.length;k++){var l=d[k];if(null!=l.tags)for(var f=\r\nl.tags.toLowerCase().split(";"),g=0;g<f.length;g++)null==e[f[g]]&&(e[f[g]]=[]),e[f[g]].push(l)}TemplatesDialog.tagsList[b]=e}var n=a.toLowerCase().split(" "),e=TemplatesDialog.tagsList[b];if(0<ya&&null==e.__tagsList__){for(c in la)for(d=la[c],k=0;k<d.length;k++)for(l=d[k],f=l.title.split(" "),f.push(c),g=0;g<f.length;g++){var p=f[g].toLowerCase();null==e[p]&&(e[p]=[]);e[p].push(l)}e.__tagsList__=!0}c=[];d={};for(k=f=0;k<n.length;k++)if(0<n[k].length){var p=e[n[k]],m={};c=[];if(null!=p)for(g=0;g<p.length;g++)l=\r\np[g],0==f==(null==d[l.url])&&(m[l.url]=!0,c.push(l));d=m;f++}0==c.length?fa.innerHTML=mxResources.get("noResultsFor",[a]):F(c,!0)}}function J(a){if(ba!=a||X!=O)z(),na.scrollTop=0,T.innerHTML="",fa.innerHTML=mxUtils.htmlEntities(mxResources.get("searchResults"))+\' "\'+mxUtils.htmlEntities(a)+\'"\',sa=null,Q?M(a):e&&(a?(pa.spin(T),V=!1,L=!0,e(a,xa,function(){v(mxResources.get("searchFailed"));xa([])},X?null:f)):K(X)),ba=a,O=X}function I(a){null!=sa&&clearTimeout(sa);13==a.keyCode?J(oa.value):sa=setTimeout(function(){J(oa.value)},\r\n1E3)}var N=\'<div class="geTempDlgHeader"><img src="/images/draw.io-logo.svg" class="geTempDlgHeaderLogo"><input type="search" class="geTempDlgSearchBox" \'+(e?"":\'style="display: none"\')+\' placeholder="\'+mxResources.get("search")+\'"></div><div class="geTemplatesList" style="display: none"><div class="geTempDlgBack">&lt; \'+mxResources.get("back")+\'</div><div class="geTempDlgHLine"></div><div class="geTemplatesLbl">\'+mxResources.get("templates")+\'</div></div><div class="geTempDlgContent" style="width: 100%"><div class="geTempDlgNewDiagramCat"><div class="geTempDlgNewDiagramCatLbl">\'+\r\nmxResources.get("newDiagram")+\'</div><div class="geTempDlgNewDiagramCatList"></div><div class="geTempDlgNewDiagramCatFooter"><div class="geTempDlgShowAllBtn">\'+mxResources.get("showMore")+\'</div></div></div><div class="geTempDlgDiagramsList"><div class="geTempDlgDiagramsListHeader"><div class="geTempDlgDiagramsListTitle"></div><div class="geTempDlgDiagramsListBtns"><div class="geTempDlgRadioBtn geTempDlgRadioBtnLarge" data-id="myDiagramsBtn"><img src="/images/my-diagrams.svg" class="geTempDlgMyDiagramsBtnImg"> <span>\'+\r\nmxResources.get("myDiagrams")+\'</span></div><div class="geTempDlgRadioBtn geTempDlgRadioBtnLarge geTempDlgRadioBtnActive" data-id="allDiagramsBtn"><img src="/images/all-diagrams-sel.svg" class="geTempDlgAllDiagramsBtnImg"> <span>\'+mxResources.get("allDiagrams")+\'</span></div><div class="geTempDlgSpacer"> </div><div class="geTempDlgRadioBtn geTempDlgRadioBtnSmall geTempDlgRadioBtnActive" data-id="tilesBtn"><img src="/images/tiles-sel.svg" class="geTempDlgTilesBtnImg"></div><div class="geTempDlgRadioBtn geTempDlgRadioBtnSmall" data-id="listBtn"><img src="/images/list.svg" class="geTempDlgListBtnImg"></div></div></div><div class="geTempDlgDiagramsTiles"></div></div></div><br style="clear:both;"/><div class="geTempDlgFooter"><div class="geTempDlgErrMsg"></div>\'+\r\n(q?\'<span class="geTempDlgLinkToDiagram geTempDlgLinkToDiagramHint">\'+mxResources.get("linkToDiagramHint")+\'</span><button class="geTempDlgLinkToDiagram geTempDlgLinkToDiagramBtn">\'+mxResources.get("linkToDiagram")+"</button>":"")+(p?\'<div class="geTempDlgOpenBtn">\'+mxResources.get("open")+"</div>":"")+\'<div class="geTempDlgCreateBtn">\'+mxResources.get("create")+\'</div><div class="geTempDlgCancelBtn">\'+mxResources.get("cancel")+"</div></div>",H=document.createElement("div");H.innerHTML=N;H.className=\r\n"geTemplateDlg";this.container=H;b=null!=b?b:TEMPLATE_PATH+"/index.xml";g=null!=g?g:NEW_DIAGRAM_CATS_PATH+"/index.xml";var L=!1,V=!1,U=null,P=null,W=null,ha=null,ea=!1,X=!0,Z=!1,Y=[],ga=null,ba,O,Q=!1,ma=H.querySelector(".geTempDlgShowAllBtn"),T=H.querySelector(".geTempDlgDiagramsTiles"),fa=H.querySelector(".geTempDlgDiagramsListTitle"),ja=H.querySelector(".geTempDlgDiagramsListBtns"),na=H.querySelector(".geTempDlgContent"),S=H.querySelector(".geTempDlgDiagramsList"),aa=H.querySelector(".geTempDlgNewDiagramCat"),\r\nca=H.querySelector(".geTempDlgNewDiagramCatList"),da=H.querySelector(".geTempDlgCreateBtn"),qa=H.querySelector(".geTempDlgOpenBtn"),oa=H.querySelector(".geTempDlgSearchBox"),ka=H.querySelector(".geTempDlgErrMsg"),pa=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(H.querySelector(".geTempDlgBack"),"click",function(){z();Q=!1;H.querySelector(".geTemplatesList").style.display="none";na.style.width=\r\n"100%";aa.style.display="";S.style.minHeight="calc(100% - 280px)";oa.style.display=e?"":"none";oa.value="";ba=null;K(X)});mxEvent.addListener(H.querySelector(".geTempDlgRadioBtn[data-id=allDiagramsBtn]"),"click",function(){y(this,"geTempDlgAllDiagramsBtnImg","all-diagrams","myDiagramsBtn","geTempDlgMyDiagramsBtnImg","my-diagrams",!0)&&(X=!0,null==ba?K(X):J(ba))});mxEvent.addListener(H.querySelector(".geTempDlgRadioBtn[data-id=myDiagramsBtn]"),"click",function(){y(this,"geTempDlgMyDiagramsBtnImg",\r\n"my-diagrams","allDiagramsBtn","geTempDlgAllDiagramsBtnImg","all-diagrams",!0)&&(X=!1,null==ba?K(X):J(ba))});mxEvent.addListener(H.querySelector(".geTempDlgRadioBtn[data-id=listBtn]"),"click",function(){y(this,"geTempDlgListBtnImg","list","tilesBtn","geTempDlgTilesBtnImg","tiles",!1)&&(Z=!0,F(Y,!1,Z,ga))});mxEvent.addListener(H.querySelector(".geTempDlgRadioBtn[data-id=tilesBtn]"),"click",function(){y(this,"geTempDlgTilesBtnImg","tiles","listBtn","geTempDlgListBtnImg","list",!1)&&(Z=!1,F(Y,!1,Z,ga))});\r\nvar ia=!1;mxEvent.addListener(ma,"click",function(){ea?(aa.style.height="280px",ca.style.height="190px",ma.innerHTML=mxUtils.htmlEntities(mxResources.get("showMore")),D(ua)):(aa.style.height="440px",ca.style.height="355px",ma.innerHTML=mxUtils.htmlEntities(mxResources.get("showLess")),D(ua,!0));ea=!ea});var ra=!1,wa=!1,R={},ta={},la={},ua=[],va=1,ya=0;null!=n?n(function(a,b){la=a;ya=b;G()},G):G();mxUtils.get(g,function(a){if(!wa){wa=!0;for(a=a.getXml().documentElement.firstChild;null!=a;)"undefined"!==\r\ntypeof a.getAttribute&&null!=a.getAttribute("title")&&ua.push({img:a.getAttribute("img"),libs:a.getAttribute("libs"),clibs:a.getAttribute("clibs"),title:a.getAttribute("title")}),a=a.nextSibling;D(ua)}});var xa=function(a,b,e){ja.style.display="";pa.stop();L=!1;if(V)V=!1;else if(b)T.innerHTML=b;else{e=e||{};b=0;for(var c in e)b+=e[c].length;0==a.length&&0==b?T.innerHTML=mxUtils.htmlEntities(mxResources.get("noDiagrams")):F(a,!1,Z,0==b?null:e)}};K(X);var sa=null;mxEvent.addListener(oa,"keyup",I);mxEvent.addListener(oa,\r\n"search",I);mxEvent.addListener(oa,"input",I);mxEvent.addListener(da,"click",function(a){B(!1,!1)});p&&mxEvent.addListener(qa,"click",function(a){B(!1,!0)});q&&mxEvent.addListener(H.querySelector(".geTempDlgLinkToDiagramBtn"),"click",function(a){B(!0)});mxEvent.addListener(H.querySelector(".geTempDlgCancelBtn"),"click",function(){null!=c&&c();t||a.hideDialog(!0)})};TemplatesDialog.tagsList={};\r\nvar BtnDialog=function(a,d,c,b){var g=document.createElement("div");g.style.textAlign="center";var f=document.createElement("p");f.style.fontSize="16pt";f.style.padding="0px";f.style.margin="0px";f.style.color="gray";mxUtils.write(f,mxResources.get("done"));var m="Unknown",e=document.createElement("img");e.setAttribute("border","0");e.setAttribute("align","absmiddle");e.style.marginRight="10px";d==a.drive?(m=mxResources.get("googleDrive"),e.src=IMAGE_PATH+"/google-drive-logo-white.svg"):d==a.dropbox?\r\n(m=mxResources.get("dropbox"),e.src=IMAGE_PATH+"/dropbox-logo-white.svg"):d==a.oneDrive?(m=mxResources.get("oneDrive"),e.src=IMAGE_PATH+"/onedrive-logo-white.svg"):d==a.gitHub?(m=mxResources.get("github"),e.src=IMAGE_PATH+"/github-logo-white.svg"):d==a.gitLab?(m=mxResources.get("gitlab"),e.src=IMAGE_PATH+"/gitlab-logo.svg"):d==a.notion?(m=mxResources.get("notion"),e.src=IMAGE_PATH+"/notion-logo.svg"):d==a.trello&&(m=mxResources.get("trello"),e.src=IMAGE_PATH+"/trello-logo-white.svg");a=document.createElement("p");\r\nmxUtils.write(a,mxResources.get("authorizedIn",[m],"You are now authorized in {1}"));c=mxUtils.button(c,b);c.insertBefore(e,c.firstChild);c.style.marginTop="6px";c.className="geBigButton";c.style.fontSize="18px";c.style.padding="14px";g.appendChild(f);g.appendChild(a);g.appendChild(c);this.container=g},FontDialog=function(a,d,c,b,g){function f(a){this.style.border="";13==a.keyCode&&x.click()}var m,e,k,l=document.createElement("table"),n=document.createElement("tbody");l.style.marginTop="8px";m=document.createElement("tr");\r\ne=document.createElement("td");e.colSpan=2;e.style.whiteSpace="nowrap";e.style.fontSize="10pt";e.style.fontWeight="bold";var p=document.createElement("input");p.style.cssText="margin-right:8px;margin-bottom:8px;";p.setAttribute("value","sysfonts");p.setAttribute("type","radio");p.setAttribute("name","current-fontdialog");p.setAttribute("id","fontdialog-sysfonts");e.appendChild(p);k=document.createElement("label");k.setAttribute("for","fontdialog-sysfonts");mxUtils.write(k,mxResources.get("sysFonts",\r\nnull,"System Fonts"));e.appendChild(k);m.appendChild(e);n.appendChild(m);m=document.createElement("tr");e=document.createElement("td");e.style.whiteSpace="nowrap";e.style.fontSize="10pt";e.style.width="120px";e.style.paddingLeft="15px";mxUtils.write(e,mxResources.get("fontname",null,"Font Name")+":");m.appendChild(e);var q=document.createElement("input");"s"==b&&q.setAttribute("value",d);q.style.marginLeft="4px";q.style.width="250px";q.className="dlg_fontName_s";e=document.createElement("td");e.appendChild(q);\r\nm.appendChild(e);n.appendChild(m);m=document.createElement("tr");e=document.createElement("td");e.colSpan=2;e.style.whiteSpace="nowrap";e.style.fontSize="10pt";e.style.fontWeight="bold";var u=document.createElement("input");u.style.cssText="margin-right:8px;margin-bottom:8px;";u.setAttribute("value","googlefonts");u.setAttribute("type","radio");u.setAttribute("name","current-fontdialog");u.setAttribute("id","fontdialog-googlefonts");e.appendChild(u);k=document.createElement("label");k.setAttribute("for",\r\n"fontdialog-googlefonts");mxUtils.write(k,mxResources.get("googleFonts",null,"Google Fonts"));e.appendChild(k);mxClient.IS_CHROMEAPP||a.isOffline()&&!EditorUi.isElectronApp||(k=a.menus.createHelpLink("https://fonts.google.com/"),k.getElementsByTagName("img")[0].setAttribute("valign","middle"),e.appendChild(k));m.appendChild(e);n.appendChild(m);m=document.createElement("tr");e=document.createElement("td");e.style.whiteSpace="nowrap";e.style.fontSize="10pt";e.style.width="120px";e.style.paddingLeft=\r\n"15px";mxUtils.write(e,mxResources.get("fontname",null,"Font Name")+":");m.appendChild(e);var t=document.createElement("input");"g"==b&&t.setAttribute("value",d);t.style.marginLeft="4px";t.style.width="250px";t.className="dlg_fontName_g";e=document.createElement("td");e.appendChild(t);m.appendChild(e);n.appendChild(m);m=document.createElement("tr");e=document.createElement("td");e.colSpan=2;e.style.whiteSpace="nowrap";e.style.fontSize="10pt";e.style.fontWeight="bold";var v=document.createElement("input");\r\nv.style.cssText="margin-right:8px;margin-bottom:8px;";v.setAttribute("value","webfonts");v.setAttribute("type","radio");v.setAttribute("name","current-fontdialog");v.setAttribute("id","fontdialog-webfonts");e.appendChild(v);k=document.createElement("label");k.setAttribute("for","fontdialog-webfonts");mxUtils.write(k,mxResources.get("webfonts",null,"Web Fonts"));e.appendChild(k);m.appendChild(e);n.appendChild(m);m=document.createElement("tr");e=document.createElement("td");e.style.whiteSpace="nowrap";\r\ne.style.fontSize="10pt";e.style.width="120px";e.style.paddingLeft="15px";mxUtils.write(e,mxResources.get("fontname",null,"Font Name")+":");m.appendChild(e);var z=document.createElement("input");"w"==b&&z.setAttribute("value",d);z.style.marginLeft="4px";z.style.width="250px";z.className="dlg_fontName_w";e=document.createElement("td");e.appendChild(z);m.appendChild(e);n.appendChild(m);m=document.createElement("tr");e=document.createElement("td");e.style.whiteSpace="nowrap";e.style.fontSize="10pt";e.style.width=\r\n"120px";e.style.paddingLeft="15px";mxUtils.write(e,mxResources.get("fontUrl",null,"Font URL")+":");m.appendChild(e);var y=document.createElement("input");y.setAttribute("value",c||"");y.style.marginLeft="4px";y.style.width="250px";y.className="dlg_fontUrl";e=document.createElement("td");e.appendChild(y);m.appendChild(e);n.appendChild(m);this.init=function(){var a=q;"g"==b?a=t:"w"==b&&(a=z);a.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?a.select():document.execCommand("selectAll",\r\n!1,null)};m=document.createElement("tr");e=document.createElement("td");e.colSpan=2;e.style.paddingTop="20px";e.style.whiteSpace="nowrap";e.setAttribute("align","right");a.isOffline()||(d=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://www.diagrams.net/blog/external-fonts")}),d.className="geBtn",e.appendChild(d));d=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();g()});d.className="geBtn";a.editor.cancelFirst&&e.appendChild(d);var x=mxUtils.button(mxResources.get("apply"),\r\nfunction(){var b,e,c;p.checked?(b=q.value,c="s"):u.checked?(b=t.value,e=Editor.GOOGLE_FONTS+encodeURIComponent(b).replace(/%20/g,"+"),c="g"):v.checked&&(b=z.value,e=y.value,c="w");var d;d=e;var k=c,f=/(ftp|http|https):\\/\\/(\\w+:{0,1}\\w*@)?(\\S+)(:[0-9]+)?(\\/|\\/([\\w#!:.?+=&%@!\\-\\/]))?/;null==b||0==b.length?(l.querySelector(".dlg_fontName_"+k).style.border="1px solid red",d=!1):"w"!=k||f.test(d)?d=!0:(l.querySelector(".dlg_fontUrl").style.border="1px solid red",d=!1);d&&(g(b,e,c),a.hideDialog())});x.className=\r\n"geBtn gePrimaryBtn";mxEvent.addListener(q,"keypress",f);mxEvent.addListener(t,"keypress",f);mxEvent.addListener(z,"keypress",f);mxEvent.addListener(y,"keypress",f);mxEvent.addListener(q,"focus",function(){p.setAttribute("checked","checked");p.checked=!0});mxEvent.addListener(t,"focus",function(){u.setAttribute("checked","checked");u.checked=!0});mxEvent.addListener(z,"focus",function(){v.setAttribute("checked","checked");v.checked=!0});mxEvent.addListener(y,"focus",function(){v.setAttribute("checked",\r\n"checked");v.checked=!0});e.appendChild(x);a.editor.cancelFirst||e.appendChild(d);m.appendChild(e);n.appendChild(m);l.appendChild(n);this.container=l};\r\nfunction AspectDialog(a,d,c,b,g){this.aspect={pageId:d||(a.pages?a.pages[0].getId():null),layerIds:c||[]};d=document.createElement("div");var f=document.createElement("h5");f.style.margin="0 0 10px";mxUtils.write(f,mxResources.get("pages"));d.appendChild(f);c=document.createElement("div");c.className="geAspectDlgList";d.appendChild(c);f=document.createElement("h5");f.style.margin="0 0 10px";mxUtils.write(f,mxResources.get("layers"));d.appendChild(f);f=document.createElement("div");f.className="geAspectDlgList";\r\nd.appendChild(f);this.pagesContainer=c;this.layersContainer=f;this.ui=a;c=document.createElement("div");c.style.marginTop="16px";c.style.textAlign="center";f=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=g&&g()});f.className="geBtn";a.editor.cancelFirst&&c.appendChild(f);var m=mxUtils.button(mxResources.get("ok"),mxUtils.bind(this,function(){a.hideDialog();b({pageId:this.selectedPage,layerIds:Object.keys(this.selectedLayers)})}));c.appendChild(m);m.className="geBtn gePrimaryBtn";\r\na.editor.cancelFirst||c.appendChild(f);m.setAttribute("disabled","disabled");this.okBtn=m;d.appendChild(c);this.container=d}AspectDialog.prototype.init=function(){var a=this.ui.getFileData(!0);if(this.ui.pages)for(a=0;a<this.ui.pages.length;a++){var d=this.ui.updatePageRoot(this.ui.pages[a]);this.createPageItem(d.getId(),d.getName(),d.node)}else this.createPageItem("1","Page-1",mxUtils.parseXml(a).documentElement)};\r\nAspectDialog.prototype.createViewer=function(a,d,c){mxEvent.disableContextMenu(a);a.style.userSelect="none";var b=new Graph(a);b.setTooltips(!1);b.setEnabled(!1);b.setPanning(!1);b.minFitScale=null;b.maxFitScale=null;b.centerZoom=!0;d="mxGraphModel"==d.nodeName?d:Editor.parseDiagramNode(d);if(null!=d){var g=d.getAttribute("background");if(null==g||""==g||g==mxConstants.NONE)g="#ffffff";a.style.backgroundColor=g;g=new mxCodec(d.ownerDocument);a=b.getModel();g.decode(d,a);d=a.getChildCount(a.root);\r\nfor(var g=null==c,f=0;f<d;f++){var m=a.getChildAt(a.root,f);a.setVisible(m,g||c==m.id)}b.maxFitScale=1;b.fit(0);b.center()}return b};\r\nAspectDialog.prototype.createPageItem=function(a,d,c){var b=document.createElement("div");b.className="geAspectDlgListItem";b.setAttribute("data-page-id",a);b.innerHTML=\'<div style="max-width: 100%; max-height: 100%;"></div><div class="geAspectDlgListItemText">\'+mxUtils.htmlEntities(d)+"</div>";this.pagesContainer.appendChild(b);var g=this.createViewer(b.childNodes[0],c);d=mxUtils.bind(this,function(){null!=this.selectedItem&&(this.selectedItem.className="geAspectDlgListItem");this.selectedItem=b;\r\nthis.selectedPage=a;b.className+=" geAspectDlgListItemSelected";this.layersContainer.innerHTML="";this.selectedLayers={};this.okBtn.setAttribute("disabled","disabled");for(var d=g.model,d=d.getChildCells(d.getRoot()),m=0;m<d.length;m++)this.createLayerItem(d[m],a,g,c)});mxEvent.addListener(b,"click",d);this.aspect.pageId==a&&d()};\r\nAspectDialog.prototype.createLayerItem=function(a,d,c,b){d=c.convertValueToString(a)||mxResources.get("background")||"Background";var g=document.createElement("div");g.setAttribute("data-layer-id",a.id);g.className="geAspectDlgListItem";g.innerHTML=\'<div style="max-width: 100%; max-height: 100%;"></div><div class="geAspectDlgListItemText">\'+mxUtils.htmlEntities(d)+"</div>";this.layersContainer.appendChild(g);this.createViewer(g.childNodes[0],b,a.id);b=mxUtils.bind(this,function(){0<=g.className.indexOf("geAspectDlgListItemSelected")?\r\n(g.className="geAspectDlgListItem",delete this.selectedLayers[a.id],0==Object.keys(this.selectedLayers).length&&this.okBtn.setAttribute("disabled","disabled")):(g.className+=" geAspectDlgListItemSelected",this.selectedLayers[a.id]=!0,this.okBtn.removeAttribute("disabled"))});mxEvent.addListener(g,"click",b);-1!=this.aspect.layerIds.indexOf(a.id)&&b()};\r\nvar FilePropertiesDialog=function(a){var d,c,b=document.createElement("table"),g=document.createElement("tbody");b.style.width="100%";b.style.marginTop="8px";var f=a.getCurrentFile();d=null!=f&&null!=f.getTitle()?f.getTitle():this.editorUi.defaultFilename;c=null;if(/(\\.png)$/i.test(d)){var m=1,e=0;d=a.fileNode;null!=d&&(d.hasAttribute("scale")&&(m=parseFloat(d.getAttribute("scale"))),d.hasAttribute("border")&&(e=parseInt(d.getAttribute("border"))));d=document.createElement("tr");c=document.createElement("td");\r\nc.style.whiteSpace="nowrap";c.style.fontSize="10pt";c.style.width="120px";mxUtils.write(c,mxResources.get("zoom")+":");d.appendChild(c);var k=document.createElement("input");k.setAttribute("value",100*m+"%");k.style.marginLeft="4px";k.style.width="180px";c=document.createElement("td");c.style.whiteSpace="nowrap";c.appendChild(k);d.appendChild(c);g.appendChild(d);d=document.createElement("tr");c=document.createElement("td");c.style.whiteSpace="nowrap";c.style.fontSize="10pt";c.style.width="120px";\r\nmxUtils.write(c,mxResources.get("borderWidth")+":");d.appendChild(c);var l=document.createElement("input");l.setAttribute("value",e);l.style.marginLeft="4px";l.style.width="180px";c=document.createElement("td");c.style.whiteSpace="nowrap";c.appendChild(l);d.appendChild(c);g.appendChild(d);this.init=function(){k.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?k.select():document.execCommand("selectAll",!1,null)};c=function(){null!=a.fileNode&&(a.fileNode.setAttribute("scale",Math.max(0,\r\nparseInt(k.value)/100)),a.fileNode.setAttribute("border",Math.max(0,parseInt(l.value))),null!=f&&f.fileChanged());a.hideDialog()}}else{m=null!=f?f.isCompressed():Editor.compressXml;d=document.createElement("tr");c=document.createElement("td");c.style.whiteSpace="nowrap";c.style.fontSize="10pt";c.style.width="120px";mxUtils.write(c,mxResources.get("compressed")+":");d.appendChild(c);var n=document.createElement("input");n.setAttribute("type","checkbox");m&&(n.setAttribute("checked","checked"),n.defaultChecked=\r\n!0);c=document.createElement("td");c.style.whiteSpace="nowrap";c.appendChild(n);d.appendChild(c);g.appendChild(d);this.init=function(){n.focus()};c=function(){null!=a.fileNode&&(a.fileNode.setAttribute("compressed",n.checked?"true":"false"),null!=f&&f.fileChanged());a.hideDialog()}}m=mxUtils.button(mxResources.get("apply"),c);m.className="geBtn gePrimaryBtn";d=document.createElement("tr");c=document.createElement("td");c.colSpan=2;c.style.paddingTop="20px";c.style.whiteSpace="nowrap";c.setAttribute("align",\r\n"right");e=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});e.className="geBtn";a.editor.cancelFirst&&c.appendChild(e);c.appendChild(m);a.editor.cancelFirst||c.appendChild(e);d.appendChild(c);g.appendChild(d);b.appendChild(g);this.container=b};(function(){"undefined"!==typeof html4&&(html4.ATTRIBS["span::data-lucid-content"]=0,html4.ATTRIBS["span::data-lucid-type"]=0,html4.ATTRIBS["font::data-font-src"]=0);Editor.prototype.appName="diagrams.net";Editor.prototype.diagramFileTypes=[{description:"diagramXmlDesc",extension:"drawio",mimeType:"text/xml"},{description:"diagramPngDesc",extension:"png",mimeType:"image/png"},{description:"diagramSvgDesc",extension:"svg",mimeType:"image/svg"},{description:"diagramHtmlDesc",extension:"html",mimeType:"text/html"},\r\n{description:"diagramXmlDesc",extension:"xml",mimeType:"text/xml"}];Editor.prototype.libraryFileTypes=[{description:"Library (.drawiolib, .xml)",extensions:["drawiolib","xml"]}];Editor.prototype.fileExtensions=[{ext:"html",title:"filetypeHtml"},{ext:"png",title:"filetypePng"},{ext:"svg",title:"filetypeSvg"}];Editor.styles=[{},{commonStyle:{fontColor:"#5C5C5C",strokeColor:"#006658",fillColor:"#21C0A5"}},{commonStyle:{fontColor:"#095C86",strokeColor:"#AF45ED",fillColor:"#F694C1"},edgeStyle:{strokeColor:"#60E696"}},\r\n{commonStyle:{fontColor:"#46495D",strokeColor:"#788AA3",fillColor:"#B2C9AB"}},{commonStyle:{fontColor:"#5AA9E6",strokeColor:"#FF6392",fillColor:"#FFE45E"}},{commonStyle:{fontColor:"#1D3557",strokeColor:"#457B9D",fillColor:"#A8DADC"},graph:{background:"#F1FAEE"}},{commonStyle:{fontColor:"#393C56",strokeColor:"#E07A5F",fillColor:"#F2CC8F"},graph:{background:"#F4F1DE",gridColor:"#D4D0C0"}},{commonStyle:{fontColor:"#143642",strokeColor:"#0F8B8D",fillColor:"#FAE5C7"},edgeStyle:{strokeColor:"#A8201A"},\r\ngraph:{background:"#DAD2D8",gridColor:"#ABA4A9"}},{commonStyle:{fontColor:"#FEFAE0",strokeColor:"#DDA15E",fillColor:"#BC6C25"},graph:{background:"#283618",gridColor:"#48632C"}},{commonStyle:{fontColor:"#E4FDE1",strokeColor:"#028090",fillColor:"#F45B69"},graph:{background:"#114B5F",gridColor:"#0B3240"}},{},{vertexStyle:{strokeColor:"#D0CEE2",fillColor:"#FAD9D5"},edgeStyle:{strokeColor:"#09555B"},commonStyle:{fontColor:"#1A1A1A"}},{vertexStyle:{strokeColor:"#BAC8D3",fillColor:"#09555B",fontColor:"#EEEEEE"},\r\nedgeStyle:{strokeColor:"#0B4D6A"}},{vertexStyle:{strokeColor:"#D0CEE2",fillColor:"#5D7F99"},edgeStyle:{strokeColor:"#736CA8"},commonStyle:{fontColor:"#1A1A1A"}},{vertexStyle:{strokeColor:"#FFFFFF",fillColor:"#182E3E",fontColor:"#FFFFFF"},edgeStyle:{strokeColor:"#23445D"},graph:{background:"#FCE7CD",gridColor:"#CFBDA8"}},{vertexStyle:{strokeColor:"#FFFFFF",fillColor:"#F08E81"},edgeStyle:{strokeColor:"#182E3E"},commonStyle:{fontColor:"#1A1A1A"},graph:{background:"#B0E3E6",gridColor:"#87AEB0"}},{vertexStyle:{strokeColor:"#909090",\r\nfillColor:"#F5AB50"},edgeStyle:{strokeColor:"#182E3E"},commonStyle:{fontColor:"#1A1A1A"},graph:{background:"#EEEEEE"}},{vertexStyle:{strokeColor:"#EEEEEE",fillColor:"#56517E",fontColor:"#FFFFFF"},edgeStyle:{strokeColor:"#182E3E"},graph:{background:"#FAD9D5",gridColor:"#BFA6A3"}},{vertexStyle:{strokeColor:"#BAC8D3",fillColor:"#B1DDF0",fontColor:"#182E3E"},edgeStyle:{strokeColor:"#EEEEEE",fontColor:"#FFFFFF"},graph:{background:"#09555B",gridColor:"#13B4C2"}},{vertexStyle:{fillColor:"#EEEEEE",fontColor:"#1A1A1A"},\r\nedgeStyle:{fontColor:"#FFFFFF"},commonStyle:{strokeColor:"#FFFFFF"},graph:{background:"#182E3E",gridColor:"#4D94C7"}}];Editor.saveImage="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHdpZHRoPSIxOHB4IiBoZWlnaHQ9IjE4cHgiPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTkgMTJ2N0g1di03SDN2N2MwIDEuMS45IDIgMiAyaDE0YzEuMSAwIDItLjkgMi0ydi03aC0yem0tNiAuNjdsMi41OS0yLjU4TDE3IDExLjVsLTUgNS01LTUgMS40MS0xLjQxTDExIDEyLjY3VjNoMnoiLz48L3N2Zz4=";\r\nEditor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":\r\nIMAGE_PATH+"/delete.png";Editor.plusImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDdCMTdENjVCOEM4MTFFNDlCRjVBNDdCODU5NjNBNUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDdCMTdENjZCOEM4MTFFNDlCRjVBNDdCODU5NjNBNUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowN0IxN0Q2M0I4QzgxMUU0OUJGNUE0N0I4NTk2M0E1QyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowN0IxN0Q2NEI4QzgxMUU0OUJGNUE0N0I4NTk2M0E1QyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtjrjmgAAAAtSURBVHjaYvz//z8DMigvLwcLdHZ2MiKLMzEQCaivkLGsrOw/dU0cAr4GCDAARQsQbTFrv10AAAAASUVORK5CYII=":\r\nIMAGE_PATH+"/plus.png";Editor.spinImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDAAMAPUxAEVriVp7lmCAmmGBm2OCnGmHn3OPpneSqYKbr4OcsIScsI2kto6kt46lt5KnuZmtvpquvpuvv56ywaCzwqK1xKu7yay9yq+/zLHAzbfF0bjG0bzJ1LzK1MDN18jT28nT3M3X3tHa4dTc49Xd5Njf5dng5t3k6d/l6uDm6uru8e7x8/Dz9fT29/b4+Pj5+fj5+vr6+v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkKADEAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAADAAMAAAGR8CYcEgsOgYAIax4CCQuQldrCBEsiK8VS2hoFGOrlJDA+cZQwkLnqyoJFZKviSS0ICrE0ec0jDAwIiUeGyBFGhMPFBkhZo1BACH5BAkKAC4ALAAAAAAMAAwAhVB0kFR3k1V4k2CAmmWEnW6Lo3KOpXeSqH2XrIOcsISdsImhtIqhtJCmuJGnuZuwv52wwJ+ywZ+ywqm6yLHBzbLCzrXEz7fF0LnH0rrI0r7L1b/M1sXR2cfT28rV3czW3s/Z4Nfe5Nvi6ODm6uLn6+Ln7OLo7OXq7efs7+zw8u/y9PDy9PX3+Pr7+////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZDQJdwSCxGDAIAoVFkFBwYSyIwGE4OkCJxIdG6WkJEx8sSKj7elfBB0a5SQg1EQ0SVVMPKhDM6iUIkRR4ZFxsgJl6JQQAh+QQJCgAxACwAAAAADAAMAIVGa4lcfZdjgpxkg51nhp5ui6N3kqh5lKqFnbGHn7KIoLOQp7iRp7mSqLmTqbqarr6br7+fssGitcOitcSuvsuuv8uwwMyzw861xNC5x9K6x9K/zNbDztjE0NnG0drJ1NzQ2eDS2+LT2+LV3ePZ4Oba4ebb4ufc4+jm6+7t8PLt8PPt8fPx8/Xx9PX09vf19/j3+Pn///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGQ8CYcEgsUhQFggFSjCQmnE1jcBhqGBXiIuAQSi7FGEIgfIzCFoCXFCZiPO0hKBMiwl7ET6eUYqlWLkUnISImKC1xbUEAIfkECQoAMgAsAAAAAAwADACFTnKPT3KPVHaTYoKcb4yjcY6leZSpf5mtgZuvh5+yiqG0i6K1jqW3kae5nrHBnrLBn7LCoLPCobTDqbrIqrvIs8LOtMPPtcPPtcTPuMbRucfSvcrUvsvVwMzWxdHaydTcytXdzNbezdff0drh2ODl2+Ln3eTp4Obq4ujs5Ont5uvu6O3w6u7w6u7x7/L09vj5+vr7+vv7////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkdAmXBILHIcicOCUqxELKKPxKAYgiYd4oMAEWo8RVmjIMScwhmBcJMKXwLCECmMGAhPI1QRwBiaSixCMDFhLSorLi8wYYxCQQAh+QQJCgAxACwAAAAADAAMAIVZepVggJphgZtnhp5vjKN2kah3kqmBmq+KobSLorWNpLaRp7mWq7ybr7+gs8KitcSktsWnuManucexwM2ywc63xtG6yNO9ytS+ytW/zNbDz9jH0tvL1d3N197S2+LU3OPU3ePV3eTX3+Xa4efb4ufd5Onl6u7r7vHs7/Lt8PLw8/Xy9Pby9fb09ff2+Pn3+Pn6+vr///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGSMCYcEgseiwSR+RS7GA4JFGF8RiWNiEiJTERgkjFGAQh/KTCGoJwpApnBkITKrwoCFWnFlEhaAxXLC9CBwAGRS4wQgELYY1CQQAh+QQJCgAzACwAAAAADAAMAIVMcI5SdZFhgZtti6JwjaR4k6mAma6Cm6+KobSLorWLo7WNo7aPpredsMCescGitMOitcSmuMaqu8ixwc2zws63xdC4xtG5x9K9ytXAzdfCztjF0NnF0drK1d3M1t7P2N/P2eDT2+LX3+Xe5Onh5+vi5+vj6Ozk6e3n7O/o7O/q7vHs7/Lt8PPu8fPx8/X3+Pn6+vv7+/v8/Pz///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRcCZcEgsmkIbTOZTLIlGqZNnchm2SCgiJ6IRqljFmQUiXIVnoITQde4chC9Y+LEQxmTFRkFSNFAqDAMIRQoCAAEEDmeLQQAh+QQJCgAwACwAAAAADAAMAIVXeZRefplff5lhgZtph59yjqV2kaeAmq6FnbGFnrGLorWNpLaQp7mRqLmYrb2essGgs8Klt8apusitvcquv8u2xNC7yNO8ydS8ytTAzdfBzdfM1t7N197Q2eDU3OPX3+XZ4ObZ4ebc4+jf5erg5erg5uvp7fDu8fPv8vTz9fb09vf19/j3+Pn4+fn5+vr6+/v///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRUCYcEgspkwjEKhUVJ1QsBNp0xm2VixiSOMRvlxFGAcTJook5eEHIhQcwpWIkAFQECkNy9AQWFwyEAkPRQ4FAwQIE2llQQAh+QQJCgAvACwAAAAADAAMAIVNcY5SdZFigptph6BvjKN0kKd8lquAmq+EnbGGn7KHn7ONpLaOpbearr+csMCdscCescGhtMOnuMauvsuzws60w862xdC9ytW/y9a/zNbCztjG0drH0tvK1N3M1t7N19/U3ePb4uff5urj6Ozk6e3l6u7m6u7o7PDq7vDt8PPv8vTw8vTw8/X19vf6+vv///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGQ8CXcEgsvlytVUplJLJIpSEDUESFTELBwSgCCQEV42kjDFiMo4uQsDB2MkLHoEHUTD7DRAHC8VAiZ0QSCgYIDxhNiUEAOw==":\r\nIMAGE_PATH+"/spin.gif";Editor.globeImage="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTEuOTkgMkM2LjQ3IDIgMiA2LjQ4IDIgMTJzNC40NyAxMCA5Ljk5IDEwQzE3LjUyIDIyIDIyIDE3LjUyIDIyIDEyUzE3LjUyIDIgMTEuOTkgMnptNi45MyA2aC0yLjk1Yy0uMzItMS4yNS0uNzgtMi40NS0xLjM4LTMuNTYgMS44NC42MyAzLjM3IDEuOTEgNC4zMyAzLjU2ek0xMiA0LjA0Yy44MyAxLjIgMS40OCAyLjUzIDEuOTEgMy45NmgtMy44MmMuNDMtMS40MyAxLjA4LTIuNzYgMS45MS0zLjk2ek00LjI2IDE0QzQuMSAxMy4zNiA0IDEyLjY5IDQgMTJzLjEtMS4zNi4yNi0yaDMuMzhjLS4wOC42Ni0uMTQgMS4zMi0uMTQgMiAwIC42OC4wNiAxLjM0LjE0IDJINC4yNnptLjgyIDJoMi45NWMuMzIgMS4yNS43OCAyLjQ1IDEuMzggMy41Ni0xLjg0LS42My0zLjM3LTEuOS00LjMzLTMuNTZ6bTIuOTUtOEg1LjA4Yy45Ni0xLjY2IDIuNDktMi45MyA0LjMzLTMuNTZDOC44MSA1LjU1IDguMzUgNi43NSA4LjAzIDh6TTEyIDE5Ljk2Yy0uODMtMS4yLTEuNDgtMi41My0xLjkxLTMuOTZoMy44MmMtLjQzIDEuNDMtMS4wOCAyLjc2LTEuOTEgMy45NnpNMTQuMzQgMTRIOS42NmMtLjA5LS42Ni0uMTYtMS4zMi0uMTYtMiAwLS42OC4wNy0xLjM1LjE2LTJoNC42OGMuMDkuNjUuMTYgMS4zMi4xNiAyIDAgLjY4LS4wNyAxLjM0LS4xNiAyem0uMjUgNS41NmMuNi0xLjExIDEuMDYtMi4zMSAxLjM4LTMuNTZoMi45NWMtLjk2IDEuNjUtMi40OSAyLjkzLTQuMzMgMy41NnpNMTYuMzYgMTRjLjA4LS42Ni4xNC0xLjMyLjE0LTIgMC0uNjgtLjA2LTEuMzQtLjE0LTJoMy4zOGMuMTYuNjQuMjYgMS4zMS4yNiAycy0uMSAxLjM2LS4yNiAyaC0zLjM4eiIvPjwvc3ZnPg==";\r\nEditor.commentImage="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMjEuOTkgNGMwLTEuMS0uODktMi0xLjk5LTJINGMtMS4xIDAtMiAuOS0yIDJ2MTJjMCAxLjEuOSAyIDIgMmgxNGw0IDQtLjAxLTE4ek0xOCAxNEg2di0yaDEydjJ6bTAtM0g2VjloMTJ2MnptMC0zSDZWNmgxMnYyeiIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4=";Editor.commentImageInverted="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABLElEQVRYR+2Wvy4FQRjFf4dINAq9XqtSaVRqXArPINEodUqlhxC5/pU6nYdQSHQeQTRHNtmVuXuXrIxv1k1sN5vMOb85c75kxMCfBvZnCsD2ErAGzAfAvUt6THUnAGwfAWfAQoB5I3kh6aBZfALYXgGeg80b31VJT9UiBRgB48CTp9Lbku7aAPvAZSGAHUm3swEgKWtUbbsj1f4JDA4AbGb24iErgUzzr7bvSrrpVcKgK5ghgKAO9E/gvwNBJRxJuu41BUEd+BFARA3+JsAWcB9x3A7NzgSqt+ALsFwAYhqgMrW9Ub8J14G5QJBugAhD2yfAaUt7T9LVxBhGmDeato/rZJtfZQHq600hygPUEIfAOTAMQALxWrQD7X7ZXpT0VqyE3xU868n9G5PzASPvpiHavBAUAAAAAElFTkSuQmCC";\r\nEditor.userImage="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIgMTJjMi4yMSAwIDQtMS43OSA0LTRzLTEuNzktNC00LTQtNCAxLjc5LTQgNCAxLjc5IDQgNCA0em0wIDJjLTIuNjcgMC04IDEuMzQtOCA0djJoMTZ2LTJjMC0yLjY2LTUuMzMtNC04LTR6Ii8+PC9zdmc+";Editor.shareImage="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTggMTYuMDhjLS43NiAwLTEuNDQuMy0xLjk2Ljc3TDguOTEgMTIuN2MuMDUtLjIzLjA5LS40Ni4wOS0uN3MtLjA0LS40Ny0uMDktLjdsNy4wNS00LjExYy41NC41IDEuMjUuODEgMi4wNC44MSAxLjY2IDAgMy0xLjM0IDMtM3MtMS4zNC0zLTMtMy0zIDEuMzQtMyAzYzAgLjI0LjA0LjQ3LjA5LjdMOC4wNCA5LjgxQzcuNSA5LjMxIDYuNzkgOSA2IDljLTEuNjYgMC0zIDEuMzQtMyAzczEuMzQgMyAzIDNjLjc5IDAgMS41LS4zMSAyLjA0LS44MWw3LjEyIDQuMTZjLS4wNS4yMS0uMDguNDMtLjA4LjY1IDAgMS42MSAxLjMxIDIuOTIgMi45MiAyLjkyIDEuNjEgMCAyLjkyLTEuMzEgMi45Mi0yLjkycy0xLjMxLTIuOTItMi45Mi0yLjkyeiIvPjwvc3ZnPg==";\r\nEditor.syncImage="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIgNFYxTDggNWw0IDRWNmMzLjMxIDAgNiAyLjY5IDYgNiAwIDEuMDEtLjI1IDEuOTctLjcgMi44bDEuNDYgMS40NkMxOS41NCAxNS4wMyAyMCAxMy41NyAyMCAxMmMwLTQuNDItMy41OC04LTgtOHptMCAxNGMtMy4zMSAwLTYtMi42OS02LTYgMC0xLjAxLjI1LTEuOTcuNy0yLjhMNS4yNCA3Ljc0QzQuNDYgOC45NyA0IDEwLjQzIDQgMTJjMCA0LjQyIDMuNTggOCA4IDh2M2w0LTQtNC00djN6Ii8+PC9zdmc+";Editor.syncDisabledImage=\r\n"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTAgNi4zNVY0LjI2Yy0uOC4yMS0xLjU1LjU0LTIuMjMuOTZsMS40NiAxLjQ2Yy4yNS0uMTIuNS0uMjQuNzctLjMzem0tNy4xNC0uOTRsMi4zNiAyLjM2QzQuNDUgOC45OSA0IDEwLjQ0IDQgMTJjMCAyLjIxLjkxIDQuMiAyLjM2IDUuNjRMNCAyMGg2di02bC0yLjI0IDIuMjRDNi42OCAxNS4xNSA2IDEzLjY2IDYgMTJjMC0xIC4yNS0xLjk0LjY4LTIuNzdsOC4wOCA4LjA4Yy0uMjUuMTMtLjUuMjUtLjc3LjM0djIuMDljLjgtLjIxIDEuNTUtLjU0IDIuMjMtLjk2bDIuMzYgMi4zNiAxLjI3LTEuMjdMNC4xNCA0LjE0IDIuODYgNS40MXpNMjAgNGgtNnY2bDIuMjQtMi4yNEMxNy4zMiA4Ljg1IDE4IDEwLjM0IDE4IDEyYzAgMS0uMjUgMS45NC0uNjggMi43N2wxLjQ2IDEuNDZDMTkuNTUgMTUuMDEgMjAgMTMuNTYgMjAgMTJjMC0yLjIxLS45MS00LjItMi4zNi01LjY0TDIwIDR6Ii8+PC9zdmc+";\r\nEditor.syncProblemImage="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMyAxMmMwIDIuMjEuOTEgNC4yIDIuMzYgNS42NEwzIDIwaDZ2LTZsLTIuMjQgMi4yNEM1LjY4IDE1LjE1IDUgMTMuNjYgNSAxMmMwLTIuNjEgMS42Ny00LjgzIDQtNS42NVY0LjI2QzUuNTUgNS4xNSAzIDguMjcgMyAxMnptOCA1aDJ2LTJoLTJ2MnpNMjEgNGgtNnY2bDIuMjQtMi4yNEMxOC4zMiA4Ljg1IDE5IDEwLjM0IDE5IDEyYzAgMi42MS0xLjY3IDQuODMtNCA1LjY1djIuMDljMy40NS0uODkgNi00LjAxIDYtNy43NCAwLTIuMjEtLjkxLTQuMi0yLjM2LTUuNjRMMjEgNHptLTEwIDloMlY3aC0ydjZ6Ii8+PC9zdmc+";\r\nEditor.tweetImage=IMAGE_PATH+"/tweet.png";Editor.facebookImage=IMAGE_PATH+"/facebook.png";Editor.blankImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==";Editor.hiResImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAA+CAMAAACLMWy1AAAAh1BMVEUAAABMTExERERBQUFBQUFFRUVAQEBCQkJAQEA6OjpDQ0NKSkpBQUFBQUFERERERERBQUFCQkJCQkJCQkJJSUlBQUFCQkJDQ0NDQ0NCQkJDQ0NBQUFBQUFCQkJBQUFCQkJCQkJDQ0NCQkJHR0dBQUFCQkJCQkJAQEBCQkJDQ0NAQEBERERCQkIk1hS2AAAAKnRSTlMAAjj96BL7PgQFRwfu3TYazKuVjRXl1V1DPCn1uLGjnWNVIgy9hU40eGqPkM38AAACG0lEQVRYw+2X63KbMBCFzwZblgGDceN74muatpLe//m6MHV3gHGFAv2RjM94MAbxzdnVsQbBDKwH8AH8MDAyafzjqYeyOG04XE7RS8nIRDXg6BlT+rA0nmtAPh+NQRDxIASIMG44rAMrGunBgHwy3uUldxggIStGKp2f+DQc2O4h4eQsX3O2IFB/oEbsjOKbStnjAEA+zJ0ylZTbgvoDn8xNyn6Dbj5Kd4GsNpABa6duQPfSdEj88TgMAhKuCWjAkgmFXPLnsD0pWd3OFGdrMugQII/eOMPEiGOzqPMIeWrcSoMCg71W1pXBPvCP+gS/OdXqQ3uW23+93XGWLl/OaBb805bNcBPoEIcVJsnHzcxpZH86u5KZ9gDby5dQCcnKqdbke4ItI4Tzd7IW9hZQt4EO6GG9b9sYuuK9Wwn8TIr2xKbF2+3Nhr+qxChJ/AI6pIfCu4z4Zowp4ZUNihz79vewzctnHDwTvQO/hCdFBzrUGDOPn2Y/F8YKT4oOATLvlhOznzmBSdFBJWtc58y7r+UVFOCQczy3wpN6pegDqHtsCPTGvH9JuTO0Dyg8icldYPk+RB6g8Aofj4m2EKBvtTmUPD9xDd1pPcSReV2U5iD/ik2yrngtvvqBfPzOvKiDTKTsCdoHZJ7pLLffgTwlJ5vJdtJV2/jiAYaLvLGhMAEDO5QcDg2M/jOw/8Zn+K3ZwJvHT7ZffgC/NvA3zcybTeIfE4EAAAAASUVORK5CYII=":\r\nIMAGE_PATH+"/img-hi-res.png";Editor.loResImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAA+CAMAAACLMWy1AAAAS1BMVEVAQEAAAAA1NTVBQUFDQ0NDQ0NFRUVERERBQUFBQUFBQUFAQEBBQUFBQUFCQkJCQkJCQkJBQUFCQkJDQ0NDQ0NCQkJCQkJCQkJGRkb5/XqTAAAAGXRSTlP+AAWODlASCsesX+Lc2LyWe3pwa1tCPjohjSJfoAAAAI1JREFUWMPt1MkKhTAMRuG0anvneXr/J71nUypKcdqI/N8yhLMKMZE1CahnClDQzMPB44ED3EgeCubgDWnWQMHpwTtKwTe+UHD4sJ94wbUEHHFGhILlYDeSnsQeabeCgsPBgB0MOZZ9oGA5GJFiJSfUULAfjLjARrhCwX7wh2YCDwVbwZkUBKqFFJRN+wOcwSgR2sREcgAAAABJRU5ErkJggg==":\r\nIMAGE_PATH+"/img-lo-res.png";Editor.cameraLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAAA/BJREFUWAnFl0uIjWEYx885buPSuGwmSYwtwsY1ikKSNYNclmQnadgrZSPlsnBLSlaGBdNYKY0Vdi4L4zYzIqxGxmXG//d+7//0+uY7nWMiT/2/53mf+3v7vnNKpf9M5UbrDw8Pj4m+wzmeT1FBUS6Xf+YNox6reMONukijMXUTM3NmI75PyXcJPwRWg5kS7xysDLNmfEUxpx2rceNE50IlYjyRklcLf0prY+x4BTqfmx3ZUHQaO9ISGngYq38V/1EH+ECPa+QaK1u1kVBQirDMChiS3CTeIkwWvghtwhKBpZ8g1CO2B99FynVU/KowSRgQ3mlrBsVZ1awmQlS0SGbfXglfBPbdRGMm5O8RXg2P835pDCvzWjghTHETcLpZLHwS8kTCtBEK1SN83Egam8YxyVZqc+Do5qkwS+gT9grNwkUBG6cbsG/gs3BTuC/0ChCxq4QtwgzBMdwUZBPyN4Ftfi4sYPZHktbOSRlIuutRP5jYj0ueZp88xyYcS/zZoiLyQT1IA/cTj7eSlwnrhI+JnkQbCwo2Sx/2M7VJt17wdhVtgxvrpoFnAuSAbJQ97biZAlKxBfD9wgOhV+BgIR/AZtJ4kwD5PGSj7OmmekjWEy0oAQHAS3+KpBpzXqYK3UItopHpSRMno2N+cm7gDYnfRCcr3QBqriMHLJDkeyhFfiG5aVbK+8rhtP9M6QcIEJHX5Fp9NMAyQlYiu+OOJNlODCIXyka/P23bncTdiC7OydC1+v1Bsb+5r84DK8S3Rdmf5cRUFW3bXtWUSt1Rdk6G4SyJV2o1YId+vNUxr+x5yCJiapFtcxQzLjrxboGcMxvFJwEOKnLwjIbkx/sdSmeSaUY++SwTAxV+4DJT7RVwkbk46gNCsifIItuy0e9PF33Cb4homhN5YRyzL5q5V2VNkv98kqgoGTo3YF9CnMM5Y5rItFfvBSi9JulVXOgI+VwIntkt+SaZ6weQfcovJf7zpTfl86P/wAF7Fz18NeKwmvAWCaX0Z/uMHQr42ZxvR/Rxcw5xM+9J/CJq8w2gduDhmDgso/QrBH47dEXQ1IqczyHpIOfIRtnTtV7SwO1oKXKkU3fbToFGSDHtMWcaH1WBuVYnDbRFi99iqSMySdzxXckrazUh23KBVYGIcfNBkTxca0e4ATJ0KukGYVBgr/MnlhPOtQq/ksUfCbzh+EFCjtnCUoHfjhA/OsiTv2HcEvJMELp0VakZDliTmriTdPivxU4VmEhtPrGV+KJhO7ZKt0doFZh1fgZSBWIW2AGEHwg3BUWOnKtH+suqdw07tYMfglCrWPD5mw9qVYuniaXkT0OtWaSuo5LJTY1RBf+roF9X5+y/5qU+DAAAAABJRU5ErkJggg==";\r\nEditor.svgBrokenImage=Graph.createSvgImage(10,10,\'<rect x="0" y="0" width="10" height="10" stroke="#000" fill="transparent"/><path d="m 0 0 L 10 10 L 0 10 L 10 0" stroke="#000" fill="transparent"/>\');Editor.errorImage="data:image/gif;base64,R0lGODlhEAAQAPcAAADGAIQAAISEhP8AAP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH5BAEAAAAALAAAAAAQABAAAAhoAAEIFBigYMGBCAkGGMCQ4cGECxtKHBAAYUQCEzFSHLiQgMeGHjEGEAAg4oCQJz86LCkxpEqHAkwyRClxpEyXGmGaREmTIsmOL1GO/DkzI0yOE2sKIMlRJsWhCQHENDiUaVSpS5cmDAgAOw==";\r\nEditor.configurationKey=".configuration";Editor.settingsKey=".drawio-config";Editor.defaultCustomLibraries=[];Editor.enableCustomLibraries=!0;Editor.enableCustomProperties=!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.compressXml=!0;Editor.globalVars=null;Editor.shadowOptionEnabled=!mxClient.IS_SF;Editor.config=null;Editor.configVersion=\r\nnull;Editor.defaultBorder=5;Editor.commonProperties=[{name:"comic",dispName:"Comic",type:"bool",defVal:!1,isVisible:function(a,b){return"1"!=mxUtils.getValue(a.style,"sketch","0")}},{name:"jiggle",dispName:"Jiggle",type:"float",min:0,defVal:1,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,"comic","0")||"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"fillWeight",dispName:"Fill Weight",type:"int",defVal:-1,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,\r\n"sketch","1"==urlParams.rough?"1":"0")}},{name:"hachureGap",dispName:"Hachure Gap",type:"int",defVal:-1,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"hachureAngle",dispName:"Hachure Angle",type:"int",defVal:-41,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"curveFitting",dispName:"Curve Fitting",type:"float",defVal:.95,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,\r\n"sketch","1"==urlParams.rough?"1":"0")}},{name:"simplification",dispName:"Simplification",type:"float",defVal:0,min:0,max:1,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"disableMultiStroke",dispName:"Disable Multi Stroke",type:"bool",defVal:!1,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"disableMultiStrokeFill",dispName:"Disable Multi Stroke Fill",type:"bool",defVal:!1,isVisible:function(a,\r\nb){return"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"dashOffset",dispName:"Dash Offset",type:"int",defVal:-1,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"dashGap",dispName:"Dash Gap",type:"int",defVal:-1,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"zigzagOffset",dispName:"ZigZag Offset",type:"int",defVal:-1,isVisible:function(a,b){return"1"==\r\nmxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"jiggle",dispName:"Jiggle",type:"float",min:0,defVal:1,isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,"comic","0")||"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"sketchStyle",dispName:"Sketch Style",type:"enum",defVal:"rough",enumList:[{val:"rough",dispName:"Rough"},{val:"comic",dispName:"Comic"}],isVisible:function(a,b){return"1"==mxUtils.getValue(a.style,"sketch","1"==urlParams.rough?\r\n"1":"0")}}];Editor.commonEdgeProperties=[{type:"separator"},{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE},{name:"sourcePortConstraint",dispName:"Source Constraint",type:"enum",defVal:"none",enumList:[{val:"none",dispName:"None"},{val:"north",dispName:"North"},{val:"east",dispName:"East"},{val:"south",dispName:"South"},{val:"west",dispName:"West"}]},{name:"targetPortConstraint",dispName:"Target Constraint",type:"enum",defVal:"none",enumList:[{val:"none",dispName:"None"},\r\n{val:"north",dispName:"North"},{val:"east",dispName:"East"},{val:"south",dispName:"South"},{val:"west",dispName:"West"}]},{name:"jettySize",dispName:"Jetty Size",type:"int",min:0,defVal:"auto",allowAuto:!0,isVisible:function(a){return"orthogonalEdgeStyle"==mxUtils.getValue(a.style,mxConstants.STYLE_EDGE,null)}},{name:"fillOpacity",dispName:"Fill Opacity",type:"int",min:0,max:100,defVal:100},{name:"strokeOpacity",dispName:"Stroke Opacity",type:"int",min:0,max:100,defVal:100},{name:"startFill",dispName:"Start Fill",\r\ntype:"bool",defVal:!0},{name:"endFill",dispName:"End Fill",type:"bool",defVal:!0},{name:"perimeterSpacing",dispName:"Terminal Spacing",type:"float",defVal:0},{name:"anchorPointDirection",dispName:"Anchor Direction",type:"bool",defVal:!0},{name:"snapToPoint",dispName:"Snap to Point",type:"bool",defVal:!1},{name:"fixDash",dispName:"Fixed Dash",type:"bool",defVal:!1},{name:"editable",dispName:"Editable",type:"bool",defVal:!0},{name:"metaEdit",dispName:"Edit Dialog",type:"bool",defVal:!1},{name:"backgroundOutline",\r\ndispName:"Background Outline",type:"bool",defVal:!1},{name:"bendable",dispName:"Bendable",type:"bool",defVal:!0},{name:"movable",dispName:"Movable",type:"bool",defVal:!0},{name:"cloneable",dispName:"Cloneable",type:"bool",defVal:!0},{name:"deletable",dispName:"Deletable",type:"bool",defVal:!0},{name:"noJump",dispName:"No Jumps",type:"bool",defVal:!1},{name:"flowAnimation",dispName:"Flow Animation",type:"bool",defVal:!1},{name:"ignoreEdge",dispName:"Ignore Edge",type:"bool",defVal:!1},{name:"orthogonalLoop",\r\ndispName:"Loop Routing",type:"bool",defVal:!1},{name:"orthogonal",dispName:"Orthogonal",type:"bool",defVal:!1}].concat(Editor.commonProperties);Editor.commonVertexProperties=[{type:"separator"},{name:"resizeLastRow",dispName:"Resize Last Row",type:"bool",getDefaultValue:function(a,b){var e=b.editorUi.editor.graph.getCellStyle(1==a.vertices.length&&0==a.edges.length?a.vertices[0]:null);return"1"==mxUtils.getValue(e,"resizeLastRow","0")},isVisible:function(a,b){var e=b.editorUi.editor.graph;return 1==\r\na.vertices.length&&0==a.edges.length&&e.isTable(a.vertices[0])}},{name:"resizeLast",dispName:"Resize Last Column",type:"bool",getDefaultValue:function(a,b){var e=b.editorUi.editor.graph.getCellStyle(1==a.vertices.length&&0==a.edges.length?a.vertices[0]:null);return"1"==mxUtils.getValue(e,"resizeLast","0")},isVisible:function(a,b){var e=b.editorUi.editor.graph;return 1==a.vertices.length&&0==a.edges.length&&e.isTable(a.vertices[0])}},{name:"fillOpacity",dispName:"Fill Opacity",type:"int",min:0,max:100,\r\ndefVal:100},{name:"strokeOpacity",dispName:"Stroke Opacity",type:"int",min:0,max:100,defVal:100},{name:"overflow",dispName:"Text Overflow",defVal:"visible",type:"enum",enumList:[{val:"visible",dispName:"Visible"},{val:"hidden",dispName:"Hidden"},{val:"block",dispName:"Block"},{val:"fill",dispName:"Fill"},{val:"width",dispName:"Width"}]},{name:"noLabel",dispName:"Hide Label",type:"bool",defVal:!1},{name:"labelPadding",dispName:"Label Padding",type:"float",defVal:0},{name:"direction",dispName:"Direction",\r\ntype:"enum",defVal:"east",enumList:[{val:"north",dispName:"North"},{val:"east",dispName:"East"},{val:"south",dispName:"South"},{val:"west",dispName:"West"}]},{name:"portConstraint",dispName:"Constraint",type:"enum",defVal:"none",enumList:[{val:"none",dispName:"None"},{val:"north",dispName:"North"},{val:"east",dispName:"East"},{val:"south",dispName:"South"},{val:"west",dispName:"West"}]},{name:"portConstraintRotation",dispName:"Rotate Constraint",type:"bool",defVal:!1},{name:"connectable",dispName:"Connectable",\r\ntype:"bool",getDefaultValue:function(a,b){return b.editorUi.editor.graph.isCellConnectable(1==a.vertices.length&&0==a.edges.length?a.vertices[0]:null)},isVisible:function(a,b){return 1==a.vertices.length&&0==a.edges.length}},{name:"allowArrows",dispName:"Allow Arrows",type:"bool",defVal:!0},{name:"snapToPoint",dispName:"Snap to Point",type:"bool",defVal:!1},{name:"perimeter",dispName:"Perimeter",defVal:"none",type:"enum",enumList:[{val:"none",dispName:"None"},{val:"rectanglePerimeter",dispName:"Rectangle"},\r\n{val:"ellipsePerimeter",dispName:"Ellipse"},{val:"rhombusPerimeter",dispName:"Rhombus"},{val:"trianglePerimeter",dispName:"Triangle"},{val:"hexagonPerimeter2",dispName:"Hexagon"},{val:"lifelinePerimeter",dispName:"Lifeline"},{val:"orthogonalPerimeter",dispName:"Orthogonal"},{val:"backbonePerimeter",dispName:"Backbone"},{val:"calloutPerimeter",dispName:"Callout"},{val:"parallelogramPerimeter",dispName:"Parallelogram"},{val:"trapezoidPerimeter",dispName:"Trapezoid"},{val:"stepPerimeter",dispName:"Step"},\r\n{val:"centerPerimeter",dispName:"Center"}]},{name:"fixDash",dispName:"Fixed Dash",type:"bool",defVal:!1},{name:"autosize",dispName:"Autosize",type:"bool",defVal:!1},{name:"container",dispName:"Container",type:"bool",defVal:!1,isVisible:function(a,b){return 1==a.vertices.length&&0==a.edges.length}},{name:"dropTarget",dispName:"Drop Target",type:"bool",getDefaultValue:function(a,b){var e=1==a.vertices.length&&0==a.edges.length?a.vertices[0]:null,c=b.editorUi.editor.graph;return null!=e&&(c.isSwimlane(e)||\r\n0<c.model.getChildCount(e))},isVisible:function(a,b){return 1==a.vertices.length&&0==a.edges.length}},{name:"collapsible",dispName:"Collapsible",type:"bool",getDefaultValue:function(a,b){var e=1==a.vertices.length&&0==a.edges.length?a.vertices[0]:null,c=b.editorUi.editor.graph;return null!=e&&(c.isContainer(e)&&"0"!=a.style.collapsible||!c.isContainer(e)&&"1"==a.style.collapsible)},isVisible:function(a,b){return 1==a.vertices.length&&0==a.edges.length}},{name:"recursiveResize",dispName:"Resize Children",\r\ntype:"bool",defVal:!0,isVisible:function(a,b){return 1==a.vertices.length&&0==a.edges.length&&!b.editorUi.editor.graph.isSwimlane(a.vertices[0])&&null==mxUtils.getValue(a.style,"childLayout",null)}},{name:"expand",dispName:"Expand",type:"bool",defVal:!0},{name:"part",dispName:"Part",type:"bool",defVal:!1,isVisible:function(a,b){var e=b.editorUi.editor.graph.model;return 0<a.vertices.length?e.isVertex(e.getParent(a.vertices[0])):!1}},{name:"editable",dispName:"Editable",type:"bool",defVal:!0},{name:"metaEdit",\r\ndispName:"Edit Dialog",type:"bool",defVal:!1},{name:"backgroundOutline",dispName:"Background Outline",type:"bool",defVal:!1},{name:"movable",dispName:"Movable",type:"bool",defVal:!0},{name:"movableLabel",dispName:"Movable Label",type:"bool",defVal:!1,isVisible:function(a,b){var e=0<a.vertices.length?b.editorUi.editor.graph.getCellGeometry(a.vertices[0]):null;return null!=e&&!e.relative}},{name:"resizable",dispName:"Resizable",type:"bool",defVal:!0},{name:"resizeWidth",dispName:"Resize Width",type:"bool",\r\ndefVal:!1},{name:"resizeHeight",dispName:"Resize Height",type:"bool",defVal:!1},{name:"rotatable",dispName:"Rotatable",type:"bool",defVal:!0},{name:"cloneable",dispName:"Cloneable",type:"bool",defVal:!0},{name:"deletable",dispName:"Deletable",type:"bool",defVal:!0},{name:"treeFolding",dispName:"Tree Folding",type:"bool",defVal:!1},{name:"treeMoving",dispName:"Tree Moving",type:"bool",defVal:!1},{name:"pointerEvents",dispName:"Pointer Events",type:"bool",defVal:!0,isVisible:function(a,b){var e=mxUtils.getValue(a.style,\r\nmxConstants.STYLE_FILLCOLOR,null);return b.editorUi.editor.graph.isSwimlane(a.vertices[0])||null==e||e==mxConstants.NONE}},{name:"moveCells",dispName:"Move Cells on Fold",type:"bool",defVal:!1,isVisible:function(a,b){return 0<a.vertices.length&&b.editorUi.editor.graph.isContainer(a.vertices[0])}}].concat(Editor.commonProperties);Editor.defaultCsvValue=\'##\\n## Example CSV import. Use ## for comments and # for configuration. Paste CSV below.\\n## The following names are reserved and should not be used (or ignored):\\n## id, tooltip, placeholder(s), link and label (see below)\\n##\\n#\\n## Node label with placeholders and HTML.\\n## Default is \\\'%name_of_first_column%\\\'.\\n#\\n# label: %name%<br><i style="color:gray;">%position%</i><br><a href="mailto:%email%">Email</a>\\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## 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## 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 or a JSON string as used in Layout, Apply.\\n## 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\';\r\nEditor.createRoughCanvas=function(a){var b=rough.canvas({getContext:function(){return a}});b.draw=function(b){var e=b.sets||[];b=b.options||this.getDefaultOptions();for(var c=0;c<e.length;c++){var d=e[c];switch(d.type){case "path":null!=b.stroke&&this._drawToContext(a,d,b);break;case "fillPath":this._drawToContext(a,d,b);break;case "fillSketch":this.fillSketch(a,d,b)}}};b.fillSketch=function(b,e,c){var d=a.state.strokeColor,k=a.state.strokeWidth,l=a.state.strokeAlpha,f=a.state.dashed,g=c.fillWeight;\r\n0>g&&(g=c.strokeWidth/2);a.setStrokeAlpha(a.state.fillAlpha);a.setStrokeColor(c.fill||"");a.setStrokeWidth(g);a.setDashed(!1);this._drawToContext(b,e,c);a.setDashed(f);a.setStrokeWidth(k);a.setStrokeColor(d);a.setStrokeAlpha(l)};b._drawToContext=function(a,b,e){a.begin();for(var c=0;c<b.ops.length;c++){var d=b.ops[c],k=d.data;switch(d.op){case "move":a.moveTo(k[0],k[1]);break;case "bcurveTo":a.curveTo(k[0],k[1],k[2],k[3],k[4],k[5]);break;case "lineTo":a.lineTo(k[0],k[1])}}a.end();"fillPath"===b.type&&\r\ne.filled?a.fill():a.stroke()};return b};(function(){function a(b,e,c){this.canvas=b;this.rc=e;this.shape=c;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.originalBegin=this.canvas.begin;this.canvas.begin=mxUtils.bind(this,a.prototype.begin);this.originalEnd=this.canvas.end;this.canvas.end=mxUtils.bind(this,a.prototype.end);this.originalRect=this.canvas.rect;this.canvas.rect=mxUtils.bind(this,a.prototype.rect);this.originalRoundrect=this.canvas.roundrect;this.canvas.roundrect=\r\nmxUtils.bind(this,a.prototype.roundrect);this.originalEllipse=this.canvas.ellipse;this.canvas.ellipse=mxUtils.bind(this,a.prototype.ellipse);this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,a.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,a.prototype.moveTo);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,a.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=mxUtils.bind(this,\r\na.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,a.prototype.arcTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,a.prototype.close);this.originalFill=this.canvas.fill;this.canvas.fill=mxUtils.bind(this,a.prototype.fill);this.originalStroke=this.canvas.stroke;this.canvas.stroke=mxUtils.bind(this,a.prototype.stroke);this.originalFillAndStroke=this.canvas.fillAndStroke;this.canvas.fillAndStroke=mxUtils.bind(this,a.prototype.fillAndStroke);\r\nthis.path=[];this.passThrough=!1}a.prototype.moveOp="M";a.prototype.lineOp="L";a.prototype.quadOp="Q";a.prototype.curveOp="C";a.prototype.closeOp="Z";a.prototype.getStyle=function(a,b){var e=1;if(null!=this.shape.state){var c=this.shape.state.cell.id;if(null!=c)for(var d=0;d<c.length;d++)e=(e<<5)-e+c.charCodeAt(d)<<0}e={strokeWidth:this.canvas.state.strokeWidth,seed:e,preserveVertices:!0};c=this.rc.getDefaultOptions();a?e.stroke="none"===this.canvas.state.strokeColor?"transparent":this.canvas.state.strokeColor:\r\ndelete e.stroke;d=null;(e.filled=b)?(e.fill="none"===this.canvas.state.fillColor?"":this.canvas.state.fillColor,d="none"===this.canvas.state.gradientColor?null:this.canvas.state.gradientColor):e.fill="";e.bowing=mxUtils.getValue(this.shape.style,"bowing",c.bowing);e.hachureAngle=mxUtils.getValue(this.shape.style,"hachureAngle",c.hachureAngle);e.curveFitting=mxUtils.getValue(this.shape.style,"curveFitting",c.curveFitting);e.roughness=mxUtils.getValue(this.shape.style,"jiggle",c.roughness);e.simplification=\r\nmxUtils.getValue(this.shape.style,"simplification",c.simplification);e.disableMultiStroke=mxUtils.getValue(this.shape.style,"disableMultiStroke",c.disableMultiStroke);e.disableMultiStrokeFill=mxUtils.getValue(this.shape.style,"disableMultiStrokeFill",c.disableMultiStrokeFill);var k=mxUtils.getValue(this.shape.style,"hachureGap",-1);e.hachureGap="auto"==k?-1:k;e.dashGap=mxUtils.getValue(this.shape.style,"dashGap",k);e.dashOffset=mxUtils.getValue(this.shape.style,"dashOffset",k);e.zigzagOffset=mxUtils.getValue(this.shape.style,\r\n"zigzagOffset",k);k=mxUtils.getValue(this.shape.style,"fillWeight",-1);e.fillWeight="auto"==k?-1:k;k=mxUtils.getValue(this.shape.style,"fillStyle","auto");"auto"==k&&(k=null!=this.shape.state?this.shape.state.view.graph.defaultPageBackgroundColor:"#ffffff",k=null!=e.fill&&(null!=d||null!=k&&e.fill.toLowerCase()==k.toLowerCase())?"solid":c.fillStyle);e.fillStyle=k;return e};a.prototype.begin=function(){this.passThrough?this.originalBegin.apply(this.canvas,arguments):this.path=[]};a.prototype.end=function(){this.passThrough&&\r\nthis.originalEnd.apply(this.canvas,arguments)};a.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<arguments.length))for(var a=2;a<arguments.length;a+=2)this.lastX=arguments[a-1],this.lastY=arguments[a],this.path.push(this.canvas.format(this.lastX)),this.path.push(this.canvas.format(this.lastY))};a.prototype.lineTo=function(a,b){this.passThrough?this.originalLineTo.apply(this.canvas,arguments):(this.addOp(this.lineOp,a,b),this.lastX=a,this.lastY=b)};a.prototype.moveTo=\r\nfunction(a,b){this.passThrough?this.originalMoveTo.apply(this.canvas,arguments):(this.addOp(this.moveOp,a,b),this.lastX=a,this.lastY=b,this.firstX=a,this.firstY=b)};a.prototype.close=function(){this.passThrough?this.originalClose.apply(this.canvas,arguments):this.addOp(this.closeOp)};a.prototype.quadTo=function(a,b,e,c){this.passThrough?this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,a,b,e,c),this.lastX=e,this.lastY=c)};a.prototype.curveTo=function(a,b,e,c,d,k){this.passThrough?\r\nthis.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,a,b,e,c,d,k),this.lastX=d,this.lastY=k)};a.prototype.arcTo=function(a,b,e,c,d,k,l){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);else{var f=mxUtils.arcToCurves(this.lastX,this.lastY,a,b,e,c,d,k,l);if(null!=f)for(var g=0;g<f.length;g+=6)this.curveTo(f[g],f[g+1],f[g+2],f[g+3],f[g+4],f[g+5]);this.lastX=k;this.lastY=l}};a.prototype.rect=function(a,b,e,c){this.passThrough?this.originalRect.apply(this.canvas,\r\narguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(a,b,e,c,this.getStyle(!0,!0)))};a.prototype.ellipse=function(a,b,e,c){this.passThrough?this.originalEllipse.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(a+e/2,b+c/2,e,c,this.getStyle(!0,!0)))};a.prototype.roundrect=function(a,b,e,c,d,k){this.passThrough?this.originalRoundrect.apply(this.canvas,arguments):(this.begin(),this.moveTo(a+d,b),this.lineTo(a+e-d,b),this.quadTo(a+e,b,a+e,b+k),this.lineTo(a+\r\ne,b+c-k),this.quadTo(a+e,b+c,a+e-d,b+c),this.lineTo(a+d,b+c),this.quadTo(a,b+c,a,b+c-k),this.lineTo(a,b+k),this.quadTo(a,b,a+d,b))};a.prototype.drawPath=function(a){if(0<this.path.length){this.passThrough=!0;try{this.rc.path(this.path.join(" "),a)}catch(P){}this.passThrough=!1}else if(null!=this.nextShape){for(var b in a)this.nextShape.options[b]=a[b];null==a.stroke&&delete this.nextShape.options.stroke;a.filled||delete this.nextShape.options.fill;this.passThrough=!0;this.rc.draw(this.nextShape);\r\nthis.passThrough=!1}};a.prototype.stroke=function(){this.passThrough?this.originalStroke.apply(this.canvas,arguments):this.drawPath(this.getStyle(!0,!1))};a.prototype.fill=function(){this.passThrough?this.originalFill.apply(this.canvas,arguments):this.drawPath(this.getStyle(!1,!0))};a.prototype.fillAndStroke=function(){this.passThrough?this.originalFillAndStroke.apply(this.canvas,arguments):this.drawPath(this.getStyle(!0,!0))};a.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;\r\nthis.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo;this.canvas.close=this.originalClose;this.canvas.fill=this.originalFill;this.canvas.stroke=this.originalStroke;this.canvas.fillAndStroke=this.originalFillAndStroke;this.canvas.begin=this.originalBegin;this.canvas.end=this.originalEnd;this.canvas.rect=this.originalRect;this.canvas.ellipse=this.originalEllipse;\r\nthis.canvas.roundrect=this.originalRoundrect};mxShape.prototype.createRoughCanvas=function(b){return new a(b,Editor.createRoughCanvas(b),this)};var b=mxShape.prototype.createHandJiggle;mxShape.prototype.createHandJiggle=function(a){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0")?b.apply(this,arguments):"comic"==mxUtils.getValue(this.style,"sketchStyle","rough")?this.createComicCanvas(a):this.createRoughCanvas(a)};var e=mxShape.prototype.paint;\r\nmxShape.prototype.paint=function(b){var c=b.addTolerance,d=!0;null!=this.style&&(d="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(null!=b.handJiggle&&b.handJiggle.constructor==a&&!this.outline){b.save();var k=this.fill,l=this.stroke;this.stroke=this.fill=null;var f=this.configurePointerEvents,g=b.setStrokeColor;b.setStrokeColor=function(){};var n=b.setFillColor;b.setFillColor=function(){};d||null==k||(this.configurePointerEvents=function(){});b.handJiggle.passThrough=!0;\r\ne.apply(this,arguments);b.handJiggle.passThrough=!1;b.setFillColor=n;b.setStrokeColor=g;this.configurePointerEvents=f;this.stroke=l;this.fill=k;b.restore();d&&null!=k&&(b.addTolerance=function(){})}e.apply(this,arguments);b.addTolerance=c};var c=mxShape.prototype.paintGlassEffect;mxShape.prototype.paintGlassEffect=function(b,e,d,k,l,f){null!=b.handJiggle&&b.handJiggle.constructor==a?(b.handJiggle.passThrough=!0,c.apply(this,arguments),b.handJiggle.passThrough=!1):c.apply(this,arguments)}})();Editor.fastCompress=\r\nfunction(a){return null==a||0==a.length||"undefined"===typeof pako?a:Graph.arrayBufferToString(pako.deflateRaw(a))};Editor.fastDecompress=function(a){return null==a||0==a.length||"undefined"===typeof pako?a:pako.inflateRaw(Graph.stringToArrayBuffer(atob(a)),{to:"string"})};Editor.extractGraphModel=function(a,b,e){if(null!=a&&"undefined"!==typeof pako){var c=a.ownerDocument.getElementsByTagName("div"),d=[];if(null!=c&&0<c.length)for(var k=0;k<c.length;k++)if("mxgraph"==c[k].getAttribute("class")){d.push(c[k]);\r\nbreak}0<d.length&&(c=d[0].getAttribute("data-mxgraph"),null!=c?(d=JSON.parse(c),null!=d&&null!=d.xml&&(a=mxUtils.parseXml(d.xml),a=a.documentElement)):(d=d[0].getElementsByTagName("div"),0<d.length&&(c=mxUtils.getTextContent(d[0]),c=Graph.decompress(c,null,e),0<c.length&&(a=mxUtils.parseXml(c),a=a.documentElement))))}if(null!=a&&"svg"==a.nodeName)if(c=a.getAttribute("content"),null!=c&&"<"!=c.charAt(0)&&"%"!=c.charAt(0)&&(c=unescape(window.atob?atob(c):Base64.decode(cont,c))),null!=c&&"%"==c.charAt(0)&&\r\n(c=decodeURIComponent(c)),null!=c&&0<c.length)a=mxUtils.parseXml(c).documentElement;else throw{message:mxResources.get("notADiagramFile")};null==a||b||(d=null,"diagram"==a.nodeName?d=a:"mxfile"==a.nodeName&&(c=a.getElementsByTagName("diagram"),0<c.length&&(d=c[Math.max(0,Math.min(c.length-1,urlParams.page||0))])),null!=d&&(a=Editor.parseDiagramNode(d,e)));null==a||"mxGraphModel"==a.nodeName||b&&"mxfile"==a.nodeName||(a=null);return a};Editor.parseDiagramNode=function(a,b){var e=mxUtils.trim(mxUtils.getTextContent(a)),\r\nc=null;0<e.length?(e=Graph.decompress(e,null,b),null!=e&&0<e.length&&(c=mxUtils.parseXml(e).documentElement)):(e=mxUtils.getChildNodes(a),0<e.length&&(c=mxUtils.createXmlDocument(),c.appendChild(c.importNode(e[0],!0)),c=c.documentElement));return c};Editor.getDiagramNodeXml=function(a){var b=mxUtils.getTextContent(a),e=null;0<b.length?e=Graph.decompress(b):null!=a.firstChild&&(e=mxUtils.getXml(a.firstChild));return e};Editor.extractGraphModelFromPdf=function(a){a=a.substring(a.indexOf(",")+1);a=window.atob&&\r\n!mxClient.IS_SF?atob(a):Base64.decode(a,!0);if("%PDF-1.7"==a.substring(0,8)){var b=a.indexOf("EmbeddedFile");if(-1<b){var e=a.indexOf("stream",b)+9;if(0<a.substring(b,e).indexOf("application#2Fvnd.jgraph.mxfile"))return b=a.indexOf("endstream",e-1),pako.inflateRaw(Graph.stringToArrayBuffer(a.substring(e,b)),{to:"string"})}return null}for(var e=null,b="",c=0,d=0,k=[],l=null;d<a.length;){var f=a.charCodeAt(d),d=d+1;10!=f&&(b+=String.fromCharCode(f));f=="/Subject (%3Cmxfile".charCodeAt(c)?c++:c=0;if(19==\r\nc){var g=a.indexOf("%3C%2Fmxfile%3E)",d)+15,d=d-9;if(g>d){e=a.substring(d,g);break}}10==f&&("endobj"==b?l=null:"obj"==b.substring(b.length-3,b.length)||"xref"==b||"trailer"==b?(l=[],k[b.split(" ")[0]]=l):null!=l&&l.push(b),b="")}null==e&&(e=Editor.extractGraphModelFromXref(k));null!=e&&(e=decodeURIComponent(e.replace(/\\\\\\(/g,"(").replace(/\\\\\\)/g,")")));return e};Editor.extractGraphModelFromXref=function(a){var b=a.trailer,e=null;null!=b&&(b=/.* \\/Info (\\d+) (\\d+) R/g.exec(b.join("\\n")),null!=b&&0<\r\nb.length&&(b=a[b[1]],null!=b&&(b=/.* \\/Subject (\\d+) (\\d+) R/g.exec(b.join("\\n")),null!=b&&0<b.length&&(a=a[b[1]],null!=a&&(a=a.join("\\n"),e=a.substring(1,a.length-1))))));return e};Editor.extractGraphModelFromPng=function(a){var b=null;try{var e=a.substring(a.indexOf(",")+1),c=window.atob&&!mxClient.IS_SF?atob(e):Base64.decode(e,!0);EditorUi.parsePng(c,mxUtils.bind(this,function(a,e,d){a=c.substring(a+8,a+8+d);"zTXt"==e?(d=a.indexOf(String.fromCharCode(0)),"mxGraphModel"==a.substring(0,d)&&(a=pako.inflateRaw(Graph.stringToArrayBuffer(a.substring(d+\r\n2)),{to:"string"}).replace(/\\+/g," "),null!=a&&0<a.length&&(b=a))):"tEXt"==e&&(a=a.split(String.fromCharCode(0)),1<a.length&&("mxGraphModel"==a[0]||"mxfile"==a[0])&&(b=a[1]));if(null!=b||"IDAT"==e)return!0}))}catch(V){}null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));return b};Editor.extractParserError=function(a,b){var e=null,c=null!=a?a.getElementsByTagName("parsererror"):null;null!=c&&0<c.length&&(e=b||mxResources.get("invalidChars"),c=c[0].getElementsByTagName("div"),\r\n0<c.length&&(e=mxUtils.getTextContent(c[0])));return null!=e?mxUtils.trim(e):e};Editor.addRetryToError=function(a,b){if(null!=a){var e=null!=a.error?a.error:a;null==e.retry&&(e.retry=b)}};Editor.configure=function(a,b){if(null!=a){Editor.config=a;Editor.configVersion=a.version;Menus.prototype.defaultFonts=a.defaultFonts||Menus.prototype.defaultFonts;ColorDialog.prototype.presetColors=a.presetColors||ColorDialog.prototype.presetColors;ColorDialog.prototype.defaultColors=a.defaultColors||ColorDialog.prototype.defaultColors;\r\nStyleFormatPanel.prototype.defaultColorSchemes=a.defaultColorSchemes||StyleFormatPanel.prototype.defaultColorSchemes;Graph.prototype.defaultEdgeLength=a.defaultEdgeLength||Graph.prototype.defaultEdgeLength;DrawioFile.prototype.autosaveDelay=a.autosaveDelay||DrawioFile.prototype.autosaveDelay;null!=a.templateFile&&(EditorUi.templateFile=a.templateFile);null!=a.styles&&(Editor.styles=a.styles);null!=a.globalVars&&(Editor.globalVars=a.globalVars);null!=a.compressXml&&(Editor.compressXml=a.compressXml);\r\nnull!=a.simpleLabels&&(Editor.simpleLabels=a.simpleLabels);a.customFonts&&(Menus.prototype.defaultFonts=a.customFonts.concat(Menus.prototype.defaultFonts));a.customPresetColors&&(ColorDialog.prototype.presetColors=a.customPresetColors.concat(ColorDialog.prototype.presetColors));null!=a.customColorSchemes&&(StyleFormatPanel.prototype.defaultColorSchemes=a.customColorSchemes.concat(StyleFormatPanel.prototype.defaultColorSchemes));if(null!=a.css){var e=document.createElement("style");e.setAttribute("type",\r\n"text/css");e.appendChild(document.createTextNode(a.css));var c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(e,c)}null!=a.libraries&&(Sidebar.prototype.customEntries=a.libraries);null!=a.enabledLibraries&&(Sidebar.prototype.enabledLibraries=a.enabledLibraries);null!=a.defaultLibraries&&(Sidebar.prototype.defaultEntries=a.defaultLibraries);null!=a.defaultCustomLibraries&&(Editor.defaultCustomLibraries=a.defaultCustomLibraries);null!=a.enableCustomLibraries&&(Editor.enableCustomLibraries=\r\na.enableCustomLibraries);null!=a.defaultVertexStyle&&(Graph.prototype.defaultVertexStyle=a.defaultVertexStyle);null!=a.defaultEdgeStyle&&(Graph.prototype.defaultEdgeStyle=a.defaultEdgeStyle);null!=a.zoomFactor&&(e=parseFloat(a.zoomFactor),!isNaN(e)&&1<e&&(Graph.prototype.zoomFactor=e));null!=a.gridSteps&&(e=parseInt(a.gridSteps),!isNaN(e)&&0<e&&(mxGraphView.prototype.gridSteps=e));a.emptyDiagramXml&&(EditorUi.prototype.emptyDiagramXml=a.emptyDiagramXml);a.thumbWidth&&(Sidebar.prototype.thumbWidth=\r\na.thumbWidth);a.thumbHeight&&(Sidebar.prototype.thumbHeight=a.thumbHeight);a.emptyLibraryXml&&(EditorUi.prototype.emptyLibraryXml=a.emptyLibraryXml);a.sidebarWidth&&(EditorUi.prototype.hsplitPosition=a.sidebarWidth);a.fontCss&&Editor.configureFontCss(a.fontCss);null!=a.autosaveDelay&&(e=parseInt(a.autosaveDelay),!isNaN(e)&&0<e?DrawioFile.prototype.autosaveDelay=e:EditorUi.debug("Invalid autosaveDelay: "+a.autosaveDelay));if(null!=a.plugins&&!b)for(App.initPluginCallback(),e=0;e<a.plugins.length;e++)mxscript(a.plugins[e]);\r\nnull!=a.maxImageBytes&&(EditorUi.prototype.maxImageBytes=a.maxImageBytes);null!=a.maxImageSize&&(EditorUi.prototype.maxImageSize=a.maxImageSize)}};Editor.configureFontCss=function(a){if(null!=a){Editor.prototype.fontCss=a;var b=document.getElementsByTagName("script")[0];if(null!=b&&null!=b.parentNode){var e=document.createElement("style");e.setAttribute("type","text/css");e.appendChild(document.createTextNode(a));b.parentNode.insertBefore(e,b);a=a.split("url(");for(e=1;e<a.length;e++){var c=a[e].indexOf(")"),\r\nc=Editor.trimCssUrl(a[e].substring(0,c)),d=document.createElement("link");d.setAttribute("rel","preload");d.setAttribute("href",c);d.setAttribute("as","font");d.setAttribute("crossorigin","");b.parentNode.insertBefore(d,b)}}}};Editor.trimCssUrl=function(a){return a.replace(RegExp("^[\\\\s\\"\']+","g"),"").replace(RegExp("[\\\\s\\"\']+$","g"),"")};Editor.GOOGLE_FONTS="https://fonts.googleapis.com/css?family=";Editor.GUID_ALPHABET="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_";Editor.GUID_LENGTH=\r\n20;Editor.guid=function(a){a=null!=a?a:Editor.GUID_LENGTH;for(var b=[],e=0;e<a;e++)b.push(Editor.GUID_ALPHABET.charAt(Math.floor(Math.random()*Editor.GUID_ALPHABET.length)));return b.join("")};Editor.prototype.timeout=25E3;Editor.prototype.useForeignObjectForMath=!0;Editor.prototype.editButtonLink=null!=urlParams.edit?decodeURIComponent(urlParams.edit):null;Editor.prototype.crossOriginImages=!mxClient.IS_IE;var a=Editor.prototype.setGraphXml;Editor.prototype.setGraphXml=function(b){b=null!=b&&"mxlibrary"!=\r\nb.nodeName?this.extractGraphModel(b):null;if(null!=b){var e=b.getElementsByTagName("parsererror");if(null!=e&&0<e.length){var e=e[0],c=e.getElementsByTagName("div");null!=c&&0<c.length&&(e=c[0]);throw{message:mxUtils.getTextContent(e)};}if("mxGraphModel"==b.nodeName){e=b.getAttribute("style")||"default-style2";if("1"==urlParams.embed||null!=e&&""!=e)e!=this.graph.currentStyle&&(c=null!=this.graph.themes?this.graph.themes[e]:mxUtils.load(STYLE_PATH+"/"+e+".xml").getDocumentElement(),null!=c&&(d=new mxCodec(c.ownerDocument),\r\nd.decode(c,this.graph.getStylesheet())));else if(c=null!=this.graph.themes?this.graph.themes["default-old"]:mxUtils.load(STYLE_PATH+"/default-old.xml").getDocumentElement(),null!=c){var d=new mxCodec(c.ownerDocument);d.decode(c,this.graph.getStylesheet())}this.graph.currentStyle=e;this.graph.mathEnabled="1"==urlParams.math||"1"==b.getAttribute("math");e=b.getAttribute("backgroundImage");null!=e?(e=JSON.parse(e),this.graph.setBackgroundImage(new mxImage(e.src,e.width,e.height))):this.graph.setBackgroundImage(null);\r\nmxClient.NO_FO=this.graph.mathEnabled&&!this.useForeignObjectForMath?!0:this.originalNoForeignObject;this.graph.useCssTransforms=!mxClient.NO_FO&&this.isChromelessView()&&this.graph.isCssTransformsSupported();this.graph.updateCssTransform();this.graph.setShadowVisible("1"==b.getAttribute("shadow"),!1);if(e=b.getAttribute("extFonts"))try{for(e=e.split("|").map(function(a){a=a.split("^");return{name:a[0],url:a[1]}}),c=0;c<e.length;c++)this.graph.addExtFont(e[c].name,e[c].url)}catch(V){console.log("ExtFonts format error: "+\r\nV.message)}else null!=this.graph.extFonts&&0<this.graph.extFonts.length&&(this.graph.extFonts=[])}a.apply(this,arguments)}else throw{message:mxResources.get("notADiagramFile")||"Invalid data",toString:function(){return this.message}};};var d=Editor.prototype.getGraphXml;Editor.prototype.getGraphXml=function(a){a=null!=a?a:!0;var b=d.apply(this,arguments);null!=this.graph.currentStyle&&"default-style2"!=this.graph.currentStyle&&b.setAttribute("style",this.graph.currentStyle);null!=this.graph.backgroundImage&&\r\nb.setAttribute("backgroundImage",JSON.stringify(this.graph.backgroundImage));b.setAttribute("math",this.graph.mathEnabled?"1":"0");b.setAttribute("shadow",this.graph.shadowVisible?"1":"0");if(null!=this.graph.extFonts&&0<this.graph.extFonts.length){var e=this.graph.extFonts.map(function(a){return a.name+"^"+a.url});b.setAttribute("extFonts",e.join("|"))}return b};Editor.prototype.isDataSvg=function(a){try{var b=mxUtils.parseXml(a).documentElement.getAttribute("content");if(null!=b&&(null!=b&&"<"!=\r\nb.charAt(0)&&"%"!=b.charAt(0)&&(b=unescape(window.atob?atob(b):Base64.decode(cont,b))),null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b)),null!=b&&0<b.length)){var e=mxUtils.parseXml(b).documentElement;return"mxfile"==e.nodeName||"mxGraphModel"==e.nodeName}}catch(L){}return!1};Editor.prototype.extractGraphModel=function(a,b,e){return Editor.extractGraphModel.apply(this,arguments)};var c=Editor.prototype.resetGraph;Editor.prototype.resetGraph=function(){this.graph.mathEnabled="1"==urlParams.math;\r\nthis.graph.view.x0=null;this.graph.view.y0=null;mxClient.NO_FO=this.graph.mathEnabled&&!this.useForeignObjectForMath?!0:this.originalNoForeignObject;this.graph.useCssTransforms=!mxClient.NO_FO&&this.isChromelessView()&&this.graph.isCssTransformsSupported();this.graph.updateCssTransform();c.apply(this,arguments)};var b=Editor.prototype.updateGraphComponents;Editor.prototype.updateGraphComponents=function(){b.apply(this,arguments);mxClient.NO_FO=this.graph.mathEnabled&&!this.useForeignObjectForMath&&\r\nnull!=Editor.MathJaxRender?!0:this.originalNoForeignObject;this.graph.useCssTransforms=!mxClient.NO_FO&&this.isChromelessView()&&this.graph.isCssTransformsSupported();this.graph.updateCssTransform()};Editor.mathJaxWebkitCss="div.MathJax_SVG_Display { position: static; }\\nspan.MathJax_SVG { position: static !important; }";Editor.initMath=function(a,b){if("undefined"===typeof window.MathJax){a=(null!=a?a:DRAW_MATH_URL+"/MathJax.js")+"?config=TeX-MML-AM_"+("html"==urlParams["math-output"]?"HTMLorMML":\r\n"SVG")+"-full";Editor.mathJaxQueue=[];Editor.doMathJaxRender=function(a){window.setTimeout(function(){"hidden"!=a.style.visibility&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])},0)};var e=null!=urlParams["math-font"]?decodeURIComponent(urlParams["math-font"]):"TeX";b=null!=b?b:{"HTML-CSS":{availableFonts:[e],imageFont:null},SVG:{font:e,useFontCache:!1},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",\r\nAuthorInit:function(){MathJax.Hub.Config(b);MathJax.Hub.Register.StartupHook("Begin",function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};var c=Editor.prototype.init;Editor.prototype.init=function(){c.apply(this,arguments);this.graph.addListener(mxEvent.SIZE,\r\nmxUtils.bind(this,function(a,b){null!=this.graph.container&&this.graph.mathEnabled&&!this.graph.blockMathRender&&Editor.MathJaxRender(this.graph.container)}))};e=document.getElementsByTagName("script");if(null!=e&&0<e.length){var d=document.createElement("script");d.setAttribute("type","text/javascript");d.setAttribute("src",a);e[0].parentNode.appendChild(d)}try{if(mxClient.IS_GC||mxClient.IS_SF){var k=document.createElement("style");k.type="text/css";k.innerHTML=Editor.mathJaxWebkitCss;document.getElementsByTagName("head")[0].appendChild(k)}}catch(P){}}};\r\nEditor.prototype.csvToArray=function(a){if(!/^\\s*(?:\'[^\'\\\\]*(?:\\\\[\\S\\s][^\'\\\\]*)*\'|"[^"\\\\]*(?:\\\\[\\S\\s][^"\\\\]*)*"|[^,\'"\\s\\\\]*(?:\\s+[^,\'"\\s\\\\]+)*)\\s*(?:,\\s*(?:\'[^\'\\\\]*(?:\\\\[\\S\\s][^\'\\\\]*)*\'|"[^"\\\\]*(?:\\\\[\\S\\s][^"\\\\]*)*"|[^,\'"\\s\\\\]*(?:\\s+[^,\'"\\s\\\\]+)*)\\s*)*$/.test(a))return null;var b=[];a.replace(/(?!\\s*$)\\s*(?:\'([^\'\\\\]*(?:\\\\[\\S\\s][^\'\\\\]*)*)\'|"([^"\\\\]*(?:\\\\[\\S\\s][^"\\\\]*)*)"|([^,\'"\\s\\\\]*(?:\\s+[^,\'"\\s\\\\]+)*))\\s*(?:,|$)/g,function(a,e,c,d){void 0!==e?b.push(e.replace(/\\\\\'/g,"\'")):void 0!==c?b.push(c.replace(/\\\\"/g,\r\n\'"\')):void 0!==d&&b.push(d);return""});/,\\s*$/.test(a)&&b.push("");return b};Editor.prototype.isCorsEnabledForUrl=function(a){if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)return!0;null!=urlParams.cors&&null==this.corsRegExp&&(this.corsRegExp=new RegExp(decodeURIComponent(urlParams.cors)));return null!=this.corsRegExp&&this.corsRegExp.test(a)||"https://raw.githubusercontent.com/"===a.substring(0,34)};Editor.prototype.createImageUrlConverter=function(){var a=new mxUrlConverter;a.updateBaseUrl();\r\nvar b=a.convert,e=this;a.convert=function(c){if(null!=c){var d="http://"==c.substring(0,7)||"https://"==c.substring(0,8);d&&!navigator.onLine?c=Editor.svgBrokenImage.src:!d||c.substring(0,a.baseUrl.length)==a.baseUrl||e.crossOriginImages&&e.isCorsEnabledForUrl(c)?"chrome-extension://"==c.substring(0,19)||mxClient.IS_CHROMEAPP||(c=b.apply(this,arguments)):c=PROXY_URL+"?url="+encodeURIComponent(c)}return c};return a};Editor.createSvgDataUri=function(a){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(a)))};\r\nEditor.prototype.convertImageToDataUri=function(a,b){try{var e=!0,c=window.setTimeout(mxUtils.bind(this,function(){e=!1;b(Editor.svgBrokenImage.src)}),this.timeout);if(/(\\.svg)$/i.test(a))mxUtils.get(a,mxUtils.bind(this,function(a){window.clearTimeout(c);e&&b(Editor.createSvgDataUri(a.getText()))}),function(){window.clearTimeout(c);e&&b(Editor.svgBrokenImage.src)});else{var d=new Image;this.crossOriginImages&&(d.crossOrigin="anonymous");d.onload=function(){window.clearTimeout(c);if(e)try{var a=document.createElement("canvas"),\r\nk=a.getContext("2d");a.height=d.height;a.width=d.width;k.drawImage(d,0,0);b(a.toDataURL())}catch(W){b(Editor.svgBrokenImage.src)}};d.onerror=function(){window.clearTimeout(c);e&&b(Editor.svgBrokenImage.src)};d.src=a}}catch(U){b(Editor.svgBrokenImage.src)}};Editor.prototype.convertImages=function(a,b,e,c){null==c&&(c=this.createImageUrlConverter());var d=0,k=e||{};e=mxUtils.bind(this,function(e,l){for(var f=a.getElementsByTagName(e),g=0;g<f.length;g++)mxUtils.bind(this,function(e){try{if(null!=e){var f=\r\nc.convert(e.getAttribute(l));if(null!=f&&"data:"!=f.substring(0,5)){var g=k[f];null==g?(d++,this.convertImageToDataUri(f,function(c){null!=c&&(k[f]=c,e.setAttribute(l,c));d--;0==d&&b(a)})):e.setAttribute(l,g)}else null!=f&&e.setAttribute(l,f)}}catch(ga){}})(f[g])});e("image","xlink:href");e("img","src");0==d&&b(a)};Editor.base64Encode=function(a){for(var b="",e=0,c=a.length,d,k,l;e<c;){d=a.charCodeAt(e++)&255;if(e==c){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(d>>\r\n2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((d&3)<<4);b+="==";break}k=a.charCodeAt(e++);if(e==c){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(d>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((d&3)<<4|(k&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((k&15)<<2);b+="=";break}l=a.charCodeAt(e++);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(d>>\r\n2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((d&3)<<4|(k&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((k&15)<<2|(l&192)>>6);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(l&63)}return b};Editor.prototype.loadUrl=function(a,b,e,c,d,k,l,f){try{var g=!l&&(c||/(\\.png)($|\\?)/i.test(a)||/(\\.jpe?g)($|\\?)/i.test(a)||/(\\.gif)($|\\?)/i.test(a)||/(\\.pdf)($|\\?)/i.test(a));d=null!=d?d:!0;var n=mxUtils.bind(this,\r\nfunction(){mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=b){var c=a.getText();if(g){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var c=Array(a.length),d=0;d<a.length;d++)c[d]=String.fromCharCode(a[d]);c=c.join("")}k=null!=k?k:"data:image/png;base64,";c=k+Editor.base64Encode(c)}b(c)}}else null!=e&&(0==a.getStatus()?e({message:mxResources.get("accessDenied")},\r\na):e({message:mxResources.get("error")+" "+a.getStatus()},a))}),function(a){null!=e&&e({message:mxResources.get("error")+" "+a.getStatus()})},g,this.timeout,function(){d&&null!=e&&e({code:App.ERROR_TIMEOUT,retry:n})},f)});n()}catch(X){null!=e&&e(X)}};Editor.prototype.absoluteCssFonts=function(a){var b=null;if(null!=a){var e=a.split("url(");if(0<e.length){b=[e[0]];a=window.location.pathname;var c=null!=a?a.lastIndexOf("/"):-1;0<=c&&(a=a.substring(0,c+1));var c=document.getElementsByTagName("base"),\r\nd=null;null!=c&&0<c.length&&(d=c[0].getAttribute("href"));for(var k=1;k<e.length;k++)if(c=e[k].indexOf(")"),0<c){var l=Editor.trimCssUrl(e[k].substring(0,c));this.graph.isRelativeUrl(l)&&(l=null!=d?d+l:window.location.protocol+"//"+window.location.hostname+("/"==l.charAt(0)?"":a)+l);b.push(\'url("\'+l+\'"\'+e[k].substring(c))}else b.push(e[k])}else b=[a]}return null!=b?b.join(""):null};Editor.prototype.embedCssFonts=function(a,b){var e=a.split("url("),c=0;null==this.cachedFonts&&(this.cachedFonts={});\r\nvar d=mxUtils.bind(this,function(){if(0==c){for(var a=[e[0]],d=1;d<e.length;d++){var k=e[d].indexOf(")");a.push(\'url("\');a.push(this.cachedFonts[Editor.trimCssUrl(e[d].substring(0,k))]);a.push(\'"\'+e[d].substring(k))}b(a.join(""))}});if(0<e.length){for(var k=1;k<e.length;k++){var l=e[k].indexOf(")"),f=null,g=e[k].indexOf("format(",l);0<g&&(f=Editor.trimCssUrl(e[k].substring(g+7,e[k].indexOf(")",g))));mxUtils.bind(this,function(a){if(null==this.cachedFonts[a]){this.cachedFonts[a]=a;c++;var b="application/x-font-ttf";\r\nif("svg"==f||/(\\.svg)($|\\?)/i.test(a))b="image/svg+xml";else if("otf"==f||"embedded-opentype"==f||/(\\.otf)($|\\?)/i.test(a))b="application/x-font-opentype";else if("woff"==f||/(\\.woff)($|\\?)/i.test(a))b="application/font-woff";else if("woff2"==f||/(\\.woff2)($|\\?)/i.test(a))b="application/font-woff2";else if("eot"==f||/(\\.eot)($|\\?)/i.test(a))b="application/vnd.ms-fontobject";else if("sfnt"==f||/(\\.sfnt)($|\\?)/i.test(a))b="application/font-sfnt";var e=a;/^https?:\\/\\//.test(e)&&!this.isCorsEnabledForUrl(e)&&\r\n(e=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(e,mxUtils.bind(this,function(b){this.cachedFonts[a]=b;c--;d()}),mxUtils.bind(this,function(a){c--;d()}),!0,null,"data:"+b+";charset=utf-8;base64,")}})(Editor.trimCssUrl(e[k].substring(0,l)),f)}d()}else b(a)};Editor.prototype.loadFonts=function(a){null!=this.fontCss&&null==this.resolvedFontCss?this.embedCssFonts(this.fontCss,mxUtils.bind(this,function(b){this.resolvedFontCss=b;a()})):a()};Editor.prototype.embedExtFonts=function(a){var b=this.graph.getCustomFonts();\r\nif(0<b.length){var e="",c=0;null==this.cachedGoogleFonts&&(this.cachedGoogleFonts={});for(var d=mxUtils.bind(this,function(){0==c&&this.embedCssFonts(e,a)}),k=0;k<b.length;k++)mxUtils.bind(this,function(a,b){Graph.isCssFontUrl(b)?null==this.cachedGoogleFonts[b]?(c++,this.loadUrl(b,mxUtils.bind(this,function(a){this.cachedGoogleFonts[b]=a;e+=a;c--;d()}),mxUtils.bind(this,function(a){c--;e+="@import url("+b+");";d()}))):e+=this.cachedGoogleFonts[b]:e+=\'@font-face {font-family: "\'+a+\'";src: url("\'+b+\r\n\'")}\'})(b[k].name,b[k].url);d()}else a()};Editor.prototype.addMathCss=function(a){a=a.getElementsByTagName("defs");if(null!=a&&0<a.length)for(var b=document.getElementsByTagName("style"),e=0;e<b.length;e++)0<mxUtils.getTextContent(b[e]).indexOf("MathJax")&&a[0].appendChild(b[e].cloneNode(!0))};Editor.prototype.addFontCss=function(a,b){b=null!=b?b:this.absoluteCssFonts(this.fontCss);if(null!=b){var e=a.getElementsByTagName("defs"),c=a.ownerDocument;0==e.length?(e=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,\r\n"defs"):c.createElement("defs"),null!=a.firstChild?a.insertBefore(e,a.firstChild):a.appendChild(e)):e=e[0];c=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"style"):c.createElement("style");c.setAttribute("type","text/css");mxUtils.setTextContent(c,b);e.appendChild(c)}};Editor.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP||this.useCanvasForExport};Editor.prototype.getMaxCanvasScale=function(a,b,e){var c=mxClient.IS_FF?8192:16384;return Math.min(e,Math.min(c/a,c/\r\nb))};Editor.prototype.exportToCanvas=function(a,b,e,c,d,k,l,f,g,n,p,m,q,x,u,t,A,B){try{k=null!=k?k:!0;l=null!=l?l:!0;m=null!=m?m:this.graph;q=null!=q?q:0;var z=g?null:m.background;z==mxConstants.NONE&&(z=null);null==z&&(z=c);null==z&&0==g&&(z=t?this.graph.defaultPageBackgroundColor:"#ffffff");this.convertImages(m.getSvg(null,null,q,x,null,l,null,null,null,n,null,t,A,B),mxUtils.bind(this,function(e){try{var c=new Image;c.onload=mxUtils.bind(this,function(){try{var l=function(){mxClient.IS_SF?window.setTimeout(function(){x.drawImage(c,\r\n0,0);a(g,e)},0):(x.drawImage(c,0,0),a(g,e))},g=document.createElement("canvas"),n=parseInt(e.getAttribute("width")),p=parseInt(e.getAttribute("height"));f=null!=f?f:1;null!=b&&(f=k?Math.min(1,Math.min(3*b/(4*p),b/n)):b/n);f=this.getMaxCanvasScale(n,p,f);n=Math.ceil(f*n);p=Math.ceil(f*p);g.setAttribute("width",n);g.setAttribute("height",p);var x=g.getContext("2d");null!=z&&(x.beginPath(),x.rect(0,0,n,p),x.fillStyle=z,x.fill());1!=f&&x.scale(f,f);if(u){var t=m.view,A=t.scale;t.scale=1;var B=btoa(unescape(encodeURIComponent(t.createSvgGrid(t.gridColor))));\r\nt.scale=A;var B="data:image/svg+xml;base64,"+B,v=m.gridSize*t.gridSteps*f,I=m.getGraphBounds(),y=t.translate.x*A,C=t.translate.y*A,H=y+(I.x-y)/A-q,E=C+(I.y-C)/A-q,N=new Image;N.onload=function(){try{for(var a=-Math.round(v-mxUtils.mod((y-H)*f,v)),b=-Math.round(v-mxUtils.mod((C-E)*f,v));a<n;a+=v)for(var e=b;e<p;e+=v)x.drawImage(N,a/f,e/f);l()}catch(sa){null!=d&&d(sa)}};N.onerror=function(a){null!=d&&d(a)};N.src=B}else l()}catch(va){null!=d&&d(va)}});c.onerror=function(a){null!=d&&d(a)};n&&this.graph.addSvgShadow(e);\r\nthis.graph.mathEnabled&&this.addMathCss(e);var l=mxUtils.bind(this,function(){try{null!=this.resolvedFontCss&&this.addFontCss(e,this.resolvedFontCss),c.src=Editor.createSvgDataUri(mxUtils.getXml(e))}catch(S){null!=d&&d(S)}});this.embedExtFonts(mxUtils.bind(this,function(a){try{null!=a&&this.addFontCss(e,a),this.loadFonts(l)}catch(aa){null!=d&&d(aa)}}))}catch(S){null!=d&&d(S)}}),e,p)}catch(fa){null!=d&&d(fa)}};Editor.crcTable=[];for(var g=0;256>g;g++)for(var f=g,m=0;8>m;m++)f=1==(f&1)?3988292384^f>>>\r\n1:f>>>1,Editor.crcTable[g]=f;Editor.updateCRC=function(a,b,e,c){for(var d=0;d<c;d++)a=Editor.crcTable[(a^b.charCodeAt(e+d))&255]^a>>>8;return a};Editor.crc32=function(a){for(var b=-1,e=0;e<a.length;e++)b=b>>>8^Editor.crcTable[(b^a.charCodeAt(e))&255];return(b^-1)>>>0};Editor.writeGraphModelToPng=function(a,b,e,c,d){function k(a,b){var e=g;g+=b;return a.substring(e,g)}function l(a){a=k(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}function f(a){return String.fromCharCode(a>>\r\n24&255,a>>16&255,a>>8&255,a&255)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a,!0);var g=0;if(k(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=d&&d();else if(k(a,4),"IHDR"!=k(a,4))null!=d&&d();else{k(a,17);d=a.substring(0,g);do{var n=l(a);if("IDAT"==k(a,4)){d=a.substring(0,g-8);"pHYs"==b&&"dpi"==e?(e=Math.round(c/.0254),e=f(e)+f(e)+String.fromCharCode(1)):e=e+String.fromCharCode(0)+("zTXt"==b?String.fromCharCode(0):"")+c;c=4294967295;c=Editor.updateCRC(c,\r\nb,0,4);c=Editor.updateCRC(c,e,0,e.length);d+=f(e.length)+b+e+f(c^4294967295);d+=a.substring(g-8,a.length);break}d+=a.substring(g-8,g-4+n);k(a,n);k(a,4)}while(n);return"data:image/png;base64,"+(window.btoa?btoa(d):Base64.encode(d,!0))}};if(window.ColorDialog){FilenameDialog.filenameHelpLink="https://www.diagrams.net/doc/faq/save-file-formats";var e=ColorDialog.addRecentColor;ColorDialog.addRecentColor=function(a,b){e.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()};\r\nvar k=ColorDialog.resetRecentColors;ColorDialog.resetRecentColors=function(){k.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()}}window.EditDataDialog&&(EditDataDialog.getDisplayIdForCell=function(a,b){var e=null;null!=a.editor.graph.getModel().getParent(b)?e=b.getId():null!=a.currentPage&&(e=a.currentPage.getId());return e});if(null!=window.StyleFormatPanel){var l=Format.prototype.init;Format.prototype.init=function(){l.apply(this,arguments);this.editorUi.editor.addListener("fileLoaded",\r\nthis.update)};var n=Format.prototype.refresh;Format.prototype.refresh=function(){null!=this.editorUi.getCurrentFile()||"1"==urlParams.embed||this.editorUi.editor.chromeless?n.apply(this,arguments):this.clear()};DiagramFormatPanel.prototype.isShadowOptionVisible=function(){var a=this.editorUi.getCurrentFile();return"1"==urlParams.embed||null!=a&&a.isEditable()};DiagramFormatPanel.prototype.isMathOptionVisible=function(a){return!1};var p=DiagramFormatPanel.prototype.addView;DiagramFormatPanel.prototype.addView=\r\nfunction(a){a=p.apply(this,arguments);this.editorUi.getCurrentFile();if(mxClient.IS_SVG&&this.isShadowOptionVisible()){var b=this.editorUi,e=b.editor.graph,c=this.createOption(mxResources.get("shadow"),function(){return e.shadowVisible},function(a){var c=new ChangePageSetup(b);c.ignoreColor=!0;c.ignoreImage=!0;c.shadowVisible=a;e.model.execute(c)},{install:function(a){this.listener=function(){a(e.shadowVisible)};b.addListener("shadowVisibleChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});\r\nEditor.shadowOptionEnabled||(c.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(c,60));a.appendChild(c)}return a};var q=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(a){a=q.apply(this,arguments);var b=this.editorUi,e=b.editor.graph;if(e.isEnabled()){var c=b.getCurrentFile();if(null!=c&&c.isAutosaveOptional()){var d=this.createOption(mxResources.get("autosave"),function(){return b.editor.autosave},function(a){b.editor.setAutosave(a);\r\nb.editor.autosave&&c.isModified()&&c.fileChanged()},{install:function(a){this.listener=function(){a(b.editor.autosave)};b.editor.addListener("autosaveChanged",this.listener)},destroy:function(){b.editor.removeListener(this.listener)}});a.appendChild(d)}}if(this.isMathOptionVisible()&&e.isEnabled()&&"undefined"!==typeof MathJax){d=this.createOption(mxResources.get("mathematicalTypesetting"),function(){return e.mathEnabled},function(a){b.actions.get("mathematicalTypesetting").funct()},{install:function(a){this.listener=\r\nfunction(){a(e.mathEnabled)};b.addListener("mathEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});d.style.paddingTop="5px";a.appendChild(d);var k=b.menus.createHelpLink("https://www.diagrams.net/doc/faq/math-typesetting");k.style.position="relative";k.style.marginLeft="6px";k.style.top="2px";d.appendChild(k)}return a};mxCellRenderer.prototype.defaultVertexShape.prototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE},\r\n{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=\r\n[{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",\r\ntype:"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",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE},{name:"size",dispName:"Slope Angle",\r\ntype:"float",min:0,max:1,defVal:.25}];mxCellRenderer.defaultShapes.triangle.prototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE}];mxCellRenderer.defaultShapes.document.prototype.customProperties=[{name:"size",dispName:"Size",type:"float",defVal:.3,min:0,max:1}];mxCellRenderer.defaultShapes.internalStorage.prototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE},{name:"dx",dispName:"Left Line",\r\ntype:"float",min:0,defVal:20},{name:"dy",dispName:"Top Line",type:"float",min:0,defVal:20}];mxCellRenderer.defaultShapes.cube.prototype.customProperties=[{name:"size",dispName:"Size",type:"float",min:0,defVal:20},{name:"darkOpacity",dispName:"Dark Opacity",type:"float",min:-1,max:1,defVal:0},{name:"darkOpacity2",dispName:"Dark Opacity 2",type:"float",min:-1,max:1,defVal:0}];mxCellRenderer.defaultShapes.step.prototype.customProperties=[{name:"size",dispName:"Notch Size",type:"float",min:0,defVal:20},\r\n{name:"fixedSize",dispName:"Fixed Size",type:"bool",defVal:!0}];mxCellRenderer.defaultShapes.trapezoid.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.tape.prototype.customProperties=[{name:"size",dispName:"Size",type:"float",min:0,max:1,defVal:.4}];mxCellRenderer.defaultShapes.note.prototype.customProperties=[{name:"size",dispName:"Fold Size",\r\ntype:"float",min:0,defVal:30},{name:"darkOpacity",dispName:"Dark Opacity",type:"float",min:-1,max:1,defVal:0}];mxCellRenderer.defaultShapes.card.prototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE},{name:"size",dispName:"Cutoff Size",type:"float",min:0,defVal:30}];mxCellRenderer.defaultShapes.callout.prototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE},{name:"base",dispName:"Callout Width",\r\ntype:"float",min:0,defVal:20},{name:"size",dispName:"Callout Length",type:"float",min:0,defVal:30},{name:"position",dispName:"Callout Position",type:"float",min:0,max:1,defVal:.5},{name:"position2",dispName:"Callout Tip Position",type:"float",min:0,max:1,defVal:.5}];mxCellRenderer.defaultShapes.folder.prototype.customProperties=[{name:"tabWidth",dispName:"Tab Width",type:"float"},{name:"tabHeight",dispName:"Tab Height",type:"float"},{name:"tabPosition",dispName:"Tap Position",type:"enum",enumList:[{val:"left",\r\ndispName:"Left"},{val:"right",dispName:"Right"}]}];mxCellRenderer.defaultShapes.swimlane.prototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:15},{name:"startSize",dispName:"Header Size",type:"float"},{name:"horizontal",dispName:"Horizontal",type:"bool",defVal:!0},{name:"separatorColor",dispName:"Separator Color",type:"color",defVal:null}];mxCellRenderer.defaultShapes.table.prototype.customProperties=[{name:"rowLines",dispName:"Row Lines",type:"bool",defVal:!0},\r\n{name:"columnLines",dispName:"Column Lines",type:"bool",defVal:!0},{name:"fixedRows",dispName:"Fixed Rows",type:"bool",defVal:!1},{name:"resizeLast",dispName:"Resize Last Column",type:"bool",defVal:!1},{name:"resizeLastRow",dispName:"Resize Last Row",type:"bool",defVal:!1}].concat(mxCellRenderer.defaultShapes.swimlane.prototype.customProperties);mxCellRenderer.defaultShapes.doubleEllipse.prototype.customProperties=[{name:"margin",dispName:"Indent",type:"float",min:0,defVal:4}];mxCellRenderer.defaultShapes.ext.prototype.customProperties=\r\n[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:15},{name:"double",dispName:"Double",type:"bool",defVal:!1},{name:"margin",dispName:"Indent",type:"float",min:0,defVal:0}];mxCellRenderer.defaultShapes.curlyBracket.prototype.customProperties=[{name:"rounded",dispName:"Rounded",type:"bool",defVal:!0},{name:"size",dispName:"Size",type:"float",min:0,max:1,defVal:.5}];mxCellRenderer.defaultShapes.image.prototype.customProperties=[{name:"imageAspect",dispName:"Fixed Image Aspect",type:"bool",\r\ndefVal:!0}];mxCellRenderer.defaultShapes.label.prototype.customProperties=[{name:"imageAspect",dispName:"Fixed Image Aspect",type:"bool",defVal:!0},{name:"imageAlign",dispName:"Image Align",type:"enum",enumList:[{val:"left",dispName:"Left"},{val:"center",dispName:"Center"},{val:"right",dispName:"Right"}],defVal:"left"},{name:"imageVerticalAlign",dispName:"Image Vertical Align",type:"enum",enumList:[{val:"top",dispName:"Top"},{val:"middle",dispName:"Middle"},{val:"bottom",dispName:"Bottom"}],defVal:"middle"},\r\n{name:"imageWidth",dispName:"Image Width",type:"float",min:0,defVal:24},{name:"imageHeight",dispName:"Image Height",type:"float",min:0,defVal:24},{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:12},{name:"absoluteArcSize",dispName:"Abs. Arc Size",type:"bool",defVal:!1}];mxCellRenderer.defaultShapes.dataStorage.prototype.customProperties=[{name:"size",dispName:"Size",type:"float",min:0,max:1,defVal:.1}];mxCellRenderer.defaultShapes.manualInput.prototype.customProperties=[{name:"size",\r\ndispName:"Size",type:"float",min:0,defVal:30},{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:20}];mxCellRenderer.defaultShapes.loopLimit.prototype.customProperties=[{name:"size",dispName:"Size",type:"float",min:0,defVal:20},{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:20}];mxCellRenderer.defaultShapes.offPageConnector.prototype.customProperties=[{name:"size",dispName:"Size",type:"float",min:0,defVal:38},{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:20}];\r\nmxCellRenderer.defaultShapes.display.prototype.customProperties=[{name:"size",dispName:"Size",type:"float",min:0,max:1,defVal:.25}];mxCellRenderer.defaultShapes.singleArrow.prototype.customProperties=[{name:"arrowWidth",dispName:"Arrow Width",type:"float",min:0,max:1,defVal:.3},{name:"arrowSize",dispName:"Arrowhead Length",type:"float",min:0,max:1,defVal:.2}];mxCellRenderer.defaultShapes.doubleArrow.prototype.customProperties=[{name:"arrowWidth",dispName:"Arrow Width",type:"float",min:0,max:1,defVal:.3},\r\n{name:"arrowSize",dispName:"Arrowhead Length",type:"float",min:0,max:1,defVal:.2}];mxCellRenderer.defaultShapes.cross.prototype.customProperties=[{name:"size",dispName:"Size",type:"float",min:0,max:1,defVal:.2}];mxCellRenderer.defaultShapes.corner.prototype.customProperties=[{name:"dx",dispName:"Width1",type:"float",min:0,defVal:20},{name:"dy",dispName:"Width2",type:"float",min:0,defVal:20}];mxCellRenderer.defaultShapes.tee.prototype.customProperties=[{name:"dx",dispName:"Width1",type:"float",min:0,\r\ndefVal:20},{name:"dy",dispName:"Width2",type:"float",min:0,defVal:20}];mxCellRenderer.defaultShapes.umlLifeline.prototype.customProperties=[{name:"participant",dispName:"Participant",type:"enum",defVal:"none",enumList:[{val:"none",dispName:"Default"},{val:"umlActor",dispName:"Actor"},{val:"umlBoundary",dispName:"Boundary"},{val:"umlEntity",dispName:"Entity"},{val:"umlControl",dispName:"Control"}]},{name:"size",dispName:"Height",type:"float",defVal:40,min:0}];mxCellRenderer.defaultShapes.umlFrame.prototype.customProperties=\r\n[{name:"width",dispName:"Title Width",type:"float",defVal:60,min:0},{name:"height",dispName:"Title Height",type:"float",defVal:30,min:0}];StyleFormatPanel.prototype.defaultColorSchemes=[[{fill:"",stroke:""},{fill:"#f5f5f5",stroke:"#666666",font:"#333333"},{fill:"#dae8fc",stroke:"#6c8ebf"},{fill:"#d5e8d4",stroke:"#82b366"},{fill:"#ffe6cc",stroke:"#d79b00"},{fill:"#fff2cc",stroke:"#d6b656"},{fill:"#f8cecc",stroke:"#b85450"},{fill:"#e1d5e7",stroke:"#9673a6"}],[{fill:"",stroke:""},{fill:"#60a917",stroke:"#2D7600",\r\nfont:"#ffffff"},{fill:"#008a00",stroke:"#005700",font:"#ffffff"},{fill:"#1ba1e2",stroke:"#006EAF",font:"#ffffff"},{fill:"#0050ef",stroke:"#001DBC",font:"#ffffff"},{fill:"#6a00ff",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"},\r\n{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",\r\ngradient:"#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",\r\nstroke:"#36393d"},{fill:"#cdeb8b",stroke:"#36393d"},{fill:"#ffcccc",stroke:"#36393d"}]];StyleFormatPanel.prototype.customColorSchemes=null;StyleFormatPanel.prototype.findCommonProperties=function(a,b,e){if(null!=b){var c=function(a){if(null!=a)if(e)for(var c=0;c<a.length;c++)b[a[c].name]=a[c];else for(var d in b){for(var k=!1,c=0;c<a.length;c++)if(a[c].name==d&&a[c].type==b[d].type){k=!0;break}k||delete b[d]}},d=this.editorUi.editor.graph.view.getState(a);null!=d&&null!=d.shape&&(d.shape.commonCustomPropAdded||\r\n(d.shape.commonCustomPropAdded=!0,d.shape.customProperties=d.shape.customProperties||[],d.cell.vertex?Array.prototype.push.apply(d.shape.customProperties,Editor.commonVertexProperties):Array.prototype.push.apply(d.shape.customProperties,Editor.commonEdgeProperties)),c(d.shape.customProperties));a=a.getAttribute("customProperties");if(null!=a)try{c(JSON.parse(a))}catch(U){}}};var u=StyleFormatPanel.prototype.init;StyleFormatPanel.prototype.init=function(){var a=this.format.getSelectionState();"image"!=\r\na.style.shape&&!a.containsLabel&&0<a.cells.length&&this.container.appendChild(this.addStyles(this.createPanel()));u.apply(this,arguments);if(Editor.enableCustomProperties){for(var b={},e=a.vertices,c=a.edges,d=0;d<e.length;d++)this.findCommonProperties(e[d],b,0==d);for(d=0;d<c.length;d++)this.findCommonProperties(c[d],b,0==e.length&&0==d);null!=Object.getOwnPropertyNames&&0<Object.getOwnPropertyNames(b).length&&this.container.appendChild(this.addProperties(this.createPanel(),b,a))}};var t=StyleFormatPanel.prototype.addStyleOps;\r\nStyleFormatPanel.prototype.addStyleOps=function(a){var b=this.format.getSelectionState(),e=mxUtils.button(mxResources.get("copyStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("copyStyle").funct()}));e.setAttribute("title",mxResources.get("copyStyle")+" ("+this.editorUi.actions.get("copyStyle").shortcut+")");e.style.marginBottom="2px";e.style.width="100px";e.style.marginRight="2px";a.appendChild(e);0<b.cells.length?(e=mxUtils.button(mxResources.get("pasteStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("pasteStyle").funct()})),\r\ne.setAttribute("title",mxResources.get("pasteStyle")+" ("+this.editorUi.actions.get("pasteStyle").shortcut+")"),e.style.marginBottom="2px",e.style.width="100px",a.appendChild(e)):e.style.width="202px";mxUtils.br(a);return t.apply(this,arguments)};EditorUi.prototype.propertiesCollapsed=!0;StyleFormatPanel.prototype.addProperties=function(a,b,e){function c(a,b,e,c){m.getModel().beginUpdate();try{var d=[],k=[];if(null!=e.index){for(var l=[],f=e.parentRow.nextSibling;f&&f.getAttribute("data-pName")==\r\na;)l.push(f.getAttribute("data-pValue")),f=f.nextSibling;e.index<l.length?null!=c?l.splice(c,1):l[e.index]=b:l.push(b);null!=e.size&&l.length>e.size&&(l=l.slice(0,e.size));b=l.join(",");null!=e.countProperty&&(m.setCellStyles(e.countProperty,l.length,m.getSelectionCells()),d.push(e.countProperty),k.push(l.length))}m.setCellStyles(a,b,m.getSelectionCells());d.push(a);k.push(b);if(null!=e.dependentProps)for(a=0;a<e.dependentProps.length;a++){var g=e.dependentPropsDefVal[a],n=e.dependentPropsVals[a];\r\nif(n.length>b)n=n.slice(0,b);else for(var q=n.length;q<b;q++)n.push(g);n=n.join(",");m.setCellStyles(e.dependentProps[a],n,m.getSelectionCells());d.push(e.dependentProps[a]);k.push(n)}if("function"==typeof e.onChange)e.onChange(m,b);p.editorUi.fireEvent(new mxEventObject("styleChanged","keys",d,"values",k,"cells",m.getSelectionCells()))}finally{m.getModel().endUpdate()}}function d(b,e,c){var d=mxUtils.getOffset(a,!0),k=mxUtils.getOffset(b,!0);e.style.position="absolute";e.style.left=k.x-d.x+"px";\r\ne.style.top=k.y-d.y+"px";e.style.width=b.offsetWidth+"px";e.style.height=b.offsetHeight-(c?4:0)+"px";e.style.zIndex=5}function k(a,b,e){var d=document.createElement("div");d.style.width="32px";d.style.height="4px";d.style.margin="2px";d.style.border="1px solid black";d.style.background=b&&"none"!=b?b:"url(\'"+Dialog.prototype.noColorImage+"\')";btn=mxUtils.button("",mxUtils.bind(p,function(k){this.editorUi.pickColor(b,function(b){d.style.background="none"==b?"url(\'"+Dialog.prototype.noColorImage+"\')":\r\nb;c(a,b,e)});mxEvent.consume(k)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColorBtn";btn.appendChild(d);return btn}function l(a,b,e,d,k,l,f){null!=b&&(b=b.split(","),q.push({name:a,values:b,type:e,defVal:d,countProperty:k,parentRow:l,isDeletable:!0,flipBkg:f}));btn=mxUtils.button("+",mxUtils.bind(p,function(b){for(var g=l,p=0;null!=g.nextSibling;)if(g.nextSibling.getAttribute("data-pName")==a)g=g.nextSibling,p++;else break;var m={type:e,parentRow:l,index:p,isDeletable:!0,defVal:d,\r\ncountProperty:k},p=n(a,"",m,0==p%2,f);c(a,d,m);g.parentNode.insertBefore(p,g.nextSibling);mxEvent.consume(b)}));btn.style.height="16px";btn.style.width="25px";btn.className="geColorBtn";return btn}function f(a,b,e,c,d,k,l){if(0<d){var f=Array(d);b=null!=b?b.split(","):[];for(var g=0;g<d;g++)f[g]=null!=b[g]?b[g]:null!=c?c:"";q.push({name:a,values:f,type:e,defVal:c,parentRow:k,flipBkg:l,size:d})}return document.createElement("div")}function g(a,b,e){var d=document.createElement("input");d.type="checkbox";\r\nd.checked="1"==b;mxEvent.addListener(d,"change",function(){c(a,d.checked?"1":"0",e)});return d}function n(b,e,n,m,q){var x=n.dispName,u=n.type,t=document.createElement("tr");t.className="gePropRow"+(q?"Dark":"")+(m?"Alt":"")+" gePropNonHeaderRow";t.setAttribute("data-pName",b);t.setAttribute("data-pValue",e);m=!1;null!=n.index&&(t.setAttribute("data-index",n.index),x=(null!=x?x:"")+"["+n.index+"]",m=!0);var A=document.createElement("td");A.className="gePropRowCell";A.innerHTML=mxUtils.htmlEntities(mxResources.get(x,\r\nnull,x));m&&(A.style.textAlign="right");t.appendChild(A);A=document.createElement("td");A.className="gePropRowCell";if("color"==u)A.appendChild(k(b,e,n));else if("bool"==u||"boolean"==u)A.appendChild(g(b,e,n));else if("enum"==u){var B=n.enumList;for(q=0;q<B.length;q++)if(x=B[q],x.val==e){A.innerHTML=mxUtils.htmlEntities(mxResources.get(x.dispName,null,x.dispName));break}mxEvent.addListener(A,"click",mxUtils.bind(p,function(){var k=document.createElement("select");d(A,k);for(var l=0;l<B.length;l++){var f=\r\nB[l],g=document.createElement("option");g.value=mxUtils.htmlEntities(f.val);g.innerHTML=mxUtils.htmlEntities(mxResources.get(f.dispName,null,f.dispName));k.appendChild(g)}k.value=e;a.appendChild(k);mxEvent.addListener(k,"change",function(){var a=mxUtils.htmlEntities(k.value);c(b,a,n)});k.focus();mxEvent.addListener(k,"blur",function(){a.removeChild(k)})}))}else"dynamicArr"==u?A.appendChild(l(b,e,n.subType,n.subDefVal,n.countProperty,t,q)):"staticArr"==u?A.appendChild(f(b,e,n.subType,n.subDefVal,n.size,\r\nt,q)):"readOnly"==u?(q=document.createElement("input"),q.setAttribute("readonly",""),q.value=e,q.style.width="96px",q.style.borderWidth="0px",A.appendChild(q)):(A.innerHTML=e,mxEvent.addListener(A,"click",mxUtils.bind(p,function(){function k(){var a=l.value,a=0==a.length&&"string"!=u?0:a;n.allowAuto&&(null!=a.trim&&"auto"==a.trim().toLowerCase()?(a="auto",u="string"):(a=parseFloat(a),a=isNaN(a)?0:a));null!=n.min&&a<n.min?a=n.min:null!=n.max&&a>n.max&&(a=n.max);a=mxUtils.htmlEntities(("int"==u?parseInt(a):\r\na)+"");c(b,a,n)}var l=document.createElement("input");d(A,l,!0);l.value=e;l.className="gePropEditor";"int"!=u&&"float"!=u||n.allowAuto||(l.type="number",l.step="int"==u?"1":"any",null!=n.min&&(l.min=parseFloat(n.min)),null!=n.max&&(l.max=parseFloat(n.max)));a.appendChild(l);mxEvent.addListener(l,"keypress",function(a){13==a.keyCode&&k()});l.focus();mxEvent.addListener(l,"blur",function(){k()})})));n.isDeletable&&(q=mxUtils.button("-",mxUtils.bind(p,function(a){c(b,"",n,n.index);mxEvent.consume(a)})),\r\nq.style.height="16px",q.style.width="25px",q.style["float"]="right",q.className="geColorBtn",A.appendChild(q));t.appendChild(A);return t}var p=this,m=this.editorUi.editor.graph,q=[];a.style.position="relative";a.style.padding="0";var x=document.createElement("table");x.className="geProperties";x.style.whiteSpace="nowrap";x.style.width="100%";var u=document.createElement("tr");u.className="gePropHeader";var t=document.createElement("th");t.className="gePropHeaderCell";var A=document.createElement("img");\r\nA.src=Sidebar.prototype.expandedImage;t.appendChild(A);mxUtils.write(t,mxResources.get("property"));u.style.cursor="pointer";var B=function(){var b=x.querySelectorAll(".gePropNonHeaderRow"),e;if(p.editorUi.propertiesCollapsed){A.src=Sidebar.prototype.collapsedImage;e="none";for(var c=a.childNodes.length-1;0<=c;c--)try{var d=a.childNodes[c],k=d.nodeName.toUpperCase();"INPUT"!=k&&"SELECT"!=k||a.removeChild(d)}catch(ra){}}else A.src=Sidebar.prototype.expandedImage,e="";for(c=0;c<b.length;c++)b[c].style.display=\r\ne};mxEvent.addListener(u,"click",function(){p.editorUi.propertiesCollapsed=!p.editorUi.propertiesCollapsed;B()});u.appendChild(t);t=document.createElement("th");t.className="gePropHeaderCell";t.innerHTML=mxResources.get("value");u.appendChild(t);x.appendChild(u);var z=!1,v=!1,u=null;1==e.vertices.length&&0==e.edges.length?u=e.vertices[0].id:0==e.vertices.length&&1==e.edges.length&&(u=e.edges[0].id);null!=u&&x.appendChild(n("id",mxUtils.htmlEntities(u),{dispName:"ID",type:"readOnly"},!0,!1));for(var y in b)if(u=\r\nb[y],"function"!=typeof u.isVisible||u.isVisible(e,this)){var C=null!=e.style[y]?mxUtils.htmlEntities(e.style[y]+""):null!=u.getDefaultValue?u.getDefaultValue(e,this):u.defVal;if("separator"==u.type)v=!v;else{if("staticArr"==u.type)u.size=parseInt(e.style[u.sizeProperty]||b[u.sizeProperty].defVal)||0;else if(null!=u.dependentProps){for(var I=u.dependentProps,E=[],K=[],t=0;t<I.length;t++){var F=e.style[I[t]];K.push(b[I[t]].subDefVal);E.push(null!=F?F.split(","):[])}u.dependentPropsDefVal=K;u.dependentPropsVals=\r\nE}x.appendChild(n(y,C,u,z,v));z=!z}}for(t=0;t<q.length;t++)for(u=q[t],b=u.parentRow,e=0;e<u.values.length;e++)y=n(u.name,u.values[e],{type:u.type,parentRow:u.parentRow,isDeletable:u.isDeletable,index:e,defVal:u.defVal,countProperty:u.countProperty,size:u.size},0==e%2,u.flipBkg),b.parentNode.insertBefore(y,b.nextSibling),b=y;a.appendChild(x);B();return a};StyleFormatPanel.prototype.addStyles=function(a){function b(a){mxEvent.addListener(a,"mouseenter",function(){a.style.opacity="1"});mxEvent.addListener(a,\r\n"mouseleave",function(){a.style.opacity="0.5"})}var e=this.editorUi,c=e.editor.graph,d=document.createElement("div");d.style.whiteSpace="nowrap";d.style.paddingLeft="24px";d.style.paddingRight="20px";a.style.paddingLeft="16px";a.style.paddingBottom="6px";a.style.position="relative";a.appendChild(d);var k="plain-gray plain-blue plain-green plain-turquoise plain-orange plain-yellow plain-red plain-pink plain-purple gray blue green turquoise orange yellow red pink purple".split(" "),l=document.createElement("div");\r\nl.style.whiteSpace="nowrap";l.style.position="relative";l.style.textAlign="center";for(var f=[],g=0;g<this.defaultColorSchemes.length;g++){var n=document.createElement("div");n.style.display="inline-block";n.style.width="6px";n.style.height="6px";n.style.marginLeft="4px";n.style.marginRight="3px";n.style.borderRadius="3px";n.style.cursor="pointer";n.style.background="transparent";n.style.border="1px solid #b5b6b7";mxUtils.bind(this,function(a){mxEvent.addListener(n,"click",mxUtils.bind(this,function(){p(a)}))})(g);\r\nf.push(n);l.appendChild(n)}var p=mxUtils.bind(this,function(a){null!=this.format.currentScheme&&(f[this.format.currentScheme].style.background="transparent");this.format.currentScheme=a;m(this.defaultColorSchemes[this.format.currentScheme]);f[this.format.currentScheme].style.background="#84d7ff"}),m=mxUtils.bind(this,function(a){var b=mxUtils.bind(this,function(a){var b=mxUtils.button("",mxUtils.bind(this,function(b){c.getModel().beginUpdate();try{for(var d=this.format.getSelectionState().cells,l=\r\n0;l<d.length;l++){for(var f=c.getModel().getStyle(d[l]),g=0;g<k.length;g++)f=mxUtils.removeStylename(f,k[g]);var n=c.getModel().isVertex(d[l])?e.initialDefaultVertexStyle:e.initialdefaultEdgeStyle;null!=a?(f=mxUtils.setStyle(f,mxConstants.STYLE_GRADIENTCOLOR,a.gradient||mxUtils.getValue(n,mxConstants.STYLE_GRADIENTCOLOR,null)),mxEvent.isAltDown(b)||(f=""==a.fill?mxUtils.setStyle(f,mxConstants.STYLE_FILLCOLOR,null):mxUtils.setStyle(f,mxConstants.STYLE_FILLCOLOR,a.fill||mxUtils.getValue(n,mxConstants.STYLE_FILLCOLOR,\r\nnull))),mxEvent.isShiftDown(b)||(f=""==a.stroke?mxUtils.setStyle(f,mxConstants.STYLE_STROKECOLOR,null):mxUtils.setStyle(f,mxConstants.STYLE_STROKECOLOR,a.stroke||mxUtils.getValue(n,mxConstants.STYLE_STROKECOLOR,null))),mxEvent.isControlDown(b)||mxClient.IS_MAC&&mxEvent.isMetaDown(b)||!c.getModel().isVertex(d[l])||(f=mxUtils.setStyle(f,mxConstants.STYLE_FONTCOLOR,a.font||mxUtils.getValue(n,mxConstants.STYLE_FONTCOLOR,null)))):(f=mxUtils.setStyle(f,mxConstants.STYLE_FILLCOLOR,mxUtils.getValue(n,mxConstants.STYLE_FILLCOLOR,\r\n"#ffffff")),f=mxUtils.setStyle(f,mxConstants.STYLE_STROKECOLOR,mxUtils.getValue(n,mxConstants.STYLE_STROKECOLOR,"#000000")),f=mxUtils.setStyle(f,mxConstants.STYLE_GRADIENTCOLOR,mxUtils.getValue(n,mxConstants.STYLE_GRADIENTCOLOR,null)),c.getModel().isVertex(d[l])&&(f=mxUtils.setStyle(f,mxConstants.STYLE_FONTCOLOR,mxUtils.getValue(n,mxConstants.STYLE_FONTCOLOR,null))));c.getModel().setStyle(d[l],f)}}finally{c.getModel().endUpdate()}}));b.className="geStyleButton";b.style.width="36px";b.style.height=\r\n10>=this.defaultColorSchemes.length?"24px":"30px";b.style.margin="0px 6px 6px 0px";if(null!=a){var l="1"==urlParams.sketch?"2px solid":"1px solid";null!=a.gradient?mxClient.IS_IE&&10>document.documentMode?b.style.filter="progid:DXImageTransform.Microsoft.Gradient(StartColorStr=\'"+a.fill+"\', EndColorStr=\'"+a.gradient+"\', GradientType=0)":b.style.backgroundImage="linear-gradient("+a.fill+" 0px,"+a.gradient+" 100%)":a.fill==mxConstants.NONE?b.style.background="url(\'"+Dialog.prototype.noColorImage+"\')":\r\nb.style.backgroundColor=""==a.fill?mxUtils.getValue(e.initialDefaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?"#2a2a2a":"#ffffff"):a.fill||mxUtils.getValue(e.initialDefaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?"#2a2a2a":"#ffffff");b.style.border=a.stroke==mxConstants.NONE?l+" transparent":""==a.stroke?l+" "+mxUtils.getValue(e.initialDefaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":"#2a2a2a"):l+" "+(a.stroke||mxUtils.getValue(e.initialDefaultVertexStyle,\r\nmxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":"#2a2a2a"))}else{var l=mxUtils.getValue(c.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,"#ffffff"),f=mxUtils.getValue(c.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,"#000000");b.style.backgroundColor=l;b.style.border="1px solid "+f}b.style.borderRadius="0";d.appendChild(b)});d.innerHTML="";for(var l=0;l<a.length;l++)0<l&&0==mxUtils.mod(l,4)&&mxUtils.br(d),b(a[l])});null==this.format.currentScheme?p(Editor.isDarkMode()?1:"1"==urlParams.sketch?\r\n5:0):p(this.format.currentScheme);var g=10>=this.defaultColorSchemes.length?28:8,q=document.createElement("div");q.style.cssText="position:absolute;left:10px;top:8px;bottom:"+g+"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=);";\r\nmxEvent.addListener(q,"click",mxUtils.bind(this,function(){p(mxUtils.mod(this.format.currentScheme-1,this.defaultColorSchemes.length))}));var x=document.createElement("div");x.style.cssText="position:absolute;left:202px;top:8px;bottom:"+g+"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==);";\r\n1<this.defaultColorSchemes.length&&(a.appendChild(q),a.appendChild(x));mxEvent.addListener(x,"click",mxUtils.bind(this,function(){p(mxUtils.mod(this.format.currentScheme+1,this.defaultColorSchemes.length))}));b(q);b(x);m(this.defaultColorSchemes[this.format.currentScheme]);10>=this.defaultColorSchemes.length&&a.appendChild(l);return a};StyleFormatPanel.prototype.addEditOps=function(a){var b=this.format.getSelectionState(),e=null;1==b.cells.length&&(e=mxUtils.button(mxResources.get("editStyle"),mxUtils.bind(this,\r\nfunction(a){this.editorUi.actions.get("editStyle").funct()})),e.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi.actions.get("editStyle").shortcut+")"),e.style.width="202px",e.style.marginBottom="2px",a.appendChild(e));var c=this.editorUi.editor.graph,c=1==b.cells.length?c.view.getState(b.cells[0]):null;null!=c&&null!=c.shape&&null!=c.shape.stencil?(b=mxUtils.button(mxResources.get("editShape"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editShape").funct()})),b.setAttribute("title",\r\nmxResources.get("editShape")),b.style.marginBottom="2px",null==e?b.style.width="202px":(e.style.width="100px",b.style.width="100px",b.style.marginLeft="2px"),a.appendChild(b)):b.image&&0<b.cells.length&&(b=mxUtils.button(mxResources.get("editImage"),mxUtils.bind(this,function(a){this.editorUi.actions.get("image").funct()})),b.setAttribute("title",mxResources.get("editImage")),b.style.marginBottom="2px",null==e?b.style.width="202px":(e.style.width="100px",b.style.width="100px",b.style.marginLeft="2px"),\r\na.appendChild(b));return a}}Graph.customFontElements={};Graph.recentCustomFonts={};Graph.isGoogleFontUrl=function(a){return a.substring(0,Editor.GOOGLE_FONTS.length)==Editor.GOOGLE_FONTS};Graph.isCssFontUrl=function(a){return Graph.isGoogleFontUrl(a)};Graph.createFontElement=function(a,b){var e;Graph.isCssFontUrl(b)?(e=document.createElement("link"),e.setAttribute("rel","stylesheet"),e.setAttribute("type","text/css"),e.setAttribute("charset","UTF-8"),e.setAttribute("href",b)):(e=document.createElement("style"),\r\nmxUtils.write(e,\'@font-face {\\nfont-family: "\'+a+\'";\\nsrc: url("\'+b+\'");\\n}\'));return e};Graph.addFont=function(a,b,e){if(null!=a&&0<a.length&&null!=b&&0<b.length){var c=a.toLowerCase();if("helvetica"!=c&&"arial"!=a&&"sans-serif"!=c){var d=Graph.customFontElements[c];null!=d&&d.url!=b&&(d.elt.parentNode.removeChild(d.elt),d=null);null==d?(d=b,"http:"==b.substring(0,5)&&(d=PROXY_URL+"?url="+encodeURIComponent(b)),d={name:a,url:b,elt:Graph.createFontElement(a,d)},Graph.customFontElements[c]=d,Graph.recentCustomFonts[c]=\r\nd,b=document.getElementsByTagName("head")[0],null!=e&&("link"==d.elt.nodeName.toLowerCase()?(d.elt.onload=e,d.elt.onerror=e):e()),null!=b&&b.appendChild(d.elt)):null!=e&&e()}else null!=e&&e()}else null!=e&&e();return a};Graph.getFontUrl=function(a,b){var e=Graph.customFontElements[a.toLowerCase()];null!=e&&(b=e.url);return b};Graph.processFontAttributes=function(a){a=a.getElementsByTagName("*");for(var b=0;b<a.length;b++){var e=a[b].getAttribute("data-font-src");if(null!=e){var c="FONT"==a[b].nodeName?\r\na[b].getAttribute("face"):a[b].style.fontFamily;null!=c&&Graph.addFont(c,e)}}};Graph.processFontStyle=function(a){if(null!=a){var b=mxUtils.getValue(a,"fontSource",null);if(null!=b){var e=mxUtils.getValue(a,mxConstants.STYLE_FONTFAMILY,null);null!=e&&Graph.addFont(e,decodeURIComponent(b))}}return a};Graph.prototype.defaultThemeName="default-style2";Graph.prototype.lastPasteXml=null;Graph.prototype.pasteCounter=0;Graph.prototype.defaultScrollbars="0"!=urlParams.sb;Graph.prototype.defaultPageVisible=\r\n"0"!=urlParams.pv;Graph.prototype.shadowId="dropShadow";Graph.prototype.svgShadowColor="#3D4574";Graph.prototype.svgShadowOpacity="0.4";Graph.prototype.svgShadowBlur="1.7";Graph.prototype.svgShadowSize="3";Graph.prototype.edgeMode="move"!=urlParams.edge;var v=Graph.prototype.init;Graph.prototype.init=function(){function a(a){b=a}v.apply(this,arguments);window.mxFreehand&&(this.freehand=new mxFreehand(this));var b=null;mxEvent.addListener(this.container,"mouseenter",a);mxEvent.addListener(this.container,\r\n"mousemove",a);mxEvent.addListener(this.container,"mouseleave",function(a){b=null});this.isMouseInsertPoint=function(){return null!=b};var e=this.getInsertPoint;this.getInsertPoint=function(){return null!=b?this.getPointForEvent(b):e.apply(this,arguments)};var c=this.layoutManager.getLayout;this.layoutManager.getLayout=function(a){var b=this.graph.getCellStyle(a);if(null!=b){if("rack"==b.childLayout){var e=new mxStackLayout(this.graph,!1);e.gridSize=null!=b.rackUnitSize?parseFloat(b.rackUnitSize):\r\n"undefined"!==typeof mxRackContainer?mxRackContainer.unitSize:20;e.marginLeft=b.marginLeft||0;e.marginRight=b.marginRight||0;e.marginTop=b.marginTop||0;e.marginBottom=b.marginBottom||0;e.allowGaps=b.allowGaps||0;e.horizontal="1"==mxUtils.getValue(b,"horizontalRack","0");e.resizeParent=!1;e.fill=!0;return e}if("undefined"!==typeof mxTableLayout&&"tableLayout"==b.childLayout)return e=new mxTableLayout(this.graph),e.rows=b.tableRows||2,e.columns=b.tableColumns||2,e.colPercentages=b.colPercentages,e.rowPercentages=\r\nb.rowPercentages,e.equalColumns="1"==mxUtils.getValue(b,"equalColumns",e.colPercentages?"0":"1"),e.equalRows="1"==mxUtils.getValue(b,"equalRows",e.rowPercentages?"0":"1"),e.resizeParent="1"==mxUtils.getValue(b,"resizeParent","1"),e.border=b.tableBorder||e.border,e.marginLeft=b.marginLeft||0,e.marginRight=b.marginRight||0,e.marginTop=b.marginTop||0,e.marginBottom=b.marginBottom||0,e.autoAddCol="1"==mxUtils.getValue(b,"autoAddCol","0"),e.autoAddRow="1"==mxUtils.getValue(b,"autoAddRow",e.autoAddCol?\r\n"0":"1"),e.colWidths=b.colWidths||"100",e.rowHeights=b.rowHeights||"50",e}return c.apply(this,arguments)};this.updateGlobalUrlVariables()};var z=Graph.prototype.postProcessCellStyle;Graph.prototype.postProcessCellStyle=function(a){return Graph.processFontStyle(z.apply(this,arguments))};var y=mxSvgCanvas2D.prototype.updateTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(a,b,e,c,d,k,l,f,g,n,p){y.apply(this,arguments);Graph.processFontAttributes(p)};var x=mxText.prototype.redraw;mxText.prototype.redraw=\r\nfunction(){x.apply(this,arguments);null!=this.node&&"DIV"==this.node.nodeName&&Graph.processFontAttributes(this.node)};Graph.prototype.getCustomFonts=function(){var a=this.extFonts,a=null!=a?a.slice():[],b;for(b in Graph.customFontElements){var e=Graph.customFontElements[b];a.push({name:e.name,url:e.url})}return a};Graph.prototype.setFont=function(a,b){Graph.addFont(a,b);document.execCommand("fontname",!1,a);if(null!=b){var e=this.cellEditor.textarea.getElementsByTagName("font");b=Graph.getFontUrl(a,\r\nb);for(var c=0;c<e.length;c++)e[c].getAttribute("face")==a&&e[c].getAttribute("data-font-src")!=b&&e[c].setAttribute("data-font-src",b)}};var A=Graph.prototype.isFastZoomEnabled;Graph.prototype.isFastZoomEnabled=function(){return A.apply(this,arguments)&&(!this.shadowVisible||!mxClient.IS_SF)};Graph.prototype.updateGlobalUrlVariables=function(){this.globalVars=Editor.globalVars;if(null!=urlParams.vars)try{this.globalVars=null!=this.globalVars?mxUtils.clone(this.globalVars):{};var a=JSON.parse(decodeURIComponent(urlParams.vars));\r\nif(null!=a)for(var b in a)this.globalVars[b]=a[b]}catch(H){null!=window.console&&console.log("Error in vars URL parameter: "+H)}};Graph.prototype.getExportVariables=function(){return null!=this.globalVars?mxUtils.clone(this.globalVars):{}};var B=Graph.prototype.getGlobalVariable;Graph.prototype.getGlobalVariable=function(a){var b=B.apply(this,arguments);null==b&&null!=this.globalVars&&(b=this.globalVars[a]);return b};Graph.prototype.getDefaultStylesheet=function(){if(null==this.defaultStylesheet){var a=\r\nthis.themes["default-style2"];this.defaultStylesheet=(new mxCodec(a.ownerDocument)).decode(a)}return this.defaultStylesheet};Graph.prototype.isViewer=function(){return urlParams.viewer};var E=Graph.prototype.getSvg;Graph.prototype.getSvg=function(a,b,e,c,d,k,l,f,g,n,p,m,q,x){var u=null,t=null;m||null==this.themes||"darkTheme"!=this.defaultThemeName||(u=this.stylesheet,t=this.defaultPageBackgroundColor,this.defaultPageBackgroundColor="darkTheme"==this.defaultThemeName?"#ffffff":"#2a2a2a",this.stylesheet=\r\nthis.getDefaultStylesheet(),this.refresh());var A=E.apply(this,arguments),B=this.getCustomFonts();if(p&&0<B.length){var z=A.ownerDocument,v=null!=z.createElementNS?z.createElementNS(mxConstants.NS_SVG,"style"):z.createElement("style");null!=z.setAttributeNS?v.setAttributeNS("type","text/css"):v.setAttribute("type","text/css");for(var y="",C="",K=0;K<B.length;K++){var F=B[K].name,I=B[K].url;Graph.isCssFontUrl(I)?y+="@import url("+I+");\\n":C+=\'@font-face {\\nfont-family: "\'+F+\'";\\nsrc: url("\'+I+\'");\\n}\\n\'}v.appendChild(z.createTextNode(y+\r\nC));A.getElementsByTagName("defs")[0].appendChild(v)}null!=u&&(this.defaultPageBackgroundColor=t,this.stylesheet=u,this.refresh());return A};var F=Graph.prototype.createSvgImageExport;Graph.prototype.createSvgImageExport=function(){var a=F.apply(this,arguments);if(this.mathEnabled){var b=a.drawText;a.drawText=function(a,e){if(null!=a.text&&null!=a.text.value&&a.text.checkBounds()&&(mxUtils.isNode(a.text.value)||a.text.dialect==mxConstants.DIALECT_STRICTHTML)){var c=a.text.getContentNode();if(null!=\r\nc){c=c.cloneNode(!0);if(c.getElementsByTagNameNS)for(var d=c.getElementsByTagNameNS("http://www.w3.org/1998/Math/MathML","math");0<d.length;)d[0].parentNode.removeChild(d[0]);null!=c.innerHTML&&(d=a.text.value,a.text.value=c.innerHTML,b.apply(this,arguments),a.text.value=d)}}else b.apply(this,arguments)}}return a};var D=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){D.apply(this,arguments);if(mxClient.IS_GC&&null!=this.getDrawPane()){var a=this.getDrawPane().parentNode;\r\n!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):\r\n(this.webKitForceRepaintNode=document.createElement("div"),this.webKitForceRepaintNode.style.cssText="position:absolute;",a.ownerSVGElement.parentNode.insertBefore(this.webKitForceRepaintNode,a.ownerSVGElement))}};var C=Graph.prototype.loadStylesheet;Graph.prototype.loadStylesheet=function(){C.apply(this,arguments);this.currentStyle="default-style2"};Graph.prototype.handleCustomLink=function(a){if("data:action/json,"==a.substring(0,17)&&(a=JSON.parse(a.substring(17)),null!=a.actions)){for(var b=0;b<\r\na.actions.length;b++){var e=a.actions[b];if(null!=e.open)if(this.isCustomLink(e.open)){if(!this.customLinkClicked(e.open))return}else this.openLink(e.open)}this.model.beginUpdate();try{for(b=0;b<a.actions.length;b++)e=a.actions[b],null!=e.toggle&&this.toggleCells(this.getCellsForAction(e.toggle,!0)),null!=e.show&&this.setCellsVisible(this.getCellsForAction(e.show,!0),!0),null!=e.hide&&this.setCellsVisible(this.getCellsForAction(e.hide,!0),!1)}finally{this.model.endUpdate()}for(b=0;b<a.actions.length;b++){var e=\r\na.actions[b],c=[];null!=e.select&&this.isEnabled()&&(c=this.getCellsForAction(e.select),this.setSelectionCells(c));null!=e.highlight&&(c=this.getCellsForAction(e.highlight),this.highlightCells(c,e.highlight.color,e.highlight.duration,e.highlight.opacity));null!=e.scroll&&(c=this.getCellsForAction(e.scroll));null!=e.viewbox&&this.fitWindow(e.viewbox,e.viewbox.border);0<c.length&&this.scrollCellToVisible(c[0])}}};Graph.prototype.updateCustomLinksForCell=function(a,b){var e=this.getLinkForCell(b);null!=\r\ne&&"data:action/json,"==e.substring(0,17)&&this.setLinkForCell(b,this.updateCustomLink(a,e));if(this.isHtmlLabel(b)){var c=document.createElement("div");c.innerHTML=this.sanitizeHtml(this.getLabel(b));for(var d=c.getElementsByTagName("a"),k=!1,l=0;l<d.length;l++)e=d[l].getAttribute("href"),null!=e&&"data:action/json,"==e.substring(0,17)&&(d[l].setAttribute("href",this.updateCustomLink(a,e)),k=!0);k&&this.labelChanged(b,c.innerHTML)}};Graph.prototype.updateCustomLink=function(a,b){if("data:action/json,"==\r\nb.substring(0,17))try{var e=JSON.parse(b.substring(17));null!=e.actions&&(this.updateCustomLinkActions(a,e.actions),b="data:action/json,"+JSON.stringify(e))}catch(L){}return b};Graph.prototype.updateCustomLinkActions=function(a,b){for(var e=0;e<b.length;e++){var c=b[e];this.updateCustomLinkAction(a,c.toggle);this.updateCustomLinkAction(a,c.show);this.updateCustomLinkAction(a,c.hide);this.updateCustomLinkAction(a,c.select);this.updateCustomLinkAction(a,c.highlight);this.updateCustomLinkAction(a,c.scroll)}};\r\nGraph.prototype.updateCustomLinkAction=function(a,b){if(null!=b&&null!=b.cells){for(var e=[],c=0;c<b.cells.length;c++)if("*"==b.cells[c])e.push(b.cells[c]);else{var d=a[b.cells[c]];null!=d?""!=d&&e.push(d):e.push(b.cells[c])}b.cells=e}};Graph.prototype.getCellsForAction=function(a,b){return this.getCellsById(a.cells).concat(this.getCellsForTags(a.tags,null,null,b))};Graph.prototype.getCellsById=function(a){var b=[];if(null!=a)for(var e=0;e<a.length;e++)if("*"==a[e])var c=this.getDefaultParent(),b=\r\nb.concat(this.model.filterDescendants(function(a){return a!=c},c));else{var d=this.model.getCell(a[e]);null!=d&&b.push(d)}return b};Graph.prototype.getCellsForTags=function(a,b,e,c){var d=[];if(null!=a){b=null!=b?b:this.model.getDescendants(this.model.getRoot());e=null!=e?e:"tags";for(var k=0,l={},f=0;f<a.length;f++)0<a[f].length&&(l[a[f].toLowerCase()]=!0,k++);for(f=0;f<b.length;f++)if(c&&this.model.getParent(b[f])==this.model.root||this.model.isVertex(b[f])||this.model.isEdge(b[f])){var g=null!=\r\nb[f].value&&"object"==typeof b[f].value?mxUtils.trim(b[f].value.getAttribute(e)||""):"",n=!1;if(0<g.length){if(g=g.toLowerCase().split(" "),g.length>=a.length){for(var p=n=0;p<g.length&&n<k;p++)null!=l[g[p]]&&n++;n=n==k}}else n=0==a.length;n&&d.push(b[f])}}return d};Graph.prototype.toggleCells=function(a){this.model.beginUpdate();try{for(var b=0;b<a.length;b++)this.model.setVisible(a[b],!this.model.isVisible(a[b]))}finally{this.model.endUpdate()}};Graph.prototype.setCellsVisible=function(a,b){this.model.beginUpdate();\r\ntry{for(var e=0;e<a.length;e++)this.model.setVisible(a[e],b)}finally{this.model.endUpdate()}};Graph.prototype.highlightCells=function(a,b,e,c){for(var d=0;d<a.length;d++)this.highlightCell(a[d],b,e,c)};Graph.prototype.highlightCell=function(a,b,e,c){b=null!=b?b:mxConstants.DEFAULT_VALID_COLOR;e=null!=e?e:1E3;a=this.view.getState(a);if(null!=a){var d=Math.max(5,mxUtils.getValue(a.style,mxConstants.STYLE_STROKEWIDTH,1)+4),k=new mxCellHighlight(this,b,d,!1);null!=c&&(k.opacity=c);k.highlight(a);window.setTimeout(function(){null!=\r\nk.shape&&(mxUtils.setPrefixedStyle(k.shape.node.style,"transition","all 1200ms ease-in-out"),k.shape.node.style.opacity=0);window.setTimeout(function(){k.destroy()},1200)},e)}};Graph.prototype.addSvgShadow=function(a,b,e){e=null!=e?e:!1;var c=a.ownerDocument,d=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"filter"):c.createElement("filter");d.setAttribute("id",this.shadowId);var k=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):c.createElement("feGaussianBlur");\r\nk.setAttribute("in","SourceAlpha");k.setAttribute("stdDeviation",this.svgShadowBlur);k.setAttribute("result","blur");d.appendChild(k);k=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"feOffset"):c.createElement("feOffset");k.setAttribute("in","blur");k.setAttribute("dx",this.svgShadowSize);k.setAttribute("dy",this.svgShadowSize);k.setAttribute("result","offsetBlur");d.appendChild(k);k=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"feFlood"):c.createElement("feFlood");\r\nk.setAttribute("flood-color",this.svgShadowColor);k.setAttribute("flood-opacity",this.svgShadowOpacity);k.setAttribute("result","offsetColor");d.appendChild(k);k=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"feComposite"):c.createElement("feComposite");k.setAttribute("in","offsetColor");k.setAttribute("in2","offsetBlur");k.setAttribute("operator","in");k.setAttribute("result","offsetBlur");d.appendChild(k);k=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"feBlend"):c.createElement("feBlend");\r\nk.setAttribute("in","SourceGraphic");k.setAttribute("in2","offsetBlur");d.appendChild(k);k=a.getElementsByTagName("defs");0==k.length?(c=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"defs"):c.createElement("defs"),null!=a.firstChild?a.insertBefore(c,a.firstChild):a.appendChild(c)):c=k[0];c.appendChild(d);e||(b=null!=b?b:a.getElementsByTagName("g")[0],null!=b&&(b.setAttribute("filter","url(#"+this.shadowId+")"),isNaN(parseInt(a.getAttribute("width")))||(a.setAttribute("width",parseInt(a.getAttribute("width"))+\r\n6),a.setAttribute("height",parseInt(a.getAttribute("height"))+6),b=a.getAttribute("viewBox"),null!=b&&0<b.length&&(b=b.split(" "),3<b.length&&(w=parseFloat(b[2])+6,h=parseFloat(b[3])+6,a.setAttribute("viewBox",b[0]+" "+b[1]+" "+w+" "+h))))));return d};Graph.prototype.setShadowVisible=function(a,b){mxClient.IS_SVG&&!mxClient.IS_SF&&(b=null!=b?b:!0,(this.shadowVisible=a)?this.view.getDrawPane().setAttribute("filter","url(#"+this.shadowId+")"):this.view.getDrawPane().removeAttribute("filter"),b&&this.fireEvent(new mxEventObject("shadowVisibleChanged")))};\r\nGraph.prototype.selectUnlockedLayer=function(){if(null==this.defaultParent){var a=this.model.getChildCount(this.model.root),b,e=0;do b=this.model.getChildAt(this.model.root,e);while(e++<a&&"1"==mxUtils.getValue(this.getCellStyle(b),"locked","0"));null!=b&&this.setDefaultParent(b)}};mxStencilRegistry.libraries.mockup=[SHAPES_PATH+"/mockup/mxMockupButtons.js"];mxStencilRegistry.libraries.arrows2=[SHAPES_PATH+"/mxArrows.js"];mxStencilRegistry.libraries.atlassian=[STENCIL_PATH+"/atlassian.xml",SHAPES_PATH+\r\n"/mxAtlassian.js"];mxStencilRegistry.libraries.bpmn=[SHAPES_PATH+"/mxBasic.js",STENCIL_PATH+"/bpmn.xml",SHAPES_PATH+"/bpmn/mxBpmnShape2.js"];mxStencilRegistry.libraries.bpmn2=[SHAPES_PATH+"/mxBasic.js",STENCIL_PATH+"/bpmn.xml",SHAPES_PATH+"/bpmn/mxBpmnShape2.js"];mxStencilRegistry.libraries.c4=[SHAPES_PATH+"/mxC4.js"];mxStencilRegistry.libraries.cisco19=[SHAPES_PATH+"/mxCisco19.js",STENCIL_PATH+"/cisco19.xml"];mxStencilRegistry.libraries.cisco_safe=[SHAPES_PATH+"/mxCiscoSafe.js",STENCIL_PATH+"/cisco_safe/architecture.xml",\r\nSTENCIL_PATH+"/cisco_safe/business_icons.xml",STENCIL_PATH+"/cisco_safe/capability.xml",STENCIL_PATH+"/cisco_safe/design.xml",STENCIL_PATH+"/cisco_safe/iot_things_icons.xml",STENCIL_PATH+"/cisco_safe/people_places_things_icons.xml",STENCIL_PATH+"/cisco_safe/security_icons.xml",STENCIL_PATH+"/cisco_safe/technology_icons.xml",STENCIL_PATH+"/cisco_safe/threat.xml"];mxStencilRegistry.libraries.dfd=[SHAPES_PATH+"/mxDFD.js"];mxStencilRegistry.libraries.er=[SHAPES_PATH+"/er/mxER.js"];mxStencilRegistry.libraries.kubernetes=\r\n[SHAPES_PATH+"/mxKubernetes.js",STENCIL_PATH+"/kubernetes.xml"];mxStencilRegistry.libraries.flowchart=[SHAPES_PATH+"/mxFlowchart.js",STENCIL_PATH+"/flowchart.xml"];mxStencilRegistry.libraries.ios=[SHAPES_PATH+"/mockup/mxMockupiOS.js"];mxStencilRegistry.libraries.rackGeneral=[SHAPES_PATH+"/rack/mxRack.js",STENCIL_PATH+"/rack/general.xml"];mxStencilRegistry.libraries.rackF5=[STENCIL_PATH+"/rack/f5.xml"];mxStencilRegistry.libraries.lean_mapping=[SHAPES_PATH+"/mxLeanMap.js",STENCIL_PATH+"/lean_mapping.xml"];\r\nmxStencilRegistry.libraries.basic=[SHAPES_PATH+"/mxBasic.js",STENCIL_PATH+"/basic.xml"];mxStencilRegistry.libraries.ios7icons=[STENCIL_PATH+"/ios7/icons.xml"];mxStencilRegistry.libraries.ios7ui=[SHAPES_PATH+"/ios7/mxIOS7Ui.js",STENCIL_PATH+"/ios7/misc.xml"];mxStencilRegistry.libraries.android=[SHAPES_PATH+"/mxAndroid.js",STENCIL_PATH+"/android/android.xml"];mxStencilRegistry.libraries["electrical/abstract"]=[SHAPES_PATH+"/mxElectrical.js",STENCIL_PATH+"/electrical/abstract.xml"];mxStencilRegistry.libraries["electrical/logic_gates"]=\r\n[SHAPES_PATH+"/mxElectrical.js",STENCIL_PATH+"/electrical/logic_gates.xml"];mxStencilRegistry.libraries["electrical/miscellaneous"]=[SHAPES_PATH+"/mxElectrical.js",STENCIL_PATH+"/electrical/miscellaneous.xml"];mxStencilRegistry.libraries["electrical/signal_sources"]=[SHAPES_PATH+"/mxElectrical.js",STENCIL_PATH+"/electrical/signal_sources.xml"];mxStencilRegistry.libraries["electrical/transmission"]=[SHAPES_PATH+"/mxElectrical.js",STENCIL_PATH+"/electrical/transmission.xml"];mxStencilRegistry.libraries.infographic=\r\n[SHAPES_PATH+"/mxInfographic.js"];mxStencilRegistry.libraries["mockup/buttons"]=[SHAPES_PATH+"/mockup/mxMockupButtons.js"];mxStencilRegistry.libraries["mockup/containers"]=[SHAPES_PATH+"/mockup/mxMockupContainers.js"];mxStencilRegistry.libraries["mockup/forms"]=[SHAPES_PATH+"/mockup/mxMockupForms.js"];mxStencilRegistry.libraries["mockup/graphics"]=[SHAPES_PATH+"/mockup/mxMockupGraphics.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/markup"]=[SHAPES_PATH+"/mockup/mxMockupMarkup.js"];\r\nmxStencilRegistry.libraries["mockup/misc"]=[SHAPES_PATH+"/mockup/mxMockupMisc.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/navigation"]=[SHAPES_PATH+"/mockup/mxMockupNavigation.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/text"]=[SHAPES_PATH+"/mockup/mxMockupText.js"];mxStencilRegistry.libraries.floorplan=[SHAPES_PATH+"/mxFloorplan.js",STENCIL_PATH+"/floorplan.xml"];mxStencilRegistry.libraries.bootstrap=[SHAPES_PATH+"/mxBootstrap.js",SHAPES_PATH+\r\n"/mxBasic.js",STENCIL_PATH+"/bootstrap.xml"];mxStencilRegistry.libraries.gmdl=[SHAPES_PATH+"/mxGmdl.js",STENCIL_PATH+"/gmdl.xml"];mxStencilRegistry.libraries.gcp2=[SHAPES_PATH+"/mxGCP2.js",STENCIL_PATH+"/gcp2.xml"];mxStencilRegistry.libraries.ibm=[SHAPES_PATH+"/mxIBM.js",STENCIL_PATH+"/ibm.xml"];mxStencilRegistry.libraries.cabinets=[SHAPES_PATH+"/mxCabinets.js",STENCIL_PATH+"/cabinets.xml"];mxStencilRegistry.libraries.archimate=[SHAPES_PATH+"/mxArchiMate.js"];mxStencilRegistry.libraries.archimate3=\r\n[SHAPES_PATH+"/mxArchiMate3.js"];mxStencilRegistry.libraries.sysml=[SHAPES_PATH+"/mxSysML.js"];mxStencilRegistry.libraries.eip=[SHAPES_PATH+"/mxEip.js",STENCIL_PATH+"/eip.xml"];mxStencilRegistry.libraries.networks=[SHAPES_PATH+"/mxNetworks.js",STENCIL_PATH+"/networks.xml"];mxStencilRegistry.libraries.aws3d=[SHAPES_PATH+"/mxAWS3D.js",STENCIL_PATH+"/aws3d.xml"];mxStencilRegistry.libraries.aws4=[SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.aws4b=[SHAPES_PATH+"/mxAWS4.js",\r\nSTENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.uml25=[SHAPES_PATH+"/mxUML25.js"];mxStencilRegistry.libraries.veeam=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam.xml"];mxStencilRegistry.libraries.veeam2=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam2.xml"];mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+\r\n"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"];mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=function(a){var b=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?b="mxgraph.er":"sysML"==a.substring(0,5)&&(b="mxgraph.sysml"));return b};var G=mxMarker.createMarker;mxMarker.createMarker=function(a,b,e,c,d,k,l,f,g,n){if(null!=e&&null==mxMarker.markers[e]){var p=this.getPackageForType(e);null!=p&&\r\nmxStencilRegistry.getStencil(p)}return G.apply(this,arguments)};PrintDialog.prototype.create=function(a,b){function e(){x.value=Math.max(1,Math.min(f,Math.max(parseInt(x.value),parseInt(q.value))));q.value=Math.max(1,Math.min(f,Math.min(parseInt(x.value),parseInt(q.value))))}function c(b){function e(b,e,k){var l=b.useCssTransforms,f=b.currentTranslate,g=b.currentScale,n=b.view.translate,p=b.view.scale;b.useCssTransforms&&(b.useCssTransforms=!1,b.currentTranslate=new mxPoint(0,0),b.currentScale=1,\r\nb.view.translate=new mxPoint(0,0),b.view.scale=1);var m=b.getGraphBounds(),q=0,x=0,u=M.get(),t=1/b.pageScale,z=B.checked;if(z)var t=parseInt(G.value),v=parseInt(I.value),t=Math.min(u.height*v/(m.height/b.view.scale),u.width*t/(m.width/b.view.scale));else t=parseInt(A.value)/(100*b.pageScale),isNaN(t)&&(c=1/b.pageScale,A.value="100 %");u=mxRectangle.fromRectangle(u);u.width=Math.ceil(u.width*c);u.height=Math.ceil(u.height*c);t*=c;!z&&b.pageVisible?(m=b.getPageLayout(),q-=m.x*u.width,x-=m.y*u.height):\r\nz=!0;if(null==e){e=PrintDialog.createPrintPreview(b,t,u,0,q,x,z);e.pageSelector=!1;e.mathEnabled=!1;q=a.getCurrentFile();null!=q&&(e.title=q.getTitle());var y=e.writeHead;e.writeHead=function(e){y.apply(this,arguments);if(mxClient.IS_GC||mxClient.IS_SF)e.writeln(\'<style type="text/css">\'),e.writeln(Editor.mathJaxWebkitCss),e.writeln("</style>");mxClient.IS_GC&&(e.writeln(\'<style type="text/css">\'),e.writeln("@media print {"),e.writeln("span.MathJax_SVG svg { shape-rendering: crispEdges; }"),e.writeln("}"),\r\ne.writeln("</style>"));null!=a.editor.fontCss&&(e.writeln(\'<style type="text/css">\'),e.writeln(a.editor.fontCss),e.writeln("</style>"));for(var c=b.getCustomFonts(),d=0;d<c.length;d++){var k=c[d].name,l=c[d].url;Graph.isCssFontUrl(l)?e.writeln(\'<link rel="stylesheet" href="\'+mxUtils.htmlEntities(l)+\'" charset="UTF-8" type="text/css">\'):(e.writeln(\'<style type="text/css">\'),e.writeln(\'@font-face {\\nfont-family: "\'+mxUtils.htmlEntities(k)+\'";\\nsrc: url("\'+mxUtils.htmlEntities(l)+\'");\\n}\'),e.writeln("</style>"))}};\r\nif("undefined"!==typeof MathJax){var C=e.renderPage;e.renderPage=function(b,e,c,d,k,l){var f=mxClient.NO_FO;mxClient.NO_FO=this.graph.mathEnabled&&!a.editor.useForeignObjectForMath?!0:a.editor.originalNoForeignObject;var g=C.apply(this,arguments);mxClient.NO_FO=f;this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:g.className="geDisableMathJax";return g}}q=null;x=d.enableFlowAnimation;d.enableFlowAnimation=!1;null!=d.themes&&"darkTheme"==d.defaultThemeName&&(q=d.stylesheet,d.stylesheet=d.getDefaultStylesheet(),\r\nd.refresh());e.open(null,null,k,!0);d.enableFlowAnimation=x;null!=q&&(d.stylesheet=q,d.refresh())}else{u=b.background;if(null==u||""==u||u==mxConstants.NONE)u="#ffffff";e.backgroundColor=u;e.autoOrigin=z;e.appendGraph(b,t,q,x,k,!0);k=b.getCustomFonts();if(null!=e.wnd)for(q=0;q<k.length;q++)x=k[q].name,z=k[q].url,Graph.isCssFontUrl(z)?e.wnd.document.writeln(\'<link rel="stylesheet" href="\'+mxUtils.htmlEntities(z)+\'" charset="UTF-8" type="text/css">\'):(e.wnd.document.writeln(\'<style type="text/css">\'),\r\ne.wnd.document.writeln(\'@font-face {\\nfont-family: "\'+mxUtils.htmlEntities(x)+\'";\\nsrc: url("\'+mxUtils.htmlEntities(z)+\'");\\n}\'),e.wnd.document.writeln("</style>"))}l&&(b.useCssTransforms=l,b.currentTranslate=f,b.currentScale=g,b.view.translate=n,b.view.scale=p);return e}var c=parseInt(N.value)/100;isNaN(c)&&(c=1,N.value="100 %");var c=.75*c,k=null;null!=d.themes&&"darkTheme"==d.defaultThemeName&&(k=d.stylesheet,d.stylesheet=d.getDefaultStylesheet(),d.refresh());var l=q.value,f=x.value,n=!p.checked,\r\nm=null;if(EditorUi.isElectronApp)PrintDialog.electronPrint(a,p.checked,l,f,B.checked,G.value,I.value,parseInt(A.value)/100,parseInt(N.value)/100,M.get());else{n&&(n=l==g&&f==g);if(!n&&null!=a.pages&&a.pages.length){var u=0,n=a.pages.length-1;p.checked||(u=parseInt(l)-1,n=parseInt(f)-1);for(var t=u;t<=n;t++){var z=a.pages[t],l=z==a.currentPage?d:null;if(null==l){var l=a.createTemporaryGraph(d.stylesheet),f=!0,u=!1,v=null,y=null;null==z.viewState&&null==z.root&&a.updatePageRoot(z);null!=z.viewState&&\r\n(f=z.viewState.pageVisible,u=z.viewState.mathEnabled,v=z.viewState.background,y=z.viewState.backgroundImage,l.extFonts=z.viewState.extFonts);l.background=v;l.backgroundImage=null!=y?new mxImage(y.src,y.width,y.height):null;l.pageVisible=f;l.mathEnabled=u;var C=l.getGlobalVariable;l.getGlobalVariable=function(b){return"page"==b?z.getName():"pagenumber"==b?t+1:"pagecount"==b?null!=a.pages?a.pages.length:1:C.apply(this,arguments)};document.body.appendChild(l.container);a.updatePageRoot(z);l.model.setRoot(z.root)}m=\r\ne(l,m,t!=n);l!=d&&l.container.parentNode.removeChild(l.container)}}else m=e(d);null==m?a.handleError({message:mxResources.get("errorUpdatingPreview")}):(m.mathEnabled&&(n=m.wnd.document,b&&(m.wnd.IMMEDIATE_PRINT=!0),n.writeln(\'<script type="text/javascript" src="\'+DRAWIO_BASE_URL+\'/js/math-print.js">\\x3c/script>\')),m.closeDocument(),!m.mathEnabled&&b&&PrintDialog.printPreview(m));null!=k&&(d.stylesheet=k,d.refresh())}}var d=a.editor.graph,k=document.createElement("div"),l=document.createElement("h3");\r\nl.style.width="100%";l.style.textAlign="center";l.style.marginTop="0px";mxUtils.write(l,b||mxResources.get("print"));k.appendChild(l);var f=1,g=1,n=document.createElement("div");n.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var p=document.createElement("input");p.style.cssText="margin-right:8px;margin-bottom:8px;";p.setAttribute("value","all");p.setAttribute("type","radio");p.setAttribute("name","pages-printdialog");n.appendChild(p);l=document.createElement("span");\r\nmxUtils.write(l,mxResources.get("printAllPages"));n.appendChild(l);mxUtils.br(n);var m=p.cloneNode(!0);p.setAttribute("checked","checked");m.setAttribute("value","range");n.appendChild(m);l=document.createElement("span");mxUtils.write(l,mxResources.get("pages")+":");n.appendChild(l);var q=document.createElement("input");q.style.cssText="margin:0 8px 0 8px;";q.setAttribute("value","1");q.setAttribute("type","number");q.setAttribute("min","1");q.style.width="50px";n.appendChild(q);l=document.createElement("span");\r\nmxUtils.write(l,mxResources.get("to"));n.appendChild(l);var x=q.cloneNode(!0);n.appendChild(x);mxEvent.addListener(q,"focus",function(){m.checked=!0});mxEvent.addListener(x,"focus",function(){m.checked=!0});mxEvent.addListener(q,"change",e);mxEvent.addListener(x,"change",e);if(null!=a.pages&&(f=a.pages.length,null!=a.currentPage))for(l=0;l<a.pages.length;l++)if(a.currentPage==a.pages[l]){g=l+1;q.value=g;x.value=g;break}q.setAttribute("max",f);x.setAttribute("max",f);a.isPagesEnabled()?1<f&&(k.appendChild(n),\r\nm.checked=!0):m.checked=!0;var u=document.createElement("div");u.style.marginBottom="10px";var t=document.createElement("input");t.style.marginRight="8px";t.setAttribute("value","adjust");t.setAttribute("type","radio");t.setAttribute("name","printZoom");u.appendChild(t);l=document.createElement("span");mxUtils.write(l,mxResources.get("adjustTo"));u.appendChild(l);var A=document.createElement("input");A.style.cssText="margin:0 8px 0 8px;";A.setAttribute("value","100 %");A.style.width="50px";u.appendChild(A);\r\nmxEvent.addListener(A,"focus",function(){t.checked=!0});k.appendChild(u);var n=n.cloneNode(!1),B=t.cloneNode(!0);B.setAttribute("value","fit");t.setAttribute("checked","checked");l=document.createElement("div");l.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";l.appendChild(B);n.appendChild(l);u=document.createElement("table");u.style.display="inline-block";var z=document.createElement("tbody"),v=document.createElement("tr"),y=v.cloneNode(!0),C=document.createElement("td"),\r\nE=C.cloneNode(!0),K=C.cloneNode(!0),F=C.cloneNode(!0),J=C.cloneNode(!0),D=C.cloneNode(!0);C.style.textAlign="right";F.style.textAlign="right";mxUtils.write(C,mxResources.get("fitTo"));var G=document.createElement("input");G.style.cssText="margin:0 8px 0 8px;";G.setAttribute("value","1");G.setAttribute("min","1");G.setAttribute("type","number");G.style.width="40px";E.appendChild(G);l=document.createElement("span");mxUtils.write(l,mxResources.get("fitToSheetsAcross"));K.appendChild(l);mxUtils.write(F,\r\nmxResources.get("fitToBy"));var I=G.cloneNode(!0);J.appendChild(I);mxEvent.addListener(G,"focus",function(){B.checked=!0});mxEvent.addListener(I,"focus",function(){B.checked=!0});l=document.createElement("span");mxUtils.write(l,mxResources.get("fitToSheetsDown"));D.appendChild(l);v.appendChild(C);v.appendChild(E);v.appendChild(K);y.appendChild(F);y.appendChild(J);y.appendChild(D);z.appendChild(v);z.appendChild(y);u.appendChild(z);n.appendChild(u);k.appendChild(n);n=document.createElement("div");l=\r\ndocument.createElement("div");l.style.fontWeight="bold";l.style.marginBottom="12px";mxUtils.write(l,mxResources.get("paperSize"));n.appendChild(l);l=document.createElement("div");l.style.marginBottom="12px";var M=PageSetupDialog.addPageFormatPanel(l,"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);n.appendChild(l);l=document.createElement("span");mxUtils.write(l,mxResources.get("pageScale"));n.appendChild(l);var N=document.createElement("input");N.style.cssText="margin:0 8px 0 8px;";\r\nN.setAttribute("value","100 %");N.style.width="60px";n.appendChild(N);k.appendChild(n);l=document.createElement("div");l.style.cssText="text-align:right;margin:48px 0 0 0;";n=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});n.className="geBtn";a.editor.cancelFirst&&l.appendChild(n);a.isOffline()||(u=mxUtils.button(mxResources.get("help"),function(){d.openLink("https://www.diagrams.net/doc/faq/print-diagram")}),u.className="geBtn",l.appendChild(u));PrintDialog.previewEnabled&&(u=\r\nmxUtils.button(mxResources.get("preview"),function(){a.hideDialog();c(!1)}),u.className="geBtn",l.appendChild(u));u=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();c(!0)});u.className="geBtn gePrimaryBtn";l.appendChild(u);a.editor.cancelFirst||l.appendChild(n);k.appendChild(l);this.container=k};var K=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);this.page!=this.ui.currentPage?\r\nnull!=this.page.viewState&&(this.ignoreColor||(this.page.viewState.background=this.color),this.ignoreImage||(this.page.viewState.backgroundImage=this.image),null!=this.format&&(this.page.viewState.pageFormat=this.format),null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled),null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)):(K.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),\r\nthis.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible))};Editor.prototype.useCanvasForExport=!1;try{var M=document.createElement("canvas"),J=new Image;J.onload=function(){try{M.getContext("2d").drawImage(J,0,0);var a=M.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=a&&6<a.length}catch(N){}};J.src="data:image/svg+xml;base64,"+\r\nbtoa(unescape(encodeURIComponent(\'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>\')))}catch(I){}})();\r\n(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,c,b){b.ui=a.ui;return c};a.afterDecode=function(a,c,b){b.previousColor=b.color;b.previousImage=b.image;b.previousFormat=b.format;null!=b.foldingEnabled&&(b.foldingEnabled=!b.foldingEnabled);null!=b.mathEnabled&&(b.mathEnabled=!b.mathEnabled);null!=b.shadowVisible&&(b.shadowVisible=!b.shadowVisible);return b};mxCodecRegistry.register(a)})();\r\n(function(){var a=new mxObjectCodec(new ChangeGridColor,["ui"]);a.beforeDecode=function(a,c,b){b.ui=a.ui;return c};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="14.9.3";EditorUi.compactUi="atlas"!=uiTheme;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\\.draw\\.io$/.test(window.location.hostname)||/.*\\.diagrams\\.net$/.test(window.location.hostname))&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=\r\nnull;EditorUi.ignoredAnonymizedChars="\\n\\t`~!@#$%^&*()_+{}|:\\"<>?-=[];\'./,\\n\\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl="1"==urlParams.dev?"/cache":window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=\r\n!mxClient.IS_OP&&!EditorUi.isElectronApp&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.diagrams.net/doc/faq/scratchpad";EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,flowchart:{htmlLabels:!1},sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,\r\nmessageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:\'"Open-Sans", "sans-serif"\',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};EditorUi.logError=function(a,b,c,d,f,g,m){g=null!=g?g:0<=a.indexOf("NetworkError")||0<=a.indexOf("SecurityError")||0<=a.indexOf("NS_ERROR_FAILURE")||0<=a.indexOf("out of memory")?"CONFIG":"SEVERE";if(EditorUi.enableLogging&&\r\n"1"!=urlParams.dev)try{if(a!=EditorUi.lastErrorMessage&&(null==a||null==b||-1==a.indexOf("Script error")&&-1==a.indexOf("extension"))&&null!=a&&0>a.indexOf("DocumentClosedError")){EditorUi.lastErrorMessage=a;var e=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";f=null!=f?f:Error(a);(new Image).src=e+"/log?severity="+g+"&v="+encodeURIComponent(EditorUi.VERSION)+"&msg=clientError:"+encodeURIComponent(a)+":url:"+encodeURIComponent(window.location.href)+":lnum:"+encodeURIComponent(c)+(null!=d?":colno:"+\r\nencodeURIComponent(d):"")+(null!=f&&null!=f.stack?"&stack="+encodeURIComponent(f.stack):"")}}catch(v){}try{m||null==window.console||console.error(g,a,b,c,d,f)}catch(v){}};EditorUi.logEvent=function(a){if("1"==urlParams.dev)EditorUi.debug("logEvent",a);else if(EditorUi.enableLogging)try{var b=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";(new Image).src=b+"/images/1x1.png?v="+encodeURIComponent(EditorUi.VERSION)+(null!=a?"&data="+encodeURIComponent(JSON.stringify(a)):"")}catch(l){}};EditorUi.sendReport=\r\nfunction(a,b){if("1"==urlParams.dev)EditorUi.debug("sendReport",a);else if(EditorUi.enableLogging)try{b=null!=b?b:5E4,a.length>b&&(a=a.substring(0,b)+"\\n...[SHORTENED]"),mxUtils.post("/email","version="+encodeURIComponent(EditorUi.VERSION)+"&url="+encodeURIComponent(window.location.href)+"&data="+encodeURIComponent(a))}catch(l){}};EditorUi.debug=function(){try{if(null!=window.console&&"1"==urlParams.test){for(var a=[(new Date).toISOString()],b=0;b<arguments.length;b++)null!=arguments[b]&&a.push(arguments[b]);\r\nconsole.log.apply(console,a)}}catch(l){}};EditorUi.parsePng=function(a,b,c){function e(a,b){var e=k;k+=b;return a.substring(e,k)}function d(a){a=e(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}var k=0;if(e(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=c&&c();else if(e(a,4),"IHDR"!=e(a,4))null!=c&&c();else{e(a,17);do{c=d(a);var l=e(a,4);if(null!=b&&b(k-8,l,c))break;value=e(a,c);e(a,4);if("IEND"==l)break}while(c)}};EditorUi.removeChildNodes=\r\nfunction(a){for(;null!=a.firstChild;)a.removeChild(a.firstChild)};EditorUi.prototype.emptyDiagramXml=\'<mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/></root></mxGraphModel>\';EditorUi.prototype.emptyLibraryXml="<mxlibrary>[]</mxlibrary>";EditorUi.prototype.mode=null;EditorUi.prototype.timeout=Editor.prototype.timeout;EditorUi.prototype.sidebarFooterHeight=38;EditorUi.prototype.defaultCustomShapeStyle="shape=stencil(tZRtTsQgEEBPw1+DJR7AoN6DbWftpAgE0Ortd/jYRGq72R+YNE2YgTePloEJGWblgA18ZuKFDcMj5/Sm8boZq+BgjCX4pTyqk6ZlKROitwusOMXKQDODx5iy4pXxZ5qTHiFHawxB0JrQZH7lCabQ0Fr+XWC1/E8zcsT/gAi+Subo2/3Mh6d/oJb5nU1b5tW7r2knautaa3T+U32o7f7vZwpJkaNDLORJjcu7t59m2jXxqX9un+tt022acsfmoKaQZ+vhhswZtS6Ne/ThQGt0IV0N3Yyv6P3CeT9/tHO0XFI5cAE=);whiteSpace=wrap;html=1;";\r\nEditorUi.prototype.maxBackgroundSize=1600;EditorUi.prototype.maxImageSize=520;EditorUi.prototype.maxTextWidth=520;EditorUi.prototype.resampleThreshold=1E5;EditorUi.prototype.maxImageBytes=1E6;EditorUi.prototype.maxBackgroundBytes=25E5;EditorUi.prototype.maxTextBytes=5E5;EditorUi.prototype.currentFile=null;EditorUi.prototype.printPdfExport=!1;EditorUi.prototype.pdfPageExport=!0;EditorUi.prototype.formatEnabled="0"!=urlParams.format;EditorUi.prototype.insertTemplateEnabled=!0;EditorUi.prototype.closableScratchpad=\r\n!0;(function(){EditorUi.prototype.useCanvasForExport=!1;EditorUi.prototype.jpgSupported=!1;try{var a=document.createElement("canvas");EditorUi.prototype.canvasSupported=!(!a.getContext||!a.getContext("2d"))}catch(p){}try{var b=document.createElement("canvas"),c=new Image;c.onload=function(){try{b.getContext("2d").drawImage(c,0,0);var a=b.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=a&&6<a.length}catch(q){}};c.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(\'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>\')))}catch(p){}try{b=\r\ndocument.createElement("canvas");b.width=b.height=1;var d=b.toDataURL("image/jpeg");EditorUi.prototype.jpgSupported=null!==d.match("image/jpeg")}catch(p){}})();EditorUi.prototype.openLink=function(a,b,c){return this.editor.graph.openLink(a,b,c)};EditorUi.prototype.showSplash=function(a){};EditorUi.prototype.getLocalData=function(a,b){b(localStorage.getItem(a))};EditorUi.prototype.setLocalData=function(a,b,c){localStorage.setItem(a,b);null!=c&&c()};EditorUi.prototype.removeLocalData=function(a,b){localStorage.removeItem(a);\r\nb()};EditorUi.prototype.setMathEnabled=function(a){this.editor.graph.mathEnabled=a;this.editor.updateGraphComponents();this.editor.graph.refresh();this.fireEvent(new mxEventObject("mathEnabledChanged"))};EditorUi.prototype.isMathEnabled=function(a){return this.editor.graph.mathEnabled};EditorUi.prototype.isOfflineApp=function(){return"1"==urlParams.offline};EditorUi.prototype.isOffline=function(a){return this.isOfflineApp()||!navigator.onLine||!a&&("1"==urlParams.stealth||"1"==urlParams.lockdown)};\r\nEditorUi.prototype.createSpinner=function(a,b,c){var e=null==a||null==b;c=null!=c?c:24;var d=new Spinner({lines:12,length:c,width:Math.round(c/3),radius:Math.round(c/2),rotate:0,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),k=d.spin;d.spin=function(c,l){var f=!1;this.active||(k.call(this,c),this.active=!0,null!=l&&(e&&(b=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2,a=document.body.clientWidth/2-2),f=document.createElement("div"),\r\nf.style.position="absolute",f.style.whiteSpace="nowrap",f.style.background="#4B4243",f.style.color="white",f.style.fontFamily="Helvetica, Arial",f.style.fontSize="9pt",f.style.padding="6px",f.style.paddingLeft="10px",f.style.paddingRight="10px",f.style.zIndex=2E9,f.style.left=Math.max(0,a)+"px",f.style.top=Math.max(0,b+70)+"px",mxUtils.setPrefixedStyle(f.style,"borderRadius","6px"),mxUtils.setPrefixedStyle(f.style,"transform","translate(-50%,-50%)"),Editor.isDarkMode()||mxUtils.setPrefixedStyle(f.style,\r\n"boxShadow","2px 2px 3px 0px #ddd"),"..."!=l.substring(l.length-3,l.length)&&"!"!=l.charAt(l.length-1)&&(l+="..."),f.innerHTML=l,c.appendChild(f),d.status=f),this.pause=mxUtils.bind(this,function(){var a=function(){};this.active&&(a=mxUtils.bind(this,function(){this.spin(c,l)}));this.stop();return a}),f=!0);return f};var l=d.stop;d.stop=function(){l.call(this);this.active=!1;null!=d.status&&null!=d.status.parentNode&&d.status.parentNode.removeChild(d.status);d.status=null};d.pause=function(){return function(){}};\r\nreturn d};EditorUi.prototype.isCompatibleString=function(a){try{var b=mxUtils.parseXml(a),e=this.editor.extractGraphModel(b.documentElement,!0);return null!=e&&0==e.getElementsByTagName("parsererror").length}catch(n){}return!1};EditorUi.prototype.isVisioData=function(a){return 8<a.length&&(208==a.charCodeAt(0)&&207==a.charCodeAt(1)&&17==a.charCodeAt(2)&&224==a.charCodeAt(3)&&161==a.charCodeAt(4)&&177==a.charCodeAt(5)&&26==a.charCodeAt(6)&&225==a.charCodeAt(7)||80==a.charCodeAt(0)&&75==a.charCodeAt(1)&&\r\n3==a.charCodeAt(2)&&4==a.charCodeAt(3)||80==a.charCodeAt(0)&&75==a.charCodeAt(1)&&3==a.charCodeAt(2)&&6==a.charCodeAt(3))};EditorUi.prototype.isRemoteVisioData=function(a){return 8<a.length&&(208==a.charCodeAt(0)&&207==a.charCodeAt(1)&&17==a.charCodeAt(2)&&224==a.charCodeAt(3)&&161==a.charCodeAt(4)&&177==a.charCodeAt(5)&&26==a.charCodeAt(6)&&225==a.charCodeAt(7)||60==a.charCodeAt(0)&&63==a.charCodeAt(1)&&120==a.charCodeAt(2)&&109==a.charCodeAt(3)&&108==a.charCodeAt(3))};EditorUi.prototype.isPngData=\r\nfunction(a){return 8<a.length&&137==a.charCodeAt(0)&&80==a.charCodeAt(1)&&78==a.charCodeAt(2)&&71==a.charCodeAt(3)&&13==a.charCodeAt(4)&&10==a.charCodeAt(5)&&26==a.charCodeAt(6)&&10==a.charCodeAt(7)};var a=EditorUi.prototype.createKeyHandler;EditorUi.prototype.createKeyHandler=function(b){var e=a.apply(this,arguments);if(!this.editor.chromeless||this.editor.editable){var c=e.getFunction,d=this.editor.graph,f=this;e.getFunction=function(a){if(d.isSelectionEmpty()&&null!=f.pages&&0<f.pages.length){var b=\r\nf.getSelectedPageIndex();if(mxEvent.isShiftDown(a)){if(37==a.keyCode)return function(){0<b&&f.movePage(b,b-1)};if(38==a.keyCode)return function(){0<b&&f.movePage(b,0)};if(39==a.keyCode)return function(){b<f.pages.length-1&&f.movePage(b,b+1)};if(40==a.keyCode)return function(){b<f.pages.length-1&&f.movePage(b,f.pages.length-1)}}else if(mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a)){if(37==a.keyCode)return function(){0<b&&f.selectNextPage(!1)};if(38==a.keyCode)return function(){0<\r\nb&&f.selectPage(f.pages[0])};if(39==a.keyCode)return function(){b<f.pages.length-1&&f.selectNextPage(!0)};if(40==a.keyCode)return function(){b<f.pages.length-1&&f.selectPage(f.pages[f.pages.length-1])}}}return c.apply(this,arguments)}}return e};var d=EditorUi.prototype.extractGraphModelFromHtml;EditorUi.prototype.extractGraphModelFromHtml=function(a){var b=d.apply(this,arguments);if(null==b)try{var e=a.indexOf("&lt;mxfile ");if(0<=e){var c=a.lastIndexOf("&lt;/mxfile&gt;");c>e&&(b=a.substring(e,c+\r\n15).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/\\\\&quot;/g,\'"\').replace(/\\n/g,""))}else var f=mxUtils.parseXml(a),g=this.editor.extractGraphModel(f.documentElement,null!=this.pages||"hidden"==this.diagramContainer.style.visibility),b=null!=g?mxUtils.getXml(g):""}catch(u){}return b};EditorUi.prototype.validateFileData=function(a){if(null!=a&&0<a.length){var b=a.indexOf(\'<meta charset="utf-8">\');0<=b&&(a=a.slice(0,b)+\'<meta charset="utf-8"/>\'+a.slice(b+23-1,a.length));a=Graph.zapGremlins(a)}return a};\r\nEditorUi.prototype.replaceFileData=function(a){a=this.validateFileData(a);a=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;var b=null!=a?this.editor.extractGraphModel(a,!0):null;null!=b&&(a=b);if(null!=a){b=this.editor.graph;b.model.beginUpdate();try{var e=null!=this.pages?this.pages.slice():null,c=a.getElementsByTagName("diagram");if("0"!=urlParams.pages||1<c.length||1==c.length&&c[0].hasAttribute("name")){this.fileNode=a;this.pages=null!=this.pages?this.pages:[];for(var d=c.length-\r\n1;0<=d;d--){var f=this.updatePageRoot(new DiagramPage(c[d]));null==f.getName()&&f.setName(mxResources.get("pageWithNumber",[d+1]));b.model.execute(new ChangePage(this,f,0==d?f:null,0))}}else"0"!=urlParams.pages&&null==this.fileNode&&(this.fileNode=a.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(a.ownerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1])),b.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),\r\nthis.editor.setGraphXml(a),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root);if(null!=e)for(d=0;d<e.length;d++)b.model.execute(new ChangePage(this,e[d],null))}finally{b.model.endUpdate()}}};EditorUi.prototype.createFileData=function(a,b,c,d,f,g,m,t,v,z,y){b=null!=b?b:this.editor.graph;f=null!=f?f:!1;v=null!=v?v:!0;var e,k=null;null==c||c.getMode()==App.MODE_DEVICE||c.getMode()==App.MODE_BROWSER?e="_blank":k=e=d;if(null==a)return"";var l=a;if("mxfile"!=l.nodeName.toLowerCase()){if(y){var n=\r\na.ownerDocument.createElement("diagram");n.setAttribute("id",Editor.guid());n.appendChild(a)}else{n=Graph.zapGremlins(mxUtils.getXml(a));l=Graph.compress(n);if(Graph.decompress(l)!=n)return n;n=a.ownerDocument.createElement("diagram");n.setAttribute("id",Editor.guid());mxUtils.setTextContent(n,l)}l=a.ownerDocument.createElement("mxfile");l.appendChild(n)}z?(l=l.cloneNode(!0),l.removeAttribute("modified"),l.removeAttribute("host"),l.removeAttribute("agent"),l.removeAttribute("etag"),l.removeAttribute("userAgent"),\r\nl.removeAttribute("version"),l.removeAttribute("editor"),l.removeAttribute("type")):(l.removeAttribute("userAgent"),l.removeAttribute("version"),l.removeAttribute("editor"),l.removeAttribute("pages"),l.removeAttribute("type"),mxClient.IS_CHROMEAPP?l.setAttribute("host","Chrome"):EditorUi.isElectronApp?l.setAttribute("host","Electron"):l.setAttribute("host",window.location.hostname),l.setAttribute("modified",(new Date).toISOString()),l.setAttribute("agent",navigator.appVersion),l.setAttribute("version",\r\nEditorUi.VERSION),l.setAttribute("etag",Editor.guid()),a=null!=c?c.getMode():this.mode,null!=a&&l.setAttribute("type",a),1<l.getElementsByTagName("diagram").length&&null!=this.pages&&l.setAttribute("pages",this.pages.length));y=y?mxUtils.getPrettyXml(l):mxUtils.getXml(l);if(!g&&!f&&(m||null!=c&&/(\\.html)$/i.test(c.getTitle())))y=this.getHtml2(mxUtils.getXml(l),b,null!=c?c.getTitle():null,e,k);else if(g||!f&&null!=c&&/(\\.svg)$/i.test(c.getTitle()))null==c||c.getMode()!=App.MODE_DEVICE&&c.getMode()!=\r\nApp.MODE_BROWSER||(d=null),y=this.getEmbeddedSvg(y,b,d,null,t,v,k);return y};EditorUi.prototype.getXmlFileData=function(a,b,c){a=null!=a?a:!0;b=null!=b?b:!1;c=null!=c?c:!Editor.compressXml;var e=this.editor.getGraphXml(a);if(a&&null!=this.fileNode&&null!=this.currentPage)if(a=function(a){var b=a.getElementsByTagName("mxGraphModel"),b=0<b.length?b[0]:null;null==b&&c?(b=mxUtils.trim(mxUtils.getTextContent(a)),a=a.cloneNode(!1),0<b.length&&(b=Graph.decompress(b),null!=b&&0<b.length&&a.appendChild(mxUtils.parseXml(b).documentElement))):\r\nnull==b||c?a=a.cloneNode(!0):(a=a.cloneNode(!1),mxUtils.setTextContent(a,Graph.compressNode(b)));e.appendChild(a)},EditorUi.removeChildNodes(this.currentPage.node),mxUtils.setTextContent(this.currentPage.node,Graph.compressNode(e)),e=this.fileNode.cloneNode(!1),b)a(this.currentPage.node);else for(b=0;b<this.pages.length;b++){if(this.currentPage!=this.pages[b]&&this.pages[b].needsUpdate){var d=(new mxCodec(mxUtils.createXmlDocument())).encode(new mxGraphModel(this.pages[b].root));this.editor.graph.saveViewState(this.pages[b].viewState,\r\nd);EditorUi.removeChildNodes(this.pages[b].node);mxUtils.setTextContent(this.pages[b].node,Graph.compressNode(d));delete this.pages[b].needsUpdate}a(this.pages[b].node)}return e};EditorUi.prototype.anonymizeString=function(a,b){for(var e=[],c=0;c<a.length;c++){var d=a.charAt(c);0<=EditorUi.ignoredAnonymizedChars.indexOf(d)?e.push(d):isNaN(parseInt(d))?d.toLowerCase()!=d?e.push(String.fromCharCode(65+Math.round(25*Math.random()))):d.toUpperCase()!=d?e.push(String.fromCharCode(97+Math.round(25*Math.random()))):\r\n/\\s/.test(d)?e.push(" "):e.push("?"):e.push(b?"0":Math.round(9*Math.random()))}return e.join("")};EditorUi.prototype.anonymizePatch=function(a){if(null!=a[EditorUi.DIFF_INSERT])for(var b=0;b<a[EditorUi.DIFF_INSERT].length;b++)try{var e=mxUtils.parseXml(a[EditorUi.DIFF_INSERT][b].data).documentElement.cloneNode(!1);null!=e.getAttribute("name")&&e.setAttribute("name",this.anonymizeString(e.getAttribute("name")));a[EditorUi.DIFF_INSERT][b].data=mxUtils.getXml(e)}catch(q){a[EditorUi.DIFF_INSERT][b].data=\r\nq.message}if(null!=a[EditorUi.DIFF_UPDATE]){for(var c in a[EditorUi.DIFF_UPDATE]){var d=a[EditorUi.DIFF_UPDATE][c];null!=d.name&&(d.name=this.anonymizeString(d.name));null!=d.cells&&(b=mxUtils.bind(this,function(a){var b=d.cells[a];if(null!=b){for(var e in b)null!=b[e].value&&(b[e].value="["+b[e].value.length+"]"),null!=b[e].xmlValue&&(b[e].xmlValue="["+b[e].xmlValue.length+"]"),null!=b[e].style&&(b[e].style="["+b[e].style.length+"]"),0==Object.keys(b[e]).length&&delete b[e];0==Object.keys(b).length&&\r\ndelete d.cells[a]}}),b(EditorUi.DIFF_INSERT),b(EditorUi.DIFF_UPDATE),0==Object.keys(d.cells).length&&delete d.cells);0==Object.keys(d).length&&delete a[EditorUi.DIFF_UPDATE][c]}0==Object.keys(a[EditorUi.DIFF_UPDATE]).length&&delete a[EditorUi.DIFF_UPDATE]}return a};EditorUi.prototype.anonymizeAttributes=function(a,b){if(null!=a.attributes)for(var e=0;e<a.attributes.length;e++)"as"!=a.attributes[e].name&&a.setAttribute(a.attributes[e].name,this.anonymizeString(a.attributes[e].value,b));if(null!=a.childNodes)for(e=\r\n0;e<a.childNodes.length;e++)this.anonymizeAttributes(a.childNodes[e],b)};EditorUi.prototype.anonymizeNode=function(a,b){for(var e=a.getElementsByTagName("mxCell"),c=0;c<e.length;c++)null!=e[c].getAttribute("value")&&e[c].setAttribute("value","["+e[c].getAttribute("value").length+"]"),null!=e[c].getAttribute("xmlValue")&&e[c].setAttribute("xmlValue","["+e[c].getAttribute("xmlValue").length+"]"),null!=e[c].getAttribute("style")&&e[c].setAttribute("style","["+e[c].getAttribute("style").length+"]"),null!=\r\ne[c].parentNode&&"root"!=e[c].parentNode.nodeName&&null!=e[c].parentNode.parentNode&&(e[c].setAttribute("id",e[c].parentNode.getAttribute("id")),e[c].parentNode.parentNode.replaceChild(e[c],e[c].parentNode));return a};EditorUi.prototype.synchronizeCurrentFile=function(a){var b=this.getCurrentFile();null!=b&&(b.savingFile?this.handleError({message:mxResources.get("busy")}):!a&&b.invalidChecksum?b.handleFileError(null,!0):this.spinner.spin(document.body,mxResources.get("updatingDocument"))&&(b.clearAutosave(),\r\nthis.editor.setStatus(""),a?b.reloadFile(mxUtils.bind(this,function(){b.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){b.handleFileError(a,!0)})):b.synchronizeFile(mxUtils.bind(this,function(){b.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){b.handleFileError(a,!0)}))))};EditorUi.prototype.getFileData=function(a,b,c,d,f,g,m,t,v,z){f=null!=f?f:!0;g=null!=g?g:!1;var e=this.editor.graph;if(b||!a&&null!=v&&/(\\.svg)$/i.test(v.getTitle()))if(z=\r\n!1,null!=e.themes&&"darkTheme"==e.defaultThemeName||null!=this.pages&&this.currentPage!=this.pages[0]){var k=e.getGlobalVariable,e=this.createTemporaryGraph(e.getStylesheet()),l=this.pages[0];e.getGlobalVariable=function(a){return"page"==a?l.getName():"pagenumber"==a?1:k.apply(this,arguments)};document.body.appendChild(e.container);e.model.setRoot(l.root)}m=null!=m?m:this.getXmlFileData(f,g,z);v=null!=v?v:this.getCurrentFile();a=this.createFileData(m,e,v,window.location.href,a,b,c,d,f,t,z);e!=this.editor.graph&&\r\ne.container.parentNode.removeChild(e.container);return a};EditorUi.prototype.getHtml=function(a,b,c,d,f,g){g=null!=g?g:!0;var e=null,k=EditorUi.drawHost+"/js/embed-static.min.js";if(null!=b){var e=g?b.getGraphBounds():b.getBoundingBox(b.getSelectionCells()),l=b.view.scale;g=Math.floor(e.x/l-b.view.translate.x);l=Math.floor(e.y/l-b.view.translate.y);e=b.background;null==f&&(b=this.getBasenames().join(";"),0<b.length&&(k=EditorUi.drawHost+"/embed.js?s="+b));a.setAttribute("x0",g);a.setAttribute("y0",\r\nl)}null!=a&&(a.setAttribute("pan","1"),a.setAttribute("zoom","1"),a.setAttribute("resize","0"),a.setAttribute("fit","0"),a.setAttribute("border","20"),a.setAttribute("links","1"),null!=d&&a.setAttribute("edit",d));null!=f&&(f=f.replace(/&/g,"&amp;"));a=null!=a?Graph.zapGremlins(mxUtils.getXml(a)):"";d=Graph.compress(a);Graph.decompress(d)!=a&&(d=encodeURIComponent(a));return(null==f?\'\\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\\x3e\\n\':"")+"<!DOCTYPE html>\\n<html"+\r\n(null!=f?\' xmlns="http://www.w3.org/1999/xhtml">\':">")+"\\n<head>\\n"+(null==f?null!=c?"<title>"+mxUtils.htmlEntities(c)+"</title>\\n":"":"<title>diagrams.net</title>\\n")+(null!=f?\'<meta http-equiv="refresh" content="0;URL=\\\'\'+f+"\'\\"/>\\n":"")+"</head>\\n<body"+(null==f&&null!=e&&e!=mxConstants.NONE?\' style="background-color:\'+e+\';">\':">")+\'\\n<div class="mxgraph" style="position:relative;overflow:auto;width:100%;">\\n<div style="width:1px;height:1px;overflow:hidden;">\'+d+"</div>\\n</div>\\n"+(null==f?\'<script type="text/javascript" src="\'+\r\nk+\'">\\x3c/script>\':\'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="\'+f+\'" target="_blank"><img border="0" src="\'+EditorUi.drawHost+\'/images/drawlogo128.png"/></a>\')+"\\n</body>\\n</html>\\n"};EditorUi.prototype.getHtml2=function(a,b,c,d,f){b=window.DRAWIO_VIEWER_URL||EditorUi.drawHost+"/js/viewer-static.min.js";null!=f&&(f=f.replace(/&/g,"&amp;"));a={highlight:"#0000ff",nav:this.editor.graph.foldingEnabled,resize:!0,xml:Graph.zapGremlins(a),toolbar:"pages zoom layers lightbox"};\r\nnull!=this.pages&&null!=this.currentPage&&(a.page=mxUtils.indexOf(this.pages,this.currentPage));return(null==f?\'\\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\\x3e\\n\':"")+"<!DOCTYPE html>\\n<html"+(null!=f?\' xmlns="http://www.w3.org/1999/xhtml">\':">")+"\\n<head>\\n"+(null==f?null!=c?"<title>"+mxUtils.htmlEntities(c)+"</title>\\n":"":"<title>diagrams.net</title>\\n")+(null!=f?\'<meta http-equiv="refresh" content="0;URL=\\\'\'+f+"\'\\"/>\\n":"")+\'<meta charset="utf-8"/>\\n</head>\\n<body>\\n<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="\'+\r\nmxUtils.htmlEntities(JSON.stringify(a))+\'"></div>\\n\'+(null==f?\'<script type="text/javascript" src="\'+b+\'">\\x3c/script>\':\'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="\'+f+\'" target="_blank"><img border="0" src="\'+EditorUi.drawHost+\'/images/drawlogo128.png"/></a>\')+"\\n</body>\\n</html>\\n"};EditorUi.prototype.setFileData=function(a){a=this.validateFileData(a);this.pages=this.fileNode=this.currentPage=null;a=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:\r\nnull;var b=Editor.extractParserError(a,mxResources.get("invalidOrMissingFile"));if(b)throw Error(mxResources.get("notADiagramFile")+" ("+b+")");b=null!=a?this.editor.extractGraphModel(a,!0):null;null!=b&&(a=b);if(null!=a&&"mxfile"==a.nodeName&&(b=a.getElementsByTagName("diagram"),"0"!=urlParams.pages||1<b.length||1==b.length&&b[0].hasAttribute("name"))){var e=null;this.fileNode=a;this.pages=[];for(var c=0;c<b.length;c++)null==b[c].getAttribute("id")&&b[c].setAttribute("id",c),a=new DiagramPage(b[c]),\r\nnull==a.getName()&&a.setName(mxResources.get("pageWithNumber",[c+1])),this.pages.push(a),null!=urlParams["page-id"]&&a.getId()==urlParams["page-id"]&&(e=a);this.currentPage=null!=e?e:this.pages[Math.max(0,Math.min(this.pages.length-1,urlParams.page||0))];a=this.currentPage.node}"0"!=urlParams.pages&&null==this.fileNode&&null!=a&&(this.fileNode=a.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(a.ownerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",\r\n[1])),this.pages=[this.currentPage]);this.editor.setGraphXml(a);null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root);if(null!=urlParams["layer-ids"])try{var d=urlParams["layer-ids"].split(" ");a={};for(c=0;c<d.length;c++)a[d[c]]=!0;for(var f=this.editor.graph.getModel(),g=f.getChildren(f.root),c=0;c<g.length;c++){var m=g[c];f.setVisible(m,a[m.id]||!1)}}catch(v){}};EditorUi.prototype.getBaseFilename=function(a){var b=this.getCurrentFile(),b=null!=b&&null!=b.getTitle()?b.getTitle():\r\nthis.defaultFilename;if(/(\\.xml)$/i.test(b)||/(\\.html)$/i.test(b)||/(\\.svg)$/i.test(b)||/(\\.png)$/i.test(b)||/(\\.drawio)$/i.test(b))b=b.substring(0,b.lastIndexOf("."));!a&&null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&null!=this.currentPage.node.getAttribute("name")&&0<this.currentPage.getName().length&&(b=b+"-"+this.currentPage.getName());return b};EditorUi.prototype.downloadFile=function(a,b,c,d,f,g,m,t,v,z,y){try{d=null!=d?d:this.editor.graph.isSelectionEmpty();var e=this.getBaseFilename(!f),\r\nk=e+"."+a;if("xml"==a){var l=\'<?xml version="1.0" encoding="UTF-8"?>\\n\'+this.getFileData(!0,null,null,null,d,f,null,null,null,b);this.saveData(k,a,l,"text/xml")}else if("html"==a)l=this.getHtml2(this.getFileData(!0),this.editor.graph,e),this.saveData(k,a,l,"text/html");else if("svg"!=a&&"xmlsvg"!=a||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==a?k=e+".png":"jpeg"==a&&(k=e+".jpg"),this.saveRequest(k,a,mxUtils.bind(this,function(b,e){try{var c=this.editor.graph.pageVisible;\r\nnull!=g&&(this.editor.graph.pageVisible=g);var k=this.createDownloadRequest(b,a,d,e,m,f,t,v,z,y);this.editor.graph.pageVisible=c;return k}catch(I){this.handleError(I)}}));else{var n=null,p=mxUtils.bind(this,function(a){a.length<=MAX_REQUEST_SIZE?this.saveData(k,"svg",a,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(n)}))});if("svg"==a){var q=this.editor.graph.background;if(m||q==mxConstants.NONE)q=\r\nnull;var u=this.editor.graph.getSvg(q,null,null,null,null,d);c&&this.editor.graph.addSvgShadow(u);this.editor.convertImages(u,mxUtils.bind(this,mxUtils.bind(this,function(a){this.spinner.stop();p(\'<?xml version="1.0" encoding="UTF-8"?>\\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\\n\'+mxUtils.getXml(a))})))}else k=e+".svg",n=this.getFileData(!1,!0,null,mxUtils.bind(this,function(a){this.spinner.stop();p(a)}),d)}}catch(G){this.handleError(G)}};EditorUi.prototype.createDownloadRequest=\r\nfunction(a,b,c,d,f,g,m,t,v,z){var e=this.editor.graph,k=e.getGraphBounds();c=this.getFileData(!0,null,null,null,c,0==g?!1:"xmlpng"!=b);var l="",n="";if(k.width*k.height>MAX_AREA||c.length>MAX_REQUEST_SIZE)throw{message:mxResources.get("drawingTooLarge")};z=z?"1":"0";"pdf"==b&&0==g&&(n="&allPages=1");if("xmlpng"==b&&(z="1",b="png",null!=this.pages&&null!=this.currentPage))for(g=0;g<this.pages.length;g++)if(this.pages[g]==this.currentPage){l="&from="+g;break}g=e.background;"png"!=b&&"pdf"!=b||!f?f||\r\nnull!=g&&g!=mxConstants.NONE||(g="#ffffff"):g=mxConstants.NONE;f={globalVars:e.getExportVariables()};v&&(f.grid={size:e.gridSize,steps:e.view.gridSteps,color:e.view.gridColor});Graph.translateDiagram&&(f.diagramLanguage=Graph.diagramLanguage);return new mxXmlRequest(EXPORT_URL,"format="+b+l+n+"&bg="+(null!=g?g:mxConstants.NONE)+"&base64="+d+"&embedXml="+z+"&xml="+encodeURIComponent(c)+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(f))+(null!=m?"&scale="+\r\nm:"")+(null!=t?"&border="+t:""))};EditorUi.prototype.setMode=function(a,b){this.mode=a};EditorUi.prototype.loadDescriptor=function(a,b,c){var e=window.location.hash,d=mxUtils.bind(this,function(c){var d=null!=a.data?a.data:"";null!=c&&0<c.length&&(0<d.length&&(d+="\\n"),d+=c);c=new LocalFile(this,"csv"!=a.format&&0<d.length?d:this.emptyDiagramXml,null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename,!0);c.getHash=function(){return e};this.fileLoaded(c);"csv"==a.format&&this.importCsv(d,\r\nmxUtils.bind(this,function(a){this.editor.undoManager.clear();this.editor.setModified(!1);this.editor.setStatus("")}));if(null!=a.update){var k=null!=a.interval?parseInt(a.interval):6E4,l=null,f=mxUtils.bind(this,function(){var b=this.currentPage;mxUtils.post(a.update,"xml="+encodeURIComponent(mxUtils.getXml(this.editor.getGraphXml())),mxUtils.bind(this,function(a){b===this.currentPage&&(200<=a.getStatus()&&300>=a.getStatus()?(this.updateDiagram(a.getText()),g()):this.handleError({message:mxResources.get("error")+\r\n" "+a.getStatus()}))}),mxUtils.bind(this,function(a){this.handleError(a)}))}),g=mxUtils.bind(this,function(){window.clearTimeout(l);l=window.setTimeout(f,k)});this.editor.addListener("pageSelected",mxUtils.bind(this,function(){g();f()}));g();f()}null!=b&&b()});null!=a.url&&0<a.url.length?this.editor.loadUrl(a.url,mxUtils.bind(this,function(a){d(a)}),mxUtils.bind(this,function(a){null!=c&&c(a)})):d("")};EditorUi.prototype.updateDiagram=function(a){function b(a){var b=new mxCellOverlay(a.image||d.warningImage,\r\na.tooltip,a.align,a.valign,a.offset);b.addListener(mxEvent.CLICK,function(b,e){c.alert(a.tooltip)});return b}var e=null,c=this;if(null!=a&&0<a.length&&(e=mxUtils.parseXml(a),a=null!=e?e.documentElement:null,null!=a&&"updates"==a.nodeName)){var d=this.editor.graph,f=d.getModel();f.beginUpdate();var g=null;try{for(a=a.firstChild;null!=a;){if("update"==a.nodeName){var m=f.getCell(a.getAttribute("id"));if(null!=m){try{var v=a.getAttribute("value");if(null!=v){var z=mxUtils.parseXml(v).documentElement;\r\nif(null!=z)if("1"==z.getAttribute("replace-value"))f.setValue(m,z);else for(var y=z.attributes,x=0;x<y.length;x++)d.setAttributeForCell(m,y[x].nodeName,0<y[x].nodeValue.length?y[x].nodeValue:null)}}catch(K){null!=window.console&&console.log("Error in value for "+m.id+": "+K)}try{var A=a.getAttribute("style");null!=A&&d.model.setStyle(m,A)}catch(K){null!=window.console&&console.log("Error in style for "+m.id+": "+K)}try{var B=a.getAttribute("icon");if(null!=B){var E=0<B.length?JSON.parse(B):null;null!=\r\nE&&E.append||d.removeCellOverlays(m);null!=E&&d.addCellOverlay(m,b(E))}}catch(K){null!=window.console&&console.log("Error in icon for "+m.id+": "+K)}try{var F=a.getAttribute("geometry");if(null!=F){var F=JSON.parse(F),D=d.getCellGeometry(m);if(null!=D){D=D.clone();for(key in F){var C=parseFloat(F[key]);"dx"==key?D.x+=C:"dy"==key?D.y+=C:"dw"==key?D.width+=C:"dh"==key?D.height+=C:D[key]=parseFloat(F[key])}d.model.setGeometry(m,D)}}}catch(K){null!=window.console&&console.log("Error in icon for "+m.id+\r\n": "+K)}}}else if("model"==a.nodeName){for(var G=a.firstChild;null!=G&&G.nodeType!=mxConstants.NODETYPE_ELEMENT;)G=G.nextSibling;null!=G&&(new mxCodec(a.firstChild)).decode(G,f)}else if("view"==a.nodeName){if(a.hasAttribute("scale")&&(d.view.scale=parseFloat(a.getAttribute("scale"))),a.hasAttribute("dx")||a.hasAttribute("dy"))d.view.translate=new mxPoint(parseFloat(a.getAttribute("dx")||0),parseFloat(a.getAttribute("dy")||0))}else"fit"==a.nodeName&&(g=a.hasAttribute("max-scale")?parseFloat(a.getAttribute("max-scale")):\r\n1);a=a.nextSibling}}finally{f.endUpdate()}null!=g&&this.chromelessResize&&this.chromelessResize(!0,g)}return e};EditorUi.prototype.getCopyFilename=function(a,b){var e=null!=a&&null!=a.getTitle()?a.getTitle():this.defaultFilename,c="",d=e.lastIndexOf(".");0<=d&&(c=e.substring(d),e=e.substring(0,d));if(b)var k=new Date,d=k.getFullYear(),f=k.getMonth()+1,g=k.getDate(),m=k.getHours(),z=k.getMinutes(),k=k.getSeconds(),e=e+(" "+(d+"-"+f+"-"+g+"-"+m+"-"+z+"-"+k));return e=mxResources.get("copyOf",[e])+c};\r\nEditorUi.prototype.fileLoaded=function(a,b){var e=this.getCurrentFile();this.fileEditable=this.fileLoadedError=null;this.setCurrentFile(null);var c=!1;this.hideDialog();null!=e&&(EditorUi.debug("File.closed",[e]),e.removeListener(this.descriptorChangedListener),e.close());this.editor.graph.model.clear();this.editor.undoManager.clear();var d=mxUtils.bind(this,function(){this.setGraphEnabled(!1);this.setCurrentFile(null);null!=e&&this.updateDocumentTitle();this.editor.graph.model.clear();this.editor.undoManager.clear();\r\nthis.setBackgroundImage(null);!b&&null!=window.location.hash&&0<window.location.hash.length&&(window.location.hash="");null!=this.fname&&(this.fnameWrapper.style.display="none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResources.get("rename")));this.editor.setStatus("");this.updateUi();b||this.showSplash()});if(null!=a)try{mxClient.IS_SF&&"min"==uiTheme&&(this.diagramContainer.style.visibility="");this.openingFile=!0;this.setCurrentFile(a);a.addListener("descriptorChanged",this.descriptorChangedListener);\r\na.addListener("contentChanged",this.descriptorChangedListener);a.open();delete this.openingFile;this.setGraphEnabled(!0);this.setMode(a.getMode());this.editor.graph.model.prefix=Editor.guid()+"-";this.editor.undoManager.clear();this.descriptorChanged();this.updateUi();a.isEditable()?a.isModified()?(a.addUnsavedStatus(),null!=a.backupPatch&&a.patch([a.backupPatch])):this.editor.setStatus(""):this.editor.setStatus(\'<span class="geStatusAlert" style="margin-left:8px;">\'+mxUtils.htmlEntities(mxResources.get("readOnly"))+\r\n"</span>");!this.editor.isChromelessView()||this.editor.editable?(this.editor.graph.selectUnlockedLayer(),this.showLayersDialog(),this.restoreLibraries(),window.self!==window.top&&window.focus()):this.editor.graph.isLightboxView()&&this.lightboxFit();this.chromelessResize&&this.chromelessResize();this.editor.fireEvent(new mxEventObject("fileLoaded"));c=!0;this.isOffline()||null==a.getMode()||EditorUi.logEvent({category:a.getMode().toUpperCase()+"-OPEN-FILE-"+a.getHash(),action:"size_"+a.getSize(),\r\nlabel:"autosave_"+(this.editor.autosave?"on":"off")});EditorUi.debug("File.opened",[a]);if(this.editor.editable&&this.mode==a.getMode()&&a.getMode()!=App.MODE_DEVICE&&null!=a.getMode())try{this.addRecent({id:a.getHash(),title:a.getTitle(),mode:a.getMode()})}catch(u){}try{mxSettings.setOpenCounter(mxSettings.getOpenCounter()+1),mxSettings.save()}catch(u){}}catch(u){this.fileLoadedError=u;if(EditorUi.enableLogging&&!this.isOffline())try{EditorUi.logEvent({category:"ERROR-LOAD-FILE-"+(null!=a?a.getHash():\r\n"none"),action:"message_"+u.message,label:"stack_"+u.stack})}catch(t){}var k=mxUtils.bind(this,function(){null!=urlParams.url&&this.spinner.spin(document.body,mxResources.get("reconnecting"))?window.location.search=this.getSearch(["url"]):null!=e?this.fileLoaded(e):d()});b?k():this.handleError(u,mxResources.get("errorLoadingFile"),k,!0,null,null,!0)}else d();return c};EditorUi.prototype.getHashValueForPages=function(a,b){var e=0,c=new mxGraphModel,d=new mxCodec;null!=b&&(b.byteCount=0,b.attrCount=\r\n0,b.eltCount=0,b.nodeCount=0);for(var k=0;k<a.length;k++){this.updatePageRoot(a[k]);var f=a[k].node.cloneNode(!1);f.removeAttribute("name");c.root=a[k].root;var g=d.encode(c);this.editor.graph.saveViewState(a[k].viewState,g,!0);g.removeAttribute("pageWidth");g.removeAttribute("pageHeight");f.appendChild(g);null!=b&&(b.eltCount+=f.getElementsByTagName("*").length,b.nodeCount+=f.getElementsByTagName("mxCell").length);e=(e<<5)-e+this.hashValue(f,function(a,b,e,c){return!c||"mxGeometry"!=a.nodeName&&\r\n"mxPoint"!=a.nodeName||"x"!=b&&"y"!=b&&"width"!=b&&"height"!=b?c&&"mxCell"==a.nodeName&&"previous"==b?null:e:Math.round(e)},b)<<0}return e};EditorUi.prototype.hashValue=function(a,b,c){var e=0;if(null!=a&&"object"===typeof a&&"number"===typeof a.nodeType&&"string"===typeof a.nodeName&&"function"===typeof a.getAttribute){null!=a.nodeName&&(e^=this.hashValue(a.nodeName,b,c));if(null!=a.attributes){null!=c&&(c.attrCount+=a.attributes.length);for(var d=0;d<a.attributes.length;d++){var k=a.attributes[d].name,\r\nl=null!=b?b(a,k,a.attributes[d].value,!0):a.attributes[d].value;null!=l&&(e^=this.hashValue(k,b,c)+this.hashValue(l,b,c))}}if(null!=a.childNodes)for(d=0;d<a.childNodes.length;d++)e=(e<<5)-e+this.hashValue(a.childNodes[d],b,c)<<0}else if(null!=a&&"function"!==typeof a){a=String(a);b=0;null!=c&&(c.byteCount+=a.length);for(d=0;d<a.length;d++)b=(b<<5)-b+a.charCodeAt(d)<<0;e^=b}return e};EditorUi.prototype.descriptorChanged=function(){};EditorUi.prototype.restoreLibraries=function(){};EditorUi.prototype.saveLibrary=\r\nfunction(a,b,c,d,f,g,m){};EditorUi.prototype.isScratchpadEnabled=function(){return isLocalStorage||mxClient.IS_CHROMEAPP};EditorUi.prototype.toggleScratchpad=function(){this.isScratchpadEnabled()&&(null==this.scratchpad?StorageFile.getFileContent(this,".scratchpad",mxUtils.bind(this,function(a){null==a&&(a=this.emptyLibraryXml);this.loadLibrary(new StorageLibrary(this,a,".scratchpad"))})):this.closeLibrary(this.scratchpad))};EditorUi.prototype.createLibraryDataFromImages=function(a){var b=mxUtils.createXmlDocument(),\r\ne=b.createElement("mxlibrary");mxUtils.setTextContent(e,JSON.stringify(a));b.appendChild(e);return mxUtils.getXml(b)};EditorUi.prototype.closeLibrary=function(a){null!=a&&(this.removeLibrarySidebar(a.getHash()),a.constructor!=LocalLibrary&&mxSettings.removeCustomLibrary(a.getHash()),".scratchpad"==a.title&&(this.scratchpad=null))};EditorUi.prototype.removeLibrarySidebar=function(a){var b=this.sidebar.palettes[a];if(null!=b){for(var e=0;e<b.length;e++)b[e].parentNode.removeChild(b[e]);delete this.sidebar.palettes[a]}};\r\nEditorUi.prototype.repositionLibrary=function(a){var b=this.sidebar.container;if(null==a){var e=this.sidebar.palettes["L.scratchpad"];null==e&&(e=this.sidebar.palettes.search);null!=e&&(a=e[e.length-1].nextSibling)}a=null!=a?a:b.firstChild.nextSibling.nextSibling;var e=b.lastChild,c=e.previousSibling;b.insertBefore(e,a);b.insertBefore(c,e)};EditorUi.prototype.loadLibrary=function(a,b){var e=mxUtils.parseXml(a.getData());if("mxlibrary"==e.documentElement.nodeName){var c=JSON.parse(mxUtils.getTextContent(e.documentElement));\r\nthis.libraryLoaded(a,c,e.documentElement.getAttribute("title"),b)}else throw{message:mxResources.get("notALibraryFile")};};EditorUi.prototype.getLibraryStorageHint=function(a){return""};EditorUi.prototype.libraryLoaded=function(a,b,c,d){if(null!=this.sidebar){a.constructor!=LocalLibrary&&mxSettings.addCustomLibrary(a.getHash());".scratchpad"==a.title&&(this.scratchpad=a);var e=this.sidebar.palettes[a.getHash()],e=null!=e?e[e.length-1].nextSibling:null;this.removeLibrarySidebar(a.getHash());var k=\r\nnull,l=mxUtils.bind(this,function(b,e){0==b.length&&a.isEditable()?(null==k&&(k=document.createElement("div"),k.className="geDropTarget",mxUtils.write(k,mxResources.get("dragElementsHere"))),e.appendChild(k)):this.addLibraryEntries(b,e)});null!=this.sidebar&&null!=b&&this.sidebar.addEntries(b);c=null!=c&&0<c.length?c:a.getTitle();var f=this.sidebar.addPalette(a.getHash(),c,null!=d?d:!0,mxUtils.bind(this,function(a){l(b,a)}));this.repositionLibrary(e);var g=f.parentNode.previousSibling;d=g.getAttribute("title");\r\nnull!=d&&0<d.length&&".scratchpad"!=a.title&&g.setAttribute("title",this.getLibraryStorageHint(a)+"\\n"+d);var n=document.createElement("div");n.style.position="absolute";n.style.right="0px";n.style.top="0px";n.style.padding="8px";n.style.backgroundColor="inherit";g.style.position="relative";var m=document.createElement("img");m.setAttribute("src",Dialog.prototype.closeImage);m.setAttribute("title",mxResources.get("close"));m.setAttribute("valign","absmiddle");m.setAttribute("border","0");m.style.cursor=\r\n"pointer";m.style.margin="0 3px";var x=null;if(".scratchpad"!=a.title||this.closableScratchpad)n.appendChild(m),mxEvent.addListener(m,"click",mxUtils.bind(this,function(b){if(!mxEvent.isConsumed(b)){var e=mxUtils.bind(this,function(){this.closeLibrary(a)});null!=x?this.confirm(mxResources.get("allChangesLost"),null,e,mxResources.get("cancel"),mxResources.get("discardChanges")):e();mxEvent.consume(b)}}));if(a.isEditable()){var A=this.editor.graph,B=null,E=mxUtils.bind(this,function(e){this.showLibraryDialog(a.getTitle(),\r\nf,b,a,a.getMode());mxEvent.consume(e)}),F=mxUtils.bind(this,function(e){a.setModified(!0);a.isAutosave()?(null!=B&&null!=B.parentNode&&B.parentNode.removeChild(B),B=m.cloneNode(!1),B.setAttribute("src",Editor.spinImage),B.setAttribute("title",mxResources.get("saving")),B.style.cursor="default",B.style.marginRight="2px",B.style.marginTop="-2px",n.insertBefore(B,n.firstChild),g.style.paddingRight=18*n.childNodes.length+"px",this.saveLibrary(a.getTitle(),b,a,a.getMode(),!0,!0,function(){null!=B&&null!=\r\nB.parentNode&&(B.parentNode.removeChild(B),g.style.paddingRight=18*n.childNodes.length+"px")})):null==x&&(x=m.cloneNode(!1),x.setAttribute("src",IMAGE_PATH+"/download.png"),x.setAttribute("title",mxResources.get("save")),n.insertBefore(x,n.firstChild),mxEvent.addListener(x,"click",mxUtils.bind(this,function(e){this.saveLibrary(a.getTitle(),b,a,a.getMode(),a.constructor==LocalLibrary,!0,function(){null==x||a.isModified()||(g.style.paddingRight=18*n.childNodes.length+"px",x.parentNode.removeChild(x),\r\nx=null)});mxEvent.consume(e)})),g.style.paddingRight=18*n.childNodes.length+"px")}),D=mxUtils.bind(this,function(a,e,c,d){a=A.cloneCells(mxUtils.sortCells(A.model.getTopmostCells(a)));for(var l=0;l<a.length;l++){var g=A.getCellGeometry(a[l]);null!=g&&g.translate(-e.x,-e.y)}f.appendChild(this.sidebar.createVertexTemplateFromCells(a,e.width,e.height,d||"",!0,!1,!1));a={xml:Graph.compress(mxUtils.getXml(this.editor.graph.encodeCells(a))),w:e.width,h:e.height};null!=d&&(a.title=d);b.push(a);F(c);null!=\r\nk&&null!=k.parentNode&&0<b.length&&(k.parentNode.removeChild(k),k=null)}),C=mxUtils.bind(this,function(a){if(A.isSelectionEmpty())A.getRubberband().isActive()?(A.getRubberband().execute(a),A.getRubberband().reset()):this.showError(mxResources.get("error"),mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var b=A.getSelectionCells(),e=A.view.getBounds(b),c=A.view.scale;e.x/=c;e.y/=c;e.width/=c;e.height/=c;e.x-=A.view.translate.x;e.y-=A.view.translate.y;D(b,e)}mxEvent.consume(a)});mxEvent.addGestureListeners(f,\r\nfunction(){},mxUtils.bind(this,function(a){A.isMouseDown&&null!=A.panningManager&&null!=A.graphHandler.first&&(A.graphHandler.suspend(),null!=A.graphHandler.hint&&(A.graphHandler.hint.style.visibility="hidden"),f.style.backgroundColor="#f1f3f4",f.style.cursor="copy",A.panningManager.stop(),A.autoScroll=!1,mxEvent.consume(a))}),mxUtils.bind(this,function(a){A.isMouseDown&&null!=A.panningManager&&null!=A.graphHandler&&(f.style.backgroundColor="",f.style.cursor="default",this.sidebar.showTooltips=!0,\r\nA.panningManager.stop(),A.graphHandler.reset(),A.isMouseDown=!1,A.autoScroll=!0,C(a),mxEvent.consume(a))}));mxEvent.addListener(f,"mouseleave",mxUtils.bind(this,function(a){A.isMouseDown&&null!=A.graphHandler.first&&(A.graphHandler.resume(),null!=A.graphHandler.hint&&(A.graphHandler.hint.style.visibility="visible"),f.style.backgroundColor="",f.style.cursor="",A.autoScroll=!0)}));Graph.fileSupport&&(mxEvent.addListener(f,"dragover",mxUtils.bind(this,function(a){f.style.backgroundColor="#f1f3f4";a.dataTransfer.dropEffect=\r\n"copy";f.style.cursor="copy";this.sidebar.hideTooltip();a.stopPropagation();a.preventDefault()})),mxEvent.addListener(f,"drop",mxUtils.bind(this,function(a){f.style.cursor="";f.style.backgroundColor="";0<a.dataTransfer.files.length&&this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(e,c,d,g,n,m,p,x,q){if(null!=e&&"image/"==c.substring(0,6))e="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;aspect=fixed;image="+this.convertDataUri(e),e=[new mxCell("",\r\nnew mxGeometry(0,0,n,m),e)],e[0].vertex=!0,D(e,new mxRectangle(0,0,n,m),a,mxEvent.isAltDown(a)?null:p.substring(0,p.lastIndexOf(".")).replace(/_/g," ")),null!=k&&null!=k.parentNode&&0<b.length&&(k.parentNode.removeChild(k),k=null);else{var u=!1,t=mxUtils.bind(this,function(e,c){if(null!=e&&"application/pdf"==c){var d=Editor.extractGraphModelFromPdf(e);null!=d&&0<d.length&&(e=d)}if(null!=e)if(d=mxUtils.parseXml(e),"mxlibrary"==d.documentElement.nodeName)try{var g=JSON.parse(mxUtils.getTextContent(d.documentElement));\r\nl(g,f);b=b.concat(g);F(a);this.spinner.stop();u=!0}catch(O){}else if("mxfile"==d.documentElement.nodeName)try{for(var n=d.documentElement.getElementsByTagName("diagram"),g=0;g<n.length;g++){var m=this.stringToCells(Editor.getDiagramNodeXml(n[g])),p=this.editor.graph.getBoundingBoxFromGeometry(m);D(m,new mxRectangle(0,0,p.width,p.height),a)}u=!0}catch(O){null!=window.console&&console.log("error in drop handler:",O)}u||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));\r\nnull!=k&&null!=k.parentNode&&0<b.length&&(k.parentNode.removeChild(k),k=null)});null!=q&&null!=p&&(/(\\.v(dx|sdx?))($|\\?)/i.test(p)||/(\\.vs(x|sx?))($|\\?)/i.test(p))?this.importVisio(q,function(a){t(a,"text/xml")},null,p):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(e,p)&&null!=q?this.parseFile(q,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?t(a.responseText,"text/xml"):this.handleError({message:mxResources.get(413==a.status?\r\n"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):t(e,c)}}));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(f,"dragleave",function(a){f.style.cursor="";f.style.backgroundColor="";a.stopPropagation();a.preventDefault()}));m=m.cloneNode(!1);m.setAttribute("src",Editor.editImage);m.setAttribute("title",mxResources.get("edit"));n.insertBefore(m,n.firstChild);mxEvent.addListener(m,"click",E);mxEvent.addListener(f,"dblclick",function(a){mxEvent.getSource(a)==\r\nf&&E(a)});d=m.cloneNode(!1);d.setAttribute("src",Editor.plusImage);d.setAttribute("title",mxResources.get("add"));n.insertBefore(d,n.firstChild);mxEvent.addListener(d,"click",C);this.isOffline()||".scratchpad"!=a.title||null==EditorUi.scratchpadHelpLink||(d=document.createElement("span"),d.setAttribute("title",mxResources.get("help")),d.style.cssText="color:#a3a3a3;text-decoration:none;margin-right:2px;",mxUtils.write(d,"?"),mxEvent.addGestureListeners(d,mxUtils.bind(this,function(a){this.openLink(EditorUi.scratchpadHelpLink);\r\nmxEvent.consume(a)})),n.insertBefore(d,n.firstChild))}g.appendChild(n);g.style.paddingRight=18*n.childNodes.length+"px"}};EditorUi.prototype.addLibraryEntries=function(a,b){for(var e=0;e<a.length;e++){var c=a[e],d=c.data;if(null!=d){var d=this.convertDataUri(d),k="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==c.aspect&&(k+="aspect=fixed;");b.appendChild(this.sidebar.createVertexTemplate(k+"image="+d,c.w,c.h,"",c.title||"",!1,!1,!0))}else null!=c.xml&&(d=this.stringToCells(Graph.decompress(c.xml)),\r\n0<d.length&&b.appendChild(this.sidebar.createVertexTemplateFromCells(d,c.w,c.h,c.title||"",!0,!1,!0)))}};EditorUi.prototype.getResource=function(a){return null!=a?a[mxLanguage]||a.main:null};EditorUi.prototype.footerHeight=0;"1"==urlParams.savesidebar&&(Sidebar.prototype.thumbWidth=64,Sidebar.prototype.thumbHeight=64);EditorUi.initTheme=function(){"atlas"==uiTheme?(mxClient.link("stylesheet",STYLE_PATH+"/atlas.css"),"undefined"!==typeof Toolbar&&(Toolbar.prototype.unselectedBackground="linear-gradient(rgb(255, 255, 255) 0px, rgb(242, 242, 242) 100%)",\r\nToolbar.prototype.selectedBackground="rgb(242, 242, 242)"),Editor.prototype.initialTopSpacing=3,EditorUi.prototype.menubarHeight=41,EditorUi.prototype.toolbarHeight=38):Editor.isDarkMode()&&(mxClient.link("stylesheet",STYLE_PATH+"/dark.css"),Dialog.backdropColor="#2a2a2a",Format.inactiveTabBackgroundColor="black",Graph.prototype.defaultThemeName="darkTheme",Graph.prototype.defaultPageBackgroundColor="#2a2a2a",Graph.prototype.defaultPageBorderColor="#505759",BaseFormatPanel.prototype.buttonBackgroundColor=\r\n"#2a2a2a",mxGraphHandler.prototype.previewColor="#cccccc",StyleFormatPanel.prototype.defaultStrokeColor="#cccccc",mxConstants.DROP_TARGET_COLOR="#00ff00");Editor.sketchFontFamily="Architects Daughter";Editor.sketchFontSource="https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter";"1"==urlParams.sketch&&(Graph.prototype.defaultVertexStyle={pointerEvents:"0",hachureGap:"4"},Graph.prototype.defaultEdgeStyle={edgeStyle:"none",rounded:"0",curved:"1",jettySize:"auto",orthogonalLoop:"1",\r\nendArrow:"open",startSize:"14",endSize:"14",sourcePerimeterSpacing:"8",targetPerimeterSpacing:"8"},"0"!=urlParams.rough&&(Graph.prototype.defaultVertexStyle.fontFamily=Editor.sketchFontFamily,Graph.prototype.defaultVertexStyle.fontSource=Editor.sketchFontSource,Graph.prototype.defaultVertexStyle.fontSize="20",Graph.prototype.defaultVertexStyle.sketch="1",Graph.prototype.defaultEdgeStyle.fontFamily=Editor.sketchFontFamily,Graph.prototype.defaultEdgeStyle.fontSource=Editor.sketchFontSource,Graph.prototype.defaultEdgeStyle.fontSize=\r\n"20",Graph.prototype.defaultEdgeStyle.sketch="1",Menus.prototype.defaultFonts=[{fontFamily:Editor.sketchFontFamily,fontUrl:decodeURIComponent(Editor.sketchFontSource)},{fontFamily:"Rock Salt",fontUrl:"https://fonts.googleapis.com/css?family=Rock+Salt"},{fontFamily:"Permanent Marker",fontUrl:"https://fonts.googleapis.com/css?family=Permanent+Marker"}].concat(Menus.prototype.defaultFonts)),Editor.configurationKey=".sketch-configuration",Editor.settingsKey=".sketch-config",Graph.prototype.defaultGridEnabled=\r\n!1,Graph.prototype.defaultPageVisible=!1,Graph.prototype.defaultEdgeLength=120,Editor.fitWindowBorders=new mxRectangle(60,30,30,30))};EditorUi.initTheme();EditorUi.prototype.showImageDialog=function(a,b,c,d,f){a=new ImageDialog(this,a,b,c,d,f);this.showDialog(a.container,Graph.fileSupport?480:360,Graph.fileSupport?200:90,!0,!0);a.init()};EditorUi.prototype.showBackgroundImageDialog=function(a,b){a=null!=a?a:mxUtils.bind(this,function(a,b){if(!b){var e=new ChangePageSetup(this,null,a);e.ignoreColor=\r\n!0;this.editor.graph.model.execute(e)}});var e=new BackgroundImageDialog(this,a,b);this.showDialog(e.container,360,200,!0,!0);e.init()};EditorUi.prototype.showLibraryDialog=function(a,b,c,d,f){a=new LibraryDialog(this,a,b,c,d,f);this.showDialog(a.container,640,440,!0,!1,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()}));a.init()};var c=EditorUi.prototype.createFormat;EditorUi.prototype.createFormat=function(a){var b=c.apply(this,arguments);this.editor.graph.addListener("viewStateChanged",\r\nmxUtils.bind(this,function(a){this.editor.graph.isSelectionEmpty()&&b.refresh()}));return b};EditorUi.prototype.createSidebarFooterContainer=function(){var a=this.createDiv("geSidebarContainer geSidebarFooter");a.style.position="absolute";a.style.overflow="hidden";var b=document.createElement("a");b.className="geTitle";b.style.color="#DF6C0C";b.style.fontWeight="bold";b.style.height="100%";b.style.paddingTop="9px";b.innerHTML=\'<span style="font-size:18px;margin-right:5px;">+</span>\';mxUtils.write(b,\r\nmxResources.get("moreShapes")+"...");mxEvent.addListener(b,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.actions.get("shapes").funct();mxEvent.consume(a)}));a.appendChild(b);return a};EditorUi.prototype.handleError=function(a,b,c,d,f,g,m){var e=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},k=null!=a&&null!=a.error?a.error:a;if(null!=a&&null!=a.stack&&\r\nnull!=a.message)try{m?null!=window.console&&console.error("EditorUi.handleError:",a):EditorUi.logError("Caught: "+(""==a.message&&null!=a.name)?a.name:a.message,a.filename,a.lineNumber,a.columnNumber,a,"INFO")}catch(B){}if(null!=k||null!=b){m=mxUtils.htmlEntities(mxResources.get("unknownError"));var l=mxResources.get("ok"),n=null;b=null!=b?b:mxResources.get("error");if(null!=k){null!=k.retry&&(l=mxResources.get("cancel"),n=function(){e();k.retry()});if(404==k.code||404==k.status||403==k.code){m=403==\r\nk.code?null!=k.message?mxUtils.htmlEntities(k.message):mxUtils.htmlEntities(mxResources.get("accessDenied")):null!=f?f:mxUtils.htmlEntities(mxResources.get("fileNotFoundOrDenied")+(null!=this.drive&&null!=this.drive.user?" ("+this.drive.user.displayName+", "+this.drive.user.email+")":""));var p=null!=f?null:null!=g?g:window.location.hash;if(null!=p&&("#G"==p.substring(0,2)||"#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D"==p.substring(0,45))&&(null!=a&&null!=a.error&&(null!=a.error.errors&&0<a.error.errors.length&&\r\n"fileAccess"==a.error.errors[0].reason||null!=a.error.data&&0<a.error.data.length&&"fileAccess"==a.error.data[0].reason)||404==k.code||404==k.status)){p="#U"==p.substring(0,2)?p.substring(45,p.lastIndexOf("%26ex")):p.substring(2);this.showError(b,m,mxResources.get("openInNewWindow"),mxUtils.bind(this,function(){this.editor.graph.openLink("https://drive.google.com/open?id="+p);this.handleError(a,b,c,d,f)}),n,mxResources.get("changeUser"),mxUtils.bind(this,function(){function a(){d.innerHTML="";for(var a=\r\n0;a<b.length;a++){var e=document.createElement("option");mxUtils.write(e,b[a].displayName);e.value=a;d.appendChild(e);e=document.createElement("option");e.innerHTML="&nbsp;&nbsp;&nbsp;";mxUtils.write(e,"<"+b[a].email+">");e.setAttribute("disabled","disabled");d.appendChild(e)}e=document.createElement("option");mxUtils.write(e,mxResources.get("addAccount"));e.value=b.length;d.appendChild(e)}var b=this.drive.getUsersList(),e=document.createElement("div"),c=document.createElement("span");c.style.marginTop=\r\n"6px";mxUtils.write(c,mxResources.get("changeUser")+": ");e.appendChild(c);var d=document.createElement("select");d.style.width="200px";a();mxEvent.addListener(d,"change",mxUtils.bind(this,function(){var e=d.value,c=b.length!=e;c&&this.drive.setUser(b[e]);this.drive.authorize(c,mxUtils.bind(this,function(){c||(b=this.drive.getUsersList(),a())}),mxUtils.bind(this,function(a){this.handleError(a)}),!0)}));e.appendChild(d);e=new CustomDialog(this,e,mxUtils.bind(this,function(){this.loadFile(window.location.hash.substr(1),\r\n!0)}));this.showDialog(e.container,300,75,!0,!0)}),mxResources.get("cancel"),mxUtils.bind(this,function(){this.hideDialog();null!=c&&c()}),480,150);return}}null!=k.message?m=""==k.message&&null!=k.name?mxUtils.htmlEntities(k.name):mxUtils.htmlEntities(k.message):null!=k.response&&null!=k.response.error?m=mxUtils.htmlEntities(k.response.error):"undefined"!==typeof window.App&&(k.code==App.ERROR_TIMEOUT?m=mxUtils.htmlEntities(mxResources.get("timeout")):k.code==App.ERROR_BUSY?m=mxUtils.htmlEntities(mxResources.get("busy")):\r\n"string"===typeof k&&0<k.length&&(m=mxUtils.htmlEntities(k)))}var q=g=null;null!=k&&null!=k.helpLink&&(g=mxResources.get("help"),q=mxUtils.bind(this,function(){return this.editor.graph.openLink(k.helpLink)}));this.showError(b,m,l,c,n,null,null,g,q,null,null,null,d?c:null)}else null!=c&&c()};EditorUi.prototype.alert=function(a,b,c){a=new ErrorDialog(this,null,a,mxResources.get("ok"),b);this.showDialog(a.container,c||340,100,!0,!1);a.init()};EditorUi.prototype.confirm=function(a,b,c,d,f,g){var e=null!=\r\nthis.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},k=Math.min(200,28*Math.ceil(a.length/50));a=new ConfirmDialog(this,a,function(){e();null!=b&&b()},function(){e();null!=c&&c()},d,f,null,null,null,null,k);this.showDialog(a.container,340,46+k,!0,g);a.init()};EditorUi.prototype.showBanner=function(a,b,c,d){var e=!1;if(!(this.bannerShowing||this["hideBanner"+a]||isLocalStorage&&null!=mxSettings.settings&&null!=mxSettings.settings["close"+a])){var k=document.createElement("div");\r\nk.style.cssText="position:absolute;bottom:10px;left:50%;max-width:90%;padding:18px 34px 12px 20px;font-size:16px;font-weight:bold;white-space:nowrap;cursor:pointer;z-index:"+mxPopupMenu.prototype.zIndex+";";mxUtils.setPrefixedStyle(k.style,"box-shadow","1px 1px 2px 0px #ddd");mxUtils.setPrefixedStyle(k.style,"transform","translate(-50%,120%)");mxUtils.setPrefixedStyle(k.style,"transition","all 1s ease");k.className="geBtn gePrimaryBtn";e=document.createElement("img");e.setAttribute("src",IMAGE_PATH+\r\n"/logo.png");e.setAttribute("border","0");e.setAttribute("align","absmiddle");e.style.cssText="margin-top:-4px;margin-left:8px;margin-right:12px;width:26px;height:26px;";k.appendChild(e);e=document.createElement("img");e.setAttribute("src",Dialog.prototype.closeImage);e.setAttribute("title",mxResources.get(d?"doNotShowAgain":"close"));e.setAttribute("border","0");e.style.cssText="position:absolute;right:10px;top:12px;filter:invert(1);padding:6px;margin:-6px;cursor:default;";k.appendChild(e);mxUtils.write(k,\r\nb);document.body.appendChild(k);this.bannerShowing=!0;b=document.createElement("div");b.style.cssText="font-size:11px;text-align:center;font-weight:normal;";var f=document.createElement("input");f.setAttribute("type","checkbox");f.setAttribute("id","geDoNotShowAgainCheckbox");f.style.marginRight="6px";if(!d){b.appendChild(f);var l=document.createElement("label");l.setAttribute("for","geDoNotShowAgainCheckbox");mxUtils.write(l,mxResources.get("doNotShowAgain"));b.appendChild(l);k.style.paddingBottom=\r\n"30px";k.appendChild(b)}var g=mxUtils.bind(this,function(){null!=k.parentNode&&(k.parentNode.removeChild(k),this.bannerShowing=!1,f.checked||d)&&(this["hideBanner"+a]=!0,isLocalStorage&&null!=mxSettings.settings&&(mxSettings.settings["close"+a]=Date.now(),mxSettings.save()))});mxEvent.addListener(e,"click",mxUtils.bind(this,function(a){mxEvent.consume(a);g()}));var n=mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(k.style,"transform","translate(-50%,120%)");window.setTimeout(mxUtils.bind(this,\r\nfunction(){g()}),1E3)});mxEvent.addListener(k,"click",mxUtils.bind(this,function(a){var b=mxEvent.getSource(a);b!=f&&b!=l?(null!=c&&c(),g(),mxEvent.consume(a)):n()}));window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(k.style,"transform","translate(-50%,0%)")}),500);window.setTimeout(n,3E4);e=!0}return e};EditorUi.prototype.setCurrentFile=function(a){null!=a&&(a.opened=new Date);this.currentFile=a};EditorUi.prototype.getCurrentFile=function(){return this.currentFile};EditorUi.prototype.isExportToCanvas=\r\nfunction(){return this.editor.isExportToCanvas()};EditorUi.prototype.createImageDataUri=function(a,b,c,d){a=a.toDataURL("image/"+c);if(null!=a&&6<a.length)null!=b&&(a=Editor.writeGraphModelToPng(a,"tEXt","mxfile",encodeURIComponent(b))),0<d&&(a=Editor.writeGraphModelToPng(a,"pHYs","dpi",d));else throw{message:mxResources.get("unknownError")};return a};EditorUi.prototype.saveCanvas=function(a,b,c,d,f){var e="jpeg"==c?"jpg":c;d=this.getBaseFilename(d)+"."+e;a=this.createImageDataUri(a,b,c,f);this.saveData(d,\r\ne,a.substring(a.lastIndexOf(",")+1),"image/"+c,!0)};EditorUi.prototype.isLocalFileSave=function(){return"remote"!=urlParams.save&&(mxClient.IS_IE||"undefined"!==typeof window.Blob&&"undefined"!==typeof window.URL)&&9!=document.documentMode&&8!=document.documentMode&&7!=document.documentMode||this.isOfflineApp()||mxClient.IS_IOS};EditorUi.prototype.showTextDialog=function(a,b){var e=new TextareaDialog(this,a,b,null,null,mxResources.get("close"));e.textarea.style.width="600px";e.textarea.style.height=\r\n"380px";this.showDialog(e.container,620,460,!0,!0,null,null,null,null,!0);e.init();document.execCommand("selectall",!1,null)};EditorUi.prototype.doSaveLocalFile=function(a,b,c,d,f,g){"text/xml"!=c||/(\\.drawio)$/i.test(b)||/(\\.xml)$/i.test(b)||/(\\.svg)$/i.test(b)||/(\\.html)$/i.test(b)||(b=b+"."+(null!=g?g:"drawio"));if(window.Blob&&navigator.msSaveOrOpenBlob)a=d?this.base64ToBlob(a,c):new Blob([a],{type:c}),navigator.msSaveOrOpenBlob(a,b);else if(mxClient.IS_IE)c=window.open("about:blank","_blank"),\r\nnull==c?mxUtils.popup(a,!0):(c.document.write(a),c.document.close(),c.document.execCommand("SaveAs",!0,b),c.close());else if(mxClient.IS_IOS&&this.isOffline())navigator.standalone||null==c||"image/"!=c.substring(0,6)?this.showTextDialog(b+":",a):this.openInNewWindow(a,c,d);else{var e=document.createElement("a");g=(null==navigator.userAgent||0>navigator.userAgent.indexOf("PaleMoon/"))&&"undefined"!==typeof e.download;if(mxClient.IS_GC&&null!=navigator.userAgent){var k=navigator.userAgent.match(/Chrom(e|ium)\\/([0-9]+)\\./);\r\ng=65==(k?parseInt(k[2],10):!1)?!1:g}if(g||this.isOffline()){e.href=URL.createObjectURL(d?this.base64ToBlob(a,c):new Blob([a],{type:c}));g?e.download=b:e.setAttribute("target","_blank");document.body.appendChild(e);try{window.setTimeout(function(){URL.revokeObjectURL(e.href)},2E4),e.click(),e.parentNode.removeChild(e)}catch(v){}}else this.createEchoRequest(a,b,c,d,f).simulate(document,"_blank")}};EditorUi.prototype.createEchoRequest=function(a,b,c,d,f,g){a="xml="+encodeURIComponent(a);return new mxXmlRequest(SAVE_URL,\r\na+(null!=c?"&mime="+c:"")+(null!=f?"&format="+f:"")+(null!=g?"&base64="+g:"")+(null!=b?"&filename="+encodeURIComponent(b):"")+(d?"&binary=1":""))};EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";for(var e=atob(a),c=e.length,d=Math.ceil(c/1024),k=Array(d),f=0;f<d;++f){for(var g=1024*f,m=Math.min(g+1024,c),z=Array(m-g),y=0;g<m;++y,++g)z[y]=e[g].charCodeAt(0);k[f]=new Uint8Array(z)}return new Blob(k,{type:b})};EditorUi.prototype.saveLocalFile=function(a,b,c,d,f,g,m,t){g=null!=g?g:!1;m=null!=m?\r\nm:"vsdx"!=f&&(!mxClient.IS_IOS||!navigator.standalone);f=this.getServiceCount(g);isLocalStorage&&f++;var e=4>=f?2:6<f?4:3;b=new CreateDialog(this,b,mxUtils.bind(this,function(b,e){try{if("_blank"==e)if(null!=c&&"image/"==c.substring(0,6))this.openInNewWindow(a,c,d);else if(null!=c&&"text/html"==c.substring(0,9)){var k=new EmbedDialog(this,a);this.showDialog(k.container,440,240,!0,!0);k.init()}else{var f=window.open("about:blank");null==f?mxUtils.popup(a,!0):(f.document.write("<pre>"+mxUtils.htmlEntities(a,\r\n!1)+"</pre>"),f.document.close())}else e==App.MODE_DEVICE||"download"==e?this.doSaveLocalFile(a,b,c,d,null,t):null!=b&&0<b.length&&this.pickFolder(e,mxUtils.bind(this,function(k){try{this.exportFile(a,b,c,d,e,k)}catch(E){this.handleError(E)}}))}catch(B){this.handleError(B)}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,g,m,null,1<f,e,a,c,d);g=this.isServices(f)?f>e?390:270:160;this.showDialog(b.container,400,g,!0,!0);b.init()};EditorUi.prototype.openInNewWindow=\r\nfunction(a,b,c){var e=window.open("about:blank");null==e||null==e.document?mxUtils.popup(a,!0):("image/svg+xml"!=b||mxClient.IS_SVG?"image/svg+xml"==b?e.document.write("<html>"+a+"</html>"):(a=c?a:btoa(unescape(encodeURIComponent(a))),e.document.write(\'<html><img style="max-width:100%;" src="data:\'+b+";base64,"+a+\'"/></html>\')):e.document.write("<html><pre>"+mxUtils.htmlEntities(a,!1)+"</pre></html>"),e.document.close())};var b=EditorUi.prototype.addChromelessToolbarItems;EditorUi.prototype.isChromelessImageExportEnabled=\r\nfunction(){return"draw.io"!=this.getServiceName()||/.*\\.draw\\.io$/.test(window.location.hostname)||/.*\\.diagrams\\.net$/.test(window.location.hostname)};EditorUi.prototype.addChromelessToolbarItems=function(a){if(this.isExportToCanvas()&&this.isChromelessImageExportEnabled()){this.exportDialog=null;var e=a(mxUtils.bind(this,function(a){var b=mxUtils.bind(this,function(){mxEvent.removeListener(this.editor.graph.container,"click",b);null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),\r\nthis.exportDialog=null)});if(null!=this.exportDialog)b.apply(this);else{this.exportDialog=document.createElement("div");var c=e.getBoundingClientRect();mxUtils.setPrefixedStyle(this.exportDialog.style,"borderRadius","5px");this.exportDialog.style.position="fixed";this.exportDialog.style.textAlign="center";this.exportDialog.style.fontFamily="Helvetica,Arial";this.exportDialog.style.backgroundColor="#000000";this.exportDialog.style.width="50px";this.exportDialog.style.height="50px";this.exportDialog.style.padding=\r\n"4px 2px 4px 2px";this.exportDialog.style.color="#ffffff";mxUtils.setOpacity(this.exportDialog,70);this.exportDialog.style.left=c.left+"px";this.exportDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+this.chromelessToolbar.offsetHeight+4+"px";c=mxUtils.getCurrentStyle(this.editor.graph.container);this.exportDialog.style.zIndex=c.zIndex;var d=new Spinner({lines:8,length:6,width:5,radius:6,rotate:0,color:"#fff",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"28px",zIndex:2E9});d.spin(this.exportDialog);\r\nthis.editor.exportToCanvas(mxUtils.bind(this,function(a){d.stop();this.exportDialog.style.width="auto";this.exportDialog.style.height="auto";this.exportDialog.style.padding="10px";var e=this.createImageDataUri(a,null,"png");a=document.createElement("img");a.style.maxWidth="140px";a.style.maxHeight="140px";a.style.cursor="pointer";a.style.backgroundColor="white";a.setAttribute("title",mxResources.get("openInNewWindow"));a.setAttribute("border","0");a.setAttribute("src",e);this.exportDialog.appendChild(a);\r\nmxEvent.addListener(a,"click",mxUtils.bind(this,function(){this.openInNewWindow(e.substring(e.indexOf(",")+1),"image/png",!0);b.apply(this,arguments)}))}),null,this.thumbImageCache,null,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),null,null,null,null,null,null,null,Editor.defaultBorder);mxEvent.addListener(this.editor.graph.container,"click",b);document.body.appendChild(this.exportDialog)}mxEvent.consume(a)}),Editor.cameraLargeImage,mxResources.get("export"))}b.apply(this,\r\narguments)};EditorUi.prototype.saveData=function(a,b,c,d,f){this.isLocalFileSave()?this.saveLocalFile(c,a,d,f,b):this.saveRequest(a,b,mxUtils.bind(this,function(a,e){return this.createEchoRequest(c,a,d,f,b,e)}),c,f,d)};EditorUi.prototype.saveRequest=function(a,b,c,d,f,g,m){m=null!=m?m:!mxClient.IS_IOS||!navigator.standalone;var e=this.getServiceCount(!1);isLocalStorage&&e++;var k=4>=e?2:6<e?4:3;a=new CreateDialog(this,a,mxUtils.bind(this,function(a,e){if("_blank"==e||null!=a&&0<a.length){var k=c("_blank"==\r\ne?null:a,e==App.MODE_DEVICE||"download"==e||null==e||"_blank"==e?"0":"1");null!=k&&(e==App.MODE_DEVICE||"download"==e||"_blank"==e?k.simulate(document,"_blank"):this.pickFolder(e,mxUtils.bind(this,function(c){g=null!=g?g:"pdf"==b?"application/pdf":"image/"+b;if(null!=d)try{this.exportFile(d,a,g,!0,e,c)}catch(B){this.handleError(B)}else this.spinner.spin(document.body,mxResources.get("saving"))&&k.send(mxUtils.bind(this,function(){this.spinner.stop();if(200<=k.getStatus()&&299>=k.getStatus())try{this.exportFile(k.getText(),\r\na,g,!0,e,c)}catch(B){this.handleError(B)}else this.handleError({message:mxResources.get("errorSavingFile")})}),function(a){this.spinner.stop();this.handleError(a)})})))}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,!1,m,null,1<e,k,d,g,f);e=this.isServices(e)?4<e?390:270:160;this.showDialog(a.container,380,e,!0,!0);a.init()};EditorUi.prototype.isServices=function(a){return 1!=a};EditorUi.prototype.getEditBlankXml=function(){return this.getFileData(!0)};\r\nEditorUi.prototype.exportFile=function(a,b,c,d,f,g){};EditorUi.prototype.pickFolder=function(a,b,c){b(null)};EditorUi.prototype.exportSvg=function(a,b,c,d,f,g,m,t,v,z,y,x){if(this.spinner.spin(document.body,mxResources.get("export")))try{var e=this.editor.graph.isSelectionEmpty();c=null!=c?c:e;var k=b?null:this.editor.graph.background;k==mxConstants.NONE&&(k=null);null==k&&0==b&&(k=y?this.editor.graph.defaultPageBackgroundColor:"#ffffff");var l=this.editor.graph.getSvg(k,a,m,t,null,c,null,null,"blank"==\r\nz?"_blank":"self"==z?"_top":null,null,!0,y,x);d&&this.editor.graph.addSvgShadow(l);var n=this.getBaseFilename()+".svg",p=mxUtils.bind(this,function(a){this.spinner.stop();f&&a.setAttribute("content",this.getFileData(!0,null,null,null,c,v,null,null,null,!1));var b=\'<?xml version="1.0" encoding="UTF-8"?>\\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\\n\'+mxUtils.getXml(a);this.isLocalFileSave()||b.length<=MAX_REQUEST_SIZE?this.saveData(n,"svg",b,"image/svg+xml"):\r\nthis.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(b)}))});this.editor.addFontCss(l);this.editor.graph.mathEnabled&&this.editor.addMathCss(l);g?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.editor.convertImages(l,p,this.thumbImageCache)):p(l)}catch(C){this.handleError(C)}};EditorUi.prototype.addRadiobox=function(a,b,c,d,f,g,m){return this.addCheckbox(a,c,d,f,g,m,!0,b)};EditorUi.prototype.addCheckbox=function(a,\r\nb,c,d,f,g,m,t){g=null!=g?g:!0;var e=document.createElement("input");e.style.marginRight="8px";e.style.marginTop="16px";e.setAttribute("type",m?"radio":"checkbox");m="geCheckbox-"+Editor.guid();e.id=m;null!=t&&e.setAttribute("name",t);c&&(e.setAttribute("checked","checked"),e.defaultChecked=!0);d&&e.setAttribute("disabled","disabled");g&&(a.appendChild(e),c=document.createElement("label"),mxUtils.write(c,b),c.setAttribute("for",m),a.appendChild(c),f||mxUtils.br(a));return e};EditorUi.prototype.addEditButton=\r\nfunction(a,b){var e=this.addCheckbox(a,mxResources.get("edit")+":",!0,null,!0);e.style.marginLeft="24px";var c=this.getCurrentFile(),d="";null!=c&&c.getMode()!=App.MODE_DEVICE&&c.getMode()!=App.MODE_BROWSER&&(d=window.location.href);var k=document.createElement("select");k.style.width="120px";k.style.marginLeft="8px";k.style.marginRight="10px";k.className="geBtn";c=document.createElement("option");c.setAttribute("value","blank");mxUtils.write(c,mxResources.get("makeCopy"));k.appendChild(c);c=document.createElement("option");\r\nc.setAttribute("value","custom");mxUtils.write(c,mxResources.get("custom")+"...");k.appendChild(c);a.appendChild(k);mxEvent.addListener(k,"change",mxUtils.bind(this,function(){if("custom"==k.value){var a=new FilenameDialog(this,d,mxResources.get("ok"),function(a){null!=a?d=a:k.value="blank"},mxResources.get("url"),null,null,null,null,function(){k.value="blank"});this.showDialog(a.container,300,80,!0,!1);a.init()}}));mxEvent.addListener(e,"change",mxUtils.bind(this,function(){e.checked&&(null==b||\r\nb.checked)?k.removeAttribute("disabled"):k.setAttribute("disabled","disabled")}));mxUtils.br(a);return{getLink:function(){return e.checked?"blank"===k.value?"_blank":d:null},getEditInput:function(){return e},getEditSelect:function(){return k}}};EditorUi.prototype.addLinkSection=function(a,b){function e(){f.innerHTML=\'<div style="width:100%;height:100%;box-sizing:border-box;\'+(null!=k&&k!=mxConstants.NONE?"border:1px solid black;background-color:"+k:"background-position:center center;background-repeat:no-repeat;background-image:url(\'"+\r\nDialog.prototype.closeImage+"\')")+\';"></div>\'}mxUtils.write(a,mxResources.get("links")+":");var c=document.createElement("select");c.style.width="100px";c.style.marginLeft="8px";c.style.marginRight="10px";c.className="geBtn";var d=document.createElement("option");d.setAttribute("value","auto");mxUtils.write(d,mxResources.get("automatic"));c.appendChild(d);d=document.createElement("option");d.setAttribute("value","blank");mxUtils.write(d,mxResources.get("openInNewWindow"));c.appendChild(d);d=document.createElement("option");\r\nd.setAttribute("value","self");mxUtils.write(d,mxResources.get("openInThisWindow"));c.appendChild(d);b&&(d=document.createElement("option"),d.setAttribute("value","frame"),mxUtils.write(d,mxResources.get("openInThisWindow")+" ("+mxResources.get("iframe")+")"),c.appendChild(d));a.appendChild(c);mxUtils.write(a,mxResources.get("borderColor")+":");var k="#0000ff",f=null,f=mxUtils.button("",mxUtils.bind(this,function(a){this.pickColor(k||"none",function(a){k=a;e()});mxEvent.consume(a)}));e();f.style.padding=\r\nmxClient.IS_FF?"4px 2px 4px 2px":"4px";f.style.marginLeft="4px";f.style.height="22px";f.style.width="22px";f.style.position="relative";f.style.top=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE?"6px":"1px";f.className="geColorBtn";a.appendChild(f);mxUtils.br(a);return{getColor:function(){return k},getTarget:function(){return c.value},focus:function(){c.focus()}}};EditorUi.prototype.createUrlParameters=function(a,b,c,d,f,g,m){m=null!=m?m:[];d&&("https://viewer.diagrams.net"==EditorUi.lightboxHost&&\r\n"1"!=urlParams.dev||m.push("lightbox=1"),"auto"!=a&&m.push("target="+a),null!=b&&b!=mxConstants.NONE&&m.push("highlight="+("#"==b.charAt(0)?b.substring(1):b)),null!=f&&0<f.length&&m.push("edit="+encodeURIComponent(f)),g&&m.push("layers=1"),this.editor.graph.foldingEnabled&&m.push("nav=1"));c&&null!=this.currentPage&&null!=this.pages&&this.currentPage!=this.pages[0]&&m.push("page-id="+this.currentPage.getId());return m};EditorUi.prototype.createLink=function(a,b,c,d,f,g,m,t,v,z){v=this.createUrlParameters(a,\r\nb,c,d,f,g,v);a=this.getCurrentFile();b=!0;null!=m?c="#U"+encodeURIComponent(m):(a=this.getCurrentFile(),t||null==a||a.constructor!=window.DriveFile?c="#R"+encodeURIComponent(c?this.getFileData(!0,null,null,null,null,null,null,!0,null,!1):Graph.compress(mxUtils.getXml(this.editor.getGraphXml()))):(c="#"+a.getHash(),b=!1));b&&null!=a&&null!=a.getTitle()&&a.getTitle()!=this.defaultFilename&&v.push("title="+encodeURIComponent(a.getTitle()));z&&1<c.length&&(v.push("open="+c.substring(1)),c="");return(d&&\r\n"1"!=urlParams.dev?EditorUi.lightboxHost:mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||!/.*\\.draw\\.io$/.test(window.location.hostname)?EditorUi.drawHost:"https://"+window.location.host)+"/"+(0<v.length?"?"+v.join("&"):"")+c};EditorUi.prototype.createHtml=function(a,b,c,d,f,g,m,t,v,z,y){this.getBasenames();var e={};""!=f&&f!=mxConstants.NONE&&(e.highlight=f);"auto"!==d&&(e.target=d);v||(e.lightbox=!1);e.nav=this.editor.graph.foldingEnabled;c=parseInt(c);isNaN(c)||100==c||(e.zoom=c/100);c=[];m&&(c.push("pages"),\r\ne.resize=!0,null!=this.pages&&null!=this.currentPage&&(e.page=mxUtils.indexOf(this.pages,this.currentPage)));b&&(c.push("zoom"),e.resize=!0);t&&c.push("layers");0<c.length&&(v&&c.push("lightbox"),e.toolbar=c.join(" "));null!=z&&0<z.length&&(e.edit=z);null!=a?e.url=a:e.xml=this.getFileData(!0,null,null,null,null,!m);b=\'<div class="mxgraph" style="\'+(g?"max-width:100%;":"")+(""!=c?"border:1px solid transparent;":"")+\'" data-mxgraph="\'+mxUtils.htmlEntities(JSON.stringify(e))+\'"></div>\';a=null!=a?"&fetch="+\r\nencodeURIComponent(a):"";y(b,\'<script type="text/javascript" src="\'+(0<a.length?("1"==urlParams.dev?"https://test.draw.io/embed2.js?dev=1":EditorUi.lightboxHost+"/embed2.js?")+a:"1"==urlParams.dev?"https://test.draw.io/js/viewer-static.min.js":window.VIEWER_URL?window.VIEWER_URL:EditorUi.lightboxHost+"/js/viewer-static.min.js")+\'">\\x3c/script>\')};EditorUi.prototype.showHtmlDialog=function(a,b,c,d){var e=document.createElement("div");e.style.whiteSpace="nowrap";var k=document.createElement("h3");mxUtils.write(k,\r\nmxResources.get("html"));k.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";e.appendChild(k);var f=document.createElement("div");f.style.cssText="border-bottom:1px solid lightGray;padding-bottom:8px;margin-bottom:12px;";var g=document.createElement("input");g.style.cssText="margin-right:8px;margin-top:8px;margin-bottom:8px;";g.setAttribute("value","url");g.setAttribute("type","radio");g.setAttribute("name","type-embedhtmldialog");k=g.cloneNode(!0);k.setAttribute("value",\r\n"copy");f.appendChild(k);var l=document.createElement("span");mxUtils.write(l,mxResources.get("includeCopyOfMyDiagram"));f.appendChild(l);mxUtils.br(f);f.appendChild(g);l=document.createElement("span");mxUtils.write(l,mxResources.get("publicDiagramUrl"));f.appendChild(l);var m=this.getCurrentFile();null==c&&null!=m&&m.constructor==window.DriveFile&&(l=document.createElement("a"),l.style.paddingLeft="12px",l.style.color="gray",l.style.cursor="pointer",mxUtils.write(l,mxResources.get("share")),f.appendChild(l),\r\nmxEvent.addListener(l,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(m.getId())})));k.setAttribute("checked","checked");null==c&&g.setAttribute("disabled","disabled");e.appendChild(f);var n=this.addLinkSection(e),x=this.addCheckbox(e,mxResources.get("zoom"),!0,null,!0);mxUtils.write(e,":");var A=document.createElement("input");A.setAttribute("type","text");A.style.marginRight="16px";A.style.width="60px";A.style.marginLeft="4px";A.style.marginRight="12px";A.value=\r\n"100%";e.appendChild(A);var B=this.addCheckbox(e,mxResources.get("fit"),!0),f=null!=this.pages&&1<this.pages.length,E=E=this.addCheckbox(e,mxResources.get("allPages"),f,!f),F=this.addCheckbox(e,mxResources.get("layers"),!0),D=this.addCheckbox(e,mxResources.get("lightbox"),!0),C=this.addEditButton(e,D),G=C.getEditInput();G.style.marginBottom="16px";mxEvent.addListener(D,"change",function(){D.checked?G.removeAttribute("disabled"):G.setAttribute("disabled","disabled");G.checked&&D.checked?C.getEditSelect().removeAttribute("disabled"):\r\nC.getEditSelect().setAttribute("disabled","disabled")});a=new CustomDialog(this,e,mxUtils.bind(this,function(){d(g.checked?c:null,x.checked,A.value,n.getTarget(),n.getColor(),B.checked,E.checked,F.checked,D.checked,C.getLink())}),null,a,b);this.showDialog(a.container,340,384,!0,!0);k.focus()};EditorUi.prototype.showPublishLinkDialog=function(a,b,c,d,f,g){var e=document.createElement("div");e.style.whiteSpace="nowrap";var k=document.createElement("h3");mxUtils.write(k,a||mxResources.get("link"));k.style.cssText=\r\n"width:100%;text-align:center;margin-top:0px;margin-bottom:12px";e.appendChild(k);var l=this.getCurrentFile(),k="https://www.diagrams.net/doc/faq/publish-diagram-as-link";a=0;if(null!=l&&l.constructor==window.DriveFile&&!b){a=80;var k="https://www.diagrams.net/doc/faq/google-drive-publicly-publish-diagram",m=document.createElement("div");m.style.cssText="border-bottom:1px solid lightGray;padding-bottom:14px;padding-top:6px;margin-bottom:14px;text-align:center;";var n=document.createElement("div");\r\nn.style.whiteSpace="normal";mxUtils.write(n,mxResources.get("linkAccountRequired"));m.appendChild(n);n=mxUtils.button(mxResources.get("share"),mxUtils.bind(this,function(){this.drive.showPermissions(l.getId())}));n.style.marginTop="12px";n.className="geBtn";m.appendChild(n);e.appendChild(m);n=document.createElement("a");n.style.paddingLeft="12px";n.style.color="gray";n.style.fontSize="11px";n.style.cursor="pointer";mxUtils.write(n,mxResources.get("check"));m.appendChild(n);mxEvent.addListener(n,"click",\r\nmxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(this,function(a){this.spinner.stop();a=new ErrorDialog(this,null,mxResources.get(null!=a?"diagramIsPublic":"diagramIsNotPublic"),mxResources.get("ok"));this.showDialog(a.container,300,80,!0,!1);a.init()}))}))}var p=null,q=null;if(null!=c||null!=d)a+=30,mxUtils.write(e,mxResources.get("width")+":"),p=document.createElement("input"),p.setAttribute("type","text"),\r\np.style.marginRight="16px",p.style.width="50px",p.style.marginLeft="6px",p.style.marginRight="16px",p.style.marginBottom="10px",p.value="100%",e.appendChild(p),mxUtils.write(e,mxResources.get("height")+":"),q=document.createElement("input"),q.setAttribute("type","text"),q.style.width="50px",q.style.marginLeft="6px",q.style.marginBottom="10px",q.value=d+"px",e.appendChild(q),mxUtils.br(e);var B=this.addLinkSection(e,g);c=null!=this.pages&&1<this.pages.length;var E=null;if(null==l||l.constructor!=window.DriveFile||\r\nb)E=this.addCheckbox(e,mxResources.get("allPages"),c,!c);var F=this.addCheckbox(e,mxResources.get("lightbox"),!0,null,null,!g),D=this.addEditButton(e,F),C=D.getEditInput();g&&(C.style.marginLeft=F.style.marginLeft,F.style.display="none",a-=30);var G=this.addCheckbox(e,mxResources.get("layers"),!0);G.style.marginLeft=C.style.marginLeft;G.style.marginBottom="16px";G.style.marginTop="8px";mxEvent.addListener(F,"change",function(){F.checked?(G.removeAttribute("disabled"),C.removeAttribute("disabled")):\r\n(G.setAttribute("disabled","disabled"),C.setAttribute("disabled","disabled"));C.checked&&F.checked?D.getEditSelect().removeAttribute("disabled"):D.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,e,mxUtils.bind(this,function(){f(B.getTarget(),B.getColor(),null==E?!0:E.checked,F.checked,D.getLink(),G.checked,null!=p?p.value:null,null!=q?q.value:null)}),null,mxResources.get("create"),k);this.showDialog(b.container,340,254+a,!0,!0);null!=p?(p.focus(),mxClient.IS_GC||mxClient.IS_FF||\r\n5<=document.documentMode?p.select():document.execCommand("selectAll",!1,null)):B.focus()};EditorUi.prototype.showRemoteExportDialog=function(a,b,c,d,f){var e=document.createElement("div");e.style.whiteSpace="nowrap";var k=document.createElement("h3");mxUtils.write(k,mxResources.get("image"));k.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:"+(f?"10":"4")+"px";e.appendChild(k);if(f){mxUtils.write(e,mxResources.get("zoom")+":");var g=document.createElement("input");g.setAttribute("type",\r\n"text");g.style.marginRight="16px";g.style.width="60px";g.style.marginLeft="4px";g.style.marginRight="12px";g.value=this.lastExportZoom||"100%";e.appendChild(g);mxUtils.write(e,mxResources.get("borderWidth")+":");var l=document.createElement("input");l.setAttribute("type","text");l.style.marginRight="16px";l.style.width="60px";l.style.marginLeft="4px";l.value=this.lastExportBorder||"0";e.appendChild(l);mxUtils.br(e)}var m=this.addCheckbox(e,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),\r\nn=d?null:this.addCheckbox(e,mxResources.get("includeCopyOfMyDiagram"),!0),k=this.editor.graph,p=d?null:this.addCheckbox(e,mxResources.get("transparentBackground"),k.background==mxConstants.NONE||null==k.background);null!=p&&(p.style.marginBottom="16px");a=new CustomDialog(this,e,mxUtils.bind(this,function(){var a=parseInt(g.value)/100||1,b=parseInt(l.value)||0;c(!m.checked,null!=n?n.checked:!1,null!=p?p.checked:!1,a,b)}),null,a,b);this.showDialog(a.container,300,(f?25:0)+(d?125:210),!0,!0)};EditorUi.prototype.showExportDialog=\r\nfunction(a,b,c,d,f,g,m,t,v){m=null!=m?m:!0;var e=document.createElement("div");e.style.whiteSpace="nowrap";var k=this.editor.graph,l="jpeg"==t?196:300,n=document.createElement("h3");mxUtils.write(n,a);n.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:10px";e.appendChild(n);mxUtils.write(e,mxResources.get("zoom")+":");var p=document.createElement("input");p.setAttribute("type","text");p.style.marginRight="16px";p.style.width="60px";p.style.marginLeft="4px";p.style.marginRight=\r\n"12px";p.value=this.lastExportZoom||"100%";e.appendChild(p);mxUtils.write(e,mxResources.get("borderWidth")+":");var q=document.createElement("input");q.setAttribute("type","text");q.style.marginRight="16px";q.style.width="60px";q.style.marginLeft="4px";q.value=this.lastExportBorder||"0";e.appendChild(q);mxUtils.br(e);var u=this.addCheckbox(e,mxResources.get("selectionOnly"),!1,k.isSelectionEmpty()),D=document.createElement("input");D.style.marginTop="16px";D.style.marginRight="8px";D.style.marginLeft=\r\n"24px";D.setAttribute("disabled","disabled");D.setAttribute("type","checkbox");var C=document.createElement("select");C.style.marginTop="16px";C.style.marginLeft="8px";a=["selectionOnly","diagram","page"];for(n=0;n<a.length;n++)if(!k.isSelectionEmpty()||"selectionOnly"!=a[n]){var G=document.createElement("option");mxUtils.write(G,mxResources.get(a[n]));G.setAttribute("value",a[n]);C.appendChild(G)}v?(mxUtils.write(e,mxResources.get("size")+":"),e.appendChild(C),mxUtils.br(e),l+=26,mxEvent.addListener(C,\r\n"change",function(){"selectionOnly"==C.value&&(u.checked=!0)})):g&&(e.appendChild(D),mxUtils.write(e,mxResources.get("crop")),mxUtils.br(e),l+=26,mxEvent.addListener(u,"change",function(){u.checked?D.removeAttribute("disabled"):D.setAttribute("disabled","disabled")}));k.isSelectionEmpty()?v&&(u.style.display="none",u.nextSibling.style.display="none",u.nextSibling.nextSibling.style.display="none",l-=26):(C.value="diagram",D.setAttribute("checked","checked"),D.defaultChecked=!0,mxEvent.addListener(u,\r\n"change",function(){C.value=u.checked?"selectionOnly":"diagram"}));var K=this.addCheckbox(e,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=t),M=null;Editor.isDarkMode()&&(M=this.addCheckbox(e,mxResources.get("dark"),!0),l+=26);var J=this.addCheckbox(e,mxResources.get("shadow"),k.shadowVisible),I=document.createElement("input");I.style.marginTop="16px";I.style.marginRight="8px";I.setAttribute("type","checkbox");!this.isOffline()&&this.canvasSupported||I.setAttribute("disabled","disabled");\r\nb&&(e.appendChild(I),mxUtils.write(e,mxResources.get("embedImages")),mxUtils.br(e),l+=26);var N=null;if("png"==t||"jpeg"==t)N=this.addCheckbox(e,mxResources.get("grid"),!1,this.isOffline()||!this.canvasSupported,!1,!0),l+=26;var H=this.addCheckbox(e,mxResources.get("includeCopyOfMyDiagram"),m,null,null,"jpeg"!=t);H.style.marginBottom="16px";var L=document.createElement("select");L.style.maxWidth="260px";L.style.marginLeft="8px";L.style.marginRight="10px";L.className="geBtn";b=document.createElement("option");\r\nb.setAttribute("value","auto");mxUtils.write(b,mxResources.get("automatic"));L.appendChild(b);b=document.createElement("option");b.setAttribute("value","blank");mxUtils.write(b,mxResources.get("openInNewWindow"));L.appendChild(b);b=document.createElement("option");b.setAttribute("value","self");mxUtils.write(b,mxResources.get("openInThisWindow"));L.appendChild(b);"svg"==t&&(mxUtils.write(e,mxResources.get("links")+":"),e.appendChild(L),mxUtils.br(e),mxUtils.br(e),l+=26);c=new CustomDialog(this,e,\r\nmxUtils.bind(this,function(){this.lastExportBorder=q.value;this.lastExportZoom=p.value;f(p.value,K.checked,!u.checked,J.checked,H.checked,I.checked,q.value,D.checked,!1,L.value,null!=N?N.checked:null,null!=M?M.checked:null,C.value)}),null,c,d);this.showDialog(c.container,340,l,!0,!0,null,null,null,null,!0);p.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?p.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(a,b,c,d,f){var e=document.createElement("div");\r\ne.style.whiteSpace="nowrap";var k=this.editor.graph;if(null!=b){var g=document.createElement("h3");mxUtils.write(g,b);g.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";e.appendChild(g)}var l=this.addCheckbox(e,mxResources.get("fit"),!0),m=this.addCheckbox(e,mxResources.get("shadow"),k.shadowVisible&&d,!d),n=this.addCheckbox(e,c),p=this.addCheckbox(e,mxResources.get("lightbox"),!0),A=this.addEditButton(e,p),B=A.getEditInput(),E=1<k.model.getChildCount(k.model.getRoot()),\r\nF=this.addCheckbox(e,mxResources.get("layers"),E,!E);F.style.marginLeft=B.style.marginLeft;F.style.marginBottom="12px";F.style.marginTop="8px";mxEvent.addListener(p,"change",function(){p.checked?(E&&F.removeAttribute("disabled"),B.removeAttribute("disabled")):(F.setAttribute("disabled","disabled"),B.setAttribute("disabled","disabled"));B.checked&&p.checked?A.getEditSelect().removeAttribute("disabled"):A.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,e,mxUtils.bind(this,\r\nfunction(){a(l.checked,m.checked,n.checked,p.checked,A.getLink(),F.checked)}),null,mxResources.get("embed"),f);this.showDialog(b.container,280,280,!0,!0)};EditorUi.prototype.createEmbedImage=function(a,b,c,d,f,g,m,t){function e(b){var e=" ",n="";d&&(e=" onclick=\\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data==\'ready\'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute(\'src\')),\'*\');window.removeEventListener(\'message\',r);}};window.addEventListener(\'message\',r);img.wnd=window.open(\'"+\r\nEditorUi.lightboxHost+"/?client=1"+(null!=l?"&page="+l:"")+(f?"&edit=_blank":"")+(g?"&layers=1":"")+"\');}})(this);\\"",n+="cursor:pointer;");a&&(n+="max-width:100%;");var p="";c&&(p=\' width="\'+Math.round(k.width)+\'" height="\'+Math.round(k.height)+\'"\');m(\'<img src="\'+b+\'"\'+p+(""!=n?\' style="\'+n+\'"\':"")+e+"/>")}var k=this.editor.graph.getGraphBounds(),l=this.getSelectedPageIndex();if(this.isExportToCanvas())this.editor.exportToCanvas(mxUtils.bind(this,function(a){var b=d?this.getFileData(!0):null;a=\r\nthis.createImageDataUri(a,b,"png");e(a)}),null,null,null,mxUtils.bind(this,function(a){t({message:mxResources.get("unknownError")})}),null,!0,c?2:1,null,b,null,null,Editor.defaultBorder);else if(b=this.getFileData(!0),k.width*k.height<=MAX_AREA&&b.length<=MAX_REQUEST_SIZE){var n="";c&&(n="&w="+Math.round(2*k.width)+"&h="+Math.round(2*k.height));var p=new mxXmlRequest(EXPORT_URL,"format=png&base64=1&embedXml="+(d?"1":"0")+n+"&xml="+encodeURIComponent(b));p.send(mxUtils.bind(this,function(){200<=p.getStatus()&&\r\n299>=p.getStatus()?e("data:image/png;base64,"+p.getText()):t({message:mxResources.get("unknownError")})}))}else t({message:mxResources.get("drawingTooLarge")})};EditorUi.prototype.createEmbedSvg=function(a,b,c,d,f,g,m){var e=this.editor.graph.getSvg(null,null,null,null,null,null,null,null,null,null,!c),k=e.getElementsByTagName("a");if(null!=k)for(var l=0;l<k.length;l++){var n=k[l].getAttribute("href");null!=n&&"#"==n.charAt(0)&&"_blank"==k[l].getAttribute("target")&&k[l].removeAttribute("target")}d&&\r\ne.setAttribute("content",this.getFileData(!0));b&&this.editor.graph.addSvgShadow(e);if(c){var p=" ",q="";d&&(p="onclick=\\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data==\'ready\'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute(\'src\')),\'*\');window.removeEventListener(\'message\',r);}};window.addEventListener(\'message\',r);img.wnd=window.open(\'"+EditorUi.lightboxHost+"/?client=1"+(f?"&edit=_blank":"")+(g?"&layers=1":\r\n"")+"\');}})(this);\\"",q+="cursor:pointer;");a&&(q+="max-width:100%;");this.editor.convertImages(e,mxUtils.bind(this,function(a){m(\'<img src="\'+Editor.createSvgDataUri(mxUtils.getXml(a))+\'"\'+(""!=q?\' style="\'+q+\'"\':"")+p+"/>")}))}else q="",d&&(b=this.getSelectedPageIndex(),e.setAttribute("onclick","(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&&src.nodeName.toLowerCase()!=\'a\'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&&!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data==\'ready\'&&evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute(\'content\')),\'*\');window.removeEventListener(\'message\',r);}};window.addEventListener(\'message\',r);svg.wnd=window.open(\'"+\r\nEditorUi.lightboxHost+"/?client=1"+(null!=b?"&page="+b:"")+(f?"&edit=_blank":"")+(g?"&layers=1":"")+"\');}}})(this);"),q+="cursor:pointer;"),a&&(a=parseInt(e.getAttribute("width")),f=parseInt(e.getAttribute("height")),e.setAttribute("viewBox","-0.5 -0.5 "+a+" "+f),q+="max-width:100%;max-height:"+f+"px;",e.removeAttribute("height")),""!=q&&e.setAttribute("style",q),this.editor.addFontCss(e),this.editor.graph.mathEnabled&&this.editor.addMathCss(e),m(mxUtils.getXml(e))};EditorUi.prototype.timeSince=function(a){a=\r\nMath.floor((new Date-a)/1E3);var b=Math.floor(a/31536E3);if(1<b)return b+" "+mxResources.get("years");b=Math.floor(a/2592E3);if(1<b)return b+" "+mxResources.get("months");b=Math.floor(a/86400);if(1<b)return b+" "+mxResources.get("days");b=Math.floor(a/3600);if(1<b)return b+" "+mxResources.get("hours");b=Math.floor(a/60);return 1<b?b+" "+mxResources.get("minutes"):1==b?b+" "+mxResources.get("minute"):null};EditorUi.prototype.decodeNodeIntoGraph=function(a,b){if(null!=a){var c=null;if("diagram"==a.nodeName)c=\r\na;else if("mxfile"==a.nodeName){var e=a.getElementsByTagName("diagram");if(0<e.length){var c=e[0],d=b.getGlobalVariable;b.getGlobalVariable=function(a){return"page"==a?c.getAttribute("name")||mxResources.get("pageWithNumber",[1]):"pagenumber"==a?1:d.apply(this,arguments)}}}null!=c&&(a=Editor.parseDiagramNode(c))}e=this.editor.graph;try{this.editor.graph=b,this.editor.setGraphXml(a)}catch(q){}finally{this.editor.graph=e}return a};EditorUi.prototype.getPngFileProperties=function(a){var b=1,c=0;if(null!=\r\na){if(a.hasAttribute("scale")){var e=parseFloat(a.getAttribute("scale"));!isNaN(e)&&0<e&&(b=e)}a.hasAttribute("border")&&(e=parseInt(a.getAttribute("border")),!isNaN(e)&&0<e&&(c=e))}return{scale:b,border:c}};EditorUi.prototype.getEmbeddedPng=function(a,b,c,d,f){try{var e=this.editor.graph,k=null!=e.themes&&"darkTheme"==e.defaultThemeName,g=null;if(null!=c&&0<c.length)e=this.createTemporaryGraph(this.editor.graph.getStylesheet()),document.body.appendChild(e.container),this.decodeNodeIntoGraph(this.editor.extractGraphModel(mxUtils.parseXml(c).documentElement,\r\n!0),e),g=c;else if(k||null!=this.pages&&this.currentPage!=this.pages[0]){var e=this.createTemporaryGraph(e.getStylesheet()),l=e.getGlobalVariable,m=this.pages[0];e.getGlobalVariable=function(a){return"page"==a?m.getName():"pagenumber"==a?1:l.apply(this,arguments)};document.body.appendChild(e.container);e.model.setRoot(m.root)}this.editor.exportToCanvas(mxUtils.bind(this,function(c){try{null==g&&(g=this.getFileData(!0,null,null,null,null,null,null,null,null,!1));var d=c.toDataURL("image/png"),d=Editor.writeGraphModelToPng(d,\r\n"tEXt","mxfile",encodeURIComponent(g));a(d.substring(d.lastIndexOf(",")+1));e!=this.editor.graph&&e.container.parentNode.removeChild(e.container)}catch(A){null!=b&&b(A)}}),null,null,null,mxUtils.bind(this,function(a){null!=b&&b(a)}),null,null,d,null,e.shadowVisible,null,e,f)}catch(y){null!=b&&b(y)}};EditorUi.prototype.getEmbeddedSvg=function(a,b,c,d,f,g,m,t,v,z,y,x,A){t=null!=t?t:!0;m=null!=v?v:b.background;m==mxConstants.NONE&&(m=null);g=b.getSvg(m,z,y,null,null,g,null,null,null,b.shadowVisible||\r\nx,null,A);(b.shadowVisible||x)&&b.addSvgShadow(g);null!=a&&g.setAttribute("content",a);null!=c&&g.setAttribute("resource",c);if(null!=f)this.embedFonts(g,mxUtils.bind(this,function(a){t?this.editor.convertImages(a,mxUtils.bind(this,function(a){f((d?"":\'<?xml version="1.0" encoding="UTF-8"?>\\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\\n\')+mxUtils.getXml(a))})):f((d?"":\'<?xml version="1.0" encoding="UTF-8"?>\\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\\n\')+\r\nmxUtils.getXml(a))}));else return(d?"":\'<?xml version="1.0" encoding="UTF-8"?>\\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\\n\')+mxUtils.getXml(g)};EditorUi.prototype.embedFonts=function(a,b){this.editor.loadFonts(mxUtils.bind(this,function(){try{null!=this.editor.resolvedFontCss&&this.editor.addFontCss(a,this.editor.resolvedFontCss),this.editor.embedExtFonts(mxUtils.bind(this,function(c){try{null!=c&&this.editor.addFontCss(a,c),b(a)}catch(n){b(a)}}))}catch(l){b(a)}}))};\r\nEditorUi.prototype.exportImage=function(a,b,c,d,f,g,m,t,v,z,y,x,A){v=null!=v?v:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"))){var e=this.editor.graph.isSelectionEmpty();c=null!=c?c:e;null==this.thumbImageCache&&(this.thumbImageCache={});try{this.editor.exportToCanvas(mxUtils.bind(this,function(a){this.spinner.stop();try{this.saveCanvas(a,f?this.getFileData(!0,null,null,null,c,t):null,v,null==this.pages||0==this.pages.length,y)}catch(F){this.handleError(F)}}),null,this.thumbImageCache,\r\nnull,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),null,c,a||1,b,d,null,null,g,m,z,x,A)}catch(E){this.spinner.stop(),this.handleError(E)}}};EditorUi.prototype.isCorsEnabledForUrl=function(a){return this.editor.isCorsEnabledForUrl(a)};EditorUi.prototype.importXml=function(a,b,c,d,f,g,m){b=null!=b?b:0;c=null!=c?c:0;var e=[];try{var k=this.editor.graph;if(null!=a&&0<a.length){k.model.beginUpdate();try{var l=mxUtils.parseXml(a);a={};var n=this.editor.extractGraphModel(l.documentElement,\r\nnull!=this.pages);if(null!=n&&"mxfile"==n.nodeName&&null!=this.pages){var p=n.getElementsByTagName("diagram");if(1==p.length&&!g){if(n=Editor.parseDiagramNode(p[0]),null!=this.currentPage&&(a[p[0].getAttribute("id")]=this.currentPage.getId(),null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&this.currentPage.getName()==mxResources.get("pageWithNumber",[1]))){var q=p[0].getAttribute("name");null!=q&&""!=q&&this.editor.graph.model.execute(new RenamePage(this,this.currentPage,q))}}else if(0<\r\np.length){g=[];var u=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(a[p[0].getAttribute("id")]=this.pages[0].getId(),n=Editor.parseDiagramNode(p[0]),d=!1,u=1);for(;u<p.length;u++){var E=p[u].getAttribute("id");p[u].removeAttribute("id");var F=this.updatePageRoot(new DiagramPage(p[u]));a[E]=p[u].getAttribute("id");var D=this.pages.length;null==F.getName()&&F.setName(mxResources.get("pageWithNumber",[D+1]));k.model.execute(new ChangePage(this,F,F,D,!0));g.push(F)}this.updatePageLinks(a,\r\ng)}}if(null!=n&&"mxGraphModel"===n.nodeName&&(e=k.importGraphModel(n,b,c,d),null!=e))for(u=0;u<e.length;u++)this.updatePageLinksForCell(a,e[u]);m&&this.insertHandler(e,null,null,Graph.prototype.defaultVertexStyle,Graph.prototype.defaultEdgeStyle,!0,!0)}finally{k.model.endUpdate()}}}catch(C){if(f)throw C;this.handleError(C)}return e};EditorUi.prototype.updatePageLinks=function(a,b){for(var c=0;c<b.length;c++)this.updatePageLinksForCell(a,b[c].root)};EditorUi.prototype.updatePageLinksForCell=function(a,\r\nb){var c=document.createElement("div"),e=this.editor.graph,d=e.getLinkForCell(b);null!=d&&e.setLinkForCell(b,this.updatePageLink(a,d));if(e.isHtmlLabel(b)){c.innerHTML=e.sanitizeHtml(e.getLabel(b));for(var f=c.getElementsByTagName("a"),k=!1,g=0;g<f.length;g++)d=f[g].getAttribute("href"),null!=d&&(f[g].setAttribute("href",this.updatePageLink(a,d)),k=!0);k&&e.labelChanged(b,c.innerHTML)}for(g=0;g<e.model.getChildCount(b);g++)this.updatePageLinksForCell(a,e.model.getChildAt(b,g))};EditorUi.prototype.updatePageLink=\r\nfunction(a,b){if("data:page/id,"==b.substring(0,13)){var c=a[b.substring(b.indexOf(",")+1)];b=null!=c?"data:page/id,"+c:null}else if("data:action/json,"==b.substring(0,17))try{var e=JSON.parse(b.substring(17));if(null!=e.actions){for(var d=0;d<e.actions.length;d++){var f=e.actions[d];if(null!=f.open&&"data:page/id,"==f.open.substring(0,13)){var k=f.open.substring(f.open.indexOf(",")+1),c=a[k];null!=c?f.open="data:page/id,"+c:null==this.getPageById(k)&&delete f.open}}b="data:action/json,"+JSON.stringify(e)}}catch(t){}return b};\r\nEditorUi.prototype.isRemoteVisioFormat=function(a){return/(\\.v(sd|dx))($|\\?)/i.test(a)||/(\\.vs(s|x))($|\\?)/i.test(a)};EditorUi.prototype.importVisio=function(a,b,c,d,f){d=null!=d?d:a.name;c=null!=c?c:mxUtils.bind(this,function(a){this.handleError(a)});var e=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportVisio){var e=this.isRemoteVisioFormat(d);try{var k="UNKNOWN-VISIO",g=d.lastIndexOf(".");if(0<=g&&g<d.length)k=d.substring(g+1).toUpperCase();else{var l=d.lastIndexOf("/");0<=\r\nl&&l<d.length&&(d=d.substring(l+1))}EditorUi.logEvent({category:k+"-MS-IMPORT-FILE",action:"filename_"+d,label:e?"remote":"local"})}catch(x){}if(e)if(null==VSD_CONVERT_URL||this.isOffline())c({message:"conf"==this.getServiceName()?mxResources.get("vsdNoConfig"):mxResources.get("serviceUnavailableOrBlocked")});else{e=new FormData;e.append("file1",a,d);var m=new XMLHttpRequest;m.open("POST",VSD_CONVERT_URL+(/(\\.vss|\\.vsx)$/.test(d)?"?stencil=1":""));m.responseType="blob";this.addRemoteServiceSecurityCheck(m);\r\nnull!=f&&m.setRequestHeader("x-convert-custom",f);m.onreadystatechange=mxUtils.bind(this,function(){if(4==m.readyState)if(200<=m.status&&299>=m.status)try{var a=m.response;if("text/xml"==a.type){var e=new FileReader;e.onload=mxUtils.bind(this,function(a){try{b(a.target.result)}catch(E){c({message:mxResources.get("errorLoadingFile")})}});e.readAsText(a)}else this.doImportVisio(a,b,c,d)}catch(B){c(B)}else try{""==m.responseType||"text"==m.responseType?c({message:m.responseText}):(e=new FileReader,e.onload=\r\nfunction(){c({message:JSON.parse(e.result).Message})},e.readAsText(m.response))}catch(B){c({})}});m.send(e)}else try{this.doImportVisio(a,b,c,d)}catch(x){c(x)}}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportVisio||this.loadingExtensions||this.isOffline(!0)?e():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",e))};EditorUi.prototype.importGraphML=function(a,b,c){c=null!=c?c:mxUtils.bind(this,function(a){this.handleError(a)});\r\nvar e=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportGraphML)try{this.doImportGraphML(a,b,c)}catch(p){c(p)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportGraphML||this.loadingExtensions||this.isOffline(!0)?e():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",e))};EditorUi.prototype.exportVisio=function(a){var b=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeof VsdxExport)try{(new VsdxExport(this)).exportCurrentDiagrams(a)||\r\nthis.handleError({message:mxResources.get("unknownError")})}catch(l){this.handleError(l)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});"undefined"!==typeof VsdxExport||this.loadingExtensions||this.isOffline(!0)?b():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",b))};EditorUi.prototype.convertLucidChart=function(a,b,c){var e=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeof window.LucidImporter){try{EditorUi.logEvent({category:"LUCIDCHART-IMPORT-FILE",\r\naction:"size_"+a.length}),EditorUi.debug("convertLucidChart",a)}catch(p){}try{b(LucidImporter.importState(JSON.parse(a)))}catch(p){null!=window.console&&console.error(p),c(p)}}else c({message:mxResources.get("serviceUnavailableOrBlocked")})});"undefined"!==typeof window.LucidImporter||this.loadingExtensions||this.isOffline(!0)?window.setTimeout(e,0):(this.loadingExtensions=!0,"1"==urlParams.dev?mxscript("js/diagramly/Extensions.js",function(){mxscript("js/orgchart/bridge.min.js",function(){mxscript("js/orgchart/bridge.collections.min.js",\r\nfunction(){mxscript("js/orgchart/OrgChart.Layout.min.js",function(){mxscript("js/orgchart/mxOrgChartLayout.js",e)})})})}):mxscript("js/extensions.min.js",e))};EditorUi.prototype.generateMermaidImage=function(a,b,c,d){var e=this,f=function(){try{this.loadingMermaid=!1,b=null!=b?b:EditorUi.defaultMermaidConfig,b.securityLevel="strict",b.startOnLoad=!1,mermaid.mermaidAPI.initialize(b),mermaid.mermaidAPI.render("geMermaidOutput-"+(new Date).getTime(),a,function(a){try{if(mxClient.IS_IE||mxClient.IS_IE11)a=\r\na.replace(/ xmlns:\\S*="http:\\/\\/www.w3.org\\/XML\\/1998\\/namespace"/g,"").replace(/ (NS xml|\\S*):space="preserve"/g,\' xml:space="preserve"\');var b=mxUtils.parseXml(a).getElementsByTagName("svg");if(0<b.length){var f=parseFloat(b[0].getAttribute("width")),k=parseFloat(b[0].getAttribute("height"));if(isNaN(f)||isNaN(k))try{var g=b[0].getAttribute("viewBox").split(/\\s+/),f=parseFloat(g[2]),k=parseFloat(g[3])}catch(x){f=f||100,k=k||100}c(e.convertDataUri(Editor.createSvgDataUri(a)),f,k)}else d({message:mxResources.get("invalidInput")})}catch(x){d(x)}})}catch(u){d(u)}};\r\n"undefined"!==typeof mermaid||this.loadingMermaid||this.isOffline(!0)?f():(this.loadingMermaid=!0,"1"==urlParams.dev?mxscript("js/mermaid/mermaid.min.js",f):mxscript("js/extensions.min.js",f))};EditorUi.prototype.generatePlantUmlImage=function(a,b,c,d){function e(a,b,c){c1=a>>2;c2=(a&3)<<4|b>>4;c3=(b&15)<<2|c>>6;c4=c&63;r="";r+=f(c1&63);r+=f(c2&63);r+=f(c3&63);return r+=f(c4&63)}function f(a){if(10>a)return String.fromCharCode(48+a);a-=10;if(26>a)return String.fromCharCode(65+a);a-=26;if(26>a)return String.fromCharCode(97+\r\na);a-=26;return 0==a?"-":1==a?"_":"?"}var k=new XMLHttpRequest;k.open("GET",("txt"==b?PLANT_URL+"/txt/":"png"==b?PLANT_URL+"/png/":PLANT_URL+"/svg/")+function(a){r="";for(i=0;i<a.length;i+=3)r=i+2==a.length?r+e(a.charCodeAt(i),a.charCodeAt(i+1),0):i+1==a.length?r+e(a.charCodeAt(i),0,0):r+e(a.charCodeAt(i),a.charCodeAt(i+1),a.charCodeAt(i+2));return r}(Graph.arrayBufferToString(pako.deflateRaw(a))),!0);"txt"!=b&&(k.responseType="blob");k.onload=function(a){if(200<=this.status&&300>this.status)if("txt"==\r\nb)c(this.response);else{var e=new FileReader;e.readAsDataURL(this.response);e.onloadend=function(a){var b=new Image;b.onload=function(){try{var a=b.width,f=b.height;if(0==a&&0==f){var k=e.result,g=k.indexOf(","),l=decodeURIComponent(escape(atob(k.substring(g+1)))),m=mxUtils.parseXml(l).getElementsByTagName("svg");0<m.length&&(a=parseFloat(m[0].getAttribute("width")),f=parseFloat(m[0].getAttribute("height")))}c(e.result,a,f)}catch(C){d(C)}};b.src=e.result};e.onerror=function(a){d(a)}}else d(a)};k.onerror=\r\nfunction(a){d(a)};k.send()};EditorUi.prototype.insertAsPreText=function(a,b,c){var e=this.editor.graph,d=null;e.getModel().beginUpdate();try{d=e.insertVertex(null,null,"<pre>"+a+"</pre>",b,c,1,1,"text;html=1;align=left;verticalAlign=top;"),e.updateCellSize(d,!0)}finally{e.getModel().endUpdate()}return d};EditorUi.prototype.insertTextAt=function(a,b,c,d,f,g,m,t){g=null!=g?g:!0;m=null!=m?m:!0;if(null!=a)if(Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a))this.parseFile(new Blob([a.replace(/\\s+/g,\r\n" ")],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&this.editor.graph.setSelectionCells(this.insertTextAt(a.responseText,b,c,!0))}));else if("data:"==a.substring(0,5)||!this.isOffline()&&(f||/\\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(a))){var e=this.editor.graph;if("data:application/pdf;base64,"==a.substring(0,28)){var k=Editor.extractGraphModelFromPdf(a);if(null!=k&&0<k.length)return this.importXml(k,b,c,g,!0,t)}if("data:image/png;base64,"==\r\na.substring(0,22)&&(k=this.extractGraphModelFromPng(a),null!=k&&0<k.length))return this.importXml(k,b,c,g,!0,t);if("data:image/svg+xml;"==a.substring(0,19))try{k=null;"data:image/svg+xml;base64,"==a.substring(0,26)?(k=a.substring(a.indexOf(",")+1),k=window.atob&&!mxClient.IS_SF?atob(k):Base64.decode(k,!0)):k=decodeURIComponent(a.substring(a.indexOf(",")+1));var l=this.importXml(k,b,c,g,!0,t);if(0<l.length)return l}catch(A){}this.loadImage(a,mxUtils.bind(this,function(d){if("data:"==a.substring(0,\r\n5))this.resizeImage(d,a,mxUtils.bind(this,function(a,d,f){e.setSelectionCell(e.insertVertex(null,null,"",e.snap(b),e.snap(c),d,f,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+this.convertDataUri(a)+";"))}),m,this.maxImageSize);else{var f=Math.min(1,Math.min(this.maxImageSize/d.width,this.maxImageSize/d.height)),k=Math.round(d.width*f);d=Math.round(d.height*f);e.setSelectionCell(e.insertVertex(null,null,"",e.snap(b),e.snap(c),\r\nk,d,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+a+";"))}}),mxUtils.bind(this,function(){var f=null;e.getModel().beginUpdate();try{f=e.insertVertex(e.getDefaultParent(),null,a,e.snap(b),e.snap(c),1,1,"text;"+(d?"html=1;":"")),e.updateCellSize(f),e.fireEvent(new mxEventObject("textInserted","cells",[f]))}finally{e.getModel().endUpdate()}e.setSelectionCell(f)}))}else{a=Graph.zapGremlins(mxUtils.trim(a));if(this.isCompatibleString(a))return this.importXml(a,\r\nb,c,g,null,t);if(0<a.length)if(this.isLucidChartData(a))this.convertLucidChart(a,mxUtils.bind(this,function(a){this.editor.graph.setSelectionCells(this.importXml(a,b,c,g,null,t))}),mxUtils.bind(this,function(a){this.handleError(a)}));else{e=this.editor.graph;f=null;e.getModel().beginUpdate();try{f=e.insertVertex(e.getDefaultParent(),null,"",e.snap(b),e.snap(c),1,1,"text;whiteSpace=wrap;"+(d?"html=1;":""));e.fireEvent(new mxEventObject("textInserted","cells",[f]));"<"==a.charAt(0)&&a.indexOf(">")==\r\na.length-1&&(a=mxUtils.htmlEntities(a));a.length>this.maxTextBytes&&(a=a.substring(0,this.maxTextBytes)+"...");f.value=a;e.updateCellSize(f);if(0<this.maxTextWidth&&f.geometry.width>this.maxTextWidth){var n=e.getPreferredSizeForCell(f,this.maxTextWidth);f.geometry.width=n.width;f.geometry.height=n.height}Graph.isLink(f.value)&&e.setLinkForCell(f,f.value);f.geometry.width+=e.gridSize;f.geometry.height+=e.gridSize}finally{e.getModel().endUpdate()}return[f]}}return[]};EditorUi.prototype.formatFileSize=\r\nfunction(a){var b=-1;do a/=1024,b++;while(1024<a);return Math.max(a,.1).toFixed(1)+" kB; MB; GB; TB;PB;EB;ZB;YB".split(";")[b]};EditorUi.prototype.convertDataUri=function(a){if("data:"==a.substring(0,5)){var b=a.indexOf(";");0<b&&(a=a.substring(0,b)+a.substring(a.indexOf(",",b+1)))}return a};EditorUi.prototype.isRemoteFileFormat=function(a,b){return/(\\"contentType\\":\\s*\\"application\\/gliffy\\+json\\")/.test(a)};EditorUi.prototype.isLucidChartData=function(a){return null!=a&&(\'{"state":"{\\\\"Properties\\\\":\'==\r\na.substring(0,26)||\'{"Properties":\'==a.substring(0,14))};EditorUi.prototype.importLocalFile=function(a,b){if(a&&Graph.fileSupport){if(null==this.importFileInputElt){var c=document.createElement("input");c.setAttribute("type","file");mxEvent.addListener(c,"change",mxUtils.bind(this,function(){null!=c.files&&(this.importFiles(c.files,null,null,this.maxImageSize),c.type="",c.type="file",c.value="")}));c.style.display="none";document.body.appendChild(c);this.importFileInputElt=c}this.importFileInputElt.click()}else{window.openNew=\r\n!1;window.openKey="import";window.listBrowserFiles=mxUtils.bind(this,function(a,b){StorageFile.listFiles(this,"F",a,b)});window.openBrowserFile=mxUtils.bind(this,function(a,b,c){StorageFile.getFileContent(this,a,b,c)});window.deleteBrowserFile=mxUtils.bind(this,function(a,b,c){StorageFile.deleteFile(this,a,b,c)});if(!b){var e=Editor.useLocalStorage;Editor.useLocalStorage=!a}window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));window.openFile.setConsumer(mxUtils.bind(this,\r\nfunction(a,b){if(null!=b&&Graph.fileSupport&&/(\\.v(dx|sdx?))($|\\?)/i.test(b)){var c=new Blob([a],{type:"application/octet-stream"});this.importVisio(c,mxUtils.bind(this,function(a){this.importXml(a,0,0,!0)}),null,b)}else this.editor.graph.setSelectionCells(this.importXml(a,0,0,!0))}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:360,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null});if(!b){var d=this.dialog,f=d.close;this.dialog.close=mxUtils.bind(this,\r\nfunction(a){Editor.useLocalStorage=e;f.apply(d,arguments);a&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()})}}};EditorUi.prototype.importZipFile=function(a,b,c){var e=this,d=mxUtils.bind(this,function(){this.loadingExtensions=!1;"undefined"!==typeof JSZip?JSZip.loadAsync(a).then(function(d){if(0==Object.keys(d.files).length)c();else{var f=0,k,g=!1;d.forEach(function(a,e){var d=e.name.toLowerCase();"diagram/diagram.xml"==d?(g=!0,e.async("string").then(function(a){0==a.indexOf("<mxfile ")?\r\nb(a):c()})):0==d.indexOf("versions/")&&(d=parseInt(d.substr(9)),d>f&&(f=d,k=e))});0<f?k.async("string").then(function(d){!e.isOffline()&&(new XMLHttpRequest).upload&&e.isRemoteFileFormat(d,a.name)?e.parseFile(new Blob([d],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?b(a.responseText):c())}),a.name):c()}):g||c()}},function(a){c(a)}):c()});"undefined"!==typeof JSZip||this.loadingExtensions||this.isOffline(!0)?d():(this.loadingExtensions=\r\n!0,mxscript("js/extensions.min.js",d))};EditorUi.prototype.importFile=function(a,b,c,d,f,g,m,t,v,z,y,x){z=null!=z?z:!0;var e=!1,k=null,l=mxUtils.bind(this,function(a){var b=null;null!=a&&"<mxlibrary"==a.substring(0,10)?this.loadLibrary(new LocalLibrary(this,a,m)):b=this.importXml(a,c,d,z,null,null!=x?mxEvent.isControlDown(x):null);null!=t&&t(b)});"image"==b.substring(0,5)?(v=!1,"image/png"==b.substring(0,9)&&(b=y?null:this.extractGraphModelFromPng(a),null!=b&&0<b.length&&(k=this.importXml(b,c,d,z,\r\nnull,null!=x?mxEvent.isControlDown(x):null),v=!0)),v||(b=this.editor.graph,y=a.indexOf(";"),0<y&&(a=a.substring(0,y)+a.substring(a.indexOf(",",y+1))),z&&b.isGridEnabled()&&(c=b.snap(c),d=b.snap(d)),k=[b.insertVertex(null,null,"",c,d,f,g,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+a+";")])):/(\\.*<graphml )/.test(a)?(e=!0,this.importGraphML(a,l)):null!=v&&null!=m&&(/(\\.v(dx|sdx?))($|\\?)/i.test(m)||/(\\.vs(x|sx?))($|\\?)/i.test(m))?\r\n(e=!0,this.importVisio(v,l)):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a,m)?(e=!0,this.parseFile(null!=v?v:new Blob([a],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?l(a.responseText):null!=t&&t(null))}),m)):0==a.indexOf("PK")&&null!=v?(e=!0,this.importZipFile(v,l,mxUtils.bind(this,function(){k=this.insertTextAt(this.validateFileData(a),c,d,!0,null,z);t(k)}))):/(\\.v(sd|dx))($|\\?)/i.test(m)||/(\\.vs(s|x))($|\\?)/i.test(m)||\r\n(k=this.insertTextAt(this.validateFileData(a),c,d,!0,null,z,null,null!=x?mxEvent.isControlDown(x):null));e||null==t||t(k);return k};EditorUi.prototype.importFiles=function(a,b,c,d,f,g,m,t,v,z,y,x,A){d=null!=d?d:this.maxImageSize;z=null!=z?z:this.maxImageBytes;var e=null!=b&&null!=c,k=!0;b=null!=b?b:0;c=null!=c?c:0;var l=!1;if(!mxClient.IS_CHROMEAPP&&null!=a)for(var n=y||this.resampleThreshold,p=0;p<a.length;p++)if("image/"==a[p].type.substring(0,6)&&a[p].size>n){l=!0;break}var q=mxUtils.bind(this,\r\nfunction(){var l=this.editor.graph,n=l.gridSize;f=null!=f?f:mxUtils.bind(this,function(a,b,c,d,f,k,g,l,m){try{return null!=a&&"<mxlibrary"==a.substring(0,10)?(this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,a,g)),null):this.importFile(a,b,c,d,f,k,g,l,m,e,x,A)}catch(ga){return this.handleError(ga),null}});g=null!=g?g:mxUtils.bind(this,function(a){l.setSelectionCells(a)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var p=a.length,q=p,u=[],B=mxUtils.bind(this,function(a,\r\nb){u[a]=b;if(0==--q){this.spinner.stop();if(null!=t)t(u);else{var c=[];l.getModel().beginUpdate();try{for(var e=0;e<u.length;e++){var d=u[e]();null!=d&&(c=c.concat(d))}}finally{l.getModel().endUpdate()}}g(c)}}),C=0;C<p;C++)mxUtils.bind(this,function(e){var g=a[e];if(null!=g){var p=new FileReader;p.onload=mxUtils.bind(this,function(a){if(null==m||m(g))if("image/"==g.type.substring(0,6))if("image/svg"==g.type.substring(0,9)){var p=Graph.clipSvgDataUri(a.target.result),q=p.indexOf(","),A=decodeURIComponent(escape(atob(p.substring(q+\r\n1)))),u=mxUtils.parseXml(A),A=u.getElementsByTagName("svg");if(0<A.length){var A=A[0],t=x?null:A.getAttribute("content");null!=t&&"<"!=t.charAt(0)&&"%"!=t.charAt(0)&&(t=unescape(window.atob?atob(t):Base64.decode(t,!0)));null!=t&&"%"==t.charAt(0)&&(t=decodeURIComponent(t));null==t||"<mxfile "!==t.substring(0,8)&&"<mxGraphModel "!==t.substring(0,14)?B(e,mxUtils.bind(this,function(){try{if(p.substring(0,q+1),null!=u){var a=u.getElementsByTagName("svg");if(0<a.length){var k=a[0],m=k.getAttribute("width"),\r\nx=k.getAttribute("height"),m=null!=m&&"%"!=m.charAt(m.length-1)?parseFloat(m):NaN,x=null!=x&&"%"!=x.charAt(x.length-1)?parseFloat(x):NaN,A=k.getAttribute("viewBox");if(null==A||0==A.length)k.setAttribute("viewBox","0 0 "+m+" "+x);else if(isNaN(m)||isNaN(x)){var t=A.split(" ");3<t.length&&(m=parseFloat(t[2]),x=parseFloat(t[3]))}p=Editor.createSvgDataUri(mxUtils.getXml(k));var B=Math.min(1,Math.min(d/Math.max(1,m)),d/Math.max(1,x)),z=f(p,g.type,b+e*n,c+e*n,Math.max(1,Math.round(m*B)),Math.max(1,Math.round(x*\r\nB)),g.name);if(isNaN(m)||isNaN(x)){var C=new Image;C.onload=mxUtils.bind(this,function(){m=Math.max(1,C.width);x=Math.max(1,C.height);z[0].geometry.width=m;z[0].geometry.height=x;k.setAttribute("viewBox","0 0 "+m+" "+x);p=Editor.createSvgDataUri(mxUtils.getXml(k));var a=p.indexOf(";");0<a&&(p=p.substring(0,a)+p.substring(p.indexOf(",",a+1)));l.setCellStyles("image",p,[z[0]])});C.src=Editor.createSvgDataUri(mxUtils.getXml(k))}return z}}}catch(ca){}return null})):B(e,mxUtils.bind(this,function(){return f(t,\r\n"text/xml",b+e*n,c+e*n,0,0,g.name)}))}else B(e,mxUtils.bind(this,function(){return null}))}else{A=!1;if("image/png"==g.type){var C=x?null:this.extractGraphModelFromPng(a.target.result);if(null!=C&&0<C.length){var v=new Image;v.src=a.target.result;B(e,mxUtils.bind(this,function(){return f(C,"text/xml",b+e*n,c+e*n,v.width,v.height,g.name)}));A=!0}}A||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),mxResources.get("cancel"),\r\nmxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(a.target.result,mxUtils.bind(this,function(l){this.resizeImage(l,a.target.result,mxUtils.bind(this,function(a,l,m){B(e,mxUtils.bind(this,function(){if(null!=a&&a.length<z){var p=k&&this.isResampleImageSize(g.size,y)?Math.min(1,Math.min(d/l,d/m)):1;return f(a,g.type,b+e*n,c+e*n,Math.round(l*p),Math.round(m*p),g.name)}this.handleError({message:mxResources.get("imageTooBig")});\r\nreturn null}))}),k,d,y,g.size)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else p=a.target.result,f(p,g.type,b+e*n,c+e*n,240,160,g.name,function(a){B(e,function(){return a})},g)});/(\\.v(dx|sdx?))($|\\?)/i.test(g.name)||/(\\.vs(x|sx?))($|\\?)/i.test(g.name)?f(null,g.type,b+e*n,c+e*n,240,160,g.name,function(a){B(e,function(){return a})},g):"image"==g.type.substring(0,5)||"application/pdf"==g.type?p.readAsDataURL(g):p.readAsText(g)}})(C)});if(l){l=\r\n[];for(p=0;p<a.length;p++)l.push(a[p]);a=l;this.confirmImageResize(function(a){k=a;q()},v)}else q()};EditorUi.prototype.confirmImageResize=function(a,b){b=null!=b?b:!1;var c=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},e=isLocalStorage||mxClient.IS_CHROMEAPP?mxSettings.getResizeImages():null,d=function(e,d){if(e||b)mxSettings.setResizeImages(e?d:null),mxSettings.save();c();a(d)};null==e||b?this.showDialog((new ConfirmDialog(this,mxResources.get("resizeLargeImages"),\r\nfunction(a){d(a,!0)},function(a){d(a,!1)},mxResources.get("resize"),mxResources.get("actualSize"),\'<img style="margin-top:8px;" src="\'+Editor.loResImage+\'"/>\',\'<img style="margin-top:8px;" src="\'+Editor.hiResImage+\'"/>\',isLocalStorage||mxClient.IS_CHROMEAPP)).container,340,isLocalStorage||mxClient.IS_CHROMEAPP?220:200,!0,!0):d(!1,e)};EditorUi.prototype.parseFile=function(a,b,c){c=null!=c?c:a.name;var e=new FormData;e.append("format","xml");e.append("upfile",a,c);var d=new XMLHttpRequest;d.open("POST",\r\nOPEN_URL);d.onreadystatechange=function(){b(d)};d.send(e);try{EditorUi.logEvent({category:"GLIFFY-IMPORT-FILE",action:"size_"+a.size})}catch(q){}};EditorUi.prototype.isResampleImageSize=function(a,b){b=null!=b?b:this.resampleThreshold;return a>b};EditorUi.prototype.resizeImage=function(a,b,c,d,f,g,m){f=null!=f?f:this.maxImageSize;var e=Math.max(1,a.width),k=Math.max(1,a.height);if(d&&this.isResampleImageSize(null!=m?m:b.length,g))try{var l=Math.max(e/f,k/f);if(1<l){var n=Math.round(e/l),p=Math.round(k/\r\nl),q=document.createElement("canvas");q.width=n;q.height=p;q.getContext("2d").drawImage(a,0,0,n,p);var u=q.toDataURL();if(u.length<b.length){var E=document.createElement("canvas");E.width=n;E.height=p;var F=E.toDataURL();u!==F&&(b=u,e=n,k=p)}}}catch(D){}c(b,e,k)};EditorUi.prototype.extractGraphModelFromPng=function(a){return Editor.extractGraphModelFromPng(a)};EditorUi.prototype.loadImage=function(a,b,c){try{var e=new Image;e.onload=function(){e.width=0<e.width?e.width:120;e.height=0<e.height?e.height:\r\n120;b(e)};null!=c&&(e.onerror=c);e.src=a}catch(p){if(null!=c)c(p);else throw p;}};var g=EditorUi.prototype.init;EditorUi.prototype.init=function(){mxStencilRegistry.allowEval=mxStencilRegistry.allowEval&&!this.isOfflineApp();"undefined"!==typeof window.mxSettings&&(this.formatWidth=mxSettings.getFormatWidth());var a=this,b=this.editor.graph;Editor.isDarkMode()&&(b.view.defaultGridColor=mxGraphView.prototype.defaultDarkGridColor);b.cellEditor.editPlantUmlData=function(c,e,d){var f=JSON.parse(d);e=\r\nnew TextareaDialog(a,mxResources.get("plantUml")+":",f.data,function(e){null!=e&&a.spinner.spin(document.body,mxResources.get("inserting"))&&a.generatePlantUmlImage(e,f.format,function(d,g,k){a.spinner.stop();b.getModel().beginUpdate();try{if("txt"==f.format)b.labelChanged(c,"<pre>"+d+"</pre>"),b.updateCellSize(c,!0);else{b.setCellStyles("image",a.convertDataUri(d),[c]);var l=b.model.getGeometry(c);null!=l&&(l=l.clone(),l.width=g,l.height=k,b.cellsResized([c],[l],!1))}b.setAttributeForCell(c,"plantUmlData",\r\nJSON.stringify({data:e,format:f.format}))}finally{b.getModel().endUpdate()}},function(b){a.handleError(b)})},null,null,400,220);a.showDialog(e.container,420,300,!0,!0);e.init()};b.cellEditor.editMermaidData=function(c,e,d){var f=JSON.parse(d);e=new TextareaDialog(a,mxResources.get("mermaid")+":",f.data,function(e){null!=e&&a.spinner.spin(document.body,mxResources.get("inserting"))&&a.generateMermaidImage(e,f.config,function(d,g,k){a.spinner.stop();b.getModel().beginUpdate();try{b.setCellStyles("image",\r\nd,[c]);var l=b.model.getGeometry(c);null!=l&&(l=l.clone(),l.width=Math.max(l.width,g),l.height=Math.max(l.height,k),b.cellsResized([c],[l],!1));b.setAttributeForCell(c,"mermaidData",JSON.stringify({data:e,config:f.config},null,2))}finally{b.getModel().endUpdate()}},function(b){a.handleError(b)})},null,null,400,220);a.showDialog(e.container,420,300,!0,!0);e.init()};var c=b.cellEditor.startEditing;b.cellEditor.startEditing=function(e,d){try{var f=this.graph.getAttributeForCell(e,"plantUmlData");if(null!=\r\nf)this.editPlantUmlData(e,d,f);else if(f=this.graph.getAttributeForCell(e,"mermaidData"),null!=f)this.editMermaidData(e,d,f);else{var g=b.getCellStyle(e);"1"==mxUtils.getValue(g,"metaEdit","0")?a.showDataDialog(e):c.apply(this,arguments)}}catch(C){a.handleError(C)}};b.getLinkTitle=function(b){return a.getLinkTitle(b)};b.customLinkClicked=function(b){var c=!1;try{a.handleCustomLink(b),c=!0}catch(F){a.handleError(F)}return c};var d=this.clearDefaultStyle;this.clearDefaultStyle=function(){d.apply(this,\r\narguments)};this.isOffline()||"undefined"===typeof window.EditDataDialog||(EditDataDialog.placeholderHelpLink="https://www.diagrams.net/doc/faq/predefined-placeholders");if(/viewer\\.diagrams\\.net$/.test(window.location.hostname)||/embed\\.diagrams\\.net$/.test(window.location.hostname))this.editor.editBlankUrl="https://app.diagrams.net/";var f=a.editor.getEditBlankUrl;this.editor.getEditBlankUrl=function(a){a=null!=a?a:"";"1"==urlParams.dev&&(a+=(0<a.length?"&":"?")+"dev=1");return f.apply(this,arguments)};\r\nvar m=b.addClickHandler;b.addClickHandler=function(a,c,e){var d=c;c=function(a,c){if(null==c){var e=mxEvent.getSource(a);"a"==e.nodeName.toLowerCase()&&(c=e.getAttribute("href"))}null!=c&&b.isCustomLink(c)&&(mxEvent.isTouchEvent(a)||!mxEvent.isPopupTrigger(a))&&b.customLinkClicked(c)&&mxEvent.consume(a);null!=d&&d(a,c)};m.call(this,a,c,e)};g.apply(this,arguments);mxClient.IS_SVG&&this.editor.graph.addSvgShadow(b.view.canvas.ownerSVGElement,null,!0);if(null!=this.menus){var u=Menus.prototype.addPopupMenuEditItems;\r\nthis.menus.addPopupMenuEditItems=function(b,c,e){a.editor.graph.isSelectionEmpty()?u.apply(this,arguments):a.menus.addMenuItems(b,"delete - cut copy copyAsImage - duplicate".split(" "),null,e)}}a.actions.get("print").funct=function(){a.showDialog((new PrintDialog(a)).container,360,null!=a.pages&&1<a.pages.length?450:370,!0,!0)};this.defaultFilename=mxResources.get("untitledDiagram");var t=b.getExportVariables;b.getExportVariables=function(){var b=t.apply(this,arguments),c=a.getCurrentFile();null!=\r\nc&&(b.filename=c.getTitle());b.pagecount=null!=a.pages?a.pages.length:1;b.page=null!=a.currentPage?a.currentPage.getName():"";b.pagenumber=null!=a.pages&&null!=a.currentPage?mxUtils.indexOf(a.pages,a.currentPage)+1:1;return b};var v=b.getGlobalVariable;b.getGlobalVariable=function(b){var c=a.getCurrentFile();return"filename"==b&&null!=c?c.getTitle():"page"==b&&null!=a.currentPage?a.currentPage.getName():"pagenumber"==b?null!=a.currentPage&&null!=a.pages?mxUtils.indexOf(a.pages,a.currentPage)+1:1:\r\n"pagecount"==b?null!=a.pages?a.pages.length:1:v.apply(this,arguments)};var z=b.labelLinkClicked;b.labelLinkClicked=function(a,c,e){var d=c.getAttribute("href");if(null==d||!b.isCustomLink(d)||!mxEvent.isTouchEvent(e)&&mxEvent.isPopupTrigger(e))z.apply(this,arguments);else{if(!b.isEnabled()||null!=a&&b.isCellLocked(a.cell))b.customLinkClicked(d),b.getRubberband().reset();mxEvent.consume(e)}};this.editor.getOrCreateFilename=function(){var b=a.defaultFilename,c=a.getCurrentFile();null!=c&&(b=null!=c.getTitle()?\r\nc.getTitle():b);return b};var y=this.actions.get("print");y.setEnabled(!mxClient.IS_IOS||!navigator.standalone);y.visible=y.isEnabled();if(!this.editor.chromeless||this.editor.editable)this.keyHandler.bindAction(70,!0,"findReplace"),this.keyHandler.bindAction(67,!0,"copyStyle",!0),this.keyHandler.bindAction(86,!0,"pasteStyle",!0),this.keyHandler.bindAction(77,!0,"editGeometry",!0),this.keyHandler.bindAction(88,!0,"insertText",!0),this.keyHandler.bindAction(75,!0,"insertRectangle"),this.keyHandler.bindAction(75,\r\n!0,"insertEllipse",!0),this.altShiftActions[83]="synchronize",this.installImagePasteHandler(),this.installNativeClipboardHandler();this.spinner=this.createSpinner(null,null,24);Graph.fileSupport&&b.addListener(mxEvent.EDITING_STARTED,mxUtils.bind(this,function(a){var c=b.cellEditor.text2,e=null;null!=c&&(mxEvent.addListener(c,"dragleave",function(a){null!=e&&(e.parentNode.removeChild(e),e=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(c,"dragover",mxUtils.bind(this,function(a){null==\r\ne&&(!mxClient.IS_IE||10<document.documentMode)&&(e=this.highlightElement(c));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(c,"drop",mxUtils.bind(this,function(a){null!=e&&(e.parentNode.removeChild(e),e=null);if(0<a.dataTransfer.files.length)this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,function(a,c,e,d,f,g){b.insertImage(a,f,g)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},mxEvent.isControlDown(a));else if(0<=\r\nmxUtils.indexOf(a.dataTransfer.types,"text/uri-list")){var c=a.dataTransfer.getData("text/uri-list");/\\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c)?this.loadImage(decodeURIComponent(c),mxUtils.bind(this,function(a){var e=Math.max(1,a.width);a=Math.max(1,a.height);var d=this.maxImageSize,d=Math.min(1,Math.min(d/Math.max(1,e)),d/Math.max(1,a));b.insertImage(decodeURIComponent(c),e*d,a*d)})):document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"))}else 0<=mxUtils.indexOf(a.dataTransfer.types,\r\n"text/html")?document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/html")):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"));a.stopPropagation();a.preventDefault()})))}));"undefined"!==typeof window.mxSettings&&(y=this.editor.graph.view,y.setUnit(mxSettings.getUnit()),y.addListener("unitChanged",function(a,b){mxSettings.setUnit(b.getProperty("unit"));mxSettings.save()}),this.ruler=!this.canvasSupported||9==\r\ndocument.documentMode||"1"!=urlParams.ruler&&!mxSettings.isRulerOn()||this.editor.isChromelessView()&&!this.editor.editable?null:new mxDualRuler(this,y.unit),this.refresh());if("1"==urlParams.styledev){y=document.getElementById("geFooter");null!=y&&(this.styleInput=document.createElement("input"),this.styleInput.setAttribute("type","text"),this.styleInput.style.position="absolute",this.styleInput.style.top="14px",this.styleInput.style.left="2px",this.styleInput.style.width="98%",this.styleInput.style.visibility=\r\n"hidden",this.styleInput.style.opacity="0.9",mxEvent.addListener(this.styleInput,"change",mxUtils.bind(this,function(){this.editor.graph.getModel().setStyle(this.editor.graph.getSelectionCell(),this.styleInput.value)})),y.appendChild(this.styleInput),this.editor.graph.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(a,b){if(0<this.editor.graph.getSelectionCount()){var c=this.editor.graph.getSelectionCell(),c=this.editor.graph.getModel().getStyle(c);this.styleInput.value=c||\r\n"";this.styleInput.style.visibility="visible"}else this.styleInput.style.visibility="hidden"})));var x=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==this.styleInput?!0:x.apply(this,arguments)}}y=document.getElementById("geInfo");null!=y&&y.parentNode.removeChild(y);if(Graph.fileSupport&&(!this.editor.chromeless||this.editor.editable)){var A=null;mxEvent.addListener(b.container,"dragleave",function(a){b.isEnabled()&&(null!=A&&(A.parentNode.removeChild(A),\r\nA=null),a.stopPropagation(),a.preventDefault())});mxEvent.addListener(b.container,"dragover",mxUtils.bind(this,function(a){null==A&&(!mxClient.IS_IE||10<document.documentMode)&&(A=this.highlightElement(b.container));null!=this.sidebar&&this.sidebar.hideTooltip();a.stopPropagation();a.preventDefault()}));mxEvent.addListener(b.container,"drop",mxUtils.bind(this,function(a){null!=A&&(A.parentNode.removeChild(A),A=null);if(b.isEnabled()){var c=mxUtils.convertPoint(b.container,mxEvent.getClientX(a),mxEvent.getClientY(a)),\r\ne=b.view.translate,d=b.view.scale,f=c.x/d-e.x,g=c.y/d-e.y;if(0<a.dataTransfer.files.length)mxEvent.isShiftDown(a)?this.openFiles(a.dataTransfer.files,!0):(mxEvent.isAltDown(a)&&(g=f=null),this.importFiles(a.dataTransfer.files,f,g,this.maxImageSize,null,null,null,null,mxEvent.isControlDown(a),null,null,mxEvent.isShiftDown(a),a));else{mxEvent.isAltDown(a)&&(g=f=0);var k=0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):null,c=this.extractGraphModelFromEvent(a,\r\nnull!=this.pages);if(null!=c)b.setSelectionCells(this.importXml(c,f,g,!0));else if(0<=mxUtils.indexOf(a.dataTransfer.types,"text/html")){var l=a.dataTransfer.getData("text/html"),c=document.createElement("div");c.innerHTML=b.sanitizeHtml(l);var m=null,e=c.getElementsByTagName("img");null!=e&&1==e.length?(l=e[0].getAttribute("src"),null==l&&(l=e[0].getAttribute("srcset")),/\\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(l)||(m=!0)):(e=c.getElementsByTagName("a"),null!=e&&1==e.length?l=e[0].getAttribute("href"):\r\n(c=c.getElementsByTagName("pre"),null!=c&&1==c.length&&(l=mxUtils.getTextContent(c[0]))));var n=!0,p=mxUtils.bind(this,function(){b.setSelectionCells(this.insertTextAt(l,f,g,!0,m,null,n,mxEvent.isControlDown(a)))});m&&null!=l&&l.length>this.resampleThreshold?this.confirmImageResize(function(a){n=a;p()},mxEvent.isControlDown(a)):p()}else null!=k&&/\\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(k)?this.loadImage(decodeURIComponent(k),mxUtils.bind(this,function(a){var c=Math.max(1,a.width);a=Math.max(1,a.height);\r\nvar e=this.maxImageSize,e=Math.min(1,Math.min(e/Math.max(1,c)),e/Math.max(1,a));b.setSelectionCell(b.insertVertex(null,null,"",f,g,c*e,a*e,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+k+";"))}),mxUtils.bind(this,function(a){b.setSelectionCells(this.insertTextAt(k,f,g,!0))})):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&b.setSelectionCells(this.insertTextAt(a.dataTransfer.getData("text/plain"),f,g,!0))}}a.stopPropagation();\r\na.preventDefault()}),!1)}b.enableFlowAnimation=!0;this.initPages();"1"==urlParams.embed&&this.initializeEmbedMode();this.installSettings()};EditorUi.prototype.installImagePasteHandler=function(){if(!mxClient.IS_IE){var a=this.editor.graph;a.container.addEventListener("paste",mxUtils.bind(this,function(b){if(!mxEvent.isConsumed(b))try{for(var c=b.clipboardData||b.originalEvent.clipboardData,e=!1,d=0;d<c.types.length;d++)if("text/"===c.types[d].substring(0,5)){e=!0;break}if(!e){var f=c.items;for(index in f){var g=\r\nf[index];if("file"===g.kind){if(a.isEditing())this.importFiles([g.getAsFile()],0,0,this.maxImageSize,function(b,c,e,d,f,g){a.insertImage(b,f,g)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()});else{var k=this.editor.graph.getInsertPoint();this.importFiles([g.getAsFile()],k.x,k.y,this.maxImageSize);mxEvent.consume(b)}break}}}}catch(v){}}),!1)}};EditorUi.prototype.installNativeClipboardHandler=function(){function a(){window.setTimeout(function(){c.innerHTML=\r\n"&nbsp;";c.focus();document.execCommand("selectAll",!1,null)},0)}var b=this.editor.graph,c=document.createElement("div");c.setAttribute("autocomplete","off");c.setAttribute("autocorrect","off");c.setAttribute("autocapitalize","off");c.setAttribute("spellcheck","false");c.style.textRendering="optimizeSpeed";c.style.fontFamily="monospace";c.style.wordBreak="break-all";c.style.background="transparent";c.style.color="transparent";c.style.position="absolute";c.style.whiteSpace="nowrap";c.style.overflow=\r\n"hidden";c.style.display="block";c.style.fontSize="1";c.style.zIndex="-1";c.style.resize="none";c.style.outline="none";c.style.width="1px";c.style.height="1px";mxUtils.setOpacity(c,0);c.contentEditable=!0;c.innerHTML="&nbsp;";var d=!1;this.keyHandler.bindControlKey(88,null);this.keyHandler.bindControlKey(67,null);this.keyHandler.bindControlKey(86,null);mxEvent.addListener(document,"keydown",mxUtils.bind(this,function(a){var e=mxEvent.getSource(a);null==b.container||!b.isEnabled()||b.isMouseDown||\r\nb.isEditing()||null!=this.dialog||"INPUT"==e.nodeName||"TEXTAREA"==e.nodeName||224!=a.keyCode&&(mxClient.IS_MAC||17!=a.keyCode)&&(!mxClient.IS_MAC||91!=a.keyCode&&93!=a.keyCode)||d||(c.style.left=b.container.scrollLeft+10+"px",c.style.top=b.container.scrollTop+10+"px",b.container.appendChild(c),d=!0,c.focus(),document.execCommand("selectAll",!1,null))}));mxEvent.addListener(document,"keyup",mxUtils.bind(this,function(a){var e=a.keyCode;window.setTimeout(mxUtils.bind(this,function(){!d||224!=e&&17!=\r\ne&&91!=e&&93!=e||(d=!1,b.isEditing()||null!=this.dialog||null==b.container||b.container.focus(),c.parentNode.removeChild(c),null==this.dialog&&mxUtils.clearSelection())}),0)}));mxEvent.addListener(c,"copy",mxUtils.bind(this,function(e){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(c),a()}catch(u){this.handleError(u)}}));mxEvent.addListener(c,"cut",mxUtils.bind(this,function(e){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(c,!0),a()}catch(u){this.handleError(u)}}));mxEvent.addListener(c,\r\n"paste",mxUtils.bind(this,function(a){b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&(c.innerHTML="&nbsp;",c.focus(),null!=a.clipboardData&&this.pasteCells(a,c,!0,!0),mxEvent.isConsumed(a)||window.setTimeout(mxUtils.bind(this,function(){this.pasteCells(a,c,!1,!0)}),0))}),!0);var f=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==c?!0:f.apply(this,arguments)}};EditorUi.prototype.getLinkTitle=function(a){var b=Graph.prototype.getLinkTitle.apply(this,arguments);\r\nif("data:page/id,"==a.substring(0,13)){var c=a.indexOf(",");0<c&&(b=this.getPageById(a.substring(c+1)),b=null!=b?b.getName():mxResources.get("pageNotFound"))}else"data:"==a.substring(0,5)&&(b=mxResources.get("action"));return b};EditorUi.prototype.handleCustomLink=function(a){if("data:page/id,"==a.substring(0,13)){var b=a.indexOf(",");if(a=this.getPageById(a.substring(b+1)))this.selectPage(a);else throw Error(mxResources.get("pageNotFound")||"Page not found");}else this.editor.graph.handleCustomLink(a)};\r\nEditorUi.prototype.isSettingsEnabled=function(){return"undefined"!==typeof window.mxSettings&&(isLocalStorage||mxClient.IS_CHROMEAPP)};EditorUi.prototype.installSettings=function(){if(this.isSettingsEnabled()){ColorDialog.recentColors=mxSettings.getRecentColors();if(isLocalStorage)try{window.addEventListener("storage",mxUtils.bind(this,function(a){a.key==mxSettings.key&&(mxSettings.load(),ColorDialog.recentColors=mxSettings.getRecentColors(),this.menus.customFonts=mxSettings.getCustomFonts())}),!1)}catch(e){}this.fireEvent(new mxEventObject("styleChanged",\r\n"keys",[],"values",[],"cells",[]));this.menus.customFonts=mxSettings.getCustomFonts();this.addListener("customFontsChanged",mxUtils.bind(this,function(a,b){if("1"!=urlParams["ext-fonts"])mxSettings.setCustomFonts(this.menus.customFonts);else{var c=b.getProperty("customFonts");this.menus.customFonts=c;mxSettings.setCustomFonts(c)}mxSettings.save()}));this.editor.graph.connectionHandler.setCreateTarget(mxSettings.isCreateTarget());this.fireEvent(new mxEventObject("copyConnectChanged"));this.addListener("copyConnectChanged",\r\nmxUtils.bind(this,function(a,b){mxSettings.setCreateTarget(this.editor.graph.connectionHandler.isCreateTarget());mxSettings.save()}));this.editor.graph.pageFormat=mxSettings.getPageFormat();this.addListener("pageFormatChanged",mxUtils.bind(this,function(a,b){mxSettings.setPageFormat(this.editor.graph.pageFormat);mxSettings.save()}));this.editor.graph.view.gridColor=mxSettings.getGridColor(Editor.isDarkMode());this.addListener("gridColorChanged",mxUtils.bind(this,function(a,b){mxSettings.setGridColor(this.editor.graph.view.gridColor,\r\nEditor.isDarkMode());mxSettings.save()}));if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)this.editor.addListener("autosaveChanged",mxUtils.bind(this,function(a,b){mxSettings.setAutosave(this.editor.autosave);mxSettings.save()})),this.editor.autosave=mxSettings.getAutosave();null!=this.sidebar&&(null!=urlParams["search-shapes"]&&null!=this.sidebar.searchShapes?(this.sidebar.searchShapes(decodeURIComponent(urlParams["search-shapes"])),this.sidebar.showEntries("search")):(this.sidebar.showPalette("search",\r\nmxSettings.settings.search),this.editor.chromeless&&!this.editor.editable||!(mxSettings.settings.isNew||8>=parseInt(mxSettings.settings.version||0))||(this.toggleScratchpad(),mxSettings.save())));this.addListener("formatWidthChanged",function(){mxSettings.setFormatWidth(this.formatWidth);mxSettings.save()})}};EditorUi.prototype.copyImage=function(a,b,c){try{null!=navigator.clipboard&&this.spinner.spin(document.body,mxResources.get("exporting"))&&this.editor.exportToCanvas(mxUtils.bind(this,function(a,\r\nc){try{this.spinner.stop();var e=this.createImageDataUri(a,b,"png"),d=parseInt(c.getAttribute("width")),f=parseInt(c.getAttribute("height"));this.writeImageToClipboard(e,d,f,mxUtils.bind(this,function(a){this.handleError(a)}))}catch(v){this.handleError(v)}}),null,null,null,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),null,null,null!=c?c:4,null==this.editor.graph.background||this.editor.graph.background==mxConstants.NONE,null,null,null,10,null,null,!0,null,0<a.length?a:null)}catch(n){this.handleError(n)}};\r\nEditorUi.prototype.writeImageToClipboard=function(a,b,c,d){var e=this.base64ToBlob(a.substring(a.indexOf(",")+1),"image/png");a=new ClipboardItem({"image/png":e,"text/html":new Blob([\'<img src="\'+a+\'" width="\'+b+\'" height="\'+c+\'">\'],{type:"text/html"})});navigator.clipboard.write([a])["catch"](d)};EditorUi.prototype.copyCells=function(a,b){var c=this.editor.graph;if(c.isSelectionEmpty())a.innerHTML="";else{var e=mxUtils.sortCells(c.model.getTopmostCells(c.getSelectionCells())),d=mxUtils.getXml(c.encodeCells(e));\r\nmxUtils.setTextContent(a,encodeURIComponent(d));b?(c.removeCells(e,!1),c.lastPasteXml=null):(c.lastPasteXml=d,c.pasteCounter=0);a.focus();document.execCommand("selectAll",!1,null)}};EditorUi.prototype.copyXml=function(){var a=null;if(Editor.enableNativeCipboard){var b=this.editor.graph;b.isSelectionEmpty()||(a=mxUtils.sortCells(b.getExportableCells(b.model.getTopmostCells(b.getSelectionCells()))),b=mxUtils.getXml(b.encodeCells(a)),navigator.clipboard.writeText(b))}return a};EditorUi.prototype.pasteXml=\r\nfunction(a,b,c,d){var e=this.editor.graph,f=null;e.lastPasteXml==a?e.pasteCounter++:(e.lastPasteXml=a,e.pasteCounter=0);var g=e.pasteCounter*e.gridSize;if(c||this.isCompatibleString(a))f=this.importXml(a,g,g),e.setSelectionCells(f);else if(b&&1==e.getSelectionCount()){g=e.getStartEditingCell(e.getSelectionCell(),d);if(/\\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(a)&&"image"==e.getCurrentCellStyle(g)[mxConstants.STYLE_SHAPE])e.setCellStyles(mxConstants.STYLE_IMAGE,a,[g]);else{e.model.beginUpdate();try{e.labelChanged(g,\r\na),Graph.isLink(a)&&e.setLinkForCell(g,a)}finally{e.model.endUpdate()}}e.setSelectionCell(g)}else f=e.getInsertPoint(),e.isMouseInsertPoint()&&(g=0,e.lastPasteXml==a&&0<e.pasteCounter&&e.pasteCounter--),f=this.insertTextAt(a,f.x+g,f.y+g,!0),e.setSelectionCells(f);e.isSelectionEmpty()||(e.scrollCellToVisible(e.getSelectionCell()),null!=this.hoverIcons&&this.hoverIcons.update(e.view.getState(e.getSelectionCell())));return f};EditorUi.prototype.pasteCells=function(a,b,c,d){if(!mxEvent.isConsumed(a)){var e=\r\nb,f=!1;if(c&&null!=a.clipboardData&&a.clipboardData.getData){var g=a.clipboardData.getData("text/plain"),k=!1;if(null!=g&&0<g.length&&"%3CmxGraphModel%3E"==g.substring(0,18)){var l=decodeURIComponent(g);this.isCompatibleString(l)&&(k=!0,g=l)}k=k?null:a.clipboardData.getData("text/html");null!=k&&0<k.length?(e=this.parseHtmlData(k),f="text/plain"!=e.getAttribute("data-type")):null!=g&&0<g.length&&(e=document.createElement("div"),mxUtils.setTextContent(e,k))}g=e.getElementsByTagName("span");if(null!=\r\ng&&0<g.length&&"application/vnd.lucid.chart.objects"===g[0].getAttribute("data-lucid-type"))c=g[0].getAttribute("data-lucid-content"),null!=c&&0<c.length&&(this.convertLucidChart(c,mxUtils.bind(this,function(a){var b=this.editor.graph;b.lastPasteXml==a?b.pasteCounter++:(b.lastPasteXml=a,b.pasteCounter=0);var c=b.pasteCounter*b.gridSize;b.setSelectionCells(this.importXml(a,c,c));b.scrollCellToVisible(b.getSelectionCell())}),mxUtils.bind(this,function(a){this.handleError(a)})),mxEvent.consume(a));else{f=\r\nf?e.innerHTML:mxUtils.trim(null==e.innerText?mxUtils.getTextContent(e):e.innerText);k=!1;try{var m=f.lastIndexOf("%3E");0<=m&&m<f.length-3&&(f=f.substring(0,m+3))}catch(x){}try{g=e.getElementsByTagName("span"),l=null!=g&&0<g.length?mxUtils.trim(decodeURIComponent(g[0].textContent)):decodeURIComponent(f),this.isCompatibleString(l)&&(k=!0,f=l)}catch(x){}try{if(null!=f&&0<f.length){this.pasteXml(f,d,k,a);try{mxEvent.consume(a)}catch(x){}}else if(!c){var n=this.editor.graph;n.lastPasteXml=null;n.pasteCounter=\r\n0}}catch(x){this.handleError(x)}}}b.innerHTML="&nbsp;"};EditorUi.prototype.addFileDropHandler=function(a){if(Graph.fileSupport)for(var b=null,c=0;c<a.length;c++)mxEvent.addListener(a[c],"dragleave",function(a){null!=b&&(b.parentNode.removeChild(b),b=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(a[c],"dragover",mxUtils.bind(this,function(a){(this.editor.graph.isEnabled()||"1"!=urlParams.embed)&&null==b&&(!mxClient.IS_IE||10<document.documentMode&&12>document.documentMode)&&(b=\r\nthis.highlightElement());a.stopPropagation();a.preventDefault()})),mxEvent.addListener(a[c],"drop",mxUtils.bind(this,function(a){null!=b&&(b.parentNode.removeChild(b),b=null);if(this.editor.graph.isEnabled()||"1"!=urlParams.embed)if(0<a.dataTransfer.files.length)this.hideDialog(),"1"==urlParams.embed?this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,null,null,null,null,!mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)):this.openFiles(a.dataTransfer.files,!0);else{var c=this.extractGraphModelFromEvent(a);\r\nif(null==c){var e=null!=a.dataTransfer?a.dataTransfer:a.clipboardData;null!=e&&(10==document.documentMode||11==document.documentMode?c=e.getData("Text"):(c=null,c=0<=mxUtils.indexOf(e.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):0<=mxUtils.indexOf(e.types,"text/html")?e.getData("text/html"):null,null!=c&&0<c.length?(e=document.createElement("div"),e.innerHTML=this.editor.graph.sanitizeHtml(c),e=e.getElementsByTagName("img"),0<e.length&&(c=e[0].getAttribute("src"))):0<=mxUtils.indexOf(e.types,\r\n"text/plain")&&(c=e.getData("text/plain"))),null!=c&&("data:image/png;base64,"==c.substring(0,22)?(c=this.extractGraphModelFromPng(c),null!=c&&0<c.length&&this.openLocalFile(c,null,!0)):!this.isOffline()&&this.isRemoteFileFormat(c)?(new mxXmlRequest(OPEN_URL,"format=xml&data="+encodeURIComponent(c))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()&&this.openLocalFile(a.getText(),null,!0)})):/^https?:\\/\\//.test(c)&&(null==this.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(c):\r\nwindow.openWindow((mxClient.IS_CHROMEAPP?EditorUi.drawHost+"/":"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(c)))))}else this.openLocalFile(c,null,!0)}a.stopPropagation();a.preventDefault()}))};EditorUi.prototype.highlightElement=function(a){var b=0,c=0,e,d;if(null==a){d=document.body;var f=document.documentElement;e=(d.clientWidth||f.clientWidth)-3;d=Math.max(d.clientHeight||0,f.clientHeight)-3}else b=a.offsetTop,c=a.offsetLeft,e=a.clientWidth,d=a.clientHeight;f=document.createElement("div");\r\nf.style.zIndex=mxPopupMenu.prototype.zIndex+2;f.style.border="3px dotted rgb(254, 137, 12)";f.style.pointerEvents="none";f.style.position="absolute";f.style.top=b+"px";f.style.left=c+"px";f.style.width=Math.max(0,e-3)+"px";f.style.height=Math.max(0,d-3)+"px";null!=a&&a.parentNode==this.editor.graph.container?this.editor.graph.container.appendChild(f):document.body.appendChild(f);return f};EditorUi.prototype.stringToCells=function(a){a=mxUtils.parseXml(a);var b=this.editor.extractGraphModel(a.documentElement);\r\na=[];if(null!=b){var c=new mxCodec(b.ownerDocument),e=new mxGraphModel;c.decode(b,e);b=e.getChildAt(e.getRoot(),0);for(c=0;c<e.getChildCount(b);c++)a.push(e.getChildAt(b,c))}return a};EditorUi.prototype.openFileHandle=function(a,b,c,d,f){if(null!=b&&0<b.length){!this.useCanvasForExport&&/(\\.png)$/i.test(b)?b=b.substring(0,b.length-4)+".drawio":/(\\.pdf)$/i.test(b)&&(b=b.substring(0,b.length-4)+".drawio");var e=mxUtils.bind(this,function(a){b=0<=b.lastIndexOf(".")?b.substring(0,b.lastIndexOf("."))+\r\n".drawio":b+".drawio";if("<mxlibrary"==a.substring(0,10)){null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,d);try{this.loadLibrary(new LocalLibrary(this,a,b))}catch(v){this.handleError(v,mxResources.get("errorLoadingFile"))}}else this.openLocalFile(a,b,d)});if(/(\\.v(dx|sdx?))($|\\?)/i.test(b)||/(\\.vs(x|sx?))($|\\?)/i.test(b))this.importVisio(c,mxUtils.bind(this,function(a){this.spinner.stop();e(a)}));else if(/(\\.*<graphml )/.test(a))this.importGraphML(a,\r\nmxUtils.bind(this,function(a){this.spinner.stop();e(a)}));else if(Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a,b))this.parseFile(c,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?e(a.responseText):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))}));else if(this.isLucidChartData(a))/(\\.json)$/i.test(b)&&(b=b.substring(0,\r\nb.length-5)+".drawio"),this.convertLucidChart(a,mxUtils.bind(this,function(a){this.spinner.stop();this.openLocalFile(a,b,d)}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}));else if("<mxlibrary"==a.substring(0,10)){this.spinner.stop();null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,d);try{this.loadLibrary(new LocalLibrary(this,a,c.name))}catch(t){this.handleError(t,mxResources.get("errorLoadingFile"))}}else if(0==\r\na.indexOf("PK"))this.importZipFile(c,mxUtils.bind(this,function(a){this.spinner.stop();e(a)}),mxUtils.bind(this,function(){this.spinner.stop();this.openLocalFile(a,b,d)}));else{if("image/png"==c.type.substring(0,9))a=this.extractGraphModelFromPng(a);else if("application/pdf"==c.type){var g=Editor.extractGraphModelFromPdf(a);null!=g&&(f=null,d=!0,a=g)}this.spinner.stop();this.openLocalFile(a,b,d,f,null!=f?c:null)}}};EditorUi.prototype.openFiles=function(a,b){if(this.spinner.spin(document.body,mxResources.get("loading")))for(var c=\r\n0;c<a.length;c++)mxUtils.bind(this,function(a){var c=new FileReader;c.onload=mxUtils.bind(this,function(c){try{this.openFileHandle(c.target.result,a.name,a,b)}catch(u){this.handleError(u)}});c.onerror=mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a);window.openFile=null});"image"!==a.type.substring(0,5)&&"application/pdf"!==a.type||"image/svg"===a.type.substring(0,9)?c.readAsText(a):c.readAsDataURL(a)})(a[c])};EditorUi.prototype.openLocalFile=function(a,b,c,d,f){var e=this.getCurrentFile(),\r\ng=mxUtils.bind(this,function(){window.openFile=null;if(null==b&&null!=this.getCurrentFile()&&this.isDiagramEmpty()){var e=mxUtils.parseXml(a);null!=e&&(this.editor.setGraphXml(e.documentElement),this.editor.graph.selectAll())}else this.fileLoaded(new LocalFile(this,a,b||this.defaultFilename,c,d,f))});if(null!=a&&0<a.length)null==e||!e.isModified()&&(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null!=d)?g():(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null!=d)&&null!=e&&e.isModified()?this.confirm(mxResources.get("allChangesLost"),\r\nnull,g,mxResources.get("cancel"),mxResources.get("discardChanges")):(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a,b),window.openWindow(this.getUrl(),null,mxUtils.bind(this,function(){null!=e&&e.isModified()?this.confirm(mxResources.get("allChangesLost"),null,g,mxResources.get("cancel"),mxResources.get("discardChanges")):g()})));else throw Error(mxResources.get("notADiagramFile"));};EditorUi.prototype.getBasenames=function(){var a={};if(null!=this.pages)for(var b=\r\n0;b<this.pages.length;b++)this.updatePageRoot(this.pages[b]),this.addBasenamesForCell(this.pages[b].root,a);else this.addBasenamesForCell(this.editor.graph.model.getRoot(),a);var b=[],c;for(c in a)b.push(c);return b};EditorUi.prototype.addBasenamesForCell=function(a,b){function c(a){if(null!=a){var c=a.lastIndexOf(".");0<c&&(a=a.substring(c+1,a.length));null==b[a]&&(b[a]=!0)}}var e=this.editor.graph,d=e.getCellStyle(a);c(mxStencilRegistry.getBasenameForStencil(d[mxConstants.STYLE_SHAPE]));e.model.isEdge(a)&&\r\n(c(mxMarker.getPackageForType(d[mxConstants.STYLE_STARTARROW])),c(mxMarker.getPackageForType(d[mxConstants.STYLE_ENDARROW])));for(var d=e.model.getChildCount(a),f=0;f<d;f++)this.addBasenamesForCell(e.model.getChildAt(a,f),b)};EditorUi.prototype.setGraphEnabled=function(a){this.diagramContainer.style.visibility=a?"":"hidden";this.formatContainer.style.visibility=a?"":"hidden";this.sidebarFooterContainer.style.display=a?"":"none";this.sidebarContainer.style.display=a?"":"none";this.hsplit.style.display=\r\na?"":"none";this.editor.graph.setEnabled(a);null!=this.ruler&&(this.ruler.hRuler.container.style.visibility=a?"":"hidden",this.ruler.vRuler.container.style.visibility=a?"":"hidden");null!=this.tabContainer&&(this.tabContainer.style.visibility=a?"":"hidden");a||(null!=this.actions.outlineWindow&&this.actions.outlineWindow.window.setVisible(!1),null!=this.actions.layersWindow&&this.actions.layersWindow.window.setVisible(!1),null!=this.menus.tagsWindow&&this.menus.tagsWindow.window.setVisible(!1),null!=\r\nthis.menus.findWindow&&this.menus.findWindow.window.setVisible(!1),null!=this.menus.findReplaceWindow&&this.menus.findReplaceWindow.window.setVisible(!1))};EditorUi.prototype.initializeEmbedMode=function(){this.setGraphEnabled(!1);(window.opener||window.parent)!=window&&("1"!=urlParams.spin||this.spinner.spin(document.body,mxResources.get("loading")))&&this.installMessageHandler(mxUtils.bind(this,function(a,b,c,d){this.spinner.stop();this.addEmbedButtons();this.setGraphEnabled(!0);if(null==a||0==\r\na.length)a=this.emptyDiagramXml;this.setCurrentFile(new EmbedFile(this,a,{}));this.mode=App.MODE_EMBED;this.setFileData(a);if(d)try{var e=this.editor.graph;e.setGridEnabled(!1);e.pageVisible=!1;var f=e.model.cells,g;for(g in f){var k=f[g];null!=k&&null!=k.style&&(k.style+=";sketch=1;"+(-1==k.style.indexOf("fontFamily=")||-1<k.style.indexOf("fontFamily=Helvetica;")?"fontFamily=Architects Daughter;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DArchitects%2BDaughter;":""))}}catch(v){console.log(v)}this.editor.isChromelessView()?\r\nthis.editor.graph.isLightboxView()&&this.lightboxFit():this.showLayersDialog();this.chromelessResize&&this.chromelessResize();this.editor.undoManager.clear();this.editor.modified=null!=c?c:!1;this.updateUi();window.self!==window.top&&window.focus();null!=this.format&&this.format.refresh()}))};EditorUi.prototype.showLayersDialog=function(){1<this.editor.graph.getModel().getChildCount(this.editor.graph.getModel().getRoot())&&(null==this.actions.layersWindow?this.actions.get("layers").funct():this.actions.layersWindow.window.setVisible(!0))};\r\nEditorUi.prototype.getPublicUrl=function(a,b){null!=a?a.getPublicUrl(b):b(null)};EditorUi.prototype.createLoadMessage=function(a){var b=this.editor.graph;return{event:a,pageVisible:b.pageVisible,translate:b.view.translate,bounds:b.getGraphBounds(),currentPage:this.getSelectedPageIndex(),scale:b.view.scale,page:b.view.getBackgroundPageBounds()}};EditorUi.prototype.installMessageHandler=function(a){var b=null,c=!1,e=!1,d=null,f=mxUtils.bind(this,function(a,b){this.editor.modified&&"0"!=urlParams.modified?\r\nnull!=urlParams.modified&&this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(urlParams.modified))):this.editor.setStatus("")});this.editor.graph.model.addListener(mxEvent.CHANGE,f);mxEvent.addListener(window,"message",mxUtils.bind(this,function(f){if(f.source==(window.opener||window.parent)){var k=f.data,l=mxUtils.bind(this,function(a){if(null!=a&&"function"===typeof a.charAt&&"<"!=a.charAt(0))try{"data:image/png;base64,"==a.substring(0,22)?a=this.extractGraphModelFromPng(a):"data:image/svg+xml;base64,"==\r\na.substring(0,26)?a=atob(a.substring(26)):"data:image/svg+xml;utf8,"==a.substring(0,24)&&(a=a.substring(24)),null!=a&&("%"==a.charAt(0)?a=decodeURIComponent(a):"<"!=a.charAt(0)&&(a=Graph.decompress(a)))}catch(ma){}return a});if("json"==urlParams.proto){var m=!1;try{k=JSON.parse(k)}catch(Q){k=null}try{if(null==k)return;if("dialog"==k.action){this.showError(null!=k.titleKey?mxResources.get(k.titleKey):k.title,null!=k.messageKey?mxResources.get(k.messageKey):k.message,null!=k.buttonKey?mxResources.get(k.buttonKey):\r\nk.button);null!=k.modified&&(this.editor.modified=k.modified);return}if("layout"==k.action){this.executeLayoutList(k.layouts);return}if("prompt"==k.action){this.spinner.stop();var n=new FilenameDialog(this,k.defaultValue||"",null!=k.okKey?mxResources.get(k.okKey):k.ok,function(a){null!=a?g.postMessage(JSON.stringify({event:"prompt",value:a,message:k}),"*"):g.postMessage(JSON.stringify({event:"prompt-cancel",message:k}),"*")},null!=k.titleKey?mxResources.get(k.titleKey):k.title);this.showDialog(n.container,\r\n300,80,!0,!1);n.init();return}if("draft"==k.action){var p=l(k.xml);this.spinner.stop();n=new DraftDialog(this,mxResources.get("draftFound",[k.name||this.defaultFilename]),p,mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"edit",message:k}),"*")}),mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"discard",message:k}),"*")}),k.editKey?mxResources.get(k.editKey):null,k.discardKey?mxResources.get(k.discardKey):\r\nnull,k.ignore?mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"ignore",message:k}),"*")}):null);this.showDialog(n.container,640,480,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()}));try{n.init()}catch(Q){g.postMessage(JSON.stringify({event:"draft",error:Q.toString(),message:k}),"*")}return}if("template"==k.action){this.spinner.stop();var q=1==k.enableRecent,t=1==k.enableSearch,u=1==k.enableCustomTemp;if("1"==urlParams.newTempDlg&&\r\n!k.templatesOnly&&null!=k.callback){var C=this.getCurrentUser(),v=new TemplatesDialog(this,function(a,b,c){a=a||this.emptyDiagramXml;g.postMessage(JSON.stringify({event:"template",xml:a,blank:a==this.emptyDiagramXml,name:b,tempUrl:c.url,libs:c.libs,builtIn:null!=c.info&&null!=c.info.custContentId,message:k}),"*")},mxUtils.bind(this,function(){this.actions.get("exit").funct()}),null,null,null!=C?C.id:null,q?mxUtils.bind(this,function(a,b,c){this.remoteInvoke("getRecentDiagrams",[c],null,a,b)}):null,\r\nt?mxUtils.bind(this,function(a,b,c,e){this.remoteInvoke("searchDiagrams",[a,e],null,b,c)}):null,mxUtils.bind(this,function(a,b,c){this.remoteInvoke("getFileContent",[a.url],null,b,c)}),null,u?mxUtils.bind(this,function(a){this.remoteInvoke("getCustomTemplates",null,null,a,function(){a({},0)})}):null,!1,!1,!0,!0);this.showDialog(v.container,window.innerWidth,window.innerHeight,!0,!1,null,!1,!0);return}n=new NewDialog(this,!1,k.templatesOnly?!1:null!=k.callback,mxUtils.bind(this,function(b,c,e,d){b=\r\nb||this.emptyDiagramXml;null!=k.callback?g.postMessage(JSON.stringify({event:"template",xml:b,blank:b==this.emptyDiagramXml,name:c,tempUrl:e,libs:d,builtIn:!0,message:k}),"*"):(a(b,f,b!=this.emptyDiagramXml,k.toSketch),this.editor.modified||this.editor.setStatus(""))}),null,null,null,null,null,null,null,q?mxUtils.bind(this,function(a){this.remoteInvoke("getRecentDiagrams",[null],null,a,function(){a(null,"Network Error!")})}):null,t?mxUtils.bind(this,function(a,b){this.remoteInvoke("searchDiagrams",\r\n[a,null],null,b,function(){b(null,"Network Error!")})}):null,mxUtils.bind(this,function(a,b,c){g.postMessage(JSON.stringify({event:"template",docUrl:a,info:b,name:c}),"*")}),null,null,u?mxUtils.bind(this,function(a){this.remoteInvoke("getCustomTemplates",null,null,a,function(){a({},0)})}):null,1==k.withoutType);this.showDialog(n.container,620,460,!0,!1,mxUtils.bind(this,function(a){this.sidebar.hideTooltip();a&&this.actions.get("exit").funct()}));n.init();return}if("textContent"==k.action){var K=\r\nthis.getDiagramTextContent();g.postMessage(JSON.stringify({event:"textContent",data:K,message:k}),"*");return}if("status"==k.action){null!=k.messageKey?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(k.messageKey))):null!=k.message&&this.editor.setStatus(mxUtils.htmlEntities(k.message));null!=k.modified&&(this.editor.modified=k.modified);return}if("spinner"==k.action){var M=null!=k.messageKey?mxResources.get(k.messageKey):k.message;null==k.show||k.show?this.spinner.spin(document.body,M):\r\nthis.spinner.stop();return}if("export"==k.action){if("png"==k.format||"xmlpng"==k.format){if(null==k.spin&&null==k.spinKey||this.spinner.spin(document.body,null!=k.spinKey?mxResources.get(k.spinKey):k.spin)){var J=null!=k.xml?k.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var I=this.editor.graph,N=mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();var b=this.createLoadMessage("export");b.format=k.format;b.message=k;b.data=a;b.xml=J;g.postMessage(JSON.stringify(b),\r\n"*")}),H=mxUtils.bind(this,function(a){null==a&&(a=Editor.blankImage);"xmlpng"==k.format&&(a=Editor.writeGraphModelToPng(a,"tEXt","mxfile",encodeURIComponent(J)));I!=this.editor.graph&&I.container.parentNode.removeChild(I.container);N(a)}),L=k.pageId||(null!=this.pages?k.currentPage?this.currentPage.getId():this.pages[0].getId():null);if(this.isExportToCanvas()){null!=k.xml&&0<k.xml.length&&(c=!0,this.setFileData(J),c=!1);if(null!=this.pages&&this.currentPage.getId()!=L){for(var V=I.getGlobalVariable,\r\nI=this.createTemporaryGraph(I.getStylesheet()),U,P=0;P<this.pages.length;P++)if(this.pages[P].getId()==L){U=this.updatePageRoot(this.pages[P]);break}null==U&&(U=this.currentPage);I.getGlobalVariable=function(a){return"page"==a?U.getName():"pagenumber"==a?1:V.apply(this,arguments)};document.body.appendChild(I.container);I.model.setRoot(U.root)}if(null!=k.layerIds){for(var W=I.model,ha=W.getChildCells(W.getRoot()),n={},P=0;P<k.layerIds.length;P++)n[k.layerIds[P]]=!0;for(P=0;P<ha.length;P++)W.setVisible(ha[P],\r\nn[ha[P].id]||!1)}this.editor.exportToCanvas(mxUtils.bind(this,function(a){H(a.toDataURL("image/png"))}),k.width,null,k.background,mxUtils.bind(this,function(){H(null)}),null,null,k.scale,k.transparent,k.shadow,null,I,k.border,null,k.grid,k.keepTheme)}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==k.format?"1":"0")+(null!=L?"&pageId="+L:"")+(null!=k.layerIds&&0<k.layerIds.length?"&extras="+encodeURIComponent(JSON.stringify({layerIds:k.layerIds})):"")+(null!=k.scale?"&scale="+k.scale:\r\n"")+"&base64=1&xml="+encodeURIComponent(J))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()?N("data:image/png;base64,"+a.getText()):H(null)}),mxUtils.bind(this,function(){H(null)}))}}else{null!=k.xml&&0<k.xml.length&&(c=!0,this.setFileData(k.xml),c=!1);M=this.createLoadMessage("export");M.message=k;if("html2"==k.format||"html"==k.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length)){var ea=this.getXmlFileData();M.xml=mxUtils.getXml(ea);M.data=this.getFileData(null,\r\nnull,!0,null,null,null,ea);M.format=k.format}else if("html"==k.format)J=this.editor.getGraphXml(),M.data=this.getHtml(J,this.editor.graph),M.xml=mxUtils.getXml(J),M.format=k.format;else{mxSvgCanvas2D.prototype.foAltText=null;var X=null!=k.background?k.background:this.editor.graph.background;X==mxConstants.NONE&&(X=null);M.xml=this.getFileData(!0,null,null,null,null,null,null,null,null,!1);M.format="svg";var Z=mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();M.data=\r\nEditor.createSvgDataUri(a);g.postMessage(JSON.stringify(M),"*")});if("xmlsvg"==k.format)(null==k.spin&&null==k.spinKey||this.spinner.spin(document.body,null!=k.spinKey?mxResources.get(k.spinKey):k.spin))&&this.getEmbeddedSvg(M.xml,this.editor.graph,null,!0,Z,null,null,k.embedImages,X,k.scale,k.border,k.shadow,k.keepTheme);else if(null==k.spin&&null==k.spinKey||this.spinner.spin(document.body,null!=k.spinKey?mxResources.get(k.spinKey):k.spin)){this.editor.graph.setEnabled(!1);var Y=this.editor.graph.getSvg(X,\r\nk.scale,k.border,null,null,null,null,null,null,this.editor.graph.shadowVisible||k.shadow,null,k.keepTheme);(this.editor.graph.shadowVisible||k.shadow)&&this.editor.graph.addSvgShadow(Y);this.embedFonts(Y,mxUtils.bind(this,function(a){k.embedImages||null==k.embedImages?this.editor.convertImages(a,mxUtils.bind(this,function(a){Z(mxUtils.getXml(a))})):Z(mxUtils.getXml(a))}))}return}g.postMessage(JSON.stringify(M),"*")}return}if("load"==k.action){m=k.toSketch;e=1==k.autosave;this.hideDialog();null!=k.modified&&\r\nnull==urlParams.modified&&(urlParams.modified=k.modified);null!=k.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=k.saveAndExit);null!=k.noSaveBtn&&null==urlParams.noSaveBtn&&(urlParams.noSaveBtn=k.noSaveBtn);null!=k.noExitBtn&&null==urlParams.noExitBtn&&(urlParams.noExitBtn=k.noExitBtn);null!=k.title&&null!=this.buttonContainer&&(p=document.createElement("span"),mxUtils.write(p,k.title),"atlas"==uiTheme?(this.buttonContainer.style.paddingRight="12px",this.buttonContainer.style.paddingTop=\r\n"6px",this.buttonContainer.style.right="1"==urlParams.noLangIcon?"0":"25px"):"min"!=uiTheme&&(this.buttonContainer.style.paddingRight="38px",this.buttonContainer.style.paddingTop="6px"),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),this.buttonContainer.appendChild(p),this.embedFilenameSpan=p);try{k.libs&&this.sidebar.showEntries(k.libs)}catch(Q){}k=null!=k.xmlpng?this.extractGraphModelFromPng(k.xmlpng):null!=k.descriptor?k.descriptor:k.xml}else{if("merge"==\r\nk.action){var ga=this.getCurrentFile();null!=ga&&(p=l(k.xml),null!=p&&""!=p&&ga.mergeFile(new LocalFile(this,p),function(){g.postMessage(JSON.stringify({event:"merge",message:k}),"*")},function(a){g.postMessage(JSON.stringify({event:"merge",message:k,error:a}),"*")}))}else"remoteInvokeReady"==k.action?this.handleRemoteInvokeReady(g):"remoteInvoke"==k.action?this.handleRemoteInvoke(k,f.origin):"remoteInvokeResponse"==k.action?this.handleRemoteInvokeResponse(k):g.postMessage(JSON.stringify({error:"unknownMessage",\r\ndata:JSON.stringify(k)}),"*");return}}catch(Q){this.handleError(Q)}}var ba=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&1<this.pages.length?this.getFileData(!0):mxUtils.getXml(this.editor.getGraphXml())}),O=mxUtils.bind(this,function(f,k){c=!0;try{a(f,k,null,m)}catch(fa){this.handleError(fa)}c=!1;null!=urlParams.modified&&this.editor.setStatus("");d=ba();e&&null==b&&(b=mxUtils.bind(this,function(a,b){var e=ba();if(e!=d&&!c){var f=this.createLoadMessage("autosave");f.xml=\r\ne;(window.opener||window.parent).postMessage(JSON.stringify(f),"*")}d=e}),this.editor.graph.model.addListener(mxEvent.CHANGE,b),this.editor.graph.addListener("gridSizeChanged",b),this.editor.graph.addListener("shadowVisibleChanged",b),this.addListener("pageFormatChanged",b),this.addListener("pageScaleChanged",b),this.addListener("backgroundColorChanged",b),this.addListener("backgroundImageChanged",b),this.addListener("foldingEnabledChanged",b),this.addListener("mathEnabledChanged",b),this.addListener("gridEnabledChanged",\r\nb),this.addListener("guidesEnabledChanged",b),this.addListener("pageViewChanged",b));if("1"==urlParams.returnbounds||"json"==urlParams.proto){var l=this.createLoadMessage("load");l.xml=f;g.postMessage(JSON.stringify(l),"*")}});null!=k&&"function"===typeof k.substring&&"data:application/vnd.visio;base64,"==k.substring(0,34)?(l="0M8R4KGxGuE"==k.substring(34,45)?"raw.vsd":"raw.vsdx",this.importVisio(this.base64ToBlob(k.substring(k.indexOf(",")+1)),function(a){O(a,f)},mxUtils.bind(this,function(a){this.handleError(a)}),\r\nl)):null!=k&&"function"===typeof k.substring&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(k,"")?this.parseFile(new Blob([k],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&"<mxGraphModel"==a.responseText.substring(0,13)&&O(a.responseText,f)}),""):null!=k&&"function"===typeof k.substring&&this.isLucidChartData(k)?this.convertLucidChart(k,mxUtils.bind(this,function(a){O(a)}),mxUtils.bind(this,function(a){this.handleError(a)})):\r\nnull==k||"object"!==typeof k||null==k.format||null==k.data&&null==k.url?(k=l(k),O(k,f)):this.loadDescriptor(k,mxUtils.bind(this,function(a){O(ba(),f)}),mxUtils.bind(this,function(a){this.handleError(a,mxResources.get("errorLoadingFile"))}))}}));var g=window.opener||window.parent,f="json"==urlParams.proto?JSON.stringify({event:"init"}):urlParams.ready||"ready";g.postMessage(f,"*");if("json"==urlParams.proto){var m=this.editor.graph.openLink;this.editor.graph.openLink=function(a,b,c){m.apply(this,arguments);\r\ng.postMessage(JSON.stringify({event:"openLink",href:a,target:b,allowOpener:c}),"*")}}};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.menubar){var a=document.createElement("div");a.style.display="inline-block";a.style.position="absolute";a.style.paddingTop="atlas"==uiTheme?"2px":"0px";a.style.paddingLeft="8px";a.style.paddingBottom="2px";var b=document.createElement("button");b.className="geBigButton";var c=b;if("1"==urlParams.noSaveBtn){if("0"!=urlParams.saveAndExit){var d="1"==urlParams.publishClose?\r\nmxResources.get("publish"):mxResources.get("saveAndExit");mxUtils.write(b,d);b.setAttribute("title",d);mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()}));a.appendChild(b)}}else mxUtils.write(b,mxResources.get("save")),b.setAttribute("title",mxResources.get("save")+" ("+Editor.ctrlKey+"+S)"),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()})),a.appendChild(b),"1"==urlParams.saveAndExit&&(b=document.createElement("a"),\r\nmxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),b.className="geBigButton geBigStandardButton",b.style.marginLeft="6px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b),c=b);"1"!=urlParams.noExitBtn&&(b=document.createElement("a"),c="1"==urlParams.publishClose?mxResources.get("close"):mxResources.get("exit"),mxUtils.write(b,c),b.setAttribute("title",c),b.className="geBigButton geBigStandardButton",\r\nb.style.marginLeft="6px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("exit").funct()})),a.appendChild(b),c=b);c.style.marginRight="20px";this.toolbar.container.appendChild(a);this.toolbar.staticElements.push(a);a.style.right="atlas"!=uiTheme?"52px":"42px"}};EditorUi.prototype.showImportCsvDialog=function(){null==this.importCsvDialog&&(this.importCsvDialog=new TextareaDialog(this,mxResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(a){this.importCsv(a)}),\r\nnull,null,620,430,null,!0,!0,mxResources.get("import"),this.isOffline()?null:"https://drawio-app.com/import-from-csv-to-drawio/"));this.showDialog(this.importCsvDialog.container,640,520,!0,!0,null,null,null,null,!0);this.importCsvDialog.init()};EditorUi.prototype.executeLayoutList=function(a,b){for(var c=this.editor.graph,e=c.getSelectionCells(),d=0;d<a.length;d++){var f=new window[a[d].layout](c);if(null!=a[d].config)for(var g in a[d].config)f[g]=a[d].config[g];this.executeLayout(function(){f.execute(c.getDefaultParent(),\r\n0==e.length?null:e)},d==a.length-1,b)}};EditorUi.prototype.importCsv=function(a,b){try{var c=a.split("\\n"),e=[],d=[],f={};if(0<c.length){var g={},k=null,m=null,z=null,y=null,x=null,A=null,B=null,E=null,F=null,D="",C="auto",G="auto",K=null,M=null,J=40,I=40,N=100,H=0,L=this.editor.graph;L.getGraphBounds();for(var V=function(){null!=b?b(ia):(L.setSelectionCells(ia),L.scrollCellToVisible(L.getSelectionCell()))},U=L.getFreeInsertPoint(),P=U.x,W=U.y,U=W,ha=null,ea="auto",F=null,X=[],Z=null,Y=null,ga=0;ga<\r\nc.length&&"#"==c[ga].charAt(0);){a=c[ga];for(ga++;ga<c.length&&"\\\\"==a.charAt(a.length-1)&&"#"==c[ga].charAt(0);)a=a.substring(0,a.length-1)+mxUtils.trim(c[ga].substring(1)),ga++;if("#"!=a.charAt(1)){var ba=a.indexOf(":");if(0<ba){var O=mxUtils.trim(a.substring(1,ba)),Q=mxUtils.trim(a.substring(ba+1));"label"==O?ha=L.sanitizeHtml(Q):"labelname"==O&&0<Q.length&&"-"!=Q?x=Q:"labels"==O&&0<Q.length&&"-"!=Q?A=JSON.parse(Q):"style"==O?m=Q:"parentstyle"==O?B=Q:"stylename"==O&&0<Q.length&&"-"!=Q?y=Q:"styles"==\r\nO&&0<Q.length&&"-"!=Q?z=JSON.parse(Q):"vars"==O&&0<Q.length&&"-"!=Q?k=JSON.parse(Q):"identity"==O&&0<Q.length&&"-"!=Q?E=Q:"parent"==O&&0<Q.length&&"-"!=Q?F=Q:"namespace"==O&&0<Q.length&&"-"!=Q?D=Q:"width"==O?C=Q:"height"==O?G=Q:"left"==O&&0<Q.length?K=Q:"top"==O&&0<Q.length?M=Q:"ignore"==O?Y=Q.split(","):"connect"==O?X.push(JSON.parse(Q)):"link"==O?Z=Q:"padding"==O?H=parseFloat(Q):"edgespacing"==O?J=parseFloat(Q):"nodespacing"==O?I=parseFloat(Q):"levelspacing"==O?N=parseFloat(Q):"layout"==O&&(ea=\r\nQ)}}}if(null==c[ga])throw Error(mxResources.get("invalidOrMissingFile"));for(var ma=this.editor.csvToArray(c[ga]),O=ba=null,Q=[],T=0;T<ma.length;T++)E==ma[T]&&(ba=T),F==ma[T]&&(O=T),Q.push(mxUtils.trim(ma[T]).replace(/[^a-z0-9]+/ig,"_").replace(/^\\d+/,"").replace(/_+$/,""));null==ha&&(ha="%"+Q[0]+"%");if(null!=X)for(var fa=0;fa<X.length;fa++)null==g[X[fa].to]&&(g[X[fa].to]={});E=[];for(T=ga+1;T<c.length;T++){var ja=this.editor.csvToArray(c[T]);if(null==ja){var na=40<c[T].length?c[T].substring(0,40)+\r\n"...":c[T];throw Error(na+" ("+T+"):\\n"+mxResources.get("containsValidationErrors"));}0<ja.length&&E.push(ja)}L.model.beginUpdate();try{for(T=0;T<E.length;T++){var ja=E[T],S=null,aa=null!=ba?D+ja[ba]:null;null!=aa&&(S=L.model.getCell(aa));var c=null!=S,ca=new mxCell(ha,new mxGeometry(P,U,0,0),m||"whiteSpace=wrap;html=1;");ca.vertex=!0;ca.id=aa;for(var da=0;da<ja.length;da++)L.setAttributeForCell(ca,Q[da],ja[da]);if(null!=x&&null!=A){var qa=A[ca.getAttribute(x)];null!=qa&&L.labelChanged(ca,qa)}if(null!=\r\ny&&null!=z){var oa=z[ca.getAttribute(y)];null!=oa&&(ca.style=oa)}L.setAttributeForCell(ca,"placeholders","1");ca.style=L.replacePlaceholders(ca,ca.style,k);c&&(L.model.setGeometry(S,ca.geometry),L.model.setStyle(S,ca.style),0>mxUtils.indexOf(d,S)&&d.push(S));S=ca;if(!c)for(fa=0;fa<X.length;fa++)g[X[fa].to][S.getAttribute(X[fa].to)]=S;null!=Z&&"link"!=Z&&(L.setLinkForCell(S,S.getAttribute(Z)),L.setAttributeForCell(S,Z,null));L.fireEvent(new mxEventObject("cellsInserted","cells",[S]));var ka=this.editor.graph.getPreferredSizeForCell(S);\r\nS.vertex&&(null!=K&&null!=S.getAttribute(K)&&(S.geometry.x=P+parseFloat(S.getAttribute(K))),null!=M&&null!=S.getAttribute(M)&&(S.geometry.y=W+parseFloat(S.getAttribute(M))),"@"==C.charAt(0)&&null!=S.getAttribute(C.substring(1))?S.geometry.width=parseFloat(S.getAttribute(C.substring(1))):S.geometry.width="auto"==C?ka.width+H:parseFloat(C),"@"==G.charAt(0)&&null!=S.getAttribute(G.substring(1))?S.geometry.height=parseFloat(S.getAttribute(G.substring(1))):S.geometry.height="auto"==G?ka.height+H:parseFloat(G),\r\nU+=S.geometry.height+I);c?(null==f[aa]&&(f[aa]=[]),f[aa].push(S)):(F=null!=O?L.model.getCell(D+ja[O]):null,e.push(S),null!=F?(F.style=L.replacePlaceholders(F,B,k),L.addCell(S,F)):d.push(L.addCell(S)))}for(var pa=d.slice(),ia=d.slice(),fa=0;fa<X.length;fa++)for(var ra=X[fa],T=0;T<e.length;T++){var S=e[T],wa=mxUtils.bind(this,function(a,b,c){var e=b.getAttribute(c.from);if(null!=e&&(L.setAttributeForCell(b,c.from,null),""!=e))for(var e=e.split(","),d=0;d<e.length;d++){var f=g[c.to][e[d]];if(null!=f){var l=\r\nc.label;null!=c.fromlabel&&(l=(b.getAttribute(c.fromlabel)||"")+(l||""));null!=c.sourcelabel&&(l=L.replacePlaceholders(b,c.sourcelabel,k)+(l||""));null!=c.tolabel&&(l=(l||"")+(f.getAttribute(c.tolabel)||""));null!=c.targetlabel&&(l=(l||"")+L.replacePlaceholders(f,c.targetlabel,k));var m="target"==c.placeholders==!c.invert?f:a,m=null!=c.style?L.replacePlaceholders(m,c.style,k):L.createCurrentEdgeStyle(),l=L.insertEdge(null,null,l||"",c.invert?f:a,c.invert?a:f,m);if(null!=c.labels)for(m=0;m<c.labels.length;m++){var n=\r\nc.labels[m],x=new mxCell(n.label||m,new mxGeometry(null!=n.x?n.x:0,null!=n.y?n.y:0,0,0),"resizable=0;html=1;");x.vertex=!0;x.connectable=!1;x.geometry.relative=!0;null!=n.placeholders&&(x.value=L.replacePlaceholders("target"==n.placeholders==!c.invert?f:a,x.value,k));if(null!=n.dx||null!=n.dy)x.geometry.offset=new mxPoint(null!=n.dx?n.dx:0,null!=n.dy?n.dy:0);l.insert(x)}ia.push(l);mxUtils.remove(c.invert?a:f,pa)}}});wa(S,S,ra);if(null!=f[S.id])for(da=0;da<f[S.id].length;da++)wa(S,f[S.id][da],ra)}if(null!=\r\nY)for(T=0;T<e.length;T++)for(S=e[T],da=0;da<Y.length;da++)L.setAttributeForCell(S,mxUtils.trim(Y[da]),null);if(0<d.length){var R=new mxParallelEdgeLayout(L);R.spacing=J;R.checkOverlap=!0;var ta=function(){0<R.spacing&&R.execute(L.getDefaultParent());for(var a=0;a<d.length;a++){var b=L.getCellGeometry(d[a]);b.x=Math.round(L.snap(b.x));b.y=Math.round(L.snap(b.y));"auto"==C&&(b.width=Math.round(L.snap(b.width)));"auto"==G&&(b.height=Math.round(L.snap(b.height)))}};if("["==ea.charAt(0)){var la=V;L.view.validate();\r\nthis.executeLayoutList(JSON.parse(ea),function(){ta();la()});V=null}else if("circle"==ea){var ua=new mxCircleLayout(L);ua.disableEdgeStyle=!1;ua.resetEdges=!1;var va=ua.isVertexIgnored;ua.isVertexIgnored=function(a){return va.apply(this,arguments)||0>mxUtils.indexOf(d,a)};this.executeLayout(function(){ua.execute(L.getDefaultParent());ta()},!0,V);V=null}else if("horizontaltree"==ea||"verticaltree"==ea||"auto"==ea&&ia.length==2*d.length-1&&1==pa.length){L.view.validate();var ya=new mxCompactTreeLayout(L,\r\n"horizontaltree"==ea);ya.levelDistance=I;ya.edgeRouting=!1;ya.resetEdges=!1;this.executeLayout(function(){ya.execute(L.getDefaultParent(),0<pa.length?pa[0]:null)},!0,V);V=null}else if("horizontalflow"==ea||"verticalflow"==ea||"auto"==ea&&1==pa.length){L.view.validate();var xa=new mxHierarchicalLayout(L,"horizontalflow"==ea?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);xa.intraCellSpacing=I;xa.parallelEdgeSpacing=J;xa.interRankCellSpacing=N;xa.disableEdgeStyle=!1;this.executeLayout(function(){xa.execute(L.getDefaultParent(),\r\nia);L.moveCells(ia,P,W)},!0,V);V=null}else if("organic"==ea||"auto"==ea&&ia.length>d.length){L.view.validate();var sa=new mxFastOrganicLayout(L);sa.forceConstant=3*I;sa.disableEdgeStyle=!1;sa.resetEdges=!1;var za=sa.isVertexIgnored;sa.isVertexIgnored=function(a){return za.apply(this,arguments)||0>mxUtils.indexOf(d,a)};this.executeLayout(function(){sa.execute(L.getDefaultParent());ta()},!0,V);V=null}}this.hideDialog()}finally{L.model.endUpdate()}null!=V&&V()}}catch(Aa){this.handleError(Aa)}};EditorUi.prototype.getSearch=\r\nfunction(a){var b="";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=a&&0<window.location.search.length){var c="?",e;for(e in urlParams)0>mxUtils.indexOf(a,e)&&null!=urlParams[e]&&(b+=c+e+"="+urlParams[e],c="&")}else b=window.location.search;return b};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0;if("1"==urlParams.offline)a+=window.location.search;else{var c="tmp libs clibs state fileId code share notitle data url embed client create title splash".split(" "),\r\ne;for(e in urlParams)0>mxUtils.indexOf(c,e)&&(a=0==b?a+"?":a+"&",null!=urlParams[e]&&(a+=e+"="+urlParams[e],b++))}return a};EditorUi.prototype.showLinkDialog=function(a,b,c,d,f){a=new LinkDialog(this,a,b,c,!0,d,f);this.showDialog(a.container,560,130,!0,!0);a.init()};EditorUi.prototype.getServiceCount=function(a){var b=1;null==this.drive&&"function"!==typeof window.DriveClient||b++;null==this.dropbox&&"function"!==typeof window.DropboxClient||b++;null==this.oneDrive&&"function"!==typeof window.OneDriveClient||\r\nb++;null!=this.gitHub&&b++;null!=this.gitLab&&b++;null!=this.notion&&b++;a&&isLocalStorage&&"1"==urlParams.browser&&b++;return b};EditorUi.prototype.updateUi=function(){this.updateButtonContainer();this.updateActionStates();var a=this.getCurrentFile(),b=null!=a||"1"==urlParams.embed&&this.editor.graph.isEnabled();this.menus.get("viewPanels").setEnabled(b);this.menus.get("viewZoom").setEnabled(b);var c=("1"!=urlParams.embed||!this.editor.graph.isEnabled())&&(null==a||a.isRestricted());this.actions.get("makeCopy").setEnabled(!c);\r\nthis.actions.get("print").setEnabled(!c);this.menus.get("exportAs").setEnabled(!c);this.menus.get("embed").setEnabled(!c);c="1"!=urlParams.embed||this.editor.graph.isEnabled();this.menus.get("extras").setEnabled(c);Editor.enableCustomLibraries&&(this.menus.get("openLibraryFrom").setEnabled(c),this.menus.get("newLibrary").setEnabled(c));a="1"==urlParams.embed&&this.editor.graph.isEnabled()||null!=a&&a.isEditable();this.actions.get("image").setEnabled(b);this.actions.get("zoomIn").setEnabled(b);this.actions.get("zoomOut").setEnabled(b);\r\nthis.actions.get("resetView").setEnabled(b);this.actions.get("undo").setEnabled(this.canUndo()&&a);this.actions.get("redo").setEnabled(this.canRedo()&&a);this.menus.get("edit").setEnabled(b);this.menus.get("view").setEnabled(b);this.menus.get("importFrom").setEnabled(a);this.menus.get("arrange").setEnabled(a);null!=this.toolbar&&(null!=this.toolbar.edgeShapeMenu&&this.toolbar.edgeShapeMenu.setEnabled(a),null!=this.toolbar.edgeStyleMenu&&this.toolbar.edgeStyleMenu.setEnabled(a));this.updateUserElement()};\r\nEditorUi.prototype.updateButtonContainer=function(){};EditorUi.prototype.updateUserElement=function(){};EditorUi.prototype.scheduleSanityCheck=function(){};EditorUi.prototype.stopSanityCheck=function(){};EditorUi.prototype.isDiagramActive=function(){var a=this.getCurrentFile();return null!=a&&a.isEditable()||"1"==urlParams.embed&&this.editor.graph.isEnabled()};var f=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates=function(){f.apply(this,arguments);var a=this.editor.graph,\r\nb=this.getCurrentFile(),c=this.isDiagramActive(),d=a.getEditableCells(a.getSelectionCells());this.actions.get("pageSetup").setEnabled(c);this.actions.get("autosave").setEnabled(null!=b&&b.isEditable()&&b.isAutosaveOptional());this.actions.get("guides").setEnabled(c);this.actions.get("editData").setEnabled(0<d.length||a.isSelectionEmpty());this.actions.get("shadowVisible").setEnabled(c);this.actions.get("connectionArrows").setEnabled(c);this.actions.get("connectionPoints").setEnabled(c);this.actions.get("copyStyle").setEnabled(c&&\r\n!a.isSelectionEmpty());this.actions.get("pasteStyle").setEnabled(c&&0<d.length);this.actions.get("editGeometry").setEnabled(0<d.length&&a.getModel().isVertex(d[0]));this.actions.get("createShape").setEnabled(c);this.actions.get("createRevision").setEnabled(c);this.actions.get("moveToFolder").setEnabled(null!=b);this.actions.get("makeCopy").setEnabled(null!=b&&!b.isRestricted());this.actions.get("editDiagram").setEnabled(c&&(null==b||!b.isRestricted()));this.actions.get("publishLink").setEnabled(null!=\r\nb&&!b.isRestricted());this.actions.get("tags").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("layers").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("outline").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("rename").setEnabled(null!=b&&b.isRenamable()||"1"==urlParams.embed);this.actions.get("close").setEnabled(null!=b);this.menus.get("publish").setEnabled(null!=b&&!b.isRestricted());b=this.actions.get("findReplace");\r\nb.setEnabled("hidden"!=this.diagramContainer.style.visibility);b.label=mxResources.get("find")+(a.isEnabled()?"/"+mxResources.get("replace"):"")+"...";a=a.view.getState(a.getSelectionCell());this.actions.get("editShape").setEnabled(c&&null!=a&&null!=a.shape&&null!=a.shape.stencil)};var m=EditorUi.prototype.destroy;EditorUi.prototype.destroy=function(){null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null);m.apply(this,arguments)};null!=window.ExportDialog&&\r\n(ExportDialog.showXmlOption=!1,ExportDialog.showGifOption=!1,ExportDialog.exportFile=function(a,b,c,d,f,g,m,t){var e=a.editor.graph;if("xml"==c)a.hideDialog(),a.saveData(b,"xml",mxUtils.getXml(a.editor.getGraphXml()),"text/xml");else if("svg"==c)a.hideDialog(),a.saveData(b,"svg",mxUtils.getXml(e.getSvg(d,f,g)),"image/svg+xml");else{var k=a.getFileData(!0,null,null,null,null,!0),l=e.getGraphBounds(),n=Math.floor(l.width*f/e.view.scale),p=Math.floor(l.height*f/e.view.scale);if(k.length<=MAX_REQUEST_SIZE&&\r\nn*p<MAX_AREA)if(a.hideDialog(),"png"!=c&&"jpg"!=c&&"jpeg"!=c||!a.isExportToCanvas()){var q={globalVars:e.getExportVariables()};t&&(q.grid={size:e.gridSize,steps:e.view.gridSteps,color:e.view.gridColor});a.saveRequest(b,c,function(a,b){return new mxXmlRequest(EXPORT_URL,"format="+c+"&base64="+(b||"0")+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(q))+(0<m?"&dpi="+m:"")+"&bg="+(null!=d?d:"none")+"&w="+n+"&h="+p+"&border="+g+"&xml="+encodeURIComponent(k))})}else"png"==\r\nc?a.exportImage(f,null==d||"none"==d,!0,!1,!1,g,!0,!1,null,t,m):a.exportImage(f,!1,!0,!1,!1,g,!0,!1,"jpeg",t);else mxUtils.alert(mxResources.get("drawingTooLarge"))}});EditorUi.prototype.getDiagramTextContent=function(){this.editor.graph.setEnabled(!1);var a=this.editor.graph,b="";if(null!=this.pages)for(var c=0;c<this.pages.length;c++){var d=a;this.currentPage!=this.pages[c]&&(d=this.createTemporaryGraph(a.getStylesheet()),this.updatePageRoot(this.pages[c]),d.model.setRoot(this.pages[c].root));b+=\r\nthis.pages[c].getName()+" "+d.getIndexableText()+" "}else b=a.getIndexableText();this.editor.graph.setEnabled(!0);return b};EditorUi.prototype.showRemotelyStoredLibrary=function(a){var b={},c=document.createElement("div");c.style.whiteSpace="nowrap";var d=document.createElement("h3");mxUtils.write(d,mxUtils.htmlEntities(a));d.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";c.appendChild(d);var e=document.createElement("div");e.style.cssText="border:1px solid lightGray;overflow: auto;height:300px";\r\ne.innerHTML=\'<div style="text-align:center;padding:8px;"><img src="\'+IMAGE_PATH+\'/spin.gif"></div>\';var f={};try{var g=mxSettings.getCustomLibraries();for(a=0;a<g.length;a++){var m=g[a];if("R"==m.substring(0,1)){var v=JSON.parse(decodeURIComponent(m.substring(1)));f[v[0]]={id:v[0],title:v[1],downloadUrl:v[2]}}}}catch(z){}this.remoteInvoke("getCustomLibraries",null,null,function(a){e.innerHTML="";if(0==a.length)e.innerHTML=\'<div style="text-align:center;padding-top:20px;color:gray;">\'+mxUtils.htmlEntities(mxResources.get("noLibraries"))+\r\n"</div>";else for(var c=0;c<a.length;c++){var d=a[c];f[d.id]&&(b[d.id]=d);var g=this.addCheckbox(e,d.title,f[d.id]);(function(a,c){mxEvent.addListener(c,"change",function(){this.checked?b[a.id]=a:delete b[a.id]})})(d,g)}},mxUtils.bind(this,function(a){e.innerHTML="";var b=document.createElement("div");b.style.padding="8px";b.style.textAlign="center";mxUtils.write(b,mxResources.get("error")+": ");mxUtils.write(b,null!=a&&null!=a.message?a.message:mxResources.get("unknownError"));e.appendChild(b)}));\r\nc.appendChild(e);c=new CustomDialog(this,c,mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"));var a=0,c;for(c in b)null==f[c]&&(a++,mxUtils.bind(this,function(b){this.remoteInvoke("getFileContent",[b.downloadUrl],null,mxUtils.bind(this,function(c){a--;0==a&&this.spinner.stop();try{this.loadLibrary(new RemoteLibrary(this,c,b))}catch(B){this.handleError(B,mxResources.get("errorLoadingFile"))}}),mxUtils.bind(this,function(){a--;0==a&&this.spinner.stop();this.handleError(null,\r\nmxResources.get("errorLoadingFile"))}))})(b[c]));for(c in f)b[c]||this.closeLibrary(new RemoteLibrary(this,null,f[c]));0==a&&this.spinner.stop()}),null,null,"https://www.diagrams.net/doc/faq/custom-libraries-confluence-cloud");this.showDialog(c.container,340,375,!0,!0,null,null,null,null,!0)};EditorUi.prototype.remoteInvokableFns={getDiagramTextContent:{isAsync:!1},getLocalStorageFile:{isAsync:!1,allowedDomains:["app.diagrams.net"]},getLocalStorageFileNames:{isAsync:!1,allowedDomains:["app.diagrams.net"]},\r\nsetMigratedFlag:{isAsync:!1,allowedDomains:["app.diagrams.net"]}};EditorUi.prototype.remoteInvokeCallbacks=[];EditorUi.prototype.remoteInvokeQueue=[];EditorUi.prototype.handleRemoteInvokeReady=function(a){this.remoteWin=a;for(var b=0;b<this.remoteInvokeQueue.length;b++)a.postMessage(this.remoteInvokeQueue[b],"*");this.remoteInvokeQueue=[]};EditorUi.prototype.handleRemoteInvokeResponse=function(a){var b=a.msgMarkers,c=this.remoteInvokeCallbacks[b.callbackId];if(null==c)throw Error("No callback for "+\r\n(null!=b?b.callbackId:"null"));a.error?c.error&&c.error(a.error.errResp):c.callback&&c.callback.apply(this,a.resp);this.remoteInvokeCallbacks[b.callbackId]=null};EditorUi.prototype.remoteInvoke=function(a,b,c,d,f){var e=!0,g=window.setTimeout(mxUtils.bind(this,function(){e=!1;f({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.timeout),k=mxUtils.bind(this,function(){window.clearTimeout(g);e&&d.apply(this,arguments)}),l=mxUtils.bind(this,function(){window.clearTimeout(g);e&&f.apply(this,\r\narguments)});c=c||{};c.callbackId=this.remoteInvokeCallbacks.length;this.remoteInvokeCallbacks.push({callback:k,error:l});a=JSON.stringify({event:"remoteInvoke",funtionName:a,functionArgs:b,msgMarkers:c});null!=this.remoteWin?this.remoteWin.postMessage(a,"*"):this.remoteInvokeQueue.push(a)};EditorUi.prototype.handleRemoteInvoke=function(a,b){var c=mxUtils.bind(this,function(b,c){var d={event:"remoteInvokeResponse",msgMarkers:a.msgMarkers};null!=c?d.error={errResp:c}:null!=b&&(d.resp=b);this.remoteWin.postMessage(JSON.stringify(d),\r\n"*")});try{var d=a.funtionName,e=this.remoteInvokableFns[d];if(null!=e&&"function"===typeof this[d]){if(e.allowedDomains){for(var f=!1,g=0;g<e.allowedDomains.length;g++)if(b=="https://"+e.allowedDomains[g]){f=!0;break}if(!f){c(null,"Invalid Call: "+d+" is not allowed.");return}}var k=a.functionArgs;Array.isArray(k)||(k=[]);if(e.isAsync)k.push(function(){c(Array.prototype.slice.apply(arguments))}),k.push(function(a){c(null,a||"Unkown Error")}),this[d].apply(this,k);else{var m=this[d].apply(this,k);\r\nc([m])}}else c(null,"Invalid Call: "+d+" is not found.")}catch(z){c(null,"Invalid Call: An error occured, "+z.message)}};EditorUi.prototype.openDatabase=function(a,b){if(null==this.database){var c=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB;if(null!=c)try{var d=c.open("database",2);d.onupgradeneeded=function(a){try{var c=d.result;1>a.oldVersion&&c.createObjectStore("objects",{keyPath:"key"});2>a.oldVersion&&(c.createObjectStore("files",{keyPath:"title"}),c.createObjectStore("filesInfo",\r\n{keyPath:"title"}),EditorUi.migrateStorageFiles=isLocalStorage)}catch(u){null!=b&&b(u)}};d.onsuccess=mxUtils.bind(this,function(b){var c=d.result;this.database=c;EditorUi.migrateStorageFiles&&(StorageFile.migrate(c),EditorUi.migrateStorageFiles=!1);"app.diagrams.net"!=location.host||this.drawioMigrationStarted||(this.drawioMigrationStarted=!0,this.getDatabaseItem(".drawioMigrated3",mxUtils.bind(this,function(a){if(!a||"1"==urlParams.forceMigration){var b=document.createElement("iframe");b.style.display=\r\n"none";b.setAttribute("src","https://www.draw.io?embed=1&proto=json&forceMigration="+urlParams.forceMigration);document.body.appendChild(b);var c=!0,d=!1,e,f=0,g=mxUtils.bind(this,function(){d=!0;this.setDatabaseItem(".drawioMigrated3",!0);b.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"setMigratedFlag"}),"*")}),k=mxUtils.bind(this,function(){f++;l()}),l=mxUtils.bind(this,function(){try{if(f>=e.length)g();else{var a=e[f];StorageFile.getFileContent(this,a,mxUtils.bind(this,\r\nfunction(c){null==c||".scratchpad"==a&&c==this.emptyLibraryXml?b.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"getLocalStorageFile",functionArgs:[a]}),"*"):k()}),k)}}catch(C){console.log(C)}}),m=mxUtils.bind(this,function(a){try{this.setDatabaseItem(null,[{title:a.title,size:a.data.length,lastModified:Date.now(),type:a.isLib?"L":"F"},{title:a.title,data:a.data}],k,k,["filesInfo","files"])}catch(C){console.log(C)}});a=mxUtils.bind(this,function(a){try{if(a.source==b.contentWindow){var f=\r\n{};try{f=JSON.parse(a.data)}catch(G){}"init"==f.event?(b.contentWindow.postMessage(JSON.stringify({action:"remoteInvokeReady"}),"*"),b.contentWindow.postMessage(JSON.stringify({action:"remoteInvoke",funtionName:"getLocalStorageFileNames"}),"*")):"remoteInvokeResponse"!=f.event||d||(c?null!=f.resp&&0<f.resp.length&&null!=f.resp[0]?(e=f.resp[0],c=!1,l()):g():null!=f.resp&&0<f.resp.length&&null!=f.resp[0]?m(f.resp[0]):k())}}catch(G){console.log(G)}});window.addEventListener("message",a)}})));a(c);c.onversionchange=\r\nfunction(){c.close()}});d.onerror=b;d.onblocked=function(){}}catch(p){null!=b&&b(p)}else null!=b&&b()}else a(this.database)};EditorUi.prototype.setDatabaseItem=function(a,b,c,d,f){this.openDatabase(mxUtils.bind(this,function(e){try{f=f||"objects";Array.isArray(f)||(f=[f],a=[a],b=[b]);var g=e.transaction(f,"readwrite");g.oncomplete=c;g.onerror=d;for(e=0;e<f.length;e++)g.objectStore(f[e]).put(null!=a&&null!=a[e]?{key:a[e],data:b[e]}:b[e])}catch(t){null!=d&&d(t)}}),d)};EditorUi.prototype.removeDatabaseItem=\r\nfunction(a,b,c,d){this.openDatabase(mxUtils.bind(this,function(e){d=d||"objects";Array.isArray(d)||(d=[d],a=[a]);e=e.transaction(d,"readwrite");e.oncomplete=b;e.onerror=c;for(var f=0;f<d.length;f++)e.objectStore(d[f])["delete"](a[f])}),c)};EditorUi.prototype.getDatabaseItem=function(a,b,c,d){this.openDatabase(mxUtils.bind(this,function(e){try{d=d||"objects";var f=e.transaction([d],"readonly").objectStore(d).get(a);f.onsuccess=function(){b(f.result)};f.onerror=c}catch(u){null!=c&&c(u)}}),c)};EditorUi.prototype.getDatabaseItems=\r\nfunction(a,b,c){this.openDatabase(mxUtils.bind(this,function(d){try{c=c||"objects";var e=d.transaction([c],"readonly").objectStore(c).openCursor(IDBKeyRange.lowerBound(0)),f=[];e.onsuccess=function(b){null==b.target.result?a(f):(f.push(b.target.result.value),b.target.result["continue"]())};e.onerror=b}catch(u){null!=b&&b(u)}}),b)};EditorUi.prototype.getDatabaseItemKeys=function(a,b,c){this.openDatabase(mxUtils.bind(this,function(d){try{c=c||"objects";var e=d.transaction([c],"readonly").objectStore(c).getAllKeys();\r\ne.onsuccess=function(){a(e.result)};e.onerror=b}catch(q){null!=b&&b(q)}}),b)};EditorUi.prototype.commentsSupported=function(){var a=this.getCurrentFile();return null!=a?a.commentsSupported():!1};EditorUi.prototype.commentsRefreshNeeded=function(){var a=this.getCurrentFile();return null!=a?a.commentsRefreshNeeded():!0};EditorUi.prototype.commentsSaveNeeded=function(){var a=this.getCurrentFile();return null!=a?a.commentsSaveNeeded():!1};EditorUi.prototype.getComments=function(a,b){var c=this.getCurrentFile();\r\nnull!=c?c.getComments(a,b):a([])};EditorUi.prototype.addComment=function(a,b,c){var d=this.getCurrentFile();null!=d?d.addComment(a,b,c):b(Date.now())};EditorUi.prototype.canReplyToReplies=function(){var a=this.getCurrentFile();return null!=a?a.canReplyToReplies():!0};EditorUi.prototype.canComment=function(){var a=this.getCurrentFile();return null!=a?a.canComment():!0};EditorUi.prototype.newComment=function(a,b){var c=this.getCurrentFile();return null!=c?c.newComment(a,b):new DrawioComment(this,null,\r\na,Date.now(),Date.now(),!1,b)};EditorUi.prototype.isRevisionHistorySupported=function(){var a=this.getCurrentFile();return null!=a&&a.isRevisionHistorySupported()};EditorUi.prototype.getRevisions=function(a,b){var c=this.getCurrentFile();null!=c&&c.getRevisions?c.getRevisions(a,b):b({message:mxResources.get("unknownError")})};EditorUi.prototype.isRevisionHistoryEnabled=function(){var a=this.getCurrentFile();return null!=a&&(a.constructor==DriveFile&&a.isEditable()||a.constructor==DropboxFile)};EditorUi.prototype.getServiceName=\r\nfunction(){return"draw.io"};EditorUi.prototype.addRemoteServiceSecurityCheck=function(a){a.setRequestHeader("Content-Language","da, mi, en, de-DE")};EditorUi.prototype.loadUrl=function(a,b,c,d,f,g,m,t){EditorUi.logEvent("SHOULD NOT BE CALLED: loadUrl");return this.editor.loadUrl(a,b,c,d,f,g,m,t)};EditorUi.prototype.loadFonts=function(a){EditorUi.logEvent("SHOULD NOT BE CALLED: loadFonts");return this.editor.loadFonts(a)};EditorUi.prototype.createSvgDataUri=function(a){EditorUi.logEvent("SHOULD NOT BE CALLED: createSvgDataUri");\r\nreturn Editor.createSvgDataUri(a)};EditorUi.prototype.embedCssFonts=function(a,b){EditorUi.logEvent("SHOULD NOT BE CALLED: embedCssFonts");return this.editor.embedCssFonts(a,b)};EditorUi.prototype.embedExtFonts=function(a){EditorUi.logEvent("SHOULD NOT BE CALLED: embedExtFonts");return this.editor.embedExtFonts(a)};EditorUi.prototype.exportToCanvas=function(a,b,c,d,f,g,m,t,v,z,y,x,A,B,E,F){EditorUi.logEvent("SHOULD NOT BE CALLED: exportToCanvas");return this.editor.exportToCanvas(a,b,c,d,f,g,m,t,\r\nv,z,y,x,A,B,E,F)};EditorUi.prototype.createImageUrlConverter=function(){EditorUi.logEvent("SHOULD NOT BE CALLED: createImageUrlConverter");return this.editor.createImageUrlConverter()};EditorUi.prototype.convertImages=function(a,b,c,d){EditorUi.logEvent("SHOULD NOT BE CALLED: convertImages");return this.editor.convertImages(a,b,c,d)};EditorUi.prototype.convertImageToDataUri=function(a,b){EditorUi.logEvent("SHOULD NOT BE CALLED: convertImageToDataUri");return this.editor.convertImageToDataUri(a,b)};\r\nEditorUi.prototype.base64Encode=function(a){EditorUi.logEvent("SHOULD NOT BE CALLED: base64Encode");return Editor.base64Encode(a)};EditorUi.prototype.updateCRC=function(a,b,c,d){EditorUi.logEvent("SHOULD NOT BE CALLED: updateCRC");return Editor.updateCRC(a,b,c,d)};EditorUi.prototype.crc32=function(a){EditorUi.logEvent("SHOULD NOT BE CALLED: crc32");return Editor.crc32(a)};EditorUi.prototype.writeGraphModelToPng=function(a,b,c,d,f){EditorUi.logEvent("SHOULD NOT BE CALLED: writeGraphModelToPng");return Editor.writeGraphModelToPng(a,\r\nb,c,d,f)};EditorUi.prototype.getLocalStorageFileNames=function(){if("1"==localStorage.getItem(".localStorageMigrated")&&"1"!=urlParams.forceMigration)return null;for(var a=[],b=0;b<localStorage.length;b++){var c=localStorage.key(b),d=localStorage.getItem(c);if(0<c.length&&(".scratchpad"==c||"."!=c.charAt(0))&&0<d.length){var f="<mxfile "===d.substring(0,8)||"<?xml"===d.substring(0,5)||"\\x3c!--[if IE]>"===d.substring(0,12),d="<mxlibrary>"===d.substring(0,11);(f||d)&&a.push(c)}}return a};EditorUi.prototype.getLocalStorageFile=\r\nfunction(a){if("1"==localStorage.getItem(".localStorageMigrated")&&"1"!=urlParams.forceMigration)return null;var b=localStorage.getItem(a);return{title:a,data:b,isLib:"<mxlibrary>"===b.substring(0,11)}};EditorUi.prototype.setMigratedFlag=function(){localStorage.setItem(".localStorageMigrated","1")}})();\r\nvar CommentsWindow=function(a,d,c,b,g,f){function m(){for(var a=x.getElementsByTagName("div"),b=0,c=0;c<a.length;c++)"none"!=a[c].style.display&&a[c].parentNode==x&&b++;A.style.display=0==b?"block":"none"}function e(a,b,c,d){function e(){b.removeChild(k);b.removeChild(l);g.style.display="block";f.style.display="block"}v={div:b,comment:a,saveCallback:c,deleteOnCancel:d};var f=b.querySelector(".geCommentTxt"),g=b.querySelector(".geCommentActionsList"),k=document.createElement("textarea");k.className=\r\n"geCommentEditTxtArea";k.style.minHeight=f.offsetHeight+"px";k.value=a.content;b.insertBefore(k,f);var l=document.createElement("div");l.className="geCommentEditBtns";var n=mxUtils.button(mxResources.get("cancel"),function(){d?(b.parentNode.removeChild(b),m()):e();v=null});n.className="geCommentEditBtn";l.appendChild(n);var x=mxUtils.button(mxResources.get("save"),function(){f.innerHTML="";a.content=k.value;mxUtils.write(f,a.content);e();c(a);v=null});mxEvent.addListener(k,"keydown",mxUtils.bind(this,\r\nfunction(a){mxEvent.isConsumed(a)||((mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a))&&13==a.keyCode?(x.click(),mxEvent.consume(a)):27==a.keyCode&&(n.click(),mxEvent.consume(a)))}));x.focus();x.className="geCommentEditBtn gePrimaryBtn";l.appendChild(x);b.insertBefore(l,f);g.style.display="none";f.style.display="none";k.focus()}function k(b,c){c.innerHTML="";var d=new Date(b.modifiedDate),e=a.timeSince(d);null==e&&(e=mxResources.get("lessThanAMinute"));mxUtils.write(c,mxResources.get("timeAgo",\r\n[e],"{1} ago"));c.setAttribute("title",d.toLocaleDateString()+" "+d.toLocaleTimeString())}function l(a){var b=document.createElement("img");b.className="geCommentBusyImg";b.src=IMAGE_PATH+"/spin.gif";a.appendChild(b);a.busyImg=b}function n(a){a.style.border="1px solid red";a.removeChild(a.busyImg)}function p(a){a.style.border="";a.removeChild(a.busyImg)}function q(b,c,d,f,g){function B(a,c,d){var e=document.createElement("li");e.className="geCommentAction";var f=document.createElement("a");f.className=\r\n"geCommentActionLnk";mxUtils.write(f,a);e.appendChild(f);mxEvent.addListener(f,"click",function(a){c(a,b);a.preventDefault();mxEvent.consume(a)});I.appendChild(e);d&&(e.style.display="none")}function C(){function a(b){c.push(d);if(null!=b.replies)for(var e=0;e<b.replies.length;e++)d=d.nextSibling,a(b.replies[e])}var c=[],d=y;a(b);return{pdiv:d,replies:c}}function E(c,d,g,k,m){function x(){l(B);b.addReply(u,function(a){u.id=a;b.replies.push(u);p(B);g&&g()},function(b){A();n(B);a.handleError(b,null,\r\nnull,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},k,m)}function A(){e(u,B,function(a){x()},!0)}var t=C().pdiv,u=a.newComment(c,a.getCurrentUser());u.pCommentId=b.id;null==b.replies&&(b.replies=[]);var B=q(u,b.replies,t,f+1);d?A():x()}if(g||!b.isResolved){A.style.display="none";var y=document.createElement("div");y.className="geCommentContainer";y.setAttribute("data-commentId",b.id);y.style.marginLeft=20*f+5+"px";b.isResolved&&!Editor.isDarkMode()&&(y.style.backgroundColor="ghostWhite");\r\nvar J=document.createElement("div");J.className="geCommentHeader";var z=document.createElement("img");z.className="geCommentUserImg";z.src=b.user.pictureUrl||Editor.userImage;J.appendChild(z);z=document.createElement("div");z.className="geCommentHeaderTxt";J.appendChild(z);var D=document.createElement("div");D.className="geCommentUsername";mxUtils.write(D,b.user.displayName||"");z.appendChild(D);D=document.createElement("div");D.className="geCommentDate";D.setAttribute("data-commentId",b.id);k(b,\r\nD);z.appendChild(D);y.appendChild(J);J=document.createElement("div");J.className="geCommentTxt";mxUtils.write(J,b.content||"");y.appendChild(J);b.isLocked&&(y.style.opacity="0.5");J=document.createElement("div");J.className="geCommentActions";var I=document.createElement("ul");I.className="geCommentActionsList";J.appendChild(I);u||b.isLocked||0!=f&&!t||B(mxResources.get("reply"),function(){E("",!0)},b.isResolved);z=a.getCurrentUser();null==z||z.id!=b.user.id||u||b.isLocked||(B(mxResources.get("edit"),\r\nfunction(){function c(){e(b,y,function(){l(y);b.editComment(b.content,function(){p(y)},function(b){n(y);c();a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})}c()},b.isResolved),B(mxResources.get("delete"),function(){a.confirm(mxResources.get("areYouSure"),function(){l(y);b.deleteComment(function(a){if(!0===a){a=y.querySelector(".geCommentTxt");a.innerHTML="";mxUtils.write(a,mxResources.get("msgDeleted"));var d=y.querySelectorAll(".geCommentAction");for(a=\r\n0;a<d.length;a++)d[a].parentNode.removeChild(d[a]);p(y);y.style.opacity="0.5"}else{d=C(b).replies;for(a=0;a<d.length;a++)x.removeChild(d[a]);for(a=0;a<c.length;a++)if(c[a]==b){c.splice(a,1);break}A.style.display=0==x.getElementsByTagName("div").length?"block":"none"}},function(b){n(y);a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},b.isResolved));u||b.isLocked||0!=f||B(b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(a){function c(){var c=\r\na.target;c.innerHTML="";b.isResolved=!b.isResolved;mxUtils.write(c,b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var d=b.isResolved?"none":"",e=C(b).replies,f=Editor.isDarkMode()?"transparent":b.isResolved?"ghostWhite":"white",g=0;g<e.length;g++){e[g].style.backgroundColor=f;for(var k=e[g].querySelectorAll(".geCommentAction"),l=0;l<k.length;l++)k[l]!=c.parentNode&&(k[l].style.display=d);F||(e[g].style.display="none")}m()}b.isResolved?E(mxResources.get("reOpened")+": ",!0,\r\nc,!1,!0):E(mxResources.get("markedAsResolved"),!1,c,!0)});y.appendChild(J);null!=d?x.insertBefore(y,d.nextSibling):x.appendChild(y);for(d=0;null!=b.replies&&d<b.replies.length;d++)J=b.replies[d],J.isResolved=b.isResolved,q(J,b.replies,null,f+1,g);null!=v&&(v.comment.id==b.id?(g=b.content,b.content=v.comment.content,e(b,y,v.saveCallback,v.deleteOnCancel),b.content=g):null==v.comment.id&&v.comment.pCommentId==b.id&&(x.appendChild(v.div),e(v.comment,v.div,v.saveCallback,v.deleteOnCancel)));return y}}\r\nvar u=!a.canComment(),t=a.canReplyToReplies(),v=null,z=document.createElement("div");z.className="geCommentsWin";z.style.background=Editor.isDarkMode()?Dialog.backdropColor:"whiteSmoke";var y=EditorUi.compactUi?"26px":"30px",x=document.createElement("div");x.className="geCommentsList";x.style.backgroundColor=Editor.isDarkMode()?Dialog.backdropColor:"whiteSmoke";x.style.bottom=parseInt(y)+7+"px";z.appendChild(x);var A=document.createElement("span");A.style.cssText="display:none;padding-top:10px;text-align:center;";\r\nmxUtils.write(A,mxResources.get("noCommentsFound"));var B=document.createElement("div");B.className="geToolbarContainer geCommentsToolbar";B.style.height=y;B.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";B.style.backgroundColor=Editor.isDarkMode()?Dialog.backdropColor:"whiteSmoke";y=document.createElement("a");y.className="geButton";if(!u){var E=y.cloneNode();E.innerHTML=\'<div class="geSprite geSprite-plus" style="display:inline-block;"></div>\';E.setAttribute("title",mxResources.get("create")+\r\n"...");mxEvent.addListener(E,"click",function(b){function c(){e(d,f,function(b){l(f);a.addComment(b,function(a){b.id=a;D.push(b);p(f)},function(b){n(f);c();a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})},!0)}var d=a.newComment("",a.getCurrentUser()),f=q(d,D,null,0);c();b.preventDefault();mxEvent.consume(b)});B.appendChild(E)}E=y.cloneNode();E.innerHTML=\'<img src="\'+IMAGE_PATH+\'/check.png" style="width: 16px; padding: 2px;">\';E.setAttribute("title",mxResources.get("showResolved"));\r\nvar F=!1;Editor.isDarkMode()&&(E.style.filter="invert(100%)");mxEvent.addListener(E,"click",function(a){this.className=(F=!F)?"geButton geCheckedBtn":"geButton";C();a.preventDefault();mxEvent.consume(a)});B.appendChild(E);a.commentsRefreshNeeded()&&(E=y.cloneNode(),E.innerHTML=\'<img src="\'+IMAGE_PATH+\'/update16.png" style="width: 16px; padding: 2px;">\',E.setAttribute("title",mxResources.get("refresh")),Editor.isDarkMode()&&(E.style.filter="invert(100%)"),mxEvent.addListener(E,"click",function(a){C();\r\na.preventDefault();mxEvent.consume(a)}),B.appendChild(E));a.commentsSaveNeeded()&&(y=y.cloneNode(),y.innerHTML=\'<img src="\'+IMAGE_PATH+\'/save.png" style="width: 20px; padding: 2px;">\',y.setAttribute("title",mxResources.get("save")),Editor.isDarkMode()&&(y.style.filter="invert(100%)"),mxEvent.addListener(y,"click",function(a){f();a.preventDefault();mxEvent.consume(a)}),B.appendChild(y));z.appendChild(B);var D=[],C=mxUtils.bind(this,function(){this.hasError=!1;if(null!=v)try{v.div=v.div.cloneNode(!0);\r\nvar b=v.div.querySelector(".geCommentEditTxtArea"),c=v.div.querySelector(".geCommentEditBtns");v.comment.content=b.value;b.parentNode.removeChild(b);c.parentNode.removeChild(c)}catch(J){a.handleError(J)}x.innerHTML=\'<div style="padding-top:10px;text-align:center;"><img src="\'+IMAGE_PATH+\'/spin.gif" valign="middle"> \'+mxUtils.htmlEntities(mxResources.get("loading"))+"...</div>";t=a.canReplyToReplies();a.commentsSupported()?a.getComments(function(a){function b(a){if(null!=a){a.sort(function(a,b){return new Date(a.modifiedDate)-\r\nnew Date(b.modifiedDate)});for(var c=0;c<a.length;c++)b(a[c].replies)}}a.sort(function(a,b){return new Date(a.modifiedDate)-new Date(b.modifiedDate)});x.innerHTML="";x.appendChild(A);A.style.display="block";D=a;for(a=0;a<D.length;a++)b(D[a].replies),q(D[a],D,null,0,F);null!=v&&null==v.comment.id&&null==v.comment.pCommentId&&(x.appendChild(v.div),e(v.comment,v.div,v.saveCallback,v.deleteOnCancel))},mxUtils.bind(this,function(a){x.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(a&&a.message?\r\n": "+a.message:""));this.hasError=!0})):x.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});C();this.refreshComments=C;B=mxUtils.bind(this,function(){function a(b){var d=c[b.id];if(null!=d)for(k(b,d),d=0;null!=b.replies&&d<b.replies.length;d++)a(b.replies[d])}if(this.window.isVisible()){for(var b=x.querySelectorAll(".geCommentDate"),c={},d=0;d<b.length;d++){var e=b[d];c[e.getAttribute("data-commentId")]=e}for(d=0;d<D.length;d++)a(D[d])}});setInterval(B,6E4);this.refreshCommentsTime=B;this.window=\r\nnew mxWindow(mxResources.get("comments"),z,d,c,b,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,300,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.window.setLocation=function(a,b){var c=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||\r\ndocument.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var G=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",G);this.destroy=function(){mxEvent.removeListener(window,"resize",G);this.window.destroy()}},ConfirmDialog=function(a,d,c,\r\nb,g,f,m,e,k,l,n){var p=document.createElement("div");p.style.textAlign="center";n=null!=n?n:44;var q=document.createElement("div");q.style.padding="6px";q.style.overflow="auto";q.style.maxHeight=n+"px";q.style.lineHeight="1.2em";mxUtils.write(q,d);p.appendChild(q);null!=l&&(q=document.createElement("div"),q.style.padding="6px 0 6px 0",d=document.createElement("img"),d.setAttribute("src",l),q.appendChild(d),p.appendChild(q));l=document.createElement("div");l.style.textAlign="center";l.style.whiteSpace=\r\n"nowrap";var u=document.createElement("input");u.setAttribute("type","checkbox");f=mxUtils.button(f||mxResources.get("cancel"),function(){a.hideDialog();null!=b&&b(u.checked)});f.className="geBtn";null!=e&&(f.innerHTML=e+"<br>"+f.innerHTML,f.style.paddingBottom="8px",f.style.paddingTop="8px",f.style.height="auto",f.style.width="40%");a.editor.cancelFirst&&l.appendChild(f);var t=mxUtils.button(g||mxResources.get("ok"),function(){a.hideDialog();null!=c&&c(u.checked)});l.appendChild(t);null!=m?(t.innerHTML=\r\nm+"<br>"+t.innerHTML+"<br>",t.style.paddingBottom="8px",t.style.paddingTop="8px",t.style.height="auto",t.className="geBtn",t.style.width="40%"):t.className="geBtn gePrimaryBtn";a.editor.cancelFirst||l.appendChild(f);p.appendChild(l);k?(l.style.marginTop="10px",q=document.createElement("p"),q.style.marginTop="20px",q.style.marginBottom="0px",q.appendChild(u),g=document.createElement("span"),mxUtils.write(g," "+mxResources.get("rememberThisSetting")),q.appendChild(g),p.appendChild(q),mxEvent.addListener(g,\r\n"click",function(a){u.checked=!u.checked;mxEvent.consume(a)})):l.style.marginTop="12px";this.init=function(){t.focus()};this.container=p};EditorUi.DIFF_INSERT="i";EditorUi.DIFF_REMOVE="r";EditorUi.DIFF_UPDATE="u";EditorUi.prototype.codec=new mxCodec;EditorUi.prototype.viewStateProperties={background:!0,backgroundImage:!0,shadowVisible:!0,foldingEnabled:!0,pageScale:!0,mathEnabled:!0,pageFormat:!0,extFonts:!0};EditorUi.prototype.cellProperties={id:!0,value:!0,xmlValue:!0,vertex:!0,edge:!0,visible:!0,collapsed:!0,connectable:!0,parent:!0,children:!0,previous:!0,source:!0,target:!0,edges:!0,geometry:!0,style:!0,mxObjectId:!0,mxTransient:!0};\r\nEditorUi.prototype.patchPages=function(a,d,c,b,g){var f={},m=[],e={},k={},l={},n={};if(null!=b&&null!=b[EditorUi.DIFF_UPDATE])for(var p in b[EditorUi.DIFF_UPDATE])f[p]=b[EditorUi.DIFF_UPDATE][p];if(null!=d[EditorUi.DIFF_REMOVE])for(b=0;b<d[EditorUi.DIFF_REMOVE].length;b++)k[d[EditorUi.DIFF_REMOVE][b]]=!0;if(null!=d[EditorUi.DIFF_INSERT])for(b=0;b<d[EditorUi.DIFF_INSERT].length;b++)e[d[EditorUi.DIFF_INSERT][b].previous]=d[EditorUi.DIFF_INSERT][b];if(null!=d[EditorUi.DIFF_UPDATE])for(p in d[EditorUi.DIFF_UPDATE])b=\r\nd[EditorUi.DIFF_UPDATE][p],null!=b.previous&&(n[b.previous]=p);if(null!=a){var q="";for(b=0;b<a.length;b++){var u=a[b].getId();l[u]=a[b];null!=n[q]||k[u]||null!=d[EditorUi.DIFF_UPDATE]&&null!=d[EditorUi.DIFF_UPDATE][u]&&null!=d[EditorUi.DIFF_UPDATE][u].previous||(n[q]=u);q=u}}var t={},v=mxUtils.bind(this,function(a){var b=null!=a?a.getId():"";if(null!=a&&!t[b]){t[b]=!0;m.push(a);var k=null!=d[EditorUi.DIFF_UPDATE]?d[EditorUi.DIFF_UPDATE][b]:null;null!=k&&(this.updatePageRoot(a),null!=k.name&&a.setName(k.name),\r\nnull!=k.view&&this.patchViewState(a,k.view),null!=k.cells&&this.patchPage(a,k.cells,f[a.getId()],g),!c||null==k.cells&&null==k.view||(a.needsUpdate=!0))}a=n[b];null!=a&&(delete n[b],v(l[a]));a=e[b];null!=a&&(delete e[b],z(a))}),z=mxUtils.bind(this,function(a){a=mxUtils.parseXml(a.data).documentElement;a=new DiagramPage(a);this.updatePageRoot(a);var b=l[a.getId()];null==b?v(a):(b.root=a.root,this.currentPage==b?this.editor.graph.model.setRoot(b.root):c&&(b.needsUpdate=!0))});v();for(p in n)v(l[n[p]]),\r\ndelete n[p];for(p in e)z(e[p]),delete e[p];return m};EditorUi.prototype.patchViewState=function(a,d){if(null!=a.viewState&&null!=d){a==this.currentPage&&(a.viewState=this.editor.graph.getViewState());for(var c in d)try{a.viewState[c]=JSON.parse(d[c])}catch(b){}a==this.currentPage&&this.editor.graph.setViewState(a.viewState,!0)}};\r\nEditorUi.prototype.createParentLookup=function(a,d){function c(a){var c=b[a];null==c&&(c={inserted:[],moved:{}},b[a]=c);return c}var b={};if(null!=d[EditorUi.DIFF_INSERT])for(var g=0;g<d[EditorUi.DIFF_INSERT].length;g++){var f=d[EditorUi.DIFF_INSERT][g],m=null!=f.parent?f.parent:"",e=null!=f.previous?f.previous:"";c(m).inserted[e]=f}if(null!=d[EditorUi.DIFF_UPDATE])for(var k in d[EditorUi.DIFF_UPDATE])f=d[EditorUi.DIFF_UPDATE][k],null!=f.previous&&(m=f.parent,null==m&&(g=a.getCell(k),null!=g&&(g=\r\na.getParent(g),null!=g&&(m=g.getId()))),null!=m&&(c(m).moved[f.previous]=k));return b};\r\nEditorUi.prototype.patchPage=function(a,d,c,b){var g=a==this.currentPage?this.editor.graph.model:new mxGraphModel(a.root),f=this.createParentLookup(g,d);g.beginUpdate();try{var m=g.updateEdgeParent,e=new mxDictionary,k=[];g.updateEdgeParent=function(a,c){!e.get(a)&&b&&(e.put(a,!0),k.push(a))};var l=f[""],n=null!=l&&null!=l.inserted?l.inserted[""]:null,p=null;null!=n&&(p=this.getCellForJson(n));if(null==p){var q=null!=l&&null!=l.moved?l.moved[""]:null;null!=q&&(p=g.getCell(q))}null!=p&&(g.setRoot(p),\r\na.root=p);this.patchCellRecursive(a,g,g.root,f,d);if(null!=d[EditorUi.DIFF_REMOVE])for(var u=0;u<d[EditorUi.DIFF_REMOVE].length;u++){var t=g.getCell(d[EditorUi.DIFF_REMOVE][u]);null!=t&&g.remove(t)}if(null!=d[EditorUi.DIFF_UPDATE]){var v=null!=c&&null!=c.cells?c.cells[EditorUi.DIFF_UPDATE]:null;for(q in d[EditorUi.DIFF_UPDATE])this.patchCell(g,g.getCell(q),d[EditorUi.DIFF_UPDATE][q],null!=v?v[q]:null)}if(null!=d[EditorUi.DIFF_INSERT])for(u=0;u<d[EditorUi.DIFF_INSERT].length;u++)n=d[EditorUi.DIFF_INSERT][u],\r\nt=g.getCell(n.id),null!=t&&(g.setTerminal(t,g.getCell(n.source),!0),g.setTerminal(t,g.getCell(n.target),!1));g.updateEdgeParent=m;if(b&&0<k.length)for(u=0;u<k.length;u++)g.contains(k[u])&&g.updateEdgeParent(k[u])}finally{g.endUpdate()}};\r\nEditorUi.prototype.patchCellRecursive=function(a,d,c,b,g){if(null!=c){for(var f=b[c.getId()],m=null!=f&&null!=f.inserted?f.inserted:{},f=null!=f&&null!=f.moved?f.moved:{},e=0,k=d.getChildCount(c),l="",n=0;n<k;n++){var p=d.getChildAt(c,n).getId();null==f[l]&&(null==g[EditorUi.DIFF_UPDATE]||null==g[EditorUi.DIFF_UPDATE][p]||null==g[EditorUi.DIFF_UPDATE][p].previous&&null==g[EditorUi.DIFF_UPDATE][p].parent)&&(f[l]=p);l=p}k=mxUtils.bind(this,function(f,k){var m=null!=f?f.getId():"";if(null!=f&&k){var l=\r\nd.getCell(m);null!=l&&l!=f&&(f=null)}null!=f&&(d.getChildAt(c,e)!=f&&d.add(c,f,e),this.patchCellRecursive(a,d,f,b,g),e++);return m});for(l=[null];0<l.length;)if(n=l.shift(),n=k(null!=n?n.child:null,null!=n?n.insert:!1),p=f[n],null!=p&&(delete f[n],l.push({child:d.getCell(p)})),p=m[n],null!=p&&(delete m[n],l.push({child:this.getCellForJson(p),insert:!0})),0==l.length){for(n in f)l.push({child:d.getCell(f[n])}),delete f[n];for(n in m)l.push({child:this.getCellForJson(m[n]),insert:!0}),delete m[n]}}};\r\nEditorUi.prototype.patchCell=function(a,d,c,b){if(null!=d&&null!=c){if(null==b||null==b.xmlValue&&(null==b.value||""==b.value))"value"in c?a.setValue(d,c.value):null!=c.xmlValue&&a.setValue(d,mxUtils.parseXml(c.xmlValue).documentElement);null!=b&&null!=b.style||null==c.style||a.setStyle(d,c.style);null!=c.visible&&a.setVisible(d,1==c.visible);null!=c.collapsed&&a.setCollapsed(d,1==c.collapsed);null!=c.vertex&&(d.vertex=1==c.vertex);null!=c.edge&&(d.edge=1==c.edge);null!=c.connectable&&(d.connectable=\r\n1==c.connectable);null!=c.geometry&&a.setGeometry(d,this.codec.decode(mxUtils.parseXml(c.geometry).documentElement));null!=c.source&&a.setTerminal(d,a.getCell(c.source),!0);null!=c.target&&a.setTerminal(d,a.getCell(c.target),!1);for(var g in c)this.cellProperties[g]||(d[g]=c[g])}};\r\nEditorUi.prototype.getPagesForNode=function(a,d){var c=this.editor.extractGraphModel(a,!0,!0);null!=c&&(a=c);var c=a.getElementsByTagName(d||"diagram"),b=[];if(0<c.length)for(var g=0;g<c.length;g++){var f=new DiagramPage(c[g]);this.updatePageRoot(f,!0);b.push(f)}else"mxGraphModel"==a.nodeName&&(f=new DiagramPage(a.ownerDocument.createElement("diagram")),f.setName(mxResources.get("pageWithNumber",[1])),mxUtils.setTextContent(f.node,Graph.compressNode(a,!0)),b.push(f));return b};\r\nEditorUi.prototype.diffPages=function(a,d){for(var c=[],b=[],g={},f={},m={},e=null,k=0;k<d.length;k++)f[d[k].getId()]={page:d[k],prev:e},e=d[k];e=null;for(k=0;k<a.length;k++){var l=a[k].getId(),n=f[l];if(null==n)b.push(l);else{var p=this.diffPage(a[k],n.page),q={};0<Object.keys(p).length&&(q.cells=p);p=this.diffViewState(a[k],n.page);0<Object.keys(p).length&&(q.view=p);if((null!=n.prev?null==e:null!=e)||null!=e&&null!=n.prev&&e.getId()!=n.prev.getId())q.previous=null!=n.prev?n.prev.getId():"";null!=\r\nn.page.getName()&&a[k].getName()!=n.page.getName()&&(q.name=n.page.getName());0<Object.keys(q).length&&(m[l]=q)}delete f[a[k].getId()];e=a[k]}for(l in f)n=f[l],c.push({data:mxUtils.getXml(n.page.node),previous:null!=n.prev?n.prev.getId():""});0<Object.keys(m).length&&(g[EditorUi.DIFF_UPDATE]=m);0<b.length&&(g[EditorUi.DIFF_REMOVE]=b);0<c.length&&(g[EditorUi.DIFF_INSERT]=c);return g};\r\nEditorUi.prototype.createCellLookup=function(a,d,c){c=null!=c?c:{};c[a.getId()]={cell:a,prev:d};var b=a.getChildCount();d=null;for(var g=0;g<b;g++){var f=a.getChildAt(g);this.createCellLookup(f,d,c);d=f}return c};\r\nEditorUi.prototype.diffCellRecursive=function(a,d,c,b,g){b=null!=b?b:{};var f=c[a.getId()];delete c[a.getId()];if(null==f)g.push(a.getId());else{var m=this.diffCell(a,f.cell);if(null!=m.parent||(null!=f.prev?null==d:null!=d)||null!=d&&null!=f.prev&&d.getId()!=f.prev.getId())m.previous=null!=f.prev?f.prev.getId():"";0<Object.keys(m).length&&(b[a.getId()]=m)}f=a.getChildCount();d=null;for(m=0;m<f;m++){var e=a.getChildAt(m);this.diffCellRecursive(e,d,c,b,g);d=e}return b};\r\nEditorUi.prototype.diffPage=function(a,d){var c=[],b=[],g={};this.updatePageRoot(a);this.updatePageRoot(d);var f=this.createCellLookup(d.root),m=this.diffCellRecursive(a.root,null,f,m,b),e;for(e in f){var k=f[e];c.push(this.getJsonForCell(k.cell,k.prev))}0<Object.keys(m).length&&(g[EditorUi.DIFF_UPDATE]=m);0<b.length&&(g[EditorUi.DIFF_REMOVE]=b);0<c.length&&(g[EditorUi.DIFF_INSERT]=c);return g};\r\nEditorUi.prototype.diffViewState=function(a,d){var c=a.viewState,b=d.viewState,g={};d==this.currentPage&&(b=this.editor.graph.getViewState());if(null!=c&&null!=b)for(var f in this.viewStateProperties){var m=JSON.stringify(c[f]),e=JSON.stringify(b[f]);m!=e&&(g[f]=e)}return g};\r\nEditorUi.prototype.getCellForJson=function(a){var d=null!=a.geometry?this.codec.decode(mxUtils.parseXml(a.geometry).documentElement):null,c=a.value;null!=a.xmlValue&&(c=mxUtils.parseXml(a.xmlValue).documentElement);d=new mxCell(c,d,a.style);d.connectable=0!=a.connectable;d.collapsed=1==a.collapsed;d.visible=0!=a.visible;d.vertex=1==a.vertex;d.edge=1==a.edge;d.id=a.id;for(var b in a)this.cellProperties[b]||(d[b]=a[b]);return d};\r\nEditorUi.prototype.getJsonForCell=function(a,d){var c={id:a.getId()};a.vertex&&(c.vertex=1);a.edge&&(c.edge=1);a.connectable||(c.connectable=0);null!=a.parent&&(c.parent=a.parent.getId());null!=d&&(c.previous=d.getId());null!=a.source&&(c.source=a.source.getId());null!=a.target&&(c.target=a.target.getId());null!=a.style&&(c.style=a.style);null!=a.geometry&&(c.geometry=mxUtils.getXml(this.codec.encode(a.geometry)));a.collapsed&&(c.collapsed=1);a.visible||(c.visible=0);null!=a.value&&("object"===typeof a.value&&\r\n"number"===typeof a.value.nodeType&&"string"===typeof a.value.nodeName&&"function"===typeof a.value.getAttribute?c.xmlValue=mxUtils.getXml(a.value):c.value=a.value);for(var b in a)this.cellProperties[b]||"function"===typeof a[b]||(c[b]=a[b]);return c};\r\nEditorUi.prototype.diffCell=function(a,d){function c(a){return null!=a&&"object"===typeof a&&"number"===typeof a.nodeType&&"string"===typeof a.nodeName&&"function"===typeof a.getAttribute}var b={};a.vertex!=d.vertex&&(b.vertex=d.vertex?1:0);a.edge!=d.edge&&(b.edge=d.edge?1:0);a.connectable!=d.connectable&&(b.connectable=d.connectable?1:0);if((null!=a.parent?null==d.parent:null!=d.parent)||null!=a.parent&&null!=d.parent&&a.parent.getId()!=d.parent.getId())b.parent=null!=d.parent?d.parent.getId():"";\r\nif((null!=a.source?null==d.source:null!=d.source)||null!=a.source&&null!=d.source&&a.source.getId()!=d.source.getId())b.source=null!=d.source?d.source.getId():"";if((null!=a.target?null==d.target:null!=d.target)||null!=a.target&&null!=d.target&&a.target.getId()!=d.target.getId())b.target=null!=d.target?d.target.getId():"";c(a.value)&&c(d.value)?a.value.isEqualNode(d.value)||(b.xmlValue=mxUtils.getXml(d.value)):a.value!=d.value&&(c(d.value)?b.xmlValue=mxUtils.getXml(d.value):b.value=null!=d.value?\r\nd.value:null);a.style!=d.style&&(b.style=d.style);a.visible!=d.visible&&(b.visible=d.visible?1:0);a.collapsed!=d.collapsed&&(b.collapsed=d.collapsed?1:0);if(!this.isObjectEqual(a.geometry,d.geometry,new mxGeometry)){var g=this.codec.encode(d.geometry);null!=g&&(b.geometry=mxUtils.getXml(g))}for(var f in a)this.cellProperties[f]||"function"===typeof a[f]||"function"===typeof d[f]||a[f]==d[f]||(b[f]=void 0===d[f]?null:d[f]);for(f in d)f in a||this.cellProperties[f]||"function"===typeof a[f]||"function"===\r\ntypeof d[f]||a[f]==d[f]||(b[f]=void 0===d[f]?null:d[f]);return b};EditorUi.prototype.isObjectEqual=function(a,d,c){if(null==a&&null==d)return!0;if(null!=a?null==d:null!=d)return!1;var b=function(a,b){return null==c||c[a]!=b?!0===b?1:b:void 0};return JSON.stringify(a,b)==JSON.stringify(d,b)};var mxSettings={currentVersion:18,defaultFormatWidth:600>screen.width?"0":"240",key:Editor.settingsKey,getLanguage:function(){return mxSettings.settings.language},setLanguage:function(a){mxSettings.settings.language=a},getUi:function(){return mxSettings.settings.ui},setUi:function(a){var d=localStorage.getItem(".drawio-config"),d=null==d?mxSettings.getDefaults():JSON.parse(d);d.ui=a;delete d.isNew;d.version=mxSettings.currentVersion;localStorage.setItem(".drawio-config",JSON.stringify(d))},getShowStartScreen:function(){return mxSettings.settings.showStartScreen},\r\nsetShowStartScreen:function(a){mxSettings.settings.showStartScreen=a},getGridColor:function(a){return a?mxSettings.settings.darkGridColor:mxSettings.settings.gridColor},setGridColor:function(a,d){d?mxSettings.settings.darkGridColor=a:mxSettings.settings.gridColor=a},getAutosave:function(){return mxSettings.settings.autosave},setAutosave:function(a){mxSettings.settings.autosave=a},getResizeImages:function(){return mxSettings.settings.resizeImages},setResizeImages:function(a){mxSettings.settings.resizeImages=\r\na},getOpenCounter:function(){return mxSettings.settings.openCounter},setOpenCounter:function(a){mxSettings.settings.openCounter=a},setCustomFonts:function(a){mxSettings.settings.customFonts=a},getCustomFonts:function(){for(var a=mxSettings.settings.customFonts||[],d=0;d<a.length;d++)"string"===typeof a[d]&&(a[d]={name:a[d],url:null});return a},getLibraries:function(){return mxSettings.settings.libraries},setLibraries:function(a){mxSettings.settings.libraries=a},addCustomLibrary:function(a){mxSettings.load();\r\nArray.isArray(mxSettings.settings.customLibraries)||(mxSettings.settings.customLibraries=[]);0>mxUtils.indexOf(mxSettings.settings.customLibraries,a)&&("L.scratchpad"===a?mxSettings.settings.customLibraries.splice(0,0,a):mxSettings.settings.customLibraries.push(a));mxSettings.save()},removeCustomLibrary:function(a){mxSettings.load();mxUtils.remove(a,mxSettings.settings.customLibraries);mxSettings.save()},getCustomLibraries:function(){return mxSettings.settings.customLibraries},getPlugins:function(){return mxSettings.settings.plugins},\r\nsetPlugins:function(a){mxSettings.settings.plugins=a},getRecentColors:function(){return mxSettings.settings.recentColors},setRecentColors:function(a){mxSettings.settings.recentColors=a},getFormatWidth:function(){return parseInt(mxSettings.settings.formatWidth)},setFormatWidth:function(a){mxSettings.settings.formatWidth=a},isCreateTarget:function(){return mxSettings.settings.createTarget},setCreateTarget:function(a){mxSettings.settings.createTarget=a},getPageFormat:function(){return mxSettings.settings.pageFormat},\r\nsetPageFormat:function(a){mxSettings.settings.pageFormat=a},getUnit:function(){return mxSettings.settings.unit||mxConstants.POINTS},setUnit:function(a){mxSettings.settings.unit=a},isRulerOn:function(){return mxSettings.settings.isRulerOn},setRulerOn:function(a){mxSettings.settings.isRulerOn=a},getDefaults:function(){return{language:"",configVersion:Editor.configVersion,customFonts:[],libraries:Sidebar.prototype.defaultEntries,customLibraries:Editor.defaultCustomLibraries,plugins:[],recentColors:[],\r\nformatWidth:mxSettings.defaultFormatWidth,createTarget:"1"==urlParams.sketch,pageFormat:mxGraph.prototype.pageFormat,search:!0,showStartScreen:!0,gridColor:mxGraphView.prototype.defaultGridColor,darkGridColor:mxGraphView.prototype.defaultDarkGridColor,autosave:!0,resizeImages:null,openCounter:0,version:mxSettings.currentVersion,isNew:!0,unit:mxConstants.POINTS,isRulerOn:!1}},init:function(){mxSettings.settings=mxSettings.getDefaults()},save:function(){if(isLocalStorage&&"undefined"!==typeof JSON)try{delete mxSettings.settings.isNew,\r\nmxSettings.settings.version=mxSettings.currentVersion,localStorage.setItem(mxSettings.key,JSON.stringify(mxSettings.settings))}catch(a){}},load:function(){isLocalStorage&&"undefined"!==typeof JSON&&mxSettings.parse(localStorage.getItem(mxSettings.key));null==mxSettings.settings&&mxSettings.init()},parse:function(a){a=null!=a?JSON.parse(a):null;null==a||a.configVersion!=Editor.configVersion||null!=Editor.config&&Editor.config.override?(mxSettings.settings=null,mxSettings.init()):(mxSettings.settings=\r\na,null==mxSettings.settings.plugins&&(mxSettings.settings.plugins=[]),null==mxSettings.settings.recentColors&&(mxSettings.settings.recentColors=[]),null==mxSettings.settings.customFonts&&(mxSettings.settings.customFonts=[]),null==mxSettings.settings.libraries&&(mxSettings.settings.libraries=Sidebar.prototype.defaultEntries),null==mxSettings.settings.customLibraries&&(mxSettings.settings.customLibraries=Editor.defaultCustomLibraries),null==mxSettings.settings.ui&&(mxSettings.settings.ui=""),null==\r\nmxSettings.settings.formatWidth&&(mxSettings.settings.formatWidth=mxSettings.defaultFormatWidth),null!=mxSettings.settings.lastAlert&&delete mxSettings.settings.lastAlert,null==mxSettings.settings.createTarget&&(mxSettings.settings.createTarget=!1),null==mxSettings.settings.pageFormat&&(mxSettings.settings.pageFormat=mxGraph.prototype.pageFormat),null==mxSettings.settings.search&&(mxSettings.settings.search=!0),null==mxSettings.settings.showStartScreen&&(mxSettings.settings.showStartScreen=!0),null==\r\nmxSettings.settings.gridColor&&(mxSettings.settings.gridColor=mxGraphView.prototype.defaultGridColor),null==mxSettings.settings.darkGridColor&&(mxSettings.settings.darkGridColor=mxGraphView.prototype.defaultDarkGridColor),null==mxSettings.settings.autosave&&(mxSettings.settings.autosave=!0),null!=mxSettings.settings.scratchpadSeen&&delete mxSettings.settings.scratchpadSeen)},clear:function(){isLocalStorage&&localStorage.removeItem(mxSettings.key)}};\r\n("undefined"==typeof mxLoadSettings||mxLoadSettings)&&mxSettings.load();DrawioFileSync=function(a){mxEventSource.call(this);this.lastActivity=new Date;this.clientId=Editor.guid();this.ui=a.ui;this.file=a;this.onlineListener=mxUtils.bind(this,function(){this.updateOnlineState();this.isConnected()&&this.fileChangedNotify()});mxEvent.addListener(window,"online",this.onlineListener);this.visibleListener=mxUtils.bind(this,function(){"hidden"==document.visibilityState?this.isConnected()&&this.stop():this.start()});mxEvent.addListener(document,"visibilitychange",this.visibleListener);\r\nthis.activityListener=mxUtils.bind(this,function(a){this.lastActivity=new Date;this.start()});mxEvent.addListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.activityListener);mxEvent.addListener(document,"keypress",this.activityListener);mxEvent.addListener(window,"focus",this.activityListener);!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&(mxEvent.addListener(document,"touchstart",this.activityListener),mxEvent.addListener(document,"touchmove",this.activityListener));this.pusherErrorListener=\r\nmxUtils.bind(this,function(a){null!=a.error&&null!=a.error.data&&4004===a.error.data.code&&EditorUi.logError("Error: Pusher Limit",null,this.file.getId())});this.connectionListener=mxUtils.bind(this,function(){this.updateOnlineState();this.updateStatus();if(this.isConnected())if(this.announced)this.fileChangedNotify();else{var a=this.file.getCurrentUser(),c={a:"join"};null!=a&&(c.name=encodeURIComponent(a.displayName),c.uid=a.id);mxUtils.post(EditorUi.cacheUrl,this.getIdParameters()+"&msg="+encodeURIComponent(this.objectToString(this.createMessage(c))));\r\nthis.file.stats.msgSent++;this.announced=!0}});this.changeListener=mxUtils.bind(this,function(a){this.file.stats.msgReceived++;this.lastActivity=new Date;if(this.enabled&&!this.file.inConflictState&&!this.file.redirectDialogShowing)try{var c=this.stringToObject(a);null!=c&&(EditorUi.debug("Sync.message",[this],c,a.length,"bytes"),c.v>DrawioFileSync.PROTOCOL?this.file.redirectToNewApp(mxUtils.bind(this,function(){})):c.v===DrawioFileSync.PROTOCOL&&null!=c.d&&this.handleMessageData(c.d))}catch(b){this.isConnected()&&\r\nthis.fileChangedNotify()}})};DrawioFileSync.PROTOCOL=6;mxUtils.extend(DrawioFileSync,mxEventSource);DrawioFileSync.prototype.maxCacheEntrySize=1E6;DrawioFileSync.prototype.enabled=!0;DrawioFileSync.prototype.updateStatusInterval=1E4;DrawioFileSync.prototype.channelId=null;DrawioFileSync.prototype.channel=null;DrawioFileSync.prototype.catchupRetryCount=0;DrawioFileSync.prototype.maxCatchupRetries=15;DrawioFileSync.prototype.maxCacheReadyRetries=1;DrawioFileSync.prototype.cacheReadyDelay=700;\r\nDrawioFileSync.prototype.maxOptimisticReloadRetries=6;DrawioFileSync.prototype.inactivityTimeoutSeconds=1800;DrawioFileSync.prototype.lastActivity=null;\r\nDrawioFileSync.prototype.start=function(){null==this.channelId&&(this.channelId=this.file.getChannelId());null==this.key&&(this.key=this.file.getChannelKey());if(null==this.pusher&&null!=this.channelId&&"hidden"!=document.visibilityState){this.pusher=this.ui.getPusher();if(null!=this.pusher){try{null!=this.pusher.connection&&this.pusher.connection.bind("error",this.pusherErrorListener)}catch(a){}try{this.pusher.connect(),this.channel=this.pusher.subscribe(this.channelId),EditorUi.debug("Sync.start",\r\n[this,"v"+DrawioFileSync.PROTOCOL],"rev",this.file.getCurrentRevisionId())}catch(a){}this.installListeners()}window.setTimeout(mxUtils.bind(this,function(){this.lastModified=this.file.getLastModifiedDate();this.lastActivity=new Date;this.resetUpdateStatusThread();this.updateOnlineState();this.updateStatus()},0))}};DrawioFileSync.prototype.isConnected=function(){return null!=this.pusher&&null!=this.pusher.connection?"connected"==this.pusher.connection.state:!1};\r\nDrawioFileSync.prototype.updateOnlineState=function(){if("1"!=urlParams.embedRT){var a=mxUtils.bind(this,function(a){mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){this.enabled=!this.enabled;this.ui.updateButtonContainer();this.resetUpdateStatusThread();this.updateOnlineState();this.updateStatus();!this.file.inConflictState&&this.enabled&&this.fileChangedNotify()}))});if("min"==uiTheme&&null!=this.ui.buttonContainer&&"1"!=urlParams.sketch){if(null==this.collaboratorsElement){var d=document.createElement("a");\r\nd.className="geToolbarButton";d.style.cssText="display:inline-block;position:relative;box-sizing:border-box;margin-right:4px;cursor:pointer;float:left;";d.style.backgroundPosition="center center";d.style.backgroundRepeat="no-repeat";d.style.backgroundSize="24px 24px";d.style.height="24px";d.style.width="24px";a(d);this.ui.buttonContainer.appendChild(d);this.collaboratorsElement=d}}else null!=this.ui.toolbarContainer&&null==this.collaboratorsElement&&(d=document.createElement("a"),d.className="geButton",\r\nd.style.position="absolute",d.style.display="inline-block",d.style.verticalAlign="bottom",d.style.color="#666",d.style.top="6px",d.style.right="atlas"!=uiTheme?"70px":"50px",d.style.padding="2px",d.style.fontSize="8pt",d.style.verticalAlign="middle",d.style.textDecoration="none",d.style.backgroundPosition="center center",d.style.backgroundRepeat="no-repeat",d.style.backgroundSize="16px 16px",d.style.width="16px",d.style.height="16px",mxUtils.setOpacity(d,60),"dark"==uiTheme&&(d.style.filter="invert(100%)"),\r\nmxEvent.addListener(d,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()})),a(d),this.ui.toolbarContainer.appendChild(d),this.collaboratorsElement=d);null!=this.collaboratorsElement&&(a="",a=this.enabled?this.file.invalidChecksum?mxResources.get("error")+": "+mxResources.get("checksum"):this.ui.isOffline(!0)||!this.isConnected()?mxResources.get("offline"):mxResources.get("online"):mxResources.get("disconnected"),this.collaboratorsElement.setAttribute("title",\r\na),this.collaboratorsElement.style.backgroundImage="url("+(this.enabled?this.ui.isOffline(!0)||!this.isConnected()||this.file.invalidChecksum?Editor.syncProblemImage:Editor.syncImage:Editor.syncDisabledImage)+")")}};\r\nDrawioFileSync.prototype.updateStatus=function(){this.isConnected()&&null!=this.lastActivity&&((new Date).getTime()-this.lastActivity.getTime())/1E3>this.inactivityTimeoutSeconds&&this.stop();if(!(this.file.isModified()||this.file.inConflictState||null!=this.file.autosaveThread||this.file.savingFile||this.file.redirectDialogShowing))if(this.enabled&&null!=this.ui.statusContainer){var a=this.ui.timeSince(new Date(this.lastModified));null==a&&(a=mxResources.get("lessThanAMinute"));var d=this.file.isRevisionHistorySupported(),\r\nc=this.lastMessage;this.lastMessage=null;null!=c&&40<c.length&&(c=c.substring(0,40)+"...");a=mxResources.get("lastChange",[a]);this.ui.editor.setStatus(\'<div title="\'+mxUtils.htmlEntities(a)+\'" style="display:inline-block;">\'+mxUtils.htmlEntities(a)+"</div>"+(null!=c?\' <span style="opacity:0;" title="\'+mxUtils.htmlEntities(c)+\'">(\'+mxUtils.htmlEntities(c)+")</span>":"")+(this.file.isEditable()?"":\'<div class="geStatusAlert" style="margin-left:8px;display:inline-block;">\'+mxUtils.htmlEntities(mxResources.get("readOnly"))+\r\n"</div>")+(this.isConnected()?"":\'<div class="geStatusAlert geBlink" style="margin-left:8px;display:inline-block;">\'+mxUtils.htmlEntities(mxResources.get("disconnected"))+"</div>"));c=this.ui.statusContainer.getElementsByTagName("div");0<c.length&&d&&(c[0].style.cursor="pointer",c[0].style.textDecoration="underline",mxEvent.addListener(c[0],"click",mxUtils.bind(this,function(){this.ui.actions.get("revisionHistory").funct()})));d=this.ui.statusContainer.getElementsByTagName("span");if(0<d.length){var b=\r\nd[0];mxUtils.setPrefixedStyle(b.style,"transition","all 0.2s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(b,100);mxUtils.setPrefixedStyle(b.style,"transition","all 1s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(b,0)}),this.updateStatusInterval/2)}),0)}this.resetUpdateStatusThread()}else this.file.addAllSavedStatus()};\r\nDrawioFileSync.prototype.resetUpdateStatusThread=function(){null!=this.updateStatusThread&&window.clearInterval(this.updateStatusThread);null!=this.channel&&(this.updateStatusThread=window.setInterval(mxUtils.bind(this,function(){this.updateStatus()}),this.updateStatusInterval))};DrawioFileSync.prototype.installListeners=function(){null!=this.pusher&&null!=this.pusher.connection&&this.pusher.connection.bind("state_change",this.connectionListener);null!=this.channel&&this.channel.bind("changed",this.changeListener)};\r\nDrawioFileSync.prototype.handleMessageData=function(a){if("desc"==a.a)this.file.savingFile||this.reloadDescriptor();else if("join"==a.a||"leave"==a.a)"join"==a.a&&this.file.stats.joined++,null!=a.name&&(this.lastMessage=mxResources.get("join"==a.a?"userJoined":"userLeft",[decodeURIComponent(a.name)]),this.resetUpdateStatusThread(),this.updateStatus());else if(null!=a.m){var d=new Date(a.m);if(null==this.lastMessageModified||this.lastMessageModified<d)this.lastMessageModified=d,this.fileChangedNotify(a)}};\r\nDrawioFileSync.prototype.isValidState=function(){return this.ui.getCurrentFile()==this.file&&this.file.sync==this&&!this.file.invalidChecksum&&!this.file.redirectDialogShowing};\r\nDrawioFileSync.prototype.optimisticSync=function(a){null==this.reloadThread&&(a=null!=a?a:0,a<this.maxOptimisticReloadRetries&&(this.reloadThread=window.setTimeout(mxUtils.bind(this,function(){this.file.getLatestVersion(mxUtils.bind(this,function(d){this.reloadThread=null;if(null!=d){var c=d.getCurrentRevisionId();this.file.getCurrentRevisionId()==c?this.optimisticSync(a+1):this.file.mergeFile(d,mxUtils.bind(this,function(){this.lastModified=this.file.getLastModifiedDate();this.updateStatus()}))}}),\r\nmxUtils.bind(this,function(){this.reloadThread=null}))}),(a+1)*this.file.optimisticSyncDelay)),"1"==urlParams.test&&EditorUi.debug("Sync.optimisticSync",[this],"retryCount",a))};\r\nDrawioFileSync.prototype.fileChangedNotify=function(a){if(this.isValidState())if(this.file.savingFile)this.remoteFileChanged=!0;else if(null!=a&&"optimistic"==a.type)this.optimisticSync();else var d=this.fileChanged(mxUtils.bind(this,function(a){this.updateStatus()}),mxUtils.bind(this,function(a){this.file.handleFileError(a)}),mxUtils.bind(this,function(){return!this.file.savingFile&&this.notifyThread!=d}),!0)};\r\nDrawioFileSync.prototype.fileChanged=function(a,d,c,b){return this.notifyThread=b=window.setTimeout(mxUtils.bind(this,function(){null!=c&&c()||(this.isValidState()?this.file.loadPatchDescriptor(mxUtils.bind(this,function(b){null!=c&&c()||(this.isValidState()?this.catchup(b,a,d,c):null!=d&&d())}),d):null!=d&&d())}),b?this.cacheReadyDelay:0)};\r\nDrawioFileSync.prototype.reloadDescriptor=function(){this.file.loadDescriptor(mxUtils.bind(this,function(a){null!=a?(this.file.setDescriptorRevisionId(a,this.file.getCurrentRevisionId()),this.updateDescriptor(a),this.fileChangedNotify()):(this.file.inConflictState=!0,this.file.handleFileError())}),mxUtils.bind(this,function(a){this.file.inConflictState=!0;this.file.handleFileError(a)}))};\r\nDrawioFileSync.prototype.updateDescriptor=function(a){this.file.setDescriptor(a);this.file.descriptorChanged();this.start()};\r\nDrawioFileSync.prototype.p2pCatchup=function(a,d,c,b,g,f,m,e){if(null!=g&&(null==e||!e()))if(this.file.getDescriptorRevisionId(g),this.file.getCurrentRevisionId(),this.isValidState()){if(this.file.getDescriptorSecret(g),null==e||!e()){this.file.stats.bytesReceived+=a.length;d=null;c=[];try{if(a=[a],null!=a&&0<a.length)for(b=0;b<a.length;b++){var k=this.stringToObject(a[b]);if(k.v>DrawioFileSync.PROTOCOL){failed=!0;c=[];break}else if(k.v===DrawioFileSync.PROTOCOL&&null!=k.d)d=k.d.checksum,c.push(k.d.patch);\r\nelse{failed=!0;c=[];break}}}catch(l){c=[],null!=window.console&&"1"==urlParams.test&&console.log(l)}try{0<c.length?(this.file.stats.cacheHits++,this.merge(c,d,g,f,m,e)):(this.file.stats.cacheFail++,this.reload(f,m,e))}catch(l){null!=m&&m(l)}}}else null!=m&&m()};\r\nDrawioFileSync.prototype.catchup=function(a,d,c,b){if(null!=a&&(null==b||!b())){var g=this.file.getDescriptorRevisionId(a),f=this.file.getCurrentRevisionId();if(f==g)this.file.patchDescriptor(this.file.getDescriptor(),a),null!=d&&d();else if(this.isValidState()){var m=this.file.getDescriptorSecret(a);if(null==m||"1"==urlParams.lockdown)this.reload(d,c,b);else{var e=0,k=!1,l=mxUtils.bind(this,function(){if(null==b||!b())if(f!=this.file.getCurrentRevisionId())null!=d&&d();else if(this.isValidState()){var n=\r\n!0,p=window.setTimeout(mxUtils.bind(this,function(){n=!1;this.reload(d,c,b)}),this.ui.timeout);mxUtils.get(EditorUi.cacheUrl+"?id="+encodeURIComponent(this.channelId)+"&from="+encodeURIComponent(f)+"&to="+encodeURIComponent(g)+(null!=m?"&secret="+encodeURIComponent(m):""),mxUtils.bind(this,function(g){this.file.stats.bytesReceived+=g.getText().length;window.clearTimeout(p);if(n&&(null==b||!b()))if(f!=this.file.getCurrentRevisionId())null!=d&&d();else if(this.isValidState()){var m=null,q=[];if(200<=\r\ng.getStatus()&&299>=g.getStatus()&&0<g.getText().length)try{var v=JSON.parse(g.getText());if(null!=v&&0<v.length)for(var z=0;z<v.length;z++){var y=this.stringToObject(v[z]);if(y.v>DrawioFileSync.PROTOCOL){k=!0;q=[];break}else if(y.v===DrawioFileSync.PROTOCOL&&null!=y.d)m=y.d.checksum,q.push(y.d.patch);else{k=!0;q=[];break}}}catch(x){q=[],null!=window.console&&"1"==urlParams.test&&console.log(x)}try{0<q.length?(this.file.stats.cacheHits++,this.merge(q,m,a,d,c,b)):e<=this.maxCacheReadyRetries-1&&!k&&\r\n401!=g.getStatus()&&503!=g.getStatus()?(e++,this.file.stats.cacheMiss++,window.setTimeout(l,(e+1)*this.cacheReadyDelay)):(this.file.stats.cacheFail++,this.reload(d,c,b))}catch(x){null!=c&&c(x)}}else null!=c&&c()}))}else null!=c&&c()});window.setTimeout(l,this.cacheReadyDelay)}}else null!=c&&c()}};\r\nDrawioFileSync.prototype.reload=function(a,d,c,b){this.file.updateFile(mxUtils.bind(this,function(){this.lastModified=this.file.getLastModifiedDate();this.updateStatus();this.start();null!=a&&a()}),mxUtils.bind(this,function(a){null!=d&&d(a)}),c,b)};\r\nDrawioFileSync.prototype.merge=function(a,d,c,b,g,f){try{this.file.stats.merged++;this.lastModified=new Date;this.file.shadowPages=null!=this.file.shadowPages?this.file.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.file.shadowData).documentElement);this.file.backupPatch=this.file.isModified()?this.ui.diffPages(this.file.shadowPages,this.ui.pages):null;var m=this.file.ignorePatches(a),e=this.file.getDescriptorRevisionId(c);if(!m){for(f=0;f<a.length;f++)this.file.shadowPages=this.ui.patchPages(this.file.shadowPages,\r\na[f]);var k=null!=d?this.ui.getHashValueForPages(this.file.shadowPages):null;"1"==urlParams.test&&EditorUi.debug("Sync.merge",[this],"from",this.file.getCurrentRevisionId(),"to",e,"etag",this.file.getDescriptorEtag(c),"backup",this.file.backupPatch,"attempt",this.catchupRetryCount,"patches",a,"checksum",d==k,d);if(null!=d&&d!=k){var l=this.ui.hashValue(this.file.getCurrentRevisionId()),n=this.ui.hashValue(e);this.file.checksumError(g,a,"From: "+l+"\\nTo: "+n+"\\nChecksum: "+d+"\\nCurrent: "+k,e,"merge");\r\nreturn}this.file.patch(a,DrawioFile.LAST_WRITE_WINS?this.file.backupPatch:null)}this.file.invalidChecksum=!1;this.file.inConflictState=!1;this.file.patchDescriptor(this.file.getDescriptor(),c);this.file.backupPatch=null;null!=b&&b()}catch(u){this.file.inConflictState=!0;this.file.invalidChecksum=!0;this.file.descriptorChanged();null!=g&&g(u);try{if(this.file.errorReportsEnabled)l=this.ui.hashValue(this.file.getCurrentRevisionId()),n=this.ui.hashValue(e),this.file.sendErrorReport("Error in merge",\r\n"From: "+l+"\\nTo: "+n+"\\nChecksum: "+d+"\\nPatches:\\n"+this.file.compressReportData(JSON.stringify(a,null,2)),u);else{var p=this.file.getCurrentUser(),q=null!=p?p.id:"unknown";EditorUi.logError("Error in merge",null,this.file.getMode()+"."+this.file.getId(),q,u)}}catch(t){}}};\r\nDrawioFileSync.prototype.descriptorChanged=function(a){this.lastModified=this.file.getLastModifiedDate();if(null!=this.channelId){var d=this.objectToString(this.createMessage({a:"desc",m:this.lastModified.getTime()})),c=this.file.getCurrentRevisionId(),b=this.objectToString({});mxUtils.post(EditorUi.cacheUrl,this.getIdParameters()+"&from="+encodeURIComponent(a)+"&to="+encodeURIComponent(c)+"&msg="+encodeURIComponent(d)+"&data="+encodeURIComponent(b));this.file.stats.bytesSent+=b.length;this.file.stats.msgSent++}this.updateStatus()};\r\nDrawioFileSync.prototype.objectToString=function(a){a=Graph.compress(JSON.stringify(a));null!=this.key&&"undefined"!==typeof CryptoJS&&(a=CryptoJS.AES.encrypt(a,this.key).toString());return a};DrawioFileSync.prototype.stringToObject=function(a){null!=this.key&&"undefined"!==typeof CryptoJS&&(a=CryptoJS.AES.decrypt(a,this.key).toString(CryptoJS.enc.Utf8));return JSON.parse(Graph.decompress(a))};\r\nDrawioFileSync.prototype.createToken=function(a,d,c){var b=!0,g=window.setTimeout(mxUtils.bind(this,function(){b=!1;c({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.ui.timeout);mxUtils.get(EditorUi.cacheUrl+"?id="+encodeURIComponent(this.channelId)+"&secret="+encodeURIComponent(a),mxUtils.bind(this,function(a){window.clearTimeout(g);b&&(200<=a.getStatus()&&299>=a.getStatus()?d(a.getText()):c({code:a.getStatus(),message:"Token Error "+a.getStatus()}))}))};\r\nDrawioFileSync.prototype.fileSaving=function(){var a=this.objectToString(this.createMessage({m:(new Date).getTime(),type:"optimistic"}));mxUtils.post(EditorUi.cacheUrl,this.getIdParameters()+"&msg="+encodeURIComponent(a),function(){})};\r\nDrawioFileSync.prototype.sendFileChanges=function(a,d){this.lastModified=this.file.getLastModifiedDate();var c=this.objectToString(this.createMessage({m:this.lastModified.getTime()})),b=this.file.getDescriptorSecret(this.file.getDescriptor()),g=this.file.getDescriptorRevisionId(d),f=this.file.getCurrentRevisionId(),m=null!=this.file.shadowPages?this.file.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.file.shadowData).documentElement),e=this.file.getDescriptorSecret(d),k=this.ui.getHashValueForPages(a),\r\nm=this.ui.diffPages(m,a),k=this.objectToString(this.createMessage({patch:m,checksum:k}));this.file.p2pCollab.sendMessage("diff",{id:this.channelId,from:g,to:f,msg:c,secret:b,lastSecret:e,data:k})};\r\nDrawioFileSync.prototype.fileSaved=function(a,d,c,b,g){this.lastModified=this.file.getLastModifiedDate();this.resetUpdateStatusThread();this.catchupRetryCount=0;if(!this.ui.isOffline(!0)&&!this.file.inConflictState&&!this.file.redirectDialogShowing&&(this.start(),null!=this.channelId)){var f=this.objectToString(this.createMessage({m:this.lastModified.getTime()})),m=this.file.getDescriptorSecret(this.file.getDescriptor()),e=this.file.getDescriptorRevisionId(d),k=this.file.getCurrentRevisionId();if(null==\r\nm||"1"==urlParams.lockdown)this.file.stats.msgSent++,mxUtils.post(EditorUi.cacheUrl,this.getIdParameters()+"&msg="+encodeURIComponent(f),function(){}),null!=c&&c(),"1"==urlParams.test&&EditorUi.debug("Sync.fileSaved",[this],"from",e,"to",k,"etag",this.file.getCurrentEtag(),"notify");else{var l=null!=this.file.shadowPages?this.file.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.file.shadowData).documentElement);d=this.file.getDescriptorSecret(d);var n=this.ui.getHashValueForPages(a),l=this.ui.diffPages(l,\r\na),p=this.objectToString(this.createMessage({patch:l,checksum:n}));this.file.stats.bytesSent+=p.length;this.file.stats.msgSent++;var q=!0,u=window.setTimeout(mxUtils.bind(this,function(){q=!1;b({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.ui.timeout);mxUtils.post(EditorUi.cacheUrl,this.getIdParameters()+"&from="+encodeURIComponent(e)+"&to="+encodeURIComponent(k)+"&msg="+encodeURIComponent(f)+(null!=m?"&secret="+encodeURIComponent(m):"")+(null!=d?"&last-secret="+encodeURIComponent(d):\r\n"")+(p.length<this.maxCacheEntrySize?"&data="+encodeURIComponent(p):"")+(null!=g?"&token="+encodeURIComponent(g):""),mxUtils.bind(this,function(a){window.clearTimeout(u);q&&(200<=a.getStatus()&&299>=a.getStatus()?null!=c&&c():b({code:a.getStatus(),message:a.getStatus()}))}));"1"==urlParams.test&&EditorUi.debug("Sync.fileSaved",[this],"from",e,"to",k,"etag",this.file.getCurrentEtag(),p.length,"bytes","diff",l,"checksum",n)}}this.file.shadowPages=a};\r\nDrawioFileSync.prototype.getIdParameters=function(){var a="id="+this.channelId;null!=this.pusher&&null!=this.pusher.connection&&null!=this.pusher.connection.socket_id&&(a+="&sid="+this.pusher.connection.socket_id);return a};DrawioFileSync.prototype.createMessage=function(a){return{v:DrawioFileSync.PROTOCOL,d:a,c:this.clientId}};\r\nDrawioFileSync.prototype.fileConflict=function(a,d,c){this.catchupRetryCount++;this.catchupRetryCount<this.maxCatchupRetries?(this.file.stats.conflicts++,null!=a?this.catchup(a,d,c):this.fileChanged(d,c)):(this.file.stats.timeouts++,this.catchupRetryCount=0,null!=c&&c({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")}))};\r\nDrawioFileSync.prototype.stop=function(){null!=this.pusher&&(EditorUi.debug("Sync.stop",[this]),null!=this.pusher.connection&&(this.pusher.connection.unbind("state_change",this.connectionListener),this.pusher.connection.unbind("error",this.pusherErrorListener)),null!=this.channel&&(this.channel.unbind("changed",this.changeListener),this.channel=null),this.pusher.disconnect(),this.pusher=null);this.updateOnlineState();this.updateStatus()};\r\nDrawioFileSync.prototype.destroy=function(){if(null!=this.channelId){var a=this.file.getCurrentUser(),d={a:"leave"};null!=a&&(d.name=encodeURIComponent(a.displayName),d.uid=a.id);mxUtils.post(EditorUi.cacheUrl,this.getIdParameters()+"&msg="+encodeURIComponent(this.objectToString(this.createMessage(d))));this.file.stats.msgSent++}this.stop();null!=this.updateStatusThread&&(window.clearInterval(this.updateStatusThread),this.updateStatusThread=null);null!=this.onlineListener&&(mxEvent.removeListener(window,\r\n"online",this.onlineListener),this.onlineListener=null);null!=this.visibleListener&&(mxEvent.removeListener(document,"visibilitychange",this.visibleListener),this.visibleListener=null);null!=this.activityListener&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.activityListener),mxEvent.removeListener(document,"keypress",this.activityListener),mxEvent.removeListener(window,"focus",this.activityListener),!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&(mxEvent.removeListener(document,\r\n"touchstart",this.activityListener),mxEvent.removeListener(document,"touchmove",this.activityListener)),this.activityListener=null);null!=this.collaboratorsElement&&(this.collaboratorsElement.parentNode.removeChild(this.collaboratorsElement),this.collaboratorsElement=null)};Graph.prototype.defaultThemes["default-style2"]=mxUtils.parseXml(\'<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="#ffffff"/><add as="strokeColor" value="#000000"/><add as="fontColor" value="#000000"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="#ffffff"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="#000000"/><add as="fontColor" value="#000000"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="#ffffff"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="#ffffff"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="#ffffff"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="white"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="#ffffff"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add></mxStylesheet>\').documentElement;\r\nGraph.prototype.defaultThemes.darkTheme=mxUtils.parseXml(\'<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="#2a2a2a"/><add as="strokeColor" value="#f0f0f0"/><add as="fontColor" value="#f0f0f0"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="#2a2a2a"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="#f0f0f0"/><add as="fontColor" value="#f0f0f0"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="#2a2a2a"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="#2a2a2a"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="#2a2a2a"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="#2a2a2a"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="#2a2a2a"/></add></mxStylesheet>\').documentElement;function mxAsyncCanvas(a){mxAbstractCanvas2D.call(this);this.htmlCanvas=a;a.images=a.images||[];a.subCanvas=a.subCanvas||[]}mxUtils.extend(mxAsyncCanvas,mxAbstractCanvas2D);mxAsyncCanvas.prototype.htmlCanvas=null;mxAsyncCanvas.prototype.canvasIndex=0;mxAsyncCanvas.prototype.waitCounter=0;mxAsyncCanvas.prototype.onComplete=null;mxAsyncCanvas.prototype.incWaitCounter=function(){this.waitCounter++};\r\nmxAsyncCanvas.prototype.decWaitCounter=function(){this.waitCounter--;0==this.waitCounter&&null!=this.onComplete&&(this.onComplete(),this.onComplete=null)};mxAsyncCanvas.prototype.updateFont=function(){var a="";(this.state.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(a+="bold ");(this.state.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(a+="italic ");this.ctx.font=a+this.state.fontSize+"px "+this.state.fontFamily};mxAsyncCanvas.prototype.rotate=function(a,d,c,b,g){};\r\nmxAsyncCanvas.prototype.setAlpha=function(a){this.state.alpha=a};mxAsyncCanvas.prototype.setFontColor=function(a){this.state.fontColor=a};mxAsyncCanvas.prototype.setFontBackgroundColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBackgroundColor=a};mxAsyncCanvas.prototype.setFontBorderColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBorderColor=a};mxAsyncCanvas.prototype.setFontSize=function(a){this.state.fontSize=a};\r\nmxAsyncCanvas.prototype.setFontFamily=function(a){this.state.fontFamily=a};mxAsyncCanvas.prototype.setFontStyle=function(a){this.state.fontStyle=a};mxAsyncCanvas.prototype.rect=function(a,d,c,b){};mxAsyncCanvas.prototype.roundrect=function(a,d,c,b,g,f){};mxAsyncCanvas.prototype.ellipse=function(a,d,c,b){};mxAsyncCanvas.prototype.rewriteImageSource=function(a){if("http://"==a.substring(0,7)||"https://"==a.substring(0,8))a="/proxy?url="+encodeURIComponent(a);return a};\r\nmxAsyncCanvas.prototype.image=function(a,d,c,b,g,f,m,e){g=this.rewriteImageSource(g);a=this.htmlCanvas.images[g];null==a&&(a=new Image,a.onload=mxUtils.bind(this,function(){this.decWaitCounter()}),a.onerror=mxUtils.bind(this,function(){this.decWaitCounter()}),this.incWaitCounter(),this.htmlCanvas.images[g]=a,a.src=g)};mxAsyncCanvas.prototype.fill=function(){};mxAsyncCanvas.prototype.stroke=function(){};mxAsyncCanvas.prototype.fillAndStroke=function(){};\r\nmxAsyncCanvas.prototype.text=function(a,d,c,b,g,f,m,e,k,l,n,p){if(null!=g&&0!=g.length&&(a=this.state.scale,"html"==k&&"function"===typeof html2canvas)){this.incWaitCounter();var q=this.canvasIndex++;html2canvas(g,{onrendered:mxUtils.bind(this,function(a){this.htmlCanvas.subCanvas[q]=a;this.decWaitCounter()}),scale:a,logging:!0})}};mxAsyncCanvas.prototype.finish=function(a){0==this.waitCounter?a():this.onComplete=a};function mxJsCanvas(a){mxAbstractCanvas2D.call(this);this.ctx=a.getContext("2d");this.ctx.textBaseline="top";this.ctx.fillStyle="rgba(255,255,255,0)";this.ctx.strokeStyle="rgba(0, 0, 0, 0)";this.M_RAD_PER_DEG=Math.PI/180;this.images=null==this.images?[]:this.images;this.subCanvas=null==this.subCanvas?[]:this.subCanvas}mxUtils.extend(mxJsCanvas,mxAbstractCanvas2D);mxJsCanvas.prototype.ctx=null;mxJsCanvas.prototype.waitCounter=0;mxJsCanvas.prototype.onComplete=null;mxJsCanvas.prototype.images=null;\r\nmxJsCanvas.prototype.subCanvas=null;mxJsCanvas.prototype.canvasIndex=0;mxJsCanvas.prototype.hexToRgb=function(a){a=a.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,function(a,c,b,g){return c+c+b+b+g+g});return(a=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(a))?{r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)}:null};mxJsCanvas.prototype.incWaitCounter=function(){this.waitCounter++};\r\nmxJsCanvas.prototype.decWaitCounter=function(){this.waitCounter--;0==this.waitCounter&&null!=this.onComplete&&(this.onComplete(),this.onComplete=null)};mxJsCanvas.prototype.updateFont=function(){var a="";(this.state.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(a+="bold ");(this.state.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(a+="italic ");this.ctx.font=a+this.state.fontSize+"px "+this.state.fontFamily};\r\nmxJsCanvas.prototype.save=function(){this.states.push(this.state);this.state=mxUtils.clone(this.state);this.ctx.save()};mxJsCanvas.prototype.restore=function(){this.state=this.states.pop();this.ctx.restore()};mxJsCanvas.prototype.scale=function(a){this.state.scale*=a;this.state.strokeWidth*=a;this.ctx.scale(a,a)};mxJsCanvas.prototype.translate=function(a,d){this.state.dx+=a;this.state.dy+=d;this.ctx.translate(a,d)};\r\nmxJsCanvas.prototype.rotate=function(a,d,c,b,g){b-=this.state.dx;g-=this.state.dy;this.ctx.translate(b,g);(d||c)&&this.ctx.scale(d?-1:1,c?-1:1);this.ctx.rotate(a*this.M_RAD_PER_DEG);this.ctx.translate(-b,-g)};mxJsCanvas.prototype.setAlpha=function(a){this.state.alpha=a;this.ctx.globalAlpha=a};mxJsCanvas.prototype.setFillColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fillColor=a;this.state.gradientColor=null;this.ctx.fillStyle=a};\r\nmxJsCanvas.prototype.setGradient=function(a,d,c,b,g,f,m,e,k){c=this.ctx.createLinearGradient(0,b,0,b+f);b=this.state;b.fillColor=a;b.fillAlpha=null!=e?e:1;b.gradientColor=d;b.gradientAlpha=null!=k?k:1;b.gradientDirection=m;a=this.hexToRgb(a);d=this.hexToRgb(d);null!=a&&c.addColorStop(0,"rgba("+a.r+","+a.g+","+a.b+","+b.fillAlpha+")");null!=d&&c.addColorStop(1,"rgba("+d.r+","+d.g+","+d.b+","+b.gradientAlpha+")");this.ctx.fillStyle=c};\r\nmxJsCanvas.prototype.setStrokeColor=function(a){null!=a&&(a==mxConstants.NONE?(this.state.strokeColor=null,this.ctx.strokeStyle="rgba(0, 0, 0, 0)"):(this.ctx.strokeStyle=a,this.state.strokeColor=a))};mxJsCanvas.prototype.setStrokeWidth=function(a){this.ctx.lineWidth=a};mxJsCanvas.prototype.setDashed=function(a){if(this.state.dashed=a){a=this.state.dashPattern.split(" ");for(var d=0;d<a.length;d++)a[d]=parseInt(a[d],10);this.setLineDash(a)}else this.setLineDash([0])};\r\nmxJsCanvas.prototype.setLineDash=function(a){try{"function"===typeof this.ctx.setLineDash&&this.ctx.setLineDash(a)}catch(d){}};mxJsCanvas.prototype.setDashPattern=function(a){this.state.dashPattern=a;if(this.state.dashed){a=a.split(" ");for(var d=0;d<a.length;d++)a[d]=parseInt(a[d],10);this.ctx.setLineDash(a)}};mxJsCanvas.prototype.setLineCap=function(a){this.ctx.lineCap=a};mxJsCanvas.prototype.setLineJoin=function(a){this.ctx.lineJoin=a};\r\nmxJsCanvas.prototype.setMiterLimit=function(a){this.ctx.lineJoin=a};mxJsCanvas.prototype.setFontColor=function(a){this.ctx.fillStyle=a};mxJsCanvas.prototype.setFontBackgroundColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBackgroundColor=a};mxJsCanvas.prototype.setFontBorderColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBorderColor=a};mxJsCanvas.prototype.setFontSize=function(a){this.state.fontSize=a};\r\nmxJsCanvas.prototype.setFontFamily=function(a){this.state.fontFamily=a};mxJsCanvas.prototype.setFontStyle=function(a){this.state.fontStyle=a};mxJsCanvas.prototype.setShadow=function(a){(this.state.shadow=a)?(this.setShadowOffset(this.state.shadowDx,this.state.shadowDy),this.setShadowAlpha(this.state.shadowAlpha)):(this.ctx.shadowColor="transparent",this.ctx.shadowBlur=0,this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0)};\r\nmxJsCanvas.prototype.setShadowColor=function(a){if(null==a||a==mxConstants.NONE)a=null,this.ctx.shadowColor="transparent";this.state.shadowColor=a;if(this.state.shadow&&null!=a){var d=null!=this.state.shadowAlpha?this.state.shadowAlpha:1;a=this.hexToRgb(a);this.ctx.shadowColor="rgba("+a.r+","+a.g+","+a.b+","+d+")"}};mxJsCanvas.prototype.setShadowAlpha=function(a){this.state.shadowAlpha=a;this.setShadowColor(this.state.shadowColor)};\r\nmxJsCanvas.prototype.setShadowOffset=function(a,d){this.state.shadowDx=a;this.state.shadowDy=d;this.state.shadow&&(this.ctx.shadowOffsetX=a,this.ctx.shadowOffsetY=d)};mxJsCanvas.prototype.moveTo=function(a,d){this.ctx.moveTo(a,d);this.lastMoveX=a;this.lastMoveY=d};mxJsCanvas.prototype.lineTo=function(a,d){this.ctx.lineTo(a,d);this.lastMoveX=a;this.lastMoveY=d};mxJsCanvas.prototype.quadTo=function(a,d,c,b){this.ctx.quadraticCurveTo(a,d,c,b);this.lastMoveX=c;this.lastMoveY=b};\r\nmxJsCanvas.prototype.arcTo=function(a,d,c,b,g,f,m){a=mxUtils.arcToCurves(this.lastMoveX,this.lastMoveY,a,d,c,b,g,f,m);if(null!=a)for(d=0;d<a.length;d+=6)this.curveTo(a[d],a[d+1],a[d+2],a[d+3],a[d+4],a[d+5])};mxJsCanvas.prototype.curveTo=function(a,d,c,b,g,f){this.ctx.bezierCurveTo(a,d,c,b,g,f);this.lastMoveX=g;this.lastMoveY=f};mxJsCanvas.prototype.rect=function(a,d,c,b){this.begin();this.moveTo(a,d);this.lineTo(a+c,d);this.lineTo(a+c,d+b);this.lineTo(a,d+b);this.close()};\r\nmxJsCanvas.prototype.roundrect=function(a,d,c,b,g,f){this.begin();this.moveTo(a+g,d);this.lineTo(a+c-g,d);this.quadTo(a+c,d,a+c,d+f);this.lineTo(a+c,d+b-f);this.quadTo(a+c,d+b,a+c-g,d+b);this.lineTo(a+g,d+b);this.quadTo(a,d+b,a,d+b-f);this.lineTo(a,d+f);this.quadTo(a,d,a+g,d)};mxJsCanvas.prototype.ellipse=function(a,d,c,b){this.ctx.save();this.ctx.translate(a+c/2,d+b/2);this.ctx.scale(c/2,b/2);this.ctx.beginPath();this.ctx.arc(0,0,1,0,2*Math.PI,!1);this.ctx.restore()};\r\nmxJsCanvas.prototype.rewriteImageSource=function(a){if("http://"==a.substring(0,7)||"https://"==a.substring(0,8))a="/proxy?url="+encodeURIComponent(a);return a};\r\nmxJsCanvas.prototype.image=function(a,d,c,b,g,f,m,e){g=this.rewriteImageSource(g);g=this.images[g];if(null!=g&&0<g.height&&0<g.width){var k=this.ctx;k.save();if(f){f=g.width;var l=g.height,n=Math.min(c/f,b/l);a+=(c-f*n)/2;d+=(b-l*n)/2;c=f*n;b=l*n}m&&(k.translate(2*a+c,0),k.scale(-1,1));e&&(k.translate(0,2*d+b),k.scale(1,-1));k.drawImage(g,a,d,c,b);k.restore()}};mxJsCanvas.prototype.begin=function(){this.ctx.beginPath()};mxJsCanvas.prototype.close=function(){this.ctx.closePath()};\r\nmxJsCanvas.prototype.fill=function(){this.ctx.fill()};mxJsCanvas.prototype.stroke=function(){this.ctx.stroke()};mxJsCanvas.prototype.fillAndStroke=function(){if(this.state.shadow){this.ctx.stroke();this.ctx.fill();var a=this.ctx.shadowColor,d=this.ctx.shadowOffsetX,c=this.ctx.shadowOffsetY;this.ctx.shadowColor="transparent";this.ctx.shadowOffsetX=0;this.ctx.shadowOffsetY=0;this.ctx.stroke();this.ctx.shadowColor=a;this.ctx.shadowOffsetX=d;this.ctx.shadowOffsetY=c}else this.ctx.fill(),this.ctx.stroke()};\r\nmxJsCanvas.prototype.text=function(a,d,c,b,g,f,m,e,k,l,n,p){if(null!=g&&0!=g.length){c=this.state.scale;0!=p&&(this.ctx.translate(Math.round(a),Math.round(d)),this.ctx.rotate(p*Math.PI/180),this.ctx.translate(Math.round(-a),Math.round(-d)));if("html"==k){g=this.subCanvas[this.canvasIndex++];k=g.height;p=g.width;switch(m){case mxConstants.ALIGN_MIDDLE:d-=k/2/c;break;case mxConstants.ALIGN_BOTTOM:d-=k/c}switch(f){case mxConstants.ALIGN_CENTER:a-=p/2/c;break;case mxConstants.ALIGN_RIGHT:a-=p/c}this.ctx.save();\r\nif(null!=this.state.fontBackgroundColor||null!=this.state.fontBorderColor)null!=this.state.fontBackgroundColor&&(this.ctx.fillStyle=this.state.fontBackgroundColor,this.ctx.fillRect(Math.round(a)-.5,Math.round(d)-.5,Math.round(g.width/c),Math.round(g.height/c))),null!=this.state.fontBorderColor&&(this.ctx.strokeStyle=this.state.fontBorderColor,this.ctx.lineWidth=1,this.ctx.strokeRect(Math.round(a)-.5,Math.round(d)-.5,Math.round(g.width/c),Math.round(g.height/c)));this.ctx.scale(1/c,1/c);this.ctx.drawImage(g,\r\nMath.round(a*c),Math.round(d*c))}else{this.ctx.save();this.updateFont();p=document.createElement("div");p.innerHTML=g;p.style.position="absolute";p.style.top="-9999px";p.style.left="-9999px";p.style.fontFamily=this.state.fontFamily;p.style.fontWeight="bold";p.style.fontSize=this.state.fontSize+"pt";document.body.appendChild(p);k=[p.offsetWidth,p.offsetHeight];document.body.removeChild(p);g=g.split("\\n");p=k[1];this.ctx.textBaseline="top";k=d;switch(m){case mxConstants.ALIGN_MIDDLE:this.ctx.textBaseline=\r\n"middle";d-=(g.length-1)*p/2;k=d-this.state.fontSize/2;break;case mxConstants.ALIGN_BOTTOM:this.ctx.textBaseline="alphabetic",d-=p*(g.length-1),k=d-this.state.fontSize}m=[];p=[];for(c=0;c<g.length;c++)p[c]=a,m[c]=this.ctx.measureText(g[c]).width,null!=f&&f!=mxConstants.ALIGN_LEFT&&(p[c]-=m[c],f==mxConstants.ALIGN_CENTER&&(p[c]+=m[c]/2));if(null!=this.state.fontBackgroundColor||null!=this.state.fontBorderColor){a=p[0];f=m[0];for(c=1;c<g.length;c++)a=Math.min(a,p[c]),f=Math.max(f,m[c]);this.ctx.save();\r\na=Math.round(a)-.5;k=Math.round(k)-.5;null!=this.state.fontBackgroundColor&&(this.ctx.fillStyle=this.state.fontBackgroundColor,this.ctx.fillRect(a,k,f,this.state.fontSize*mxConstants.LINE_HEIGHT*g.length));null!=this.state.fontBorderColor&&(this.ctx.strokeStyle=this.state.fontBorderColor,this.ctx.lineWidth=1,this.ctx.strokeRect(a,k,f,this.state.fontSize*mxConstants.LINE_HEIGHT*g.length));this.ctx.restore()}for(c=0;c<g.length;c++)this.ctx.fillText(g[c],p[c],d),d+=this.state.fontSize*mxConstants.LINE_HEIGHT}this.ctx.restore()}};\r\nmxJsCanvas.prototype.getCanvas=function(){return canvas};mxJsCanvas.prototype.finish=function(a){0==this.waitCounter?a():this.onComplete=a};DrawioClient=function(a,d){mxEventSource.call(this);this.ui=a;this.cookieName=d;this.token=this.getPersistentToken()};mxUtils.extend(DrawioClient,mxEventSource);DrawioClient.prototype.token=null;DrawioClient.prototype.user=null;DrawioClient.prototype.setUser=function(a){this.user=a;this.fireEvent(new mxEventObject("userChanged"))};DrawioClient.prototype.getUser=function(){return this.user};\r\nDrawioClient.prototype.clearPersistentToken=function(){if(isLocalStorage)localStorage.removeItem("."+this.cookieName),sessionStorage.removeItem("."+this.cookieName);else if("undefined"!=typeof Storage){var a=new Date;a.setYear(a.getFullYear()-1);document.cookie=this.cookieName+"=; expires="+a.toUTCString()}};\r\nDrawioClient.prototype.getPersistentToken=function(a){var d=null;isLocalStorage&&(d=localStorage.getItem("."+this.cookieName),null==d&&a&&(d=sessionStorage.getItem("."+this.cookieName)));if(null==d&&"undefined"!=typeof Storage){var c=document.cookie;a=this.cookieName+"=";var b=c.indexOf(a);0<=b&&(b+=a.length,d=c.indexOf(";",b),0>d?d=c.length:postCookie=c.substring(d),d=c.substring(b,d),d=0<d.length?d:null,null!=d&&isLocalStorage&&(c=new Date,c.setYear(c.getFullYear()-1),document.cookie=a+"; expires="+\r\nc.toUTCString(),localStorage.setItem("."+this.cookieName,d)))}return d};DrawioClient.prototype.setPersistentToken=function(a,d){try{if(null!=a)if(isLocalStorage)d?sessionStorage.setItem("."+this.cookieName,a):localStorage.setItem("."+this.cookieName,a);else{if("undefined"!=typeof Storage){var c=new Date;c.setYear(c.getFullYear()+10);var b=this.cookieName+"="+a+"; path=/"+(d?"":"; expires="+c.toUTCString());"https"==document.location.protocol.toLowerCase()&&(b+=";secure");document.cookie=b}}else this.clearPersistentToken()}catch(g){this.ui.handleError(g)}};DrawioUser=function(a,d,c,b,g){this.id=a;this.email=d;this.displayName=c;this.pictureUrl=b;this.locale=g};DriveFile=function(a,d,c){DrawioFile.call(this,a,d);this.desc=c};mxUtils.extend(DriveFile,DrawioFile);DriveFile.prototype.saveDelay=0;DriveFile.prototype.allChangesSavedKey="allChangesSavedInDrive";DriveFile.prototype.getSize=function(){return this.desc.fileSize};DriveFile.prototype.isRestricted=function(){return null!=this.desc.userPermission&&null!=this.desc.labels&&"reader"==this.desc.userPermission.role&&this.desc.labels.restricted};\r\nDriveFile.prototype.isConflict=function(a){return null!=a&&null!=a.error&&412==a.error.code};DriveFile.prototype.getCurrentUser=function(){return null!=this.ui.drive?this.ui.drive.user:null};DriveFile.prototype.getMode=function(){return App.MODE_GOOGLE};\r\nDriveFile.prototype.getPublicUrl=function(a){this.ui.drive.executeRequest({url:"/files/"+this.desc.id+"/permissions?supportsAllDrives=true"},mxUtils.bind(this,function(d){if(null!=d&&null!=d.items)for(var c=0;c<d.items.length;c++)if("anyoneWithLink"===d.items[c].id||"anyone"===d.items[c].id){a(this.desc.webContentLink);return}a(null)}),mxUtils.bind(this,function(){a(null)}))};DriveFile.prototype.isAutosaveOptional=function(){return!0};\r\nDriveFile.prototype.isRenamable=function(){return this.isEditable()&&DrawioFile.prototype.isEditable.apply(this,arguments)};DriveFile.prototype.isMovable=function(){return this.isEditable()};DriveFile.prototype.isTrashed=function(){return this.desc.labels.trashed};DriveFile.prototype.save=function(a,d,c,b,g){DrawioFile.prototype.save.apply(this,[a,mxUtils.bind(this,function(){this.saveFile(null,a,d,c,b,g)}),c,b,g])};\r\nDriveFile.prototype.saveFile=function(a,d,c,b,g,f){try{this.isEditable()?this.savingFile||(this.savingFileTime=new Date,this.setShadowModified(!1),this.savingFile=!0,this.createSecret(mxUtils.bind(this,function(a,e){var k=mxUtils.bind(this,function(f,m){try{var l=this.desc;this.ui.drive.saveFile(this,m,mxUtils.bind(this,function(a,f){try{this.savingFile=!1,0!=a?(this.setModified(this.getShadowModified()),d&&(this.lastAutosaveRevision=(new Date).getTime()),this.autosaveDelay=Math.round(Math.min(1E4,\r\nMath.max(DriveFile.prototype.autosaveDelay,this.saveDelay))),this.desc=a,null!=e?this.fileSaved(f,l,mxUtils.bind(this,function(){this.contentChanged();null!=c&&c(a)}),b,e):null!=c&&c(a)):null!=b&&b(a)}catch(t){if(this.savingFile=!1,null!=b)b(t);else throw t;}}),mxUtils.bind(this,function(a,c){try{this.savingFile=!1,this.isConflict(a)?(this.inConflictState=!0,null!=this.sync?(this.savingFile=!0,this.sync.fileConflict(c,mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){this.updateFileData();\r\nthis.setShadowModified(!1);k(f,!0)}),100+500*Math.random())}),mxUtils.bind(this,function(){this.savingFile=!1;null!=b&&b()}))):null!=b&&b()):null!=b&&b(a)}catch(t){if(this.savingFile=!1,null!=b)b(t);else throw t;}}),g,g,f,null,a)}catch(q){if(this.savingFile=!1,null!=b)b(q);else throw q;}});k(f,d)}))):null!=c&&c()}catch(m){if(null!=b)b(m);else throw m;}};\r\nDriveFile.prototype.copyFile=function(a,d){this.isRestricted()?DrawioFile.prototype.copyFile.apply(this,arguments):this.makeCopy(mxUtils.bind(this,function(){if(this.ui.spinner.spin(document.body,mxResources.get("saving")))try{this.save(!0,a,d)}catch(c){d(c)}}),d,!0)};\r\nDriveFile.prototype.makeCopy=function(a,d,c){this.ui.spinner.spin(document.body,mxResources.get("saving"))&&this.saveAs(this.ui.getCopyFilename(this,c),mxUtils.bind(this,function(b){this.desc=b;this.ui.spinner.stop();this.setModified(!1);this.backupPatch=null;this.inConflictState=this.invalidChecksum=!1;this.descriptorChanged();a()}),mxUtils.bind(this,function(){this.ui.spinner.stop();null!=d&&d()}))};DriveFile.prototype.saveAs=function(a,d,c){this.ui.drive.copyFile(this.getId(),a,d,c)};\r\nDriveFile.prototype.rename=function(a,d,c){var b=this.getCurrentEtag();this.ui.drive.renameFile(this.getId(),a,mxUtils.bind(this,function(g){this.hasSameExtension(a,this.getTitle())?(this.desc=g,this.descriptorChanged(),null!=this.sync&&this.sync.descriptorChanged(b),null!=d&&d(g)):(this.desc=g,null!=this.sync&&this.sync.descriptorChanged(b),this.save(!0,d,c))}),c)};\r\nDriveFile.prototype.move=function(a,d,c){this.ui.drive.moveFile(this.getId(),a,mxUtils.bind(this,function(a){this.desc=a;this.descriptorChanged();null!=d&&d(a)}),c)};DriveFile.prototype.share=function(){this.ui.drive.showPermissions(this.getId())};DriveFile.prototype.getTitle=function(){return this.desc.title};DriveFile.prototype.getHash=function(){return"G"+this.getId()};DriveFile.prototype.getId=function(){return this.desc.id};\r\nDriveFile.prototype.isEditable=function(){return DrawioFile.prototype.isEditable.apply(this,arguments)&&this.desc.editable};DriveFile.prototype.isSyncSupported=function(){return!0};DriveFile.prototype.isRevisionHistorySupported=function(){return!0};\r\nDriveFile.prototype.getRevisions=function(a,d){this.ui.drive.executeRequest({url:"/files/"+this.getId()+"/revisions"},mxUtils.bind(this,function(c){for(var b=0;b<c.items.length;b++)mxUtils.bind(this,function(a){a.title=a.originalFilename;a.getXml=mxUtils.bind(this,function(b,c){this.ui.drive.getXmlFile(a,mxUtils.bind(this,function(a){b(a.getData())}),c)});a.getUrl=mxUtils.bind(this,function(b){return this.ui.getUrl(window.location.pathname+"?rev="+a.id+"&chrome=0&nav=1&layers=1&edit=_blank"+(null!=\r\nb?"&page="+b:""))+window.location.hash})})(c.items[b]);a(c.items)}),d)};DriveFile.prototype.getLatestVersion=function(a,d){this.ui.drive.getFile(this.getId(),a,d,!0)};DriveFile.prototype.getChannelId=function(){var a=this.ui.drive.getCustomProperty(this.desc,"channel");null!=a&&(a="G-"+this.getId()+"."+a);return a};DriveFile.prototype.getChannelKey=function(){return this.ui.drive.getCustomProperty(this.desc,"key")};DriveFile.prototype.getLastModifiedDate=function(){return new Date(this.desc.modifiedDate)};\r\nDriveFile.prototype.getDescriptor=function(){return this.desc};DriveFile.prototype.setDescriptor=function(a){this.desc=a};DriveFile.prototype.getDescriptorSecret=function(a){return this.ui.drive.getCustomProperty(a,"secret")};DriveFile.prototype.setDescriptorRevisionId=function(a,d){a.headRevisionId=d};DriveFile.prototype.getDescriptorRevisionId=function(a){return a.headRevisionId};DriveFile.prototype.getDescriptorEtag=function(a){return a.etag};\r\nDriveFile.prototype.setDescriptorEtag=function(a,d){a.etag=d};DriveFile.prototype.loadPatchDescriptor=function(a,d){this.ui.drive.executeRequest({url:"/files/"+this.getId()+"?supportsAllDrives=true&fields="+this.ui.drive.catchupFields},mxUtils.bind(this,function(c){a(c)}),d)};DriveFile.prototype.patchDescriptor=function(a,d){a.headRevisionId=d.headRevisionId;a.modifiedDate=d.modifiedDate;DrawioFile.prototype.patchDescriptor.apply(this,arguments)};\r\nDriveFile.prototype.loadDescriptor=function(a,d){this.ui.drive.loadDescriptor(this.getId(),a,d)};DriveFile.prototype.commentsSupported=function(){return!0};\r\nDriveFile.prototype.getComments=function(a,d){function c(a,d,m){if(d.deleted)return null;m=new DriveComment(a,d.commentId||d.replyId,d.content,d.modifiedDate,d.createdDate,"resolved"==d.status,d.author.isAuthenticatedUser?b:new DrawioUser(d.author.permissionId,d.author.emailAddress,d.author.displayName,d.author.picture.url),m);for(var e=0;null!=d.replies&&e<d.replies.length;e++)m.addReplyDirect(c(a,d.replies[e],d.commentId));return m}var b=this.ui.getCurrentUser();this.ui.drive.executeRequest({url:"/files/"+\r\nthis.getId()+"/comments"},mxUtils.bind(this,function(b){for(var d=[],g=0;g<b.items.length;g++){var e=c(this,b.items[g]);null!=e&&d.push(e)}a(d)}),d)};DriveFile.prototype.addComment=function(a,d,c){a={content:a.content};this.ui.drive.executeRequest({url:"/files/"+this.getId()+"/comments",method:"POST",params:a},mxUtils.bind(this,function(a){d(a.commentId)}),c)};DriveFile.prototype.canReplyToReplies=function(){return!1};DriveFile.prototype.canComment=function(){return this.desc.canComment};\r\nDriveFile.prototype.newComment=function(a,d){return new DriveComment(this,null,a,Date.now(),Date.now(),!1,d)};DriveLibrary=function(a,d,c){DriveFile.call(this,a,d,c)};mxUtils.extend(DriveLibrary,DriveFile);DriveLibrary.prototype.isAutosave=function(){return!0};DriveLibrary.prototype.save=function(a,d,c){this.ui.drive.saveFile(this,a,mxUtils.bind(this,function(a){this.desc=a;null!=d&&d(a)}),c)};DriveLibrary.prototype.open=function(){};(function(){var a=null,d={};window.DriveClient=function(a,b){null==b&&null!=window.urlParams&&"1"==window.urlParams.extAuth&&(b=!0);mxEventSource.call(this);DrawioClient.call(this,a,"gDriveAuthInfo");this.isExtAuth=b;this.ui=a;this.xmlMimeType="application/vnd.jgraph.mxfile";this.mimeType="application/vnd.jgraph.mxfile.realtime";this.ui.editor.chromeless&&!this.ui.editor.editable&&"1"!=urlParams.rt&&"1"!=urlParams.extAuth?(this.cookieName="gDriveViewerAuthInfo",this.token=this.getPersistentToken(),\r\nthis.appId=window.DRAWIO_GOOGLE_VIEWER_APP_ID||"850530949725",this.clientId=window.DRAWIO_GOOGLE_VIEWER_CLIENT_ID||"850530949725.apps.googleusercontent.com",this.scopes=["https://www.googleapis.com/auth/drive.readonly","https://www.googleapis.com/auth/userinfo.profile"]):(this.appId=window.DRAWIO_GOOGLE_APP_ID||"671128082532",this.clientId=window.DRAWIO_GOOGLE_CLIENT_ID||"671128082532-jhphbq6d0e1gnsus9mn7vf8a6fjn10mp.apps.googleusercontent.com");this.mimeTypes=this.xmlMimeType+",application/mxe,application/mxr,application/vnd.jgraph.mxfile.realtime,application/vnd.jgraph.mxfile.rtlegacy";\r\nvar c=JSON.parse(this.token);null!=c&&null!=c.current&&(this.userId=c.current.userId,this.authCalled=!1)};mxUtils.extend(DriveClient,mxEventSource);mxUtils.extend(DriveClient,DrawioClient);DriveClient.prototype.redirectUri=window.location.protocol+"//"+window.location.host+"/google";DriveClient.prototype.GDriveBaseUrl="https://www.googleapis.com/drive/v2";DriveClient.prototype.scopes=["https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.install","https://www.googleapis.com/auth/userinfo.profile"];\r\nDriveClient.prototype.allFields="kind,id,parents,headRevisionId,etag,title,mimeType,modifiedDate,editable,copyable,canComment,labels,properties,downloadUrl,webContentLink,userPermission,fileSize";DriveClient.prototype.catchupFields="etag,headRevisionId,modifiedDate,properties(key,value)";DriveClient.prototype.enableThumbnails=!0;DriveClient.prototype.thumbnailWidth=1E3;DriveClient.prototype.maxThumbnailSize=2E6;DriveClient.prototype.placeholderThumbnail="iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAACN1BMVEXwhwXvhgX4iwXzhwXgbQzvhgXhbAzocgzqcwzldAoAAADhbgvjcQnmdgrlbgDwhgXsfwXufgjwhgXwgQfziAXxgADibgz4iwX4jAX3iwTpcwr1igXoewjsfgj3igX4iwXqcQv4jAX3iwXtfQnndQrvhAbibArwhwXgbQz//////v39jwX6jQX+/v7fagHfawzdVQDwhADgbhPgbhXwhwPocQ3uvKvwiA/faQDscgzxiAT97+XgciTgcSP6jAXgbQ3gcCHwiRfpcQzwhwfeXQD77ef74NLvhgTvegD66uPgbAf66+TvfADwjCzgcCfwiSD67ObhcjjwiBHhczvwiyrgbxj///777ujgcSHgcB/xiRzgbhveWgDeVwDhdEDgbRDqfgffYgDfXwD97+bvfQDxiz7//vvwiRr118rrcgztggbfZgDfZAD++PT98+3gbBPsgAb99vD33tPgcB7icAvuhAX//Pn66N/00sTyy7vuuqbjekLwhwzkcgr88er449n++vfutp/kh1vgcBvhbwvmdwnwgwDwgADeWQD87eLxxrTssJjqpIf0roHmjWTkhFP759n63czvvanomnjnlHDhczD22cr4y6/wwa/3xKX2wJ3rqpH0tY7qp4vpnoDymlbjf0vxjjntcwzldAroegj/kgX12s7518PzqnnnkWfynmLieUjpewjrdAD40Lj1uZTzpm3idTbiciLydQzzfwnyiQTsfgD3xqnzp3TxlkzgbCrdTwDdSwBLKUlNAAAAJ3RSTlP8/b2X/YH8wb+FAIuIggJbQin5opAM9+a/ubaubyD78NjSyr2WgRp4sjN4AAAI70lEQVR42u2cZ38SQRDGT8WGvfde4E4BxVMRRaKiUURRlJhQRDCCSgQVO/bee++9994+nMt5ywoezFJd/fm8uITi3p9n5mbYkcCpO6rVnVu2YEXd+3dRIySuo7pLv4GjGNKg7j3UHTl1l14PajmG9OFBnx7Ird4PumpYEtf1QXc112l0M7OGKXEfeg3guo3iNIyJG92Jaz61mYYxcaNacs1H/8f6j6X5j1WI/mMVIsawRFEzI49SjwOqAJa43emclk8Rp2c7AFZ+LDGyvXE2kmO2Q1Lq17RSd6ND48QIwFVuLNHTOPbEpTOz8ujMpccHGz0AV5mxIo4TpwUeUPj0YwfAVVYs0Tn7VZjnBUA8v+n6CyfERY8FR/DEJj7MQ6oL85vOvfDUAsuVC8s19s5yXuAppOPnvPk4EeSCsehCeBVTwVzHfE6RcFUQa4an8Qw91kpbw2oz4aoc1sSxniO0WAI/J24wriabmEpizZtM79bc+fr4/tUarEpiLabGElJYRsOGjbJfjGDpJCxtmosRLOEnVpqLESzZLYlLg65H1rAkLo2GESwcROwXI1jELcS1Y6OGQSzEVaupZQJLDiLhYtCtFBcbbslYhOueqKllDwtzwVhTq4RFuBh0C3EdEBl0C3OBWNUrEISLvSD+5GLQLYmLoSqfwcUiFuaqzhYDxiJc981lxqqdVsCGbHPcQLBgrtK3rwLt9tWqhblKxxI9hW3267U5ZHhuBrCKzXl4NIJTS5FrmbmMWGIEDZIouOp0/O6boYQ2jxBXWcdu13fzRILuF/2Ku+aGr96uBbhALHo5Z38+XcfXyVRZVx/+Ed513ldDCCCu0rFE0Xlo2mu5TAj8ki0XV0q6ePHilhi+d/15b9ACQGGusg3AFzc+XSMBCPzu89+CNlnB7zfD8t1z4iaLXUvDVT6sGdMOnv5pi47f6r9Qk9YF3xZ0l8S11UfMArlgLMpZM6bamYy6rWnta9q7TrZrzZPgPgoqg3atubY8WK6D8lQXHfb4p/wSK7vFfxmxSsAPQ96AlZ4LxoLNeompdkUDGQVznL5mLr4ar5ESD3PBWHA9fbpbjlT4pq1Bm6H6w9dwfOd69ePouNDYt3S3ULPGZ96S3YqtAW/Tepz1E8bgAANc+xEXhAX36ut1cslcd6rJq81SIvgEe7lmL3kY5iqxVYvOI9isswp22KeMOcrriJlWai5giwHl+yec73Ma9Mbfz+qOJndKz6hLpR5V1uPxavFuTTt0K1XfpbNeO0wKeUaR2IPBN5sMRlqu1eY8bsFmPeIFUpi0CjIGTLvSZY2EGeYSi3VL9Dgeb0I+SQl9MlcZT4TObZKzfmfS5NZSx1GsLQ5r+8Sxp7ERR/1TtDlUn2qNuGXCrZGM5URlLDiEVzDVkje5fdjXdDsm27XpXChBz4XG0UpYcDOMYaxjGc3wtyJxFtu1PohaI71f2K2imqEONcN4nrMZ9TWbMf81wg9z3VNwC26Gr3enY4ObobLqbccFefuz5AKONpVfzQp2y3NoVvrN32GLNl9orA22lTiM+Nqg5CJY1DueOjkwsdtNgAP7gidR2SWVhFqt3o9QwoKHIuiwDcwX+xT/UWztSlvCaqXGmtQBY1GadQmfh6anuE0XlkhhRFs3tGGkd+tuIVhiJN0M+brj0mlAu46lX0bcbizVLbgZrgwl4JhYA+NQa9TJQUetsSJYHscJvAVct7eJKoUbQudxPYmdirqzsYsIojhjoitD01yadH287J+vpZF1/uGt2K4ttinjshQo2C2XMzI2U64X6WY4tyZq99a7wZS3eA3BpNyrUPn1x00Z0uM1ACzilOfg7EN3VmRo8dN16WYYerYw6G9qCOSDCjQ0jQkufRbalt65LVyapaA/2mClxhK3Rxy3rsyavDxDR/DL5sMLFiyYu/7sXps7z8VldPv2Xl6PnjlTwOOuJQuytH7CXpvXCOQWoZrYeHWd4nw2Q+v22OLGnFSG0Nk1PCi0xjgjpVvTGi8hht9F+ARBGq8dtXmtOSLoDm1FhUSHnihkTecESalHkPAaWVhtFbA8jqvQGBmbt8fWkKtNn0Xw9GvAWK6DX9bBVHjzqtyvvcG9a+jXyC5oKoKV/a4YFG7Yij2ofszlgtaA3ZoRwW+pIOH3w0qZFURNh3oNtKsDsAr9LNvMC0pj93H6hTPpX9ocg8FIgTVvcgFYC03jFLBMi6ix0MDAoi8/lh7Cgt2q0VfNrSX0ayhjTa2IW0tKdotNrMq4NbPkILKZW+xdiSoGgshogfh7Ul7FcIEoFevfrPLC3+XWf6y/CEvHZoFQqlts9sQigqjLxFpQCJauakFcsqhKPXH79rGb6bE2B5Qmu0b91zn0WJtN8Wys9tgtIqfjEf2SWw7XKI8gHuKQ0X0eDsQSI44TaGBN6dYN5dlI/eFj9I7f8GWtoUJYOIgkiq6Ds/gw5T7dZDUqTrfscbLbB9eIB7JmEKsUgiii/4uO8ToBfJlhfif5tEGWEsGTMT4Mr6HDa0BBlP5Y88lcnkdkCtLhnyjMM0+Gcn2WzW6xnd/J8zn+LZq4SUeEvUBaA8LCs6Tk1p1AetXt3JoMWexWZSyr3RK6vSUGrRHbmkRUVgCLpP1HW/L4tgl5tO140mdKKFFhrkTUdxta4xleA8DCXC6n/vCYvPJFa9zAWL4m6qNaA8IiqjW73lreWnJrSj0AJYFZpvwq6RZRzjVUGEtB5tX7DdoqCXaL+PXHuEjdYsuvVqva4Sqv6NdabdW4YLeIKsoFYzHGhYPIGBd2izGuVpPaSVgAV7VEsOQgsuUXdosxLuwWxLVMW0WRK5ExLiiIpN4vq2YYVTiIbPmFgii5xRiXimCBqmIcVSS3WMqvdMqz5VcKqzdKeca4UrnVT/ryR6bi2Opuf64TwYJlfl4FLqu2Zxeux5BRXZnisvZ8103NqTtzoziuGa24+wZVRdVK9W7wyNSX1nYeOmrU6JSmjp6KhH5BR+kGvk++Ld0c/X66rPH4SEQeGl+kpq8a33eAumPqK347durWpzm9hrWhUevi1Hd4ZzVC+gGMHY0TYnDOYwAAAABJRU5ErkJggg==".replace(/\\+/g,\r\n"-").replace(/\\//g,"_");DriveClient.prototype.placeholderMimeType="image/png";DriveClient.prototype.libraryMimeType="application/vnd.jgraph.mxlibrary";DriveClient.prototype.newAppHostname="www.draw.io";DriveClient.prototype.extension=".drawio";DriveClient.prototype.tokenRefreshInterval=0;DriveClient.prototype.lastTokenRefresh=0;DriveClient.prototype.maxRetries=5;DriveClient.prototype.staleEtagMaxRetries=3;DriveClient.prototype.coolOff=1E3;DriveClient.prototype.mimeTypeCheckCoolOff=6E4;DriveClient.prototype.user=\r\nnull;DriveClient.prototype.sameWinAuthMode=!1;DriveClient.prototype.sameWinRedirectUrl=null;DriveClient.prototype.setUser=function(a){this.user=a;null==this.user?(this.userId=null,null!=this.tokenRefreshThread&&(window.clearTimeout(this.tokenRefreshThread),this.tokenRefreshThread=null)):this.userId=a.id;this.fireEvent(new mxEventObject("userChanged"))};DriveClient.prototype.setUserId=function(a){this.userId=a;null!=this.user&&this.user.id!=this.userId&&(this.user=null)};DriveClient.prototype.getUser=\r\nfunction(){return this.user};DriveClient.prototype.getUsersList=function(){var a=[],b=JSON.parse(this.getPersistentToken(!0)),d=null;if(null!=b){null!=b.current&&(d=b.current.userId,a.push(b[d].user),a[0].isCurrent=!0);for(var f in b)"current"!=f&&f!=d&&a.push(b[f].user)}return a};DriveClient.prototype.logout=function(){this.ui.editor.loadUrl(this.redirectUri+"?doLogout=1&userId="+this.userId+"&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname));this.clearPersistentToken();\r\nthis.setUser(null);a=null};DriveClient.prototype.execute=function(a){var b=mxUtils.bind(this,function(b){this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(b,c){this.authorize(!1,mxUtils.bind(this,function(){null!=c&&c();a()}),mxUtils.bind(this,function(a){var b=mxResources.get("cannotLogin");null!=a&&null!=a.error&&403==a.error.code&&null!=a.error.data&&0<a.error.data.length&&"domainPolicy"==a.error.data[0].reason&&(b=a.error.message);this.logout();this.ui.showError(mxResources.get("error"),\r\nb,mxResources.get("help"),mxUtils.bind(this,function(){this.ui.openLink("https://www.diagrams.net/doc/faq/gsuite-authorisation-troubleshoot")}),null,mxResources.get("ok"))}),b)}))});this.authorize(!0,a,b)};DriveClient.prototype.executeRequest=function(c,b,d){try{var f=!0,g=null,e=0;null!=this.requestThread&&window.clearTimeout(this.requestThread);var k=mxUtils.bind(this,function(){try{this.requestThread=null;this.currentRequest=c;null!=g&&window.clearTimeout(g);g=window.setTimeout(mxUtils.bind(this,\r\nfunction(){f=!1;null!=d&&d({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:k})}),this.ui.timeout);var m=null,n=!1;"string"===typeof c.params?m=c.params:null!=c.params&&(m=JSON.stringify(c.params),n=!0);var p=c.fullUrl||this.GDriveBaseUrl+c.url;n&&(p+=(0<p.indexOf("?")?"&":"?")+"alt=json");var q=new mxXmlRequest(p,m,c.method||"GET");q.setRequestHeaders=mxUtils.bind(this,function(b,d){if(null!=c.headers)for(var e in c.headers)b.setRequestHeader(e,c.headers[e]);else null!=c.contentType?\r\nb.setRequestHeader("Content-Type",c.contentType):n&&b.setRequestHeader("Content-Type","application/json");b.setRequestHeader("Authorization","Bearer "+a)});q.send(mxUtils.bind(this,function(a){try{if(window.clearTimeout(g),f){var m;try{m=JSON.parse(a.getText())}catch(y){m=null}if(200<=a.getStatus()&&299>=a.getStatus())null!=b&&b(m);else{var l=null!=m&&null!=m.error?null!=m.error.data?m.error.data:m.error.errors:null,n=null!=l&&0<l.length?l[0].reason:null;null==d||null==m||null==m.error||-1!=m.error.code&&\r\n(403!=m.error.code||"domainPolicy"!=n&&"The requested mime type change is forbidden."!=m.error.message)?null!=m&&null!=m.error&&(401==m.error.code||403==m.error.code&&"rateLimitExceeded"!=n)?403==m.error.code&&this.retryAuth||401==m.error.code&&this.retryAuth&&"authError"==n?(null!=d&&d(m),this.retryAuth=!1):(this.retryAuth=!0,this.execute(k)):null!=m&&null!=m.error&&412!=m.error.code&&404!=m.error.code&&400!=m.error.code&&this.currentRequest==c&&e<this.maxRetries?(e++,this.requestThread=window.setTimeout(k,\r\nMath.round(Math.pow(2,e)*(1+.1*(Math.random()-.5))*this.coolOff))):null!=d&&d(m):d(m)}}}catch(y){if(null!=d)d(y);else throw y;}}))}catch(u){if(null!=d)d(u);else throw u;}});null!=a&&this.authCalled?k():this.execute(k)}catch(l){if(null!=d)d(l);else throw l;}};DriveClient.prototype.createAuthWin=function(a){return window.open(a?a:"about:blank","gdauth",["width=525,height=525","top="+(window.screenY+Math.max(window.outerHeight-525,0)/2),"left="+(window.screenX+Math.max(window.outerWidth-525,0)/2),"status=no,resizable=yes,toolbar=no,menubar=no,scrollbars=yes"].join())};\r\nDriveClient.prototype.authorize=function(a,b,d,f,m){this.isExtAuth&&!a?window.parent.driveAuth(mxUtils.bind(this,function(a){this.updateAuthInfo(a,!0,!0,b,d)}),d):(new mxXmlRequest(this.redirectUri+"?getState=1",null,"GET")).send(mxUtils.bind(this,function(c){200<=c.getStatus()&&299>=c.getStatus()?this.authorizeStep2(c.getText(),a,b,d,f,m):null!=d&&d(c)}),d)};DriveClient.prototype.updateAuthInfo=function(c,b,d,f,m){a=c.access_token;delete c.access_token;c.expires=Date.now()+1E3*parseInt(c.expires_in);\r\nc.remember=b;this.resetTokenRefresh(c);this.authCalled=!0;if(d||null==this.user){var e=JSON.stringify(c);this.updateUser(mxUtils.bind(this,function(){var a=JSON.parse(e);this.setPersistentToken(a,!b);null!=f&&f()}),m)}else null!=f&&(this.setPersistentToken(c,!b),f())};DriveClient.prototype.authorizeStep2=function(a,b,d,f,m,e){try{null!=this.ui.stateArg&&null!=this.ui.stateArg.userId&&(this.userId=this.ui.stateArg.userId,null!=this.user&&this.user.id!=this.userId&&(this.user=null));if(null==this.userId){var c=\r\nJSON.parse(this.getPersistentToken(!0));c&&null!=c.current&&(this.userId=c.current.userId)}if(b&&null==this.userId)null!=f&&f();else if(b)(new mxXmlRequest(this.redirectUri+"?state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+a)+"&userId="+this.userId,null,"GET")).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()?(a=JSON.parse(a.getText()),this.updateAuthInfo(a,!0,!1,d,f)):(0!=a.getStatus()&&this.logout(),null!=f&&f(a))}),f);else{var g=\r\n"https://accounts.google.com/o/oauth2/v2/auth?client_id="+this.clientId+"&redirect_uri="+encodeURIComponent(this.redirectUri)+"&response_type=code&include_granted_scopes=true"+(m?"&access_type=offline&prompt=consent%20select_account":"")+"&scope="+encodeURIComponent(this.scopes.join(" "))+"&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+a+(this.sameWinRedirectUrl?"&redirect="+this.sameWinRedirectUrl:""));this.sameWinAuthMode?(window.location.assign(g),\r\ne=null):null==e?e=this.createAuthWin(g):e.location=g;null!=e&&(window.onGoogleDriveCallback=mxUtils.bind(this,function(a,b){window.onGoogleDriveCallback=null;try{null==a?null!=f&&f({message:mxResources.get("accessDenied")}):this.updateAuthInfo(a,m,!0,d,f)}catch(q){null!=f&&f(q)}finally{null!=b&&b.close()}}),e.focus())}}catch(n){if(null!=f)f(n);else throw n;}};DriveClient.prototype.resetTokenRefresh=function(a){null!=this.tokenRefreshThread&&(window.clearTimeout(this.tokenRefreshThread),this.tokenRefreshThread=\r\nnull);null!=a&&null==a.error&&0<a.expires_in&&(this.tokenRefreshInterval=1E3*parseInt(a.expires_in),this.lastTokenRefresh=(new Date).getTime(),this.tokenRefreshThread=window.setTimeout(mxUtils.bind(this,function(){this.authorize(!0,mxUtils.bind(this,function(){}),mxUtils.bind(this,function(){}))}),900*a.expires_in))};DriveClient.prototype.checkToken=function(a){var b=0<this.lastTokenRefresh;(new Date).getTime()-this.lastTokenRefresh>this.tokenRefreshInterval||null==this.tokenRefreshThread?this.execute(mxUtils.bind(this,\r\nfunction(){a();b&&this.fireEvent(new mxEventObject("disconnected"))})):a()};DriveClient.prototype.updateUser=function(c,b){try{var d={Authorization:"Bearer "+a};this.ui.editor.loadUrl("https://www.googleapis.com/oauth2/v2/userinfo?alt=json",mxUtils.bind(this,function(a){var d=JSON.parse(a);this.executeRequest({url:"/about"},mxUtils.bind(this,function(a){var b=mxResources.get("notAvailable"),e=b,f=null;null!=a&&null!=a.user&&(b=a.user.emailAddress,e=a.user.displayName,f=null!=a.user.picture?a.user.picture.url:\r\nnull);this.setUser(new DrawioUser(d.id,b,e,f,d.locale));this.userId=d.id;null!=c&&c()}),b)}),b,null,null,null,null,d)}catch(f){if(null!=b)b(f);else throw f;}};DriveClient.prototype.copyFile=function(a,b,d,f){null!=a&&null!=b&&this.executeRequest({url:"/files/"+a+"/copy?fields="+encodeURIComponent(this.allFields)+"&supportsAllDrives=true&enforceSingleParent=true",method:"POST",params:{title:b,properties:[{key:"channel",value:Editor.guid()}]}},d,f)};DriveClient.prototype.renameFile=function(a,b,d,f){null!=\r\na&&null!=b&&this.executeRequest(this.createDriveRequest(a,{title:b}),d,f)};DriveClient.prototype.moveFile=function(a,b,d,f){null!=a&&null!=b&&this.executeRequest(this.createDriveRequest(a,{parents:[{kind:"drive#fileLink",id:b}]}),d,f)};DriveClient.prototype.createDriveRequest=function(a,b){return{url:"/files/"+a+"?uploadType=multipart&supportsAllDrives=true",method:"PUT",contentType:"application/json; charset=UTF-8",params:b}};DriveClient.prototype.getLibrary=function(a,b,d){return this.getFile(a,\r\nb,d,!0,!0)};DriveClient.prototype.loadDescriptor=function(a,b,d,f){this.executeRequest({url:"/files/"+a+"?supportsAllDrives=true&fields="+(null!=f?f:this.allFields)},b,d)};DriveClient.prototype.listFiles=function(a,b,d,f,m){this.executeRequest({url:"/files?supportsAllDrives=true&includeItemsFromAllDrives=true&q="+encodeURIComponent("(mimeType contains \'"+this.xmlMimeType+"\') "+(a?" and (title contains \'"+a+"\')":"")+(b?" and (modifiedDate > \'"+b.toISOString()+"\')":"")+(d?" and (\'me\' in owners)":""))+\r\n"&orderBy=modifiedDate desc,title"},f,m)};DriveClient.prototype.getCustomProperty=function(a,b){var c=a.properties,d=null;if(null!=c)for(var m=0;m<c.length;m++)if(c[m].key==b){d=c[m].value;break}return d};DriveClient.prototype.getFile=function(c,b,d,f,m){f=null!=f?f:!1;m=null!=m?m:!1;null!=urlParams.rev?this.executeRequest({url:"/files/"+c+"/revisions/"+urlParams.rev+"?supportsAllDrives=true"},mxUtils.bind(this,function(a){a.title=a.originalFilename;a.headRevisionId=a.id;a.id=c;this.getXmlFile(a,\r\nb,d)}),d):this.loadDescriptor(c,mxUtils.bind(this,function(c){try{if(null!=this.user){var e=/\\.png$/i.test(c.title);/\\.v(dx|sdx?)$/i.test(c.title)||/\\.gliffy$/i.test(c.title)||!this.ui.useCanvasForExport&&e?this.ui.convertFile(c.downloadUrl,c.title,c.mimeType,this.extension,b,d,null,{Authorization:"Bearer "+a}):f||m||c.mimeType==this.libraryMimeType||c.mimeType==this.xmlMimeType?this.getXmlFile(c,b,d,!0,m):this.getXmlFile(c,b,d)}else d({message:mxResources.get("loggedOut")})}catch(l){if(null!=d)d(l);\r\nelse throw l;}}),d)};DriveClient.prototype.isGoogleRealtimeMimeType=function(a){return null!=a&&"application/vnd.jgraph.mxfile."==a.substring(0,30)};DriveClient.prototype.getXmlFile=function(c,b,d,f,m){try{var e={Authorization:"Bearer "+a},g=c.downloadUrl;if(null==g)null!=d&&d({message:mxResources.get("exportOptionsDisabledDetails")});else{var l=0,n=mxUtils.bind(this,function(){this.ui.editor.loadUrl(g,mxUtils.bind(this,function(a){try{if(null==a)d({message:mxResources.get("invalidOrMissingFile")});\r\nelse if(c.mimeType==this.libraryMimeType||m)c.mimeType!=this.libraryMimeType||m?b(new DriveLibrary(this.ui,a,c)):d({message:mxResources.get("notADiagramFile")});else{var e=!1;if(/\\.png$/i.test(c.title)){var f=a.lastIndexOf(",");if(0<f){var k=this.ui.extractGraphModelFromPng(a);if(null!=k&&0<k.length)a=k;else try{var k=a.substring(f+1),l=!window.atob||mxClient.IS_IE||mxClient.IS_IE11?Base64.decode(k):atob(k),n=this.ui.editor.extractGraphModel(mxUtils.parseXml(l).documentElement,!0);null==n||0<n.getElementsByTagName("parsererror").length?\r\ne=!0:a=l}catch(y){e=!0}}}else/\\.pdf$/i.test(c.title)?(k=Editor.extractGraphModelFromPdf(a),null!=k&&0<k.length&&(e=!0,a=k)):"data:image/png;base64,PG14ZmlsZS"==a.substring(0,32)&&(l=a.substring(22),a=window.atob&&!mxClient.IS_SF?atob(l):Base64.decode(l));Graph.fileSupport&&(new XMLHttpRequest).upload&&this.ui.isRemoteFileFormat(a,g)?this.ui.parseFile(new Blob([a],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){try{4==a.readyState&&(200<=a.status&&299>=a.status?b(new LocalFile(this.ui,\r\na.responseText,c.title+this.extension,!0)):null!=d&&d({message:mxResources.get("errorLoadingFile")}))}catch(x){if(null!=d)d(x);else throw x;}}),c.title):b(e?new LocalFile(this.ui,a,c.title,!0):new DriveFile(this.ui,a,c))}}catch(y){if(null!=d)d(y);else throw y;}}),mxUtils.bind(this,function(a,b){if(l<this.maxRetries&&null!=b&&403==b.getStatus())l++,window.setTimeout(n,2*l*this.coolOff*(1+.1*(Math.random()-.5)));else if(null!=d)d(a);else throw a;}),null!=c.mimeType&&"image/"==c.mimeType.substring(0,\r\n6)&&"image/svg"!=c.mimeType.substring(0,9)||/\\.png$/i.test(c.title)||/\\.jpe?g$/i.test(c.title)||/\\.pdf$/i.test(c.title),null,null,null,e)});n()}}catch(p){if(null!=d)d(p);else throw p;}};DriveClient.prototype.saveFile=function(a,b,d,f,m,e,k,l,n){try{var c=0;a.saveLevel=1;var g=mxUtils.bind(this,function(b){if(null!=f)f(b);else throw b;try{if(!a.isConflict(b)){var c="sl_"+a.saveLevel+"-error_"+(a.getErrorMessage(b)||"unknown");null!=b&&null!=b.error&&null!=b.error.code&&(c+="-code_"+b.error.code);EditorUi.logEvent({category:"ERROR-SAVE-FILE-"+\r\na.getHash()+"-rev_"+a.desc.headRevisionId+"-mod_"+a.desc.modifiedDate+"-size_"+a.getSize()+"-mime_"+a.desc.mimeType+(this.ui.editor.autosave?"":"-nosave")+(a.isAutosave()?"":"-noauto")+(a.changeListenerEnabled?"":"-nolisten")+(a.inConflictState?"-conflict":"")+(a.invalidChecksum?"-invalid":""),action:c,label:(null!=this.user?"user_"+this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync")})}}catch(G){}}),u=mxUtils.bind(this,function(a){g(a);try{EditorUi.logError(a.message,null,null,\r\na)}catch(C){}});if(a.isEditable()&&null!=a.desc){var t=(new Date).getTime(),v=a.desc.etag,z=a.desc.modifiedDate,y=a.desc.headRevisionId,x=this.ui.useCanvasForExport&&/(\\.png)$/i.test(a.getTitle());e=null!=e?e:!1;var A=null,B=!1,E={mimeType:a.desc.mimeType,title:a.getTitle()};if(this.isGoogleRealtimeMimeType(E.mimeType))E.mimeType=this.xmlMimeType,A=a.desc,B=b=!0;else if("application/octet-stream"==E.mimeType||"1"==urlParams["override-mime"]&&E.mimeType!=this.xmlMimeType)E.mimeType=this.xmlMimeType;\r\nvar F=mxUtils.bind(this,function(f,m,p){try{a.saveLevel=3;a.constructor==DriveFile&&(null==l&&(l=[]),null==a.getChannelId()&&l.push({key:"channel",value:Editor.guid(32)}),null==a.getChannelKey()&&l.push({key:"key",value:Editor.guid(32)}),l.push({key:"secret",value:null!=n?n:Editor.guid(32)}));p||(null!=f||e||(f=this.placeholderThumbnail,m=this.placeholderMimeType),null!=f&&null!=m&&(E.thumbnail={image:f,mimeType:m}));var q=a.getData(),C=mxUtils.bind(this,function(c){try{if(a.saveDelay=(new Date).getTime()-\r\nt,a.saveLevel=11,null==c)g({message:mxResources.get("errorSavingFile")+": Empty response"});else{var e=(new Date(c.modifiedDate)).getTime()-(new Date(z)).getTime();if(0>=e||v==c.etag||b&&y==c.headRevisionId){a.saveLevel=12;var f=[];0>=e&&f.push("invalid modified time");v==c.etag&&f.push("stale etag");b&&y==c.headRevisionId&&f.push("stale revision");var k=f.join(", ");g({message:mxResources.get("errorSavingFile")+": "+k},c);try{EditorUi.logError("Critical: Error saving to Google Drive "+a.desc.id,\r\nnull,"from-"+y+"."+z+"-"+this.ui.hashValue(v)+"-to-"+c.headRevisionId+"."+c.modifiedDate+"-"+this.ui.hashValue(c.etag)+(0<k.length?"-errors-"+k:""),"user-"+(null!=this.user?this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync"))}catch(U){}}else if(a.saveLevel=null,d(c,q),null!=A){this.executeRequest({url:"/files/"+A.id+"/revisions/"+A.headRevisionId+"?supportsAllDrives=true"},mxUtils.bind(this,mxUtils.bind(this,function(a){a.pinned=!0;this.executeRequest({url:"/files/"+A.id+"/revisions/"+\r\nA.headRevisionId,method:"PUT",params:a})})));try{EditorUi.logEvent({category:a.convertedFrom+"-CONVERT-FILE-"+a.getHash(),action:"from_"+A.id+"."+A.headRevisionId+"-to_"+a.desc.id+"."+a.desc.headRevisionId,label:null!=this.user?"user_"+this.user.id:"nouser"+(null!=a.sync?"-client_"+a.sync.clientId:"nosync")})}catch(U){}}}}catch(U){u(U)}}),F=mxUtils.bind(this,function(d,e){a.saveLevel=4;try{null!=l&&(E.properties=l);var m=k||a.constructor!=DriveFile||"manual"!=DrawioFile.SYNC&&"auto"!=DrawioFile.SYNC?\r\nnull:a.getCurrentEtag(),n=mxUtils.bind(this,function(f){a.saveLevel=5;try{var k=a.desc.mimeType!=this.xmlMimeType&&a.desc.mimeType!=this.mimeType&&a.desc.mimeType!=this.libraryMimeType,l=!0,n=null;try{n=window.setTimeout(mxUtils.bind(this,function(){l=!1;g({code:App.ERROR_TIMEOUT})}),5*this.ui.timeout)}catch(Z){}this.executeRequest(this.createUploadRequest(a.getId(),E,d,b||f||k,e,f?null:m,B),mxUtils.bind(this,function(a){window.clearTimeout(n);l&&C(a)}),mxUtils.bind(this,function(b){window.clearTimeout(n);\r\nif(l){a.saveLevel=6;try{a.isConflict(b)?this.executeRequest({url:"/files/"+a.getId()+"?supportsAllDrives=true&fields="+this.catchupFields},mxUtils.bind(this,function(d){a.saveLevel=7;try{if(null!=d&&d.etag==m)if(c<this.staleEtagMaxRetries){c++;var e=2*c*this.coolOff*(1+.1*(Math.random()-.5));window.setTimeout(p,e);"1"==urlParams.test&&EditorUi.debug("DriveClient: Stale Etag Detected","retry",c,"delay",e)}else{p(!0);try{EditorUi.logEvent({category:"STALE-ETAG-SAVE-FILE-"+a.getHash(),action:"rev_"+\r\na.desc.headRevisionId+"-mod_"+a.desc.modifiedDate+"-size_"+a.getSize()+"-mime_"+a.desc.mimeType+(this.ui.editor.autosave?"":"-nosave")+(a.isAutosave()?"":"-noauto")+(a.changeListenerEnabled?"":"-nolisten")+(a.inConflictState?"-conflict":"")+(a.invalidChecksum?"-invalid":""),label:(null!=this.user?"user_"+this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync")})}catch(ba){}}else"1"==urlParams.test&&d.headRevisionId==y&&EditorUi.debug("DriveClient: Remote Etag Changed","local",m,\r\n"remote",d.etag,"rev",a.desc.headRevisionId,"response",[d],"file",[a]),g(b,d)}catch(ba){u(ba)}}),mxUtils.bind(this,function(){g(b)})):g(b)}catch(Y){u(Y)}}}))}catch(Z){u(Z)}}),p=mxUtils.bind(this,function(b){a.saveLevel=9;if(b||null==m)n(b);else{var c=!0,d=null;try{d=window.setTimeout(mxUtils.bind(this,function(){c=!1;g({code:App.ERROR_TIMEOUT})}),3*this.ui.timeout)}catch(X){}this.executeRequest({url:"/files/"+a.getId()+"?supportsAllDrives=true&fields="+this.catchupFields},mxUtils.bind(this,function(e){window.clearTimeout(d);\r\nif(c){a.saveLevel=10;try{null!=e&&e.headRevisionId==y?("1"==urlParams.test&&m!=e.etag&&EditorUi.debug("DriveClient: Preflight Etag Update","from",m,"to",e.etag,"rev",a.desc.headRevisionId,"response",[e],"file",[a]),m=e.etag,n(b)):g({error:{code:412}},e)}catch(Z){u(Z)}}}),mxUtils.bind(this,function(b){window.clearTimeout(d);c&&(a.saveLevel=11,g(b))}))}});if(x&&null==f){a.saveLevel=8;var A=new Image;A.onload=mxUtils.bind(this,function(){try{var a=this.thumbnailWidth/A.width,b=document.createElement("canvas");\r\nb.width=this.thumbnailWidth;b.height=Math.floor(A.height*a);b.getContext("2d").drawImage(A,0,0,b.width,b.height);var c=b.toDataURL(),c=c.substring(c.indexOf(",")+1).replace(/\\+/g,"-").replace(/\\//g,"_");E.thumbnail={image:c,mimeType:"image/png"};p(!1)}catch(X){try{p(!1)}catch(Z){u(Z)}}});A.src="data:image/png;base64,"+d}else p(!1)}catch(W){u(W)}});if(x){var D=this.ui.getPngFileProperties(this.ui.fileNode);this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){F(a,!0)}),g,this.ui.getCurrentFile()!=a?\r\nq:null,D.scale,D.border)}else F(q,!1)}catch(N){u(N)}});try{a.saveLevel=2,(e||x||a.constructor==DriveLibrary||!this.enableThumbnails||"0"==urlParams.thumb||null!=E.mimeType&&"application/vnd.jgraph.mxfile"!=E.mimeType.substring(0,29)||!this.ui.getThumbnail(this.thumbnailWidth,mxUtils.bind(this,function(a){try{var b=null;try{null!=a&&(b=a.toDataURL("image/png")),null!=b&&(b=b.length>this.maxThumbnailSize?null:b.substring(b.indexOf(",")+1).replace(/\\+/g,"-").replace(/\\//g,"_"))}catch(G){b=null}F(b,"image/png")}catch(G){u(G)}})))&&\r\nF(null,null,a.constructor!=DriveLibrary)}catch(D){u(D)}}else this.ui.editor.graph.reset(),g({message:mxResources.get("readOnly")})}catch(D){u(D)}};DriveClient.prototype.insertFile=function(a,b,d,f,m,e,k){e=null!=e?e:this.xmlMimeType;a={mimeType:e,title:a};null!=d&&(a.parents=[{kind:"drive#fileLink",id:d}]);this.executeRequest(this.createUploadRequest(null,a,b,!1,k),mxUtils.bind(this,function(a){e==this.libraryMimeType?f(new DriveLibrary(this.ui,b,a)):0==a?null!=m&&m({message:mxResources.get("errorSavingFile")}):\r\nf(new DriveFile(this.ui,b,a))}),m)};DriveClient.prototype.createUploadRequest=function(a,b,d,f,m,e,k){m=null!=m?m:!1;var c={"Content-Type":\'multipart/mixed; boundary="-------314159265358979323846"\'};null!=e&&(c["If-Match"]=e);a={fullUrl:"https://content.googleapis.com/upload/drive/v2/files"+(null!=a?"/"+a:"")+"?uploadType=multipart&supportsAllDrives=true&enforceSingleParent=true&fields="+this.allFields,method:null!=a?"PUT":"POST",headers:c,params:"\\r\\n---------314159265358979323846\\r\\nContent-Type: application/json\\r\\n\\r\\n"+\r\nJSON.stringify(b)+"\\r\\n---------314159265358979323846\\r\\nContent-Type: application/octect-stream\\r\\nContent-Transfer-Encoding: base64\\r\\n\\r\\n"+(null!=d?m?d:!window.btoa||mxClient.IS_IE||mxClient.IS_IE11?Base64.encode(d):Graph.base64EncodeUnicode(d):"")+"\\r\\n---------314159265358979323846--"};f||(a.fullUrl+="&newRevision=false");k&&(a.fullUrl+="&pinned=true");return a};DriveClient.prototype.createLinkPicker=function(){var c=d.linkPicker;if(null==c||d.linkPickerToken!=a){d.linkPickerToken=a;var c=(new google.picker.DocsView(google.picker.ViewId.FOLDERS)).setParent("root").setIncludeFolders(!0).setSelectFolderEnabled(!0),\r\nb=(new google.picker.DocsView).setIncludeFolders(!0).setSelectFolderEnabled(!0),g=(new google.picker.DocsView).setIncludeFolders(!0).setEnableDrives(!0).setSelectFolderEnabled(!0),c=(new google.picker.PickerBuilder).setAppId(this.appId).setLocale(mxLanguage).setOAuthToken(d.linkPickerToken).enableFeature(google.picker.Feature.SUPPORT_DRIVES).addView(c).addView(b).addView(g).addView(google.picker.ViewId.RECENTLY_PICKED)}return c};DriveClient.prototype.pickFile=function(c,b,g){this.filePickerCallback=\r\nnull!=c?c:mxUtils.bind(this,function(a){this.ui.loadFile("G"+a)});this.filePicked=mxUtils.bind(this,function(a){a.action==google.picker.Action.PICKED&&this.filePickerCallback(a.docs[0].id,a.docs[0])});this.ui.spinner.spin(document.body,mxResources.get("authorizing"))&&this.execute(mxUtils.bind(this,function(){try{this.ui.spinner.stop();var c=b?"genericPicker":"filePicker",m=mxUtils.bind(this,function(a){"picker modal-dialog-bg picker-dialog-bg"==mxEvent.getSource(a).className&&(mxEvent.removeListener(document,\r\n"click",m),this[c].setVisible(!1),g&&g())});if(null==d[c]||d[c+"Token"]!=a){d[c+"Token"]=a;var e=(new google.picker.DocsView(google.picker.ViewId.FOLDERS)).setParent("root").setIncludeFolders(!0),k=(new google.picker.DocsView).setIncludeFolders(!0),l=(new google.picker.DocsView).setEnableDrives(!0).setIncludeFolders(!0),n=(new google.picker.DocsUploadView).setIncludeFolders(!0);b?(e.setMimeTypes("*/*"),k.setMimeTypes("*/*"),l.setMimeTypes("*/*")):(e.setMimeTypes(this.mimeTypes),k.setMimeTypes(this.mimeTypes),\r\nl.setMimeTypes(this.mimeTypes));d[c]=(new google.picker.PickerBuilder).setOAuthToken(d[c+"Token"]).setLocale(mxLanguage).setAppId(this.appId).enableFeature(google.picker.Feature.SUPPORT_DRIVES).addView(e).addView(k).addView(l).addView(google.picker.ViewId.RECENTLY_PICKED).addView(n);if(urlParams.gPickerSize){var p=urlParams.gPickerSize.split(",");d[c]=d[c].setSize(p[0],p[1])}urlParams.topBaseUrl&&(d[c]=d[c].setOrigin(decodeURIComponent(urlParams.topBaseUrl)));d[c]=d[c].setCallback(mxUtils.bind(this,\r\nfunction(a){if(a.action==google.picker.Action.PICKED||a.action==google.picker.Action.CANCEL)mxEvent.removeListener(document,"click",m),g&&a.action==google.picker.Action.CANCEL&&g();a.action==google.picker.Action.PICKED&&this.filePicked(a)})).build()}mxEvent.addListener(document,"click",m);d[c].setVisible(!0)}catch(q){this.ui.spinner.stop(),this.ui.handleError(q)}}))};DriveClient.prototype.pickFolder=function(c,b){this.folderPickerCallback=c;var g=mxUtils.bind(this,function(){try{this.ui.spinner.spin(document.body,\r\nmxResources.get("authorizing"))&&this.execute(mxUtils.bind(this,function(){try{this.ui.spinner.stop();var b=mxUtils.bind(this,function(a){"picker modal-dialog-bg picker-dialog-bg"==mxEvent.getSource(a).className&&(mxEvent.removeListener(document,"click",b),d.folderPicker.setVisible(!1))});if(null==d.folderPicker||d.folderPickerToken!=a){d.folderPickerToken=a;var c=(new google.picker.DocsView(google.picker.ViewId.FOLDERS)).setParent("root").setIncludeFolders(!0).setSelectFolderEnabled(!0).setMimeTypes("application/vnd.google-apps.folder"),\r\ne=(new google.picker.DocsView).setIncludeFolders(!0).setSelectFolderEnabled(!0).setMimeTypes("application/vnd.google-apps.folder"),g=(new google.picker.DocsView).setIncludeFolders(!0).setEnableDrives(!0).setSelectFolderEnabled(!0).setMimeTypes("application/vnd.google-apps.folder");d.folderPicker=(new google.picker.PickerBuilder).setSelectableMimeTypes("application/vnd.google-apps.folder").setOAuthToken(d.folderPickerToken).setLocale(mxLanguage).setAppId(this.appId).enableFeature(google.picker.Feature.SUPPORT_DRIVES).addView(c).addView(e).addView(g).addView(google.picker.ViewId.RECENTLY_PICKED).setTitle(mxResources.get("pickFolder"));\r\nif(urlParams.gPickerSize){var l=urlParams.gPickerSize.split(",");d.folderPicker=d.folderPicker.setSize(l[0],l[1])}urlParams.topBaseUrl&&(d.folderPicker=d.folderPicker.setOrigin(decodeURIComponent(urlParams.topBaseUrl)));d.folderPicker=d.folderPicker.setCallback(mxUtils.bind(this,function(a){a.action!=google.picker.Action.PICKED&&a.action!=google.picker.Action.CANCEL||mxEvent.removeListener(document,"click",b);this.folderPickerCallback(a)})).build()}mxEvent.addListener(document,"click",b);d.folderPicker.setVisible(!0)}catch(n){this.ui.spinner.stop(),\r\nthis.ui.handleError(n)}}))}catch(f){this.ui.handleError(f)}});b?g():this.ui.confirm(mxResources.get("useRootFolder"),mxUtils.bind(this,function(){this.folderPickerCallback({action:google.picker.Action.PICKED,docs:[{type:"folder",id:"root"}]})}),mxUtils.bind(this,function(){g()}),mxResources.get("yes"),mxResources.get("noPickFolder")+"...",!0)};DriveClient.prototype.pickLibrary=function(c){this.filePickerCallback=c;this.filePicked=mxUtils.bind(this,function(a){a.action==google.picker.Action.PICKED?\r\nthis.filePickerCallback(a.docs[0].id):a.action==google.picker.Action.CANCEL&&null==this.ui.getCurrentFile()&&this.ui.showSplash()});this.ui.spinner.spin(document.body,mxResources.get("authorizing"))&&this.execute(mxUtils.bind(this,function(){try{this.ui.spinner.stop();var b=mxUtils.bind(this,function(a){"picker modal-dialog-bg picker-dialog-bg"==mxEvent.getSource(a).className&&(mxEvent.removeListener(document,"click",b),d.libraryPicker.setVisible(!1))});if(null==d.libraryPicker||d.libraryPickerToken!=\r\na){d.libraryPickerToken=a;var c=(new google.picker.DocsView(google.picker.ViewId.FOLDERS)).setParent("root").setIncludeFolders(!0).setMimeTypes(this.libraryMimeType+",application/xml,text/plain,application/octet-stream"),f=(new google.picker.DocsView).setIncludeFolders(!0).setMimeTypes(this.libraryMimeType+",application/xml,text/plain,application/octet-stream"),m=(new google.picker.DocsView).setEnableDrives(!0).setIncludeFolders(!0).setMimeTypes(this.libraryMimeType+",application/xml,text/plain,application/octet-stream"),\r\ne=(new google.picker.DocsUploadView).setIncludeFolders(!0);d.libraryPicker=(new google.picker.PickerBuilder).setOAuthToken(d.libraryPickerToken).setLocale(mxLanguage).setAppId(this.appId).enableFeature(google.picker.Feature.SUPPORT_DRIVES).addView(c).addView(f).addView(m).addView(google.picker.ViewId.RECENTLY_PICKED).addView(e);if(urlParams.gPickerSize){var k=urlParams.gPickerSize.split(",");d.libraryPicker=d.libraryPicker.setSize(k[0],k[1])}urlParams.topBaseUrl&&(d.libraryPicker=d.libraryPicker.setOrigin(decodeURIComponent(urlParams.topBaseUrl)));\r\nd.libraryPicker=d.libraryPicker.setCallback(mxUtils.bind(this,function(a){a.action!=google.picker.Action.PICKED&&a.action!=google.picker.Action.CANCEL||mxEvent.removeListener(document,"click",b);a.action==google.picker.Action.PICKED&&this.filePicked(a)})).build()}mxEvent.addListener(document,"click",b);d.libraryPicker.setVisible(!0)}catch(l){this.ui.spinner.stop(),this.ui.handleError(l)}}))};DriveClient.prototype.showPermissions=function(c){var b=mxUtils.bind(this,function(){var a=new ConfirmDialog(this.ui,\r\nmxResources.get("googleSharingNotAvailable"),mxUtils.bind(this,function(){this.ui.editor.graph.openLink("https://drive.google.com/open?id="+c)}),null,mxResources.get("open"),null,null,null,null,IMAGE_PATH+"/google-share.png");this.ui.showDialog(a.container,360,190,!0,!0);a.init()});this.sharingFailed?b():this.checkToken(mxUtils.bind(this,function(){try{var d=new gapi.drive.share.ShareClient(this.appId);d.setOAuthToken(a);d.setItemIds([c]);d.showSettingsDialog();"MutationObserver"in window&&(null!=\r\nthis.sharingObserver&&(this.sharingObserver.disconnect(),this.sharingObserver=null),this.sharingObserver=new MutationObserver(mxUtils.bind(this,function(a){for(var c=!1,d=0;d<a.length;d++)for(var f=0;f<a[d].addedNodes.length;f++){var g=a[d].addedNodes[f];"BUTTON"==g.nodeName&&"ok"==g.getAttribute("name")&&null!=g.parentNode&&null!=g.parentNode.parentNode&&"dialog"==g.parentNode.parentNode.getAttribute("role")?(this.sharingFailed=!0,g.click(),b(),c=!0):"DIV"==g.nodeName&&"shr-q-shr-r-shr-xb"==g.className&&\r\n(c=!0)}c&&(this.sharingObserver.disconnect(),this.sharingObserver=null)})),this.sharingObserver.observe(document,{childList:!0,subtree:!0}))}catch(f){this.ui.handleError(f)}}))};DriveClient.prototype.clearPersistentToken=function(){var a=JSON.parse(this.getPersistentToken(!0))||{};delete a.current;delete a[this.userId];for(var b in a){a.current={userId:b,expires:0};break}DrawioClient.prototype.setPersistentToken.call(this,JSON.stringify(a))};DriveClient.prototype.setPersistentToken=function(a,b){var c=\r\nJSON.parse(this.getPersistentToken(!0))||{};a.userId=this.userId;c.current=a;c[this.userId]={user:this.user};DrawioClient.prototype.setPersistentToken.call(this,JSON.stringify(c),b)}})();DropboxFile=function(a,d,c){DrawioFile.call(this,a,d);this.stat=c};mxUtils.extend(DropboxFile,DrawioFile);DropboxFile.prototype.getId=function(){return this.stat.path_display.substring(1)};DropboxFile.prototype.getHash=function(){return"D"+encodeURIComponent(this.getId())};DropboxFile.prototype.getMode=function(){return App.MODE_DROPBOX};DropboxFile.prototype.isAutosaveOptional=function(){return!0};DropboxFile.prototype.getTitle=function(){return this.stat.name};\r\nDropboxFile.prototype.isRenamable=function(){return!0};DropboxFile.prototype.getSize=function(){return this.stat.size};DropboxFile.prototype.isRevisionHistorySupported=function(){return!0};\r\nDropboxFile.prototype.getRevisions=function(a,d){var c=this.ui.dropbox.client.filesListRevisions({path:this.stat.path_lower,limit:100});c.then(mxUtils.bind(this,function(b){try{for(var c=[],f=b.entries.length-1;0<=f;f--)mxUtils.bind(this,function(a){c.push({modifiedDate:a.client_modified,fileSize:a.size,getXml:mxUtils.bind(this,function(b,c){this.ui.dropbox.readFile({path:this.stat.path_lower,rev:a.rev},b,c)}),getUrl:mxUtils.bind(this,function(b){return this.ui.getUrl(window.location.pathname+"?rev="+\r\na.rev+"&chrome=0&nav=1&layers=1&edit=_blank"+(null!=b?"&page="+b:""))+window.location.hash})})})(b.entries[f]);a(c)}catch(m){d(m)}}));c["catch"](function(a){d(a)})};DropboxFile.prototype.getLatestVersion=function(a,d){this.ui.dropbox.getFile(this.getId(),a,d)};DropboxFile.prototype.updateDescriptor=function(a){this.stat=a.stat};DropboxFile.prototype.save=function(a,d,c,b,g){this.doSave(this.getTitle(),a,d,c,b,g)};DropboxFile.prototype.saveAs=function(a,d,c){this.doSave(a,!1,d,c)};\r\nDropboxFile.prototype.doSave=function(a,d,c,b,g,f){var m=this.stat.name;this.stat.name=a;DrawioFile.prototype.save.apply(this,[null,mxUtils.bind(this,function(){this.stat.name=m;this.saveFile(a,d,c,b,g,f)}),b,g,f])};\r\nDropboxFile.prototype.saveFile=function(a,d,c,b){this.isEditable()?this.savingFile?null!=b&&b({code:App.ERROR_BUSY}):(d=mxUtils.bind(this,function(d){if(d)try{this.savingFileTime=new Date;this.setShadowModified(!1);this.savingFile=!0;var f=mxUtils.bind(this,function(d){var e=this.stat.path_display.lastIndexOf("/"),e=1<e?this.stat.path_display.substring(1,e+1):null;this.ui.dropbox.saveFile(a,d,mxUtils.bind(this,function(a){this.setModified(this.getShadowModified());this.savingFile=!1;this.stat=a;this.contentChanged();\r\nnull!=c&&c()}),mxUtils.bind(this,function(a){this.savingFile=!1;null!=b&&b(a)}),e)});if(this.ui.useCanvasForExport&&/(\\.png)$/i.test(this.getTitle())){var g=this.ui.getPngFileProperties(this.ui.fileNode);this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){f(this.ui.base64ToBlob(a,"image/png"))}),b,this.ui.getCurrentFile()!=this?this.getData():null,g.scale,g.border)}else f(this.getData())}catch(e){if(this.savingFile=!1,null!=b)b(e);else throw e;}else null!=b&&b()}),this.getTitle()==a?d(!0):this.ui.dropbox.checkExists(a,\r\nd)):null!=c&&c()};DropboxFile.prototype.rename=function(a,d,c){this.ui.dropbox.renameFile(this,a,mxUtils.bind(this,function(b){this.hasSameExtension(a,this.getTitle())?(this.stat=b,this.descriptorChanged(),null!=d&&d()):(this.stat=b,this.descriptorChanged(),this.save(!0,d,c))}),c)};DropboxLibrary=function(a,d,c){DropboxFile.call(this,a,d,c)};mxUtils.extend(DropboxLibrary,DropboxFile);DropboxLibrary.prototype.isAutosave=function(){return!0};DropboxLibrary.prototype.doSave=function(a,d,c){this.saveFile(a,!1,d,c)};DropboxLibrary.prototype.open=function(){};(function(){var a=null;window.DropboxClient=function(a){DrawioClient.call(this,a,"dbauth");this.client=new Dropbox({clientId:this.clientId})};mxUtils.extend(DropboxClient,DrawioClient);DropboxClient.prototype.appPath="/drawio/";DropboxClient.prototype.extension=".drawio";DropboxClient.prototype.writingFile=!1;DropboxClient.prototype.maxRetries=4;DropboxClient.prototype.clientId=window.DRAWIO_DROPBOX_ID;DropboxClient.prototype.redirectUri=window.location.protocol+"//"+window.location.host+"/dropbox";\r\nDropboxClient.prototype.logout=function(){this.ui.editor.loadUrl(this.redirectUri+"?doLogout=1&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname));this.clearPersistentToken();this.setUser(null);a=null;this.client.authTokenRevoke().then(mxUtils.bind(this,function(){this.client.setAccessToken(null)}))};DropboxClient.prototype.updateUser=function(d,c,b){var g=!0,f=window.setTimeout(mxUtils.bind(this,function(){g=!1;c({code:App.ERROR_TIMEOUT})}),this.ui.timeout),m=this.client.usersGetCurrentAccount();\r\nm.then(mxUtils.bind(this,function(a){window.clearTimeout(f);g&&(this.setUser(new DrawioUser(a.account_id,a.email,a.name.display_name)),d())}));m["catch"](mxUtils.bind(this,function(e){window.clearTimeout(f);g&&(null==e||401!==e.status||b?c({message:mxResources.get("accessDenied")}):(this.setUser(null),this.client.setAccessToken(null),a=null,this.authenticate(mxUtils.bind(this,function(){this.updateUser(d,c,!0)}),c)))}))};DropboxClient.prototype.authenticate=function(a,c){(new mxXmlRequest(this.redirectUri+\r\n"?getState=1",null,"GET")).send(mxUtils.bind(this,function(b){200<=b.getStatus()&&299>=b.getStatus()?this.authenticateStep2(b.getText(),a,c):null!=c&&c(b)}),c)};DropboxClient.prototype.authenticateStep2=function(d,c,b){if(null==window.onDropboxCallback){var g=mxUtils.bind(this,function(){var f=!0;null!=this.getPersistentToken(!0)?(new mxXmlRequest(this.redirectUri+"?state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+d),null,"GET")).send(mxUtils.bind(this,\r\nfunction(d){200<=d.getStatus()&&299>=d.getStatus()?(a=JSON.parse(d.getText()).access_token,this.client.setAccessToken(a),this.setUser(null),c()):(this.clearPersistentToken(),this.setUser(null),a=null,this.client.setAccessToken(null),401==d.getStatus()?g():b({message:mxResources.get("accessDenied"),retry:g}))}),b):this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(m,e){null!=window.open("https://www.dropbox.com/oauth2/authorize?client_id="+this.clientId+(m?"&token_access_type=offline":"")+"&redirect_uri="+\r\nencodeURIComponent(this.redirectUri)+"&response_type=code&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+d),"dbauth")?window.onDropboxCallback=mxUtils.bind(this,function(d,l){if(f){window.onDropboxCallback=null;f=!1;try{null==d?b({message:mxResources.get("accessDenied"),retry:g}):(null!=e&&e(),a=d.access_token,this.client.setAccessToken(a),this.setUser(null),m&&this.setPersistentToken("remembered"),c())}catch(n){b(n)}finally{null!=l&&l.close()}}else null!=\r\nl&&l.close()}):b({message:mxResources.get("serviceUnavailableOrBlocked"),retry:g})}),mxUtils.bind(this,function(){f&&(window.onDropboxCallback=null,f=!1,b({message:mxResources.get("accessDenied"),retry:g}))}))});g()}else b({code:App.ERROR_BUSY})};DropboxClient.prototype.executePromise=function(d,c,b){var g=mxUtils.bind(this,function(m){var e=!0,k=window.setTimeout(mxUtils.bind(this,function(){e=!1;b({code:App.ERROR_TIMEOUT,retry:f})}),this.ui.timeout),l=d();l.then(mxUtils.bind(this,function(a){window.clearTimeout(k);\r\ne&&null!=c&&c(a)}));l["catch"](mxUtils.bind(this,function(c){window.clearTimeout(k);e&&(null==c||500!=c.status&&400!=c.status&&401!=c.status?b({message:mxResources.get("error")+" "+c.status}):(this.setUser(null),this.client.setAccessToken(null),a=null,m?b({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){f(!0)},b)})}):this.authenticate(function(){g(!0)},b)))}))}),f=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){f(!0)},\r\nb,a):g(a)});null==a?this.authenticate(function(){f(!0)},b):f(!1)};DropboxClient.prototype.getLibrary=function(a,c,b){this.getFile(a,c,b,!0)};DropboxClient.prototype.getFile=function(d,c,b,g){g=null!=g?g:!1;var f=/\\.png$/i.test(d);if(/^https:\\/\\//i.test(d)||/\\.v(dx|sdx?)$/i.test(d)||/\\.gliffy$/i.test(d)||/\\.pdf$/i.test(d)||!this.ui.useCanvasForExport&&f){var m=mxUtils.bind(this,function(){var a=d.split("/");this.ui.convertFile(d,0<a.length?a[a.length-1]:d,null,this.extension,c,b)});null!=a?m():this.authenticate(m,\r\nb)}else m={path:"/"+d},null!=urlParams.rev&&(m.rev=urlParams.rev),this.readFile(m,mxUtils.bind(this,function(a,b){var e=null;if(0<(f?a.lastIndexOf(","):-1)){var k=this.ui.extractGraphModelFromPng(a);null!=k&&0<k.length?a=k:e=new LocalFile(this,a,d,!0)}c(null!=e?e:g?new DropboxLibrary(this.ui,a,b):new DropboxFile(this.ui,a,b))}),b,f)};DropboxClient.prototype.readFile=function(d,c,b,g){var f=mxUtils.bind(this,function(e){var k=!0,l=window.setTimeout(mxUtils.bind(this,function(){k=!1;b({code:App.ERROR_TIMEOUT})}),\r\nthis.ui.timeout),n=this.client.filesGetMetadata({path:"/"+d.path.substring(1),include_deleted:!1});n.then(mxUtils.bind(this,function(a){}));n["catch"](function(a){window.clearTimeout(l);k&&null!=a&&409==a.status&&(k=!1,b({message:mxResources.get("fileNotFound")}))});n=this.client.filesDownload(d);n.then(mxUtils.bind(this,function(a){window.clearTimeout(l);if(k){k=!1;try{var d=new FileReader;d.onload=mxUtils.bind(this,function(b){c(d.result,a)});g?d.readAsDataURL(a.fileBlob):d.readAsText(a.fileBlob)}catch(u){b(u)}}}));\r\nn["catch"](mxUtils.bind(this,function(c){window.clearTimeout(l);k&&(k=!1,null==c||500!=c.status&&400!=c.status&&401!=c.status?b({message:mxResources.get("error")+" "+c.status}):(this.client.setAccessToken(null),this.setUser(null),a=null,e?b({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){m(!0)},b)})}):this.authenticate(function(){f(!0)},b)))}))}),m=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){m(!0)},b,a):f(a)});null==\r\na?this.authenticate(function(){m(!0)},b):m(!1)};DropboxClient.prototype.checkExists=function(a,c,b){var d=mxUtils.bind(this,function(){return this.client.filesGetMetadata({path:"/"+a.toLowerCase(),include_deleted:!1})});this.executePromise(d,mxUtils.bind(this,function(d){b?c(!1,!0,d):this.ui.confirm(mxResources.get("replaceIt",[a]),function(){c(!0,!0,d)},function(){c(!1,!0,d)})}),function(a){c(!0,!1)})};DropboxClient.prototype.renameFile=function(a,c,b,g){if(/[\\\\\\/:\\?\\*"\\|]/.test(c))g({message:mxResources.get("dropboxCharsNotAllowed")});\r\nelse{if(null!=a&&null!=c){var d=a.stat.path_display.substring(1),m=d.lastIndexOf("/");0<m&&(c=d.substring(0,m+1)+c)}null!=a&&null!=c&&a.stat.path_lower.substring(1)!==c.toLowerCase()?this.checkExists(c,mxUtils.bind(this,function(d,f,m){d?(d=mxUtils.bind(this,function(d){d=mxUtils.bind(this,function(){return this.client.filesMove({from_path:a.stat.path_display,to_path:"/"+c,autorename:!1})});this.executePromise(d,b,g)}),f&&m.path_lower.substring(1)!==c.toLowerCase()?(f=mxUtils.bind(this,function(){return this.client.filesDelete({path:"/"+\r\nc.toLowerCase()})}),this.executePromise(f,d,g)):d()):g()})):g({message:mxResources.get("invalidName")})}};DropboxClient.prototype.insertLibrary=function(a,c,b,g){this.insertFile(a,c,b,g,!0)};DropboxClient.prototype.insertFile=function(a,c,b,g,f){f=null!=f?f:!1;this.checkExists(a,mxUtils.bind(this,function(d){d?this.saveFile(a,c,mxUtils.bind(this,function(a){f?b(new DropboxLibrary(this.ui,c,a)):b(new DropboxFile(this.ui,c,a))}),g):g()}))};DropboxClient.prototype.saveFile=function(a,c,b,g,f){if(/[\\\\\\/:\\?\\*"\\|]/.test(a))g({message:mxResources.get("dropboxCharsNotAllowed")});\r\nelse if(15E7<=c.length)g({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(c.length)+" / 150 MB)"});else{f=null!=f?f:"";var d=mxUtils.bind(this,function(){return this.client.filesUpload({path:"/"+f+a,mode:{".tag":"overwrite"},mute:!0,contents:new Blob([c],{type:"text/plain"})})});this.executePromise(d,b,g)}};DropboxClient.prototype.pickLibrary=function(a){Dropbox.choose({linkType:"direct",cancel:mxUtils.bind(this,function(){}),success:mxUtils.bind(this,function(c){if(this.ui.spinner.spin(document.body,\r\nmxResources.get("loading"))){var b=mxUtils.bind(this,function(a){this.ui.spinner.stop();this.ui.handleError(a)}),d=c[0].link.indexOf(this.appPath);if(0<d){var f=decodeURIComponent(c[0].link.substring(d+this.appPath.length-1));this.readFile({path:f},mxUtils.bind(this,function(d,e){if(null!=e&&e.id==c[0].id)try{this.ui.spinner.stop(),a(f.substring(1),new DropboxLibrary(this.ui,d,e))}catch(k){this.ui.handleError(k)}else this.createLibrary(c[0],a,b)}),b)}else this.createLibrary(c[0],a,b)}})})};DropboxClient.prototype.createLibrary=\r\nfunction(a,c,b){this.ui.confirm(mxResources.get("note")+": "+mxResources.get("fileWillBeSavedInAppFolder",[a.name]),mxUtils.bind(this,function(){this.ui.editor.loadUrl(a.link,mxUtils.bind(this,function(d){this.insertFile(a.name,d,mxUtils.bind(this,function(a){try{this.ui.spinner.stop(),c(a.getHash().substring(1),a)}catch(m){b(m)}}),b,!0)}),b)}),mxUtils.bind(this,function(){this.ui.spinner.stop()}))};DropboxClient.prototype.pickFile=function(a,c){null!=Dropbox.choose?(a=null!=a?a:mxUtils.bind(this,\r\nfunction(a,c){this.ui.loadFile(null!=a?"D"+encodeURIComponent(a):c.getHash(),null,c)}),Dropbox.choose({linkType:"direct",cancel:mxUtils.bind(this,function(){}),success:mxUtils.bind(this,function(b){if(this.ui.spinner.spin(document.body,mxResources.get("loading")))if(c)this.ui.spinner.stop(),a(b[0].link);else{var d=mxUtils.bind(this,function(a){this.ui.spinner.stop();this.ui.handleError(a)}),f=mxUtils.bind(this,function(b,c){this.ui.spinner.stop();a(b,c)}),m=/\\.png$/i.test(b[0].name);if(/\\.vsdx$/i.test(b[0].name)||\r\n/\\.gliffy$/i.test(b[0].name)||!this.ui.useCanvasForExport&&m)f(b[0].link);else{var e=b[0].link.indexOf(this.appPath);if(0<e){var k=decodeURIComponent(b[0].link.substring(e+this.appPath.length-1));this.readFile({path:k},mxUtils.bind(this,function(c,e){if(null!=e&&e.id==b[0].id){var g=m?c.lastIndexOf(","):-1;this.ui.spinner.stop();var l=null;0<g&&(g=this.ui.extractGraphModelFromPng(c),null!=g&&0<g.length?c=g:l=new LocalFile(this,c,k,!0));a(k.substring(1),null!=l?l:new DropboxFile(this.ui,c,e))}else this.createFile(b[0],\r\nf,d)}),d,m)}else this.createFile(b[0],f,d)}}})})):this.ui.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})};DropboxClient.prototype.createFile=function(a,c,b){var d=/(\\.png)$/i.test(a.name);this.ui.editor.loadUrl(a.link,mxUtils.bind(this,function(f){null!=f&&0<f.length?this.ui.confirm(mxResources.get("note")+": "+mxResources.get("fileWillBeSavedInAppFolder",[a.name]),mxUtils.bind(this,function(){var g=d?f.lastIndexOf(","):-1;0<g&&(g=this.ui.extractGraphModelFromPng(f.substring(g+\r\n1)),null!=g&&0<g.length&&(f=g));this.insertFile(a.name,f,mxUtils.bind(this,function(b){c(a.name,b)}),b)}),mxUtils.bind(this,function(){this.ui.spinner.stop()})):(this.ui.spinner.stop(),b({message:mxResources.get("errorLoadingFile")}))}),b,d)}})();OneDriveFile=function(a,d,c){DrawioFile.call(this,a,d);this.meta=c};mxUtils.extend(OneDriveFile,DrawioFile);OneDriveFile.prototype.autosaveDelay=300;\r\nOneDriveFile.prototype.share=function(){var a=this.meta.webUrl,a=a.substring(0,a.lastIndexOf("/"));if(null!=this.meta.parentReference)try{if("personal"==this.meta.parentReference.driveType)a="https://onedrive.live.com/?cid="+encodeURIComponent(this.meta.parentReference.driveId)+"&id="+encodeURIComponent(this.meta.id);else if("documentLibrary"==this.meta.parentReference.driveType)var d=this.meta.parentReference.path,d=d.substring(d.indexOf("/root:")+6),c=this.meta.webUrl,a=c.substring(0,c.length-d.length-\r\nthis.meta.name.length-(0<d.length?1:0)),c=c.substring(c.indexOf("/",8)),a=a+"/Forms/AllItems.aspx?id="+c+"&parent="+c.substring(0,c.lastIndexOf("/"));else if("business"==this.meta.parentReference.driveType)var a=this.meta["@microsoft.graph.downloadUrl"],b=a.indexOf("/_layouts/15/download.aspx?"),d=c=this.meta.webUrl,c=c.substring(8),c=c.substring(c.indexOf("/")),d=d.substring(0,d.lastIndexOf("/")),d=d.substring(d.indexOf("/",8)),a=a.substring(0,b)+"/_layouts/15/onedrive.aspx?id="+c+"&parent="+d}catch(g){}this.ui.editor.graph.openLink(a)};\r\nOneDriveFile.prototype.getId=function(){return this.getIdOf(this.meta)};OneDriveFile.prototype.getParentId=function(){return this.getIdOf(this.meta,!0)};OneDriveFile.prototype.getIdOf=function(a,d){return(null!=a.parentReference&&null!=a.parentReference.driveId?a.parentReference.driveId+"/":"")+(null!=d?a.parentReference.id:a.id)};OneDriveFile.prototype.getChannelId=function(){return"W-"+DrawioFile.prototype.getChannelId.apply(this,arguments)};OneDriveFile.prototype.getHash=function(){return"W"+encodeURIComponent(this.getId())};\r\nOneDriveFile.prototype.getMode=function(){return App.MODE_ONEDRIVE};OneDriveFile.prototype.isAutosaveOptional=function(){return!0};OneDriveFile.prototype.getTitle=function(){return this.meta.name};OneDriveFile.prototype.isRenamable=function(){return!0};OneDriveFile.prototype.isOptimisticSync=function(){return!0};OneDriveFile.prototype.isSyncSupported=function(){return!0};OneDriveFile.prototype.getSize=function(){return this.meta.size};\r\nOneDriveFile.prototype.isConflict=function(a){return null!=a&&(412==a.getStatus()||409==a.getStatus())};OneDriveFile.prototype.getCurrentUser=function(){return null!=this.ui.oneDrive?this.ui.oneDrive.user:null};OneDriveFile.prototype.loadDescriptor=function(a,d){this.ui.oneDrive.executeRequest(this.ui.oneDrive.getItemURL(this.getId()),mxUtils.bind(this,function(c){200<=c.getStatus()&&299>=c.getStatus()?a(JSON.parse(c.getText())):null!=d&&d()}),d)};\r\nOneDriveFile.prototype.getLatestVersion=function(a,d){this.ui.oneDrive.getFile(this.getId(),a,d)};OneDriveFile.prototype.getDescriptor=function(){return this.meta};OneDriveFile.prototype.setDescriptor=function(a){this.meta=a};OneDriveFile.prototype.getDescriptorEtag=function(a){return a.eTag};OneDriveFile.prototype.setDescriptorEtag=function(a,d){a.eTag=d};\r\nOneDriveFile.prototype.loadPatchDescriptor=function(a,d){var c=this.ui.oneDrive.getItemURL(this.getId());this.ui.oneDrive.executeRequest(c+"?select=etag,file",mxUtils.bind(this,function(b){200<=b.getStatus()&&299>=b.getStatus()?a(JSON.parse(b.getText())):d(this.ui.oneDrive.parseRequestText(b))}),d)};\r\nOneDriveFile.prototype.getChannelKey=function(){return"undefined"!==typeof CryptoJS?CryptoJS.MD5(this.meta.createdDateTime+(null!=this.meta.createdBy&&null!=this.meta.createdBy.user?this.meta.createdBy.user.id:"")).toString():null};OneDriveFile.prototype.getLastModifiedDate=function(){return new Date(this.meta.lastModifiedDateTime)};OneDriveFile.prototype.save=function(a,d,c,b,g){this.doSave(this.getTitle(),a,d,c,b,g)};OneDriveFile.prototype.saveAs=function(a,d,c){this.doSave(a,!1,d,c)};\r\nOneDriveFile.prototype.doSave=function(a,d,c,b,g,f){var m=this.meta.name;this.meta.name=a;DrawioFile.prototype.save.apply(this,[null,mxUtils.bind(this,function(){this.meta.name=m;this.saveFile(a,d,c,b,g,f)}),b,g,f])};\r\nOneDriveFile.prototype.saveFile=function(a,d,c,b,g,f){if(!this.isEditable())null!=c&&c();else if(!this.savingFile)if(this.getTitle()==a){var m=mxUtils.bind(this,function(){try{this.savingFileTime=new Date;this.setShadowModified(!1);this.savingFile=!0;var a=f||this.constructor!=OneDriveFile||"manual"!=DrawioFile.SYNC&&"auto"!=DrawioFile.SYNC?null:this.getCurrentEtag(),d=this.meta;this.fileSaving();this.ui.oneDrive.saveFile(this,mxUtils.bind(this,function(a,e){this.setModified(this.getShadowModified());\r\nthis.savingFile=!1;this.meta=a;this.fileSaved(e,d,mxUtils.bind(this,function(){this.contentChanged();null!=c&&c()}),b)}),mxUtils.bind(this,function(a,c){try{this.savingFile=!1,this.isConflict(c)?(this.inConflictState=!0,null!=this.sync?(this.savingFile=!0,this.sync.fileConflict(null,mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){this.updateFileData();m()}),100+500*Math.random())}),mxUtils.bind(this,function(){this.savingFile=!1;null!=b&&b()}))):null!=b&&b()):null!=b&&\r\nb(a)}catch(p){if(this.savingFile=!1,null!=b)b(p);else throw p;}}),a)}catch(l){if(this.savingFile=!1,null!=b)b(l);else throw l;}});m()}else this.savingFileTime=new Date,this.setShadowModified(!1),this.savingFile=!0,this.ui.oneDrive.insertFile(a,this.getData(),mxUtils.bind(this,function(a){this.setModified(this.getShadowModified());this.savingFile=!1;null!=c&&c();this.ui.fileLoaded(a)}),mxUtils.bind(this,function(){this.savingFile=!1;null!=b&&b()}))};\r\nOneDriveFile.prototype.rename=function(a,d,c){var b=this.getCurrentEtag();this.ui.oneDrive.renameFile(this,a,mxUtils.bind(this,function(g){this.hasSameExtension(a,this.getTitle())?(this.meta=g,this.descriptorChanged(),null!=this.sync&&this.sync.descriptorChanged(b),null!=d&&d(g)):(this.meta=g,null!=this.sync&&this.sync.descriptorChanged(b),this.save(!0,d,c))}),c)};\r\nOneDriveFile.prototype.move=function(a,d,c){this.ui.oneDrive.moveFile(this.getId(),a,mxUtils.bind(this,function(a){this.meta=a;this.descriptorChanged();null!=d&&d(a)}),c)};OneDriveLibrary=function(a,d,c){OneDriveFile.call(this,a,d,c)};mxUtils.extend(OneDriveLibrary,OneDriveFile);OneDriveLibrary.prototype.isAutosave=function(){return!0};OneDriveLibrary.prototype.save=function(a,d,c){this.ui.oneDrive.saveFile(this,mxUtils.bind(this,function(a){this.desc=a;null!=d&&d(a)}),c)};OneDriveLibrary.prototype.open=function(){};(function(){var a=null;window.OneDriveClient=function(a,c,b,g){null==c&&null!=window.urlParams&&"1"==window.urlParams.extAuth&&(c=!0);null==b&&(null!=window.urlParams&&"1"==window.urlParams.inlinePicker||mxClient.IS_ANDROID||mxClient.IS_IOS)&&(b=!0);null==g&&null!=window.urlParams&&"1"==window.urlParams.noLogoutOD&&(g=!0);DrawioClient.call(this,a,c?"oneDriveExtAuthInfo":"oneDriveAuthInfo");this.isExtAuth=c;this.inlinePicker=b;this.noLogout=g;a=JSON.parse(this.token);null!=a&&(this.endpointHint=null!=\r\na.endpointHint?a.endpointHint.replace("/Documents","/_layouts/15/onedrive.aspx"):a.endpointHint)};mxUtils.extend(OneDriveClient,DrawioClient);OneDriveClient.prototype.clientId=window.DRAWIO_MSGRAPH_CLIENT_ID||("test.draw.io"==window.location.hostname?"2e598409-107f-4b59-89ca-d7723c8e00a4":"45c10911-200f-4e27-a666-9e9fca147395");OneDriveClient.prototype.clientId="app.diagrams.net"==window.location.hostname?"b5ff67d6-3155-4fca-965a-59a3655c4476":OneDriveClient.prototype.clientId;OneDriveClient.prototype.clientId=\r\n"viewer.diagrams.net"==window.location.hostname?"417a451a-a343-4788-b6c1-901e63182565":OneDriveClient.prototype.clientId;OneDriveClient.prototype.scopes="user.read files.readwrite.all sites.read.all";OneDriveClient.prototype.redirectUri=window.location.protocol+"//"+window.location.host+"/microsoft";OneDriveClient.prototype.pickerRedirectUri=window.location.protocol+"//"+window.location.host+"/onedrive3.html";OneDriveClient.prototype.defEndpointHint="api.onedrive.com";OneDriveClient.prototype.endpointHint=\r\nOneDriveClient.prototype.defEndpointHint;OneDriveClient.prototype.extension=".drawio";OneDriveClient.prototype.baseUrl="https://graph.microsoft.com/v1.0";OneDriveClient.prototype.emptyFn=function(){};OneDriveClient.prototype.invalidFilenameRegExs=[/[~"#%\\*:<>\\?\\/\\\\{\\|}]/,/^\\.lock$/i,/^CON$/i,/^PRN$/i,/^AUX$/i,/^NUL$/i,/^COM\\d$/i,/^LPT\\d$/i,/^desktop\\.ini$/i,/_vti_/i];OneDriveClient.prototype.isValidFilename=function(a){if(null==a||""===a)return!1;for(var c=0;c<this.invalidFilenameRegExs.length;c++)if(this.invalidFilenameRegExs[c].test(a))return!1;\r\nreturn!0};OneDriveClient.prototype.get=function(d,c,b){d=new mxXmlRequest(d,null,"GET");d.setRequestHeaders=mxUtils.bind(this,function(b,c){b.setRequestHeader("Authorization","Bearer "+a)});d.send(c,b);return d};OneDriveClient.prototype.updateUser=function(a,c,b){var d=!0,f=window.setTimeout(mxUtils.bind(this,function(){d=!1;c({code:App.ERROR_TIMEOUT})}),this.ui.timeout);this.get(this.baseUrl+"/me",mxUtils.bind(this,function(g){window.clearTimeout(f);d&&(200>g.getStatus()||300<=g.getStatus()?b?c({message:mxResources.get("accessDenied")}):\r\n(this.logout(),this.authenticate(mxUtils.bind(this,function(){this.updateUser(a,c,!0)}),c)):(g=JSON.parse(g.getText()),this.setUser(new DrawioUser(g.id,null,g.displayName)),a()))}),mxUtils.bind(this,function(a){window.clearTimeout(f);d&&c(a)}))};OneDriveClient.prototype.resetTokenRefresh=function(a){null!=this.tokenRefreshThread&&(window.clearTimeout(this.tokenRefreshThread),this.tokenRefreshThread=null);0<a&&(this.tokenRefreshInterval=1E3*a,this.tokenRefreshThread=window.setTimeout(mxUtils.bind(this,\r\nfunction(){this.authenticate(this.emptyFn,this.emptyFn,!0)}),900*a))};OneDriveClient.prototype.authenticate=function(a,c,b){if(this.isExtAuth)window.parent.oneDriveAuth(mxUtils.bind(this,function(b){this.updateAuthInfo(b,!0,null==this.endpointHint,a,c)}),c,null!=window.urlParams&&"1"==urlParams.odAuthCancellable);else(new mxXmlRequest(this.redirectUri+"?getState=1",null,"GET")).send(mxUtils.bind(this,function(d){200<=d.getStatus()&&299>=d.getStatus()?this.authenticateStep2(d.getText(),a,c,b):null!=\r\nc&&c(d)}),c)};OneDriveClient.prototype.updateAuthInfo=function(d,c,b,g,f){b&&this.setUser(null);a=d.access_token;delete d.access_token;d.expiresOn=Date.now()+1E3*d.expires_in;this.tokenExpiresOn=d.expiresOn;d.remember=c;this.setPersistentToken(JSON.stringify(d),!c);this.resetTokenRefresh(d.expires_in);b?this.getAccountTypeAndEndpoint(mxUtils.bind(this,function(){g()}),f):g()};OneDriveClient.prototype.authenticateStep2=function(d,c,b,g){if(null==window.onOneDriveCallback){var f=mxUtils.bind(this,function(){var m=\r\n!0,e=JSON.parse(this.getPersistentToken(!0));null!=e?(new mxXmlRequest(this.redirectUri+"?state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+d),null,"GET")).send(mxUtils.bind(this,function(d){200<=d.getStatus()&&299>=d.getStatus()?this.updateAuthInfo(JSON.parse(d.getText()),e.remember,!1,c,b):(this.clearPersistentToken(),this.setUser(null),a=null,401!=d.getStatus()||g?b({message:mxResources.get("accessDenied"),retry:f}):f())}),b):this.ui.showAuthDialog(this,\r\n!0,mxUtils.bind(this,function(a,e){var g="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id="+this.clientId+"&response_type=code&redirect_uri="+encodeURIComponent(this.redirectUri)+"&scope="+encodeURIComponent(this.scopes+(a?" offline_access":""))+"&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+d),g=window.open(g,"odauth",["width=525,height=525","top="+(window.screenY+Math.max(window.outerHeight-525,0)/2),"left="+(window.screenX+\r\nMath.max(window.outerWidth-525,0)/2),"status=no,resizable=yes,toolbar=no,menubar=no,scrollbars=yes"].join());null!=g&&(window.onOneDriveCallback=mxUtils.bind(this,function(d,g){if(m){window.onOneDriveCallback=null;m=!1;try{null==d?b({message:mxResources.get("accessDenied"),retry:f}):(null!=e&&e(),this.updateAuthInfo(d,a,!0,c,b))}catch(u){b(u)}finally{null!=g&&g.close()}}else null!=g&&g.close()}),g.focus())}),mxUtils.bind(this,function(){m&&(window.onOneDriveCallback=null,m=!1,b({message:mxResources.get("accessDenied"),\r\nretry:f}))}))});f()}else b({code:App.ERROR_BUSY})};OneDriveClient.prototype.getAccountTypeAndEndpoint=function(a,c){this.get(this.baseUrl+"/me/drive/root",mxUtils.bind(this,function(b){try{if(200<=b.getStatus()&&299>=b.getStatus()){var d=JSON.parse(b.getText());0<d.webUrl.indexOf(".sharepoint.com")?this.endpointHint=d.webUrl.replace("/Documents","/_layouts/15/onedrive.aspx"):this.endpointHint=this.defEndpointHint;var f=JSON.parse(this.getPersistentToken(!0));null!=f&&(f.endpointHint=this.endpointHint,\r\nthis.setPersistentToken(JSON.stringify(f),!f.remember));a();return}}catch(m){}c({message:mxResources.get("unknownError")+" (Code: "+b.getStatus()+")"})}),c)};OneDriveClient.prototype.executeRequest=function(d,c,b){var g=mxUtils.bind(this,function(a){var f=!0,e=window.setTimeout(mxUtils.bind(this,function(){f=!1;b({code:App.ERROR_TIMEOUT,retry:g})}),this.ui.timeout);this.get(d,mxUtils.bind(this,function(d){window.clearTimeout(e);f&&(200<=d.getStatus()&&299>=d.getStatus()||404==d.getStatus()?(null==\r\nthis.user&&this.updateUser(this.emptyFn,this.emptyFn,!0),c(d)):a||401!==d.getStatus()&&400!==d.getStatus()?b(this.parseRequestText(d)):this.authenticate(function(){g(!0)},b,a))}),mxUtils.bind(this,function(a){window.clearTimeout(e);f&&b(a)}))});null==a||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(function(){g(!0)},b):g(!1)};OneDriveClient.prototype.checkToken=function(d){null==a||null==this.tokenRefreshThread||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(d,this.emptyFn):d()};OneDriveClient.prototype.getItemRef=\r\nfunction(a){var c=a.split("/");return 1<c.length?{driveId:c[0],id:c[1]}:{id:a}};OneDriveClient.prototype.getItemURL=function(a,c){var b=a.split("/");if(1<b.length){var d=b[1];return(c?"":this.baseUrl)+"/drives/"+b[0]+("root"==d?"/root":"/items/"+d)}return(c?"":this.baseUrl)+"/me/drive/items/"+a};OneDriveClient.prototype.getLibrary=function(a,c,b){this.getFile(a,c,b,!1,!0)};OneDriveClient.prototype.removeExtraHtmlContent=function(a){var c=a.lastIndexOf(\'<html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"><meta name="Robots" \');\r\n0<c&&(a=a.substring(0,c));return a};OneDriveClient.prototype.getFile=function(a,c,b,g,f){f=null!=f?f:!1;this.executeRequest(this.getItemURL(a),mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){var d=JSON.parse(a.getText()),g=/\\.png$/i.test(d.name);if(/\\.v(dx|sdx?)$/i.test(d.name)||/\\.gliffy$/i.test(d.name)||/\\.pdf$/i.test(d.name)||!this.ui.useCanvasForExport&&g)this.ui.convertFile(d["@microsoft.graph.downloadUrl"],d.name,null!=d.file?d.file.mimeType:null,this.extension,c,b);\r\nelse{var m=!0,n=window.setTimeout(mxUtils.bind(this,function(){m=!1;b({code:App.ERROR_TIMEOUT})}),this.ui.timeout);this.ui.editor.loadUrl(d["@microsoft.graph.downloadUrl"],mxUtils.bind(this,function(a){try{if(window.clearTimeout(n),m){/\\.html$/i.test(d.name)&&(a=this.removeExtraHtmlContent(a));var e=null;if(0<(g?a.lastIndexOf(","):-1)){var k=this.ui.extractGraphModelFromPng(a);null!=k&&0<k.length?a=k:e=new LocalFile(this.ui,a,d.name,!0)}else if("data:image/png;base64,PG14ZmlsZS"==a.substring(0,32)){var l=\r\na.substring(22);a=window.atob&&!mxClient.IS_SF?atob(l):Base64.decode(l)}Graph.fileSupport&&(new XMLHttpRequest).upload&&this.ui.isRemoteFileFormat(a,d["@microsoft.graph.downloadUrl"])?this.ui.parseFile(new Blob([a],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){try{4==a.readyState&&(200<=a.status&&299>=a.status?c(new LocalFile(this.ui,a.responseText,d.name+this.extension,!0)):null!=b&&b({message:mxResources.get("errorLoadingFile")}))}catch(z){if(null!=b)b(z);else throw z;}}),d.name):\r\nnull!=e?c(e):f?c(new OneDriveLibrary(this.ui,a,d)):c(new OneDriveFile(this.ui,a,d))}}catch(v){if(null!=b)b(v);else throw v;}}),mxUtils.bind(this,function(a){window.clearTimeout(n);m&&b(this.parseRequestText(a))}),g||null!=d.file&&null!=d.file.mimeType&&("image/"==d.file.mimeType.substring(0,6)||"application/pdf"==d.file.mimeType))}}else b(this.parseRequestText(a))}),b)};OneDriveClient.prototype.renameFile=function(a,c,b,g){null!=a&&null!=c&&(this.isValidFilename(c)?this.checkExists(a.getParentId(),\r\nc,!1,mxUtils.bind(this,function(d){d?this.writeFile(this.getItemURL(a.getId()),JSON.stringify({name:c}),"PATCH","application/json",b,g):g()})):g({message:this.invalidFilenameRegExs[0].test(c)?mxResources.get("oneDriveCharsNotAllowed"):mxResources.get("oneDriveInvalidDeviceName")}))};OneDriveClient.prototype.moveFile=function(a,c,b,g){c=this.getItemRef(c);var d=this.getItemRef(a);c.driveId!=d.driveId?g({message:mxResources.get("cannotMoveOneDrive",null,"Moving a file between accounts is not supported yet.")}):\r\nthis.writeFile(this.getItemURL(a),JSON.stringify({parentReference:c}),"PATCH","application/json",b,g)};OneDriveClient.prototype.insertLibrary=function(a,c,b,g,f){this.insertFile(a,c,b,g,!0,f)};OneDriveClient.prototype.insertFile=function(a,c,b,g,f,m){this.isValidFilename(a)?(f=null!=f?f:!1,this.checkExists(m,a,!0,mxUtils.bind(this,function(d){if(d){d="/me/drive/root";null!=m&&(d=this.getItemURL(m,!0));var e=mxUtils.bind(this,function(a){f?b(new OneDriveLibrary(this.ui,c,a)):b(new OneDriveFile(this.ui,\r\nc,a))});d=this.baseUrl+d+"/children/"+encodeURIComponent(a)+"/content";4E6<=c.length?this.writeFile(d,"","PUT",null,mxUtils.bind(this,function(a){this.writeLargeFile(this.getItemURL(a.id),c,e,g)}),g):this.writeFile(d,c,"PUT",null,e,g)}else g()}))):g({message:this.invalidFilenameRegExs[0].test(a)?mxResources.get("oneDriveCharsNotAllowed"):mxResources.get("oneDriveInvalidDeviceName")})};OneDriveClient.prototype.checkExists=function(a,c,b,g){var d="/me/drive/root";null!=a&&(d=this.getItemURL(a,!0));\r\nthis.executeRequest(this.baseUrl+d+"/children/"+encodeURIComponent(c),mxUtils.bind(this,function(a){404==a.getStatus()?g(!0):b?(this.ui.spinner.stop(),this.ui.confirm(mxResources.get("replaceIt",[c]),function(){g(!0)},function(){g(!1)})):(this.ui.spinner.stop(),this.ui.showError(mxResources.get("error"),mxResources.get("fileExists"),mxResources.get("ok"),function(){g(!1)}))}),function(a){g(!1)},!0)};OneDriveClient.prototype.saveFile=function(a,c,b,g){try{var d=a.getData(),m=mxUtils.bind(this,function(e){var f=\r\nmxUtils.bind(this,function(a){c(a,d)}),k=this.getItemURL(a.getId());4E6<=e.length?this.writeLargeFile(k,e,f,b,g):this.writeFile(k+"/content/",e,"PUT",null,f,b,g)});if(this.ui.useCanvasForExport&&/(\\.png)$/i.test(a.meta.name)){var e=this.ui.getPngFileProperties(this.ui.fileNode);this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){m(this.ui.base64ToBlob(a,"image/png"))}),b,this.ui.getCurrentFile()!=a?d:null,e.scale,e.border)}else m(d)}catch(k){b(k)}};OneDriveClient.prototype.writeLargeFile=function(d,\r\nc,b,g,f){try{if(null!=c){var m=mxUtils.bind(this,function(a,d,e){try{e=e||0;var f=!0,k=null,k=window.setTimeout(mxUtils.bind(this,function(){f=!1;g({code:App.ERROR_TIMEOUT})}),this.ui.timeout),l=c.substr(d,4194304),n=new mxXmlRequest(a,l,"PUT");n.setRequestHeaders=mxUtils.bind(this,function(a,b){a.setRequestHeader("Content-Length",l.length);a.setRequestHeader("Content-Range","bytes "+d+"-"+(d+l.length-1)+"/"+c.length)});n.send(mxUtils.bind(this,function(n){window.clearTimeout(k);if(f){var p=n.getStatus();\r\n200<=p&&299>=p?(p=d+l.length,p==c.length?b(JSON.parse(n.getText())):m(a,p,e)):500<=p&&599>=p&&2>e?(e++,m(a,d,e)):g(this.parseRequestText(n),n)}}),mxUtils.bind(this,function(a){window.clearTimeout(k);f&&g(this.parseRequestText(a))}))}catch(v){g(v)}}),e=mxUtils.bind(this,function(b){try{var c=!0,k=null;try{k=window.setTimeout(mxUtils.bind(this,function(){c=!1;g({code:App.ERROR_TIMEOUT})}),this.ui.timeout)}catch(q){}var p=new mxXmlRequest(d+"/createUploadSession","{}","POST");p.setRequestHeaders=mxUtils.bind(this,\r\nfunction(b,c){b.setRequestHeader("Content-Type","application/json");b.setRequestHeader("Authorization","Bearer "+a);null!=f&&b.setRequestHeader("If-Match",f)});p.send(mxUtils.bind(this,function(a){window.clearTimeout(k);c&&(200<=a.getStatus()&&299>=a.getStatus()?(a=JSON.parse(a.getText()),m(a.uploadUrl,0)):b||401!==a.getStatus()?g(this.parseRequestText(a),a):this.authenticate(function(){e(!0)},g,b))}),mxUtils.bind(this,function(a){window.clearTimeout(k);c&&g(this.parseRequestText(a))}))}catch(q){g(q)}});\r\nnull==a||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(function(){e(!0)},g):e(!1)}else g({message:mxResources.get("unknownError")})}catch(k){g(k)}};OneDriveClient.prototype.writeFile=function(d,c,b,g,f,m,e){try{if(null!=d&&null!=c){var k=mxUtils.bind(this,function(l){try{var n=!0,p=null;try{p=window.setTimeout(mxUtils.bind(this,function(){n=!1;m({code:App.ERROR_TIMEOUT})}),this.ui.timeout)}catch(u){}var q=new mxXmlRequest(d,c,b);q.setRequestHeaders=mxUtils.bind(this,function(b,c){b.setRequestHeader("Content-Type",\r\ng||" ");b.setRequestHeader("Authorization","Bearer "+a);null!=e&&b.setRequestHeader("If-Match",e)});q.send(mxUtils.bind(this,function(a){window.clearTimeout(p);n&&(200<=a.getStatus()&&299>=a.getStatus()?(null==this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0),f(JSON.parse(a.getText()))):l||401!==a.getStatus()?m(this.parseRequestText(a),a):this.authenticate(function(){k(!0)},m,l))}),mxUtils.bind(this,function(a){window.clearTimeout(p);n&&m(this.parseRequestText(a))}))}catch(u){m(u)}});null==\r\na||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(function(){k(!0)},m):k(!1)}else m({message:mxResources.get("unknownError")})}catch(l){m(l)}};OneDriveClient.prototype.parseRequestText=function(a){var c={message:mxResources.get("unknownError")};try{c=JSON.parse(a.getText())}catch(b){}return c};OneDriveClient.prototype.pickLibrary=function(a){this.pickFile(function(c){a(c)})};OneDriveClient.prototype.createInlinePicker=function(a,c){return mxUtils.bind(this,function(){var b=null,d=document.createElement("div");\r\nd.style.width="550px";d.style.height="435px";d.style.position="relative";var f=new CustomDialog(this.ui,d,mxUtils.bind(this,function(){var d=b.getSelectedItem();if(null!=d){if(c&&"object"==typeof d.folder){a({value:[d]});return}if(!d.folder){a(OneDriveFile.prototype.getIdOf(d));return}}return mxResources.get("invalidSel",null,"Invalid selection")}),null,mxResources.get(c?"save":"open"),null,null,null,null,!0);this.ui.showDialog(f.container,550,485,!0,!0);b=new mxODPicker(d,null,mxUtils.bind(this,\r\nfunction(a,b,c){this.executeRequest(this.baseUrl+a,function(a){b(JSON.parse(a.getText()))},c)}),mxUtils.bind(this,function(a,b,c,d){this.executeRequest(this.baseUrl+"/drives/"+b+"/items/"+a,function(a){c(JSON.parse(a.getText()))},d)}),null,null,function(b){c?a({value:[b]}):a(OneDriveFile.prototype.getIdOf(b))},mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),a)}),c)})};OneDriveClient.prototype.pickFolder=function(d,c){var b=mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),\r\na&&a.message?a.message:a)}),g=mxUtils.bind(this,function(c){var f=this.inlinePicker?this.createInlinePicker(d,!0):mxUtils.bind(this,function(){OneDrive.save({clientId:this.clientId,action:"query",openInNewWindow:!0,advanced:{endpointHint:mxClient.IS_IE11?null:this.endpointHint,redirectUri:this.pickerRedirectUri,queryParameters:"select=id,name,parentReference",accessToken:a,isConsumerAccount:!1},success:mxUtils.bind(this,function(b){d(b);mxClient.IS_IE11&&(a=b.accessToken)}),cancel:mxUtils.bind(this,\r\nfunction(){}),error:b})});c?f():this.ui.confirm(mxResources.get("useRootFolder"),mxUtils.bind(this,function(){d({value:[{id:"root",name:"root",parentReference:{driveId:"me"}}]})}),f,mxResources.get("yes"),mxResources.get("noPickFolder")+"...",!0);null==this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0)});null==a||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(mxUtils.bind(this,function(){g(!1)}),b):g(c)};OneDriveClient.prototype.pickFile=function(d){d=null!=d?d:mxUtils.bind(this,function(a){this.ui.loadFile("W"+\r\nencodeURIComponent(a))});var c=mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),a&&a.message?a.message:a)}),b=this.inlinePicker?this.createInlinePicker(d):mxUtils.bind(this,function(){OneDrive.open({clientId:this.clientId,action:"query",multiSelect:!1,advanced:{endpointHint:mxClient.IS_IE11?null:this.endpointHint,redirectUri:this.pickerRedirectUri,queryParameters:"select=id,name,parentReference",accessToken:a,isConsumerAccount:!1},success:mxUtils.bind(this,function(b){null!=\r\nb&&null!=b.value&&0<b.value.length&&(mxClient.IS_IE11&&(a=b.accessToken),d(OneDriveFile.prototype.getIdOf(b.value[0]),b))}),cancel:mxUtils.bind(this,function(){}),error:c});null==this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0)});null==a||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(mxUtils.bind(this,function(){this.ui.showDialog((new BtnDialog(this.ui,this,mxResources.get("open"),mxUtils.bind(this,function(){this.ui.hideDialog();b()}))).container,300,140,!0,!0)}),c):b()};OneDriveClient.prototype.logout=\r\nfunction(){if(isLocalStorage){var d=localStorage.getItem("odpickerv7cache");null!=d&&\'{"odsdkLoginHint":{\'==d.substring(0,19)&&localStorage.removeItem("odpickerv7cache")}window.open("https://login.microsoftonline.com/common/oauth2/v2.0/logout","logout","width=525,height=525,status=no,resizable=yes,toolbar=no,menubar=no,scrollbars=yes");this.ui.editor.loadUrl(this.redirectUri+"?doLogout=1&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname));this.clearPersistentToken();\r\nthis.setUser(null);a=null}})();GitHubFile=function(a,d,c){DrawioFile.call(this,a,d);this.meta=c;this.peer=this.ui.gitHub};mxUtils.extend(GitHubFile,DrawioFile);GitHubFile.prototype.share=function(){this.ui.editor.graph.openLink("https://github.com/"+encodeURIComponent(this.meta.org)+"/"+encodeURIComponent(this.meta.repo)+"/settings/access")};\r\nGitHubFile.prototype.getId=function(){return encodeURIComponent(this.meta.org)+"/"+(null!=this.meta.repo?encodeURIComponent(this.meta.repo)+"/"+(null!=this.meta.ref?this.meta.ref+(null!=this.meta.path?"/"+this.meta.path:""):""):"")};GitHubFile.prototype.getHash=function(){return encodeURIComponent("H"+this.getId())};\r\nGitHubFile.prototype.getPublicUrl=function(a){null!=this.meta.download_url?mxUtils.get(this.meta.download_url,mxUtils.bind(this,function(d){a(200<=d.getStatus()&&299>=d.getStatus()?this.meta.download_url:null)}),mxUtils.bind(this,function(){a(null)})):a(null)};GitHubFile.prototype.isConflict=function(a){return null!=a&&409==a.status};GitHubFile.prototype.getMode=function(){return App.MODE_GITHUB};GitHubFile.prototype.isAutosave=function(){return!1};GitHubFile.prototype.getTitle=function(){return this.meta.name};\r\nGitHubFile.prototype.isRenamable=function(){return!1};GitHubFile.prototype.getLatestVersion=function(a,d){this.peer.getFile(this.getId(),a,d)};GitHubFile.prototype.isCompressedStorage=function(){return!1};GitHubFile.prototype.getDescriptor=function(){return this.meta};GitHubFile.prototype.setDescriptor=function(a){this.meta=a};GitHubFile.prototype.getDescriptorEtag=function(a){return a.sha};GitHubFile.prototype.setDescriptorEtag=function(a,d){a.sha=d};\r\nGitHubFile.prototype.save=function(a,d,c,b,g,f){this.doSave(this.getTitle(),d,c,b,g,f)};GitHubFile.prototype.saveAs=function(a,d,c){this.doSave(a,d,c)};GitHubFile.prototype.doSave=function(a,d,c,b,g,f){var m=this.meta.name;this.meta.name=a;DrawioFile.prototype.save.apply(this,[null,mxUtils.bind(this,function(){this.meta.name=m;this.saveFile(a,!1,d,c,b,g,f)}),c,b,g])};\r\nGitHubFile.prototype.saveFile=function(a,d,c,b,g,f,m){if(this.isEditable())if(this.savingFile)null!=b&&b({code:App.ERROR_BUSY});else{var e=mxUtils.bind(this,function(d){if(this.getTitle()==a)try{this.savingFileTime=new Date;this.setShadowModified(!1);this.savingFile=!0;var e=this.getCurrentEtag(),g=this.data;this.peer.saveFile(this,mxUtils.bind(this,function(a){this.setModified(this.getShadowModified());this.savingFile=!1;this.setDescriptorEtag(this.meta,a);this.fileSaved(g,e,mxUtils.bind(this,function(){this.contentChanged();\r\nnull!=c&&c()}),b)}),mxUtils.bind(this,function(a){this.savingFile=!1;this.isConflict(a)?(this.inConflictState=!0,null!=b&&b({commitMessage:d})):null!=b&&b(a)}),f,d)}catch(p){if(this.savingFile=!1,null!=b)b(p);else throw p;}else this.savingFileTime=new Date,this.setShadowModified(!1),this.savingFile=!0,this.ui.pickFolder(this.getMode(),mxUtils.bind(this,function(e){this.peer.insertFile(a,this.getData(),mxUtils.bind(this,function(a){this.setModified(this.getShadowModified());this.savingFile=!1;null!=\r\nc&&c();this.ui.fileLoaded(a)}),mxUtils.bind(this,function(){this.savingFile=!1;null!=b&&b()}),!1,e,d)}))});null!=m?e(m):this.peer.showCommitDialog(this.meta.name,null==this.getDescriptorEtag(this.meta)||this.meta.isNew,mxUtils.bind(this,function(a){e(a)}),b)}else null!=c&&c()};GitHubLibrary=function(a,d,c){GitHubFile.call(this,a,d,c)};mxUtils.extend(GitHubLibrary,GitHubFile);GitHubLibrary.prototype.doSave=function(a,d,c){this.saveFile(a,!1,d,c)};GitHubLibrary.prototype.open=function(){};(function(){var a=null;window.GitHubClient=function(a,c){DrawioClient.call(this,a,c||"ghauth")};mxUtils.extend(GitHubClient,DrawioClient);GitHubClient.prototype.clientId="test.draw.io"==window.location.hostname?"23bc97120b9035515661":window.DRAWIO_GITHUB_ID;GitHubClient.prototype.scope="repo";GitHubClient.prototype.extension=".drawio";GitHubClient.prototype.baseUrl=DRAWIO_GITHUB_API_URL;GitHubClient.prototype.baseHostUrl=DRAWIO_GITHUB_URL;GitHubClient.prototype.redirectUri=window.location.protocol+\r\n"//"+window.location.host+"/github2";GitHubClient.prototype.maxFileSize=1E6;GitHubClient.prototype.authToken="token";GitHubClient.prototype.setToken=function(d){a=d};GitHubClient.prototype.updateUser=function(d,c,b){var g=!0,f=window.setTimeout(mxUtils.bind(this,function(){g=!1;c({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.ui.timeout),m=new mxXmlRequest(this.baseUrl+"/user",null,"GET"),e=this.authToken+" "+a;m.setRequestHeaders=function(a,b){a.setRequestHeader("Authorization",\r\ne)};m.send(mxUtils.bind(this,function(){window.clearTimeout(f);g&&(401===m.getStatus()?b?c({message:mxResources.get("accessDenied")}):(this.logout(),this.authenticate(mxUtils.bind(this,function(){this.updateUser(d,c,!0)}),c)):200>m.getStatus()||300<=m.getStatus()?c({message:mxResources.get("accessDenied")}):(this.setUser(this.createUser(JSON.parse(m.getText()))),d()))}),c)};GitHubClient.prototype.createUser=function(a){return new DrawioUser(a.id,a.email,a.name)};GitHubClient.prototype.authenticate=\r\nfunction(a,c){(new mxXmlRequest(this.redirectUri+"?getState=1",null,"GET")).send(mxUtils.bind(this,function(b){200<=b.getStatus()&&299>=b.getStatus()?this.authenticateStep2(b.getText(),a,c):null!=c&&c(b)}),c)};GitHubClient.prototype.authenticateStep2=function(d,c,b){if(null==window.onGitHubCallback){var g=mxUtils.bind(this,function(){var f=!0;this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(m,e){null!=window.open(this.baseHostUrl+"/login/oauth/authorize?client_id="+this.clientId+"&scope="+\r\nthis.scope+"&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+d),"ghauth")?window.onGitHubCallback=mxUtils.bind(this,function(d,l){f?(window.onGitHubCallback=null,f=!1,null==d?b({message:mxResources.get("accessDenied"),retry:g}):(null!=e&&e(),a=d.access_token,this.setUser(null),m&&this.setPersistentToken("remembered"),c(),null!=l&&l.close())):null!=l&&l.close()}):b({message:mxResources.get("serviceUnavailableOrBlocked"),retry:g})}),mxUtils.bind(this,function(){f&&\r\n(window.onGitHubCallback=null,f=!1,b({message:mxResources.get("accessDenied"),retry:g}))}))});g()}else b({code:App.ERROR_BUSY})};GitHubClient.prototype.getErrorMessage=function(a,c){try{var b=JSON.parse(a.getText());null!=b&&null!=b.message&&(c=b.message)}catch(g){}return c};GitHubClient.prototype.executeRequest=function(d,c,b,g){var f=mxUtils.bind(this,function(e){var k=!0,l=window.setTimeout(mxUtils.bind(this,function(){k=!1;b({code:App.ERROR_TIMEOUT,retry:m})}),this.ui.timeout),n=this.authToken+\r\n" "+a;d.setRequestHeaders=function(a,b){a.setRequestHeader("Authorization",n)};d.send(mxUtils.bind(this,function(){window.clearTimeout(l);if(k)if(200<=d.getStatus()&&299>=d.getStatus()||g&&404==d.getStatus())c(d);else if(401===d.getStatus())e?b({code:d.getStatus(),message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){m(!0)},b)})}):this.authenticate(function(){f(!0)},b);else if(403===d.getStatus()){var a=!1;try{var n=JSON.parse(d.getText());null!=n&&\r\nnull!=n.errors&&0<n.errors.length&&(a="too_large"==n.errors[0].code)}catch(u){}b({message:mxResources.get(a?"drawingTooLarge":"forbidden")})}else 404===d.getStatus()?b({code:d.getStatus(),message:this.getErrorMessage(d,mxResources.get("fileNotFound"))}):409===d.getStatus()?b({code:d.getStatus(),status:409}):b({code:d.getStatus(),message:this.getErrorMessage(d,mxResources.get("error")+" "+d.getStatus())})}),mxUtils.bind(this,function(a){window.clearTimeout(l);k&&b(a)}))}),m=mxUtils.bind(this,function(a){null==\r\nthis.user?this.updateUser(function(){m(!0)},b,a):f(a)});null==a?this.authenticate(function(){m(!0)},b):m(!1)};GitHubClient.prototype.getLibrary=function(a,c,b){this.getFile(a,c,b,!0)};GitHubClient.prototype.getSha=function(a,c,b,g,f,m){var d="&t="+(new Date).getTime();a=new mxXmlRequest(this.baseUrl+"/repos/"+a+"/"+c+"/contents/"+b+"?ref="+g+d,null,"HEAD");this.executeRequest(a,mxUtils.bind(this,function(a){try{f(a.request.getResponseHeader("Etag").match(/"([^"]+)"/)[1])}catch(l){m(l)}}),m)};GitHubClient.prototype.getFile=\r\nfunction(d,c,b,g,f){g=null!=g?g:!1;var m=d.split("/"),e=m[0],k=m[1],l=m[2];d=m.slice(3,m.length).join("/");m=/\\.png$/i.test(d);if(!f&&(/\\.v(dx|sdx?)$/i.test(d)||/\\.gliffy$/i.test(d)||/\\.pdf$/i.test(d)||!this.ui.useCanvasForExport&&m))if(null!=a){f=this.baseUrl+"/repos/"+e+"/"+k+"/contents/"+d+"?ref="+l;var n={Authorization:"token "+a},m=d.split("/");this.ui.convertFile(f,0<m.length?m[m.length-1]:d,null,this.extension,c,b,null,n)}else b({message:mxResources.get("accessDenied")});else m="&t="+(new Date).getTime(),\r\nd=new mxXmlRequest(this.baseUrl+"/repos/"+e+"/"+k+"/contents/"+d+"?ref="+l+m,null,"GET"),this.executeRequest(d,mxUtils.bind(this,function(a){try{c(this.createGitHubFile(e,k,l,JSON.parse(a.getText()),g))}catch(q){b(q)}}),b)};GitHubClient.prototype.createGitHubFile=function(a,c,b,g,f){a={org:a,repo:c,ref:b,name:g.name,path:g.path,sha:g.sha,html_url:g.html_url,download_url:g.download_url};c=g.content;"base64"===g.encoding&&(/\\.jpe?g$/i.test(g.name)?c="data:image/jpeg;base64,"+c:/\\.gif$/i.test(g.name)?\r\nc="data:image/gif;base64,"+c:/\\.png$/i.test(g.name)?(g=this.ui.extractGraphModelFromPng(c),c=null!=g&&0<g.length?g:"data:image/png;base64,"+c):c=Base64.decode(c));return f?new GitHubLibrary(this.ui,c,a):new GitHubFile(this.ui,c,a)};GitHubClient.prototype.insertLibrary=function(a,c,b,g,f){this.insertFile(a,c,b,g,!0,f,!1)};GitHubClient.prototype.insertFile=function(a,c,b,g,f,m,e){f=null!=f?f:!1;m=m.split("/");var d=m[0],l=m[1],n=m[2],p=m.slice(3,m.length).join("/");0<p.length&&(p+="/");p+=a;this.checkExists(d+\r\n"/"+l+"/"+n+"/"+p,!0,mxUtils.bind(this,function(k,m){k?f?(e||(c=Base64.encode(c)),this.showCommitDialog(a,!0,mxUtils.bind(this,function(a){this.writeFile(d,l,n,p,a,c,m,mxUtils.bind(this,function(a){try{var c=JSON.parse(a.getText());b(this.createGitHubFile(d,l,n,c.content,f))}catch(y){g(y)}}),g)}),g)):b(new GitHubFile(this.ui,c,{org:d,repo:l,ref:n,name:a,path:p,sha:m,isNew:!0})):g()}))};GitHubClient.prototype.showCommitDialog=function(a,c,b,g){var d=this.ui.spinner.pause();a=new FilenameDialog(this.ui,\r\nmxResources.get(c?"addedFile":"updateFile",[a]),mxResources.get("ok"),mxUtils.bind(this,function(a){d();b(a)}),mxResources.get("commitMessage"),null,null,null,null,mxUtils.bind(this,function(){g()}),null,280);this.ui.showDialog(a.container,400,80,!0,!1);a.init()};GitHubClient.prototype.writeFile=function(a,c,b,g,f,m,e,k,l){m.length>=this.maxFileSize?l({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(m.length)+" / 1 MB)"}):(b={path:g,branch:decodeURIComponent(b),message:f,content:m},\r\nnull!=e&&(b.sha=e),a=new mxXmlRequest(this.baseUrl+"/repos/"+a+"/"+c+"/contents/"+g,JSON.stringify(b),"PUT"),this.executeRequest(a,mxUtils.bind(this,function(a){k(a)}),mxUtils.bind(this,function(a){404==a.code&&(a.helpLink=this.baseHostUrl+"/settings/connections/applications/"+this.clientId,a.code=null);l(a)})))};GitHubClient.prototype.checkExists=function(a,c,b){var d=a.split("/"),f=d[0],m=d[1],e=d[2];a=d.slice(3,d.length).join("/");this.getSha(f,m,a,e,mxUtils.bind(this,function(d){if(c){var e=this.ui.spinner.pause();\r\nthis.ui.confirm(mxResources.get("replaceIt",[a]),function(){e();b(!0,d)},function(){e();b(!1)})}else this.ui.spinner.stop(),this.ui.showError(mxResources.get("error"),mxResources.get("fileExists"),mxResources.get("ok"),function(){b(!1)})}),mxUtils.bind(this,function(a){b(!0)}),null,!0)};GitHubClient.prototype.saveFile=function(a,c,b,g,f){var d=a.meta.org,e=a.meta.repo,k=a.meta.ref,l=a.meta.path,n=mxUtils.bind(this,function(g,m){this.writeFile(d,e,k,l,f,m,g,mxUtils.bind(this,function(b){delete a.meta.isNew;\r\nc(JSON.parse(b.getText()).content.sha)}),mxUtils.bind(this,function(a){b(a)}))}),p=mxUtils.bind(this,function(){if(this.ui.useCanvasForExport&&/(\\.png)$/i.test(l)){var c=this.ui.getPngFileProperties(this.ui.fileNode);this.ui.getEmbeddedPng(mxUtils.bind(this,function(b){n(a.meta.sha,b)}),b,this.ui.getCurrentFile()!=a?a.getData():null,c.scale,c.border)}else n(a.meta.sha,Base64.encode(a.getData()))});g?this.getSha(d,e,l,k,mxUtils.bind(this,function(b){a.meta.sha=b;p()}),b):p()};GitHubClient.prototype.pickLibrary=\r\nfunction(a){this.pickFile(a)};GitHubClient.prototype.pickFolder=function(a){this.showGitHubDialog(!1,a)};GitHubClient.prototype.pickFile=function(a){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("H"+encodeURIComponent(a))});this.showGitHubDialog(!0,a)};GitHubClient.prototype.showGitHubDialog=function(a,c){var b=null,d=null,f=null,m=null,e=document.createElement("div");e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.height="304px";var k=document.createElement("h3");mxUtils.write(k,\r\nmxResources.get(a?"selectFile":"selectFolder"));k.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";e.appendChild(k);var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.border="1px solid lightgray";l.style.boxSizing="border-box";l.style.padding="4px";l.style.overflow="auto";l.style.lineHeight="1.2em";l.style.height="274px";e.appendChild(l);var n=document.createElement("div");n.style.textOverflow="ellipsis";n.style.boxSizing="border-box";n.style.overflow=\r\n"hidden";n.style.padding="4px";n.style.width="100%";var p=new CustomDialog(this.ui,e,mxUtils.bind(this,function(){c(b+"/"+d+"/"+encodeURIComponent(f)+"/"+m)}));this.ui.showDialog(p.container,420,360,!0,!0);a&&p.okButton.parentNode.removeChild(p.okButton);var q=mxUtils.bind(this,function(a,b,c,d){var e=document.createElement("a");e.setAttribute("title",a);e.style.cursor="pointer";mxUtils.write(e,a);mxEvent.addListener(e,"click",b);d&&(e.style.textDecoration="underline");null!=c&&(a=n.cloneNode(),a.style.padding=\r\nc,a.appendChild(e),e=a);return e}),u=mxUtils.bind(this,function(a){var c=document.createElement("div");c.style.marginBottom="8px";c.appendChild(q(b+"/"+d,mxUtils.bind(this,function(){m=null;A()}),null,!0));a||(mxUtils.write(c," / "),c.appendChild(q(decodeURIComponent(f),mxUtils.bind(this,function(){m=null;x()}),null,!0)));if(null!=m&&0<m.length){var e=m.split("/");for(a=0;a<e.length;a++)(function(a){mxUtils.write(c," / ");c.appendChild(q(e[a],mxUtils.bind(this,function(){m=e.slice(0,a+1).join("/");\r\ny()}),null,!0))})(a)}l.appendChild(c)}),t=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();null!=this.getUser()?(m=f=d=b=null,A()):this.ui.hideDialog()}),null,{})}),v=null,z=null,y=mxUtils.bind(this,function(e){null==e&&(l.innerHTML="",e=1);var g=new mxXmlRequest(this.baseUrl+"/repos/"+b+"/"+d+"/contents/"+m+"?ref="+encodeURIComponent(f)+"&per_page=100&page="+e,null,"GET");this.ui.spinner.spin(l,mxResources.get("loading"));p.okButton.removeAttribute("disabled");\r\nnull!=z&&(mxEvent.removeListener(l,"scroll",z),z=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.style.cursor="pointer";mxUtils.write(v,mxResources.get("more")+"...");var k=mxUtils.bind(this,function(){y(e+1)});mxEvent.addListener(v,"click",k);this.executeRequest(g,mxUtils.bind(this,function(g){this.ui.spinner.stop();1==e&&(u(),l.appendChild(q("../ [Up]",mxUtils.bind(this,function(){if(""==m)m=null,A();else{var a=m.split("/");\r\nm=a.slice(0,a.length-1).join("/");y()}}),"4px")));var k=JSON.parse(g.getText());if(null==k||0==k.length)mxUtils.write(l,mxResources.get("noFiles"));else{var x=!0,p=0;g=mxUtils.bind(this,function(e){for(var g=0;g<k.length;g++)mxUtils.bind(this,function(g,k){if(e==("dir"==g.type)){var A=n.cloneNode();A.style.backgroundColor=x?Editor.isDarkMode()?"#000000":"#eeeeee":"";x=!x;var t=document.createElement("img");t.src=IMAGE_PATH+"/"+("dir"==g.type?"folder.png":"file.png");t.setAttribute("align","absmiddle");\r\nt.style.marginRight="4px";t.style.marginTop="-4px";t.width=20;A.appendChild(t);A.appendChild(q(g.name+("dir"==g.type?"/":""),mxUtils.bind(this,function(){"dir"==g.type?(m=g.path,y()):a&&"file"==g.type&&(this.ui.hideDialog(),c(b+"/"+d+"/"+encodeURIComponent(f)+"/"+g.path))})));l.appendChild(A);p++}})(k[g],g)});g(!0);a&&g(!1)}}),t,!0)}),x=mxUtils.bind(this,function(a,c){null==a&&(l.innerHTML="",a=1);var e=new mxXmlRequest(this.baseUrl+"/repos/"+b+"/"+d+"/branches?per_page=100&page="+a,null,"GET");p.okButton.setAttribute("disabled",\r\n"disabled");this.ui.spinner.spin(l,mxResources.get("loading"));null!=z&&(mxEvent.removeListener(l,"scroll",z),z=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.style.cursor="pointer";mxUtils.write(v,mxResources.get("more")+"...");var g=mxUtils.bind(this,function(){x(a+1)});mxEvent.addListener(v,"click",g);this.executeRequest(e,mxUtils.bind(this,function(b){this.ui.spinner.stop();1==a&&(u(!0),l.appendChild(q("../ [Up]",mxUtils.bind(this,\r\nfunction(){m=null;A()}),"4px")));b=JSON.parse(b.getText());if(null==b||0==b.length)mxUtils.write(l,mxResources.get("noFiles"));else if(1==b.length&&c)f=b[0].name,m="",y();else{for(var d=0;d<b.length;d++)mxUtils.bind(this,function(a,b){var c=n.cloneNode();c.style.backgroundColor=0==b%2?Editor.isDarkMode()?"#000000":"#eeeeee":"";c.appendChild(q(a.name,mxUtils.bind(this,function(){f=a.name;m="";y()})));l.appendChild(c)})(b[d],d);100==b.length&&(l.appendChild(v),z=function(){l.scrollTop>=l.scrollHeight-\r\nl.offsetHeight&&g()},mxEvent.addListener(l,"scroll",z))}}),t)}),A=mxUtils.bind(this,function(a){null==a&&(l.innerHTML="",a=1);var c=new mxXmlRequest(this.baseUrl+"/user/repos?per_page=100&page="+a,null,"GET");p.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(l,mxResources.get("loading"));null!=z&&mxEvent.removeListener(l,"scroll",z);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.style.cursor="pointer";mxUtils.write(v,\r\nmxResources.get("more")+"...");var e=mxUtils.bind(this,function(){A(a+1)});mxEvent.addListener(v,"click",e);this.executeRequest(c,mxUtils.bind(this,function(c){this.ui.spinner.stop();c=JSON.parse(c.getText());if(null==c||0==c.length)mxUtils.write(l,mxResources.get("noFiles"));else{1==a&&(l.appendChild(q(mxResources.get("enterValue")+"...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.ui,"org/repo/ref",mxResources.get("ok"),mxUtils.bind(this,function(a){if(null!=a){var c=a.split("/");\r\nif(1<c.length){a=c[0];var e=c[1];3>c.length?(b=a,d=e,m=f=null,x()):this.ui.spinner.spin(l,mxResources.get("loading"))&&(c=encodeURIComponent(c.slice(2,c.length).join("/")),this.getFile(a+"/"+e+"/"+c,mxUtils.bind(this,function(a){this.ui.spinner.stop();b=a.meta.org;d=a.meta.repo;f=decodeURIComponent(a.meta.ref);m="";y()}),mxUtils.bind(this,function(a){this.ui.spinner.stop();this.ui.handleError({message:mxResources.get("fileNotFound")})})))}else this.ui.spinner.stop(),this.ui.handleError({message:mxResources.get("invalidName")})}}),\r\nmxResources.get("enterValue"));this.ui.showDialog(a.container,300,80,!0,!1);a.init()}))),mxUtils.br(l),mxUtils.br(l));for(var g=0;g<c.length;g++)mxUtils.bind(this,function(a,c){var e=n.cloneNode();e.style.backgroundColor=0==c%2?Editor.isDarkMode()?"#000000":"#eeeeee":"";e.appendChild(q(a.full_name,mxUtils.bind(this,function(){b=a.owner.login;d=a.name;m="";x(null,!0)})));l.appendChild(e)})(c[g],g)}100==c.length&&(l.appendChild(v),z=function(){l.scrollTop>=l.scrollHeight-l.offsetHeight&&e()},mxEvent.addListener(l,\r\n"scroll",z))}),t)});A()};GitHubClient.prototype.logout=function(){this.clearPersistentToken();this.setUser(null);a=null}})();TrelloFile=function(a,d,c){DrawioFile.call(this,a,d);this.meta=c;this.saveNeededCounter=0};mxUtils.extend(TrelloFile,DrawioFile);TrelloFile.prototype.getHash=function(){return"T"+encodeURIComponent(this.meta.compoundId)};TrelloFile.prototype.getMode=function(){return App.MODE_TRELLO};TrelloFile.prototype.isAutosave=function(){return!0};TrelloFile.prototype.getTitle=function(){return this.meta.name};TrelloFile.prototype.isRenamable=function(){return!1};TrelloFile.prototype.getSize=function(){return this.meta.bytes};\r\nTrelloFile.prototype.save=function(a,d,c){this.doSave(this.getTitle(),d,c)};TrelloFile.prototype.saveAs=function(a,d,c){this.doSave(a,d,c)};TrelloFile.prototype.doSave=function(a,d,c){var b=this.meta.name;this.meta.name=a;DrawioFile.prototype.save.apply(this,[null,mxUtils.bind(this,function(){this.meta.name=b;this.saveFile(a,!1,d,c)}),c])};\r\nTrelloFile.prototype.saveFile=function(a,d,c,b){this.isEditable()?this.savingFile?null!=b&&(this.saveNeededCounter++,b({code:App.ERROR_BUSY})):(this.savingFileTime=new Date,this.setShadowModified(!1),this.savingFile=!0,this.getTitle()==a?this.ui.trello.saveFile(this,mxUtils.bind(this,function(g){this.setModified(this.getShadowModified());this.savingFile=!1;this.meta=g;this.contentChanged();null!=c&&c();0<this.saveNeededCounter&&(this.saveNeededCounter--,this.saveFile(a,d,c,b))}),mxUtils.bind(this,\r\nfunction(a){this.savingFile=!1;null!=b&&b(a)})):this.ui.pickFolder(App.MODE_TRELLO,mxUtils.bind(this,function(g){this.ui.trello.insertFile(a,this.getData(),mxUtils.bind(this,function(f){this.savingFile=!1;null!=c&&c();this.ui.fileLoaded(f);0<this.saveNeededCounter&&(this.saveNeededCounter--,this.saveFile(a,d,c,b))}),mxUtils.bind(this,function(){this.savingFile=!1;null!=b&&b()}),!1,g)}))):null!=c&&c()};TrelloLibrary=function(a,d,c){TrelloFile.call(this,a,d,c)};mxUtils.extend(TrelloLibrary,TrelloFile);TrelloLibrary.prototype.doSave=function(a,d,c){this.saveFile(a,!1,d,c)};TrelloLibrary.prototype.open=function(){};TrelloClient=function(a){DrawioClient.call(this,a,"tauth");Trello.setKey(this.key)};mxUtils.extend(TrelloClient,DrawioClient);TrelloClient.prototype.key="e73615c79cf7e381aef91c85936e9553";TrelloClient.prototype.baseUrl="https://api.trello.com/1/";TrelloClient.prototype.SEPARATOR="|$|";TrelloClient.prototype.maxFileSize=1E7;TrelloClient.prototype.extension=".xml";\r\nTrelloClient.prototype.authenticate=function(a,d,c){c&&this.logout();c=mxUtils.bind(this,function(b,c){Trello.authorize({type:"popup",name:"draw.io",scope:{read:"true",write:"true"},expiration:b?"never":"1hour",success:function(){null!=c&&c();a()},error:function(){null!=c&&c();null!=d&&d(mxResources.get("loggedOut"))}})});this.isAuthorized()?c(!0):this.ui.showAuthDialog(this,!0,c)};TrelloClient.prototype.getLibrary=function(a,d,c){this.getFile(a,d,c,!1,!0)};\r\nTrelloClient.prototype.getFile=function(a,d,c,b,g){g=null!=g?g:!1;var f=mxUtils.bind(this,function(){var b=a.split(this.SEPARATOR),e=!0,k=window.setTimeout(mxUtils.bind(this,function(){e=!1;c({code:App.ERROR_TIMEOUT,retry:f})}),this.ui.timeout);Trello.cards.get(b[0]+"/attachments/"+b[1],mxUtils.bind(this,function(b){window.clearTimeout(k);if(e){var m=/\\.png$/i.test(b.name);/\\.v(dx|sdx?)$/i.test(b.name)||/\\.gliffy$/i.test(b.name)||!this.ui.useCanvasForExport&&m?this.ui.convertFile(PROXY_URL+"?url="+\r\nencodeURIComponent(b.url),b.name,b.mimeType,this.extension,d,c):(e=!0,k=window.setTimeout(mxUtils.bind(this,function(){e=!1;c({code:App.ERROR_TIMEOUT})}),this.ui.timeout),this.ui.editor.loadUrl(PROXY_URL+"?url="+encodeURIComponent(b.url),mxUtils.bind(this,function(c){window.clearTimeout(k);if(e){b.compoundId=a;if(0<(m?c.lastIndexOf(","):-1)){var f=this.ui.extractGraphModelFromPng(c);null!=f&&0<f.length&&(c=f)}g?d(new TrelloLibrary(this.ui,c,b)):d(new TrelloFile(this.ui,c,b))}}),mxUtils.bind(this,\r\nfunction(a,b){window.clearTimeout(k);e&&(401==b.status?this.authenticate(f,c,!0):c())}),m||null!=b.mimeType&&"image/"==b.mimeType.substring(0,6)))}}),mxUtils.bind(this,function(a){window.clearTimeout(k);e&&(null!=a&&401==a.status?this.authenticate(f,c,!0):c())}))});this.authenticate(f,c)};TrelloClient.prototype.insertLibrary=function(a,d,c,b,g){this.insertFile(a,d,c,b,!0,g)};\r\nTrelloClient.prototype.insertFile=function(a,d,c,b,g,f){g=null!=g?g:!1;var m=mxUtils.bind(this,function(){var e=mxUtils.bind(this,function(e){this.writeFile(a,e,f,mxUtils.bind(this,function(a){g?c(new TrelloLibrary(this.ui,d,a)):c(new TrelloFile(this.ui,d,a))}),b)});this.ui.useCanvasForExport&&/(\\.png)$/i.test(a)?this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){e(this.ui.base64ToBlob(a,"image/png"))}),b,d):e(d)});this.authenticate(m,b)};\r\nTrelloClient.prototype.saveFile=function(a,d,c){var b=a.meta.compoundId.split(this.SEPARATOR),g=mxUtils.bind(this,function(g){this.writeFile(a.meta.name,g,b[0],function(a){Trello.del("cards/"+b[0]+"/attachments/"+b[1],mxUtils.bind(this,function(){d(a)}),mxUtils.bind(this,function(a){null!=a&&401==a.status?this.authenticate(f,c,!0):c()}))},c)}),f=mxUtils.bind(this,function(){this.ui.useCanvasForExport&&/(\\.png)$/i.test(a.meta.name)?this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){g(this.ui.base64ToBlob(a,\r\n"image/png"))}),c,this.ui.getCurrentFile()!=a?a.getData():null):g(a.getData())});this.authenticate(f,c)};\r\nTrelloClient.prototype.writeFile=function(a,d,c,b,g){if(null!=a&&null!=d)if(d.length>=this.maxFileSize)g({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(d.length)+" / 10 MB)"});else{var f=mxUtils.bind(this,function(){var m=!0,e=window.setTimeout(mxUtils.bind(this,function(){m=!1;g({code:App.ERROR_TIMEOUT,retry:f})}),this.ui.timeout),k=new FormData;k.append("key",Trello.key());k.append("token",Trello.token());k.append("file","string"===typeof d?new Blob([d]):d,a);k.append("name",\r\na);var l=new XMLHttpRequest;l.responseType="json";l.onreadystatechange=mxUtils.bind(this,function(){if(4===l.readyState&&(window.clearTimeout(e),m))if(200==l.status){var a=l.response;a.compoundId=c+this.SEPARATOR+a.id;b(a)}else 401==l.status?this.authenticate(f,g,!0):g()});l.open("POST",this.baseUrl+"cards/"+c+"/attachments");l.send(k)});this.authenticate(f,g)}else g({message:mxResources.get("unknownError")})};TrelloClient.prototype.pickLibrary=function(a){this.pickFile(a)};\r\nTrelloClient.prototype.pickFolder=function(a){this.authenticate(mxUtils.bind(this,function(){this.showTrelloDialog(!1,a)}),mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),a)}))};TrelloClient.prototype.pickFile=function(a,d){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("T"+encodeURIComponent(a))});this.authenticate(mxUtils.bind(this,function(){this.showTrelloDialog(!0,a)}),mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),a,mxResources.get("ok"))}))};\r\nTrelloClient.prototype.showTrelloDialog=function(a,d){var c=null,b="@me",g=0,f=document.createElement("div");f.style.whiteSpace="nowrap";f.style.overflow="hidden";f.style.height="224px";var m=document.createElement("h3");mxUtils.write(m,a?mxResources.get("selectFile"):mxResources.get("selectCard"));m.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";f.appendChild(m);var e=document.createElement("div");e.style.whiteSpace="nowrap";e.style.overflow="auto";e.style.height=\r\n"194px";f.appendChild(e);f=new CustomDialog(this.ui,f);this.ui.showDialog(f.container,340,270,!0,!0);f.okButton.parentNode.removeChild(f.okButton);var k=mxUtils.bind(this,function(a,b,c){g++;var d=document.createElement("div");d.style="width:100%;text-overflow:ellipsis;overflow:hidden;vertical-align:middle;padding:2px 0 2px 0;background:"+(0==g%2?Editor.isDarkMode()?"#000":"#eee":Editor.isDarkMode()?"":"#fff");var e=document.createElement("a");e.style.cursor="pointer";if(null!=c){var f=document.createElement("img");\r\nf.src=c.url;f.width=c.width;f.height=c.height;f.style="border: 1px solid black;margin:5px;vertical-align:middle";e.appendChild(f)}mxUtils.write(e,a);mxEvent.addListener(e,"click",b);d.appendChild(e);return d}),l=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();this.ui.hideDialog()}))}),n=mxUtils.bind(this,function(){g=0;e.innerHTML="";this.ui.spinner.spin(e,mxResources.get("loading"));var a=mxUtils.bind(this,function(){Trello.cards.get(c+\r\n"/attachments",{fields:"id,name,previews"},mxUtils.bind(this,function(a){this.ui.spinner.stop();e.appendChild(k("../ [Up]",mxUtils.bind(this,function(){u()})));mxUtils.br(e);null==a||0==a.length?mxUtils.write(e,mxResources.get("noFiles")):mxUtils.bind(this,function(){for(var b=0;b<a.length;b++)mxUtils.bind(this,function(a){e.appendChild(k(a.name,mxUtils.bind(this,function(){this.ui.hideDialog();d(c+this.SEPARATOR+a.id)}),null!=a.previews?a.previews[0]:null))})(a[b])})()}),mxUtils.bind(this,function(b){401==\r\nb.status?this.authenticate(a,l,!0):null!=l&&l(b)}))});a()}),p=null,q=null,u=mxUtils.bind(this,function(f){null==f&&(g=0,e.innerHTML="",f=1);this.ui.spinner.spin(e,mxResources.get("loading"));null!=p&&null!=p.parentNode&&p.parentNode.removeChild(p);p=document.createElement("a");p.style.display="block";p.style.cursor="pointer";mxUtils.write(p,mxResources.get("more")+"...");var m=mxUtils.bind(this,function(){mxEvent.removeListener(e,"scroll",q);u(f+1)});mxEvent.addListener(p,"click",m);var t=mxUtils.bind(this,\r\nfunction(){Trello.get("search",{query:""==mxUtils.trim(b)?"is:open":b,cards_limit:100,cards_page:f-1},mxUtils.bind(this,function(g){this.ui.spinner.stop();g=null!=g?g.cards:null;if(null==g||0==g.length)mxUtils.write(e,mxResources.get("noFiles"));else{1==f&&(e.appendChild(k(mxResources.get("filterCards")+"...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.ui,b,mxResources.get("ok"),mxUtils.bind(this,function(a){null!=a&&(b=a,u())}),mxResources.get("filterCards"),null,null,"http://help.trello.com/article/808-searching-for-cards-all-boards");\r\nthis.ui.showDialog(a.container,300,80,!0,!1);a.init()}))),mxUtils.br(e));for(var l=0;l<g.length;l++)mxUtils.bind(this,function(b){e.appendChild(k(b.name,mxUtils.bind(this,function(){a?(c=b.id,n()):(this.ui.hideDialog(),d(b.id))})))})(g[l]);100==g.length&&(e.appendChild(p),q=function(){e.scrollTop>=e.scrollHeight-e.offsetHeight&&m()},mxEvent.addListener(e,"scroll",q))}}),mxUtils.bind(this,function(a){401==a.status?this.authenticate(t,l,!0):null!=l&&l({message:a.responseText})}))});t()});u()};\r\nTrelloClient.prototype.isAuthorized=function(){try{return null!=localStorage.trello_token}catch(a){}return!1};TrelloClient.prototype.logout=function(){localStorage.removeItem("trello_token");Trello.deauthorize()};GitLabFile=function(a,d,c){GitHubFile.call(this,a,d,c);this.peer=this.ui.gitLab};mxUtils.extend(GitLabFile,GitHubFile);GitLabFile.prototype.share=function(){this.ui.editor.graph.openLink(DRAWIO_GITLAB_URL+"/"+encodeURIComponent(this.meta.org)+"/"+encodeURIComponent(this.meta.repo)+"/-/project_members")};\r\nGitLabFile.prototype.getId=function(){return this.meta.org+"/"+(null!=this.meta.repo?encodeURIComponent(this.meta.repo)+"/"+(null!=this.meta.ref?this.meta.ref+(null!=this.meta.path?"/"+this.meta.path:""):""):"")};GitLabFile.prototype.getHash=function(){return encodeURIComponent("A"+this.getId())};GitLabFile.prototype.isConflict=function(a){return null!=a&&400==a.status};GitLabFile.prototype.getMode=function(){return App.MODE_GITLAB};GitLabFile.prototype.getDescriptorEtag=function(a){return a.last_commit_id};\r\nGitLabFile.prototype.setDescriptorEtag=function(a,d){a.last_commit_id=d};GitLabLibrary=function(a,d,c){GitLabFile.call(this,a,d,c)};mxUtils.extend(GitLabLibrary,GitLabFile);GitLabLibrary.prototype.doSave=function(a,d,c){this.saveFile(a,!1,d,c)};GitLabLibrary.prototype.open=function(){};(function(){var a=null;window.GitLabClient=function(a){GitHubClient.call(this,a,"gitlabauth")};mxUtils.extend(GitLabClient,GitHubClient);GitLabClient.prototype.clientId=DRAWIO_GITLAB_ID;GitLabClient.prototype.scope="api%20read_repository%20write_repository";GitLabClient.prototype.baseUrl=DRAWIO_GITLAB_URL+"/api/v4";GitLabClient.prototype.maxFileSize=1E7;GitLabClient.prototype.authToken="Bearer";GitLabClient.prototype.redirectUri=window.location.protocol+"//"+window.location.host+"/gitlab";GitLabClient.prototype.authenticate=\r\nfunction(a,c){(new mxXmlRequest(this.redirectUri+"?getState=1",null,"GET")).send(mxUtils.bind(this,function(b){200<=b.getStatus()&&299>=b.getStatus()?this.authenticateStep2(b.getText(),a,c):null!=c&&c(b)}),c)};GitLabClient.prototype.authenticateStep2=function(d,c,b){if(null==window.onGitLabCallback){var g=mxUtils.bind(this,function(){var f=!0;null!=this.getPersistentToken(!0)?(new mxXmlRequest(this.redirectUri+"?state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+\r\nd),null,"GET")).send(mxUtils.bind(this,function(d){200<=d.getStatus()&&299>=d.getStatus()?(a=JSON.parse(d.getText()).access_token,this.setToken(a),this.setUser(null),c()):(this.clearPersistentToken(),this.setUser(null),a=null,this.setToken(null),401==d.getStatus()?g():b({message:mxResources.get("accessDenied"),retry:g}))}),b):this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(m,e){null!=window.open(DRAWIO_GITLAB_URL+"/oauth/authorize?client_id="+this.clientId+"&scope="+this.scope+"&redirect_uri="+\r\nencodeURIComponent(this.redirectUri)+"&response_type=code&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+d),"gitlabauth")?window.onGitLabCallback=mxUtils.bind(this,function(d,l){f?(window.onGitLabCallback=null,f=!1,null==d?b({message:mxResources.get("accessDenied"),retry:g}):(null!=e&&e(),a=d.access_token,this.setToken(a),this.setUser(null),m&&this.setPersistentToken("remembered"),c(),null!=l&&l.close())):null!=l&&l.close()}):b({message:mxResources.get("serviceUnavailableOrBlocked"),\r\nretry:g})}),mxUtils.bind(this,function(){f&&(window.onGitLabCallback=null,f=!1,b({message:mxResources.get("accessDenied"),retry:g}))}))});g()}else b({code:App.ERROR_BUSY})};GitLabClient.prototype.executeRequest=function(d,c,b,g){var f=mxUtils.bind(this,function(e){var k=!0,l=window.setTimeout(mxUtils.bind(this,function(){k=!1;b({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.ui.timeout),n=this.authToken+" "+a;d.setRequestHeaders=function(a,b){a.setRequestHeader("Authorization",\r\nn);a.setRequestHeader("PRIVATE_TOKEN",n);a.setRequestHeader("Content-Type","application/json")};d.send(mxUtils.bind(this,function(){window.clearTimeout(l);if(k)if(200<=d.getStatus()&&299>=d.getStatus()||g&&404==d.getStatus())c(d);else if(401===d.getStatus())e?b({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){m(!0)},b)})}):this.authenticate(function(){f(!0)},b);else if(403===d.getStatus()){var a=!1;try{var n=JSON.parse(d.getText());null!=n&&\r\nnull!=n.errors&&0<n.errors.length&&(a="too_large"==n.errors[0].code)}catch(u){}b({message:mxResources.get(a?"drawingTooLarge":"forbidden")})}else 404===d.getStatus()?b({message:this.getErrorMessage(d,mxResources.get("fileNotFound"))}):400===d.getStatus()?b({status:400}):b({status:d.getStatus(),message:this.getErrorMessage(d,mxResources.get("error")+" "+d.getStatus())})}),mxUtils.bind(this,function(a){window.clearTimeout(l);k&&b(a)}))}),m=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){m(!0)},\r\nb,a):f(a)});null==a?this.authenticate(function(){m(!0)},b):m(!1)};GitLabClient.prototype.getRefIndex=function(a,c,b,g,f,m){if(null!=f)b(a,f);else{var d=a.length-2,k=mxUtils.bind(this,function(){if(2>d)g({message:mxResources.get("fileNotFound")});else{var e=Math.max(d-1,0),f=a.slice(0,e).join("/"),e=a[e],p=a[d],q=a.slice(d+1,a.length).join("/"),f=this.baseUrl+"/projects/"+encodeURIComponent(f+"/"+e)+"/repository/"+(c?m?"branches?per_page=1&page=1&ref="+p:"tree?path="+q+"&ref="+p:"files/"+encodeURIComponent(q)+\r\n"?ref="+p),u=new mxXmlRequest(f,null,"HEAD");this.executeRequest(u,mxUtils.bind(this,function(){200==u.getStatus()?b(a,d):g({message:mxResources.get("fileNotFound")})}),mxUtils.bind(this,function(){404==u.getStatus()?(d--,k()):g({message:mxResources.get("fileNotFound")})}))}});k()}};GitLabClient.prototype.getFile=function(d,c,b,g,f,m){g=null!=g?g:!1;this.getRefIndex(d.split("/"),!1,mxUtils.bind(this,function(e,k){var m=Math.max(k-1,0),n=e.slice(0,m).join("/"),p=e[m],q=e[k];d=e.slice(k+1,e.length).join("/");\r\nm=/\\.png$/i.test(d);if(!f&&(/\\.v(dx|sdx?)$/i.test(d)||/\\.gliffy$/i.test(d)||/\\.pdf$/i.test(d)||!this.ui.useCanvasForExport&&m))if(null!=a){var m="&t="+(new Date).getTime(),u=this.baseUrl+"/projects/"+encodeURIComponent(n+"/"+p)+"/repository/files/"+encodeURIComponent(d)+"?ref="+q;e=d.split("/");this.ui.convertFile(u+m,0<e.length?e[e.length-1]:d,null,this.extension,c,b,mxUtils.bind(this,function(a,b,c){a=new mxXmlRequest(a,null,"GET");this.executeRequest(a,mxUtils.bind(this,function(a){try{b(this.getFileContent(JSON.parse(a.getText())))}catch(x){c(x)}}),\r\nc)}))}else b({message:mxResources.get("accessDenied")});else m="&t="+(new Date).getTime(),u=this.baseUrl+"/projects/"+encodeURIComponent(n+"/"+p)+"/repository/files/"+encodeURIComponent(d)+"?ref="+q,m=new mxXmlRequest(u+m,null,"GET"),this.executeRequest(m,mxUtils.bind(this,function(a){try{c(this.createGitLabFile(n,p,q,JSON.parse(a.getText()),g,k))}catch(v){b(v)}}),b)}),b,m)};GitLabClient.prototype.getFileContent=function(a){var c=a.file_name,b=a.content;"base64"===a.encoding&&(/\\.jpe?g$/i.test(c)?\r\nb="data:image/jpeg;base64,"+b:/\\.gif$/i.test(c)?b="data:image/gif;base64,"+b:/\\.pdf$/i.test(c)?b="data:application/pdf;base64,"+b:/\\.png$/i.test(c)?(a=this.ui.extractGraphModelFromPng(b),b=null!=a&&0<a.length?a:"data:image/png;base64,"+b):b=Base64.decode(b));return b};GitLabClient.prototype.createGitLabFile=function(a,c,b,g,f,m){var d=DRAWIO_GITLAB_URL+"/";a={org:a,repo:c,ref:b,name:g.file_name,path:g.file_path,html_url:d+a+"/"+c+"/blob/"+b+"/"+g.file_path,download_url:d+a+"/"+c+"/raw/"+b+"/"+g.file_path+\r\n"?inline=false",last_commit_id:g.last_commit_id,refPos:m};g=this.getFileContent(g);return f?new GitLabLibrary(this.ui,g,a):new GitLabFile(this.ui,g,a)};GitLabClient.prototype.insertFile=function(a,c,b,g,f,m,e){f=null!=f?f:!1;m=m.split("/");this.getRefIndex(m,!0,mxUtils.bind(this,function(d,m){var k=Math.max(m-1,0),l=d.slice(0,k).join("/"),q=d[k],u=d[m];path=d.slice(m+1,d.length).join("/");0<path.length&&(path+="/");path+=a;this.checkExists(l+"/"+q+"/"+u+"/"+path,!0,mxUtils.bind(this,function(d,k){if(d)if(f)e||\r\n(c=Base64.encode(c)),this.showCommitDialog(a,!0,mxUtils.bind(this,function(a){this.writeFile(l,q,u,path,a,c,k,mxUtils.bind(this,function(a){try{var c=JSON.parse(a.getText());b(this.createGitLabFile(l,q,u,c.content,f,m))}catch(B){g(B)}}),g)}),g);else{var n=DRAWIO_GITLAB_URL+"/";b(new GitLabFile(this.ui,c,{org:l,repo:q,ref:u,name:a,path:path,html_url:n+l+"/"+q+"/blob/"+u+"/"+path,download_url:n+l+"/"+q+"/raw/"+u+"/"+path+"?inline=false",refPos:m,last_commit_id:k,isNew:!0}))}else g()}))}),g,null,4>=\r\nm.length)};GitLabClient.prototype.checkExists=function(a,c,b){this.getFile(a,mxUtils.bind(this,function(d){if(c){var f=this.ui.spinner.pause();this.ui.confirm(mxResources.get("replaceIt",[a]),function(){f();b(!0,d.getCurrentEtag())},function(){f();b(!1)})}else this.ui.spinner.stop(),this.ui.showError(mxResources.get("error"),mxResources.get("fileExists"),mxResources.get("ok"),function(){b(!1)})}),mxUtils.bind(this,function(a){b(!0)}),null,!0)};GitLabClient.prototype.writeFile=function(a,c,b,g,f,m,\r\ne,k,l){if(m.length>=this.maxFileSize)l({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(m.length)+" / 10 MB)"});else{var d="POST";b={path:encodeURIComponent(g),branch:decodeURIComponent(b),commit_message:f,content:m,encoding:"base64"};null!=e&&(b.last_commit_id=e,d="PUT");a=this.baseUrl+"/projects/"+encodeURIComponent(a+"/"+c)+"/repository/files/"+encodeURIComponent(g);d=new mxXmlRequest(a,JSON.stringify(b),d);this.executeRequest(d,mxUtils.bind(this,function(a){k(a)}),l)}};\r\nGitLabClient.prototype.saveFile=function(a,c,b,g,f){var d=a.meta.org,e=a.meta.repo,k=a.meta.ref,l=a.meta.path,n=mxUtils.bind(this,function(g,m){this.writeFile(d,e,k,l,f,m,g,mxUtils.bind(this,function(f){delete a.meta.isNew;this.getFile(d+"/"+e+"/"+k+"/"+l,mxUtils.bind(this,function(b){b.getData()==a.getData()?c(b.getCurrentEtag()):c({content:a.getCurrentEtag()})}),b,null,null,a.meta.refPos)}),b)}),p=mxUtils.bind(this,function(){if(this.ui.useCanvasForExport&&/(\\.png)$/i.test(l)){var c=this.ui.getPngFileProperties(this.ui.fileNode);\r\nthis.ui.getEmbeddedPng(mxUtils.bind(this,function(b){n(a.meta.last_commit_id,b)}),b,this.ui.getCurrentFile()!=a?a.getData():null,c.scale,c.border)}else n(a.meta.last_commit_id,Base64.encode(a.getData()))});g?this.getFile(d+"/"+e+"/"+k+"/"+l,mxUtils.bind(this,function(b){a.meta.last_commit_id=b.meta.last_commit_id;p()}),b):p()};GitLabClient.prototype.pickFolder=function(a){this.showGitLabDialog(!1,a)};GitLabClient.prototype.pickFile=function(a){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("A"+\r\nencodeURIComponent(a))});this.showGitLabDialog(!0,a)};GitLabClient.prototype.showGitLabDialog=function(d,c){var b=null,g=null,f=null,m=null,e=document.createElement("div");e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.height="304px";var k=document.createElement("h3");mxUtils.write(k,mxResources.get(d?"selectFile":"selectFolder"));k.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";e.appendChild(k);var l=document.createElement("div");l.style.whiteSpace=\r\n"nowrap";l.style.border="1px solid lightgray";l.style.boxSizing="border-box";l.style.padding="4px";l.style.overflow="auto";l.style.lineHeight="1.2em";l.style.height="274px";e.appendChild(l);var n=document.createElement("div");n.style.textOverflow="ellipsis";n.style.boxSizing="border-box";n.style.overflow="hidden";n.style.padding="4px";n.style.width="100%";var p=new CustomDialog(this.ui,e,mxUtils.bind(this,function(){c(b+"/"+g+"/"+encodeURIComponent(f)+"/"+m)}));this.ui.showDialog(p.container,420,\r\n360,!0,!0);d&&p.okButton.parentNode.removeChild(p.okButton);var q=mxUtils.bind(this,function(a,b,c,d){var e=document.createElement("a");e.setAttribute("title",a);e.style.cursor="pointer";mxUtils.write(e,a);mxEvent.addListener(e,"click",b);d&&(e.style.textDecoration="underline");null!=c&&(a=n.cloneNode(),a.style.padding=c,a.appendChild(e),e=a);return e}),u=mxUtils.bind(this,function(a){var c=document.createElement("div");c.style.marginBottom="8px";c.appendChild(q(b+"/"+g,mxUtils.bind(this,function(){m=\r\nnull;A()}),null,!0));a||(mxUtils.write(c," / "),c.appendChild(q(decodeURIComponent(f),mxUtils.bind(this,function(){m=null;x()}),null,!0)));if(null!=m&&0<m.length){var d=m.split("/");for(a=0;a<d.length;a++)(function(a){mxUtils.write(c," / ");c.appendChild(q(d[a],mxUtils.bind(this,function(){m=d.slice(0,a+1).join("/");y()}),null,!0))})(a)}l.appendChild(c)}),t=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();null!=this.getUser()?(m=f=g=b=null,\r\nA()):this.ui.hideDialog()}))}),v=null,z=null,y=mxUtils.bind(this,function(a){null==a&&(l.innerHTML="",a=1);var e=new mxXmlRequest(this.baseUrl+"/projects/"+encodeURIComponent(b+"/"+g)+"/repository/tree?path="+m+"&ref="+f+"&per_page=100&page="+a,null,"GET");this.ui.spinner.spin(l,mxResources.get("loading"));p.okButton.removeAttribute("disabled");null!=z&&(mxEvent.removeListener(l,"scroll",z),z=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display=\r\n"block";v.style.cursor="pointer";mxUtils.write(v,mxResources.get("more")+"...");var k=mxUtils.bind(this,function(){y(a+1)});mxEvent.addListener(v,"click",k);this.executeRequest(e,mxUtils.bind(this,function(e){this.ui.spinner.stop();1==a&&(u(!f),l.appendChild(q("../ [Up]",mxUtils.bind(this,function(){if(""==m)m=null,A();else{var a=m.split("/");m=a.slice(0,a.length-1).join("/");y()}}),"4px")));var x=JSON.parse(e.getText());if(null==x||0==x.length)mxUtils.write(l,mxResources.get("noFiles"));else{var p=\r\n!0,t=0;e=mxUtils.bind(this,function(a){for(var e=0;e<x.length;e++)mxUtils.bind(this,function(e){if(a==("tree"==e.type)){var k=n.cloneNode();k.style.backgroundColor=p?Editor.isDarkMode()?"#000000":"#eeeeee":"";p=!p;var x=document.createElement("img");x.src=IMAGE_PATH+"/"+("tree"==e.type?"folder.png":"file.png");x.setAttribute("align","absmiddle");x.style.marginRight="4px";x.style.marginTop="-4px";x.width=20;k.appendChild(x);k.appendChild(q(e.name+("tree"==e.type?"/":""),mxUtils.bind(this,function(){"tree"==\r\ne.type?(m=e.path,y()):d&&"blob"==e.type&&(this.ui.hideDialog(),c(b+"/"+g+"/"+f+"/"+e.path))})));l.appendChild(k);t++}})(x[e])});e(!0);d&&e(!1);100==t&&(l.appendChild(v),z=function(){l.scrollTop>=l.scrollHeight-l.offsetHeight&&k()},mxEvent.addListener(l,"scroll",z))}}),t,!0)}),x=mxUtils.bind(this,function(a,c){null==a&&(l.innerHTML="",a=1);var d=new mxXmlRequest(this.baseUrl+"/projects/"+encodeURIComponent(b+"/"+g)+"/repository/branches?per_page=100&page="+a,null,"GET");p.okButton.setAttribute("disabled",\r\n"disabled");this.ui.spinner.spin(l,mxResources.get("loading"));null!=z&&(mxEvent.removeListener(l,"scroll",z),z=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.style.cursor="pointer";mxUtils.write(v,mxResources.get("more")+"...");var e=mxUtils.bind(this,function(){x(a+1)});mxEvent.addListener(v,"click",e);this.executeRequest(d,mxUtils.bind(this,function(b){this.ui.spinner.stop();1==a&&(u(!0),l.appendChild(q("../ [Up]",mxUtils.bind(this,\r\nfunction(){m=null;A()}),"4px")));b=JSON.parse(b.getText());if(null==b||0==b.length)mxUtils.write(l,mxResources.get("noFiles"));else if(1==b.length&&c)f=b[0].name,m="",y();else{for(var d=0;d<b.length;d++)mxUtils.bind(this,function(a,b){var c=n.cloneNode();c.style.backgroundColor=0==b%2?Editor.isDarkMode()?"#000000":"#eeeeee":"";c.appendChild(q(a.name,mxUtils.bind(this,function(){f=encodeURIComponent(a.name);m="";y()})));l.appendChild(c)})(b[d],d);100==b.length&&(l.appendChild(v),z=function(){l.scrollTop>=\r\nl.scrollHeight-l.offsetHeight&&e()},mxEvent.addListener(l,"scroll",z))}}),t)});p.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(l,mxResources.get("loading"));var A=mxUtils.bind(this,function(a){var c=this.ui.spinner,d=0;this.ui.spinner.stop();var e=function(){c.spin(l,mxResources.get("loading"));d+=1},k=function(){--d;0===d&&c.stop()};null==a&&(l.innerHTML="",a=1);null!=z&&(mxEvent.removeListener(l,"scroll",z),z=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");\r\nv.style.display="block";v.style.cursor="pointer";mxUtils.write(v,mxResources.get("more")+"...");var p=mxUtils.bind(this,function(){0===d&&A(a+1)});mxEvent.addListener(v,"click",p);var u=mxUtils.bind(this,function(a){e();var b=new mxXmlRequest(this.baseUrl+"/groups?per_page=100",null,"GET");this.executeRequest(b,mxUtils.bind(this,function(b){a(JSON.parse(b.getText()));k()}),t)}),B=mxUtils.bind(this,function(a,b){e();var c=new mxXmlRequest(this.baseUrl+"/groups/"+a.id+"/projects?per_page=100",null,\r\n"GET");this.executeRequest(c,mxUtils.bind(this,function(c){b(a,JSON.parse(c.getText()));k()}),t)});u(mxUtils.bind(this,function(c){e();var A=new mxXmlRequest(this.baseUrl+"/users/"+this.user.id+"/projects?per_page=100&page="+a,null,"GET");this.executeRequest(A,mxUtils.bind(this,function(A){A=JSON.parse(A.getText());if(null!=A&&0!=A.length||null!=c&&0!=c.length){1==a&&(l.appendChild(q(mxResources.get("enterValue")+"...",mxUtils.bind(this,function(){if(0===d){var a=new FilenameDialog(this.ui,"org/repo/ref",\r\nmxResources.get("ok"),mxUtils.bind(this,function(a){null!=a&&(a=a.split("/"),1<a.length?(b=a[0],g=a[1],f=m=null,2<a.length?(f=encodeURIComponent(a.slice(2,a.length).join("/")),y()):x(null,!0)):(this.ui.spinner.stop(),this.ui.handleError({message:mxResources.get("invalidName")})))}),mxResources.get("enterValue"));this.ui.showDialog(a.container,300,80,!0,!1);a.init()}}))),mxUtils.br(l),mxUtils.br(l));for(var t=!0,u=0;u<A.length;u++)mxUtils.bind(this,function(a){var c=n.cloneNode();c.style.backgroundColor=\r\nt?Editor.isDarkMode()?"#000000":"#eeeeee":"";t=!t;c.appendChild(q(a.name_with_namespace,mxUtils.bind(this,function(){0===d&&(b=a.owner.username,g=a.path,m="",x(null,!0))})));l.appendChild(c)})(A[u]);for(u=0;u<c.length;u++)e(),B(c[u],mxUtils.bind(this,function(a,c){k();for(var e=0;e<c.length;e++){var f=n.cloneNode();f.style.backgroundColor=t?"dark"==uiTheme?"#000000":"#eeeeee":"";t=!t;mxUtils.bind(this,function(c){f.appendChild(q(c.name_with_namespace,mxUtils.bind(this,function(){0===d&&(b=a.full_path,\r\ng=c.path,m="",x(null,!0))})));l.appendChild(f)})(c[e])}}));k()}else mxUtils.write(l,mxResources.get("noFiles"));100==A.length&&(l.appendChild(v),z=function(){l.scrollTop>=l.scrollHeight-l.offsetHeight&&p()},mxEvent.addListener(l,"scroll",z))}),t)}))});a?this.user?A():this.updateUser(function(){A()},t,!0):this.authenticate(mxUtils.bind(this,function(){this.updateUser(function(){A()},t,!0)}),t)};GitLabClient.prototype.logout=function(){this.ui.editor.loadUrl(this.redirectUri+"?doLogout=1&state="+encodeURIComponent("cId="+\r\nthis.clientId+"&domain="+window.location.hostname));this.clearPersistentToken();this.setUser(null);a=null;this.setToken(null)}})();NotionFile=function(a,d,c){DrawioFile.call(this,a,d);this.meta=c;this.peer=this.ui.notion};mxUtils.extend(NotionFile,DrawioFile);NotionFile.prototype.getId=function(){return this.meta.id};NotionFile.prototype.getHash=function(){return encodeURIComponent("N"+this.getId())};NotionFile.prototype.getMode=function(){return App.MODE_NOTION};NotionFile.prototype.isAutosave=function(){return!1};NotionFile.prototype.getTitle=function(){return this.meta.name};NotionFile.prototype.isRenamable=function(){return!1};\r\nNotionFile.prototype.isCompressedStorage=function(){return!0};NotionFile.prototype.save=function(a,d,c,b,g){this.doSave(this.getTitle(),d,c,b,g)};NotionFile.prototype.saveAs=function(a,d,c){this.doSave(a,d,c)};NotionFile.prototype.doSave=function(a,d,c,b,g){var f=this.meta.name;this.meta.name=a;DrawioFile.prototype.save.apply(this,[null,mxUtils.bind(this,function(){this.meta.name=f;this.saveFile(a,!1,d,c,b,g)}),c,b,g])};\r\nNotionFile.prototype.saveFile=function(a,d,c,b,g,f){if(this.isEditable())if(this.savingFile)null!=b&&b({code:App.ERROR_BUSY});else if(this.getTitle()==a)try{this.savingFileTime=new Date,this.setShadowModified(!1),this.savingFile=!0,this.peer.saveFile(this,mxUtils.bind(this,function(){this.setModified(this.getShadowModified());this.savingFile=!1;null!=c&&c()}),mxUtils.bind(this,function(a){this.savingFile=!1;null!=b&&b(a)}),f)}catch(m){if(this.savingFile=!1,null!=b)b(m);else throw m;}else this.savingFileTime=\r\nnew Date,this.setShadowModified(!1),this.savingFile=!0,this.ui.pickFolder(this.getMode(),mxUtils.bind(this,function(d){this.peer.insertFile(a,this.getData(),mxUtils.bind(this,function(a){this.setModified(this.getShadowModified());this.savingFile=!1;null!=c&&c();this.ui.fileLoaded(a)}),mxUtils.bind(this,function(){this.savingFile=!1;null!=b&&b()}),!1,d)}));else null!=c&&c()};NotionLibrary=function(a,d,c){NotionFile.call(this,a,d,c)};mxUtils.extend(NotionLibrary,NotionFile);NotionLibrary.prototype.doSave=function(a,d,c){this.saveFile(a,!1,d,c)};NotionLibrary.prototype.open=function(){};(function(){var a=null;window.NotionClient=function(a){DrawioClient.call(this,a,"notionAuthInfo")};mxUtils.extend(NotionClient,DrawioClient);NotionClient.prototype.extension=".drawio";NotionClient.prototype.baseUrl=window.NOTION_API_URL||("test.draw.io"==window.location.hostname?"https://notion.jgraph.workers.dev/api":"/notion-api");NotionClient.prototype.getTitle=function(a){if("string"===typeof a.title)return a.title;for(var c=[],b=0;b<a.title.length;b++)c.push(a.title[b].text.content);return c.join(" ")};\r\nNotionClient.prototype.authenticate=function(d,c,b){var g=!0,f=mxUtils.bind(this,function(){g&&(g=!1,c({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.ui.hideDialog();m()})}))}),m=mxUtils.bind(this,function(){g=!0;this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(c,k){var e=new FilenameDialog(this.ui,"",mxResources.get("ok"),mxUtils.bind(this,function(e){a=e;this.executeRequest("/v1/databases",null,"GET",mxUtils.bind(this,function(){this.executeRequest("/setToken",\r\nnull,"GET",mxUtils.bind(this,function(){g=!1;c&&(a=null);null!=k&&k();d()}),f,b)}),f,b)}),mxResources.get("notionToken"),function(a){return null!=a&&0<a.length},null,"https://developers.notion.com/docs/getting-started#step-1-create-an-integration");this.ui.showDialog(e.container,300,80,!0,!0);e.init()}),f)});m()};NotionClient.prototype.executeRequest=function(d,c,b,g,f,m){var e=mxUtils.bind(this,function(){var k=!0,l=window.setTimeout(mxUtils.bind(this,function(){k=!1;f({code:App.ERROR_TIMEOUT,retry:e})}),\r\nthis.ui.timeout),n=new mxXmlRequest(this.baseUrl+d,c,b);n.withCredentials=!0;n.setRequestHeaders=mxUtils.bind(this,function(b,c){null!=a&&b.setRequestHeader("Authorization","Bearer "+a);b.setRequestHeader("Notion-Version","2021-05-13");b.setRequestHeader("Content-Type","application/json")});n.send(mxUtils.bind(this,function(a){window.clearTimeout(l);k&&(200<=a.getStatus()&&299>=a.getStatus()?(null==this.user&&this.setUser(new DrawioUser("notion",null,"Notion")),g(JSON.parse(a.getText()))):m||401!==\r\na.getStatus()&&400!==a.getStatus()?f(this.parseRequestText(a)):(this.setUser(null),m=!0,this.authenticate(function(){e()},f,m)))}),mxUtils.bind(this,function(a){window.clearTimeout(l);k&&f(a)}))});e()};NotionClient.prototype.getLibrary=function(a,c,b){this.getFile(a,c,b,!1,!0)};NotionClient.prototype.getFile=function(a,c,b,g,f){f=null!=f?f:!1;this.executeRequest("/v1/pages/"+encodeURIComponent(a),null,"GET",mxUtils.bind(this,function(d){try{var e=d.properties.xml.rich_text,g="",m=this.getTitle(d.properties.Name);\r\nfor(d=0;d<e.length;d++)g+=e[d].text.content;e={id:a,name:m};f?c(new NotionLibrary(this.ui,g,e)):c(new NotionFile(this.ui,g,e))}catch(n){if(null!=b)b(n);else throw n;}}),b)};NotionClient.prototype.insertLibrary=function(a,c,b,g,f){this.insertFile(a,c,b,g,!0,f)};NotionClient.prototype.insertFile=function(a,c,b,g,f,m){f=null!=f?f:!1;this.checkExists(m,a,!0,mxUtils.bind(this,function(d,k){d?this.writeFile(k?"/v1/pages/"+encodeURIComponent(k):"/v1/pages",k?null:m,a,c,k?"PATCH":"POST",mxUtils.bind(this,\r\nfunction(a){a={id:a.id,name:this.getTitle(a.properties.Name)};f?b(new NotionLibrary(this.ui,c,a)):b(new NotionFile(this.ui,c,a))}),g):g()}))};NotionClient.prototype.checkExists=function(a,c,b,g){this.executeRequest("/v1/databases/"+encodeURIComponent(a)+"/query",JSON.stringify({filter:{property:"Name",text:{equals:c}}}),"POST",mxUtils.bind(this,function(a){0==a.results.length?g(!0):b?(this.ui.spinner.stop(),this.ui.confirm(mxResources.get("replaceIt",[c]),function(){g(!0,a.results[0].id)},function(){g(!1)})):\r\n(this.ui.spinner.stop(),this.ui.showError(mxResources.get("error"),mxResources.get("fileExists"),mxResources.get("ok"),function(){g(!1)}))}),function(a){g(!1)})};NotionClient.prototype.saveFile=function(a,c,b){try{var d=a.getData();this.writeFile("/v1/pages/"+a.getId(),null,a.getTitle(),d,"PATCH",mxUtils.bind(this,function(a){c(a,d)}),b)}catch(f){b(f)}};NotionClient.prototype.writeFile=function(a,c,b,g,f,m,e){try{if(null!=a&&null!=g)if(2E5<g.length)e({message:mxResources.get("drawingTooLarge")+" ("+\r\nthis.ui.formatFileSize(g.length)+" / 200 KB)"});else{for(var d=[],l=Math.ceil(g.length/2E3),n=0;n<l;n++)d.push({text:{content:g.substr(2E3*n,2E3)}});b={properties:{Name:{title:[{text:{content:b}}]},xml:{rich_text:d}}};c&&(b.parent={database_id:c});this.executeRequest(a,JSON.stringify(b),f,m,e)}else e({message:mxResources.get("unknownError")})}catch(p){e(p)}};NotionClient.prototype.parseRequestText=function(a){var c={message:mxResources.get("unknownError")};try{c=JSON.parse(a.getText())}catch(b){}return c};\r\nNotionClient.prototype.pickLibrary=function(a){this.pickFile(a)};NotionClient.prototype.pickFolder=function(a){this.showNotionDialog(!1,a)};NotionClient.prototype.pickFile=function(a){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("N"+encodeURIComponent(a))});this.showNotionDialog(!0,a)};NotionClient.prototype.showNotionDialog=function(a,c){var b,d,f=document.createElement("div");f.style.whiteSpace="nowrap";f.style.overflow="hidden";f.style.height="304px";var m=document.createElement("h3");\r\nmxUtils.write(m,mxResources.get(a?"officeSelDiag":"selectDB"));m.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";f.appendChild(m);var e=document.createElement("div");e.style.whiteSpace="nowrap";e.style.border="1px solid lightgray";e.style.boxSizing="border-box";e.style.padding="4px";e.style.overflow="auto";e.style.lineHeight="1.2em";e.style.height="274px";f.appendChild(e);var k=document.createElement("div");k.style.textOverflow="ellipsis";k.style.boxSizing="border-box";\r\nk.style.overflow="hidden";k.style.padding="4px";k.style.width="100%";var l=new CustomDialog(this.ui,f,mxUtils.bind(this,function(){c(b)}));this.ui.showDialog(l.container,420,360,!0,!0);a&&l.okButton.parentNode.removeChild(l.okButton);var n=mxUtils.bind(this,function(a,b,c,d){var e=document.createElement("a");e.setAttribute("title",a);e.style.cursor="pointer";mxUtils.write(e,a);mxEvent.addListener(e,"click",b);d&&(e.style.textDecoration="underline");null!=c&&(a=k.cloneNode(),a.style.padding=c,a.appendChild(e),\r\ne=a);return e}),p=mxUtils.bind(this,function(){var a=document.createElement("div");a.style.marginBottom="8px";a.appendChild(n(d,mxUtils.bind(this,function(){b=null;z()}),null,!0));e.appendChild(a)}),q=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();null!=this.getUser()?(b=null,z()):this.ui.hideDialog()}),null,{})}),u=null,t=null,v=mxUtils.bind(this,function(a){null==a&&(e.innerHTML="");this.ui.spinner.spin(e,mxResources.get("loading"));\r\nl.okButton.removeAttribute("disabled");null!=t&&(mxEvent.removeListener(e,"scroll",t),t=null);null!=u&&null!=u.parentNode&&u.parentNode.removeChild(u);u=document.createElement("a");u.style.display="block";u.style.cursor="pointer";mxUtils.write(u,mxResources.get("more")+"...");var d=mxUtils.bind(this,function(){v(a)});mxEvent.addListener(u,"click",d);var f={page_size:100};null!=a&&(f.start_cursor=a);this.executeRequest("/v1/databases/"+encodeURIComponent(b)+"/query",JSON.stringify(f),"POST",mxUtils.bind(this,\r\nfunction(f){this.ui.spinner.stop();null==a&&(p(),e.appendChild(n("../ [Up]",mxUtils.bind(this,function(){b=null;z()}),"4px")));var g=f.results;if(null==g||0==g.length)mxUtils.write(e,mxResources.get("noFiles"));else{for(var m=!0,l=0;l<g.length;l++)mxUtils.bind(this,function(a,b){var d=k.cloneNode();d.style.backgroundColor=m?Editor.isDarkMode()?"#000000":"#eeeeee":"";m=!m;var f=document.createElement("img");f.src=IMAGE_PATH+"/file.png";f.setAttribute("align","absmiddle");f.style.marginRight="4px";\r\nf.style.marginTop="-4px";f.width=20;d.appendChild(f);d.appendChild(n(this.getTitle(a.properties.Name),mxUtils.bind(this,function(){this.ui.hideDialog();c(a.id)})));e.appendChild(d)})(g[l],l);f.has_more&&(a=f.next_cursor,e.appendChild(u),t=function(){e.scrollTop>=e.scrollHeight-e.offsetHeight&&d()},mxEvent.addListener(e,"scroll",t))}}),q,!0)}),z=mxUtils.bind(this,function(f){null==f&&(e.innerHTML="");l.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(e,mxResources.get("loading"));\r\nnull!=t&&mxEvent.removeListener(e,"scroll",t);null!=u&&null!=u.parentNode&&u.parentNode.removeChild(u);u=document.createElement("a");u.style.display="block";u.style.cursor="pointer";mxUtils.write(u,mxResources.get("more")+"...");var g=mxUtils.bind(this,function(){z(f)});mxEvent.addListener(u,"click",g);this.executeRequest("/v1/databases?page_size=100"+(null!=f?"&start_cursor="+f:""),null,"GET",mxUtils.bind(this,function(m){this.ui.spinner.stop();var l=m.results,x=0;if(null==l||0==l.length)mxUtils.write(e,\r\nmxResources.get("noDBs"));else for(var p=0;p<l.length;p++)l[p].properties.Name&&"title"==l[p].properties.Name.type&&l[p].properties.xml&&"rich_text"==l[p].properties.xml.type&&(mxUtils.bind(this,function(f,g){var m=k.cloneNode();m.style.backgroundColor=0==g%2?Editor.isDarkMode()?"#000000":"#eeeeee":"";m.appendChild(n(this.getTitle(f),mxUtils.bind(this,function(){b=f.id;d=this.getTitle(f);a?v():(this.ui.hideDialog(),c(b))})));e.appendChild(m)})(l[p],p),x++);m.has_more?(f=m.next_cursor,0==x?g():(e.appendChild(u),\r\nt=function(){e.scrollTop>=e.scrollHeight-e.offsetHeight&&g()},mxEvent.addListener(e,"scroll",t))):0==x&&""==e.innerHTML&&mxUtils.write(e,mxResources.get("noDBs"))}),q)});z()};NotionClient.prototype.logout=function(){this.executeRequest("/removeToken",null,"GET",function(){},function(){});this.setUser(null);a=null}})();DrawioComment=function(a,d,c,b,g,f,m){this.file=a;this.id=d;this.content=c;this.modifiedDate=b;this.createdDate=g;this.isResolved=f;this.user=m;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(a){null!=a&&this.replies.push(a)};DrawioComment.prototype.addReply=function(a,d,c,b,g){d()};DrawioComment.prototype.editComment=function(a,d,c){d()};DrawioComment.prototype.deleteComment=function(a,d){a()};DriveComment=function(a,d,c,b,g,f,m,e){DrawioComment.call(this,a,d,c,b,g,f,m);this.pCommentId=e};mxUtils.extend(DriveComment,DrawioComment);DriveComment.prototype.addReply=function(a,d,c,b,g){a={content:a.content};b?a.verb="resolve":g&&(a.verb="reopen");this.file.ui.drive.executeRequest({url:"/files/"+this.file.getId()+"/comments/"+this.id+"/replies",params:a,method:"POST"},mxUtils.bind(this,function(a){d(a.replyId)}),c)};\r\nDriveComment.prototype.editComment=function(a,d,c){this.content=a;a={content:a};this.file.ui.drive.executeRequest(this.pCommentId?{url:"/files/"+this.file.getId()+"/comments/"+this.pCommentId+"/replies/"+this.id,params:a,method:"PATCH"}:{url:"/files/"+this.file.getId()+"/comments/"+this.id,params:a,method:"PATCH"},d,c)};\r\nDriveComment.prototype.deleteComment=function(a,d){this.file.ui.drive.executeRequest(this.pCommentId?{url:"/files/"+this.file.getId()+"/comments/"+this.pCommentId+"/replies/"+this.id,method:"DELETE"}:{url:"/files/"+this.file.getId()+"/comments/"+this.id,method:"DELETE"},a,d)};App=function(a,d,c){EditorUi.call(this,a,d,null!=c?c:"1"==urlParams.lightbox||"min"==uiTheme&&"0"!=urlParams.chrome);mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||(window.onunload=mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.isModified()){var c={category:"DISCARD-FILE-"+a.getHash(),action:(a.savingFile?"saving":"")+(a.savingFile&&null!=a.savingFileTime?"_"+Math.round((Date.now()-a.savingFileTime.getTime())/1E3):"")+(null!=a.saveLevel?"-sl_"+a.saveLevel:"")+"-age_"+(null!=\r\na.ageStart?Math.round((Date.now()-a.ageStart.getTime())/1E3):"x")+(this.editor.autosave?"":"-nosave")+(a.isAutosave()?"":"-noauto")+"-open_"+(null!=a.opened?Math.round((Date.now()-a.opened.getTime())/1E3):"x")+"-save_"+(null!=a.lastSaved?Math.round((Date.now()-a.lastSaved.getTime())/1E3):"x")+"-change_"+(null!=a.lastChanged?Math.round((Date.now()-a.lastChanged.getTime())/1E3):"x")+"-alive_"+Math.round((Date.now()-App.startTime.getTime())/1E3),label:null!=a.sync?"client_"+a.sync.clientId:"nosync"};\r\na.constructor==DriveFile&&null!=a.desc&&null!=this.drive&&(c.label+=(null!=this.drive.user?"-user_"+this.drive.user.id:"-nouser")+"-rev_"+a.desc.headRevisionId+"-mod_"+a.desc.modifiedDate+"-size_"+a.getSize()+"-mime_"+a.desc.mimeType);EditorUi.logEvent(c)}}));this.editor.addListener("autosaveChanged",mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&EditorUi.logEvent({category:(this.editor.autosave?"ON":"OFF")+"-AUTOSAVE-FILE-"+a.getHash(),action:"changed",label:"autosave_"+(this.editor.autosave?\r\n"on":"off")})}));mxClient.IS_SVG?mxGraph.prototype.warningImage.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAE7SURBVHjaYvz//z8DJQAggBjwGXDuHMP/tWuD/uPTCxBAOA0AaQRK/f/+XeJ/cbHlf1wGAAQQTgPu3QNLgfHSpZo4DQAIIKwGwGyH4e/fFbG6AiQJEEAs2Ew2NFzH8OOHBMO6dT/A/KCg7wxGRh+wuhQggDBcALMdFIAcHBxgDGJjcwVIIUAAYbhAUXEdVos4OO4DXcGBIQ4QQCguQPY7sgtgAYruCpAgQACx4LJdU1OCwctLEcyWlLwPJF+AXQE0EMUBAAEEdwF6yMOiD4RRY0QT7gqQAEAAseDzu6XldYYPH9DD4joQa8L5AAEENgWb7SBcXa0JDQMBrK4AcQACiAlfyOMCEFdAnAYQQEz4FLa0XGf4/v0H0IIPONUABBAjyBmMjIwMS5cK/L927QORbtBkaG29DtYLEGAAH6f7oq3Zc+kAAAAASUVORK5CYII=":\r\n(new Image).src=mxGraph.prototype.warningImage.src;window.openWindow=mxUtils.bind(this,function(a,c,d){if("1"==urlParams.openInSameWin||navigator.standalone)d();else{var b=null;try{b=window.open(a)}catch(e){}null==b||void 0===b?this.showDialog((new PopupDialog(this,a,c,d)).container,320,140,!0,!0):null!=c&&c()}});this.updateDocumentTitle();this.updateUi();window.showOpenAlert=mxUtils.bind(this,function(a){null!=window.openFile&&window.openFile.cancel(!0);this.handleError(a)});this.editor.chromeless&&\r\n!this.editor.editable||this.addFileDropHandler([document]);if(null!=App.DrawPlugins){for(a=0;a<App.DrawPlugins.length;a++)try{App.DrawPlugins[a](this)}catch(b){null!=window.console&&console.log("Plugin Error:",b,App.DrawPlugins[a])}finally{App.embedModePluginsCount--,this.initializeEmbedMode()}window.Draw.loadPlugin=mxUtils.bind(this,function(a){try{a(this)}finally{App.embedModePluginsCount--,this.initializeEmbedMode()}});setTimeout(mxUtils.bind(this,function(){0<App.embedModePluginsCount&&(App.embedModePluginsCount=\r\n0,this.initializeEmbedMode())}),5E3)}this.load()};App.ERROR_TIMEOUT="timeout";App.ERROR_BUSY="busy";App.ERROR_UNKNOWN="unknown";App.MODE_GOOGLE="google";App.MODE_DROPBOX="dropbox";App.MODE_ONEDRIVE="onedrive";App.MODE_GITHUB="github";App.MODE_GITLAB="gitlab";App.MODE_DEVICE="device";App.MODE_BROWSER="browser";App.MODE_TRELLO="trello";App.MODE_NOTION="notion";App.MODE_EMBED="embed";App.DROPBOX_APPKEY=window.DRAWIO_DROPBOX_ID;App.DROPBOX_URL=window.DRAWIO_BASE_URL+"/js/dropbox/Dropbox-sdk.min.js";\r\nApp.DROPINS_URL="https://www.dropbox.com/static/api/2/dropins.js";App.ONEDRIVE_URL=mxClient.IS_IE11?"https://js.live.net/v7.2/OneDrive.js":window.DRAWIO_BASE_URL+"/js/onedrive/OneDrive.js";App.ONEDRIVE_INLINE_PICKER_URL=window.DRAWIO_BASE_URL+"/js/onedrive/mxODPicker.js";App.TRELLO_URL="https://api.trello.com/1/client.js";App.TRELLO_JQUERY_URL="https://code.jquery.com/jquery-1.7.1.min.js";App.PUSHER_KEY="1e756b07a690c5bdb054";App.PUSHER_CLUSTER="eu";App.PUSHER_URL="https://js.pusher.com/4.3/pusher.min.js";\r\nApp.SOCKET_IO_URL=window.DRAWIO_BASE_URL+"/js/socket.io/socket.io.min.js";App.SIMPLE_PEER_URL=window.DRAWIO_BASE_URL+"/js/socket.io/simplepeer9.10.0.min.js";App.SOCKET_IO_SRV="http://localhost:3030";App.GOOGLE_APIS="drive-share";App.startTime=new Date;\r\nApp.pluginRegistry={"4xAKTrabTpTzahoLthkwPNUn":"plugins/explore.js",ex:"plugins/explore.js",p1:"plugins/p1.js",ac:"plugins/connect.js",acj:"plugins/connectJira.js",ac148:"plugins/cConf-1-4-8.js",ac148cmnt:"plugins/cConf-comments.js",voice:"plugins/voice.js",tips:"plugins/tooltips.js",svgdata:"plugins/svgdata.js",electron:"plugins/electron.js",number:"plugins/number.js",sql:"plugins/sql.js",props:"plugins/props.js",text:"plugins/text.js",anim:"plugins/animation.js",update:"plugins/update.js",trees:"plugins/trees/trees.js",\r\n"import":"plugins/import.js",replay:"plugins/replay.js",anon:"plugins/anonymize.js",tr:"plugins/trello.js",f5:"plugins/rackF5.js",tickets:"plugins/tickets.js",flow:"plugins/flow.js",webcola:"plugins/webcola/webcola.js",rnd:"plugins/random.js",page:"plugins/page.js",gd:"plugins/googledrive.js",tags:"plugins/tags.js"};App.publicPlugin="ex voice tips svgdata number sql props text anim update trees replay anon tickets flow webcola tags".split(" ");\r\nApp.loadScripts=function(a,d){for(var c=a.length,b=0;b<c;b++)mxscript(a[b],function(){0==--c&&null!=d&&d()})};\r\nApp.getStoredMode=function(){var a=null;null==a&&isLocalStorage&&(a=localStorage.getItem(".mode"));if(null==a&&"undefined"!=typeof Storage){for(var d=document.cookie.split(";"),c=0;c<d.length;c++){var b=mxUtils.trim(d[c]);if("MODE="==b.substring(0,5)){a=b.substring(5);break}}null!=a&&isLocalStorage&&(d=new Date,d.setYear(d.getFullYear()-1),document.cookie="MODE=; expires="+d.toUTCString(),localStorage.setItem(".mode",a))}return a};\r\n(function(){mxClient.IS_CHROMEAPP||("1"!=urlParams.offline&&("db.draw.io"==window.location.hostname&&null==urlParams.mode&&(urlParams.mode="dropbox"),App.mode=urlParams.mode),null==App.mode&&(App.mode=App.getStoredMode()),null!=window.mxscript&&"1"!=urlParams.embed&&("function"===typeof window.DriveClient&&("0"!=urlParams.gapi&&isSvgBrowser&&(null==document.documentMode||10<=document.documentMode)?App.mode==App.MODE_GOOGLE||null!=urlParams.state&&""==window.location.hash||null!=window.location.hash&&\r\n"#G"==window.location.hash.substring(0,2)?mxscript("https://apis.google.com/js/api.js"):"0"!=urlParams.chrome||null!=window.location.hash&&"#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D"===window.location.hash.substring(0,45)||(window.DriveClient=null):window.DriveClient=null),"function"===typeof window.DropboxClient&&("0"!=urlParams.db&&isSvgBrowser&&(null==document.documentMode||9<document.documentMode)?App.mode==App.MODE_DROPBOX||null!=window.location.hash&&"#D"==window.location.hash.substring(0,\r\n2)?mxscript(App.DROPBOX_URL,function(){mxscript(App.DROPINS_URL,null,"dropboxjs",App.DROPBOX_APPKEY,!0)}):"0"==urlParams.chrome&&(window.DropboxClient=null):window.DropboxClient=null),"function"===typeof window.OneDriveClient&&("0"!=urlParams.od&&(null==navigator.userAgent||0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode)?App.mode==App.MODE_ONEDRIVE||null!=window.location.hash&&"#W"==window.location.hash.substring(0,2)?"1"==urlParams.inlinePicker||mxClient.IS_ANDROID||mxClient.IS_IOS?\r\nmxscript(App.ONEDRIVE_INLINE_PICKER_URL,function(){window.OneDrive={}}):mxscript(App.ONEDRIVE_URL):"0"==urlParams.chrome&&(window.OneDriveClient=null):window.OneDriveClient=null),"function"===typeof window.TrelloClient&&("1"==urlParams.tr&&isSvgBrowser&&!mxClient.IS_IE11&&(null==document.documentMode||10<=document.documentMode)?App.mode==App.MODE_TRELLO||null!=window.location.hash&&"#T"==window.location.hash.substring(0,2)?mxscript(App.TRELLO_JQUERY_URL,function(){mxscript(App.TRELLO_URL)}):"0"==\r\nurlParams.chrome&&(window.TrelloClient=null):window.TrelloClient=null)))})();App.clearServiceWorker=function(a){navigator.serviceWorker.getRegistrations().then(function(d){if(null!=d&&0<d.length){for(var c=0;c<d.length;c++)d[c].unregister();null!=a&&a()}})};\r\nApp.main=function(a,d){function c(b){mxUtils.getAll("1"!=urlParams.dev?[b]:[b,STYLE_PATH+"/default.xml",STYLE_PATH+"/dark-default.xml"],function(b){function c(){var b=null!=d?d():new App(new Editor("0"==urlParams.chrome||"min"==uiTheme,null,null,null,"0"!=urlParams.chrome));if(null!=window.mxscript){if("function"===typeof window.DropboxClient&&null==window.Dropbox&&null!=window.DrawDropboxClientCallback&&("1"!=urlParams.embed&&"0"!=urlParams.db||"1"==urlParams.embed&&"1"==urlParams.db)&&isSvgBrowser&&\r\n(null==document.documentMode||9<document.documentMode))mxscript(App.DROPBOX_URL,function(){mxscript(App.DROPINS_URL,function(){DrawDropboxClientCallback()},"dropboxjs",App.DROPBOX_APPKEY)});else if("undefined"===typeof window.Dropbox||"undefined"===typeof window.Dropbox.choose)window.DropboxClient=null;"function"===typeof window.OneDriveClient&&"undefined"===typeof OneDrive&&null!=window.DrawOneDriveClientCallback&&("1"!=urlParams.embed&&"0"!=urlParams.od||"1"==urlParams.embed&&"1"==urlParams.od)&&\r\n(null==navigator.userAgent||0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode)?"1"==urlParams.inlinePicker||mxClient.IS_ANDROID||mxClient.IS_IOS?mxscript(App.ONEDRIVE_INLINE_PICKER_URL,function(){window.OneDrive={};window.DrawOneDriveClientCallback()}):mxscript(App.ONEDRIVE_URL,window.DrawOneDriveClientCallback):"undefined"===typeof window.OneDrive&&(window.OneDriveClient=null);"function"===typeof window.TrelloClient&&!mxClient.IS_IE11&&"undefined"===typeof window.Trello&&null!=window.DrawTrelloClientCallback&&\r\n"1"==urlParams.tr&&(null==navigator.userAgent||0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode)?mxscript(App.TRELLO_JQUERY_URL,function(){mxscript(App.TRELLO_URL,function(){DrawTrelloClientCallback()})}):"undefined"===typeof window.Trello&&(window.TrelloClient=null)}null!=a&&a(b);"0"!=urlParams.chrome&&"1"==urlParams.test&&(EditorUi.debug("App.start",[b,(new Date).getTime()-t0.getTime()+"ms"]),null!=urlParams["export"]&&EditorUi.debug("Export:",EXPORT_URL))}mxResources.parse(b[0].getText());\r\nif(isLocalStorage&&null!=localStorage&&null!=window.location.hash&&"#_CONFIG_"==window.location.hash.substring(0,9))try{var e=function(a){if(null!=a)for(var b=0;b<a.length;b++)if(!f[a[b]])throw Error(mxResources.get("invalidInput")+\' "\'+a[b])+\'"\';return!0},f={},g;for(g in App.pluginRegistry)f[App.pluginRegistry[g]]=!0;var k=JSON.parse(Graph.decompress(window.location.hash.substring(9)));if(null!=k&&e(k.plugins)){EditorUi.debug("Setting configuration",JSON.stringify(k));if(null!=k.merge){var m=localStorage.getItem(Editor.configurationKey);\r\nif(null!=m)try{var l=JSON.parse(m);for(g in k.merge)l[g]=k.merge[g];k=l}catch(A){window.location.hash="",alert(A)}else k=k.merge}confirm(mxResources.get("configLinkWarn"))&&confirm(mxResources.get("configLinkConfirm"))&&(localStorage.setItem(Editor.configurationKey,JSON.stringify(k)),window.location.hash="",window.location.reload())}window.location.hash=""}catch(A){window.location.hash="",alert(A)}2<b.length&&(Graph.prototype.defaultThemes["default-style2"]=b[1].getDocumentElement(),Graph.prototype.defaultThemes.darkTheme=\r\nb[2].getDocumentElement());"1"==urlParams.dev||EditorUi.isElectronApp?c():(mxStencilRegistry.allowEval=!1,App.loadScripts(["js/shapes-14-6-5.min.js","js/stencils.min.js","js/extensions.min.js"],c))},function(a){a=document.getElementById("geStatus");null!=a&&(a.innerHTML="Error loading page. <a>Please try refreshing.</a>",a.getElementsByTagName("a")[0].onclick=function(){mxLanguage="en";c(mxResources.getDefaultBundle(RESOURCE_BASE,mxLanguage)||mxResources.getSpecialBundle(RESOURCE_BASE,mxLanguage))})})}\r\nfunction b(){try{if(null!=mxSettings.settings){document.body.style.backgroundColor="dark"==uiTheme||mxSettings.settings.darkMode?"#2a2a2a":"#ffffff";if(null!=mxSettings.settings.autosaveDelay){var a=parseInt(mxSettings.settings.autosaveDelay);!isNaN(a)&&0<a?(DrawioFile.prototype.autosaveDelay=a,EditorUi.debug("Setting autosaveDelay",a)):EditorUi.debug("Invalid autosaveDelay",a)}null!=mxSettings.settings.defaultEdgeLength&&(a=parseInt(mxSettings.settings.defaultEdgeLength),!isNaN(a)&&0<a?(Graph.prototype.defaultEdgeLength=\r\na,EditorUi.debug("Using defaultEdgeLength",a)):EditorUi.debug("Invalid defaultEdgeLength",a))}}catch(q){null!=window.console&&console.error(q)}if(null!=Menus.prototype.defaultFonts)for(a=0;a<Menus.prototype.defaultFonts.length;a++){var b=Menus.prototype.defaultFonts[a];"string"!==typeof b&&null!=b.fontFamily&&null!=b.fontUrl&&Graph.addFont(b.fontFamily,b.fontUrl)}mxResources.loadDefaultBundle=!1;c(mxResources.getDefaultBundle(RESOURCE_BASE,mxLanguage)||mxResources.getSpecialBundle(RESOURCE_BASE,mxLanguage))}\r\nwindow.onerror=function(a,b,c,d,e){EditorUi.logError("Global: "+(null!=a?a:""),b,c,d,e,null,!0)};if(window.top==window.self&&(/ac\\.draw\\.io$/.test(window.location.hostname)||/ac-ent\\.draw\\.io$/.test(window.location.hostname)||/aj\\.draw\\.io$/.test(window.location.hostname)))document.body.innerHTML=\'<div style="margin-top:10%;text-align:center;">Stand-alone mode not allowed for this domain.</div>\';else{if("1"==urlParams.embed||"1"==urlParams.lightbox){var g=document.getElementById("geInfo");null!=g&&\r\ng.parentNode.removeChild(g)}null!=document.referrer&&"aws3"==urlParams.libs&&"https://aws.amazon.com/architecture/icons/"==document.referrer.substring(0,42)&&(urlParams.libs="aws4");if(null!=window.mxscript){if("1"==urlParams.dev&&null!=CryptoJS&&App.mode!=App.MODE_DROPBOX&&App.mode!=App.MODE_TRELLO){g=document.getElementsByTagName("script");if(null!=g&&0<g.length){var f=mxUtils.getTextContent(g[0]);"b02227617087e21bd49f2faa15164112"!=CryptoJS.MD5(f).toString()&&(console.log("Change bootstrap script MD5 in the previous line:",\r\nCryptoJS.MD5(f).toString()),alert("[Dev] Bootstrap script change requires update of CSP"))}null!=g&&1<g.length&&(f=mxUtils.getTextContent(g[g.length-1]),"d53805dd6f0bbba2da4966491ca0a505"!=CryptoJS.MD5(f).toString()&&(console.log("Change main script MD5 in the previous line:",CryptoJS.MD5(f).toString()),alert("[Dev] Main script change requires update of CSP")))}try{Editor.enableServiceWorker&&("0"==urlParams.offline||/www\\.draw\\.io$/.test(window.location.hostname)||"1"!=urlParams.offline&&"1"==urlParams.dev)?\r\nApp.clearServiceWorker(function(){"0"==urlParams.offline&&alert("Cache cleared")}):Editor.enableServiceWorker&&navigator.serviceWorker.register("/service-worker.js")}catch(n){null!=window.console&&console.error(n)}!("ArrayBuffer"in window)||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||"auto"!=DrawioFile.SYNC||"1"==urlParams.embed&&"1"!=urlParams.embedRT||"1"==urlParams.local||"0"==urlParams.chrome&&"1"!=urlParams.rt||"1"==urlParams.stealth||"1"==urlParams.offline||(mxscript(App.PUSHER_URL),"1"==\r\nurlParams.rtCursors&&(mxscript(App.SOCKET_IO_URL),mxscript(App.SIMPLE_PEER_URL)));if("0"!=urlParams.plugins&&"1"!=urlParams.offline){g=null!=mxSettings.settings?mxSettings.getPlugins():null;if(null==mxSettings.settings&&isLocalStorage&&"undefined"!==typeof JSON)try{var m=JSON.parse(localStorage.getItem(mxSettings.key));null!=m&&(g=m.plugins)}catch(n){}m=urlParams.p;App.initPluginCallback();null!=m&&App.loadPlugins(m.split(";"));if(null!=g&&0<g.length&&"0"!=urlParams.plugins){for(var m=window.location.protocol+\r\n"//"+window.location.host,f=!0,e=0;e<g.length&&f;e++)"/"!=g[e].charAt(0)&&g[e].substring(0,m.length)!=m&&(f=!1);if(f||mxUtils.confirm(mxResources.replacePlaceholders("The page has requested to load the following plugin(s):\\n \\n {1}\\n \\n Would you like to load these plugin(s) now?\\n \\n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\\n",[g.join("\\n")]).replace(/\\\\n/g,"\\n")))for(e=0;e<g.length;e++)try{null==App.pluginsLoaded[g[e]]&&(App.pluginsLoaded[g[e]]=\r\n!0,App.embedModePluginsCount++,"/"==g[e].charAt(0)&&(g[e]=PLUGINS_BASE_PATH+g[e]),mxscript(g[e]))}catch(n){}}}"function"===typeof window.DriveClient&&"undefined"===typeof gapi&&("1"!=urlParams.embed&&"0"!=urlParams.gapi||"1"==urlParams.embed&&"1"==urlParams.gapi)&&isSvgBrowser&&isLocalStorage&&(null==document.documentMode||10<=document.documentMode)?mxscript("https://apis.google.com/js/api.js?onload=DrawGapiClientCallback",null,null,null,mxClient.IS_SVG):"undefined"===typeof window.gapi&&(window.DriveClient=\r\nnull)}"0"!=urlParams.math&&Editor.initMath();if("1"==urlParams.configure){var k=window.opener||window.parent,l=function(a){if(a.source==k)try{var c=JSON.parse(a.data);null!=c&&"configure"==c.action&&(mxEvent.removeListener(window,"message",l),Editor.configure(c.config,!0),mxSettings.load(),b())}catch(q){null!=window.console&&console.log("Error in configure message: "+q,a.data)}};mxEvent.addListener(window,"message",l);k.postMessage(JSON.stringify({event:"configure"}),"*")}else{if(null==Editor.config){if(null!=\r\nwindow.DRAWIO_CONFIG)try{EditorUi.debug("Using global configuration",window.DRAWIO_CONFIG),Editor.configure(window.DRAWIO_CONFIG),mxSettings.load()}catch(n){null!=window.console&&console.error(n)}if(isLocalStorage&&null!=localStorage&&"1"!=urlParams.embed&&(g=localStorage.getItem(Editor.configurationKey),null!=g))try{g=JSON.parse(g),null!=g&&(EditorUi.debug("Using local configuration",g),Editor.configure(g),mxSettings.load())}catch(n){null!=window.console&&console.error(n)}}b()}}};\r\nmxUtils.extend(App,EditorUi);App.prototype.defaultUserPicture=IMAGE_PATH+"/default-user.jpg";App.prototype.shareImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowOTgwMTE3NDA3MjA2ODExODhDNkFGMDBEQkQ0RTgwOSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxMjU2NzdEMTcwRDIxMUUxQjc0MDkxRDhCNUQzOEFGRCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxMjU2NzdEMDcwRDIxMUUxQjc0MDkxRDhCNUQzOEFGRCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowNjgwMTE3NDA3MjA2ODExODcxRkM4MUY1OTFDMjQ5OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNzgwMTE3NDA3MjA2ODExODhDNkFGMDBEQkQ0RTgwOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrM/fs0AAADgSURBVHjaYmDAA/7//88MwgzkAKDGFiD+BsQ/QWxSNaf9RwN37twpI8WAS+gGfP78+RpQSoRYA36iG/D379+vQClNdLVMOMz4gi7w79+/n0CKg1gD9qELvH379hzIHGK9oA508ieY8//8+fO5rq4uFCilRKwL1JmYmNhhHEZGRiZ+fn6Q2meEbDYG4u3/cYCfP38uA7kOm0ZOIJ7zn0jw48ePPiDFhmzArv8kgi9fvuwB+w5qwH9ykjswbFSZyM4sEMDPBDTlL5BxkFSd7969OwZ2BZKYGhDzkmjOJ4AAAwBhpRqGnEFb8QAAAABJRU5ErkJggg==";\r\nApp.prototype.chevronUpImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg2NEE3NUY1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg2NEE3NjA1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ODY0QTc1RDUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0ODY0QTc1RTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pg+qUokAAAAMUExURQAAANnZ2b+/v////5bgre4AAAAEdFJOU////wBAKqn0AAAAL0lEQVR42mJgRgMMRAswMKAKMDDARBjg8lARBoR6KImkH0wTbygT6YaS4DmAAAMAYPkClOEDDD0AAAAASUVORK5CYII=":\r\nIMAGE_PATH+"/chevron-up.png";\r\nApp.prototype.chevronDownImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg2NEE3NUI1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg2NEE3NUM1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ODY0QTc1OTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0ODY0QTc1QTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsCtve8AAAAMUExURQAAANnZ2b+/v////5bgre4AAAAEdFJOU////wBAKqn0AAAALUlEQVR42mJgRgMMRAkwQEXBNAOcBSPhclB1cNVwfcxI+vEZykSpoSR6DiDAAF23ApT99bZ+AAAAAElFTkSuQmCC":IMAGE_PATH+\r\n"/chevron-down.png";\r\nApp.prototype.formatShowImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODdCREY5REY1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODdCREY5RTA1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4N0JERjlERDU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4N0JERjlERTU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PlnMQ/8AAAAJUExURQAAAP///3FxcTfTiAsAAAACdFJOU/8A5bcwSgAAACFJREFUeNpiYEQDDEQJMMABTAAixcQ00ALoDiPRcwABBgB6DADly9Yx8wAAAABJRU5ErkJggg==":IMAGE_PATH+\r\n"/format-show.png";\r\nApp.prototype.formatHideImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODdCREY5REI1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODdCREY5REM1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4N0JERjlEOTU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4N0JERjlEQTU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqjT9SMAAAAGUExURQAAAP///6XZn90AAAACdFJOU/8A5bcwSgAAAB9JREFUeNpiYEQDDEQJMMABTAAmNdAC6A4j0XMAAQYAcbwA1Xvj1CgAAAAASUVORK5CYII=":IMAGE_PATH+\r\n"/format-hide.png";App.prototype.fullscreenImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAAAAAClZ7nPAAAAAXRSTlMAQObYZgAAABpJREFUCNdjgAAbGxAy4AEh5gNwBBGByoIBAIueBd12TUjqAAAAAElFTkSuQmCC":IMAGE_PATH+"/fullscreen.png";App.prototype.warnInterval=3E5;App.prototype.compactMode=!1;App.prototype.fullscreenMode=!1;"1"!=urlParams.embed?App.prototype.menubarHeight=64:App.prototype.footerHeight=0;\r\nApp.initPluginCallback=function(){null==App.DrawPlugins&&(App.DrawPlugins=[],window.Draw={},window.Draw.loadPlugin=function(a){App.DrawPlugins.push(a)})};App.pluginsLoaded={};App.embedModePluginsCount=0;\r\nApp.loadPlugins=function(a,d){EditorUi.debug("Loading plugins",a);for(var c=0;c<a.length;c++)if(null!=a[c]&&0<a[c].length)try{var b=PLUGINS_BASE_PATH+App.pluginRegistry[a[c]];null!=b?null==App.pluginsLoaded[b]&&(App.pluginsLoaded[b]=!0,App.embedModePluginsCount++,"undefined"===typeof window.drawDevUrl?d?mxinclude(b):mxscript(b):d?mxinclude(b):mxscript(drawDevUrl+b)):null!=window.console&&console.log("Unknown plugin:",a[c])}catch(g){null!=window.console&&console.log("Error loading plugin:",a[c],g)}};\r\nApp.prototype.initializeEmbedMode=function(){"1"==urlParams.embed&&("app.diagrams.net"==window.location.hostname&&this.showBanner("EmbedDeprecationFooter","app.diagrams.net will stop working for embed mode. Please use embed.diagrams.net."),0<App.embedModePluginsCount||this.initEmbedDone||(this.initEmbedDone=!0,EditorUi.prototype.initializeEmbedMode.apply(this,arguments)))};\r\nApp.prototype.initializeViewerMode=function(){var a=window.opener||window.parent;null!=a&&this.editor.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(){a.postMessage(JSON.stringify(this.createLoadMessage("size")),"*")}))};\r\nApp.prototype.init=function(){EditorUi.prototype.init.apply(this,arguments);this.defaultLibraryName=mxResources.get("untitledLibrary");this.descriptorChangedListener=mxUtils.bind(this,this.descriptorChanged);this.gitHub=mxClient.IS_IE&&10!=document.documentMode&&!mxClient.IS_IE11&&!mxClient.IS_EDGE||"0"==urlParams.gh||"1"==urlParams.embed&&"1"!=urlParams.gh?null:new GitHubClient(this);null!=this.gitHub&&this.gitHub.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()}));\r\nthis.gitLab=mxClient.IS_IE&&10!=document.documentMode&&!mxClient.IS_IE11&&!mxClient.IS_EDGE||"0"==urlParams.gl||"1"==urlParams.embed&&"1"!=urlParams.gl?null:new GitLabClient(this);null!=this.gitLab&&this.gitLab.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()}));this.notion="1"==urlParams.ntn?new NotionClient(this):null;null!=this.notion&&this.notion.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()}));\r\nif("1"!=urlParams.embed||"1"==urlParams.od){var a=mxUtils.bind(this,function(){"undefined"!==typeof OneDrive?(this.oneDrive=new OneDriveClient(this),this.oneDrive.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()})),this.fireEvent(new mxEventObject("clientLoaded","client",this.oneDrive))):null==window.DrawOneDriveClientCallback&&(window.DrawOneDriveClientCallback=a)});a()}if("1"!=urlParams.embed||"1"==urlParams.tr){var d=mxUtils.bind(this,function(){if("undefined"!==\r\ntypeof window.Trello)try{this.trello=new TrelloClient(this),this.trello.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()})),this.fireEvent(new mxEventObject("clientLoaded","client",this.trello))}catch(f){null!=window.console&&console.error(f)}else null==window.DrawTrelloClientCallback&&(window.DrawTrelloClientCallback=d)});d()}if("1"!=urlParams.embed||"1"==urlParams.gapi){var c=mxUtils.bind(this,function(){if("undefined"!==typeof gapi){var a=\r\nmxUtils.bind(this,function(){this.drive=new DriveClient(this);this.drive.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries();this.checkLicense()}));this.fireEvent(new mxEventObject("clientLoaded","client",this.drive))});null!=window.DrawGapiClientCallback?(gapi.load(("0"!=urlParams.picker?"picker,":"")+App.GOOGLE_APIS,a),window.DrawGapiClientCallback=null):a()}else null==window.DrawGapiClientCallback&&(window.DrawGapiClientCallback=c)});c()}if("1"!=\r\nurlParams.embed||"1"==urlParams.db){var b=mxUtils.bind(this,function(){if("function"===typeof Dropbox&&"undefined"!==typeof Dropbox.choose){window.DrawDropboxClientCallback=null;try{this.dropbox=new DropboxClient(this),this.dropbox.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()})),this.fireEvent(new mxEventObject("clientLoaded","client",this.dropbox))}catch(f){null!=window.console&&console.error(f)}}else null==window.DrawDropboxClientCallback&&\r\n(window.DrawDropboxClientCallback=b)});b()}if("1"!=urlParams.embed){if(this.bg=this.createBackground(),document.body.appendChild(this.bg),this.diagramContainer.style.visibility="hidden",this.formatContainer.style.visibility="hidden",this.hsplit.style.display="none",this.sidebarContainer.style.display="none",this.sidebarFooterContainer.style.display="none","1"==urlParams.local?this.setMode(App.MODE_DEVICE):this.mode=App.mode,"serviceWorker"in navigator&&!this.editor.isChromelessView()&&(mxClient.IS_ANDROID||\r\nmxClient.IS_IOS)&&window.addEventListener("beforeinstallprompt",mxUtils.bind(this,function(a){this.showBanner("AddToHomeScreenFooter",mxResources.get("installApp"),function(){a.prompt()})})),mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||this.isOffline()||mxClient.IS_ANDROID||mxClient.IS_IOS||null!=urlParams.open||this.editor.chromeless&&!this.editor.editable||this.editor.addListener("fileLoaded",mxUtils.bind(this,function(){var a=this.getCurrentFile(),a=null!=a?a.getMode():null;a==App.MODE_DEVICE||\r\na==App.MODE_BROWSER?this.showDownloadDesktopBanner():"1"!=urlParams.embed&&this.getServiceName()})),!(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||"1"==urlParams.embed||"auto"!=DrawioFile.SYNC||"1"==urlParams.local||"1"==urlParams.stealth||this.isOffline()||this.editor.chromeless&&!this.editor.editable)){var g=window.setTimeout(mxUtils.bind(this,function(){DrawioFile.SYNC="manual";var a=this.getCurrentFile();null!=a&&null!=a.sync&&(a.sync.destroy(),a.sync=null,a=mxUtils.htmlEntities(mxResources.get("timeout")),\r\nthis.editor.setStatus(\'<div title="\'+a+\'" class="geStatusAlert" style="overflow:hidden;">\'+a+"</div>"));EditorUi.logEvent({category:"TIMEOUT-CACHE-CHECK",action:"timeout",label:408})}),Editor.cacheTimeout);(new Date).getTime();mxUtils.get(EditorUi.cacheUrl+"?alive",mxUtils.bind(this,function(a){window.clearTimeout(g)}))}}else null!=this.menubar&&(this.menubar.container.style.paddingTop="0px");this.updateHeader();null!=this.menubar&&(this.buttonContainer=document.createElement("div"),this.buttonContainer.style.display=\r\n"inline-block",this.buttonContainer.style.paddingRight="48px",this.buttonContainer.style.position="absolute",this.buttonContainer.style.right="0px",this.menubar.container.appendChild(this.buttonContainer));"atlas"==uiTheme&&null!=this.menubar&&(null!=this.toggleElement&&(this.toggleElement.click(),this.toggleElement.style.display="none"),this.icon=document.createElement("img"),this.icon.setAttribute("src",IMAGE_PATH+"/logo-flat-small.png"),this.icon.setAttribute("title",mxResources.get("draw.io")),\r\nthis.icon.style.padding="6px",this.icon.style.cursor="pointer",mxEvent.addListener(this.icon,"click",mxUtils.bind(this,function(a){this.appIconClicked(a)})),this.menubar.container.insertBefore(this.icon,this.menubar.container.firstChild));this.editor.graph.isViewer()&&this.initializeViewerMode()};\r\nApp.prototype.scheduleSanityCheck=function(){mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null!=this.sanityCheckThread||(this.sanityCheckThread=window.setTimeout(mxUtils.bind(this,function(){this.sanityCheckThread=null;this.sanityCheck()}),this.warnInterval))};App.prototype.stopSanityCheck=function(){null!=this.sanityCheckThread&&(window.clearTimeout(this.sanityCheckThread),this.sanityCheckThread=null)};\r\nApp.prototype.sanityCheck=function(){var a=this.getCurrentFile();if(null!=a&&a.isModified()&&a.isAutosave()&&a.isOverdue()){var d={category:"WARN-FILE-"+a.getHash(),action:(a.savingFile?"saving":"")+(a.savingFile&&null!=a.savingFileTime?"_"+Math.round((Date.now()-a.savingFileTime.getTime())/1E3):"")+(null!=a.saveLevel?"-sl_"+a.saveLevel:"")+"-age_"+(null!=a.ageStart?Math.round((Date.now()-a.ageStart.getTime())/1E3):"x")+(this.editor.autosave?"":"-nosave")+(a.isAutosave()?"":"-noauto")+"-open_"+(null!=\r\na.opened?Math.round((Date.now()-a.opened.getTime())/1E3):"x")+"-save_"+(null!=a.lastSaved?Math.round((Date.now()-a.lastSaved.getTime())/1E3):"x")+"-change_"+(null!=a.lastChanged?Math.round((Date.now()-a.lastChanged.getTime())/1E3):"x")+"-alive_"+Math.round((Date.now()-App.startTime.getTime())/1E3),label:null!=a.sync?"client_"+a.sync.clientId:"nosync"};a.constructor==DriveFile&&null!=a.desc&&null!=this.drive&&(d.label+=(null!=this.drive.user?"-user_"+this.drive.user.id:"-nouser")+"-rev_"+a.desc.headRevisionId+\r\n"-mod_"+a.desc.modifiedDate+"-size_"+a.getSize()+"-mime_"+a.desc.mimeType);EditorUi.logEvent(d);d=mxResources.get("ensureDataSaved");null!=a.lastSaved&&(d=this.timeSince(a.lastSaved),null==d&&(d=mxResources.get("lessThanAMinute")),d=mxResources.get("lastSaved",[d]));this.spinner.stop();this.showError(mxResources.get("unsavedChanges"),d,mxResources.get("ignore"),mxUtils.bind(this,function(){this.hideDialog()}),null,mxResources.get("save"),mxUtils.bind(this,function(){this.stopSanityCheck();this.actions.get(null!=\r\nthis.mode&&a.isEditable()?"save":"saveAs").funct()}),null,null,360,120,null,mxUtils.bind(this,function(){this.scheduleSanityCheck()}))}};App.prototype.isDriveDomain=function(){return"0"!=urlParams.drive&&("test.draw.io"==window.location.hostname||"www.draw.io"==window.location.hostname||"drive.draw.io"==window.location.hostname||"app.diagrams.net"==window.location.hostname||"jgraph.github.io"==window.location.hostname)};\r\nApp.prototype.getPusher=function(){null==this.pusher&&"function"===typeof window.Pusher&&(this.pusher=new Pusher(App.PUSHER_KEY,{cluster:App.PUSHER_CLUSTER,encrypted:!0}));return this.pusher};App.prototype.showNameChangeBanner=function(){this.showBanner("DiagramsFooter","draw.io is now diagrams.net",mxUtils.bind(this,function(){this.openLink("https://www.diagrams.net/blog/move-diagrams-net")}))};\r\nApp.prototype.showNameConfBanner=function(){this.showBanner("ConfFooter","Try draw.io for Confluence",mxUtils.bind(this,function(){this.openLink("https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-for-confluence")}),!0)};App.prototype.showDownloadDesktopBanner=function(){this.showBanner("DesktopFooter",mxResources.get("downloadDesktop"),mxUtils.bind(this,function(){this.openLink("https://get.diagrams.net/")}))};\r\nApp.prototype.showRatingBanner=function(){if(!(this.bannerShowing||this.hideBannerratingFooter||isLocalStorage&&null!=mxSettings.settings&&null!=mxSettings.settings.closeratingFooter)){var a=document.createElement("div");a.style.cssText="position:absolute;bottom:10px;left:50%;max-width:90%;padding:18px 34px 12px 20px;font-size:16px;font-weight:bold;white-space:nowrap;cursor:pointer;z-index:"+mxPopupMenu.prototype.zIndex+";";mxUtils.setPrefixedStyle(a.style,"box-shadow","1px 1px 2px 0px #ddd");mxUtils.setPrefixedStyle(a.style,\r\n"transform","translate(-50%,120%)");mxUtils.setPrefixedStyle(a.style,"transition","all 1s ease");a.className="geBtn gePrimaryBtn";var d=document.createElement("img");d.setAttribute("src",Dialog.prototype.closeImage);d.setAttribute("title",mxResources.get("close"));d.setAttribute("border","0");d.style.cssText="position:absolute;right:10px;top:12px;filter:invert(1);padding:6px;margin:-6px;cursor:default;";a.appendChild(d);mxUtils.write(a,"Please rate us");document.body.appendChild(a);var c=document.createElement("img");\r\nc.setAttribute("border","0");c.setAttribute("align","absmiddle");c.setAttribute("title","1 star");c.setAttribute("style","margin-top:-6px;cursor:pointer;margin-left:8px;");c.setAttribute("src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAQRdEVYdFhNTDpjb20uYWRvYmUueG1wADw/eHBhY2tldCBiZWdpbj0iICAgIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDQuMS1jMDM0IDQ2LjI3Mjk3NiwgU2F0IEphbiAyNyAyMDA3IDIyOjExOjQxICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4YXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iPgogICAgICAgICA8eGFwOkNyZWF0b3JUb29sPkFkb2JlIEZpcmV3b3JrcyBDUzM8L3hhcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhhcDpDcmVhdGVEYXRlPjIwMDgtMDItMTdUMDI6MzY6NDVaPC94YXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhhcDpNb2RpZnlEYXRlPjIwMDktMDMtMTdUMTQ6MTI6MDJaPC94YXA6TW9kaWZ5RGF0ZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIIImu8AAAAAVdEVYdENyZWF0aW9uIFRpbWUAMi8xNy8wOCCcqlgAAAHuSURBVDiNlZJBi1JRGIbfk+fc0ZuMXorJe4XujWoMdREaA23HICj6AQeLINr0C4I27ab27VqOI9+q/sH8gMDceG1RkIwgClEXFMbRc5zTZgZURmG+5fu9PN/7Hg6wZohoh4h21nn4uqXW+q0xZgzg+SrPlTXX73uet+26bp6ICpcGaK1fua57M5vN3tZav7gUgIiSqVTqcRAEm0EQbCaTyQoRXb3Iy4hoG8CT6XSaY4xtMMaSQohMPp8v+r7vAEC3243CMGwqpfoApsaYE8uyfgM45ABOjDEvXdfNlMvlzFINAIDneY7neZVzvdlsDgaDQYtzfsjOIjtKqU+e5+0Wi0V3VV8ACMOw3+/3v3HOX0sp/7K53te11h/S6fRuoVAIhBAL76OUOm2320dRFH0VQuxJKf8BAFu+UKvVvpRKpWe2bYt5fTweq0ajQUKIN1LK43N94SMR0Y1YLLYlhBBKqQUw51wkEol7WmuzoC8FuJtIJLaUUoii6Ljb7f4yxpz6vp9zHMe2bfvacDi8BeDHKkBuNps5rVbr52QyaVuW9ZExttHpdN73ej0/Ho+nADxYCdBaV0aj0RGAz5ZlHUgpx2erR/V6/d1wOHwK4CGA/QsBnPN9AN+llH+WkqFare4R0QGAO/M6M8Ysey81/wGqa8MlVvHPNAAAAABJRU5ErkJggg==");\r\na.appendChild(c);var b=document.createElement("img");b.setAttribute("border","0");b.setAttribute("align","absmiddle");b.setAttribute("title","2 star");b.setAttribute("style","margin-top:-6px;margin-left:3px;cursor:pointer;");b.setAttribute("src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAQRdEVYdFhNTDpjb20uYWRvYmUueG1wADw/eHBhY2tldCBiZWdpbj0iICAgIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDQuMS1jMDM0IDQ2LjI3Mjk3NiwgU2F0IEphbiAyNyAyMDA3IDIyOjExOjQxICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4YXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iPgogICAgICAgICA8eGFwOkNyZWF0b3JUb29sPkFkb2JlIEZpcmV3b3JrcyBDUzM8L3hhcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhhcDpDcmVhdGVEYXRlPjIwMDgtMDItMTdUMDI6MzY6NDVaPC94YXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhhcDpNb2RpZnlEYXRlPjIwMDktMDMtMTdUMTQ6MTI6MDJaPC94YXA6TW9kaWZ5RGF0ZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIIImu8AAAAAVdEVYdENyZWF0aW9uIFRpbWUAMi8xNy8wOCCcqlgAAAHuSURBVDiNlZJBi1JRGIbfk+fc0ZuMXorJe4XujWoMdREaA23HICj6AQeLINr0C4I27ab27VqOI9+q/sH8gMDceG1RkIwgClEXFMbRc5zTZgZURmG+5fu9PN/7Hg6wZohoh4h21nn4uqXW+q0xZgzg+SrPlTXX73uet+26bp6ICpcGaK1fua57M5vN3tZav7gUgIiSqVTqcRAEm0EQbCaTyQoRXb3Iy4hoG8CT6XSaY4xtMMaSQohMPp8v+r7vAEC3243CMGwqpfoApsaYE8uyfgM45ABOjDEvXdfNlMvlzFINAIDneY7neZVzvdlsDgaDQYtzfsjOIjtKqU+e5+0Wi0V3VV8ACMOw3+/3v3HOX0sp/7K53te11h/S6fRuoVAIhBAL76OUOm2320dRFH0VQuxJKf8BAFu+UKvVvpRKpWe2bYt5fTweq0ajQUKIN1LK43N94SMR0Y1YLLYlhBBKqQUw51wkEol7WmuzoC8FuJtIJLaUUoii6Ljb7f4yxpz6vp9zHMe2bfvacDi8BeDHKkBuNps5rVbr52QyaVuW9ZExttHpdN73ej0/Ho+nADxYCdBaV0aj0RGAz5ZlHUgpx2erR/V6/d1wOHwK4CGA/QsBnPN9AN+llH+WkqFare4R0QGAO/M6M8Ysey81/wGqa8MlVvHPNAAAAABJRU5ErkJggg==");\r\na.appendChild(b);var g=document.createElement("img");g.setAttribute("border","0");g.setAttribute("align","absmiddle");g.setAttribute("title","3 star");g.setAttribute("style","margin-top:-6px;margin-left:3px;cursor:pointer;");g.setAttribute("src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAQRdEVYdFhNTDpjb20uYWRvYmUueG1wADw/eHBhY2tldCBiZWdpbj0iICAgIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDQuMS1jMDM0IDQ2LjI3Mjk3NiwgU2F0IEphbiAyNyAyMDA3IDIyOjExOjQxICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4YXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iPgogICAgICAgICA8eGFwOkNyZWF0b3JUb29sPkFkb2JlIEZpcmV3b3JrcyBDUzM8L3hhcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhhcDpDcmVhdGVEYXRlPjIwMDgtMDItMTdUMDI6MzY6NDVaPC94YXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhhcDpNb2RpZnlEYXRlPjIwMDktMDMtMTdUMTQ6MTI6MDJaPC94YXA6TW9kaWZ5RGF0ZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIIImu8AAAAAVdEVYdENyZWF0aW9uIFRpbWUAMi8xNy8wOCCcqlgAAAHuSURBVDiNlZJBi1JRGIbfk+fc0ZuMXorJe4XujWoMdREaA23HICj6AQeLINr0C4I27ab27VqOI9+q/sH8gMDceG1RkIwgClEXFMbRc5zTZgZURmG+5fu9PN/7Hg6wZohoh4h21nn4uqXW+q0xZgzg+SrPlTXX73uet+26bp6ICpcGaK1fua57M5vN3tZav7gUgIiSqVTqcRAEm0EQbCaTyQoRXb3Iy4hoG8CT6XSaY4xtMMaSQohMPp8v+r7vAEC3243CMGwqpfoApsaYE8uyfgM45ABOjDEvXdfNlMvlzFINAIDneY7neZVzvdlsDgaDQYtzfsjOIjtKqU+e5+0Wi0V3VV8ACMOw3+/3v3HOX0sp/7K53te11h/S6fRuoVAIhBAL76OUOm2320dRFH0VQuxJKf8BAFu+UKvVvpRKpWe2bYt5fTweq0ajQUKIN1LK43N94SMR0Y1YLLYlhBBKqQUw51wkEol7WmuzoC8FuJtIJLaUUoii6Ljb7f4yxpz6vp9zHMe2bfvacDi8BeDHKkBuNps5rVbr52QyaVuW9ZExttHpdN73ej0/Ho+nADxYCdBaV0aj0RGAz5ZlHUgpx2erR/V6/d1wOHwK4CGA/QsBnPN9AN+llH+WkqFare4R0QGAO/M6M8Ysey81/wGqa8MlVvHPNAAAAABJRU5ErkJggg==");\r\na.appendChild(g);var f=document.createElement("img");f.setAttribute("border","0");f.setAttribute("align","absmiddle");f.setAttribute("title","4 star");f.setAttribute("style","margin-top:-6px;margin-left:3px;cursor:pointer;");f.setAttribute("src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAQRdEVYdFhNTDpjb20uYWRvYmUueG1wADw/eHBhY2tldCBiZWdpbj0iICAgIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDQuMS1jMDM0IDQ2LjI3Mjk3NiwgU2F0IEphbiAyNyAyMDA3IDIyOjExOjQxICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4YXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iPgogICAgICAgICA8eGFwOkNyZWF0b3JUb29sPkFkb2JlIEZpcmV3b3JrcyBDUzM8L3hhcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhhcDpDcmVhdGVEYXRlPjIwMDgtMDItMTdUMDI6MzY6NDVaPC94YXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhhcDpNb2RpZnlEYXRlPjIwMDktMDMtMTdUMTQ6MTI6MDJaPC94YXA6TW9kaWZ5RGF0ZT4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIIImu8AAAAAVdEVYdENyZWF0aW9uIFRpbWUAMi8xNy8wOCCcqlgAAAHuSURBVDiNlZJBi1JRGIbfk+fc0ZuMXorJe4XujWoMdREaA23HICj6AQeLINr0C4I27ab27VqOI9+q/sH8gMDceG1RkIwgClEXFMbRc5zTZgZURmG+5fu9PN/7Hg6wZohoh4h21nn4uqXW+q0xZgzg+SrPlTXX73uet+26bp6ICpcGaK1fua57M5vN3tZav7gUgIiSqVTqcRAEm0EQbCaTyQoRXb3Iy4hoG8CT6XSaY4xtMMaSQohMPp8v+r7vAEC3243CMGwqpfoApsaYE8uyfgM45ABOjDEvXdfNlMvlzFINAIDneY7neZVzvdlsDgaDQYtzfsjOIjtKqU+e5+0Wi0V3VV8ACMOw3+/3v3HOX0sp/7K53te11h/S6fRuoVAIhBAL76OUOm2320dRFH0VQuxJKf8BAFu+UKvVvpRKpWe2bYt5fTweq0ajQUKIN1LK43N94SMR0Y1YLLYlhBBKqQUw51wkEol7WmuzoC8FuJtIJLaUUoii6Ljb7f4yxpz6vp9zHMe2bfvacDi8BeDHKkBuNps5rVbr52QyaVuW9ZExttHpdN73ej0/Ho+nADxYCdBaV0aj0RGAz5ZlHUgpx2erR/V6/d1wOHwK4CGA/QsBnPN9AN+llH+WkqFare4R0QGAO/M6M8Ysey81/wGqa8MlVvHPNAAAAABJRU5ErkJggg==");\r\na.appendChild(f);this.bannerShowing=!0;var m=mxUtils.bind(this,function(){null!=a.parentNode&&(a.parentNode.removeChild(a),this.bannerShowing=!1,this.hideBannerratingFooter=!0,isLocalStorage&&null!=mxSettings.settings&&(mxSettings.settings.closeratingFooter=Date.now(),mxSettings.save()))});mxEvent.addListener(d,"click",mxUtils.bind(this,function(a){mxEvent.consume(a);m()}));mxEvent.addListener(c,"click",mxUtils.bind(this,function(a){mxEvent.consume(a);m()}));mxEvent.addListener(b,"click",mxUtils.bind(this,\r\nfunction(a){mxEvent.consume(a);m()}));mxEvent.addListener(g,"click",mxUtils.bind(this,function(a){mxEvent.consume(a);m()}));mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){mxEvent.consume(a);window.open("https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-for-confluence?hosting=datacenter&tab=reviews");m()}));d=mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform","translate(-50%,120%)");window.setTimeout(mxUtils.bind(this,function(){m()}),1E3)});window.setTimeout(mxUtils.bind(this,\r\nfunction(){mxUtils.setPrefixedStyle(a.style,"transform","translate(-50%,0%)")}),500);window.setTimeout(d,6E4)}};\r\nApp.prototype.checkLicense=function(){var a=this.drive.getUser(),d=("1"==urlParams.dev?urlParams.lic:null)||(null!=a?a.email:null);if(!this.isOffline()&&!this.editor.chromeless&&null!=d){var c=d.lastIndexOf("@"),b=d;0<=c&&(b=d.substring(c+1),d=Editor.crc32(d.substring(0,c))+"@"+b);mxUtils.post("/license","domain="+encodeURIComponent(b)+"&email="+encodeURIComponent(d)+"&lc="+encodeURIComponent(a.locale)+"&ts="+(new Date).getTime(),mxUtils.bind(this,function(a){try{if(200<=a.getStatus()&&299>=a.getStatus()){var c=\r\na.getText();if(0<c.length){var d=JSON.parse(c);null!=d&&this.handleLicense(d,b)}}}catch(e){}}))}};App.prototype.handleLicense=function(a,d){null!=a&&null!=a.plugins&&App.loadPlugins(a.plugins.split(";"),!0)};App.prototype.getEditBlankXml=function(){var a=this.getCurrentFile();return null!=a&&this.editor.isChromelessView()&&this.editor.graph.isLightboxView()?a.getData():this.getFileData(!0)};App.prototype.updateActionStates=function(){EditorUi.prototype.updateActionStates.apply(this,arguments);this.actions.get("revisionHistory").setEnabled(this.isRevisionHistoryEnabled())};\r\nApp.prototype.addRecent=function(a){if(isLocalStorage&&null!=localStorage){var d=this.getRecent();if(null==d)d=[];else for(var c=0;c<d.length;c++)d[c].id==a.id&&d.splice(c,1);null!=d&&(d.unshift(a),d=d.slice(0,10),localStorage.setItem(".recent",JSON.stringify(d)))}};App.prototype.getRecent=function(){if(isLocalStorage&&null!=localStorage){try{var a=localStorage.getItem(".recent");if(null!=a)return JSON.parse(a)}catch(d){}return null}};\r\nApp.prototype.resetRecent=function(a){if(isLocalStorage&&null!=localStorage)try{localStorage.removeItem(".recent")}catch(d){}};\r\nApp.prototype.onBeforeUnload=function(){if("1"==urlParams.embed&&this.editor.modified)return mxResources.get("allChangesLost");var a=this.getCurrentFile();if(null!=a)if(a.constructor!=LocalFile||""!=a.getHash()||a.isModified()||"1"==urlParams.nowarn||this.isDiagramEmpty()||null!=urlParams.url||this.editor.isChromelessView()||null!=a.fileHandle){if(a.isModified())return mxResources.get("allChangesLost");a.close(!0)}else return mxResources.get("ensureDataSaved")};\r\nApp.prototype.updateDocumentTitle=function(){if(!this.editor.graph.isLightboxView()){var a=this.editor.appName,d=this.getCurrentFile();this.isOfflineApp()&&(a+=" app");null!=d&&(a=(null!=d.getTitle()?d.getTitle():this.defaultFilename)+" - "+a);document.title!=a&&(document.title=a,a=this.editor.graph,a.invalidateDescendantsWithPlaceholders(a.model.getRoot()),a.view.validate())}};\r\nApp.prototype.getThumbnail=function(a,d){var c=!1;try{var b=!0,g=window.setTimeout(mxUtils.bind(this,function(){b=!1;d(null)}),this.timeout),f=mxUtils.bind(this,function(a){window.clearTimeout(g);b&&d(a)});null==this.thumbImageCache&&(this.thumbImageCache={});var m=this.editor.graph,e=null!=m.themes&&"darkTheme"==m.defaultThemeName;if(null!=this.pages&&(e||this.currentPage!=this.pages[0])){var k=m.getGlobalVariable,m=this.createTemporaryGraph(e?m.getDefaultStylesheet():m.getStylesheet()),l=this.pages[0];\r\ne&&(m.defaultThemeName="default");m.getGlobalVariable=function(a){return"page"==a?l.getName():"pagenumber"==a?1:k.apply(this,arguments)};m.getGlobalVariable=k;document.body.appendChild(m.container);m.model.setRoot(l.root)}if(mxClient.IS_CHROMEAPP||this.useCanvasForExport)this.editor.exportToCanvas(mxUtils.bind(this,function(a){try{m!=this.editor.graph&&null!=m.container.parentNode&&m.container.parentNode.removeChild(m.container)}catch(E){a=null}f(a)}),a,this.thumbImageCache,"#ffffff",function(){f()},\r\nnull,null,null,null,null,null,m),c=!0;else if(this.canvasSupported&&null!=this.getCurrentFile()){var n=document.createElement("canvas"),p=m.getGraphBounds(),q=a/p.width,q=Math.min(1,Math.min(3*a/(4*p.height),q)),u=Math.floor(p.x),t=Math.floor(p.y);n.setAttribute("width",Math.ceil(q*(p.width+4)));n.setAttribute("height",Math.ceil(q*(p.height+4)));var v=n.getContext("2d");v.scale(q,q);v.translate(-u,-t);var z=m.background;if(null==z||""==z||z==mxConstants.NONE)z="#ffffff";v.save();v.fillStyle=z;v.fillRect(u,\r\nt,Math.ceil(p.width+4),Math.ceil(p.height+4));v.restore();var y=new mxJsCanvas(n),x=new mxAsyncCanvas(this.thumbImageCache);y.images=this.thumbImageCache.images;var A=new mxImageExport;A.drawShape=function(a,b){a.shape instanceof mxShape&&a.shape.checkBounds()&&(b.save(),b.translate(.5,.5),a.shape.paint(b),b.translate(-.5,-.5),b.restore())};A.drawText=function(a,b){};A.drawState(m.getView().getState(m.model.root),x);x.finish(mxUtils.bind(this,function(){try{A.drawState(m.getView().getState(m.model.root),\r\ny),m!=this.editor.graph&&null!=m.container.parentNode&&m.container.parentNode.removeChild(m.container)}catch(B){n=null}f(n)}));c=!0}}catch(B){c=!1,null!=m&&m!=this.editor.graph&&null!=m.container.parentNode&&m.container.parentNode.removeChild(m.container)}c||window.clearTimeout(g);return c};\r\nApp.prototype.createBackground=function(){var a=this.createDiv("background");a.style.position="absolute";a.style.background="white";a.style.left="0px";a.style.top="0px";a.style.bottom="0px";a.style.right="0px";mxUtils.setOpacity(a,100);return a};\r\n(function(){var a=EditorUi.prototype.setMode;App.prototype.setMode=function(d,c){a.apply(this,arguments);null!=this.mode&&(Editor.useLocalStorage=this.mode==App.MODE_BROWSER);if(null!=this.appIcon){var b=this.getCurrentFile();d=null!=b?b.getMode():d;d==App.MODE_GOOGLE?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("googleDrive")])),this.appIcon.style.cursor="pointer"):d==App.MODE_DROPBOX?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("dropbox")])),\r\nthis.appIcon.style.cursor="pointer"):d==App.MODE_ONEDRIVE?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("oneDrive")])),this.appIcon.style.cursor="pointer"):(this.appIcon.removeAttribute("title"),this.appIcon.style.cursor=d==App.MODE_DEVICE?"pointer":"default")}if(c)try{if(isLocalStorage)localStorage.setItem(".mode",d);else if("undefined"!=typeof Storage){var g=new Date;g.setYear(g.getFullYear()+1);document.cookie="MODE="+d+"; expires="+g.toUTCString()}}catch(f){}}})();\r\nApp.prototype.appIconClicked=function(a){if(mxEvent.isAltDown(a))this.showSplash(!0);else{var d=this.getCurrentFile(),c=null!=d?d.getMode():null;c==App.MODE_GOOGLE?null!=d&&null!=d.desc&&null!=d.desc.parents&&0<d.desc.parents.length&&!mxEvent.isShiftDown(a)?this.openLink("https://drive.google.com/drive/folders/"+d.desc.parents[0].id):null!=d&&null!=d.getId()?this.openLink("https://drive.google.com/open?id="+d.getId()):this.openLink("https://drive.google.com/?authuser=0"):c==App.MODE_ONEDRIVE?null!=\r\nd&&null!=d.meta&&null!=d.meta.webUrl?(c=d.meta.webUrl,d=encodeURIComponent(d.meta.name),c.substring(c.length-d.length,c.length)==d&&(c=c.substring(0,c.length-d.length)),this.openLink(c)):this.openLink("https://onedrive.live.com/"):c==App.MODE_DROPBOX?null!=d&&null!=d.stat&&null!=d.stat.path_display?(c="https://www.dropbox.com/home/Apps/drawio"+d.stat.path_display,mxEvent.isShiftDown(a)||(c=c.substring(0,c.length-d.stat.name.length)),this.openLink(c)):this.openLink("https://www.dropbox.com/"):c==App.MODE_TRELLO?\r\nthis.openLink("https://trello.com/"):c==App.MODE_NOTION?this.openLink("https://www.notion.so/"):c==App.MODE_GITHUB?null!=d&&d.constructor==GitHubFile?this.openLink(d.meta.html_url):this.openLink("https://github.com/"):c==App.MODE_GITLAB?null!=d&&d.constructor==GitLabFile?this.openLink(d.meta.html_url):this.openLink(DRAWIO_GITLAB_URL):c==App.MODE_DEVICE&&this.openLink("https://get.draw.io/")}mxEvent.consume(a)};\r\nApp.prototype.clearMode=function(){if(isLocalStorage)localStorage.removeItem(".mode");else if("undefined"!=typeof Storage){var a=new Date;a.setYear(a.getFullYear()-1);document.cookie="MODE=; expires="+a.toUTCString()}};App.prototype.getDiagramId=function(){var a=window.location.hash;null!=a&&0<a.length&&(a=a.substring(1));if(null!=a&&1<a.length&&"T"==a.charAt(0)){var d=a.indexOf("#");0<d&&(a=a.substring(0,d))}return a};\r\nApp.prototype.open=function(){try{if(null!=window.opener){var a=urlParams.create;null!=a&&(a=decodeURIComponent(a));if(null!=a&&0<a.length&&"http://"!=a.substring(0,7)&&"https://"!=a.substring(0,8)){var d=mxUtils.parseXml(window.opener[a]);this.editor.setGraphXml(d.documentElement)}else null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(a,b,d){this.spinner.stop();null==b&&(b=urlParams.title,d=!0,b=null!=b?decodeURIComponent(b):this.defaultFilename);0<(this.useCanvasForExport?\r\n-1:".png"==b.substring(b.length-4))&&(b=b.substring(0,b.length-4)+".drawio");this.fileLoaded(mxClient.IS_IOS?new StorageFile(this,a,b):new LocalFile(this,a,b,d))}))}}catch(c){}};App.prototype.loadGapi=function(a){"undefined"!==typeof gapi&&gapi.load(("0"!=urlParams.picker?"picker,":"")+App.GOOGLE_APIS,a)};\r\nApp.prototype.load=function(){if("1"!=urlParams.embed){if(this.spinner.spin(document.body,mxResources.get("starting"))){try{this.stateArg=null!=urlParams.state&&null!=this.drive?JSON.parse(decodeURIComponent(urlParams.state)):null}catch(a){}this.editor.graph.setEnabled(null!=this.getCurrentFile());null!=window.location.hash&&0!=window.location.hash.length||null==this.drive||null==this.stateArg||null==this.stateArg.userId||this.drive.setUserId(this.stateArg.userId);null!=urlParams.fileId?(window.location.hash=\r\n"G"+urlParams.fileId,window.location.search=this.getSearch(["fileId"])):null==this.drive?(this.mode==App.MODE_GOOGLE&&(this.mode=null),this.start()):this.loadGapi(mxUtils.bind(this,function(){this.start()}))}}else this.restoreLibraries(),"1"==urlParams.gapi&&this.loadGapi(function(){})};\r\nApp.prototype.showRefreshDialog=function(a,d){if(!this.showingRefreshDialog&&(this.showingRefreshDialog=!0,this.showError(a||mxResources.get("externalChanges"),d||mxResources.get("redirectToNewApp"),mxResources.get("refresh"),mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&a.setModified(!1);this.spinner.spin(document.body,mxResources.get("connecting"));this.editor.graph.setEnabled(!1);window.location.reload()}),null,null,null,null,null,340,180),null!=this.dialog&&null!=this.dialog.container)){var c=\r\nthis.createRealtimeNotice();c.style.left="0";c.style.right="0";c.style.borderRadius="0";c.style.borderLeftStyle="none";c.style.borderRightStyle="none";c.style.marginBottom="26px";c.style.padding="8px 0 8px 0";this.dialog.container.appendChild(c)}};\r\nApp.prototype.showAlert=function(a){if(null!=a&&0<a.length){var d=document.createElement("div");d.className="geAlert";d.style.zIndex=2E9;d.style.left="50%";d.style.top="-100%";mxUtils.setPrefixedStyle(d.style,"transform","translate(-50%,0%)");mxUtils.setPrefixedStyle(d.style,"transition","all 1s ease");d.innerHTML=a;a=document.createElement("a");a.className="geAlertLink";a.style.textAlign="right";a.style.marginTop="20px";a.style.display="block";a.setAttribute("title",mxResources.get("close"));a.innerHTML=\r\nmxResources.get("close");d.appendChild(a);mxEvent.addListener(a,"click",function(a){null!=d.parentNode&&(d.parentNode.removeChild(d),mxEvent.consume(a))});document.body.appendChild(d);window.setTimeout(function(){d.style.top="30px"},10);window.setTimeout(function(){mxUtils.setPrefixedStyle(d.style,"transition","all 2s ease");d.style.opacity="0";window.setTimeout(function(){null!=d.parentNode&&d.parentNode.removeChild(d)},2E3)},15E3)}};\r\nApp.prototype.start=function(){null!=this.bg&&null!=this.bg.parentNode&&this.bg.parentNode.removeChild(this.bg);this.restoreLibraries();this.spinner.stop();try{var a=this;window.onerror=function(b,c,d,g,l){"ResizeObserver loop limit exceeded"!=b&&(EditorUi.logError("Uncaught: "+(null!=b?b:""),c,d,g,l,null,!0),a.handleError({message:b},mxResources.get("unknownError"),null,null,null,null,!0))};if("1"!=urlParams.client&&"1"!=urlParams.embed){try{isLocalStorage&&window.addEventListener("storage",mxUtils.bind(this,\r\nfunction(a){var b=this.getCurrentFile();EditorUi.debug("storage event",a,b);null!=b&&".draft-alive-check"==a.key&&null!=a.newValue&&null!=b.draftId&&(this.draftAliveCheck=a.newValue,b.saveDraft())})),mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||this.isOfflineApp()||null!=urlParams.open||!/www\\.draw\\.io$/.test(window.location.hostname)||this.editor.chromeless&&!this.editor.editable||this.showNameChangeBanner()}catch(f){}mxEvent.addListener(window,"hashchange",mxUtils.bind(this,function(a){try{this.hideDialog();\r\nvar b=this.getDiagramId(),c=this.getCurrentFile();null!=c&&c.getHash()==b||this.loadFile(b,!0)}catch(k){null!=document.body&&this.handleError(k,mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();window.location.hash=null!=a?a.getHash():""}))}}))}if((null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.desc)try{this.loadDescriptor(JSON.parse(Graph.decompress(urlParams.desc)),null,mxUtils.bind(this,function(a){this.handleError(a,mxResources.get("errorLoadingFile"))}))}catch(f){this.handleError(f,\r\nmxResources.get("errorLoadingFile"))}else if((null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.url)this.loadFile("U"+urlParams.url,!0);else if(null==this.getCurrentFile()){var d=mxUtils.bind(this,function(){if("1"==urlParams.client&&(null==window.location.hash||0==window.location.hash.length||"#P"==window.location.hash.substring(0,2))){var a=mxUtils.bind(this,function(a){"data:image/png;base64,"==a.substring(0,22)&&(a=this.extractGraphModelFromPng(a));var b=urlParams.title,\r\nb=null!=b?decodeURIComponent(b):this.defaultFilename;a=new LocalFile(this,a,b,!0);null!=window.location.hash&&"#P"==window.location.hash.substring(0,2)&&(a.getHash=function(){return window.location.hash.substring(1)});this.fileLoaded(a);this.getCurrentFile().setModified(!this.editor.chromeless)}),b=window.opener||window.parent;if(b!=window){var c=urlParams.create;null!=c?a(b[decodeURIComponent(c)]):(c=urlParams.data,null!=c?a(decodeURIComponent(c)):this.installMessageHandler(mxUtils.bind(this,function(c,\r\nd){d.source==b&&a(c)})))}}else if(null==this.dialog)if("1"==urlParams.demo)c=Editor.useLocalStorage,this.createFile(this.defaultFilename,null,null,null,null,null,null,!0),Editor.useLocalStorage=c;else{c=!1;try{c=null!=window.opener&&null!=window.opener.openFile}catch(k){}c?this.spinner.spin(document.body,mxResources.get("loading")):(c=this.getDiagramId(),!EditorUi.enableDrafts||null!=urlParams.mode&&!EditorUi.isElectronApp||"draw.io"!=this.getServiceName()||null!=c&&0!=c.length||this.editor.isChromelessView()?\r\nnull!=c&&0<c.length?this.loadFile(c,null,null,mxUtils.bind(this,function(){var a=decodeURIComponent(urlParams.viewbox||"");if(""!=a)try{var b=JSON.parse(a);this.editor.graph.fitWindow(b,b.border)}catch(n){console.error(n)}})):"0"!=urlParams.splash?this.loadFile():this.createFile(this.defaultFilename,this.getFileData(),null,null,null,null,null,!0):this.checkDrafts())}}),c=decodeURIComponent(urlParams.create||"");if((null==window.location.hash||1>=window.location.hash.length)&&null!=c&&0<c.length&&\r\nthis.spinner.spin(document.body,mxResources.get("loading"))){var b=mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("reconnecting"))&&(window.location.search=this.getSearch(["create","title"]))}),g=mxUtils.bind(this,function(a){this.spinner.stop();if("0"!=urlParams.splash){this.fileLoaded(new LocalFile(this,a,null));this.editor.graph.setEnabled(!1);this.mode=urlParams.mode;var b=urlParams.title,b=null!=b?decodeURIComponent(b):this.defaultFilename;a=this.getServiceCount(!0);\r\nisLocalStorage&&a++;var c=4>=a?2:6<a?4:3,b=new CreateDialog(this,b,mxUtils.bind(this,function(a,b){if(null==b){this.hideDialog();var c=Editor.useLocalStorage;this.createFile(0<a.length?a:this.defaultFilename,this.getFileData(),null,null,null,!0,null,!0);Editor.useLocalStorage=c}else this.pickFolder(b,mxUtils.bind(this,function(c){this.createFile(a,this.getFileData(!0),null,b,null,!0,c)}))}),null,null,null,null,"1"==urlParams.browser,null,null,!0,c,null,null,null,this.editor.fileExtensions);this.showDialog(b.container,\r\n400,a>c?390:270,!0,!1,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&this.showSplash()}));b.init()}}),c=decodeURIComponent(c);if("http://"!=c.substring(0,7)&&"https://"!=c.substring(0,8))try{null!=window.opener&&null!=window.opener[c]?g(window.opener[c]):this.handleError(null,mxResources.get("errorLoadingFile"))}catch(f){this.handleError(f,mxResources.get("errorLoadingFile"))}else this.loadTemplate(c,function(a){g(a)},mxUtils.bind(this,function(){this.handleError(null,mxResources.get("errorLoadingFile"),\r\nb)}))}else(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.state&&null!=this.stateArg&&"open"==this.stateArg.action?null!=this.stateArg.ids&&(window.history&&window.history.replaceState&&window.history.replaceState(null,null,window.location.pathname+this.getSearch(["state"])),window.location.hash="G"+this.stateArg.ids[0]):(null==window.location.hash||1>=window.location.hash.length)&&null!=this.drive&&null!=this.stateArg&&"create"==this.stateArg.action?(window.history&&\r\nwindow.history.replaceState&&window.history.replaceState(null,null,window.location.pathname+this.getSearch(["state"])),this.setMode(App.MODE_GOOGLE),"0"==urlParams.splash?this.createFile(null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename):this.actions.get("new").funct()):(null!=urlParams.open&&window.history&&window.history.replaceState&&(window.history.replaceState(null,null,window.location.pathname+this.getSearch(["open"])),window.location.hash=urlParams.open),d())}}catch(f){this.handleError(f)}};\r\nApp.prototype.loadDraft=function(a,d){this.createFile(this.defaultFilename,a,null,null,mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&(a.fileChanged(),null!=d&&d())}),0)}),null,null,!0)};\r\nApp.prototype.checkDrafts=function(){try{var a=Editor.guid();localStorage.setItem(".draft-alive-check",a);window.setTimeout(mxUtils.bind(this,function(){localStorage.removeItem(".draft-alive-check");this.getDatabaseItems(mxUtils.bind(this,function(d){for(var c=[],b=0;b<d.length;b++)try{var g=d[b].key;if(null!=g&&".draft_"==g.substring(0,7)){var f=JSON.parse(d[b].data);null!=f&&"draft"==f.type&&f.aliveCheck!=a&&(f.key=g,c.push(f))}}catch(m){}1==c.length?this.loadDraft(c[0].data,mxUtils.bind(this,function(){this.removeDatabaseItem(c[0].key)})):\r\n1<c.length?(d=new Date(c[0].modified),d=new DraftDialog(this,1<c.length?mxResources.get("selectDraft"):mxResources.get("draftFound",[d.toLocaleDateString()+" "+d.toLocaleTimeString()]),1<c.length?null:c[0].data,mxUtils.bind(this,function(a){this.hideDialog();a=""!=a?a:0;this.loadDraft(c[a].data,mxUtils.bind(this,function(){this.removeDatabaseItem(c[a].key)}))}),mxUtils.bind(this,function(a,b){a=""!=a?a:0;this.confirm(mxResources.get("areYouSure"),null,mxUtils.bind(this,function(){this.removeDatabaseItem(c[a].key);\r\nnull!=b&&b()}),mxResources.get("no"),mxResources.get("yes"))}),null,null,null,1<c.length?c:null),this.showDialog(d.container,640,480,!0,!1,mxUtils.bind(this,function(a){"0"!=urlParams.splash?this.loadFile():this.createFile(this.defaultFilename,this.getFileData(),null,null,null,null,null,!0)})),d.init()):"0"!=urlParams.splash?this.loadFile():this.createFile(this.defaultFilename,this.getFileData(),null,null,null,null,null,!0)}),mxUtils.bind(this,function(){"0"!=urlParams.splash?this.loadFile():this.createFile(this.defaultFilename,\r\nthis.getFileData(),null,null,null,null,null,!0)}))}),0)}catch(d){}};\r\nApp.prototype.showSplash=function(a){if("1"!=urlParams.noFileMenu){var d=this.getServiceCount(!0),c=mxUtils.bind(this,function(){var a=new SplashDialog(this);this.showDialog(a.container,340,mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?200:230,!0,!0,mxUtils.bind(this,function(a){a&&!mxClient.IS_CHROMEAPP&&(a=Editor.useLocalStorage,this.createFile(this.defaultFilename+(EditorUi.isElectronApp?".drawio":""),null,null,null,null,null,null,"1"!=urlParams.local),Editor.useLocalStorage=a)}),!0)});if(this.editor.isChromelessView())this.handleError({message:mxResources.get("noFileSelected")},\r\nmxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){this.showSplash()}));else if(mxClient.IS_CHROMEAPP||null!=this.mode&&!a)null==urlParams.create&&c();else{a=4==d?2:3;var b=new StorageDialog(this,mxUtils.bind(this,function(){this.hideDialog();c()}),a);this.showDialog(b.container,3>a?200:300,3<d?320:210,!0,!1)}}};\r\nApp.prototype.addLanguageMenu=function(a,d){var c=null;if(null!=this.menus.get("language")){c=document.createElement("div");c.setAttribute("title",mxResources.get("language"));c.className="geIcon geSprite geSprite-globe";c.style.position="absolute";c.style.cursor="pointer";c.style.bottom="20px";c.style.right="20px";if(d){c.style.direction="rtl";c.style.textAlign="right";c.style.right="24px";var b=document.createElement("span");b.style.display="inline-block";b.style.fontSize="12px";b.style.margin=\r\n"5px 24px 0 0";b.style.color="gray";b.style.userSelect="none";mxUtils.write(b,mxResources.get("language"));c.appendChild(b)}mxEvent.addListener(c,"click",mxUtils.bind(this,function(a){this.editor.graph.popupMenuHandler.hideMenu();var b=new mxPopupMenu(this.menus.get("language").funct);b.div.className+=" geMenubarMenu";b.smartSeparators=!0;b.showDisabled=!0;b.autoExpand=!0;b.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(b,arguments);b.destroy()});var d=mxUtils.getOffset(c);\r\nb.popup(d.x,d.y+c.offsetHeight,null,a);this.setCurrentMenu(b)}));a.appendChild(c)}return c};\r\nApp.prototype.loadFileSystemEntry=function(a,d,c){c=null!=c?c:mxUtils.bind(this,function(a){this.handleError(a)});try{a.getFile().then(mxUtils.bind(this,function(b){var g=new FileReader;g.onload=mxUtils.bind(this,function(f){try{if(null!=d){var g=f.target.result;"image/png"==b.type&&(g=this.extractGraphModelFromPng(g));d(new LocalFile(this,g,b.name,null,a,b))}else this.openFileHandle(f.target.result,b.name,b,!1,a)}catch(e){c(e)}});g.onerror=c;"image"!==b.type.substring(0,5)&&"application/pdf"!==b.type||\r\n"image/svg"===b.type.substring(0,9)?g.readAsText(b):g.readAsDataURL(b)}),c)}catch(b){c(b)}};\r\nApp.prototype.createFileSystemOptions=function(a){var d=[],c=null;if(null!=a){var b=a.lastIndexOf(".");0<b&&(c=a.substring(b+1))}for(b=0;b<this.editor.diagramFileTypes.length;b++){var g={description:mxResources.get(this.editor.diagramFileTypes[b].description)+(mxClient.IS_MAC?" (."+this.editor.diagramFileTypes[b].extension+")":""),accept:{}};g.accept[this.editor.diagramFileTypes[b].mimeType]=["."+this.editor.diagramFileTypes[b].extension];this.editor.diagramFileTypes[b].extension==c?d.splice(0,0,\r\ng):this.editor.diagramFileTypes[b].extension==c?d.splice(0,0,g):d.push(g)}return{types:d,fileName:a}};App.prototype.showSaveFilePicker=function(a,d,c){d=null!=d?d:mxUtils.bind(this,function(a){"AbortError"!=a.name&&this.handleError(a)});c=null!=c?c:this.createFileSystemOptions();window.showSaveFilePicker(c).then(mxUtils.bind(this,function(b){null!=b&&b.getFile().then(mxUtils.bind(this,function(c){a(b,c)}),d)}),d)};\r\nApp.prototype.pickFile=function(a){try{if(a=null!=a?a:this.mode,a==App.MODE_GOOGLE)null!=this.drive&&"undefined"!=typeof google&&"undefined"!=typeof google.picker?this.drive.pickFile():this.openLink("https://drive.google.com");else{var d=this.getPeerForMode(a);if(null!=d)d.pickFile();else if(a==App.MODE_DEVICE&&EditorUi.nativeFileSupport)window.showOpenFilePicker().then(mxUtils.bind(this,function(a){null!=a&&0<a.length&&this.spinner.spin(document.body,mxResources.get("loading"))&&this.loadFileSystemEntry(a[0])}),\r\nmxUtils.bind(this,function(a){"AbortError"!=a.name&&this.handleError(a)}));else if(a==App.MODE_DEVICE&&Graph.fileSupport){if(null==this.openFileInputElt){var c=document.createElement("input");c.setAttribute("type","file");mxEvent.addListener(c,"change",mxUtils.bind(this,function(){null!=c.files&&(this.openFiles(c.files),c.type="",c.type="file",c.value="")}));c.style.display="none";document.body.appendChild(c);this.openFileInputElt=c}this.openFileInputElt.click()}else{this.hideDialog();window.openNew=\r\nnull!=this.getCurrentFile()&&!this.isDiagramEmpty();window.baseUrl=this.getUrl();window.openKey="open";window.listBrowserFiles=mxUtils.bind(this,function(a,b){StorageFile.listFiles(this,"F",a,b)});window.openBrowserFile=mxUtils.bind(this,function(a,b,c){StorageFile.getFileContent(this,a,b,c)});window.deleteBrowserFile=mxUtils.bind(this,function(a,b,c){StorageFile.deleteFile(this,a,b,c)});var b=Editor.useLocalStorage;Editor.useLocalStorage=a==App.MODE_BROWSER;this.openFile();window.openFile.setConsumer(mxUtils.bind(this,\r\nfunction(b,c){var d=mxUtils.bind(this,function(){this.useCanvasForExport||".png"!=c.substring(c.length-4)||(c=c.substring(0,c.length-4)+".drawio");this.fileLoaded(a==App.MODE_BROWSER?new StorageFile(this,b,c):new LocalFile(this,b,c))}),e=this.getCurrentFile();null!=e&&e.isModified()?this.confirm(mxResources.get("allChangesLost"),null,d,mxResources.get("cancel"),mxResources.get("discardChanges")):d()}));var g=this.dialog,f=g.close;this.dialog.close=mxUtils.bind(this,function(a){Editor.useLocalStorage=\r\nb;f.apply(g,arguments);null==this.getCurrentFile()&&this.showSplash()})}}}catch(m){this.handleError(m)}};\r\nApp.prototype.pickLibrary=function(a){a=null!=a?a:this.mode;if(a==App.MODE_GOOGLE||a==App.MODE_DROPBOX||a==App.MODE_ONEDRIVE||a==App.MODE_GITHUB||a==App.MODE_GITLAB||a==App.MODE_TRELLO||a==App.MODE_NOTION){var d=a==App.MODE_GOOGLE?this.drive:a==App.MODE_ONEDRIVE?this.oneDrive:a==App.MODE_GITHUB?this.gitHub:a==App.MODE_GITLAB?this.gitLab:a==App.MODE_TRELLO?this.trello:a==App.MODE_NOTION?this.notion:this.dropbox;null!=d&&d.pickLibrary(mxUtils.bind(this,function(a,b){if(null!=b)try{this.loadLibrary(b)}catch(m){this.handleError(m,\r\nmxResources.get("errorLoadingFile"))}else this.spinner.spin(document.body,mxResources.get("loading"))&&d.getLibrary(a,mxUtils.bind(this,function(a){this.spinner.stop();try{this.loadLibrary(a)}catch(e){this.handleError(e,mxResources.get("errorLoadingFile"))}}),mxUtils.bind(this,function(a){this.handleError(a,null!=a?mxResources.get("errorLoadingFile"):null)}))}))}else if(a==App.MODE_DEVICE&&Graph.fileSupport){if(null==this.libFileInputElt){var c=document.createElement("input");c.setAttribute("type",\r\n"file");mxEvent.addListener(c,"change",mxUtils.bind(this,function(){if(null!=c.files){for(var a=0;a<c.files.length;a++)mxUtils.bind(this,function(a){var b=new FileReader;b.onload=mxUtils.bind(this,function(b){try{this.loadLibrary(new LocalLibrary(this,b.target.result,a.name))}catch(k){this.handleError(k,mxResources.get("errorLoadingFile"))}});b.readAsText(a)})(c.files[a]);c.type="";c.type="file";c.value=""}}));c.style.display="none";document.body.appendChild(c);this.libFileInputElt=c}this.libFileInputElt.click()}else{window.openNew=\r\n!1;window.openKey="open";window.listBrowserFiles=mxUtils.bind(this,function(a,b){StorageFile.listFiles(this,"L",a,b)});window.openBrowserFile=mxUtils.bind(this,function(a,b,c){StorageFile.getFileContent(this,a,b,c)});window.deleteBrowserFile=mxUtils.bind(this,function(a,b,c){StorageFile.deleteFile(this,a,b,c)});var b=Editor.useLocalStorage;Editor.useLocalStorage=a==App.MODE_BROWSER;window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));window.openFile.setConsumer(mxUtils.bind(this,\r\nfunction(b,c){try{this.loadLibrary(a==App.MODE_BROWSER?new StorageLibrary(this,b,c):new LocalLibrary(this,b,c))}catch(m){this.handleError(m,mxResources.get("errorLoadingFile"))}}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:360,Editor.useLocalStorage?480:220,!0,!0,function(){Editor.useLocalStorage=b;window.openFile=null})}};\r\nApp.prototype.saveLibrary=function(a,d,c,b,g,f,m){try{b=null!=b?b:this.mode;g=null!=g?g:!1;f=null!=f?f:!1;var e=this.createLibraryDataFromImages(d),k=mxUtils.bind(this,function(a){this.spinner.stop();null!=m&&m();this.handleError(a,null!=a?mxResources.get("errorSavingFile"):null)});null==c&&b==App.MODE_DEVICE&&(c=new LocalLibrary(this,e,a));if(null==c)this.pickFolder(b,mxUtils.bind(this,function(c){b==App.MODE_GOOGLE&&null!=this.drive&&this.spinner.spin(document.body,mxResources.get("inserting"))?\r\nthis.drive.insertFile(a,e,c,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,d)}),k,this.drive.libraryMimeType):b==App.MODE_GITHUB&&null!=this.gitHub&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.gitHub.insertLibrary(a,e,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,d)}),k,c):b==App.MODE_GITLAB&&null!=this.gitLab&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.gitLab.insertLibrary(a,\r\ne,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,d)}),k,c):b==App.MODE_NOTION&&null!=this.notion&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.notion.insertLibrary(a,e,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,d)}),k,c):b==App.MODE_TRELLO&&null!=this.trello&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.trello.insertLibrary(a,e,mxUtils.bind(this,function(a){this.spinner.stop();\r\nthis.hideDialog(!0);this.libraryLoaded(a,d)}),k,c):b==App.MODE_DROPBOX&&null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.dropbox.insertLibrary(a,e,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,d)}),k,c):b==App.MODE_ONEDRIVE&&null!=this.oneDrive&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.oneDrive.insertLibrary(a,e,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,\r\nd)}),k,c):b==App.MODE_BROWSER?(c=mxUtils.bind(this,function(){var b=new StorageLibrary(this,e,a);b.saveFile(a,!1,mxUtils.bind(this,function(){this.hideDialog(!0);this.libraryLoaded(b,d)}),k)}),null==localStorage.getItem(a)?c():this.confirm(mxResources.get("replaceIt",[a]),c)):this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})}));else if(g||this.spinner.spin(document.body,mxResources.get("saving"))){c.setData(e);var l=mxUtils.bind(this,function(){c.save(!0,mxUtils.bind(this,\r\nfunction(a){this.spinner.stop();this.hideDialog(!0);f||this.libraryLoaded(c,d);null!=m&&m()}),k)});if(a!=c.getTitle()){var n=c.getHash();c.rename(a,mxUtils.bind(this,function(a){c.constructor!=LocalLibrary&&n!=c.getHash()&&(mxSettings.removeCustomLibrary(n),mxSettings.addCustomLibrary(c.getHash()));this.removeLibrarySidebar(n);l()}),k)}else l()}}catch(p){this.handleError(p)}};\r\nApp.prototype.saveFile=function(a,d){var c=this.getCurrentFile();if(null!=c){var b=mxUtils.bind(this,function(){EditorUi.enableDrafts&&c.removeDraft();this.getCurrentFile()==c||c.isModified()||(c.getMode()!=App.MODE_DEVICE?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved"))):this.editor.setStatus(""));null!=d&&d()});if(a||null==c.getTitle()||null!=c.invalidFileHandle||null==this.mode)if(null!=c&&c.constructor==LocalFile&&null!=c.fileHandle)this.showSaveFilePicker(mxUtils.bind(this,\r\nfunction(a,d){c.invalidFileHandle=null;c.fileHandle=a;c.title=d.name;c.desc=d;this.save(d.name,b)}),null,this.createFileSystemOptions(c.getTitle()));else{var g=null!=c.getTitle()?c.getTitle():this.defaultFilename,f=!mxClient.IS_IOS||!navigator.standalone,m=this.mode,e=this.getServiceCount(!0);isLocalStorage&&e++;var k=4>=e?2:6<e?4:3,g=new CreateDialog(this,g,mxUtils.bind(this,function(a,d,e){null!=a&&0<a.length&&(/(\\.pdf)$/i.test(a)?this.confirm(mxResources.get("didYouMeanToExportToPdf"),mxUtils.bind(this,\r\nfunction(){this.hideDialog();this.actions.get("exportPdf").funct()}),mxUtils.bind(this,function(){e.value=a.split(".").slice(0,-1).join(".");e.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?e.select():document.execCommand("selectAll",!1,null)}),mxResources.get("yes"),mxResources.get("no")):(this.hideDialog(),null==m&&d==App.MODE_DEVICE?null!=c&&EditorUi.nativeFileSupport?this.showSaveFilePicker(mxUtils.bind(this,function(a,d){c.fileHandle=a;c.mode=App.MODE_DEVICE;c.title=d.name;\r\nc.desc=d;this.setMode(App.MODE_DEVICE);this.save(d.name,b)}),mxUtils.bind(this,function(a){"AbortError"!=a.name&&this.handleError(a)}),this.createFileSystemOptions(a)):(this.setMode(App.MODE_DEVICE),this.save(a,b)):"download"==d?(new LocalFile(this,null,a)).save():"_blank"==d?(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(this.getFileData(!0)),this.openLink(this.getUrl(window.location.pathname),null,!0)):m!=d?this.pickFolder(d,mxUtils.bind(this,function(c){this.createFile(a,\r\nthis.getFileData(/(\\.xml)$/i.test(a)||0>a.indexOf(".")||/(\\.drawio)$/i.test(a),/(\\.svg)$/i.test(a),/(\\.html)$/i.test(a)),null,d,b,null==this.mode,c)})):null!=d&&this.save(a,b)))}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),null,null,f,null,!0,k,null,null,null,this.editor.fileExtensions,!1);this.showDialog(g.container,400,e>k?390:270,!0,!0);g.init()}else this.save(c.getTitle(),b)}};\r\nApp.prototype.loadTemplate=function(a,d,c,b,g){var f=!1,m=a;this.editor.isCorsEnabledForUrl(m)||(m="t="+(new Date).getTime(),m=PROXY_URL+"?url="+encodeURIComponent(a)+"&base64=1&"+m,f=!0);var e=null!=b?b:a;this.editor.loadUrl(m,mxUtils.bind(this,function(b){try{var k=f?!window.atob||mxClient.IS_IE||mxClient.IS_IE11?Base64.decode(b):atob(b):b,m=/(\\.v(dx|sdx?))($|\\?)/i.test(e)||/(\\.vs(x|sx?))($|\\?)/i.test(e);if(m||this.isVisioData(k))m||(e=g?this.isRemoteVisioData(k)?"raw.vss":"raw.vssx":this.isRemoteVisioData(k)?\r\n"raw.vsd":"raw.vsdx"),this.importVisio(this.base64ToBlob(b.substring(b.indexOf(",")+1)),function(a){d(a)},c,e);else if(!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(k,e))this.parseFile(new Blob([k],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&"<mxGraphModel"==a.responseText.substring(0,13)&&d(a.responseText)}),a);else if(this.isLucidChartData(k))this.convertLucidChart(k,mxUtils.bind(this,function(a){d(a)}),\r\nmxUtils.bind(this,function(a){c(a)}));else{if(/(\\.png)($|\\?)/i.test(e)||this.isPngData(k))k=this.extractGraphModelFromPng(b);d(k)}}catch(p){c(p)}}),c,/(\\.png)($|\\?)/i.test(e)||/(\\.v(dx|sdx?))($|\\?)/i.test(e)||/(\\.vs(x|sx?))($|\\?)/i.test(e),null,null,f)};\r\nApp.prototype.getPeerForMode=function(a){return a==App.MODE_GOOGLE?this.drive:a==App.MODE_GITHUB?this.gitHub:a==App.MODE_GITLAB?this.gitLab:a==App.MODE_DROPBOX?this.dropbox:a==App.MODE_ONEDRIVE?this.oneDrive:a==App.MODE_TRELLO?this.trello:a==App.MODE_NOTION?this.notion:null};\r\nApp.prototype.createFile=function(a,d,c,b,g,f,m,e,k){b=e?null:null!=b?b:this.mode;if(null!=a&&this.spinner.spin(document.body,mxResources.get("inserting"))){d=null!=d?d:this.emptyDiagramXml;var l=mxUtils.bind(this,function(){this.spinner.stop()}),n=mxUtils.bind(this,function(a){l();null==a&&null==this.getCurrentFile()&&null==this.dialog?this.showSplash():null!=a&&this.handleError(a)});try{b==App.MODE_GOOGLE&&null!=this.drive?(null==m&&null!=this.stateArg&&null!=this.stateArg.folderId&&(m=this.stateArg.folderId),\r\nthis.drive.insertFile(a,d,m,mxUtils.bind(this,function(a){l();this.fileCreated(a,c,f,g,k)}),n)):b==App.MODE_GITHUB&&null!=this.gitHub?this.gitHub.insertFile(a,d,mxUtils.bind(this,function(a){l();this.fileCreated(a,c,f,g,k)}),n,!1,m):b==App.MODE_GITLAB&&null!=this.gitLab?this.gitLab.insertFile(a,d,mxUtils.bind(this,function(a){l();this.fileCreated(a,c,f,g,k)}),n,!1,m):b==App.MODE_NOTION&&null!=this.notion?this.notion.insertFile(a,d,mxUtils.bind(this,function(a){l();this.fileCreated(a,c,f,g,k)}),n,\r\n!1,m):b==App.MODE_TRELLO&&null!=this.trello?this.trello.insertFile(a,d,mxUtils.bind(this,function(a){l();this.fileCreated(a,c,f,g,k)}),n,!1,m):b==App.MODE_DROPBOX&&null!=this.dropbox?this.dropbox.insertFile(a,d,mxUtils.bind(this,function(a){l();this.fileCreated(a,c,f,g,k)}),n):b==App.MODE_ONEDRIVE&&null!=this.oneDrive?this.oneDrive.insertFile(a,d,mxUtils.bind(this,function(a){l();this.fileCreated(a,c,f,g,k)}),n,!1,m):b==App.MODE_BROWSER?StorageFile.insertFile(this,a,d,mxUtils.bind(this,function(a){l();\r\nthis.fileCreated(a,c,f,g,k)}),n):!e&&b==App.MODE_DEVICE&&EditorUi.nativeFileSupport?(l(),this.showSaveFilePicker(mxUtils.bind(this,function(a,b){var e=new LocalFile(this,d,b.name,null,a,b);e.saveFile(b.name,!1,mxUtils.bind(this,function(){this.fileCreated(e,c,f,g,k)}),n,!0)}),mxUtils.bind(this,function(a){"AbortError"!=a.name&&n(a)}),this.createFileSystemOptions(a))):(l(),this.fileCreated(new LocalFile(this,d,a,null==b),c,f,g,k))}catch(p){l(),this.handleError(p)}}};\r\nApp.prototype.fileCreated=function(a,d,c,b,g){var f=window.location.pathname;null!=d&&0<d.length&&(f+="?libs="+d);null!=g&&0<g.length&&(f+="?clibs="+g);f=this.getUrl(f);a.getMode()!=App.MODE_DEVICE&&(f+="#"+a.getHash());if(this.spinner.spin(document.body,mxResources.get("inserting"))){var m=a.getData(),m=0<m.length?this.editor.extractGraphModel(mxUtils.parseXml(m).documentElement,!0):null,e=window.location.protocol+"//"+window.location.hostname+f,k=m,l=null;null!=m&&/\\.svg$/i.test(a.getTitle())&&\r\n(l=this.createTemporaryGraph(this.editor.graph.getStylesheet()),document.body.appendChild(l.container),k=this.decodeNodeIntoGraph(k,l));a.setData(this.createFileData(m,l,a,e));null!=l&&l.container.parentNode.removeChild(l.container);var n=mxUtils.bind(this,function(){this.spinner.stop()}),p=mxUtils.bind(this,function(){n();var e=this.getCurrentFile();null==c&&null!=e&&(c=!e.isModified()&&null==e.getMode());var k=mxUtils.bind(this,function(){window.openFile=null;this.fileLoaded(a);c&&a.addAllSavedStatus();\r\nnull!=d&&this.sidebar.showEntries(d);if(null!=g){for(var b=[],e=g.split(";"),f=0;f<e.length;f++)b.push(decodeURIComponent(e[f]));this.loadLibraries(b)}}),m=mxUtils.bind(this,function(){c||null==e||!e.isModified()?k():this.confirm(mxResources.get("allChangesLost"),null,k,mxResources.get("cancel"),mxResources.get("discardChanges"))});null!=b&&b();null==c||c?m():(a.constructor==LocalFile&&(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a.getData(),a.getTitle(),\r\nnull==a.getMode())),null!=b&&b(),window.openWindow(f,null,m))});a.constructor==LocalFile?p():a.saveFile(a.getTitle(),!1,mxUtils.bind(this,function(){p()}),mxUtils.bind(this,function(a){n();this.handleError(a)}))}};\r\nApp.prototype.loadFile=function(a,d,c,b,g){if("1"==urlParams.openInSameWin||navigator.standalone)d=!0;this.hideDialog();var f=mxUtils.bind(this,function(){if(null==a||0==a.length)this.editor.setStatus(""),this.fileLoaded(null);else if(this.spinner.spin(document.body,mxResources.get("loading")))if("L"==a.charAt(0))if(this.spinner.stop(),isLocalStorage){var e=mxUtils.bind(this,function(a){this.handleError(a,mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();\r\nwindow.location.hash=null!=a?a.getHash():""}))});a=decodeURIComponent(a.substring(1));StorageFile.getFileContent(this,a,mxUtils.bind(this,function(c){null!=c?(this.fileLoaded(new StorageFile(this,c,a)),null!=b&&b()):e({message:mxResources.get("fileNotFound")})}),e)}else this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")},mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();window.location.hash=null!=a?a.getHash():""}));else if(null!=c)this.spinner.stop(),\r\nthis.fileLoaded(c),null!=b&&b();else if("S"==a.charAt(0))this.spinner.stop(),this.alert("[Deprecation] #S is no longer supported, go to https://app.diagrams.net/?desc="+a.substring(1).substring(0,10),mxUtils.bind(this,function(){window.location.href="https://app.diagrams.net/?desc="+a.substring(1)}));else if("R"==a.charAt(0)){this.spinner.stop();var f=decodeURIComponent(a.substring(1));"<"!=f.charAt(0)&&(f=Graph.decompress(f));f=new LocalFile(this,f,null!=urlParams.title?decodeURIComponent(urlParams.title):\r\nthis.defaultFilename,!0);f.getHash=function(){return a};this.fileLoaded(f);null!=b&&b()}else if("E"==a.charAt(0))null==this.getCurrentFile()?this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")},mxResources.get("errorLoadingFile")):this.remoteInvoke("getDraftFileContent",null,null,mxUtils.bind(this,function(a,c){this.spinner.stop();this.fileLoaded(new EmbedFile(this,a,c));null!=b&&b()}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")},\r\nmxResources.get("errorLoadingFile"))}));else if("U"==a.charAt(0)){var g=decodeURIComponent(a.substring(1)),m=mxUtils.bind(this,function(){if("https://drive.google.com/uc?id="!=g.substring(0,31)||null==this.drive&&"function"!==typeof window.DriveClient)return!1;this.hideDialog();var a=mxUtils.bind(this,function(){this.spinner.stop();if(null!=this.drive){var a=g.substring(31,g.lastIndexOf("&ex"));this.loadFile("G"+a,d,null,mxUtils.bind(this,function(){var c=this.getCurrentFile();null!=c&&this.editor.chromeless&&\r\n!this.editor.editable&&(c.getHash=function(){return"G"+a},window.location.hash="#"+c.getHash());null!=b&&b()}));return!0}return!1});!a()&&this.spinner.spin(document.body,mxResources.get("loading"))&&this.addListener("clientLoaded",a);return!0});this.loadTemplate(g,mxUtils.bind(this,function(c){this.spinner.stop();if(null!=c&&0<c.length){var d=this.defaultFilename;if(null==urlParams.title&&"1"!=urlParams.notitle){var e=g,f=g.lastIndexOf("."),k=e.lastIndexOf("/");f>k&&0<k&&(e=e.substring(k+1,f),f=g.substring(f),\r\nthis.useCanvasForExport||".png"!=f||(f=".drawio"),".svg"===f||".xml"===f||".html"===f||".png"===f||".drawio"===f)&&(d=e+f)}c=new LocalFile(this,c,null!=urlParams.title?decodeURIComponent(urlParams.title):d,!0);c.getHash=function(){return a};this.fileLoaded(c,!0)?null!=b&&b():m()||this.handleError({message:mxResources.get("fileNotFound")},mxResources.get("errorLoadingFile"))}else m()||this.handleError({message:mxResources.get("fileNotFound")},mxResources.get("errorLoadingFile"))}),mxUtils.bind(this,\r\nfunction(){m()||(this.spinner.stop(),this.handleError({message:mxResources.get("fileNotFound")},mxResources.get("errorLoadingFile")))}),null!=urlParams["template-filename"]?decodeURIComponent(urlParams["template-filename"]):null)}else if(f=null,"G"==a.charAt(0)?f=this.drive:"D"==a.charAt(0)?f=this.dropbox:"W"==a.charAt(0)?f=this.oneDrive:"H"==a.charAt(0)?f=this.gitHub:"A"==a.charAt(0)?f=this.gitLab:"T"==a.charAt(0)?f=this.trello:"N"==a.charAt(0)&&(f=this.notion),null==f)this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")},\r\nmxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();window.location.hash=null!=a?a.getHash():""}));else{var q=a.charAt(0);a=decodeURIComponent(a.substring(1));f.getFile(a,mxUtils.bind(this,function(c){this.spinner.stop();this.fileLoaded(c);var d=this.getCurrentFile();null==d?(window.location.hash="",this.showSplash()):this.editor.chromeless&&!this.editor.editable?(d.getHash=function(){return q+a},window.location.hash="#"+d.getHash()):c==d&&null==c.getMode()&&\r\n(c=mxResources.get("copyCreated"),this.editor.setStatus(\'<div title="\'+c+\'" class="geStatusAlert" style="overflow:hidden;">\'+c+"</div>"));null!=b&&b()}),mxUtils.bind(this,function(b){null!=window.console&&null!=b&&console.log("error in loadFile:",a,b);this.handleError(b,null!=b?mxResources.get("errorLoadingFile"):null,mxUtils.bind(this,function(){var a=this.getCurrentFile();null==a?(window.location.hash="",this.showSplash()):window.location.hash="#"+a.getHash()}),null,null,"#"+q+a)}))}}),m=this.getCurrentFile(),\r\ne=mxUtils.bind(this,function(){g||null==m||!m.isModified()?f():this.confirm(mxResources.get("allChangesLost"),mxUtils.bind(this,function(){null!=m&&(window.location.hash=m.getHash())}),f,mxResources.get("cancel"),mxResources.get("discardChanges"))});null==a||0==a.length?e():null==m||d?e():this.showDialog((new PopupDialog(this,this.getUrl()+"#"+a,null,e)).container,320,140,!0,!0)};\r\nApp.prototype.getLibraryStorageHint=function(a){var d=a.getTitle();a.constructor!=LocalLibrary&&(d+="\\n"+a.getHash());a.constructor==DriveLibrary?d+=" ("+mxResources.get("googleDrive")+")":a.constructor==GitHubLibrary?d+=" ("+mxResources.get("github")+")":a.constructor==TrelloLibrary?d+=" ("+mxResources.get("trello")+")":a.constructor==DropboxLibrary?d+=" ("+mxResources.get("dropbox")+")":a.constructor==OneDriveLibrary?d+=" ("+mxResources.get("oneDrive")+")":a.constructor==StorageLibrary?d+=" ("+\r\nmxResources.get("browser")+")":a.constructor==LocalLibrary&&(d+=" ("+mxResources.get("device")+")");return d};App.prototype.restoreLibraries=function(){this.loadLibraries(mxSettings.getCustomLibraries(),mxUtils.bind(this,function(){this.loadLibraries((urlParams.clibs||"").split(";"))}))};\r\nApp.prototype.loadLibraries=function(a,d){if(null!=this.sidebar){null==this.pendingLibraries&&(this.pendingLibraries={});var c=mxUtils.bind(this,function(a,b){b||mxSettings.removeCustomLibrary(a);delete this.pendingLibraries[a]}),b=0,g=[],f=mxUtils.bind(this,function(){if(0==b){if(null!=a)for(var c=a.length-1;0<=c;c--)null!=g[c]&&this.loadLibrary(g[c]);null!=d&&d()}});if(null!=a)for(var m=0;m<a.length;m++){var e=encodeURIComponent(decodeURIComponent(a[m]));mxUtils.bind(this,function(a,d){if(null!=\r\na&&0<a.length&&null==this.pendingLibraries[a]&&null==this.sidebar.palettes[a]){b++;var e=mxUtils.bind(this,function(c){delete this.pendingLibraries[a];g[d]=c;b--;f()}),k=mxUtils.bind(this,function(d){c(a,d);b--;f()});this.pendingLibraries[a]=!0;var m=a.substring(0,1);if("L"==m)(isLocalStorage||mxClient.IS_CHROMEAPP)&&window.setTimeout(mxUtils.bind(this,function(){try{var b=decodeURIComponent(a.substring(1));StorageFile.getFileContent(this,b,mxUtils.bind(this,function(a){".scratchpad"==b&&null==a&&\r\n(a=this.emptyLibraryXml);null!=a?e(new StorageLibrary(this,a,b)):k()}),k)}catch(y){k()}}),0);else if("U"==m){var l=decodeURIComponent(a.substring(1));this.isOffline()||this.loadTemplate(l,mxUtils.bind(this,function(a){null!=a&&0<a.length?e(new UrlLibrary(this,a,l)):k()}),function(){k()},null,!0)}else if("R"==m){m=decodeURIComponent(a.substring(1));try{var m=JSON.parse(m),t={id:m[0],title:m[1],downloadUrl:m[2]};this.remoteInvoke("getFileContent",[t.downloadUrl],null,mxUtils.bind(this,function(a){try{e(new RemoteLibrary(this,\r\na,t))}catch(y){k()}}),function(){k()})}catch(z){k()}}else if("S"==m&&null!=this.loadDesktopLib)try{this.loadDesktopLib(decodeURIComponent(a.substring(1)),function(a){e(a)},k)}catch(z){k()}else{var v=null;"G"==m?null!=this.drive&&null!=this.drive.user&&(v=this.drive):"H"==m?null!=this.gitHub&&null!=this.gitHub.getUser()&&(v=this.gitHub):"T"==m?null!=this.trello&&this.trello.isAuthorized()&&(v=this.trello):"D"==m?null!=this.dropbox&&null!=this.dropbox.getUser()&&(v=this.dropbox):"W"==m&&null!=this.oneDrive&&\r\nnull!=this.oneDrive.getUser()&&(v=this.oneDrive);null!=v?v.getLibrary(decodeURIComponent(a.substring(1)),mxUtils.bind(this,function(a){try{e(a)}catch(y){k()}}),function(a){k()}):k(!0)}}})(e,m)}f()}};\r\nApp.prototype.updateButtonContainer=function(){if(null!=this.buttonContainer){var a=this.getCurrentFile();this.commentsSupported()&&"1"!=urlParams.sketch?null==this.commentButton&&(this.commentButton=document.createElement("a"),this.commentButton.setAttribute("title",mxResources.get("comments")),this.commentButton.className="geToolbarButton",this.commentButton.style.cssText="display:inline-block;position:relative;box-sizing:border-box;margin-right:4px;float:left;cursor:pointer;width:24px;height:24px;background-size:24px 24px;background-position:center center;background-repeat:no-repeat;background-image:url("+\r\nEditor.commentImage+");","atlas"==uiTheme?(this.commentButton.style.marginRight="10px",this.commentButton.style.marginTop="-3px"):this.commentButton.style.marginTop="min"==uiTheme?"1px":"-5px",mxEvent.addListener(this.commentButton,"click",mxUtils.bind(this,function(){this.actions.get("comments").funct()})),this.buttonContainer.appendChild(this.commentButton),"dark"==uiTheme||"atlas"==uiTheme)&&(this.commentButton.style.filter="invert(100%)"):null!=this.commentButton&&(this.commentButton.parentNode.removeChild(this.commentButton),\r\nthis.commentButton=null);"1"==urlParams.embed||"draw.io"!=this.getServiceName()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||this.isOfflineApp()?null!=urlParams.notif&&this.fetchAndShowNotification(urlParams.notif):(null!=a?null==this.shareButton&&(this.shareButton=document.createElement("div"),this.shareButton.className="geBtn gePrimaryBtn",this.shareButton.style.display="inline-block",this.shareButton.style.backgroundColor="#F2931E",this.shareButton.style.borderColor="#F08705",this.shareButton.style.backgroundImage=\r\n"none",this.shareButton.style.padding="2px 10px 0 10px",this.shareButton.style.marginTop="-10px",this.shareButton.style.height="28px",this.shareButton.style.lineHeight="28px",this.shareButton.style.minWidth="0px",this.shareButton.style.cssFloat="right",this.shareButton.setAttribute("title",mxResources.get("share")),a=document.createElement("img"),a.setAttribute("src",this.shareImage),a.setAttribute("align","absmiddle"),a.style.marginRight="4px",a.style.marginTop="-3px",this.shareButton.appendChild(a),\r\nEditor.isDarkMode()||"atlas"==uiTheme||(this.shareButton.style.color="black",a.style.filter="invert(100%)"),mxUtils.write(this.shareButton,mxResources.get("share")),mxEvent.addListener(this.shareButton,"click",mxUtils.bind(this,function(){this.actions.get("share").funct()})),this.buttonContainer.appendChild(this.shareButton)):null!=this.shareButton&&(this.shareButton.parentNode.removeChild(this.shareButton),this.shareButton=null),this.fetchAndShowNotification("device"==this.mode||"google"==this.mode?\r\nthis.mode:null))}};\r\nApp.prototype.fetchAndShowNotification=function(a){if(!this.fetchingNotif){a=a||"online";var d=null,c=mxUtils.bind(this,function(b){b=b.filter(function(b){return!b.targets||-1<b.targets.indexOf(a)});for(var c=a+"NotifReadTS",d=parseInt(localStorage.getItem(c)),m=0;m<b.length;m++)b[m].isNew=!d||b[m].timestamp>d;this.showNotification(b,c)});try{d=JSON.parse(localStorage.getItem(".notifCache"))}catch(b){}null==d||d.ts+864E5<Date.now()?(this.fetchingNotif=!0,mxUtils.get(NOTIFICATIONS_URL,mxUtils.bind(this,\r\nfunction(a){200<=a.getStatus()&&299>=a.getStatus()&&(a=JSON.parse(a.getText()),a.sort(function(a,b){return b.timestamp-a.timestamp}),localStorage.setItem(".notifCache",JSON.stringify({ts:Date.now(),notifs:a})),this.fetchingNotif=!1,c(a))}))):c(d.notifs)}};\r\nApp.prototype.showNotification=function(a,d){function c(a){var b=document.querySelector(".geNotification-count");null==b?EditorUi.logError("Error: element (.geNotification-count) is null in showNotification in shouldAnimate",null,5769):(b.innerHTML=a,b.style.display=0==a?"none":"",b=document.querySelector(".geNotification-bell"),b.style.animation=0==a?"none":"",b.className="geNotification-bell"+(0==a?" geNotification-bellOff":""),document.querySelector(".geBell-rad").style.animation=0==a?"none":"")}\r\nvar b=mxUtils.bind(this,function(){this.notificationWin.style.display="none";for(var b=this.notificationWin.querySelectorAll(".circle.active"),c=0;c<b.length;c++)b[c].className="circle";a[0]&&localStorage.setItem(d,a[0].timestamp)});if(null==this.notificationBtn){this.notificationBtn=document.createElement("div");this.notificationBtn.className="geNotification-box";"min"==uiTheme&&(this.notificationBtn.style.width="30px",this.notificationBtn.style.top="4px");var g=document.createElement("span");g.className=\r\n"geNotification-count";this.notificationBtn.appendChild(g);g=document.createElement("div");g.className="geNotification-bell";g.style.opacity="min"==uiTheme?"0.5":"";var f=document.createElement("span");f.className="geBell-top";g.appendChild(f);f=document.createElement("span");f.className="geBell-middle";g.appendChild(f);f=document.createElement("span");f.className="geBell-bottom";g.appendChild(f);f=document.createElement("span");f.className="geBell-rad";g.appendChild(f);this.notificationBtn.appendChild(g);\r\nthis.buttonContainer.insertBefore(this.notificationBtn,this.buttonContainer.firstChild);this.notificationWin=document.createElement("div");this.notificationWin.className="geNotifPanel";this.notificationWin.style.display="none";document.body.appendChild(this.notificationWin);f=document.createElement("div");f.className="header";g=document.createElement("span");g.className="title";g.textContent=mxResources.get("notifications");f.appendChild(g);g=document.createElement("span");g.className="closeBtn";\r\ng.textContent="x";f.appendChild(g);this.notificationWin.appendChild(f);f=document.createElement("div");f.className="notifications clearfix";var m=document.createElement("div");m.setAttribute("id","geNotifList");m.style.position="relative";f.appendChild(m);this.notificationWin.appendChild(f);mxEvent.addListener(this.notificationBtn,"click",mxUtils.bind(this,function(){if("none"==this.notificationWin.style.display){this.notificationWin.style.display="";document.querySelector(".notifications").scrollTop=\r\n0;var a=this.notificationBtn.getBoundingClientRect();this.notificationWin.style.top=a.top+this.notificationBtn.clientHeight+"px";this.notificationWin.style.left=a.right-this.notificationWin.clientWidth+"px";c(0)}else b()}));mxEvent.addListener(g,"click",b)}var e=0,k=document.getElementById("geNotifList");if(null==k)EditorUi.logError("Error: element (geNotifList) is null in showNotification",null,5859);else if(0==a.length)k.innerHTML=\'<div class="line"></div><div class="notification">\'+mxUtils.htmlEntities(mxResources.get("none"))+\r\n"</div>";else for(k.innerHTML=\'<div class="line"></div>\',g=0;g<a.length;g++)(function(a,b){b.isNew&&e++;var c=document.createElement("div");c.className="notification";var d=a.timeSince(new Date(b.timestamp));null==d&&(d=mxResources.get("lessThanAMinute"));c.innerHTML=\'<div class="circle\'+(b.isNew?" active":"")+\'"></div><span class="time">\'+mxUtils.htmlEntities(mxResources.get("timeAgo",[d],"{1} ago"))+"</span><p>"+mxUtils.htmlEntities(b.content)+"</p>";b.link&&mxEvent.addListener(c,"click",function(){window.open(b.link,\r\n"notifWin")});k.appendChild(c)})(this,a[g]);c(e)};\r\nApp.prototype.save=function(a,d){var c=this.getCurrentFile();if(null!=c&&this.spinner.spin(document.body,mxResources.get("saving"))){this.editor.setStatus("");this.editor.graph.isEditing()&&this.editor.graph.stopEditing();var b=mxUtils.bind(this,function(){c.handleFileSuccess(!0);null!=d&&d()}),g=mxUtils.bind(this,function(b){c.isModified()&&Editor.addRetryToError(b,mxUtils.bind(this,function(){this.save(a,d)}));c.handleFileError(b,!0)});try{a==c.getTitle()?c.save(!0,b,g):c.saveAs(a,b,g)}catch(f){g(f)}}};\r\nApp.prototype.pickFolder=function(a,d,c,b,g){c=null!=c?c:!0;var f=this.spinner.pause();c&&a==App.MODE_GOOGLE&&null!=this.drive?this.drive.pickFolder(mxUtils.bind(this,function(a){f();if(a.action==google.picker.Action.PICKED){var b=null;null!=a.docs&&0<a.docs.length&&"folder"==a.docs[0].type&&(b=a.docs[0].id);d(b)}}),g):c&&a==App.MODE_ONEDRIVE&&null!=this.oneDrive?this.oneDrive.pickFolder(mxUtils.bind(this,function(a){f();null!=a&&null!=a.value&&0<a.value.length&&(a=OneDriveFile.prototype.getIdOf(a.value[0]),\r\nd(a))}),b):c&&a==App.MODE_GITHUB&&null!=this.gitHub?this.gitHub.pickFolder(mxUtils.bind(this,function(a){f();d(a)})):c&&a==App.MODE_GITLAB&&null!=this.gitLab?this.gitLab.pickFolder(mxUtils.bind(this,function(a){f();d(a)})):c&&a==App.MODE_NOTION&&null!=this.notion?this.notion.pickFolder(mxUtils.bind(this,function(a){f();d(a)})):c&&a==App.MODE_TRELLO&&null!=this.trello?this.trello.pickFolder(mxUtils.bind(this,function(a){f();d(a)})):EditorUi.prototype.pickFolder.apply(this,arguments)};\r\nApp.prototype.exportFile=function(a,d,c,b,g,f){g==App.MODE_DROPBOX?null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.dropbox.insertFile(d,b?this.base64ToBlob(a,c):a,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)})):g==App.MODE_GOOGLE?null!=this.drive&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.drive.insertFile(d,a,f,mxUtils.bind(this,function(a){this.spinner.stop()}),\r\nmxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),c,b):g==App.MODE_ONEDRIVE?null!=this.oneDrive&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.oneDrive.insertFile(d,b?this.base64ToBlob(a,c):a,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),!1,f):g==App.MODE_GITHUB?null!=this.gitHub&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.gitHub.insertFile(d,a,mxUtils.bind(this,\r\nfunction(){this.spinner.stop()}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),!0,f,b):g==App.MODE_TRELLO?null!=this.trello&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.trello.insertFile(d,b?this.base64ToBlob(a,c):a,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),!1,f):g==App.MODE_BROWSER&&(c=mxUtils.bind(this,function(){localStorage.setItem(d,a)}),null==localStorage.getItem(d)?\r\nc():this.confirm(mxResources.get("replaceIt",[d]),c))};\r\nApp.prototype.descriptorChanged=function(){var a=this.getCurrentFile();if(null!=a){if(null!=this.fname){this.fnameWrapper.style.display="block";this.fname.innerHTML="";var d=null!=a.getTitle()?a.getTitle():this.defaultFilename;mxUtils.write(this.fname,d);this.fname.setAttribute("title",d+" - "+mxResources.get("rename"))}var d=this.editor.graph,c=a.isEditable()&&!a.invalidChecksum;d.isEnabled()&&!c&&d.reset();d.setEnabled(c);null==urlParams.rev&&(this.updateDocumentTitle(),d=a.getHash(),0<d.length?\r\nwindow.location.hash=d:0<window.location.hash.length&&(window.location.hash=""))}this.updateUi();null==this.format||null!=a&&this.fileEditable==a.isEditable()||!this.editor.graph.isSelectionEmpty()||(this.format.refresh(),this.fileEditable=null!=a?a.isEditable():null);this.fireEvent(new mxEventObject("fileDescriptorChanged","file",a))};\r\nApp.prototype.showAuthDialog=function(a,d,c,b){var g=this.spinner.pause();this.showDialog((new AuthDialog(this,a,d,mxUtils.bind(this,function(a){try{null!=c&&c(a,mxUtils.bind(this,function(){this.hideDialog();g()}))}catch(m){this.editor.setStatus(mxUtils.htmlEntities(m.message))}}))).container,300,d?180:140,!0,!0,mxUtils.bind(this,function(a){null!=b&&b(a);a&&null==this.getCurrentFile()&&null==this.dialog&&this.showSplash()}))};\r\nApp.prototype.convertFile=function(a,d,c,b,g,f,m,e){var k=d;/\\.svg$/i.test(k)||(k=k.substring(0,d.lastIndexOf("."))+b);var l=!1;null!=this.gitHub&&a.substring(0,this.gitHub.baseUrl.length)==this.gitHub.baseUrl&&(l=!0);if(/\\.v(dx|sdx?)$/i.test(d)&&Graph.fileSupport&&(new XMLHttpRequest).upload&&"string"===typeof(new XMLHttpRequest).responseType){var n=new XMLHttpRequest;n.open("GET",a,!0);l||(n.responseType="blob");if(e)for(var p in e)n.setRequestHeader(p,e[p]);n.onload=mxUtils.bind(this,function(){if(200<=\r\nn.status&&299>=n.status){var a=null;l?(a=JSON.parse(n.responseText),a=this.base64ToBlob(a.content,"application/octet-stream")):a=new Blob([n.response],{type:"application/octet-stream"});this.importVisio(a,mxUtils.bind(this,function(a){g(new LocalFile(this,a,k,!0))}),f,d)}else null!=f&&f({message:mxResources.get("errorLoadingFile")})});n.onerror=f;n.send()}else{var q=mxUtils.bind(this,function(b){try{if(/\\.pdf$/i.test(d)){var c=Editor.extractGraphModelFromPdf(b);null!=c&&0<c.length&&g(new LocalFile(this,\r\nc,k,!0))}else/\\.png$/i.test(d)?(c=this.extractGraphModelFromPng(b),null!=c?g(new LocalFile(this,c,k,!0)):g(new LocalFile(this,b,d,!0))):Graph.fileSupport&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(b,a)?this.parseFile(new Blob([b],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?g(new LocalFile(this,a.responseText,k,!0)):null!=f&&f({message:mxResources.get("errorLoadingFile")}))}),d):g(new LocalFile(this,b,k,!0))}catch(v){null!=\r\nf&&f(v)}});c=/\\.png$/i.test(d)||/\\.jpe?g$/i.test(d)||/\\.pdf$/i.test(d)||null!=c&&"image/"==c.substring(0,6);l?mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=g){a=JSON.parse(a.getText());var b=a.content;"base64"===a.encoding&&(b=/\\.png$/i.test(d)?"data:image/png;base64,"+b:/\\.pdf$/i.test(d)?"data:application/pdf;base64,"+b:!window.atob||mxClient.IS_IE||mxClient.IS_IE11?Base64.decode(b):atob(b));q(b)}}else null!=f&&f({code:App.ERROR_UNKNOWN})}),function(){null!=\r\nf&&f({code:App.ERROR_UNKNOWN})},!1,this.timeout,function(){null!=f&&f({code:App.ERROR_TIMEOUT,retry:fn})},e):null!=m?m(a,q,f,c):this.editor.loadUrl(a,q,f,c,null,null,null,e)}};\r\nApp.prototype.updateHeader=function(){if(null!=this.menubar){this.appIcon=document.createElement("a");this.appIcon.style.display="block";this.appIcon.style.position="absolute";this.appIcon.style.width="32px";this.appIcon.style.height=this.menubarHeight-28+"px";this.appIcon.style.margin="14px 0px 8px 16px";this.appIcon.style.opacity="0.85";this.appIcon.style.borderRadius="3px";"dark"!=uiTheme&&(this.appIcon.style.backgroundColor="#f08705");mxEvent.disableContextMenu(this.appIcon);mxEvent.addListener(this.appIcon,\r\n"click",mxUtils.bind(this,function(a){this.appIconClicked(a)}));var a=mxClient.IS_SVG?"dark"==uiTheme?"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIKICAgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzA2LjE4NSAxMjAuMjk2IgogICB2aWV3Qm94PSIyNCAyNiA2OCA2OCIKICAgeT0iMHB4IgogICB4PSIwcHgiCiAgIHZlcnNpb249IjEuMSI+CiAgIAkgPGc+PGxpbmUKICAgICAgIHkyPSI3Mi4zOTQiCiAgICAgICB4Mj0iNDEuMDYxIgogICAgICAgeTE9IjQzLjM4NCIKICAgICAgIHgxPSI1OC4wNjkiCiAgICAgICBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiCiAgICAgICBzdHJva2Utd2lkdGg9IjMuNTUyOCIKICAgICAgIHN0cm9rZT0iI0ZGRkZGRiIKICAgICAgIGZpbGw9Im5vbmUiIC8+PGxpbmUKICAgICAgIHkyPSI3Mi4zOTQiCiAgICAgICB4Mj0iNzUuMDc2IgogICAgICAgeTE9IjQzLjM4NCIKICAgICAgIHgxPSI1OC4wNjgiCiAgICAgICBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiCiAgICAgICBzdHJva2Utd2lkdGg9IjMuNTAwOCIKICAgICAgIHN0cm9rZT0iI0ZGRkZGRiIKICAgICAgIGZpbGw9Im5vbmUiIC8+PGc+PHBhdGgKICAgICAgICAgZD0iTTUyLjc3Myw3Ny4wODRjMCwxLjk1NC0xLjU5OSwzLjU1My0zLjU1MywzLjU1M0gzNi45OTljLTEuOTU0LDAtMy41NTMtMS41OTktMy41NTMtMy41NTN2LTkuMzc5ICAgIGMwLTEuOTU0LDEuNTk5LTMuNTUzLDMuNTUzLTMuNTUzaDEyLjIyMmMxLjk1NCwwLDMuNTUzLDEuNTk5LDMuNTUzLDMuNTUzVjc3LjA4NHoiCiAgICAgICAgIGZpbGw9IiNGRkZGRkYiIC8+PC9nPjxnCiAgICAgICBpZD0iZzM0MTkiPjxwYXRoCiAgICAgICAgIGQ9Ik02Ny43NjIsNDguMDc0YzAsMS45NTQtMS41OTksMy41NTMtMy41NTMsMy41NTNINTEuOTg4Yy0xLjk1NCwwLTMuNTUzLTEuNTk5LTMuNTUzLTMuNTUzdi05LjM3OSAgICBjMC0xLjk1NCwxLjU5OS0zLjU1MywzLjU1My0zLjU1M0g2NC4yMWMxLjk1NCwwLDMuNTUzLDEuNTk5LDMuNTUzLDMuNTUzVjQ4LjA3NHoiCiAgICAgICAgIGZpbGw9IiNGRkZGRkYiIC8+PC9nPjxnPjxwYXRoCiAgICAgICAgIGQ9Ik04Mi43NTIsNzcuMDg0YzAsMS45NTQtMS41OTksMy41NTMtMy41NTMsMy41NTNINjYuOTc3Yy0xLjk1NCwwLTMuNTUzLTEuNTk5LTMuNTUzLTMuNTUzdi05LjM3OSAgICBjMC0xLjk1NCwxLjU5OS0zLjU1MywzLjU1My0zLjU1M2gxMi4yMjJjMS45NTQsMCwzLjU1MywxLjU5OSwzLjU1MywzLjU1M1Y3Ny4wODR6IgogICAgICAgICBmaWxsPSIjRkZGRkZGIiAvPjwvZz48L2c+PC9zdmc+)":\r\n"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJFYmVuZV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjI1IDIyNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjI1IDIyNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MXtmaWxsOiNERjZDMEM7fQoJLnN0MntmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNMjI1LDIxNS40YzAsNS4zLTQuMyw5LjYtOS41LDkuNmwwLDBINzcuMWwtNDQuOC00NS41TDYwLjIsMTM0bDgyLjctMTAyLjdsODIuMSw4NC41VjIxNS40eiIvPgo8cGF0aCBjbGFzcz0ic3QyIiBkPSJNMTg0LjYsMTI1LjhoLTIzLjdsLTI1LTQyLjdjNS43LTEuMiw5LjgtNi4yLDkuNy0xMlYzOWMwLTYuOC01LjQtMTIuMy0xMi4yLTEyLjNoLTAuMUg5MS42CgljLTYuOCwwLTEyLjMsNS40LTEyLjMsMTIuMlYzOXYzMi4xYzAsNS44LDQsMTAuOCw5LjcsMTJsLTI1LDQyLjdINDAuNGMtNi44LDAtMTIuMyw1LjQtMTIuMywxMi4ydjAuMXYzMi4xCgljMCw2LjgsNS40LDEyLjMsMTIuMiwxMi4zaDAuMWg0MS43YzYuOCwwLDEyLjMtNS40LDEyLjMtMTIuMnYtMC4xdi0zMi4xYzAtNi44LTUuNC0xMi4zLTEyLjItMTIuM2gtMC4xaC00bDI0LjgtNDIuNGgxOS4zCglsMjQuOSw0Mi40SDE0M2MtNi44LDAtMTIuMyw1LjQtMTIuMywxMi4ydjAuMXYzMi4xYzAsNi44LDUuNCwxMi4zLDEyLjIsMTIuM2gwLjFoNDEuN2M2LjgsMCwxMi4zLTUuNCwxMi4zLTEyLjJ2LTAuMXYtMzIuMQoJYzAtNi44LTUuNC0xMi4zLTEyLjItMTIuM0MxODQuNywxMjUuOCwxODQuNywxMjUuOCwxODQuNiwxMjUuOHoiLz4KPC9zdmc+Cg==)":\r\n"url(\'"+IMAGE_PATH+"/logo-white.png\')";this.appIcon.style.backgroundImage=a;this.appIcon.style.backgroundPosition="center center";this.appIcon.style.backgroundSize="100% 100%";this.appIcon.style.backgroundRepeat="no-repeat";mxUtils.setPrefixedStyle(this.appIcon.style,"transition","all 125ms linear");mxEvent.addListener(this.appIcon,"mouseover",mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&(a=a.getMode(),a==App.MODE_GOOGLE?(this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/google-drive-logo-white.svg)",\r\nthis.appIcon.style.backgroundSize="70% 70%"):a==App.MODE_DROPBOX?(this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/dropbox-logo-white.svg)",this.appIcon.style.backgroundSize="70% 70%"):a==App.MODE_ONEDRIVE?(this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/onedrive-logo-white.svg)",this.appIcon.style.backgroundSize="70% 70%"):a==App.MODE_GITHUB?(this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/github-logo-white.svg)",this.appIcon.style.backgroundSize="70% 70%"):a==App.MODE_GITLAB?\r\n(this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/gitlab-logo-white.svg)",this.appIcon.style.backgroundSize="100% 100%"):a==App.MODE_NOTION?(this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/notion-logo-white.svg)",this.appIcon.style.backgroundSize="70% 70%"):a==App.MODE_TRELLO&&(this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/trello-logo-white-orange.svg)",this.appIcon.style.backgroundSize="70% 70%"))}));mxEvent.addListener(this.appIcon,"mouseout",mxUtils.bind(this,function(){this.appIcon.style.backgroundImage=\r\na;this.appIcon.style.backgroundSize="90% 90%"}));"1"!=urlParams.embed&&this.menubarContainer.appendChild(this.appIcon);this.fnameWrapper=document.createElement("div");this.fnameWrapper.style.position="absolute";this.fnameWrapper.style.right="120px";this.fnameWrapper.style.left="60px";this.fnameWrapper.style.top="9px";this.fnameWrapper.style.height="26px";this.fnameWrapper.style.display="none";this.fnameWrapper.style.overflow="hidden";this.fnameWrapper.style.textOverflow="ellipsis";this.fname=document.createElement("a");\r\nthis.fname.setAttribute("title",mxResources.get("rename"));this.fname.className="geItem";this.fname.style.padding="2px 8px 2px 8px";this.fname.style.display="inline";this.fname.style.fontSize="18px";this.fname.style.whiteSpace="nowrap";mxEvent.addListener(this.fname,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));mxEvent.addListener(this.fname,"click",mxUtils.bind(this,function(a){var b=this.getCurrentFile();null!=b&&b.isRenamable()&&(this.editor.graph.isEditing()&&\r\nthis.editor.graph.stopEditing(),this.actions.get("rename").funct());mxEvent.consume(a)}));this.fnameWrapper.appendChild(this.fname);"1"!=urlParams.embed&&(this.menubarContainer.appendChild(this.fnameWrapper),this.menubar.container.style.position="absolute",this.menubar.container.style.paddingLeft="59px",this.toolbar.container.style.paddingLeft="16px",this.menubar.container.style.boxSizing="border-box",this.menubar.container.style.top="34px");this.toggleFormatElement=document.createElement("a");this.toggleFormatElement.setAttribute("title",\r\nmxResources.get("formatPanel")+" ("+Editor.ctrlKey+"+Shift+P)");this.toggleFormatElement.style.position="absolute";this.toggleFormatElement.style.display="inline-block";this.toggleFormatElement.style.top="atlas"==uiTheme?"8px":"6px";this.toggleFormatElement.style.right="atlas"!=uiTheme&&"1"!=urlParams.embed?"30px":"10px";this.toggleFormatElement.style.padding="2px";this.toggleFormatElement.style.fontSize="14px";this.toggleFormatElement.className="atlas"!=uiTheme?"geButton":"";this.toggleFormatElement.style.width=\r\n"16px";this.toggleFormatElement.style.height="16px";this.toggleFormatElement.style.backgroundPosition="50% 50%";this.toggleFormatElement.style.backgroundRepeat="no-repeat";this.toolbarContainer.appendChild(this.toggleFormatElement);"dark"==uiTheme&&(this.toggleFormatElement.style.filter="invert(100%)");mxEvent.addListener(this.toggleFormatElement,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));mxEvent.addListener(this.toggleFormatElement,"click",mxUtils.bind(this,\r\nfunction(a){this.actions.get("formatPanel").funct();mxEvent.consume(a)}));var d=mxUtils.bind(this,function(){this.toggleFormatElement.style.backgroundImage=0<this.formatWidth?"url(\'"+this.formatShowImage+"\')":"url(\'"+this.formatHideImage+"\')"});this.addListener("formatWidthChanged",d);d();this.fullscreenElement=document.createElement("a");this.fullscreenElement.setAttribute("title",mxResources.get("fullscreen"));this.fullscreenElement.style.position="absolute";this.fullscreenElement.style.display=\r\n"inline-block";this.fullscreenElement.style.top="atlas"==uiTheme?"8px":"6px";this.fullscreenElement.style.right="atlas"!=uiTheme&&"1"!=urlParams.embed?"50px":"30px";this.fullscreenElement.style.padding="2px";this.fullscreenElement.style.fontSize="14px";this.fullscreenElement.className="atlas"!=uiTheme?"geButton":"";this.fullscreenElement.style.width="16px";this.fullscreenElement.style.height="16px";this.fullscreenElement.style.backgroundPosition="50% 50%";this.fullscreenElement.style.backgroundRepeat=\r\n"no-repeat";this.fullscreenElement.style.backgroundImage="url(\'"+this.fullscreenImage+"\')";this.toolbarContainer.appendChild(this.fullscreenElement);mxEvent.addListener(this.fullscreenElement,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));"atlas"==uiTheme&&(mxUtils.setOpacity(this.toggleFormatElement,70),mxUtils.setOpacity(this.fullscreenElement,70));var c=this.hsplitPosition;"dark"==uiTheme&&(this.fullscreenElement.style.filter="invert(100%)");mxEvent.addListener(this.fullscreenElement,\r\n"click",mxUtils.bind(this,function(a){var b=this.fullscreenMode;"atlas"!=uiTheme&&"1"!=urlParams.embed&&this.toggleCompactMode(b);b||(c=this.hsplitPosition);this.hsplitPosition=b?c:0;this.toggleFormatPanel(b);this.fullscreenMode=!b;mxEvent.consume(a)}));"1"!=urlParams.embed&&(this.toggleElement=document.createElement("a"),this.toggleElement.setAttribute("title",mxResources.get("collapseExpand")),this.toggleElement.className="geButton",this.toggleElement.style.position="absolute",this.toggleElement.style.display=\r\n"inline-block",this.toggleElement.style.width="16px",this.toggleElement.style.height="16px",this.toggleElement.style.color="#666",this.toggleElement.style.top="atlas"==uiTheme?"8px":"6px",this.toggleElement.style.right="10px",this.toggleElement.style.padding="2px",this.toggleElement.style.fontSize="14px",this.toggleElement.style.textDecoration="none",this.toggleElement.style.backgroundImage="url(\'"+this.chevronUpImage+"\')",this.toggleElement.style.backgroundPosition="50% 50%",this.toggleElement.style.backgroundRepeat=\r\n"no-repeat","dark"==uiTheme&&(this.toggleElement.style.filter="invert(100%)"),mxEvent.addListener(this.toggleElement,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()})),mxEvent.addListener(this.toggleElement,"click",mxUtils.bind(this,function(a){this.toggleCompactMode();mxEvent.consume(a)})),"atlas"!=uiTheme&&this.toolbarContainer.appendChild(this.toggleElement),!mxClient.IS_FF&&740>=screen.height&&"undefined"!==typeof this.toggleElement.click&&window.setTimeout(mxUtils.bind(this,\r\nfunction(){this.toggleElement.click()}),0))}};\r\nApp.prototype.toggleCompactMode=function(a){(a=null!=a?a:this.compactMode)?(this.menubar.container.style.position="absolute",this.menubar.container.style.paddingLeft="59px",this.menubar.container.style.paddingTop="",this.menubar.container.style.paddingBottom="",this.menubar.container.style.top="34px",this.toolbar.container.style.paddingLeft="16px",this.buttonContainer.style.visibility="visible",this.appIcon.style.display="block",this.fnameWrapper.style.display="block",this.fnameWrapper.style.visibility=\r\n"visible",this.menubarHeight=App.prototype.menubarHeight,this.refresh(),this.toggleElement.style.backgroundImage="url(\'"+this.chevronUpImage+"\')"):(this.menubar.container.style.position="relative",this.menubar.container.style.paddingLeft="4px",this.menubar.container.style.paddingTop="0px",this.menubar.container.style.paddingBottom="0px",this.menubar.container.style.top="0px",this.toolbar.container.style.paddingLeft="8px",this.buttonContainer.style.visibility="hidden",this.appIcon.style.display="none",\r\nthis.fnameWrapper.style.display="none",this.fnameWrapper.style.visibility="hidden",this.menubarHeight=EditorUi.prototype.menubarHeight,this.refresh(),this.toggleElement.style.backgroundImage="url(\'"+this.chevronDownImage+"\')");this.compactMode=!a};\r\nApp.prototype.updateUserElement=function(){if(null!=this.drive&&null!=this.drive.getUser()||null!=this.oneDrive&&null!=this.oneDrive.getUser()||null!=this.dropbox&&null!=this.dropbox.getUser()||null!=this.gitHub&&null!=this.gitHub.getUser()||null!=this.gitLab&&null!=this.gitLab.getUser()||null!=this.notion&&null!=this.notion.getUser()||null!=this.trello&&this.trello.isAuthorized()){null==this.userElement&&(this.userElement=document.createElement("a"),this.userElement.className="geItem",this.userElement.style.position=\r\n"absolute",this.userElement.style.fontSize="8pt",this.userElement.style.top="atlas"==uiTheme?"8px":"2px",this.userElement.style.right="30px",this.userElement.style.margin="4px",this.userElement.style.padding="2px",this.userElement.style.paddingRight="16px",this.userElement.style.verticalAlign="middle",this.userElement.style.backgroundImage="url("+IMAGE_PATH+"/expanded.gif)",this.userElement.style.backgroundPosition="100% 60%",this.userElement.style.backgroundRepeat="no-repeat",this.menubarContainer.appendChild(this.userElement),\r\nmxEvent.addListener(this.userElement,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()})),mxEvent.addListener(this.userElement,"click",mxUtils.bind(this,function(a){if(null==this.userPanel){var c=document.createElement("div");c.className="geDialog";c.style.position="absolute";c.style.top=this.userElement.clientTop+this.userElement.clientHeight+6+"px";c.style.right="36px";c.style.padding="0px";c.style.cursor="default";this.userPanel=c}if(null!=this.userPanel.parentNode)this.userPanel.parentNode.removeChild(this.userPanel);\r\nelse{var b=!1;this.userPanel.innerHTML="";c=document.createElement("img");c.setAttribute("src",Dialog.prototype.closeImage);c.setAttribute("title",mxResources.get("close"));c.className="geDialogClose";c.style.top="8px";c.style.right="8px";mxEvent.addListener(c,"click",mxUtils.bind(this,function(){null!=this.userPanel.parentNode&&this.userPanel.parentNode.removeChild(this.userPanel)}));this.userPanel.appendChild(c);if(null!=this.drive&&(c=this.drive.getUsersList(),0<c.length)){var d=mxUtils.bind(this,\r\nfunction(a,b){var c=this.getCurrentFile();null!=c&&c.constructor==DriveFile?(this.spinner.spin(document.body,b),this.fileLoaded(null),window.setTimeout(mxUtils.bind(this,function(){this.spinner.stop();a()}),2E3)):a()}),f=mxUtils.bind(this,function(a){var b=document.createElement("tr");b.style.cssText=a.isCurrent?"":"background-color: whitesmoke; cursor: pointer";b.setAttribute("title","User ID: "+a.id);b.innerHTML=\'<td valign="middle" style="height: 59px;width: 66px;\'+(a.isCurrent?"":"border-top: 1px solid rgb(224, 224, 224);")+\r\n\'"><img width="50" height="50" style="margin: 4px 8px 0 8px;border-radius:50%;" src="\'+(null!=a.pictureUrl?a.pictureUrl:this.defaultUserPicture)+\'"/></td><td valign="middle" style="white-space:nowrap;\'+(null!=a.pictureUrl?"padding-top:4px;":"")+(a.isCurrent?"":"border-top: 1px solid rgb(224, 224, 224);")+\'">\'+mxUtils.htmlEntities(a.displayName)+\'<br><small style="color:gray;">\'+mxUtils.htmlEntities(a.email)+\'</small><div style="margin-top:4px;"><i>\'+mxResources.get("googleDrive")+"</i></div>";a.isCurrent||\r\nmxEvent.addListener(b,"click",mxUtils.bind(this,function(b){d(mxUtils.bind(this,function(){this.stateArg=null;this.drive.setUser(a);this.drive.authorize(!0,mxUtils.bind(this,function(){this.setMode(App.MODE_GOOGLE);this.hideDialog();this.showSplash()}),mxUtils.bind(this,function(a){this.handleError(a)}),!0)}),mxResources.get("closingFile")+"...");mxEvent.consume(b)}));return b}),b=!0,m=document.createElement("table");m.style.cssText="font-size:10pt;padding: 20px 0 0 0;min-width: 300px;border-spacing: 0;";\r\nfor(var e=0;e<c.length;e++)m.appendChild(f(c[e]));this.userPanel.appendChild(m);c=document.createElement("div");c.style.textAlign="left";c.style.padding="8px";c.style.whiteSpace="nowrap";c.style.borderTop="1px solid rgb(224, 224, 224)";f=mxUtils.button(mxResources.get("signOut"),mxUtils.bind(this,function(){this.confirm(mxResources.get("areYouSure"),mxUtils.bind(this,function(){d(mxUtils.bind(this,function(){this.stateArg=null;this.drive.logout();this.setMode(App.MODE_GOOGLE);this.hideDialog();this.showSplash()}),\r\nmxResources.get("signOut"))}))}));f.className="geBtn";f.style["float"]="right";c.appendChild(f);f=mxUtils.button(mxResources.get("addAccount"),mxUtils.bind(this,function(){var a=this.drive.createAuthWin();a.blur();window.focus();d(mxUtils.bind(this,function(){this.stateArg=null;this.drive.authorize(!1,mxUtils.bind(this,function(){this.setMode(App.MODE_GOOGLE);this.hideDialog();this.showSplash()}),mxUtils.bind(this,function(a){this.handleError(a)}),!0,a)}),mxResources.get("closingFile")+"...")}));\r\nf.className="geBtn";f.style.margin="0px";c.appendChild(f);this.userPanel.appendChild(c)}c=mxUtils.bind(this,function(a,c,d,e){if(null!=a){b&&this.userPanel.appendChild(document.createElement("hr"));b=!0;var f=document.createElement("table");f.style.cssText="font-size:10pt;padding:"+(b?"10":"20")+"px 20px 10px 10px;";f.innerHTML+=\'<tr><td valign="top">\'+(null!=c?\'<img style="margin-right:6px;" src="\'+c+\'" width="40" height="40"/></td>\':"")+\'<td valign="middle" style="white-space:nowrap;">\'+mxUtils.htmlEntities(a.displayName)+\r\n(null!=a.email?\'<br><small style="color:gray;">\'+mxUtils.htmlEntities(a.email)+"</small>":"")+(null!=e?\'<div style="margin-top:4px;"><i>\'+mxUtils.htmlEntities(e)+"</i></div>":"")+"</td></tr>";this.userPanel.appendChild(f);a=document.createElement("div");a.style.textAlign="center";a.style.paddingBottom="12px";a.style.whiteSpace="nowrap";null!=d&&(d=mxUtils.button(mxResources.get("signOut"),d),d.className="geBtn",a.appendChild(d));this.userPanel.appendChild(a)}});null!=this.dropbox&&c(this.dropbox.getUser(),\r\nIMAGE_PATH+"/dropbox-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.constructor==DropboxFile){var b=mxUtils.bind(this,function(){this.dropbox.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}else this.dropbox.logout()}),mxResources.get("dropbox"));null!=this.oneDrive&&c(this.oneDrive.getUser(),IMAGE_PATH+"/onedrive-logo.svg",this.oneDrive.noLogout?\r\nnull:mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.constructor==OneDriveFile){var b=mxUtils.bind(this,function(){this.oneDrive.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}else this.oneDrive.logout()}),mxResources.get("oneDrive"));null!=this.gitHub&&c(this.gitHub.getUser(),IMAGE_PATH+"/github-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();\r\nif(null!=a&&a.constructor==GitHubFile){var b=mxUtils.bind(this,function(){this.gitHub.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}else this.gitHub.logout()}),mxResources.get("github"));null!=this.gitLab&&c(this.gitLab.getUser(),IMAGE_PATH+"/gitlab-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.constructor==GitLabFile){var b=mxUtils.bind(this,\r\nfunction(){this.gitLab.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}else this.gitLab.logout()}),mxResources.get("gitlab"));null!=this.notion&&c(this.notion.getUser(),IMAGE_PATH+"/notion-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.constructor==NotionFile){var b=mxUtils.bind(this,function(){this.notion.logout();window.location.hash=""});a.isModified()?\r\nthis.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}else this.notion.logout()}),mxResources.get("notion"));null!=this.trello&&c(this.trello.getUser(),IMAGE_PATH+"/trello-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.constructor==TrelloFile){var b=mxUtils.bind(this,function(){this.trello.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),\r\nmxResources.get("discardChanges")):b()}else this.trello.logout()}),mxResources.get("trello"));b||(c=document.createElement("div"),c.style.textAlign="center",c.style.padding="20px 20px 10px 10px",c.innerHTML=mxResources.get("notConnected"),this.userPanel.appendChild(c));c=document.createElement("div");c.style.textAlign="center";c.style.padding="12px";c.style.background=Editor.isDarkMode()?"":"whiteSmoke";c.style.borderTop="1px solid #e0e0e0";c.style.whiteSpace="nowrap";"1"==urlParams.sketch?(f=mxUtils.button(mxResources.get("share"),\r\nmxUtils.bind(this,function(){this.actions.get("share").funct()})),f.className="geBtn",c.appendChild(f),this.userPanel.appendChild(c),this.commentsSupported()&&(f=mxUtils.button(mxResources.get("comments"),mxUtils.bind(this,function(){this.actions.get("comments").funct()})),f.className="geBtn",c.appendChild(f),this.userPanel.appendChild(c))):(f=mxUtils.button(mxResources.get("close"),mxUtils.bind(this,function(){mxEvent.isConsumed(a)||null==this.userPanel||null==this.userPanel.parentNode||this.userPanel.parentNode.removeChild(this.userPanel)})),\r\nf.className="geBtn",c.appendChild(f),this.userPanel.appendChild(c));document.body.appendChild(this.userPanel)}mxEvent.consume(a)})),mxEvent.addListener(document.body,"click",mxUtils.bind(this,function(a){mxEvent.isConsumed(a)||null==this.userPanel||null==this.userPanel.parentNode||this.userPanel.parentNode.removeChild(this.userPanel)})));var a=null;null!=this.drive&&null!=this.drive.getUser()?a=this.drive.getUser():null!=this.oneDrive&&null!=this.oneDrive.getUser()?a=this.oneDrive.getUser():null!=\r\nthis.dropbox&&null!=this.dropbox.getUser()?a=this.dropbox.getUser():null!=this.gitHub&&null!=this.gitHub.getUser()?a=this.gitHub.getUser():null!=this.gitLab&&null!=this.gitLab.getUser()?a=this.gitLab.getUser():null!=this.notion&&null!=this.notion.getUser()&&(a=this.notion.getUser());null!=a?(this.userElement.innerHTML="",560<screen.width&&(mxUtils.write(this.userElement,a.displayName),this.userElement.style.display="block")):this.userElement.style.display="none"}else null!=this.userElement&&(this.userElement.parentNode.removeChild(this.userElement),\r\nthis.userElement=null)};App.prototype.getCurrentUser=function(){var a=null;null!=this.drive&&null!=this.drive.getUser()?a=this.drive.getUser():null!=this.oneDrive&&null!=this.oneDrive.getUser()?a=this.oneDrive.getUser():null!=this.dropbox&&null!=this.dropbox.getUser()?a=this.dropbox.getUser():null!=this.gitHub&&null!=this.gitHub.getUser()&&(a=this.gitHub.getUser());return a};var editorResetGraph=Editor.prototype.resetGraph;\r\nEditor.prototype.resetGraph=function(){editorResetGraph.apply(this,arguments);this.graph.pageFormat=mxSettings.getPageFormat()};(function(){var a=mxPopupMenu.prototype.showMenu;mxPopupMenu.prototype.showMenu=function(){a.apply(this,arguments);this.div.style.overflowY="auto";this.div.style.overflowX="hidden";this.div.style.maxHeight=Math.max(document.body.clientHeight,document.documentElement.clientHeight)-10+"px"};Menus.prototype.createHelpLink=function(a){var b=document.createElement("span");b.setAttribute("title",mxResources.get("help"));b.style.cssText="color:blue;text-decoration:underline;margin-left:8px;cursor:help;";\r\nvar c=document.createElement("img");mxUtils.setOpacity(c,50);c.style.height="16px";c.style.width="16px";c.setAttribute("border","0");c.setAttribute("valign","bottom");c.setAttribute("src",Editor.helpImage);b.appendChild(c);mxEvent.addGestureListeners(b,mxUtils.bind(this,function(b){this.editorUi.hideCurrentMenu();this.editorUi.openLink(a);mxEvent.consume(b)}));return b};Menus.prototype.addLinkToItem=function(a,b){null!=a&&a.firstChild.nextSibling.appendChild(this.createHelpLink(b))};var d=Menus.prototype.init;\r\nMenus.prototype.init=function(){function a(a,b,c){this.ui=a;this.previousExtFonts=this.extFonts=b;this.prevCustomFonts=this.customFonts=c}d.apply(this,arguments);var b=this.editorUi,g=b.editor.graph,f=mxUtils.bind(g,g.isEnabled),m=("1"!=urlParams.embed&&"0"!=urlParams.gapi||"1"==urlParams.embed&&"1"==urlParams.gapi)&&mxClient.IS_SVG&&isLocalStorage&&(null==document.documentMode||10<=document.documentMode),e=("1"!=urlParams.embed&&"0"!=urlParams.db||"1"==urlParams.embed&&"1"==urlParams.db)&&mxClient.IS_SVG&&\r\n(null==document.documentMode||9<document.documentMode),k=("www.draw.io"==window.location.hostname||"test.draw.io"==window.location.hostname||"drive.draw.io"==window.location.hostname||"app.diagrams.net"==window.location.hostname)&&("1"!=urlParams.embed&&"0"!=urlParams.od||"1"==urlParams.embed&&"1"==urlParams.od)&&!mxClient.IS_IOS&&(0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode),l="1"==urlParams.tr&&mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode);mxClient.IS_SVG||\r\nb.isOffline()||((new Image).src=IMAGE_PATH+"/help.png");"1"==urlParams.noFileMenu&&(this.defaultMenuItems=this.defaultMenuItems.filter(function(a){return"file"!=a}));b.actions.addAction("new...",function(){var a=b.isOffline();if(a||"1"!=urlParams.newTempDlg||b.mode!=App.MODE_GOOGLE){var c=new NewDialog(b,a,!(b.mode==App.MODE_DEVICE&&"chooseFileSystemEntries"in window));b.showDialog(c.container,a?350:620,a?70:460,!0,!0,function(a){b.sidebar.hideTooltip();a&&null==b.getCurrentFile()&&b.showSplash()});\r\nc.init()}else{var d=function(a){return{id:a.id,isExt:!0,url:a.downloadUrl,title:a.title,imgUrl:a.thumbnailLink,changedBy:a.lastModifyingUserName,lastModifiedOn:a.modifiedDate}},a=new TemplatesDialog(b,function(a,c,d){var e=d.libs,f=d.clibs;b.pickFolder(b.mode,function(d){b.createFile(c,a,null!=e&&0<e.length?e:null,null,function(){b.hideDialog()},null,d,null,null!=f&&0<f.length?f:null)},null==b.stateArg||null==b.stateArg.folderId)},null,null,null,"user",function(a,c,e){var f=new Date;f.setDate(f.getDate()-\r\n7);b.drive.listFiles(null,f,e?!0:!1,function(b){for(var c=[],e=0;e<b.items.length;e++)c.push(d(b.items[e]));a(c)},c)},function(a,c,e,f){b.drive.listFiles(a,null,f?!0:!1,function(a){for(var b=[],e=0;e<a.items.length;e++)b.push(d(a.items[e]));c(b)},e)},function(a,c,d){b.drive.getFile(a.id,function(a){c(a.data)},d)},null,null,!1,!1);b.showDialog(a.container,window.innerWidth,window.innerHeight,!0,!1,null,!1,!0)}});b.actions.put("insertTemplate",new Action(mxResources.get("template")+"...",function(){if(g.isEnabled()&&\r\n!g.isCellLocked(g.getDefaultParent())){var a=new NewDialog(b,null,!1,function(a){b.hideDialog();if(null!=a){var c=b.editor.graph.getFreeInsertPoint();g.setSelectionCells(b.importXml(a,Math.max(c.x,20),Math.max(c.y,20),!0,null,null,!0));g.scrollCellToVisible(g.getSelectionCell())}},null,null,null,null,null,null,null,null,null,null,!1,mxResources.get("insert"));b.showDialog(a.container,620,460,!0,!0,function(){b.sidebar.hideTooltip()});a.init()}})).isEnabled=f;var n=b.actions.addAction("points",function(){b.editor.graph.view.setUnit(mxConstants.POINTS)});\r\nn.setToggleAction(!0);n.setSelectedCallback(function(){return b.editor.graph.view.unit==mxConstants.POINTS});n=b.actions.addAction("inches",function(){b.editor.graph.view.setUnit(mxConstants.INCHES)});n.setToggleAction(!0);n.setSelectedCallback(function(){return b.editor.graph.view.unit==mxConstants.INCHES});n=b.actions.addAction("millimeters",function(){b.editor.graph.view.setUnit(mxConstants.MILLIMETERS)});n.setToggleAction(!0);n.setSelectedCallback(function(){return b.editor.graph.view.unit==mxConstants.MILLIMETERS});\r\nthis.put("units",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["points","millimeters"],b)})));n=b.actions.addAction("ruler",function(){mxSettings.setRulerOn(!mxSettings.isRulerOn());mxSettings.save();null!=b.ruler?(b.ruler.destroy(),b.ruler=null):b.ruler=new mxDualRuler(b,b.editor.graph.view.unit);b.refresh()});n.setEnabled(b.canvasSupported&&9!=document.documentMode);n.setToggleAction(!0);n.setSelectedCallback(function(){return null!=b.ruler});n=b.actions.addAction("fullscreen",function(){null==\r\ndocument.fullscreenElement?document.body.requestFullscreen():document.exitFullscreen()});n.visible=document.fullscreenEnabled&&null!=document.body.requestFullscreen;n.setToggleAction(!0);n.setSelectedCallback(function(){return null!=document.fullscreenElement});b.actions.addAction("properties...",function(){var a=new FilePropertiesDialog(b);b.showDialog(a.container,320,120,!0,!0);a.init()}).isEnabled=f;window.mxFreehand&&(b.actions.put("insertFreehand",new Action(mxResources.get("freehand")+"...",\r\nfunction(a){g.isEnabled()&&(null==this.freehandWindow&&(this.freehandWindow=new FreehandWindow(b,document.body.offsetWidth-420,102,176,84)),g.freehand.isDrawing()?g.freehand.stopDrawing():g.freehand.startDrawing(),this.freehandWindow.window.setVisible(g.freehand.isDrawing()))})).isEnabled=function(){return f()&&mxClient.IS_SVG});b.actions.put("exportXml",new Action(mxResources.get("formatXml")+"...",function(){var a=document.createElement("div");a.style.whiteSpace="nowrap";var c=null==b.pages||1>=\r\nb.pages.length,d=document.createElement("h3");mxUtils.write(d,mxResources.get("formatXml"));d.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";a.appendChild(d);var e=b.addCheckbox(a,mxResources.get("selectionOnly"),!1,g.isSelectionEmpty()),f=b.addCheckbox(a,mxResources.get("compressed"),!0),k=b.addCheckbox(a,mxResources.get("allPages"),!c,c);k.style.marginBottom="16px";mxEvent.addListener(e,"change",function(){e.checked?k.setAttribute("disabled","disabled"):k.removeAttribute("disabled")});\r\na=new CustomDialog(b,a,mxUtils.bind(this,function(){b.downloadFile("xml",!f.checked,null,!e.checked,c||!k.checked)}),null,mxResources.get("export"));b.showDialog(a.container,300,180,!0,!0)}));b.actions.put("exportUrl",new Action(mxResources.get("url")+"...",function(){b.showPublishLinkDialog(mxResources.get("url"),!0,null,null,function(a,c,d,e,f,g){a=new EmbedDialog(b,b.createLink(a,c,d,e,f,g,null,!0));b.showDialog(a.container,440,240,!0,!0);a.init()})}));b.actions.put("exportHtml",new Action(mxResources.get("formatHtmlEmbedded")+\r\n"...",function(){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(a){b.spinner.stop();b.showHtmlDialog(mxResources.get("export"),null,a,function(a,c,d,e,f,g,k,m,l,n){b.createHtml(a,c,d,e,f,g,k,m,l,n,mxUtils.bind(this,function(a,c){var d=b.getBaseFilename(k),e=\'\\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\\x3e\\n<!DOCTYPE html>\\n<html>\\n<head>\\n<title>\'+mxUtils.htmlEntities(d)+\'</title>\\n<meta charset="utf-8"/>\\n</head>\\n<body>\'+\r\na+"\\n"+c+"\\n</body>\\n</html>";b.saveData(d+".html","html",e,"text/html")}))})})}));b.actions.put("exportPdf",new Action(mxResources.get("formatPdf")+"...",function(){if(EditorUi.isElectronApp||!b.isOffline()&&!b.printPdfExport){var a=null==b.pages||1>=b.pages.length,c=document.createElement("div");c.style.whiteSpace="nowrap";var d=document.createElement("h3");mxUtils.write(d,mxResources.get("formatPdf"));d.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";c.appendChild(d);\r\nvar e=function(){f!=this&&this.checked?(l.removeAttribute("disabled"),l.checked=!g.pageVisible):(l.setAttribute("disabled","disabled"),l.checked=!1)},d=180;if(b.pdfPageExport&&!a){var f=b.addRadiobox(c,"pages",mxResources.get("allPages"),!0),k=b.addRadiobox(c,"pages",mxResources.get("currentPage"),!1),m=b.addRadiobox(c,"pages",mxResources.get("selectionOnly"),!1,g.isSelectionEmpty()),l=b.addCheckbox(c,mxResources.get("crop"),!1,!0),n=b.addCheckbox(c,mxResources.get("grid"),!1,!1);mxEvent.addListener(f,\r\n"change",e);mxEvent.addListener(k,"change",e);mxEvent.addListener(m,"change",e);d+=60}else m=b.addCheckbox(c,mxResources.get("selectionOnly"),!1,g.isSelectionEmpty()),l=b.addCheckbox(c,mxResources.get("crop"),!g.pageVisible||!b.pdfPageExport,!b.pdfPageExport),n=b.addCheckbox(c,mxResources.get("grid"),!1,!1),b.pdfPageExport||mxEvent.addListener(m,"change",e);var e=!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&"draw.io"==b.getServiceName(),p=null,t=null;if(EditorUi.isElectronApp||e)t=b.addCheckbox(c,\r\nmxResources.get("includeCopyOfMyDiagram"),!0),d+=30;e&&(p=b.addCheckbox(c,mxResources.get("transparentBackground"),!1),d+=30);c=new CustomDialog(b,c,mxUtils.bind(this,function(){b.downloadFile("pdf",null,null,!m.checked,a?!0:!f.checked,!l.checked,null!=p&&p.checked,null,null,n.checked,null!=t&&t.checked)}),null,mxResources.get("export"));b.showDialog(c.container,300,d,!0,!0)}else b.showDialog((new PrintDialog(b,mxResources.get("formatPdf"))).container,360,null!=b.pages&&1<b.pages.length&&(b.editor.editable||\r\n"1"!=urlParams["hide-pages"])?450:370,!0,!0)}));b.actions.addAction("open...",function(){b.pickFile()});b.actions.addAction("close",function(){function a(){null!=c&&c.removeDraft();b.fileLoaded(null)}var c=b.getCurrentFile();null!=c&&c.isModified()?b.confirm(mxResources.get("allChangesLost"),null,a,mxResources.get("cancel"),mxResources.get("discardChanges")):a()});b.actions.addAction("editShape...",mxUtils.bind(this,function(){g.getSelectionCells();if(1==g.getSelectionCount()){var a=g.getSelectionCell(),\r\nc=g.view.getState(a);null!=c&&null!=c.shape&&null!=c.shape.stencil&&(a=new EditShapeDialog(b,a,mxResources.get("editShape")+":",630,400),b.showDialog(a.container,640,480,!0,!1),a.init())}}));b.actions.addAction("revisionHistory...",function(){b.isRevisionHistorySupported()?b.spinner.spin(document.body,mxResources.get("loading"))&&b.getRevisions(mxUtils.bind(this,function(a,c){b.spinner.stop();var d=new RevisionDialog(b,a,c);b.showDialog(d.container,640,480,!0,!0);d.init()}),mxUtils.bind(this,function(a){b.handleError(a)})):\r\nb.showError(mxResources.get("error"),mxResources.get("notAvailable"),mxResources.get("ok"))});b.actions.addAction("createRevision",function(){b.actions.get("save").funct()},null,null,Editor.ctrlKey+"+S");n=b.actions.addAction("synchronize",function(){b.synchronizeCurrentFile("none"==DrawioFile.SYNC)},null,null,"Alt+Shift+S");"none"==DrawioFile.SYNC&&(n.label=mxResources.get("refresh"));b.actions.addAction("upload...",function(){var a=b.getCurrentFile();null!=a&&(window.drawdata=b.getFileData(),a=\r\nnull!=a.getTitle()?a.getTitle():b.defaultFilename,b.openLink(window.location.protocol+"//"+window.location.host+"/?create=drawdata&"+(b.mode==App.MODE_DROPBOX?"mode=dropbox&":"")+"title="+encodeURIComponent(a),null,!0))});"undefined"!==typeof MathJax&&(n=b.actions.addAction("mathematicalTypesetting",function(){var a=new ChangePageSetup(b);a.ignoreColor=!0;a.ignoreImage=!0;a.mathEnabled=!b.isMathEnabled();g.model.execute(a)}),n.setToggleAction(!0),n.setSelectedCallback(function(){return b.isMathEnabled()}),\r\nn.isEnabled=f);isLocalStorage&&(n=b.actions.addAction("showStartScreen",function(){mxSettings.setShowStartScreen(!mxSettings.getShowStartScreen());mxSettings.save()}),n.setToggleAction(!0),n.setSelectedCallback(function(){return mxSettings.getShowStartScreen()}));var p=b.actions.addAction("autosave",function(){b.editor.setAutosave(!b.editor.autosave)});p.setToggleAction(!0);p.setSelectedCallback(function(){return p.isEnabled()&&b.editor.autosave});b.actions.addAction("editGeometry...",function(){for(var a=\r\ng.getSelectionCells(),c=[],d=0;d<a.length;d++)g.getModel().isVertex(a[d])&&c.push(a[d]);0<c.length&&(a=new EditGeometryDialog(b,c),b.showDialog(a.container,200,270,!0,!0),a.init())},null,null,Editor.ctrlKey+"+Shift+M");var q=null;b.actions.addAction("copyStyle",function(){g.isEnabled()&&!g.isSelectionEmpty()&&(q=g.copyStyle(g.getSelectionCell()))},null,null,Editor.ctrlKey+"+Shift+C");b.actions.addAction("pasteStyle",function(){g.isEnabled()&&!g.isSelectionEmpty()&&null!=q&&g.pasteStyle(q,g.getSelectionCells())},\r\nnull,null,Editor.ctrlKey+"+Shift+V");b.actions.put("pageBackgroundImage",new Action(mxResources.get("backgroundImage")+"...",function(){if(!b.isOffline()){var a=new BackgroundImageDialog(b,function(a){b.setBackgroundImage(a)});b.showDialog(a.container,320,170,!0,!0);a.init()}}));b.actions.put("exportSvg",new Action(mxResources.get("formatSvg")+"...",function(){b.showExportDialog(mxResources.get("formatSvg"),!0,mxResources.get("export"),"https://www.diagrams.net/doc/faq/export-diagram",mxUtils.bind(this,\r\nfunction(a,c,d,e,f,g,k,m,l,n,p,t,q){a=parseInt(a);!isNaN(a)&&0<a&&b.exportSvg(a/100,c,d,e,f,g,k,!m,!1,n,t,q)}),!0,null,"svg",!0)}));b.actions.put("exportPng",new Action(mxResources.get("formatPng")+"...",function(){b.isExportToCanvas()?b.showExportDialog(mxResources.get("image"),!1,mxResources.get("export"),"https://www.diagrams.net/doc/faq/export-diagram",mxUtils.bind(this,function(a,c,d,e,f,g,k,m,l,n,p,t,q){a=parseInt(a);!isNaN(a)&&0<a&&b.exportImage(a/100,c,d,e,f,k,!m,!1,null,p,null,t,q)}),!0,\r\n!0,"png",!0):b.isOffline()||mxClient.IS_IOS&&navigator.standalone||b.showRemoteExportDialog(mxResources.get("export"),null,mxUtils.bind(this,function(a,c,d,e,f){b.downloadFile(c?"xmlpng":"png",null,null,a,null,null,d,e,f)}),!1,!0)}));b.actions.put("exportJpg",new Action(mxResources.get("formatJpg")+"...",function(){b.isExportToCanvas()?b.showExportDialog(mxResources.get("image"),!1,mxResources.get("export"),"https://www.diagrams.net/doc/faq/export-diagram",mxUtils.bind(this,function(a,c,d,e,f,g,k,\r\nm,l,n,p,t,q){a=parseInt(a);!isNaN(a)&&0<a&&b.exportImage(a/100,!1,d,e,!1,k,!m,!1,"jpeg",p,null,t,q)}),!0,!1,"jpeg",!0):b.isOffline()||mxClient.IS_IOS&&navigator.standalone||b.showRemoteExportDialog(mxResources.get("export"),null,mxUtils.bind(this,function(a,c,d,e,f){b.downloadFile("jpeg",null,null,a,null,null,null,e,f)}),!0,!0)}));n=b.actions.addAction("copyAsImage",mxUtils.bind(this,function(){var a=mxUtils.sortCells(g.model.getTopmostCells(g.getSelectionCells())),c=mxUtils.getXml(0==a.length?b.editor.getGraphXml():\r\ng.encodeCells(a));b.copyImage(a,c)}));n.visible=Editor.enableNativeCipboard&&b.isExportToCanvas()&&!mxClient.IS_SF;n=b.actions.put("shadowVisible",new Action(mxResources.get("shadow"),function(){g.setShadowVisible(!g.shadowVisible)}));n.setToggleAction(!0);n.setSelectedCallback(function(){return g.shadowVisible});b.actions.put("about",new Action(mxResources.get("about")+" "+EditorUi.VERSION+"...",function(){b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?b.alert(b.editor.appName+" "+\r\nEditorUi.VERSION):b.openLink("https://www.diagrams.net/")}));b.actions.addAction("support...",function(){EditorUi.isElectronApp?b.openLink("https://github.com/jgraph/drawio-desktop/wiki/Getting-Support"):b.openLink("https://github.com/jgraph/drawio/wiki/Getting-Support")});b.actions.addAction("exportOptionsDisabled...",function(){b.handleError({message:mxResources.get("exportOptionsDisabledDetails")},mxResources.get("exportOptionsDisabled"))});b.actions.addAction("keyboardShortcuts...",function(){!mxClient.IS_SVG||\r\nmxClient.IS_CHROMEAPP||EditorUi.isElectronApp?b.openLink("https://viewer.diagrams.net/#Uhttps%3A%2F%2Fviewer.diagrams.net%2Fshortcuts.svg"):b.openLink("shortcuts.svg")});b.actions.addAction("feedback...",function(){var a=new FeedbackDialog(b);b.showDialog(a.container,610,360,!0,!1);a.init()});b.actions.addAction("quickStart...",function(){b.openLink("https://www.youtube.com/watch?v=Z0D96ZikMkc")});b.actions.addAction("forkme",function(){EditorUi.isElectronApp?b.openLink("https://github.com/jgraph/drawio-desktop"):\r\nb.openLink("https://github.com/jgraph/drawio")}).label="Fork me on GitHub...";b.actions.addAction("downloadDesktop...",function(){b.openLink("https://get.diagrams.net/")});n=b.actions.addAction("tags...",mxUtils.bind(this,function(){null==this.tagsWindow?(this.tagsWindow=new TagsWindow(b,document.body.offsetWidth-380,230,300,120),this.tagsWindow.window.addListener("show",function(){b.fireEvent(new mxEventObject("tags"))}),this.tagsWindow.window.addListener("hide",function(){b.fireEvent(new mxEventObject("tags"))}),\r\nthis.tagsWindow.window.setVisible(!0),b.fireEvent(new mxEventObject("tags"))):this.tagsWindow.window.setVisible(!this.tagsWindow.window.isVisible())}));n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.tagsWindow&&this.tagsWindow.window.isVisible()}));n=b.actions.addAction("findReplace...",mxUtils.bind(this,function(a,c){var d=g.isEnabled()&&(null==c||!mxEvent.isShiftDown(c)),e=d?"findReplace":"find",f=e+"Window";if(null==this[f]){var k=d?"min"==uiTheme?330:\r\n300:240;this[f]=new FindWindow(b,document.body.offsetWidth-(k+20),100,k,d?"min"==uiTheme?304:288:170,d);this[f].window.addListener("show",function(){b.fireEvent(new mxEventObject(e))});this[f].window.addListener("hide",function(){b.fireEvent(new mxEventObject(e))});this[f].window.setVisible(!0)}else this[f].window.setVisible(!this[f].window.isVisible())}),null,null,Editor.ctrlKey+"+F");n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,function(){var a=g.isEnabled()?"findReplaceWindow":\r\n"findWindow";return null!=this[a]&&this[a].window.isVisible()}));b.actions.put("exportVsdx",new Action(mxResources.get("formatVsdx")+" (beta)...",function(){var a=null==b.pages||1>=b.pages.length;if(a)b.exportVisio();else{var c=document.createElement("div");c.style.whiteSpace="nowrap";var d=document.createElement("h3");mxUtils.write(d,mxResources.get("formatVsdx"));d.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";c.appendChild(d);var e=b.addCheckbox(c,mxResources.get("allPages"),\r\n!a,a);e.style.marginBottom="16px";a=new CustomDialog(b,c,mxUtils.bind(this,function(){b.exportVisio(!e.checked)}),null,mxResources.get("export"));b.showDialog(a.container,300,110,!0,!0)}}));isLocalStorage&&null!=localStorage&&"1"!=urlParams.embed&&b.actions.addAction("configuration...",function(){var a=localStorage.getItem(Editor.configurationKey),c=[[mxResources.get("reset"),function(a,c){b.confirm(mxResources.get("areYouSure"),function(){try{localStorage.removeItem(Editor.configurationKey),mxEvent.isShiftDown(a)&&\r\n(localStorage.removeItem(".drawio-config"),localStorage.removeItem(".mode")),b.hideDialog(),b.alert(mxResources.get("restartForChangeRequired"))}catch(F){b.handleError(F)}})}]];EditorUi.isElectronApp||c.push([mxResources.get("share"),function(a,c){if(0<c.value.length)try{var d=JSON.parse(c.value),e=window.location.protocol+"//"+window.location.host+"/"+b.getSearch()+"#_CONFIG_"+Graph.compress(JSON.stringify(d)),f=new EmbedDialog(b,e);b.showDialog(f.container,440,240,!0);f.init()}catch(G){b.handleError(G)}else b.handleError({message:mxResources.get("invalidInput")})}]);\r\na=new TextareaDialog(b,mxResources.get("configuration")+":",null!=a?JSON.stringify(JSON.parse(a),null,2):"",function(a){if(null!=a)try{if(0<a.length){var c=JSON.parse(a);localStorage.setItem(Editor.configurationKey,JSON.stringify(c))}else localStorage.removeItem(Editor.configurationKey);b.hideDialog();b.alert(mxResources.get("restartForChangeRequired"))}catch(F){b.handleError(F)}},null,null,null,null,null,!0,null,null,"https://www.diagrams.net/doc/faq/configure-diagram-editor",c);a.textarea.style.width=\r\n"600px";a.textarea.style.height="380px";b.showDialog(a.container,620,460,!0,!1);a.init()});if(mxClient.IS_CHROMEAPP||isLocalStorage){this.put("language",new Menu(mxUtils.bind(this,function(a,c){var d=mxUtils.bind(this,function(d){var e=""==d?mxResources.get("automatic"):mxLanguageMap[d],f=null;""!=e&&(f=a.addItem(e,null,mxUtils.bind(this,function(){mxSettings.setLanguage(d);mxSettings.save();mxClient.language=d;mxResources.loadDefaultBundle=!1;mxResources.add(RESOURCE_BASE);b.alert(mxResources.get("restartForChangeRequired"))}),\r\nc),(d==mxLanguage||""==d&&null==mxLanguage)&&a.addCheckmark(f,Editor.checkmarkImage));return f});d("");a.addSeparator(c);for(var e in mxLanguageMap)d(e)})));var u=Menus.prototype.createMenubar;Menus.prototype.createMenubar=function(a){var b=u.apply(this,arguments);if(null!=b&&"1"!=urlParams.noLangIcon){var c=this.get("language");if(null!=c){c=b.addMenu("",c.funct);c.setAttribute("title",mxResources.get("language"));c.style.width="16px";c.style.paddingTop="2px";c.style.paddingLeft="4px";c.style.zIndex=\r\n"1";c.style.position="absolute";c.style.display="block";c.style.cursor="pointer";c.style.right="17px";"atlas"==uiTheme?(c.style.top="6px",c.style.right="15px"):c.style.top="min"==uiTheme?"2px":"0px";var d=document.createElement("div");d.style.backgroundImage="url("+Editor.globeImage+")";d.style.backgroundPosition="center center";d.style.backgroundRepeat="no-repeat";d.style.backgroundSize="19px 19px";d.style.position="absolute";d.style.height="19px";d.style.width="19px";d.style.marginTop="2px";d.style.zIndex=\r\n"1";c.appendChild(d);mxUtils.setOpacity(c,40);if("atlas"==uiTheme||"dark"==uiTheme)c.style.opacity="0.85",c.style.filter="invert(100%)";document.body.appendChild(c)}}return b}}b.customLayoutConfig=[{layout:"mxHierarchicalLayout",config:{orientation:"west",intraCellSpacing:30,interRankCellSpacing:100,interHierarchySpacing:60,parallelEdgeSpacing:10}}];b.actions.addAction("runLayout",function(){var a=new TextareaDialog(b,"Run Layouts:",JSON.stringify(b.customLayoutConfig,null,2),function(a){if(0<a.length)try{var c=\r\nJSON.parse(a);b.executeLayoutList(c);b.customLayoutConfig=c}catch(E){b.handleError(E),null!=window.console&&console.error(E)}},null,null,null,null,null,!0,null,null,"https://www.diagrams.net/doc/faq/apply-layouts");a.textarea.style.width="600px";a.textarea.style.height="380px";b.showDialog(a.container,620,460,!0,!0);a.init()});var n=this.get("layout"),t=n.funct;n.funct=function(a,c){t.apply(this,arguments);a.addItem(mxResources.get("orgChart"),null,function(){function a(){"undefined"!==typeof mxOrgChartLayout||\r\nb.loadingOrgChart||b.isOffline(!0)?g():b.spinner.spin(document.body,mxResources.get("loading"))&&(b.loadingOrgChart=!0,"1"==urlParams.dev?mxscript("js/orgchart/bridge.min.js",function(){mxscript("js/orgchart/bridge.collections.min.js",function(){mxscript("js/orgchart/OrgChart.Layout.min.js",function(){mxscript("js/orgchart/mxOrgChartLayout.js",g)})})}):mxscript("js/extensions.min.js",g))}var c=null,d=20,e=20,f=!0,g=function(){b.loadingOrgChart=!1;b.spinner.stop();if("undefined"!==typeof mxOrgChartLayout&&\r\nnull!=c&&f){var a=b.editor.graph,g=new mxOrgChartLayout(a,c,d,e),k=a.getDefaultParent();1<a.model.getChildCount(a.getSelectionCell())&&(k=a.getSelectionCell());g.execute(k);f=!1}},k=document.createElement("div"),m=document.createElement("div");m.style.marginTop="6px";m.style.display="inline-block";m.style.width="140px";mxUtils.write(m,mxResources.get("orgChartType")+": ");k.appendChild(m);var l=document.createElement("select");l.style.width="200px";l.style.boxSizing="border-box";for(var m=[mxResources.get("linear"),\r\nmxResources.get("hanger2"),mxResources.get("hanger4"),mxResources.get("fishbone1"),mxResources.get("fishbone2"),mxResources.get("1ColumnLeft"),mxResources.get("1ColumnRight"),mxResources.get("smart")],n=0;n<m.length;n++){var x=document.createElement("option");mxUtils.write(x,m[n]);x.value=n;2==n&&x.setAttribute("selected","selected");l.appendChild(x)}mxEvent.addListener(l,"change",function(){c=l.value});k.appendChild(l);m=document.createElement("div");m.style.marginTop="6px";m.style.display="inline-block";\r\nm.style.width="140px";mxUtils.write(m,mxResources.get("parentChildSpacing")+": ");k.appendChild(m);var p=document.createElement("input");p.type="number";p.value=d;p.style.width="200px";p.style.boxSizing="border-box";k.appendChild(p);mxEvent.addListener(p,"change",function(){d=p.value});m=document.createElement("div");m.style.marginTop="6px";m.style.display="inline-block";m.style.width="140px";mxUtils.write(m,mxResources.get("siblingSpacing")+": ");k.appendChild(m);var A=document.createElement("input");\r\nA.type="number";A.value=e;A.style.width="200px";A.style.boxSizing="border-box";k.appendChild(A);mxEvent.addListener(A,"change",function(){e=A.value});k=new CustomDialog(b,k,function(){null==c&&(c=2);a()});b.showDialog(k.container,355,125,!0,!0)},c,null,f());a.addSeparator(c);a.addItem(mxResources.get("parallels"),null,mxUtils.bind(this,function(){var a=new mxParallelEdgeLayout(g);a.checkOverlap=!0;a.spacing=20;b.executeLayout(function(){a.execute(g.getDefaultParent(),g.isSelectionEmpty()?null:g.getSelectionCells())},\r\n!1)}),c);a.addSeparator(c);b.menus.addMenuItem(a,"runLayout",c,null,null,mxResources.get("apply")+"...")};this.put("help",new Menu(mxUtils.bind(this,function(a,c){if(!mxClient.IS_CHROMEAPP&&b.isOffline())this.addMenuItems(a,["about"],c);else{var d=a.addItem("Search:",null,null,c,null,null,!1);d.style.backgroundColor=Editor.isDarkMode()?"#505759":"whiteSmoke";d.style.cursor="default";var e=document.createElement("input");e.setAttribute("type","text");e.setAttribute("size","25");e.style.marginLeft=\r\n"8px";mxEvent.addListener(e,"keydown",mxUtils.bind(this,function(a){var b=mxUtils.trim(e.value);13==a.keyCode&&0<b.length?(this.editorUi.openLink("https://www.google.com/search?q=site%3Adiagrams.net+inurl%3A%2Fdoc%2Ffaq%2F+"+encodeURIComponent(b)),e.value="",EditorUi.logEvent({category:"SEARCH-HELP",action:"search",label:b}),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0)):27==a.keyCode&&(e.value="")}));d.firstChild.nextSibling.appendChild(e);mxEvent.addGestureListeners(e,\r\nfunction(a){document.activeElement!=e&&e.focus();mxEvent.consume(a)},function(a){mxEvent.consume(a)},function(a){mxEvent.consume(a)});window.setTimeout(function(){e.focus()},0);EditorUi.isElectronApp?(console.log("electron help menu"),this.addMenuItems(a,"- keyboardShortcuts quickStart support - forkme - about".split(" "),c)):this.addMenuItems(a,"- keyboardShortcuts quickStart support - forkme downloadDesktop - about".split(" "),c)}"1"==urlParams.test&&(a.addSeparator(c),this.addSubmenu("testDevelop",\r\na,c))})));mxResources.parse("diagramLanguage=Diagram Language");b.actions.addAction("diagramLanguage...",function(){var a=prompt("Language Code",Graph.diagramLanguage||"");null!=a&&(Graph.diagramLanguage=0<a.length?a:null,g.refresh())});if("1"==urlParams.test){mxResources.parse("testDevelop=Develop");mxResources.parse("showBoundingBox=Show bounding box");mxResources.parse("createSidebarEntry=Create Sidebar Entry");mxResources.parse("testCheckFile=Check File");mxResources.parse("testDiff=Diff/Sync");\r\nmxResources.parse("testInspect=Inspect");mxResources.parse("testShowConsole=Show Console");mxResources.parse("testXmlImageExport=XML Image Export");mxResources.parse("testDownloadRtModel=Export RT model");mxResources.parse("testImportRtModel=Import RT model");b.actions.addAction("createSidebarEntry",mxUtils.bind(this,function(){if(!g.isSelectionEmpty()){var a=g.cloneCells(g.getSelectionCells()),c=g.getBoundingBoxFromGeometry(a),a=g.moveCells(a,-c.x,-c.y);b.showTextDialog("Create Sidebar Entry","this.addDataEntry(\'tag1 tag2\', "+\r\nc.width+", "+c.height+", \'The Title\', \'"+Graph.compress(mxUtils.getXml(g.encodeCells(a)))+"\'),")}}));b.actions.addAction("showBoundingBox",mxUtils.bind(this,function(){var a=g.getGraphBounds(),b=g.view.translate,c=g.view.scale;g.insertVertex(g.getDefaultParent(),null,"",a.x/c-b.x,a.y/c-b.y,a.width/c,a.height/c,"fillColor=none;strokeColor=red;")}));b.actions.addAction("testCheckFile",mxUtils.bind(this,function(){var a=null!=b.pages&&null!=b.getCurrentFile()?b.getCurrentFile().getAnonymizedXmlForPages(b.pages):\r\n"",a=new TextareaDialog(b,"Paste Data:",a,function(a){if(0<a.length)try{var c=function(a){function b(a){if(null==n[a]){if(n[a]=!0,null!=e[a]){for(;0<e[a].length;){var d=e[a].pop();b(d)}delete e[a]}}else mxLog.debug(c+": Visited: "+a)}var c=a.parentNode.id,d=a.childNodes;a={};for(var e={},f=null,g={},k=0;k<d.length;k++){var m=d[k];if(null!=m.id&&0<m.id.length)if(null==a[m.id]){a[m.id]=m.id;var l=m.getAttribute("parent");null==l?null!=f?mxLog.debug(c+": Multiple roots: "+m.id):f=m.id:(null==e[l]&&(e[l]=\r\n[]),e[l].push(m.id))}else g[m.id]=m.id}0<Object.keys(g).length?(d=c+": "+Object.keys(g).length+" Duplicates: "+Object.keys(g).join(", "),mxLog.debug(d+" (see console)")):mxLog.debug(c+": Checked");var n={};null==f?mxLog.debug(c+": No root"):(b(f),Object.keys(n).length!=Object.keys(a).length&&(mxLog.debug(c+": Invalid tree: (see console)"),console.log(c+": Invalid tree",e)))};"<"!=a.charAt(0)&&(a=Graph.decompress(a),mxLog.debug("See console for uncompressed XML"),console.log("xml",a));var d=mxUtils.parseXml(a),\r\ne=b.getPagesForNode(d.documentElement,"mxGraphModel");if(null!=e&&0<e.length)try{var f=b.getHashValueForPages(e);mxLog.debug("Checksum: ",f)}catch(G){mxLog.debug("Error: ",G.message)}else mxLog.debug("No pages found for checksum");var g=d.getElementsByTagName("root");for(a=0;a<g.length;a++)c(g[a]);mxLog.show()}catch(G){b.handleError(G),null!=window.console&&console.error(G)}});a.textarea.style.width="600px";a.textarea.style.height="380px";b.showDialog(a.container,620,460,!0,!0);a.init()}));var v=\r\nnull;b.actions.addAction("testDiff",mxUtils.bind(this,function(){if(null!=b.pages){var a=new TextareaDialog(b,"Diff/Sync:","",function(a){var c=b.getCurrentFile();if(0<a.length&&null!=c)try{var d=JSON.parse(a);c.patch([d],null,!0);b.hideDialog()}catch(F){b.handleError(F)}},null,"Close",null,null,null,!0,null,"Patch",null,[["Snapshot",function(c,d){v=b.getPagesForNode(mxUtils.parseXml(b.getFileData(!0)).documentElement);a.textarea.value="Snapshot updated "+(new Date).toLocaleString()}],["Diff",function(c,\r\nd){try{a.textarea.value=JSON.stringify(b.diffPages(v,b.pages),null,2)}catch(E){b.handleError(E)}}]]);a.textarea.style.width="600px";a.textarea.style.height="380px";null==v?(v=b.getPagesForNode(mxUtils.parseXml(b.getFileData(!0)).documentElement),a.textarea.value="Snapshot created "+(new Date).toLocaleString()):a.textarea.value=JSON.stringify(b.diffPages(v,b.pages),null,2);b.showDialog(a.container,620,460,!0,!0);a.init()}else b.alert("No pages")}));b.actions.addAction("testInspect",mxUtils.bind(this,\r\nfunction(){console.log(b,g.getModel())}));b.actions.addAction("testXmlImageExport",mxUtils.bind(this,function(){var a=new mxImageExport,b=g.getGraphBounds(),c=g.view.scale,d=mxUtils.createXmlDocument(),e=d.createElement("output");d.appendChild(e);d=new mxXmlCanvas2D(e);d.translate(Math.floor((1-b.x)/c),Math.floor((1-b.y)/c));d.scale(1/c);var f=0,k=d.save;d.save=function(){f++;k.apply(this,arguments)};var m=d.restore;d.restore=function(){f--;m.apply(this,arguments)};var l=a.drawShape;a.drawShape=function(a){mxLog.debug("entering shape",\r\na,f);l.apply(this,arguments);mxLog.debug("leaving shape",a,f)};a.drawState(g.getView().getState(g.model.root),d);mxLog.show();mxLog.debug(mxUtils.getXml(e));mxLog.debug("stateCounter",f)}));b.actions.addAction("testShowConsole",function(){mxLog.isVisible()?mxLog.window.fit():mxLog.show();mxLog.window.div.style.zIndex=mxPopupMenu.prototype.zIndex-2});this.put("testDevelop",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"createSidebarEntry showBoundingBox - testCheckFile testDiff - testInspect - testXmlImageExport - testShowConsole".split(" "),\r\nb)})))}b.actions.addAction("shapes...",function(){mxClient.IS_CHROMEAPP||!b.isOffline()?b.showDialog((new MoreShapesDialog(b,!0)).container,640,isLocalStorage?mxClient.IS_IOS?480:460:440,!0,!0):b.showDialog((new MoreShapesDialog(b,!1)).container,360,isLocalStorage?mxClient.IS_IOS?300:280:260,!0,!0)});b.actions.put("createShape",new Action(mxResources.get("shape")+"...",function(a){g.isEnabled()&&(a=new mxCell("",new mxGeometry(0,0,120,120),b.defaultCustomShapeStyle),a.vertex=!0,a=new EditShapeDialog(b,\r\na,mxResources.get("editShape")+":",630,400),b.showDialog(a.container,640,480,!0,!1),a.init())})).isEnabled=f;b.actions.put("embedHtml",new Action(mxResources.get("html")+"...",function(){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(a){b.spinner.stop();b.showHtmlDialog(mxResources.get("create"),"https://www.diagrams.net/doc/faq/embed-html-options",a,function(a,c,d,e,f,g,k,m,l,n){b.createHtml(a,c,d,e,f,g,k,m,l,n,mxUtils.bind(this,function(a,c){var d=\r\nnew EmbedDialog(b,a+"\\n"+c,null,null,function(){var d=window.open(),e=d.document;if(null!=e){"CSS1Compat"===document.compatMode&&e.writeln("<!DOCTYPE html>");e.writeln("<html>");e.writeln("<head><title>"+encodeURIComponent(mxResources.get("preview"))+\'</title><meta charset="utf-8"></head>\');e.writeln("<body>");e.writeln(a);var f=mxClient.IS_IE||mxClient.IS_EDGE||null!=document.documentMode;f&&e.writeln(c);e.writeln("</body>");e.writeln("</html>");e.close();if(!f){var g=d.document.createElement("div");\r\ng.marginLeft="26px";g.marginTop="26px";mxUtils.write(g,mxResources.get("updatingDocument"));f=d.document.createElement("img");f.setAttribute("src",window.location.protocol+"//"+window.location.hostname+"/"+IMAGE_PATH+"/spin.gif");f.style.marginLeft="6px";g.appendChild(f);d.document.body.insertBefore(g,d.document.body.firstChild);window.setTimeout(function(){var a=document.createElement("script");a.type="text/javascript";a.src=/<script.*?src="(.*?)"/.exec(c)[1];e.body.appendChild(a);g.parentNode.removeChild(g)},\r\n20)}}else b.handleError({message:mxResources.get("errorUpdatingPreview")})});b.showDialog(d.container,440,240,!0,!0);d.init()}))})})}));b.actions.put("liveImage",new Action("Live image...",function(){var a=b.getCurrentFile();null!=a&&b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(c){b.spinner.stop();null!=c?(c=new EmbedDialog(b,\'<img src="\'+(a.constructor!=DriveFile?c:"https://drive.google.com/uc?id="+a.getId())+\'"/>\'),b.showDialog(c.container,\r\n440,240,!0,!0),c.init()):b.handleError({message:mxResources.get("invalidPublicUrl")})})}));b.actions.put("embedImage",new Action(mxResources.get("image")+"...",function(){b.showEmbedImageDialog(function(a,c,d,e,f,g){b.spinner.spin(document.body,mxResources.get("loading"))&&b.createEmbedImage(a,c,d,e,f,g,function(a){b.spinner.stop();a=new EmbedDialog(b,a);b.showDialog(a.container,440,240,!0,!0);a.init()},function(a){b.spinner.stop();b.handleError(a)})},mxResources.get("image"),mxResources.get("retina"),\r\nb.isExportToCanvas())}));b.actions.put("embedSvg",new Action(mxResources.get("formatSvg")+"...",function(){b.showEmbedImageDialog(function(a,c,d,e,f,g){b.spinner.spin(document.body,mxResources.get("loading"))&&b.createEmbedSvg(a,c,d,e,f,g,function(a){b.spinner.stop();a=new EmbedDialog(b,a);b.showDialog(a.container,440,240,!0,!0);a.init()},function(a){b.spinner.stop();b.handleError(a)})},mxResources.get("formatSvg"),mxResources.get("image"),!0,"https://www.diagrams.net/doc/faq/embed-svg.html")}));\r\nb.actions.put("embedIframe",new Action(mxResources.get("iframe")+"...",function(){var a=g.getGraphBounds();b.showPublishLinkDialog(mxResources.get("iframe"),null,"100%",Math.ceil(a.height/g.view.scale)+2,function(a,c,d,e,f,g,k,m){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(l){b.spinner.stop();l=new EmbedDialog(b,\'<iframe frameborder="0" style="width:\'+k+";height:"+m+\';" src="\'+b.createLink(a,c,d,e,f,g,l)+\'"></iframe>\');b.showDialog(l.container,\r\n440,240,!0,!0);l.init()})},!0)}));b.actions.put("embedNotion",new Action(mxResources.get("notion")+"...",function(){b.showPublishLinkDialog(mxResources.get("notion"),null,null,null,function(a,c,d,e,f,g,k,m){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(k){b.spinner.stop();k=new EmbedDialog(b,b.createLink(a,c,d,e,f,g,k,null,["border=0"],!0));b.showDialog(k.container,440,240,!0,!0);k.init()})},!0)}));b.actions.put("publishLink",new Action(mxResources.get("link")+\r\n"...",function(){b.showPublishLinkDialog(null,null,null,null,function(a,c,d,e,f,g){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(k){b.spinner.stop();k=new EmbedDialog(b,b.createLink(a,c,d,e,f,g,k));b.showDialog(k.container,440,240,!0,!0);k.init()})})}));b.actions.addAction("microsoftOffice...",function(){b.openLink("https://office.draw.io")});b.actions.addAction("googleDocs...",function(){b.openLink("http://docsaddon.draw.io")});b.actions.addAction("googleSlides...",\r\nfunction(){b.openLink("https://slidesaddon.draw.io")});b.actions.addAction("googleSheets...",function(){b.openLink("https://sheetsaddon.draw.io")});b.actions.addAction("googleSites...",function(){b.spinner.spin(document.body,mxResources.get("loading"))&&b.getPublicUrl(b.getCurrentFile(),function(a){b.spinner.stop();a=new GoogleSitesDialog(b,a);b.showDialog(a.container,420,256,!0,!0);a.init()})});if(isLocalStorage||mxClient.IS_CHROMEAPP)n=b.actions.addAction("scratchpad",function(){b.toggleScratchpad()}),\r\nn.setToggleAction(!0),n.setSelectedCallback(function(){return null!=b.scratchpad}),"0"!=urlParams.plugins&&b.actions.addAction("plugins...",function(){b.showDialog((new PluginsDialog(b)).container,360,170,!0,!1)});n=b.actions.addAction("search",function(){var a=b.sidebar.isEntryVisible("search");b.sidebar.showPalette("search",!a);isLocalStorage&&(mxSettings.settings.search=!a,mxSettings.save())});n.setToggleAction(!0);n.setSelectedCallback(function(){return b.sidebar.isEntryVisible("search")});"1"==\r\nurlParams.embed&&(b.actions.get("save").funct=function(a){g.isEditing()&&g.stopEditing();var c="0"!=urlParams.pages||null!=b.pages&&1<b.pages.length?b.getFileData(!0):mxUtils.getXml(b.editor.getGraphXml());if("json"==urlParams.proto){var d=b.createLoadMessage("save");d.xml=c;a&&(d.exit=!0);c=JSON.stringify(d)}(window.opener||window.parent).postMessage(c,"*");"0"!=urlParams.modified&&"1"!=urlParams.keepmodified&&(b.editor.modified=!1,b.editor.setStatus(""));a=b.getCurrentFile();null==a||a.constructor==\r\nEmbedFile||a.constructor==LocalFile&&null==a.mode||b.saveFile()},b.actions.addAction("saveAndExit",function(){b.actions.get("save").funct(!0)}).label="1"==urlParams.publishClose?mxResources.get("publish"):mxResources.get("saveAndExit"),b.actions.addAction("exit",function(){var a=function(){b.editor.modified=!1;var a="json"==urlParams.proto?JSON.stringify({event:"exit",modified:b.editor.modified}):"";(window.opener||window.parent).postMessage(a,"*")};b.editor.modified?b.confirm(mxResources.get("allChangesLost"),\r\nnull,a,mxResources.get("cancel"),mxResources.get("discardChanges")):a()}));this.put("exportAs",new Menu(mxUtils.bind(this,function(a,c){b.isExportToCanvas()?(this.addMenuItems(a,["exportPng"],c),b.jpgSupported&&this.addMenuItems(a,["exportJpg"],c)):b.isOffline()||mxClient.IS_IOS&&navigator.standalone||this.addMenuItems(a,["exportPng","exportJpg"],c);this.addMenuItems(a,["exportSvg","-"],c);b.isOffline()||b.printPdfExport?this.addMenuItems(a,["exportPdf"],c):b.isOffline()||mxClient.IS_IOS&&navigator.standalone||\r\nthis.addMenuItems(a,["exportPdf"],c);mxClient.IS_IE||"undefined"===typeof VsdxExport&&b.isOffline()||this.addMenuItems(a,["exportVsdx"],c);this.addMenuItems(a,["-","exportHtml","exportXml","exportUrl"],c);b.isOffline()||(a.addSeparator(c),this.addMenuItem(a,"export",c).firstChild.nextSibling.innerHTML=mxResources.get("advanced")+"...")})));this.put("importFrom",new Menu(mxUtils.bind(this,function(a,c){function d(a){a.pickFile(function(c){b.spinner.spin(document.body,mxResources.get("loading"))&&a.getFile(c,\r\nfunction(a){var c="data:image/"==a.getData().substring(0,11)?n(a.getTitle()):"text/xml";/\\.svg$/i.test(a.getTitle())&&!b.editor.isDataSvg(a.getData())&&(a.setData(Editor.createSvgDataUri(a.getData())),c="image/svg+xml");f(a.getData(),c,a.getTitle())},function(a){b.handleError(a,null!=a?mxResources.get("errorLoadingFile"):null)},a==b.drive)},!0)}var f=mxUtils.bind(this,function(a,c,d){var e=g.view,f=g.getGraphBounds(),k=g.snap(Math.ceil(Math.max(0,f.x/e.scale-e.translate.x)+4*g.gridSize)),m=g.snap(Math.ceil(Math.max(0,\r\n(f.y+f.height)/e.scale-e.translate.y)+4*g.gridSize));"data:image/"==a.substring(0,11)?b.loadImage(a,mxUtils.bind(this,function(e){var f=!0,l=mxUtils.bind(this,function(){b.resizeImage(e,a,mxUtils.bind(this,function(e,l,n){e=f?Math.min(1,Math.min(b.maxImageSize/l,b.maxImageSize/n)):1;b.importFile(a,c,k,m,Math.round(l*e),Math.round(n*e),d,function(a){b.spinner.stop();g.setSelectionCells(a);g.scrollCellToVisible(g.getSelectionCell())})}),f)});a.length>b.resampleThreshold?b.confirmImageResize(function(a){f=\r\na;l()}):l()}),mxUtils.bind(this,function(){b.handleError({message:mxResources.get("cannotOpenFile")})})):b.importFile(a,c,k,m,0,0,d,function(a){b.spinner.stop();g.setSelectionCells(a);g.scrollCellToVisible(g.getSelectionCell())})}),n=mxUtils.bind(this,function(a){var b="text/xml";/\\.png$/i.test(a)?b="image/png":/\\.jpe?g$/i.test(a)?b="image/jpg":/\\.gif$/i.test(a)?b="image/gif":/\\.pdf$/i.test(a)&&(b="application/pdf");return b});"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=\r\nb.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){d(b.drive)},c):m&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){d(b.oneDrive)},c):k&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?\r\na.addItem(mxResources.get("dropbox")+"...",null,function(){d(b.dropbox)},c):e&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){d(b.gitHub)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){d(b.gitLab)},c);null!=b.notion&&(a.addSeparator(c),a.addItem(mxResources.get("notion")+"...",\r\nnull,function(){d(b.notion)},c));null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){d(b.trello)},c):l&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.importLocalFile(!1)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.importLocalFile(!0)},c);b.isOffline()||\r\n(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("import"),function(a){if(null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("loading"))){var c=/(\\.png)($|\\?)/i.test(a)?"image/png":"text/xml";b.editor.loadUrl(PROXY_URL+"?url="+encodeURIComponent(a),function(b){f(b,c,a)},function(){b.spinner.stop();b.handleError(null,mxResources.get("errorLoadingFile"))},"image/png"==c)}},mxResources.get("url"));b.showDialog(a.container,\r\n300,80,!0,!0);a.init()},c))}))).isEnabled=f;this.put("theme",new Menu(mxUtils.bind(this,function(a,c){var d="1"==urlParams.sketch?"sketch":mxSettings.getUi(),e=a.addItem(mxResources.get("automatic"),null,function(){mxSettings.setUi("");b.alert(mxResources.get("restartForChangeRequired"))},c);"kennedy"!=d&&"atlas"!=d&&"dark"!=d&&"min"!=d&&"sketch"!=d&&a.addCheckmark(e,Editor.checkmarkImage);a.addSeparator(c);e=a.addItem(mxResources.get("default"),null,function(){mxSettings.setUi("kennedy");b.alert(mxResources.get("restartForChangeRequired"))},\r\nc);"kennedy"==d&&a.addCheckmark(e,Editor.checkmarkImage);e=a.addItem(mxResources.get("minimal"),null,function(){mxSettings.setUi("min");b.alert(mxResources.get("restartForChangeRequired"))},c);"min"==d&&a.addCheckmark(e,Editor.checkmarkImage);e=a.addItem(mxResources.get("atlas"),null,function(){mxSettings.setUi("atlas");b.alert(mxResources.get("restartForChangeRequired"))},c);"atlas"==d&&a.addCheckmark(e,Editor.checkmarkImage);e=a.addItem(mxResources.get("dark"),null,function(){mxSettings.setUi("dark");\r\nb.alert(mxResources.get("restartForChangeRequired"))},c);"dark"==d&&a.addCheckmark(e,Editor.checkmarkImage);a.addSeparator(c);e=a.addItem(mxResources.get("sketch"),null,function(){mxSettings.setUi("sketch");b.alert(mxResources.get("restartForChangeRequired"))},c);"sketch"==d&&a.addCheckmark(e,Editor.checkmarkImage)})));n=this.editorUi.actions.addAction("rename...",mxUtils.bind(this,function(){var a=this.editorUi.getCurrentFile();if(null!=a)if(a.constructor==LocalFile&&null!=a.fileHandle)b.showSaveFilePicker(mxUtils.bind(b,\r\nfunction(c,d){a.invalidFileHandle=null;a.fileHandle=c;a.title=d.name;a.desc=d;b.save(d.name)}),null,b.createFileSystemOptions(a.getTitle()));else{var c=null!=a.getTitle()?a.getTitle():this.editorUi.defaultFilename,c=new FilenameDialog(this.editorUi,c,mxResources.get("rename"),mxUtils.bind(this,function(b){null!=b&&0<b.length&&null!=a&&b!=a.getTitle()&&this.editorUi.spinner.spin(document.body,mxResources.get("renaming"))&&a.rename(b,mxUtils.bind(this,function(a){this.editorUi.spinner.stop()}),mxUtils.bind(this,\r\nfunction(a){this.editorUi.handleError(a,null!=a?mxResources.get("errorRenamingFile"):null)}))}),a.constructor==DriveFile||a.constructor==StorageFile?mxResources.get("diagramName"):null,function(a){if(null!=a&&0<a.length)return!0;b.showError(mxResources.get("error"),mxResources.get("invalidName"),mxResources.get("ok"));return!1},null,null,null,null,b.editor.fileExtensions);this.editorUi.showDialog(c.container,340,90,!0,!0);c.init()}}));n.isEnabled=function(){return this.enabled&&f.apply(this,arguments)};\r\nn.visible="1"!=urlParams.embed;b.actions.addAction("makeCopy...",mxUtils.bind(this,function(){var a=b.getCurrentFile();if(null!=a){var c=b.getCopyFilename(a);a.constructor==DriveFile?(c=new CreateDialog(b,c,mxUtils.bind(this,function(c,d){"_blank"==d?b.editor.editAsNew(b.getFileData(),c):("download"==d&&(d=App.MODE_GOOGLE),null!=c&&0<c.length&&(d==App.MODE_GOOGLE?b.spinner.spin(document.body,mxResources.get("saving"))&&a.saveAs(c,mxUtils.bind(this,function(c){a.desc=c;a.save(!1,mxUtils.bind(this,\r\nfunction(){b.spinner.stop();a.setModified(!1);a.addAllSavedStatus()}),mxUtils.bind(this,function(a){b.handleError(a)}))}),mxUtils.bind(this,function(a){b.handleError(a)})):b.createFile(c,b.getFileData(!0),null,d)))}),mxUtils.bind(this,function(){b.hideDialog()}),mxResources.get("makeCopy"),mxResources.get("create"),null,null,!0,null,!0,null,null,null,null,b.editor.fileExtensions),b.showDialog(c.container,420,380,!0,!0),c.init()):b.editor.editAsNew(this.editorUi.getFileData(!0),c)}}));b.actions.addAction("moveToFolder...",\r\nmxUtils.bind(this,function(){var a=b.getCurrentFile();if(a.getMode()==App.MODE_GOOGLE||a.getMode()==App.MODE_ONEDRIVE){var c=!1;if(a.getMode()==App.MODE_GOOGLE&&null!=a.desc.parents)for(var d=0;d<a.desc.parents.length;d++)if(a.desc.parents[d].isRoot){c=!0;break}b.pickFolder(a.getMode(),mxUtils.bind(this,function(c){b.spinner.spin(document.body,mxResources.get("moving"))&&a.move(c,mxUtils.bind(this,function(a){b.spinner.stop()}),mxUtils.bind(this,function(a){b.handleError(a)}))}),null,!0,c)}}));this.put("publish",\r\nnew Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["publishLink"],b)})));b.actions.put("useOffline",new Action(mxResources.get("useOffline")+"...",function(){b.openLink("https://app.draw.io/")}));b.actions.put("downloadDesktop",new Action(mxResources.get("downloadDesktop")+"...",function(){b.openLink("https://get.draw.io/")}));this.editorUi.actions.addAction("share...",mxUtils.bind(this,function(){try{var a=b.getCurrentFile();null!=a&&a.share()}catch(A){b.handleError(A)}}));this.put("embed",\r\nnew Menu(mxUtils.bind(this,function(a,c){var d=b.getCurrentFile();null==d||d.getMode()!=App.MODE_GOOGLE&&d.getMode()!=App.MODE_GITHUB||!/(\\.png)$/i.test(d.getTitle())||this.addMenuItems(a,["liveImage","-"],c);this.addMenuItems(a,["embedImage","embedSvg","-","embedHtml"],c);navigator.standalone||b.isOffline()||this.addMenuItems(a,["embedIframe"],c);"1"==urlParams.embed||b.isOffline()||this.addMenuItems(a,"- googleDocs googleSlides googleSheets - microsoftOffice - embedNotion".split(" "),c)})));b.addInsertItem=\r\nfunction(a,c,d,e){("plantUml"!=e||EditorUi.enablePlantUml&&!b.isOffline())&&a.addItem(d,null,mxUtils.bind(this,function(){if("fromText"==e||"formatSql"==e||"plantUml"==e||"mermaid"==e){var a=new ParseDialog(b,d,e);b.showDialog(a.container,620,420,!0,!1);b.dialog.container.style.overflow="auto"}else a=new CreateGraphDialog(b,d,e),b.showDialog(a.container,620,420,!0,!1);a.init()}),c,null,f())};var z=function(a,c,d,e){var f=new mxCell(a,new mxGeometry(0,0,c,d),e);f.vertex=!0;a=g.getCenterInsertPoint(g.getBoundingBoxFromGeometry([f],\r\n!0));f.geometry.x=a.x;f.geometry.y=a.y;g.getModel().beginUpdate();try{f=g.addCell(f),g.fireEvent(new mxEventObject("cellsInserted","cells",[f]))}finally{g.getModel().endUpdate()}g.scrollCellToVisible(f);g.setSelectionCell(f);g.container.focus();g.editAfterInsert&&g.startEditing(f);window.setTimeout(function(){null!=b.hoverIcons&&b.hoverIcons.update(g.view.getState(f))},0);return f};b.actions.put("insertText",new Action(mxResources.get("text"),function(){g.isEnabled()&&!g.isCellLocked(g.getDefaultParent())&&\r\ng.startEditingAtCell(z("Text",40,20,"text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;"))}),null,null,Editor.ctrlKey+"+Shift+X").isEnabled=f;b.actions.put("insertRectangle",new Action(mxResources.get("rectangle"),function(){g.isEnabled()&&!g.isCellLocked(g.getDefaultParent())&&z("",120,60,"whiteSpace=wrap;html=1;")}),null,null,Editor.ctrlKey+"+K").isEnabled=f;b.actions.put("insertEllipse",new Action(mxResources.get("ellipse"),\r\nfunction(){g.isEnabled()&&!g.isCellLocked(g.getDefaultParent())&&z("",80,80,"ellipse;whiteSpace=wrap;html=1;")}),null,null,Editor.ctrlKey+"+Shift+K").isEnabled=f;b.actions.put("insertRhombus",new Action(mxResources.get("rhombus"),function(){g.isEnabled()&&!g.isCellLocked(g.getDefaultParent())&&z("",80,80,"rhombus;whiteSpace=wrap;html=1;")})).isEnabled=f;b.addInsertMenuItems=mxUtils.bind(this,function(a,c,d){for(var e=0;e<d.length;e++)"-"==d[e]?a.addSeparator(c):b.addInsertItem(a,c,mxResources.get(d[e])+\r\n"...",d[e])});this.put("insert",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,"insertRectangle insertEllipse insertRhombus - insertText insertLink - createShape insertFreehand - insertImage".split(" "),c);b.insertTemplateEnabled&&!b.isOffline()&&this.addMenuItems(a,["insertTemplate"],c);a.addSeparator(c);this.addSubmenu("insertLayout",a,c,mxResources.get("layout"));this.addSubmenu("insertAdvanced",a,c,mxResources.get("advanced"))})));this.put("insertLayout",new Menu(mxUtils.bind(this,\r\nfunction(a,c){b.addInsertMenuItems(a,c,"horizontalFlow verticalFlow - horizontalTree verticalTree radialTree - organic circle".split(" "))})));this.put("insertAdvanced",new Menu(mxUtils.bind(this,function(a,c){b.addInsertMenuItems(a,c,["fromText","plantUml","mermaid","-","formatSql"]);a.addItem(mxResources.get("csv")+"...",null,function(){b.showImportCsvDialog()},c,null,f())})));this.put("openRecent",new Menu(function(a,c){var d=b.getRecent();if(null!=d){for(var e=0;e<d.length;e++)(function(d){var e=\r\nd.mode;e==App.MODE_GOOGLE?e="googleDrive":e==App.MODE_ONEDRIVE&&(e="oneDrive");a.addItem(d.title+" ("+mxResources.get(e)+")",null,function(){b.loadFile(d.id)},c)})(d[e]);a.addSeparator(c)}a.addItem(mxResources.get("reset"),null,function(){b.resetRecent()},c)}));this.put("openFrom",new Menu(function(a,c){null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.pickFile(App.MODE_GOOGLE)},c):m&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+\r\nmxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.pickFile(App.MODE_ONEDRIVE)},c):k&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.pickFile(App.MODE_DROPBOX)},c):e&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+\r\n" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){b.pickFile(App.MODE_GITHUB)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){b.pickFile(App.MODE_GITLAB)},c);null!=b.notion&&(a.addSeparator(c),a.addItem(mxResources.get("notion")+"...",null,function(){b.pickFile(App.MODE_NOTION)},c));null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){b.pickFile(App.MODE_TRELLO)},\r\nc):l&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.pickFile(App.MODE_BROWSER)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.pickFile(App.MODE_DEVICE)},c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,\r\n"",mxResources.get("open"),function(a){null!=a&&0<a.length&&(null==b.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(a):window.openWindow((mxClient.IS_CHROMEAPP?"https://www.draw.io/":"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(a)))},mxResources.get("url"));b.showDialog(a.container,300,80,!0,!0);a.init()},c))}));Editor.enableCustomLibraries&&(this.put("newLibrary",new Menu(function(a,c){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=\r\nb.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GOOGLE)},c):m&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_ONEDRIVE)},c):k&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+\r\n" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_DROPBOX)},c):e&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GITHUB)},\r\nc);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GITLAB)},c);null!=b.notion&&(a.addSeparator(c),a.addItem(mxResources.get("notion")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_NOTION)},c));null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_TRELLO)},c):l&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+\r\n" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_BROWSER)},c);a.addItem(mxResources.get("device")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_DEVICE)},c)})),this.put("openLibraryFrom",new Menu(function(a,c){"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(null!=b.drive?a.addItem(mxResources.get("googleDrive")+\r\n"...",null,function(){b.pickLibrary(App.MODE_GOOGLE)},c):m&&"function"===typeof window.DriveClient&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1));null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.pickLibrary(App.MODE_ONEDRIVE)},c):k&&"function"===typeof window.OneDriveClient&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+\r\n"...",null,function(){b.pickLibrary(App.MODE_DROPBOX)},c):e&&"function"===typeof window.DropboxClient&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);null!=b.gitHub&&a.addItem(mxResources.get("github")+"...",null,function(){b.pickLibrary(App.MODE_GITHUB)},c);null!=b.gitLab&&a.addItem(mxResources.get("gitlab")+"...",null,function(){b.pickLibrary(App.MODE_GITLAB)},c);null!=b.notion&&(a.addSeparator(c),a.addItem(mxResources.get("notion")+\r\n"...",null,function(){b.pickLibrary(App.MODE_NOTION)},c));null!=b.trello?a.addItem(mxResources.get("trello")+"...",null,function(){b.pickLibrary(App.MODE_TRELLO)},c):l&&"function"===typeof window.TrelloClient&&a.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&a.addItem(mxResources.get("browser")+"...",null,function(){b.pickLibrary(App.MODE_BROWSER)},c);a.addItem(mxResources.get("device")+\r\n"...",null,function(){b.pickLibrary(App.MODE_DEVICE)},c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("open"),function(a){if(null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("loading"))){var c=a;b.editor.isCorsEnabledForUrl(a)||(c=PROXY_URL+"?url="+encodeURIComponent(a));mxUtils.get(c,function(c){if(200<=c.getStatus()&&299>=c.getStatus()){b.spinner.stop();try{b.loadLibrary(new UrlLibrary(this,\r\nc.getText(),a))}catch(C){b.handleError(C,mxResources.get("errorLoadingFile"))}}else b.spinner.stop(),b.handleError(null,mxResources.get("errorLoadingFile"))},function(){b.spinner.stop();b.handleError(null,mxResources.get("errorLoadingFile"))})}},mxResources.get("url"));b.showDialog(a.container,300,80,!0,!0);a.init()},c));"1"==urlParams.confLib&&(a.addSeparator(c),a.addItem(mxResources.get("confluenceCloud")+"...",null,function(){b.showRemotelyStoredLibrary(mxResources.get("libraries"))},c))})));this.put("edit",\r\nnew Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"undo redo - cut copy copyAsImage paste delete - duplicate - findReplace - editData editTooltip - editStyle editGeometry - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));n=b.actions.addAction("comments",mxUtils.bind(this,function(){if(null==this.commentsWindow)this.commentsWindow=new CommentsWindow(b,document.body.offsetWidth-380,120,300,350),this.commentsWindow.window.addListener("show",\r\nfunction(){b.fireEvent(new mxEventObject("comments"))}),this.commentsWindow.window.addListener("hide",function(){b.fireEvent(new mxEventObject("comments"))}),this.commentsWindow.window.setVisible(!0),b.fireEvent(new mxEventObject("comments"));else{var a=!this.commentsWindow.window.isVisible();this.commentsWindow.window.setVisible(a);this.commentsWindow.refreshCommentsTime();a&&this.commentsWindow.hasError&&this.commentsWindow.refreshComments()}}));n.setToggleAction(!0);n.setSelectedCallback(mxUtils.bind(this,\r\nfunction(){return null!=this.commentsWindow&&this.commentsWindow.window.isVisible()}));b.editor.addListener("fileLoaded",mxUtils.bind(this,function(){null!=this.commentsWindow&&(this.commentsWindow.destroy(),this.commentsWindow=null)}));var n=this.get("viewPanels"),y=n.funct;n.funct=function(a,c){y.apply(this,arguments);b.commentsSupported()&&b.menus.addMenuItems(a,["comments"],c)};this.put("view",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,(null!=this.editorUi.format?["formatPanel"]:\r\n[]).concat(["outline","layers"]).concat(b.commentsSupported()?["comments","-"]:["-"]));this.addMenuItems(a,["-","search"],c);if(isLocalStorage||mxClient.IS_CHROMEAPP){var d=this.addMenuItem(a,"scratchpad",c);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(d,"https://www.diagrams.net/doc/faq/scratchpad")}this.addMenuItems(a,["shapes","-","pageView","pageScale"]);this.addSubmenu("units",a,c);this.addMenuItems(a,"- scrollbars tooltips ruler - grid guides".split(" "),\r\nc);mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode)&&this.addMenuItem(a,"shadowVisible",c);this.addMenuItems(a,"- connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),c);"1"!=urlParams.sketch&&this.addMenuItems(a,["-","fullscreen"],c)})));this.put("extras",new Menu(mxUtils.bind(this,function(a,c){"1"==urlParams.noLangIcon&&(this.addSubmenu("language",a,c),a.addSeparator(c));"1"!=urlParams.embed&&(this.addSubmenu("theme",a,c),a.addSeparator(c));if("undefined"!==\r\ntypeof MathJax){var d=this.addMenuItem(a,"mathematicalTypesetting",c);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(d,"https://www.diagrams.net/doc/faq/math-typesetting")}this.addMenuItems(a,["copyConnect","collapseExpand","-"],c);"1"!=urlParams.embed&&(isLocalStorage||mxClient.IS_CHROMEAPP)&&this.addMenuItems(a,["showStartScreen"],c);"1"!=urlParams.embed&&this.addMenuItems(a,["autosave"],c);a.addSeparator(c);!b.isOfflineApp()&&isLocalStorage&&this.addMenuItem(a,\r\n"plugins",c);this.addMenuItems(a,["tags","-","editDiagram"],c);Graph.translateDiagram&&this.addMenuItems(a,["diagramLanguage"]);this.addMenuItems(a,["-","configuration"],c);a.addSeparator(c);"1"==urlParams.newTempDlg&&(b.actions.addAction("templates",function(){function a(a){return{id:a.id,isExt:!0,url:a.downloadUrl,title:a.title,imgUrl:a.thumbnailLink,changedBy:a.lastModifyingUserName,lastModifiedOn:a.modifiedDate}}var c=new TemplatesDialog(b,function(a){console.log(arguments)},null,null,null,"user",\r\nfunction(c,d,e){var f=new Date;f.setDate(f.getDate()-7);b.drive.listFiles(null,f,e?!0:!1,function(b){for(var d=[],e=0;e<b.items.length;e++)d.push(a(b.items[e]));c(d)},d)},function(c,d,e,f){b.drive.listFiles(c,null,f?!0:!1,function(b){for(var c=[],e=0;e<b.items.length;e++)c.push(a(b.items[e]));d(c)},e)},function(a,c,d){b.drive.getFile(a.id,function(a){c(a.data)},d)},null,function(a){a({Test:[]},1)},!0,!1);b.showDialog(c.container,window.innerWidth,window.innerHeight,!0,!1,null,!1,!0)}),this.addMenuItem(a,\r\n"templates",c))})));this.put("file",new Menu(mxUtils.bind(this,function(a,c){if("1"==urlParams.embed)this.addSubmenu("importFrom",a,c),this.addSubmenu("exportAs",a,c),this.addSubmenu("embed",a,c),"1"==urlParams.libraries&&(this.addMenuItems(a,["-"],c),this.addSubmenu("newLibrary",a,c),this.addSubmenu("openLibraryFrom",a,c)),b.isRevisionHistorySupported()&&this.addMenuItems(a,["-","revisionHistory"],c),this.addMenuItems(a,["-","pageSetup","print","-","rename"],c),"1"==urlParams.noSaveBtn?"0"!=urlParams.saveAndExit&&\r\nthis.addMenuItems(a,["saveAndExit"],c):(this.addMenuItems(a,["save"],c),"1"==urlParams.saveAndExit&&this.addMenuItems(a,["saveAndExit"],c)),"1"!=urlParams.noExitBtn&&this.addMenuItems(a,["exit"],c);else{var d=this.editorUi.getCurrentFile();if(null!=d&&d.constructor==DriveFile){d.isRestricted()&&this.addMenuItems(a,["exportOptionsDisabled"],c);this.addMenuItems(a,["save","-","share"],c);var e=this.addMenuItem(a,"synchronize",c);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(e,\r\n"https://www.diagrams.net/doc/faq/synchronize");a.addSeparator(c)}else this.addMenuItems(a,["new"],c);this.addSubmenu("openFrom",a,c);isLocalStorage&&this.addSubmenu("openRecent",a,c);null!=d&&d.constructor==DriveFile?this.addMenuItems(a,["new","-","rename","makeCopy","moveToFolder"],c):(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null==d||d.constructor==LocalFile&&null==d.fileHandle||(a.addSeparator(c),e=this.addMenuItem(a,"synchronize",c),(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&\r\nthis.addLinkToItem(e,"https://www.diagrams.net/doc/faq/synchronize")),this.addMenuItems(a,["-","save","saveAs","-"],c),mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||"draw.io"!=b.getServiceName()||b.isOfflineApp()||null==d||this.addMenuItems(a,["share","-"],c),this.addMenuItems(a,["rename"],c),b.isOfflineApp()?navigator.onLine&&"1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&this.addMenuItems(a,["upload"],c):(this.addMenuItems(a,["makeCopy"],c),null!=d&&d.constructor==OneDriveFile&&this.addMenuItems(a,\r\n["moveToFolder"],c)));a.addSeparator(c);this.addSubmenu("importFrom",a,c);this.addSubmenu("exportAs",a,c);a.addSeparator(c);this.addSubmenu("embed",a,c);this.addSubmenu("publish",a,c);a.addSeparator(c);this.addSubmenu("newLibrary",a,c);this.addSubmenu("openLibraryFrom",a,c);b.isRevisionHistorySupported()&&this.addMenuItems(a,["-","revisionHistory"],c);null!=d&&null!=b.fileNode&&(d=null!=d.getTitle()?d.getTitle():b.defaultFilename,/(\\.html)$/i.test(d)||/(\\.svg)$/i.test(d)||this.addMenuItems(a,["-",\r\n"properties"]));this.addMenuItems(a,["-","pageSetup"],c);mxClient.IS_IOS&&navigator.standalone||this.addMenuItems(a,["print"],c);this.addMenuItems(a,["-","close"])}})));a.prototype.execute=function(){var a=this.ui.editor.graph;this.customFonts=this.prevCustomFonts;this.prevCustomFonts=this.ui.menus.customFonts;this.ui.fireEvent(new mxEventObject("customFontsChanged","customFonts",this.customFonts));this.extFonts=this.previousExtFonts;for(var b=a.extFonts,c=0;null!=b&&c<b.length;c++){var d=document.getElementById("extFont_"+\r\nb[c].name);null!=d&&d.parentNode.removeChild(d)}a.extFonts=[];for(c=0;null!=this.previousExtFonts&&c<this.previousExtFonts.length;c++)this.ui.editor.graph.addExtFont(this.previousExtFonts[c].name,this.previousExtFonts[c].url);this.previousExtFonts=b};this.put("fontFamily",new Menu(mxUtils.bind(this,function(c,d){for(var e=mxUtils.bind(this,function(e,f,g,k,m){var l=this.editorUi.editor.graph;k=this.styleChange(c,k||e,"1"!=urlParams["ext-fonts"]?[mxConstants.STYLE_FONTFAMILY,"fontSource","FType"]:\r\n[mxConstants.STYLE_FONTFAMILY],"1"!=urlParams["ext-fonts"]?[e,null!=f?encodeURIComponent(f):null,null]:[e],null,d,function(){"1"!=urlParams["ext-fonts"]?l.setFont(e,f):(document.execCommand("fontname",!1,e),l.addExtFont(e,f))},function(){l.updateLabelElements(l.getSelectionCells(),function(a){a.removeAttribute("face");a.style.fontFamily=null;"PRE"==a.nodeName&&l.replaceElement(a,"div")});"1"==urlParams["ext-fonts"]&&l.addExtFont(e,f)});g&&(g=document.createElement("span"),g.className="geSprite geSprite-delete",\r\ng.style.cursor="pointer",g.style.display="inline-block",k.firstChild.nextSibling.nextSibling.appendChild(g),mxEvent.addListener(g,mxClient.IS_POINTER?"pointerup":"mouseup",mxUtils.bind(this,function(c){if("1"!=urlParams["ext-fonts"]){delete Graph.recentCustomFonts[e.toLowerCase()];for(var d=0;d<this.customFonts.length;d++)if(this.customFonts[d].name==e&&this.customFonts[d].url==f){this.customFonts.splice(d,1);b.fireEvent(new mxEventObject("customFontsChanged"));break}}else{var g=mxUtils.clone(this.editorUi.editor.graph.extFonts);\r\nif(null!=g&&0<g.length)for(d=0;d<g.length;d++)if(g[d].name==e){g.splice(d,1);break}for(var k=mxUtils.clone(this.customFonts),d=0;d<k.length;d++)if(k[d].name==e){k.splice(d,1);break}d=new a(this.editorUi,g,k);this.editorUi.editor.graph.model.execute(d)}this.editorUi.hideCurrentMenu();mxEvent.consume(c)})));Graph.addFont(e,f);k.firstChild.nextSibling.style.fontFamily=e;null!=m&&k.setAttribute("title",m)}),f={},g=0;g<this.defaultFonts.length;g++){var k=this.defaultFonts[g];"string"===typeof k?e(k):null!=\r\nk.fontFamily&&null!=k.fontUrl&&(f[encodeURIComponent(k.fontFamily)+"@"+encodeURIComponent(k.fontUrl)]=!0,e(k.fontFamily,k.fontUrl))}c.addSeparator(d);if("1"!=urlParams["ext-fonts"]){for(var k=function(a){var b=encodeURIComponent(a.name)+(null==a.url?"":"@"+encodeURIComponent(a.url));if(!f[b]){for(var c=a.name,d=0;null!=l[c.toLowerCase()];)c=a.name+" ("+ ++d+")";null==m[b]&&(n.push({name:a.name,url:a.url,label:c,title:a.url}),l[c.toLowerCase()]=a,m[b]=a)}},m={},l={},n=[],g=0;g<this.customFonts.length;g++)k(this.customFonts[g]);\r\nfor(var p in Graph.recentCustomFonts)k(Graph.recentCustomFonts[p]);n.sort(function(a,b){return a.label<b.label?-1:a.label>b.label?1:0});if(0<n.length){for(g=0;g<n.length;g++)e(n[g].name,n[g].url,!0,n[g].label,n[g].url);c.addSeparator(d)}c.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){Graph.recentCustomFonts={};this.customFonts=[];b.fireEvent(new mxEventObject("customFontsChanged"))}),d);c.addSeparator(d)}else{p=this.editorUi.editor.graph.extFonts;if(null!=p&&0<p.length){for(var k=\r\n{},t=!1,g=0;g<this.customFonts.length;g++)k[this.customFonts[g].name]=!0;for(g=0;g<p.length;g++)k[p[g].name]||(this.customFonts.push(p[g]),t=!0);t&&this.editorUi.fireEvent(new mxEventObject("customFontsChanged","customFonts",this.customFonts))}if(0<this.customFonts.length){for(g=0;g<this.customFonts.length;g++)p=this.customFonts[g].name,k=this.customFonts[g].url,e(p,k,!0),this.editorUi.editor.graph.addExtFont(p,k,!0);c.addSeparator(d);c.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){var c=\r\nnew a(this.editorUi,[],[]);b.editor.graph.model.execute(c)}),d);c.addSeparator(d)}}c.addItem(mxResources.get("custom")+"...",null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph,b=a.getStylesheet().getDefaultVertexStyle()[mxConstants.STYLE_FONTFAMILY],c="s",d=null;if("1"!=urlParams["ext-fonts"]&&a.isEditing()){var e=a.getSelectedEditingElement();null!=e&&(e=mxUtils.getCurrentStyle(e),null!=e&&(b=Graph.stripQuotes(e.fontFamily),d=Graph.getFontUrl(b,null),null!=d&&(Graph.isGoogleFontUrl(d)?\r\n(d=null,c="g"):c="w")))}else e=a.getView().getState(a.getSelectionCell()),null!=e&&(b=e.style[mxConstants.STYLE_FONTFAMILY]||b,"1"!=urlParams["ext-fonts"]?(e=e.style.fontSource,null!=e&&(e=decodeURIComponent(e),Graph.isGoogleFontUrl(e)?c="g":(c="w",d=e))):(c=e.style.FType||c,"w"==c&&(d=this.editorUi.editor.graph.extFonts,e=null,null!=d&&(e=d.find(function(a){return a.name==b})),d=null!=e?e.url:mxResources.get("urlNotFound",null,"URL not found"))));null!=d&&d.substring(0,PROXY_URL.length)==PROXY_URL&&\r\n(d=decodeURIComponent(d.substr((PROXY_URL+"?url=").length)));var f=null;document.activeElement==a.cellEditor.textarea&&(f=a.cellEditor.saveSelection());c=new FontDialog(this.editorUi,b,d,c,mxUtils.bind(this,function(b,c,d){null!=f&&(a.cellEditor.restoreSelection(f),f=null);if(null!=b&&0<b.length)if("1"!=urlParams["ext-fonts"]&&a.isEditing())a.setFont(b,c);else{a.getModel().beginUpdate();try{a.stopEditing(!1);"1"!=urlParams["ext-fonts"]?(a.setCellStyles(mxConstants.STYLE_FONTFAMILY,b),a.setCellStyles("fontSource",\r\nnull!=c?encodeURIComponent(c):null),a.setCellStyles("FType",null)):(a.setCellStyles(mxConstants.STYLE_FONTFAMILY,b),"s"!=d&&(a.setCellStyles("FType",d),0==c.indexOf("http://")&&(c=PROXY_URL+"?url="+encodeURIComponent(c)),this.editorUi.editor.graph.addExtFont(b,c)));d=!0;for(var e=0;e<this.customFonts.length;e++)if(this.customFonts[e].name==b){d=!1;break}d&&(this.customFonts.push({name:b,url:c}),this.editorUi.fireEvent(new mxEventObject("customFontsChanged","customFonts",this.customFonts)))}finally{a.getModel().endUpdate()}}}));\r\nthis.editorUi.showDialog(c.container,380,250,!0,!0);c.init()}),d,null,!0)})))}})();function DiagramPage(a,d){this.node=a;null!=d?this.node.setAttribute("id",d):null==this.getId()&&this.node.setAttribute("id",Editor.guid())}DiagramPage.prototype.node=null;DiagramPage.prototype.root=null;DiagramPage.prototype.viewState=null;DiagramPage.prototype.getId=function(){return this.node.getAttribute("id")};DiagramPage.prototype.getName=function(){return this.node.getAttribute("name")};\r\nDiagramPage.prototype.setName=function(a){null==a?this.node.removeAttribute("name"):this.node.setAttribute("name",a)};function RenamePage(a,d,c){this.ui=a;this.page=d;this.previous=this.name=c}RenamePage.prototype.execute=function(){var a=this.page.getName();this.page.setName(this.previous);this.name=this.previous;this.previous=a;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageRenamed"))};\r\nfunction MovePage(a,d,c){this.ui=a;this.oldIndex=d;this.newIndex=c}MovePage.prototype.execute=function(){this.ui.pages.splice(this.newIndex,0,this.ui.pages.splice(this.oldIndex,1)[0]);var a=this.oldIndex;this.oldIndex=this.newIndex;this.newIndex=a;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageMoved"))};\r\nfunction SelectPage(a,d,c){this.ui=a;this.previousPage=this.page=d;this.neverShown=!0;null!=d&&(this.neverShown=null==d.viewState,this.ui.updatePageRoot(d),null!=c&&(d.viewState=c,this.neverShown=!1))}\r\nSelectPage.prototype.execute=function(){var a=mxUtils.indexOf(this.ui.pages,this.previousPage);if(null!=this.page&&0<=a){var a=this.ui.currentPage,d=this.ui.editor,c=d.graph,b=Graph.compressNode(d.getGraphXml(!0));mxUtils.setTextContent(a.node,b);a.viewState=c.getViewState();a.root=c.model.root;null!=a.model&&a.model.rootChanged(a.root);c.view.clear(a.root,!0);c.clearSelection();this.ui.currentPage=this.previousPage;this.previousPage=a;a=this.ui.currentPage;c.model.prefix=Editor.guid()+"-";c.model.rootChanged(a.root);\r\nc.setViewState(a.viewState);c.gridEnabled=c.gridEnabled&&(!this.ui.editor.isChromelessView()||"1"==urlParams.grid);d.updateGraphComponents();c.view.validate();c.blockMathRender=!0;c.sizeDidChange();c.blockMathRender=!1;this.neverShown&&(this.neverShown=!1,c.selectUnlockedLayer());d.graph.fireEvent(new mxEventObject(mxEvent.ROOT));d.fireEvent(new mxEventObject("pageSelected","change",this))}};\r\nfunction ChangePage(a,d,c,b,g){SelectPage.call(this,a,c);this.relatedPage=d;this.index=b;this.previousIndex=null;this.noSelect=g}mxUtils.extend(ChangePage,SelectPage);\r\nChangePage.prototype.execute=function(){this.ui.editor.fireEvent(new mxEventObject("beforePageChange","change",this));this.previousIndex=this.index;if(null==this.index){var a=mxUtils.indexOf(this.ui.pages,this.relatedPage);this.ui.pages.splice(a,1);this.index=a}else this.ui.pages.splice(this.index,0,this.relatedPage),this.index=null;this.noSelect||SelectPage.prototype.execute.apply(this,arguments)};EditorUi.prototype.tabContainerHeight=38;\r\nEditorUi.prototype.getSelectedPageIndex=function(){var a=null;if(null!=this.pages&&null!=this.currentPage)for(var d=0;d<this.pages.length;d++)if(this.pages[d]==this.currentPage){a=d;break}return a};EditorUi.prototype.getPageById=function(a){if(null!=this.pages)for(var d=0;d<this.pages.length;d++)if(this.pages[d].getId()==a)return this.pages[d];return null};\r\nEditorUi.prototype.initPages=function(){if(!this.editor.graph.standalone){this.actions.addAction("previousPage",mxUtils.bind(this,function(){this.selectNextPage(!1)}));this.actions.addAction("nextPage",mxUtils.bind(this,function(){this.selectNextPage(!0)}));this.isPagesEnabled()&&(this.keyHandler.bindAction(33,!0,"previousPage",!0),this.keyHandler.bindAction(34,!0,"nextPage",!0));var a=this.editor.graph,d=a.view.validateBackground;a.view.validateBackground=mxUtils.bind(this,function(){if(null!=this.tabContainer){var b=\r\nthis.tabContainer.style.height;this.tabContainer.style.height=null==this.fileNode||null==this.pages||1==this.pages.length&&"0"==urlParams.pages?"0px":this.tabContainerHeight+"px";b!=this.tabContainer.style.height&&this.refresh(!1)}d.apply(a.view,arguments)});var c=null,b=mxUtils.bind(this,function(){this.updateTabContainer();var b=this.currentPage;null!=b&&b!=c&&(null==b.viewState||null==b.viewState.scrollLeft?(this.resetScrollbars(),a.isLightboxView()&&this.lightboxFit(),null!=this.chromelessResize&&\r\n(a.container.scrollLeft=0,a.container.scrollTop=0,this.chromelessResize())):(a.container.scrollLeft=a.view.translate.x*a.view.scale+b.viewState.scrollLeft,a.container.scrollTop=a.view.translate.y*a.view.scale+b.viewState.scrollTop),c=b);null!=this.actions.layersWindow&&this.actions.layersWindow.refreshLayers();"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?1!=MathJax.Hub.queue.pending||null==this.editor||this.editor.graph.mathEnabled||MathJax.Hub.Queue(mxUtils.bind(this,function(){null!=\r\nthis.editor&&this.editor.graph.refresh()})):"undefined"===typeof Editor.MathJaxClear||null!=this.editor&&this.editor.graph.mathEnabled||Editor.MathJaxClear()});this.editor.graph.model.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(a,c){for(var d=c.getProperty("edit").changes,e=0;e<d.length;e++)if(d[e]instanceof SelectPage||d[e]instanceof RenamePage||d[e]instanceof MovePage||d[e]instanceof mxRootChange){b();break}}));null!=this.toolbar&&this.editor.addListener("pageSelected",this.toolbar.updateZoom)}};\r\nEditorUi.prototype.restoreViewState=function(a,d,c){a=null!=a?this.getPageById(a.getId()):null;var b=this.editor.graph;null!=a&&null!=this.currentPage&&null!=this.pages&&(a!=this.currentPage?this.selectPage(a,!0,d):(b.setViewState(d),this.editor.updateGraphComponents(),b.view.revalidate(),b.sizeDidChange()),b.container.scrollLeft=b.view.translate.x*b.view.scale+d.scrollLeft,b.container.scrollTop=b.view.translate.y*b.view.scale+d.scrollTop,b.restoreSelection(c))};\r\nGraph.prototype.createViewState=function(a){var d=a.getAttribute("page"),c=parseFloat(a.getAttribute("pageScale")),b=parseFloat(a.getAttribute("pageWidth")),g=parseFloat(a.getAttribute("pageHeight")),f=a.getAttribute("background"),m=a.getAttribute("backgroundImage"),m=null!=m&&0<m.length?JSON.parse(m):null,e=a.getAttribute("extFonts");if(e)try{e=e.split("|").map(function(a){a=a.split("^");return{name:a[0],url:a[1]}})}catch(k){console.log("ExtFonts format error: "+k.message)}return{gridEnabled:"0"!=\r\na.getAttribute("grid"),gridSize:parseFloat(a.getAttribute("gridSize"))||mxGraph.prototype.gridSize,guidesEnabled:"0"!=a.getAttribute("guides"),foldingEnabled:"0"!=a.getAttribute("fold"),shadowVisible:"1"==a.getAttribute("shadow"),pageVisible:this.isLightboxView()?!1:null!=d?"0"!=d:this.defaultPageVisible,background:null!=f&&0<f.length?f:null,backgroundImage:null!=m?new mxImage(m.src,m.width,m.height):null,pageScale:isNaN(c)?mxGraph.prototype.pageScale:c,pageFormat:isNaN(b)||isNaN(g)?"undefined"===\r\ntypeof mxSettings?mxGraph.prototype.pageFormat:mxSettings.getPageFormat():new mxRectangle(0,0,b,g),tooltips:"0"!=a.getAttribute("tooltips"),connect:"0"!=a.getAttribute("connect"),arrows:"0"!=a.getAttribute("arrows"),mathEnabled:"1"==a.getAttribute("math"),selectionCells:null,defaultParent:null,scrollbars:this.defaultScrollbars,scale:1,extFonts:e||[]}};\r\nGraph.prototype.saveViewState=function(a,d,c){c||(d.setAttribute("grid",null==a||a.gridEnabled?"1":"0"),d.setAttribute("gridSize",null!=a?a.gridSize:mxGraph.prototype.gridSize),d.setAttribute("guides",null==a||a.guidesEnabled?"1":"0"),d.setAttribute("tooltips",null==a||a.tooltips?"1":"0"),d.setAttribute("connect",null==a||a.connect?"1":"0"),d.setAttribute("arrows",null==a||a.arrows?"1":"0"),d.setAttribute("page",null==a&&this.defaultPageVisible||null!=a&&a.pageVisible?"1":"0"),d.setAttribute("fold",\r\nnull==a||a.foldingEnabled?"1":"0"));d.setAttribute("pageScale",null!=a&&null!=a.pageScale?a.pageScale:mxGraph.prototype.pageScale);c=null!=a?a.pageFormat:"undefined"===typeof mxSettings?mxGraph.prototype.pageFormat:mxSettings.getPageFormat();null!=c&&(d.setAttribute("pageWidth",c.width),d.setAttribute("pageHeight",c.height));null!=a&&null!=a.background&&d.setAttribute("background",a.background);null!=a&&null!=a.backgroundImage&&d.setAttribute("backgroundImage",JSON.stringify(a.backgroundImage));d.setAttribute("math",\r\nnull!=a&&a.mathEnabled?"1":"0");d.setAttribute("shadow",null!=a&&a.shadowVisible?"1":"0");null!=a&&null!=a.extFonts&&0<a.extFonts.length&&d.setAttribute("extFonts",a.extFonts.map(function(a){return a.name+"^"+a.url}).join("|"))};\r\nGraph.prototype.getViewState=function(){return{defaultParent:this.defaultParent,currentRoot:this.view.currentRoot,gridEnabled:this.gridEnabled,gridSize:this.gridSize,guidesEnabled:this.graphHandler.guidesEnabled,foldingEnabled:this.foldingEnabled,shadowVisible:this.shadowVisible,scrollbars:this.scrollbars,pageVisible:this.pageVisible,background:this.background,backgroundImage:this.backgroundImage,pageScale:this.pageScale,pageFormat:this.pageFormat,tooltips:this.tooltipHandler.isEnabled(),connect:this.connectionHandler.isEnabled(),\r\narrows:this.connectionArrowsEnabled,scale:this.view.scale,scrollLeft:this.container.scrollLeft-this.view.translate.x*this.view.scale,scrollTop:this.container.scrollTop-this.view.translate.y*this.view.scale,translate:this.view.translate.clone(),lastPasteXml:this.lastPasteXml,pasteCounter:this.pasteCounter,mathEnabled:this.mathEnabled,extFonts:this.extFonts}};\r\nGraph.prototype.setViewState=function(a,d){if(null!=a){this.lastPasteXml=a.lastPasteXml;this.pasteCounter=a.pasteCounter||0;this.mathEnabled=a.mathEnabled;this.gridEnabled=a.gridEnabled;this.gridSize=a.gridSize;this.graphHandler.guidesEnabled=a.guidesEnabled;this.foldingEnabled=a.foldingEnabled;this.setShadowVisible(a.shadowVisible,!1);this.scrollbars=a.scrollbars;this.pageVisible=!this.isViewer()&&a.pageVisible;this.background=a.background;this.backgroundImage=a.backgroundImage;this.pageScale=a.pageScale;\r\nthis.pageFormat=a.pageFormat;this.view.currentRoot=a.currentRoot;this.defaultParent=a.defaultParent;this.connectionArrowsEnabled=a.arrows;this.setTooltips(a.tooltips);this.setConnectable(a.connect);var c=this.extFonts;this.extFonts=a.extFonts||[];if(d&&null!=c)for(var b=0;b<c.length;b++){var g=document.getElementById("extFont_"+c[b].name);null!=g&&g.parentNode.removeChild(g)}for(b=0;b<this.extFonts.length;b++)this.addExtFont(this.extFonts[b].name,this.extFonts[b].url,!0);this.view.scale=null!=a.scale?\r\na.scale:1;null==this.view.currentRoot||this.model.contains(this.view.currentRoot)||(this.view.currentRoot=null);null==this.defaultParent||this.model.contains(this.defaultParent)||(this.setDefaultParent(null),this.selectUnlockedLayer());null!=a.translate&&(this.view.translate=a.translate)}else this.view.currentRoot=null,this.view.scale=1,this.gridEnabled=this.defaultGridEnabled,this.gridSize=mxGraph.prototype.gridSize,this.pageScale=mxGraph.prototype.pageScale,this.pageFormat="undefined"===typeof mxSettings?\r\nmxGraph.prototype.pageFormat:mxSettings.getPageFormat(),this.pageVisible=this.defaultPageVisible,this.backgroundImage=this.background=null,this.scrollbars=this.defaultScrollbars,this.foldingEnabled=this.graphHandler.guidesEnabled=!0,this.setShadowVisible(!1,!1),this.defaultParent=null,this.setTooltips(!0),this.setConnectable(!0),this.lastPasteXml=null,this.pasteCounter=0,this.mathEnabled=!1,this.connectionArrowsEnabled=!0,this.extFonts=[];this.preferPageSize=this.pageBreaksVisible=this.pageVisible;\r\nthis.fireEvent(new mxEventObject("viewStateChanged","state",a))};\r\nGraph.prototype.addExtFont=function(a,d,c){if(a&&d){"1"!=urlParams["ext-fonts"]&&(Graph.recentCustomFonts[a.toLowerCase()]={name:a,url:d});var b="extFont_"+a;if(null==document.getElementById(b))if(0==d.indexOf(Editor.GOOGLE_FONTS))mxClient.link("stylesheet",d,null,b);else{document.getElementsByTagName("head");var g=document.createElement("style");g.appendChild(document.createTextNode(\'@font-face {\\n\\tfont-family: "\'+a+\'";\\n\\tsrc: url("\'+d+\'");\\n}\'));g.setAttribute("id",b);document.getElementsByTagName("head")[0].appendChild(g)}if(!c){null==\r\nthis.extFonts&&(this.extFonts=[]);c=this.extFonts;b=!0;for(g=0;g<c.length;g++)if(c[g].name==a){b=!1;break}b&&this.extFonts.push({name:a,url:d})}}};\r\nEditorUi.prototype.updatePageRoot=function(a,d){if(null==a.root){var c=this.editor.extractGraphModel(a.node,null,d),b=Editor.extractParserError(c);if(b)throw Error(b);null!=c?(a.graphModelNode=c,a.viewState=this.editor.graph.createViewState(c),b=new mxCodec(c.ownerDocument),a.root=b.decode(c).root):a.root=this.editor.graph.model.createRoot()}else if(null==a.viewState){if(null==a.graphModelNode){c=this.editor.extractGraphModel(a.node);if(b=Editor.extractParserError(c))throw Error(b);null!=c&&(a.graphModelNode=\r\nc)}null!=a.graphModelNode&&(a.viewState=this.editor.graph.createViewState(a.graphModelNode))}return a};\r\nEditorUi.prototype.selectPage=function(a,d,c){try{if(a!=this.currentPage){this.editor.graph.isEditing()&&this.editor.graph.stopEditing(!1);d=null!=d?d:!1;this.editor.graph.isMouseDown=!1;this.editor.graph.reset();var b=this.editor.graph.model.createUndoableEdit();b.ignoreEdit=!0;var g=new SelectPage(this,a,c);g.execute();b.add(g);b.notify();this.editor.graph.tooltipHandler.hide();d||this.editor.graph.model.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",b))}}catch(f){this.handleError(f)}};\r\nEditorUi.prototype.selectNextPage=function(a){var d=this.currentPage;null!=d&&null!=this.pages&&(d=mxUtils.indexOf(this.pages,d),a?this.selectPage(this.pages[mxUtils.mod(d+1,this.pages.length)]):a||this.selectPage(this.pages[mxUtils.mod(d-1,this.pages.length)]))};\r\nEditorUi.prototype.insertPage=function(a,d){if(this.editor.graph.isEnabled()){this.editor.graph.isEditing()&&this.editor.graph.stopEditing(!1);a=null!=a?a:this.createPage(null,this.createPageId());d=null!=d?d:this.pages.length;var c=new ChangePage(this,a,a,d);this.editor.graph.model.execute(c)}return a};EditorUi.prototype.createPageId=function(){var a;do a=Editor.guid();while(null!=this.getPageById(a));return a};\r\nEditorUi.prototype.createPage=function(a,d){var c=new DiagramPage(this.fileNode.ownerDocument.createElement("diagram"),d);c.setName(null!=a?a:this.createPageName());return c};EditorUi.prototype.createPageName=function(){for(var a={},d=0;d<this.pages.length;d++){var c=this.pages[d].getName();null!=c&&0<c.length&&(a[c]=c)}d=this.pages.length;do c=mxResources.get("pageWithNumber",[++d]);while(null!=a[c]);return c};\r\nEditorUi.prototype.removePage=function(a){try{var d=this.editor.graph,c=mxUtils.indexOf(this.pages,a);if(d.isEnabled()&&0<=c){this.editor.graph.isEditing()&&this.editor.graph.stopEditing(!1);d.model.beginUpdate();try{var b=this.currentPage;b==a&&1<this.pages.length?(c==this.pages.length-1?c--:c++,b=this.pages[c]):1>=this.pages.length&&(b=this.insertPage(),d.model.execute(new RenamePage(this,b,mxResources.get("pageWithNumber",[1]))));d.model.execute(new ChangePage(this,a,b))}finally{d.model.endUpdate()}}}catch(g){this.handleError(g)}return a};\r\nEditorUi.prototype.duplicatePage=function(a,d){var c=null;try{var b=this.editor.graph;if(b.isEnabled()){b.isEditing()&&b.stopEditing();var g=a.node.cloneNode(!1);g.removeAttribute("id");c=new DiagramPage(g);c.root=b.cloneCell(b.model.root);c.viewState=b.getViewState();c.viewState.scale=1;c.viewState.scrollLeft=null;c.viewState.scrollTop=null;c.viewState.currentRoot=null;c.viewState.defaultParent=null;c.setName(d);c=this.insertPage(c,mxUtils.indexOf(this.pages,a)+1)}}catch(f){this.handleError(f)}return c};\r\nEditorUi.prototype.renamePage=function(a){if(this.editor.graph.isEnabled()){var d=new FilenameDialog(this,a.getName(),mxResources.get("rename"),mxUtils.bind(this,function(c){null!=c&&0<c.length&&this.editor.graph.model.execute(new RenamePage(this,a,c))}),mxResources.get("rename"));this.showDialog(d.container,300,80,!0,!0);d.init()}return a};EditorUi.prototype.movePage=function(a,d){this.editor.graph.model.execute(new MovePage(this,a,d))};\r\nEditorUi.prototype.createTabContainer=function(){var a=document.createElement("div");a.className="geTabContainer";a.style.position="absolute";a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.height="0px";return a};\r\nEditorUi.prototype.updateTabContainer=function(){if(null!=this.tabContainer&&null!=this.pages){var a=this.editor.graph,d=document.createElement("div");d.style.position="relative";d.style.display="inline-block";d.style.verticalAlign="top";d.style.height=this.tabContainer.style.height;d.style.whiteSpace="nowrap";d.style.overflow="hidden";d.style.fontSize="13px";d.style.marginLeft="30px";for(var c=this.editor.isChromelessView()?29:59,b=Math.min(140,Math.max(20,(this.tabContainer.clientWidth-c)/this.pages.length)+\r\n1),g=null,f=0;f<this.pages.length;f++)mxUtils.bind(this,function(b,c){this.pages[b]==this.currentPage?(c.className="geActivePage",c.style.backgroundColor=Editor.isDarkMode()?"#2a2a2a":"#fff"):c.className="geInactivePage";c.setAttribute("draggable","true");mxEvent.addListener(c,"dragstart",mxUtils.bind(this,function(c){a.isEnabled()?(mxClient.IS_FF&&c.dataTransfer.setData("Text","<diagram/>"),g=b):mxEvent.consume(c)}));mxEvent.addListener(c,"dragend",mxUtils.bind(this,function(a){g=null;a.stopPropagation();\r\na.preventDefault()}));mxEvent.addListener(c,"dragover",mxUtils.bind(this,function(a){null!=g&&(a.dataTransfer.dropEffect="move");a.stopPropagation();a.preventDefault()}));mxEvent.addListener(c,"drop",mxUtils.bind(this,function(a){null!=g&&b!=g&&this.movePage(g,b);a.stopPropagation();a.preventDefault()}));d.appendChild(c)})(f,this.createTabForPage(this.pages[f],b,this.pages[f]!=this.currentPage,f+1));this.tabContainer.innerHTML="";this.tabContainer.appendChild(d);b=this.createPageMenuTab();this.tabContainer.appendChild(b);\r\nb=null;this.isPageInsertTabVisible()&&(b=this.createPageInsertTab(),this.tabContainer.appendChild(b));if(d.clientWidth>this.tabContainer.clientWidth-c){null!=b&&(b.style.position="absolute",b.style.right="0px",d.style.marginRight="30px");var m=this.createControlTab(4,"&nbsp;&#10094;&nbsp;");m.style.position="absolute";m.style.right=this.editor.chromeless?"29px":"55px";m.style.fontSize="13pt";this.tabContainer.appendChild(m);var e=this.createControlTab(4,"&nbsp;&#10095;");e.style.position="absolute";\r\ne.style.right=this.editor.chromeless?"0px":"29px";e.style.fontSize="13pt";this.tabContainer.appendChild(e);var k=Math.max(0,this.tabContainer.clientWidth-(this.editor.chromeless?86:116));d.style.width=k+"px";mxEvent.addListener(m,"click",mxUtils.bind(this,function(a){d.scrollLeft-=Math.max(20,k-20);mxUtils.setOpacity(m,0<d.scrollLeft?100:50);mxUtils.setOpacity(e,d.scrollLeft<d.scrollWidth-d.clientWidth?100:50);mxEvent.consume(a)}));mxUtils.setOpacity(m,0<d.scrollLeft?100:50);mxUtils.setOpacity(e,\r\nd.scrollLeft<d.scrollWidth-d.clientWidth?100:50);mxEvent.addListener(e,"click",mxUtils.bind(this,function(a){d.scrollLeft+=Math.max(20,k-20);mxUtils.setOpacity(m,0<d.scrollLeft?100:50);mxUtils.setOpacity(e,d.scrollLeft<d.scrollWidth-d.clientWidth?100:50);mxEvent.consume(a)}))}}};EditorUi.prototype.isPageInsertTabVisible=function(){return 1==urlParams.embed||null!=this.getCurrentFile()&&this.getCurrentFile().isEditable()};\r\nEditorUi.prototype.createTab=function(a){var d=document.createElement("div");d.style.display="inline-block";d.style.whiteSpace="nowrap";d.style.boxSizing="border-box";d.style.position="relative";d.style.overflow="hidden";d.style.textAlign="center";d.style.marginLeft="-1px";d.style.height=this.tabContainer.clientHeight+"px";d.style.padding="12px 4px 8px 4px";d.style.border=Editor.isDarkMode()?"1px solid #505759":"1px solid #e8eaed";d.style.borderTopStyle="none";d.style.borderBottomStyle="none";d.style.backgroundColor=\r\nthis.tabContainer.style.backgroundColor;d.style.cursor="move";d.style.color="gray";a&&(mxEvent.addListener(d,"mouseenter",mxUtils.bind(this,function(a){this.editor.graph.isMouseDown||(d.style.backgroundColor=Editor.isDarkMode()?"black":"#e8eaed",mxEvent.consume(a))})),mxEvent.addListener(d,"mouseleave",mxUtils.bind(this,function(a){d.style.backgroundColor=this.tabContainer.style.backgroundColor;mxEvent.consume(a)})));return d};\r\nEditorUi.prototype.createControlTab=function(a,d,c){c=this.createTab(null!=c?c:!0);c.style.lineHeight=this.tabContainerHeight+"px";c.style.paddingTop=a+"px";c.style.cursor="pointer";c.style.width="30px";c.innerHTML=d;null!=c.firstChild&&null!=c.firstChild.style&&mxUtils.setOpacity(c.firstChild,40);return c};\r\nEditorUi.prototype.createPageMenuTab=function(a){a=this.createControlTab(3,\'<div class="geSprite geSprite-dots" style="display:inline-block;margin-top:5px;width:21px;height:21px;"></div>\',a);a.setAttribute("title",mxResources.get("pages"));a.style.position="absolute";a.style.marginLeft="0px";a.style.top="0px";a.style.left="1px";mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){this.editor.graph.popupMenuHandler.hideMenu();var c=new mxPopupMenu(mxUtils.bind(this,function(a,b){for(var c=0;c<\r\nthis.pages.length;c++)mxUtils.bind(this,function(c){var d=a.addItem(this.pages[c].getName(),null,mxUtils.bind(this,function(){this.selectPage(this.pages[c])}),b);this.pages[c]==this.currentPage&&a.addCheckmark(d,Editor.checkmarkImage)})(c);if(this.editor.graph.isEnabled()){a.addSeparator(b);a.addItem(mxResources.get("insertPage"),null,mxUtils.bind(this,function(){this.insertPage()}),b);var d=this.currentPage;null!=d&&(a.addSeparator(b),c=d.getName(),a.addItem(mxResources.get("removeIt",[c]),null,\r\nmxUtils.bind(this,function(){this.removePage(d)}),b),a.addItem(mxResources.get("renameIt",[c]),null,mxUtils.bind(this,function(){this.renamePage(d,d.getName())}),b),a.addSeparator(b),a.addItem(mxResources.get("duplicateIt",[c]),null,mxUtils.bind(this,function(){this.duplicatePage(d,mxResources.get("copyOf",[d.getName()]))}),b))}}));c.div.className+=" geMenubarMenu";c.smartSeparators=!0;c.showDisabled=!0;c.autoExpand=!0;c.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(c,\r\narguments);c.destroy()});var b=mxEvent.getClientX(a),d=mxEvent.getClientY(a);c.popup(b,d,null,a);this.setCurrentMenu(c);mxEvent.consume(a)}));return a};EditorUi.prototype.createPageInsertTab=function(){var a=this.createControlTab(4,\'<div class="geSprite geSprite-plus" style="display:inline-block;width:21px;height:21px;"></div>\');a.setAttribute("title",mxResources.get("insertPage"));mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){this.insertPage();mxEvent.consume(a)}));return a};\r\nEditorUi.prototype.createTabForPage=function(a,d,c,b){c=this.createTab(c);var g=a.getName()||mxResources.get("untitled"),f=a.getId();c.setAttribute("title",g+(null!=f?" ("+f+")":"")+" ["+b+"]");mxUtils.write(c,g);c.style.maxWidth=d+"px";c.style.width=d+"px";this.addTabListeners(a,c);42<d&&(c.style.textOverflow="ellipsis");return c};\r\nEditorUi.prototype.addTabListeners=function(a,d){mxEvent.disableContextMenu(d);var c=this.editor.graph;mxEvent.addListener(d,"dblclick",mxUtils.bind(this,function(b){this.renamePage(a);mxEvent.consume(b)}));var b=!1,g=!1;mxEvent.addGestureListeners(d,mxUtils.bind(this,function(d){b=null!=this.currentMenu;g=a==this.currentPage;c.isMouseDown||g||this.selectPage(a)}),null,mxUtils.bind(this,function(f){if(c.isEnabled()&&!c.isMouseDown&&(mxEvent.isTouchEvent(f)&&g||mxEvent.isPopupTrigger(f))){c.popupMenuHandler.hideMenu();\r\nthis.hideCurrentMenu();if(!mxEvent.isTouchEvent(f)||!b){var m=new mxPopupMenu(this.createPageMenu(a));m.div.className+=" geMenubarMenu";m.smartSeparators=!0;m.showDisabled=!0;m.autoExpand=!0;m.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(m,arguments);this.resetCurrentMenu();m.destroy()});var e=mxEvent.getClientX(f),k=mxEvent.getClientY(f);m.popup(e,k,null,f);this.setCurrentMenu(m,d)}mxEvent.consume(f)}}))};\r\nEditorUi.prototype.getLinkForPage=function(a,d,c){if(!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp){var b=this.getCurrentFile();if(null!=b&&b.constructor!=LocalFile&&"draw.io"==this.getServiceName()){var g=this.getSearch("create title mode url drive splash state clibs ui viewbox hide-pages".split(" ")),g=g+((0==g.length?"?":"&")+"page-id="+a.getId());null!=d&&(g+="&"+d.join("&"));return(c&&"1"!=urlParams.dev?EditorUi.lightboxHost:mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||!/.*\\.draw\\.io$/.test(window.location.hostname)?\r\nEditorUi.drawHost:"https://"+window.location.host)+"/"+g+"#"+b.getHash()}}return null};\r\nEditorUi.prototype.createPageMenu=function(a,d){return mxUtils.bind(this,function(c,b){var g=this.editor.graph;c.addItem(mxResources.get("insert"),null,mxUtils.bind(this,function(){this.insertPage(null,mxUtils.indexOf(this.pages,a)+1)}),b);c.addItem(mxResources.get("delete"),null,mxUtils.bind(this,function(){this.removePage(a)}),b);c.addItem(mxResources.get("rename"),null,mxUtils.bind(this,function(){this.renamePage(a,d)}),b);null!=this.getLinkForPage(a)&&(c.addSeparator(b),c.addItem(mxResources.get("link"),\r\nnull,mxUtils.bind(this,function(){this.showPublishLinkDialog(mxResources.get("url"),!0,null,null,mxUtils.bind(this,function(b,c,d,k,l,n){b=this.createUrlParameters(b,c,d,k,l,n);d||b.push("hide-pages=1");g.isSelectionEmpty()||(d=g.getBoundingBox(g.getSelectionCells()),c=g.view.translate,l=g.view.scale,d.width/=l,d.height/=l,d.x=d.x/l-c.x,d.y=d.y/l-c.y,b.push("viewbox="+encodeURIComponent(JSON.stringify({x:Math.round(d.x),y:Math.round(d.y),width:Math.round(d.width),height:Math.round(d.height),border:100}))));\r\nk=new EmbedDialog(this,this.getLinkForPage(a,b,k));this.showDialog(k.container,440,240,!0,!0);k.init()}))})));c.addSeparator(b);c.addItem(mxResources.get("duplicate"),null,mxUtils.bind(this,function(){this.duplicatePage(a,mxResources.get("copyOf",[a.getName()]))}),b);mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||"draw.io"!=this.getServiceName()||(c.addSeparator(b),c.addItem(mxResources.get("openInNewWindow"),null,mxUtils.bind(this,function(){this.editor.editAsNew(this.getFileData(!0,null,null,null,\r\n!0,!0))}),b))})};(function(){var a=EditorUi.prototype.refresh;EditorUi.prototype.refresh=function(d){a.apply(this,arguments);this.updateTabContainer()}})();(function(){mxCodecRegistry.getCodec(ChangePageSetup).exclude.push("page")})();(function(){var a=new mxObjectCodec(new MovePage,["ui"]);a.beforeDecode=function(a,c,b){b.ui=a.ui;return c};a.afterDecode=function(a,c,b){a=b.oldIndex;b.oldIndex=b.newIndex;b.newIndex=a;return b};mxCodecRegistry.register(a)})();\r\n(function(){var a=new mxObjectCodec(new RenamePage,["ui","page"]);a.beforeDecode=function(a,c,b){b.ui=a.ui;return c};a.afterDecode=function(a,c,b){a=b.previous;b.previous=b.name;b.name=a;return b};mxCodecRegistry.register(a)})();\r\n(function(){var a=new mxObjectCodec(new ChangePage,"ui relatedPage index neverShown page previousPage".split(" ")),d="defaultParent currentRoot scrollLeft scrollTop scale translate lastPasteXml pasteCounter".split(" ");a.afterEncode=function(a,b,g){g.setAttribute("relatedPage",b.relatedPage.getId());null==b.index&&(g.setAttribute("name",b.relatedPage.getName()),null!=b.relatedPage.viewState&&g.setAttribute("viewState",JSON.stringify(b.relatedPage.viewState,function(a,b){return 0>mxUtils.indexOf(d,\r\na)?b:void 0})),null!=b.relatedPage.root&&a.encodeCell(b.relatedPage.root,g));return g};a.beforeDecode=function(a,b,d){d.ui=a.ui;d.relatedPage=d.ui.getPageById(b.getAttribute("relatedPage"));if(null==d.relatedPage){var c=b.ownerDocument.createElement("diagram");c.setAttribute("id",b.getAttribute("relatedPage"));c.setAttribute("name",b.getAttribute("name"));d.relatedPage=new DiagramPage(c);c=b.getAttribute("viewState");null!=c&&(d.relatedPage.viewState=JSON.parse(c),b.removeAttribute("viewState"));\r\nb=b.cloneNode(!0);c=b.firstChild;if(null!=c)for(d.relatedPage.root=a.decodeCell(c,!1),d=c.nextSibling,c.parentNode.removeChild(c),c=d;null!=c;){d=c.nextSibling;if(c.nodeType==mxConstants.NODETYPE_ELEMENT){var g=c.getAttribute("id");null==a.lookup(g)&&a.decodeCell(c)}c.parentNode.removeChild(c);c=d}}return b};a.afterDecode=function(a,b,d){d.index=d.previousIndex;return d};mxCodecRegistry.register(a)})();(function(){EditorUi.prototype.altShiftActions[68]="selectDescendants";var a=Graph.prototype.foldCells;Graph.prototype.foldCells=function(b,c,d,m,e){c=null!=c?c:!1;null==d&&(d=this.getFoldableCells(this.getSelectionCells(),b));this.stopEditing();this.model.beginUpdate();try{for(var f=d.slice(),g=0;g<d.length;g++)"1"==mxUtils.getValue(this.getCurrentCellStyle(d[g]),"treeFolding","0")&&this.foldTreeCell(b,d[g]);d=f;d=a.apply(this,arguments)}finally{this.model.endUpdate()}return d};Graph.prototype.foldTreeCell=\r\nfunction(a,c){this.model.beginUpdate();try{var b=[];this.traverse(c,!0,mxUtils.bind(this,function(a,d){var e=null!=d&&this.isTreeEdge(d);e&&b.push(d);a==c||null!=d&&!e||b.push(a);return(null==d||e)&&(a==c||!this.model.isCollapsed(a))}));this.model.setCollapsed(c,a);for(var d=0;d<b.length;d++)this.model.setVisible(b[d],!a)}finally{this.model.endUpdate()}};Graph.prototype.isTreeEdge=function(a){return!this.isEdgeIgnored(a)};Graph.prototype.getTreeEdges=function(a,c,d,m,e,k){return this.model.filterCells(this.getEdges(a,\r\nc,d,m,e,k),mxUtils.bind(this,function(a){return this.isTreeEdge(a)}))};Graph.prototype.getIncomingTreeEdges=function(a,c){return this.getTreeEdges(a,c,!0,!1,!1)};Graph.prototype.getOutgoingTreeEdges=function(a,c){return this.getTreeEdges(a,c,!1,!0,!1)};var d=EditorUi.prototype.init;EditorUi.prototype.init=function(){d.apply(this,arguments);this.editor.isChromelessView()&&!this.editor.editable||this.addTrees()};EditorUi.prototype.addTrees=function(){function a(a){return v.isVertex(a)&&d(a)}function c(a){var b=\r\n!1;null!=a&&(b="1"==t.getCurrentCellStyle(a).treeMoving);return b}function d(a){var b=!1;null!=a&&(a=v.getParent(a),b=t.view.getState(a),b="tree"==(null!=b?b.style:t.getCellStyle(a)).containerType);return b}function m(a){var b=!1;null!=a&&(a=v.getParent(a),b=t.view.getState(a),t.view.getState(a),b=null!=(null!=b?b.style:t.getCellStyle(a)).childLayout);return b}function e(a){a=t.view.getState(a);if(null!=a){var b=t.getIncomingTreeEdges(a.cell);if(0<b.length&&(b=t.view.getState(b[0]),null!=b&&(b=b.absolutePoints,\r\nnull!=b&&0<b.length&&(b=b[b.length-1],null!=b)))){if(b.y==a.y&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_SOUTH;if(b.y==a.y+a.height&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_NORTH;if(b.x>a.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function k(a,b){b=null!=b?b:!0;t.model.beginUpdate();try{var c=t.model.getParent(a),d=t.getIncomingTreeEdges(a),f=t.cloneCells([d[0],a]);t.model.setTerminal(f[0],t.model.getTerminal(d[0],\r\n!0),!0);var g=e(a),k=c.geometry;g==mxConstants.DIRECTION_SOUTH||g==mxConstants.DIRECTION_NORTH?f[1].geometry.x+=b?a.geometry.width+10:-f[1].geometry.width-10:f[1].geometry.y+=b?a.geometry.height+10:-f[1].geometry.height-10;t.view.currentRoot!=c&&(f[1].geometry.x-=k.x,f[1].geometry.y-=k.y);var m=t.view.getState(a),l=t.view.scale;if(null!=m){var n=mxRectangle.fromRectangle(m);g==mxConstants.DIRECTION_SOUTH||g==mxConstants.DIRECTION_NORTH?n.x+=(b?a.geometry.width+10:-f[1].geometry.width-10)*l:n.y+=(b?\r\na.geometry.height+10:-f[1].geometry.height-10)*l;var p=t.getOutgoingTreeEdges(t.model.getTerminal(d[0],!0));if(null!=p){for(var q=g==mxConstants.DIRECTION_SOUTH||g==mxConstants.DIRECTION_NORTH,u=k=d=0;u<p.length;u++){var x=t.model.getTerminal(p[u],!1);if(g==e(x)){var A=t.view.getState(x);x!=a&&null!=A&&(q&&b!=A.getCenterX()<m.getCenterX()||!q&&b!=A.getCenterY()<m.getCenterY())&&mxUtils.intersects(n,A)&&(d=10+Math.max(d,(Math.min(n.x+n.width,A.x+A.width)-Math.max(n.x,A.x))/l),k=10+Math.max(k,(Math.min(n.y+\r\nn.height,A.y+A.height)-Math.max(n.y,A.y))/l))}}q?k=0:d=0;for(u=0;u<p.length;u++)if(x=t.model.getTerminal(p[u],!1),g==e(x)&&(A=t.view.getState(x),x!=a&&null!=A&&(q&&b!=A.getCenterX()<m.getCenterX()||!q&&b!=A.getCenterY()<m.getCenterY()))){var v=[];t.traverse(A.cell,!0,function(a,b){var c=null!=b&&t.isTreeEdge(b);c&&v.push(b);(null==b||c)&&v.push(a);return null==b||c});t.moveCells(v,(b?1:-1)*d,(b?1:-1)*k)}}}return t.addCells(f,c)}finally{t.model.endUpdate()}}function l(a){t.model.beginUpdate();try{var b=\r\ne(a),c=t.getIncomingTreeEdges(a),d=t.cloneCells([c[0],a]);t.model.setTerminal(c[0],d[1],!1);t.model.setTerminal(d[0],d[1],!0);t.model.setTerminal(d[0],a,!1);var f=t.model.getParent(a),g=f.geometry,k=[];t.view.currentRoot!=f&&(d[1].geometry.x-=g.x,d[1].geometry.y-=g.y);t.traverse(a,!0,function(a,b){var c=null!=b&&t.isTreeEdge(b);c&&k.push(b);(null==b||c)&&k.push(a);return null==b||c});var m=a.geometry.width+40,l=a.geometry.height+40;b==mxConstants.DIRECTION_SOUTH?m=0:b==mxConstants.DIRECTION_NORTH?\r\n(m=0,l=-l):b==mxConstants.DIRECTION_WEST?(m=-m,l=0):b==mxConstants.DIRECTION_EAST&&(l=0);t.moveCells(k,m,l);return t.addCells(d,f)}finally{t.model.endUpdate()}}function n(a,b){t.model.beginUpdate();try{var c=t.model.getParent(a),d=t.getIncomingTreeEdges(a),f=e(a);0==d.length&&(d=[t.createEdge(c,null,"",null,null,t.createCurrentEdgeStyle())],f=b);var g=t.cloneCells([d[0],a]);t.model.setTerminal(g[0],a,!0);if(null==t.model.getTerminal(g[0],!1)){t.model.setTerminal(g[0],g[1],!1);var k=t.getCellStyle(g[1]).newEdgeStyle;\r\nif(null!=k)try{var m=JSON.parse(k),l;for(l in m)t.setCellStyles(l,m[l],[g[0]]),"edgeStyle"==l&&"elbowEdgeStyle"==m[l]&&t.setCellStyles("elbow",f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NOTH?"vertical":"horizontal",[g[0]])}catch(ga){}}var d=t.getOutgoingTreeEdges(a),n=c.geometry,k=[];t.view.currentRoot==c&&(n=new mxRectangle);for(m=0;m<d.length;m++){var p=t.model.getTerminal(d[m],!1);null!=p&&k.push(p)}var q=t.view.getBounds(k),u=t.view.translate,x=t.view.scale;f==mxConstants.DIRECTION_SOUTH?\r\n(g[1].geometry.x=null==q?a.geometry.x+(a.geometry.width-g[1].geometry.width)/2:(q.x+q.width)/x-u.x-n.x+10,g[1].geometry.y+=g[1].geometry.height-n.y+40):f==mxConstants.DIRECTION_NORTH?(g[1].geometry.x=null==q?a.geometry.x+(a.geometry.width-g[1].geometry.width)/2:(q.x+q.width)/x-u.x+-n.x+10,g[1].geometry.y-=g[1].geometry.height+n.y+40):(g[1].geometry.x=f==mxConstants.DIRECTION_WEST?g[1].geometry.x-(g[1].geometry.width+n.x+40):g[1].geometry.x+(g[1].geometry.width-n.x+40),g[1].geometry.y=null==q?a.geometry.y+\r\n(a.geometry.height-g[1].geometry.height)/2:(q.y+q.height)/x-u.y+-n.y+10);return t.addCells(g,c)}finally{t.model.endUpdate()}}function p(a,b,c){a=t.getOutgoingTreeEdges(a);c=t.view.getState(c);var d=[];if(null!=c&&null!=a){for(var e=0;e<a.length;e++){var f=t.view.getState(t.model.getTerminal(a[e],!1));null!=f&&(!b&&Math.min(f.x+f.width,c.x+c.width)>=Math.max(f.x,c.x)||b&&Math.min(f.y+f.height,c.y+c.height)>=Math.max(f.y,c.y))&&d.push(f)}d.sort(function(a,c){return b?a.x+a.width-c.x-c.width:a.y+a.height-\r\nc.y-c.height})}return d}function q(a,b){var c=e(a),d=b==mxConstants.DIRECTION_EAST||b==mxConstants.DIRECTION_WEST;(c==mxConstants.DIRECTION_EAST||c==mxConstants.DIRECTION_WEST)==d&&c!=b?u.actions.get("selectParent").funct():c==b?(d=t.getOutgoingTreeEdges(a),null!=d&&0<d.length&&t.setSelectionCell(t.model.getTerminal(d[0],!1))):(c=t.getIncomingTreeEdges(a),null!=c&&0<c.length&&(d=p(t.model.getTerminal(c[0],!0),d,a),c=t.view.getState(a),null!=c&&(c=mxUtils.indexOf(d,c),0<=c&&(c+=b==mxConstants.DIRECTION_NORTH||\r\nb==mxConstants.DIRECTION_WEST?-1:1,0<=c&&c<=d.length-1&&t.setSelectionCell(d[c].cell)))))}var u=this,t=u.editor.graph,v=t.getModel(),z=u.menus.createPopupMenu;u.menus.createPopupMenu=function(b,c,d){z.apply(this,arguments);if(1==t.getSelectionCount()){c=t.getSelectionCell();var e=t.getOutgoingTreeEdges(c);b.addSeparator();0<e.length&&(a(t.getSelectionCell())&&this.addMenuItems(b,["selectChildren"],null,d),this.addMenuItems(b,["selectDescendants"],null,d));a(t.getSelectionCell())?(b.addSeparator(),\r\n0<t.getIncomingTreeEdges(c).length&&this.addMenuItems(b,["selectSiblings","selectParent"],null,d)):0<t.model.getEdgeCount(c)&&this.addMenuItems(b,["selectConnections"],null,d)}};u.actions.addAction("selectChildren",function(){if(t.isEnabled()&&1==t.getSelectionCount()){var a=t.getSelectionCell(),a=t.getOutgoingTreeEdges(a);if(null!=a){for(var b=[],c=0;c<a.length;c++)b.push(t.model.getTerminal(a[c],!1));t.setSelectionCells(b)}}},null,null,"Alt+Shift+X");u.actions.addAction("selectSiblings",function(){if(t.isEnabled()&&\r\n1==t.getSelectionCount()){var a=t.getSelectionCell(),a=t.getIncomingTreeEdges(a);if(null!=a&&0<a.length&&(a=t.getOutgoingTreeEdges(t.model.getTerminal(a[0],!0)),null!=a)){for(var b=[],c=0;c<a.length;c++)b.push(t.model.getTerminal(a[c],!1));t.setSelectionCells(b)}}},null,null,"Alt+Shift+S");u.actions.addAction("selectParent",function(){if(t.isEnabled()&&1==t.getSelectionCount()){var a=t.getSelectionCell(),a=t.getIncomingTreeEdges(a);null!=a&&0<a.length&&t.setSelectionCell(t.model.getTerminal(a[0],\r\n!0))}},null,null,"Alt+Shift+P");u.actions.addAction("selectDescendants",function(a,b){var c=t.getSelectionCell();if(t.isEnabled()&&t.model.isVertex(c)){if(null!=b&&mxEvent.isAltDown(b))t.setSelectionCells(t.model.getTreeEdges(c,null==b||!mxEvent.isShiftDown(b),null==b||!mxEvent.isControlDown(b)));else{var d=[];t.traverse(c,!0,function(a,c){var e=null!=c&&t.isTreeEdge(c);e&&d.push(c);null!=c&&!e||null!=b&&mxEvent.isShiftDown(b)||d.push(a);return null==c||e})}t.setSelectionCells(d)}},null,null,"Alt+Shift+D");\r\nvar y=t.removeCells;t.removeCells=function(b,c){c=null!=c?c:!0;null==b&&(b=this.getDeletableCells(this.getSelectionCells()));c&&(b=this.getDeletableCells(this.addAllEdges(b)));for(var e=[],f=0;f<b.length;f++){var g=b[f];v.isEdge(g)&&d(g)&&(e.push(g),g=v.getTerminal(g,!1));if(a(g)){var k=[];t.traverse(g,!0,function(a,b){var c=null!=b&&t.isTreeEdge(b);c&&k.push(b);(null==b||c)&&k.push(a);return null==b||c});0<k.length&&(e=e.concat(k),g=t.getIncomingTreeEdges(b[f]),b=b.concat(g))}else null!=g&&e.push(b[f])}b=\r\ne;return y.apply(this,arguments)};u.hoverIcons.getStateAt=function(b,c,d){return a(b.cell)?null:this.graph.view.getState(this.graph.getCellAt(c,d))};var x=t.duplicateCells;t.duplicateCells=function(b,c){b=null!=b?b:this.getSelectionCells();for(var d=b.slice(0),e=0;e<d.length;e++){var f=t.view.getState(d[e]);if(null!=f&&a(f.cell))for(var g=t.getIncomingTreeEdges(f.cell),f=0;f<g.length;f++)mxUtils.remove(g[f],b)}this.model.beginUpdate();try{var k=x.call(this,b,c);if(k.length==b.length)for(e=0;e<b.length;e++)if(a(b[e])){var m=\r\nt.getIncomingTreeEdges(k[e]),g=t.getIncomingTreeEdges(b[e]);if(0==m.length&&0<g.length){var l=this.cloneCell(g[0]);this.addEdge(l,t.getDefaultParent(),this.model.getTerminal(g[0],!0),k[e])}}}finally{this.model.endUpdate()}return k};var A=t.moveCells;t.moveCells=function(b,c,d,e,f,g,k){var m=null;this.model.beginUpdate();try{var l=f,n=this.getCurrentCellStyle(f);if(null!=b&&a(f)&&"1"==mxUtils.getValue(n,"treeFolding","0")){for(var p=0;p<b.length;p++)if(a(b[p])||t.model.isEdge(b[p])&&null==t.model.getTerminal(b[p],\r\n!0)){f=t.model.getParent(b[p]);break}if(null!=l&&f!=l&&null!=this.view.getState(b[0])){var q=t.getIncomingTreeEdges(b[0]);if(0<q.length){var u=t.view.getState(t.model.getTerminal(q[0],!0));if(null!=u){var x=t.view.getState(l);null!=x&&(c=(x.getCenterX()-u.getCenterX())/t.view.scale,d=(x.getCenterY()-u.getCenterY())/t.view.scale)}}}}m=A.apply(this,arguments);if(null!=m&&null!=b&&m.length==b.length)for(p=0;p<m.length;p++)if(this.model.isEdge(m[p]))a(l)&&0>mxUtils.indexOf(m,this.model.getTerminal(m[p],\r\n!0))&&this.model.setTerminal(m[p],l,!0);else if(a(b[p])&&(q=t.getIncomingTreeEdges(b[p]),0<q.length))if(!e)a(l)&&0>mxUtils.indexOf(b,this.model.getTerminal(q[0],!0))&&this.model.setTerminal(q[0],l,!0);else if(0==t.getIncomingTreeEdges(m[p]).length){n=l;if(null==n||n==t.model.getParent(b[p]))n=t.model.getTerminal(q[0],!0);e=this.cloneCell(q[0]);this.addEdge(e,t.getDefaultParent(),n,m[p])}}finally{this.model.endUpdate()}return m};if(null!=u.sidebar){var B=u.sidebar.dropAndConnect;u.sidebar.dropAndConnect=\r\nfunction(b,c,d,e){var f=t.model,g=null;f.beginUpdate();try{if(g=B.apply(this,arguments),a(b))for(var k=0;k<g.length;k++)if(f.isEdge(g[k])&&null==f.getTerminal(g[k],!0)){f.setTerminal(g[k],b,!0);var m=t.getCellGeometry(g[k]);m.points=null;null!=m.getTerminalPoint(!0)&&m.setTerminalPoint(null,!0)}}finally{f.endUpdate()}return g}}var E={88:u.actions.get("selectChildren"),84:u.actions.get("selectSubtree"),80:u.actions.get("selectParent"),83:u.actions.get("selectSiblings")},F=u.onKeyDown;u.onKeyDown=function(b){try{if(t.isEnabled()&&\r\n!t.isEditing()&&a(t.getSelectionCell())&&1==t.getSelectionCount()){var c=null;0<t.getIncomingTreeEdges(t.getSelectionCell()).length&&(9==b.which?c=mxEvent.isShiftDown(b)?l(t.getSelectionCell()):n(t.getSelectionCell()):13==b.which&&(c=k(t.getSelectionCell(),!mxEvent.isShiftDown(b))));if(null!=c&&0<c.length)1==c.length&&t.model.isEdge(c[0])?t.setSelectionCell(t.model.getTerminal(c[0],!1)):t.setSelectionCell(c[c.length-1]),null!=u.hoverIcons&&u.hoverIcons.update(t.view.getState(t.getSelectionCell())),\r\nt.startEditingAtCell(t.getSelectionCell()),mxEvent.consume(b);else if(mxEvent.isAltDown(b)&&mxEvent.isShiftDown(b)){var d=E[b.keyCode];null!=d&&(d.funct(b),mxEvent.consume(b))}else 37==b.keyCode?(q(t.getSelectionCell(),mxConstants.DIRECTION_WEST),mxEvent.consume(b)):38==b.keyCode?(q(t.getSelectionCell(),mxConstants.DIRECTION_NORTH),mxEvent.consume(b)):39==b.keyCode?(q(t.getSelectionCell(),mxConstants.DIRECTION_EAST),mxEvent.consume(b)):40==b.keyCode&&(q(t.getSelectionCell(),mxConstants.DIRECTION_SOUTH),\r\nmxEvent.consume(b))}}catch(H){u.handleError(H)}mxEvent.isConsumed(b)||F.apply(this,arguments)};var D=t.connectVertex;t.connectVertex=function(b,c,d,f,g,m,p){var q=t.getIncomingTreeEdges(b);if(a(b)){var u=e(b),x=u==mxConstants.DIRECTION_EAST||u==mxConstants.DIRECTION_WEST,A=c==mxConstants.DIRECTION_EAST||c==mxConstants.DIRECTION_WEST;return u==c||0==q.length?n(b,c):x==A?l(b):k(b,c!=mxConstants.DIRECTION_NORTH&&c!=mxConstants.DIRECTION_WEST)}return D.apply(this,arguments)};t.getSubtree=function(b){var d=\r\n[b];!c(b)&&!a(b)||m(b)||t.traverse(b,!0,function(a,b){var c=null!=b&&t.isTreeEdge(b);c&&0>mxUtils.indexOf(d,b)&&d.push(b);(null==b||c)&&0>mxUtils.indexOf(d,a)&&d.push(a);return null==b||c});return d};var C=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){C.apply(this,arguments);(c(this.state.cell)||a(this.state.cell))&&!m(this.state.cell)&&0<this.graph.getOutgoingTreeEdges(this.state.cell).length&&(this.moveHandle=mxUtils.createImage(Editor.moveImage),this.moveHandle.setAttribute("title",\r\n"Move Subtree"),this.moveHandle.style.position="absolute",this.moveHandle.style.cursor="pointer",this.moveHandle.style.width="24px",this.moveHandle.style.height="24px",this.graph.container.appendChild(this.moveHandle),mxEvent.addGestureListeners(this.moveHandle,mxUtils.bind(this,function(a){this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(a),mxEvent.getClientY(a),this.graph.getSubtree(this.state.cell));this.graph.graphHandler.cellWasClicked=!0;this.graph.isMouseTrigger=mxEvent.isMouseEvent(a);\r\nthis.graph.isMouseDown=!0;u.hoverIcons.reset();mxEvent.consume(a)})))};var G=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){G.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.style.left=this.state.x+this.state.width+(40>this.state.width?10:0)+2+"px",this.moveHandle.style.top=this.state.y+this.state.height+(40>this.state.height?10:0)+2+"px")};var K=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(a){K.apply(this,\r\narguments);null!=this.moveHandle&&(this.moveHandle.style.display=a?"":"none")};var M=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(a,b){M.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.parentNode.removeChild(this.moveHandle),this.moveHandle=null)}};if("undefined"!==typeof Sidebar){var c=Sidebar.prototype.createAdvancedShapes;Sidebar.prototype.createAdvancedShapes=function(){var a=c.apply(this,arguments),d=this.graph;return a.concat([this.addEntry("tree container",\r\nfunction(){var a=new mxCell("Tree Container",new mxGeometry(0,0,400,320),"swimlane;startSize=20;horizontal=1;containerType=tree;");a.vertex=!0;var b=new mxCell("Parent",new mxGeometry(140,60,120,40),\'whiteSpace=wrap;html=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};\');b.vertex=!0;var c=new mxCell("Child",new mxGeometry(140,140,120,40),\'whiteSpace=wrap;html=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};\');\r\nc.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;elbow=vertical;startArrow=none;endArrow=none;rounded=0;");d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!0);c.insertEdge(d,!1);a.insert(d);a.insert(b);a.insert(c);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree mindmap mindmaps central idea branch topic",function(){var a=new mxCell("Mindmap",new mxGeometry(0,0,420,126),"swimlane;startSize=20;horizontal=1;containerType=tree;");\r\na.vertex=!0;var b=new mxCell("Central Idea",new mxGeometry(160,60,100,40),\'ellipse;whiteSpace=wrap;html=1;align=center;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};\');b.vertex=!0;var c=new mxCell("Topic",new mxGeometry(320,40,80,20),\'whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};\');\r\nc.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!0);c.insertEdge(d,!1);var g=new mxCell("Branch",new mxGeometry(320,80,72,26),\'whiteSpace=wrap;html=1;shape=partialRectangle;top=0;left=0;bottom=1;right=0;points=[[0,1],[1,1]];fillColor=none;align=center;verticalAlign=bottom;routingCenterY=0.5;snapToPoint=1;autosize=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};\');\r\ng.vertex=!0;var n=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");n.geometry.relative=!0;n.edge=!0;b.insertEdge(n,!0);g.insertEdge(n,!1);var p=new mxCell("Topic",new mxGeometry(20,40,80,20),\'whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};\');\r\np.vertex=!0;var q=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");q.geometry.relative=!0;q.edge=!0;b.insertEdge(q,!0);p.insertEdge(q,!1);var u=new mxCell("Branch",new mxGeometry(20,80,72,26),\'whiteSpace=wrap;html=1;shape=partialRectangle;top=0;left=0;bottom=1;right=0;points=[[0,1],[1,1]];fillColor=none;align=center;verticalAlign=bottom;routingCenterY=0.5;snapToPoint=1;autosize=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};\');\r\nu.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");t.geometry.relative=!0;t.edge=!0;b.insertEdge(t,!0);u.insertEdge(t,!1);a.insert(d);a.insert(n);a.insert(q);a.insert(t);a.insert(b);a.insert(c);a.insert(g);a.insert(p);a.insert(u);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree mindmap mindmaps central idea",function(){var a=new mxCell("Central Idea",\r\nnew mxGeometry(0,0,100,40),\'ellipse;whiteSpace=wrap;html=1;align=center;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};treeFolding=1;treeMoving=1;\');a.vertex=!0;return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree mindmap mindmaps branch",function(){var a=new mxCell("Branch",new mxGeometry(0,0,80,20),\'whiteSpace=wrap;html=1;shape=partialRectangle;top=0;left=0;bottom=1;right=0;points=[[0,1],[1,1]];fillColor=none;align=center;verticalAlign=bottom;routingCenterY=0.5;snapToPoint=1;recursiveResize=0;autosize=1;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};\');\r\na.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");b.geometry.setTerminalPoint(new mxPoint(-40,40),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return sb.createVertexTemplateFromCells([a,b],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree mindmap mindmaps sub topic",function(){var a=new mxCell("Sub Topic",new mxGeometry(0,0,72,26),\'whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"entityRelationEdgeStyle","startArrow":"none","endArrow":"none","segment":10,"curved":1};\');\r\na.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");b.geometry.setTerminalPoint(new mxPoint(-40,40),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return sb.createVertexTemplateFromCells([a,b],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree orgchart organization division",function(){var a=new mxCell("Orgchart",new mxGeometry(0,0,280,220),\'swimlane;startSize=20;horizontal=1;containerType=tree;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};\');\r\na.vertex=!0;var b=new mxCell("Organization",new mxGeometry(80,40,120,60),\'whiteSpace=wrap;html=1;align=center;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};\');d.setAttributeForCell(b,"treeRoot","1");b.vertex=!0;var c=new mxCell("Division",new mxGeometry(20,140,100,60),\'whiteSpace=wrap;html=1;align=center;verticalAlign=middle;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};\');\r\nc.vertex=!0;var g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;elbow=vertical;startArrow=none;endArrow=none;rounded=0;");g.geometry.relative=!0;g.edge=!0;b.insertEdge(g,!0);c.insertEdge(g,!1);var l=new mxCell("Division",new mxGeometry(160,140,100,60),\'whiteSpace=wrap;html=1;align=center;verticalAlign=middle;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};\');l.vertex=!0;var n=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;elbow=vertical;startArrow=none;endArrow=none;rounded=0;");\r\nn.geometry.relative=!0;n.edge=!0;b.insertEdge(n,!0);l.insertEdge(n,!1);a.insert(g);a.insert(n);a.insert(b);a.insert(c);a.insert(l);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree root",function(){var a=new mxCell("Organization",new mxGeometry(0,0,120,60),\'whiteSpace=wrap;html=1;align=center;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};\');d.setAttributeForCell(a,"treeRoot",\r\n"1");a.vertex=!0;return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree division",function(){var a=new mxCell("Division",new mxGeometry(20,40,100,60),\'whiteSpace=wrap;html=1;align=center;verticalAlign=middle;treeFolding=1;treeMoving=1;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","startArrow":"none","endArrow":"none"};\');a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;elbow=vertical;startArrow=none;endArrow=none;rounded=0;");\r\nb.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return sb.createVertexTemplateFromCells([a,b],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree sub sections",function(){var a=new mxCell("Sub Section",new mxGeometry(0,0,100,60),"whiteSpace=wrap;html=1;align=center;verticalAlign=middle;treeFolding=1;treeMoving=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;startArrow=none;endArrow=none;rounded=0;targetPortConstraint=eastwest;sourcePortConstraint=northsouth;");\r\nb.geometry.setTerminalPoint(new mxPoint(110,-40),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);var c=new mxCell("Sub Section",new mxGeometry(120,0,100,60),"whiteSpace=wrap;html=1;align=center;verticalAlign=middle;treeFolding=1;treeMoving=1;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;startArrow=none;endArrow=none;rounded=0;targetPortConstraint=eastwest;sourcePortConstraint=northsouth;");d.geometry.setTerminalPoint(new mxPoint(110,-40),!0);d.geometry.relative=\r\n!0;d.edge=!0;c.insertEdge(d,!1);return sb.createVertexTemplateFromCells([b,d,a,c],220,60,"Sub Sections")})])}}})();EditorUi.initMinimalTheme=function(){function a(a,c){var d=a.editor.graph;d.popupMenuHandler.hideMenu();null==a.formatWindow?(a.formatWindow=new b(a,mxResources.get("format"),"1"==urlParams.sketch?Math.max(10,a.diagramContainer.clientWidth-241):Math.max(10,a.diagramContainer.clientWidth-248),60,240,Math.min(566,d.container.clientHeight-10),function(b){var c=a.createFormat(b);c.init();a.addListener("darkModeChanged",mxUtils.bind(this,function(){c.refresh()}));return c}),a.formatWindow.window.minimumSize=\r\nnew mxRectangle(0,0,240,80),a.formatWindow.window.setVisible(!0)):a.formatWindow.window.setVisible(null!=c?c:!a.formatWindow.window.isVisible());a.formatWindow.window.isVisible()&&"1"!=urlParams.sketch&&a.formatWindow.window.fit()}function d(a,c){var d=a.editor.graph;d.popupMenuHandler.hideMenu();new mxRectangle;if(null==a.sidebarWindow){var e=Math.min(d.container.clientWidth-10,218);a.sidebarWindow=new b(a,mxResources.get("shapes"),10,"1"==urlParams.sketch?15:56,e-6,Math.min(650,d.container.clientHeight-\r\n30),function(b){function c(c,d){var f=a.menus.get(c),g=e.addMenu(d,mxUtils.bind(this,function(){f.funct.apply(this,arguments)}));g.style.cssText="position:absolute;border-top:1px solid lightgray;width:50%;height:24px;bottom:0px;text-align:center;cursor:pointer;padding:6px 0 0 0;cusor:pointer;";g.className="geTitle";b.appendChild(g);return g}var d=document.createElement("div");d.style.cssText="position:absolute;left:0;right:0;border-top:1px solid lightgray;height:24px;bottom:31px;text-align:center;cursor:pointer;padding:6px 0 0 0;";\r\nd.className="geTitle";d.innerHTML=\'<span style="font-size:18px;margin-right:5px;">+</span>\';mxUtils.write(d,mxResources.get("moreShapes"));b.appendChild(d);mxEvent.addListener(d,"click",function(){a.actions.get("shapes").funct()});var e=new Menubar(a,b);if(!Editor.enableCustomLibraries||"1"==urlParams.embed&&"1"!=urlParams.libraries)d.style.bottom="0";else if(null!=a.actions.get("newLibrary")){d=document.createElement("div");d.style.cssText="position:absolute;left:0px;width:50%;border-top:1px solid lightgray;height:30px;bottom:0px;text-align:center;cursor:pointer;padding:0px;";\r\nd.className="geTitle";var f=document.createElement("span");f.style.cssText="position:relative;top:6px;";mxUtils.write(f,mxResources.get("newLibrary"));d.appendChild(f);b.appendChild(d);mxEvent.addListener(d,"click",a.actions.get("newLibrary").funct);d=document.createElement("div");d.style.cssText="position:absolute;left:50%;width:50%;border-top:1px solid lightgray;height:30px;bottom:0px;text-align:center;cursor:pointer;padding:0px;border-left: 1px solid lightgray;";d.className="geTitle";f=document.createElement("span");\r\nf.style.cssText="position:relative;top:6px;";mxUtils.write(f,mxResources.get("openLibrary"));d.appendChild(f);b.appendChild(d);mxEvent.addListener(d,"click",a.actions.get("openLibrary").funct)}else d=c("newLibrary",mxResources.get("newLibrary")),d.style.boxSizing="border-box",d.style.paddingRight="6px",d.style.paddingLeft="6px",d.style.height="32px",d.style.left="0",d=c("openLibraryFrom",mxResources.get("openLibraryFrom")),d.style.borderLeft="1px solid lightgray",d.style.boxSizing="border-box",d.style.paddingRight=\r\n"6px",d.style.paddingLeft="6px",d.style.height="32px",d.style.left="50%";b.appendChild(a.sidebar.container);b.style.overflow="hidden";return b});a.sidebarWindow.window.minimumSize=new mxRectangle(0,0,90,90);a.sidebarWindow.window.setVisible(!0);a.getLocalData("sidebar",function(b){a.sidebar.showEntries(b,null,!0)});a.restoreLibraries()}else a.sidebarWindow.window.setVisible(null!=c?c:!a.sidebarWindow.window.isVisible());a.sidebarWindow.window.isVisible()&&a.sidebarWindow.window.fit()}if("1"==urlParams.lightbox||\r\n"0"==urlParams.chrome||"undefined"===typeof window.Format||"undefined"===typeof window.Menus)window.uiTheme=null;else{var c=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,b=function(a,b,c,d,e,f,g){var k=document.createElement("div");k.className="geSidebarContainer";k.style.position="absolute";k.style.width="100%";k.style.height="100%";k.style.border="1px solid whiteSmoke";k.style.overflowX="hidden";k.style.overflowY="auto";g(k);this.window=new mxWindow(b,k,c,d,\r\ne,f,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.setLocation=function(a,b){var c=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-("1"==urlParams.sketch?3:48)));\r\nthis.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};mxClient.IS_SF&&(this.window.div.onselectstart=mxUtils.bind(this,function(b){null==b&&(b=window.event);return null!=b&&a.isSelectionAllowed(b)}))};Editor.checkmarkImage=Graph.createSvgImage(22,18,\'<path transform="translate(4 0)" d="M7.181,15.007a1,1,0,0,1-.793-0.391L3.222,10.5A1,1,0,1,1,4.808,9.274L7.132,12.3l6.044-8.86A1,1,0,1,1,14.83,4.569l-6.823,10a1,1,0,0,1-.8.437H7.181Z" fill="#29b6f2"/>\').src;mxWindow.prototype.closeImage=\r\nGraph.createSvgImage(18,10,\'<path d="M 5 1 L 13 9 M 13 1 L 5 9" stroke="#C0C0C0" stroke-width="2"/>\').src;mxWindow.prototype.minimizeImage=Graph.createSvgImage(14,10,\'<path d="M 3 7 L 7 3 L 11 7" stroke="#C0C0C0" stroke-width="2" fill="none"/>\').src;mxWindow.prototype.normalizeImage=Graph.createSvgImage(14,10,\'<path d="M 3 3 L 7 7 L 11 3" stroke="#C0C0C0" stroke-width="2" fill="none"/>\').src;mxConstraintHandler.prototype.pointImage=Graph.createSvgImage(5,5,\'<path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke="#29b6f2"/>\');\r\nmxOutline.prototype.sizerImage=null;mxConstants.VERTEX_SELECTION_COLOR="#C0C0C0";mxConstants.EDGE_SELECTION_COLOR="#C0C0C0";mxConstants.CONNECT_HANDLE_FILLCOLOR="#cee7ff";mxConstants.DEFAULT_VALID_COLOR="#29b6f2";mxConstants.GUIDE_COLOR="#C0C0C0";mxConstants.HIGHLIGHT_STROKEWIDTH=5;mxConstants.HIGHLIGHT_OPACITY=35;mxConstants.OUTLINE_COLOR="#29b6f2";mxConstants.OUTLINE_HANDLE_FILLCOLOR="#29b6f2";mxConstants.OUTLINE_HANDLE_STROKECOLOR="#fff";Graph.prototype.svgShadowColor="#3D4574";Graph.prototype.svgShadowOpacity=\r\n"0.4";Graph.prototype.svgShadowSize="0.6";Graph.prototype.svgShadowBlur="1.2";Format.inactiveTabBackgroundColor="#f0f0f0";mxGraphHandler.prototype.previewColor="#C0C0C0";mxRubberband.prototype.defaultOpacity=50;HoverIcons.prototype.inactiveOpacity=25;Format.prototype.showCloseButton=!1;EditorUi.prototype.closableScratchpad=!1;EditorUi.prototype.toolbarHeight="1"==urlParams.sketch?1:46;EditorUi.prototype.footerHeight=0;Graph.prototype.editAfterInsert="1"!=urlParams.sketch&&!mxClient.IS_IOS&&!mxClient.IS_ANDROID;\r\nEditorUi.prototype.setDarkMode=function(a){this.spinner.spin(document.body,mxResources.get("working")+"...")&&window.setTimeout(mxUtils.bind(this,function(){this.spinner.stop();this.doSetDarkMode(a);mxSettings.settings.darkMode=a;mxSettings.save();this.fireEvent(new mxEventObject("darkModeChanged"))}),0)};var g=document.createElement("link");g.setAttribute("rel","stylesheet");g.setAttribute("href",STYLE_PATH+"/dark.css");g.setAttribute("charset","UTF-8");g.setAttribute("type","text/css");EditorUi.prototype.doSetDarkMode=\r\nfunction(a){if(Editor.darkMode!=a){var b=this.editor.graph;Editor.darkMode=a;this.spinner.opts.color=Editor.isDarkMode()?"#c0c0c0":"#000";this.setGridColor(Editor.isDarkMode()?b.view.defaultDarkGridColor:b.view.defaultGridColor);b.defaultPageBackgroundColor=Editor.isDarkMode()?"#2a2a2a":"#ffffff";b.defaultPageBorderColor=Editor.isDarkMode()?"#505759":"#ffffff";b.defaultThemeName=Editor.isDarkMode()?"darkTheme":"default-style2";b.graphHandler.previewColor=Editor.isDarkMode()?"#cccccc":"black";b.loadStylesheet();\r\nnull!=this.actions.layersWindow&&(a=this.actions.layersWindow.window.isVisible(),this.actions.layersWindow.window.setVisible(!1),this.actions.layersWindow.destroy(),this.actions.layersWindow=null,a&&window.setTimeout(this.actions.get("layers").funct,0));null!=this.menus.commentsWindow&&(this.menus.commentsWindow.window.setVisible(!1),this.menus.commentsWindow.destroy(),this.menus.commentsWindow=null);null!=this.ruler&&this.ruler.updateStyle();Dialog.backdropColor=Editor.isDarkMode()?"#2a2a2a":"white";\r\nStyleFormatPanel.prototype.defaultStrokeColor=Editor.isDarkMode()?"#cccccc":"black";BaseFormatPanel.prototype.buttonBackgroundColor=Editor.isDarkMode()?"#2a2a2a":"white";Format.inactiveTabBackgroundColor=Editor.isDarkMode()?"black":"#f0f0f0";mxConstants.DROP_TARGET_COLOR=Editor.isDarkMode()?"#00ff00":"#0000FF";Editor.helpImage=Editor.isDarkMode()&&mxClient.IS_SVG?Editor.darkHelpImage:Editor.lightHelpImage;Editor.checkmarkImage=Editor.isDarkMode()&&mxClient.IS_SVG?Editor.darkCheckmarkImage:Editor.lightCheckmarkImage;\r\ndocument.body.style.backgroundColor=Editor.isDarkMode()?"#2a2a2a":"#ffffff";f.innerHTML=Editor.createMinimalCss();Editor.darkMode?null==g.parentNode&&document.getElementsByTagName("head")[0].appendChild(g):null!=g.parentNode&&g.parentNode.removeChild(g)}};Editor.createMinimalCss=function(){return"* { -webkit-font-smoothing: antialiased; }html body td.mxWindowTitle > div > img { padding: 8px 4px; }"+(Editor.isDarkMode()?"html body td.mxWindowTitle > div > img { margin: -4px; }html body .geToolbarContainer .geMenuItem, html body .geToolbarContainer .geToolbarButton, html body .geMenubarContainer .geMenuItem .geMenuItem, html body .geMenubarContainer a.geMenuItem,html body .geMenubarContainer .geToolbarButton { filter: invert(1); }html body .geMenubarContainer .geMenuItem .geMenuItem, html body .geMenubarContainer a.geMenuItem { color: #353535; }html > body > div > .geToolbarContainer { border: 1px solid #c0c0c0 !important; box-shadow: none !important; }html > body.geEditor > div > a.geItem { background-color: #2a2a2a; color: #cccccc; border-color: #505759; }html body .geTabContainer, html body .geTabContainer div, html body .geMenubarContainer { border-color: #505759 !important; }":\r\n"html body.geEditor .geTabContainer div { border-color: #e5e5e5 !important; }")+\'html > body > div > a.geItem { background-color: #ffffff; color: #707070; border-top: 1px solid lightgray; border-left: 1px solid lightgray; }html body .geMenubarContainer { border-bottom:1px solid lightgray;background-color:#ffffff; }html body .mxWindow button.geBtn { font-size:12px !important; margin-left: 0; }html body table.mxWindow td.mxWindowPane div.mxWindowPane *:not(svg *) { font-size:9pt; }table.mxWindow * :not(svg *) { font-size:13px; }html body .mxWindow { z-index: 3; }html body div.diagramContainer button, html body button.geBtn { font-size:14px; font-weight:700; border-radius: 5px; }html body button.geBtn:active { opacity: 0.6; }html body a.geMenuItem { opacity: 0.75; cursor: pointer; user-select: none; }html body a.geMenuItem[disabled] { opacity: 0.2; }html body a.geMenuItem[disabled]:active { opacity: 0.2; }html body div.geActivePage { opacity: 0.7; }html body a.geMenuItem:active { opacity: 0.2; }html body .geToolbarButton { opacity: 0.3; }html body .geToolbarButton:active { opacity: 0.15; }html body .geStatus:active { opacity: 0.5; }html body .geMenubarContainer .geStatus { margin-top: 0px !important; }html table.mxPopupMenu tr.mxPopupMenuItemHover:active { opacity: 0.7; }html body .geDialog input, html body .geToolbarContainer input, html body .mxWindow input {padding: 2px; display: inline-block; }html body .mxWindow input[type="checkbox"] {padding: 0px; }div.geDialog { border-radius: 5px; }html body div.geDialog button.geBigButton { color: \'+\r\n(Editor.isDarkMode()?"#2a2a2a":"#fff")+" !important; border: none !important; }.mxWindow button, .geDialog select, .mxWindow select { display:inline-block; }html body .mxWindow .geColorBtn, html body .geDialog .geColorBtn { background: none; }html body div.diagramContainer button, html body .mxWindow button, html body .geDialog button { min-width: 0px; border-radius: 5px; color: "+(Editor.isDarkMode()?"#cccccc":"#353535")+" !important; border-style: solid; border-width: 1px; border-color: rgb(216, 216, 216); }html body div.diagramContainer button:hover, html body .mxWindow button:hover, html body .geDialog button:hover { border-color: rgb(177, 177, 177); }html body div.diagramContainer button:active, html body .mxWindow button:active, html body .geDialog button:active { opacity: 0.6; }div.diagramContainer button.geBtn, .mxWindow button.geBtn, .geDialog button.geBtn { min-width:72px; font-weight: 600; background: none; }div.diagramContainer button.gePrimaryBtn, .mxWindow button.gePrimaryBtn, .geDialog button.gePrimaryBtn, html body .gePrimaryBtn { background: #29b6f2; color: #fff !important; border: none; box-shadow: none; }html body .gePrimaryBtn:hover { background: #29b6f2; border: none; box-shadow: inherit; }html body button.gePrimaryBtn:hover { background: #29b6f2; border: none; }.geBtn button { min-width:72px !important; }div.geToolbarContainer a.geButton { margin:0px; padding: 0 2px 4px 2px; } .geDialog, .mxWindow td.mxWindowPane *, div.geSprite, td.mxWindowTitle, .geDiagramContainer { box-sizing:content-box; }.mxWindow div button.geStyleButton { box-sizing: border-box; }table.mxWindow td.mxWindowPane button.geColorBtn { padding:0px; box-sizing: border-box; }td.mxWindowPane .geSidebarContainer button { padding:2px; box-sizing: border-box; }html body .geMenuItem { font-size:14px; text-decoration: none; font-weight: normal; padding: 6px 10px 6px 10px; border: none; border-radius: 5px; color: #353535; box-shadow: inset 0 0 0 1px rgba(0,0,0,.11), inset 0 -1px 0 0 rgba(0,0,0,.08), 0 1px 2px 0 rgba(0,0,0,.04); }.geTabContainer { border-bottom:1px solid lightgray; border-top:1px solid lightgray; background: "+\r\n(Editor.isDarkMode()?"#2a2a2a":"#fff")+" !important; }.geToolbarContainer { background: "+(Editor.isDarkMode()?"#2a2a2a":"#fff")+"; }div.geSidebarContainer { background-color: "+(Editor.isDarkMode()?"#2a2a2a":"#fff")+"; }div.geSidebarContainer .geTitle { background-color: "+(Editor.isDarkMode()?"#2a2a2a":"#fdfdfd")+"; }div.mxWindow td.mxWindowPane button { background-image: none; float: none; }td.mxWindowTitle { height: 22px !important; background: none !important; font-size: 13px !important; text-align:center !important; border-bottom:1px solid lightgray; }div.mxWindow, div.mxWindowTitle { background-image: none !important; background-color:"+\r\n(Editor.isDarkMode()?"#2a2a2a":"#fff")+" !important; }div.mxWindow { border-radius:5px; box-shadow: 0px 0px 2px #C0C0C0 !important;}div.mxWindow *:not(svg *) { font-family: inherit !important; }html div.geVerticalHandle { position:absolute;bottom:0px;left:50%;cursor:row-resize;width:11px;height:11px;background:white;margin-bottom:-6px; margin-left:-6px; border: none; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.11), inset 0 -1px 0 0 rgba(0,0,0,.08), 0 1px 2px 0 rgba(0,0,0,.04); }html div.geInactivePage { background: "+\r\n(Editor.isDarkMode()?"#2a2a2a":"rgb(249, 249, 249)")+" !important; color: #A0A0A0 !important; } html div.geActivePage { background: "+(Editor.isDarkMode()?"#2a2a2a":"#fff")+" !important; "+(Editor.isDarkMode()?"":"color: #353535 !important; } ")+"html div.mxRubberband { border:1px solid; border-color: #29b6f2 !important; background:rgba(41,182,242,0.4) !important; } html body div.mxPopupMenu { border-radius:5px; border:1px solid #c0c0c0; padding:5px 0 5px 0; box-shadow: 0px 4px 17px -4px rgba(96,96,96,1); } html table.mxPopupMenu td.mxPopupMenuItem { color: "+\r\n(Editor.isDarkMode()?"#cccccc":"#353535")+"; font-size: 14px; padding-top: 4px; padding-bottom: 4px; }html table.mxPopupMenu tr.mxPopupMenuItemHover { background-color: "+(Editor.isDarkMode()?"#000000":"#29b6f2")+"; }html tr.mxPopupMenuItemHover td.mxPopupMenuItem, html tr.mxPopupMenuItemHover td.mxPopupMenuItem span { color: "+(Editor.isDarkMode()?"#cccccc":"#ffffff")+" !important; }html tr.mxPopupMenuItem, html td.mxPopupMenuItem { transition-property: none !important; }html table.mxPopupMenu hr { height: 2px; background-color: rgba(0,0,0,.07); margin: 5px 0; }html body td.mxWindowTitle { padding-right: 14px; }html td.mxWindowTitle div { top: 0px !important; }"+\r\n(mxClient.IS_IOS?"html input[type=checkbox], html input[type=radio] { height:12px; }":"")+("1"==urlParams.sketch?"html .geStatusAlertOrange, html .geStatusAlert { margin-top: -2px; }a.geStatus > div { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }":"")};var f=document.createElement("style");f.type="text/css";f.innerHTML=Editor.createMinimalCss();document.getElementsByTagName("head")[0].appendChild(f);Editor.prototype.isChromelessView=function(){return!1};Graph.prototype.isLightboxView=\r\nfunction(){return!1};var m=EditorUi.prototype.updateTabContainer;EditorUi.prototype.updateTabContainer=function(){null!=this.tabContainer&&(this.tabContainer.style.right="70px",this.diagramContainer.style.bottom="1"==urlParams.sketch?"0px":this.tabContainerHeight+"px");m.apply(this,arguments)};var e=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates=function(){e.apply(this,arguments);this.menus.get("save").setEnabled(null!=this.getCurrentFile()||"1"==urlParams.embed)};var k=\r\nMenus.prototype.addShortcut;Menus.prototype.addShortcut=function(a,b){null!=b.shortcut&&900>c&&!mxClient.IS_IOS?a.firstChild.nextSibling.setAttribute("title",b.shortcut):k.apply(this,arguments)};var l=App.prototype.updateUserElement;App.prototype.updateUserElement=function(){l.apply(this,arguments);if(null!=this.userElement){var a=this.userElement;a.style.cssText="position:relative;margin-right:4px;cursor:pointer;display:"+a.style.display;a.className="geToolbarButton";a.innerHTML="";a.style.backgroundImage=\r\n"url("+Editor.userImage+")";a.style.backgroundPosition="center center";a.style.backgroundRepeat="no-repeat";a.style.backgroundSize="24px 24px";a.style.height="24px";a.style.width="24px";a.style.cssFloat="right";a.setAttribute("title",mxResources.get("changeUser"));"none"!=a.style.display&&(a.style.display="inline-block")}};var n=App.prototype.updateButtonContainer;App.prototype.updateButtonContainer=function(){n.apply(this,arguments);if(null!=this.shareButton){var a=this.shareButton;a.style.cssText=\r\n"display:inline-block;position:relative;box-sizing:border-box;margin-right:4px;cursor:pointer;";a.className="geToolbarButton";a.innerHTML="";a.style.backgroundImage="url("+Editor.shareImage+")";a.style.backgroundPosition="center center";a.style.backgroundRepeat="no-repeat";a.style.backgroundSize="24px 24px";a.style.height="24px";a.style.width="24px";"1"==urlParams.sketch&&(this.shareButton.style.display="none")}null!=this.buttonContainer&&(this.buttonContainer.style.marginTop="-2px",this.buttonContainer.style.paddingTop=\r\n"4px")};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.buttonContainer){var a=document.createElement("div");a.style.display="inline-block";a.style.position="relative";a.style.marginTop="6px";a.style.marginRight="4px";var b=document.createElement("a");b.className="geMenuItem gePrimaryBtn";b.style.marginLeft="8px";b.style.padding="6px";if("1"==urlParams.noSaveBtn){var c="1"==urlParams.publishClose?mxResources.get("publish"):mxResources.get("saveAndExit");mxUtils.write(b,c);b.setAttribute("title",\r\nc);mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()}));a.appendChild(b)}else mxUtils.write(b,mxResources.get("save")),b.setAttribute("title",mxResources.get("save")+" ("+Editor.ctrlKey+"+S)"),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()})),a.appendChild(b),"1"==urlParams.saveAndExit&&(b=document.createElement("a"),mxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),\r\nb.className="geMenuItem",b.style.marginLeft="6px",b.style.padding="6px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b));"1"!=urlParams.noExitBtn&&(b=document.createElement("a"),c="1"==urlParams.publishClose?mxResources.get("close"):mxResources.get("exit"),mxUtils.write(b,c),b.setAttribute("title",c),b.className="geMenuItem",b.style.marginLeft="6px",b.style.padding="6px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("exit").funct()})),\r\na.appendChild(b));this.buttonContainer.appendChild(a);this.buttonContainer.style.top="6px"}};var p=Sidebar.prototype.getTooltipOffset;Sidebar.prototype.getTooltipOffset=function(a,b){if(null==this.editorUi.sidebarWindow||mxUtils.isAncestorNode(this.editorUi.picker,a)){var c=mxUtils.getOffset(this.editorUi.picker);c.x+=this.editorUi.picker.offsetWidth+4;c.y+=a.offsetTop-b.height/2+16;return c}var d=p.apply(this,arguments),c=mxUtils.getOffset(this.editorUi.sidebarWindow.window.div);d.x+=c.x-16;d.y+=\r\nc.y;return d};var q=Menus.prototype.createPopupMenu;Menus.prototype.createPopupMenu=function(a,b,c){var d=this.editorUi.editor.graph;a.smartSeparators=!0;q.apply(this,arguments);"1"==urlParams.sketch?d.isEnabled()&&(1==d.getSelectionCount()&&this.addMenuItems(a,["editTooltip"],null,c),a.addSeparator(),1==d.getSelectionCount()?(null!=c&&mxEvent.isTouchEvent(c)&&this.addMenuItems(a,["edit"],null,c),this.addMenuItems(a,["-","lockUnlock"],null,c)):this.addSubmenu("view",a,null,mxResources.get("options"))):\r\n1==d.getSelectionCount()?(this.addMenuItems(a,["editTooltip","-","editGeometry","edit"],null,c),d.isCellFoldable(d.getSelectionCell())&&this.addMenuItems(a,d.isCellCollapsed(b)?["expand"]:["collapse"],null,c),this.addMenuItems(a,["collapsible","-","lockUnlock","enterGroup"],null,c),a.addSeparator(),this.addSubmenu("layout",a)):d.isSelectionEmpty()&&d.isEnabled()?(a.addSeparator(),this.addMenuItems(a,["editData"],null,c),a.addSeparator(),this.addSubmenu("layout",a),this.addSubmenu("view",a,null,mxResources.get("options")),\r\na.addSeparator(),this.addSubmenu("insert",a),this.addMenuItems(a,["-","exitGroup"],null,c)):d.isEnabled()&&this.addMenuItems(a,["-","lockUnlock"],null,c)};var u=Menus.prototype.addPopupMenuEditItems;Menus.prototype.addPopupMenuEditItems=function(a,b,c){u.apply(this,arguments);this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["copyAsImage"],null,c)};EditorUi.prototype.toggleFormatPanel=function(b){null!=this.formatWindow?this.formatWindow.window.setVisible(null!=b?b:!this.formatWindow.window.isVisible()):\r\na(this)};DiagramFormatPanel.prototype.isMathOptionVisible=function(){return!0};var t=EditorUi.prototype.destroy;EditorUi.prototype.destroy=function(){null!=this.sidebarWindow&&(this.sidebarWindow.window.setVisible(!1),this.sidebarWindow.window.destroy(),this.sidebarWindow=null);null!=this.formatWindow&&(this.formatWindow.window.setVisible(!1),this.formatWindow.window.destroy(),this.formatWindow=null);null!=this.actions.outlineWindow&&(this.actions.outlineWindow.window.setVisible(!1),this.actions.outlineWindow.window.destroy(),\r\nthis.actions.outlineWindow=null);null!=this.actions.layersWindow&&(this.actions.layersWindow.window.setVisible(!1),this.actions.layersWindow.destroy(),this.actions.layersWindow=null);null!=this.menus.tagsWindow&&(this.menus.tagsWindow.window.setVisible(!1),this.menus.tagsWindow.window.destroy(),this.menus.tagsWindow=null);null!=this.menus.findWindow&&(this.menus.findWindow.window.setVisible(!1),this.menus.findWindow.window.destroy(),this.menus.findWindow=null);null!=this.menus.findReplaceWindow&&\r\n(this.menus.findReplaceWindow.window.setVisible(!1),this.menus.findReplaceWindow.window.destroy(),this.menus.findReplaceWindow=null);t.apply(this,arguments)};var v=EditorUi.prototype.setGraphEnabled;EditorUi.prototype.setGraphEnabled=function(a){v.apply(this,arguments);if(a){var b=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;1E3<=b&&null!=this.sidebarWindow&&"1"!=urlParams.sketch&&this.sidebarWindow.window.setVisible(!0);null!=this.formatWindow&&(1E3<=b||"1"==\r\nurlParams.sketch)&&this.formatWindow.window.setVisible(!0)}else null!=this.sidebarWindow&&this.sidebarWindow.window.setVisible(!1),null!=this.formatWindow&&this.formatWindow.window.setVisible(!1)};EditorUi.prototype.chromelessWindowResize=function(){};var z=Menus.prototype.init;Menus.prototype.init=function(){z.apply(this,arguments);var b=this.editorUi,c=b.editor.graph;b.actions.get("editDiagram").label=mxResources.get("formatXml")+"...";b.actions.get("createShape").label=mxResources.get("shape")+\r\n"...";b.actions.get("outline").label=mxResources.get("outline")+"...";b.actions.get("layers").label=mxResources.get("layers")+"...";b.actions.get("forkme").visible="1"!=urlParams.sketch;b.actions.get("downloadDesktop").visible="1"!=urlParams.sketch;var e=b.actions.put("toggleDarkMode",new Action(mxResources.get("dark"),function(){b.setDarkMode(!Editor.darkMode)}));e.setToggleAction(!0);e.setSelectedCallback(function(){return Editor.isDarkMode()});b.actions.put("importCsv",new Action(mxResources.get("csv")+\r\n"...",function(){c.popupMenuHandler.hideMenu();b.showImportCsvDialog()}));b.actions.put("importText",new Action(mxResources.get("text")+"...",function(){var a=new ParseDialog(b,"Insert from Text");b.showDialog(a.container,620,420,!0,!1);a.init()}));b.actions.put("formatSql",new Action(mxResources.get("formatSql")+"...",function(){var a=new ParseDialog(b,"Insert from Text","formatSql");b.showDialog(a.container,620,420,!0,!1);a.init()}));b.actions.put("toggleShapes",new Action(mxResources.get("1"==\r\nurlParams.sketch?"moreShapes":"shapes")+"...",function(){d(b)},null,null,Editor.ctrlKey+"+Shift+K"));b.actions.put("toggleFormat",new Action(mxResources.get("format")+"...",function(){a(b)})).shortcut=b.actions.get("formatPanel").shortcut;EditorUi.enablePlantUml&&!b.isOffline()&&b.actions.put("plantUml",new Action(mxResources.get("plantUml")+"...",function(){var a=new ParseDialog(b,mxResources.get("plantUml")+"...","plantUml");b.showDialog(a.container,620,420,!0,!1);a.init()}));b.actions.put("mermaid",\r\nnew Action(mxResources.get("mermaid")+"...",function(){var a=new ParseDialog(b,mxResources.get("mermaid")+"...","mermaid");b.showDialog(a.container,620,420,!0,!1);a.init()}));this.put("diagram",new Menu(mxUtils.bind(this,function(a,c){var d=b.getCurrentFile();"1"!=urlParams.sketch&&(b.menus.addSubmenu("extras",a,c,mxResources.get("preferences")),a.addSeparator(c));mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?b.menus.addMenuItems(a,"new open - synchronize - save saveAs -".split(" "),c):"1"==urlParams.embed?\r\n("1"!=urlParams.noSaveBtn&&b.menus.addMenuItems(a,["-","save"],c),("1"==urlParams.saveAndExit||"1"==urlParams.noSaveBtn&&"0"!=urlParams.saveAndExit)&&b.menus.addMenuItems(a,["saveAndExit"],c),a.addSeparator(c)):(b.menus.addMenuItems(a,["new"],c),b.menus.addSubmenu("openFrom",a,c),isLocalStorage&&this.addSubmenu("openRecent",a,c),"1"!=urlParams.sketch&&(a.addSeparator(c),null!=d&&d.constructor==DriveFile&&b.menus.addMenuItems(a,["share"],c),mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null==d||d.constructor==\r\nLocalFile||b.menus.addMenuItems(a,["synchronize"],c)),a.addSeparator(c),b.menus.addSubmenu("save",a,c));b.menus.addSubmenu("exportAs",a,c);mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?b.menus.addMenuItems(a,["import"],c):b.menus.addSubmenu("importFrom",a,c);"1"!=urlParams.sketch&&(b.menus.addMenuItems(a,["-","outline","layers"],c),b.commentsSupported()&&b.menus.addMenuItems(a,["comments"],c));b.menus.addMenuItems(a,["-","findReplace"],c);"1"!=urlParams.sketch&&b.menus.addMenuItems(a,["tags"],c);\r\n"1"!=urlParams.sketch&&null!=d&&null!=b.fileNode&&(d=null!=d.getTitle()?d.getTitle():b.defaultFilename,/(\\.html)$/i.test(d)||/(\\.svg)$/i.test(d)||this.addMenuItems(a,["-","properties"]));mxClient.IS_IOS&&navigator.standalone||b.menus.addMenuItems(a,["-","print","-"],c);"1"==urlParams.sketch&&(b.menus.addSubmenu("extras",a,c,mxResources.get("preferences")),a.addSeparator(c));b.menus.addSubmenu("help",a,c);"1"==urlParams.embed?b.menus.addMenuItems(a,["-","exit"],c):b.menus.addMenuItems(a,["-","close"])})));\r\nthis.put("save",new Menu(mxUtils.bind(this,function(a,c){var d=b.getCurrentFile();null!=d&&d.constructor==DriveFile?b.menus.addMenuItems(a,["save","makeCopy","-","rename","moveToFolder"],c):(b.menus.addMenuItems(a,["save","saveAs","-","rename"],c),b.isOfflineApp()?navigator.onLine&&"1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&this.addMenuItems(a,["upload"],c):b.menus.addMenuItems(a,["makeCopy"],c));"1"!=urlParams.sketch||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||null==d||d.constructor==LocalFile||\r\nb.menus.addMenuItems(a,["-","synchronize"],c);b.menus.addMenuItems(a,["-","autosave"],c);null!=d&&d.isRevisionHistorySupported()&&b.menus.addMenuItems(a,["-","revisionHistory"],c)})));var f=this.get("exportAs");this.put("exportAs",new Menu(mxUtils.bind(this,function(a,c){f.funct(a,c);mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||b.menus.addMenuItems(a,["publishLink"],c);a.addSeparator(c);b.menus.addSubmenu("embed",a,c)})));var g=this.get("language");this.put("table",new Menu(mxUtils.bind(this,function(a,\r\nc){b.menus.addInsertTableCellItem(a,c)})));var k=this.get("importFrom");this.put("importFrom",new Menu(mxUtils.bind(this,function(a,d){k.funct(a,d);this.addMenuItems(a,["editDiagram"],d);"1"==urlParams.sketch&&(a.addSeparator(d),a.addItem(mxResources.get("csv")+"...",null,function(){b.showImportCsvDialog()},d,null,mxUtils.bind(c,c.isEnabled)),b.addInsertMenuItems(a,d,["formatSql","-","fromText","plantUml","mermaid"]))})));this.put("extras",new Menu(mxUtils.bind(this,function(a,c){"1"!=urlParams.embed&&\r\nb.menus.addSubmenu("theme",a,c);null!=g&&b.menus.addSubmenu("language",a,c);b.menus.addSubmenu("units",a,c);a.addSeparator(c);b.menus.addMenuItem(a,"configuration",c);a.addSeparator(c);b.menus.addMenuItems(a,["scrollbars","tooltips"],c);"1"!=urlParams.embed&&(isLocalStorage||mxClient.IS_CHROMEAPP)&&b.menus.addMenuItems(a,["-","search","scratchpad","-","showStartScreen"],c);!b.isOfflineApp()&&isLocalStorage&&b.menus.addMenuItem(a,"plugins",c);a.addSeparator(c)})));this.put("insertAdvanced",new Menu(mxUtils.bind(this,\r\nfunction(a,c){b.menus.addMenuItems(a,"importText plantUml mermaid - formatSql importCsv - createShape editDiagram".split(" "),c)})));mxUtils.bind(this,function(){var a=this.get("insert"),c=a.funct;a.funct=function(a,d){"1"==urlParams.sketch?(b.menus.addMenuItems(a,["insertFreehand"],d),b.insertTemplateEnabled&&!b.isOffline()&&b.menus.addMenuItems(a,["insertTemplate"],d)):(c.apply(this,arguments),b.menus.addSubmenu("table",a,d),a.addSeparator(d));b.menus.addMenuItems(a,["-","toggleShapes"],d)}})();\r\nvar m="horizontalFlow verticalFlow - horizontalTree verticalTree radialTree - organic circle".split(" "),l=function(a,c,d,e){a.addItem(d,null,mxUtils.bind(this,function(){var a=new CreateGraphDialog(b,d,e);b.showDialog(a.container,620,420,!0,!1);a.init()}),c)};this.put("insertLayout",new Menu(mxUtils.bind(this,function(a,b){for(var c=0;c<m.length;c++)"-"==m[c]?a.addSeparator(b):l(a,b,mxResources.get(m[c])+"...",m[c])})));this.put("view",new Menu(mxUtils.bind(this,function(a,c){b.menus.addMenuItems(a,\r\n"grid guides ruler - connectionArrows connectionPoints -".split(" "),c);if("undefined"!==typeof MathJax){var d=b.menus.addMenuItem(a,"mathematicalTypesetting",c);b.menus.addLinkToItem(d,"https://www.diagrams.net/doc/faq/math-typesetting")}b.menus.addMenuItems(a,["copyConnect","collapseExpand","-","pageScale"],c);"1"!=urlParams.sketch?b.menus.addMenuItems(a,["-","fullscreen","toggleDarkMode"],c):b.menus.addMenuItems(a,["-","layers"],c)})))};EditorUi.prototype.installFormatToolbar=function(a){var b=\r\nthis.editor.graph,c=document.createElement("div");c.style.cssText="position:absolute;top:10px;z-index:1;border-radius:4px;box-shadow:0px 0px 3px 1px #d1d1d1;padding:6px;white-space:nowrap;background-color:#fff;transform:translate(-50%, 0);left:50%;";b.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(d,e){0<b.getSelectionCount()?(a.appendChild(c),c.innerHTML="Selected: "+b.getSelectionCount()):null!=c.parentNode&&c.parentNode.removeChild(c)}))};var y=EditorUi.prototype.init;\r\nEditorUi.prototype.init=function(){function b(a,b,c){var d=l.menus.get(a),e=t.addMenu(mxResources.get(a),mxUtils.bind(this,function(){d.funct.apply(this,arguments)}),q);e.className="geMenuItem";e.style.display="inline-block";e.style.boxSizing="border-box";e.style.top="6px";e.style.marginRight="6px";e.style.height="30px";e.style.paddingTop="6px";e.style.paddingBottom="6px";e.style.cursor="pointer";e.setAttribute("title",mxResources.get(a));l.menus.menuCreated(d,e,"geMenuItem");null!=c?(e.style.backgroundImage=\r\n"url("+c+")",e.style.backgroundPosition="center center",e.style.backgroundRepeat="no-repeat",e.style.backgroundSize="24px 24px",e.style.width="34px",e.innerHTML=""):b||(e.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",e.style.backgroundPosition="right 6px center",e.style.backgroundRepeat="no-repeat",e.style.paddingRight="22px");return e}function e(a,b,c,d,e,f){var g=document.createElement("a");g.className="geMenuItem";g.style.display="inline-block";g.style.boxSizing="border-box";\r\ng.style.height="30px";g.style.padding="6px";g.style.position="relative";g.style.verticalAlign="top";g.style.top="0px";"1"==urlParams.sketch&&(g.style.borderStyle="none",g.style.boxShadow="none",g.style.padding="6px",g.style.margin="0px");null!=l.statusContainer?p.insertBefore(g,l.statusContainer):p.appendChild(g);null!=f?(g.style.backgroundImage="url("+f+")",g.style.backgroundPosition="center center",g.style.backgroundRepeat="no-repeat",g.style.backgroundSize="24px 24px",g.style.width="34px"):mxUtils.write(g,\r\na);mxEvent.addListener(g,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));mxEvent.addListener(g,"click",function(a){"disabled"!=g.getAttribute("disabled")&&b(a);mxEvent.consume(a)});null==c&&(g.style.marginRight="4px");null!=d&&g.setAttribute("title",d);null!=e&&(a=function(){e.isEnabled()?(g.removeAttribute("disabled"),g.style.cursor="pointer"):(g.setAttribute("disabled","disabled"),g.style.cursor="default")},e.addListener("stateChanged",a),n.addListener("enabledChanged",\r\na),a());return g}function f(a,b,c){c=document.createElement("div");c.className="geMenuItem";c.style.display="inline-block";c.style.verticalAlign="top";c.style.marginRight="6px";c.style.padding="0 4px 0 4px";c.style.height="30px";c.style.position="relative";c.style.top="0px";"1"==urlParams.sketch&&(c.style.boxShadow="none");for(var d=0;d<a.length;d++)null!=a[d]&&("1"==urlParams.sketch&&(a[d].style.padding="10px 8px",a[d].style.width="30px"),a[d].style.margin="0px",a[d].style.boxShadow="none",c.appendChild(a[d]));\r\nnull!=b&&mxUtils.setOpacity(c,b);null!=l.statusContainer&&"1"!=urlParams.sketch?p.insertBefore(c,l.statusContainer):p.appendChild(c);return c}function g(){for(var a=p.firstChild;null!=a;){var d=a.nextSibling;"geMenuItem"!=a.className&&"geItem"!=a.className||a.parentNode.removeChild(a);a=d}q=p.firstChild;c=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;(a=1E3>c||"1"==urlParams.sketch)||b("diagram");if("1"==urlParams.sketch)W.style.left=58>P.offsetTop-P.offsetHeight/\r\n2?"70px":"10px";else if(f([a?b("diagram",null,IMAGE_PATH+"/drawlogo.svg"):null,e(mxResources.get("shapes"),l.actions.get("toggleShapes").funct,null,mxResources.get("shapes"),l.actions.get("image"),a?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTMgMTN2OGg4di04aC04ek0zIDIxaDh2LThIM3Y4ek0zIDN2OGg4VjNIM3ptMTMuNjYtMS4zMUwxMSA3LjM0IDE2LjY2IDEzbDUuNjYtNS42Ni01LjY2LTUuNjV6Ii8+PC9zdmc+":null),e(mxResources.get("format"),\r\nl.actions.get("toggleFormat").funct,null,mxResources.get("format")+" ("+l.actions.get("formatPanel").shortcut+")",l.actions.get("image"),a?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIgM2MtNC45NyAwLTkgNC4wMy05IDlzNC4wMyA5IDkgOWMuODMgMCAxLjUtLjY3IDEuNS0xLjUgMC0uMzktLjE1LS43NC0uMzktMS4wMS0uMjMtLjI2LS4zOC0uNjEtLjM4LS45OSAwLS44My42Ny0xLjUgMS41LTEuNUgxNmMyLjc2IDAgNS0yLjI0IDUtNSAwLTQuNDItNC4wMy04LTktOHptLTUuNSA5Yy0uODMgMC0xLjUtLjY3LTEuNS0xLjVTNS42NyA5IDYuNSA5IDggOS42NyA4IDEwLjUgNy4zMyAxMiA2LjUgMTJ6bTMtNEM4LjY3IDggOCA3LjMzIDggNi41UzguNjcgNSA5LjUgNXMxLjUuNjcgMS41IDEuNVMxMC4zMyA4IDkuNSA4em01IDBjLS44MyAwLTEuNS0uNjctMS41LTEuNVMxMy42NyA1IDE0LjUgNXMxLjUuNjcgMS41IDEuNVMxNS4zMyA4IDE0LjUgOHptMyA0Yy0uODMgMC0xLjUtLjY3LTEuNS0xLjVTMTYuNjcgOSAxNy41IDlzMS41LjY3IDEuNSAxLjUtLjY3IDEuNS0xLjUgMS41eiIvPjwvc3ZnPg==":\r\nnull)],a?60:null),d=b("insert",!0,a?V:null),f([d,e(mxResources.get("delete"),l.actions.get("delete").funct,null,mxResources.get("delete"),l.actions.get("delete"),a?ia:null)],a?60:null),411<=c&&(f([oa,ka],60),520<=c&&(f([pa,640<=c?e("",Q.funct,!0,mxResources.get("zoomIn")+" ("+Editor.ctrlKey+" +)",Q,ma):null,640<=c?e("",T.funct,!0,mxResources.get("zoomOut")+" ("+Editor.ctrlKey+" -)",T,fa):null],60),720<=c))){var g=e("",S.funct,null,mxResources.get("dark"),S,Editor.isDarkMode()?ca:aa);g.style.opacity=\r\n"0.4";l.addListener("darkModeChanged",mxUtils.bind(this,function(){g.style.backgroundImage="url("+(Editor.isDarkMode()?ca:aa)+")"}));null!=l.statusContainer&&"1"!=urlParams.sketch?p.insertBefore(g,l.statusContainer):p.appendChild(g)}a=l.menus.get("language");null!=a&&!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&600<=c&&"1"!=urlParams.sketch?(null==va&&(d=t.addMenu("",a.funct),d.setAttribute("title",mxResources.get("language")),d.className="geToolbarButton",d.style.backgroundImage="url("+Editor.globeImage+\r\n")",d.style.backgroundPosition="center center",d.style.backgroundRepeat="no-repeat",d.style.backgroundSize="24px 24px",d.style.position="absolute",d.style.height="24px",d.style.width="24px",d.style.zIndex="1",d.style.right="8px",d.style.cursor="pointer",d.style.top="1"==urlParams.embed?"12px":"11px",p.appendChild(d),va=d),l.buttonContainer.style.paddingRight="34px"):(l.buttonContainer.style.paddingRight="4px",null!=va&&(va.parentNode.removeChild(va),va=null))}y.apply(this,arguments);this.doSetDarkMode(null!=\r\nurlParams.dark?1==urlParams.dark:mxSettings.settings.darkMode);var k=document.createElement("div");k.style.cssText="position:absolute;left:0px;right:0px;top:0px;overflow-y:auto;overflow-x:hidden;";k.style.bottom="1"!=urlParams.embed||"1"==urlParams.libraries?"63px":"32px";this.sidebar=this.createSidebar(k);"1"==urlParams.sketch&&(this.toggleScratchpad(),this.editor.graph.isZoomWheelEvent=function(a){return!mxEvent.isShiftDown(a)&&!mxEvent.isMetaDown(a)&&!mxEvent.isAltDown(a)&&(!mxEvent.isControlDown(a)||\r\nmxClient.IS_MAC)});if("1"!=urlParams.sketch&&1E3<=c||null!=urlParams.clibs||null!=urlParams.libs||null!=urlParams["search-shapes"])d(this,!0),null!=this.sidebar&&null!=urlParams["search-shapes"]&&null!=this.sidebar.searchShapes&&(this.sidebar.searchShapes(urlParams["search-shapes"]),this.sidebar.showEntries("search"));this.keyHandler.bindAction(75,!0,"toggleShapes",!0);if("1"==urlParams.sketch||1E3<=c)if(a(this,!0),"1"==urlParams.sketch){this.formatWindow.window.setClosable(!1);var m=this.formatWindow.window.toggleMinimized;\r\nthis.formatWindow.window.toggleMinimized=function(){m.apply(this,arguments);this.minimized?(this.div.style.width="90px",this.table.style.width="90px",this.div.style.left=parseInt(this.div.style.left)+150+"px"):(this.div.style.width="240px",this.table.style.width="240px",this.div.style.left=parseInt(this.div.style.left)-150+"px");this.fit()};mxEvent.addListener(this.formatWindow.window.title,"dblclick",mxUtils.bind(this,function(a){mxEvent.getSource(a)==this.formatWindow.window.title&&this.formatWindow.window.toggleMinimized()}));\r\nthis.formatWindow.window.toggleMinimized()}var l=this,n=l.editor.graph;l.toolbar=this.createToolbar(l.createDiv("geToolbar"));l.defaultLibraryName=mxResources.get("untitledLibrary");var p=document.createElement("div");p.className="geMenubarContainer";var q=null,t=new Menubar(l,p);l.statusContainer=l.createStatusContainer();l.statusContainer.style.position="relative";l.statusContainer.style.maxWidth="";l.statusContainer.style.marginTop="7px";l.statusContainer.style.marginLeft="6px";l.statusContainer.style.color=\r\n"gray";l.statusContainer.style.cursor="default";var u=l.hideCurrentMenu;l.hideCurrentMenu=function(){u.apply(this,arguments);this.editor.graph.popupMenuHandler.hideMenu()};var v=l.descriptorChanged;l.descriptorChanged=function(){v.apply(this,arguments);var a=l.getCurrentFile();if(null!=a&&null!=a.getTitle()){var b=a.getMode();"google"==b?b="googleDrive":"github"==b?b="gitHub":"gitlab"==b?b="gitLab":"onedrive"==b&&(b="oneDrive");b=mxResources.get(b);p.setAttribute("title",a.getTitle()+(null!=b?" ("+\r\nb+")":""))}else p.removeAttribute("title")};l.setStatusText(l.editor.getStatus());p.appendChild(l.statusContainer);l.buttonContainer=document.createElement("div");l.buttonContainer.style.cssText="position:absolute;right:0px;padding-right:34px;top:10px;white-space:nowrap;padding-top:2px;background-color:inherit;";p.appendChild(l.buttonContainer);l.menubarContainer=l.buttonContainer;l.tabContainer=document.createElement("div");l.tabContainer.className="geTabContainer";l.tabContainer.style.cssText="position:absolute;left:0px;right:0px;bottom:0px;height:30px;white-space:nowrap;margin-bottom:-2px;visibility:hidden;";\r\nvar k=l.diagramContainer.parentNode,z=document.createElement("div");z.style.cssText="position:absolute;top:0px;left:0px;right:0px;bottom:0px;overflow:hidden;";l.diagramContainer.style.top="1"==urlParams.sketch?"0px":"47px";var L=l.menus.get("viewZoom"),V="1"!=urlParams.sketch?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgMTNoLTZ2NmgtMnYtNkg1di0yaDZWNWgydjZoNnYyeiIvPjwvc3ZnPg==":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMwMDAwMDAiPjxnPjxwYXRoIGQ9Ik0wLDBoMjR2MjRIMFYweiIgZmlsbD0ibm9uZSIvPjwvZz48Zz48Zz48cGF0aCBkPSJNMywxMWg4VjNIM1YxMXogTTUsNWg0djRINVY1eiIvPjxwYXRoIGQ9Ik0xMywzdjhoOFYzSDEzeiBNMTksOWgtNFY1aDRWOXoiLz48cGF0aCBkPSJNMywyMWg4di04SDNWMjF6IE01LDE1aDR2NEg1VjE1eiIvPjxwb2x5Z29uIHBvaW50cz0iMTgsMTMgMTYsMTMgMTYsMTYgMTMsMTYgMTMsMTggMTYsMTggMTYsMjEgMTgsMjEgMTgsMTggMjEsMTggMjEsMTYgMTgsMTYiLz48L2c+PC9nPjwvc3ZnPg==",\r\nU="1"==urlParams.sketch?document.createElement("div"):null,P="1"==urlParams.sketch?document.createElement("div"):null,W="1"==urlParams.sketch?document.createElement("div"):null;l.addListener("darkModeChanged",mxUtils.bind(this,function(){null!=this.sidebar&&(this.sidebar.graph.stylesheet.styles=mxUtils.clone(n.stylesheet.styles),this.sidebar.container.innerHTML="",this.sidebar.palettes={},this.sidebar.init(),"1"==urlParams.sketch&&(this.scratchpad=null,this.toggleScratchpad()));n.refresh();n.view.validateBackground()}));\r\nGraph.touchStyle&&(n.panningHandler.isPanningTrigger=function(a){var b=a.getEvent();return null==a.getState()&&!mxEvent.isMouseEvent(b)&&!n.freehand.isDrawing()||mxEvent.isPopupTrigger(b)&&(null==a.getState()||mxEvent.isControlDown(b)||mxEvent.isShiftDown(b))});if(null!=l.hoverIcons){var ha=l.hoverIcons.update;l.hoverIcons.update=function(){n.freehand.isDrawing()||ha.apply(this,arguments)}}if(null!=n.freehand){var ea=n.freehand.createStyle;n.freehand.createStyle=function(a){return ea.apply(this,arguments)+\r\n"sketch=0;"}}if("1"==urlParams.sketch){P.className="geToolbarContainer";U.className="geToolbarContainer";W.className="geToolbarContainer";p.className="geToolbarContainer";l.picker=P;var X=!1;mxEvent.addListener(p,"mouseenter",function(){l.statusContainer.style.display="inline-block"});mxEvent.addListener(p,"mouseleave",function(){X||(l.statusContainer.style.display="none")});var Z=mxUtils.bind(this,function(a){null!=l.notificationBtn&&(null!=a?l.notificationBtn.setAttribute("title",a):l.notificationBtn.removeAttribute("title"))});\r\n"1"!=urlParams.embed&&l.editor.addListener("statusChanged",mxUtils.bind(this,function(){l.setStatusText(l.editor.getStatus());if(0==l.statusContainer.children.length||1==l.statusContainer.children.length&&null==l.statusContainer.firstChild.getAttribute("class")){null!=l.statusContainer.firstChild?Z(l.statusContainer.firstChild.getAttribute("title")):Z(l.editor.getStatus());var a=l.getCurrentFile(),a=null!=a?a.savingStatusKey:DrawioFile.prototype.savingStatusKey;null!=l.notificationBtn&&l.notificationBtn.getAttribute("title")==\r\nmxResources.get(a)+"..."?(l.statusContainer.innerHTML=\'<img title="\'+mxUtils.htmlEntities(mxResources.get(a))+\'..."src="\'+IMAGE_PATH+\'/spin.gif">\',l.statusContainer.style.display="inline-block",X=!0):(l.statusContainer.style.display="none",X=!1)}else l.statusContainer.style.display="inline-block",Z(null),X=!0}));R=b("diagram",null,IMAGE_PATH+"/drawlogo.svg");R.style.boxShadow="none";R.style.opacity="0.4";R.style.padding="6px";R.style.margin="0px";W.appendChild(R);l.statusContainer.style.position=\r\n"";l.statusContainer.style.display="none";l.statusContainer.style.margin="0px";l.statusContainer.style.padding="6px 0px";l.statusContainer.style.maxWidth=Math.min(c-240,280)+"px";l.statusContainer.style.display="inline-block";l.statusContainer.style.textOverflow="ellipsis";l.buttonContainer.style.position="";l.buttonContainer.style.paddingRight="0px";l.buttonContainer.style.display="inline-block";var Y=document.createElement("a");Y.style.padding="0px";Y.style.boxShadow="none";Y.className="geMenuItem";\r\nY.style.display="inline-block";Y.style.width="40px";Y.style.height="12px";Y.style.marginBottom="-2px";Y.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")";Y.style.backgroundPosition="top center";Y.style.backgroundRepeat="no-repeat";Y.setAttribute("title","Minimize");var ga=!1,ba=mxUtils.bind(this,function(){P.innerHTML="";if(!ga){var a=function(a,c,d){a=e("",a.funct,null,c,a,d);a.style.width="40px";return b(a,null,"pointer")},b=function(a,b,c){null!=b&&a.setAttribute("title",b);a.style.cursor=\r\nnull!=c?c:"default";a.style.margin="2px 0px";P.appendChild(a);mxUtils.br(P);return a};b(l.sidebar.createVertexTemplate("text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;",40,20,"Text",mxResources.get("text"),!0,!0,null,!0),mxResources.get("text")+" ("+Editor.ctrlKey+"+Shift+X)");b(l.sidebar.createVertexTemplate("shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;fontColor=#000000;darkOpacity=0.05;fillColor=#FFF9B2;strokeColor=none;fillStyle=solid;direction=west;gradientDirection=north;gradientColor=#FFF2A1;shadow=1;size=20;fontSize=24;pointerEvents=1;"+\r\n("0"!=urlParams.rough?"sketch=1;jiggle=2;":""),140,160,"",mxResources.get("note"),!0,!0,null,!0),mxResources.get("note"));b(l.sidebar.createVertexTemplate("rounded=0;whiteSpace=wrap;html=1;",160,80,"",mxResources.get("rectangle"),!0,!0,null,!0),mxResources.get("rectangle")+" ("+Editor.ctrlKey+"+K)");b(l.sidebar.createVertexTemplate("ellipse;whiteSpace=wrap;html=1;",160,100,"",mxResources.get("ellipse"),!0,!0,null,!0),mxResources.get("ellipse"));(function(){var a=new mxCell("",new mxGeometry(0,0,n.defaultEdgeLength,\r\n0),"edgeStyle=none;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;sourcePerimeterSpacing=8;targetPerimeterSpacing=8;fontSize=16;"+("0"!=urlParams.rough?"sketch=1;":""));a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(a.geometry.width,0),!1);a.geometry.points=[];a.geometry.relative=!0;a.edge=!0;b(l.sidebar.createEdgeTemplateFromCells([a],a.geometry.width,a.geometry.height,mxResources.get("line"),!1,null,!0),mxResources.get("line"));\r\na=a.clone();a.style+="shape=flexArrow;rounded=1;startSize=8;endSize=8;";a.geometry.width=n.defaultEdgeLength+20;a.geometry.setTerminalPoint(new mxPoint(0,20),!0);a.geometry.setTerminalPoint(new mxPoint(a.geometry.width,20),!1);a=b(l.sidebar.createEdgeTemplateFromCells([a],a.geometry.width,40,mxResources.get("arrow"),!1,null,!0),mxResources.get("arrow"));a.style.borderBottom="1px solid lightgray";a.style.paddingBottom="14px";a.style.marginBottom="14px"})();a(l.actions.get("insertFreehand"),mxResources.get("freehand"),\r\n"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PHJlY3QgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyNCIgd2lkdGg9IjI0Ii8+PHBhdGggZD0iTTQuNSw4YzEuMDQsMCwyLjM0LTEuNSw0LjI1LTEuNWMxLjUyLDAsMi43NSwxLjIzLDIuNzUsMi43NWMwLDIuMDQtMS45OSwzLjE1LTMuOTEsNC4yMkM1LjQyLDE0LjY3LDQsMTUuNTcsNCwxNyBjMCwxLjEsMC45LDIsMiwydjJjLTIuMjEsMC00LTEuNzktNC00YzAtMi43MSwyLjU2LTQuMTQsNC42Mi01LjI4YzEuNDItMC43OSwyLjg4LTEuNiwyLjg4LTIuNDdjMC0wLjQxLTAuMzQtMC43NS0wLjc1LTAuNzUgQzcuNSw4LjUsNi4yNSwxMCw0LjUsMTBDMy4xMiwxMCwyLDguODgsMiw3LjVDMiw1LjQ1LDQuMTcsMi44Myw1LDJsMS40MSwxLjQxQzUuNDEsNC40Miw0LDYuNDMsNCw3LjVDNCw3Ljc4LDQuMjIsOCw0LjUsOHogTTgsMjEgbDMuNzUsMGw4LjA2LTguMDZsLTMuNzUtMy43NUw4LDE3LjI1TDgsMjF6IE0xMCwxOC4wOGw2LjA2LTYuMDZsMC45MiwwLjkyTDEwLjkyLDE5TDEwLDE5TDEwLDE4LjA4eiBNMjAuMzcsNi4yOSBjLTAuMzktMC4zOS0xLjAyLTAuMzktMS40MSwwbC0xLjgzLDEuODNsMy43NSwzLjc1bDEuODMtMS44M2MwLjM5LTAuMzksMC4zOS0xLjAyLDAtMS40MUwyMC4zNyw2LjI5eiIvPjwvc3ZnPg==");\r\nvar c=l.actions.get("toggleShapes");a(c,mxResources.get("shapes")+" ("+c.shortcut+")",V);a(l.actions.get("insertTemplate"),mxResources.get("template"),"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTEzIDExaC0ydjNIOHYyaDN2M2gydi0zaDN2LTJoLTN6bTEtOUg2Yy0xLjEgMC0yIC45LTIgMnYxNmMwIDEuMS44OSAyIDEuOTkgMkgxOGMxLjEgMCAyLS45IDItMlY4bC02LTZ6bTQgMThINlY0aDd2NWg1djExeiIvPjwvc3ZnPg==")}P.appendChild(Y)});\r\nmxEvent.addListener(Y,"click",mxUtils.bind(this,function(){ga?(mxUtils.setPrefixedStyle(P.style,"transform","translate(0, -50%)"),P.style.padding="8px 6px 4px",P.style.top="50%",P.style.bottom="",P.style.height="",Y.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",Y.style.width="40px",Y.style.height="12px",Y.setAttribute("title","Minimize"),ga=!1,ba()):(P.innerHTML="",P.appendChild(Y),mxUtils.setPrefixedStyle(P.style,"transform","translate(0, 0)"),P.style.top="",P.style.bottom="12px",\r\nP.style.padding="0px",P.style.height="24px",Y.style.height="24px",Y.style.backgroundImage="url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgMTNoLTZ2NmgtMnYtNkg1di0yaDZWNWgydjZoNnYyeiIvPjwvc3ZnPg==)",Y.setAttribute("title",mxResources.get("insert")),Y.style.width="24px",ga=!0)}));ba();l.addListener("darkModeChanged",mxUtils.bind(this,function(){ba()}))}else l.editor.addListener("statusChanged",\r\nmxUtils.bind(this,function(){l.setStatusText(l.editor.getStatus())}));if(null!=L){var O=function(a){n.popupMenuHandler.hideMenu();mxEvent.isAltDown(a)?l.actions.get("customZoom").funct():l.actions.get("smartFit").funct()},Q=l.actions.get("zoomIn"),ma="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTUuNSAxNGgtLjc5bC0uMjgtLjI3QzE1LjQxIDEyLjU5IDE2IDExLjExIDE2IDkuNSAxNiA1LjkxIDEzLjA5IDMgOS41IDNTMyA1LjkxIDMgOS41IDUuOTEgMTYgOS41IDE2YzEuNjEgMCAzLjA5LS41OSA0LjIzLTEuNTdsLjI3LjI4di43OWw1IDQuOTlMMjAuNDkgMTlsLTQuOTktNXptLTYgMEM3LjAxIDE0IDUgMTEuOTkgNSA5LjVTNy4wMSA1IDkuNSA1IDE0IDcuMDEgMTQgOS41IDExLjk5IDE0IDkuNSAxNHptMi41LTRoLTJ2Mkg5di0ySDdWOWgyVjdoMXYyaDJ2MXoiLz48L3N2Zz4=",\r\nT=l.actions.get("zoomOut"),fa="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTUuNSAxNGgtLjc5bC0uMjgtLjI3QzE1LjQxIDEyLjU5IDE2IDExLjExIDE2IDkuNSAxNiA1LjkxIDEzLjA5IDMgOS41IDNTMyA1LjkxIDMgOS41IDUuOTEgMTYgOS41IDE2YzEuNjEgMCAzLjA5LS41OSA0LjIzLTEuNTdsLjI3LjI4di43OWw1IDQuOTlMMjAuNDkgMTlsLTQuOTktNXptLTYgMEM3LjAxIDE0IDUgMTEuOTkgNSA5LjVTNy4wMSA1IDkuNSA1IDE0IDcuMDEgMTQgOS41IDExLjk5IDE0IDkuNSAxNHpNNyA5aDV2MUg3eiIvPjwvc3ZnPg==",\r\nja=l.actions.get("resetView"),na=l.actions.get("fullscreen"),S=l.actions.get("toggleDarkMode"),aa="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMwMDAwMDAiPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjxwYXRoIGQ9Ik05LjM3LDUuNTFDOS4xOSw2LjE1LDkuMSw2LjgyLDkuMSw3LjVjMCw0LjA4LDMuMzIsNy40LDcuNCw3LjRjMC42OCwwLDEuMzUtMC4wOSwxLjk5LTAuMjdDMTcuNDUsMTcuMTksMTQuOTMsMTksMTIsMTkgYy0zLjg2LDAtNy0zLjE0LTctN0M1LDkuMDcsNi44MSw2LjU1LDkuMzcsNS41MXogTTEyLDNjLTQuOTcsMC05LDQuMDMtOSw5czQuMDMsOSw5LDlzOS00LjAzLDktOWMwLTAuNDYtMC4wNC0wLjkyLTAuMS0xLjM2IGMtMC45OCwxLjM3LTIuNTgsMi4yNi00LjQsMi4yNmMtMi45OCwwLTUuNC0yLjQyLTUuNC01LjRjMC0xLjgxLDAuODktMy40MiwyLjI2LTQuNEMxMi45MiwzLjA0LDEyLjQ2LDMsMTIsM0wxMiwzeiIvPjwvc3ZnPg==",\r\nca="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMwMDAwMDAiPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjxwYXRoIGQ9Ik0xMiw5YzEuNjUsMCwzLDEuMzUsMywzcy0xLjM1LDMtMywzcy0zLTEuMzUtMy0zUzEwLjM1LDksMTIsOSBNMTIsN2MtMi43NiwwLTUsMi4yNC01LDVzMi4yNCw1LDUsNXM1LTIuMjQsNS01IFMxNC43Niw3LDEyLDdMMTIsN3ogTTIsMTNsMiwwYzAuNTUsMCwxLTAuNDUsMS0xcy0wLjQ1LTEtMS0xbC0yLDBjLTAuNTUsMC0xLDAuNDUtMSwxUzEuNDUsMTMsMiwxM3ogTTIwLDEzbDIsMGMwLjU1LDAsMS0wLjQ1LDEtMSBzLTAuNDUtMS0xLTFsLTIsMGMtMC41NSwwLTEsMC40NS0xLDFTMTkuNDUsMTMsMjAsMTN6IE0xMSwydjJjMCwwLjU1LDAuNDUsMSwxLDFzMS0wLjQ1LDEtMVYyYzAtMC41NS0wLjQ1LTEtMS0xUzExLDEuNDUsMTEsMnogTTExLDIwdjJjMCwwLjU1LDAuNDUsMSwxLDFzMS0wLjQ1LDEtMXYtMmMwLTAuNTUtMC40NS0xLTEtMUMxMS40NSwxOSwxMSwxOS40NSwxMSwyMHogTTUuOTksNC41OGMtMC4zOS0wLjM5LTEuMDMtMC4zOS0xLjQxLDAgYy0wLjM5LDAuMzktMC4zOSwxLjAzLDAsMS40MWwxLjA2LDEuMDZjMC4zOSwwLjM5LDEuMDMsMC4zOSwxLjQxLDBzMC4zOS0xLjAzLDAtMS40MUw1Ljk5LDQuNTh6IE0xOC4zNiwxNi45NSBjLTAuMzktMC4zOS0xLjAzLTAuMzktMS40MSwwYy0wLjM5LDAuMzktMC4zOSwxLjAzLDAsMS40MWwxLjA2LDEuMDZjMC4zOSwwLjM5LDEuMDMsMC4zOSwxLjQxLDBjMC4zOS0wLjM5LDAuMzktMS4wMywwLTEuNDEgTDE4LjM2LDE2Ljk1eiBNMTkuNDIsNS45OWMwLjM5LTAuMzksMC4zOS0xLjAzLDAtMS40MWMtMC4zOS0wLjM5LTEuMDMtMC4zOS0xLjQxLDBsLTEuMDYsMS4wNmMtMC4zOSwwLjM5LTAuMzksMS4wMywwLDEuNDEgczEuMDMsMC4zOSwxLjQxLDBMMTkuNDIsNS45OXogTTcuMDUsMTguMzZjMC4zOS0wLjM5LDAuMzktMS4wMywwLTEuNDFjLTAuMzktMC4zOS0xLjAzLTAuMzktMS40MSwwbC0xLjA2LDEuMDYgYy0wLjM5LDAuMzktMC4zOSwxLjAzLDAsMS40MXMxLjAzLDAuMzksMS40MSwwTDcuMDUsMTguMzZ6Ii8+PC9zdmc+",\r\nda=l.actions.get("undo"),qa=l.actions.get("redo"),oa=e("",da.funct,null,mxResources.get("undo")+" ("+da.shortcut+")",da,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIuNSA4Yy0yLjY1IDAtNS4wNS45OS02LjkgMi42TDIgN3Y5aDlsLTMuNjItMy42MmMxLjM5LTEuMTYgMy4xNi0xLjg4IDUuMTItMS44OCAzLjU0IDAgNi41NSAyLjMxIDcuNiA1LjVsMi4zNy0uNzhDMjEuMDggMTEuMDMgMTcuMTUgOCAxMi41IDh6Ii8+PC9zdmc+"),ka=e("",qa.funct,null,mxResources.get("redo")+\r\n" ("+qa.shortcut+")",qa,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTguNCAxMC42QzE2LjU1IDguOTkgMTQuMTUgOCAxMS41IDhjLTQuNjUgMC04LjU4IDMuMDMtOS45NiA3LjIyTDMuOSAxNmMxLjA1LTMuMTkgNC4wNS01LjUgNy42LTUuNSAxLjk1IDAgMy43My43MiA1LjEyIDEuODhMMTMgMTZoOVY3bC0zLjYgMy42eiIvPjwvc3ZnPg=="),pa=e("",O,!0,mxResources.get("fit")+" ("+Editor.ctrlKey+"+H)",ja,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMwMDAwMDAiPjxnPjxwYXRoIGQ9Ik0wLDBoMjR2MjRIMFYweiIgZmlsbD0ibm9uZSIvPjwvZz48Zz48cGF0aCBkPSJNNiwxNmgxMlY4SDZWMTZ6IE04LDEwaDh2NEg4VjEweiBNNCwxNUgydjNjMCwxLjEsMC45LDIsMiwyaDN2LTJINFYxNXogTTQsNmgzVjRINEMyLjksNCwyLDQuOSwyLDZ2M2gyVjZ6IE0yMCw0aC0zdjJoM3YzIGgyVjZDMjIsNC45LDIxLjEsNCwyMCw0eiBNMjAsMThoLTN2MmgzYzEuMSwwLDItMC45LDItMnYtM2gtMlYxOHoiLz48L2c+PC9zdmc+"),\r\nja=e("",na.funct,null,mxResources.get("fullscreen"),na,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMyA1djRoMlY1aDRWM0g1Yy0xLjEgMC0yIC45LTIgMnptMiAxMEgzdjRjMCAxLjEuOSAyIDIgMmg0di0ySDV2LTR6bTE0IDRoLTR2Mmg0YzEuMSAwIDItLjkgMi0ydi00aC0ydjR6bTAtMTZoLTR2Mmg0djRoMlY1YzAtMS4xLS45LTItMi0yeiIvPjwvc3ZnPg=="),ia="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNiAxOWMwIDEuMS45IDIgMiAyaDhjMS4xIDAgMi0uOSAyLTJWN0g2djEyek0xOSA0aC0zLjVsLTEtMWgtNWwtMSAxSDV2MmgxNFY0eiIvPjwvc3ZnPg==";\r\nif(null!=U){var ra=l.actions.get("delete"),wa=e("",ra.funct,null,mxResources.get("delete"),ra,ia);wa.style.opacity="0.1";W.appendChild(wa);ra.addListener("stateChanged",function(){wa.style.opacity=ra.enabled?"0.4":"0.1"});L=function(){oa.style.display=0<l.editor.undoManager.history.length||n.isEditing()?"inline-block":"none";ka.style.display=oa.style.display;oa.style.opacity=da.enabled?"0.4":"0.1";ka.style.opacity=qa.enabled?"0.4":"0.1"};W.appendChild(oa);W.appendChild(ka);da.addListener("stateChanged",\r\nL);qa.addListener("stateChanged",L);L();L=l.actions.get("outline");L=e("",L.funct,null,mxResources.get("outline"),L,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjxwYXRoIGQ9Ik0yMC41IDNsLS4xNi4wM0wxNSA1LjEgOSAzIDMuMzYgNC45Yy0uMjEuMDctLjM2LjI1LS4zNi40OFYyMC41YzAgLjI4LjIyLjUuNS41bC4xNi0uMDNMOSAxOC45bDYgMi4xIDUuNjQtMS45Yy4yMS0uMDcuMzYtLjI1LjM2LS40OFYzLjVjMC0uMjgtLjIyLS41LS41LS41ek0xNSAxOWwtNi0yLjExVjVsNiAyLjExVjE5eiIvPjwvc3ZnPg==");\r\nL.style.opacity="0.4";U.appendChild(L);L=e("",T.funct,!0,mxResources.get("zoomOut")+" ("+Editor.ctrlKey+" -/Alt+Mousewheel)",T,fa);L.style.opacity="0.4";U.appendChild(L);var R=document.createElement("div");R.innerHTML="100%";R.setAttribute("title",mxResources.get("fitWindow")+"/"+mxResources.get("resetView")+" (Enter)");R.style.display="inline-block";R.style.cursor="pointer";R.style.textAlign="center";R.style.whiteSpace="nowrap";R.style.paddingRight="10px";R.style.textDecoration="none";R.style.verticalAlign=\r\n"top";R.style.padding="6px 0";R.style.fontSize="14px";R.style.width="40px";R.style.opacity="0.4";U.appendChild(R);mxEvent.addListener(R,"click",O);O=e("",Q.funct,!0,mxResources.get("zoomIn")+" ("+Editor.ctrlKey+" +/Alt+Mousewheel)",Q,ma);O.style.opacity="0.4";U.appendChild(O);var ta=e("",S.funct,null,mxResources.get("dark"),S,Editor.isDarkMode()?ca:aa);ta.style.opacity="0.4";U.appendChild(ta);l.addListener("darkModeChanged",mxUtils.bind(this,function(){ta.style.backgroundImage="url("+(Editor.isDarkMode()?\r\nca:aa)+")"}));na.visible&&(ja.style.opacity="0.4",U.appendChild(ja));var la=this.createPageMenuTab(!1);la.style.display="none";la.style.position="";la.style.marginLeft="";la.style.top="";la.style.left="";la.style.height="100%";la.style.lineHeight="";la.style.borderStyle="none";la.style.padding="3px 0";la.style.margin="0px";la.style.background="";la.style.border="";la.style.boxShadow="none";la.style.verticalAlign="top";la.firstChild.style.height="100%";la.firstChild.style.opacity="0.6";la.firstChild.style.margin=\r\n"0px";U.appendChild(la);l.addListener("fileDescriptorChanged",function(){la.style.display="1"==urlParams.pages||null!=l.pages&&1<l.pages.length?"inline-block":"none"});l.tabContainer.style.visibility="hidden";p.style.cssText="position:absolute;right:12px;top:10px;height:30px;z-index:1;border-radius:4px;box-shadow:0px 0px 3px 1px #d1d1d1;padding:6px 0px 6px 6px;border-bottom:1px solid lightgray;text-align:right;white-space:nowrap;overflow:hidden;user-select:none;";W.style.cssText="position:absolute;left:10px;top:10px;height:30px;z-index:1;border-radius:4px;box-shadow:0px 0px 3px 1px #d1d1d1;padding:6px;border-bottom:1px solid lightgray;text-align:right;white-space:nowrap;overflow:hidden;user-select:none;";\r\nU.style.cssText="position:absolute;right:12px;bottom:12px;height:28px;z-index:1;border-radius:4px;box-shadow:0px 0px 3px 1px #d1d1d1;padding:8px;white-space:nowrap;user-select:none;";z.appendChild(W);z.appendChild(U);P.style.cssText="position:absolute;left:10px;z-index:1;border-radius:4px;box-shadow:0px 0px 3px 1px #d1d1d1;padding:8px 6px 4px 6px;white-space:nowrap;transform:translate(0, -50%);top:50%;user-select:none;";z.appendChild(P);window.setTimeout(function(){mxUtils.setPrefixedStyle(P.style,\r\n"transition","transform .3s ease-out")},0);"1"==urlParams["format-toolbar"]&&this.installFormatToolbar(z)}else p.style.cssText="position:absolute;left:0px;right:0px;top:0px;height:30px;padding:8px;text-align:left;white-space:nowrap;",this.tabContainer.style.right="70px",R=t.addMenu("100%",L.funct),R.setAttribute("title",mxResources.get("zoom")+" (Alt+Mousewheel)"),R.style.whiteSpace="nowrap",R.style.paddingRight="10px",R.style.textDecoration="none",R.style.textDecoration="none",R.style.overflow="hidden",\r\nR.style.visibility="hidden",R.style.textAlign="center",R.style.cursor="pointer",R.style.height=parseInt(l.tabContainerHeight)-1+"px",R.style.lineHeight=parseInt(l.tabContainerHeight)+1+"px",R.style.position="absolute",R.style.display="block",R.style.fontSize="12px",R.style.width="59px",R.style.right="0px",R.style.bottom="0px",R.style.backgroundImage="url("+mxWindow.prototype.minimizeImage+")",R.style.backgroundPosition="right 6px center",R.style.backgroundRepeat="no-repeat",z.appendChild(R);na=mxUtils.bind(this,\r\nfunction(){R.innerHTML=Math.round(100*l.editor.graph.view.scale)+"%"});l.editor.graph.view.addListener(mxEvent.EVENT_SCALE,na);l.editor.addListener("resetGraphView",na);l.editor.addListener("pageSelected",na);var ua=l.setGraphEnabled;l.setGraphEnabled=function(){ua.apply(this,arguments);null!=this.tabContainer&&(R.style.visibility=this.tabContainer.style.visibility,this.diagramContainer.style.bottom="hidden"!=this.tabContainer.style.visibility&&null==U?this.tabContainerHeight+"px":"0px")}}z.appendChild(p);\r\nz.appendChild(l.diagramContainer);k.appendChild(z);l.updateTabContainer();null==U&&z.appendChild(l.tabContainer);var va=null;g();mxEvent.addListener(window,"resize",function(){g();null!=l.sidebarWindow&&l.sidebarWindow.window.fit();null!=l.formatWindow&&l.formatWindow.window.fit();null!=l.actions.outlineWindow&&l.actions.outlineWindow.window.fit();null!=l.actions.layersWindow&&l.actions.layersWindow.window.fit();null!=l.menus.tagsWindow&&l.menus.tagsWindow.window.fit();null!=l.menus.findWindow&&l.menus.findWindow.window.fit();\r\nnull!=l.menus.findReplaceWindow&&l.menus.findReplaceWindow.window.fit()})}}};(function(){var a=!1;"min"!=uiTheme||a||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),a=!0);var d=EditorUi.initTheme;EditorUi.initTheme=function(){d.apply(this,arguments);"min"!=uiTheme||a||(this.initMinimalTheme(),a=!0)}})();(function(){var a=mxGuide.prototype.move;mxGuide.prototype.move=function(b,c,d,m){var e=c.y,f=c.x,g=!1,n=!1;if(null!=this.states&&null!=b&&null!=c){var p=this,q=new mxCellState,u=this.graph.getView().scale,t=Math.max(2,this.getGuideTolerance()/2);q.x=b.x+f;q.y=b.y+e;q.width=b.width;q.height=b.height;for(var v=[],z=[],y=0;y<this.states.length;y++){var x=this.states[y];x instanceof mxCellState&&(m||!this.graph.isCellSelected(x.cell))&&((q.x>=x.x&&q.x<=x.x+x.width||x.x>=q.x&&x.x<=q.x+q.width)&&(q.y>\r\nx.y+x.height+4||q.y+q.height+4<x.y)?v.push(x):(q.y>=x.y&&q.y<=x.y+x.height||x.y>=q.y&&x.y<=q.y+q.height)&&(q.x>x.x+x.width+4||q.x+q.width+4<x.x)&&z.push(x))}var A=0,B=0,E=x=0,F=0,D=0,C=0,G=0,K=5*u;if(1<v.length){v.push(q);v.sort(function(a,b){return a.y-b.y});var M=!1,y=q==v[0],u=q==v[v.length-1];if(!y&&!u)for(y=1;y<v.length-1;y++)if(q==v[y]){u=v[y-1];y=v[y+1];x=B=E=(y.y-u.y-u.height-q.height)/2;break}for(y=0;y<v.length-1;y++){var u=v[y],J=v[y+1],I=q==u||q==J,J=J.y-u.y-u.height,M=M|q==u;if(0==B&&\r\n0==A)B=J,A=1;else if(Math.abs(B-J)<=(I||1==y&&M?t:0))A+=1;else if(1<A&&M){v=v.slice(0,y+1);break}else if(3<=v.length-y&&!M)A=0,x=B=0!=E?E:0,v.splice(0,0==y?1:y),y=-1;else break;0!=x||I||(B=x=J)}3==v.length&&v[1]==q&&(x=0)}if(1<z.length){z.push(q);z.sort(function(a,b){return a.x-b.x});M=!1;y=q==z[0];u=q==z[z.length-1];if(!y&&!u)for(y=1;y<z.length-1;y++)if(q==z[y]){u=z[y-1];y=z[y+1];C=D=G=(y.x-u.x-u.width-q.width)/2;break}for(y=0;y<z.length-1;y++){u=z[y];J=z[y+1];I=q==u||q==J;J=J.x-u.x-u.width;M|=q==\r\nu;if(0==D&&0==F)D=J,F=1;else if(Math.abs(D-J)<=(I||1==y&&M?t:0))F+=1;else if(1<F&&M){z=z.slice(0,y+1);break}else if(3<=z.length-y&&!M)F=0,C=D=0!=G?G:0,z.splice(0,0==y?1:y),y=-1;else break;0!=C||I||(D=C=J)}3==z.length&&z[1]==q&&(C=0)}t=function(a,b,c,d){var e=[],f;d?(d=K,f=0):(d=0,f=K);e.push(new mxPoint(a.x-d,a.y-f));e.push(new mxPoint(a.x+d,a.y+f));e.push(a);e.push(b);e.push(new mxPoint(b.x-d,b.y-f));e.push(new mxPoint(b.x+d,b.y+f));if(null!=c)return c.points=e,c;a=new mxPolyline(e,mxConstants.GUIDE_COLOR,\r\nmxConstants.GUIDE_STROKEWIDTH);a.dialect=mxConstants.DIALECT_SVG;a.pointerEvents=!1;a.init(p.graph.getView().getOverlayPane());return a};D=function(a,b){if(a&&null!=p.guidesArrHor)for(var c=0;c<p.guidesArrHor.length;c++)p.guidesArrHor[c].node.style.visibility="hidden";if(b&&null!=p.guidesArrVer)for(c=0;c<p.guidesArrVer.length;c++)p.guidesArrVer[c].node.style.visibility="hidden"};if(1<F&&F==z.length-1){F=[];G=p.guidesArrHor;g=[];f=0;y=z[0]==q?1:0;M=z[y].y+z[y].height;if(0<C)for(y=0;y<z.length-1;y++)u=\r\nz[y],J=z[y+1],q==u?(f=J.x-u.width-C,g.push(new mxPoint(f+u.width+K,M)),g.push(new mxPoint(J.x-K,M))):q==J?(g.push(new mxPoint(u.x+u.width+K,M)),f=u.x+u.width+C,g.push(new mxPoint(f-K,M))):(g.push(new mxPoint(u.x+u.width+K,M)),g.push(new mxPoint(J.x-K,M)));else u=z[0],y=z[2],f=u.x+u.width+(y.x-u.x-u.width-q.width)/2,g.push(new mxPoint(u.x+u.width+K,M)),g.push(new mxPoint(f-K,M)),g.push(new mxPoint(f+q.width+K,M)),g.push(new mxPoint(y.x-K,M));for(y=0;y<g.length;y+=2)z=g[y],C=g[y+1],z=t(z,C,null!=G?\r\nG[y/2]:null),z.node.style.visibility="visible",z.redraw(),F.push(z);for(y=g.length/2;null!=G&&y<G.length;y++)G[y].destroy();p.guidesArrHor=F;f-=b.x;g=!0}else D(!0);if(1<A&&A==v.length-1){F=[];G=p.guidesArrVer;n=[];e=0;y=v[0]==q?1:0;A=v[y].x+v[y].width;if(0<x)for(y=0;y<v.length-1;y++)u=v[y],J=v[y+1],q==u?(e=J.y-u.height-x,n.push(new mxPoint(A,e+u.height+K)),n.push(new mxPoint(A,J.y-K))):q==J?(n.push(new mxPoint(A,u.y+u.height+K)),e=u.y+u.height+x,n.push(new mxPoint(A,e-K))):(n.push(new mxPoint(A,u.y+\r\nu.height+K)),n.push(new mxPoint(A,J.y-K)));else u=v[0],y=v[2],e=u.y+u.height+(y.y-u.y-u.height-q.height)/2,n.push(new mxPoint(A,u.y+u.height+K)),n.push(new mxPoint(A,e-K)),n.push(new mxPoint(A,e+q.height+K)),n.push(new mxPoint(A,y.y-K));for(y=0;y<n.length;y+=2)z=n[y],C=n[y+1],z=t(z,C,null!=G?G[y/2]:null,!0),z.node.style.visibility="visible",z.redraw(),F.push(z);for(y=n.length/2;null!=G&&y<G.length;y++)G[y].destroy();p.guidesArrVer=F;e-=b.y;n=!0}else D(!1,!0)}if(g||n)return q=new mxPoint(f,e),v=a.call(this,\r\nb,q,d,m),g&&!n?q.y=v.y:n&&!g&&(q.x=v.x),v.y!=q.y&&null!=this.guideY&&null!=this.guideY.node&&(this.guideY.node.style.visibility="hidden"),v.x!=q.x&&null!=this.guideX&&null!=this.guideX.node&&(this.guideX.node.style.visibility="hidden"),q;D(!0,!0);return a.apply(this,arguments)};var d=mxGuide.prototype.setVisible;mxGuide.prototype.setVisible=function(a){d.call(this,a);var b=this.guidesArrVer,c=this.guidesArrHor;if(null!=b)for(var m=0;m<b.length;m++)b[m].node.style.visibility=a?"visible":"hidden";if(null!=\r\nc)for(m=0;m<c.length;m++)c[m].node.style.visibility=a?"visible":"hidden"};var c=mxGuide.prototype.destroy;mxGuide.prototype.destroy=function(){c.call(this);var a=this.guidesArrVer,d=this.guidesArrHor;if(null!=a){for(var f=0;f<a.length;f++)a[f].destroy();this.guidesArrVer=null}if(null!=d){for(f=0;f<d.length;f++)d[f].destroy();this.guidesArrHor=null}}})();function mxRuler(a,d,c,b){function g(){var b=a.diagramContainer;p.style.top=b.offsetTop-k+"px";p.style.left=b.offsetLeft-k+"px";p.style.width=(c?0:b.offsetWidth)+k+"px";p.style.height=(c?b.offsetHeight:0)+k+"px"}function f(a,b,c){if(null!=m)return a;var d;return function(){var e=this,f=arguments,g=c&&!d;clearTimeout(d);d=setTimeout(function(){d=null;c||a.apply(e,f)},b);g&&a.apply(e,f)}}var m=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,\r\ne=window.cancelAnimationFrame||window.mozCancelAnimationFrame,k=this.RULER_THICKNESS,l=this;this.unit=d;var n=Editor.isDarkMode()?{bkgClr:"#202020",outBkgClr:"#2a2a2a",cornerClr:"#2a2a2a",strokeClr:"#505759",fontClr:"#BBBBBB",guideClr:"#0088cf"}:{bkgClr:"#ffffff",outBkgClr:"#e8e9ed",cornerClr:"#fbfbfb",strokeClr:"#dadce0",fontClr:"#BBBBBB",guideClr:"#0000BB"},p=document.createElement("div");p.style.position="absolute";this.updateStyle=mxUtils.bind(this,function(){n=Editor.isDarkMode()?{bkgClr:"#202020",\r\noutBkgClr:"#2a2a2a",cornerClr:"#2a2a2a",strokeClr:"#505759",fontClr:"#BBBBBB",guideClr:"#0088cf"}:{bkgClr:"#ffffff",outBkgClr:"#e8e9ed",cornerClr:"#fbfbfb",strokeClr:"#dadce0",fontClr:"#BBBBBB",guideClr:"#0000BB"};p.style.background=n.bkgClr;p.style[c?"borderRight":"borderBottom"]="0.5px solid "+n.strokeClr;p.style.borderLeft="0.5px solid "+n.strokeClr});this.updateStyle();document.body.appendChild(p);mxEvent.disableContextMenu(p);this.editorUiRefresh=a.refresh;a.refresh=function(b){l.editorUiRefresh.apply(a,\r\narguments);g()};g();var q=document.createElement("canvas");q.width=p.offsetWidth;q.height=p.offsetHeight;p.style.overflow="hidden";q.style.position="relative";p.appendChild(q);var u=q.getContext("2d");this.ui=a;var t=a.editor.graph;this.graph=t;this.container=p;this.canvas=q;var v=function(a,b,d,e,f){a=Math.round(a);b=Math.round(b);d=Math.round(d);e=Math.round(e);u.beginPath();u.moveTo(a+.5,b+.5);u.lineTo(d+.5,e+.5);u.stroke();f&&(c?(u.save(),u.translate(a,b),u.rotate(-Math.PI/2),u.fillText(f,0,0),\r\nu.restore()):u.fillText(f,a,b))},z=function(){u.clearRect(0,0,q.width,q.height);u.beginPath();u.lineWidth=.7;u.strokeStyle=n.strokeClr;u.setLineDash([]);u.font="9px Arial";u.textAlign="center";var a=t.view.scale,b=t.view.getBackgroundPageBounds(),d=t.view.translate,e=t.pageVisible,d=e?k+(c?b.y-t.container.scrollTop:b.x-t.container.scrollLeft):k+(c?d.y*a-t.container.scrollTop:d.x*a-t.container.scrollLeft),f=0;e&&(f=t.getPageLayout(),f=c?f.y*t.pageFormat.height:f.x*t.pageFormat.width);var g,m,p;switch(l.unit){case mxConstants.POINTS:g=\r\np=10;m=[3,5,5,5,5,10,5,5,5,5];break;case mxConstants.MILLIMETERS:p=10;g=mxConstants.PIXELS_PER_MM;m=[5,3,3,3,3,6,3,3,3,3];break;case mxConstants.INCHES:p=.5>=a||4<=a?8:16,g=mxConstants.PIXELS_PER_INCH/p,m=[5,3,5,3,7,3,5,3,7,3,5,3,7,3,5,3]}var x=g;2<=a?x=g/(2*Math.floor(a/2)):.5>=a&&(x=g*Math.floor(1/a/2)*(l.unit==mxConstants.MILLIMETERS?2:1));g=null;b=e?Math.min(d+(c?b.height:b.width),c?q.height:q.width):c?q.height:q.width;if(e)if(u.fillStyle=n.outBkgClr,c){var y=d-k;0<y&&u.fillRect(0,k,k,y);b<q.height&&\r\nu.fillRect(0,b,k,q.height)}else y=d-k,0<y&&u.fillRect(k,0,y,k),b<q.width&&u.fillRect(b,0,q.width,k);u.fillStyle=n.fontClr;for(e=e?d:d%(x*a);e<=b;e+=x*a)if(y=Math.round((e-d)/a/x),!(e<k||y==g)){g=y;var z=null;0==y%p&&(z=l.formatText(f+y*x)+"");c?v(k-m[Math.abs(y)%p],e,k,e,z):v(e,k-m[Math.abs(y)%p],e,k,z)}u.lineWidth=1;v(c?0:k,c?k:0,k,k);u.fillStyle=n.cornerClr;u.fillRect(0,0,k,k)},y=-1,x=function(){null!=m?(null!=e&&e(y),y=m(z)):z()};this.drawRuler=x;this.sizeListener=d=f(function(){var a=t.container;\r\nc?(a=a.offsetHeight+k,q.height!=a&&(q.height=a,p.style.height=a+"px",x())):(a=a.offsetWidth+k,q.width!=a&&(q.width=a,p.style.width=a+"px",x()))},10);this.pageListener=function(){x()};this.scrollListener=b=f(function(){var a=c?t.container.scrollTop:t.container.scrollLeft;l.lastScroll!=a&&(l.lastScroll=a,x())},10);this.unitListener=function(a,b){l.setUnit(b.getProperty("unit"))};t.addListener(mxEvent.SIZE,d);t.container.addEventListener("scroll",b);t.view.addListener("unitChanged",this.unitListener);\r\na.addListener("pageViewChanged",this.pageListener);a.addListener("pageScaleChanged",this.pageListener);a.addListener("pageFormatChanged",this.pageListener);this.setStyle=function(a){n=a;p.style.background=n.bkgClr;z()};this.origGuideMove=mxGuide.prototype.move;mxGuide.prototype.move=function(a,b,d,e){var f;if(c&&4<a.height||!c&&4<a.width){if(null!=l.guidePart)try{u.putImageData(l.guidePart.imgData1,l.guidePart.x1,l.guidePart.y1),u.putImageData(l.guidePart.imgData2,l.guidePart.x2,l.guidePart.y2),u.putImageData(l.guidePart.imgData3,\r\nl.guidePart.x3,l.guidePart.y3)}catch(V){}f=l.origGuideMove.apply(this,arguments);try{var g,m,p,q,t,y,x,z,A;u.lineWidth=.5;u.strokeStyle=n.guideClr;u.setLineDash([2]);c?(m=a.y+f.y+k-this.graph.container.scrollTop,g=0,t=m+a.height/2,q=k/2,z=m+a.height,x=0,p=u.getImageData(g,m-1,k,3),v(g,m,k,m),m--,y=u.getImageData(q,t-1,k,3),v(q,t,k,t),t--,A=u.getImageData(x,z-1,k,3),v(x,z,k,z),z--):(m=0,g=a.x+f.x+k-this.graph.container.scrollLeft,t=k/2,q=g+a.width/2,z=0,x=g+a.width,p=u.getImageData(g-1,m,3,k),v(g,\r\nm,g,k),g--,y=u.getImageData(q-1,t,3,k),v(q,t,q,k),q--,A=u.getImageData(x-1,z,3,k),v(x,z,x,k),x--);if(null==l.guidePart||l.guidePart.x1!=g||l.guidePart.y1!=m)l.guidePart={imgData1:p,x1:g,y1:m,imgData2:y,x2:q,y2:t,imgData3:A,x3:x,y3:z}}catch(V){}}else f=l.origGuideMove.apply(this,arguments);return f};this.origGuideDestroy=mxGuide.prototype.destroy;mxGuide.prototype.destroy=function(){var a=l.origGuideDestroy.apply(this,arguments);if(null!=l.guidePart)try{u.putImageData(l.guidePart.imgData1,l.guidePart.x1,\r\nl.guidePart.y1),u.putImageData(l.guidePart.imgData2,l.guidePart.x2,l.guidePart.y2),u.putImageData(l.guidePart.imgData3,l.guidePart.x3,l.guidePart.y3),l.guidePart=null}catch(B){}return a}}mxRuler.prototype.RULER_THICKNESS=14;mxRuler.prototype.unit=mxConstants.POINTS;mxRuler.prototype.setUnit=function(a){this.unit=a;this.drawRuler()};\r\nmxRuler.prototype.formatText=function(a){switch(this.unit){case mxConstants.POINTS:return Math.round(a);case mxConstants.MILLIMETERS:return(a/mxConstants.PIXELS_PER_MM).toFixed(1);case mxConstants.INCHES:return(a/mxConstants.PIXELS_PER_INCH).toFixed(2)}};\r\nmxRuler.prototype.destroy=function(){this.ui.refresh=this.editorUiRefresh;mxGuide.prototype.move=this.origGuideMove;mxGuide.prototype.destroy=this.origGuideDestroy;this.graph.removeListener(this.sizeListener);this.graph.container.removeEventListener("scroll",this.scrollListener);this.graph.view.removeListener("unitChanged",this.unitListener);this.ui.removeListener("pageViewChanged",this.pageListener);this.ui.removeListener("pageScaleChanged",this.pageListener);this.ui.removeListener("pageFormatChanged",\r\nthis.pageListener);null!=this.container&&this.container.parentNode.removeChild(this.container)};\r\nfunction mxDualRuler(a,d){var c=new mxPoint(mxRuler.prototype.RULER_THICKNESS,mxRuler.prototype.RULER_THICKNESS);this.editorUiGetDiagContOffset=a.getDiagramContainerOffset;a.getDiagramContainerOffset=function(){return c};this.editorUiRefresh=a.refresh;this.ui=a;this.origGuideMove=mxGuide.prototype.move;this.origGuideDestroy=mxGuide.prototype.destroy;this.vRuler=new mxRuler(a,d,!0);this.hRuler=new mxRuler(a,d,!1,!0);var b=mxUtils.bind(this,function(b){var c=!1;mxEvent.addGestureListeners(b,mxUtils.bind(this,\r\nfunction(b){c=null!=a.currentMenu;mxEvent.consume(b)}),null,mxUtils.bind(this,function(d){if(a.editor.graph.isEnabled()&&!a.editor.graph.isMouseDown&&(mxEvent.isTouchEvent(d)||mxEvent.isPopupTrigger(d))){a.editor.graph.popupMenuHandler.hideMenu();a.hideCurrentMenu();if(!mxEvent.isTouchEvent(d)||!c){var e=new mxPopupMenu(mxUtils.bind(this,function(b,c){a.menus.addMenuItems(b,["points","millimeters"],c)}));e.div.className+=" geMenubarMenu";e.smartSeparators=!0;e.showDisabled=!0;e.autoExpand=!0;e.hideMenu=\r\nmxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(e,arguments);a.resetCurrentMenu();e.destroy()});var f=mxEvent.getClientX(d),g=mxEvent.getClientY(d);e.popup(f,g,null,d);a.setCurrentMenu(e,b)}mxEvent.consume(d)}}))});b(this.hRuler.container);b(this.vRuler.container);this.vRuler.drawRuler();this.hRuler.drawRuler()}mxDualRuler.prototype.updateStyle=function(){this.vRuler.updateStyle();this.hRuler.updateStyle();this.vRuler.drawRuler();this.hRuler.drawRuler()};\r\nmxDualRuler.prototype.setUnit=function(a){this.vRuler.setUnit(a);this.hRuler.setUnit(a)};mxDualRuler.prototype.setStyle=function(a){this.vRuler.setStyle(a);this.hRuler.setStyle(a)};mxDualRuler.prototype.destroy=function(){this.vRuler.destroy();this.hRuler.destroy();this.ui.refresh=this.editorUiRefresh;mxGuide.prototype.move=this.origGuideMove;mxGuide.prototype.destroy=this.origGuideDestroy;this.ui.getDiagramContainerOffset=this.editorUiGetDiagContOffset};function mxFreehand(a){var d=null!=a.view&&null!=a.view.canvas?a.view.canvas.ownerSVGElement:null;if(null!=a.container&&null!=d){a.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){this.stopDrawing()}));var c=mxFreehand.prototype.NORMAL_SMOOTHING,b=null,g=[],f,m=[],e,k=!1,l=!0,n=!0,p=!0,q=!0,u=[],t=!1,v=!0;this.setClosedPath=function(a){k=a};this.setAutoClose=function(a){l=a};this.setAutoInsert=function(a){n=a};this.setAutoScroll=function(a){p=a};this.setOpenFill=function(a){q=a};this.setStopClickEnabled=\r\nfunction(a){v=a};this.setSmoothing=function(a){c=a};var z=function(b){t=b;a.getRubberband().setEnabled(!b);a.graphHandler.setSelectEnabled(!b);a.graphHandler.setMoveEnabled(!b);a.container.style.cursor=b?"crosshair":"";a.fireEvent(new mxEventObject("freehandStateChanged"))};this.startDrawing=function(){z(!0)};this.isDrawing=function(){return t};var y=mxUtils.bind(this,function(a){if(b){var c=e.length,d=v&&0<m.length&&null!=e&&2>e.length;d||m.push.apply(m,e);e=[];m.push(null);g.push(b);b=null;(d||\r\nn)&&this.stopDrawing();n&&2<=c&&this.startDrawing();mxEvent.consume(a)}});this.createStyle=function(a){return mxConstants.STYLE_SHAPE+"="+a+";fillColor=none;"};this.stopDrawing=function(){if(0<g.length){for(var c=m[0].x,d=m[0].x,e=m[0].y,f=m[0].y,n=1;n<m.length;n++)null!=m[n]&&(c=Math.max(c,m[n].x),d=Math.min(d,m[n].x),e=Math.max(e,m[n].y),f=Math.min(f,m[n].y));c-=d;e-=f;if(0<c&&0<e){var p=100/c,t=100/e;m.map(function(a){if(null==a)return a;a.x=(a.x-d)*p;a.y=(a.y-f)*t;return a});for(var u=\'<shape strokewidth="inherit"><foreground>\',\r\nv=0,n=0;n<m.length;n++){var x=m[n];if(null==x){var x=!1,v=m[v],y=m[n-1];!k&&l&&(x=v.x-y.x,y=v.y-y.y,x=Math.sqrt(x*x+y*y)<=a.tolerance);if(k||x)u+=\'<line x="\'+v.x.toFixed(2)+\'" y="\'+v.y.toFixed(2)+\'"/>\';u+="</path>"+(q||k||x?"<fillstroke/>":"<stroke/>");v=n+1}else u=n==v?u+(\'<path><move x="\'+x.x.toFixed(2)+\'" y="\'+x.y.toFixed(2)+\'"/>\'):u+(\'<line x="\'+x.x.toFixed(2)+\'" y="\'+x.y.toFixed(2)+\'"/>\')}u+="</foreground></shape>";if(a.isEnabled()&&!a.isCellLocked(a.getDefaultParent())){n=this.createStyle("stencil("+\r\nGraph.compress(u)+")");u=a.view.scale;v=a.view.translate;c=new mxCell("",new mxGeometry(d/u-v.x,f/u-v.y,c/u,e/u),n);c.vertex=1;a.model.beginUpdate();try{c=a.addCell(c),a.fireEvent(new mxEventObject("cellsInserted","cells",[c])),a.fireEvent(new mxEventObject("freehandInserted","cell",c))}finally{a.model.endUpdate()}a.setSelectionCells([c])}}for(n=0;n<g.length;n++)g[n].parentNode.removeChild(g[n]);b=null;g=[];m=[]}z(!1)};a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,b){var c=b.getProperty("eventName"),\r\nd=b.getProperty("event");c==mxEvent.MOUSE_MOVE&&t&&(null!=d.sourceState&&d.sourceState.setCursor("crosshair"),d.consume())}));var x=new mxCell;x.edge=!0;a.addMouseListener({mouseDown:mxUtils.bind(this,function(c,g){if(a.isEnabled()&&!a.isCellLocked(a.getDefaultParent())){var k=g.getEvent();if(t&&!mxEvent.isPopupTrigger(k)&&!mxEvent.isMultiTouchEvent(k)){var l=a.getCurrentCellStyle(x),n=parseFloat(a.currentVertexStyle[mxConstants.STYLE_STROKEWIDTH]||1),n=Math.max(1,n*a.view.scale);b=document.createElementNS("http://www.w3.org/2000/svg",\r\n"path");b.setAttribute("fill","none");b.setAttribute("stroke",mxUtils.getValue(a.currentVertexStyle,mxConstants.STYLE_STROKECOLOR,mxUtils.getValue(l,mxConstants.STYLE_STROKECOLOR,"#000")));b.setAttribute("stroke-width",n);"1"==a.currentVertexStyle[mxConstants.STYLE_DASHED]&&(l=a.currentVertexStyle[mxConstants.STYLE_DASH_PATTERN]||"3 3",l=l.split(" ").map(function(a){return parseFloat(a)*n}).join(" "),b.setAttribute("stroke-dasharray",l));u=[];k=A(k);B(k);f="M"+k.x+" "+k.y;m.push(k);e=[];b.setAttribute("d",\r\nf);d.appendChild(b);g.consume()}}}),mouseMove:mxUtils.bind(this,function(c,d){if(b&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent())){var g=d.getEvent(),g=A(g);B(g);var k=E(0);if(k){f+=" L"+k.x+" "+k.y;m.push(k);var l="";e=[];for(var n=2;n<u.length;n+=2)k=E(n),l+=" L"+k.x+" "+k.y,e.push(k);b.setAttribute("d",f+l)}p&&(k=a.view.translate,a.scrollRectToVisible((new mxRectangle(g.x-k.x,g.y-k.y)).grow(20)));d.consume()}}),mouseUp:mxUtils.bind(this,function(c,d){b&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent())&&\r\n(y(d.getEvent()),d.consume())})});var A=function(b){return mxUtils.convertPoint(a.container,mxEvent.getClientX(b),mxEvent.getClientY(b))},B=function(a){for(u.push(a);u.length>c;)u.shift()},E=function(a){var b=u.length;if(1===b%2||b>=c){var d=0,e=0,f,g=0;for(f=a;f<b;f++)g++,a=u[f],d+=a.x,e+=a.y;return{x:d/g,y:e/g}}return null}}}mxFreehand.prototype.NO_SMOOTHING=1;mxFreehand.prototype.MILD_SMOOTHING=4;mxFreehand.prototype.NORMAL_SMOOTHING=8;mxFreehand.prototype.VERY_SMOOTH_SMOOTHING=12;\r\nmxFreehand.prototype.SUPER_SMOOTH_SMOOTHING=16;mxFreehand.prototype.HYPER_SMOOTH_SMOOTHING=20;\r\n'),this.addScriptToFrame('!function(){"use strict";\n/*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n\n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n\n THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** */function e(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function t(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function n(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var r,o;!function(e){e.Script="script",e.Stylesheet="stylesheet",e.Css="css",e.FrameConfig="frame-config",e.Load="load",e.ToggleBodyClass="toggle-body-class"}(r||(r={})),function(e){e.Change="change",e.Iframe="iframe",e.Init="init",e.Load="load",e.FocusIn="focusin",e.FocusOut="focusout"}(o||(o={}));var i=function(){function e(e,t){var n=this;this.awaitedMessages=new Set,this.targetFactory=e,this.listener=function(r){var o=e();if(r.source===o){var i=JSON.parse(r.data);t&&t(i),Array.from(n.awaitedMessages.values()).forEach((function(e){e.filter(i)&&(n.awaitedMessages.delete(e),e.callback(i))}))}},window.addEventListener("message",this.listener)}return e.prototype.validateTarget=function(e){if("object"!=typeof e||null===e)throw Error("Target window is not an object");if("function"!=typeof e.postMessage)throw Error("Target window does not have a postMessage function")},e.prototype.waitForMessage=function(e,t){var n=this;return new Promise((function(r,o){var i=setTimeout((function(){n.awaitedMessages.delete(a),o("Timeout waiting for message")}),t),a={filter:e,callback:function(e){n.awaitedMessages.delete(a),clearTimeout(i),r(e)}};n.awaitedMessages.add(a)}))},e.prototype.sendMessageAndWait=function(e,t,n){var r=this.targetFactory();this.validateTarget(r);var o=this.waitForMessage(t,n);return r.postMessage(JSON.stringify(e),"*"),o},e.prototype.sendMessage=function(e){var t=this.targetFactory();this.validateTarget(t),t.postMessage(JSON.stringify(e),"*")},e.prototype.destroy=function(){window.removeEventListener("message",this.listener)},e}();function a(e,t,n){var r=e[t];e[t]=n(r)}var s=function(){function n(e){this.cache=e||new Map}return n.prototype.getGoogleFontCssByName=function(n){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e="https://fonts.googleapis.com/css2?family="+n.replace(/ /g,"+"),[4,this.getFontCssForUrl(n,e)];case 1:return[2,t.sent()]}}))}))},n.prototype.getFontCssForUrl=function(n,r){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){return this.cache.has(r)?[2,this.cache.get(r)]:(e=this.getFontCssForUrlUncached(n,r),this.cache.set(r,e),[2,e])}))}))},n.prototype.getFontCssForUrlUncached=function(n,r){return e(this,void 0,void 0,(function(){var e,o,i,a,s,u,c,l,f,h,p,d,g,v,m,w,y,b,M;return t(this,(function(t){switch(t.label){case 0:return[4,fetch(r)];case 1:return e=t.sent(),o=e.headers.get("content-type"),/text\\/css/.test(o)?[4,e.text()]:[3,11];case 2:i=t.sent(),a=/@font-face\\s*\\{([^\\}]+)\\}/g,s=/(?:\\s*([a-z0-9-]+)\\s*\\:\\s*([^;]+)\\;)/g,u=/url\\([\'"]?([^\\)]+)[\'"]?\\)/,c=[],l=void 0,t.label=3;case 3:if(null===(l=a.exec(i)))return[3,10];f=[],h=l[1],p=void 0,t.label=4;case 4:return null===(p=s.exec(h))?[3,9]:(d=p[0],g=p[1],v=p[2],"src"!==g?[3,8]:(m=u.exec(v))?(w=m[1],[4,fetch(w)]):[3,8]);case 5:return[4,t.sent().blob()];case 6:return y=t.sent(),[4,this.toDataUrl(y)];case 7:M=t.sent(),d=d.replace(w,M),t.label=8;case 8:return f.push(d),[3,4];case 9:return c.push(f),[3,3];case 10:return[2,c.map((function(e){return"@font-face {"+e.join("")+"}"})).join("")];case 11:return[4,e.blob()];case 12:return b=t.sent(),[4,new Promise((function(e){var t=new FileReader;t.onloadend=function(){return e(t.result)},t.readAsDataURL(b)}))];case 13:return M=t.sent(),[2,"@font-face {\\n font-family: \'"+n+"\';\\n src: url(\'"+M+"\')\\n }"]}}))}))},n.prototype.toDataUrl=function(e){return new Promise((function(t){var n=new FileReader;n.onloadend=function(){return t(n.result)},n.readAsDataURL(e)}))},n}(),u=function(){function r(e){this.app=e,this.fontManager=new s,this.frameMessenger=new i((function(){return window.parent}),this.handleMessages.bind(this)),e.editor.graph.model.addListener("change",this.handleGraphChange.bind(this)),e.editor.graph.addListener("click",this.handleGraphClick.bind(this)),this.modifyUi(e)}return r.plugin=function(e){Object.defineProperty(window,"drawioApp",{value:e}),mxUtils.bind=function(e,t){return t.bind(e)},new r(e)},r.prototype.handleMessages=function(e){if("action"in e)switch(e.action){case"load":this.handleLoadActionMessage(e)}},r.prototype.handleLoadActionMessage=function(e){this.fileFormat=/\\<svg[\\>\\s]/.test(e.xml)?"svg":"xml"},r.prototype.handleGraphClick=function(e,t){},r.prototype.handleGraphChange=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return this.app.getCurrentFile()&&this.fileFormat?"svg"!==this.fileFormat?[3,2]:[4,this.getSvg(this.app.editor)]:[2];case 1:return e=t.sent(),this.frameMessenger.sendMessage({event:o.Change,data:e}),[3,4];case 2:return[4,this.getXml(this.app.editor)];case 3:n=t.sent(),this.frameMessenger.sendMessage({event:o.Change,data:n}),t.label=4;case 4:return[2]}}))}))},r.prototype.xmlToString=function(e){return(new XMLSerializer).serializeToString(e)},r.prototype.modifyUi=function(e){e.setPageVisible(!1),e.toggleFormatPanel(!1),this.removeMenubars(e),this.removeMenus()},r.prototype.removeMenubars=function(e){if(a(EditorUi.prototype,"addEmbedButtons",(function(e){return function(){}})),e.statusContainer.remove(),e.statusContainer=null,e.menubarContainer.parentElement.firstChild===e.menubarContainer&&1===e.menubarContainer.parentElement.childElementCount){var t=e.formatWindow.window;t.setLocation(t.getX(),10),e.menubarContainer.parentElement.remove(),e.menubarContainer.remove()}},r.prototype.removeMenus=function(){var e=["print","saveAndExit","plugins","exit","about"],t=["exportAs","importFrom","help"];a(Menus.prototype,"addMenuItem",(function(t){return function(r,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];return e.includes(o)?void 0:t.call.apply(t,n([this,r,o],i,!1))}})),a(Menus.prototype,"addSubmenu",(function(e){return function(r,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];return t.includes(r)?void 0:e.call.apply(e,n([this,r,o],i,!1))}}))},r.prototype.getXml=function(n){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){return e=n.getGraphXml(),[2,this.xmlToString(e)]}))}))},r.prototype.getSvg=function(n){return e(this,void 0,void 0,(function(){var e,r,o,i,a,s,u,c,l,f,h,p;return t(this,(function(t){switch(t.label){case 0:return"http://www.w3.org/2000/svg",e=document.createElementNS("http://www.w3.org/2000/svg","svg"),r=n.graph,o=r.getView(),i=o.graphBounds,a=i.x,s=i.y,u=i.height,c=i.width,l=o.scale,e.setAttribute("version","1.1"),e.setAttribute("height",u/l+"px"),e.setAttribute("width",c/l+"px"),e.setAttribute("viewBox","0 0 "+c/l+" "+u/l),(f=new mxSvgCanvas2D(e)).translate(-a/l,-s/l),f.scale(1/l),h=new mxImageExport,p=o.getState(r.model.root),h.getLinkForCellState=function(e,t){var n=e.cell;return null!=n.value&&"object"==typeof n.value?n.value.getAttribute("link"):null},h.drawState(p,f),[4,this.embedGraphInSvg(n,e)];case 1:return t.sent(),[4,this.embedFontsInSvg(n,e)];case 2:return t.sent(),this.addViewBoxMarginToSvg(e),[2,this.xmlToString(e)]}}))}))},r.prototype.embedGraphInSvg=function(e,t){var n=e.getGraphXml(),r=this.xmlToString(n);t.setAttribute("content",r)},r.prototype.embedFontsInSvg=function(n,r){return e(this,void 0,void 0,(function(){var e,o,i,a,s,u,c,l,f;return t(this,(function(t){switch(t.label){case 0:e=n.graph.getCustomFonts(),o=[],i=0,a=e,t.label=1;case 1:if(!(i<a.length))return[3,6];s=a[i],t.label=2;case 2:return t.trys.push([2,4,,5]),[4,this.fontManager.getFontCssForUrl(s.name,s.url)];case 3:return u=t.sent(),o.push(u),[3,5];case 4:return c=t.sent(),console.warn("Couldn\'t embed font data",c),[3,5];case 5:return i++,[3,1];case 6:return l=r.ownerDocument,(f=l.createElementNS("http://www.w3.org/2000/svg","style")).setAttribute("type","text/css"),f.appendChild(l.createTextNode(o.join("\\r\\n"))),r.insertBefore(f,r.firstChild),[2]}}))}))},r.prototype.addViewBoxMarginToSvg=function(e){var t=e.getAttribute("viewBox").split(" ").map((function(e){return Number.parseFloat(e)})),n=t[0],r=t[1],o=t[2],i=t[3];e.setAttribute("viewBox",[n-10,r-10,o+20,i+20].join(" "))},r}();Menus.prototype.defaultMenuItems=Menus.prototype.defaultMenuItems.filter((function(e){return"help"!==e})),App.main(u.plugin)}();\n');break;case a.Init:this.isInitialized=!0,this.dispatchEvent(new s(this.isInitialized)),this.file&&this.loadFile(this.file.data);break;case a.Load:this.dispatchEvent(new o(e.xml));break;case a.Change:this.file.data=e.data,this.dispatchEvent(new l(e.data));break;case a.FocusIn:this.dispatchEvent(new Event("focusin"));break;case a.FocusOut:this.dispatchEvent(new Event("focusout"))}}sendFrameConfig(){this.frameMessenger.sendMessage({action:i.FrameConfig,settings:this.settings})}}const h=["svg","drawio"];class d extends n{constructor(e,t){super(e,t),this.app,this.loadProgress=function(e,t){const n=e.loadProgress,i=new(0,Object.getPrototypeOf(n).constructor),a={container:t,show(){return clearTimeout(this.showTimeout),this.showTimeout=0,this.container.appendChild(this.el),this.el.style.opacity="",this},hide(){return clearTimeout(this.showTimeout),this.showTimeout=0,this.el.remove(),this}};return Object.setPrototypeOf(a,Object.getPrototypeOf(i)),Object.setPrototypeOf(i,a),i}(this.app,this.contentEl)}handleFileChange(e){return t(this,void 0,void 0,(function*(){yield this.app.vault.modify(this.file,e.data);const t=this.app.workspace.getLeavesOfType("diagram");for(const e of t){const t=e.view;t.file.path===this.file.path&&t.onLoadFile(t.file)}}))}handleStateChange(e){return t(this,void 0,void 0,(function*(){if(e.initialized){const e=this.plugin.getDrawioConfiguration();this.drawioClient.toggleBodyClassName(e.theme.dark?"theme-dark":"theme-light",!0),this.drawioClient.addCssToFrame(this.fontCss()),this.loadProgress.hide()}else this.loadProgress.show()}))}fontCss(){const e=[`\n:root{\n font-family: ${window.getComputedStyle(document.documentElement).getPropertyValue("--default-font")};\n font-size: 14px;\n}\n`];for(const t of Array.from(document.styleSheets))for(const n of Array.from(t.rules))n.cssText.startsWith("@font-face")&&e.push(n.cssText);return e.join("\n")}setImageView(){return t(this,void 0,void 0,(function*(){yield this.leaf.setViewState({type:"diagram",state:this.getState(),popstate:!0})}))}onLoadFile(e){return t(this,void 0,void 0,(function*(){const n=yield this.app.vault.read(e);(()=>{t(this,void 0,void 0,(function*(){(yield this.drawioClient.loadFile(n))||(this.file=null,this.setImageView())}))})()}))}onUnloadFile(){return t(this,void 0,void 0,(function*(){}))}canAcceptExtension(e){return h.contains(e)}getViewType(){return"diagram-edit"}getDisplayText(){var e;return(null===(e=this.file)||void 0===e?void 0:e.name)||"Diagram"}onOpen(){return t(this,void 0,void 0,(function*(){this.loadProgress.setMessage("Loading diagram editor");const e=this.plugin.getDrawioConfiguration();this.drawioClient=new c(this.contentEl,e),this.drawioClient.addEventListener("stateChange",this.handleStateChange.bind(this)),this.drawioClient.addEventListener("fileChange",this.handleFileChange.bind(this)),this.drawioClient.addEventListener("focusin",(()=>this.app.workspace.setActiveLeaf(this.leaf)))}))}onClose(){return t(this,void 0,void 0,(function*(){this.drawioClient&&this.drawioClient.destroy(),this.drawioClient=null}))}onload(){return t(this,void 0,void 0,(function*(){this.addAction("image-file","Preview",(()=>{this.setImageView()})),this.contentEl.style.margin="0",this.contentEl.style.padding="0",this.contentEl.style.position="relative"}))}}const m=["svg"];class p extends n{constructor(e,t){super(e,t)}onload(){const e=Object.create(null,{onload:{get:()=>super.onload}});return t(this,void 0,void 0,(function*(){e.onload.call(this),this.contentEl.classList.add("diagram-view"),this.editActionElement=this.addAction("pencil","Edit diagram",(()=>{this.isEditable&&this.setEditView()}))}))}setEditView(){return t(this,void 0,void 0,(function*(){yield this.leaf.setViewState({type:"diagram-edit",state:this.getState(),popstate:!0})}))}onLoadFile(e){return t(this,void 0,void 0,(function*(){const t=yield this.app.vault.read(e),n=document.createElement("template");n.innerHTML=t,this.contentEl.empty(),this.contentEl.appendChild(n.content),this.isEditable=yield this.isDrawioFile(e),this.isEditable?this.editActionElement.style.opacity="1":this.editActionElement.style.opacity=".25"}))}onUnloadFile(e){return t(this,void 0,void 0,(function*(){this.contentEl.empty()}))}canAcceptExtension(e){return m.contains(e)}getViewType(){return"diagram"}isDrawioFile(e){return t(this,void 0,void 0,(function*(){const t=yield this.app.vault.cachedRead(e);return this.isDrawioData(t)}))}isDrawioData(e){if("string"!=typeof e)return!1;const t=(new DOMParser).parseFromString(e,"application/xml"),n=t.documentElement.tagName.toLowerCase();return"parsererror"!==n&&("mxfile"===n||"mxgraph"===n||"mxgraphmodel"===n||"svg"===n&&this.isDrawioData(t.documentElement.getAttribute("content")))}}var g;!function(e){e.full="full",e.compact="compact",e.sketch="sketch"}(g||(g={}));const u={welcomeComplete:!1,theme:{dark:null,layout:g.sketch},drawing:{sketch:!0}};class f extends e.PluginSettingTab{constructor(e,t){super(e,t),this.plugin=t}display(){const{containerEl:n}=this;n.empty(),new e.Setting(n).setName("Theme").setDesc("Interface theme").addDropdown((e=>{e.addOptions({[g.full]:"Full",[g.compact]:"Compact",[g.sketch]:"Sketch"}).setValue(this.plugin.settings.theme.layout).onChange((e=>t(this,void 0,void 0,(function*(){this.plugin.settings.theme.layout=e,yield this.plugin.saveSettings()}))))})),new e.Setting(n).setName("Dark").setDesc("Use dark mode").addDropdown((e=>{var n,i,a,r;e.addOptions({automatic:"Automatic",dark:"Dark",light:"Light"}).setValue((n=this.plugin.settings.theme.dark,i="dark",a="light",r="automatic",!0===n?i:!1===n?a:r)).onChange((e=>t(this,void 0,void 0,(function*(){this.plugin.settings.theme.dark="dark"===e||"light"!==e&&void 0,yield this.plugin.saveSettings()}))))})),new e.Setting(n).setName("Sketch").setDesc("Use sketch style drawing").addToggle((e=>{e.setValue(this.plugin.settings.drawing.sketch).onChange((e=>t(this,void 0,void 0,(function*(){this.plugin.settings.drawing.sketch=e,yield this.plugin.saveSettings()}))))}))}}class b extends e.Modal{constructor(e,t){super(e),this.plugin=t}onOpen(){return t(this,void 0,void 0,(function*(){this.titleEl.appendChild(document.createTextNode("Diagrams")),this.contentEl.innerHTML='\n <div>\n Thanks for installing the diagrams plugin. Before we get started...\n </div>\n <div class="setting-item" style="display:block">\n <div class="setting-item-description">\n As an alternative to the normal Diagrams.net (Draw.io) interface you may want to use "sketch" mode for your notes.\n Sketch mode has a simpler interface and hand-draw diagram style.\n </div>\n <div style="display:flex;justify-content:space-around;padding-top:1em;padding-bottom:1em;">\n <div style="text-align:center;">\n <div class="setting-item-heading">Sketch</div>\n <div><button id="UseSketchStyle" class="mod-cta">Use Sketch As Default</button></div>\n </div>\n <div style="text-align:center;">\n <div class="setting-item-heading">Full</div>\n <div><button id="UseFullStyle" class="mod-cta">Use Full As Default</button></div>\n </div>\n </div>\n <div class="setting-item-description">\n You can change this setting at any time by going to <b>Settings</b> &gt; <b>Diagrams</b>.\n </div>\n </div>\n <div>\n If you find any issues or have feature requests, please add them to the \n <a href="https://github.com/zapthedingbat/drawio-obsidian/issues" target="_blank">GitHub</a> repository.\n Pull requests or any other contributions are very welcome!\n </div>\n ',this.closeButtonEl=this.containerEl.querySelector(".modal-close-button"),this.closeButtonEl.style.display="none",this.containerEl.querySelector("#UseSketchStyle").addEventListener("click",(()=>t(this,void 0,void 0,(function*(){this.plugin.settings.theme.layout=g.sketch,this.plugin.settings.drawing.sketch=!0,this.plugin.settings.welcomeComplete=!0,this.close(),yield this.plugin.saveSettings()})))),this.containerEl.querySelector("#UseFullStyle").addEventListener("click",(()=>t(this,void 0,void 0,(function*(){this.plugin.settings.theme.layout=g.full,this.plugin.settings.drawing.sketch=!1,this.plugin.settings.welcomeComplete=!0,this.close(),yield this.plugin.saveSettings()}))))}))}}class x extends e.Plugin{constructor(e,t){super(e,t),this.isFileExplorerButtonPresent=!1}registerViewFactory(e,t){this.registerView(t,(t=>new e(t,this)))}moveMenuItem(e,t,n){const i=t,a=e.items,r=a.findIndex((e=>i===e)),l=e.dom;a.splice(r,1),a.splice(n,0,t),a.forEach((e=>{l.appendChild(e.dom)}))}onload(){return t(this,void 0,void 0,(function*(){if(yield this.loadSettings(),e.addIcon("diagram",'<path\r\n fill="currentColor"\r\n stroke="currentColor"\r\n d="M14,4v92h72V29.2l-0.6-0.6l-24-24L60.8,4L14,4z M18,8h40v24h24v60H18L18,8z M62,10.9L79.1,28H62V10.9z"\r\n />\r\n<path\r\n fill="currentColor"\r\n d="M 72.946,68.7522 H 65.398 L 57.4361,55.1533 c 1.8152,-0.3821 3.121,-1.9744 3.0893,-3.8218 V 41.1086 c 0,-2.1656 -1.7199,-3.9172 -3.8854,-3.9172 H 56.608 43.3272 c -2.1655,0 -3.9171,1.7197 -3.9171,3.8854 v 0.032 10.2229 c 0,1.8474 1.274,3.4397 3.0892,3.8218 l -7.9621,13.599 h -7.5151 c -2.1656,0 -3.9172,1.7196 -3.9172,3.8855 v 0.03 10.2233 c 0,2.1659 1.7198,3.9173 3.8854,3.9173 h 0.032 13.2806 c 2.1656,0 3.9172,-1.7196 3.9172,-3.8856 v -0.03 -10.2233 c 0,-2.166 -1.7198,-3.9173 -3.8855,-3.9173 h -0.032 -1.2742 l 7.8983,-13.5031 h 6.1463 l 7.9289,13.5029 h -1.3054 c -2.1661,0 -3.9177,1.7196 -3.9177,3.8855 v 0.03 10.2233 c 0,2.1659 1.7197,3.9173 3.8853,3.9173 h 0.033 13.2803 c 2.1663,0 3.9177,-1.7196 3.9177,-3.8856 v -0.03 -10.2233 c 0,-2.166 -1.7197,-3.9173 -3.886,-3.9173 -0.032,0 -0.032,0 -0.063,0 z"/>'),e.addIcon("create-new-diagram",'<path\r\n fill="currentColor"\r\n stroke="currentColor"\r\n stroke-width="2"\r\n d="M12,0v96h56c3.3,2.5,7.5,4,12,4c11,0,20-9,20-20c0-8.2-5-15.2-12-18.3V29.2l-0.6-0.6l-28-28L58.8,0L12,0z M16,4h40v28h28 v28.4c-1.3-0.3-2.6-0.4-4-0.4c-11,0-20,9-20,20c0,4.5,1.5,8.6,4.1,12H16L16,4z M60,6.9L81.1,28H60L60,6.9z M80,64 c8.9,0,16,7.1,16,16c0,8.9-7.1,16-16,16c-8.9,0-16-7.1-16-16C64,71.1,71.1,64,80,64z M78,70v8h-8v4h8v8h4v-8h8v-4h-8v-8H78z"\r\n/>\r\n<path\r\n fill="currentColor"\r\n d="M 44.2539 36.9414 C 42.0884 36.9414 40.3379 38.6624 40.3379 40.8281 L 40.3379 40.8594 L 40.3379 51.082 C 40.3379 52.9294 41.6106 54.5222 43.4258 54.9043 L 35.4648 68.5039 L 27.9492 68.5039 C 25.7836 68.5039 24.0312 70.2228 24.0312 72.3887 L 24.0312 72.418 L 24.0312 82.6426 C 24.0312 84.8085 25.7524 86.5586 27.918 86.5586 L 27.9492 86.5586 L 41.2305 86.5586 C 43.3961 86.5586 45.1465 84.8398 45.1465 82.6738 L 45.1465 82.6445 L 45.1465 72.4199 C 45.1465 70.2539 43.4274 68.5039 41.2617 68.5039 L 41.2305 68.5039 L 39.9551 68.5039 L 47.8535 55 L 54 55 L 61.9297 68.502 L 60.623 68.502 C 58.4569 68.502 56.7051 70.2228 56.7051 72.3887 L 56.7051 72.418 L 56.7051 82.6426 C 56.7051 84.6336 58.1612 86.2695 60.0781 86.5215 A 21 21 0 0 1 59 80 A 21 21 0 0 1 64.6816 65.6953 L 58.3633 54.9043 C 60.1785 54.5222 61.4848 52.9294 61.4531 51.082 L 61.4531 40.8594 C 61.4531 38.6938 59.7319 36.9414 57.5664 36.9414 L 57.5352 36.9414 L 44.2539 36.9414 z " />\r\n'),this.registerViewFactory(p,"diagram"),this.registerViewFactory(d,"diagram-edit"),this.registerExtensionsReplace(["svg"],"diagram"),this.registerExtensionsReplace(["drawio"],"diagram-edit"),this.registerEvents(),this.addSettingTab(new f(this.app,this)),this.tryAddFileExplorerButton(),!0!==this.settings.welcomeComplete){new b(this.app,this).open()}}))}registerExtensionsReplace(e,t){for(const n of e){const e=this.app.viewRegistry.typeByExtension[n];this.app.viewRegistry.typeByExtension[n]=t,this.register((()=>{this.app.viewRegistry.typeByExtension[n]=e}))}this.app.viewRegistry.trigger("extensions-updated")}registerEvents(){this.registerEvent(this.app.internalPlugins.on("change",this.handleInternalPluginsChange,this)),this.registerEvent(this.app.workspace.on("file-menu",this.handleFileMenu,this)),this.registerEvent(this.app.workspace.on("editor-menu",this.handleEditorMenu,this)),this.registerEvent(this.app.workspace.on("layout-change",this.handleLayoutChange,this))}tryAddFileExplorerButton(){if(this.isFileExplorerButtonPresent||!this.app.internalPlugins.plugins["file-explorer"].enabled)return;const e=this.app.workspace.getLeavesOfType("file-explorer")[0];if(e&&"headerDom"in e.view){const t=e.view.headerDom.addNavButton("diagram","New diagram",this.editNewDiagramFile.bind(this)),n=t.parentElement;n.insertBefore(t,n.childNodes[1]||n.firstChild),this.register((()=>{n.removeChild(t)})),this.isFileExplorerButtonPresent=!0}}handleLayoutChange(){this.tryAddFileExplorerButton()}handleInternalPluginsChange(e){"file-explorer"===e.instance.id&&(e.enabled?this.tryAddFileExplorerButton():this.isFileExplorerButtonPresent=!1)}handleEditorMenu(e,n,i){e.addItem((e=>{e.setTitle("Insert new diagram").setIcon("create-new-diagram").onClick((()=>t(this,void 0,void 0,(function*(){const e=yield this.createNewDiagramFile(i.file.parent);n.replaceSelection(`![[${e.path}]]`);const t=this.app.workspace.splitActiveLeaf("horizontal");yield t.setViewState({type:"diagram-edit",state:{file:e.path}})}))))}))}handleFileMenu(n,i,a){i instanceof e.TFile?this.isDiagramFileExtension(i)&&n.addItem((e=>{this.moveMenuItem(n,e,0),e.setTitle("Edit diagram").setIcon("diagram").onClick((()=>t(this,void 0,void 0,(function*(){const e="link-context-menu"===a?this.app.workspace.splitActiveLeaf("horizontal"):this.app.workspace.activeLeaf;yield e.setViewState({type:"diagram-edit",state:{file:i.path}})}))))})):i instanceof e.TFolder&&n.addItem((e=>{this.moveMenuItem(n,e,1),e.setTitle("New diagram").setIcon("create-new-diagram").onClick((()=>t(this,void 0,void 0,(function*(){const e=yield this.createNewDiagramFile(i),t=this.app.workspace.activeLeaf;yield t.setViewState({type:"diagram-edit",state:{file:e.path}})}))))}))}getDrawioConfiguration(){const e=Object.assign({},this.settings);return"boolean"!=typeof e.theme.dark&&(e.theme.dark=this.isAppThemeDark()),e}isDiagramFileExtension(e){return e.extension&&["svg","drawio"].contains(e.extension)}isDiagramFileFormat(e){return t(this,void 0,void 0,(function*(){const t=yield this.app.vault.cachedRead(e);return/(&lt;|\<)(mxfile|mxgraph)/i.test(t)}))}getNewDiagramFilePath(e,n,i){return t(this,void 0,void 0,(function*(){let t=`${e.path}/${n}.${i}`,a=0;for(;yield this.app.vault.adapter.exists(t);)t=`${e.path}/${n} ${++a}.${i}`;return t}))}createNewDiagramFile(e){return t(this,void 0,void 0,(function*(){const t=e||this.app.fileManager.getNewFileParent(""),n=yield this.getNewDiagramFilePath(t,"Untitled Diagram","svg");return yield this.app.vault.create(n,'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n<svg\nxmlns="http://www.w3.org/2000/svg"\nxmlns:xlink="http://www.w3.org/1999/xlink"\nversion="1.1" width="1px" height="1px"\nviewBox="-0.5 -0.5 1 1"\ncontent="&lt;mxGraphModel&gt;&lt;root&gt;&lt;mxCell id=&quot;0&quot;/&gt;&lt;mxCell id=&quot;1&quot; parent=&quot;0&quot;/&gt;&lt;/root&gt;&lt;/mxGraphModel&gt;">\n</svg>')}))}editNewDiagramFile(){return t(this,void 0,void 0,(function*(){const e=yield this.createNewDiagramFile(),t=this.app.workspace.activeLeaf;yield t.setViewState({type:"diagram-edit",state:{file:e.path}})}))}isAppThemeDark(){return document.body.classList.contains("theme-dark")}loadSettings(){return t(this,void 0,void 0,(function*(){const e=yield this.loadData();this.settings=Object.assign({},u,e)}))}saveSettings(){return t(this,void 0,void 0,(function*(){yield this.saveData(this.settings)}))}}module.exports=x;