<commit_before>/**
 * On page load send information about the tab to the content script.
 */
chrome.runtime.sendMessage({
  type : 'window',
  data : {
    'title': document.title,
    'location': window.location
  }
});

/**
 * AemDeveloper namespace.
 * @namespace
 */
var AemDeveloper = (function(window, undefined) {
  /**
   * @private
   * @global
   */
  var CLIENTLIB_QUERY =    '/crx/de/query.jsp?type=xpath&stmt=/jcr:root/var/clientlibs/*&showResults=true',
      COMPILED_JSP_QUERY = '/crx/de/query.jsp?type=xpath&stmt=/jcr:root/var/classes//jsp&showResults=true',
      USER_INFO =          '/libs/granite/security/currentuser.json'
      PRODUCT_INFO =       '/libs/cq/core/productinfo.json',
      SLING_INFO =         '/system/console/status-slingsettings.json',
      SYSTEM_INFO =        '/system/console/status-System%20Properties.json',
      SUDOABLE_INFO =      '.sudoables.json',
      MEMORY_USAGE =       '/system/console/memoryusage',
      GARBAGE_COLLECTOR =  'command=gc';

  /**
   * Open the marketing cloud debugger window.
   */
  function openDigitalPulseDebugger() {
    window.open("","dp_debugger","width=700,height=1000,location=0,menubar=0,status=1,toolbar=0,resizable=1,scrollbars=1").document.write("<script language=\"JavaScript\" id=dbg src=\"https://www.adobetag.com/d1/digitalpulsedebugger/live/DPD.js\"></"+"script>");
    chrome.runtime.sendMessage({
      type: 'dp_debugger',
      status: 'success'
    });
  }

  /**
   * Delete the results of the query and post a message with status.
   *
   * @param {String} query the URL with query to the JCR.<commit_msg>Digital Pulse Debugger - focus window on multiple clicks<commit_after>/**
 * On page load send information about the tab to the content script.
 */
chrome.runtime.sendMessage({
  type : 'window',
  data : {
    'title': document.title,
    'location': window.location
  }
});

/**
 * AemDeveloper namespace.
 * @namespace
 */
var AemDeveloper = (function(window, undefined) {
  /**
   * @private
   * @global
   */
  var CLIENTLIB_QUERY =    '/crx/de/query.jsp?type=xpath&stmt=/jcr:root/var/clientlibs/*&showResults=true',
      COMPILED_JSP_QUERY = '/crx/de/query.jsp?type=xpath&stmt=/jcr:root/var/classes//jsp&showResults=true',
      USER_INFO =          '/libs/granite/security/currentuser.json'
      PRODUCT_INFO =       '/libs/cq/core/productinfo.json',
      SLING_INFO =         '/system/console/status-slingsettings.json',
      SYSTEM_INFO =        '/system/console/status-System%20Properties.json',
      SUDOABLE_INFO =      '.sudoables.json',
      MEMORY_USAGE =       '/system/console/memoryusage',
      GARBAGE_COLLECTOR =  'command=gc';

  /**
   * Open the marketing cloud debugger window.
   */
  function openDigitalPulseDebugger() {
    var dp_debugger = window.open("","dp_debugger","width=700,height=1000,location=0,menubar=0,status=1,toolbar=0,resizable=1,scrollbars=1");
    dp_debugger.document.write("<script language=\"JavaScript\" id=dbg src=\"https://www.adobetag.com/d1/digitalpulsedebugger/live/DPD.js\"></"+"script>");
    dp_debugger.focus();

    chrome.runtime.sendMessage({
      type: 'dp_debugger',
      status: 'success'
    });
  }

  /**
   * Delete the results of the query and post a message with status.
   *
   * @param {String} query the URL with query to the JCR.
{'fraction_non_alphanumeric': 0.1519253910950662, 'fraction_numerical': 0.009626955475330927, 'mean_word_length': 3.268292682926829, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1723294', 'n_tokens_mistral': 1143, 'n_tokens_neox': 1095, 'n_words': 186}