PageSourceSearch

https://bresimar.pt/wp-content/themes/bresimar/public/js/app.3f23e8.js

js bresimar.pt collected 2026-10-07 19:58:33 UTC 26,570 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_roots_bud_sage_sage=self.webpackChunk_roots_bud_sage_sage||[]).push([[143],{
1"./styles/app.scss":()=>{},
1"./scripts/app.js":(e,t,a)=>{var o=a("../node_modules/@roots/sage/lib/client/dom-ready.js");a("../node_modules/bootstrap/dist/js/bootstrap.esm.js"),(0,o.Z)(async()=>{!function(e){setTimeout(function(){if(e(".select2, .block-form select").select2({minimumResultsForSearch:-1}),e(".gform_wrapper select").select2({minimumResultsForSearch:-1}),e(".gfield_required.gfield_required_text").text("*"),e(document).on("gform_post_render",function(){e(".gform_wrapper select").select2({minimumResultsForSearch:-1}),e(".gfield_required.gfield_required_text").text("*")}),e(".gfield--type-fileupload:not(.multiple)").length>0){const r=document.querySelector('.gfield--type-fileupload:not(.multiple) input[type="file"]');r.addEventListener("change",function(){if(e(".gfield--type-fileupload:not(.multiple) .file_uploaded").remove(),e('<div class="file_uploaded" style="margin-top: 10px"></div>').insertAfter(".gfield--type-fileupload:not(.multiple) label"),r.files.length>0){const t=r.files[0].name;e(".gfield--type-fileupload:not(.multiple) .file_uploaded").html(t)}})}e("form.salesforce select").hasClass("select2-hidden-accessible")||e("form.salesforce select").select2({dropdownParent:e("form.salesforce")}),e("form.salesforce, form#yith-ywraq-mail-form").length>0&&e("form.salesforce .consent label, form.salesforce .consent-options label, form#yith-ywraq-mail-form .ywraq-privacy-wrapper label").change(function(){e(this).toggleClass("is-checked")}),e("form.salesforce").length>0&&-1===location.href.indexOf("localhost")&&grecaptcha.ready(function(){grecaptcha.execute("6LfoTaYpAAAAAH9fhBuVoVALmk2dIWhgIgLzit3N",{action:"submit"}).then(function(t){t&&e("input[name=g-recaptcha-response]").val(t)})}),e("form.salesforce").on("submit",function(t){const a=t.target,o=e(this).attr("id"),n=e(this).find("input[name=hpt]").val();"form_quote"!=o&&a.checkValidity()&&(t.preventDefault(),t.stopImmediatePropagation(),n||grecaptcha.ready(function(){grecaptcha.execute("6LfoTaYpAAAAAH9fhBuVoVALmk2dIWhgIgLzit3N",{action:"submit"}).then(function(t){if(t){var n={action:"verifyCaptcha",post_type:"POST",response:t};e.post(ajaxurl,n,function(t){1==parseInt(t)&&("form_exit_popup_newsletter"==o&&(document.cookie="epopup=1; expires=0; path=/",e.post(ajaxurl,{action:"exit_popup_cookie",post_type:"POST"},function(){})),"form_campaign"==o?a.action="https://marketing.bresimar.pt/l/901321/2024-05-13/3nw9vk":"form_download"==o?a.action="https://marketing.bresimar.pt/l/901321/2024-05-13/3nw9vy":"form_exit_popup_newsletter"==o||"form_newsletter"==o?a.action="https://marketing.bresimar.pt/l/901321/2024-05-13/3nw9vv":"form_plans_download"==o?a.action="https://marketing.bresimar.pt/l/901321/2024-05-13/3nw9w5":(a.action="https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8",e("form#"+o).find("input[name=oid]").val("00D09000002ZWNF")),document.getElementById(o).submit())})}})}))}),AOS.init({}),e(".swiper-container-top-header").length>0&&new Swiper(".swiper-container-top-header",{speed:1e3,direction:"horizontal",mousewheel:{invert:!0},autoplay:{delay:9e3},loop:!0}),e(document).ready(function(){if(e(".top-header-active-slick").length>0){const t=1e3*e(".top-header-active-slick").data("delay");e(".top-header-active-slick").slick({autoplay:!0,autoplaySpeed:t,infinite:!0,arrows:!1,pauseOnHover:!1,pauseOnFocus:!1,pauseOnDotsHover:!1}),e(".top-header-active-slick").show()}}),e(document).ready(function(){e(".gallary-slick-active").slick({autoplay:!0,autoplaySpeed:4e3,arrows:!1,centerPadding:"0px",dots:!0,slidesToShow:1,infinite:!0,responsive:[{breakpoint:576,settings:{slidesToShow:1}}]})});const t=document.querySelector("body"),a=document.querySelector(".exit-popup .close"),o=1e3*parseInt(e(".exit-popup").data("time"));let n;function i(){clearTimeout(n),n=setTimeout(function(){-1===document.cookie.indexOf("epopup")&&e("div.exit-popup").fadeIn()},o)}function s(){setTimeout(function(){e.post(ajaxurl,{action:"get_items_count",post_type:"POST"},function(t){e("ul.header-icon li:eq(0) i").html(t),parseInt(t)>0?e("ul.header-icon li:eq(0) i").fadeIn():e("ul.header-icon li:eq(0) i").fadeOut()})},1500)}if(t.addEventListener("mouseleave",t=>{null===t.toElement&&null===t.relatedTarget&&-1===document.cookie.indexOf("epopup")&&e("div.exit-popup").fadeIn()}),e(document).on("mouseout",t=>{null===t.toElement&&null===t.relatedTarget&&(e(t.currentTarget).off("mouseout"),-1===document.cookie.indexOf("epopup")&&e("div.exit-popup").fadeIn())}),document.addEventListener("keydown",function(t){27==t.which&&e(".exit-popup .close").trigger("click")}),a.addEventListener("click",function(){e("div.exit-popup").fadeOut(function(){document.cookie="epopup=1; expires=0; path=/",e.post(ajaxurl,{action:"exit_popup_cookie",post_type:"POST"},function(){})})}),i(),document.onmousemove=i,document.onkeypress=i,e(".page-template-template-news").length>0){const c=9;let p=1;function d(){var t=e(".filters-wrapper select#category").val(),a=(a=window.location.href).substr(0,a.lastIndexOf("/")+1);t&&(-1!==a.indexOf("?")?a+="&category="+t:a+="?category="+t),history.replaceState(null,"news",a);var o={action:"get_news",post_type:"POST",category:t};e.post(ajaxurl,o,function(t){var a=t.split(";;");e("#div_results").html(a[1]),e(window).on("scroll",function(){AOS.refreshHard()}),parseInt(a[0])?e("a.loadmore").fadeIn():e("a.loadmore").fadeOut(),p=1})}e(".filters-wrapper select").change(function(){d()}),e("body").on("click","a.loadmore",function(){const t=e(".filters-wrapper select#category").val(),a=e(this).data("total"),o={action:"get_more_news",post_type:"POST",category:t,paged:p};e.post(ajaxurl,o,function(t){e("#div_results_posts").append(t),p++,p*c>=a&&e("a.loadmore").fadeOut()})})}if(e(".single-post").length>0&&(e(".gallery-slick-active").slick({autoplay:!0,autoplaySpeed:4e3,arrows:!1,centerPadding:"0px",dots:!0,slidesToShow:1,infinite:!0,responsive:[{breakpoint:576,settings:{slidesToShow:1}}]}),AOS.refreshHard()),e(document).ready(function(){e("#tags").change(function(){var t=e(this).val();t&&(window.location.href=t)})}),e(".page-template-template-insights").length>0){const u=9;let m=1;function f(){const t=e(".filters-wrapper select#solution").val(),a=e(".filters-wrapper select#type").val(),o=e(".filters-wrapper select#category").val();let n=window.location.href;n=n.substr(0,n.lastIndexOf("/")+1),t&&(n+="?solution="+t),a&&(-1!==n.indexOf("?")?n+="&type="+a:n+="?type="+a),o&&(-1!==n.indexOf("?")?n+="&category="+o:n+="?category="+o),history.replaceState(null,"insights",n);var i={action:"get_insights",post_type:"POST",solution:t,type:a,category:o};e.post(ajaxurl,i,function(t){var a=t.split(";;");e("#div_results").html(a[1]),e(window).on("scroll",function(){AOS.refreshHard()}),parseInt(a[0])?e("a.loadmore").fadeIn():e("a.loadmore").fadeOut(),m=1})}e(".filters-wrapper select").change(function(){f()}),e("body").on("click","a.loadmore",function(){const t=e(".filters-wrapper select#solution").val(),a=e(".filters-wrapper select#type").val(),o=e(".filters-wrapper select#category").val(),n=e(this).data("total"),i={action:"get_more_insights",post_type:"POST",solution:t,type:a,category:o,paged:m};e.post(ajaxurl,i,function(t){e("#div_results_posts").append(t),m++,m*u>=n&&e("a.loadmore").fadeOut()})})}if(e(".archive").length>0){let h=1;if(e(".tax-product_cat").length){const g=3;e(".no-sub-active-slick").slick({arrows:!1,dots:!0,infinite:!1,slidesToShow:3,slidesToScroll:2,responsive:[{breakpoint:1199,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:780,settings:{slidesToShow:1,slidesToScroll:1}}]});let w=e(".no-sub-active-slick"),v=w.find(".slick-dots");function y(){const t=e("input[name=term_slug]").val();let a=[];e(".filters-wrapper select").each(function(){const t=e(this).attr("id"),o=e(this).val();a.push({id:t,value:o})});var o={action:"get_products",post_type:"POST",slug:t,filters:a};e.post(ajaxurl,o,function(t){var a=t.split(";;");e("#div_results").html(a[1]),parseInt(a[0])?e("a.loadmore").fadeIn():e("a.loadmore").fadeOut(),h=1})}w.find(".slick-slide").length>3?v.show():v.hide(),e(".filters-wrapper select").change(function(){y()}),e("body").on("click","a.loadmore",function(){const t=e("input[name=term_slug]").val(),a=e(this).data("total");let o=[];e(".filters-wrapper select").each(function(){const t=e(this).attr("id"),a=e(this).val();o.push({id:t,value:a})});const n={action:"get_more_products",post_type:"POST",slug:t,filters:o,paged:h};e.post(ajaxurl,n,function(t){e("#div_results_posts").append(t),h++,h*g>=a&&e("a.loadmore").fadeOut()})})}else{const _=9;e("body").on("click","a.loadmore",function(){const t=e("#term_type").val(),a=e("#term_id").val(),o=e(this).data("total"),n={action:"get_more_posts",post_type:"POST",type:t,id:a,paged:h};e.post(ajaxurl,n,function(t){e("#div_results_posts").append(t),h++,h*_>=o&&e("a.loadmore").fadeOut()})})}}if(e(".page-template-template-brands").length>0){const b=20;let k=1;function x(t="filters-wrapper"){let a="";a="brand_category_filter"==t?e("#brand_category_filter").val():e(".filters-wrapper a.active").data("slug");var o={action:"get_brands",post_type:"POST",category:a};e.post(ajaxurl,o,function(t){var a=t.split(";;");e("#div_results").html(a[1]),AOS.refreshHard(),parseInt(a[0])?e("a.loadmore").fadeIn():e("a.loadmore").fadeOut(),k=1})}e(".filters-wrapper a").click(function(){e(".filters-wrapper a").removeClass("active"),e(this).addClass("active")}),e(".filters-wrapper a").click(function(){x()}),e("#brand_category_filter").change(function(){x("brand_category_filter")}),e("body").on("click","a.loadmore",function(){const t=e(".filters-wrapper a.active").data("slug"),a=e(this).data("total"),o={action:"get_more_brands",post_type:"POST",category:t,paged:k};e.post(ajaxurl,o,function(t){e("#div_results_posts .brand-list").append(t),AOS.refreshHard(),k++,k*b>=a&&e("a.loadmore").fadeOut()})})}if(e(".page-template-template-campaigns").length>0){const S=9;let O=1;function T(){const t=e(".filters-wrapper select#solution").val(),a=e(".filters-wrapper select#brand").val(),o=e(".filters-wrapper select#type").val(),n=e(".filters-wrapper select#category").val();let i=window.location.href;i=i.substr(0,i.lastIndexOf("/")+1),t&&(i+="?solution="+t),a&&(-1!==i.indexOf("?")?i+="&brand="+a:i+="?brand="+a),o&&(-1!==i.indexOf("?")?i+="&type="+o:i+="?type="+o),n&&(-1!==i.indexOf("?")?i+="&category="+n:i+="?category="+n),history.replaceState(null,"campaigns",i);var s={action:"get_campaigns",post_type:"POST",solution:t,brand:a,type:o,category:n};e.post(ajaxurl,s,function(t){var a=t.split(";;");e("#div_results").html(a[1]),e(window).on("scroll",function(){AOS.refreshHard()}),parseInt(a[0])?e("a.loadmore").fadeIn():e("a.loadmore").fadeOut(),O=1})}e(".filters-wrapper select").change(function(){T()}),e("body").on("click","a.loadmore",function(){const t=e(".filters-wrapper select#solution").val(),a=e(".filters-wrapper select#brand").val(),o=e(".filters-wrapper select#type").val(),n=e(".filters-wrapper select#category").val(),i=e(this).data("total"),s={action:"get_more_campaigns",post_type:"POST",solution:t,brand:a,type:o,category:n,paged:O};e.post(ajaxurl,s,function(t){e("#div_results_posts").append(t),O++,O*S>=i&&e("a.loadmore").fadeOut()})})}if(e(".page-template-template-careers").length>0){const I=3;let A=1;
1e("body").on("click","section.jobs a.loadmore",function(){const t=e(this).data("total"),a={action:"get_more_jobs",post_type:"POST",paged:A};e.post(ajaxurl,a,function(a){e("section.jobs #div_results_posts").append(a),A++,A*I>=t&&e("section.jobs a.loadmore").fadeOut()})})}if(e(".page-template-template-course-registration").length>0){function P(){const t=e("#input_12_1").val(),a=e("#input_12_5").val();var o,n;n=(o=e("#input_12_5")).find(" option:eq(0)"),e(o).empty().append(n);var i={action:"get_course_months",post_type:"POST",course:t,month:a};e.post(ajaxurl,i,function(t){t&&e("#input_12_5").append(t)})}function V(t){const a=["#input_12_60","#input_12_65","#input_12_25","#input_12_61","#input_12_27","#input_12_28","#input_12_29","#input_12_66","#input_12_31"];"choice_12_67_1"===t?a.forEach(t=>{e(t).closest(".gfield").find("label").html(e(t).closest(".gfield").find("label").html()+"*")}):a.forEach(t=>{e(t).closest(".gfield").find("label").html().indexOf("*")>-1&&e(t).closest(".gfield").find("label").html(e(t).closest(".gfield").find("label").html().replace("*",""))})}e("body").on("change","select#input_12_1",function(){var t;P(),t={action:"get_course_name",post_type:"POST",course:e("#input_12_1").val()},e.post(ajaxurl,t,function(t){t&&e("#input_12_68").val(t)})}),e(document).on("gform_post_render",function(){setTimeout(function(){e(".ginput_container_select select").select2({minimumResultsForSearch:-1})},100);const t=e('input[name="course_slug"]').val();t&&setTimeout(function(){e("#input_12_1").val(t).trigger("change")},200),e('input[name="input_67"]').click(function(){V(e(this).attr("id"))}),V(e('input[name="input_67"]:checked').attr("id"))})}if(e(".search").length>0){const B=9;let E=1;e("body").on("click","a.loadmore",function(){const t=e("form input.text-input").val(),a=e(this).data("total"),o={action:"get_more_search",post_type:"POST",search:t,paged:E};e.post(ajaxurl,o,function(t){e("#div_results_posts").append(t),E++,E*B>=a&&e("a.loadmore").fadeOut()})}),e(".last-results").length>0&&new Swiper(".last-results .swiper-last-results",{watchOverflow:!0,pagination:{el:".last-results .swiper-last-results .swiper-pagination",clickable:!0},navigation:{nextEl:".last-results #next",prevEl:".last-results #prev"},breakpoints:{320:{slidesPerView:1,spaceBetween:0},769:{slidesPerView:2,spaceBetween:0},1024:{slidesPerView:3,spaceBetween:0},1200:{slidesPerView:2,spaceBetween:75},1441:{slidesPerView:3,spaceBetween:75},1600:{slidesPerView:3,spaceBetween:75}}})}if(e(".tax-product_cat").length>0&&e(".list-wrapper .swiper").length>0){var l=1;e(".list-wrapper .swiper").each(function(){e(this).addClass("swSubCats_"+l),new Swiper(".swSubCats_"+l,{watchOverflow:!0,pagination:{el:".swSubCats_"+l+" .swiper-pagination",clickable:!0},breakpoints:{320:{slidesPerView:1,spaceBetween:0},769:{slidesPerView:2,spaceBetween:0},1024:{slidesPerView:3,spaceBetween:0},1200:{slidesPerView:2,spaceBetween:75},1441:{slidesPerView:3,spaceBetween:75},1600:{slidesPerView:3,spaceBetween:75}}}),l++})}if(e(".single-product").length>0){function q(){e(window).width()<992?(e(".product-image.desktop").hide(),e(".product-image.mobile").show()):(e(".product-image.mobile").hide(),e(".product-image.desktop").show())}q(),e(window).resize(function(){q()}),e("section.gallery .swiper").length>0&&new Swiper("section.gallery .swiper",{watchOverflow:!0,slidesPerView:1,pagination:{el:"section.gallery .swiper .swiper-pagination",clickable:!0}}),e("section.related .swiper-related").length>0&&new Swiper("section.related .swiper-related",{centeredSlides:!0,roundLengths:!0,loop:!0,loopAdditionalSlides:30,watchOverflow:!1,loop:!0,pagination:{el:"section.related .swiper-related .swiper-pagination",clickable:!0},navigation:{nextEl:"#related-next",prevEl:"#related-prev"},breakpoints:{320:{slidesPerView:1,spaceBetween:0},769:{slidesPerView:2,spaceBetween:0},1024:{slidesPerView:3,spaceBetween:0},1200:{slidesPerView:2,spaceBetween:75},1441:{slidesPerView:3,spaceBetween:75},1600:{slidesPerView:3,spaceBetween:75}}}),e(document).on("click","a.add-request-quote-button",function(){s()})}if(e(".yith-request-a-quote-page").length>0){function L(t){const a=t.target,o=e("form#yith-ywraq-mail-form").find("input[name=hpt]").val();return a.checkValidity()&&(t.preventDefault(),t.stopImmediatePropagation(),o||grecaptcha.ready(function(){gre
1captcha.execute("6LfoTaYpAAAAAH9fhBuVoVALmk2dIWhgIgLzit3N",{action:"submit"}).then(function(t){if(t){var a={action:"verifyCaptcha",post_type:"POST",response:t};e.post(ajaxurl,a,function(t){if(1==parseInt(t)){const t=document.getElementById("rqa-name").value,o=document.getElementById("rqa-email").value,n=document.getElementById("mobile").value,i=document.getElementById("rqa-message").value,s=document.getElementById("00N9Y000000Px02").value,l=document.getElementById("00N9Y000000VGY6").value,r=document.getElementById("00N9Y000000VGYB").value,c=document.getElementById("00N9Y000000VGYL").value,p=e("input[name=retURL]").val(),d=document.getElementById("company").value,u=document.getElementById("00N9Y000000VGYV").value,m=document.getElementById("00N9Y000000VGdp").value,f=document.getElementById("00N9Y000000VHxgUAG").value.split(";");let h="";f&&f.forEach(e=>{h+=e+"\n"});var a={action:"save_request_quote",post_type:"POST",source:"Página Favoritos",source_url:"",name:t,email:o,contact:n,message:i,department:s,tax_number:l,postal_code:r,locality:c,products:h};e.post(ajaxurl,a,function(a){!function(t){var a=document.createElement("form");a.id="form_favorites",a.method="POST",grecaptcha.ready(function(){grecaptcha.execute("6LfoTaYpAAAAAH9fhBuVoVALmk2dIWhgIgLzit3N",{action:"submit"}).then(function(o){if(o){e("form#form_favorites input[name=g-recaptcha-response]").val(o);var n={action:"verifyCaptcha",post_type:"POST",response:o};e.post(ajaxurl,n,function(e){if(1==parseInt(e)){for(var o in a.action="https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8",t)(n=document.createElement("input")).name=o,n.value=t[o],n.setAttribute("type","hidden"),a.appendChild(n);var n;(n=document.createElement("input")).name="oid",n.value="00D09000002ZWNF",n.setAttribute("type","hidden"),a.appendChild(n),document.body.appendChild(a),a.submit()}})}})})}({retURL:p,last_name:t,email:o,mobile:n,"00N9Y000000Q6nm":i,"00N9Y000000Px02":s,"00N9Y000000VGY6":l,"00N9Y000000VGYB":r,"00N9Y000000VGYL":c,company:d,"00N9Y000000VGYV":u,"00N9Y000000VGdp":m,"00N9Y000000VHxgUAG":h})})}})}})})),!1}e("form#yith-ywraq-mail-form").length>0&&(e("form#yith-ywraq-mail-form select").select2({dropdownParent:e("form#yith-ywraq-mail-form")}),e(document).on("blur","#rqa-name",function(){e("#company").val(e(this).val())}),grecaptcha.ready(function(){grecaptcha.execute("6LfoTaYpAAAAAH9fhBuVoVALmk2dIWhgIgLzit3N",{action:"submit"}).then(function(t){t&&e("input[name=g-recaptcha-response]").val(t)})})),document.getElementById("yith-ywraq-mail-form").addEventListener("submit",L),e(document).on("click",".yith-ywraq-item-remove",function(){s()}),e(document).on("change",".qty",function(){e("span.warning").addClass("active")})}if(e(".page-template-template-request-quote").length>0){function Y(t){const a=t.target,o=e("form#form_quote").find("input[name=hpt]").val();return a.checkValidity()&&(t.preventDefault(),t.stopImmediatePropagation(),o||grecaptcha.ready(function(){grecaptcha.execute("6LfoTaYpAAAAAH9fhBuVoVALmk2dIWhgIgLzit3N",{action:"submit"}).then(function(t){if(t){var o={action:"verifyCaptcha",post_type:"POST",response:t};e.post(ajaxurl,o,function(t){if(1==parseInt(t)){const t=document.getElementById("last_name").value,n=document.getElementById("email").value,i=document.getElementById("mobile").value,s=document.getElementById("00N9Y000000Q6nm").value,l=document.getElementById("00N9Y000000Px02").value,r=document.getElementById("00N9Y000000VGY6").value,c=document.getElementById("00N9Y000000VGYB").value,p=document.getElementById("00N9Y000000VGYL").value,d=document.getElementById("00N9Y000000VHxgUAG").value;var o={action:"save_request_quote",post_type:"POST",source:"Página Pedido de Cotação",source_url:e("#00N9Y000000VGYV").val(),name:t,email:n,contact:i,message:s,department:l,tax_number:r,postal_code:c,locality:p,products:d};e.post(ajaxurl,o,function(t){a.action="https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8",e("form#form_quote").find("input[name=oid]").val("00D09000002ZWNF"),document.getElementById("form_quote").submit()})}})}})})),!1}e("form.salesforce").length>0&&e(document).on("blur","#last_name",function(){e("#company").val(e(this).val())}),document.getElementById("form_quote").addEventListener("submit",Y)}e(".page-template-template-contacts").length>0&&e("form.salesforce").length>0&&e(document).on("blur","#last_name",function(){e("#company").val(e(this).val())})},100),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".gfield_radio").forEach(function(t){t.addEventListener("click",function(t){if("INPUT"===t.target.tagName);else{const a=t.target.className.replace(" ",".");e("."+a).find("label").trigger("click")}})}
1),document.querySelectorAll('img[loading="lazy"]').forEach(e=>{e.addEventListener("load",()=>{AOS.refresh()})}),document.querySelectorAll("img[data-src]").forEach(e=>{e.addEventListener("load",()=>{AOS.refresh()})}),window.addEventListener("load",()=>{setTimeout(()=>AOS.refreshHard(),500)})});const t=new Lenis;requestAnimationFrame(function e(a){t.raf(a),requestAnimationFrame(e)});var a=0;e.fn.is_on_screen=function(){var t=e(window),a={top:t.scrollTop(),left:t.scrollLeft()};a.bottom=a.top+t.height();var o=this.offset();return o.bottom=o.top+this.outerHeight(),!(a.bottom<o.top||a.top>o.bottom)};let o=e("body").hasClass("page-template-template-academy"),n=e("body").hasClass("courses-template-default");function i(t,o,n){e(t).each(function(){var t=e(this).offset().top,i=e(this).find(n),s=.1*(t-a);o?i.css({transform:"translate3d(0, "+-s+"px, 0)",transition:"all .3s"}):i.css({transform:"translate3d(0, "+-s+"px, 0)",transition:"unset"})})}function s(t,o,n,i){e(t).each(function(){var t=e(this).offset().top,s=e(this).find(n),l=.3*(t-a);i?o?s.css({transform:`translate3d(${l}px, 0, 0)`,transition:"all .3s"}):s.css({transform:`translate3d(${l}px, 0, 0)`,transition:"unset"}):o?s.css({transform:`translate3d(${-l}px, 0, 0)`,transition:"all .3s"}):s.css({transform:`translate3d(${-l}px, 0, 0)`,transition:"unset"})})}function l(t,o,n,i){e(t).each(function(){var t=e(this).offset().top,i=e(this).find(n),s=.2*(t-a);o?i.css({transform:"translate3d(0, "+-s+"px, 0)",transition:"all .3s"}):i.css({transform:"translate3d(0, "+-s+"px, 0)",transition:"unset"})})}e(".select2, .block-form select, .gform_wrapper select, form.salesforce select, form#yith-ywraq-mail-form select").on("select2:opening",function(e){t.destroy()}),e(".select2, .block-form select, .gform_wrapper select, form.salesforce select, form#yith-ywraq-mail-form select").on("select2:closing",function(e){t.start()}),e(document).ready(function(){e(window).width()>991&&(i(".parallax-div",!0,".bg-img"),o||n||i(".parallax-wrap",!0,"img"),l(".parallax-top-shape-wrapper",!0,"img"),l(".parallax-middle-shape-wrapper",!0,"img"),l(".parallax-bottom-shape-wrapper",!0,"img"))}),s(".left-font",!0,".big-font",!0),s(".right-font",!0,".big-font",!1),e(window).scroll(function(t){a=e(this).scrollTop(),e(window).width()>991&&(i(".parallax-div",!1,".bg-img"),o||n||i(".parallax-wrap",!1,"img"),l(".parallax-top-shape-wrapper",!1,"img"),l(".parallax-middle-shape-wrapper",!1,"img"),l(".parallax-bottom-shape-wrapper",!1,"img")),s(".left-font",!1,".big-font",!0),s(".right-font",!1,".big-font",!1)}),e(".menu-item-has-children").on("mouseout",function(){e(this).parents(".header-menu").removeClass("active")}),e(".menu-item-has-children").on("mouseover",function(){e("header-menu").removeClass("active"),e(this).parents(".header-menu").addClass("active")}),e(window).on("load",function(){e(".menu-item-has-children").append('<i class="fa fa-angle-down down-arrow" aria-hidden="true"></i>')}),e(document).on("click",".submenu a",function(){e(this).parent(".submenu").find(".sub-menu").slideToggle(500),e(this).siblings(".down-arrow").toggleClass("active"),e(this).toggleClass("active")}),e(document).on("click",".down-arrow",function(){e(this).parent(".submenu").find(".sub-menu").slideToggle(500),e(this).toggleClass("active")}),e(document).ready(function(){var t=document.body,a=document.documentElement;(void 0!==document.height?document.height:Math.max(t.scrollHeight,t.offsetHeight,a.clientHeight,a.scrollHeight,a.offsetHeight))<2500?e(".move-to-top").css("display","none"):e(".move-to-top").css("display","block"),e(".move-to-top button").on("click",function(){window.scrollTo({top:0,behavior:"smooth"})})}),e(window).on("load",function(){let t=e("main#main").innerHeight()+e("section.block-newsletter").innerHeight();e(".scroll-bar-full-height").height(t)}),document.querySelectorAll(".card-title"),document.querySelectorAll(".card-description"),e(document).on("click",".category-mobile-click",function(){e(this).parent(".category-wrapper").find(".subcats").slideToggle(500),e(this).siblings(".click-arrow").toggleClass("active")}),e(document).on("click",".click-arrow",function(){e(this).parent(".category-wrapper").find(".subcats").slideToggle(500),e(this).toggleClass("active")}),e(document).ready(function(){e(".folder-wrapper .term-wrapper:first").addClass("active"),e(".collapse-title").on("click",function(){e(".term-wrapper").removeClass("active"),e(this).parents(".term-wrapper").addClass("active")}),e(".tag-wrap a").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var t=e(this.hash);if((t=t.length&&t||e("[name="+this.hash.slice(1)+"]")).length){var a=t.offset().top;return e("html,body").animate({scrollTop:a},2e3),!1}}});const t=window.location.hash;if(t){var a=e(t).next();a&&(JSON.parse(e(a).attr("aria-expanded"))||e(a).trigger("click"))}}),e(document).ready(function(){e(".tag-wrap-slick-active").slick({responsive:[{breakpoint:9999,settings:"unslick"},{breakpoint:768,settings:{slidesToShow:4,slidesToScroll:1,arrows:!0,dots:!0,infinite:!1}}]});let t=e(".block-highligh-slick-active"),a=t.find(".slick-dots");t.find(".slick-slide").length<=3?a.hide():a.show()}),e(document).ready(function(){e(".anchors-wrapper a").click(function(t){t.preventDefault();var a=e(e(this).attr("href"));if(a.length){var o=a.offset().top;e("body, html").animate({scrollTop:o+"px"},800)}})});
1let r=document.getElementById("plano_curso_btn");e(r).click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var t=e(this.hash);if((t=t.length&&t||e("[name="+this.hash.slice(1)+"]")).length){var a=t.offset().top;return e("html,body").animate({scrollTop:a},1e3),!1}}}),e(".theme-button.theme-button-darkbg").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var t=e(this.hash);if((t=t.length&&t||e("[name="+this.hash.slice(1)+"]")).length){var a=t.offset().top;return e("html,body").animate({scrollTop:a},2e3),!1}}})}(jQuery)})}
1},e=>{var t=t=>e(e.s=t);e.O(0,[259,310],()=>(t("./scripts/app.js"),t("./styles/app.scss"))),e.O()}]);

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.