!function(a){a.fn.fusionImageMagnify=function(){var i=a(this),n=i.attr("data-magnify-img"),e=i.attr("data-magnify-duration"),t="";t=i.find("img").hasClass("lazyload")?i.find("img").attr("data-orig-src"):i.find("img").attr("src"),n=void 0===n||""===n?t:n,e=void 0===e||""===e?120:parseInt(e),i.zoom({url:n,duration:e,touch:!1,magnify:1})},a.fn.fusionImageScroll=function(){var i,n=a(this),e=n.attr("data-scroll-height"),t=n.attr("data-scroll-speed"),o=n.find("img"),r=o.height();e=void 0===e||""===e?n.height():e,void 0===(i=e-r)||0<=i||(n.on("mouseenter",function(){o.css({transform:"translateY( "+i+"px)",transition:"all "+t+"s linear"})}),n.on("mouseleave",function(){o.css({transform:"translateY( 0px )",transition:"all "+t+"s linear"})}))}}(jQuery),jQuery(window).on("load",function(){jQuery(".fusion-image-element .has-image-magnify").each(function(){jQuery(this).fusionImageMagnify()}),jQuery(".fusion-image-element .has-image-scroll").each(function(){jQuery(this).fusionImageScroll()})}),jQuery(window).on("fusion-element-render-fusion_imageframe",function(a,i){const n=jQuery('div[data-cid="'+i+'"]');jQuery(n.find(".has-image-magnify")).fusionImageMagnify(),jQuery(n.find(".has-image-scroll")).fusionImageScroll()});