PageSourceSearch

https://precise.digital/wp-content/plugins/nextbricks/elements/js/bc_blade_title.min.js?ver=2.3.1

js precise.digital collected 2026-09-26 00:23:41 UTC 3,125 bytes, 7 lines download raw bytes

1function blade_title(){let t={};var e=window.location.href.includes("brickspreview");document.querySelectorAll(".bc-blade-title__inner").forEach((r,a)=>{r.classList.remove("bc-blade-title__inner--to-hide");var i=r.getAttribute("data-disable-builder"),s=!1;if((e&&"1"==i&&(s=!0),!s)){let l=r.getAttribute("data-start"),d=r.getAttribute("data-ease"),u=parseFloat(r.getAttribute("data-duration")),b=r.getAttribute("data-type"),A=parseFloat(r.getAttribute("data-skew")),f=r.getAttribute("data-stagger"),h=r.getAttribute("data-from"),v=r.getAttribute("data-distance");(animationType=r.getAttribute("data-animationtype")),(classTriggerClick=r.getAttribute("data-classtriggerclick")),(classTriggerHover=r.getAttribute("data-classtriggerhover")),(toggleact=r.getAttribute("data-toggleActions")),(h=parseFloat(h)*parseFloat(v)+"%"),(c=r.getAttribute("data-delay")),(g=r.getAttribute("data-end")),"this"==(y=r.getAttribute("data-trigger"))&&(y=r),(varscrub="true"==(varscrub=r.getAttribute("data-scrub"))||("false"!=varscrub&&parseFloat(varscrub))),"lines"==b?(n=(o=new SplitText(r,{type:"lines",linesClass:"line",wordsClass:"word",charsClass:"char"}))[b]):"words"==b?(n=(o=new SplitText(r,{type:"lines, words",linesClass:"line",wordsClass:"word",charsClass:"char"}))[b]):"chars"==b&&(n=(o=new SplitText(r,{type:"lines, chars",linesClass:"line",wordsClass:"word",charsClass:"char"}))[b]),(lines=o.lines).forEach((t)=>{let e=document.createElement("div");e.classList.add("bc-blade-title__line-wrapper"),e.appendChild(t),r.appendChild(e)});var varContainerAnimation=isInsideHorizontalScrollElement(r);t[`g${a}`]=gsap.timeline({scrollTrigger:{trigger:y,containerAnimation:varContainerAnimation?window[varContainerAnimation]:undefined,start:l,end:g,scrub:varscrub,toggleActions:toggleact}}).fromTo(n,{y:h,skewY:A},{y:0,skewY:0,delay:c,stagger:f,duration:u,ease:d});if(r.getAttribute("data-remove-scroll")=="1"){t[`g${a}`].progress(1)}
2var w=r.closest(".bc-core-menu");if(w&&w.contains(r)){var p=w.querySelector(".bc-core-burguer").querySelector("button");t[`g${a}`].kill(),new MutationObserver(function(t){for(var e of t)"attributes"===e.type&&("true"===p.getAttribute("aria-expanded")?C():k())}).observe(p,{attributes:!0})}
3function C(){t[`g${a}`].isActive()?t[`g${a}`].play():t[`g${a}`].restart()}
4function k(){gsap.delayedCall(c,()=>t[`g${a}`].reverse())}
5"Click"==animationType&&0!=parseFloat(classTriggerClick)&&document.querySelectorAll(classTriggerClick).forEach(function(e){e.addEventListener("click",function(){t[`g${a}`].restart()})}),"Hover"==animationType&&0!=parseFloat(classTriggerHover)&&document.querySelectorAll(classTriggerHover).forEach(function(e){e.addEventListener("mouseover",function(){t[`g${a}`].restart()})})}})}
6function isInsideHorizontalScrollElement(element){let containerName=null;document.querySelectorAll(".next-horizontal-scroll").forEach((horizontalScroll,index)=>{if(horizontalScroll.contains(element)){containerName=`NextHorizontalScroll${index}`}});return containerName}
7document.addEventListener("DOMContentLoaded",function(t){document.fonts.ready.then(function(){bricksIsFrontend&&blade_title()})})

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.