PageSourceSearch

https://hashai.co.uk/wp-content/plugins/nextbricks/elements/js/bc_gradiently.min.js?ver=2.2.7

js hashai.co.uk collected 2026-09-29 11:52:01 UTC 1,839 bytes, 6 lines download raw bytes

1function bc_gradiently(){var t=window.location.href.includes("brickspreview");document.querySelectorAll(".bc-gradiently").forEach(function(e){var a=e.getAttribute("data-speed"),r=e.getAttribute("data-horizontal-pressure"),i=e.getAttribute("data-vertical-pressure"),n=e.getAttribute("data-wave-frequency-x"),d=e.getAttribute("data-wave-frequency-y"),l=e.getAttribute("data-wave-amplitude"),u=e.getAttribute("data-shadows"),o=e.getAttribute("data-highlights"),s=e.getAttribute("data-saturation"),c=e.getAttribute("data-color-blending"),grainScale=e.getAttribute("data-grain-scale"),grainIntensity=e.getAttribute("data-grain-intensity"),grainSparsity=e.getAttribute("data-grain-sparsity"),grainSpeed=e.getAttribute("data-grain-speed"),disableBuilder=e.getAttribute("data-disable-builder"),g=e.getAttribute("data-gradient-colors").split("bc11").filter(Boolean);function getCSSVariableValue(variable){if(variable.startsWith("var(")&&variable.endsWith(")")){const variableName=variable.slice(4,-1).trim();return getComputedStyle(document.documentElement).getPropertyValue(variableName).trim()}
2return variable}
3if(g=="unset"){g=["#FF5373","#FFC858","#17E7FF","#6D3BFF"]}else{g=g.map((color)=>getCSSVariableValue(color));if(g.length===1){g=[g[0],g[0]]}}
4let b={colors:g.map((t)=>({color:t,enabled:!0})),speed:a,horizontalPressure:r,verticalPressure:i,waveFrequencyX:n,waveFrequencyY:d,waveAmplitude:l,shadows:u,highlights:o,saturation:s,colorBlending:c,grainScale:grainScale,grainIntensity:grainIntensity,grainSparsity:grainSparsity,grainSpeed:grainSpeed};let h=new NeatGradient({ref:e.querySelector(".bc-gradiently__canvas"),...b});if(disableBuilder==1&&t){h.destroy()}
5e.removeAttribute("data-flickering")})}
6document.addEventListener("DOMContentLoaded",function(t){if(typeof bricksIsFrontend!=="undefined"&&bricksIsFrontend){bc_gradiently()}})

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.