PageSourceSearch

https://kosala.com/cdn/shop/t/14/assets/cart-notification-error.build.min.js?v=63388412110679196861790591449

js kosala.com collected 2026-10-04 03:05:39 UTC 1,310 bytes, 1 lines download raw bytes

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

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.