PageSourceSearch

https://cic.mx/wp-content/plugins/essential-addons-elementor/assets/js/mailchimp.js?ver=1.0

js cic.mx collected 2026-10-03 20:23:34 UTC 973 bytes, 31 lines download raw bytes

1(function($) {
2	'use strict';
3	window.eael_mailchimp_subscribe = function( formId, apiKey, listId, buttonText, successMsg, loadingText ) {
4		$( '#'+formId ).on('submit', function(e) {
5			e.preventDefault();
6			var self = $(this);
7
8			self.find('.eael-mailchimp-subscribe').addClass( 'button--loading' );
9			self.find('.eael-mailchimp-subscribe span').html( loadingText );
10			$.ajax({
11				url: eaelMailchimp.ajax_url,
12				type: 'POST',
13				data: {
14					action: 'mailchimp_subscribe',
15					fields: self.serialize(),
16					apiKey: apiKey,
17					listId: listId
18				},
19				success: function(data) {
20					self.find('.eael-mailchimp-fields-wrapper').after( '<div class="eael-mailchimp-message"><p>'+successMsg+'</p></div>' );
21					self.find('input[type=text], input[type=email], textarea').val('');
22
23					self.find('.eael-mailchimp-subscribe').removeClass( 'button--loading' );
24					self.find('.eael-mailchimp-subscribe span').html( buttonText );
25				}
26			});
27		})
28	}
29
30})(jQuery);
31

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.