1(()=>{var __webpack_exports__={};window.PXUTheme.jsAnnouncementBar={init:function($section){window.PXUTheme.jsAnnouncementBar=$.extend(this,window.PXUTheme.getSectionData($section));let template=this.homepage_only?".index":"";this.$el=$("#announcement-bar",template);let announcementCookie=Cookies.get("announcement-bar");if($(".announcement-bar__shadow").height(this.$el.height()),this.show_close_icon===!1)Cookies.remove("announcement-bar"),$("body").addClass("announcement-bar--visible");else if(announcementCookie!=="dismiss")$("body").addClass("announcement-bar--visible");else return $("body").addClass("announcement-bar--hidden"),this.disableSticky(),!1;this.enable_sticky===!0?this.enableSticky():this.disableSticky(),this.show_close_icon===!0&&($("body").addClass("has-announcement-bar-toggle"),this.$el.on("click",".js-close-announcement",()=>{this.hide()}))},enableSticky:function(){this.$el.parent().sticky({wrapperClassName:"announcement-sticky-wrapper"}),this.resetHeader(this.$el.height())},disableSticky:function(){this.$el.parent().unstick(),this.resetHeader(0)},hide:function(){$("body").removeClass("announcement-bar--visible"),this.disableSticky(),Cookies.set("announcement-bar","dismiss",{expires:30})},resetHeader:function(offset){window.PXUTheme.jsHeader&&(window.PXUTheme.jsHeader.enable_sticky===!0&&isScreenSizeLarge()?window.PXUTheme.theme_settings.header_layout!="vertical"&&(window.PXUTheme.jsHeader.disableSticky(),window.PXUTheme.jsHeader.enableSticky(offset)):window.PXUTheme.jsHeader.enable_sticky===!0&&!isScreenSizeLarge()&&(window.PXUTheme.mobileMenu.disableSticky(),window.PXUTheme.mobileMenu.enableSticky(offset)))},getAnnouncementHeight(){return $(".announcement-container").outerHeight()||0},unload:function($section){$("#announcement-bar").off(),$("#announcement-bar").unstick()}}})(); 2//# sourceMappingURL=/cdn/shop/t/353/assets/z__jsAnnouncementBar.js.map?v=70828904625130206351779814679
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.