// This was built as an opportunity for PMM explanation, but PMM didn't have cycles to provide verbiage so commenting out // 'use strict'; // // set the runtime environment, which controls cache busting // var runtimeEnvironment = 'production'; // // set the build number, which is the same one being set in app.conf // var build = '10148'; // // get app and page names // var pathComponents = location.pathname.split('?')[0].split('/'); // var appName = 'Splunk_Security_Essentials'; // var pageIndex = pathComponents.indexOf(appName); // var pageName = pathComponents[pageIndex + 1]; // // path to the root of the current app // var appPath = "../app/" + appName; // // This code is originally from setRequireConfig.es6 and is injected into runPageScript.es6 and every visualization.es6 file using @setRequireConfig.es6@ // var requireConfigOptions = { // paths: { // // app-wide path shortcuts // "components": appPath + "/components", // "vendor": appPath + "/vendor", // "Options": appPath + "/components/data/parameters/Options", // // requirejs loader modules // "text": appPath + "/vendor/text/text", // "json": appPath + "/vendor/json/json", // "css": appPath + "/vendor/require-css/css", // // jquery shims // "jquery-ui-slider": appPath + "/vendor/jquery-ui-slider/jquery-ui.min", // // highcharts shims // "highcharts-amd": appPath + "/vendor/highcharts/highcharts.amd", // "highcharts-more": appPath + "/vendor/highcharts/highcharts-more.amd", // "highcharts-downsample": appPath + "/vendor/highcharts/modules/highcharts-downsample.amd", // "no-data-to-display": appPath + "/vendor/highcharts/modules/no-data-to-display.amd", // // srcviewer shims // "prettify": appPath + "/vendor/prettify/prettify", // "showdown": appPath + "/vendor/showdown/showdown", // "codeview": appPath + "/vendor/srcviewer/codeview" // }, // shim: { // "jquery-ui-slider": { // deps: ["css!" + appPath + "/vendor/jquery-ui-slider/jquery-ui.min.css"] // } // }, // config: { // "Options": { // // app-wide options // "options": { // "appName": 'Splunk_Security_Essentials', // // the number of points that's considered "large" - how each plot handles this is up to it // "plotPointThreshold": 1000, // "maxSeriesThreshold": 1000, // "smallLoaderScale": 0.4, // "largeLoaderScale": 1, // "highchartsValueDecimals": 2, // "defaultModelName": "default_model_name", // "defaultRoleName": "default", // "dashboardHistoryTablePageSize": 5 // } // } // } // }; // require.config(requireConfigOptions); // require(['jquery', 'splunkjs/mvc/simplexml/controller', 'app/Splunk_Security_Essentials/components/controls/Modal'], function($, DashboardController, Modal) { // var triggerModal = function(bodycontent) { // var myModal = new Modal('MyModalID-irrelevant-unless-you-want-many', { // title: 'Find Out More', // destroyOnHide: true, // type: 'wide' // }); // $(myModal.$el).on("hide", function() { // // Not taking any action on hide, but you can if you want to! // }) // myModal.body.addClass('mlts-modal-form-inline') // .append($(bodycontent)); // myModal.footer.append($('

" // if (document.getElementById("fieldset1") != null) { // $("#fielset1").append(fullSolutionText) // } else { // $(".dashboard-header-title").append(fullSolutionText) // } // } // } // })