/home/lnzliplg/public_html/wp-content/themes/astra/inc/assets/js/minified/customizer-preview.min.js
(n=>{var t=n(document);wp.customize.bind("preview-ready",function(){var i=window.parent===window?null:window.parent;t.on("click",".site-header-focus-item .item-customizer-focus, .builder-item-focus .edit-row-action",function(t){t.preventDefault(),t.stopPropagation();t=n(this).closest(".site-header-focus-item").attr("data-section")||"";t&&i.wp.customize.section(t)&&i.wp.customize.section(t).focus()}),t.on("click",".site-footer-focus-item .item-customizer-focus",function(t){t.preventDefault(),t.stopPropagation();t=n(this).closest(".site-footer-focus-item").attr("data-section")||"";t&&i.wp.customize.section(t)&&i.wp.customize.section(t).focus()}),t.on("click",".customizer-navigate-on-focus",function(t){t.preventDefault(),t.stopPropagation();var t=n(this).closest(".customizer-navigate-on-focus"),e=t.attr("data-section")||"",t=t.attr("data-type")?t.attr("data-type"):"section";e&&t&&("section"===t&&i.wp.customize.section(e)&&i.wp.customize.section(e).focus(),"control"===t&&i.wp.customize.control(e)&&i.wp.customize.control(e).focus(),"panel"===t)&&i.wp.customize.panel(e)&&i.wp.customize.panel(e).focus()}),t.on("click",".ast-quick-tour-item",function(t){t.preventDefault(),t.stopPropagation();var t=n(this),e=t.attr("data-type")?t.attr("data-type"):"section",s=t.attr("data-name")?t.attr("data-name"):"",o=t.attr("data-context")?t.attr("data-context"):"general",a=t.attr("data-reference")?t.attr("data-reference"):"";if(s&&e){switch(e){case"section":i.wp.customize.section(s)&&i.wp.customize.section(s).focus();break;case"control":if(i.wp.customize.control(s)&&(i.wp.customize.control(s).focus(),a))switch(s){case"astra-color-palettes":i.wp.customize.control(s).container.find(".components-button.astra-color-icon-indicate.open").click(),i.wp.customize.control(s).container.find("."+a+" .components-button.astra-color-icon-indicate").click();break;case"astra-settings[ast-headings-font-settings]":case"astra-settings[ast-body-font-settings]":case"astra-settings[ast-heading-h1-typo]":case"astra-settings[ast-heading-h2-typo]":case"astra-settings[ast-heading-h3-typo]":case"astra-settings[ast-heading-h4-typo]":case"astra-settings[ast-heading-h5-typo]":case"astra-settings[ast-heading-h6-typo]":i.wp.customize.control(s).container.find(".ast-adv-toggle-icon.open").click(),i.wp.customize.control(s).container.find("."+a+" .ast-adv-toggle-icon").click()}break;case"panel":i.wp.customize.panel(s)&&i.wp.customize.panel(s).focus()}i.wp.customize.state("astra-customizer-tab").set(o)}}),wp.customize("astra-settings[woo-header-cart-click-action]",function(t){t.bind(function(t){n(document.body).trigger("wc_fragment_refresh")})}),wp.customize.preview.bind("active",function(){var e=n.extend({},astraCustomizer.dynamic_partial_options);(async()=>{for(var t in e)wp.customize.selectiveRefresh.partial.add(new wp.customize.selectiveRefresh.Partial(t,_.extend({params:e[t]},e[t]))),await 0})()})}),wp.customize("astra-settings[logo-title-inline]",function(t){t.bind(function(t){jQuery("#masthead").toggleClass("ast-logo-title-inline",t),jQuery(".ast-sg-logo-section").toggleClass("ast-logo-title-inline",t)})})})(jQuery,wp.customize),wp.customize("astra-settings[blog-single-width]",function(t){t.bind(function(t){var e=wp.customize("astra-settings[blog-single-max-width]").get(),s="";"custom"===t?s=(s+=".single-post .site-content > .ast-container {")+"max-width: "+e+"px;} ":wp.customize.preview.send("refresh"),astra_add_dynamic_css("blog-single-width",s)})}),wp.customize("astra-settings[blog-width]",function(t){t.bind(function(t){var e=wp.customize("astra-settings[blog-max-width]").get(),s="";"custom"===t?s=(s+=".blog .site-content > .ast-container, .archive .site-content > .ast-container, .search .site-content > .ast-container {")+"max-width: "+e+"px;} ":wp.customize.preview.send("refresh"),astra_add_dynamic_css("blog-width",s)})}),wp.customize("astra-settings[edd-archive-grids]",function(t){t.bind(function(t){for(var e=1;e<7;e++)jQuery("body").removeClass("columns-"+e),jQuery("body").removeClass("tablet-columns-"+e),jQuery("body").removeClass("mobile-columns-"+e);jQuery("body").hasClass("ast-edd-archive-page")&&(jQuery("body").addClass("columns-"+t.desktop),jQuery("body").addClass("tablet-columns-"+t.tablet),jQuery("body").addClass("mobile-columns-"+t.mobile))})}),wp.customize("astra-settings[edd-archive-width]",function(t){t.bind(function(t){var e=wp.customize("astra-settings[edd-archive-max-width]").get(),s="",s=(s+=".ast-edd-archive-page .site-content > .ast-container {")+("max-width: "+("custom"===t?e:e+40)+"px;")+"} ";astra_add_dynamic_css("edd-archive-width",s)})}),astra_css("astra-settings[store-notice-text-color]","color","body p.demo_store, body .woocommerce-store-notice, body p.demo_store a, body .woocommerce-store-notice a"),astra_css("astra-settings[store-notice-background-color]","background-color","body p.demo_store, body .woocommerce-store-notice, body p.demo_store a, body .woocommerce-store-notice a"),wp.customize("astra-settings[store-notice-position]",function(t){t.bind(function(t){"hang-over-top"===t?wp.customize.preview.send("refresh"):(jQuery("body").css("margin-top",0),jQuery("body").removeClass("ast-woocommerce-store-notice-hanged"),jQuery(".woocommerce-store-notice").attr("data-position",t))})}),wp.customize("astra-settings[blog-meta-date-type]",function(t){t.bind(function(t){wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[blog-meta-date-format]",function(t){t.bind(function(t){wp.customize.preview.send("refresh")})}),astra_refresh_customizer("astra-settings[blog-hover-effect]"),astra_refresh_customizer("astra-settings[blog-image-ratio-type]"),astra_refresh_customizer("astra-settings[blog-image-size]"),astra_refresh_customizer("astra-settings[blog-image-ratio-pre-scale]"),astra_refresh_customizer("astra-settings[blog-image-custom-scale-width]"),astra_refresh_customizer("astra-settings[blog-image-custom-scale-height]"),astra_refresh_customizer("astra-settings[blog-post-per-page]");