PageSourceSearch

https://arpnetworks.com/assets/controllers/preview_mode_controller-8f558c65.js

js arpnetworks.com collected 2026-09-25 19:57:00 UTC 458 bytes, 18 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  static targets = ["tab", "pane"]
5
6  show(event) {
7    event.preventDefault()
8    const mode = event.currentTarget.dataset.mode
9
10    this.tabTargets.forEach((tab) => {
11      tab.classList.toggle("is-active", tab.dataset.mode === mode)
12    })
13
14    this.paneTargets.forEach((pane) => {
15      pane.classList.toggle("is-hidden", pane.dataset.mode !== mode)
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.