!function(i){"use strict";i.fn.fusionCalcFlipBoxesHeight=function(){var e,o,n=i(this),s=n.find(".flip-box-front"),t=n.find(".flip-box-back");n.css("min-height",""),s.css("position",""),t.css("bottom",""),e=s.outerHeight(),o=t.outerHeight(),setTimeout(function(){e>o?n.css("min-height",e):n.css("min-height",o),s.css("position","absolute"),t.css("bottom","0")},100)},i.fn.fusionCalcFlipBoxesEqualHeights=function(){var e,o=i(this),n=[];o.find(".flip-box-inner-wrapper").each(function(){var e=i(this),o=e.find(".flip-box-front"),s=e.find(".flip-box-back");e.css("min-height",""),o.css("position",""),s.css("bottom",""),n.push(Math.max(o.outerHeight(),s.outerHeight()))}),e=Math.max.apply(null,n),o.find(".flip-box-inner-wrapper").each(function(){var o=i(this),n=o.find(".flip-box-front"),s=o.find(".flip-box-back");o.css("min-height",e),n.css("position","absolute"),s.css("bottom","0")})}}(jQuery),jQuery(window).on("load",function(){jQuery(".fusion-flip-boxes.equal-heights").each(function(){jQuery(this).fusionCalcFlipBoxesEqualHeights()}),jQuery(".fusion-flip-boxes").not(".equal-heights").find(".flip-box-inner-wrapper").each(function(){jQuery(this).fusionCalcFlipBoxesHeight()}),jQuery(window).on("fusion-resize-horizontal",function(){jQuery(".fusion-flip-boxes.equal-heights").each(function(){jQuery(this).fusionCalcFlipBoxesEqualHeights()}),jQuery(".fusion-flip-boxes").not(".equal-heights").find(".flip-box-inner-wrapper").each(function(){jQuery(this).fusionCalcFlipBoxesHeight()})})}),jQuery(window).on("fusion-element-render-fusion_flip_box fusion-column-resized",function(i,e){var o,n,s;void 0!==i.type&&"fusion-column-resized"===i.type?(o=jQuery('div[data-cid="'+e+'"] .fusion-flip-boxes.equal-heights'),n=jQuery('div[data-cid="'+e+'"] .fusion-flip-boxes').not(".equal-heights").find(".flip-box-inner-wrapper"),s=jQuery('div[data-cid="'+e+'"] .fusion-flip-box')):(o=jQuery('div[data-cid="'+e+'"]').closest(".fusion-flip-boxes.equal-heights"),n=jQuery('div[data-cid="'+e+'"]').closest(".fusion-flip-boxes").not(".equal-heights").find(".flip-box-inner-wrapper"),s=jQuery('div[data-cid="'+e+'"]').find(".fusion-flip-box")),o.each(function(){jQuery(this).fusionCalcFlipBoxesEqualHeights()}),n.each(function(){jQuery(this).fusionCalcFlipBoxesHeight()}),s.mouseover(function(){jQuery(this).addClass("hover")}),s.mouseout(function(){jQuery(this).removeClass("hover")})}),jQuery(window).on("fusion-dynamic-content-render",function(i,e){var o=jQuery(e).find(".fusion-flip-boxes").not(".equal-heights").find(".flip-box-inner-wrapper");0<o.length&&o.each(function(){jQuery(this).fusionCalcFlipBoxesHeight()}),0<(o=jQuery(e).find(".fusion-flip-boxes.equal-heights")).length&&o.each(function(){jQuery(this).fusionCalcFlipBoxesEqualHeights()})});