PageSourceSearch

https://www.detfagligehus.dk/confetti-B4N2jI6e.js

js detfagligehus.dk collected 2026-10-02 19:57:35 UTC 1,388 bytes, 1 lines download raw bytes

1class h{constructor(i){this.animations=["confetti-1","confetti-2","confetti-3"],this.colours=["yellow","dark-blue","light-blue","orange"],this.count=1,this.path='<path d="M48.9148 2.72321C41.7289 -1.97893 36.0459 3.52392 29.5285 10.4155C27.875 12.1635 25.2705 12.6347 22.9317 11.6145C13.5567 7.50132 5.91687 4.31182 1.49734 11.0842C-2.01539 16.467 3.41916 26.2414 13.6232 32.9184C24.1433 39.8024 31.485 38.7347 32.8871 38.4875C34.1618 38.2627 41.5075 36.7645 47.9695 26.8623C54.2202 17.2838 54.6492 6.47552 48.9148 2.72321Z" />',this.confettiWidth=53,this.element=i,this.width=this.element.clientWidth,this.count=Math.floor(this.width/this.confettiWidth)+20,this.init()}init(){for(let i=0;i<this.count;i++){const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.innerHTML=this.path,t.classList.add("confetti-heart"),t.classList.add(this.getRandomColour()),t.style.left=this.getRandomPosition(this.width*.05,this.width-(this.width*.05+this.confettiWidth)),t.style.animationName=this.getRandomAnimation(),t.style.animationDelay=`${Math.random()*1.2}s`,this.element.appendChild(t)}}getRandomColour(){return this.colours[Math.floor(Math.random()*this.colours.length)]}getRandomAnimation(){return this.animations[Math.floor(Math.random()*this.animations.length)]}getRandomPosition(i,t){return`${(Math.floor(Math.random()*(t-i+1))+i)/(this.width/100)}%`}}export{h as Confetti};

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.