PageSourceSearch

https://uallaby.ai/wp-content/themes/humpton/core/js/smooth-scroll-drag.min.js?ver=7.1.2

js uallaby.ai collected 2026-10-05 13:10:48 UTC 1,869 bytes, 1 lines download raw bytes

1function SmoothScroolDrag(){$(window).width()>1024&&$("body").hasClass("drag-scroll")&&setTimeout(function(){var e=scrollbar.getSize().content,l=scrollbar.getSize().container;console.log("container height is: "+l.height),console.log("scrollbar limit is: "+scrollbar.limit.y);var o=Draggable.create(".scroll-content",{type:"y",bounds:{minX:0,maxX:0,minY:0,maxY:l.height-e.height},autoScroll:2,dragResistance:-2,edgeResistance:1,onPress:function(e){return console.log("Draggable - on press"),window.innerWidth<=1024?(e.dragCancelled=!0,void this.endDrag(e)):2==e.button?(e.dragCancelled=!0,void this.endDrag(e)):null!=e.target&&$(e.target).parents(".disable-drag").length?(e.dragCancelled=!0,void this.endDrag(e)):($("body").addClass("scale-up"),void gsap.to("#ball",{duration: .2,borderWidth:"2px",borderColor:"#999",scale:1}))},onClick:function(){console.log("Draggable - on click")},onDragStart:function(){if(console.log("Draggable - drag start"),this.minY!=-scrollbar.limit.y){scrollbar.getSize().content,scrollbar.getSize().container;this.applyBounds({minX:0,maxX:0,minY:0,maxY:-scrollbar.limit.y})}},onDrag:function(){console.log("Draggable - drag, y value: "+this.y+", scrollbar offset: "+scrollbar.scrollTop+", minY: "+this.minY+", maxY: "+this.maxY),gsap.to(scrollbar,{duration:1,scrollTo:-this.y,ease:Power4.easeOut})},onDragEnd:function(e){console.log("Draggable - drag end"),e.dragCancelled?console.log("Draggable - drag cancelled"):document.getElementById("content-scroll").addEventListener("wheel",function(){gsap.set(scrollbar,{scrollTo:-this.y})})},onRelease:function(e){console.log("Draggable - release"),e.dragCancelled||($("body").removeClass("scale-up"),gsap.to("#ball",{duration:1,borderWidth:"4px",scale:.5,borderColor:"#999999",ease:Elastic.easeOut}))}});scrollbar.addListener(function(e){gsap.set(o[0].target,{x:0,y:-scrollbar.scrollTop})})},1e3)}

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.