PageSourceSearch

https://www.pentel.com/cdn/shop/t/101/assets/lookbook-icon.js?v=157844025037917192961790707484

js pentel.com collected 2026-10-01 13:51:31 UTC 1,738 bytes, 2 lines download raw bytes

1customElements.get("lookbook-icon")||customElements.define("lookbook-icon",class extends HTMLElement{constructor(){super(),this.selectors={cardContainer:".lookbook-card",cardProduct:".lookbook-icon__card"},this.cardContainer=this.closest(this.selectors.cardContainer),this.cardProduct=this.querySelector(this.selectors.cardProduct),this.init(),document.addEventListener("matchMobile",()=>{this.init()}),document.addEventListener("unmatchMobile",()=>{this.init()}),this.addEventListener("mouseover",this.init.bind(this))}disconnectedCallback(){this.removeEventListener("mouseover",this.init.bind(this))}init(){this.classes="",this.cardProduct&&(this.cardContainerOffsetX=this.cardContainer.getBoundingClientRect().left,this.cardContainerOffsetY=this.cardContainer.getBoundingClientRect().top,this.offsetX=this.getBoundingClientRect().left-this.cardContainerOffsetX,this.offsetY=this.getBoundingClientRect().top-this.cardContainerOffsetY,this.width=this.clientWidth,this.cardWidth=this.cardProduct.clientWidth,this.cardHeight=this.cardProduct.clientHeight,this.wrapperWidth=this.cardContainer.clientWidth,this.wrapperHeight=this.cardContainer.clientHeight,this.cardPosition=this.offsetY>this.cardHeight?"top":"bottom",this.offsetX+this.width>this.cardWidth?this.cardPosition+="-left":this.wrapperWidth-this.offsetX>this.cardWidth&&(this.cardPosition+="-right"),this.dataset.position=this.cardPosition),Shopify.designMode&&(this.addEventListener("shopify:block:select",()=>{this.cardProduct.style.transition="none",this.classList.add("is-active")}),this.addEventListener("shopify:block:deselect",()=>{this.classList.remove("is-active")}))}});
2//# sourceMappingURL=/cdn/shop/t/101/assets/lookbook-icon.js.map?v=157844025037917192961790707484

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.