-'use strict';
-/**
- * $Id: Dialogs.js,v 1.5 2013-01-29 17:23:31 gaudenz Exp $
- * Copyright (c) 2006-2012, JGraph Ltd
- */
-/**
- * Constructs a new dialog.
- */
-
-function createCheckbox(value) {
- var input = document.createElement('input');
- input.setAttribute('type', 'checkbox');
- if (value) {
- input.setAttribute('checked', true);
- }
- return input;
-}
-
-function createDropdownFromApi(path, value, option_name, option_value, editorUi, paginated) {
- var req = new XMLHttpRequest();
- req.open('GET', path, false); // `false` makes the request synchronous
- req.setRequestHeader('Authorization', 'Bearer ' + editorUi.editor.data.token);
- req.send(null);
- var res = [];
- if (req.status === 200) {
- res = JSON.parse(req.response);
- }
- var input = document.createElement('select');
- var option = document.createElement('option');
- option.text = '-- None --';
- option.value = '0';
- input.appendChild(option);
- var selectValues = paginated ? res.rows : res;
- selectValues.forEach(function(elem) {
- option = document.createElement('option');
- option.text = elem[option_name];
- option.value = elem[option_value];
- option.selected = (elem[option_value] == value);
- input.appendChild(option);
- });
- input.className = 'form-control select2';
-
- return input;
-}
-
-function createGroupedDropdownFromApi(path, value, option_name, option_value, editorUi, paginated, associationField) {
- var req = new XMLHttpRequest();
- req.open('GET', path, false); // `false` makes the request synchronous
- req.setRequestHeader('Authorization', 'Bearer ' + editorUi.editor.data.token);
- req.send(null);
- var res = [];
- if (req.status === 200) {
- res = JSON.parse(req.response);
- }
- var input = document.createElement('select');
- var option = document.createElement('option');
- option.text = '-- None --';
- option.value = '0';
- input.appendChild(option);
- var selectValues = paginated ? res.rows : res;
- var mainFilter = {};
- var groupFilter = {};
- mainFilter[associationField] = null;
- var mainValues = _.filter(selectValues, mainFilter);
- var groupValues = {};
- mainValues.forEach(function(elem) {
- option = document.createElement('option');
- option.className = 'select-group-father';
- option.text = elem[option_name].toUpperCase();
- option.value = elem[option_value];
- option.selected = (elem[option_value] == value);
- input.appendChild(option);
- groupFilter[associationField] = elem[option_value];
- groupValues = _.filter(selectValues, groupFilter);
- groupValues.forEach(function(elem) {
- option = document.createElement('option');
- option.className = 'select-group-son';
- option.text = '-' + _.capitalize(elem[option_name]);
- option.value = elem[option_value];
- option.selected = (elem[option_value] == value);
- input.appendChild(option);
- });
- })
- input.className = 'form-control select2';
-
- return input;
-}
-
-function createDropdownFromArray(array, value) {
- var input = document.createElement('select');
-
- for (var item in array) {
- var option = document.createElement('option');
- option.text = array[item];
- option.value = item;
- if (value > 0 || value != '')
- option.selected = (value === item) ? true : false;
-
- input.appendChild(option);
- }
-
- input.className = 'form-control select2';
-
- return input;
-}
-
-function Dialog(editorUi, elt, w, h, modal, closable, onClose) {
- var dx = 0;
-
- if (mxClient.IS_IE && document.documentMode != 9) {
- dx = 60;
- }
-
- w += dx;
- h += dx;
-
- var left = Math.max(0, Math.round((document.body.scrollWidth - w) / 2));
- var top = Math.max(0, Math.round((Math.max(document.body.scrollHeight,
- document.documentElement.scrollHeight) - h) / 3));
-
- var div = editorUi.createDiv('geDialog');
- div.className = 'modal fade in center';
- div.style.display = 'block';
- div.style.paddingRight = '12px';
- // div.style.width = w + 'px';
- // div.style.height = h + 'px';
- // div.style.left = left + 'px';
- // div.style.top = top + 'px';
-
- var divModalDialog = editorUi.createDiv('geModalDialog');
- divModalDialog.className = 'modal-dialog';
-
- divModalDialog.appendChild(elt);
- div.appendChild(divModalDialog);
-
- if (this.bg == null) {
- this.bg = editorUi.createDiv('background');
- this.bg.className = 'modal-backdrop fade in';
-
- if (mxClient.IS_QUIRKS) {
- new mxDivResizer(this.bg);
- }
- }
-
- if (modal) {
- document.body.appendChild(this.bg);
- }
-
- document.body.appendChild(div);
-
- this.onDialogClose = onClose;
- this.container = div;
-};
-
-/**
- * Removes the dialog from the DOM.
- */
-Dialog.prototype.close = function() {
- if (this.onDialogClose != null) {
- this.onDialogClose();
- this.onDialogClose = null;
- }
-
- this.container.parentNode.removeChild(this.container);
- this.bg.parentNode.removeChild(this.bg);
-};
-
-/**
- * Constructs a new open dialog.
- */
-function ImportDialog(editorUi) {
-
- var content = editorUi.createDiv('modal-content');
- var header = editorUi.createDiv('modal-header');
- var body = editorUi.createDiv('modal-body');
- var footer = editorUi.createDiv('modal-footer');
-
- //--- START HEADER
- var title = editorUi.createHeader('h4');
- mxUtils.write(title, mxResources.get('import') + ' XML');
-
- var x = mxUtils.button('', function() {
- editorUi.hideDialog();
- });
- x.className = 'close';
-
- header.appendChild(x);
- header.appendChild(title);
- //--- END HEADER
-
- //--- START BODY
- var row = editorUi.createDiv('row');
- var col1 = editorUi.createDiv('col-md-12');
-
- var textarea = document.createElement('textarea');
- textarea.style.width = '100%';
- textarea.style.height = '374px';
-
- var input = document.createElement('input');
- input.type = 'file';
- input.setAttribute('accept', 'text/xml');
-
- input.addEventListener('change', function readSingleFile(evt) {
- //Retrieve the first (and only!) File from the FileList object
- var f = evt.target.files[0];
- console.log(f);
- if (f) {
- if (f.type === 'text/xml') {
- var r = new FileReader();
- r.onload = function(e) {
- var contents = e.target.result;
- mxUtils.write(textarea, contents);
- };
- r.readAsText(f);
- } else {
- alert('Failed to load format file');
- }
- } else {
- alert('Failed to load file');
- }
- }, false);
-
- col1.appendChild(input);
- col1.appendChild(textarea);
-
- row.appendChild(col1);
- body.appendChild(row);
- //--- END BODY
-
- //--- START FOOTER
- var save = mxUtils.button(mxResources.get('import'), mxUtils.bind(this,
- function(data) {
- var doc = mxUtils.parseXml(textarea.value);
- editorUi.editor.setGraphXml(doc.documentElement);
- editorUi.hideDialog();
- }));
- save.className = 'btn blue';
-
- var close = mxUtils.button(mxResources.get('cancel'), function() {
- editorUi.hideDialog();
- });
- close.className = 'btn default';
-
- footer.appendChild(save);
- footer.appendChild(close);
- //--- END FOOTER
-
- //--- START CONTENT
- content.appendChild(header);
- content.appendChild(body);
- content.appendChild(footer);
- //--- END CONTENT
-
- this.container = content;
-
-};
-
-/**
- * Constructs a new about dialog.
- */
-function AboutDialog(editorUi) {
- var content = editorUi.createDiv('modal-content');
- var header = editorUi.createDiv('modal-header');
- var body = editorUi.createDiv('modal-body');
- var footer = editorUi.createDiv('modal-footer');
-
- //--- START HEADER
- var title = editorUi.createHeader('h4');
- mxUtils.write(title, mxResources.get('about') + ' Cally Square');
-
- var x = mxUtils.button('', function() {
- editorUi.hideDialog();
- });
- x.className = 'close';
-
- header.appendChild(x);
- header.appendChild(title);
- //--- END HEADER
-
- //--- START BODY
- var img = document.createElement('img');
- img.style.border = '0px';
- img.setAttribute('width', '176');
- img.setAttribute('width', '151');
- img.setAttribute('src', IMAGE_PATH + '/logo.png');
- body.appendChild(img);
- mxUtils.br(body);
- mxUtils.write(body, 'Powered by Xenialab ' + mxClient.VERSION);
- mxUtils.br(body);
- var link = document.createElement('a');
- link.setAttribute('href', 'http://www.callysquare.com/');
- link.setAttribute('target', '_blank');
- mxUtils.write(link, 'www.callysquare.com');
- body.appendChild(link);
- mxUtils.br(body);
- mxUtils.br(body);
- //--- END BODY
-
- var close = mxUtils.button(mxResources.get('close'), function() {
- editorUi.hideDialog();
- });
- close.className = 'btn default';
-
- footer.appendChild(close);
- //--- END FOOTER
-
- //--- START CONTENT
- content.appendChild(header);
- content.appendChild(body);
- content.appendChild(footer);
- //--- END CONTENT
-
- this.container = content;
-};
-
-/**
- * Constructs a new save dialog.
- */
-function SaveDialog(editorUi) {
-
- var content = editorUi.createDiv('modal-content');
- var header = editorUi.createDiv('modal-header');
- var body = editorUi.createDiv('modal-body');
- var footer = editorUi.createDiv('modal-footer');
-
- //--- START HEADER
- var title = editorUi.createHeader('h4');
- mxUtils.write(title, mxResources.get('saveAs'));
-
- var x = mxUtils.button('', function() {
- editorUi.hideDialog();
- });
- x.className = 'close';
-
- header.appendChild(x);
- header.appendChild(title);
- //--- END HEADER
-
- //--- START BODY
- var name = 'name';
- var id = '_' + name;
- var value = editorUi.editor.getOrCreateFilename();
-
- var row = editorUi.createDiv('row');
- var col1 = editorUi.createDiv('col-md-4');
- var col2 = editorUi.createDiv('col-md-8');
-
- var label = document.createElement('label');
- label.className = 'control-label pull-right';
- mxUtils.write(label, mxResources.get(name));
- col1.appendChild(label);
-
- var select = document.createElement('input');
- select.setAttribute('value', value + '_copy');
- select.setAttribute('id', id)
- select.className = 'form-control';
- col2.appendChild(select);
-
- row.appendChild(col1);
- row.appendChild(col2);
- body.appendChild(row);
- //--- END BODY
-
- //--- START FOOTER
- var save = mxUtils.button(mxResources.get('save'), function() {
- editorUi.saveAs(select.value);
- editorUi.hideDialog();
- });
- save.className = 'btn blue';
-
- var close = mxUtils.button(mxResources.get('cancel'), function() {
- editorUi.hideDialog();
- });
- close.className = 'btn default';
-
- footer.appendChild(save);
- footer.appendChild(close);
- //--- END FOOTER
-
- //--- START CONTENT
- content.appendChild(header);
- content.appendChild(body);
- content.appendChild(footer);
- //--- END CONTENT
-
- this.container = content;
- //nameInput.setAttribute('value', editorUi.editor.getOrCreateFilename());
-};
-
-/**
- * Constructs a new save dialog.
- */
-function NewDialog(editorUi) {
-
- var content = editorUi.createDiv('modal-content');
- var header = editorUi.createDiv('modal-header');
- var body = editorUi.createDiv('modal-body');
- var footer = editorUi.createDiv('modal-footer');
-
- //--- START HEADER
- var title = editorUi.createHeader('h4');
- mxUtils.write(title, mxResources.get('new'));
-
- var x = mxUtils.button('', function() {
- editorUi.hideDialog();
- });
- x.className = 'close';
-
- header.appendChild(x);
- header.appendChild(title);
- //--- END HEADER
-
- //--- START BODY
- var name = 'name';
- var id = '_' + name;
- var value = editorUi.editor.getOrCreateFilename();
-
- var row = editorUi.createDiv('row');
- var col1 = editorUi.createDiv('col-md-4');
- var col2 = editorUi.createDiv('col-md-8');
-
- var label = document.createElement('label');
- label.className = 'control-label pull-right';
- mxUtils.write(label, mxResources.get(name));
- col1.appendChild(label);
-
- var select = document.createElement('input');
- select.setAttribute('value', value + '_new');
- select.setAttribute('id', id)
- select.className = 'form-control';
- col2.appendChild(select);
-
- row.appendChild(col1);
- row.appendChild(col2);
- body.appendChild(row);
- //--- END BODY
-
- //--- START FOOTER
- var save = mxUtils.button(mxResources.get('new'), function() {
- editorUi.new(select.value);
- editorUi.hideDialog();
- });
- save.className = 'btn blue';
-
- var close = mxUtils.button(mxResources.get('cancel'), function() {
- editorUi.hideDialog();
- });
- close.className = 'btn default';
-
- footer.appendChild(save);
- footer.appendChild(close);
- //--- END FOOTER
-
- //--- START CONTENT
- content.appendChild(header);
- content.appendChild(body);
- content.appendChild(footer);
- //--- END CONTENT
-
- this.container = content;
- //nameInput.setAttribute('value', editorUi.editor.getOrCreateFilename());
-};
-
-/**
- * Constructs a new save dialog.
- */
-function VariableDialog(editorUi) {
-
- var content = editorUi.createDiv('modal-content');
- var header = editorUi.createDiv('modal-header');
- var body = editorUi.createDiv('modal-body');
- var footer = editorUi.createDiv('modal-footer');
-
- //--- START HEADER
- var title = editorUi.createHeader('h4');
- mxUtils.write(title, mxResources.get('variable'));
-
- var x = mxUtils.button('', function() {
- editorUi.hideDialog();
- });
- x.className = 'close';
-
- header.appendChild(x);
- header.appendChild(title);
- //--- END HEADER
-
- //--- START BODY
- var name = 'name';
- var id = '_' + name;
- var value = editorUi.editor.getOrCreateFilename();
-
- var row = editorUi.createDiv('row');
- var col1 = editorUi.createDiv('col-md-4');
- var col2 = editorUi.createDiv('col-md-8');
-
- var label = document.createElement('label');
- label.className = 'control-label pull-right';
- mxUtils.write(label, mxResources.get(name));
- col1.appendChild(label);
-
- var select = document.createElement('input');
- select.setAttribute('value', 'variable name');
- select.setAttribute('id', id)
- select.className = 'form-control';
- col2.appendChild(select);
-
- row.appendChild(col1);
- row.appendChild(col2);
- body.appendChild(row);
- //--- END BODY
-
- //--- START FOOTER
- var save = mxUtils.button(mxResources.get('new'), function() {
- editorUi.variable(select.value);
- editorUi.hideDialog();
- });
- save.className = 'btn blue';
-
- var close = mxUtils.button(mxResources.get('cancel'), function() {
- editorUi.hideDialog();
- });
- close.className = 'btn default';
-
- footer.appendChild(save);
- footer.appendChild(close);
- //--- END FOOTER
-
- //--- START CONTENT
- content.appendChild(header);
- content.appendChild(body);
- content.appendChild(footer);
- //--- END CONTENT
-
- this.container = content;
- //nameInput.setAttribute('value', editorUi.editor.getOrCreateFilename());
-};
-
-/**
- * Constructs a new save dialog.
- */
-function OpenDialog(editorUi) {
-
- var content = editorUi.createDiv('modal-content');
- var header = editorUi.createDiv('modal-header');
- var body = editorUi.createDiv('modal-body');
- var footer = editorUi.createDiv('modal-footer');
-
- //--- START HEADER
- var title = editorUi.createHeader('h4');
- mxUtils.write(title, mxResources.get('open'));
-
- var x = mxUtils.button('', function() {
- editorUi.hideDialog();
- });
- x.className = 'close';
-
- header.appendChild(x);
- header.appendChild(title);
- //--- END HEADER
-
- //--- START BODY
- var row = editorUi.createDiv('row');
- var col1 = editorUi.createDiv('col-md-4');
- var col2 = editorUi.createDiv('col-md-8');
-
- var label = document.createElement('label');
- label.className = 'control-label pull-right';
- mxUtils.write(label, mxResources.get('name'));
- col1.appendChild(label);
-
- var req = new XMLHttpRequest();
- req.open('GET', '/api/jscripty/projects', false); // `false` makes the request synchronous
- req.setRequestHeader('Authorization', 'Bearer ' + editorUi.editor.data.token);
- req.send(null);
- var res = [];
- if (req.status === 200) {
- res = JSON.parse(req.response);
- }
-
- var select = document.createElement('select');
-
- for (var j = 0; j < res.length; j++) {
- var option = document.createElement('option');
- option.text = res[j].name;
- option.value = res[j].id;
- select.appendChild(option);
- }
- select.className = 'form-control';
- col2.appendChild(select);
-
- row.appendChild(col1);
- row.appendChild(col2);
- body.appendChild(row);
- //--- END BODY
-
- //--- START FOOTER
- var save = mxUtils.button(mxResources.get('open'), function() {
- console.log(select);
- console.log(select.value);
- window.open('jscripty/project/' + select.value, '_blank');
- editorUi.hideDialog();
- });
- save.className = 'btn blue';
-
- var close = mxUtils.button(mxResources.get('cancel'), function() {
- editorUi.hideDialog();
- });
- close.className = 'btn default';
-
- footer.appendChild(save);
- footer.appendChild(close);
- //--- END FOOTER
-
- //--- START CONTENT
- content.appendChild(header);
- content.appendChild(body);
- content.appendChild(footer);
- //--- END CONTENT
-
- this.container = content;
- //nameInput.setAttribute('value', editorUi.editor.getOrCreateFilename());
-};
-
-
-/**
- * Constructs a new edit file dialog.
- */
-function EditFileDialog(editorUi) {
-
- var content = editorUi.createDiv('modal-content');
- var header = editorUi.createDiv('modal-header');
- var body = editorUi.createDiv('modal-body');
- var footer = editorUi.createDiv('modal-footer');
-
- //--- START HEADER
- var title = editorUi.createHeader('h4');
- mxUtils.write(title, mxResources.get('edit'));
-
- var x = mxUtils.button('', function() {
- editorUi.hideDialog();
- });
- x.className = 'close';
-
- header.appendChild(x);
- header.appendChild(title);
- //--- END HEADER
-
- //--- START BODY
- var row = editorUi.createDiv('row');
- var col1 = editorUi.createDiv('col-md-12');
-
- var textarea = document.createElement('textarea');
- textarea.style.width = '100%';
- textarea.style.height = '374px';
- textarea.value = mxUtils.getPrettyXml(editorUi.editor.getGraphXml());
-
- // Enables dropping files
- if (fileSupport) {
- function handleDrop(evt) {
- evt.stopPropagation();
- evt.preventDefault();
-
- if (evt.dataTransfer.files.length > 0) {
- var file = evt.dataTransfer.files[0];
-
- var reader = new FileReader();
- reader.onload = function(e) {
- textarea.value = e.target.result;
- };
- reader.readAsText(file);
- }
- };
-
- function handleDragOver(evt) {
- evt.stopPropagation();
- evt.preventDefault();
- };
-
- // Setup the dnd listeners.
- textarea.addEventListener('dragover', handleDragOver, false);
- textarea.addEventListener('drop', handleDrop, false);
- }
- col1.appendChild(textarea);
-
- row.appendChild(col1);
- body.appendChild(row);
- //--- END BODY
-
- //--- START FOOTER
- var save = mxUtils.button(mxResources.get('save'), function() {
- var doc = mxUtils.parseXml(textarea.value);
- editorUi.editor.setGraphXml(doc.documentElement);
- editorUi.hideDialog();
- });
- save.className = 'btn blue';
-
- var close = mxUtils.button(mxResources.get('cancel'), function() {
- editorUi.hideDialog();
- });
- close.className = 'btn default';
-
- footer.appendChild(save);
- footer.appendChild(close);
- //--- END FOOTER
-
- //--- START CONTENT
- content.appendChild(header);
- content.appendChild(body);
- content.appendChild(footer);
- //--- END CONTENT
-
- this.container = content;
-};
-
-/**
- * Constructs a new export dialog.
- */
-function ExportDialog(editorUi) {
- var content = editorUi.createDiv('modal-content');
- var header = editorUi.createDiv('modal-header');
- var body = editorUi.createDiv('modal-body form');
- var footer = editorUi.createDiv('modal-footer');
-
- //--- START HEADER
- var title = editorUi.createHeader('h4');
- mxUtils.write(title, mxResources.get('export') + ' XML');
-
- var x = mxUtils.button('', function() {
- editorUi.hideDialog();
- });
- x.className = 'close';
-
- header.appendChild(x);
- header.appendChild(title);
- //--- END HEADER
-
- //--- START BODY
- var form = editorUi.createDiv('form-horizontal form-row-seperated');
- var group = editorUi.createDiv('form-group last');
-
- var label = document.createElement('label');
- label.className = 'col-sm-4 control-label';
- mxUtils.write(label, mxResources.get('filename'));
-
- var input = document.createElement('input');
- input.setAttribute('value', editorUi.editor.getOrCreateFilename());
- input.className = 'form-control';
-
- var div = editorUi.createDiv('col-sm-8');
- div.appendChild(input);
-
- group.appendChild(label);
- group.appendChild(div);
- form.appendChild(group);
-
- body.appendChild(form);
- //--- END BODY
-
- //--- START FOOTER
- var save = mxUtils.button(mxResources.get('export'), mxUtils.bind(this,
- function(data) {
- editorUi.save(false);
-
- var xml = encodeURIComponent(mxUtils.getXml(editorUi.editor.getGraphXml()));
- new mxXmlRequest(SAVE_URL + editorUi.editor.data.id + '/download',
- 'filename=' + input.value, 'GET').simulate(document, "_blank");
- editorUi.hideDialog();
- }));
- save.className = 'btn blue';
-
- var close = mxUtils.button(mxResources.get('cancel'), function() {
- editorUi.hideDialog();
- });
- close.className = 'btn default';
-
- footer.appendChild(save);
- footer.appendChild(close);
- //--- END FOOTER
-
- //--- START CONTENT
- content.appendChild(header);
- content.appendChild(body);
- content.appendChild(footer);
- //--- END CONTENT
-
- this.container = content;
-};
-
-/**
- * Giuseppe Careri
- * Constructs a new general dialog.
- */
-function GeneralDialog(editorUi, cell) {
- var graph = editorUi.editor.graph;
-
- var content = editorUi.createDiv('modal-content');
- var header = editorUi.createDiv('modal-header');
- var body = editorUi.createDiv('modal-body form modal-body-scroll');
- var footer = editorUi.createDiv('modal-footer');
-
- //--- START HEADER
- var title = editorUi.createHeader('h4');
- mxUtils.write(title, mxResources.get('edit') + ' ' + mxResources.get(cell.value
- .nodeName));
-
- var x = mxUtils.button('', function() {
- editorUi.hideDialog();
- });
- x.className = 'close';
-
- header.appendChild(x);
- header.appendChild(title);
- //--- END HEADER
-
- //--- START BODY
- var length = cell.value.attributes.length;
- var form = editorUi.createDiv('form-horizontal form-row-seperated');
-
- for (var i = 0; i < length; i++) {
- var name = cell.value.attributes[i].name;
- var id = '_' + name;
- var value = cell.value.attributes[i].value;
-
- var group = editorUi.createDiv((i == length - 1) ? 'form-group last' :
- 'form-group');
-
- var label = document.createElement('label');
- label.className = 'col-sm-4 control-label';
- mxUtils.write(label, mxResources.get(name));
- group.appendChild(label);
-
- var input;
-
- switch (name) {
- case 'sip_id':
- input = createDropdownFromApi('/api/agents', value, 'name', 'id', editorUi, true);
- break;
- case 'queue_id':
- input = createDropdownFromApi('/api/voice/queues', value, 'name', 'name', editorUi, true);
- break;
- case 'trunk_id':
- input = createDropdownFromApi('/api/trunks', value, 'name', 'id', editorUi, true);
- break;
- case 'variable_id':
- input = createDropdownFromApi('/api/jscripty/variables', value, 'name', 'id', editorUi, true); //mettere true dopo la pagination
- break;
- case 'model':
- input = createDropdownFromArray(ISPEECHASRMODEL, value);
- break;
- case 'ispeech_asr_language':
- input = createDropdownFromArray(ISPEECHASRLANG, value);
- break;
- case 'ispeech_tts_language':
- input = createDropdownFromArray(ISPEECHLANG, value);
- break;
- case 'google_tts_language':
- input = createDropdownFromArray(GOOGLETTSLANG, value);
- break;
- case 'interval_id':
- input = createGroupedDropdownFromApi('/api/intervals/all', value, 'name', 'id', editorUi, false, 'IntervalId');
- break;
- case 'project_id':
- input = createDropdownFromApi('/api/square/projects', value, 'name', 'id', editorUi, true);
- break;
- case 'odbc_id':
- input = createDropdownFromApi('/api/square/odbc', value, 'name', 'id', editorUi, true);
- break;
- case 'file_id':
- input = createDropdownFromApi('/api/uploads', value, 'display_name', 'id', editorUi, false);
- break;
- case 'timeout':
- case 'digit':
- case 'mindigit':
- case 'maxdigit':
- case 'response':
- case 'retry':
- input = document.createElement('input');
- input.setAttribute('type', 'number');
- input.setAttribute('min', 0);
- input.setAttribute('max', 1000);
- input.setAttribute('value', value);
- input.className = 'form-control';
- break;
- case 'text':
- case 'Zendesk':
- var input = document.createElement('select');
- var option = document.createElement('option');
- option.text = '-- None --';
- option.value = '';
- input.appendChild(option);
- var selectValues = ['Yes', 'No'];
- selectValues.forEach(function(elem) {
- option = document.createElement('option');
- console.log(elem);
- option.text = elem;
- option.value = elem;
- option.selected = (elem == value);
- input.appendChild(option);
- })
- input.className = 'form-control';
- break;
- case 'Summary':
- var input = document.createElement('select');
- var option = document.createElement('option');
- option.text = '-- None --';
- option.value = '';
- input.appendChild(option);
- var selectValues = ['Yes', 'No'];
- selectValues.forEach(function(elem) {
- option = document.createElement('option');
- console.log(elem);
- option.text = elem;
- option.value = elem;
- option.selected = (elem == value);
- input.appendChild(option);
- })
- input.className = 'form-control';
- break;
- case 'Text':
- input = document.createElement('textarea');
- input.innerHTML = value;
- input.className = 'form-control';
- break;
- case 'Body':
- input = document.createElement('textarea');
- input.innerHTML = value;
- input.className = 'form-control';
- break;
- case 'question':
- input = document.createElement('textarea');
- input.innerHTML = value;
- input.className = 'form-control';
- break;
- case 'other':
- var input = document.createElement('input');
- input.setAttribute('type', 'checkbox');
- console.log('attr value', value);
- if (value == 'true') {
- input.setAttribute('checked', true);
- } else {
- input.removeAttribute("checked");
-
- }
- break;
- default:
- input = document.createElement('input');
- input.setAttribute('value', value);
- input.className = 'form-control';
- break;
- }
-
- input.setAttribute('id', id)
-
- var div = editorUi.createDiv('col-sm-8');
- div.appendChild(input);
-
- // Help
- if (mxResources.get('help_' + name)) {
- var help = editorUi.createDiv('p');
- help.className = 'help-block';
- mxUtils.write(help, mxResources.get('help_' + name));
- div.appendChild(help);
- }
-
- group.appendChild(div);
- form.appendChild(group);
- }
- body.appendChild(form);
- //--- END BODY
-
- //--- START FOOTER
- var save = mxUtils.button(mxResources.get('save'), mxUtils.bind(this,
- function(data) {
- for (var i = 0; i < cell.value.attributes.length; i++) {
- var id = '_' + cell.value.attributes[i].name;
- var name = cell.value.attributes[i].name;
-
- if (name == 'other') {
- cell.setAttribute(name, document.getElementById(id).checked);
- console.log(name, document.getElementById(id).checked);
- } else {
- console.log(name, document.getElementById(id).value);
- cell.setAttribute(name, document.getElementById(id).value);
- }
- };
- graph.refresh(cell);
- editorUi.hideDialog();
- }));
- save.className = 'btn blue';
-
- var close = mxUtils.button(mxResources.get('cancel'), function() {
- editorUi.hideDialog();
- });
- close.className = 'btn default';
-
- footer.appendChild(save);
- footer.appendChild(close);
- //--- END FOOTER
-
- //--- START CONTENT
- content.appendChild(header);
- content.appendChild(body);
- content.appendChild(footer);
- //--- END CONTENT
-
- this.container = content;
-};
+var _0x85b8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x69\x6E\x70\x75\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x79\x70\x65","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x68\x65\x63\x6B\x65\x64","\x47\x45\x54","\x6F\x70\x65\x6E","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x65\x61\x72\x65\x72\x20","\x74\x6F\x6B\x65\x6E","\x64\x61\x74\x61","\x65\x64\x69\x74\x6F\x72","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x73\x65\x6C\x65\x63\x74","\x6F\x70\x74\x69\x6F\x6E","\x74\x65\x78\x74","\x2D\x2D\x20\x4E\x6F\x6E\x65\x20\x2D\x2D","\x76\x61\x6C\x75\x65","\x2D\x31","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x25","\x72\x65\x70\x6C\x61\x63\x65","\x66\x6F\x72\x45\x61\x63\x68","\x73\x65\x6C\x65\x63\x74\x65\x64","\x72\x6F\x77\x73","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C\x20\x73\x65\x6C\x65\x63\x74\x32","\x30","\x66\x69\x6C\x74\x65\x72","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x66\x61\x74\x68\x65\x72","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x73\x6F\x6E","\x2D","\x63\x61\x70\x69\x74\x61\x6C\x69\x7A\x65","","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x73\x63\x72\x6F\x6C\x6C\x57\x69\x64\x74\x68","\x62\x6F\x64\x79","\x72\x6F\x75\x6E\x64","\x6D\x61\x78","\x73\x63\x72\x6F\x6C\x6C\x48\x65\x69\x67\x68\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x44\x69\x61\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x6D\x6F\x64\x61\x6C\x20\x66\x61\x64\x65\x20\x69\x6E\x20\x63\x65\x6E\x74\x65\x72","\x64\x69\x73\x70\x6C\x61\x79","\x73\x74\x79\x6C\x65","\x62\x6C\x6F\x63\x6B","\x70\x61\x64\x64\x69\x6E\x67\x52\x69\x67\x68\x74","\x31\x32\x70\x78","\x67\x65\x4D\x6F\x64\x61\x6C\x44\x69\x61\x6C\x6F\x67","\x6D\x6F\x64\x61\x6C\x2D\x64\x69\x61\x6C\x6F\x67","\x62\x67","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x6D\x6F\x64\x61\x6C\x2D\x62\x61\x63\x6B\x64\x72\x6F\x70\x20\x66\x61\x64\x65\x20\x69\x6E","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x6E\x44\x69\x61\x6C\x6F\x67\x43\x6C\x6F\x73\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x6C\x6F\x73\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x64\x61\x6C\x2D\x63\x6F\x6E\x74\x65\x6E\x74","\x6D\x6F\x64\x61\x6C\x2D\x68\x65\x61\x64\x65\x72","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79","\x6D\x6F\x64\x61\x6C\x2D\x66\x6F\x6F\x74\x65\x72","\x68\x34","\x63\x72\x65\x61\x74\x65\x48\x65\x61\x64\x65\x72","\x69\x6D\x70\x6F\x72\x74","\x67\x65\x74","\x20\x58\x4D\x4C","\x77\x72\x69\x74\x65","\x68\x69\x64\x65\x44\x69\x61\x6C\x6F\x67","\x62\x75\x74\x74\x6F\x6E","\x72\x6F\x77","\x63\x6F\x6C\x2D\x6D\x64\x2D\x31\x32","\x74\x65\x78\x74\x61\x72\x65\x61","\x77\x69\x64\x74\x68","\x31\x30\x30\x25","\x68\x65\x69\x67\x68\x74","\x33\x37\x34\x70\x78","\x66\x69\x6C\x65","\x61\x63\x63\x65\x70\x74","\x74\x65\x78\x74\x2F\x78\x6D\x6C","\x63\x68\x61\x6E\x67\x65","\x66\x69\x6C\x65\x73","\x74\x61\x72\x67\x65\x74","\x6C\x6F\x67","\x6F\x6E\x6C\x6F\x61\x64","\x72\x65\x73\x75\x6C\x74","\x72\x65\x61\x64\x41\x73\x54\x65\x78\x74","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x6F\x72\x6D\x61\x74\x20\x66\x69\x6C\x65","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x69\x6C\x65","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x62\x69\x6E\x64","\x62\x74\x6E\x20\x62\x6C\x75\x65","\x63\x61\x6E\x63\x65\x6C","\x62\x74\x6E\x20\x64\x65\x66\x61\x75\x6C\x74","\x61\x62\x6F\x75\x74","\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65","\x69\x6D\x67","\x62\x6F\x72\x64\x65\x72","\x30\x70\x78","\x31\x37\x36","\x31\x35\x31","\x73\x72\x63","\x2F\x6C\x6F\x67\x6F\x2E\x70\x6E\x67","\x62\x72","\x50\x6F\x77\x65\x72\x65\x64\x20\x62\x79\x20\x58\x65\x6E\x69\x61\x6C\x61\x62\x20","\x56\x45\x52\x53\x49\x4F\x4E","\x61","\x68\x72\x65\x66","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D\x2F","\x5F\x62\x6C\x61\x6E\x6B","\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D","\x73\x61\x76\x65\x41\x73","\x6E\x61\x6D\x65","\x5F","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x63\x6F\x6C\x2D\x6D\x64\x2D\x34","\x63\x6F\x6C\x2D\x6D\x64\x2D\x38","\x6C\x61\x62\x65\x6C","\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C\x20\x70\x75\x6C\x6C\x2D\x72\x69\x67\x68\x74","\x5F\x63\x6F\x70\x79","\x69\x64","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C","\x73\x61\x76\x65","\x6E\x65\x77","\x5F\x6E\x65\x77","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x6E\x61\x6D\x65","\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x76\x69\x65\x77\x2F","\x72\x65\x6E\x61\x6D\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x50\x55\x54","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x6E\x61\x6D\x65\x3D","\x50\x72\x6F\x6A\x65\x63\x74\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x6C\x79\x20\x72\x65\x6E\x61\x6D\x65\x64","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72\x73","\x6F\x6E\x65\x72\x72\x6F\x72","\x73\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x61\x6C\x65\x72\x74","\x65\x64\x69\x74","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x73\x74\x6F\x70\x50\x72\x6F\x70\x61\x67\x61\x74\x69\x6F\x6E","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x64\x61\x74\x61\x54\x72\x61\x6E\x73\x66\x65\x72","\x64\x72\x61\x67\x6F\x76\x65\x72","\x64\x72\x6F\x70","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D","\x65\x78\x70\x6F\x72\x74","\x66\x6F\x72\x6D\x2D\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x20\x66\x6F\x72\x6D\x2D\x72\x6F\x77\x2D\x73\x65\x70\x65\x72\x61\x74\x65\x64","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70\x20\x6C\x61\x73\x74","\x63\x6F\x6C\x2D\x73\x6D\x2D\x34\x20\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C","\x63\x6F\x6C\x2D\x73\x6D\x2D\x38","\x67\x65\x74\x58\x6D\x6C","\x73\x69\x6D\x75\x6C\x61\x74\x65","\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D","\x67\x72\x61\x70\x68","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D\x20\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x2D\x73\x63\x72\x6F\x6C\x6C","\x20","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x69\x6E\x70\x75\x74\x47\x72\x6F\x75\x70","\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70","\x64\x69\x73\x61\x62\x6C\x65\x64","\x6F\x6E\x63\x6C\x69\x63\x6B","\x4F\x4E","\x4F\x46\x46","\x62\x74\x6E\x20\x62\x74\x6E\x2D\x64\x61\x6E\x67\x65\x72\x20\x62\x74\x6E\x2D\x6D\x64","\x62\x74\x6E\x20\x62\x74\x6E\x2D\x73\x75\x63\x63\x65\x73\x73\x20\x62\x74\x6E\x2D\x6D\x64","\x73\x74\x61\x74\x65","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x42\x6F\x64\x79","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x49\x6E\x73\x65\x72\x74\x20\x6C\x61\x62\x65\x6C\x20\x66\x6F\x72\x20\x22\x4F\x74\x68\x65\x72\x22\x20\x61\x6E\x73\x77\x65\x72\x20\x6F\x70\x74\x69\x6F\x6E","\x6F\x74\x68\x65\x72","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x6D\x61\x78\x6C\x65\x6E\x67\x74\x68","\x31\x36\x30","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x2B","\x62\x74\x6E\x20\x67\x72\x65\x65\x6E","\x61\x64\x64","\x68\x65\x6C\x70\x5F","\x70","\x68\x65\x6C\x70\x2D\x62\x6C\x6F\x63\x6B","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x6D\x6F\x64\x65\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x72\x65\x66\x72\x65\x73\x68","\x63\x6F\x6C\x2D\x6D\x64\x2D\x35","\x63\x6F\x6C\x2D\x6D\x64\x2D\x32","\x49\x6E\x73\x65\x72\x74\x20\x6C\x61\x62\x65\x6C","\x6E\x75\x6D\x62\x65\x72","\x78","\x70\x61\x72\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x62\x74\x6E\x20\x72\x65\x64"];_0x85b8[0];function createCheckbox(_0xc5fcx2){var _0xc5fcx3=document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx3[_0x85b8[5]](_0x85b8[3],_0x85b8[4]);if(_0xc5fcx2){_0xc5fcx3[_0x85b8[5]](_0x85b8[6],true)};return _0xc5fcx3}function createDropdownFromApi(_0xc5fcx5,_0xc5fcx2,_0xc5fcx6,_0xc5fcx7,_0xc5fcx8,_0xc5fcx9,_0xc5fcxa){var _0xc5fcxb= new XMLHttpRequest();_0xc5fcxb[_0x85b8[8]](_0x85b8[7],_0xc5fcx5,false);_0xc5fcxb[_0x85b8[14]](_0x85b8[9],_0x85b8[10]+ _0xc5fcx8[_0x85b8[13]][_0x85b8[12]][_0x85b8[11]]);_0xc5fcxb[_0x85b8[15]](null);var _0xc5fcxc=[];if(_0xc5fcxb[_0x85b8[16]]=== 200){_0xc5fcxc= JSON[_0x85b8[18]](_0xc5fcxb[_0x85b8[17]])};var _0xc5fcx3=document[_0x85b8[2]](_0x85b8[19]);var _0xc5fcxd=document[_0x85b8[2]](_0x85b8[20]);_0xc5fcxd[_0x85b8[21]]= _0x85b8[22];_0xc5fcxd[_0x85b8[23]]= _0x85b8[24];_0xc5fcx3[_0x85b8[25]](_0xc5fcxd);_0xc5fcxc[_0x85b8[30]][_0x85b8[28]](function(_0xc5fcxe){_0xc5fcxd= document[_0x85b8[2]](_0x85b8[20]);_0xc5fcxd[_0x85b8[21]]= _0xc5fcxe[_0xc5fcx6];if(_0xc5fcx9&& _0xc5fcxa){_0xc5fcx9[_0x85b8[28]](function(_0xc5fcxf){_0xc5fcxa= _0xc5fcxa[_0x85b8[27]](_0x85b8[26]+ _0xc5fcxf+ _0x85b8[26],_0xc5fcxe[_0xc5fcxf])});_0xc5fcxd[_0x85b8[23]]= _0xc5fcxa;_0xc5fcxd[_0x85b8[29]]= (_0xc5fcxa== _0xc5fcx2)}else {_0xc5fcxd[_0x85b8[23]]= _0xc5fcxe[_0xc5fcx7];_0xc5fcxd[_0x85b8[29]]= (_0xc5fcxe[_0xc5fcx7]== _0xc5fcx2)};_0xc5fcx3[_0x85b8[25]](_0xc5fcxd)});_0xc5fcx3[_0x85b8[31]]= _0x85b8[32];return _0xc5fcx3}function createGroupedDropdownFromApi(_0xc5fcx5,_0xc5fcx2,_0xc5fcx6,_0xc5fcx7,_0xc5fcx8,_0xc5fcx11,_0xc5fcx12){var _0xc5fcxb= new XMLHttpRequest();_0xc5fcxb[_0x85b8[8]](_0x85b8[7],_0xc5fcx5,false);_0xc5fcxb[_0x85b8[14]](_0x85b8[9],_0x85b8[10]+ _0xc5fcx8[_0x85b8[13]][_0x85b8[12]][_0x85b8[11]]);_0xc5fcxb[_0x85b8[15]](null);var _0xc5fcxc=[];if(_0xc5fcxb[_0x85b8[16]]=== 200){_0xc5fcxc= JSON[_0x85b8[18]](_0xc5fcxb[_0x85b8[17]])};var _0xc5fcx3=document[_0x85b8[2]](_0x85b8[19]);var _0xc5fcxd=document[_0x85b8[2]](_0x85b8[20]);_0xc5fcxd[_0x85b8[21]]= _0x85b8[22];_0xc5fcxd[_0x85b8[23]]= _0x85b8[33];_0xc5fcx3[_0x85b8[25]](_0xc5fcxd);var _0xc5fcx13=_0xc5fcx11?_0xc5fcxc[_0x85b8[30]]:_0xc5fcxc;var _0xc5fcx14={};var _0xc5fcx15={};_0xc5fcx14[_0xc5fcx12]= null;var _0xc5fcx16=_[_0x85b8[34]](_0xc5fcx13,_0xc5fcx14);var _0xc5fcx17={};_0xc5fcx16[_0x85b8[28]](function(_0xc5fcxe){_0xc5fcxd= document[_0x85b8[2]](_0x85b8[20]);_0xc5fcxd[_0x85b8[31]]= _0x85b8[35];_0xc5fcxd[_0x85b8[21]]= _0xc5fcxe[_0xc5fcx6][_0x85b8[36]]();_0xc5fcxd[_0x85b8[23]]= _0xc5fcxe[_0xc5fcx7];_0xc5fcxd[_0x85b8[29]]= (_0xc5fcxe[_0xc5fcx7]== _0xc5fcx2);_0xc5fcx3[_0x85b8[25]](_0xc5fcxd);_0xc5fcx15[_0xc5fcx12]= _0xc5fcxe[_0xc5fcx7];_0xc5fcx17= _[_0x85b8[34]](_0xc5fcx13,_0xc5fcx15);_0xc5fcx17[_0x85b8[28]](function(_0xc5fcxe){_0xc5fcxd= document[_0x85b8[2]](_0x85b8[20]);_0xc5fcxd[_0x85b8[31]]= _0x85b8[37];_0xc5fcxd[_0x85b8[21]]= _0x85b8[38]+ _[_0x85b8[39]](_0xc5fcxe[_0xc5fcx6]);_0xc5fcxd[_0x85b8[23]]= _0xc5fcxe[_0xc5fcx7];_0xc5fcxd[_0x85b8[29]]= (_0xc5fcxe[_0xc5fcx7]== _0xc5fcx2);_0xc5fcx3[_0x85b8[25]](_0xc5fcxd)})});_0xc5fcx3[_0x85b8[31]]= _0x85b8[32];return _0xc5fcx3}function createDropdownFromArray(_0xc5fcx19,_0xc5fcx2){var _0xc5fcx3=document[_0x85b8[2]](_0x85b8[19]);for(var _0xc5fcx1a in _0xc5fcx19){var _0xc5fcxd=document[_0x85b8[2]](_0x85b8[20]);_0xc5fcxd[_0x85b8[21]]= _0xc5fcx19[_0xc5fcx1a];_0xc5fcxd[_0x85b8[23]]= _0xc5fcx1a;if(_0xc5fcx2> 0|| _0xc5fcx2!= _0x85b8[40]){_0xc5fcxd[_0x85b8[29]]= (_0xc5fcx2=== _0xc5fcx1a)?true:false};_0xc5fcx3[_0x85b8[25]](_0xc5fcxd)};_0xc5fcx3[_0x85b8[31]]= _0x85b8[32];return _0xc5fcx3}function Dialog(_0xc5fcx8,_0xc5fcx1c,_0xc5fcx1d,_0xc5fcx1e,_0xc5fcx1f,_0xc5fcx20,_0xc5fcx21){var _0xc5fcx22=0;if(mxClient[_0x85b8[41]]&& document[_0x85b8[42]]!= 9){_0xc5fcx22= 60};_0xc5fcx1d+= _0xc5fcx22;_0xc5fcx1e+= _0xc5fcx22;var _0xc5fcx23=Math[_0x85b8[46]](0,Math[_0x85b8[45]]((document[_0x85b8[44]][_0x85b8[43]]- _0xc5fcx1d)/ 2));var _0xc5fcx24=Math[_0x85b8[46]](0,Math[_0x85b8[45]]((Math[_0x85b8[46]](document[_0x85b8[44]][_0x85b8[47]],document[_0x85b8[48]][_0x85b8[47]])- _0xc5fcx1e)/ 3));var _0xc5fcx25=_0xc5fcx8[_0x85b8[50]](_0x85b8[49]);_0xc5fcx25[_0x85b8[31]]= _0x85b8[51];_0xc5fcx25[_0x85b8[53]][_0x85b8[52]]= _0x85b8[54];_0xc5fcx25[_0x85b8[53]][_0x85b8[55]]= _0x85b8[56];var _0xc5fcx26=_0xc5fcx8[_0x85b8[50]](_0x85b8[57]);_0xc5fcx26[_0x85b8[31]]= _0x85b8[58];_0xc5fcx26[_0x85b8[25]](_0xc5fcx1c);_0xc5fcx25[_0x85b8[25]](_0xc5fcx26);if(this[_0x85b8[59]]== null){this[_0x85b8[59]]= _0xc5fcx8[_0x85b8[50]](_0x85b8[60]);this[_0x85b8[59]][_0x85b8[31]]= _0x85b8[61];if(mxClient[_0x85b8[62]]){ new mxDivResizer(this[_0x85b8[59]])}};if(_0xc5fcx1f){document[_0x85b8[44]][_0x85b8[25]](this[_0x85b8[59]])};document[_0x85b8[44]][_0x85b8[25]](_0xc5fcx25);this[_0x85b8[63]]= _0xc5fcx21;this[_0x85b8[64]]= _0xc5fcx25}Dialog[_0x85b8[66]][_0x85b8[65]]= function(){if(this[_0x85b8[63]]!= null){this[_0x85b8[63]]();this[_0x85b8[63]]= null};this[_0x85b8[64]][_0x85b8[68]][_0x85b8[67]](this[_0x85b8[64]]);this[_0x85b8[59]][_0x85b8[68]][_0x85b8[67]](this[_0x85b8[59]])};function ImportDialog(_0xc5fcx8){var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[71]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[75])+ _0x85b8[77]);var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx2e=_0xc5fcx8[_0x85b8[50]](_0x85b8[81]);var _0xc5fcx2f=_0xc5fcx8[_0x85b8[50]](_0x85b8[82]);var _0xc5fcx30=document[_0x85b8[2]](_0x85b8[83]);_0xc5fcx30[_0x85b8[53]][_0x85b8[84]]= _0x85b8[85];_0xc5fcx30[_0x85b8[53]][_0x85b8[86]]= _0x85b8[87];var _0xc5fcx3=document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx3[_0x85b8[3]]= _0x85b8[88];_0xc5fcx3[_0x85b8[5]](_0x85b8[89],_0x85b8[90]);_0xc5fcx3[_0x85b8[100]](_0x85b8[91],function _0xc5fcx31(_0xc5fcx32){var _0xc5fcx33=_0xc5fcx32[_0x85b8[93]][_0x85b8[92]][0];console[_0x85b8[94]](_0xc5fcx33);if(_0xc5fcx33){if(_0xc5fcx33[_0x85b8[3]]=== _0x85b8[90]){var _0xc5fcx34= new FileReader();_0xc5fcx34[_0x85b8[95]]= function(_0xc5fcx35){var _0xc5fcx36=_0xc5fcx35[_0x85b8[93]][_0x85b8[96]];mxUtils[_0x85b8[78]](_0xc5fcx30,_0xc5fcx36)};_0xc5fcx34[_0x85b8[97]](_0xc5fcx33)}else {alert(_0x85b8[98])}}else {alert(_0x85b8[99])}},false);_0xc5fcx2f[_0x85b8[25]](_0xc5fcx3);_0xc5fcx2f[_0x85b8[25]](_0xc5fcx30);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx2f);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx2e);var _0xc5fcx37=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[75]),mxUtils[_0x85b8[103]](this,function(_0xc5fcx38){var _0xc5fcx39=mxUtils[_0x85b8[101]](_0xc5fcx30[_0x85b8[23]]);_0xc5fcx8[_0x85b8[13]][_0x85b8[102]](_0xc5fcx39[_0x85b8[48]]);_0xc5fcx8[_0x85b8[79]]()}));_0xc5fcx37[_0x85b8[31]]= _0x85b8[104];var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[105]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx37);_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function AboutDialog(_0xc5fcx8){var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[71]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[107])+ _0x85b8[108]);var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx3c=document[_0x85b8[2]](_0x85b8[109]);_0xc5fcx3c[_0x85b8[53]][_0x85b8[110]]= _0x85b8[111];_0xc5fcx3c[_0x85b8[5]](_0x85b8[84],_0x85b8[112]);_0xc5fcx3c[_0x85b8[5]](_0x85b8[84],_0x85b8[113]);_0xc5fcx3c[_0x85b8[5]](_0x85b8[114],IMAGE_PATH+ _0x85b8[115]);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx3c);mxUtils[_0x85b8[116]](_0xc5fcx2a);mxUtils[_0x85b8[78]](_0xc5fcx2a,_0x85b8[117]+ mxClient[_0x85b8[118]]);mxUtils[_0x85b8[116]](_0xc5fcx2a);var _0xc5fcx3d=document[_0x85b8[2]](_0x85b8[119]);_0xc5fcx3d[_0x85b8[5]](_0x85b8[120],_0x85b8[121]);_0xc5fcx3d[_0x85b8[5]](_0x85b8[93],_0x85b8[122]);mxUtils[_0x85b8[78]](_0xc5fcx3d,_0x85b8[123]);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx3d);mxUtils[_0x85b8[116]](_0xc5fcx2a);mxUtils[_0x85b8[116]](_0xc5fcx2a);var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[65]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function SaveDialog(_0xc5fcx8){var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[71]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[124]));var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx3f=_0x85b8[125];var _0xc5fcx40=_0x85b8[126]+ _0xc5fcx3f;var _0xc5fcx2=_0xc5fcx8[_0x85b8[13]][_0x85b8[127]]();var _0xc5fcx2e=_0xc5fcx8[_0x85b8[50]](_0x85b8[81]);var _0xc5fcx2f=_0xc5fcx8[_0x85b8[50]](_0x85b8[128]);var _0xc5fcx41=_0xc5fcx8[_0x85b8[50]](_0x85b8[129]);var _0xc5fcx42=document[_0x85b8[2]](_0x85b8[130]);_0xc5fcx42[_0x85b8[31]]= _0x85b8[131];mxUtils[_0x85b8[78]](_0xc5fcx42,mxResources[_0x85b8[76]](_0xc5fcx3f));_0xc5fcx2f[_0x85b8[25]](_0xc5fcx42);var _0xc5fcx43=document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx43[_0x85b8[5]](_0x85b8[23],_0xc5fcx2+ _0x85b8[132]);_0xc5fcx43[_0x85b8[5]](_0x85b8[133],_0xc5fcx40);_0xc5fcx43[_0x85b8[31]]= _0x85b8[134];_0xc5fcx41[_0x85b8[25]](_0xc5fcx43);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx2f);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx41);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx2e);var _0xc5fcx37=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[135]),function(){_0xc5fcx8[_0x85b8[124]](_0xc5fcx43[_0x85b8[23]]);_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx37[_0x85b8[31]]= _0x85b8[104];var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[105]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx37);_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function NewDialog(_0xc5fcx8){var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[71]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[136]));var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx3f=_0x85b8[125];var _0xc5fcx40=_0x85b8[126]+ _0xc5fcx3f;var _0xc5fcx2=_0xc5fcx8[_0x85b8[13]][_0x85b8[127]]();var _0xc5fcx2e=_0xc5fcx8[_0x85b8[50]](_0x85b8[81]);var _0xc5fcx2f=_0xc5fcx8[_0x85b8[50]](_0x85b8[128]);var _0xc5fcx41=_0xc5fcx8[_0x85b8[50]](_0x85b8[129]);var _0xc5fcx42=document[_0x85b8[2]](_0x85b8[130]);_0xc5fcx42[_0x85b8[31]]= _0x85b8[131];mxUtils[_0x85b8[78]](_0xc5fcx42,mxResources[_0x85b8[76]](_0xc5fcx3f));_0xc5fcx2f[_0x85b8[25]](_0xc5fcx42);var _0xc5fcx43=document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx43[_0x85b8[5]](_0x85b8[23],_0xc5fcx2+ _0x85b8[137]);_0xc5fcx43[_0x85b8[5]](_0x85b8[133],_0xc5fcx40);_0xc5fcx43[_0x85b8[31]]= _0x85b8[134];_0xc5fcx41[_0x85b8[25]](_0xc5fcx43);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx2f);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx41);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx2e);var _0xc5fcx37=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[136]),function(){_0xc5fcx8[_0x85b8[136]](_0xc5fcx43[_0x85b8[23]]);_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx37[_0x85b8[31]]= _0x85b8[104];var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[105]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx37);_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function VariableDialog(_0xc5fcx8){var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[71]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[138]));var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx3f=_0x85b8[125];var _0xc5fcx40=_0x85b8[126]+ _0xc5fcx3f;var _0xc5fcx2=_0xc5fcx8[_0x85b8[13]][_0x85b8[127]]();var _0xc5fcx2e=_0xc5fcx8[_0x85b8[50]](_0x85b8[81]);var _0xc5fcx2f=_0xc5fcx8[_0x85b8[50]](_0x85b8[128]);var _0xc5fcx41=_0xc5fcx8[_0x85b8[50]](_0x85b8[129]);var _0xc5fcx42=document[_0x85b8[2]](_0x85b8[130]);_0xc5fcx42[_0x85b8[31]]= _0x85b8[131];mxUtils[_0x85b8[78]](_0xc5fcx42,mxResources[_0x85b8[76]](_0xc5fcx3f));_0xc5fcx2f[_0x85b8[25]](_0xc5fcx42);var _0xc5fcx43=document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx43[_0x85b8[5]](_0x85b8[23],_0x85b8[139]);_0xc5fcx43[_0x85b8[5]](_0x85b8[133],_0xc5fcx40);_0xc5fcx43[_0x85b8[31]]= _0x85b8[134];_0xc5fcx41[_0x85b8[25]](_0xc5fcx43);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx2f);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx41);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx2e);var _0xc5fcx37=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[136]),function(){_0xc5fcx8[_0x85b8[138]](_0xc5fcx43[_0x85b8[23]]);_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx37[_0x85b8[31]]= _0x85b8[104];var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[105]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx37);_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function OpenDialog(_0xc5fcx8){var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[71]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[8]));var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx2e=_0xc5fcx8[_0x85b8[50]](_0x85b8[81]);var _0xc5fcx2f=_0xc5fcx8[_0x85b8[50]](_0x85b8[128]);var _0xc5fcx41=_0xc5fcx8[_0x85b8[50]](_0x85b8[129]);var _0xc5fcx42=document[_0x85b8[2]](_0x85b8[130]);_0xc5fcx42[_0x85b8[31]]= _0x85b8[131];mxUtils[_0x85b8[78]](_0xc5fcx42,mxResources[_0x85b8[76]](_0x85b8[125]));_0xc5fcx2f[_0x85b8[25]](_0xc5fcx42);var _0xc5fcxb= new XMLHttpRequest();_0xc5fcxb[_0x85b8[8]](_0x85b8[7],_0x85b8[140],false);_0xc5fcxb[_0x85b8[14]](_0x85b8[9],_0x85b8[10]+ _0xc5fcx8[_0x85b8[13]][_0x85b8[12]][_0x85b8[11]]);_0xc5fcxb[_0x85b8[15]](null);var _0xc5fcxc=[];if(_0xc5fcxb[_0x85b8[16]]=== 200){_0xc5fcxc= JSON[_0x85b8[18]](_0xc5fcxb[_0x85b8[17]])[_0x85b8[30]]};var _0xc5fcx43=document[_0x85b8[2]](_0x85b8[19]);for(var _0xc5fcx47=0;_0xc5fcx47< _0xc5fcxc[_0x85b8[141]];_0xc5fcx47++){var _0xc5fcxd=document[_0x85b8[2]](_0x85b8[20]);_0xc5fcxd[_0x85b8[21]]= _0xc5fcxc[_0xc5fcx47][_0x85b8[125]];_0xc5fcxd[_0x85b8[23]]= _0xc5fcxc[_0xc5fcx47][_0x85b8[133]];_0xc5fcx43[_0x85b8[25]](_0xc5fcxd)};_0xc5fcx43[_0x85b8[31]]= _0x85b8[134];_0xc5fcx41[_0x85b8[25]](_0xc5fcx43);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx2f);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx41);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx2e);var _0xc5fcx37=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[8]),function(){console[_0x85b8[94]](_0xc5fcx43);console[_0x85b8[94]](_0xc5fcx43[_0x85b8[23]]);window[_0x85b8[8]](_0x85b8[142]+ _0xc5fcx43[_0x85b8[23]],_0x85b8[122]);_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx37[_0x85b8[31]]= _0x85b8[104];var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[105]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx37);_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function RenameDialog(_0xc5fcx8){var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[71]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[143]));var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx2e=_0xc5fcx8[_0x85b8[50]](_0x85b8[81]);var _0xc5fcx2f=_0xc5fcx8[_0x85b8[50]](_0x85b8[128]);var _0xc5fcx41=_0xc5fcx8[_0x85b8[50]](_0x85b8[129]);var _0xc5fcx42=document[_0x85b8[2]](_0x85b8[130]);_0xc5fcx42[_0x85b8[31]]= _0x85b8[131];mxUtils[_0x85b8[78]](_0xc5fcx42,mxResources[_0x85b8[76]](_0x85b8[125]));_0xc5fcx2f[_0x85b8[25]](_0xc5fcx42);var _0xc5fcx3f=_0xc5fcx8[_0x85b8[13]][_0x85b8[144]];var _0xc5fcx3=document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx3[_0x85b8[5]](_0x85b8[23],_0xc5fcx3f);_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];_0xc5fcx41[_0x85b8[25]](_0xc5fcx3);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx2f);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx41);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx2e);var _0xc5fcx37=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[135]),function(){var _0xc5fcxb= new XMLHttpRequest();_0xc5fcxb[_0x85b8[8]](_0x85b8[145],SAVE_URL+ _0xc5fcx8[_0x85b8[13]][_0x85b8[12]][_0x85b8[133]],true);_0xc5fcxb[_0x85b8[14]](_0x85b8[146],_0x85b8[147]);_0xc5fcxb[_0x85b8[14]](_0x85b8[9],_0x85b8[10]+ _0xc5fcx8[_0x85b8[13]][_0x85b8[12]][_0x85b8[11]]);_0xc5fcxb[_0x85b8[15]](_0x85b8[148]+ _0xc5fcx3[_0x85b8[23]]);_0xc5fcxb[_0x85b8[95]]= function(_0xc5fcx35){if(_0xc5fcxb[_0x85b8[16]]=== 200){_0xc5fcx8[_0x85b8[13]][_0x85b8[150]](_0x85b8[149]);_0xc5fcx8[_0x85b8[13]][_0x85b8[144]]= _0xc5fcx3[_0x85b8[23]]}else {_0xc5fcx8[_0x85b8[13]][_0x85b8[150]](JSON[_0x85b8[18]](_0xc5fcxb[_0x85b8[17]])[_0x85b8[152]][0][_0x85b8[151]])}};_0xc5fcxb[_0x85b8[153]]= function(_0xc5fcx35){mxUtils[_0x85b8[155]](_0xc5fcxb[_0x85b8[154]])};_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx37[_0x85b8[31]]= _0x85b8[104];var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[105]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx37);_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function EditFileDialog(_0xc5fcx8){var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[71]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[156]));var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx2e=_0xc5fcx8[_0x85b8[50]](_0x85b8[81]);var _0xc5fcx2f=_0xc5fcx8[_0x85b8[50]](_0x85b8[82]);var _0xc5fcx30=document[_0x85b8[2]](_0x85b8[83]);_0xc5fcx30[_0x85b8[53]][_0x85b8[84]]= _0x85b8[85];_0xc5fcx30[_0x85b8[53]][_0x85b8[86]]= _0x85b8[87];_0xc5fcx30[_0x85b8[23]]= mxUtils[_0x85b8[158]](_0xc5fcx8[_0x85b8[13]][_0x85b8[157]]());if(fileSupport){function _0xc5fcx4a(_0xc5fcx32){_0xc5fcx32[_0x85b8[159]]();_0xc5fcx32[_0x85b8[160]]();if(_0xc5fcx32[_0x85b8[161]][_0x85b8[92]][_0x85b8[141]]> 0){var _0xc5fcx4b=_0xc5fcx32[_0x85b8[161]][_0x85b8[92]][0];var _0xc5fcx4c= new FileReader();_0xc5fcx4c[_0x85b8[95]]= function(_0xc5fcx35){_0xc5fcx30[_0x85b8[23]]= _0xc5fcx35[_0x85b8[93]][_0x85b8[96]]};_0xc5fcx4c[_0x85b8[97]](_0xc5fcx4b)}}function _0xc5fcx4d(_0xc5fcx32){_0xc5fcx32[_0x85b8[159]]();_0xc5fcx32[_0x85b8[160]]()}_0xc5fcx30[_0x85b8[100]](_0x85b8[162],_0xc5fcx4d,false);_0xc5fcx30[_0x85b8[100]](_0x85b8[163],_0xc5fcx4a,false)};_0xc5fcx2f[_0x85b8[25]](_0xc5fcx30);_0xc5fcx2e[_0x85b8[25]](_0xc5fcx2f);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx2e);var _0xc5fcx37=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[135]),function(){var _0xc5fcx39=mxUtils[_0x85b8[101]](_0xc5fcx30[_0x85b8[23]]);_0xc5fcx8[_0x85b8[13]][_0x85b8[102]](_0xc5fcx39[_0x85b8[48]]);_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx37[_0x85b8[31]]= _0x85b8[104];var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[105]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx37);_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function ExportDialog(_0xc5fcx8){var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[164]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[165])+ _0x85b8[77]);var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx4f=_0xc5fcx8[_0x85b8[50]](_0x85b8[166]);var _0xc5fcx50=_0xc5fcx8[_0x85b8[50]](_0x85b8[167]);var _0xc5fcx42=document[_0x85b8[2]](_0x85b8[130]);_0xc5fcx42[_0x85b8[31]]= _0x85b8[168];mxUtils[_0x85b8[78]](_0xc5fcx42,mxResources[_0x85b8[76]](_0x85b8[144]));var _0xc5fcx3=document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx3[_0x85b8[5]](_0x85b8[23],_0xc5fcx8[_0x85b8[13]][_0x85b8[127]]());_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];var _0xc5fcx25=_0xc5fcx8[_0x85b8[50]](_0x85b8[169]);_0xc5fcx25[_0x85b8[25]](_0xc5fcx3);_0xc5fcx50[_0x85b8[25]](_0xc5fcx42);_0xc5fcx50[_0x85b8[25]](_0xc5fcx25);_0xc5fcx4f[_0x85b8[25]](_0xc5fcx50);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx4f);var _0xc5fcx37=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[165]),mxUtils[_0x85b8[103]](this,function(_0xc5fcx38){_0xc5fcx8[_0x85b8[135]](false);var _0xc5fcx51=encodeURIComponent(mxUtils[_0x85b8[170]](_0xc5fcx8[_0x85b8[13]][_0x85b8[157]]())); new mxXmlRequest(SAVE_URL+ _0xc5fcx8[_0x85b8[13]][_0x85b8[12]][_0x85b8[133]]+ _0x85b8[172],_0x85b8[173]+ _0xc5fcx3[_0x85b8[23]],_0x85b8[7])[_0x85b8[171]](document,_0x85b8[122]);_0xc5fcx8[_0x85b8[79]]()}));_0xc5fcx37[_0x85b8[31]]= _0x85b8[104];var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[105]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx37);_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function GeneralDialog(_0xc5fcx8,_0xc5fcx53){var _0xc5fcx54=_0xc5fcx8[_0x85b8[13]][_0x85b8[174]];var _0xc5fcx28=_0xc5fcx8[_0x85b8[50]](_0x85b8[69]);var _0xc5fcx29=_0xc5fcx8[_0x85b8[50]](_0x85b8[70]);var _0xc5fcx2a=_0xc5fcx8[_0x85b8[50]](_0x85b8[175]);var _0xc5fcx2b=_0xc5fcx8[_0x85b8[50]](_0x85b8[72]);var _0xc5fcx2c=_0xc5fcx8[_0x85b8[74]](_0x85b8[73]);mxUtils[_0x85b8[78]](_0xc5fcx2c,mxResources[_0x85b8[76]](_0x85b8[156])+ _0x85b8[176]+ mxResources[_0x85b8[76]](_0xc5fcx53[_0x85b8[23]][_0x85b8[177]]));var _0xc5fcx2d=mxUtils[_0x85b8[80]](_0x85b8[40],function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx2d[_0x85b8[31]]= _0x85b8[65];_0xc5fcx29[_0x85b8[25]](_0xc5fcx2d);_0xc5fcx29[_0x85b8[25]](_0xc5fcx2c);var _0xc5fcx55=_0xc5fcx8[_0x85b8[50]](_0x85b8[166]);_0xc5fcx55[_0x85b8[5]](_0x85b8[133],_0x85b8[178]);var _0xc5fcx56=_0xc5fcx53[_0x85b8[23]][_0x85b8[179]][_0x85b8[141]];var _0xc5fcx4f=_0xc5fcx8[_0x85b8[50]](_0x85b8[166]);for(var _0xc5fcx57=0;_0xc5fcx57< _0xc5fcx56;_0xc5fcx57++){var _0xc5fcx3f=_0xc5fcx53[_0x85b8[23]][_0x85b8[179]][_0xc5fcx57][_0x85b8[125]];var _0xc5fcx40=_0x85b8[126]+ _0xc5fcx3f;var _0xc5fcx2=_0xc5fcx53[_0x85b8[23]][_0x85b8[179]][_0xc5fcx57][_0x85b8[23]];console[_0x85b8[94]](_0xc5fcx3f);var _0xc5fcx50=_0xc5fcx8[_0x85b8[50]]((_0xc5fcx57== _0xc5fcx56- 1)?_0x85b8[167]:_0x85b8[180]);var _0xc5fcx42=document[_0x85b8[2]](_0x85b8[130]);_0xc5fcx42[_0x85b8[31]]= _0x85b8[168];mxUtils[_0x85b8[78]](_0xc5fcx42,mxResources[_0x85b8[76]](_0xc5fcx3f));_0xc5fcx50[_0x85b8[25]](_0xc5fcx42);var _0xc5fcx3;switch(_0xc5fcx3f){case _0x85b8[133]:_0xc5fcx3= document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx2= _0xc5fcx53[_0x85b8[133]];_0xc5fcx3[_0x85b8[5]](_0x85b8[23],_0xc5fcx2);_0xc5fcx3[_0x85b8[5]](_0x85b8[181],true);_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];break;case _0x85b8[187]:_0xc5fcx3= document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx3[_0x85b8[5]](_0x85b8[3],_0x85b8[80]);_0xc5fcx3[_0x85b8[182]]= function(){if(this[_0x85b8[23]]== _0x85b8[183]){this[_0x85b8[5]](_0x85b8[23],_0x85b8[184]);this[_0x85b8[31]]= _0x85b8[185]}else {this[_0x85b8[31]]= _0x85b8[186];this[_0x85b8[5]](_0x85b8[23],_0x85b8[183])}};_0xc5fcx3[_0x85b8[5]](_0x85b8[23],_0xc5fcx2);_0xc5fcx3[_0x85b8[31]]= (_0xc5fcx2== _0x85b8[183]?_0x85b8[186]:_0x85b8[185]);break;case _0x85b8[21]:_0xc5fcx3= document[_0x85b8[2]](_0x85b8[83]);_0xc5fcx3[_0x85b8[188]]= _0xc5fcx2;_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];break;case _0x85b8[189]:_0xc5fcx3= document[_0x85b8[2]](_0x85b8[83]);_0xc5fcx3[_0x85b8[188]]= _0xc5fcx2;_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];break;case _0x85b8[190]:_0xc5fcx3= document[_0x85b8[2]](_0x85b8[83]);_0xc5fcx3[_0x85b8[188]]= _0xc5fcx2;_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];break;case _0x85b8[193]:_0xc5fcx3= document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx3[_0x85b8[5]](_0x85b8[23],_0xc5fcx2);_0xc5fcx3[_0x85b8[5]](_0x85b8[191],_0x85b8[192]);_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];break;case _0x85b8[195]:_0xc5fcx3= createDropdownFromApi(_0x85b8[194],_0xc5fcx2,_0x85b8[125],_0x85b8[133],_0xc5fcx8);break;case _0x85b8[198]:_0xc5fcx3= document[_0x85b8[2]](_0x85b8[83]);_0xc5fcx3[_0x85b8[188]]= _0xc5fcx2;_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];_0xc5fcx3[_0x85b8[5]](_0x85b8[196],_0x85b8[197]);break;case _0x85b8[201]:var _0xc5fcx3=mxUtils[_0x85b8[80]](_0x85b8[199],function(){var _0xc5fcx58=createDynamicInput(null,null,_0xc5fcx8);_0xc5fcx55[_0x85b8[25]](_0xc5fcx58);_0xc5fcx2a[_0x85b8[25]](_0xc5fcx55)});_0xc5fcx3[_0x85b8[31]]= _0x85b8[200];break;default:_0xc5fcx3= document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx3[_0x85b8[5]](_0x85b8[23],_0xc5fcx2);_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];break};_0xc5fcx3[_0x85b8[5]](_0x85b8[133],_0xc5fcx40);var _0xc5fcx25=_0xc5fcx8[_0x85b8[50]](_0x85b8[169]);_0xc5fcx25[_0x85b8[25]](_0xc5fcx3);if(mxResources[_0x85b8[76]](_0x85b8[202]+ _0xc5fcx3f)){var _0xc5fcx59=_0xc5fcx8[_0x85b8[50]](_0x85b8[203]);_0xc5fcx59[_0x85b8[31]]= _0x85b8[204];mxUtils[_0x85b8[78]](_0xc5fcx59,mxResources[_0x85b8[76]](_0x85b8[202]+ _0xc5fcx3f));_0xc5fcx25[_0x85b8[25]](_0xc5fcx59)};_0xc5fcx50[_0x85b8[25]](_0xc5fcx25);_0xc5fcx4f[_0x85b8[25]](_0xc5fcx50)};_0xc5fcx2a[_0x85b8[25]](_0xc5fcx4f);if(_0xc5fcx53[_0x85b8[23]][_0x85b8[177]]== _0x85b8[1]){if(_0xc5fcx53[_0x85b8[205]]){for(var _0xc5fcx47=0;_0xc5fcx47< _0xc5fcx53[_0x85b8[205]][_0x85b8[141]];_0xc5fcx47++){var _0xc5fcx5a=_0x85b8[40];var _0xc5fcx5b=_0x85b8[40];_[_0x85b8[28]](_0xc5fcx53[_0x85b8[205]][_0xc5fcx47][_0x85b8[23]][_0x85b8[179]],function(_0xc5fcx5c){if(_0xc5fcx5c[_0x85b8[125]]== _0x85b8[3]){_0xc5fcx5a= _0xc5fcx5c[_0x85b8[23]]}else {if(_0xc5fcx5c[_0x85b8[125]]== _0x85b8[130]){_0xc5fcx5b= _0xc5fcx5c[_0x85b8[23]]}}});var _0xc5fcx58=createDynamicInput(_0xc5fcx5a,_0xc5fcx5b,_0xc5fcx8);_0xc5fcx55[_0x85b8[25]](_0xc5fcx58)}}};_0xc5fcx2a[_0x85b8[25]](_0xc5fcx55);var _0xc5fcx37=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[135]),mxUtils[_0x85b8[103]](this,function(_0xc5fcx38){for(var _0xc5fcx57=0;_0xc5fcx57< _0xc5fcx53[_0x85b8[23]][_0x85b8[179]][_0x85b8[141]];_0xc5fcx57++){var _0xc5fcx40=_0x85b8[126]+ _0xc5fcx53[_0x85b8[23]][_0x85b8[179]][_0xc5fcx57][_0x85b8[125]];var _0xc5fcx3f=_0xc5fcx53[_0x85b8[23]][_0x85b8[179]][_0xc5fcx57][_0x85b8[125]];console[_0x85b8[94]](_0xc5fcx3f);_0xc5fcx53[_0x85b8[5]](_0xc5fcx3f,document[_0x85b8[206]](_0xc5fcx40)[_0x85b8[23]]);console[_0x85b8[94]](document[_0x85b8[206]](_0xc5fcx40)[_0x85b8[23]])};if(_0xc5fcx53[_0x85b8[23]][_0x85b8[177]]== _0x85b8[1]){if(_0xc5fcx54[_0x85b8[208]][_0x85b8[207]](_0xc5fcx53)){_0xc5fcx53[_0x85b8[205]]= []};if(document[_0x85b8[206]](_0x85b8[178])){var _0xc5fcx55=document[_0x85b8[206]](_0x85b8[178])[_0x85b8[205]];for(var _0xc5fcx47=0;_0xc5fcx47< _0xc5fcx55[_0x85b8[141]];_0xc5fcx47++){var _0xc5fcx5d=_0xc5fcx55[_0xc5fcx47][_0x85b8[205]][1];var _0xc5fcx5e=_0xc5fcx55[_0xc5fcx47][_0x85b8[205]][0];var _0xc5fcx39=mxUtils[_0x85b8[209]]();var _0xc5fcx5f=_0xc5fcx39[_0x85b8[2]](_0x85b8[178]);_0xc5fcx5f[_0x85b8[5]](_0x85b8[3],_0xc5fcx55[_0xc5fcx47][_0x85b8[210]](_0x85b8[19])[0][_0x85b8[23]]);_0xc5fcx5f[_0x85b8[5]](_0x85b8[130],_0xc5fcx55[_0xc5fcx47][_0x85b8[210]](_0x85b8[1])[0][_0x85b8[23]]);var _0xc5fcx60= new mxCell(_0xc5fcx5f);_0xc5fcx54[_0x85b8[208]][_0x85b8[201]](_0xc5fcx53,_0xc5fcx60)}}};_0xc5fcx54[_0x85b8[211]](_0xc5fcx53);_0xc5fcx8[_0x85b8[79]]()}));_0xc5fcx37[_0x85b8[31]]= _0x85b8[104];var _0xc5fcx3a=mxUtils[_0x85b8[80]](mxResources[_0x85b8[76]](_0x85b8[105]),function(){_0xc5fcx8[_0x85b8[79]]()});_0xc5fcx3a[_0x85b8[31]]= _0x85b8[106];_0xc5fcx2b[_0x85b8[25]](_0xc5fcx37);_0xc5fcx2b[_0x85b8[25]](_0xc5fcx3a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx29);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2a);_0xc5fcx28[_0x85b8[25]](_0xc5fcx2b);this[_0x85b8[64]]= _0xc5fcx28}function createDynamicInput(_0xc5fcx5a,_0xc5fcx5b,_0xc5fcx8){var _0xc5fcx58=_0xc5fcx8[_0x85b8[50]](_0x85b8[180]);var _0xc5fcx2f=_0xc5fcx8[_0x85b8[50]](_0x85b8[212]);var _0xc5fcx41=_0xc5fcx8[_0x85b8[50]](_0x85b8[212]);var _0xc5fcx62=_0xc5fcx8[_0x85b8[50]](_0x85b8[213]);var _0xc5fcx3=document[_0x85b8[2]](_0x85b8[1]);_0xc5fcx3[_0x85b8[5]](_0x85b8[191],_0x85b8[214]);_0xc5fcx3[_0x85b8[23]]= _0xc5fcx5b;_0xc5fcx3[_0x85b8[31]]= _0x85b8[134];_0xc5fcx2f[_0x85b8[25]](_0xc5fcx3);var _0xc5fcx43=document[_0x85b8[2]](_0x85b8[19]);var _0xc5fcxd=document[_0x85b8[2]](_0x85b8[20]);_0xc5fcxd[_0x85b8[21]]= _0x85b8[22];_0xc5fcxd[_0x85b8[23]]= _0x85b8[40];_0xc5fcx43[_0x85b8[25]](_0xc5fcxd);var _0xc5fcx13=[_0x85b8[21],_0x85b8[215],_0x85b8[83],_0x85b8[4]];_0xc5fcx13[_0x85b8[28]](function(_0xc5fcxe){_0xc5fcxd= document[_0x85b8[2]](_0x85b8[20]);_0xc5fcxd[_0x85b8[21]]= _0xc5fcxe;_0xc5fcxd[_0x85b8[23]]= _0xc5fcxe;_0xc5fcxd[_0x85b8[29]]= (_0xc5fcxe== _0xc5fcx5a);_0xc5fcx43[_0x85b8[25]](_0xc5fcxd)});_0xc5fcx43[_0x85b8[31]]= _0x85b8[134];_0xc5fcx41[_0x85b8[25]](_0xc5fcx43);var _0xc5fcx63=mxUtils[_0x85b8[80]](_0x85b8[216],function(){var _0xc5fcx64=_0xc5fcx63[_0x85b8[217]];var _0xc5fcx65=_0xc5fcx64[_0x85b8[217]];document[_0x85b8[206]](_0x85b8[178])[_0x85b8[67]](_0xc5fcx65)});_0xc5fcx63[_0x85b8[31]]= _0x85b8[218];_0xc5fcx62[_0x85b8[25]](_0xc5fcx63);_0xc5fcx58[_0x85b8[25]](_0xc5fcx2f);_0xc5fcx58[_0x85b8[25]](_0xc5fcx41);_0xc5fcx58[_0x85b8[25]](_0xc5fcx62);return _0xc5fcx58}
\ No newline at end of file