PageSourceSearch

https://simplyscrubs.com.au/cdn/shop/t/40/assets/details-disclosure.js?v=178916435236863517331790926432

js simplyscrubs.com.au collected 2026-10-02 19:37:50 UTC 564 bytes, 17 lines download raw bytes

1class DetailsDisclosure extends HTMLElement {
2  constructor() {
3    super();
4    this.mainDetailsToggle = this.querySelector('details');
5    this.mainDetailsToggle.addEventListener('focusout', this.onFocusOut.bind(this));
6  }
7  onFocusOut() {
8    setTimeout(() => {
9      if (!this.contains(document.activeElement)) this.close();
10    })
11  }
12  close() {
13    this.mainDetailsToggle.removeAttribute('open');
14    this.mainDetailsToggle.querySelector('summary').setAttribute('aria-expanded', false);
15  }
16}
17customElements.define('details-disclosure', DetailsDisclosure);

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.