PageSourceSearch

https://www.trophycupcakes.com/cdn/shop/t/82/assets/cart-notificat…?v=106994235915230775561693308421

js trophycupcakes.com collected 2026-10-02 04:34:33 UTC 1,104 bytes, 1 lines download raw bytes

1const E=()=>{let u,i,f,r;const o={component:".js-cart-notification-error",content:".js-cart-notification-content",close:"[data-notification-close]",modal:".js-cart-notification-modal"};let t=null,c=null,n=null,s=!1;function d(){u=window.themeCore.utils.cssClasses,i=window.themeCore.utils.on,f=window.themeCore.utils.trapFocus,r={...u},t=document.querySelector(o.component),t&&(c=t.querySelector(o.content),n=t.querySelector(o.modal),h())}function m(){t&&(n.focus(),f(n),t.classList.add(r.active),s=!0)}function l(){t&&(t.classList.remove(r.active),s=!1)}function w(e){return!c||!e?!1:(c.innerHTML=e,!0)}function C(){return s}function h(){i("click",t,p),i("click",N)}function p(e){e.target.closest(o.close)&&(e.preventDefault(),l())}function N(e){const a=e.target;a!==n&&!a.closest(o.modal)&&l()}return Object.freeze({init:d,open:m,close:l,addNotification:w,isOpen:C})};document.addEventListener("theme:all:loaded",()=>{window.themeCore.CartNotificationError=window.themeCore.CartNotificationError||E(),window.themeCore.utils.register(window.themeCore.CartNotificationError,"cart-notification-error")});

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.