function astra_dynamic_build_css(r,n,i,c,t=!1){var o=AstraPostStrcturesData.tablet_break_point||768,d=AstraPostStrcturesData.mobile_break_point||544,y=t||"";wp.customize(n,function(t){t.bind(function(t){var a,e,s;t.desktop||t.mobile||t.tablet?(n=(n=n.replace("[","-")).replace("]",""),jQuery("style#"+n+"-dynamic-preview-css").remove(),(s=e=a="")!=t.desktop&&(a=i+": "+t.desktop),""!=t.tablet&&(e=i+": "+t.tablet),""!=t.mobile&&(s=i+": "+t.mobile),jQuery("head").append('")):jQuery("style#"+n+"-"+r).remove()})})}function astra_refresh_customizer(t){wp.customize(t,function(t){t.bind(function(t){wp.customize.preview.send("refresh")})})}(()=>{for(var t=AstraPostStrcturesData.post_types.length||!1,s=AstraPostStrcturesData.post_types||[],a=AstraPostStrcturesData.special_pages.length||!1,e=AstraPostStrcturesData.special_pages||[],r=AstraPostStrcturesData.tablet_break_point||768,n=AstraPostStrcturesData.mobile_break_point||544,i=0;i *:not(:last-child), body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container > *:not(:last-child), header.entry-header .read-more, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .read-more',"px"),astra_css("astra-settings[ast-dynamic-single-"+c+"-banner-text-color]","color",'header.entry-header *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container *'),astra_css("astra-settings[ast-dynamic-single-"+c+"-banner-title-color]","color",'header.entry-header .entry-title, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-title'),astra_css("astra-settings[ast-dynamic-single-"+c+"-banner-link-color]","color",'body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container a, header.entry-header a, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container a *, header.entry-header a *'),astra_css("astra-settings[ast-dynamic-single-"+c+"-banner-link-hover-color]","color",'body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container a:hover, header.entry-header a:hover, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container a:hover *, header.entry-header a:hover *'),astra_responsive_spacing("astra-settings[ast-dynamic-single-"+c+"-banner-padding]",'body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container',"padding",["top","right","bottom","left"]),astra_responsive_spacing("astra-settings[ast-dynamic-single-"+c+"-banner-margin]",'body .ast-single-entry-banner[data-post-type="'+c+'"]',"margin",["top","right","bottom","left"]),astra_generate_outside_font_family_css("astra-settings[ast-dynamic-single-"+c+"-title-font-family]",' header.entry-header .entry-title, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-title'),astra_generate_font_weight_css("astra-settings[ast-dynamic-single-"+c+"-title-font-family]","astra-settings[ast-dynamic-single-"+c+"-title-font-weight]","font-weight",' header.entry-header .entry-title, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-title'),astra_css("astra-settings[ast-dynamic-single-"+c+"-title-font-weight]","font-weight",' header.entry-header .entry-title, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-title'),astra_responsive_font_size("astra-settings[ast-dynamic-single-"+c+"-title-font-size]",' header.entry-header .entry-title, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-title'),astra_font_extras_css("ast-dynamic-single-"+c+"-title-font-extras",' header.entry-header .entry-title, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-title'),astra_generate_outside_font_family_css("astra-settings[ast-dynamic-single-"+c+"-text-font-family]",' header.entry-header *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container *'),astra_generate_font_weight_css("astra-settings[ast-dynamic-single-"+c+"-text-font-family]","astra-settings[ast-dynamic-single-"+c+"-text-font-weight]","font-weight",' header.entry-header *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container *'),astra_css("astra-settings[ast-dynamic-single-"+c+"-text-font-weight]","font-weight",' header.entry-header *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container *'),astra_responsive_font_size("astra-settings[ast-dynamic-single-"+c+"-text-font-size]",' header.entry-header *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container *'),astra_font_extras_css("ast-dynamic-single-"+c+"-text-font-extras",' header.entry-header *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container *'),astra_generate_outside_font_family_css("astra-settings[ast-dynamic-single-"+c+"-meta-font-family]",' header.entry-header .entry-meta, header.entry-header .entry-meta *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta *'),astra_generate_font_weight_css("astra-settings[ast-dynamic-single-"+c+"-meta-font-family]","astra-settings[ast-dynamic-single-"+c+"-meta-font-weight]","font-weight",' header.entry-header .entry-meta, header.entry-header .entry-meta *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta *'),astra_css("astra-settings[ast-dynamic-single-"+c+"-meta-font-weight]","font-weight",' header.entry-header .entry-meta, header.entry-header .entry-meta *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta *'),astra_responsive_font_size("astra-settings[ast-dynamic-single-"+c+"-meta-font-size]",' header.entry-header .entry-meta, header.entry-header .entry-meta *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta *'),astra_font_extras_css("ast-dynamic-single-"+c+"-meta-font-extras",' header.entry-header .entry-meta, header.entry-header .entry-meta *, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta, body .ast-single-entry-banner[data-post-type="'+c+'"] .ast-container .entry-meta *')}for(i=0;i *:not(:last-child), body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container > *:not(:last-child)',"px"),astra_css("astra-settings[ast-dynamic-archive-"+c+"-banner-text-color]","color",'body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container *, '+y+" .ast-archive-description *"),astra_css("astra-settings[ast-dynamic-archive-"+c+"-banner-title-color]","color",'body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container h1, '+y+' .ast-archive-description .ast-archive-title, body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container h1 *, '+y+" .ast-archive-description .ast-archive-title *"),astra_css("astra-settings[ast-dynamic-archive-"+c+"-banner-link-color]","color",'body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container a, '+y+' .ast-archive-description a, body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container a *, '+y+" .ast-archive-description a *"),astra_css("astra-settings[ast-dynamic-archive-"+c+"-banner-link-hover-color]","color",'body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container a:hover, '+y+' .ast-archive-description a:hover, body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container a:hover *, '+y+" .ast-archive-description a:hover *"),astra_apply_responsive_background_css("astra-settings[ast-dynamic-archive-"+c+"-banner-custom-bg]",'body .ast-archive-entry-banner[data-post-type="'+c+'"][data-banner-background-type="custom"], '+y+" .ast-archive-description","desktop"),astra_apply_responsive_background_css("astra-settings[ast-dynamic-archive-"+c+"-banner-custom-bg]",'body .ast-archive-entry-banner[data-post-type="'+c+'"][data-banner-background-type="custom"], '+y+" .ast-archive-description","tablet"),astra_apply_responsive_background_css("astra-settings[ast-dynamic-archive-"+c+"-banner-custom-bg]",'body .ast-archive-entry-banner[data-post-type="'+c+'"][data-banner-background-type="custom"], '+y+" .ast-archive-description","mobile"),astra_responsive_spacing("astra-settings[ast-dynamic-archive-"+c+"-banner-padding]",'body .ast-archive-entry-banner[data-post-type="'+c+'"], '+y+" .ast-archive-description","padding",["top","right","bottom","left"]),astra_responsive_spacing("astra-settings[ast-dynamic-archive-"+c+"-banner-margin]",'body .ast-archive-entry-banner[data-post-type="'+c+'"], '+y+" .ast-archive-description","margin",["top","right","bottom","left"]),astra_generate_outside_font_family_css("astra-settings[ast-dynamic-archive-"+c+"-title-font-family]",'body .ast-archive-entry-banner[data-post-type="'+c+'"] h1, '+y+' .ast-archive-description h1, body .ast-archive-entry-banner[data-post-type="'+c+'"] h1 *, '+y+" .ast-archive-description h1 *"),astra_generate_font_weight_css("astra-settings[ast-dynamic-archive-"+c+"-title-font-family]","astra-settings[ast-dynamic-archive-"+c+"-title-font-weight]","font-weight",'body .ast-archive-entry-banner[data-post-type="'+c+'"] h1, '+y+' .ast-archive-description h1, body .ast-archive-entry-banner[data-post-type="'+c+'"] h1 *, '+y+" .ast-archive-description h1 *"),astra_css("astra-settings[ast-dynamic-archive-"+c+"-title-font-weight]","font-weight",'body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container h1, '+y+' .ast-archive-description h1, body .ast-archive-entry-banner[data-post-type="'+c+'"] h1 *, '+y+" .ast-archive-description h1 *"),astra_responsive_font_size("astra-settings[ast-dynamic-archive-"+c+"-title-font-size]",'body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container h1, '+y+' .ast-archive-description .ast-archive-title, body .ast-archive-entry-banner[data-post-type="'+c+'"] h1 *, '+y+" .ast-archive-description .ast-archive-title *"),astra_font_extras_css("ast-dynamic-archive-"+c+"-title-font-extras",'body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container h1, '+y+' .ast-archive-description .ast-archive-title, body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container h1 *, '+y+" .ast-archive-description h1 *"),astra_generate_outside_font_family_css("astra-settings[ast-dynamic-archive-"+c+"-text-font-family]",'body .ast-archive-entry-banner[data-post-type="'+c+'"], body .ast-archive-entry-banner[data-post-type="'+c+'"] *, '+y+" .ast-archive-description, "+y+" .ast-archive-description *"),astra_generate_font_weight_css("astra-settings[ast-dynamic-archive-"+c+"-text-font-family]","astra-settings[ast-dynamic-archive-"+c+"-text-font-weight]","font-weight",'body .ast-archive-entry-banner[data-post-type="'+c+'"], body .ast-archive-entry-banner[data-post-type="'+c+'"] *, '+y+" .ast-archive-description, "+y+" .ast-archive-description *"),astra_css("astra-settings[ast-dynamic-archive-"+c+"-text-font-weight]","font-weight",'body .ast-archive-entry-banner[data-post-type="'+c+'"], body .ast-archive-entry-banner[data-post-type="'+c+'"] *, '+y+" .ast-archive-description, "+y+" .ast-archive-description *"),astra_responsive_font_size("astra-settings[ast-dynamic-archive-"+c+"-text-font-size]",'body .ast-archive-entry-banner[data-post-type="'+c+'"], body .ast-archive-entry-banner[data-post-type="'+c+'"] *, '+y+" .ast-archive-description, "+y+" .ast-archive-description *"),astra_font_extras_css("ast-dynamic-archive-"+c+"-text-font-extras",'body .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container *, '+y+" .ast-archive-description *")}for(i=0;i *:not(:last-child), .search .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container > *:not(:last-child)',"px"),astra_css(p+"-banner-text-color]","color",".search .ast-archive-entry-banner .ast-container *, .search .ast-archive-description *"),astra_css(p+"-banner-title-color]","color",".search .ast-archive-entry-banner .ast-container h1, .search .ast-archive-description h1, .search .ast-archive-entry-banner .ast-container h1 *, .search .ast-archive-description h1 *"),astra_css(p+"-banner-link-color]","color",g+' .ast-container a, .search .ast-archive-description a, .search .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container a *, .search .ast-archive-description a *'),astra_css(p+"-banner-link-hover-color]","color",g+' .ast-container a:hover, .search .ast-archive-description a:hover, .search .ast-archive-entry-banner[data-post-type="'+c+'"] .ast-container a:hover *, .search .ast-archive-description a:hover *'),astra_apply_responsive_background_css(p+"-banner-custom-bg]",'.search .ast-archive-entry-banner[data-banner-background-type="custom"], .search .ast-archive-description',"desktop"),astra_apply_responsive_background_css(p+"-banner-custom-bg]",'.search .ast-archive-entry-banner[data-banner-background-type="custom"], .search .ast-archive-description',"tablet"),astra_apply_responsive_background_css(p+"-banner-custom-bg]",'.search .ast-archive-entry-banner[data-banner-background-type="custom"], .search .ast-archive-description',"mobile"),astra_responsive_spacing(p+"-banner-padding]",g+", .search .ast-archive-description","padding",["top","right","bottom","left"]),astra_responsive_spacing(p+"-banner-margin]",g+", .search .ast-archive-description","margin",["top","right","bottom","left"]),astra_generate_outside_font_family_css(p+"-title-font-family]",".search .ast-archive-entry-banner .ast-container h1, .search .ast-archive-description h1, .search .ast-archive-description .ast-archive-title, .search .ast-archive-entry-banner .ast-container h1 *, .search .ast-archive-description h1 *"),astra_generate_font_weight_css(p+"-title-font-family]",p+"-title-font-weight]","font-weight",".search .ast-archive-entry-banner .ast-container h1, .search .ast-archive-description h1, .search .ast-archive-description .ast-archive-title, .search .ast-archive-entry-banner .ast-container h1 *, .search .ast-archive-description h1 *"),astra_css(p+"-title-font-weight]","font-weight",".search .ast-archive-entry-banner .ast-container h1, .search .ast-archive-description h1, .search .ast-archive-description .ast-archive-title, .search .ast-archive-entry-banner .ast-container h1 *, .search .ast-archive-description h1 *"),astra_responsive_font_size(p+"-title-font-size]",".search .ast-archive-entry-banner .ast-container h1, .search .ast-archive-description h1, .search .ast-archive-description .ast-archive-title, .search .ast-archive-entry-banner .ast-container h1 *, .search .ast-archive-description h1 *"),astra_font_extras_css(h+"-title-font-extras",".search .ast-archive-entry-banner .ast-container h1, .search .ast-archive-description h1, .search .ast-archive-description .ast-archive-title, .search .ast-archive-entry-banner .ast-container h1 *, .search .ast-archive-description h1 *"),astra_generate_outside_font_family_css(p+"-text-font-family]",".search .ast-archive-description *, .search .ast-archive-entry-banner .ast-container *"),astra_generate_font_weight_css(p+"-text-font-family]",p+"-text-font-weight]","font-weight",".search .ast-archive-description *, .search .ast-archive-entry-banner .ast-container *"),astra_css(p+"-text-font-weight]","font-weight",".search .ast-archive-description *, .search .ast-archive-entry-banner .ast-container *"),astra_responsive_font_size(p+"-text-font-size]",".search .ast-archive-description *, .search .ast-archive-entry-banner .ast-container *"),astra_font_extras_css(h+"-text-font-extras",".search .ast-archive-description *, .search .ast-archive-entry-banner .ast-container *")}})(jQuery);