PageSourceSearch

https://www.carwow.de/assets/controllers/accident_history_repaired_controller-3f1064f7.js

js carwow.de collected 2026-09-25 14:33:10 UTC 540 bytes, 26 lines download raw bytes

1import { Controller } from '@hotwired/stimulus'
2
3export default class extends Controller {
4  static targets = ['input', 'submit', 'errorLength']
5
6  connect () {
7    this.validateLength()
8  }
9
10  validateLength () {
11    this.submitTarget.disabled = !this.isLengthValid()
12  }
13
14  focused () {
15    this.errorLengthTarget.hidden = true
16  }
17
18  blurred () {
19    this.errorLengthTarget.hidden = this.isLengthValid()
20  }
21
22  isLengthValid () {
23    const notes = this.inputTarget.value.trim()
24    return (notes.length > 5 && notes.length <= 200)
25  }
26}

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.