View file File name : customizer-preview.min.js Content :var isIE=!1,isEdge=!1;!function(){function e(){isIE=!!document.documentMode,isEdge=!isIE&&!!window.StyleMedia;var t=astra.masonryEnabled||!1,a=astra.blogMasonryBreakPoint,e=window.getComputedStyle(jQuery("#content")[0],"::before").getPropertyValue("content"),i=(isEdge||isIE||"normal"===e?window.innerWidth>=a&&(e=a):(e=e.replace(/[^0-9]/g,""),e=parseInt(e)),jQuery(".search.blog-masonry #main > div, .blog.blog-masonry #main > div, .archive.blog-masonry #main > div"));e==a?t&&void 0!==i&&0<i.length&&(!!i.data("masonry")?i.masonry("reload"):i.imagesLoaded(i,function(){i.masonry({itemSelector:"#primary article"})})):t&&void 0!==i&&0<i.length&&i.masonry().masonry("destroy")}wp.customize("astra-settings[site-content-width]",function(t){t.bind(function(t){1!=(void 0!==wp.customize._value["astra-settings[blog-grid]"]?wp.customize._value["astra-settings[blog-grid]"]._value:"")&&e()})}),wp.customize("astra-settings[site-layout-outside-bg-color]",function(t){t.bind(function(t){var a;jQuery("body").hasClass("ast-box-layout")?(a="body {background-color: "+t+"}",a+='body:before {content: "";position: fixed;left: 0;right: 0;top: 0;bottom: 0;background: '+t+"}"):a="body {background-color: "+t+"}",astra_add_dynamic_css("site-layout-outside-bg-color",a)})}),wp.customize("astra-settings[site-layout-fluid-lr-padding]",function(t){t.bind(function(t){var a;jQuery("body").hasClass("ast-fluid-width-layout")&&(a=(a="@media (min-width: 769px) {")+(".ast-container,.fl-builder #content .entry-header, .fl-row-fixed-width { padding-left: "+parseInt(t)+"px; padding-right: "+parseInt(t))+"px } article, .main-header-bar, .ast-above-header, .ast-below-header { transition: max-width 0s !important } }",astra_add_dynamic_css("site-layout-fluid-lr-padding",a)),1!=(void 0!==wp.customize._value["astra-settings[blog-grid]"]?wp.customize._value["astra-settings[blog-grid]"]._value:"")&&e()})}),wp.customize("astra-settings[site-layout-box-width]",function(t){t.bind(function(t){jQuery("body").hasClass("ast-box-layout")&&(t="#page, .ast-container, .ast-above-header, .main-header-bar, .ast-below-header, .ast-custom-header, .ast-custom-footer { max-width: "+parseInt(t)+"px; } ",t+="article, .main-header-bar, .ast-above-header, .ast-below-header { transition: max-width 0s !important } ",astra_add_dynamic_css("site-layout-box-width-main",t)),1!=(void 0!==wp.customize._value["astra-settings[blog-grid]"]?wp.customize._value["astra-settings[blog-grid]"]._value:"")&&e()})}),wp.customize("astra-settings[site-layout-box-tb-margin]",function(t){t.bind(function(t){jQuery("body").hasClass("ast-box-layout")&&(t="@media (min-width: 769px ) {#page { margin-top: "+parseInt(t)+"px; margin-bottom: "+parseInt(t)+"px; } } ",astra_add_dynamic_css("site-layout-box-tb-margin",t))})}),astra_responsive_spacing("astra-settings[site-layout-padded-pad]","body","padding",["top","right","bottom","left"]),wp.customize("astra-settings[site-layout-padded-pad]",function(t){t.bind(function(t){var a;t.desktop.top||t.desktop.bottom||t.tablet.top||t.tablet.bottom||t.mobile.top||t.mobile.bottom?(a="article, .main-header-bar, .ast-above-header, .ast-below-header { transition: max-width 0s !important } ",a=(a=(a+=" body.ast-padded-layout::before { height:"+t.desktop.top+t["desktop-unit"]+";} body.ast-padded-layout::after\t{ height:"+t.desktop.bottom+t["desktop-unit"]+";}")+"@media (max-width: 768px) { body.ast-padded-layout::before { height:"+t.tablet.top+t["tablet-unit"]+";} body.ast-padded-layout::after\t{ height:"+t.tablet.bottom+t["tablet-unit"]+"; } }")+"@media (max-width: 544px) { body.ast-padded-layout::before { height:"+t.mobile.top+t["mobile-unit"]+";} body.ast-padded-layout::after\t{ height:"+t.mobile.bottom+t["mobile-unit"]+"; } }",astra_add_dynamic_css("site-layout-padded-padding",a),1!=(void 0!==wp.customize._value["astra-settings[blog-grid]"]?wp.customize._value["astra-settings[blog-grid]"]._value:"")&&e()):wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[site-layout-padded-width]",function(t){t.bind(function(t){var a;""!=t?(jQuery("body").hasClass("ast-padded-layout")&&(a=(a="@media (min-width: 769px) {")+(".ast-container, .site-content > .ast-container, .fl-builder #content .entry-header { max-width: "+(80+parseInt(t)))+"px } article, .main-header-bar, .ast-above-header, .ast-below-header { transition: max-width 0s !important } }",astra_add_dynamic_css("site-layout-padded-width",a)),1!=(void 0!==wp.customize._value["astra-settings[blog-grid]"]?wp.customize._value["astra-settings[blog-grid]"]._value:"")&&e()):wp.customize.preview.send("refresh")})})}(jQuery);