PageSourceSearch

https://leatherglovesonline.com/cdn/shop/t/56/assets/localization-form.js?v=63146318516881510761786967061

js leatherglovesonline.com collected 2026-09-24 23:57:59 UTC 1,923 bytes, 2 lines download raw bytes

1if(!customElements.get("localization-form")){class LocalizationForm extends HTMLElement{constructor(){super(),this.elements={input:this.querySelector('input[name="locale_code"], input[name="country_code"]'),button:this.querySelector("button"),panel:this.querySelector(".f-disclosure-list")},this.elements.panel.removeAttribute("hidden"),this.elements.button.addEventListener("click",this.openSelector.bind(this)),this.elements.button.addEventListener("focusout",this.closeSelector.bind(this)),this.addEventListener("keyup",this.onContainerKeyUp.bind(this)),this.querySelectorAll("a").forEach(item=>item.addEventListener("click",this.onItemClick.bind(this))),this.handleDropdownPos()}handleDropdownPos(){const offsetButton=this.elements.button.getBoundingClientRect().right;window.innerWidth-offsetButton<220&&this.elements.button.nextElementSibling&&this.elements.button.nextElementSibling.classList.add("f-disclosure-list__right")}hidePanel(){this.elements.button.setAttribute("aria-expanded","false"),this.removeAttribute("open")}onContainerKeyUp(event){event.code.toUpperCase()==="ESCAPE"&&(this.hidePanel(),this.elements.button.focus())}onItemClick(event){event.preventDefault();const form=this.querySelector("form");this.elements.input.value=event.currentTarget.dataset.value,form&&form.submit()}openSelector(){this.elements.button.focus(),this.toggleAttribute("open"),this.elements.button.setAttribute("aria-expanded",(this.elements.button.getAttribute("aria-expanded")==="false").toString())}closeSelector(event){const shouldClose=event.relatedTarget&&event.relatedTarget.nodeName==="BUTTON"||event.relatedTarget&&!event.relatedTarget.classList.contains("f-disclosure-list__option");(event.relatedTarget===null||shouldClose)&&this.hidePanel(shouldClose)}}customElements.define("localization-form",LocalizationForm)}
2//# sourceMappingURL=/cdn/shop/t/56/assets/localization-form.js.map?v=63146318516881510761786967061

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.