html.wppas-model-open{overflow:hidden!important;}.paszone_container{position:relative;}.wppaszone img{max-width:100%;height:auto;}#wppas_code_editor span{display:inline;font-size:12px!important;}.wpproads_button{height:28px;line-height:28px;font-size:13px;color:#555;background:none repeat scroll 0% 0% #F7F7F7;border:solid 1px #CCC;border-bottom:2px solid #9FC664;margin-right:10px;position:relative;font-weight:300;text-decoration:none;padding:0px 16px;display:inline-block;box-shadow:0px 1px 0px #FFF inset,0px 1px 0px rgba(0,0,0,0.08);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;cursor:pointer;}.wpproads_button:hover{background:none repeat scroll 0% 0% #FAFAFA;border-bottom-color:#86B748;color:#222;}.wpproads_action_button{-webkit-border-top-left-radius:0;-webkit-border-bottom-left-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-bottomleft:0;border-top-left-radius:0;border-bottom-left-radius:0;border-left:none;}.wpproads_plus{margin:0;border-right:1px solid #9FC664;padding:0px 10px;-webkit-border-top-right-radius:0;-moz-border-radius-topright:0;border-top-right-radius:0;}.pasinfotxt{color:#C0C0C0;}.pasinfotxt.top-right,.pasinfotxt.top-left{position:absolute;top:0;z-index:9999;}.pasinfotxt.top-right{right:0;}.pasinfotxt.top-left{left:0;}.pas_pattern_btn{width:20px;height:20px;display:inline-block;cursor:pointer;border:solid 1px #FFF;}.pas_pattern_btn:hover,.pas_pattern_btn.selected{border:solid 1px #F00;}.pas_pattern_1{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAHklEQVQIW2NkQAWSjEh8SSD7OUwAzAFJggTgHJAAAEkuAx5OdRJCAAAAAElFTkSuQmCC");}.pas_pattern_2{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJElEQVQIW2NkwASSjGhikkD+c2RBsABIEUwQJgBXCVcBNUoSALv+BTj4eFI1AAAAAElFTkSuQmCC");}.pas_pattern_4{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkwASSQKHn6MKMaAIwRRiKkRWiS6LwYQqxWge0DS4OUohLEcxVYHl0N2LxG1hIkliFDEQrBACPFAkiIK8w3QAAAABJRU5ErkJggg==");}.pas_pattern_5{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAUElEQVQYV2NkYGCQBOLnQAwDID4IoIgxIikAMZE1oRiArBDdZBSNMIXoJiFbDZYDKcSmCOYimDslSVKIzRNYrUYOFuQgweoZbIoxgoeoAAcAuV4Wbybvf3gAAAAASUVORK5CYII=");}.pas_pattern_6{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAG0lEQVQIW2NkYGCQBOLnQAwGjDAGNgGwSgwVAE+2AgXahLM7AAAAAElFTkSuQmCC");}.pas_pattern_7{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAANklEQVQYV2NkIAIwEqFGkpAiSaAhzwkpAluESxHYBJhTsClCUYDPJBT/IJuEYQK6dTgVgBQCAG5EBSOuEsbJAAAAAElFTkSuQmCC");}.pas_pattern_8{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAFElEQVQIW2NkQABJIPM5iMtIA0EA7pgFBkREjt0AAAAASUVORK5CYII=");}.pas_pattern_9{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAFklEQVQIW2NkwAIYcQlKokvgVIlhAgAHZwAfq2Nt3wAAAABJRU5ErkJggg==");}#backgroundPasPopup{z-index:9998;position:fixed;display:none;height:100%;width:100%;background:#FFF;top:0px;left:0px;opacity:.7;}.PasPopupCont{color:#333333;visibility:hidden;font-size:14px;position:fixed;z-index:9999;width:100%;left:0;top:20%;text-align:center;}.PasPopupCont div.close_paspopup{background:#C30021;color:#FFF;text-align:center;cursor:pointer;height:20px;width:20px;position:absolute;right:0;top:0;font-size:12px;font-weight:bold;z-index:1000;}.PasPopupCont div.close_paspopup span{padding:3px 0;display:inline-block;line-height:1;margin:0!important;}.PasPopupCont div.paspopup_content{background:none repeat scroll 0 0 #FFFFFF;border-radius:3px 3px 3px 3px;box-shadow:0px 0px 10px rgba(0,0,0,0.2);padding:5px;margin:0 auto;position:relative;display:inline-block;}.PasPopupCont div.paspopup_content.nobg{background:transparent!important;box-shadow:none!important;}.pas_fly_in{visibility:hidden;position:fixed;z-index:99999;}.pas_fly_in.bottom-left,.pas_fly_in.bottom-center,.pas_fly_in.bottom-right{bottom:0;}.pas_fly_in.top-left,.pas_fly_in.top-center,.pas_fly_in.top-right{top:0;}.pas_fly_in.top-left,.pas_fly_in.bottom-left{left:0;}.pas_fly_in.bottom-center,.pas_fly_in.top-center{left:50%;transform:translate(-50%,0);}.pas_fly_in.bottom-right,.pas_fly_in.top-right{right:0;}.pas_fly_in .close_pasflyin{cursor:pointer;background:url(/wp-content/plugins/wppas/images/xclose_modal.png.pagespeed.ic.bVYIs5tia9.png) no-repeat;width:30px;height:30px;top:-10px;left:-15px;position:absolute;z-index:1000;}.pas_fly_in.bottom-left .close_pasflyin,.pas_fly_in.top-left .close_pasflyin{right:-15px;left:auto;}.pas_fly_in.top-left .close_pasflyin,.pas_fly_in.top-center .close_pasflyin,.pas_fly_in.top-right .close_pasflyin{bottom:-10px;top:auto;}#pas-sticky-div.pas_sticky{position:fixed;top:0;}#corncurl-bg{z-index:100000;overflow:hidden;background:#EFEFEF;}#corncurl-bg .corncurl-content{position:absolute;right:0;}#corncurl-small-img{z-index:100001;}#corncurl-bg,#corncurl-small-img,#corncurl-peel,#corncurl-cont{position:fixed;right:0px;top:0px;width:0px;height:0px;}#corncurl-peel{z-index:100002;}#corncurl-cont{z-index:100003;cursor:pointer;background:white;}#corncurl-peel img{width:100%;height:100%;border:none;background-color:transparent;}#corncurl-bg .corncurl-content embed,#corncurl-bg .corncurl-content iframe,#corncurl-bg .corncurl-content object,#corncurl-bg .corncurl-content video,#corncurl-bg .corncurl-content img{max-width:none;}.switch-button-label{float:left;font-size:13px!important;margin-top:8px!important;cursor:pointer;}.switch-button-label.off{color:#adadad;}.switch-button-label.on{color:#9cc95c!important;}.switch-button-background{float:left;position:relative;background:#ccc;border:1px solid #aaa;margin:1px 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;cursor:pointer;}.switch-button-button{position:absolute;left:-1px;top:-1px;background:#FAFAFA;border:1px solid #aaa;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}<?php
/**
 * WordPress AJAX Process Execution.
 *
 * @package WordPress
 * @subpackage Administration
 *
 * @link https://codex.wordpress.org/AJAX_in_Plugins
 */

/**
 * Executing AJAX process.
 *
 * @since 2.1.0
 */
define( 'DOING_AJAX', true );
if ( ! defined( 'WP_ADMIN' ) ) {
	define( 'WP_ADMIN', true );
}

/** Load WordPress Bootstrap */
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );

/** Allow for cross-domain requests (from the front end). */
send_origin_headers();

// Require an action parameter
if ( empty( $_REQUEST['action'] ) )
	die( '0' );

/** Load WordPress Administration APIs */
require_once( ABSPATH . 'wp-admin/includes/admin.php' );

/** Load Ajax Handlers for WordPress Core */
require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' );

@header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
@header( 'X-Robots-Tag: noindex' );

send_nosniff_header();
nocache_headers();

/** This action is documented in wp-admin/admin.php */
do_action( 'admin_init' );

$core_actions_get = array(
	'fetch-list', 'ajax-tag-search', 'wp-compression-test', 'imgedit-preview', 'oembed-cache',
	'autocomplete-user', 'dashboard-widgets', 'logged-in',
);

$core_actions_post = array(
	'oembed-cache', 'image-editor', 'delete-comment', 'delete-tag', 'delete-link',
	'delete-meta', 'delete-post', 'trash-post', 'untrash-post', 'delete-page', 'dim-comment',
	'add-link-category', 'add-tag', 'get-tagcloud', 'get-comments', 'replyto-comment',
	'edit-comment', 'add-menu-item', 'add-meta', 'add-user', 'closed-postboxes',
	'hidden-columns', 'update-welcome-panel', 'menu-get-metabox', 'wp-link-ajax',
	'menu-locations-save', 'menu-quick-search', 'meta-box-order', 'get-permalink',
	'sample-permalink', 'inline-save', 'inline-save-tax', 'find_posts', 'widgets-order',
	'save-widget', 'delete-inactive-widgets', 'set-post-thumbnail', 'date_format', 'time_format',
	'wp-remove-post-lock', 'dismiss-wp-pointer', 'upload-attachment', 'get-attachment',
	'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
	'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
	'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail',
	'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
	'press-this-add-category', 'crop-image', 'generate-password', 'save-wporg-username',
);

// Deprecated
$core_actions_post[] = 'wp-fullscreen-save-post';

// Register core Ajax calls.
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get ) )
	add_action( 'wp_ajax_' . $_GET['action'], 'wp_ajax_' . str_replace( '-', '_', $_GET['action'] ), 1 );

if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_post ) )
	add_action( 'wp_ajax_' . $_POST['action'], 'wp_ajax_' . str_replace( '-', '_', $_POST['action'] ), 1 );

add_action( 'wp_ajax_nopriv_heartbeat', 'wp_ajax_nopriv_heartbeat', 1 );

if ( is_user_logged_in() ) {
	/**
	 * Fires authenticated AJAX actions for logged-in users.
	 *
	 * The dynamic portion of the hook name, `$_REQUEST['action']`,
	 * refers to the name of the AJAX action callback being fired.
	 *
	 * @since 2.1.0
	 */
	do_action( 'wp_ajax_' . $_REQUEST['action'] );
} else {
	/**
	 * Fires non-authenticated AJAX actions for logged-out users.
	 *
	 * The dynamic portion of the hook name, `$_REQUEST['action']`,
	 * refers to the name of the AJAX action callback being fired.
	 *
	 * @since 2.8.0
	 */
	do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] );
}
// Default status
die( '0' );

