\
';
});
}
if (jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay').length) {
var $videoIframe = jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay iframe[data-video-type]');
//If there is an iframe with video, it should have it's src rewritten to not autoplay it's content until needed
if ($videoIframe.length) {
var src = $videoIframe.attr('src'),
type = $videoIframe.attr('data-video-type');
if ($videoIframe.attr('src') !== '') {
if (type === 'kartra') {
var videoData = $videoIframe.attr('data-video');
if (typeof videoData === 'undefined') {
videoData = $videoIframe.attr('data-playlist');
$videoIframe.attr('data-playlist', videoData.replace(/autoplay/g, 'autoplay=false&autoplaceholder'));
} else {
$videoIframe.attr('data-video', videoData.replace(/autoplay/g, 'autoplay=false&autoplaceholder'));
}
$videoIframe.attr('src', src.replace(/autoplay/g, 'autoplay=false&autoplaceholder'));
} else {
$videoIframe.attr('src', src.replace(/autoplay/g, 'noautoplay'));
}
}
}
}
jquery_3c59dc048e8850243be8079a5c74d079(document).ready(function() {
var $optinForm = jquery_3c59dc048e8850243be8079a5c74d079('.form_class_3c59dc048e8850243be8079a5c74d079 form');
var $existingReferrerInput = $optinForm.find('input [name="referrer"]');
var $existingUuidInput = $optinForm.find('input [name="kuid"]');
var $existingAffiliateInput = $optinForm.find('input [name="kaff"]');
var urlParams = getUrlParams();
var kartraPage = getKartraPage();
var inIframe = isInIframe();
var referrer = '';
var affiliateData = '';
var uuid = window.kuuid;
var searchParams = new URLSearchParams(window.location.search);
var memberHash = $optinForm.attr('data-kt-owner') || '';
if (inIframe) {
if (
'undefined' !== typeof window.jsVars
&& 'undefined' !== typeof window.jsVars.current_trackable_asset
) {
referrer = window.jsVars.current_trackable_asset;
} else if (searchParams.has('referrer')) {
referrer = searchParams.get('referrer');
} else {
referrer = window.location.href.split('?')[0];
}
affiliateData = searchParams.get('kaff');
} else {
if (kartraPage) {
referrer = kartraPage;
} else {
referrer = window.location.href.split('?')[0];
}
affiliateData = memberHash && checkForAffiliate(memberHash);
}
jquery_3c59dc048e8850243be8079a5c74d079.each(urlParams, function(index, param) {
var existingUrlParamInput = $optinForm.find('input [name="' + param.key + '"]');
if (!existingUrlParamInput.length) {
$optinForm.append('');
}
});
if (!$existingReferrerInput.length) {
$optinForm.append('');
}
if (!$existingUuidInput.length) {
$optinForm.append('');
}
if (
affiliateData
&& affiliateData !== ''
) {
if ($existingAffiliateInput.length) {
$existingAffiliateInput.val(affiliateData);
} else {
$optinForm.append('');
}
}
setTimeout(function(){
changeCaptchaColor(jquery_3c59dc048e8850243be8079a5c74d079('.form_class_3c59dc048e8850243be8079a5c74d079 form'));
}, 1000);
//Custom dropdown close
jquery_3c59dc048e8850243be8079a5c74d079(document).click(function(event) {
if (jquery_3c59dc048e8850243be8079a5c74d079(event.target).closest('.kartra_optin_selectpicker').length === 0 ) {
jquery_3c59dc048e8850243be8079a5c74d079('.kartra_optin_dropdown-menu').hide();
}
});
//Custom dropdown open
jquery_3c59dc048e8850243be8079a5c74d079(document).on('click', '[data-toggle="kartra_dropdown"]', function() {
jquery_3c59dc048e8850243be8079a5c74d079(this).parent().find('.kartra_optin_dropdown-menu').show();
});
//Handle custom dropdown mimicking the selectpicker behaviour
jquery_3c59dc048e8850243be8079a5c74d079(document).on('click', '.kartra_optin_customDropdown li a', function(){
var $element = jquery_3c59dc048e8850243be8079a5c74d079(this),
$parent = $element.parents('li:first'),
$bootstrapSelect = $element.parents('.kartra_optin_bootstrap-select:first'),
$customDropdown = $element.parents('.kartra_optin_customDropdown:first');
if (!$parent.hasClass('disabled')) {
var identifier = jquery_3c59dc048e8850243be8079a5c74d079('span', $element).attr('data-for'),
value = jquery_3c59dc048e8850243be8079a5c74d079('span', $element).attr('data-value').toString(),
text = jquery_3c59dc048e8850243be8079a5c74d079('.text', $element).text(),
selectedText = '';
if (identifier === 'country_code') {
selectedText = '+' + value;
} else {
selectedText = text;
}
if (value !== '' && typeof value !== 'undefined') {
jquery_3c59dc048e8850243be8079a5c74d079('.kartra_optin_filter-option', $bootstrapSelect).text(selectedText).addClass('selected');
jquery_3c59dc048e8850243be8079a5c74d079('input[name="' + identifier + '"]').val(value);
jquery_3c59dc048e8850243be8079a5c74d079('li', $customDropdown).removeClass('selected');
$parent.addClass('selected');
}
$customDropdown.hide();
}
});
jquery_3c59dc048e8850243be8079a5c74d079(document).on('click', '.closecross, .js_kartra_optin_collapser', function(event) {
jquery_3c59dc048e8850243be8079a5c74d079('.form_class_3c59dc048e8850243be8079a5c74d079 iframe').each(function(index, el) {
var frameDOM = jquery_3c59dc048e8850243be8079a5c74d079(this)[0];
var frameWindow = frameDOM.contentWindow ? frameDOM.contentWindow : frameDOM.contentDocument.defaultView;
frameWindow.postMessage({"func":"pause"}, '*');
});
});
jquery_3c59dc048e8850243be8079a5c74d079(document).on("click", ".kartra_optin_radio", function(){
jquery_3c59dc048e8850243be8079a5c74d079("[name='"+jquery_3c59dc048e8850243be8079a5c74d079(this).attr("name")+"']").parents(".kartra_optin_radio_parent").removeClass("ez-selected").removeClass("kartra_optin-selected");
jquery_3c59dc048e8850243be8079a5c74d079("[name='"+jquery_3c59dc048e8850243be8079a5c74d079(this).attr("name")+"']").each(function(index, element){
if (jquery_3c59dc048e8850243be8079a5c74d079(element).is(":checked")) {
jquery_3c59dc048e8850243be8079a5c74d079(element).parents(".kartra_optin_radio_parent").addClass("ez-selected").addClass("kartra_optin-selected");
}
});
});
jquery_3c59dc048e8850243be8079a5c74d079(document).on("click", ".kartra_optin_chk", function(){
if (jquery_3c59dc048e8850243be8079a5c74d079(this).is(":checked")) {
jquery_3c59dc048e8850243be8079a5c74d079(this).parents(".kartra_optin_chk_parent").addClass("ez-checked").addClass("kartra_optin-checked");
} else {
jquery_3c59dc048e8850243be8079a5c74d079(this).parents(".kartra_optin_chk_parent").removeClass("ez-checked").removeClass("kartra_optin-checked");
}
});
jquery_3c59dc048e8850243be8079a5c74d079('.form_class_3c59dc048e8850243be8079a5c74d079 .close').on('click', function() {
jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay').fadeOut();
jquery_3c59dc048e8850243be8079a5c74d079("body").css('overflow','');
jquery_3c59dc048e8850243be8079a5c74d079('html').css('overflow','');
jquery_3c59dc048e8850243be8079a5c74d079('body').removeClass("kartra_body_reset");
});
jquery_3c59dc048e8850243be8079a5c74d079(document).on('change', '#terms_3c59dc048e8850243be8079a5c74d079', function() {
var $tncCheck = jquery_3c59dc048e8850243be8079a5c74d079(this),
$form = $tncCheck.parents('.form_class_3c59dc048e8850243be8079a5c74d079:first'),
$submitButton = $form.find('.submit_button_3c59dc048e8850243be8079a5c74d079, .kartra_optin_submit_btn');
kartra_validate_optin('3c59dc048e8850243be8079a5c74d079');
});
jquery_3c59dc048e8850243be8079a5c74d079('.js_gdpr_terms_check').on("change", function() {
kartra_validate_optin('3c59dc048e8850243be8079a5c74d079');
});
jquery_3c59dc048e8850243be8079a5c74d079('.js_gdpr_communications_check').on("change", function() {
kartra_validate_optin('3c59dc048e8850243be8079a5c74d079');
});
jquery_3c59dc048e8850243be8079a5c74d079(document).on("click", '.show_modal_3c59dc048e8850243be8079a5c74d079,.show_modal_own_3c59dc048e8850243be8079a5c74d079', function(){
if (jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay:first').attr('data-autoplay-triggered') !== 'true') {
jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay:first').attr('data-autoplay-triggered', 'true');
var $videoIframe = jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay:first iframe[data-video-type]');
if ($videoIframe.length) {
var src = $videoIframe.attr('src'),
type = $videoIframe.attr('data-video-type');
if ($videoIframe.attr('src') !== '' && src.indexOf('autop') > -1) {
if (type === 'kartra') {
var videoData = $videoIframe.attr('data-video');
if (typeof videoData === 'undefined') {
videoData = $videoIframe.attr('data-playlist');
$videoIframe.attr('data-playlist', videoData.replace(/autoplay=false&/g, ''));
$videoIframe.attr('data-playlist', videoData.replace(/autoplaceholder/g, 'autoplay'));
} else {
$videoIframe.attr('data-video', videoData.replace(/autoplay=false&/g, ''));
$videoIframe.attr('data-video', videoData.replace(/autoplaceholder/g, 'autoplay'));
}
$videoIframe.attr('src', src.replace(/autoplay=false&/g, ''));
$videoIframe.attr('src', src.replace(/autoplaceholder/g, 'autoplay'));
} else {
$videoIframe.attr('src', src.replace(/noautoplay/g, 'autoplay'));
}
}
}
}
jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay:first').show();
// trigger the analytics - start
jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay:first').attr('id', 'form_3c59dc048e8850243be8079a5c74d079_overlay_shown');
var elem = document.getElementById('form_3c59dc048e8850243be8079a5c74d079_overlay_shown');
var event = new Event('kartra_show_hidden_asset');
elem.dispatchEvent(event);
jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay:first').removeAttr('id');
// trigger the analytics - end
jquery_3c59dc048e8850243be8079a5c74d079("html").css('overflow','hidden');
jquery_3c59dc048e8850243be8079a5c74d079('body').addClass("kartra_body_reset");
adjustFormByResolution();
});
jquery_3c59dc048e8850243be8079a5c74d079('[data-screenshot="true"]').each(function() {
var src = jquery_3c59dc048e8850243be8079a5c74d079(this).attr('data-thumbnail');
jquery_3c59dc048e8850243be8079a5c74d079(this).html('');
});
jquery_3c59dc048e8850243be8079a5c74d079('input, select, button, textarea').on('focus', function() {
jquery_3c59dc048e8850243be8079a5c74d079(this).removeClass('form_3c59dc048e8850243be8079a5c74d079_error_border');
if (jquery_3c59dc048e8850243be8079a5c74d079(this).is(':radio') || jquery_3c59dc048e8850243be8079a5c74d079(this).is(':checkbox')) {
jquery_3c59dc048e8850243be8079a5c74d079(this).parents('.kartra_optin_field').find('small').removeClass('form_3c59dc048e8850243be8079a5c74d079_error_border');
}
});
jquery_3c59dc048e8850243be8079a5c74d079(document)
.off('click','.form_class_3c59dc048e8850243be8079a5c74d079 .submit_button_3c59dc048e8850243be8079a5c74d079, .form_class_3c59dc048e8850243be8079a5c74d079 .kartra_optin_submit_btn')
.on('click','.form_class_3c59dc048e8850243be8079a5c74d079 .submit_button_3c59dc048e8850243be8079a5c74d079, .form_class_3c59dc048e8850243be8079a5c74d079 .kartra_optin_submit_btn', function (e) {
e.preventDefault();
jquery_3c59dc048e8850243be8079a5c74d079('.form_class_3c59dc048e8850243be8079a5c74d079 .kartra_optin_submit_btn').attr('disabled', true);
setTimeout(function(){
jquery_3c59dc048e8850243be8079a5c74d079('.form_class_3c59dc048e8850243be8079a5c74d079 .kartra_optin_submit_btn').attr('disabled', false);
}, 3000);
var error = false,
the_form = jquery_3c59dc048e8850243be8079a5c74d079(this).parents('.form_class_3c59dc048e8850243be8079a5c74d079 form').first(),
captchaVerification = null;
jquery_3c59dc048e8850243be8079a5c74d079.each(the_form.find('.required_3c59dc048e8850243be8079a5c74d079'), function() {
if (jquery_3c59dc048e8850243be8079a5c74d079(this).is(':radio') || jquery_3c59dc048e8850243be8079a5c74d079(this).is(':checkbox')) {
if (the_form.find('[name="'+jquery_3c59dc048e8850243be8079a5c74d079(this).attr('name')+'"]:checked').length==0) {
the_form.find('[name="'+jquery_3c59dc048e8850243be8079a5c74d079(this).attr('name')+'"]').siblings('small').addClass('form_3c59dc048e8850243be8079a5c74d079_error_border');
error = true;
return;
} else {
the_form.find('[name="'+jquery_3c59dc048e8850243be8079a5c74d079(this).attr('name')+'"]').siblings('small').removeClass('form_3c59dc048e8850243be8079a5c74d079_error_border');
}
}
if (jquery_3c59dc048e8850243be8079a5c74d079(this).is(':hidden')) {
if(jquery_3c59dc048e8850243be8079a5c74d079(this).val()=='' || jquery_3c59dc048e8850243be8079a5c74d079(this).val()==null) {
error = true;
jquery_3c59dc048e8850243be8079a5c74d079(this).parent().find('.kartra_optin_bootstrap-select button.dropdown-toggle').addClass('form_3c59dc048e8850243be8079a5c74d079_error_border');
} else {
jquery_3c59dc048e8850243be8079a5c74d079(this).parent().find('.kartra_optin_bootstrap-select button.dropdown-toggle').removeClass('form_3c59dc048e8850243be8079a5c74d079_error_border');
}
} else {
if ( (!jquery_3c59dc048e8850243be8079a5c74d079(this).is(':radio') && !jquery_3c59dc048e8850243be8079a5c74d079(this).is(':checkbox')) &&
(jquery_3c59dc048e8850243be8079a5c74d079(this).val()=='' || jquery_3c59dc048e8850243be8079a5c74d079(this).val()==null
|| (jquery_3c59dc048e8850243be8079a5c74d079(this).attr('name') == 'email' && !validateEmail(jquery_3c59dc048e8850243be8079a5c74d079(this).val()))) ) {
jquery_3c59dc048e8850243be8079a5c74d079(this).addClass('form_3c59dc048e8850243be8079a5c74d079_error_border');
error = true;
return;
} else {
jquery_3c59dc048e8850243be8079a5c74d079(this).removeClass('form_3c59dc048e8850243be8079a5c74d079_error_border');
}
}
});
if (!error) {
if (the_form.find('[name="captcha"]').length) {
var captchaPattern = the_form.find('[name="captcha"]').val(),
captchaPatternId = the_form.find('[name="captcha_patterns_id"]').val(),
fillColor = the_form.find('[name="captcha"]').css('color');
captchaVerification = verifyCaptcha(captchaPattern, captchaPatternId, fillColor);
}
Promise.resolve(captchaVerification).then(function(response) {
if (response && !response.success) {
the_form.find('.js_kartra_captcha').html(response.new_svg.svg);
the_form.find('[name="captcha_patterns_id"]').val(response.new_svg.captcha_patterns_id);
the_form.find('[name="captcha"]').addClass('form_3c59dc048e8850243be8079a5c74d079_error_border');
} else {
the_form.submit();
}
});
}
});
jquery_3c59dc048e8850243be8079a5c74d079('body').append(jquery_3c59dc048e8850243be8079a5c74d079('.form_3c59dc048e8850243be8079a5c74d079_overlay').detach());
adjustFormByResolution();
kartra_checkout_jquery = jquery_3c59dc048e8850243be8079a5c74d079;
//apply sanitation on the form
var variables = {"sanitation_rules":{"numeric":"[0-9]","decimal":"[0-9\\.]","domain":"[a-zA-Z0-9\\-\\_\\&\\?\\.\\:\\\/\\=$\\+\\!\\*\\'\\(\\)\\;\\@\\#\\~\\[\\]\\%\\,\\`\\{\\}]","email":"[a-zA-Z0-9\\+\\=\\-\\_\\.\\@$]","letters":"[a-zA-Z\\ \\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e]","letters_no_space":"[a-zA-Z\\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e]","letters_numbers":"[a-zA-Z0-9\\-\\_\\.\\ \\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e]","letters_numbers_no_space":"[a-zA-Z0-9\\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e]","letters_numbers_special_char_no_space":"[a-zA-Z0-9\\S\\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e]+$","color":"[a-zA-Z0-9\\#]","normal":"","nothing":"","name":"[a-zA-Z0-9\\-\\'\"\\.\\,\\ \\;\\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e]","front_name":"[\\p{L}0-9\\-'.\\s]","other_name":"[a-zA-Z0-9\\-\\'\"\\.\\\/\\,\\#\\;\\ \\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e]","address_company":"[a-zA-Z0-9\\-\\'\"\\.\\\/\\,\\#\\;\\&\\ \\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e]","custom_domain_subdomain":"[a-zA-Z0-9\\-]","custom_domain_domain":"[a-zA-Z0-9\\-\\.]","custom_path":"[a-zA-Z0-9\\-\\_]","custom_field":"[a-zA-Z0-9\\-\\_]","margins":"[0-9\\-]","ip":"[a-zA-Z0-9\\.\\:]","product_name":"","broadcast_percentage":"[0-9]","2_decimals":"^[0-9]+\\.[0-9]{2}$","2_decimal_or_numeric":"^[0-9]+([.][0-9]{2})?$","discount_coupon":"[a-zA-Z0-9\\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e$%\\-+&#]","time_with_max":"[0-9]","negative_numeric":"[0-9\\-]","percentage_single_decimal":"","phone_number":"[0-9]","number_with_leading_zero":"[0-9]","keyword_name":"[a-zA-Z0-9\\-\\&\\ \\\u00e0\\\u00e2\\\u00e4\\\u00f4\\\u00e9\\\u00e8\\\u00eb\\\u00ea\\\u00ef\\\u00ee\\\u00e7\\\u00f9\\\u00fb\\\u00fc\\\u00ff\\\u00e6\\\u0153\\\u00c0\\\u00c2\\\u00c4\\\u00d4\\\u00c9\\\u00c8\\\u00cb\\\u00ca\\\u00cf\\\u00ce\\\u0178\\\u00c7\\\u00d9\\\u00db\\\u00dc\\\u00c6\\\u0152\\\u00e4\\\u00f6\\\u00fc\\\u00df\\\u00c4\\\u00d6\\\u00dc\\\u0105\\\u0107\\\u0119\\\u0142\\\u0144\\\u00f3\\\u015b\\\u017a\\\u017c\\\u0104\\\u0106\\\u0118\\\u0141\\\u0143\\\u00d3\\\u015a\\\u0179\\\u017b\\\u0117\\\u0116\\\u012f\\\u012e\\\u0173\\\u0173\\\u0172\\\u016b\\\u016a\\\u00e0\\\u00e8\\\u00e9\\\u00ec\\\u00ed\\\u00ee\\\u00f2\\\u00f3\\\u00f9\\\u00fa\\\u00c0\\\u00c8\\\u00c9\\\u00cc\\\u00cd\\\u00ce\\\u00d2\\\u00d3\\\u00d9\\\u00da\\\u00e1\\\u00e9\\\u00ed\\\u00f1\\\u00f3\\\u00fa\\\u00fc\\\u00c1\\\u00c9\\\u00cd\\\u00d1\\\u00d3\\\u00da\\\u00dc\\\u00e4\\\u00f6\\\u00e5\\\u00c4\\\u00d6\\\u00c5\\\u00e6\\\u00f8\\\u00e5\\\u00c6\\\u00d8\\\u00c5\\\u0102\\\u00c2\\\u00ce\\\u0218\\\u021a\\\u0103\\\u00e2\\\u00ee\\\u0219\\\u021b\\\u00e3\\\u00c3\\\u0451\\\u0401\\\u044a\\\u042a\\\u044f\\\u042f\\\u0448\\\u0428\\\u0435\\\u0415\\\u0440\\\u0420\\\u0442\\\u0422\\\u044b\\\u042b\\\u0443\\\u0423\\\u0438\\\u0418\\\u043e\\\u041e\\\u043f\\\u041f\\\u044e\\\u042e\\\u0449\\\u0429\\\u044d\\\u042d\\\u0430\\\u0410\\\u0441\\\u0421\\\u0434\\\u0414\\\u0444\\\u0424\\\u0433\\\u0413\\\u0447\\\u0427\\\u0439\\\u0419\\\u043a\\\u041a\\\u043b\\\u041b\\\u044c\\\u042c\\\u0436\\\u0416\\\u0437\\\u0417\\\u0445\\\u0425\\\u0446\\\u0426\\\u0432\\\u0412\\\u0431\\\u0411\\\u043d\\\u041d\\\u043c\\\u041c\\\u03b8\\\u0398\\\u03c9\\\u03a9\\\u03b5\\\u0395\\\u03c1\\\u03a1\\\u03c4\\\u03a4\\\u03c8\\\u03a8\\\u03c5\\\u03a5\\\u03b9\\\u0399\\\u03bf\\\u039f\\\u03c0\\\u03a0\\\u03b1\\\u0391\\\u03c3\\\u03a3\\\u03b4\\\u0394\\\u03c6\\\u03a6\\\u03b3\\\u0393\\\u03b7\\\u0397\\\u03c2\\\u03c2\\\u03ba\\\u039a\\\u03bb\\\u039b\\\u03b6\\\u0396\\\u03c7\\\u03a7\\\u03be\\\u039e\\\u03b2\\\u0392\\\u03bd\\\u039d\\\u03bc\\\u039c\\\u03ac\\\u03ad\\\u03ae\\\u03af\\\u03ca\\\u0390\\\u03cc\\\u03cd\\\u03cb\\\u03b0\\\u03ce\\\u00c1\\\u00c4\\\u010c\\\u010e\\\u00c9\\\u00cd\\\u0139\\\u013d\\\u0147\\\u00d3\\\u00d4\\\u0154\\\u0160\\\u0164\\\u00da\\\u00dd\\\u017d\\\u00e1\\\u00e4\\\u010d\\\u010f\\\u00e9\\\u00ed\\\u013a\\\u013e\\\u0148\\\u00f3\\\u00f4\\\u0155\\\u0161\\\u0165\\\u00fa\\\u00fd\\\u017e]"},"gdpr_settings":{"display":false,"terms_label":"I agree to the GDPR & CCPA Terms & Conditions","terms_text":"I confirm that I am at least 16 years of age or older \n \nI have read and accept any EULA, Terms and Conditions, Acceptable Use Policy, and\/or Data Processing Addendum which has been provided to me in connection with the software, products and\/or services. \n \nI have been fully informed and consent to the collection and use of my personal data for any purpose in connection with the software, products and\/or services. \n \nI understand that certain data, including personal data, must be collected or processed in order for you to provide any products or services I have requested or contracted for. I understand that in some cases it may be required to use cookies or similar tracking to provide those products or services.. \n \nI understand that I have the right to request access annually to any personal data you have obtained or collected regarding me. You have agreed to provide me with a record of my personal data in a readable format. \n \nI also understand that I can revoke my consent and that I have the right to be forgotten. If I revoke my consent you will stop collecting or processing my personal data. I understand that if I revoke my consent, you may be unable to provide contracted products or services to me, and I can not hold you responsible for that. \n \nLikewise, if I properly request to be forgotten, you will delete the data you have for me, or make it inaccessible. I also understand that if there is a dispute regarding my personal data, I can contact someone who is responsible for handling data-related concerns. If we are unable to resolve any issue, you will provide an independent service to arbitrate a resolution. If I have any questions regarding my rights or privacy, I can contact the email address provided.","terms_required":true,"terms_display":true,"terms_checked":false,"communications_display":true,"communications_checked":false,"communications_label":"I would like to receive future communications","communications_required":false}};
window.jsVars = window.jsVars
? Object.assign(window.jsVars, variables)
: variables;
if ('undefined' !== typeof window.jsVars &&
'undefined' !== typeof window.jsVars.sanitation_rules &&
'function' === typeof apply_santitation) {
apply_santitation(window.jsVars.sanitation_rules);
}
if ('undefined' !== typeof window.jsVars &&
'undefined' !== typeof window.jsVars['gdpr_settings'] &&
'function' === typeof kartra_init_optin_gdpr) {
kartra_init_optin_gdpr('3c59dc048e8850243be8079a5c74d079');
}
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)) {
jquery_3c59dc048e8850243be8079a5c74d079('.js_kartra_gdpr_popover').find(".kartra_optin_popover-content").removeClass("kartra_optin_popover-content-npadding");
jquery_3c59dc048e8850243be8079a5c74d079('.js_kartra_popover_gdpr_trigger').on("click",function() {
jquery_3c59dc048e8850243be8079a5c74d079('.js_kartra_gdpr_popover').fadeIn(300);
var bottomBar = jquery_3c59dc048e8850243be8079a5c74d079(this).parents('.js_kartra_optin_bar_toggle:first'),
distanceGDPR = jquery_3c59dc048e8850243be8079a5c74d079(this).parents(".js_gdpr_terms")[0].getBoundingClientRect().top;
if (bottomBar.length && bottomBar.hasClass('kartra_optin_bottombar')) {
var formContainerPosition = bottomBar.offset(),
gdprPosition = jquery_3c59dc048e8850243be8079a5c74d079(this).offset(),
offset = formContainerPosition.top - gdprPosition.top;
distanceGDPR = Math.sqrt(offset * offset);
}
if (distanceGDPR > 310 ){
jquery_3c59dc048e8850243be8079a5c74d079(this).parents(".js_gdpr_terms").find(".js_kartra_gdpr_popover .kartra_optin_popover-content").css("max-height", "300px");
} else {
jquery_3c59dc048e8850243be8079a5c74d079(this).parents(".js_gdpr_terms").find(".js_kartra_gdpr_popover .kartra_optin_popover-content").css("max-height", (distanceGDPR - 10));
}
})
} else {
var hovering = false;
jquery_3c59dc048e8850243be8079a5c74d079('.js_kartra_gdpr_popover').find(".kartra_optin_popover-content").addClass("kartra_optin_popover-content-npadding");
jquery_3c59dc048e8850243be8079a5c74d079(".js_gdpr_button_popover_trigger").hover(function() {
var $wrapper = jquery_3c59dc048e8850243be8079a5c74d079(this).parents('.js_gdpr_terms');
$wrapper.find('.js_kartra_gdpr_popover').fadeIn(300);
var bottomBar = $wrapper.parents('.js_kartra_optin_bar_toggle:first'),
distanceGDPR = $wrapper[0].getBoundingClientRect().top;
if (bottomBar.length && bottomBar.hasClass('kartra_optin_bottombar')) {
var formContainerPosition = bottomBar.offset(),
gdprPosition = $wrapper.offset(),
offset = formContainerPosition.top - gdprPosition.top;
distanceGDPR = Math.sqrt(offset * offset);
}
if (distanceGDPR > 310){
$wrapper.find(".js_kartra_gdpr_popover .kartra_optin_popover-content").css("max-height", "300px");
} else {
$wrapper.find(".js_kartra_gdpr_popover .kartra_optin_popover-content").css("max-height", (distanceGDPR - 10));
}
}, function() {
var $wrapper = jquery_3c59dc048e8850243be8079a5c74d079(this).parents('.js_gdpr_terms');
setTimeout(function() {
if (!hovering) {
$wrapper.find('.js_kartra_gdpr_popover').hide();
}
}, 200);
});
jquery_3c59dc048e8850243be8079a5c74d079(document).on('mouseenter', '.js_kartra_gdpr_popover', function() {
hovering = true;
});
jquery_3c59dc048e8850243be8079a5c74d079(document).on('mouseleave', '.js_kartra_gdpr_popover', function() {
hovering = false;
jquery_3c59dc048e8850243be8079a5c74d079(this).hide();
});
}
jquery_3c59dc048e8850243be8079a5c74d079('.js_utility_popover_close').on('click', function() {
jquery_3c59dc048e8850243be8079a5c74d079(this).parents('.js_kartra_popover').hide();
});
jquery_3c59dc048e8850243be8079a5c74d079('body').on('click', function(e) {
if (jquery_3c59dc048e8850243be8079a5c74d079(e.target).hasClass('js_kartra_popover') ||
jquery_3c59dc048e8850243be8079a5c74d079(e.target).parents('.js_kartra_popover').length > 0 ||
jquery_3c59dc048e8850243be8079a5c74d079(e.target).hasClass('js_kartra_popover_trigger') ||
jquery_3c59dc048e8850243be8079a5c74d079(e.target).parents('.js_kartra_popover_trigger').length > 0) {
if (jquery_3c59dc048e8850243be8079a5c74d079(e.target).hasClass('js_kartra_popover_trigger') || jquery_3c59dc048e8850243be8079a5c74d079(e.target).parents('.js_kartra_popover_trigger').length > 0) {
if (jquery_3c59dc048e8850243be8079a5c74d079(e.target).hasClass('js_kartra_popover_trigger')) {
element = jquery_3c59dc048e8850243be8079a5c74d079(e.target);
} else {
element = jquery_3c59dc048e8850243be8079a5c74d079(e.target).parents('.js_kartra_popover_trigger')
}
var the_popover = typeof jquery_3c59dc048e8850243be8079a5c74d079(element).attr('data-popover') !== 'undefined' ? jquery_3c59dc048e8850243be8079a5c74d079(element).attr('data-popover') : 'js_kartra_gdpr_popover' ;
jquery_3c59dc048e8850243be8079a5c74d079(".js_kartra_popover").filter(function() { return jquery_3c59dc048e8850243be8079a5c74d079(this).css('display') != 'none'}).not(jquery_3c59dc048e8850243be8079a5c74d079('.'+the_popover)).find(" .js_utility_popover_close").trigger('click');
}
} else {
jquery_3c59dc048e8850243be8079a5c74d079(".js_kartra_popover").filter(function() { return jquery_3c59dc048e8850243be8079a5c74d079(this).css('display') != 'none'}).find(".js_utility_popover_close").trigger('click');
}
});
});
jquery_3c59dc048e8850243be8079a5c74d079(window).on('resize', function() {
adjustFormByResolution();
});
function verifyCaptcha(captchaPattern, captchaPatternId, fillColor) {
return jquery_3c59dc048e8850243be8079a5c74d079.ajax({
url : 'https://app.kartra.com/process/verifyCaptcha/HjB1dEoQXlCp',
type : 'POST',
data : {
'captcha_pattern' : captchaPattern,
'captcha_patterns_id' : captchaPatternId,
'fill_color' : fillColor
},
xhrFields : {
withCredentials : true
}
});
}
function kartra_init_optin_gdpr(form_id) {
var optin_id = form_id;
var $form = jquery_3c59dc048e8850243be8079a5c74d079('.form_class_'+form_id);
var optin_settings = window.jsVars['gdpr_settings'];
if (optin_settings.display == true) {
if (optin_settings.terms_display || optin_settings.communications_display) {
$form.find('.js_gdpr_wrapper').show();
}
$form.find('.js_gdpr_terms')[optin_settings.terms_display ? 'show' : 'hide']();
$form.find('.js_gdpr_communications')[optin_settings.communications_display ? 'show' : 'hide']();
$form.find('.js_gdpr_terms_check').attr('checked', optin_settings.terms_checked);
$form.find('.js_gdpr_communications_check').attr('checked', optin_settings.communications_checked);
$form.find('.js_gdpr_terms_text').html(optin_settings.terms_text);
$form.find('.js_gdpr_label_communications').text(optin_settings.communications_label);
$form.find('.js_gdpr_label_terms').text(optin_settings.terms_label);
}
kartra_validate_optin(form_id)
}
function kartra_validate_optin(form_id) {
var optin_id = form_id;
var $form = jquery_3c59dc048e8850243be8079a5c74d079('.form_class_'+form_id);
var valid = true;
if ($form.find('#terms_'+form_id).length > 0 && !$form.find('#terms_'+form_id).is(':checked')) {
valid = false;
}
var optin_settings = window.jsVars['gdpr_settings'];
if (optin_settings.display) {
if (valid && optin_settings.communications_required && !$form.find('[name="gdpr_communications"]').is(':checked')) {
valid = false;
}
if (valid && optin_settings.terms_required && !$form.find('[name="gdpr_terms"]').is(':checked')) {
valid = false;
}
}
$submitButton = $form.find('.submit_button_'+optin_id+', .kartra_optin_submit_btn');
$submitButton.attr('disabled', !valid);
}
function adjustFormByResolution() {
var $viewHolder = jquery_3c59dc048e8850243be8079a5c74d079('.form_class_3c59dc048e8850243be8079a5c74d079 .js_optin_view_holder'),
breakPoints = $viewHolder.data('breakpoints'),
width = $viewHolder.outerWidth();
if ($viewHolder.length && typeof breakPoints !== 'undefined') {
$viewHolder.removeClass (function (index, className) {
return (className.match (/(^|\s)kartra_optin_force_breaking_point_\S+/g) || []).join(' ');
});
if (width > breakPoints[3]) {
$viewHolder.addClass('kartra_optin_force_breaking_point_xlarge');
} else if (width > breakPoints[2] && width <= breakPoints[3]) {
$viewHolder.addClass('kartra_optin_force_breaking_point_large');
} else if (width > breakPoints[1] && width <= breakPoints[2]) {
$viewHolder.addClass('kartra_optin_force_breaking_point_medium');
} else if (width > breakPoints[0] && width <= breakPoints[1]) {
$viewHolder.addClass('kartra_optin_force_breaking_point_small');
} else {
$viewHolder.addClass('kartra_optin_force_breaking_point_xsmall');
}
}
}
function changeCaptchaColor($form) {
var $captchaInput = $form.find('[name="captcha"]'),
inputColor = $captchaInput.css('color'),
$captchaSvgPath = $form.find('.js_kartra_captcha svg path');
$captchaSvgPath.attr('fill', inputColor);
}
function getUrlParams() {
var validUrlParams = [
'utm_source',
'utm_medium',
'utm_campaign',
'utm_content',
'utm_term',
];
var urlParams = [];
if (window.location.search) {
var searchParams = new URLSearchParams(window.location.search);
searchParams.forEach(function (value, key) {
key = key.toLowerCase();
value = value.trim();
if (validUrlParams.indexOf(key) !== -1) {
urlParams.push({
key: key,
value: value
});
}
});
}
return urlParams;
}
function isInIframe() {
try {
return window.self !== window.top;
} catch (e) {
return true;
}
}
function getKartraPage() {
var $pageTrackingElement = jquery_3c59dc048e8850243be8079a5c74d079('.js_kartra_trackable_object[data-kt-type="kartra_page_tracking"]');
var pageHash = '';
if ($pageTrackingElement) {
pageHash = $pageTrackingElement.attr('data-kt-value');
}
return pageHash || false;
}
function checkForAffiliate(memberHash) {
function getCookie(name) {
const cookie = document.cookie.match('(?:(?:^|.*; *)' + name + ' *= *([^;]*).*$)|^.*$')[1];
if (cookie) {
return decodeURIComponent(cookie);
}
}
var cookieName = 'kaff_' + memberHash;
var affiliateCookie = getCookie(cookieName);
var urlParams = new URLSearchParams(window.location.search);
var affiliateUrlHash = urlParams.get('kaff');
var memberUrlHash = urlParams.get('kmid');
var affiliateData;
if (
affiliateUrlHash
&& memberUrlHash
&& memberUrlHash === memberHash
) {
if (
!affiliateCookie
|| affiliateUrlHash !== affiliateCookie
) {
affiliateData = affiliateUrlHash;
} else {
affiliateData = affiliateCookie;
}
} else if (affiliateCookie) {
affiliateData = affiliateCookie;
}
return affiliateData;
}
};
document.body.appendChild(analytics_script);
document.body.appendChild(santitation_script);
document.body.appendChild(js_jquery);
function validateEmail(email) {
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(email);
}