// source --> https://worldwidedronesolutions.com/wp-content/plugins/responsive-pricing-table-pro/inc/js/rptp.min.js?ver=5.2.5 
/**
 * Responsive Pricing Table Front JS (minified)
 * Last updated: Nov 24, 2017 
 */

!function(t){t(document).ready((function(){function e(){t(".rpt_title, .rpt_head, .rpt_features").css({height:"auto"}),t(".rpt_plans").each((function(){var e=t(this);if(parseInt(t(window).width())>640){if(e.hasClass("rpt_plan_eq")){var i,a,r,n=[],h=[],s=[];e.find(".rpt_title").each((function(){var e=t(this);n.push(e.outerHeight())})),e.find(".rpt_head").each((function(){var e=t(this);h.push(e.outerHeight())})),e.find(".rpt_features").each((function(){var e=t(this);s.push(e.outerHeight())})),i=Math.max.apply(Math,n),a=Math.max.apply(Math,h),r=Math.max.apply(Math,s),e.find(".rpt_title").outerHeight(i),e.find(".rpt_head").outerHeight(a),e.find(".rpt_features").outerHeight(r)}}else e.find(".rpt_title").outerHeight("auto"),e.find(".rpt_head").outerHeight("auto"),e.find(".rpt_features").outerHeight("auto")})),setTimeout((function(){t("img.rpt_recommended").each((function(){var e=t(this).parent().outerHeight()/2-t(this).height()/2;t(this).css("top",e-2+"px")}))}),50)}var i,a,r,n;t("body").on("change",".rpt_price_switch",(function(){t(this).closest(".rpt_plans").hasClass("rpt_switched")?t(this).closest(".rpt_plans").removeClass("rpt_switched"):t(this).closest(".rpt_plans").addClass("rpt_switched")})),t(window).on("ready",e()),t(window).on("load",e()),t(window).resize((i=function(){e()},a=100,function(){var t=this,e=arguments,h=function(){n=null,r||i.apply(t,e)},s=r&&!n;clearTimeout(n),n=setTimeout(h,a),s&&i.apply(t,e)}))}))}(jQuery);