1const e={form:"form"};class s extends HTMLElement{constructor(){super(),this.form=this.querySelector(e.form)}connectedCallback(){this.bindEvents()}handleSubmit(){window.LoyaltyAPI&&window.LoyaltyAPI.trackCustomerAction("newsletter_subscription")}bindEvents(){var t;(t=this.form)==null||t.addEventListener("submit",this.handleSubmit.bind(this))}}function o(){customElements.get("newsletter-form")||customElements.define("newsletter-form",s)}export{o as i};
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.