-'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 _0x2c1d=["\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"];_0x2c1d[0];function Sidebar(_0xf430x2,_0xf430x3){this[_0x2c1d[1]]=_0xf430x2;this[_0x2c1d[2]]=_0xf430x3;this[_0x2c1d[3]]= new Object();this[_0x2c1d[4]]=true;this[_0x2c1d[5]]= new Graph(document[_0x2c1d[7]](_0x2c1d[6]),null,null,this[_0x2c1d[1]][_0x2c1d[9]][_0x2c1d[5]][_0x2c1d[8]]());this[_0x2c1d[5]][_0x2c1d[10]]=false;this[_0x2c1d[5]][_0x2c1d[11]]=false;this[_0x2c1d[5]][_0x2c1d[12]](false);this[_0x2c1d[5]][_0x2c1d[13]]=false;this[_0x2c1d[5]][_0x2c1d[14]](false);this[_0x2c1d[5]][_0x2c1d[15]](false);this[_0x2c1d[5]][_0x2c1d[2]][_0x2c1d[17]][_0x2c1d[16]]=_0x2c1d[18];this[_0x2c1d[5]][_0x2c1d[2]][_0x2c1d[17]][_0x2c1d[19]]=_0x2c1d[20];document[_0x2c1d[22]][_0x2c1d[21]](this[_0x2c1d[5]][_0x2c1d[2]]);if(!mxClient[_0x2c1d[23]]){mxEvent[_0x2c1d[26]](document,_0x2c1d[24],mxUtils[_0x2c1d[25]](this,function(){this[_0x2c1d[4]]=true}));mxEvent[_0x2c1d[26]](_0xf430x3,_0x2c1d[27],mxUtils[_0x2c1d[25]](this,function(){this[_0x2c1d[4]]=true}));mxEvent[_0x2c1d[26]](document,_0x2c1d[28],mxUtils[_0x2c1d[25]](this,function(){this[_0x2c1d[4]]=false;this[_0x2c1d[29]]()}));mxEvent[_0x2c1d[26]](document,_0x2c1d[30],mxUtils[_0x2c1d[25]](this,function(_0xf430x4){var _0xf430x5=mxEvent[_0x2c1d[31]](_0xf430x4);while(_0xf430x5!=null){if(_0xf430x5==this[_0x2c1d[32]]){return};_0xf430x5=_0xf430x5[_0x2c1d[33]]};this[_0x2c1d[29]]()}));mxEvent[_0x2c1d[26]](document,_0x2c1d[34],mxUtils[_0x2c1d[25]](this,function(_0xf430x4){if(_0xf430x4[_0x2c1d[35]]==null&&_0xf430x4[_0x2c1d[36]]==null){this[_0x2c1d[29]]()}}))};this[_0x2c1d[37]](); new Image()[_0x2c1d[38]]=IMAGE_PATH+_0x2c1d[39]}Sidebar[_0x2c1d[40]][_0x2c1d[37]]=function(){var _0xf430x6=STENCIL_PATH;console[_0x2c1d[41]](_0xf430x6);this[_0x2c1d[49]](_0x2c1d[42],mxResources[_0x2c1d[43]](_0x2c1d[42]),_0xf430x6+_0x2c1d[44],_0x2c1d[45],[_0x2c1d[46],_0x2c1d[47],_0x2c1d[48]],[mxResources[_0x2c1d[43]](_0x2c1d[46]),mxResources[_0x2c1d[43]](_0x2c1d[47]),mxResources[_0x2c1d[43]](_0x2c1d[48])]);this[_0x2c1d[49]](_0x2c1d[50],mxResources[_0x2c1d[43]](_0x2c1d[50]),_0xf430x6+_0x2c1d[51],_0x2c1d[45],[_0x2c1d[52],_0x2c1d[53],_0x2c1d[54],_0x2c1d[55],_0x2c1d[56],_0x2c1d[57],_0x2c1d[58]],[mxResources[_0x2c1d[43]](_0x2c1d[52]),mxResources[_0x2c1d[43]](_0x2c1d[53]),mxResources[_0x2c1d[43]](_0x2c1d[54]),mxResources[_0x2c1d[43]](_0x2c1d[55]),mxResources[_0x2c1d[43]](_0x2c1d[56]),mxResources[_0x2c1d[43]](_0x2c1d[57]),mxResources[_0x2c1d[43]](_0x2c1d[58])]);this[_0x2c1d[49]](_0x2c1d[59],mxResources[_0x2c1d[43]](_0x2c1d[59]),_0xf430x6+_0x2c1d[60],_0x2c1d[45],[_0x2c1d[61],_0x2c1d[62]],[mxResources[_0x2c1d[43]](_0x2c1d[61]),mxResources[_0x2c1d[43]](_0x2c1d[62])]);this[_0x2c1d[49]](_0x2c1d[63],mxResources[_0x2c1d[43]](_0x2c1d[63]),_0xf430x6+_0x2c1d[64],_0x2c1d[45],[_0x2c1d[63],_0x2c1d[65],_0x2c1d[66],_0x2c1d[67],_0x2c1d[68],_0x2c1d[69],_0x2c1d[70],_0x2c1d[71]],[mxResources[_0x2c1d[43]](_0x2c1d[63]),mxResources[_0x2c1d[43]](_0x2c1d[65]),mxResources[_0x2c1d[43]](_0x2c1d[66]),mxResources[_0x2c1d[43]](_0x2c1d[67]),mxResources[_0x2c1d[43]](_0x2c1d[68]),mxResources[_0x2c1d[43]](_0x2c1d[69]),mxResources[_0x2c1d[43]](_0x2c1d[70]),mxResources[_0x2c1d[43]](_0x2c1d[71])]);this[_0x2c1d[49]](_0x2c1d[72],mxResources[_0x2c1d[43]](_0x2c1d[72]),_0xf430x6+_0x2c1d[73],_0x2c1d[45],[_0x2c1d[74]],[mxResources[_0x2c1d[43]](_0x2c1d[74])]);this[_0x2c1d[49]](_0x2c1d[75],mxResources[_0x2c1d[43]](_0x2c1d[75]),_0xf430x6+_0x2c1d[76],_0x2c1d[45],[_0x2c1d[77],_0x2c1d[78],_0x2c1d[79]],[mxResources[_0x2c1d[43]](_0x2c1d[77]),mxResources[_0x2c1d[43]](_0x2c1d[78]),mxResources[_0x2c1d[43]](_0x2c1d[79])]);this[_0x2c1d[49]](_0x2c1d[80],mxResources[_0x2c1d[43]](_0x2c1d[80]),_0xf430x6+_0x2c1d[81],_0x2c1d[45],[_0x2c1d[82],_0x2c1d[83],_0x2c1d[84],_0x2c1d[85]],[mxResources[_0x2c1d[43]](_0x2c1d[82]),mxResources[_0x2c1d[43]](_0x2c1d[83]),mxResources[_0x2c1d[43]](_0x2c1d[84]),mxResources[_0x2c1d[43]](_0x2c1d[85])]);this[_0x2c1d[49]](_0x2c1d[86],mxResources[_0x2c1d[43]](_0x2c1d[86]),_0xf430x6+_0x2c1d[87],_0x2c1d[45],[_0x2c1d[88]],[mxResources[_0x2c1d[43]](_0x2c1d[88])]);this[_0x2c1d[49]](_0x2c1d[89],mxResources[_0x2c1d[43]](_0x2c1d[89]),_0xf430x6+_0x2c1d[90],_0x2c1d[45],[_0x2c1d[91],_0x2c1d[92],_0x2c1d[93],_0x2c1d[94],_0x2c1d[95]],[mxResources[_0x2c1d[43]](_0x2c1d[91]),mxResources[_0x2c1d[43]](_0x2c1d[92]),mxResources[_0x2c1d[43]](_0x2c1d[93]),mxResources[_0x2c1d[43]](_0x2c1d[94]),mxResources[_0x2c1d[43]](_0x2c1d[95])])};Sidebar[_0x2c1d[40]][_0x2c1d[96]]=!mxClient[_0x2c1d[23]];Sidebar[_0x2c1d[40]][_0x2c1d[97]]=16;Sidebar[_0x2c1d[40]][_0x2c1d[98]]=3;Sidebar[_0x2c1d[40]][_0x2c1d[99]]=300;Sidebar[_0x2c1d[40]][_0x2c1d[100]]=true;Sidebar[_0x2c1d[40]][_0x2c1d[101]]=STENCIL_PATH+_0x2c1d[102];Sidebar[_0x2c1d[40]][_0x2c1d[103]]=34;Sidebar[_0x2c1d[40]][_0x2c1d[104]]=34;Sidebar[_0x2c1d[40]][_0x2c1d[105]]=2;Sidebar[_0x2c1d[40]][_0x2c1d[106]]=9;Sidebar[_0x2c1d[40]][_0x2c1d[107]]=false;Sidebar[_0x2c1d[40]][_0x2c1d[108]]=false;Sidebar[_0x2c1d[40]][_0x2c1d[109]]=function(_0xf430x7,_0xf430x8,_0xf430x9,_0xf430xa){if(this[_0x2c1d[96]]&&this[_0x2c1d[4]]){if(this[_0x2c1d[32]]!=_0xf430x7){if(this[_0x2c1d[110]]!=null){window[_0x2c1d[111]](this[_0x2c1d[110]]);this[_0x2c1d[110]]=null};var _0xf430xb=mxUtils[_0x2c1d[25]](this,function(){if(this[_0x2c1d[112]]==null){this[_0x2c1d[112]]=document[_0x2c1d[7]](_0x2c1d[6]);this[_0x2c1d[112]][_0x2c1d[113]]=_0x2c1d[114];document[_0x2c1d[22]][_0x2c1d[21]](this[_0x2c1d[112]]);this[_0x2c1d[115]]= new Graph(this[_0x2c1d[112]],null,null,this[_0x2c1d[1]][_0x2c1d[9]][_0x2c1d[5]][_0x2c1d[8]]());this[_0x2c1d[115]][_0x2c1d[117]][_0x2c1d[116]](this[_0x2c1d[97]],this[_0x2c1d[97]]);this[_0x2c1d[115]][_0x2c1d[10]]=false;this[_0x2c1d[115]][_0x2c1d[11]]=false;this[_0x2c1d[115]][_0x2c1d[13]]=false;this[_0x2c1d[115]][_0x2c1d[14]](false);this[_0x2c1d[115]][_0x2c1d[12]](false);this[_0x2c1d[115]][_0x2c1d[15]](false);if(!mxClient[_0x2c1d[118]]){this[_0x2c1d[115]][_0x2c1d[117]][_0x2c1d[119]][_0x2c1d[17]][_0x2c1d[19]]=_0x2c1d[120]};this[_0x2c1d[121]]=mxUtils[_0x2c1d[122]](IMAGE_PATH+_0x2c1d[39]);this[_0x2c1d[121]][_0x2c1d[17]][_0x2c1d[19]]=_0x2c1d[20];this[_0x2c1d[121]][_0x2c1d[17]][_0x2c1d[123]]=_0x2c1d[124];this[_0x2c1d[121]][_0x2c1d[17]][_0x2c1d[125]]=_0x2c1d[126];document[_0x2c1d[22]][_0x2c1d[21]](this[_0x2c1d[121]])};this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[127]]=_0x2c1d[128];this[_0x2c1d[115]][_0x2c1d[129]]=(_0xf430xa==null||_0xf430xa);this[_0x2c1d[115]][_0x2c1d[131]][_0x2c1d[130]]();this[_0x2c1d[115]][_0x2c1d[132]](_0xf430x8);var _0xf430xc=this[_0x2c1d[115]][_0x2c1d[133]]();var _0xf430xd=_0xf430xc[_0x2c1d[123]]+2*this[_0x2c1d[97]];var _0xf430xe=_0xf430xc[_0x2c1d[125]]+2*this[_0x2c1d[97]];if(mxClient[_0x2c1d[134]]){_0xf430xd+=4;_0xf430xe+=4;this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[135]]=_0x2c1d[18]}else {this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[135]]=_0x2c1d[136]};this[_0x2c1d[121]][_0x2c1d[17]][_0x2c1d[16]]=_0x2c1d[136];this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[123]]=_0xf430xd+_0x2c1d[137];if(this[_0x2c1d[108]]&&_0xf430x9!=null&&_0xf430x9[_0x2c1d[138]]>0){if(this[_0x2c1d[139]]==null){this[_0x2c1d[139]]=document[_0x2c1d[7]](_0x2c1d[6]);this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[140]]=_0x2c1d[141];this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[142]]=_0x2c1d[143];this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[123]]=_0x2c1d[144];this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[135]]=_0x2c1d[18];if(mxClient[_0x2c1d[118]]){this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[145]]=_0x2c1d[146]}else {this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[19]]=_0x2c1d[20];this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[145]]=_0x2c1d[147]};this[_0x2c1d[112]][_0x2c1d[21]](this[_0x2c1d[139]])}else {this[_0x2c1d[139]][_0x2c1d[148]]=_0x2c1d[149]};this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[127]]=_0x2c1d[149];mxUtils[_0x2c1d[150]](this[_0x2c1d[139]],_0xf430x9);var _0xf430xf=this[_0x2c1d[139]][_0x2c1d[151]]+10;_0xf430xe+=_0xf430xf;if(mxClient[_0x2c1d[118]]){this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[152]]=(-_0xf430xf)+_0x2c1d[137]}else {_0xf430xe-=6;this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[153]]=(_0xf430xe-_0xf430xf)+_0x2c1d[137]}}else {if(this[_0x2c1d[139]]!=null&&this[_0x2c1d[139]][_0x2c1d[33]]!=null){this[_0x2c1d[139]][_0x2c1d[17]][_0x2c1d[127]]=_0x2c1d[154]}};this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[125]]=_0xf430xe+_0x2c1d[137];var _0xf430x10=-Math[_0x2c1d[156]](0,_0xf430xc[_0x2c1d[155]]-this[_0x2c1d[97]]);var _0xf430x11=-Math[_0x2c1d[156]](0,_0xf430xc[_0x2c1d[157]]-this[_0x2c1d[97]]);var _0xf430x12=this[_0x2c1d[2]][_0x2c1d[158]]+this[_0x2c1d[1]][_0x2c1d[159]]+3;var _0xf430x13=Math[_0x2c1d[162]](0,(this[_0x2c1d[2]][_0x2c1d[160]]+_0xf430x7[_0x2c1d[160]]-this[_0x2c1d[2]][_0x2c1d[161]]-_0xf430xe/2+16));if(mxClient[_0x2c1d[118]]){this[_0x2c1d[115]][_0x2c1d[117]][_0x2c1d[119]][_0x2c1d[167]](_0x2c1d[163],_0x2c1d[164]+_0xf430x10+_0x2c1d[165]+_0xf430x11+_0x2c1d[166])}else {this[_0x2c1d[115]][_0x2c1d[117]][_0x2c1d[169]][_0x2c1d[17]][_0x2c1d[168]]=_0xf430x10+_0x2c1d[137];this[_0x2c1d[115]][_0x2c1d[117]][_0x2c1d[169]][_0x2c1d[17]][_0x2c1d[153]]=_0xf430x11+_0x2c1d[137]};_0xf430x12+=document[_0x2c1d[172]](_0x2c1d[171])[_0x2c1d[170]];_0xf430x13+=90;this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[19]]=_0x2c1d[20];this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[168]]=_0xf430x12+_0x2c1d[137];this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[153]]=_0xf430x13+_0x2c1d[137];this[_0x2c1d[121]][_0x2c1d[17]][_0x2c1d[168]]=(_0xf430x12-13)+_0x2c1d[137];this[_0x2c1d[121]][_0x2c1d[17]][_0x2c1d[153]]=(_0xf430x13+_0xf430xe/2-13)+_0x2c1d[137]});if(this[_0x2c1d[112]]!=null&&this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[127]]!=_0x2c1d[154]){_0xf430xb()}else {this[_0x2c1d[110]]=window[_0x2c1d[173]](_0xf430xb,this[_0x2c1d[99]])};this[_0x2c1d[32]]=_0xf430x7}}};Sidebar[_0x2c1d[40]][_0x2c1d[29]]=function(){if(this[_0x2c1d[110]]!=null){window[_0x2c1d[111]](this[_0x2c1d[110]]);this[_0x2c1d[110]]=null};if(this[_0x2c1d[112]]!=null){this[_0x2c1d[112]][_0x2c1d[17]][_0x2c1d[127]]=_0x2c1d[154];this[_0x2c1d[121]][_0x2c1d[17]][_0x2c1d[16]]=_0x2c1d[18];this[_0x2c1d[32]]=null}};Sidebar[_0x2c1d[40]][_0x2c1d[174]]=function(_0xf430x14){var _0xf430x7=document[_0x2c1d[7]](_0x2c1d[175]);_0xf430x7[_0x2c1d[167]](_0x2c1d[176],_0x2c1d[177]);_0xf430x7[_0x2c1d[113]]=_0x2c1d[178];mxUtils[_0x2c1d[150]](_0xf430x7,_0xf430x14);return _0xf430x7};Sidebar[_0x2c1d[40]][_0x2c1d[179]]=function(_0xf430x8,_0xf430xd,_0xf430xe,_0xf430x15,_0xf430x9,_0xf430xa){this[_0x2c1d[5]][_0x2c1d[129]]=(_0xf430xa==null||_0xf430xa);this[_0x2c1d[5]][_0x2c1d[117]][_0x2c1d[180]](1,0,0);this[_0x2c1d[5]][_0x2c1d[132]](_0xf430x8);var _0xf430xc=this[_0x2c1d[5]][_0x2c1d[133]]();var _0xf430x16=this[_0x2c1d[98]];var _0xf430x17=Math[_0x2c1d[156]]((_0xf430xd-2)/(_0xf430xc[_0x2c1d[123]]-_0xf430xc[_0x2c1d[155]]+_0xf430x16),(_0xf430xe-2)/(_0xf430xc[_0x2c1d[125]]-_0xf430xc[_0x2c1d[157]]+_0xf430x16));var _0xf430x10=-Math[_0x2c1d[156]](_0xf430xc[_0x2c1d[155]],0);var _0xf430x11=-Math[_0x2c1d[156]](_0xf430xc[_0x2c1d[157]],0);this[_0x2c1d[5]][_0x2c1d[117]][_0x2c1d[180]](_0xf430x17,_0xf430x10,_0xf430x11);_0xf430xc=this[_0x2c1d[5]][_0x2c1d[133]]();var _0xf430x18=Math[_0x2c1d[162]](0,Math[_0x2c1d[181]]((_0xf430xd-_0xf430xc[_0x2c1d[123]]-_0xf430xc[_0x2c1d[155]])/2));var _0xf430xf=Math[_0x2c1d[162]](0,Math[_0x2c1d[181]]((_0xf430xe-_0xf430xc[_0x2c1d[125]]-_0xf430xc[_0x2c1d[157]])/2));var _0xf430x19=null;if(this[_0x2c1d[5]][_0x2c1d[182]]==mxConstants[_0x2c1d[183]]&&!mxClient[_0x2c1d[184]]){_0xf430x19=this[_0x2c1d[5]][_0x2c1d[117]][_0x2c1d[187]]()[_0x2c1d[186]][_0x2c1d[185]](true)}else {_0xf430x19=this[_0x2c1d[5]][_0x2c1d[2]][_0x2c1d[185]](false);_0xf430x19[_0x2c1d[148]]=this[_0x2c1d[5]][_0x2c1d[2]][_0x2c1d[148]]};this[_0x2c1d[5]][_0x2c1d[188]]()[_0x2c1d[130]]();if(mxClient[_0x2c1d[189]]){_0xf430x15[_0x2c1d[17]][_0x2c1d[190]]=_0x2c1d[191]+this[_0x2c1d[1]][_0x2c1d[9]][_0x2c1d[192]]+_0x2c1d[166]};var _0xf430x1a=3;_0xf430x19[_0x2c1d[17]][_0x2c1d[19]]=_0x2c1d[120];_0xf430x19[_0x2c1d[17]][_0x2c1d[135]]=_0x2c1d[18];_0xf430x19[_0x2c1d[17]][_0x2c1d[193]]=_0x2c1d[194];_0xf430x19[_0x2c1d[17]][_0x2c1d[168]]=(_0xf430x18+_0xf430x1a)+_0x2c1d[137];_0xf430x19[_0x2c1d[17]][_0x2c1d[153]]=(_0xf430xf+_0xf430x1a)+_0x2c1d[137];_0xf430x19[_0x2c1d[17]][_0x2c1d[123]]=_0xf430xd+_0x2c1d[137];_0xf430x19[_0x2c1d[17]][_0x2c1d[125]]=_0xf430xe+_0x2c1d[137];_0xf430x19[_0x2c1d[17]][_0x2c1d[16]]=_0x2c1d[149];_0xf430x19[_0x2c1d[17]][_0x2c1d[195]]=_0x2c1d[149];_0xf430x19[_0x2c1d[17]][_0x2c1d[196]]=_0x2c1d[149];_0xf430x15[_0x2c1d[21]](_0xf430x19);if(this[_0x2c1d[107]]&&_0xf430x9!=null){var _0xf430x1b=(mxClient[_0x2c1d[134]])?2*this[_0x2c1d[105]]+2:0;_0xf430x15[_0x2c1d[17]][_0x2c1d[125]]=(this[_0x2c1d[104]]+_0xf430x1b+this[_0x2c1d[106]]+8)+_0x2c1d[137];var _0xf430x1c=document[_0x2c1d[7]](_0x2c1d[6]);_0xf430x1c[_0x2c1d[17]][_0x2c1d[197]]=this[_0x2c1d[106]]+_0x2c1d[137];_0xf430x1c[_0x2c1d[17]][_0x2c1d[142]]=_0x2c1d[143];_0xf430x1c[_0x2c1d[17]][_0x2c1d[198]]=_0x2c1d[199];if(mxClient[_0x2c1d[200]]){_0xf430x1c[_0x2c1d[17]][_0x2c1d[125]]=(this[_0x2c1d[106]]+12)+_0x2c1d[137]};_0xf430x1c[_0x2c1d[17]][_0x2c1d[145]]=_0x2c1d[201];mxUtils[_0x2c1d[150]](_0xf430x1c,_0xf430x9);_0xf430x15[_0x2c1d[21]](_0xf430x1c)}};Sidebar[_0x2c1d[40]][_0x2c1d[202]]=function(_0xf430x8,_0xf430x9,_0xf430xa){var _0xf430x7=document[_0x2c1d[7]](_0x2c1d[175]);_0xf430x7[_0x2c1d[167]](_0x2c1d[176],_0x2c1d[177]);_0xf430x7[_0x2c1d[113]]=_0x2c1d[203];_0xf430x7[_0x2c1d[17]][_0x2c1d[135]]=_0x2c1d[18];var _0xf430x1b=(mxClient[_0x2c1d[134]])?8+2*this[_0x2c1d[105]]:6;_0xf430x7[_0x2c1d[17]][_0x2c1d[123]]=(this[_0x2c1d[103]]+_0xf430x1b)+_0x2c1d[137];_0xf430x7[_0x2c1d[17]][_0x2c1d[125]]=(this[_0x2c1d[104]]+_0xf430x1b)+_0x2c1d[137];_0xf430x7[_0x2c1d[17]][_0x2c1d[204]]=this[_0x2c1d[105]]+_0x2c1d[137];mxEvent[_0x2c1d[26]](_0xf430x7,_0x2c1d[205],function(_0xf430x4){mxEvent[_0x2c1d[206]](_0xf430x4)});this[_0x2c1d[179]](_0xf430x8,this[_0x2c1d[103]],this[_0x2c1d[104]],_0xf430x7,_0xf430x9,_0xf430xa);return _0xf430x7};Sidebar[_0x2c1d[40]][_0x2c1d[207]]=function(_0xf430x8,_0xf430x1d){return function(_0xf430x1e,_0xf430x4,_0xf430x1f,_0xf430x20,_0xf430x21){if(_0xf430x1e[_0x2c1d[208]]()){_0xf430x8=_0xf430x1e[_0x2c1d[209]](_0xf430x8);if(_0xf430x8[_0x2c1d[138]]>0){var _0xf430x22=(_0xf430x1f!=null)?_0xf430x1e[_0x2c1d[210]](_0xf430x1f,_0xf430x8,_0xf430x4):false;var _0xf430x23=null;if(_0xf430x1f!=null&& !_0xf430x22){_0xf430x1f=null};if(_0xf430x1d&&_0xf430x1e[_0x2c1d[211]]()&&_0xf430x1e[_0x2c1d[212]](_0xf430x1f,_0xf430x8,_0xf430x4)){_0xf430x1e[_0x2c1d[213]](_0xf430x1f,_0xf430x8,null,_0xf430x20,_0xf430x21);_0xf430x23=_0xf430x8}else {if(_0xf430x8[_0x2c1d[138]]>0){_0xf430x23=_0xf430x1e[_0x2c1d[214]](_0xf430x8,_0xf430x20,_0xf430x21,_0xf430x1f)}};if(_0xf430x23!=null&&_0xf430x23[_0x2c1d[138]]>0){_0xf430x1e[_0x2c1d[215]](_0xf430x23[0]);_0xf430x1e[_0x2c1d[216]](_0xf430x23)}}}}};Sidebar[_0x2c1d[40]][_0x2c1d[217]]=function(_0xf430xd,_0xf430xe){var _0xf430x7=document[_0x2c1d[7]](_0x2c1d[6]);_0xf430x7[_0x2c1d[17]][_0x2c1d[218]]=_0x2c1d[219];_0xf430x7[_0x2c1d[17]][_0x2c1d[123]]=_0xf430xd+_0x2c1d[137];_0xf430x7[_0x2c1d[17]][_0x2c1d[125]]=_0xf430xe+_0x2c1d[137];return _0xf430x7};Sidebar[_0x2c1d[40]][_0x2c1d[220]]=function(_0xf430x7,_0xf430x24,_0xf430x25){var _0xf430x26=mxUtils[_0x2c1d[222]](_0xf430x7,this[_0x2c1d[1]][_0x2c1d[9]][_0x2c1d[5]],_0xf430x24,_0xf430x25,0,0,this[_0x2c1d[1]][_0x2c1d[9]][_0x2c1d[5]][_0x2c1d[221]],true,true);_0xf430x26[_0x2c1d[223]]=function(_0xf430x1e,_0xf430x20,_0xf430x21){var _0xf430x1f=mxDragSource[_0x2c1d[40]][_0x2c1d[223]][_0x2c1d[224]](this,arguments);if(!_0xf430x1e[_0x2c1d[225]](_0xf430x1f)){_0xf430x1f=null};return _0xf430x1f};return _0xf430x26};Sidebar[_0x2c1d[40]][_0x2c1d[226]]=function(_0xf430x7,_0xf430x27){var _0xf430x1e=this[_0x2c1d[1]][_0x2c1d[9]][_0x2c1d[5]];var _0xf430x28=null;mxEvent[_0x2c1d[229]](_0xf430x7,function(_0xf430x4){_0xf430x28= new mxPoint(mxEvent[_0x2c1d[227]](_0xf430x4),mxEvent[_0x2c1d[228]](_0xf430x4))});var _0xf430x29=_0xf430x27[_0x2c1d[230]];_0xf430x27[_0x2c1d[230]]=function(_0xf430x4){if(!mxEvent[_0x2c1d[231]](_0xf430x4)&&this[_0x2c1d[232]]==null&&_0xf430x28!=null){var _0xf430x2a=_0xf430x1e[_0x2c1d[233]];if(Math[_0x2c1d[234]](_0xf430x28[_0x2c1d[155]]-mxEvent[_0x2c1d[227]](_0xf430x4))<=_0xf430x2a&&Math[_0x2c1d[234]](_0xf430x28[_0x2c1d[157]]-mxEvent[_0x2c1d[228]](_0xf430x4))<=_0xf430x2a){var _0xf430x2b=_0xf430x1e[_0x2c1d[235]]();_0xf430x27[_0x2c1d[236]](_0xf430x1e,_0xf430x4,null,_0xf430x2b,_0xf430x2b)}};_0xf430x29[_0x2c1d[224]](this,arguments);_0xf430x28=null}};Sidebar[_0x2c1d[40]][_0x2c1d[237]]=function(_0xf430x2c,_0xf430x14,_0xf430x2d,_0xf430x2e){var _0xf430x2f=mxUtils[_0x2c1d[237]]();var _0xf430x19=_0xf430x2f[_0x2c1d[7]](_0xf430x2c);_0xf430x19[_0x2c1d[167]](_0x2c1d[238],_0xf430x14);_0xf430x2d[_0x2c1d[239]](function(_0xf430x30,_0xf430x31){_0xf430x19[_0x2c1d[167]](_0xf430x30,_0xf430x2e[_0xf430x31]?_0xf430x2e[_0xf430x31]:_0x2c1d[149])});return _0xf430x19};Sidebar[_0x2c1d[40]][_0x2c1d[240]]=function(_0xf430x32,_0xf430xd,_0xf430xe,_0xf430x33,_0xf430x9,_0xf430xa){var _0xf430x2d=[];var _0xf430x2e=[];switch(_0xf430x33){case _0x2c1d[52]:break;case _0x2c1d[78]:_0xf430x2d=[_0x2c1d[241],_0x2c1d[131],_0x2c1d[242],_0x2c1d[243],_0x2c1d[244],_0x2c1d[245]];_0xf430x2e=[_0x2c1d[149],0,_0x2c1d[246],1,_0x2c1d[247],true];break;case _0x2c1d[63]:_0xf430x2d=[_0x2c1d[248],_0x2c1d[249]];_0xf430x2e=[_0x2c1d[250]];break;case _0x2c1d[255]:_0xf430x2d=[_0x2c1d[248],_0x2c1d[251],_0x2c1d[252]];_0xf430x2e=[_0x2c1d[250],_0x2c1d[253],_0x2c1d[254]];break;case _0x2c1d[65]:_0xf430x2d=[_0x2c1d[248],_0x2c1d[251],_0x2c1d[252],_0x2c1d[256],_0x2c1d[257]];_0xf430x2e=[_0x2c1d[250],_0x2c1d[253],_0x2c1d[254],_0x2c1d[254],_0x2c1d[250]];break;case _0x2c1d[71]:_0xf430x2d=[_0x2c1d[248],_0x2c1d[251],_0x2c1d[258],_0x2c1d[259],_0x2c1d[256],_0x2c1d[257]];_0xf430x2e=[_0x2c1d[250],_0x2c1d[253],_0x2c1d[254],_0x2c1d[260],_0x2c1d[254],_0x2c1d[250]];break;case _0x2c1d[95]:_0xf430x2d=[_0x2c1d[261],_0x2c1d[262]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[149]];break;case _0x2c1d[61]:_0xf430x2d=[_0x2c1d[257],_0x2c1d[263]];_0xf430x2e=[_0x2c1d[250],_0x2c1d[149]];break;case _0x2c1d[77]:_0xf430x2d=[_0x2c1d[264],_0x2c1d[265],_0x2c1d[257]];_0xf430x2e=[_0x2c1d[250],_0x2c1d[149],_0x2c1d[250]];break;case _0x2c1d[91]:_0xf430x2d=[_0x2c1d[266]];_0xf430x2e=[];break;case _0x2c1d[82]:_0xf430x2d=[_0x2c1d[267],_0x2c1d[268]];_0xf430x2e=[];break;case _0x2c1d[92]:_0xf430x2d=[_0x2c1d[257],_0x2c1d[269]];_0xf430x2e=[];break;case _0x2c1d[93]:_0xf430x2d=[_0x2c1d[270],_0x2c1d[269]];_0xf430x2e=[];break;case _0x2c1d[83]:_0xf430x2d=[_0x2c1d[271]];_0xf430x2e=[];break;case _0x2c1d[84]:_0xf430x2d=[_0x2c1d[272]];_0xf430x2e=[_0x2c1d[250]];break;case _0x2c1d[273]:_0xf430x2d=[_0x2c1d[272]];_0xf430x2e=[_0x2c1d[250]];break;case _0x2c1d[85]:_0xf430x2d=[_0x2c1d[257]];_0xf430x2e=[_0x2c1d[250]];break;case _0x2c1d[66]:_0xf430x2d=[_0x2c1d[274],_0x2c1d[275]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[247]];break;case _0x2c1d[67]:_0xf430x2d=[_0x2c1d[276],_0x2c1d[275]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[247]];break;case _0x2c1d[68]:_0xf430x2d=[_0x2c1d[277],_0x2c1d[275]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[247]];break;case _0x2c1d[74]:_0xf430x2d=[_0x2c1d[278],_0x2c1d[243],_0x2c1d[275]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[279],_0x2c1d[247]];break;case _0x2c1d[54]:_0xf430x2d=[_0x2c1d[280],_0x2c1d[243],_0x2c1d[95],_0x2c1d[281]];_0xf430x2e=[_0x2c1d[250],_0x2c1d[282]];break;case _0x2c1d[55]:_0xf430x2d=[_0x2c1d[283],_0x2c1d[284],_0x2c1d[243],_0x2c1d[249],_0x2c1d[281]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[279],_0x2c1d[282]];break;case _0x2c1d[69]:_0xf430x2d=[_0x2c1d[277],_0x2c1d[285]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[286]];break;case _0x2c1d[70]:_0xf430x2d=[_0x2c1d[277],_0x2c1d[241],_0x2c1d[287],_0x2c1d[288],_0x2c1d[244]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[149],_0x2c1d[289],_0x2c1d[250],_0x2c1d[247]];break;case _0x2c1d[56]:_0xf430x2d=[_0x2c1d[290],_0x2c1d[249],_0x2c1d[281],_0x2c1d[248],_0x2c1d[243],_0x2c1d[93],_0x2c1d[291],_0x2c1d[292],_0x2c1d[19]];_0xf430x2e=[_0x2c1d[279],_0x2c1d[149],_0x2c1d[149],_0x2c1d[250],_0x2c1d[293]];break;case _0x2c1d[57]:_0xf430x2d=[_0x2c1d[294],_0x2c1d[262]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[149]];break;case _0x2c1d[94]:_0xf430x2d=[_0x2c1d[295]];_0xf430x2e=[_0x2c1d[250]];break;case _0x2c1d[62]:_0xf430x2d=[_0x2c1d[296],_0x2c1d[257]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[250]];break;case _0x2c1d[305]:_0xf430x2d=[_0x2c1d[297],_0x2c1d[298],_0x2c1d[299],_0x2c1d[300],_0x2c1d[301],_0x2c1d[302],_0x2c1d[303],_0x2c1d[304]];_0xf430x2e=[];break;case _0x2c1d[88]:_0xf430x2d=[_0x2c1d[306]];_0xf430x2e=[];break;case _0x2c1d[58]:_0xf430x2d=[_0x2c1d[307],_0x2c1d[283],_0x2c1d[308],_0x2c1d[309]];_0xf430x2e=[_0x2c1d[149],_0x2c1d[310],_0x2c1d[250],_0x2c1d[253]];break;case _0x2c1d[79]:_0xf430x2d=[_0x2c1d[311],_0x2c1d[312],_0x2c1d[313]];_0xf430x2e=[_0x2c1d[250]];break;default:_0xf430x2d=[];_0xf430x2e=[];break};var _0xf430x19=this[_0x2c1d[237]](_0xf430x33,_0xf430x9,_0xf430x2d,_0xf430x2e);var _0xf430x8=[ new mxCell(_0xf430x19, new mxGeometry(0,0,_0xf430xd,_0xf430xe),_0xf430x32)];_0xf430x8[0][_0x2c1d[314]]=true;return this[_0x2c1d[315]](_0xf430x8,_0xf430xd,_0xf430xe,_0xf430x9,_0xf430xa)};Sidebar[_0x2c1d[40]][_0x2c1d[315]]=function(_0xf430x8,_0xf430xd,_0xf430xe,_0xf430x9,_0xf430xa){var _0xf430x7=this[_0x2c1d[202]](_0xf430x8,_0xf430x9,_0xf430xa);var _0xf430x27=this[_0x2c1d[220]](_0xf430x7,this[_0x2c1d[207]](_0xf430x8,true),this[_0x2c1d[217]](_0xf430xd,_0xf430xe));this[_0x2c1d[226]](_0xf430x7,_0xf430x27);_0xf430x27[_0x2c1d[316]]=mxUtils[_0x2c1d[25]](this,function(){return this[_0x2c1d[1]][_0x2c1d[9]][_0x2c1d[5]][_0x2c1d[318]][_0x2c1d[317]]});if(!touchStyle){mxEvent[_0x2c1d[26]](_0xf430x7,_0x2c1d[30],mxUtils[_0x2c1d[25]](this,function(_0xf430x4){this[_0x2c1d[109]](_0xf430x7,_0xf430x8,_0xf430x9,_0xf430xa)}))};return _0xf430x7};Sidebar[_0x2c1d[40]][_0x2c1d[319]]=function(_0xf430x32,_0xf430xd,_0xf430xe,_0xf430x33,_0xf430x9,_0xf430xa){var _0xf430x8=[ new mxCell((_0xf430x33!=null)?_0xf430x33:_0x2c1d[149], new mxGeometry(0,0,_0xf430xd,_0xf430xe),_0xf430x32)];_0xf430x8[0][_0x2c1d[321]][_0x2c1d[320]]( new mxPoint(0,_0xf430xe),true);_0xf430x8[0][_0x2c1d[321]][_0x2c1d[320]]( new mxPoint(_0xf430xd,0),false);_0xf430x8[0][_0x2c1d[321]][_0x2c1d[120]]=true;_0xf430x8[0][_0x2c1d[322]]=true;return this[_0x2c1d[323]](_0xf430x8,_0xf430xd,_0xf430xe,_0xf430x9,_0xf430xa)};Sidebar[_0x2c1d[40]][_0x2c1d[323]]=function(_0xf430x8,_0xf430xd,_0xf430xe,_0xf430x9,_0xf430xa){var _0xf430x7=this[_0x2c1d[202]](_0xf430x8,_0xf430x9,_0xf430xa);this[_0x2c1d[220]](_0xf430x7,this[_0x2c1d[207]](_0xf430x8,false),this[_0x2c1d[217]](_0xf430xd,_0xf430xe));var _0xf430x1e=this[_0x2c1d[1]][_0x2c1d[9]][_0x2c1d[5]];mxEvent[_0x2c1d[26]](_0xf430x7,_0x2c1d[205],mxUtils[_0x2c1d[25]](this,function(_0xf430x4){if(this[_0x2c1d[100]]){_0xf430x1e[_0x2c1d[324]](_0xf430x8[0])};_0xf430x7[_0x2c1d[17]][_0x2c1d[325]]=_0x2c1d[326];window[_0x2c1d[173]](function(){_0xf430x7[_0x2c1d[17]][_0x2c1d[325]]=_0x2c1d[149]},300);mxEvent[_0x2c1d[206]](_0xf430x4)}));if(!touchStyle){mxEvent[_0x2c1d[26]](_0xf430x7,_0x2c1d[30],mxUtils[_0x2c1d[25]](this,function(_0xf430x4){this[_0x2c1d[109]](_0xf430x7,_0xf430x8,_0xf430x9,_0xf430xa)}))};return _0xf430x7};Sidebar[_0x2c1d[40]][_0x2c1d[327]]=function(_0xf430x34,_0xf430x9,_0xf430x35,_0xf430x36){var _0xf430x7=this[_0x2c1d[174]](_0xf430x9);this[_0x2c1d[2]][_0x2c1d[21]](_0xf430x7);var _0xf430x1c=document[_0x2c1d[7]](_0x2c1d[6]);_0xf430x1c[_0x2c1d[113]]=_0x2c1d[328];if(_0xf430x35){_0xf430x36(_0xf430x1c);_0xf430x36=null}else {_0xf430x1c[_0x2c1d[17]][_0x2c1d[127]]=_0x2c1d[154]};this[_0x2c1d[329]](_0xf430x7,_0xf430x1c,_0xf430x36);var _0xf430x37=document[_0x2c1d[7]](_0x2c1d[6]);_0xf430x37[_0x2c1d[21]](_0xf430x1c);this[_0x2c1d[2]][_0x2c1d[21]](_0xf430x37);if(_0xf430x34!=null){this[_0x2c1d[3]][_0xf430x34]=[_0xf430x7,_0xf430x37]}};Sidebar[_0x2c1d[40]][_0x2c1d[329]]=function(_0xf430x9,_0xf430x38,_0xf430x39){var _0xf430x3a=false;_0xf430x9[_0x2c1d[17]][_0x2c1d[190]]=(_0xf430x38[_0x2c1d[17]][_0x2c1d[127]]==_0x2c1d[154])?_0x2c1d[191]+IMAGE_PATH+_0x2c1d[330]:_0x2c1d[191]+IMAGE_PATH+_0x2c1d[331];_0xf430x9[_0x2c1d[17]][_0x2c1d[332]]=_0x2c1d[333];_0xf430x9[_0x2c1d[17]][_0x2c1d[334]]=_0x2c1d[335];mxEvent[_0x2c1d[26]](_0xf430x9,_0x2c1d[205],function(_0xf430x4){if(_0xf430x38[_0x2c1d[17]][_0x2c1d[127]]==_0x2c1d[154]){if(!_0xf430x3a){_0xf430x3a=true;if(_0xf430x39!=null){_0xf430x9[_0x2c1d[17]][_0x2c1d[193]]=_0x2c1d[336];window[_0x2c1d[173]](function(){_0xf430x39(_0xf430x38);_0xf430x9[_0x2c1d[17]][_0x2c1d[193]]=_0x2c1d[149]},0)}};_0xf430x9[_0x2c1d[17]][_0x2c1d[190]]=_0x2c1d[191]+IMAGE_PATH+_0x2c1d[331];_0xf430x38[_0x2c1d[17]][_0x2c1d[127]]=_0x2c1d[128]}else {_0xf430x9[_0x2c1d[17]][_0x2c1d[190]]=_0x2c1d[191]+IMAGE_PATH+_0x2c1d[330];_0xf430x38[_0x2c1d[17]][_0x2c1d[127]]=_0x2c1d[154]};mxEvent[_0x2c1d[206]](_0xf430x4)})};Sidebar[_0x2c1d[40]][_0x2c1d[337]]=function(_0xf430x34){var _0xf430x3b=this[_0x2c1d[3]][_0xf430x34];if(_0xf430x3b!=null){this[_0x2c1d[3]][_0xf430x34]=null;for(var _0xf430x3c=0;_0xf430x3c<_0xf430x3b[_0x2c1d[138]];_0xf430x3c++){this[_0x2c1d[2]][_0x2c1d[338]](_0xf430x3b[_0xf430x3c])};return true};return false};Sidebar[_0x2c1d[40]][_0x2c1d[49]]=function(_0xf430x34,_0xf430x9,_0xf430x3d,_0xf430x3e,_0xf430x3f,_0xf430x40){this[_0x2c1d[327]](_0xf430x34,_0xf430x9,(_0xf430x34===_0x2c1d[42]),mxUtils[_0x2c1d[25]](this,function(_0xf430x38){var _0xf430x41=_0xf430x40!=null;for(var _0xf430x3c=0;_0xf430x3c<_0xf430x3f[_0x2c1d[138]];_0xf430x3c++){var _0xf430x42=_0xf430x3d+_0xf430x3f[_0xf430x3c]+_0xf430x3e;_0xf430x38[_0x2c1d[21]](this[_0x2c1d[240]](_0x2c1d[339]+_0xf430x42,80,80,_0xf430x3f[_0xf430x3c],(_0xf430x41)?_0xf430x40[_0xf430x3c]:null,_0xf430x41))}}))}
\ No newline at end of file