whoami7 - Manager
:
/
home
/
rattkxnv
/
byattorney.com
/
wp-content
/
plugins
/
blog-designer-pack
/
assets
/
js
/
Upload File:
files >> /home/rattkxnv/byattorney.com/wp-content/plugins/blog-designer-pack/assets/js/jquery-vticker.min.js
/** * jQuery - Easy Ticker plugin - v3.2.1 * Copyright 2021, Aakash Chakravarthy * Released under the MIT License. */ !function(p,d){var e="easyTicker",u={direction:"up",easing:"swing",speed:"slow",interval:2e3,height:"auto",visible:0,mousePause:!0,autoplay:!0,controls:{up:"",down:"",toggle:"",playText:"Play",stopText:"Stop"},callbacks:{before:!1,after:!1}},h=0;function i(t,e){var i,o,s=this;function n(){0==s.timer&&(s.timer=setInterval(function(){a(s.opts.direction)},s.opts.interval),p(s.opts.controls.toggle).addClass("et-run").html(s.opts.controls.stopText))}function l(){clearInterval(s.timer),s.timer=0,p(s.opts.controls.toggle).removeClass("et-run").html(s.opts.controls.playText)}function a(t){var e,i,o,n;h=1,s.elem.is(":visible")&&(i="up"==t?(n=":first-child",e="-=","appendTo"):(n=":last-child",e="+=","prependTo"),n=(o=s.targ.children(n)).outerHeight(),"function"==typeof s.opts.callbacks.before&&s.opts.callbacks.before.call(s,s.targ,o),s.targ.stop(!0,!0).animate({top:e+n+"px"},s.opts.speed,s.opts.easing,function(){o.hide()[i](s.targ).fadeIn(),s.targ.css("top",0),r(!0),"function"==typeof s.opts.callbacks.after&&s.opts.callbacks.after.call(s,s.targ,o)}))}function c(t){l(),a("up"==t?"up":"down"),s.opts.autoplay&&n()}function r(t){var e,i,o,n;"auto"==s.opts.height?0<s.opts.visible?(i=t,o=0,n="et-item-visible",s.targ.children().removeClass(n),s.targ.children(":lt("+s.opts.visible+")").each(function(){o+=p(this).outerHeight(),p(this).addClass(n)}),i?s.elem.stop(!0,!0).animate({height:o},s.opts.speed,function(){h=0}):s.elem.css("height",o)):(e=0,i=s.elem.css("display"),s.elem.css("display","block"),s.targ.children().each(function(){e+=p(this).outerHeight()}),s.elem.css({display:i,height:e})):h=0,t||clearInterval(s.heightTimer)}return s.opts=p.extend({},u,e),s.elem=p(t),s.targ=p(t).children(":first-child"),s.timer=0,s.elem.children().css("margin",0).children().css("margin",0),s.elem.css({position:"relative",height:s.opts.height,overflow:"hidden"}),s.targ.css({position:"absolute",margin:0}),s.heightTimer=setInterval(function(){r(!1)},100),s.elem.closest(".inf-post-scroling-wdgt").addClass("inf-vticker-initialized"),n(),void 0!==d.hidden?(i="hidden",o="visibilitychange"):void 0!==d.msHidden?(i="msHidden",o="msvisibilitychange"):void 0!==d.webkitHidden&&(i="webkitHidden",o="webkitvisibilitychange"),d.addEventListener(o,function(){(d[i]?l:n)()},!1),s.opts.mousePause&&s.elem.on("mouseenter",function(){s.timerTemp=s.timer,l()}).on("mouseleave",function(){0!==s.timerTemp&&n()}),p(s.opts.controls.up).on("click",function(t){t.preventDefault(),0==h&&c("up")}),p(s.opts.controls.down).on("click",function(t){t.preventDefault(),0==h&&c("down")}),p(s.opts.controls.toggle).on("click",function(t){t.preventDefault(),(0==s.timer?n:l)()}),{up:function(){c("up")},down:function(){c("down")},start:n,stop:l,options:s.opts}}p.fn[e]=function(t){return this.each(function(){p.data(this,e)||p.data(this,e,new i(this,t))})}}(jQuery,(window,document));
Copyright ©2021 || Defacer Indonesia