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

Dir : /home/trave494/craftgigstars.online/wp-content/plugins/optinmonster/assets/js/
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/craftgigstars.online/wp-content/plugins/optinmonster/assets/js/helper.js

/* ==========================================================
 * helper.js
 * ==========================================================
 * Copyright 2015 Thomas Griffin.
 * https://thomasgriffin.io
 * ========================================================== */
jQuery(document).ready(function($){
	$(document).on('OptinMonsterPreOptin', function(event, optin, object){
		$.each(omapi_localized.slugs, function(i, v) {

			if ( i !== optin.optin ) {
				return;
			}

			if ( ! v.mailpoet ) {
				return;
			}

			// Send a request to force optin to work even if no provider is set.
			var data 		 = optin.optin_data;
			data.no_provider = true;
			object.setProp('optin_data', data);

			// Now make an ajax request to make the optin locally.
			data.action = 'mailpoet';
			data.nonce  = omapi_localized.nonce;
			data.optin  = optin.original_optin;
			$.post(omapi_localized.ajax, data, function(){}, 'json');

			return false;
		});
	});
});