PageSourceSearch

https://www.visitjackson.com/dist/scripts/h-scroller.739f782144e0730c0a85.min.js

js visitjackson.com collected 2026-10-02 06:44:51 UTC 1,726 bytes, 1 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[8971],{3139:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return s}});var l=r(4575),i=r.n(l),o=r(9713),c=r.n(o),s=function t(e){var r=this;i()(this,t),c()(this,"timerIds",void 0),c()(this,"checkScrollArrows",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=t.clientWidth,l=t.querySelector("[data-hscroll-track]"),i=l.clientWidth,o=t.querySelector("[data-hscroll-arrow-left]"),c=t.querySelector("[data-hscroll-arrow-right]"),s=l.scrollWidth-l.clientWidth,a=r;0==e&&(e=l.scrollLeft),i<=a?(e<=0?o.setAttribute("disabled","disabled"):o.removeAttribute("disabled"),e>=s?c.setAttribute("disabled","disabled"):c.removeAttribute("disabled")):(o.setAttribute("disabled","disabled"),c.setAttribute("disabled","disabled"))})),c()(this,"scrollNav",(function(t,e){var l=t.querySelector("[data-hscroll-track]"),i=t.offsetWidth,o=l.scrollLeft,c=0;"right"==e?o+=i:o-=i,l.scrollTo({left:o,top:0,behavior:"smooth"});c+=50,r.checkScrollArrows(t,c)})),c()(this,"initScrollNav",(function(t,e){clearTimeout(r.timerIds[e]),r.checkScrollArrows(t)})),this.timerIds={},e.length&&e.forEach((function(t,e){var l=t.querySelector("[data-hscroll-track]"),i=t.querySelector("[data-hscroll-arrow-left]");t.querySelector("[data-hscroll-arrow-right]").addEventListener("click",(function(e){e.preventDefault(),r.scrollNav(t,"right")})),i.addEventListener("click",(function(e){e.preventDefault(),r.scrollNav(t,"left")})),r.timerIds[e]=setTimeout(r.initScrollNav,1e3,t,e),l.addEventListener("scroll",(function(){window.requestAnimationFrame((function(){r.checkScrollArrows(t)}))})),window.addEventListener("optimizedResize",(function(){r.checkScrollArrows(t)}))}))}}}]);

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.