{"id":9424,"date":"2024-08-06T15:27:47","date_gmt":"2024-08-06T13:27:47","guid":{"rendered":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/?page_id=9424"},"modified":"2024-11-26T12:33:36","modified_gmt":"2024-11-26T11:33:36","slug":"oferta-zielona-energia","status":"publish","type":"page","link":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/oferta-zielona-energia\/","title":{"rendered":"Oferta zielona energia"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"9424\" class=\"elementor elementor-9424\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e852203 banner elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e852203\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a9a1727\" data-id=\"a9a1727\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c924261 elementor-widget elementor-widget-spacer\" data-id=\"c924261\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-db17f01 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"db17f01\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-5538ee5\" data-id=\"5538ee5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-1be46db\" data-id=\"1be46db\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;xpro_backdrop_filter&quot;:&quot;yes&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6ca8beb elementor-widget elementor-widget-heading\" data-id=\"6ca8beb\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Zielona energia<br>\ndla Twojej firmy<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7dcc2c9 elementor-widget elementor-widget-heading\" data-id=\"7dcc2c9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Zostaw kontakt. <br>Nasz ekspert skontaktuje si\u0119 z Tob\u0105 niezw\u0142ocznie<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c448a7b elementor-align-center elementor-widget elementor-widget-xpro-button\" data-id=\"c448a7b\" data-element_type=\"widget\" data-widget_type=\"xpro-button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n<a  href=\"#formularz\" class=\"xpro-elementor-button xpro-elementor-button-animation-none xpro-align-icon-right\">\n<span class=\"xpro-elementor-button-inner\">\n<span class=\"xpro-button-text\">Przejd\u017a do formularza<\/span>\n<\/span>\n<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-dea99af elementor-widget elementor-widget-spacer\" data-id=\"dea99af\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-1eaa94a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1eaa94a\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-c62f96b\" data-id=\"c62f96b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3ac5e00 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3ac5e00\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a3ec101\" data-id=\"a3ec101\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-af04db4 elementor-widget elementor-widget-image\" data-id=\"af04db4\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"206\" height=\"108\" src=\"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/wp-content\/uploads\/2023\/10\/3-kropki.png\" class=\"attachment-large size-large wp-image-3912\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8da1dba elementor-widget elementor-widget-spacer\" data-id=\"8da1dba\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0e0c41e elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"0e0c41e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\"><span style=\"color: #009b8b; font-size: 24pt; font-family: lato-light;\">Wype\u0142nij formularz<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8fbaed4 elementor-widget elementor-widget-heading\" data-id=\"8fbaed4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Nasz ekspert skontaktuje si\u0119 z Tob\u0105 niezw\u0142ocznie\u200b<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2f00700 elementor-widget elementor-widget-menu-anchor\" data-id=\"2f00700\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"formularz\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-58ec7ee elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"58ec7ee\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-4d77100 box-shadow\" data-id=\"4d77100\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ecc0d52 elementor-widget-tablet__width-initial elementor-widget elementor-widget-shortcode\" data-id=\"ecc0d52\" data-element_type=\"widget\" id=\"offer2024\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f9487-o1\" lang=\"pl-PL\" dir=\"ltr\" data-wpcf7-id=\"9487\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/autoinstalator\/wordpressplus\/wp-json\/wp\/v2\/pages\/9424#wpcf7-f9487-o1\" method=\"post\" class=\"wpcf7-form init\" id=\"my-contact-form\" aria-label=\"Formularz kontaktowy\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"9487\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.3\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"pl_PL\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f9487-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_group_fields\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_visible_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_repeaters\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_steps\" value=\"{}\" \/><input type=\"hidden\" name=\"_wpcf7cf_options\" value=\"{&quot;form_id&quot;:9487,&quot;conditions&quot;:[],&quot;settings&quot;:{&quot;animation&quot;:&quot;yes&quot;,&quot;animation_intime&quot;:200,&quot;animation_outtime&quot;:200,&quot;conditions_ui&quot;:&quot;normal&quot;,&quot;notice_dismissed&quot;:false}}\" \/><input type=\"hidden\" name=\"_wpcf7_recaptcha_response\" value=\"\" \/>\n<\/fieldset>\n<p><span class=\"wpcf7-form-control-wrap\" data-name=\"oferta\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text\" id=\"lp-oferta\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"oferta\" \/><\/span>\n<\/p>\n<div class=\"form-row\">\n\t<p><label>NIP<\/label><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"NIP\"><input size=\"40\" maxlength=\"10\" minlength=\"10\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" id=\"lp-nip\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"NIP\" \/><\/span><br \/>\n<span id=\"nip-validation-message\"><\/span>\n\t<\/p>\n<\/div>\n<div class=\"form-row\">\n\t<p><label>E-mail<\/label><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"email_address\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email\" id=\"lp-email\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"email\" name=\"email_address\" \/><\/span><br \/>\n<span id=\"email-validation-message\"><\/span>\n\t<\/p>\n<\/div>\n<div class=\"form-row\">\n\t<p><label>Telefon<\/label><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"phone_num\"><input size=\"40\" maxlength=\"9\" minlength=\"9\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" id=\"lp-phone\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"phone_num\" \/><\/span>\n\t<\/p>\n<\/div>\n<div class=\"form-acceptances\">\n\t<p>Wyra\u017cam zgod\u0119 na otrzymywanie materia\u0142\u00f3w marketingowych (szczeg\u00f3\u0142owej oferty handlowej) pochodz\u0105cych od EKOVOLTIS sp. z o. o.:\n\t<\/p>\n\t<p> *Wymagane zgody\n\t<\/p>\n\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"ZgodaWszystko-0\"><span class=\"wpcf7-form-control wpcf7-acceptance optional\"><span class=\"wpcf7-list-item\"><label><input type=\"checkbox\" name=\"ZgodaWszystko-0\" value=\"1\" class=\"select-all-acceptances\" aria-invalid=\"false\" \/><span class=\"wpcf7-list-item-label\">Zaznacz wszystkie zgody<\/span><\/label><\/span><\/span><\/span><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"ZgodaEmail-4\"><span class=\"wpcf7-form-control wpcf7-acceptance\"><span class=\"wpcf7-list-item\"><label><input type=\"checkbox\" name=\"ZgodaEmail-4\" value=\"1\" id=\"cons-email\" aria-invalid=\"false\" \/><span class=\"wpcf7-list-item-label\">mailem*<\/span><\/label><\/span><\/span><\/span><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"ZgodaSMS-6\"><span class=\"wpcf7-form-control wpcf7-acceptance optional\"><span class=\"wpcf7-list-item\"><label><input type=\"checkbox\" name=\"ZgodaSMS-6\" value=\"1\" id=\"cons-sms\" aria-invalid=\"false\" \/><span class=\"wpcf7-list-item-label\">smsem<\/span><\/label><\/span><\/span><\/span><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"ZgodaTelefon-5\"><span class=\"wpcf7-form-control wpcf7-acceptance\"><span class=\"wpcf7-list-item\"><label><input type=\"checkbox\" name=\"ZgodaTelefon-5\" value=\"1\" id=\"cons-phone\" aria-invalid=\"false\" \/><span class=\"wpcf7-list-item-label\">telefonicznie*<\/span><\/label><\/span><\/span><\/span>\n\t<\/p>\n<\/div>\n<input class=\"wpcf7-form-control wpcf7-hidden\" value=\"Formularz Zielona Energia\" type=\"hidden\" name=\"text-hidden\" \/>\n<p><small><br \/>\nAdministratorem danych osobowych jest EKOVOLTIS sp. z o. o. (al. Solidarno\u015bci 36, 25-323 Kielce).<br \/>\nDane osobowe b\u0119d\u0105 przetwarzane w celu marketingu bezpo\u015bredniego (wysy\u0142ka informacji handlowych). W zwi\u0105zku z przetwarzaniem danych osobowych mog\u0105 przys\u0142ugiwa\u0107 Ci nast\u0119puj\u0105ce prawa: dost\u0119pu do tre\u015bci danych, sprostowania danych, usuni\u0119cia danych, ograniczenia przetwarzania danych, wniesienia sprzeciwu oraz wniesienia skargi do organu nadzorczego (Prezesa Urz\u0119du Ochrony Danych Osobowych). Szczeg\u00f3\u0142owe informacje dotycz\u0105ce obowi\u0105zku informacyjnego znajdziesz <a href=\"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/obowiazek-informacyjny\/\" target=\"_blank\">tutaj<\/a>.<br \/>\nZgody mo\u017cna odwo\u0142a\u0107 w ka\u017cdym momencie poprzez wys\u0142anie maila na adres <a href=\"mailto:iod@ekovoltis.pl\">iod@ekovoltis.pl<\/a>.<br \/>\n<\/small>\n<\/p>\n<h4 class=\"text-red\">WYBIERAM PR\u0104D BEZ PODWY\u017bEK\n<\/h4>\n<div class=\"submit-wrapper\">\n\t<p><button type=\"submit\" class=\"button-red\">Zamawiam ofert\u0119<\/button>\n\t<\/p>\n<\/div><input type='hidden' class='wpcf7-pum' value='{\"closepopup\":false,\"closedelay\":0,\"openpopup\":false,\"openpopup_id\":0}' \/><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-59114f3 elementor-widget elementor-widget-html\" data-id=\"59114f3\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\njQuery(document).ready(() => {\n    jQuery('.form-acceptances input[type=checkbox]:not(.select-all-acceptances)').change(function() {\n        jQuery(this).closest('.form-acceptances').find('input[type=checkbox].select-all-acceptances').prop('checked', false);\n    });\n    jQuery('.form-acceptances input[type=checkbox].select-all-acceptances').change(function() {\n        let inputs = jQuery(this).closest('.form-acceptances').find('input[type=checkbox]');\n        inputs.prop('checked', jQuery(this).prop('checked'));\n    });\n});\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-83bc97f elementor-widget elementor-widget-html\" data-id=\"83bc97f\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\n    \/autoinstalator\/wordpressplus\/ NIP VALIDATION\n    function isValidNip(nip) {\n        if (typeof nip !== 'string') return false;\n\n        nip = nip.replace(\/[\\ \\-]\/gi, '');\n\n        if (nip.length !== 10 || isNaN(nip)) {\n            return false;\n        }\n\n        \/autoinstalator\/wordpressplus\/ Exclude NIPs with the same digit repeated 10 times\n        const repeatedDigitsPattern = \/^(\\d)\\1{9}$\/;\n        if (repeatedDigitsPattern.test(nip)) {\n            return false;\n        }\n\n        let weight = [6, 5, 7, 2, 3, 4, 5, 6, 7];\n        let sum = 0;\n        let controlNumber = parseInt(nip.substring(9, 10));\n        for (let i = 0; i < weight.length; i++) {\n            sum += (parseInt(nip.charAt(i)) * weight[i]);\n        }\n\n        return sum % 11 === controlNumber;\n    }\n\n    \/autoinstalator\/wordpressplus\/ EMAIL VALIDATION\n    function isValidEmail(email) {\n        const emailPattern = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/;\n        return emailPattern.test(email);\n    }\n\n    jQuery(document).ready(function($) {\n        const nipInput = $('#lp-nip');\n        const emailInput = $('#lp-email');\n        const validationMessage = $('#nip-validation-message');\n        const emailValidationMessage = $('#email-validation-message');\n        const submitButton = $('#form-prad button');\n\n        \/autoinstalator\/wordpressplus\/ Initial setup: disable the submit button and hide the validation messages\n        submitButton.prop('disabled', true);\n        validationMessage.hide();\n        emailValidationMessage.hide();\n\n        \/autoinstalator\/wordpressplus\/ Limit input to digits only\n        nipInput.on('input', function() {\n            nipInput.val(nipInput.val().replace(\/\\D\/g, ''));\n            validationMessage.hide();\n            if (isValidNip(nipInput.val())) {\n                validationMessage.hide();\n                submitButton.prop('disabled', false);\n            } else {\n                submitButton.prop('disabled', true);\n            }\n        });\n\n        \/autoinstalator\/wordpressplus\/ Validate NIP on blur\n        nipInput.on('blur', function() {\n            const nip = nipInput.val();\n            if (isValidNip(nip)) {\n                validationMessage.hide();\n                submitButton.prop('disabled', false);\n            } else {\n                validationMessage.text('Wprowad\u017a poprawny NIP').css('color', 'red').show();\n                submitButton.prop('disabled', true);\n            }\n        });\n\n        \/autoinstalator\/wordpressplus\/ Validate Email on input\n        emailInput.on('input', function() {\n            emailValidationMessage.hide();\n            if (isValidEmail(emailInput.val())) {\n                emailValidationMessage.hide();\n                submitButton.prop('disabled', false);\n            } else {\n                emailValidationMessage.text('Wprowad\u017a poprawny adres email').css('color', 'red').show();\n                submitButton.prop('disabled', true);\n            }\n        });\n\n        \/autoinstalator\/wordpressplus\/ Prevent form submission if NIP or Email is invalid\n        $('#form-prad').on('submit', function(event) {\n            if (!isValidNip(nipInput.val()) || !isValidEmail(emailInput.val())) {\n                event.preventDefault();\n                if (!isValidNip(nipInput.val())) {\n                    validationMessage.text('Invalid NIP').css('color', 'red').show();\n                }\n                if (!isValidEmail(emailInput.val())) {\n                    emailValidationMessage.text('Invalid Email').css('color', 'red').show();\n                }\n                submitButton.prop('disabled', true);\n            }\n        });\n    });\n<\/script>\n\n\n<script>\n\/autoinstalator\/wordpressplus\/ PHONE NUMBER VALIDATEION \njQuery(document).ready(function($) {\n    $('#lp-phone').on('input', function() {\n        var phoneInput = $('#lp-phone');\n        var phoneNumber = phoneInput.val();\n\n        \/autoinstalator\/wordpressplus\/ Remove any non-digit characters\n        phoneNumber = phoneNumber.replace(\/\\D\/g, '');\n        phoneInput.val(phoneNumber);\n    });\n\n    $('.wpcf7-form').on('submit', function(event) {\n        var phoneInput = $('#lp-phone');\n        var phoneNumber = phoneInput.val();\n        var phonePattern = \/^\\d{9}$\/;\n\n        if (!phonePattern.test(phoneNumber)) {\n            event.preventDefault();\n            alert('Prosz\u0119 wpisa\u0107 poprawny numer.');\n        }\n    });\n\n    \/autoinstalator\/wordpressplus\/ Prevent non-digit characters from being entered\n    $('#lp-phone').on('keypress', function(event) {\n        if (event.which < 48 || event.which > 57) {\n            event.preventDefault();\n        }\n    });\n});\n<\/script>\n\n<script>\n\/autoinstalator\/wordpressplus\/ PRE FILL OFFER FIELD WITH PARAMETER VALUE\njQuery(document).ready(function ($) {\n    \/autoinstalator\/wordpressplus\/ Function to get URL parameter\n    function getUrlParameter(name) {\n        name = name.replace(\/[\\[]\/, '\\\\[').replace(\/[\\]]\/, '\\\\]');\n        var regex = new RegExp('[\\\\?&]' + name + '=([^&#]*)');\n        var results = regex.exec(location.search);\n        return results === null ? '' : decodeURIComponent(results[1].replace(\/\\+\/g, ' '));\n    }\n\n    \/autoinstalator\/wordpressplus\/ Get the 'offer' parameter from the URL\n    var offerValue = getUrlParameter('offer');\n\n    \/autoinstalator\/wordpressplus\/ Function to set the 'oferta' field value\n    function setOfertaField() {\n        if (offerValue) {\n            $('input[name=\"oferta\"]').val(offerValue);\n        }\n    }\n\n    \/autoinstalator\/wordpressplus\/ Set a timeout \n    setTimeout(function() {\n        setOfertaField();\n    }, 4000); \n\n    \/autoinstalator\/wordpressplus\/ Ensure the field value is set just before form submission\n    document.addEventListener('wpcf7submit', function() {\n        setOfertaField();\n    });\n\n    \/autoinstalator\/wordpressplus\/ Redirect after successful form submission\n    \/autoinstalator\/wordpressplus\/ document.addEventListener('wpcf7mailsent', function(event) {\n    \/autoinstalator\/wordpressplus\/     window.location.href = \"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/pradbezpodwyzek\/\";\n    \/autoinstalator\/wordpressplus\/ });\n});\n\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c475d7f elementor-widget elementor-widget-html\" data-id=\"c475d7f\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\n\ndocument.addEventListener('DOMContentLoaded', function() {\n    const form = document.querySelector('#offer2024 form');\n\n    form.addEventListener('submit', function(event) {\n        event.preventDefault(); \/autoinstalator\/wordpressplus\/ Prevent the form from submitting the traditional way\n\n\n        const formData = new FormData(form);\n        \n        formData.append('id_user', 21);\n        formData.append('email', formData.get('email'));\n        formData.append('name', 'redirection2');\n        formData.append('email', formData.get('email'));\n        \n\n\n        \/autoinstalator\/wordpressplus\/ API endpoint and headers\n        const apiEndpoint = 'https:\/autoinstalator\/wordpressplus\/ekovoltis-api.salesbook-ent.com\/api\/v1\/companies\/save';\n        const authorization = 'Basic QVBJOjQ3YTQ4YzIwMDM2OGU=';\n\n        \/autoinstalator\/wordpressplus\/ Send the data to the API\n        fetch(apiEndpoint, {\n            method: 'POST',\n            headers: {\n                'Authorization': authorization,\n            },\n            body: formData \n        })\n        .then(response => {\n      \n            const contentType = response.headers.get('content-type');\n            if (contentType && contentType.includes('application\/json')) {\n                return response.json();\n            } else {\n                return response.text(); \n            }\n        })\n        .then(data => {\n            if (typeof data === 'string') {\n                console.log('Response (Text):', data);\n\n            } else {\n                console.log('Parsed JSON Response:', data);\n\n            }\n        })\n        .catch(error => {\n            console.error('Error:', error);\n        });\n    });\n    \n        setTimeout(() =>{\n        document.addEventListener('wpcf7mailsent', function(event) {\n            window.location.href = \"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/pradbezpodwyzek\/\";\n        });\n    },3000);\n\n});\n\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-445b2ba elementor-widget elementor-widget-spacer\" data-id=\"445b2ba\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Zielona energia dla Twojej firmy Zostaw kontakt. Nasz ekspert skontaktuje si\u0119 z Tob\u0105 niezw\u0142ocznie Przejd\u017a do formularza Wype\u0142nij formularz Nasz ekspert skontaktuje si\u0119 z Tob\u0105 niezw\u0142ocznie\u200b<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"enabled","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-9424","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/wp-json\/wp\/v2\/pages\/9424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/wp-json\/wp\/v2\/comments?post=9424"}],"version-history":[{"count":560,"href":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/wp-json\/wp\/v2\/pages\/9424\/revisions"}],"predecessor-version":[{"id":12473,"href":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/wp-json\/wp\/v2\/pages\/9424\/revisions\/12473"}],"wp:attachment":[{"href":"https:\/\/ekovoltis.pl\/autoinstalator\/wordpressplus\/wp-json\/wp\/v2\/media?parent=9424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}