PageSourceSearch

https://risedds.com/wp-content/litespeed/js/e7bcda10f70fa5262bedd40cb247dfaa.js?ver=7dfaa

js risedds.com collected 2026-10-04 05:46:56 UTC 7,515 bytes, 21 lines download raw bytes

1console.log('include custom-script.js');document.addEventListener('DOMContentLoaded',function(){if(document.querySelector(".logos-integrate-slider-wrapper img")){document.querySelector(".logos-integrate-slider-wrapper img").src="/wp-content/uploads/2026/01/slide-we-integrate-2n.webp"}
2const mobileHeaderBtn=document.querySelector('.mobile-header-btn');const mobileNavContainer=document.querySelector('.mobile-nav-container');const body=document.querySelector('body');if(mobileHeaderBtn){mobileHeaderBtn.addEventListener('click',function(){this.classList.toggle('open');if(this.classList.contains('open')){mobileNavContainer.style.transform='translateY(0)';body.classList.add('overflow-hidden')}else{mobileNavContainer.style.transform='';body.classList.remove('overflow-hidden')}})}
3if(!0){document.querySelectorAll('.scroll-container:not(.disable-scroll)').forEach(function(container){let childTriggers=container.querySelectorAll('.scroll-content-item');let childTargets=container.querySelectorAll('.scroll-banner-item');function makeItemActive(index){childTriggers.forEach(trigger=>trigger.classList.remove('is-active'));childTargets.forEach(target=>target.classList.remove('is-active'));childTriggers[index].classList.add('is-active');childTargets[index].classList.add('is-active')}
4makeItemActive(0);childTriggers.forEach(function(trigger,index){ScrollTrigger.create({trigger:trigger,start:'top center',end:'bottom center',onToggle:(self)=>{if(self.isActive){makeItemActive(index)}}})})})}
5document.querySelectorAll('.services').forEach(function(container){let childTriggers=container.querySelectorAll('.services-icons-container');let childTargets=container.querySelectorAll('.services-text');function makeItemActive(index){childTriggers.forEach(trigger=>trigger.classList.remove('is-active'));childTargets.forEach(target=>target.classList.remove('is-active'));childTriggers[index].classList.add('is-active');childTargets[index].classList.add('is-active')}
6makeItemActive(0);childTriggers.forEach(function(item,index){item.addEventListener('click',()=>{makeItemActive(index)})})});document.querySelectorAll('.accordion').forEach(function(container){container.addEventListener('click',function(){this.classList.toggle('active');var panel=this.nextElementSibling;if(panel.style.maxHeight){panel.style.maxHeight=null}else{panel.style.maxHeight=panel.scrollHeight+'px'}})})
7const advantagesSlider=document.querySelector('.advantages-video-slider');advantagesSlider&&tns({container:advantagesSlider,items:1,slideBy:1,mouseDrag:!0,swipeAngle:!1,speed:400,nav:!0,navPosition:'bottom',controls:!1,gutter:0,});const advantagesPhotoSlider=document.querySelector('.advantages-photo-slider');advantagesPhotoSlider&&tns({container:advantagesPhotoSlider,items:1,slideBy:1,mouseDrag:!0,swipeAngle:!1,speed:400,nav:!0,autoplay:!0,autoplayButton:!1,autoplayButtonOutput:!1,navPosition:'bottom',controls:!1,gutter:0,});const testimonialsSlider=document.querySelector('.testimonials-slider');testimonialsSlider&&tns({container:testimonialsSlider,items:1,slideBy:1,loop:!1,mouseDrag:!0,swipeAngle:!1,speed:400,nav:!0,navContainer:'.testimonials-avatars-wrapper',navPosition:'bottom',controls:!0,prevButton:document.querySelector('.testimonial-prev-btn'),nextButton:document.querySelector('.testimonial-next-btn'),gutter:30,});const reviewsSlider=document.querySelector('.reviews-slider');reviewsSlider&&tns({container:reviewsSlider,items:1,slideBy:1,loop:!1,mouseDrag:!0,swipeAngle:!1,speed:400,nav:!0,autoHeight:!0,navPosition:'bottom',controls:!0,prevButton:document.querySelector('.reviews-prev-btn'),nextButton:document.querySelector('.reviews-next-btn'),gutter:30,});function handleIntersection(entries,observer,classToAdd){entries.forEach(entry=>{if(entry.isIntersecting){entry.target.classList.add(classToAdd);observer.unobserve(entry.target)}})}
8const imageObserver=new IntersectionObserver(entries=>handleIntersection(entries,imageObserver,'is-visible'),{threshold:0.5});const textObserver=new IntersectionObserver(entries=>handleIntersection(entries,textObserver,'is-visible'),{threshold:0.5});document.querySelectorAll('.zoom-in').forEach(element=>{});document.querySelectorAll('.fade-up').forEach(element=>{});const hideNavigaton=window.location.search.indexOf('nav=false')!==-1;if(hideNavigaton){document.querySelector('.main-header-menu').classList.add('is-hidden')
9document.querySelector('.ast-header-button-1').classList.add('d-none')}
10document.querySelectorAll('.main-header-menu > li').forEach(element=>{element.classList.add('is-visible')});document.querySelectorAll('.site-header-above-section-right > div').forEach(element=>{element.classList.add('is-visible')});VanillaTilt.init(document.querySelector('.platform-images'),{max:5,speed:1000,'full-page-listening':!0,});document.querySelectorAll('.updates-item-list .updates-video-wrapper').forEach((item)=>{item.addEventListener('click',(e)=>
10{var modal=new tingle.modal({footer:!1,stickyFooter:!1,closeMethods:['overlay','button','escape'],closeLabel:"Close",onOpen:function(){document.querySelector('.updates-item-list').style.animationPlayState='paused'},onClose:function(){document.querySelector('.updates-item-list').style.animationPlayState=''
11modal.setContent(null)},});let video=e.target.cloneNode(!0);modal.setContent(video);modal.open()})})
12const videoContainer=document.querySelector(".lava-video-container");if(videoContainer){const scrollBlock=document.querySelector(".scroll-block");const video=document.getElementById("scroll-video");const getVisibilityProgress=()=>{const blockRect=scrollBlock.getBoundingClientRect();const viewportHeight=window.innerHeight;if(blockRect.bottom<=0){return 1}else if(blockRect.top>=viewportHeight){return 0}
13const totalScrollDistance=viewportHeight+blockRect.height;const scrolledDistance=viewportHeight-blockRect.top;return Math.min(1,Math.max(0,scrolledDistance/totalScrollDistance))};const getSmoothVisibility=()=>{const blockRect=scrollBlock.getBoundingClientRect();const viewportHeight=window.innerHeight;if(blockRect.bottom<=0||blockRect.top>=viewportHeight){return 0}
14if(blockRect.top<=0&&blockRect.bottom>=viewportHeight){return 1}
15if(blockRect.top>0&&blockRect.top<viewportHeight){return Math.min(1,(viewportHeight-blockRect.top)/viewportHeight)}
16if(blockRect.bottom>0&&blockRect.bottom<viewportHeight){return Math.min(1,blockRect.bottom/viewportHeight)}
17return 1};const removeAllActive=()=>{scrollBlock.classList.remove("lava-1-active");scrollBlock.classList.remove("lava-2-active");scrollBlock.classList.remove("lava-3-active");scrollBlock.classList.remove("lava-4-active");scrollBlock.classList.remove("lava-5-active");scrollBlock.classList.remove("lava-6-active");scrollBlock.classList.remove("lava-7-active");scrollBlock.classList.remove("lava-8-active")}
18const handleScroll=()=>{video.currentTime=4*getVisibilityProgress();video.style.opacity=getSmoothVisibility();console.log(getVisibilityProgress())
19removeAllActive()
20if(getVisibilityProgress()>0.77){scrollBlock.classList.add("lava-7-active")}else if(getVisibilityProgress()>0.68){scrollBlock.classList.add("lava-6-active")}else if(getVisibilityProgress()>0.59){scrollBlock.classList.add("lava-5-active")}else if(getVisibilityProgress()>0.51){scrollBlock.classList.add("lava-4-active")}else if(getVisibilityProgress()>0.43){scrollBlock.classList.add("lava-3-active")}else if(getVisibilityProgress()>0.25){scrollBlock.classList.add("lava-2-active")}};handleScroll();window.addEventListener("scroll",()=>{requestAnimationFrame(handleScroll)})}})
21;

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.