PageSourceSearch

https://www.ewtn.com/assets/controllers/donation_forms_controller-…e393909f2b68ca1d8e9c74fb3d60c6b554e174ff.js

js ewtn.com collected 2026-09-24 08:39:13 UTC 474 bytes, 18 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4
5  visibility(selector, display) {
6    let elements = document.querySelectorAll(selector);
7    for (let i = 0; i < elements.length; i++) elements[i].style.display = display;
8  }
9
10  change() {
11    this.visibility('.extended', 'none');
12    this.visibility(this.element.value == '5stones' ? '.stones' : `.${this.element.value}`, 'block');
13  }
14  
15  connect() {
16    this.change();
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.