\_SB_.PCI0.S80_ B?ˆXˆ¤~VÅ�Àd–ß=¿JJj"Tâ� Æš¸ÔÅ£{“„„-i[D<†ªo®-‹C1jOÊ 516ÐÁ×?‹µ•M�Ú0†ïû+\ö– áKÕb\u R·eYÔ¥ªz4Ø$–œÙ¦)ýõuplªV¤¹x”y5󼣑MÞÄO“å·Å}X>ÎÐâËýìa‚pðµ7ˆ—±OôÃN0�c„SkË;€ªªÂª:�ågHm¦ú`¬–krË1½!õ?zƒH*w'"VZ%èCÎÅTl¬‹|#“ûù>n³:�a™p *—³"·Pªm"sZ0¥v�‘Y©D`Œ#¬•ybš2|yךŽdUð] ý¿¦®öÞ[í{ס¦Ä¦è;S2ÉÇØ%¦·ùÊ”#‡˜Ö9JJµØŒñ»Éx>zǘÎFÏj�æ=¦3f,Ê .7Rð‹âg/~–?/Œ½&f­eie‘¥à œYÊ”Ì9`JR}ªò~Á+¯sǶmMÓÓN‹b©ÅÚzW³#ÿÚ¾¤@  –Ij±ç•ÿîÊ› ËÔiŽñ ÑK®ß@º�î0ˆ:A4@Qÿ.^FáðSKÄ\šzY·DŠw(+´7p.†·‰5ëq•‡Aø¶-ЭB¼šw #oqId}ûøÂ×ÈW÷mgL*ã�aûÀÑ =`‘oÞ&:³W¸ßýÃÿå• ÍSA`ÿ:ðÏä/vRb—‰>Aˆl–ß=¿Jµ5*q@½p/\i¥1hßÛ „­¸/Öd–Ü4ý( ©¤ýÔâ� Æ™¸ÔÅ£ÕÛÃÙ?÷A/** * @output wp-admin/js/dashboard.js */ /* global pagenow, ajaxurl, postboxes, wpActiveEditor:true, ajaxWidgets */ /* global ajaxPopulateWidgets, quickPressLoad */ window.wp = window.wp || {}; window.communityEventsData = window.communityEventsData || {}; /** * Initializes the dashboard widget functionality. * * @since 2.7.0 */ jQuery( function($) { var welcomePanel = $( '#welcome-panel' ), welcomePanelHide = $('#wp_welcome_panel-hide'), updateWelcomePanel; /** * Saves the visibility of the welcome panel. * * @since 3.3.0 * * @param {boolean} visible Should it be visible or not. * * @return {void} */ updateWelcomePanel = function( visible ) { $.post( ajaxurl, { action: 'update-welcome-panel', visible: visible, welcomepanelnonce: $( '#welcomepanelnonce' ).val() }, function() { wp.a11y.speak( wp.i18n.__( 'Screen Options updated.' ) ); } ); }; // Unhide the welcome panel if the Welcome Option checkbox is checked. if ( welcomePanel.hasClass('hidden') && welcomePanelHide.prop('checked') ) { welcomePanel.removeClass('hidden'); } // Hide the welcome panel when the dismiss button or close button is clicked. $('.welcome-panel-close, .welcome-panel-dismiss a', welcomePanel).on( 'click', function(e) { e.preventDefault(); welcomePanel.addClass('hidden'); updateWelcomePanel( 0 ); $('#wp_welcome_panel-hide').prop('checked', false); }); // Set welcome panel visibility based on Welcome Option checkbox value. welcomePanelHide.on( 'click', function() { welcomePanel.toggleClass('hidden', ! this.checked ); updateWelcomePanel( this.checked ? 1 : 0 ); }); /** * These widgets can be populated via ajax. * * @since 2.7.0 * * @type {string[]} * * @global */ window.ajaxWidgets = ['dashboard_primary']; /** * Triggers widget updates via Ajax. * * @since 2.7.0 * * @global * * @param {string} el Optional. Widget to fetch or none to update all. * * @return {void} */ window.ajaxPopulateWidgets = function(el) { /** * Fetch the latest representation of the widget via Ajax and show it. * * @param {number} i Number of half-seconds to use as the timeout. * @param {string} id ID of the element which is going to be checked for changes. * * @return {void} */ function show(i, id) { var p, e = $('#' + id + ' div.inside:visible').find('.widget-loading'); // If the element is found in the dom, queue to load latest representation. if ( e.length ) { p = e.parent(); setTimeout( function(){ // Request the widget content. p.load( ajaxurl + '?action=dashboard-widgets&widget=' + id + '&pagenow=' + pagenow, '', function() { // Hide the parent and slide it out for visual fanciness. p.hide().slideDown('normal', function(){ $(this).css('display', ''); }); }); }, i * 500 ); } } // If we have received a specific element to fetch, check if it is valid. if ( el ) { el = el.toString(); // If the element is available as Ajax widget, show it. if ( $.inArray(el, ajaxWidgets) !== -1 ) { // Show element without any delay. show(0, el); } } else { // Walk through all ajaxWidgets, loading them after each other. $.each( ajaxWidgets, show ); } }; // Initially populate ajax widgets. ajaxPopulateWidgets(); // Register ajax widgets as postbox to