1class CartNotification extends HTMLElement{constructor(){super(),this.notification=document.getElementById("cart-notification")}renderContents(parsedState){document.getElementById("cart-notification-default").innerHTML="",this.productId=parsedState.id,this.getSectionsToRender().forEach((section=>{document.getElementById(section.id).innerHTML=this.getSectionInnerHTML(parsedState.sections[section.id],section.selector)}));var dropDownIcon=document.querySelector("#cart-icon-bubble");dropDownIcon.getAttribute("aria-expanded")=="false"&&dropDownIcon.click()}getSectionsToRender(){return[{id:"cart-notification-product"},{id:"cart-notification-button"},{id:"cart-icon-bubble"}]}getSectionInnerHTML(html,selector=".shopify-section"){return new DOMParser().parseFromString(html,"text/html").querySelector(selector).innerHTML}handleBodyClick(evt){const target=evt.target;if(target!==this.notification&&!target.closest("cart-notification")){const disclosure=target.closest("details-disclosure");this.activeElement=disclosure?disclosure.querySelector("summary"):null,this.close()}}setActiveElement(element){this.activeElement=element}}customElements.define("cart-notification",CartNotification); 2//# sourceMappingURL=/cdn/shop/t/3/assets/cart-notification.js.map?v=84791930338080947381679962733
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.