PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/live2news.com/wp-content/plugins/w3-total-cache/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/live2news.com/wp-content/plugins/w3-total-cache/Extension_NewRelic_Widget_View.js

jQuery(document).ready(function($) {
    function w3tcnr_load_basic() {
        $('.w3tcnr_loading').removeClass('w3tc_hidden');
        $('.w3tcnr_content').addClass('w3tc_hidden');
        $('.w3tcnr_error').addClass('w3tc_none');

        $.getJSON(ajaxurl + '?action=w3tc_ajax&_wpnonce=' + w3tc_nonce + 
            '&w3tc_action=newrelic_widgetdata_basic',
            function(data) {
                for (p in data) {
                    var v = data[p];
                    jQuery('.w3tcnr_' + p).html(v);
                }
                
                $('.w3tcnr_content').removeClass('w3tc_hidden');
                $('.w3tcnr_loading').addClass('w3tc_hidden');
            }
        ).fail(function() {
            $('.w3tcnr_error').removeClass('w3tc_none');
            $('.w3tcnr_content').addClass('w3tc_hidden');
            $('.w3tcnr_loading').addClass('w3tc_hidden');
        });
    }



    function w3tcnr_load_topfive(action, selector) {
        $.getJSON(ajaxurl + '?action=w3tc_ajax&_wpnonce=' + w3tc_nonce + 
            '&w3tc_action=' + action,
            function(data) {
                $(selector).html(data.content);

                // resize outer window to newly grown widget
                jQuery('#normal-sortables').masonry({
                    itemSelector: '.postbox'
                });
            }
        ).fail(function() {
            $(selector).html('<div class="w3tcnr_topfive_message">Request failed</div>');
        });
    }


    var nr_widget = jQuery('#new-relic-widget');
    nr_widget.find('div.top-five').hide();
    $('.w3tcnr-header-pageloads').click(function() {
        jQuery(this).find('div').toggleClass('close');
        jQuery(this).parents('.wrapper').find("div.top-five").toggle();

        w3tcnr_load_topfive('newrelic_widgetdata_pageloads', 
            '.w3tcnr_pageloads');
    });
    $('.w3tcnr-header-webtransactions').click(function() {
        jQuery(this).find('div').toggleClass('close');
        jQuery(this).parents('.wrapper').find("div.top-five").toggle();

        w3tcnr_load_topfive('newrelic_widgetdata_webtransactions', 
            '.w3tcnr_webtransactions');
    });
    $('.w3tcnr-header-dbtimes').click(function() {
        jQuery(this).find('div').toggleClass('close');
        jQuery(this).parents('.wrapper').find("div.top-five").toggle();

        w3tcnr_load_topfive('newrelic_widgetdata_dbtimes', 
            '.w3tcnr_dbtimes');
    });


    w3tcnr_load_basic();
});