PageSourceSearch

https://www.bogliolimilano.com/cdn/shop/t/2/assets/bog-back-in-stock.js?v=175929677025862094451771599287

js bogliolimilano.com collected 2026-10-02 19:08:29 UTC 1,411 bytes, 1 lines download raw bytes

1class BogBackInStock extends HTMLElement{constructor(){super(),this.websiteId=this.dataset.websiteId,this.apiUrl="https://a.klaviyo.com/client/back-in-stock-subscriptions?company_id="+this.websiteId}connectedCallback(){this.email=this.querySelector("[data-email]"),this.variant=this.querySelector("[data-variant]"),this.privacy=this.querySelector("[data-privacy]"),this.submitBtn=this.querySelector("[data-notify-button]"),this.bindEvents()}bindEvents(){this.submitBtn.addEventListener("click",async t=>{t.preventDefault(),await this.buildData()})}async buildData(){if(this.privacy&&!this.privacy.checked)BogToast.show(window.notifyMe.privacyError,BogToast.TYPES.error);else{var t={data:{type:"back-in-stock-subscription",attributes:{channels:["EMAIL"],profile:{data:{type:"profile",attributes:{email:""+this.email.value}}}},relationships:{variant:{data:{type:"catalog-variant",id:"$shopify:::$default:::"+this.variant.value}}}}};try{"400"==(await fetch(this.apiUrl,{method:"POST",headers:{accept:"application/vnd.api+json","content-type":"application/vnd.api+json",revision:"2025-01-15"},body:JSON.stringify(t)})).status?BogToast.show(window.notifyMe.error,BogToast.TYPES.error):BogToast.show(window.notifyMe.success,BogToast.TYPES.success)}catch(t){BogToast.show(window.notifyMe.error,BogToast.TYPES.error)}}}}customElements.get("bog-back-in-stock")||customElements.define("bog-back-in-stock",BogBackInStock);

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.