1(function(){var TRIGGER_ID="header-wishlist-icon",DRAWER_SELECTOR=".swym-storefront-layout-drawer",HIDDEN_CLASS="swym-storefront-layout-hide-view",observing=!1;function trigger(){return document.getElementById(TRIGGER_ID)}function drawerHash(){var context=window.SwymStorefrontLayoutContext;return!context||!context.Settings||!context.Settings.EnableStorefrontLayout?null:context.StorefrontLayoutUrls&&context.StorefrontLayoutUrls.List||null}function syncExpanded(){var link=trigger();if(!(!link||!drawerHash())){var drawer=document.querySelector(DRAWER_SELECTOR),isOpen=!!drawer&&!drawer.classList.contains(HIDDEN_CLASS);link.setAttribute("aria-expanded",isOpen?"true":"false")}}function observeDrawer(){if(!observing){var drawer=document.querySelector(DRAWER_SELECTOR);drawer&&(observing=!0,new MutationObserver(syncExpanded).observe(drawer,{attributes:!0,attributeFilter:["class"]}),syncExpanded())}}document.addEventListener("click",function(event){var link=event.target.closest?event.target.closest("#"+TRIGGER_ID):null;if(link){var hash=drawerHash();hash&&(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey||event.button!==0||(event.preventDefault(),window.location.hash=hash,observeDrawer(),syncExpanded()))}}),document.addEventListener("SwymStorefrontLayoutOpened",function(){observeDrawer(),syncExpanded()});function markAsDialogTrigger(){var link=trigger();!link||!drawerHash()||(link.setAttribute("aria-haspopup","dialog"),observeDrawer(),syncExpanded())}window.SwymCallbacks=window.SwymCallbacks||[],window.SwymCallbacks.push(markAsDialogTrigger),markAsDialogTrigger()})(); 2//# sourceMappingURL=/cdn/shop/t/206/assets/wishlist-header-drawer.js.map?v=23539499512365703141789406665
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.