PageSourceSearch

https://www.cyclegear.com/js/redline/chunks/f2949ea4197e.js

js cyclegear.com collected 2026-10-02 19:33:54 UTC 2,840 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2475],{2475:(t,i,o)=>{o.r(i),o.d(i,{ArticleTables:()=>d,ArticleTrays:()=>c,BlogTray:()=>h,Gallery:()=>l});var e=o(2801),s=o(163),r=o(770),a=o(314),n=o(9513),l={init:function(t,i,o){this.src=t,this.zoomInterface=new s.Zoom(t,i,o),this.bindThumbnails(),this.bindImages(),new r.X7(".blog-header__background",{crop:!0,h:357}),new r.X7(".article-tile__image",{crop:!0})},bindThumbnails:function(){var t=this;n('[data-js="Gallery.thumbnail"]').on("click",(function(i){var o=n(i.target).parent('[data-js="Gallery.thumbnail"]');return t.zoomInterface.enable(o.data("image-index")),!1}))},bindImages:function(){var t=this;n(".blog-article__figure-image").on("click",(function(i){var o=n(i.target).attr("data-src").replace(/\/gallery\//,"/"),e=t.src.indexOf(o);return t.zoomInterface.enable(e),!1}))}},h={init:function(t,i){new r.X7(".blog-article__figure-image",{autoCompress:!1}),new r.X7(".blog-related-stories__image-wrapper",{crop:!0}),this.tray=n(t),this.tray.length&&(this.rightBar=this.tray.closest(".blog-article__right-bar"),this.$secondaryEmailSubscribe=n('[data-js="BlogTray.secondaryEmailSubscribe"]'),this.body=n(i),this.reset(),this.$secondaryEmailSubscribe.hide(),this.observeCommentsLoaded(),n(window).on("scroll resize load",this.resetAndPosition.bind(this))),window.youtubeScriptLoader&&window.youtubeScriptLoader.onReady(this.resetAndPosition.bind(this))},observeCommentsLoaded:function(){n(document).on("disqusCommentsLoaded",this.resetAndPosition.bind(this))},resetAndPosition:function(){this.reset(),this.position()},position:function(){var t=n(window).scrollTop();this.noScroll?this.noScrollTray():t>this.originalY&&t<this.maxScroll?(this.tray.css({position:"fixed",top:n(".js-CmtoNavigation").height(),width:this.trayWidth}),this.$secondaryEmailSubscribe.show()):t>=this.maxScroll?this.tray.css({position:"relative",top:this.bottomHeight,width:"100%"}):(this.noScrollTray(),this.$secondaryEmailSubscribe.hide())},noScrollTray:function(){this.tray.css({position:"static",width:"100%"})},reset:function(){var t=this.body.height();this.rightBar.height()>t?this.noScroll=!0:(this.noScroll=!1,this.tray.css({position:"static",width:"100%"}),this.originalY=this.tray.offset().top,this.trayWidth=this.tray.width(),this.trayHeight=this.tray.outerHeight(),this.maxScroll=t+this.body.offset().top-this.trayHeight,this.bottomHeight=this.maxScroll-this.originalY)}},c={init:function(){new e.Tray(n(".blog-related-stories__tiles"),{componentBemName:"blog-related-stories"}),new e.Tray(n(".blog-shop-the-gear__tiles"),{componentBemName:"blog-shop-the-gear"})}},d={init:function(){var t=n('<div class="horizontal-scroll--article-table" data-horizontal-scroll></div>');n(".blog-article__body table").wrap(t),new a.HorizontalScroller(n(".horizontal-scroll--article-table"))}}}}]);

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.