{"version":3,"file":"app/analysis.js","sources":["analysis.js"],"sourcesContent":["/*----------------------------------------------------------------------------*\\\r\n Analysis\r\n Analysis of photo folders, powered by dhtmlx treegrid\r\n\\*----------------------------------------------------------------------------*/\r\n\r\n/**\r\n * Use strict as per:\r\n * http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/\r\n */\r\n'use strict';\r\n\r\n\r\n/**\r\n * Check if oy object exists, otherwise create it\r\n */\r\nvar oy = oy || {};\r\n\r\nvar checked = [];\r\n\r\nvar lastopened = '';\r\n\r\nvar exportToExcelUrl = '';\r\n\r\n/**\r\n * Jshint global references\r\n * Please define all third party plugins that you use to not break jshinting\r\n */\r\n/*global dhtmlXGridObject */\r\n/*global eXcell */\r\n\r\n/* eslint-disable camelcase */\r\nfunction eXcell_gauge (cell) {\r\n if (cell) {\r\n this.cell = cell;\r\n this.grid = this.cell.parentNode.grid;\r\n }\r\n this.edit = function () {};\r\n this.isDisabled = function () {\r\n return true;\r\n };\r\n this.setValue = function (val) {\r\n if (!isNaN(val)) {\r\n var className = 't-background--state-success-a';\r\n if (val >= 80) {\r\n className = 't-background--state-success-a';\r\n } else if (val < 80 && val >= 50) {\r\n className = 't-background--state-warning-a';\r\n } else if (val < 50) {\r\n className = 't-background--state-error-a';\r\n }\r\n this.setCValue('