PageSourceSearch

https://www.trojan-unicorn.com/assets/controllers/meetings/schedul…581b9ba432b3f145dc725fed6657e2073a21f017.js

js trojan-unicorn.com collected 2026-10-02 05:55:00 UTC 907 bytes, 1 lines download raw bytes

1import{Controller}from"@hotwired/stimulus";import{useHover}from"stimulus-use";import{Turbo}from"@hotwired/turbo";export default class extends Controller{static targets=["event"];static classes=["selected"];initialize(){this.intervalID=null}connect(){this.#e(),useHover(this,{element:this.element}),this.intervalID=setInterval(()=>{const e=this.#t();e&&3===this.eventTargets.indexOf(e)&&Turbo.visit(window.location.href)},3e5)}disconnect(){this.intervalID&&clearInterval(this.intervalID)}mouseEnter(){this.#s()}mouseLeave(){this.#e()}#e(){const e=this.#t();e&&e.classList.add(...this.selectedClasses)}#t(){const e=new Date;return this.eventTargets.find(t=>{const s=new Date(Date.parse(t.dataset.startTime)),r=new Date(Date.parse(t.dataset.endTime));return e>=s&&e<=r})}#s(){this.eventTargets.forEach(e=>e.classList.remove(...this.selectedClasses))}get selectedClasses(){return this.selectedClass.split(" ")}}

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.