1import{P as o}from"./utilities.min.js";import"./vendor.min.js";class n extends HTMLElement{connectedCallback(){this.addEventListener("click",this.onPopupTriggerClick.bind(this))}onPopupTriggerClick(t){t.target.closest("[data-change-location]")!==null&&(t.target.closest("mobile-menu")!==null&&(document.querySelector("mobile-menu").visibility=!1),this.showPopup())}showPopup(){this.popup=new o(this.querySelector("[data-popup-content]").innerHTML,"400px"),this.popup.el.addEventListener("click",this.onCountryClick.bind(this))}onCountryClick(t){if(t.target.closest("[data-country]")===null)return;t.preventDefault();const e=t.target.closest("[data-country]");this.popup.el.querySelector('input[name="country_code"]').value=e.dataset.country,this.popup.el.querySelector("form").submit()}}customElements.define("localization-selector",n);
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.