PageSourceSearch

https://sprinkle-th.com/js/components/bubble-chat/index.js?id=afb16f1c0fbdbe9c6cec4ee755f1e6ee

js sprinkle-th.com collected 2026-09-25 07:11:59 UTC 1,062 bytes, 1 lines download raw bytes

1class BubbleChat{constructor(){this.root=document.querySelector('[id="bb_chat"].radial'),this.root&&(this.trigger=this.root.querySelector("a.triggerButton"),this.trigger&&(this.burstTimer=null,this.bindEvents()))}bindEvents(){this.trigger.addEventListener("click",(t=>{t.preventDefault(),this.toggle()})),document.addEventListener("click",(t=>{t.target.closest&&t.target.closest('[id="bb_chat"]')||this.close()})),document.addEventListener("keydown",(t=>{"Escape"!==t.key&&27!==t.keyCode||this.close()}))}toggle(){const t=this.root.classList.toggle("active");this.trigger.setAttribute("aria-expanded",t?"true":"false"),this.burst()}close(){this.root.classList.contains("active")&&(this.root.classList.remove("active"),this.trigger.setAttribute("aria-expanded","false"))}burst(){clearTimeout(this.burstTimer),this.trigger.classList.remove("animate"),this.trigger.offsetWidth,this.trigger.classList.add("animate"),this.burstTimer=setTimeout((()=>{this.trigger.classList.remove("animate")}),750)}}document.addEventListener("DOMContentLoaded",(()=>new BubbleChat));

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.