HEX
Server: Apache/2.4.65 (Unix) OpenSSL/1.1.1f
System: Linux dsserver6 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
User: studiomoguls (1002)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/studiomoguls/webapps/Studio-mogulsc-clone/wp-content/plugins/arprice/js/arprice_front.js
function responsive_template_width_calculation(){jQuery(".arp_template_main_container").each(function(){$this=jQuery(this);var e=$this.width(),r=$this.find(".ArpPricingTableColumnWrapper:visible").length,t=$this.find(".ArpPricingTableColumnWrapper").length,i=t-r,a=$this.attr("data-column-mobile"),n=$this.attr("data-column-tablet"),p=($this.attr("data-column-desktop"),$this.find(".ArpPricingTableColumnWrapper.maincaptioncolumn:visible").length),o=$this.attr("data-mobile-width"),s=$this.attr("data-tablet-width"),l=jQuery(window).width(),u=$this.attr("data-is-responsive"),c=$this.attr("data-all-column-width"),_=$this.find(".maincaptioncolumn").attr("data-has_custom_column_width"),d=$this.attr("data-space-columns"),h=$this.attr("data-responsive-width-arr");h=jQuery.parseJSON(h);var f=h.with_space,m=h.no_space,y=f[0],g=m[0];if(i>0){var j=g.replace("%","");j=parseInt(j);var Q=j*t;g=Q/r+"%";var b=y.replace("%","");b=parseInt(b);var v=b*t;y=v/r+"%"}if(o>=l)if(jQuery(".arp_hidden_div").remove(),1==u)if("All"==a||a>r)a=r;else{var e=$this.css("width").replace("px","");e=parseInt(e);var w=a;if(w=parseInt(w),d>0){var C=$this.find(".ArpPricingTableColumnWrapper:visible").css("width").replace("px","");C=parseInt(C);var P=e/w;P-=d;var T=100*P/e;T=Math.floor(T),1==w&&(T=100),"true"==_?$this.find(".ArpPricingTableColumnWrapper:not(.maincaptioncolumn)").css("width",T+"%"):$this.find(".ArpPricingTableColumnWrapper:visible").css("width",T+"%")}else{var C=100/parseInt(w);"true"==_?$this.find(".ArpPricingTableColumnWrapper:not(.maincaptioncolumn)").css("width",C+"%"):$this.find(".ArpPricingTableColumnWrapper:visible").css("width",C+"%")}}else p>0&&"true"==_?$this.find(".ArpPricingTableColumnWrapper:not(.maincaptioncolumn):visible").css("width",c+"px"):$this.find(".ArpPricingTableColumnWrapper:visible").css("width",c+"px"),$this.find(".ArpPricingTableColumnWrapper:visible").each(function(e){(e+1)%a==0&&jQuery(this).after('<div class="arp_hidden_div" style="float:left;width:100%;clear:both;"></div>')});else if(s>=l&&l>o)if(jQuery(".arp_hidden_div").remove(),1==u)if("All"==n||n>r)n=r;else{var e=$this.css("width").replace("px","");e=parseInt(e);var w=n;if(w=parseInt(w),d>0){var C=$this.find(".ArpPricingTableColumnWrapper:visible").css("width").replace("px","");C=parseInt(C);var P=e/w;P-=d;var T=100*P/e;T=Math.floor(T),"true"==_?$this.find(".ArpPricingTableColumnWrapper:not(.maincaptioncolumn)").css("width",T+"%"):$this.find(".ArpPricingTableColumnWrapper:visible").css("width",T+"%")}else{var C=100/parseInt(w);"true"==_?$this.find(".ArpPricingTableColumnWrapper:not(.maincaptioncolumn)").css("width",C+"%"):$this.find(".ArpPricingTableColumnWrapper:visible").css("width",C+"%")}}else p>0&&"true"==_?$this.find(".ArpPricingTableColumnWrapper:not(.maincaptioncolumn):visible").css("width",c+"px"):$this.find(".ArpPricingTableColumnWrapper:visible").css("width",c+"px"),$this.find(".ArpPricingTableColumnWrapper:visible").each(function(e){(e+1)%n==0&&jQuery(this).after('<div class="arp_hidden_div" style="float:left;width:100%;clear:both;"></div>')});else jQuery(".arp_hidden_div").remove(),"true"==_?$this.find(".ArpPricingTableColumnWrapper:not(.maincaptioncolumn)").css("width",""):$this.find(".ArpPricingTableColumnWrapper").css("width","")})}function arp_get_google_map_front(){jQuery(".arp_googlemap").length>0&&jQuery(".arp_googlemap").each(function(){var e=jQuery(this).data("map");"string"==typeof e&&(e=jQuery.parseJSON(e));var r=e.markers[0].address,t=e.markers[0].icon,i=e.markers[0].title,a=e.zoom,n=this,p=e.markers[0].html.content,o=e.markers[0].html.popup,s=e.maptype;t=null!=t?e.markers[0].icon.image:null,a=null==a?14:a,jQuery.ajax({url:"https://maps.googleapis.com/maps/api/geocode/json",type:"GET",data:"address="+r,success:function(e){var r=e.results[0].geometry.location.lat,l=e.results[0].geometry.location.lng;get_google_map_content(r,l,t,n,a,i,p,o,s)}})})}function get_google_map_content(e,r,t,i,a,n,p,o){var s=new google.maps.LatLng(e,r),l={center:s,zoom:parseInt(a),mapTypeId:google.maps.MapTypeId.maptype},u={content:p},c=new google.maps.Map(i,l),_=new google.maps.InfoWindow(u),d=new google.maps.Marker({position:s,title:n,icon:t});d.setMap(c),1==o?_.open(c,d):google.maps.event.addListener(d,"click",function(){_.open(c,d)})}function arp_redirect(e,r,t,i,a,n,p){var o=jQuery("#"+p).attr("data-order"),s=(p.replace("main_",""),jQuery(a).parents(".arp_template_main_container").attr("data-table-preview")),l=jQuery(a).parents(".arp_template_main_container").attr("data-enable-analytics"),u=jQuery("#ajaxurl").val();if("1"!==i){var c=(jQuery(a).attr("data-is-post-variables"),jQuery(a).attr("data-post-variables"));if(c=c.replace(/:/g,"="),c=c.replace(/;/g,"&"),c=c.replace(/&+$/,""),"#"!=e&&""!=e&&(e=e.indexOf("?")>-1?""!=c?e+"&"+c:e:""!=c?e+"?"+c:e),/^https?:\/\//i.test(e)||"#"==e||""==e||(e="http://"+e),"1"==r||"1"==t&&"1"==r){var _=window.open(e,"_blank");_.focus()}else if("1"==t&&"1"!=r){var _=window.open(e,"","width = "+jQuery(window).width()+", height = "+jQuery(window).height()+", scrollbars = yes");_.focus()}}if(jQuery("#main_column_0").hasClass("maincaptioncolumn"))var d=1;else var d=0;if(0==s){if(0==l)return arprice_redirection_handler(i,a,e,r,t),!1;jQuery.ajax({url:u,type:"POST",data:"action=arp_insert_plan_id&arp_template_id="+n+"&arp_plan_id="+o+"&caption_column="+d,statusCode:{401:function(){arprice_redirection_handler(i,a,e,r,t)},403:function(){arprice_redirection_handler(i,a,e,r,t)},400:function(){arprice_redirection_handler(i,a,e,r,t)},404:function(){arprice_redirection_handler(i,a,e,r,t)},500:function(){arprice_redirection_handler(i,a,e,r,t)}},success:function(){arprice_redirection_handler(i,a,e,r,t)},error:function(){arprice_redirection_handler(i,a,e,r,t)}})}else if(1==i)jQuery(a).parent().find(".arp_paypal_form").find("form").submit(),jQuery(a).parent().find(".arp_paypal_form").find("button").trigger("click"),jQuery(a).parent().find(".arp_paypal_form").find('input[type="button"]').trigger("click"),jQuery(a).parent().find(".arp_paypal_form").find('input[type="submit"]').trigger("click"),jQuery(a).parent().find(".arp_paypal_form").find("a").trigger("click"),"#"!=jQuery(a).parent().find(".arp_paypal_form").find("a").attr("href")&&"undefined"!=typeof jQuery(a).parent().find(".arp_paypal_form").find("a").attr("href")&&(location.href=jQuery(a).parent().find(".arp_paypal_form").find("a").attr("href"));else{var c=(jQuery(a).attr("data-is-post-variables"),jQuery(a).attr("data-post-variables"));c=c.replace(/:/g,"="),c=c.replace(/;/g,"&"),c=c.replace(/&+$/,""),"#"!=e&&""!=e&&(e=e.indexOf("?")>-1?""!=c?e+"&"+c:e:""!=c?e+"?"+c:e),/^https?:\/\//i.test(e)||"#"==e||""==e||(e="http://"+e),"1"==r||"1"==t&&"1"==r||"1"==t&&"1"!=r||(location.href=e)}}function slider(e,r,t,i){var a="",n="";a=r,n=t;var p=i?i:0;jQuery(document).find(".arp_template_main_container").each(function(){void 0!==r&&""!=r||(a=""),void 0!==t&&""!=t||(n="");var e=jQuery(this).find(".ArpPriceTable").attr("data-id"),i=jQuery(this).find(".ArpPriceTable").attr("data-animate");if("true"===i){var o=jQuery(this).find(".ArpPriceTable").attr("data-speed"),s=jQuery(this).find(".ArpPriceTable").attr("data-effect");"undefined"!=typeof n&&""!=n||(n=jQuery(this).find(".ArpPriceTable").attr("data-scroll")),"undefined"!=typeof a&&""!=a||(a=jQuery(this).find(".ArpPriceTable").attr("data-items"));var l=jQuery(this).find(".ArpPriceTable").attr("data-autoplay"),u=jQuery(this).find(".ArpPriceTable").attr("data-caption"),c=(jQuery(this).find(".ArpPriceTable").attr("data-infinite"),jQuery(this).find(".ArpPriceTable").attr("data-easing")),_=jQuery(this).find(".ArpPriceTable").attr("data-sticky-caption");1==u&&jQuery(this).find(".maincaptioncolumn").remove();var d={circular:!(!parseInt(l)&&!_),items:parseInt(a),responsive:!0,width:"100%",prev:{items:parseInt(n),button:jQuery("#arp_prev_btn_"+e),fx:s,easing:c,duration:parseInt(o)},next:{items:parseInt(n),button:jQuery("#arp_next_btn_"+e),fx:s,easing:c,duration:parseInt(o)},auto:{items:parseInt(n),play:!!parseInt(l),fx:s,easing:c,duration:parseInt(o)}};jQuery(this).find(".ArpPriceTable").hasClass("arp_slider_pagination")&&(d.pagination={items:parseInt(n),container:jQuery("#arp_slider_"+e+"_paginatio_top"),fx:s,easing:c,duration:parseInt(o)}),jQuery(".arp_column_slider_width").remove(),"true"===_&&0==p?jQuery(this).find(".arp_allcolumnsdiv_sticky").length>0?jQuery(this).find(".arp_allcolumnsdiv_sticky").carouFredSel(d):(jQuery(this).find(".ArpPricingTableColumnWrapper:not(.maincaptioncolumn)").wrapAll("<div class='arp_allcolumnsdiv_sticky' />"),jQuery(this).find(".arp_allcolumnsdiv_sticky").carouFredSel(d)):(jQuery(this).find(".arp_allcolumnsdiv_sticky").length>0&&jQuery(this).find(".arp_allcolumnsdiv_sticky").contents().unwrap(),jQuery(this).find(".arp_allcolumnsdiv").carouFredSel(d)),arp_set_slider_width_new(e,parseInt(a),parseInt(n),_)}})}function arp_set_slider_width_new(e,r,t,i){if(void 0!==e){var a=(jQuery(".arp_price_table_"+e+" .ArpPricingTableColumnWrapper").first().outerWidth(),""),n=jQuery(".arp_price_table_"+e+" #ArpPricingTableColumns").width()/r;if(""!=jQuery(".arp_price_table_"+e+" .ArpPricingTableColumnWrapper").first().css("margin-right")&&""!=jQuery(".arp_price_table_"+e+" .ArpPricingTableColumnWrapper").first().css("margin-left"))var p=jQuery(".arp_price_table_"+e+" .ArpPricingTableColumnWrapper").first().css("margin-right"),o=jQuery(".arp_price_table_"+e+" .ArpPricingTableColumnWrapper").first().css("margin-left"),s=p.replace("px",""),l=o.replace("px","");var u=Math.floor(n),c=jQuery(".arp_template_main_container").attr("data-reference-template");"arptemplate_16"===c&&window.width<=jQuery(".arp_template_main_container").attr("data-mobile-width")&&(u=void 0!==jQuery(".arp_template_main_container").attr("data-all-column-width")?jQuery(".arp_template_main_container").attr("data-all-column-width"):"240"),a+="<style type='text/css' class='arp_column_slider_width'>",a+=".arptemplate_"+e+" .ArpPricingTableColumnWrapper.no_animation.maincaptioncolumn:not(.has_custom_width), .arptemplate_"+e+" .ArpPricingTableColumnWrapper.no_animation:not(.has_custom_width), .arptemplate_"+e+" .ArpPricingTableColumnWrapper.maincaptioncolumn:not(.has_custom_width), .arptemplate_"+e+" .ArpPricingTableColumnWrapper:not(.has_custom_width){",a+="width:"+u+"px !important;",a+="min-width:"+u+"px !important;",a+="}",a+=".arp_price_table_"+e+" .caroufredsel_wrapper{",u=Number(u)+Number(s)+Number(l),a+="arptemplate_2"==c||"arptemplate_3"==c||"arptemplate_7"==c||"arptemplate_20"==c?"width:"+u*r+"px !important":"width:"+u*r+"px !important",a+="}","true"===i&&(a+=".arp_price_table_"+e+" .arp_allcolumnsdiv{",a+="width:"+u*r+"px !important"),a+="}",a+="</style>",jQuery(".arp_price_table_"+e+" .caroufredsel_wrapper").find(".arp_column_slider_width").remove(),jQuery(".arp_price_table_"+e+" .caroufredsel_wrapper").prepend(a)}}function remove_column_height(){jQuery(".arp_template_main_container").each(function(){jQuery(this).find(".ArpPricingTableColumnWrapper:visible").each(function(){var e=(jQuery(this).find("ul.arppricingtablebodyoptions").length,jQuery(this));jQuery(e).find("li").css("height",""),jQuery(e).find("li").css("min-height",""),jQuery(e).find("li").css("line-height",""),jQuery(e).find("li").css("padding","")})})}function adjust_column_height(){jQuery(".arp_template_main_container").each(function(){var e=jQuery(this),r=[],t=e.find(".ArpPricingTableColumnWrapper:visible").first().attr("id"),i=[];e.find(".ArpPricingTableColumnWrapper:visible").each(function(){jQuery(this).find("ul li").each(function(){jQuery(this).css("height","")})}),e.find(".ArpPricingTableColumnWrapper:visible").first().find("ul li").each(function(e){r[e]=jQuery(this).height()}),e.find(".ArpPricingTableColumnWrapper:visible:not(#"+t+")").each(function(){jQuery(this).attr("id").replace("main_column_","");jQuery(this).find("ul li").each(function(e){r[e]>jQuery(this).height()?i[e]=r[e]:r[e]=i[e]=jQuery(this).height()})}),e.find(".ArpPricingTableColumnWrapper:visible").each(function(){jQuery(this).find("ul li:not(.arp_last_list_item)").each(function(e){jQuery(this).height(i[e]+"px")})})})}function adjust_column_title(){var e=new Array,r=new Array,t=new Array;jQuery(".ArpPricingTableColumnWrapper").each(function(i){var a=(jQuery(this).attr("id"),jQuery(this).find(".arpcolumnheader").height());if(e[i]=a,t[i]=a,jQuery(this).hasClass("maincaptioncolumn"))var n=jQuery(this).find(".arpcaptiontitle").height();else var n=jQuery(this).find(".arppricetablecolumntitle").height();r[i]=n}),t.sort(function(e,r){return r-e}),heighest_height=t[0];var i="";for(var a in e)heighest_height==e[a]&&(i="main_column_"+a);var n=jQuery("#"+i).find(".arpcolumnheader").height();if(jQuery(".ArpPricingTableColumnWrapper#"+i).hasClass("maincaptioncolumn"))var p=jQuery("#"+i).find(".arpcaptiontitle").height();else var p=jQuery("#"+i).find(".bestPlanTitle").height();jQuery(".ArpPricingTableColumnWrapper").each(function(){i!=jQuery(this).attr("id")&&(jQuery(this).find(".arpcolumnheader").height(n),jQuery(this).hasClass("maincaptioncolumn")?jQuery(this).find(".arpcaptiontitle").height(p):jQuery(this).find(".arppricetablecolumntitle").height(p))})}function arp_header_title_responsive(){if(0===jQuery(".arp_responsive_array_front").length)return!1;var e=jQuery.parseJSON(jQuery(".arp_responsive_array_front").html()),r=e.header_level_types_front_array_1,t=e.header_level_types_front_array_2;jQuery(".arp_template_main_container").each(function(){var e=jQuery(this),i=e.find("#arprice_toggle_content_value").val(),a=e.attr("data-reference-template");if(a&&""!=a){r.type_1.indexOf(a)>-1?e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").css("height","auto"),jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle,.arpcaptiontitle ").css("height","auto")}):r.type_3.indexOf(a)>-1?e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").css("height","auto"),jQuery(this).find(".arpcolumnheader").find(".arppricetablecolumntitle").css("height","auto")}):e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle ").css("height","auto")}),r.type_4.indexOf(a)>-1&&e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arp_header_shortcode").css("height","auto")});var n=0;r.type_1.indexOf(a)>-1?e.find(".ArpPricingTableColumnWrapper").each(function(){n<jQuery(this).find(".arpcolumnheader,.arpcaptiontitle ").height()&&(n=jQuery(this).find(".arpcolumnheader,.arpcaptiontitle ").height())}):r.type_3.indexOf(a)>-1?e.find(".ArpPricingTableColumnWrapper").each(function(){n<jQuery(this).find(".arppricetablecolumntitle").height()&&(n=jQuery(this).find(".arppricetablecolumntitle").height())}):e.find(".ArpPricingTableColumnWrapper").each(function(){if("two_step_one"==i)var e=jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle.toggle_step_first").height();else if("two_step_two"==i)var e=jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle.toggle_step_second").height();else if("two_step_three"==i)var e=jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle.toggle_step_third").height();else var e=jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle.toggle_step_first").height();e>n&&(n=e)});var p=0;r.type_4.indexOf(a)>-1&&e.find(".ArpPricingTableColumnWrapper").each(function(){p<jQuery(this).find(".arp_header_shortcode").height()&&(p=jQuery(this).find(".arp_header_shortcode").height())}),t.type_4.indexOf(a)>-1?e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").height(n),jQuery(this).find(".arpcolumnheader").find(".arpcaptiontitle").height(n-40),jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle").height(n-59)}):t.type_1.indexOf(a)>-1?e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle").height(n),jQuery(this).find(".arpcaptiontitle").css("margin-top",jQuery(".ArpPricingTableColumnWrapper:not(.ArpPricingTableColumnWrapper.maincaptioncolumn)").first().find(".arppricetablecolumntitle").outerHeight()+"px")}):t.type_5.indexOf(a)>-1?e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").find(".arppricetablecolumntitle").height(n),jQuery(this).find(".arpcaptiontitle").css("margin-top",n+"px")}):t.type_2.indexOf(a)>-1?e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle").height(n),jQuery(this).find(".arpcaptiontitle").css("margin-top",jQuery(".ArpPricingTableColumnWrapper:not(.ArpPricingTableColumnWrapper.maincaptioncolumn)",this).first().find(".arppricetablecolumntitle").outerHeight()-1+"px")}):e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").find(".bestPlanTitle").height(n)}),t.type_6.indexOf(a)>-1&&e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arp_header_shortcode").height(p)})}})}function arp_price_wrapper_responsive(){if(0===jQuery(".arp_responsive_array_front").length)return!1;var e=jQuery.parseJSON(jQuery(".arp_responsive_array_front").html()),r=e.price_wrapper_types;jQuery(".arp_template_main_container").each(function(){var e=jQuery(this).attr("data-reference-template"),t=jQuery(this);if("arptemplate_4"!==e){t.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arp_price_wrapper").css("height","auto")});var i=0;if(t.find(".ArpPricingTableColumnWrapper").each(function(){var e=jQuery(this).find(".arp_price_wrapper").outerHeight();e&&e>i&&(i=jQuery(this).find(".arp_price_wrapper").height())}),t.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arp_price_wrapper").height(i)}),e&&r.type_3.indexOf(e)>-1){t.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arppricetablecolumnprice").css("height","auto"),jQuery(this).find(".arpcaptiontitle").css("height","auto")});var i=0,a=0;t.find(".ArpPricingTableColumnWrapper").each(function(){a=jQuery(this).hasClass("maincaptioncolumn")?jQuery(this).find(".arpcaptiontitle").outerHeight():jQuery(this).find(".arppricetablecolumnprice").outerHeight(),a&&a>i&&(i=a)}),t.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arppricetablecolumnprice").css("height",i+"px"),jQuery(this).find(".arpcaptiontitle").css("height",i+"px"),jQuery(this).hasClass("maincaptioncolumn")&&jQuery(this).find(".arppricetablecolumnprice").is(":visible")&&(a=jQuery(this).find(".arppricingtablebodycontent").css("margin-top",i+"px"))})}}})}function set_best_plan_button_height(){if(0===jQuery(".arp_responsive_array_front").length)return!1;var e=jQuery.parseJSON(jQuery(".arp_responsive_array_front").html()),r=e.button_level_types;jQuery(".arp_template_main_container").each(function(){var e=jQuery(this).attr("data-reference-template");if(r.type_1.indexOf(e)>-1){jQuery(".arppricetablebutton",this).each(function(){jQuery(this).height("auto")});var t=0;jQuery(".arppricetablebutton",this).each(function(){t<jQuery(this).height()&&(t=jQuery(this).height())}),jQuery(".arppricetablebutton",this).each(function(){jQuery(this).height(t)})}})}function arp_column_desc_responsive(){if(0===jQuery(".arp_responsive_array_front").length)return!1;var e=jQuery.parseJSON(jQuery(".arp_responsive_array_front").html()),r=e.column_description_types;jQuery(".arp_template_main_container").each(function(){var e=jQuery(this),t=e.find("#arprice_toggle_content_value").val(),i=jQuery(this).attr("data-reference-template"),a=jQuery(this).find(".column_description").length;if(i&&""!=i&&a>0&&-1==r.type_1.indexOf(i)){e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".column_description").css("height","auto")});var n=0;e.find(".ArpPricingTableColumnWrapper").each(function(){if("two_step_one"==t)var e=jQuery(this).find(".column_description.toggle_step_first").height();else if("two_step_two"==t)var e=jQuery(this).find(".column_description.toggle_step_second").height();else if("two_step_three"==t)var e=jQuery(this).find(".column_description.toggle_step_third").height();else var e=jQuery(this).find(".column_description.toggle_step_first").height();e&&e>n&&(n=e)}),e.find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".column_description").height(n)})}})}function arp_column_wrapper_height(e){jQuery(".arp_template_main_container").each(function(){var r=jQuery(this),t=r.attr("data-reference-template"),i=r.attr("data-mobile-width"),a=r.attr("data-is-animated"),n=r.attr("data-hover-type"),p=jQuery(window).width(),o=r.attr("data-column-wrapper-width-arr"),s=r.attr("data-column-wrapper-highlighted-height"),l=r.attr("data-column-wrapper-default-height");l=parseInt(l),o=parseInt(o),s=parseInt(s);var u=0;r.find(".ArpPricingTableColumnWrapper:visible").each(function(){jQuery(this).css("height","auto"),p>i?(0==a?jQuery(this).css("margin-bottom","20px"):jQuery(this).css("margin-bottom","40px"),r.parents().hasClass("widget_arp_widget")&&(0==a?jQuery(this).css("margin-bottom","10px"):jQuery(this).css("margin-bottom","30px"))):0==a?jQuery(this).css("margin-bottom","10px"):jQuery(this).css("margin-bottom","30px");var t=jQuery(this).height();void 0!==e&&navigator.userAgent.toLowerCase().indexOf("safari/")>-1&&(t=jQuery(this).find(".arp_column_content_wrapper").height()),"hover_effect"==n&&!1===jQuery(this).hasClass("column_highlight")?t>u&&(u=t+o):"hover_effect"==n&&!0===jQuery(this).hasClass("column_highlight")?(t>u&&(u=t),0>o&&(u=t+o),u-=s):t>u&&(u=jQuery(this).height()+l)}),"arptemplate_25"===t&&(u-=s),0==a&&r.find(".ArpPricingTableColumnWrapper:visible").each(function(){"arptemplate_9"===t&&jQuery(this).hasClass("maincaptioncolumn")&&jQuery(window).width()<420?(jQuery(this).find(".arpcaptiontitle").css("margin-top","0px"),jQuery(this).find(".arpcolumnheader").css("min-height","0px"),jQuery(this).css("height",jQuery(this).height()+25+"px")):jQuery(this).css("height",u+"px")})})}function set_slider_height(){if(0===jQuery(".arp_responsive_array_front").length)return!1;var e=jQuery.parseJSON(jQuery(".arp_responsive_array_front").html()),r=e.slider_types;jQuery(".caroufredsel_wrapper").length>0&&setTimeout(function(){jQuery(".arp_template_main_container").each(function(){var e=jQuery(this),t=e.find(".ArpPriceTable").attr("data-animate");if(t&&"true"==t){var i=jQuery(this).find("#arp_ref_template").val(),a=0;e.find(".ArpPricingTableColumnWrapper:not(.maincaptioncolumn)").each(function(){jQuery(this).is(":visible")&&jQuery(this).height()&&jQuery(this).height()>0&&0==a&&(a=parseInt(jQuery(this).outerHeight())>parseInt(jQuery(this).height())?parseInt(jQuery(this).outerHeight())+44:jQuery(".arp_allcolumnsdiv").outerHeight()+24)}),r.type_1.indexOf(i)>-1?a+=2:r.type_2.indexOf(i)>-1?a+=16:r.type_3.indexOf(i)>-1?a+=24:r.type_4.indexOf(i)>-1&&(a+=36),a>0&&jQuery(".caroufredsel_wrapper",this).height(a)}})},10)}function adjust_template_footer_height(){jQuery(".arp_template_main_container").each(function(){var e=0;jQuery(this).find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arp_btn_before_content").is(":visible")===!0?e++:jQuery(this).find(".arp_btn_after_content").is(":visible")===!0&&e++}),jQuery(this).find(".ArpPricingTableColumnWrapper").each(function(){if(e>0&&!jQuery(this).find(".arp_btn_before_content").is(":visible")){var r=jQuery(this).attr("data-column-footer-position");0==r?(jQuery(this).find(".arpcolumnfooter").addClass("has_footer_content").addClass("footer_below_content"),jQuery(this).find(".arpcolumnfooter").find(".arp_btn_after_content").css("display","block")):1==r&&(jQuery(this).find(".arpcolumnfooter").addClass("has_footer_content").addClass("footer_above_content"),jQuery(this).find(".arpcolumnfooter").find(".arp_btn_before_content").css("display","block"))}}),e>0&&jQuery(this).find(".ArpPricingTableColumnWrapper.maincaptioncolumn").find(".arpcolumnfooter").addClass("has_footer_content")})}function arprice_toggle_content(e,r){var t=jQuery(e).val(),i=jQuery(e).parents(".arp_template_main_container").attr("data-arp-template"),a=jQuery(e).parents(".arp_template_main_container").attr("data-reference-template"),n=jQuery(e).parents(".arp_template_main_container").attr("data-is-price-animation");"two_step_one"==r&&(r=".toggle_step_first"),"two_step_two"==r&&(r=".toggle_step_second"),"two_step_three"==r&&(r=".toggle_step_third"),"two_step_one"==t&&(jQuery("."+i).find(".toggle_step_second").css("display","none"),jQuery("."+i).find(".arp_row_description_text.toggle_step_second").removeClass("arp_row_toggle_selected"),jQuery("."+i).find(".toggle_step_third").css("display","none"),jQuery("."+i).find(".arp_row_description_text.toggle_step_third").removeClass("arp_row_toggle_selected"),jQuery("."+i).find(".toggle_step_first").fadeIn(1e3),"arptemplate_26"===a&&jQuery("."+i).find(".bestPlanTitle.toggle_step_first").css("display","inline-block"),"arptemplate_21"===a&&jQuery("."+i).find(".arp_price_wrapper_text.toggle_step_first").css("display","inline-block"),jQuery("."+i).find(".arp_row_description_text.toggle_step_first").addClass("arp_row_toggle_selected"),jQuery("."+i).find(".toggle_step_first").find(".arp_price_amount").each(function(){var e=jQuery(this).text(),t=jQuery(this).parents(".arp_price_wrapper").attr("data-column"),a=jQuery("."+i).find("#"+t).find(r).find(".arp_price_amount").text();null!=e&&"1"===n&&arp_animate_number(i,t,"toggle_step_first",e,a)})),"two_step_two"==t&&(jQuery("."+i).find(".toggle_step_first").css("display","none"),jQuery("."+i).find(".arp_row_description_text.toggle_step_first").removeClass("arp_row_toggle_selected"),jQuery("."+i).find(".toggle_step_third").css("display","none"),jQuery("."+i).find(".arp_row_description_text.toggle_step_third").removeClass("arp_row_toggle_selected"),jQuery("."+i).find(".toggle_step_second").fadeIn(1e3),"arptemplate_26"===a&&jQuery("."+i).find(".bestPlanTitle.toggle_step_second").css("display","inline-block"),"arptemplate_21"===a&&jQuery("."+i).find(".arp_price_wrapper_text.toggle_step_second").css("display","inline-block"),jQuery("."+i).find(".arp_row_description_text.toggle_step_second").addClass("arp_row_toggle_selected"),jQuery("."+i).find(".toggle_step_second").find(".arp_price_amount").each(function(){var e=jQuery(this).text(),t=jQuery(this).parents(".arp_price_wrapper").attr("data-column"),a=jQuery("."+i).find("#"+t).find(r).find(".arp_price_amount").text();null!=e&&"1"===n&&arp_animate_number(i,t,"toggle_step_second",e,a)})),"two_step_three"==t&&(jQuery("."+i).find(".toggle_step_first").css("display","none"),jQuery("."+i).find(".arp_row_description_text.toggle_step_first").removeClass("arp_row_toggle_selected"),jQuery("."+i).find(".toggle_step_second").css("display","none"),jQuery("."+i).find(".arp_row_description_text.toggle_step_second").removeClass("arp_row_toggle_selected"),jQuery("."+i).find(".toggle_step_third").fadeIn(1e3),"arptemplate_26"===a&&jQuery("."+i).find(".bestPlanTitle.toggle_step_third").css("display","inline-block"),"arptemplate_21"===a&&jQuery("."+i).find(".arp_price_wrapper_text.toggle_step_third").css("display","inline-block"),jQuery("."+i).find(".arp_row_description_text.toggle_step_third").addClass("arp_row_toggle_selected"),jQuery("."+i).find(".toggle_step_third").find(".arp_price_amount").each(function(){var e=jQuery(this).text(),t=jQuery(this).parents(".arp_price_wrapper").attr("data-column"),a=jQuery("."+i).find("#"+t).find(r).find(".arp_price_amount").text();null!=e&&"1"===n&&arp_animate_number(i,t,"toggle_step_third",e,a)})),setTimeout(function(){remove_column_height(),arp_hide_blank_rows(),arp_header_title_responsive(),arp_short_code_responsive(),arp_price_wrapper_responsive(),arp_column_desc_responsive(),set_best_plan_button_height(),adjust_column_height(),arp_column_wrapper_height("arp_toggle"),set_slider_height()},1e3)}function arp_animate_number(e,r,t,i,a){a>=i?jQuery("."+e).find("#"+r).find("."+t).find(".arp_price_amount").prop("number",a).stop().animateNumber({number:i,numberStep:function(e,r){var t=jQuery(r.elem),n=arp_isInt(i);e="no"==n?e.toFixed(0):e.toFixed(2),t.prop("number",a).text(e)}},1e3):jQuery("."+e).find("#"+r).find("."+t).find(".arp_price_amount").prop("number",a).animateNumber({number:i,numberStep:function(e,r){var t=jQuery(r.elem),n=arp_isInt(i);e="no"==n?e.toFixed(0):e.toFixed(2),t.prop("number",a).text(e)}},1e3)}function arp_isInt(e){return-1===e.indexOf(".")?"no":"yes"}function arp_hide_blank_rows(){jQuery(".arp_template_main_container").each(function(){var e=(jQuery(this).attr("data-reference-template"),jQuery(this)),r=jQuery(this).attr("data-hide-blank-rows");"yes"==r&&e.find(".ArpPricingTableColumnWrapper").find(".arppricingtablebodycontent").each(function(){jQuery(this).find("ul li").removeClass("arp_hide_bottom_blank_row").show(),jQuery(this).find("ul li").reverse().each(function(){return ArpisBlank(jQuery(this).children(":visible").text())?void jQuery(this).hide():(jQuery(this).show(),!1)})})})}function ArpisBlank(e){return!e||/^\s*$/.test(e)}function arprice_redirection_handler(e,r,t,i,a){if(1==e)jQuery(r).parent().find(".arp_paypal_form").find("form").submit(),jQuery(r).parent().find(".arp_paypal_form").find("button").trigger("click"),jQuery(r).parent().find(".arp_paypal_form").find('input[type="button"]').trigger("click"),jQuery(r).parent().find(".arp_paypal_form").find('input[type="submit"]').trigger("click"),"#"!=jQuery(r).parent().find(".arp_paypal_form").find("a").attr("href")&&"undefined"!=typeof jQuery(r).parent().find(".arp_paypal_form").find("a").attr("href")&&(location.href=jQuery(r).parent().find(".arp_paypal_form").find("a").attr("href")),jQuery(r).parent().find(".arp_paypal_form").find("a").trigger("click");else{var n=(jQuery(r).attr("data-is-post-variables"),jQuery(r).attr("data-post-variables"));n=n.replace(/:/g,"="),n=n.replace(/;/g,"&"),n=n.replace(/&+$/,""),"#"!=t&&""!=t&&(t=t.indexOf("?")>-1?""!=n?t+"&"+n:t:""!=n?t+"?"+n:t),/^https?:\/\//i.test(t)||"#"==t||""==t||(t="http://"+t),"1"==i||"1"==a&&"1"==i||"1"==a&&"1"!=i||(location.href=t)}}function arp_short_code_responsive(){jQuery(".arp_template_main_container").each(function(){var e="",r=0,t=jQuery(this).attr("data-reference-template");if("arptemplate_8"===t)e=".arp_header_shortcode";else if("arptemplate_26"===t||"arptemplate_2"===t)e=".arp_rounded_shortcode_wrapper";else{if("arptemplate_4"!==t)return;e=".arpcolumnheader"}jQuery(this).find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(e).css("height","auto")}),jQuery(this).find(".ArpPricingTableColumnWrapper").each(function(){var t=jQuery(this).find(e).height();t&&t>r&&(r=jQuery(this).find(e).height())}),jQuery(this).find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(e).height(r)})})}jQuery(document).ready(function(){if(0===jQuery(".arp_responsive_array_front").length)return!1;if(jQuery("#arp_carturl").length){var e=window.location.href;e.match(/add-to-cart/i)&&jQuery("#arp_carturl").length&&(location.href=jQuery("#arp_carturl").val())}jQuery(".arp_template_main_container").each(function(){var e=(jQuery(this),jQuery(this).attr("data-is-display-tooltip"));1!=e&&void 0!==e&&jQuery(".ArpPricingTableColumnWrapper").tipso({speed:400,background:"#55b555",titleBackground:"#333333",color:"#ffffff",titleColor:"#ffffff",showArrow:!0,position:"top",width:200,height:30,delay:50,tooltipHover:!0,content:'Unlicensed Copy. Get you activation / Purchase code from <a href="http://codecanyon.net/item/arprice-ultimate-compare-pricing-table-plugin/10049883?ref=reputeinfosystems" target="_blank">here</a>'})}),jQuery(".arp_tooltip_settings").each(function(){var e=jQuery(this),r=e.attr("data-template-id"),t=e.attr("data-tooltip-bgcolor"),i=e.attr("data-tooltip-width"),a=e.attr("data-tooltip-trigger-type"),n=e.attr("data-tooltip-color"),p=e.attr("data-tooltip-position"),o=e.attr("data-animation-in"),s=e.attr("data-animation-out"),l=e.attr("data-tooltip-display-style");i=0==i?"auto":i,"hover"===a?("default"===l?jQuery(".arp_price_table_"+r+"  .arp_tooltip").tipso({
width:i,background:t,color:n,position:p,tooltipHover:!0,useTitle:!1,onBeforeShow:function(e,t,i){jQuery(i.tipso_bubble).addClass("arp_tooltip_"+r),jQuery(e[0].tipso_bubble).addClass("arp_tooltip_"+r)},animationIn:o,animationOut:s}):"informative"===l&&jQuery(".arp_price_table_"+r+" label.arp_informative_tooltip:not(.tooltip)").tipso({width:i,background:t,color:n,position:p,tooltipHover:!0,useTitle:!1,onBeforeShow:function(e,t,i){jQuery(i.tipso_bubble).addClass("arp_tooltip_"+r),jQuery(e[0].tipso_bubble).addClass("arp_tooltip_"+r)},animationIn:o,animationOut:s}),jQuery(document).on("mouseout",".arp_tooltip.on_click,.arp_tooltip_li.on_click",function(){jQuery(this).tipso("destroy")})):"click"===a&&("default"===l?jQuery(document).on("click",".arp_price_table_"+r+" .arp_tooltip.on_click",function(){jQuery(this).tipso({width:i,background:t,color:n,position:p,tooltipHover:!0,useTitle:!1,onBeforeShow:function(e,t,i){jQuery(i.tipso_bubble).addClass("arp_tooltip_"+r),jQuery(e[0].tipso_bubble).addClass("arp_tooltip_"+r)},animationIn:o,animationOut:s}),jQuery(this).tipso("show")}):"informative"===l&&jQuery(document).on("click",".arp_price_table_"+r+" label.arp_informative_tooltip.on_click",function(){jQuery(this).tipso({width:i,background:t,color:n,position:p,tooltipHover:!0,useTitle:!1,onBeforeShow:function(e,t,i){jQuery(i.tipso_bubble).addClass("arp_tooltip_"+r),jQuery(e[0].tipso_bubble).addClass("arp_tooltip_"+r)},animationIn:o,animationOut:s}),jQuery(this).tipso("show")}),jQuery(document).on("mouseout","label.arp_informative_tooltip.on_click,.arp_tooltip_li.on_click",function(){jQuery(this).tipso("destroy")}))}),(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i))&&jQuery(".ArpPricingTableColumnWrapper").bind("touchstart",function(){});var r=jQuery("#arp_template_main_container").attr("data-mobile-width");if(""==r)var t=480;else var t=r;width=jQuery(window).width();var i="";width<t?slider(i,1,1,1):slider();var a=jQuery("#is_tbl_preview").val();1==a&&(jQuery("span.ribbontext_1").addClass("ribbontext_preview"),jQuery("span.ribbontext_2").addClass("ribbontext_preview")),array=new Array;var n="";jQuery(".arp_template_main_container").each(function(){n=jQuery(this).attr("data-arp-template"),jQuery("."+n).find(".arp_allcolumnsdiv").find(".ArpPricingTableColumnWrapper").each(function(e){jQuery(this).find(".arpcolumnheader").hasClass("has_arp_shortcode")?array[e]="has_header_scode":array[e]=0})}),default_scode_position=new Array("arptemplate_1","arptemplate_12","arptemplate_5","arptemplate_11"),position_scode_1=new Array("arptemplate_4"),position_scode_2=new Array("arptemplate_3","arptemplate_7","arptemplate_8"),jQuery.inArray(n,default_scode_position)>-1?jQuery.inArray("has_header_scode",array)>-1&&jQuery("."+n).find(".arp_allcolumnsdiv").find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").addClass("has_arp_shortcode"),div=jQuery("<div class='arp_header_shortcode'></div>"),jQuery(this).find(".arpcolumnheader").find("div").hasClass("arp_header_shortcode")||div.insertAfter(jQuery(this).find(".arpcolumnheader").find(".arppricetablecolumntitle"))}):jQuery.inArray(n,position_scode_1)>-1?jQuery.inArray("has_header_scode",array)>-1&&jQuery("."+n).find(".arp_allcolumnsdiv").find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").addClass("has_arp_shortcode"),div=jQuery("<div class='arp_header_shortcode'></div>"),jQuery(this).find(".arpcolumnheader").find("div").hasClass("arp_header_shortcode")||jQuery(this).find(".arpcolumnheader").append(div)}):jQuery.inArray(n,position_scode_2)>-1&&jQuery.inArray("has_header_scode",array)>-1&&jQuery("."+n).find(".arp_allcolumnsdiv").find(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find(".arpcolumnheader").addClass("has_arp_shortcode"),div=jQuery("<div class='arp_header_shortcode'></div>"),jQuery(this).find(".arpcolumnheader").find("div").hasClass("arp_header_shortcode")||jQuery(this).find(".arpcolumnheader").prepend(div)}),"arptemplate_8"==n&&jQuery(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).find("div.arp_header_shortcode").css("min-height","100px")}),arp_get_google_map_front(),setTimeout(function(){remove_column_height(),arp_hide_blank_rows(),arp_header_title_responsive(),arp_short_code_responsive(),arp_price_wrapper_responsive(),arp_column_desc_responsive(),set_best_plan_button_height(),adjust_column_height(),arp_column_wrapper_height(),set_slider_height()},1e3),responsive_template_width_calculation(),jQuery(".ArpPricingTableColumnWrapper").each(function(){jQuery(this).hasClass("column_highlight")?jQuery(this).attr("has_column_highlighted","true"):jQuery(this).attr("has_column_highlighted","false")}),set_slider_height(),adjust_template_footer_height(),width<420&&jQuery(".ArpPricingTableColumnWrapper").each(function(e){(jQuery(this).find(".arp_ribbon_container").hasClass("arp_ribbon_4")||jQuery(this).find(".arp_ribbon_container").hasClass("arp_ribbon_2"))&&e>0&&jQuery(this).css("margin-top","25px"),e++})}),jQuery(window).load(function(){adjust_column_height()}),jQuery(window).resize(function(){if(void 0!==typeof window.orientation&&window.orientation<1)return!1;if(0===jQuery(".arp_responsive_array_front").length)return!1;setTimeout(function(){remove_column_height(),arp_hide_blank_rows(),arp_header_title_responsive(),arp_short_code_responsive(),arp_price_wrapper_responsive(),arp_column_desc_responsive(),set_best_plan_button_height(),adjust_column_height(),arp_column_wrapper_height("resize"),set_slider_height()},1e3);var e=jQuery("#arp_template_main_container").attr("data-mobile-width");if(""==e)var r=480;else var r=e;width=jQuery(window).width();var t="";width<r?slider(t,1,1,1):slider(),set_slider_height(),responsive_template_width_calculation(),width<420&&jQuery(".ArpPricingTableColumnWrapper").each(function(e){(jQuery(this).find(".arp_ribbon_container").hasClass("arp_ribbon_4")||jQuery(this).find(".arp_ribbon_container").hasClass("arp_ribbon_2"))&&e>0&&jQuery(this).css("margin-top","25px"),e++})}),jQuery.isFunction(jQuery().on)?(jQuery(document).on("mouseenter",".ArpPricingTableColumnWrapper",function(){var e=jQuery(this).parents(".ArpPriceTable").first();0==jQuery(this).hasClass("maincaptioncolumn")&&jQuery(e).find(".ArpPricingTableColumnWrapper").removeClass("column_highlight")}),jQuery(document).on("mouseleave",".ArpPricingTableColumnWrapper",function(){jQuery(".ArpPricingTableColumnWrapper").each(function(){var e=jQuery(this).attr("has_column_highlighted");"true"==e&&jQuery(this).addClass("column_highlight")})})):(jQuery(".ArpPricingTableColumnWrapper").on("mouseenter",function(){var e=jQuery(this).parents(".ArpPriceTable").first();0==jQuery(this).hasClass("maincaptioncolumn")&&jQuery(e).find(".ArpPricingTableColumnWrapper").removeClass("column_highlight")}),jQuery(".ArpPricingTableColumnWrapper").on("mouseleave",function(){jQuery(".ArpPricingTableColumnWrapper").each(function(){var e=jQuery(this).attr("has_column_highlighted");"true"==e&&jQuery(this).addClass("column_highlight")})})),jQuery(document).on("click",".arp_header_image_lightbox,.arp_youtube_video_lightbox,.arp_vimeo_video_lightbox,.arp_screenr_video_lightbox,.arp_html5_video_lightbox,.arp_dailymotion_video_lightbox,.arp_metacafe_video_lightbox",function(){var e=jQuery(this),r=jQuery(".arp_video_content"),t="<div class='arp_video_popup_close'></div>";jQuery(".arp_video_content").bPopup({onOpen:function(){r.html(t+e.data("bpopup")||"")},onClose:function(){r.empty()}})}),jQuery(document).on("click",".arp_video_popup_close",function(){jQuery(".arp_video_content").bPopup().close()}),jQuery(document).on("click",".is_column_clickable",function(e){if(!jQuery(e.target).hasClass("bestPlanButton")){var r=jQuery(this).find(".arppricetablebutton").hasClass("hide_default_btn_true"),t=jQuery("#arprice_toggle_content_value").val();if(void 0===t||"two_step_one"===t)var i=jQuery(this).find(".arppricetablebutton.toggle_step_first");if("two_step_two"===t)var i=jQuery(this).find(".arppricetablebutton.toggle_step_second");if("two_step_three"===t)var i=jQuery(this).find(".arppricetablebutton.toggle_step_third");if(r)i.find(".arp_paypal_form").find("form").submit(),i.find(".arp_paypal_form").find("button").trigger("click"),i.find(".arp_paypal_form").find('input[type="button"]').trigger("click"),i.find(".arp_paypal_form").find('input[type="submit"]').trigger("click"),i.find(".arp_paypal_form").find("a").trigger("click"),i.find(".hide_default_btn_true").find("form").submit(),i.find(".hide_default_btn_true").find("button").trigger("click"),i.find(".hide_default_btn_true").find('input[type="button"]').trigger("click"),i.find(".hide_default_btn_true").find('input[type="submit"]').trigger("click"),i.find(".hide_default_btn_true").find("a").trigger("click"),"#"!=i.find(".arp_paypal_form").find("a").attr("href")&&"undefined"!=typeof i.find(".arp_paypal_form").find("a").attr("href")&&(location.href=i.find(".arp_paypal_form").find("a").attr("href")),i.find(".bestPlanButton").trigger("click");else{var t=jQuery("#arprice_toggle_content_value").val();void 0!==t&&"two_step_one"!==t||jQuery(this).find(".arppricetablebutton.toggle_step_first .bestPlanButton").trigger("click"),"two_step_two"===t&&jQuery(this).find(".arppricetablebutton.toggle_step_second .bestPlanButton").trigger("click"),"two_step_three"===t&&jQuery(this).find(".arppricetablebutton.toggle_step_third .bestPlanButton").trigger("click")}}}),jQuery(document).on("click","label.arp_informative_tooltip",function(e){jQuery(this).hasClass("on_click")&&jQuery(this).parents(".arpplan").hasClass("is_column_clickable")&&e.stopPropagation()}),jQuery(document).on("click","span.arp_tooltip",function(e){jQuery(this).hasClass("on_click")&&jQuery(this).parents(".arpplan").hasClass("is_column_clickable")&&e.stopPropagation()}),jQuery.fn.reverse=[].reverse,jQuery(document).on("click",".radio_button_box",function(){var e=jQuery(this).parents(".arp_template_main_container").attr("data-arp-template");jQuery("."+e).find(".radio_button_box").removeClass("selected"),jQuery(this).addClass("selected");var r="fa fa-circle-thin fa-lg",t="fa fa-dot-circle-o fa-lg";jQuery("."+e).find(".radio_button_box").find("span.fa").attr("class",r),jQuery(this).find("span.fa").attr("class",t);var i=jQuery(this).attr("data-value"),a=jQuery("."+e).find("input.switch_front_radio_btn").val();a!=i&&(jQuery("."+e).find("input.switch_front_radio_btn").val(i),arprice_toggle_content("."+e+" input.switch_front_radio_btn",a))}),jQuery(document).on("click",".button_switch_box",function(){var e=jQuery(this).parents(".arp_template_main_container").attr("data-arp-template");jQuery("."+e).find(".button_switch_box").removeClass("selected"),jQuery(this).addClass("selected");var e=jQuery(this).parents(".arp_template_main_container").attr("data-arp-template"),r=jQuery(this).attr("data-value"),t=jQuery("."+e).find("input.switch_front_radio_btn").val();jQuery("."+e).find(".toggle_content_switches").hasClass("arp_three_switch")?"two_step_three"==r?jQuery("."+e).find(".button_switch_box_selected").css("left","66.35%"):"two_step_two"==r?jQuery("."+e).find(".button_switch_box_selected").css("left","33.33%"):jQuery("."+e).find(".button_switch_box_selected").css("left","0.7%"):"two_step_two"==r?jQuery("."+e).find(".button_switch_box_selected").css("left","49.2%"):jQuery("."+e).find(".button_switch_box_selected").css("left","0.7%"),t!=r&&(jQuery("."+e).find("input.switch_front_radio_btn").val(r),arprice_toggle_content("."+e+" input.switch_front_radio_btn",t))}),jQuery(document).on("click",".arp_paypal_form a",function(e){e.stopPropagation()});