// avoid errors when running without development tools if (!Ext.isDefined(Ext.global.console)) { var console = { dir: function() {}, log: function() {}, }; } Ext.onReady(function() { const NOW = new Date(); const COLORS = { 'keep-last': 'orange', 'keep-hourly': 'purple', 'keep-daily': 'yellow', 'keep-weekly': 'green', 'keep-monthly': 'blue', 'keep-yearly': 'red', 'all zero': 'white', }; const TEXT_COLORS = { 'keep-last': 'black', 'keep-hourly': 'white', 'keep-daily': 'black', 'keep-weekly': 'white', 'keep-monthly': 'white', 'keep-yearly': 'white', 'all zero': 'black', }; Ext.define('PBS.prunesimulator.Documentation', { extend: 'Ext.Panel', alias: 'widget.prunesimulatorDocumentation', html: '