PageSourceSearch

https://www.fkyouridentity.com/cdn/shop/t/161/assets/cart-drawer.js?v=135990614976210245371790927181

js fkyouridentity.com collected 2026-10-06 10:12:03 UTC 1,852 bytes, 2 lines download raw bytes

1requestAnimationFrame(()=>{scriptController.executeWhenScriptLoaded(["modal-dialog.js"],()=>{scriptController.onStyleReady(()=>{function throttle(func,delay){let lastCall=0;return function(...args){const now=Date.now();now-lastCall>=delay&&(lastCall=now,func.apply(this,args))}}if(!customElements.get("cart-drawer")){class CartDrawer extends ModalDialog{constructor(){super(),window.addToCartAction==="cart_drawer"&&!window.location.pathname.includes("/cart")&&subscribe(PUB_SUB_EVENTS.cartUpdateFinish,this.show.bind(this)),this.throttledCheckFooter=throttle(this.updateFooterState.bind(this),400),scriptController.scripts.push("cart-drawer.js")}show(){super.show(...arguments),!Shopify.designMode&&this.startFooterUpdates()}startFooterUpdates(){const update=()=>{this.throttledCheckFooter(),this.animationId=requestAnimationFrame(update)};this.animationId=requestAnimationFrame(update)}updateFooterState(){this.footer=this.querySelector(".cart-drawer__footer"),this.itemsWrapper=this.querySelector(".cart-drawer__items"),this.items=this.itemsWrapper.querySelectorAll(".cart-drawer-item"),this.notesDropdown=this.footer.querySelector(".animated-dropdown__dropdown");let footerHeight=this.footer.offsetHeight;this.notesDropdown&&(footerHeight-=this.notesDropdown.offsetHeight);let itemsBottomLimit=this.itemsWrapper.offsetTop+footerHeight;this.items.forEach((element,index)=>{if(index>=2)return!1;itemsBottomLimit=itemsBottomLimit+(index===0?element.offsetHeight:element.offsetHeight/2)}),this.footer.classList[themeBase.windowHeight<itemsBottomLimit?"add":"remove"]("cart-drawer__footer--static")}hide(callback){cancelAnimationFrame(this.animationId),super.hide(callback)}}customElements.define("cart-drawer",CartDrawer)}},["component-cart-drawer"])})});
2//# sourceMappingURL=/cdn/shop/t/161/assets/cart-drawer.js.map?v=135990614976210245371790927181

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.