Built motion from commit b322525.|0.0.112
[motion.git] / public / assets / plugins / square / js / Sidebar.js
index 3c4f47e..6fb6438 100644 (file)
@@ -1,903 +1 @@
-'use strict';
-
-/**
- * Construcs a new sidebar for the given editor.
- */
-function Sidebar(editorUi, container) {
-       this.editorUi = editorUi;
-       this.container = container;
-       this.palettes = new Object();
-       this.showTooltips = true;
-       this.graph = new Graph(document.createElement('div'), null, null, this.editorUi
-               .editor.graph.getStylesheet());
-       this.graph.resetViewOnRootChange = false;
-       this.graph.foldingEnabled = false;
-       this.graph.setConnectable(false);
-       this.graph.autoScroll = false;
-       this.graph.setTooltips(false);
-       this.graph.setEnabled(false);
-
-       // Container must be in the DOM for correct HTML rendering
-       this.graph.container.style.visibility = 'hidden';
-       this.graph.container.style.position = 'absolute';
-       document.body.appendChild(this.graph.container);
-
-       if (!mxClient.IS_TOUCH) {
-               mxEvent.addListener(document, 'mouseup', mxUtils.bind(this, function() {
-                       this.showTooltips = true;
-               }));
-
-               // Enables tooltips after scroll
-               mxEvent.addListener(container, 'scroll', mxUtils.bind(this, function() {
-                       this.showTooltips = true;
-               }));
-
-               mxEvent.addListener(document, 'mousedown', mxUtils.bind(this, function() {
-                       this.showTooltips = false;
-                       this.hideTooltip();
-               }));
-
-               mxEvent.addListener(document, 'mousemove', mxUtils.bind(this, function(evt) {
-                       var src = mxEvent.getSource(evt);
-
-                       while (src != null) {
-                               if (src == this.currentElt) {
-                                       return;
-                               }
-
-                               src = src.parentNode;
-                       }
-
-                       this.hideTooltip();
-               }));
-
-               // Handles mouse leaving the window
-               mxEvent.addListener(document, 'mouseout', mxUtils.bind(this, function(evt) {
-                       if (evt.toElement == null && evt.relatedTarget == null) {
-                               this.hideTooltip();
-                       }
-               }));
-       }
-
-       this.init();
-
-       // Pre-fetches tooltip image
-       new Image().src = IMAGE_PATH + '/tooltip.png';
-};
-
-/**
- * Adds all palettes to the sidebar.
- */
-Sidebar.prototype.init = function() {
-       var dir = STENCIL_PATH;
-       console.log(dir);
-
-       this.addImagePalette('entry', mxResources.get('entry'), dir + '/entry/',
-               '_128x128.png', ['start', 'finally', 'end'], [mxResources.get('start'),
-                       mxResources.get('finally'), mxResources.get('end')
-               ]);
-       this.addImagePalette('call_management', mxResources.get('call_management'),
-               dir + '/call_management/', '_128x128.png', ['answer', 'hangup', 'dial',
-                       'ext_dial', 'queue', 'voicemail'
-                       // , 'callback'
-               ], [mxResources.get('answer'), mxResources.get('hangup'), mxResources.get(
-                               'dial'), mxResources.get('ext_dial'), mxResources.get('queue'),
-                       mxResources.get('voicemail')
-                       // , mxResources.get('callback')
-               ]);
-       this.addImagePalette('variable', mxResources.get('variable'), dir +
-               '/variable/', '_128x128.png', ['set', 'math'], [mxResources.get('set'),
-                       mxResources.get('math')
-               ]);
-       this.addImagePalette('playback', mxResources.get('playback'), dir +
-               '/playback/', '_128x128.png', ['playback', 'menu',
-                       'saydigits', 'saynumber', 'sayphonetic', 'tts', 'ispeechtts', 'getdigits'
-               ], [mxResources.get('playback'), mxResources
-                       .get('menu'), mxResources.get('saydigits'), mxResources.get('saynumber'),
-                       mxResources.get('sayphonetic'), mxResources.get('tts'), mxResources.get('ispeechtts'), mxResources.get('getdigits')
-               ]);
-       this.addImagePalette('recording', mxResources.get('recording'), dir +
-               '/recording/', '_128x128.png', ['record'], [mxResources.get('record')]);
-       this.addImagePalette('integrationServer', mxResources.get('integrationServer'),
-               dir + '/integration_server/', '_128x128.png', ['database', 'ispeechasr'], [
-                       mxResources.get('database'), mxResources.get('ispeechasr')
-               ]);
-       this.addImagePalette('callflow', mxResources.get('callflow'), dir +
-               '/callflow/', '_128x128.png', ['gotoc', 'gotoif', 'gotoiftime', 'vswitch'], [
-                       mxResources.get('gotoc'), mxResources.get('gotoif'), mxResources.get(
-                               'gotoiftime'), mxResources.get('vswitch')
-               ]);
-       this.addImagePalette('stats', mxResources.get('stats'), dir + '/stats/',
-               '_128x128.png', [
-                       // 'queuelog', 'goal'
-               ], [
-                       // mxResources.get('queuelog'),
-                       // mxResources.get('goal')
-               ]);
-       this.addImagePalette('general', mxResources.get('general'), dir + '/general/',
-               '_128x128.png', ['noop', 'system', 'agi', 'subproject','custom_app'], [mxResources.get(
-                       'noop'), mxResources.get('system'), mxResources.get('agi'), mxResources.get(
-                       'subproject'),mxResources.get(
-                       'custom_app')]);
-
-};
-
-/**
- * Specifies if tooltips should be visible. Default is true.
- */
-Sidebar.prototype.enableTooltips = !mxClient.IS_TOUCH;
-
-/**
- * Specifies the delay for the tooltip. Default is 16 px.
- */
-Sidebar.prototype.tooltipBorder = 16;
-
-/**
- * Specifies the delay for the tooltip. Default is 3 px.
- */
-Sidebar.prototype.thumbBorder = 3;
-
-/**
- * Specifies the delay for the tooltip. Default is 300 ms.
- */
-Sidebar.prototype.tooltipDelay = 300;
-
-/**
- * Specifies if edges should be used as templates if clicked. Default is true.
- */
-Sidebar.prototype.installEdges = true;
-
-/**
- * Specifies the URL of the gear image.
- */
-Sidebar.prototype.gearImage = STENCIL_PATH + '/clipart/Gear_128x128.png';
-
-/**
- * Specifies the width of the thumbnails.
- */
-Sidebar.prototype.thumbWidth = 34;
-
-/**
- * Specifies the height of the thumbnails.
- */
-Sidebar.prototype.thumbHeight = 34;
-
-/**
- * Specifies the padding for the thumbnails. Default is 3.
- */
-Sidebar.prototype.thumbPadding = 2;
-
-/**
- * Specifies the size of the sidebar titles.
- */
-Sidebar.prototype.sidebarTitleSize = 9;
-
-/**
- * Specifies if titles in the sidebar should be enabled.
- */
-Sidebar.prototype.sidebarTitles = false;
-
-/**
- * Specifies if titles in the tooltips should be enabled.
- */
-Sidebar.prototype.tooltipTitles = false;
-
-/**
- * Adds all palettes to the sidebar.
- */
-Sidebar.prototype.showTooltip = function(elt, cells, title, showLabel) {
-       if (this.enableTooltips && this.showTooltips) {
-               if (this.currentElt != elt) {
-                       if (this.thread != null) {
-                               window.clearTimeout(this.thread);
-                               this.thread = null;
-                       }
-
-                       var show = mxUtils.bind(this, function() {
-                               // Lazy creation of the DOM nodes and graph instance
-                               if (this.tooltip == null) {
-                                       this.tooltip = document.createElement('div');
-                                       this.tooltip.className = 'geSidebarTooltip';
-                                       document.body.appendChild(this.tooltip);
-
-                                       this.graph2 = new Graph(this.tooltip, null, null, this.editorUi.editor.graph
-                                               .getStylesheet());
-                                       this.graph2.view.setTranslate(this.tooltipBorder, this.tooltipBorder);
-                                       this.graph2.resetViewOnRootChange = false;
-                                       this.graph2.foldingEnabled = false;
-                                       this.graph2.autoScroll = false;
-                                       this.graph2.setTooltips(false);
-                                       this.graph2.setConnectable(false);
-                                       this.graph2.setEnabled(false);
-
-                                       if (!mxClient.IS_SVG) {
-                                               this.graph2.view.canvas.style.position = 'relative';
-                                       }
-
-                                       this.tooltipImage = mxUtils.createImage(IMAGE_PATH + '/tooltip.png');
-                                       this.tooltipImage.style.position = 'absolute';
-                                       this.tooltipImage.style.width = '14px';
-                                       this.tooltipImage.style.height = '27px';
-
-                                       document.body.appendChild(this.tooltipImage);
-                               }
-
-                               this.tooltip.style.display = 'block';
-                               this.graph2.labelsVisible = (showLabel == null || showLabel);
-                               this.graph2.model.clear();
-                               this.graph2.addCells(cells);
-
-                               var bounds = this.graph2.getGraphBounds();
-                               var width = bounds.width + 2 * this.tooltipBorder;
-                               var height = bounds.height + 2 * this.tooltipBorder;
-
-                               if (mxClient.IS_QUIRKS) {
-                                       width += 4;
-                                       height += 4;
-                                       this.tooltip.style.overflow = 'hidden';
-                               } else {
-                                       this.tooltip.style.overflow = 'visible';
-                               }
-
-                               this.tooltipImage.style.visibility = 'visible';
-                               this.tooltip.style.width = width + 'px';
-
-                               // Adds title for entry
-                               if (this.tooltipTitles && title != null && title.length > 0) {
-                                       if (this.tooltipTitle == null) {
-                                               this.tooltipTitle = document.createElement('div');
-                                               this.tooltipTitle.style.borderTop = '1px solid gray';
-                                               this.tooltipTitle.style.textAlign = 'center';
-                                               this.tooltipTitle.style.width = '100%';
-
-                                               // Oversize titles are cut-off currently. Should make tooltip wider later.
-                                               this.tooltipTitle.style.overflow = 'hidden';
-
-                                               if (mxClient.IS_SVG) {
-                                                       this.tooltipTitle.style.paddingTop = '2px';
-                                               } else {
-                                                       this.tooltipTitle.style.position = 'absolute';
-                                                       this.tooltipTitle.style.paddingTop = '6px';
-                                               }
-
-                                               this.tooltip.appendChild(this.tooltipTitle);
-                                       } else {
-                                               this.tooltipTitle.innerHTML = '';
-                                       }
-
-                                       this.tooltipTitle.style.display = '';
-                                       mxUtils.write(this.tooltipTitle, title);
-
-                                       var dy = this.tooltipTitle.offsetHeight + 10;
-                                       height += dy;
-
-                                       if (mxClient.IS_SVG) {
-                                               this.tooltipTitle.style.marginTop = (-dy) + 'px';
-                                       } else {
-                                               height -= 6;
-                                               this.tooltipTitle.style.top = (height - dy) + 'px';
-                                       }
-                               } else if (this.tooltipTitle != null && this.tooltipTitle.parentNode !=
-                                       null) {
-                                       this.tooltipTitle.style.display = 'none';
-                               }
-
-                               this.tooltip.style.height = height + 'px';
-                               var x0 = -Math.min(0, bounds.x - this.tooltipBorder);
-                               var y0 = -Math.min(0, bounds.y - this.tooltipBorder);
-
-                               var left = this.container.clientWidth + this.editorUi.splitSize + 3;
-                               var top = Math.max(0, (this.container.offsetTop + elt.offsetTop - this.container
-                                       .scrollTop - height / 2 + 16));
-
-                               if (mxClient.IS_SVG) {
-                                       this.graph2.view.canvas.setAttribute('transform', 'translate(' + x0 +
-                                               ',' + y0 + ')');
-                               } else {
-                                       this.graph2.view.drawPane.style.left = x0 + 'px';
-                                       this.graph2.view.drawPane.style.top = y0 + 'px';
-                               }
-
-                               // Workaround for ignored position CSS style in IE9
-                               // (changes to relative without the following line)
-                               // Added width of the page-sidebar
-                               left += document.getElementById('page-sidebar').offsetWidth;
-                               // Added static height of the page-navbar
-                               top += 90;
-
-                               this.tooltip.style.position = 'absolute';
-                               this.tooltip.style.left = left + 'px';
-                               this.tooltip.style.top = top + 'px';
-                               this.tooltipImage.style.left = (left - 13) + 'px';
-                               this.tooltipImage.style.top = (top + height / 2 - 13) + 'px';
-                       });
-
-                       if (this.tooltip != null && this.tooltip.style.display != 'none') {
-                               show();
-                       } else {
-                               this.thread = window.setTimeout(show, this.tooltipDelay);
-                       }
-
-                       this.currentElt = elt;
-               }
-       }
-};
-
-/**
- * Hides the current tooltip.
- */
-Sidebar.prototype.hideTooltip = function() {
-       if (this.thread != null) {
-               window.clearTimeout(this.thread);
-               this.thread = null;
-       }
-
-       if (this.tooltip != null) {
-               this.tooltip.style.display = 'none';
-               this.tooltipImage.style.visibility = 'hidden';
-               this.currentElt = null;
-       }
-};
-
-/**
- * Creates and returns the given title element.
- */
-Sidebar.prototype.createTitle = function(label) {
-       var elt = document.createElement('a');
-       elt.setAttribute('href', 'javascript:void(0);');
-       elt.className = 'geTitle';
-       mxUtils.write(elt, label);
-
-       return elt;
-};
-
-/**
- * Creates a thumbnail for the given cells.
- */
-Sidebar.prototype.createThumb = function(cells, width, height, parent, title,
-       showLabel) {
-       this.graph.labelsVisible = (showLabel == null || showLabel);
-       this.graph.view.scaleAndTranslate(1, 0, 0);
-       this.graph.addCells(cells);
-       var bounds = this.graph.getGraphBounds();
-       var corr = this.thumbBorder;
-       var s = Math.min((width - 2) / (bounds.width - bounds.x + corr), (height - 2) /
-               (bounds.height - bounds.y + corr));
-       var x0 = -Math.min(bounds.x, 0);
-       var y0 = -Math.min(bounds.y, 0);
-       this.graph.view.scaleAndTranslate(s, x0, y0);
-
-       bounds = this.graph.getGraphBounds();
-       var dx = Math.max(0, Math.floor((width - bounds.width - bounds.x) / 2));
-       var dy = Math.max(0, Math.floor((height - bounds.height - bounds.y) / 2));
-
-       var node = null;
-
-       // For supporting HTML labels in IE9 standards mode the container is cloned instead
-       if (this.graph.dialect == mxConstants.DIALECT_SVG && !mxClient.NO_FO) {
-               node = this.graph.view.getCanvas().ownerSVGElement.cloneNode(true);
-       }
-       // LATER: Check if deep clone can be used for quirks if container in DOM
-       else {
-               node = this.graph.container.cloneNode(false);
-               node.innerHTML = this.graph.container.innerHTML;
-       }
-
-       this.graph.getModel().clear();
-
-       // Catch-all event handling
-       if (mxClient.IS_IE6) {
-               parent.style.backgroundImage = 'url(' + this.editorUi.editor.transparentImage +
-                       ')';
-       }
-
-       var dd = 3;
-       node.style.position = 'relative';
-       node.style.overflow = 'hidden';
-       node.style.cursor = 'pointer';
-       node.style.left = (dx + dd) + 'px';
-       node.style.top = (dy + dd) + 'px';
-       node.style.width = width + 'px';
-       node.style.height = height + 'px';
-       node.style.visibility = '';
-       node.style.minWidth = '';
-       node.style.minHeight = '';
-
-       parent.appendChild(node);
-
-       // Adds title for sidebar entries
-       if (this.sidebarTitles && title != null) {
-               var border = (mxClient.IS_QUIRKS) ? 2 * this.thumbPadding + 2 : 0;
-               parent.style.height = (this.thumbHeight + border + this.sidebarTitleSize + 8) +
-                       'px';
-
-               var div = document.createElement('div');
-               div.style.fontSize = this.sidebarTitleSize + 'px';
-               div.style.textAlign = 'center';
-               div.style.whiteSpace = 'nowrap';
-
-               if (mxClient.IS_IE) {
-                       div.style.height = (this.sidebarTitleSize + 12) + 'px';
-               }
-
-               div.style.paddingTop = '4px';
-               mxUtils.write(div, title);
-               parent.appendChild(div);
-       }
-};
-
-/**
- * Creates and returns a new palette item for the given image.
- */
-Sidebar.prototype.createItem = function(cells, title, showLabel) {
-       var elt = document.createElement('a');
-       elt.setAttribute('href', 'javascript:void(0);');
-       elt.className = 'geItem';
-       elt.style.overflow = 'hidden';
-       var border = (mxClient.IS_QUIRKS) ? 8 + 2 * this.thumbPadding : 6;
-       elt.style.width = (this.thumbWidth + border) + 'px';
-       elt.style.height = (this.thumbHeight + border) + 'px';
-       elt.style.padding = this.thumbPadding + 'px';
-
-       // Blocks default click action
-       mxEvent.addListener(elt, 'click', function(evt) {
-               mxEvent.consume(evt);
-       });
-
-       this.createThumb(cells, this.thumbWidth, this.thumbHeight, elt, title,
-               showLabel);
-
-       return elt;
-};
-
-/**
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createDropHandler = function(cells, allowSplit) {
-       return function(graph, evt, target, x, y) {
-               if (graph.isEnabled()) {
-                       cells = graph.getImportableCells(cells);
-
-                       if (cells.length > 0) {
-                               var validDropTarget = (target != null) ?
-                                       graph.isValidDropTarget(target, cells, evt) : false;
-                               var select = null;
-
-                               if (target != null && !validDropTarget) {
-                                       target = null;
-                               }
-
-                               // Splits the target edge or inserts into target group
-                               if (allowSplit && graph.isSplitEnabled() && graph.isSplitTarget(target,
-                                               cells, evt)) {
-                                       graph.splitEdge(target, cells, null, x, y);
-                                       select = cells;
-                               } else if (cells.length > 0) {
-                                       select = graph.importCells(cells, x, y, target);
-                               }
-
-                               if (select != null && select.length > 0) {
-                                       graph.scrollCellToVisible(select[0]);
-                                       graph.setSelectionCells(select);
-                               }
-                       }
-               }
-       };
-};
-
-/**
- * Creates and returns a preview element for the given width and height.
- */
-Sidebar.prototype.createDragPreview = function(width, height) {
-       var elt = document.createElement('div');
-       elt.style.border = '1px dashed black';
-       elt.style.width = width + 'px';
-       elt.style.height = height + 'px';
-
-       return elt;
-};
-
-/**
- * Creates a drag source for the given element.
- */
-Sidebar.prototype.createDragSource = function(elt, dropHandler, preview) {
-       var dragSource = mxUtils.makeDraggable(elt, this.editorUi.editor.graph,
-               dropHandler,
-               preview, 0, 0, this.editorUi.editor.graph.autoscroll, true, true);
-
-       // Allows drop into cell only if target is a valid root
-       dragSource.getDropTarget = function(graph, x, y) {
-               var target = mxDragSource.prototype.getDropTarget.apply(this, arguments);
-
-               if (!graph.isValidRoot(target)) {
-                       target = null;
-               }
-
-               return target;
-       };
-
-       return dragSource;
-};
-
-/**
- * Adds a handler for inserting the cell with a single click.
- */
-Sidebar.prototype.addClickHandler = function(elt, ds) {
-       var graph = this.editorUi.editor.graph;
-       var first = null;
-
-       mxEvent.addGestureListeners(elt, function(evt) {
-               first = new mxPoint(mxEvent.getClientX(evt), mxEvent.getClientY(evt));
-       });
-
-       var oldMouseUp = ds.mouseUp;
-       ds.mouseUp = function(evt) {
-               if (!mxEvent.isPopupTrigger(evt) && this.currentGraph == null && first !=
-                       null) {
-                       var tol = graph.tolerance;
-
-                       if (Math.abs(first.x - mxEvent.getClientX(evt)) <= tol &&
-                               Math.abs(first.y - mxEvent.getClientY(evt)) <= tol) {
-                               var gs = graph.getGridSize();
-                               ds.drop(graph, evt, null, gs, gs);
-                       }
-               }
-
-               oldMouseUp.apply(this, arguments);
-               first = null;
-       };
-};
-
-/**
- * Giuseppe Careri
- * Create xml document vertex
- */
-Sidebar.prototype.createXmlDocument = function(element, label, variables,
-       values) {
-       var doc = mxUtils.createXmlDocument();
-       var node = doc.createElement(element)
-       node.setAttribute('label', label);
-
-       variables.forEach(function(variable, index) {
-               node.setAttribute(variable, values[index] ? values[index] : '');
-       });
-
-       return node;
-}
-
-/**
- * Giuseppe Careri
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createVertexTemplate = function(style, width, height, value,
-       title, showLabel) {
-       var variables = [];
-       var values = [];
-
-       switch (value) {
-               case 'answer':
-                       break;
-               case 'ispeechasr':
-                       variables = ['key', 'model', 'ispeech_asr_language'];
-                       values = ['', 0, 'it-IT'];
-                       break;
-               case 'playback':
-                       variables = ['file_id', 'opts'];
-                       values = ['0'];
-                       break;
-               case 'background':
-                       variables = ['file_id', 'response', 'digit'];
-                       values = ['0', '5', '1'];
-                       break;
-               case 'menu':
-                       variables = ['file_id', 'response', 'digit', 'retry', 'variable_id'];
-                       values = ['0', '5', '1', '1', '0'];
-                       break;
-               case 'getdigits':
-                       variables = ['file_id', 'response', 'mindigit', 'maxdigit', 'retry', 'variable_id'];
-                       values = ['0', '5', '1', '10', '1', '0'];
-                       break;
-               case 'custom_app':
-                       variables = ['application', 'options'];
-                       values = ['',''];
-                       break;
-               case 'set':
-                       variables = ['variable_id', 'variable_value'];
-                       values = ['0', ''];
-                       break;
-               case 'database':
-                       variables = ['odbc_id', 'query', 'variable_id'];
-                       values = ['0', '', '0'];
-                       break;
-               case 'noop':
-                       variables = ['output'];
-                       values = [];
-                       break;
-               case 'gotoc':
-                       variables = ['context', 'extension'];
-                       values = [];
-                       break;
-               case 'system':
-                       variables = ['variable_id', 'command'];
-                       values = [];
-                       break;
-               case 'agi':
-                       variables = ['args', 'command'];
-                       values = [];
-                       break;
-               case 'gotoif':
-                       variables = ['condition'];
-                       values = [];
-                       break;
-               case 'gotoiftime':
-                       variables = ['interval_id'];
-                       values = ['0'];
-                       break;
-               case 'gotoifmultitime':
-                       variables = ['interval_id'];
-                       values = ['0'];
-                       break;
-               case 'vswitch':
-                       variables = ['variable_id'];
-                       values = ['0'];
-                       break;
-               case 'saydigits':
-                       variables = ['digits', 'escape_digits'];
-                       values = ['', '#'];
-                       break;
-               case 'saynumber':
-                       variables = ['number', 'escape_digits'];
-                       values = ['', '#'];
-                       break;
-               case 'sayphonetic':
-                       variables = ['text', 'escape_digits'];
-                       values = ['', '#'];
-                       break;
-               case 'record':
-                       variables = ['file', 'timeout', 'escape_digits'];
-                       values = ['', '-1', '#'];
-                       break;
-               case 'dial':
-                       variables = ['sip_id', 'timeout', 'custom_app', 'url'];
-                       values = ['0', '60'];
-                       break;
-               case 'ext_dial':
-                       variables = ['phone', 'trunk_id', 'timeout', 'opts', 'url'];
-                       values = ['', '0', '60'];
-                       break;
-               case 'tts':
-                       variables = ['text', 'google_tts_language'];
-                       values = ['', 'it'];
-                       break;
-               case 'ispeechtts':
-                       variables = ['text', 'key', 'ispeech_tts_language'];
-                       values = ['', '', 'euritalianfemale'];
-                       break;
-               case 'queue':
-                       variables = ['queue_id', 'opts', 'url', 'file_id', 'timeout', 'agi',
-                               'macro', 'gosub', 'position'
-                       ];
-                       values = ['0', '', '', '0', '300'];
-                       break;
-               case 'voicemail':
-                       variables = ['boxnumber', 'context', 'opts'];
-                       values = ['', 'from-voicemail'];
-                       break;
-               case 'subproject':
-                       variables = ['project_id'];
-                       values = ['0'];
-                       break;
-               case 'math':
-                       variables = ['operation', 'variable_id'];
-                       values = ['', '0'];
-                       break;
-               case 'queuelog':
-                       variables = ['queuename', 'agent', 'queue_event', 'data1', 'data2', 'data3',
-                               'data4', 'data5'
-                       ];
-                       values = [];
-                       break;
-               case 'goal':
-                       variables = ['goalname'];
-                       values = [];
-                       break;
-               case 'callback':
-                       variables = ['list_id'];
-                       values = ['0', '{CALLERID(num)}'];
-                       break;
-               default:
-                       variables = [];
-                       values = [];
-                       break;
-       }
-
-       var node = this.createXmlDocument(value, title, variables, values);
-
-       //var cells = [new mxCell((value != null) ? value : '', new mxGeometry(0, 0, width, height), style)];
-       var cells = [new mxCell(node, new mxGeometry(0, 0, width, height), style)];
-       cells[0].vertex = true;
-
-       return this.createVertexTemplateFromCells(cells, width, height, title,
-               showLabel);
-};
-
-/**
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createVertexTemplateFromCells = function(cells, width, height,
-       title, showLabel) {
-       var elt = this.createItem(cells, title, showLabel);
-       var ds = this.createDragSource(elt, this.createDropHandler(cells, true), this
-               .createDragPreview(width, height));
-       this.addClickHandler(elt, ds);
-
-       // Uses guides for vertices only if enabled in graph
-       ds.isGuidesEnabled = mxUtils.bind(this, function() {
-               return this.editorUi.editor.graph.graphHandler.guidesEnabled;
-       });
-
-       // Shows a tooltip with the rendered cell
-       if (!touchStyle) {
-               mxEvent.addListener(elt, 'mousemove', mxUtils.bind(this, function(evt) {
-                       this.showTooltip(elt, cells, title, showLabel);
-               }));
-       }
-
-       return elt;
-};
-
-/**
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createEdgeTemplate = function(style, width, height, value,
-       title, showLabel) {
-       var cells = [new mxCell((value != null) ? value : '', new mxGeometry(0, 0,
-               width, height), style)];
-       cells[0].geometry.setTerminalPoint(new mxPoint(0, height), true);
-       cells[0].geometry.setTerminalPoint(new mxPoint(width, 0), false);
-       cells[0].geometry.relative = true;
-       cells[0].edge = true;
-
-       return this.createEdgeTemplateFromCells(cells, width, height, title,
-               showLabel);
-};
-
-/**
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createEdgeTemplateFromCells = function(cells, width, height,
-       title, showLabel) {
-       var elt = this.createItem(cells, title, showLabel);
-       this.createDragSource(elt, this.createDropHandler(cells, false), this.createDragPreview(
-               width, height));
-
-       // Installs the default edge
-       var graph = this.editorUi.editor.graph;
-       mxEvent.addListener(elt, 'click', mxUtils.bind(this, function(evt) {
-               if (this.installEdges) {
-                       graph.setDefaultEdge(cells[0]);
-               }
-
-               // Highlights the entry for 200ms
-               elt.style.backgroundColor = '#ffffff';
-
-               window.setTimeout(function() {
-                       elt.style.backgroundColor = '';
-               }, 300);
-
-               mxEvent.consume(evt);
-       }));
-
-       // Shows a tooltip with the rendered cell
-       if (!touchStyle) {
-               mxEvent.addListener(elt, 'mousemove', mxUtils.bind(this, function(evt) {
-                       this.showTooltip(elt, cells, title, showLabel);
-               }));
-       }
-
-       return elt;
-};
-
-/**
- * Adds the given palette.
- */
-Sidebar.prototype.addPalette = function(id, title, expanded, onInit) {
-       var elt = this.createTitle(title);
-       this.container.appendChild(elt);
-
-       var div = document.createElement('div');
-       div.className = 'geSidebar';
-
-       if (expanded) {
-               onInit(div);
-               onInit = null;
-       } else {
-               div.style.display = 'none';
-       }
-
-       this.addFoldingHandler(elt, div, onInit);
-
-       var outer = document.createElement('div');
-       outer.appendChild(div);
-       this.container.appendChild(outer);
-
-       // Keeps references to the DOM nodes
-       if (id != null) {
-               this.palettes[id] = [elt, outer];
-       }
-};
-
-/**
- * Create the given title element.
- */
-Sidebar.prototype.addFoldingHandler = function(title, content, funct) {
-       var initialized = false;
-
-       title.style.backgroundImage = (content.style.display == 'none') ?
-               'url(' + IMAGE_PATH + '/collapsed.gif)' : 'url(' + IMAGE_PATH +
-               '/expanded.gif)';
-       title.style.backgroundRepeat = 'no-repeat';
-       title.style.backgroundPosition = '100% 50%';
-
-       mxEvent.addListener(title, 'click', function(evt) {
-               if (content.style.display == 'none') {
-                       if (!initialized) {
-                               initialized = true;
-
-                               if (funct != null) {
-                                       title.style.cursor = 'wait';
-                                       window.setTimeout(function() {
-                                               funct(content);
-                                               title.style.cursor = '';
-                                       }, 0);
-                               }
-                       }
-
-                       title.style.backgroundImage = 'url(' + IMAGE_PATH + '/expanded.gif)';
-                       content.style.display = 'block';
-               } else {
-                       title.style.backgroundImage = 'url(' + IMAGE_PATH + '/collapsed.gif)';
-                       content.style.display = 'none';
-               }
-
-               mxEvent.consume(evt);
-       });
-};
-
-/**
- * Removes the palette for the given ID.
- */
-Sidebar.prototype.removePalette = function(id) {
-       var elts = this.palettes[id];
-
-       if (elts != null) {
-               this.palettes[id] = null;
-
-               for (var i = 0; i < elts.length; i++) {
-                       this.container.removeChild(elts[i]);
-               }
-
-               return true;
-       }
-
-       return false;
-};
-
-/**
- * Adds the given image palette.
- */
-Sidebar.prototype.addImagePalette = function(id, title, prefix, postfix, items,
-       titles) {
-       // Giuseppe Careri
-       // Expanded Sidebar only entry
-       this.addPalette(id, title, (id === 'entry'), mxUtils.bind(this, function(
-               content) {
-               var showTitles = titles != null;
-
-               for (var i = 0; i < items.length; i++) {
-                       var icon = prefix + items[i] + postfix;
-                       content.appendChild(this.createVertexTemplate('image;image=' + icon, 80,
-                               80, items[i], (showTitles) ? titles[i] : null, showTitles));
-               }
-       }));
-};
+var _0x92e8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x61\x6C\x65\x74\x74\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x67\x72\x61\x70\x68","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x65\x64\x69\x74\x6F\x72","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x61\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x6F\x64\x79","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x6D\x6F\x75\x73\x65\x75\x70","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x68\x69\x64\x65\x54\x6F\x6F\x6C\x74\x69\x70","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x67\x65\x74\x53\x6F\x75\x72\x63\x65","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x75\x73\x65\x6F\x75\x74","\x74\x6F\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x6C\x61\x74\x65\x64\x54\x61\x72\x67\x65\x74","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x74\x6F\x6F\x6C\x74\x69\x70\x2E\x70\x6E\x67","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x6F\x67","\x65\x6E\x74\x72\x79","\x67\x65\x74","\x2F\x65\x6E\x74\x72\x79\x2F","\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x73\x74\x61\x72\x74","\x66\x69\x6E\x61\x6C\x6C\x79","\x65\x6E\x64","\x61\x64\x64\x49\x6D\x61\x67\x65\x50\x61\x6C\x65\x74\x74\x65","\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74","\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F","\x61\x6E\x73\x77\x65\x72","\x68\x61\x6E\x67\x75\x70","\x64\x69\x61\x6C","\x65\x78\x74\x5F\x64\x69\x61\x6C","\x71\x75\x65\x75\x65","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x76\x61\x72\x69\x61\x62\x6C\x65","\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2F","\x73\x65\x74","\x6D\x61\x74\x68","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F","\x6D\x65\x6E\x75","\x73\x61\x79\x64\x69\x67\x69\x74\x73","\x73\x61\x79\x6E\x75\x6D\x62\x65\x72","\x73\x61\x79\x70\x68\x6F\x6E\x65\x74\x69\x63","\x74\x74\x73","\x69\x73\x70\x65\x65\x63\x68\x74\x74\x73","\x67\x65\x74\x64\x69\x67\x69\x74\x73","\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2F","\x72\x65\x63\x6F\x72\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x53\x65\x72\x76\x65\x72","\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x73\x65\x72\x76\x65\x72\x2F","\x64\x61\x74\x61\x62\x61\x73\x65","\x69\x73\x70\x65\x65\x63\x68\x61\x73\x72","\x73\x6D\x73","\x63\x61\x6C\x6C\x66\x6C\x6F\x77","\x2F\x63\x61\x6C\x6C\x66\x6C\x6F\x77\x2F","\x67\x6F\x74\x6F\x63","\x67\x6F\x74\x6F\x69\x66","\x67\x6F\x74\x6F\x69\x66\x74\x69\x6D\x65","\x76\x73\x77\x69\x74\x63\x68","\x73\x74\x61\x74\x73","\x2F\x73\x74\x61\x74\x73\x2F","\x67\x6F\x61\x6C","\x67\x65\x6E\x65\x72\x61\x6C","\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F","\x6E\x6F\x6F\x70","\x73\x79\x73\x74\x65\x6D","\x61\x67\x69","\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x61\x70\x70","\x65\x6E\x61\x62\x6C\x65\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x42\x6F\x72\x64\x65\x72","\x74\x68\x75\x6D\x62\x42\x6F\x72\x64\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x44\x65\x6C\x61\x79","\x69\x6E\x73\x74\x61\x6C\x6C\x45\x64\x67\x65\x73","\x67\x65\x61\x72\x49\x6D\x61\x67\x65","\x2F\x63\x6C\x69\x70\x61\x72\x74\x2F\x47\x65\x61\x72\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x74\x68\x75\x6D\x62\x57\x69\x64\x74\x68","\x74\x68\x75\x6D\x62\x48\x65\x69\x67\x68\x74","\x74\x68\x75\x6D\x62\x50\x61\x64\x64\x69\x6E\x67","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x53\x69\x7A\x65","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70","\x74\x68\x72\x65\x61\x64","\x63\x6C\x65\x61\x72\x54\x69\x6D\x65\x6F\x75\x74","\x74\x6F\x6F\x6C\x74\x69\x70","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x54\x6F\x6F\x6C\x74\x69\x70","\x67\x72\x61\x70\x68\x32","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x76\x69\x65\x77","\x49\x53\x5F\x53\x56\x47","\x63\x61\x6E\x76\x61\x73","\x72\x65\x6C\x61\x74\x69\x76\x65","\x74\x6F\x6F\x6C\x74\x69\x70\x49\x6D\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x31\x34\x70\x78","\x68\x65\x69\x67\x68\x74","\x32\x37\x70\x78","\x64\x69\x73\x70\x6C\x61\x79","\x62\x6C\x6F\x63\x6B","\x6C\x61\x62\x65\x6C\x73\x56\x69\x73\x69\x62\x6C\x65","\x63\x6C\x65\x61\x72","\x6D\x6F\x64\x65\x6C","\x61\x64\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x76\x69\x73\x69\x62\x6C\x65","\x70\x78","\x6C\x65\x6E\x67\x74\x68","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70","\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x67\x72\x61\x79","\x74\x65\x78\x74\x41\x6C\x69\x67\x6E","\x63\x65\x6E\x74\x65\x72","\x31\x30\x30\x25","\x70\x61\x64\x64\x69\x6E\x67\x54\x6F\x70","\x32\x70\x78","\x36\x70\x78","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","","\x77\x72\x69\x74\x65","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x74\x6F\x70","\x6E\x6F\x6E\x65","\x78","\x6D\x69\x6E","\x79","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x6D\x61\x78","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x2C","\x29","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6C\x65\x66\x74","\x64\x72\x61\x77\x50\x61\x6E\x65","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x2D\x73\x69\x64\x65\x62\x61\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x54\x69\x74\x6C\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x54\x69\x74\x6C\x65","\x63\x72\x65\x61\x74\x65\x54\x68\x75\x6D\x62","\x73\x63\x61\x6C\x65\x41\x6E\x64\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x66\x6C\x6F\x6F\x72","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x4E\x4F\x5F\x46\x4F","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x6F\x77\x6E\x65\x72\x53\x56\x47\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x43\x61\x6E\x76\x61\x73","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x49\x53\x5F\x49\x45\x36","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x63\x75\x72\x73\x6F\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x6D\x69\x6E\x57\x69\x64\x74\x68","\x6D\x69\x6E\x48\x65\x69\x67\x68\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x6E\x6F\x77\x72\x61\x70","\x49\x53\x5F\x49\x45","\x34\x70\x78","\x63\x72\x65\x61\x74\x65\x49\x74\x65\x6D","\x67\x65\x49\x74\x65\x6D","\x70\x61\x64\x64\x69\x6E\x67","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x63\x72\x65\x61\x74\x65\x44\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x49\x6D\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x56\x61\x6C\x69\x64\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x69\x73\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x70\x6C\x69\x74\x54\x61\x72\x67\x65\x74","\x73\x70\x6C\x69\x74\x45\x64\x67\x65","\x69\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x50\x72\x65\x76\x69\x65\x77","\x62\x6F\x72\x64\x65\x72","\x31\x70\x78\x20\x64\x61\x73\x68\x65\x64\x20\x62\x6C\x61\x63\x6B","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x53\x6F\x75\x72\x63\x65","\x61\x75\x74\x6F\x73\x63\x72\x6F\x6C\x6C","\x6D\x61\x6B\x65\x44\x72\x61\x67\x67\x61\x62\x6C\x65","\x67\x65\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x61\x70\x70\x6C\x79","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x6D\x6F\x75\x73\x65\x55\x70","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x63\x75\x72\x72\x65\x6E\x74\x47\x72\x61\x70\x68","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x61\x62\x73","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x64\x72\x6F\x70","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6C\x61\x62\x65\x6C","\x66\x6F\x72\x45\x61\x63\x68","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65","\x6B\x65\x79","\x69\x73\x70\x65\x65\x63\x68\x5F\x61\x73\x72\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x4B\x65\x79","\x62\x65\x65\x70","\x69\x74\x2D\x49\x54","\x23","\x66\x69\x6C\x65\x5F\x69\x64","\x6F\x70\x74\x73","\x30","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x64\x69\x67\x69\x74","\x35","\x31","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x72\x65\x74\x72\x79","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x6D\x61\x78\x64\x69\x67\x69\x74","\x31\x30","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x6F\x70\x74\x69\x6F\x6E\x73","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x76\x61\x6C\x75\x65","\x6F\x64\x62\x63\x5F\x69\x64","\x71\x75\x65\x72\x79","\x6F\x75\x74\x70\x75\x74","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x63\x6F\x6D\x6D\x61\x6E\x64","\x61\x72\x67\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x67\x6F\x74\x6F\x69\x66\x6D\x75\x6C\x74\x69\x74\x69\x6D\x65","\x64\x69\x67\x69\x74\x73","\x65\x73\x63\x61\x70\x65\x5F\x64\x69\x67\x69\x74\x73","\x6E\x75\x6D\x62\x65\x72","\x74\x65\x78\x74","\x66\x69\x6C\x65","\x2D\x31","\x73\x69\x70\x5F\x69\x64","\x75\x72\x6C","\x36\x30","\x70\x68\x6F\x6E\x65","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x67\x6F\x6F\x67\x6C\x65\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x74","\x69\x73\x70\x65\x65\x63\x68\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x73\x70\x65\x65\x64","\x65\x75\x72\x69\x74\x61\x6C\x69\x61\x6E\x66\x65\x6D\x61\x6C\x65","\x71\x75\x65\x75\x65\x5F\x69\x64","\x6D\x61\x63\x72\x6F","\x67\x6F\x73\x75\x62","\x33\x30\x30","\x6D\x61\x69\x6C\x62\x6F\x78","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x5F\x65\x76\x65\x6E\x74","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x64\x61\x74\x61\x35","\x71\x75\x65\x75\x65\x6C\x6F\x67","\x67\x6F\x61\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x6C\x69\x73\x74\x5F\x69\x64","\x64\x65\x6C\x61\x79","\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x74\x6F","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x76\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x69\x73\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x65\x64\x67\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x23\x66\x66\x66\x66\x66\x66","\x61\x64\x64\x50\x61\x6C\x65\x74\x74\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72","\x61\x64\x64\x46\x6F\x6C\x64\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x2F\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x2E\x67\x69\x66\x29","\x2F\x65\x78\x70\x61\x6E\x64\x65\x64\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x31\x30\x30\x25\x20\x35\x30\x25","\x77\x61\x69\x74","\x72\x65\x6D\x6F\x76\x65\x50\x61\x6C\x65\x74\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D"];_0x92e8[0];function Sidebar(_0xf826x2,_0xf826x3){this[_0x92e8[1]]=_0xf826x2;this[_0x92e8[2]]=_0xf826x3;this[_0x92e8[3]]= new Object();this[_0x92e8[4]]=true;this[_0x92e8[5]]= new Graph(document[_0x92e8[7]](_0x92e8[6]),null,null,this[_0x92e8[1]][_0x92e8[9]][_0x92e8[5]][_0x92e8[8]]());this[_0x92e8[5]][_0x92e8[10]]=false;this[_0x92e8[5]][_0x92e8[11]]=false;this[_0x92e8[5]][_0x92e8[12]](false);this[_0x92e8[5]][_0x92e8[13]]=false;this[_0x92e8[5]][_0x92e8[14]](false);this[_0x92e8[5]][_0x92e8[15]](false);this[_0x92e8[5]][_0x92e8[2]][_0x92e8[17]][_0x92e8[16]]=_0x92e8[18];this[_0x92e8[5]][_0x92e8[2]][_0x92e8[17]][_0x92e8[19]]=_0x92e8[20];document[_0x92e8[22]][_0x92e8[21]](this[_0x92e8[5]][_0x92e8[2]]);if(!mxClient[_0x92e8[23]]){mxEvent[_0x92e8[26]](document,_0x92e8[24],mxUtils[_0x92e8[25]](this,function(){this[_0x92e8[4]]=true}));mxEvent[_0x92e8[26]](_0xf826x3,_0x92e8[27],mxUtils[_0x92e8[25]](this,function(){this[_0x92e8[4]]=true}));mxEvent[_0x92e8[26]](document,_0x92e8[28],mxUtils[_0x92e8[25]](this,function(){this[_0x92e8[4]]=false;this[_0x92e8[29]]()}));mxEvent[_0x92e8[26]](document,_0x92e8[30],mxUtils[_0x92e8[25]](this,function(_0xf826x4){var _0xf826x5=mxEvent[_0x92e8[31]](_0xf826x4);while(_0xf826x5!=null){if(_0xf826x5==this[_0x92e8[32]]){return};_0xf826x5=_0xf826x5[_0x92e8[33]]};this[_0x92e8[29]]()}));mxEvent[_0x92e8[26]](document,_0x92e8[34],mxUtils[_0x92e8[25]](this,function(_0xf826x4){if(_0xf826x4[_0x92e8[35]]==null&&_0xf826x4[_0x92e8[36]]==null){this[_0x92e8[29]]()}}))};this[_0x92e8[37]](); new Image()[_0x92e8[38]]=IMAGE_PATH+_0x92e8[39]}Sidebar[_0x92e8[40]][_0x92e8[37]]=function(){var _0xf826x6=STENCIL_PATH;console[_0x92e8[41]](_0xf826x6);this[_0x92e8[49]](_0x92e8[42],mxResources[_0x92e8[43]](_0x92e8[42]),_0xf826x6+_0x92e8[44],_0x92e8[45],[_0x92e8[46],_0x92e8[47],_0x92e8[48]],[mxResources[_0x92e8[43]](_0x92e8[46]),mxResources[_0x92e8[43]](_0x92e8[47]),mxResources[_0x92e8[43]](_0x92e8[48])]);this[_0x92e8[49]](_0x92e8[50],mxResources[_0x92e8[43]](_0x92e8[50]),_0xf826x6+_0x92e8[51],_0x92e8[45],[_0x92e8[52],_0x92e8[53],_0x92e8[54],_0x92e8[55],_0x92e8[56],_0x92e8[57],_0x92e8[58]],[mxResources[_0x92e8[43]](_0x92e8[52]),mxResources[_0x92e8[43]](_0x92e8[53]),mxResources[_0x92e8[43]](_0x92e8[54]),mxResources[_0x92e8[43]](_0x92e8[55]),mxResources[_0x92e8[43]](_0x92e8[56]),mxResources[_0x92e8[43]](_0x92e8[57]),mxResources[_0x92e8[43]](_0x92e8[58])]);this[_0x92e8[49]](_0x92e8[59],mxResources[_0x92e8[43]](_0x92e8[59]),_0xf826x6+_0x92e8[60],_0x92e8[45],[_0x92e8[61],_0x92e8[62]],[mxResources[_0x92e8[43]](_0x92e8[61]),mxResources[_0x92e8[43]](_0x92e8[62])]);this[_0x92e8[49]](_0x92e8[63],mxResources[_0x92e8[43]](_0x92e8[63]),_0xf826x6+_0x92e8[64],_0x92e8[45],[_0x92e8[63],_0x92e8[65],_0x92e8[66],_0x92e8[67],_0x92e8[68],_0x92e8[69],_0x92e8[70],_0x92e8[71]],[mxResources[_0x92e8[43]](_0x92e8[63]),mxResources[_0x92e8[43]](_0x92e8[65]),mxResources[_0x92e8[43]](_0x92e8[66]),mxResources[_0x92e8[43]](_0x92e8[67]),mxResources[_0x92e8[43]](_0x92e8[68]),mxResources[_0x92e8[43]](_0x92e8[69]),mxResources[_0x92e8[43]](_0x92e8[70]),mxResources[_0x92e8[43]](_0x92e8[71])]);this[_0x92e8[49]](_0x92e8[72],mxResources[_0x92e8[43]](_0x92e8[72]),_0xf826x6+_0x92e8[73],_0x92e8[45],[_0x92e8[74]],[mxResources[_0x92e8[43]](_0x92e8[74])]);this[_0x92e8[49]](_0x92e8[75],mxResources[_0x92e8[43]](_0x92e8[75]),_0xf826x6+_0x92e8[76],_0x92e8[45],[_0x92e8[77],_0x92e8[78],_0x92e8[79]],[mxResources[_0x92e8[43]](_0x92e8[77]),mxResources[_0x92e8[43]](_0x92e8[78]),mxResources[_0x92e8[43]](_0x92e8[79])]);this[_0x92e8[49]](_0x92e8[80],mxResources[_0x92e8[43]](_0x92e8[80]),_0xf826x6+_0x92e8[81],_0x92e8[45],[_0x92e8[82],_0x92e8[83],_0x92e8[84],_0x92e8[85]],[mxResources[_0x92e8[43]](_0x92e8[82]),mxResources[_0x92e8[43]](_0x92e8[83]),mxResources[_0x92e8[43]](_0x92e8[84]),mxResources[_0x92e8[43]](_0x92e8[85])]);this[_0x92e8[49]](_0x92e8[86],mxResources[_0x92e8[43]](_0x92e8[86]),_0xf826x6+_0x92e8[87],_0x92e8[45],[_0x92e8[88]],[mxResources[_0x92e8[43]](_0x92e8[88])]);this[_0x92e8[49]](_0x92e8[89],mxResources[_0x92e8[43]](_0x92e8[89]),_0xf826x6+_0x92e8[90],_0x92e8[45],[_0x92e8[91],_0x92e8[92],_0x92e8[93],_0x92e8[94],_0x92e8[95]],[mxResources[_0x92e8[43]](_0x92e8[91]),mxResources[_0x92e8[43]](_0x92e8[92]),mxResources[_0x92e8[43]](_0x92e8[93]),mxResources[_0x92e8[43]](_0x92e8[94]),mxResources[_0x92e8[43]](_0x92e8[95])])};Sidebar[_0x92e8[40]][_0x92e8[96]]=!mxClient[_0x92e8[23]];Sidebar[_0x92e8[40]][_0x92e8[97]]=16;Sidebar[_0x92e8[40]][_0x92e8[98]]=3;Sidebar[_0x92e8[40]][_0x92e8[99]]=300;Sidebar[_0x92e8[40]][_0x92e8[100]]=true;Sidebar[_0x92e8[40]][_0x92e8[101]]=STENCIL_PATH+_0x92e8[102];Sidebar[_0x92e8[40]][_0x92e8[103]]=34;Sidebar[_0x92e8[40]][_0x92e8[104]]=34;Sidebar[_0x92e8[40]][_0x92e8[105]]=2;Sidebar[_0x92e8[40]][_0x92e8[106]]=9;Sidebar[_0x92e8[40]][_0x92e8[107]]=false;Sidebar[_0x92e8[40]][_0x92e8[108]]=false;Sidebar[_0x92e8[40]][_0x92e8[109]]=function(_0xf826x7,_0xf826x8,_0xf826x9,_0xf826xa){if(this[_0x92e8[96]]&&this[_0x92e8[4]]){if(this[_0x92e8[32]]!=_0xf826x7){if(this[_0x92e8[110]]!=null){window[_0x92e8[111]](this[_0x92e8[110]]);this[_0x92e8[110]]=null};var _0xf826xb=mxUtils[_0x92e8[25]](this,function(){if(this[_0x92e8[112]]==null){this[_0x92e8[112]]=document[_0x92e8[7]](_0x92e8[6]);this[_0x92e8[112]][_0x92e8[113]]=_0x92e8[114];document[_0x92e8[22]][_0x92e8[21]](this[_0x92e8[112]]);this[_0x92e8[115]]= new Graph(this[_0x92e8[112]],null,null,this[_0x92e8[1]][_0x92e8[9]][_0x92e8[5]][_0x92e8[8]]());this[_0x92e8[115]][_0x92e8[117]][_0x92e8[116]](this[_0x92e8[97]],this[_0x92e8[97]]);this[_0x92e8[115]][_0x92e8[10]]=false;this[_0x92e8[115]][_0x92e8[11]]=false;this[_0x92e8[115]][_0x92e8[13]]=false;this[_0x92e8[115]][_0x92e8[14]](false);this[_0x92e8[115]][_0x92e8[12]](false);this[_0x92e8[115]][_0x92e8[15]](false);if(!mxClient[_0x92e8[118]]){this[_0x92e8[115]][_0x92e8[117]][_0x92e8[119]][_0x92e8[17]][_0x92e8[19]]=_0x92e8[120]};this[_0x92e8[121]]=mxUtils[_0x92e8[122]](IMAGE_PATH+_0x92e8[39]);this[_0x92e8[121]][_0x92e8[17]][_0x92e8[19]]=_0x92e8[20];this[_0x92e8[121]][_0x92e8[17]][_0x92e8[123]]=_0x92e8[124];this[_0x92e8[121]][_0x92e8[17]][_0x92e8[125]]=_0x92e8[126];document[_0x92e8[22]][_0x92e8[21]](this[_0x92e8[121]])};this[_0x92e8[112]][_0x92e8[17]][_0x92e8[127]]=_0x92e8[128];this[_0x92e8[115]][_0x92e8[129]]=(_0xf826xa==null||_0xf826xa);this[_0x92e8[115]][_0x92e8[131]][_0x92e8[130]]();this[_0x92e8[115]][_0x92e8[132]](_0xf826x8);var _0xf826xc=this[_0x92e8[115]][_0x92e8[133]]();var _0xf826xd=_0xf826xc[_0x92e8[123]]+2*this[_0x92e8[97]];var _0xf826xe=_0xf826xc[_0x92e8[125]]+2*this[_0x92e8[97]];if(mxClient[_0x92e8[134]]){_0xf826xd+=4;_0xf826xe+=4;this[_0x92e8[112]][_0x92e8[17]][_0x92e8[135]]=_0x92e8[18]}else {this[_0x92e8[112]][_0x92e8[17]][_0x92e8[135]]=_0x92e8[136]};this[_0x92e8[121]][_0x92e8[17]][_0x92e8[16]]=_0x92e8[136];this[_0x92e8[112]][_0x92e8[17]][_0x92e8[123]]=_0xf826xd+_0x92e8[137];if(this[_0x92e8[108]]&&_0xf826x9!=null&&_0xf826x9[_0x92e8[138]]>0){if(this[_0x92e8[139]]==null){this[_0x92e8[139]]=document[_0x92e8[7]](_0x92e8[6]);this[_0x92e8[139]][_0x92e8[17]][_0x92e8[140]]=_0x92e8[141];this[_0x92e8[139]][_0x92e8[17]][_0x92e8[142]]=_0x92e8[143];this[_0x92e8[139]][_0x92e8[17]][_0x92e8[123]]=_0x92e8[144];this[_0x92e8[139]][_0x92e8[17]][_0x92e8[135]]=_0x92e8[18];if(mxClient[_0x92e8[118]]){this[_0x92e8[139]][_0x92e8[17]][_0x92e8[145]]=_0x92e8[146]}else {this[_0x92e8[139]][_0x92e8[17]][_0x92e8[19]]=_0x92e8[20];this[_0x92e8[139]][_0x92e8[17]][_0x92e8[145]]=_0x92e8[147]};this[_0x92e8[112]][_0x92e8[21]](this[_0x92e8[139]])}else {this[_0x92e8[139]][_0x92e8[148]]=_0x92e8[149]};this[_0x92e8[139]][_0x92e8[17]][_0x92e8[127]]=_0x92e8[149];mxUtils[_0x92e8[150]](this[_0x92e8[139]],_0xf826x9);var _0xf826xf=this[_0x92e8[139]][_0x92e8[151]]+10;_0xf826xe+=_0xf826xf;if(mxClient[_0x92e8[118]]){this[_0x92e8[139]][_0x92e8[17]][_0x92e8[152]]=(-_0xf826xf)+_0x92e8[137]}else {_0xf826xe-=6;this[_0x92e8[139]][_0x92e8[17]][_0x92e8[153]]=(_0xf826xe-_0xf826xf)+_0x92e8[137]}}else {if(this[_0x92e8[139]]!=null&&this[_0x92e8[139]][_0x92e8[33]]!=null){this[_0x92e8[139]][_0x92e8[17]][_0x92e8[127]]=_0x92e8[154]}};this[_0x92e8[112]][_0x92e8[17]][_0x92e8[125]]=_0xf826xe+_0x92e8[137];var _0xf826x10=-Math[_0x92e8[156]](0,_0xf826xc[_0x92e8[155]]-this[_0x92e8[97]]);var _0xf826x11=-Math[_0x92e8[156]](0,_0xf826xc[_0x92e8[157]]-this[_0x92e8[97]]);var _0xf826x12=this[_0x92e8[2]][_0x92e8[158]]+this[_0x92e8[1]][_0x92e8[159]]+3;var _0xf826x13=Math[_0x92e8[162]](0,(this[_0x92e8[2]][_0x92e8[160]]+_0xf826x7[_0x92e8[160]]-this[_0x92e8[2]][_0x92e8[161]]-_0xf826xe/2+16));if(mxClient[_0x92e8[118]]){this[_0x92e8[115]][_0x92e8[117]][_0x92e8[119]][_0x92e8[167]](_0x92e8[163],_0x92e8[164]+_0xf826x10+_0x92e8[165]+_0xf826x11+_0x92e8[166])}else {this[_0x92e8[115]][_0x92e8[117]][_0x92e8[169]][_0x92e8[17]][_0x92e8[168]]=_0xf826x10+_0x92e8[137];this[_0x92e8[115]][_0x92e8[117]][_0x92e8[169]][_0x92e8[17]][_0x92e8[153]]=_0xf826x11+_0x92e8[137]};_0xf826x12+=document[_0x92e8[172]](_0x92e8[171])[_0x92e8[170]];_0xf826x13+=90;this[_0x92e8[112]][_0x92e8[17]][_0x92e8[19]]=_0x92e8[20];this[_0x92e8[112]][_0x92e8[17]][_0x92e8[168]]=_0xf826x12+_0x92e8[137];this[_0x92e8[112]][_0x92e8[17]][_0x92e8[153]]=_0xf826x13+_0x92e8[137];this[_0x92e8[121]][_0x92e8[17]][_0x92e8[168]]=(_0xf826x12-13)+_0x92e8[137];this[_0x92e8[121]][_0x92e8[17]][_0x92e8[153]]=(_0xf826x13+_0xf826xe/2-13)+_0x92e8[137]});if(this[_0x92e8[112]]!=null&&this[_0x92e8[112]][_0x92e8[17]][_0x92e8[127]]!=_0x92e8[154]){_0xf826xb()}else {this[_0x92e8[110]]=window[_0x92e8[173]](_0xf826xb,this[_0x92e8[99]])};this[_0x92e8[32]]=_0xf826x7}}};Sidebar[_0x92e8[40]][_0x92e8[29]]=function(){if(this[_0x92e8[110]]!=null){window[_0x92e8[111]](this[_0x92e8[110]]);this[_0x92e8[110]]=null};if(this[_0x92e8[112]]!=null){this[_0x92e8[112]][_0x92e8[17]][_0x92e8[127]]=_0x92e8[154];this[_0x92e8[121]][_0x92e8[17]][_0x92e8[16]]=_0x92e8[18];this[_0x92e8[32]]=null}};Sidebar[_0x92e8[40]][_0x92e8[174]]=function(_0xf826x14){var _0xf826x7=document[_0x92e8[7]](_0x92e8[175]);_0xf826x7[_0x92e8[167]](_0x92e8[176],_0x92e8[177]);_0xf826x7[_0x92e8[113]]=_0x92e8[178];mxUtils[_0x92e8[150]](_0xf826x7,_0xf826x14);return _0xf826x7};Sidebar[_0x92e8[40]][_0x92e8[179]]=function(_0xf826x8,_0xf826xd,_0xf826xe,_0xf826x15,_0xf826x9,_0xf826xa){this[_0x92e8[5]][_0x92e8[129]]=(_0xf826xa==null||_0xf826xa);this[_0x92e8[5]][_0x92e8[117]][_0x92e8[180]](1,0,0);this[_0x92e8[5]][_0x92e8[132]](_0xf826x8);var _0xf826xc=this[_0x92e8[5]][_0x92e8[133]]();var _0xf826x16=this[_0x92e8[98]];var _0xf826x17=Math[_0x92e8[156]]((_0xf826xd-2)/(_0xf826xc[_0x92e8[123]]-_0xf826xc[_0x92e8[155]]+_0xf826x16),(_0xf826xe-2)/(_0xf826xc[_0x92e8[125]]-_0xf826xc[_0x92e8[157]]+_0xf826x16));var _0xf826x10=-Math[_0x92e8[156]](_0xf826xc[_0x92e8[155]],0);var _0xf826x11=-Math[_0x92e8[156]](_0xf826xc[_0x92e8[157]],0);this[_0x92e8[5]][_0x92e8[117]][_0x92e8[180]](_0xf826x17,_0xf826x10,_0xf826x11);_0xf826xc=this[_0x92e8[5]][_0x92e8[133]]();var _0xf826x18=Math[_0x92e8[162]](0,Math[_0x92e8[181]]((_0xf826xd-_0xf826xc[_0x92e8[123]]-_0xf826xc[_0x92e8[155]])/2));var _0xf826xf=Math[_0x92e8[162]](0,Math[_0x92e8[181]]((_0xf826xe-_0xf826xc[_0x92e8[125]]-_0xf826xc[_0x92e8[157]])/2));var _0xf826x19=null;if(this[_0x92e8[5]][_0x92e8[182]]==mxConstants[_0x92e8[183]]&&!mxClient[_0x92e8[184]]){_0xf826x19=this[_0x92e8[5]][_0x92e8[117]][_0x92e8[187]]()[_0x92e8[186]][_0x92e8[185]](true)}else {_0xf826x19=this[_0x92e8[5]][_0x92e8[2]][_0x92e8[185]](false);_0xf826x19[_0x92e8[148]]=this[_0x92e8[5]][_0x92e8[2]][_0x92e8[148]]};this[_0x92e8[5]][_0x92e8[188]]()[_0x92e8[130]]();if(mxClient[_0x92e8[189]]){_0xf826x15[_0x92e8[17]][_0x92e8[190]]=_0x92e8[191]+this[_0x92e8[1]][_0x92e8[9]][_0x92e8[192]]+_0x92e8[166]};var _0xf826x1a=3;_0xf826x19[_0x92e8[17]][_0x92e8[19]]=_0x92e8[120];_0xf826x19[_0x92e8[17]][_0x92e8[135]]=_0x92e8[18];_0xf826x19[_0x92e8[17]][_0x92e8[193]]=_0x92e8[194];_0xf826x19[_0x92e8[17]][_0x92e8[168]]=(_0xf826x18+_0xf826x1a)+_0x92e8[137];_0xf826x19[_0x92e8[17]][_0x92e8[153]]=(_0xf826xf+_0xf826x1a)+_0x92e8[137];_0xf826x19[_0x92e8[17]][_0x92e8[123]]=_0xf826xd+_0x92e8[137];_0xf826x19[_0x92e8[17]][_0x92e8[125]]=_0xf826xe+_0x92e8[137];_0xf826x19[_0x92e8[17]][_0x92e8[16]]=_0x92e8[149];_0xf826x19[_0x92e8[17]][_0x92e8[195]]=_0x92e8[149];_0xf826x19[_0x92e8[17]][_0x92e8[196]]=_0x92e8[149];_0xf826x15[_0x92e8[21]](_0xf826x19);if(this[_0x92e8[107]]&&_0xf826x9!=null){var _0xf826x1b=(mxClient[_0x92e8[134]])?2*this[_0x92e8[105]]+2:0;_0xf826x15[_0x92e8[17]][_0x92e8[125]]=(this[_0x92e8[104]]+_0xf826x1b+this[_0x92e8[106]]+8)+_0x92e8[137];var _0xf826x1c=document[_0x92e8[7]](_0x92e8[6]);_0xf826x1c[_0x92e8[17]][_0x92e8[197]]=this[_0x92e8[106]]+_0x92e8[137];_0xf826x1c[_0x92e8[17]][_0x92e8[142]]=_0x92e8[143];_0xf826x1c[_0x92e8[17]][_0x92e8[198]]=_0x92e8[199];if(mxClient[_0x92e8[200]]){_0xf826x1c[_0x92e8[17]][_0x92e8[125]]=(this[_0x92e8[106]]+12)+_0x92e8[137]};_0xf826x1c[_0x92e8[17]][_0x92e8[145]]=_0x92e8[201];mxUtils[_0x92e8[150]](_0xf826x1c,_0xf826x9);_0xf826x15[_0x92e8[21]](_0xf826x1c)}};Sidebar[_0x92e8[40]][_0x92e8[202]]=function(_0xf826x8,_0xf826x9,_0xf826xa){var _0xf826x7=document[_0x92e8[7]](_0x92e8[175]);_0xf826x7[_0x92e8[167]](_0x92e8[176],_0x92e8[177]);_0xf826x7[_0x92e8[113]]=_0x92e8[203];_0xf826x7[_0x92e8[17]][_0x92e8[135]]=_0x92e8[18];var _0xf826x1b=(mxClient[_0x92e8[134]])?8+2*this[_0x92e8[105]]:6;_0xf826x7[_0x92e8[17]][_0x92e8[123]]=(this[_0x92e8[103]]+_0xf826x1b)+_0x92e8[137];_0xf826x7[_0x92e8[17]][_0x92e8[125]]=(this[_0x92e8[104]]+_0xf826x1b)+_0x92e8[137];_0xf826x7[_0x92e8[17]][_0x92e8[204]]=this[_0x92e8[105]]+_0x92e8[137];mxEvent[_0x92e8[26]](_0xf826x7,_0x92e8[205],function(_0xf826x4){mxEvent[_0x92e8[206]](_0xf826x4)});this[_0x92e8[179]](_0xf826x8,this[_0x92e8[103]],this[_0x92e8[104]],_0xf826x7,_0xf826x9,_0xf826xa);return _0xf826x7};Sidebar[_0x92e8[40]][_0x92e8[207]]=function(_0xf826x8,_0xf826x1d){return function(_0xf826x1e,_0xf826x4,_0xf826x1f,_0xf826x20,_0xf826x21){if(_0xf826x1e[_0x92e8[208]]()){_0xf826x8=_0xf826x1e[_0x92e8[209]](_0xf826x8);if(_0xf826x8[_0x92e8[138]]>0){var _0xf826x22=(_0xf826x1f!=null)?_0xf826x1e[_0x92e8[210]](_0xf826x1f,_0xf826x8,_0xf826x4):false;var _0xf826x23=null;if(_0xf826x1f!=null&& !_0xf826x22){_0xf826x1f=null};if(_0xf826x1d&&_0xf826x1e[_0x92e8[211]]()&&_0xf826x1e[_0x92e8[212]](_0xf826x1f,_0xf826x8,_0xf826x4)){_0xf826x1e[_0x92e8[213]](_0xf826x1f,_0xf826x8,null,_0xf826x20,_0xf826x21);_0xf826x23=_0xf826x8}else {if(_0xf826x8[_0x92e8[138]]>0){_0xf826x23=_0xf826x1e[_0x92e8[214]](_0xf826x8,_0xf826x20,_0xf826x21,_0xf826x1f)}};if(_0xf826x23!=null&&_0xf826x23[_0x92e8[138]]>0){_0xf826x1e[_0x92e8[215]](_0xf826x23[0]);_0xf826x1e[_0x92e8[216]](_0xf826x23)}}}}};Sidebar[_0x92e8[40]][_0x92e8[217]]=function(_0xf826xd,_0xf826xe){var _0xf826x7=document[_0x92e8[7]](_0x92e8[6]);_0xf826x7[_0x92e8[17]][_0x92e8[218]]=_0x92e8[219];_0xf826x7[_0x92e8[17]][_0x92e8[123]]=_0xf826xd+_0x92e8[137];_0xf826x7[_0x92e8[17]][_0x92e8[125]]=_0xf826xe+_0x92e8[137];return _0xf826x7};Sidebar[_0x92e8[40]][_0x92e8[220]]=function(_0xf826x7,_0xf826x24,_0xf826x25){var _0xf826x26=mxUtils[_0x92e8[222]](_0xf826x7,this[_0x92e8[1]][_0x92e8[9]][_0x92e8[5]],_0xf826x24,_0xf826x25,0,0,this[_0x92e8[1]][_0x92e8[9]][_0x92e8[5]][_0x92e8[221]],true,true);_0xf826x26[_0x92e8[223]]=function(_0xf826x1e,_0xf826x20,_0xf826x21){var _0xf826x1f=mxDragSource[_0x92e8[40]][_0x92e8[223]][_0x92e8[224]](this,arguments);if(!_0xf826x1e[_0x92e8[225]](_0xf826x1f)){_0xf826x1f=null};return _0xf826x1f};return _0xf826x26};Sidebar[_0x92e8[40]][_0x92e8[226]]=function(_0xf826x7,_0xf826x27){var _0xf826x1e=this[_0x92e8[1]][_0x92e8[9]][_0x92e8[5]];var _0xf826x28=null;mxEvent[_0x92e8[229]](_0xf826x7,function(_0xf826x4){_0xf826x28= new mxPoint(mxEvent[_0x92e8[227]](_0xf826x4),mxEvent[_0x92e8[228]](_0xf826x4))});var _0xf826x29=_0xf826x27[_0x92e8[230]];_0xf826x27[_0x92e8[230]]=function(_0xf826x4){if(!mxEvent[_0x92e8[231]](_0xf826x4)&&this[_0x92e8[232]]==null&&_0xf826x28!=null){var _0xf826x2a=_0xf826x1e[_0x92e8[233]];if(Math[_0x92e8[234]](_0xf826x28[_0x92e8[155]]-mxEvent[_0x92e8[227]](_0xf826x4))<=_0xf826x2a&&Math[_0x92e8[234]](_0xf826x28[_0x92e8[157]]-mxEvent[_0x92e8[228]](_0xf826x4))<=_0xf826x2a){var _0xf826x2b=_0xf826x1e[_0x92e8[235]]();_0xf826x27[_0x92e8[236]](_0xf826x1e,_0xf826x4,null,_0xf826x2b,_0xf826x2b)}};_0xf826x29[_0x92e8[224]](this,arguments);_0xf826x28=null}};Sidebar[_0x92e8[40]][_0x92e8[237]]=function(_0xf826x2c,_0xf826x14,_0xf826x2d,_0xf826x2e){var _0xf826x2f=mxUtils[_0x92e8[237]]();var _0xf826x19=_0xf826x2f[_0x92e8[7]](_0xf826x2c);_0xf826x19[_0x92e8[167]](_0x92e8[238],_0xf826x14);_0xf826x2d[_0x92e8[239]](function(_0xf826x30,_0xf826x31){_0xf826x19[_0x92e8[167]](_0xf826x30,_0xf826x2e[_0xf826x31]?_0xf826x2e[_0xf826x31]:_0x92e8[149])});return _0xf826x19};Sidebar[_0x92e8[40]][_0x92e8[240]]=function(_0xf826x32,_0xf826xd,_0xf826xe,_0xf826x33,_0xf826x9,_0xf826xa){var _0xf826x2d=[];var _0xf826x2e=[];switch(_0xf826x33){case _0x92e8[52]:break;case _0x92e8[78]:_0xf826x2d=[_0x92e8[241],_0x92e8[131],_0x92e8[242],_0x92e8[243],_0x92e8[244],_0x92e8[245]];_0xf826x2e=[_0x92e8[149],0,_0x92e8[246],1,_0x92e8[247],true];break;case _0x92e8[63]:_0xf826x2d=[_0x92e8[248],_0x92e8[249]];_0xf826x2e=[_0x92e8[250]];break;case _0x92e8[255]:_0xf826x2d=[_0x92e8[248],_0x92e8[251],_0x92e8[252]];_0xf826x2e=[_0x92e8[250],_0x92e8[253],_0x92e8[254]];break;case _0x92e8[65]:_0xf826x2d=[_0x92e8[248],_0x92e8[251],_0x92e8[252],_0x92e8[256],_0x92e8[257]];_0xf826x2e=[_0x92e8[250],_0x92e8[253],_0x92e8[254],_0x92e8[254],_0x92e8[250]];break;case _0x92e8[71]:_0xf826x2d=[_0x92e8[248],_0x92e8[251],_0x92e8[258],_0x92e8[259],_0x92e8[256],_0x92e8[257]];_0xf826x2e=[_0x92e8[250],_0x92e8[253],_0x92e8[254],_0x92e8[260],_0x92e8[254],_0x92e8[250]];break;case _0x92e8[95]:_0xf826x2d=[_0x92e8[261],_0x92e8[262]];_0xf826x2e=[_0x92e8[149],_0x92e8[149]];break;case _0x92e8[61]:_0xf826x2d=[_0x92e8[257],_0x92e8[263]];_0xf826x2e=[_0x92e8[250],_0x92e8[149]];break;case _0x92e8[77]:_0xf826x2d=[_0x92e8[264],_0x92e8[265],_0x92e8[257]];_0xf826x2e=[_0x92e8[250],_0x92e8[149],_0x92e8[250]];break;case _0x92e8[91]:_0xf826x2d=[_0x92e8[266]];_0xf826x2e=[];break;case _0x92e8[82]:_0xf826x2d=[_0x92e8[267],_0x92e8[268]];_0xf826x2e=[];break;case _0x92e8[92]:_0xf826x2d=[_0x92e8[257],_0x92e8[269]];_0xf826x2e=[];break;case _0x92e8[93]:_0xf826x2d=[_0x92e8[270],_0x92e8[269]];_0xf826x2e=[];break;case _0x92e8[83]:_0xf826x2d=[_0x92e8[271]];_0xf826x2e=[];break;case _0x92e8[84]:_0xf826x2d=[_0x92e8[272]];_0xf826x2e=[_0x92e8[250]];break;case _0x92e8[273]:_0xf826x2d=[_0x92e8[272]];_0xf826x2e=[_0x92e8[250]];break;case _0x92e8[85]:_0xf826x2d=[_0x92e8[257]];_0xf826x2e=[_0x92e8[250]];break;case _0x92e8[66]:_0xf826x2d=[_0x92e8[274],_0x92e8[275]];_0xf826x2e=[_0x92e8[149],_0x92e8[247]];break;case _0x92e8[67]:_0xf826x2d=[_0x92e8[276],_0x92e8[275]];_0xf826x2e=[_0x92e8[149],_0x92e8[247]];break;case _0x92e8[68]:_0xf826x2d=[_0x92e8[277],_0x92e8[275]];_0xf826x2e=[_0x92e8[149],_0x92e8[247]];break;case _0x92e8[74]:_0xf826x2d=[_0x92e8[278],_0x92e8[243],_0x92e8[275]];_0xf826x2e=[_0x92e8[149],_0x92e8[279],_0x92e8[247]];break;case _0x92e8[54]:_0xf826x2d=[_0x92e8[280],_0x92e8[243],_0x92e8[95],_0x92e8[281]];_0xf826x2e=[_0x92e8[250],_0x92e8[282]];break;case _0x92e8[55]:_0xf826x2d=[_0x92e8[283],_0x92e8[284],_0x92e8[243],_0x92e8[249],_0x92e8[281]];_0xf826x2e=[_0x92e8[149],_0x92e8[279],_0x92e8[282]];break;case _0x92e8[69]:_0xf826x2d=[_0x92e8[277],_0x92e8[285]];_0xf826x2e=[_0x92e8[149],_0x92e8[286]];break;case _0x92e8[70]:_0xf826x2d=[_0x92e8[277],_0x92e8[241],_0x92e8[287],_0x92e8[288],_0x92e8[244]];_0xf826x2e=[_0x92e8[149],_0x92e8[149],_0x92e8[289],_0x92e8[250],_0x92e8[247]];break;case _0x92e8[56]:_0xf826x2d=[_0x92e8[290],_0x92e8[249],_0x92e8[281],_0x92e8[248],_0x92e8[243],_0x92e8[93],_0x92e8[291],_0x92e8[292],_0x92e8[19]];_0xf826x2e=[_0x92e8[279],_0x92e8[149],_0x92e8[149],_0x92e8[250],_0x92e8[293]];break;case _0x92e8[57]:_0xf826x2d=[_0x92e8[294],_0x92e8[262]];_0xf826x2e=[_0x92e8[149],_0x92e8[149]];break;case _0x92e8[94]:_0xf826x2d=[_0x92e8[295]];_0xf826x2e=[_0x92e8[250]];break;case _0x92e8[62]:_0xf826x2d=[_0x92e8[296],_0x92e8[257]];_0xf826x2e=[_0x92e8[149],_0x92e8[250]];break;case _0x92e8[305]:_0xf826x2d=[_0x92e8[297],_0x92e8[298],_0x92e8[299],_0x92e8[300],_0x92e8[301],_0x92e8[302],_0x92e8[303],_0x92e8[304]];_0xf826x2e=[];break;case _0x92e8[88]:_0xf826x2d=[_0x92e8[306]];_0xf826x2e=[];break;case _0x92e8[58]:_0xf826x2d=[_0x92e8[307],_0x92e8[283],_0x92e8[308],_0x92e8[309]];_0xf826x2e=[_0x92e8[149],_0x92e8[310],_0x92e8[250],_0x92e8[253]];break;case _0x92e8[79]:_0xf826x2d=[_0x92e8[311],_0x92e8[312],_0x92e8[313]];_0xf826x2e=[_0x92e8[250]];break;default:_0xf826x2d=[];_0xf826x2e=[];break};var _0xf826x19=this[_0x92e8[237]](_0xf826x33,_0xf826x9,_0xf826x2d,_0xf826x2e);var _0xf826x8=[ new mxCell(_0xf826x19, new mxGeometry(0,0,_0xf826xd,_0xf826xe),_0xf826x32)];_0xf826x8[0][_0x92e8[314]]=true;return this[_0x92e8[315]](_0xf826x8,_0xf826xd,_0xf826xe,_0xf826x9,_0xf826xa)};Sidebar[_0x92e8[40]][_0x92e8[315]]=function(_0xf826x8,_0xf826xd,_0xf826xe,_0xf826x9,_0xf826xa){var _0xf826x7=this[_0x92e8[202]](_0xf826x8,_0xf826x9,_0xf826xa);var _0xf826x27=this[_0x92e8[220]](_0xf826x7,this[_0x92e8[207]](_0xf826x8,true),this[_0x92e8[217]](_0xf826xd,_0xf826xe));this[_0x92e8[226]](_0xf826x7,_0xf826x27);_0xf826x27[_0x92e8[316]]=mxUtils[_0x92e8[25]](this,function(){return this[_0x92e8[1]][_0x92e8[9]][_0x92e8[5]][_0x92e8[318]][_0x92e8[317]]});if(!touchStyle){mxEvent[_0x92e8[26]](_0xf826x7,_0x92e8[30],mxUtils[_0x92e8[25]](this,function(_0xf826x4){this[_0x92e8[109]](_0xf826x7,_0xf826x8,_0xf826x9,_0xf826xa)}))};return _0xf826x7};Sidebar[_0x92e8[40]][_0x92e8[319]]=function(_0xf826x32,_0xf826xd,_0xf826xe,_0xf826x33,_0xf826x9,_0xf826xa){var _0xf826x8=[ new mxCell((_0xf826x33!=null)?_0xf826x33:_0x92e8[149], new mxGeometry(0,0,_0xf826xd,_0xf826xe),_0xf826x32)];_0xf826x8[0][_0x92e8[321]][_0x92e8[320]]( new mxPoint(0,_0xf826xe),true);_0xf826x8[0][_0x92e8[321]][_0x92e8[320]]( new mxPoint(_0xf826xd,0),false);_0xf826x8[0][_0x92e8[321]][_0x92e8[120]]=true;_0xf826x8[0][_0x92e8[322]]=true;return this[_0x92e8[323]](_0xf826x8,_0xf826xd,_0xf826xe,_0xf826x9,_0xf826xa)};Sidebar[_0x92e8[40]][_0x92e8[323]]=function(_0xf826x8,_0xf826xd,_0xf826xe,_0xf826x9,_0xf826xa){var _0xf826x7=this[_0x92e8[202]](_0xf826x8,_0xf826x9,_0xf826xa);this[_0x92e8[220]](_0xf826x7,this[_0x92e8[207]](_0xf826x8,false),this[_0x92e8[217]](_0xf826xd,_0xf826xe));var _0xf826x1e=this[_0x92e8[1]][_0x92e8[9]][_0x92e8[5]];mxEvent[_0x92e8[26]](_0xf826x7,_0x92e8[205],mxUtils[_0x92e8[25]](this,function(_0xf826x4){if(this[_0x92e8[100]]){_0xf826x1e[_0x92e8[324]](_0xf826x8[0])};_0xf826x7[_0x92e8[17]][_0x92e8[325]]=_0x92e8[326];window[_0x92e8[173]](function(){_0xf826x7[_0x92e8[17]][_0x92e8[325]]=_0x92e8[149]},300);mxEvent[_0x92e8[206]](_0xf826x4)}));if(!touchStyle){mxEvent[_0x92e8[26]](_0xf826x7,_0x92e8[30],mxUtils[_0x92e8[25]](this,function(_0xf826x4){this[_0x92e8[109]](_0xf826x7,_0xf826x8,_0xf826x9,_0xf826xa)}))};return _0xf826x7};Sidebar[_0x92e8[40]][_0x92e8[327]]=function(_0xf826x34,_0xf826x9,_0xf826x35,_0xf826x36){var _0xf826x7=this[_0x92e8[174]](_0xf826x9);this[_0x92e8[2]][_0x92e8[21]](_0xf826x7);var _0xf826x1c=document[_0x92e8[7]](_0x92e8[6]);_0xf826x1c[_0x92e8[113]]=_0x92e8[328];if(_0xf826x35){_0xf826x36(_0xf826x1c);_0xf826x36=null}else {_0xf826x1c[_0x92e8[17]][_0x92e8[127]]=_0x92e8[154]};this[_0x92e8[329]](_0xf826x7,_0xf826x1c,_0xf826x36);var _0xf826x37=document[_0x92e8[7]](_0x92e8[6]);_0xf826x37[_0x92e8[21]](_0xf826x1c);this[_0x92e8[2]][_0x92e8[21]](_0xf826x37);if(_0xf826x34!=null){this[_0x92e8[3]][_0xf826x34]=[_0xf826x7,_0xf826x37]}};Sidebar[_0x92e8[40]][_0x92e8[329]]=function(_0xf826x9,_0xf826x38,_0xf826x39){var _0xf826x3a=false;_0xf826x9[_0x92e8[17]][_0x92e8[190]]=(_0xf826x38[_0x92e8[17]][_0x92e8[127]]==_0x92e8[154])?_0x92e8[191]+IMAGE_PATH+_0x92e8[330]:_0x92e8[191]+IMAGE_PATH+_0x92e8[331];_0xf826x9[_0x92e8[17]][_0x92e8[332]]=_0x92e8[333];_0xf826x9[_0x92e8[17]][_0x92e8[334]]=_0x92e8[335];mxEvent[_0x92e8[26]](_0xf826x9,_0x92e8[205],function(_0xf826x4){if(_0xf826x38[_0x92e8[17]][_0x92e8[127]]==_0x92e8[154]){if(!_0xf826x3a){_0xf826x3a=true;if(_0xf826x39!=null){_0xf826x9[_0x92e8[17]][_0x92e8[193]]=_0x92e8[336];window[_0x92e8[173]](function(){_0xf826x39(_0xf826x38);_0xf826x9[_0x92e8[17]][_0x92e8[193]]=_0x92e8[149]},0)}};_0xf826x9[_0x92e8[17]][_0x92e8[190]]=_0x92e8[191]+IMAGE_PATH+_0x92e8[331];_0xf826x38[_0x92e8[17]][_0x92e8[127]]=_0x92e8[128]}else {_0xf826x9[_0x92e8[17]][_0x92e8[190]]=_0x92e8[191]+IMAGE_PATH+_0x92e8[330];_0xf826x38[_0x92e8[17]][_0x92e8[127]]=_0x92e8[154]};mxEvent[_0x92e8[206]](_0xf826x4)})};Sidebar[_0x92e8[40]][_0x92e8[337]]=function(_0xf826x34){var _0xf826x3b=this[_0x92e8[3]][_0xf826x34];if(_0xf826x3b!=null){this[_0x92e8[3]][_0xf826x34]=null;for(var _0xf826x3c=0;_0xf826x3c<_0xf826x3b[_0x92e8[138]];_0xf826x3c++){this[_0x92e8[2]][_0x92e8[338]](_0xf826x3b[_0xf826x3c])};return true};return false};Sidebar[_0x92e8[40]][_0x92e8[49]]=function(_0xf826x34,_0xf826x9,_0xf826x3d,_0xf826x3e,_0xf826x3f,_0xf826x40){this[_0x92e8[327]](_0xf826x34,_0xf826x9,(_0xf826x34===_0x92e8[42]),mxUtils[_0x92e8[25]](this,function(_0xf826x38){var _0xf826x41=_0xf826x40!=null;for(var _0xf826x3c=0;_0xf826x3c<_0xf826x3f[_0x92e8[138]];_0xf826x3c++){var _0xf826x42=_0xf826x3d+_0xf826x3f[_0xf826x3c]+_0xf826x3e;_0xf826x38[_0x92e8[21]](this[_0x92e8[240]](_0x92e8[339]+_0xf826x42,80,80,_0xf826x3f[_0xf826x3c],(_0xf826x41)?_0xf826x40[_0xf826x3c]:null,_0xf826x41))}}))}
\ No newline at end of file