PageSourceSearch

https://training.odt.co.th/assets/controllers/instructor_autocomplete_controller-62c70364.js

js odt.co.th collected 2026-10-10 00:37:18 UTC 554 bytes, 21 lines download raw bytes

1import { Autocomplete } from "stimulus-autocomplete";
2
3export default class InstructorAutocompleteController extends Autocomplete {
4  connect() {
5    super.connect();
6  }
7
8  buildURL(query) {
9    const elementOfInstructors = document.querySelectorAll(
10      "[data-instructor-value]"
11    );
12    const instructorIds = Array.from(elementOfInstructors).map(
13      (el) => el.value
14    );
15    const url = `${new URL(
16      this.urlValue,
17      globalThis.location.href
18    ).toString()}?q=${query}&selected=${instructorIds.join(",")}`;
19    return url;
20  }
21}

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.