!function(t){"use strict";const o="blogcast_",e=function(t,o){var e="";return o.font_family&&(e+=".blogcast_font_typography { "+t+"-family: "+o.font_family.value+"; } "),o.font_weight&&(e+=".blogcast_font_typography { "+t+"-weight: "+o.font_weight.value+"; } "),o.text_transform&&(e+=".blogcast_font_typography { "+t+"-texttransform: "+o.text_transform+"; } "),o.text_decoration&&(e+=".blogcast_font_typography { "+t+"-textdecoration: "+o.text_decoration+"; } "),o.font_size&&(o.font_size.desktop&&(e+=".blogcast_font_typography { "+t+"-size: "+o.font_size.desktop+"px; } "),o.font_size.tablet&&(e+=".blogcast_font_typography { "+t+"-size-tab: "+o.font_size.tablet+"px; } "),o.font_size.smartphone&&(e+=".blogcast_font_typography { "+t+"-size-mobile: "+o.font_size.smartphone+"px; } ")),o.line_height&&(o.line_height.desktop&&(e+=".blogcast_font_typography { "+t+"-lineheight: "+o.line_height.desktop+"px; } "),o.line_height.tablet&&(e+=".blogcast_font_typography { "+t+"-lineheight-tab: "+o.line_height.tablet+"px; } "),o.line_height.smartphone&&(e+=".blogcast_font_typography { "+t+"-lineheight-mobile: "+o.line_height.smartphone+"px; } ")),o.letter_spacing&&(o.letter_spacing.desktop&&(e+=".blogcast_font_typography { "+t+"-letterspacing: "+o.letter_spacing.desktop+"px; } "),o.letter_spacing.tablet&&(e+=".blogcast_font_typography { "+t+"-letterspacing-tab: "+o.letter_spacing.tablet+"px; } "),o.letter_spacing.smartphone&&(e+=".blogcast_font_typography { "+t+"-letterspacing-mobile: "+o.letter_spacing.smartphone+"px; } ")),e},n=function(t,o){var e="";return o.font_family&&(e+=t+" { font-family: "+o.font_family.value+"; } "),o.font_weight&&(e+=t+" { font-weight: "+o.font_weight.value+"; } "),o.text_transform&&(e+=t+" { text-transform: "+o.text_transform+"; } "),o.text_decoration&&(e+=t+" { text-decoration: "+o.text_decoration+"; } "),o.font_size&&(o.font_size.desktop&&(e+=t+" { font-size: "+o.font_size.desktop+"px; } "),o.font_size.tablet&&(e+="@media(max-width: 940px) { "+t+" { font-size: "+o.font_size.tablet+"px; } } "),o.font_size.smartphone&&(e+="@media(max-width: 610px) { "+t+" { font-size: "+o.font_size.smartphone+"px; } } ")),o.line_height&&(o.line_height.desktop&&(e+=t+" { line-height: "+o.line_height.desktop+"px; } "),o.line_height.tablet&&(e+="@media(max-width: 940px) { "+t+" { line-height: "+o.line_height.tablet+"px; } } "),o.line_height.smartphone&&(e+="@media(max-width: 610px) { "+t+" { line-height: "+o.line_height.smartphone+"px; } } ")),o.letter_spacing&&(o.letter_spacing.desktop&&(e+=t+" { letter-spacing: "+o.letter_spacing.desktop+"px; } "),o.letter_spacing.tablet&&(e+="@media(max-width: 940px) { "+t+" { letter-spacing: "+o.letter_spacing.tablet+"px; } } "),o.letter_spacing.smartphone&&(e+="@media(max-width: 610px) { "+t+" { letter-spacing: "+o.letter_spacing.smartphone+"px; } } ")),e},i=function(o,e){o?t("head #"+e).length>0?t("head #"+e).html(o):t("head").append('"):t("head #"+e).remove()},a=function(o,e){t.ajax({method:"GET",url:blogcastPreviewObject.ajaxUrl,data:{action:o,_wpnonce:blogcastPreviewObject._wpnonce},success:function(o){o&&(t("head #"+e).length>0?t("head #"+e).attr("href",o):t("head").append(''))}})};var c,s;(wp.customize("site_background_color",(function(t){t.bind((function(t){var o=JSON.parse(t);if(o){var e="";o.type,e+="body.blogcast_font_typography:before, body.blogcast_font_typography .main-header.header-sticky--enabled { background: "+r(o[o.type])+"}",i(e,"blogcast-body-background")}else i("","blogcast-body-background")}))})),wp.customize("post_title_hover_effects",(function(o){o.bind((function(o){t("body").removeClass("title-hover--none title-hover--one title-hover--two"),t("body").addClass("title-hover--"+o)}))})),wp.customize("site_image_hover_effects",(function(o){o.bind((function(o){t("body").removeClass("image-hover--none image-hover--one image-hover--two"),t("body").addClass("image-hover--"+o)}))})),wp.customize("theme_color",(function(t){t.bind((function(t){b.generateStyle(t,"theme-color-style","--blogcast-global-preset-theme-color")}))})),wp.customize("gradient_theme_color",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-1-style","--blogcast-global-preset-gradient-theme-color")}))})),wp.customize("preset_color_1",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-1-style","--blogcast-global-preset-color-1")}))})),wp.customize("preset_color_2",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-2-style","--blogcast-global-preset-color-2")}))})),wp.customize("preset_color_3",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-3-style","--blogcast-global-preset-color-3")}))})),wp.customize("preset_color_4",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-4-style","--blogcast-global-preset-color-4")}))})),wp.customize("preset_color_5",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-5-style","--blogcast-global-preset-color-5")}))})),wp.customize("preset_color_6",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-6-style","--blogcast-global-preset-color-6")}))})),wp.customize("preset_color_7",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-7-style","--blogcast-global-preset-color-7")}))})),wp.customize("preset_color_8",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-8-style","--blogcast-global-preset-color-8")}))})),wp.customize("preset_color_9",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-9-style","--blogcast-global-preset-color-9")}))})),wp.customize("preset_color_10",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-10-style","--blogcast-global-preset-color-10")}))})),wp.customize("preset_color_11",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-11-style","--blogcast-global-preset-color-11")}))})),wp.customize("preset_color_12",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-color-12-style","--blogcast-global-preset-color-12")}))})),wp.customize("preset_gradient_1",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-1-style","--blogcast-global-preset-gradient-color-1")}))})),wp.customize("preset_gradient_2",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-2-style","--blogcast-global-preset-gradient-color-2")}))})),wp.customize("preset_gradient_3",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-3-style","--blogcast-global-preset-gradient-color-3")}))})),wp.customize("preset_gradient_4",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-4-style","--blogcast-global-preset-gradient-color-4")}))})),wp.customize("preset_gradient_5",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-5-style","--blogcast-global-preset-gradient-color-5")}))})),wp.customize("preset_gradient_6",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-6-style","--blogcast-global-preset-gradient-color-6")}))})),wp.customize("preset_gradient_7",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-7-style","--blogcast-global-preset-gradient-color-7")}))})),wp.customize("preset_gradient_8",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-8-style","--blogcast-global-preset-gradient-color-8")}))})),wp.customize("preset_gradient_9",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-9-style","--blogcast-global-preset-gradient-color-9")}))})),wp.customize("preset_gradient_10",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-10-style","--blogcast-global-preset-gradient-color-10")}))})),wp.customize("preset_gradient_11",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-11-style","--blogcast-global-preset-gradient-color-11")}))})),wp.customize("preset_gradient_12",(function(t){t.bind((function(t){b.generateStyle(t,"theme-preset-gradient-color-12-style","--blogcast-global-preset-gradient-color-12")}))})),wp.customize("stt_alignment",(function(o){o.bind((function(o){t("#blogcast-scroll-to-top").removeClass("align--left align--center align--right"),t("#blogcast-scroll-to-top").addClass("align--"+o)}))})),wp.customize("sub_menu_mobile_option",(function(o){o.bind((function(o){o?t("#site-navigation").removeClass("sub-menu-hide-on-mobile"):t("#site-navigation").addClass("sub-menu-hide-on-mobile")}))})),wp.customize("scroll_to_top_mobile_option",(function(o){o.bind((function(o){o?t("#blogcast-scroll-to-top").removeClass("hide-on-mobile"):t("#blogcast-scroll-to-top").addClass("hide-on-mobile")}))})),wp.customize("show_custom_button_text_mobile_option",(function(o){o.bind((function(o){o?t(".subscribe-section .header-custom-button .custom-button-label").removeClass("hide-on-mobile"):t(".subscribe-section .header-custom-button .custom-button-label").addClass("hide-on-mobile")}))})),wp.customize("show_readmore_button_mobile_option",(function(o){o.bind((function(o){o?t("body.blog .blogcast-article-inner .post-meta .post-button, body.archive .blogcast-article-inner .post-meta .post-button, body.home .blogcast-article-inner .post-meta .post-button, body.search .blogcast-article-inner .post-meta .post-button").removeClass("hide-on-mobile"):t("body.blog .blogcast-article-inner .post-meta .post-button, body.archive .blogcast-article-inner .post-meta .post-button, body.home .blogcast-article-inner .post-meta .post-button, body.search .blogcast-article-inner .post-meta .post-button").addClass("hide-on-mobile")}))})),wp.customize("single_post_related_posts_title",(function(o){o.bind((function(o){t(".single-related-posts-section-wrap").find(".blogcast-block-title span").length>0?t(".single-related-posts-section-wrap").find(".blogcast-block-title span").text(o):t(".single-related-posts-section-wrap .single-related-posts-section").prepend('
'+o+"
")}))})),wp.customize("single_responsive_image_ratio",(function(t){t.bind((function(t){var o="";t.desktop&&(o+="body { --blogcast-single-post-image-ratio: "+t.desktop+" }"),t.tablet&&(o+="body { --blogcast-single-post-image-ratio-tab: "+t.tablet+" }"),t.smartphone&&(o+="body { --blogcast-single-post-image-ratio-mobile: "+t.smartphone+" }"),i(o,"blogcast-single-post-image-ratio")}))})),wp.customize("sidebar_sticky_option",(function(o){o.bind((function(o){o?t("body").addClass("blogcast-sidebar--enabled").removeClass("blogcast-sidebar--disabled"):t("body").removeClass("blogcast-sidebar--enabled").addClass("blogcast-sidebar--disabled")}))})),wp.customize("blogname",(function(o){o.bind((function(o){t(".site-title a").text(o)}))})),wp.customize("blogdescription",(function(o){o.bind((function(o){t(".site-description").text(o)}))})),wp.customize("blogdescription_option",(function(o){o.bind((function(o){o?t(".site-description").css({clip:"auto",position:"relative"}):t(".site-description").css({clip:"rect(1px, 1px, 1px, 1px)",position:"absolute"})}))})),wp.customize("header_textcolor",(function(o){o.bind((function(o){"blank"===o?t(".site-title").css({clip:"rect(1px, 1px, 1px, 1px)",position:"absolute"}):(t(".site-title").css({clip:"auto",position:"relative"}),t(".site-title a").css({color:o}))}))})),wp.customize("site_title_hover_textcolor",(function(o){o.bind((function(o){t(".site-title a:hover").css({color:o})}))})),wp.customize("site_description_color",(function(o){o.bind((function(o){t(".site-description").css({color:o})}))})),wp.customize("site_title_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-site-title",t),i(o,"blogcast-site-title-typo")}))})),wp.customize("site_description_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-site-description",t),i(o,"blogcast-site-tagline-typo")}))})),wp.customize("blogcast_site_logo_width",(function(t){t.bind((function(t){if(t){var o="";t.desktop&&(o+="body .site-branding img{ width: "+t.desktop+"px} "),t.tablet&&(o+="@media(max-width: 994px) { body .site-branding img{ width: "+t.tablet+"px} } "),t.smartphone&&(o+="@media(max-width: 610px) { body .site-branding img{ width: "+t.smartphone+"px} } "),i(o,"blogcast-site-logo-width")}else i("","blogcast-site-logo-width")}))})),wp.customize("stt_color_group",(function(t){t.bind((function(t){if(t){var o="",e="--blogcast-scroll-text-color";t.color&&(o+="body { "+e+" : "+r(t.color)+" } "),t.hover&&(o+="body { "+e+"-hover : "+r(t.hover)+" } "),i(o,"blogcast-scroll-to-top-style")}else i("","blogcast-scroll-to-top-style")}))})),wp.customize("stt_background_color_group",(function(t){t.bind((function(t){var o=JSON.parse(t);if(o){var e="",n="--blogcast-scroll-top-bk-color";o.initial[o.initial.type]&&(e+="body { "+n+" : "+r(o.initial[o.initial.type])+" } "),o.hover[o.hover.type]&&(e+="body { "+n+"-hover : "+r(o.hover[o.hover.type])+" } "),i(e,"blogcast-scroll-to-top-background-style")}else i("","blogcast-scroll-to-top-background-style")}))})),c=blogcastPreviewObject.totalCats)&&(c=Object.keys(c).map((function(t){return c[t]}))).forEach((function(t){wp.customize("category_"+t.term_id+"_color",(function(o){o.bind((function(o){var e="";o.color&&(e+="body .post-categories .cat-item.cat-"+t.term_id+" a, body.archive.category.category-"+t.term_id+" #blogcast-main-wrap .page-header .blogcast-container i { color : "+r(o.color)+" } "),o.hover&&(e+="body .post-categories .cat-item.cat-"+t.term_id+" a:hover, body.archive.category.category-"+t.term_id+" #blogcast-main-wrap .page-header .blogcast-container i:hover { color : "+r(o.hover)+" } "),i(e,"blogcast-category-"+t.term_id+"-style")}))})),wp.customize("category_background_"+t.term_id+"_color",(function(o){o.bind((function(o){var e=JSON.parse(o),n="";e?(e.initial[e.initial.type]&&(n+="body .post-categories .cat-item.cat-"+t.term_id+" a, body.archive.category.category-"+t.term_id+" #blogcast-main-wrap .page-header .blogcast-container i { background : "+r(e.initial[e.initial.type])+" } "),e.hover[e.hover.type]&&(n+="body .post-categories .cat-item.cat-"+t.term_id+" a:hover, body.archive.category.category-"+t.term_id+" #blogcast-main-wrap .page-header .blogcast-container i:hover { background : "+r(e.hover[e.hover.type])+" } "),i(n,"blogcast-category-background-"+t.term_id+"-style")):i(n,"blogcast-category-background-"+t.term_id+"-style")}))}))}));(s=blogcastPreviewObject.totalTags)&&(s=Object.keys(s).map((function(t){return s[t]}))).forEach((function(t){wp.customize("tag_"+t.term_id+"_color",(function(o){o.bind((function(o){var e="";o.color&&(e+="body .tags-wrap .tags-item.tag-"+t.term_id+" span, body.archive.tag.tag-"+t.term_id+" #blogcast-main-wrap .page-header .blogcast-container i { color : "+r(o.color)+" } "),o.hover&&(e+="body .tags-wrap .tags-item.tag-"+t.term_id+":hover span, body.archive.tag.tag-"+t.term_id+" #blogcast-main-wrap .page-header .blogcast-container i:hover { color : "+r(o.hover)+" } "),i(e,"blogcast-tag-"+t.term_id+"-style")}))})),wp.customize("tag_background_"+t.term_id+"_color",(function(o){o.bind((function(o){var e=JSON.parse(o),n="";e?(e.initial[e.initial.type]&&(n+="body .tags-wrap .tags-item.tag-"+t.term_id+", body.archive.tag.tag-"+t.term_id+" #blogcast-main-wrap .page-header .blogcast-container i { background : "+r(e.initial[e.initial.type])+" } "),e.hover[e.hover.type]&&(n+="body .tags-wrap .tags-item.tag-"+t.term_id+":hover, body.archive.tag.tag-"+t.term_id+" #blogcast-main-wrap .page-header .blogcast-container i:hover { background : "+r(e.hover[e.hover.type])+" } "),i(n,"blogcast-tag-background-"+t.term_id+"-style")):i(n,"blogcast-tag-background-"+t.term_id+"-style")}))}))}));function r(t){return-1!=t.indexOf("--blogcast-global-preset")?"var( "+t+" )":t}function l(t){switch(t){case 2:return"two";break;case 3:return"three";break;case 4:return"four";break;case 5:return"five";break;case 6:return"six";break;default:return"one"}}wp.customize("menu_options_menu_alignment",(function(o){o.bind((function(o){t(".main-header").removeClass("menu-aligment--right menu-aligment--center menu-aligment--left"),t(".main-header").addClass("menu-aligment--"+o)}))})),wp.customize("blogcast_header_menu_hover_effect",(function(o){o.bind((function(o){t("#site-navigation").removeClass("hover-effect--none hover-effect--one hover-effect--two hover-effect--three hover-effect--four"),t("#site-navigation").addClass("hover-effect--"+o)}))})),wp.customize("header_menu_color",(function(t){t.bind((function(t){var o="",e="--blogcast-menu-color";t.color&&(o+="body { "+e+" : "+r(t.color)+" } "),t.hover&&(o+="body { "+e+"-hover : "+r(t.hover)+" } "),i(o,"blogcast-menu-style")}))})),wp.customize("main_menu_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-menu",t),i(o,"blogcast-main-menu-typo")}))})),wp.customize("main_menu_sub_menu_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-submenu",t),i(o,"blogcast-main-sub-menu-typo")}))})),wp.customize("blogcast_custom_button_text_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-custom-button",t),i(o,"blogcast-custom-button-typo")}))})),wp.customize("blogcast_custom_button_text_color",(function(t){t.bind((function(t){var o="",e="--blogcast-custom-button-color";t.color&&(o+="body { "+e+" : "+r(t.color)+" } "),t.hover&&(o+="body { "+e+"-hover : "+r(t.hover)+" } "),i(o,"blogcast-custom-button-text-color-style")}))})),wp.customize("blogcast_custom_button_icon_color",(function(t){t.bind((function(t){var o="",e="--blogcast-custom-button-icon-color";t.color&&(o+="body { "+e+" : "+r(t.color)+" } "),t.hover&&(o+="body { "+e+"-hover : "+r(t.hover)+" } "),i(o,"blogcast-custom-button-icon-color-style")}))})),wp.customize("main_banner_post_elements_alignment",(function(o){o.bind((function(o){t(".blogcast-main-banner-section").removeClass("banner-align--right banner-align--center banner-align--left"),t(".blogcast-main-banner-section").addClass("banner-align--"+o)}))})),wp.customize("main_banner_responsive_image_ratio",(function(t){t.bind((function(t){var o="";t.desktop&&t.desktop>0&&(o+="body .blogcast-main-banner-section article.post-item .post-thumb { padding-bottom : calc("+t.desktop+" * 100%) } "),t.tablet&&t.tablet>0&&(o+="@media(max-width: 940px) { body .blogcast-main-banner-section article.post-item .post-thumb { padding-bottom : calc("+t.tablet+" * 100%) } } "),t.smartphone&&t.smartphone>0&&(o+="@media(max-width: 610px) { body .blogcast-main-banner-section article.post-item .post-thumb { padding-bottom : calc("+t.smartphone+" * 100%) } } "),i(o,"blogcast-banner-image-ratio")}))})),wp.customize("main_banner_design_post_title_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-main-banner-section .main-banner-wrap .post-elements .post-title",t),i(o,"blogcast-banner-title-typo")}))})),wp.customize("main_banner_design_post_excerpt_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-main-banner-section .main-banner-wrap .post-elements .post-excerpt",t),i(o,"blogcast-banner-excerpt-typo")}))})),wp.customize("main_banner_design_post_categories_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-main-banner-section .post-categories .cat-item a",t),i(o,"blogcast-banner-categories-typo")}))})),wp.customize("main_banner_design_post_date_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-main-banner-section .main-banner-wrap .post-elements .post-date",t),i(o,"blogcast-banner-date-typo")}))})),wp.customize("main_banner_design_post_author_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-main-banner-section .main-banner-wrap .post-elements .author",t),i(o,"blogcast-banner-author-typo")}))})),wp.customize("carousel_responsive_image_ratio",(function(t){t.bind((function(t){var o="";t.desktop&&t.desktop>0&&(o+="body .blogcast-carousel-section article.post-item .post-thumb { padding-bottom : calc("+t.desktop+" * 100%) } "),t.tablet&&t.tablet>0&&(o+="@media(max-width: 940px) { body .blogcast-carousel-section article.post-item .post-thumb { padding-bottom : calc("+t.tablet+" * 100%) } } "),t.smartphone&&t.smartphone>0&&(o+="@media(max-width: 610px) { body .blogcast-carousel-section article.post-item .post-thumb { padding-bottom : calc("+t.smartphone+" * 100%) } } "),i(o,"blogcast-carousel-image-ratio")}))})),wp.customize("carousel_design_post_title_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-carousel-section .carousel-wrap .post-elements .post-title",t),i(o,"blogcast-carousel-title-typo")}))})),wp.customize("carousel_design_post_excerpt_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-carousel-section .carousel-wrap .post-elements .post-excerpt",t),i(o,"blogcast-carousel-excerpt-typo")}))})),wp.customize("carousel_design_post_categories_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-carousel-section .carousel-wrap .post-categories .cat-item a",t),i(o,"blogcast-carousel-categories-typo")}))})),wp.customize("carousel_design_post_date_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-carousel-section .carousel-wrap .post-elements .post-date",t),i(o,"blogcast-carousel-date-typo")}))})),wp.customize("carousel_design_post_author_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n(".blogcast_font_typography .blogcast-carousel-section .carousel-wrap .post-elements .author",t),i(o,"blogcast-carousel-date-typo")}))})),wp.customize("archive_post_column",(function(o){o.bind((function(o){o.desktop&&(t("body").removeClass("archive-desktop-column--one archive-desktop-column--two archive-desktop-column--three"),t("body").addClass("archive-desktop-column--"+l(o.desktop))),o.tablet&&(t("body").removeClass("archive-tablet-column--one archive-tablet-column--two archive-tablet-column--three"),t("body").addClass("archive-tablet-column--"+l(o.tablet))),o.smartphone&&(t("body").removeClass("archive-mobile-column--one archive-mobile-column--two archive-mobile-column--three"),t("body").addClass("archive-mobile-column--"+l(o.smartphone)))}))})),wp.customize("archive_post_elements_alignment",(function(o){o.bind((function(o){o&&(t("body.archive .blogcast-inner-content-wrap, body.blog .blogcast-inner-content-wrap, body.home .blogcast-inner-content-wrap, body.search .blogcast-inner-content-wrap").removeClass("archive-align--left archive-align--center archive-align--right"),t("body.archive .blogcast-inner-content-wrap, body.blog .blogcast-inner-content-wrap, body.home .blogcast-inner-content-wrap, body.search .blogcast-inner-content-wrap").addClass("archive-align--"+o))}))})),wp.customize("archive_responsive_image_ratio",(function(t){t.bind((function(t){var o="",e="--blogcast-post-image-ratio";t.desktop&&t.desktop>0&&(o+="body { "+e+": "+t.desktop+" }"),t.tablet&&t.tablet>0&&(o+="body { "+e+"-tablet: "+t.tablet+" }"),t.smartphone&&t.smartphone>0&&(o+="body { "+e+"-mobile: "+t.smartphone+" }"),i(o,"blogcast-archive-posts-image-ratio")}))})),wp.customize("archive_button_text",(function(o){o.bind((function(o){t(".button-text").text(o)}))})),wp.customize("archive_title_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-post-title-font",t),i(o,"blogcast-archive-title-typo")}))})),wp.customize("archive_excerpt_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-post-content-font",t),i(o,"blogcast-archive-excerpt-typo")}))})),wp.customize("archive_category_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-category-font",t),i(o,"blogcast-archive-category-typo")}))})),wp.customize("archive_date_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-date-font",t),i(o,"blogcast-archive-date-typo")}))})),wp.customize("archive_author_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-author-font",t),i(o,"blogcast-archive-author-typo")}))})),wp.customize("archive_read_time_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-readtime-font",t),i(o,"blogcast-archive-read-time-typo")}))})),wp.customize("archive_comment_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-comment-font",t),i(o,"blogcast-archive-comment-typo")}))})),wp.customize("archive_button_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-readmore-font",t),i(o,"blogcast-archive-readmore-typo")}))})),wp.customize("archive_category_info_box_title_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.blogcast_font_typography.archive.category .page-header .page-title",t),i(o,"blogcast-archive-category-page-title-typo")}))})),wp.customize("archive_category_info_box_description_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.blogcast_font_typography.archive.category .page-header .archive-description",t),i(o,"blogcast-archive-category-page-description-typo")}))})),wp.customize("archive_tag_info_box_title_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.blogcast_font_typography.archive.tag .page-header .page-title",t),i(o,"blogcast-archive-tag-page-title-typo")}))})),wp.customize("archive_tag_info_box_description_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.blogcast_font_typography.archive.tag .page-header .archive-description",t),i(o,"blogcast-archive-tag-page-description-typo")}))})),wp.customize("archive_author_info_box_title_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.blogcast_font_typography.archive.author .page-header .page-title",t),i(o,"blogcast-archive-author-page-title-typo")}))})),wp.customize("archive_author_info_box_description_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.blogcast_font_typography.archive.author .page-header .archive-description",t),i(o,"blogcast-archive-author-page-description-typo")}))})),wp.customize("single_title_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.single-post .site-main article .entry-title",t),i(o,"blogcast-single-title-typo")}))})),wp.customize("single_content_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.single-post .site-main article .entry-content",t),i(o,"blogcast-single-content-typo")}))})),wp.customize("single_category_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.single-post #primary article .post-categories .cat-item a",t),i(o,"blogcast-single-category-typo")}))})),wp.customize("single_date_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.single-post #primary .blogcast-inner-content-wrap .post-meta .post-date",t),i(o,"blogcast-single-date-typo")}))})),wp.customize("single_author_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.single-post .site-main article .post-meta-wrap .byline",t),i(o,"blogcast-single-author-typo")}))})),wp.customize("single_read_time_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.single-post #primary .blogcast-inner-content-wrap .post-meta .post-read-time",t),i(o,"blogcast-single-read-time-typo")}))})),wp.customize("page_title_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.page #blogcast-main-wrap #primary article .entry-title",t),i(o,"blogcast-page-title-typo")}))})),wp.customize("page_content_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body.page-template-default article .entry-content",t),i(o,"blogcast-page-content-typo")}))})),wp.customize("heading_one_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body article h1",t),i(o,"blogcast-heading-one-typo")}))})),wp.customize("heading_two_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body article h2",t),i(o,"blogcast-heading-two-typo")}))})),wp.customize("heading_three_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body article h3",t),i(o,"blogcast-heading-three-typo")}))})),wp.customize("heading_four_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body article h4",t),i(o,"blogcast-heading-four-typo")}))})),wp.customize("heading_five_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body article h5",t),i(o,"blogcast-heading-five-typo")}))})),wp.customize("heading_six_typo",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=n("body article h6",t),i(o,"blogcast-heading-six-typo")}))})),wp.customize("sidebar_block_title_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-widget-block-font",t),i(o,"blogcast-sidebar-block-title-typo")}))})),wp.customize("sidebar_post_title_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-widget-title-font",t),i(o,"blogcast-sidebar-post-title-typo")}))})),wp.customize("sidebar_category_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-widget-category-font",t),i(o,"blogcast-sidebar-post-category-typo")}))})),wp.customize("sidebar_date_typography",(function(t){t.bind((function(t){p.typoFontsEnqueue();var o;o=e("--blogcast-widget-date-font",t),i(o,"blogcast-sidebar-post-date-typo")}))})),wp.customize("site_title_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}",".site-branding-section"),i(o,"blogcast-site-title-custom-css")}}))})),wp.customize("social_icon_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}",".blogcast-social-icon"),i(o,"blogcast-social-icon-custom-css")}}))})),wp.customize("breadcrumb_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}",".blogcast-breadcrumb-wrap"),i(o,"blogcast-breadcrumb-custom-css")}}))})),wp.customize("scroll_to_top_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}","#blogcast-scroll-to-top"),i(o,"blogcast-scroll-to-top-custom-css")}}))})),wp.customize("header_menu_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}","#site-navigation"),i(o,"blogcast-header-menu-custom-css")}}))})),wp.customize("header_search_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}",".search-wrap"),i(o,"blogcast-header-search-custom-css")}}))})),wp.customize("header_custom_button_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}",".header-custom-button"),i(o,"blogcast-header-custom-button-custom-css")}}))})),wp.customize("canvas_menu_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}",".blogcast-canvas-menu"),i(o,"blogcast-canvas-menu-custom-css")}}))})),wp.customize("main_banner_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}",".blogcast-main-banner-section"),i(o,"blogcast-main-banner-custom-css")}}))})),wp.customize("carousel_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}",".blogcast-carousel-section"),i(o,"blogcast-carousel-custom-css")}}))})),wp.customize("footer_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}","footer#colophon"),i(o,"blogcast-footer-custom-css")}}))})),wp.customize("bottom_footer_custom_css",(function(t){t.bind((function(t){if(t){var o="";o+=t.replace("{wrapper}",".bottom-footer"),i(o,"blogcast-bottom-footer-custom-css")}}))}));const p={typoFontsEnqueue:function(){a(o+"typography_fonts_url","customizer-typo-fonts-css")}},b={generateStyle:function(o,e,n){if(o){if("theme-color-style"==e)var i="body { "+n+": "+r(o)+"}";else i="body { "+n+": "+r(o)+"}";t("head #"+e).length>0?t("head #"+e).text(i):t("head").append('")}}}}(jQuery);