1(function(){"use strict";var a=function(a,b){new class c{constructor(){this.container=a[0].querySelectorAll(".theplus-switcher"),this.tp_switcher()}tp_switcher(){let a=this,b=window.location.hash,c=a.container[0].querySelectorAll(".switch-1"),d=a.container[0].querySelectorAll(".switch-2");a.switch_toggle=a.container[0].querySelectorAll(".switch-toggle"),a.switch_section_1=a.container[0].querySelector(".switcher-section-1"),a.switch_section_2=a.container[0].querySelector(".switcher-section-2"),a.TGclass=a.container[0].querySelectorAll(".switcher-toggle"),0<a.switch_toggle.length&&a.switch_toggle[0].addEventListener("click",function(){a.tp_switcherToggle(),a.tp_switchtoggle(),a.tp_resize(),a.EqualHeightlayout()}),0<c.length&&c[0].addEventListener("click",function(){a.tp_switch1_toggle()}),0<d.length&&d[0].addEventListener("click",function(){a.tp_switch2_toggle()}),b&&a.tp_hash_url(b)}tp_switchtoggle(){this.TGclass[0].classList.contains("active")?(this.tp_hide(this.switch_section_1),this.tp_show(this.switch_section_2)):(this.tp_show(this.switch_section_1),this.tp_hide(this.switch_section_2))}tp_switch1_toggle(){if(!this.TGclass[0].classList.contains("inactive"))return this.switch_toggle[0].checked=!1,this.tp_show(this.switch_section_1),this.tp_hide(this.switch_section_2),this.tp_switcherToggle(),this.tp_resize(),void this.EqualHeightlayout()}tp_switch2_toggle(){if(!this.TGclass[0].classList.contains("active"))return this.switch_toggle[0].checked=!0,this.tp_hide(this.switch_section_1),this.tp_show(this.switch_section_2),this.tp_switcherToggle(),this.tp_resize(),void this.EqualHeightlayout()}tp_switcherToggle(){this.TGclass[0].classList.contains("active")?(this.TGclass[0].classList.remove("active"),this.TGclass[0].classList.add("inactive")):(this.TGclass[0].classList.remove("inactive"),this.TGclass[0].classList.add("active"))}tp_hash_url(a){if(!a||!/^#[a-zA-Z0-9_-]+$/.test(a)){return;}let c=this.container[0].querySelectorAll(`${a}`);0<c.length&&c.forEach(function(c){c.classList.contains("active")||(document.querySelector("html, body").animate({scrollTop:b(a).offset().top},1500),c.classList.contains("switch-1")&&c.click(),c.classList.contains("switch-2")&&c.click())})}tp_resize(){let a="";if(this.TGclass[0].classList.contains("active")?a=this.switch_section_2:this.TGclass[0].classList.contains("inactive")&&(a=this.switch_section_1),a){let c=a.querySelectorAll(`.list-isotope-metro .post-inner-loop`),d=a.querySelectorAll(`.list-isotope .post-inner-loop`),e=a.querySelectorAll(`.list-carousel-slick .post-inner-loop`),f=a.querySelectorAll(`.tp-unfold-wrapper`);0<c.length&&setTimeout(function(){theplus_setup_packery_portfolio("*")},10),0<d.length&&d.forEach(function(a){setTimeout(function(){b(a).isotope("layout")},10)}),0<e.length&&e.forEach(function(a){b(a).slick("setPosition")}),0<f.length&&f.forEach(function(a){let b=a.querySelectorAll(".tp-unfold-description .tp-unfold-description-inner"),c=a.querySelectorAll(".tp-unfold-last-toggle"),d=b[0].getBoundingClientRect().height,e=a.dataset.contentMaxHeight;d<=e?0<c.length&&(c[0].style.cssText="display: none;"):0<c.length&&(c[0].style.cssText="display: flex;")})}}EqualHeightlayout(){var a=jQuery(".elementor-element[data-tp-equal-height-loadded]");0<a.length&&EqualHeightsLoadded()}tp_show(a){a.style.display="block"}tp_hide(a){a.style.display="none"}}};window.addEventListener("elementor/frontend/init",()=>{elementorFrontend.hooks.addAction("frontend/element_ready/tp-switcher.default",a)})})(jQuery);
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.