PageSourceSearch

https://dairyboy.com/cdn/shop/t/120/assets/component-collection-password.js?v=33280093510954657221782823889

js dairyboy.com collected 2026-10-03 21:33:51 UTC 1,077 bytes, 2 lines download raw bytes

1class CollectionPassword extends Theme.Component{connectedCallback(){if(this.events(),this.defineElements({form:"[data-password-form]",input:"[data-password-input]",error:"[data-password-error]"}),this.password=this.dataset.password,this.storageKey="col_pw:"+this.dataset.collectionHandle,sessionStorage.getItem(this.storageKey)===this.password){this.remove();return}document.body.style.overflow="hidden",this.elements.form.addEventListener("submit",e=>{e.preventDefault(),this.submit()})}submit(){const value=this.elements.input.value.trim();value===this.password?(sessionStorage.setItem(this.storageKey,value),document.body.style.overflow="",this.classList.add("collection-password--exiting"),this.addEventListener("transitionend",()=>this.remove(),{once:!0}),setTimeout(()=>this.remove(),500)):(this.elements.error.style.display="block",this.elements.input.value="",this.elements.input.focus())}}customElements.define("collection-password",CollectionPassword);
2//# sourceMappingURL=/cdn/shop/t/120/assets/component-collection-password.js.map?v=33280093510954657221782823889

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.