PageSourceSearch

https://smallkind.co.uk/cdn/shop/t/28/assets/section.password-header.js?v=124471658844228363121788974013

js smallkind.co.uk collected 2026-10-06 03:08:49 UTC 464 bytes, 19 lines download raw bytes

1import Modals from 'module.modal'
2
3class PasswordHeader extends HTMLElement {
4  constructor() {
5    super()
6
7    if (!document.querySelector('#LoginModal')) return
8
9    const passwordModal = new Modals('LoginModal', 'login-modal', {
10      focusIdOnOpen: 'password',
11      solid: true
12    })
13
14    // Open modal if errors exist
15    if (document.querySelectorAll('.errors').length) passwordModal.open()
16  }
17}
18
19customElements.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.