PageSourceSearch

https://vinspired.com/assets/controllers/activity_classification_controller-f8eafd96.js

js vinspired.com collected 2026-10-01 11:57:07 UTC 518 bytes, 18 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3// Connects to data-controller="activity-classification"
4// Hides the activity-type picker when "Track attendance" is switched off,
5// since an untracked activity feeds no tracking path.
6export default class extends Controller {
7  static targets = ["types", "tracked"]
8
9  connect() {
10    this.refresh()
11  }
12
13  refresh() {
14    if (this.hasTypesTarget && this.hasTrackedTarget) {
15      this.typesTarget.classList.toggle("hidden", !this.trackedTarget.checked)
16    }
17  }
18}

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.