HTTP/1.1 200 Connection established HTTP/1.1 200 OK Date: Sun, 06 Apr 2025 12:15:46 GMT Server: Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/7.4.33 Strict-Transport-Security: max-age=31536000; preload X-Powered-By: PHP/7.4.33 Etag: "14e67312c7da4eee539097e23fc28ec7" Cache-Control: public, max-age=2592000 Content-Length: 2388 Connection: close Content-Type: application/x-javascript; charset= /** * @file * Loads report blocks via ajax. This is done because the API requests to Google * Analytics can add signifigant latency to page loads otherwise. */ (function ($) { Drupal.behaviors.googleAnalyticsReports = { attach: function (context, settings) { $('#block-google-analytics-reports-path-mini,#block-google-analytics-reports-dashboard', context).show(); if ($('.google-analytics-reports-path-mini', context).length) { $.ajax({ url: Drupal.settings.googleAnalyticsReportsAjaxUrl + '/path-mini', dataType: 'json', data: ({ path: window.location.pathname + window.location.search }), success: function(data) { $('.google-analytics-reports-path-mini', context).html(data.content).hide().slideDown('fast'); }, error: function(data) { // @TODO } }); } if ($('.google-analytics-reports-dashboard', context).length) { $.ajax({ url: Drupal.settings.googleAnalyticsReportsAjaxUrl + '/dashboard', dataType: 'json', success: function(data) { $('.google-analytics-reports-dashboard', context).html(data.content).hide().slideDown('fast'); }, error: function(data) { // @TODO } }); } } } })(jQuery);; (function ($) { $(function() { var googleCSEWatermark = function(id) { var f = $(id)[0]; if (f && (f.query || f['edit-search-block-form--2'] || f['edit-keys'])) { var q = f.query ? f.query : (f['edit-search-block-form--2'] ? f['edit-search-block-form--2'] : f['edit-keys']); var n = navigator; var l = location; if (n.platform == 'Win32') { q.style.cssText = 'border: 1px solid #7e9db9; padding: 2px;'; } var b = function() { if (q.value == '') { q.style.background = '#FFFFFF url(https://www.google.com/cse/intl/' + Drupal.settings.googleCSE.language + '/images/google_custom_search_watermark.gif) left no-repeat'; } }; var f = function() { q.style.background = '#ffffff'; }; q.onfocus = f; q.onblur = b; // if (!/[&?]query=[^&]/.test(l.search)) { b(); // } } }; googleCSEWatermark('#search-block-form.google-cse'); googleCSEWatermark('#search-form.google-cse'); googleCSEWatermark('#google-cse-results-searchbox-form'); }); })(jQuery); ;