1customElements.get("age-verifier")||customElements.define("age-verifier",class extends ModalElement{constructor(){super(),this.init()}get shouldLock(){return!0}get testMode(){return this.getAttribute("data-test-mode")==="true"}get delay(){return 1}get expiry(){return this.hasAttribute("data-expiry")?parseInt(this.getAttribute("data-expiry")):30}get cookieName(){return"concept:age-verifier"}init(){(this.testMode||!this.getCookie(this.cookieName))&&this.load(this.delay)}load(delay){Shopify.designMode||setTimeout(()=>this.show(),delay*1e3)}afterShow(){super.afterShow(),this.classList.add("show-image")}afterHide(){if(super.afterHide(),this.classList.remove("show-image"),this.testMode){this.removeCookie(this.cookieName);return}this.setCookie(this.cookieName,this.expiry)}getCookie(name){const match=document.cookie.match(`(^|;)\\s*${name}\\s*=\\s*([^;]+)`);return match?match[2]:null}setCookie(name,expiry){document.cookie=`${name}=true; max-age=${expiry*24*60*60}; path=/`}removeCookie(name){document.cookie=`${name}=; max-age=0`}}); 2//# sourceMappingURL=/cdn/shop/t/80/assets/age-verifier.js.map?v=162003282296672271471776287387
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.