function EditorTourGuide(e){var r=new Tour({storage:!1});r.addSteps([{element:"#arp_allcolumnsdiv",title:"Real Time Editor",content:"Below you can see that your selected template is loaded in editor. Here you can modify it as per your need.",placement:"top",backdrop:!0,orphan:!0,onShown:function(){jQuery("#arp_allcolumnsdiv").css("box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_allcolumnsdiv").css("-webkit-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_allcolumnsdiv").css("-moz-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_allcolumnsdiv").css("-o-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_allcolumnsdiv").css("float","left"),jQuery("#arp_allcolumnsdiv").css("padding-top","10px"),jQuery("#arp_allcolumnsdiv").css("background","#ffffff"),jQuery(".arp_tour").css("margin-top","15px")},onHide:function(){jQuery("#arp_allcolumnsdiv").css("box-shadow",""),jQuery("#arp_allcolumnsdiv").css("-webkit-box-shadow",""),jQuery("#arp_allcolumnsdiv").css("-moz-box-shadow",""),jQuery("#arp_allcolumnsdiv").css("-o-box-shadow",""),jQuery("#arp_allcolumnsdiv").css("float",""),jQuery("#arp_allcolumnsdiv").css("padding",""),jQuery("#arp_allcolumnsdiv").css("background",""),jQuery(".arp_tour").css("margin-top","")},template:"

"},{element:".general_color_opts",title:"Choose color",content:"Select color of your template by clicking the button. you will see color change is applied right away :)",backdrop:!0,orphan:!0,placement:"left",onShown:function(){jQuery("#arp_allcolumnsdiv").css("z-index","999"),jQuery("#arp_allcolumnsdiv").css("position","relative"),jQuery(".general_color_opts").css("box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".general_color_opts").css("-webkit-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".general_color_opts").css("-moz-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".general_color_opts").css("-o-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_allcolumnsdiv").css("box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_allcolumnsdiv").css("-webkit-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_allcolumnsdiv").css("-moz-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_allcolumnsdiv").css("-o-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_allcolumnsdiv").css("float","left"),jQuery("#arp_allcolumnsdiv").css("padding-top","10px"),jQuery("#arp_allcolumnsdiv").css("background","#ffffff");var e=jQuery(".general_color_opts").outerWidth();e+=60;var r="right";jQuery("body").hasClass("rtl")&&(r="left",jQuery(".arp_tour").removeClass("left"),jQuery(".arp_tour").addClass("right"),jQuery(".popover.tour.arp_tour.tour-tour.tour-tour-1.fade.right.in").css(r,e+"px"),jQuery(".arp_tour").find(".arrow").css("top","12%"),jQuery(".arp_tour").find(".arrow").css("right","385px"))},onHide:function(){jQuery("#arp_allcolumnsdiv").css("z-index",""),jQuery("#arp_allcolumnsdiv").css("position",""),jQuery(".general_color_opts").css("box-shadow",""),jQuery(".general_color_opts").css("-webkit-box-shadow",""),jQuery(".general_color_opts").css("-moz-box-shadow",""),jQuery(".general_color_opts").css("-o-box-shadow",""),jQuery("#arp_allcolumnsdiv").css("box-shadow",""),jQuery("#arp_allcolumnsdiv").css("-webkit-box-shadow",""),jQuery("#arp_allcolumnsdiv").css("-moz-box-shadow",""),jQuery("#arp_allcolumnsdiv").css("-o-box-shadow",""),jQuery("#arp_allcolumnsdiv").css("float",""),jQuery("#arp_allcolumnsdiv").css("padding",""),jQuery("#arp_allcolumnsdiv").css("background","")},template:"

"},{element:"#main_column_0",title:"Column level changes",content:"Hover on the column and you will see option bar on the top of the column. hover on the header area to see options for header part.",backdrop:!0,orphan:!0,placement:"right",onShown:function(){jQuery("#main_column_0").trigger("mouseover"),jQuery("#arp_allcolumnsdiv").addClass("no_arp_tour_hover"),jQuery("#main_column_0").css("box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#main_column_0").css("-webkit-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#main_column_0").css("-moz-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#main_column_0").css("-o-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#main_column_0").css("z-index","999"),jQuery(".tour-backdrop").css("z-index","99"),jQuery(".tour-step-background").removeAttr("style"),jQuery("body").scrollTop(100),jQuery("body").hasClass("rtl")&&(jQuery(".arp_tour").find(".arrow").css("right","385px"),jQuery(".tour-backdrop.right").css("width","100%"))},onHide:function(){jQuery("#arp_allcolumnsdiv").removeClass("no_arp_tour_hover"),jQuery("#main_column_0").css("box-shadow",""),jQuery("#main_column_0").css("-webkit-box-shadow",""),jQuery("#main_column_0").css("-moz-box-shadow",""),jQuery("#main_column_0").css("-o-box-shadow",""),jQuery("#main_column_0").css("z-index","")},template:"

"},{element:"#main_column_0",title:"Pricing area change",content:"Set pricing and its interval from this area.",backdrop:!0,orphan:!0,placement:"right",onShown:function(){jQuery("#arp_allcolumnsdiv").addClass("no_arp_tour_hover"),jQuery("#main_column_0").addClass("ArpPricingTableColumnWrapper_inner_selected selected"),jQuery("#main_column_0").css("z-index","9999"),jQuery("#main_column_0").trigger("mouseover"),jQuery("#main_column_0").find(".arppricetablecolumnprice").trigger("mouseover"),jQuery(".tour-step-background").removeAttr("style"),jQuery("body").hasClass("rtl")&&(jQuery(".arp_tour").find(".arrow").css("right","385px"),jQuery(".tour-backdrop.right").css("width","100%"))},onHide:function(){jQuery("#arp_allcolumnsdiv").removeClass("no_arp_tour_hover"),jQuery("#main_column_0").removeClass("ArpPricingTableColumnWrapper_inner_selected selected"),jQuery("#main_column_0").css("z-index","")},template:"

"},{element:"#preview_btn",title:"Preview button",content:"click 'Next' or 'Preview' button to view your applied changes in separate responsive tab.",backdrop:!0,orphan:!0,placement:"bottom",onNext:function(e){jQuery("#preview_btn").css("box-shadow",""),jQuery("#preview_btn").css("-webkit-box-shadow",""),jQuery("#preview_btn").css("-moz-box-shadow",""),jQuery("#preview_btn").css("-o-box-shadow",""),jQuery("#preview_btn").addClass("DisplayTourGuide"),jQuery("#preview_btn").trigger("click"),jQuery("#arp_allcolumnsdiv").addClass("no_arp_tour_hover"),e.end()},onShown:function(){jQuery("body").hasClass("rtl")&&(jQuery(".arp_tour").find(".arrow").css("right","80%"),jQuery(".arp_tour").find(".arrow").css("left","unset !important")),jQuery("#preview_btn").addClass("DisplayTourGuide")},template:"

"}]),setTimeout(function(){r.init(),r.start(),e>0&&r.goTo(e)},1e3)}function previewTour(e){var r=new Tour({storage:!1});r.addSteps([{element:"#mobile_icon",title:"Change views",content:"Hit Next or Mobile button to view pricing table preview in mobile view.",backdrop:!0,orphan:!0,placement:"bottom",onShown:function(){jQuery("#preview_btn").removeClass("DisplayTourGuide"),jQuery("#mobile_icon").addClass("DisplayTourGuide");var e="left";jQuery("body").hasClass("rtl")&&(e="right"),jQuery(window).width()>1900&&(jQuery(".popover.tour.arp_tour.tour-tour.tour-tour-0.fade.bottom.in").css(e,"410px"),jQuery(".popover.tour.arp_tour.tour-tour.tour-tour-0.fade.bottom.in").css("top","97px")),jQuery("body").hasClass("rtl")&&(jQuery(".arp_tour_preview").find(".arrow").css("right","57%"),jQuery(".arp_tour_preview").find(".arrow").css("left","unset !important"))},onNext:function(){jQuery("#mobile_icon").trigger("click")},onPrev:function(e){EditorTourGuide(4),jQuery("#arp_pricing_table_preview .b-close").trigger("click"),e.end()},template:"

"},{element:"#mobile_icon",title:"Mobile View",content:"Click 'Next' or close button to get back to editor area.",backdrop:!0,orphan:!0,placement:"bottom",onShown:function(){jQuery("#preview_btn").removeClass("DisplayTourGuide"),jQuery("body").hasClass("rtl")&&(jQuery(".arp_tour_preview").find(".arrow").css("right","78%"),jQuery(".arp_tour_preview").find(".arrow").css("left","unset !important")),jQuery(window).width()>1900&&jQuery(".popover.tour.arp_tour_preview.tour-tour.fade.bottom.in").css("top","97px")},onNext:function(e){AnimationTours(),jQuery("#arp_pricing_table_preview .b-close").trigger("click"),e.end()},onPrev:function(){jQuery("#computer_icon").trigger("click")},template:"

"}]),setTimeout(function(){r.init(),r.start(),e>0&&r.goTo(e)},1e3)}function AnimationTours(){var e=new Tour({storage:!1});e.addSteps([{element:".arprice_options_menu_belt",title:"General settings",content:"All the template level options like column options, animation effects, tooltip settings etc can be changed in general setting area.",backdrop:!0,orphan:!0,placement:"bottom",onShown:function(){jQuery("#preview_btn").removeClass("DisplayTourGuide"),jQuery(".arprice_options_menu_belt").css("box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".arprice_options_menu_belt").css("-webkit-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".arprice_options_menu_belt").css("-moz-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".arprice_options_menu_belt").css("-o-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".arprice_options_menu_belt").css("margin","0 4px 0 4px"),jQuery(".arprice_options_menu_belt").css("width","100%");var e=jQuery("#column_options").width(),r=jQuery("#column_effects").width(),o=jQuery("#tootip_options").width(),t=jQuery("#custom_css_options").width(),a=jQuery("#toggle_content_options").width(),s=jQuery("#all_font_options").width();parseInt(e)+parseInt(r)+parseInt(o)+parseInt(t)+parseInt(a)+parseInt(s);jQuery(".arprice_options_menu_belt").css("background","#ffffff"),jQuery("body").hasClass("rtl")&&(jQuery(".arp_tour_preview").css("right","20%"),jQuery(".arp_tour_preview").find(".arrow").css("right","60%"),jQuery(".arp_tour_preview").find(".arrow").css("left","unset !important"))},onHide:function(){jQuery(".arprice_options_menu_belt").css("box-shadow",""),jQuery(".arprice_options_menu_belt").css("-webkit-box-shadow",""),jQuery(".arprice_options_menu_belt").css("-moz-box-shadow",""),jQuery(".arprice_options_menu_belt").css("-o-box-shadow",""),jQuery(".arprice_options_menu_belt").css("margin",""),jQuery(".arprice_options_menu_belt").css("width",""),jQuery(".arprice_options_menu_belt").css("background",""),jQuery(".arp_tour_preview").css("margin-left","-25%"),jQuery(".arprice_top_belt_menu_right").show()},onNext:function(){jQuery("#arp_shortcode").css("background","transparent !important"),jQuery(".arp_shortcode_main.arp_shortcode").show(),jQuery("#save_btn").trigger("click"),jQuery("#arp_shortcode").trigger("click")},onPrev:function(e){jQuery(".arprice_options_menu_belt").css("box-shadow",""),jQuery(".arprice_options_menu_belt").css("-webkit-box-shadow",""),jQuery(".arprice_options_menu_belt").css("-moz-box-shadow",""),jQuery(".arprice_options_menu_belt").css("-o-box-shadow",""),jQuery(".arprice_options_menu_belt").css("margin",""),jQuery(".arprice_options_menu_belt").css("width",""),jQuery(".arprice_options_menu_belt").css("background",""),jQuery("#preview_btn").addClass("DisplayTourGuide"),jQuery("#preview_btn").trigger("click"),e.end()},template:"

"},{element:".arp_shortcode_main.arp_shortcode",title:"Finish",content:"Once you click save button all your changes will be saved as clone of existing template. you can right away copy short code and put it on page.
Thank you",backdrop:!0,orphan:!0,placement:"bottom",onShown:function(){jQuery(".arp_shortcode_main.arp_shortcode").show(),jQuery(".arp_shortcode_main.arp_shortcode").css("box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".arp_shortcode_main.arp_shortcode").css("-webkit-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".arp_shortcode_main.arp_shortcode").css("-moz-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".arp_shortcode_main.arp_shortcode").css("-o-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery(".arp_shortcode_main.arp_shortcode").css("background","transparent"),jQuery(".arp_shortcode_main.arp_shortcode").css("height","45px"),jQuery(".arp_shortcode_main.arp_shortcode").css("top","5px"),jQuery(window).width()>1599&&jQuery(".arp_shortcode_main.arp_shortcode").css("height","50px"),jQuery("body").hasClass("rtl")&&(jQuery(".arp_tour_preview").find(".arrow").css("right","57%"),jQuery(".arp_tour_preview").find(".arrow").css("left","unset !important"))},onHide:function(){jQuery(".arprice_options_menu_belt").css("box-shadow",""),jQuery(".arprice_options_menu_belt").css("-webkit-box-shadow",""),jQuery(".arprice_options_menu_belt").css("-moz-box-shadow",""),jQuery(".arprice_options_menu_belt").css("-o-box-shadow","")},onNext:function(e){e.end(),window.location.href="admin.php?page=arpricelite"},template:"

"}]),setTimeout(function(){e.init(),e.start()},1e3)}jQuery(document).ready(function(){var e=jQuery("#arp_tour_guide_start"),r=new Tour({storage:!1,onStart:function(){var o=jQuery(".arprice_editable_template_container").length;return o>3?(jQuery("#arplite_save_table_notice_editor").bPopup(),void r.end()):e.addClass("disabled",!0)},onEnd:function(){e.removeClass("disabled",!0)}}),o="
";o+="

",o+="
",o+="",o+="",o+="
",o+="
",r.addSteps([{element:"#arp_template_8",title:"Choose your template",content:"Click 'Next' button to clone selected template.",placement:"bottom",backdrop:!0,orphan:!0,onShown:function(){jQuery("#arprice_templates").hasClass("arp_active")&&jQuery("#arprice_templates").removeClass("arp_active"),0==jQuery("#arp_create_new_template").hasClass("arp_active")&&jQuery("#arp_create_new_template").addClass("arp_active"),jQuery(".arprice_select_template_container_item").css("z-index","0"),jQuery("#arp_template_8").trigger("click"),jQuery("#arp_template_8").css("background","#ffffff"),jQuery("#arp_template_8").css("box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_template_8").css("-webkit-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_template_8").css("-moz-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_template_8").css("-o-box-shadow","0 0 0 4px rgba(79, 213, 214,1)"),jQuery("#arp_template_8").css("z-index","9999"),jQuery("#arp_template_8 .arprice_select_template_bg_img").addClass("arp_tour_guide_template_active"),jQuery(".tour-step-background").removeAttr("style");var e="left";jQuery("body").hasClass("rtl")&&(e="right"),jQuery(".popover.tour.arp_tour.tour-tour.tour-tour-0.fade.bottom.in").css(e,"541px"),jQuery(".popover.tour.arp_tour.tour-tour.tour-tour-0.fade.bottom.in").find(".arrow").css(e,"50%"),jQuery(window).width()>1599&&jQuery(window).width()<1900&&jQuery(".popover.tour.arp_tour.tour-tour.tour-tour-0.fade.bottom.in").css(e,"630px"),jQuery(window).width()>1900&&jQuery(".popover.tour.arp_tour.tour-tour.tour-tour-0.fade.bottom.in").css(e,"190px")},onHide:function(){jQuery(".arprice_select_template_container_item").css("z-index","999"),jQuery("#arp_template_8").css("background",""),jQuery("#arp_template_8").css("box-shadow",""),jQuery("#arp_template_8").css("-webkit-box-shadow",""),jQuery("#arp_template_8").css("-moz-box-shadow",""),jQuery("#arp_template_8").css("-o-box-shadow","")},onNext:function(e){jQuery(".arprice_select_template_container_item").css("z-index","999");var r=jQuery("#arp_template_8").find("#clone_template").attr("data-url"),o=r,t=o+"&tour_guid=true",a=t;jQuery("#arp_template_8").find("#clone_template").attr("data-url",a),jQuery("#arp_template_8").find("#clone_template").trigger("click"),e.end()},template:o}]),r.init();var t=/(tour_guid=true)/gi,a=window.location.href;t.test(a)&&EditorTourGuide(0),jQuery("#arp_tour_guide_model #nav_style_close").click(function(){var e=jQuery("#ajaxurl").val(),o="arp_tour_guide_start_no";jQuery.ajax({url:e,type:"POST",data:"action=update_arplite_tour_guide_value&arp_tour_guide_value="+o,success:function(e){"1"==e&&(jQuery("#arp_tour_guide_start").trigger("click"),jQuery("#arp_tour_guide_model").removeClass("arp_active"),r.start())}})}),jQuery(".arp_tour_guide_start_model").click(function(){var e=jQuery("#ajaxurl").val(),o=jQuery(this).attr("id");jQuery.ajax({url:e,type:"POST",data:"action=update_arplite_tour_guide_value&arp_tour_guide_value="+o,success:function(e){"1"==e&&(jQuery("#arp_tour_guide_start").trigger("click"),jQuery("#arp_tour_guide_model").removeClass("arp_active"),r.start())}})}),jQuery(document).on("click","#arp_tour_guide_start",function(e){e.preventDefault(),jQuery(".arprice_download_sample_container").hasClass("arp_active")?(jQuery(".arprice_download_sample_container").removeClass("arp_active"),jQuery(".arprice_select_template_container").addClass("arp_active"),jQuery(".arprice_select_template_container.arp_active").find(".arprice_select_template_list_container").show()):(jQuery(".arprice_new_template_box.arp_create_new").trigger("click"),jQuery(".arprice_select_template_container_item").css("z-index","0")),jQuery("html").scrollTop(500),jQuery(this).hasClass("disabled")||r.restart()});var s=jQuery("#arp_tour_guide_value").val();"yes"==s&&setTimeout(function(){jQuery("#arp_tour_guide_model").bPopup()},1e3)});