Fix File
•
/
home
/
sportsfe...
/
httpdocs
/
wp-conte...
/
plugins
/
supreme-...
/
includes
/
modules
/
Lottie
•
File:
frontend.min.js
•
Content:
jQuery(function(e){e(".dsm_lottie_wrapper").length&&e(".dsm_lottie_wrapper").each(function(o,t){lottie.searchAnimations(),$this=e(this),!0===($thisData=e(this).data("params")).autoplay&&parseInt($thisData.delay,10)===parseInt($thisData.delay,10)&&parseInt($thisData.delay,10);var s=""!==$thisData.loop_no||$thisData.loop,n=""!==$thisData.loop_no?$thisData.loop_no:s,a=$thisData.mouseout,r=$thisData.direction,l=$thisData.hover,i=$thisData.trigger,p=$thisData.scroll,c=lottie.loadAnimation({container:this,renderer:"svg",loop:!0!==l&&n,autoplay:!1,path:$thisData.path,rendererSettings:{progressiveLoad:!1}});if($thisData.hasOwnProperty("speed")&&c.setSpeed($thisData.speed),$thisData.hasOwnProperty("direction")&&c.setDirection(r),!0===l){c.addEventListener("DOMLoaded",function(){c.goToAndStop(0,!0)});var d,u=function(e){var o=Math.round(c.animationData.op);c.setDirection(r),c.playSegments([0,o],!0)},$=function(e){switch(a){case"no_action":break;case"stop":default:c.stop();break;case"pause":c.pause();break;case"reverse":c.setDirection(-1*r),c.play()}};"on_hover"===i&&(e(this).closest(".et_pb_column").off("mouseenter",u).on("mouseenter",u),e(this).closest(".et_pb_column").off("mouseleave",$).on("mouseleave",$)),"on_click"===i&&this.addEventListener("click",function(){u()}),"on_scroll"===i&&(d=$this.closest(".et_pb_row").length?$this.closest(".et_pb_row").offset().top:$this.closest(".et_pb_module").offset().top,e(window).scroll(function(){console.log(p),console.log(l);var e=c.totalFrames,o=e+d-400,t=100*(jQuery(window).scrollTop()-(d-400))/e;"page"===p?(scrollPercentRounded=Math.round(100*jQuery(window).scrollTop()/(jQuery(document).height()-jQuery(window).height())),c.goToAndStop(scrollPercentRounded/100*c.totalFrames-1,!0)):jQuery(window).scrollTop()>=d-400&&jQuery(window).scrollTop()<=o&&c.goToAndStop(Math.round(t)/100*c.totalFrames-1,!0)}))}else new Waypoint({element:this,handler:function(o){"down"===o?setTimeout(function(){c.play()},parseInt(e(this.element).data("params").delay,10)):c.pause()},offset:$thisData.viewport})})});
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List