1(function(y,B){y.HAPTextScroller=function(p){function v(){k-=q;a.css("left",k+"px");parseInt(a.css("left"),10)<-e&&(k=-q)}var f=this,z=HAPUtils.isMobile(),l=p.settings,g=p.mask,a=p.container,q=Math.abs(l.titleScrollSpeed),w=l.titleScrollSeparator,m=l.titleScrollCenterOnRest||!1,A=l.titleScrollPauseOnHover||!0,c,k=0,h,n,e,r,d=!1;this.setData=function(){if(!z&&A)g.on("mouseenter",function(){d&&c&&clearInterval(c)}).on("mouseleave",function(){d&&(c&&clearInterval(c),c=setInterval(v,100))})};this.input= 2function(b){h=b;a.html("").css("width","auto").html(h);n=a.width();g.width()<n?f.setScrollString():(m&&a.addClass("hap-media-title-center"),r=!0)};this.setScrollString=function(){m&&a.removeClass("hap-media-title-center");var b=h.replace(/\s/g," ")+w;a.html("").css("width","auto").html(b);e=a.width();if(0!=e){var t=b;if(e<=2*g.width()){var u,x=Math.floor(2*g.width()/e);for(u=0;u<x;u++)t+=b;b=e*(x+1)}else t+=b,b=2*e;a.html(t);a.css("width",b+1+"px");r=!0;f.activate()}};this.activate=function(){d&& 3f.deactivate();g.width()>=n?(a.html("").css("width","auto").html(h),m&&a.addClass("hap-media-title-center"),d=!1):(c&&clearInterval(c),c=setInterval(v,100),d=!0)};this.deactivate=function(b){d&&(c&&clearInterval(c),a.css("left","0px"),k=0,"undefined"!==typeof b&&a.html("").css("width","auto").html(b),d=!1)};this.checkSize=function(){r&&(g.width()>=n?(d&&f.deactivate(),a.html("").css("width","auto").html(h),m&&a.addClass("hap-media-title-center")):f.setScrollString())};this.setScrollSpeed=function(b){q= 4Math.abs(b)};this.setScrollSeparator=function(b){w=b;f.deactivate();f.setScrollString()};this.setData()}})(window,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.