1/* Gecis donemi: GSAP ScrollSmoother'i calisma aninda oldur. 2 Bundle ScrollSmoother'i baslattiginda onu kill() eder ve 3 body'nin JS ile sabitlenmis height'ini serbest birakir. 4 Boylece tarayicinin dogal kaydirmasi devreye girer. */ 5(function () { 6 function killSmoother() { 7 try { 8 if (window.ScrollSmoother && typeof window.ScrollSmoother.get === 'function') { 9 var s = window.ScrollSmoother.get(); 10 if (s) { s.kill(); } 11 } 12 } catch (e) {} 13 // JS ile sabitlenen stilleri temizle 14 var b = document.body; 15 if (b) { 16 b.style.height = ''; 17 b.style.touchAction = ''; 18 b.style.overscrollBehavior = ''; 19 // preloader sinifi scroll'u kilitliyor (overflow:hidden) â kaldir 20 b.classList.remove('wcf-preloader-active'); 21 } 22 var content = document.getElementById('smooth-content'); 23 if (content) { content.style.transform = ''; } 24 } 25 // GSAP entrance animasyonlarini tamamen durdur ve elemanlari serbest birak. 26 function neutralizeAnimations() { 27 try { 28 if (window.ScrollTrigger && window.ScrollTrigger.getAll) { 29 window.ScrollTrigger.getAll().forEach(function (t) { t.kill(); }); 30 } 31 } catch (e) {} 32 var sel = '[data-settings*="wcf-animation"],[data-settings*="wcf-image-animation"],' 33 + '[data-settings*="wcf_text_animation"],[class*="wcf-starter-anim"]'; 34 var els = document.querySelectorAll(sel); 35 for (var i = 0; i < els.length; i++) { 36 var st = els[i].style; 37 st.opacity = ''; st.transform = ''; st.translate = ''; st.rotate = ''; st.scale = ''; 38 st.visibility = ''; st.clipPath = ''; 39 } 40 } 41 42 // Not: sayaç animasyonu (0'dan hedefe sayma) vinter-interactions.js'de 43 // initCounters() tarafindan yapiliyor. 44 45 // bundle gec yuklendigi icin birkac kez dene 46 var tries = 0; 47 var iv = setInterval(function () { 48 killSmoother(); 49 neutralizeAnimations(); 50 if (++tries > 40) clearInterval(iv); // ~8sn 51 }, 200); 52 window.addEventListener('load', function () { killSmoother(); neutralizeAnimations(); }); 53})();
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.