PageSourceSearch

https://www.barstoolhome.com.au/cdn/shop/t/206/assets/section-pass…?v=180461259096248157561776821783

js barstoolhome.com.au collected 2026-10-06 10:57:58 UTC 541 bytes, 20 lines download raw bytes

1import Modals from '@archetype-themes/modules/modal'
2
3class PasswordHeader extends HTMLElement {
4  constructor() {
5    super()
6    this.sectionId = this.getAttribute('data-section-id')
7
8    if (!document.querySelector('#LoginModal')) return
9
10    const passwordModal = new Modals('LoginModal', 'login-modal', {
11      focusIdOnOpen: 'password',
12      solid: true
13    })
14
15    // Open modal if errors exist
16    if (document.querySelectorAll('.errors').length) passwordModal.open()
17  }
18}
19
20customElements.define('password-header', PasswordHeader)

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.