PageSourceSearch

http://eccentricworkshop.com/tools/tools.html.js

js eccentricworkshop.com collected 2026-10-08 01:55:37 UTC 2,663 bytes, 22 lines download raw bytes

1(function(){window.addEventListener('DOMContentLoaded',function(){baguetteBox.run('div.photogrid-component--flexbox-container',{filter:/.+/,ignoreClass:'no-baguette'});if(!window.__testimonials_initialized&&!window.EDIT_MODE){(function(){var els=document.querySelectorAll('div.testimonials-component--inner')
2function testimonial(el){var pubMode='testimonials-component--pub'
3var itemCount=Array.from(el.querySelectorAll('div.testimonials-component--each')).length
4var stepSize=100/itemCount
5var startIndex=0
6var currentIndex
7function init(){currentIndex=startIndex;el.classList.add(pubMode)
8el.style.width=(100*itemCount)+'vw'}
9function nextIndex(){if(currentIndex+1===itemCount){currentIndex=0}else{currentIndex++}
10return currentIndex;}
11function step(){var next=nextIndex();el.style.transform='translateX('+(next*stepSize*-1)+'%)'}
12return{init:init,step:step}}
13var testimonials=Array.from(els).map(testimonial)
14testimonials.forEach(function(t){t.init();})
15window.setInterval(function(){testimonials.forEach(function(t){t.step();})},5000)
16window.__testimonials_initialized=true})()}});})();(function(){(function(header_nav,$){if(!$('.js-header-init'))return;header_nav.loaded=header_nav.loaded||false;header_nav.init=function(){if(header_nav.loaded)return;events.toggleMobileNav();events.closeMobileNav();header_nav.loaded=true;}
17var events={toggleMobileNav:function(){$('.js-nav-btn').on('click',function(){var $parent=$(this).closest('.nav');$('.nav__btn, .nav__links',$parent).toggleClass('is-open');});},closeMobileNav:function(){$(document).on('click','.nav__link',$('.nav__links.is-open'),function(){$('.is-open').removeClass('is-open');});}}
18window.onload=header_nav.init();})(window.header_nav=window.header_nav||{},jQuery);(function(header_sticky,$){if(!$('.chord--header-sticky').length)return;header_sticky.init=function(){ui.addPadding();}
19var ui={addPadding:function(){$('body').css('padding-top','66px');}}
20window.onload=header_sticky.init();})(window.header_sticky=window.header_sticky||{},jQuery);(function(smooth_scroll,$){var in_editor=(window.location!=window.parent.location)?true:false;if(in_editor)return;smooth_scroll.init=function(){listeners.onLinkClick()}
21var listeners={onLinkClick:function(){$('a').on('click',function(e){var target_id=$(this).attr('href');if(target_id.indexOf('#')==-1||target_id[0]!='#')return;e.preventDefault();var $nav=$('.js-sticky-nav');var nav_height=$nav.length?$nav.height():0;var page_position=target_id=='#'?0:$(target_id).offset().top-nav_height;$('body, html').animate({scrollTop:page_position},500);});}}
22window.onload=smooth_scroll.init();})(window.smooth_scroll=window.smooth_scroll||{},jQuery);})();

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.