PageSourceSearch

https://inflluent.com/wp-content/plugins/nextbricks/elements/js/bc_decode_reveal.min.js?ver=3.0.2

js inflluent.com collected 2026-09-29 15:23:04 UTC 3,171 bytes, 6 lines download raw bytes

1function decode_reveal(){var e=window.location.href.includes("brickspreview");new SplitText(".bc-decode-reveal__element",{type:"words, chars",charsClass:"char"}),document.querySelectorAll(".bc-decode-reveal__element").forEach(function(t){var animations=[];var animationType=t.getAttribute("data-animationtype");var triggerClick=t.getAttribute("data-classTriggerClick");var triggerHover=t.getAttribute("data-classTriggerHover");if(animationType=="Click"){document.querySelectorAll(triggerClick).forEach(function(e){e.addEventListener("click",function(){toggleAnimations()})})}else if(animationType=="Hover"){document.querySelectorAll(triggerHover).forEach(function(e){e.addEventListener("mouseenter",function(){toggleAnimations()})})}
2decodeInit();function decodeInit(){t.removeAttribute("data-hide");var r=t.getAttribute("data-disable-builder"),a=!1;var varContainerAnimation=isInsideHorizontalScrollElement(t);if((e&&"1"==r&&(a=!0),!a)){var d=t.getAttribute("data-delay"),i=t.getAttribute("data-delayletters"),l=t.getAttribute("data-decodealphabet"),n=t.getAttribute("data-trigger");"this"==n&&(n=t);var o=t.getAttribute("data-start");let c=[...l],s=t.querySelectorAll(".char");s.forEach((e,r)=>{let a=e.innerHTML;(e.innerHTML=c[Math.floor(Math.random()*c.length)]),t.hasAttribute("data-from-right")?(r=s.length-r-1):(r+=1);let animation=gsap.to(e,{duration:0.001,opacity:1,delay:r*parseFloat(i),onComplete:()=>gsap.set(e,{innerHTML:a,delay:parseFloat(d)}),scrollTrigger:{trigger:n,containerAnimation:varContainerAnimation?window[varContainerAnimation]:undefined,start:o},});animations.push(animation)})}}
3function decodeReverse(){var r=t.getAttribute("data-disable-builder"),a=!1;var varContainerAnimation=isInsideHorizontalScrollElement(t);if((e&&"1"==r&&(a=!0),!a)){var d=t.getAttribute("data-delay"),i=t.getAttribute("data-delayletters"),l=t.getAttribute("data-decodealphabet"),n=t.getAttribute("data-trigger");"this"==n&&(n=t);var o=t.getAttribute("data-start");let c=[...l],s=t.querySelectorAll(".char");s.forEach((e,r)=>{let originalChar=e.innerHTML;t.hasAttribute("data-from-right")?(r=s.length-r-1):(r+=1);let animation=gsap.to(e,{duration:0.001,opacity:1,delay:r*parseFloat(i),onComplete:()=>gsap.set(e,{innerHTML:c[Math.floor(Math.random()*c.length)],delay:parseFloat(d)}),scrollTrigger:{trigger:n,containerAnimation:varContainerAnimation?window[varContainerAnimation]:undefined,start:o},});animations.push(animation)})}}
4function toggleAnimations(){animations.forEach((animation)=>{animation.kill()});animations=[];decodeInit()}})}
5function isInsideHorizontalScrollElement(element){let containerName=null;document.querySelectorAll(".next-horizontal-scroll").forEach((horizontalScroll,index)=>{if(horizontalScroll.contains(element)){containerName=`NextHorizontalScroll${index}`}});return containerName}
6document.addEventListener("DOMContentLoaded",function(e){if(!document.querySelector(".nb-site-loader")){document.fonts.ready.then(function(){bricksIsFrontend&&decode_reveal()})}else{document.querySelectorAll(".bc-decode-reveal__element").forEach((r)=>{if(isInsideHorizontalScrollElement(r)||r.closest(".bc-core-menu")){r.removeAttribute("data-hide")}})}})

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.