!function(e){"use strict";let i="";function o(){e(".wopb-flip-image").parent().addClass("wopb-flip-image-section")}function t(){e(".wopb-flip-image-section").each((function(){e(this).parent().on("mouseenter mouseleave",(function(o){let t=o,n=e(this);!n.hasClass("wopb-flip-image-section")&&n.find(".wopb-flip-image-section:first").length?n=n.find(".wopb-flip-image-section:first"):n.hasClass("wopb-flip-image-section")||(n=n.parent().find(".wopb-flip-image-section"));let a=n.find("img:not(.wopb-flip-image)"),s=1e3*parseFloat(e(".wopb-flip-image").css("animation-duration"));"mouseenter"===t.type?(n.addClass("wopb-flip-image-hover"),i=setTimeout((function(){a.css("opacity",0)}),.4*s)):"mouseleave"===t.type&&(clearTimeout(i),n.removeClass("wopb-flip-image-hover"),a.css("opacity",1))}))}))}e(document).ready((function(){o(),t()})),e(document).on("wopbAjaxComplete",(function(){o(),t()}))}(jQuery);