!function(e){"use strict";let t={prefix:"blogig_"},o={blogigAjaxCall:function(t,o){e.ajax({method:"GET",url:blogigPreviewObject.ajaxUrl,data:{action:t,_wpnonce:blogigPreviewObject._wpnonce},success:function(t){t&&(e("head #"+o).length>0?e("head #"+o).html(t):e("head").append('"))}})},blogigGenerateTypoCss:function(e,t){var o="";return t.font_family&&(o+=".blogig_font_typography { "+e+"-family: "+t.font_family.value+"; } "),t.font_weight&&(o+=".blogig_font_typography { "+e+"-weight: "+t.font_weight.value+"; } "),t.text_transform&&(o+=".blogig_font_typography { "+e+"-texttransform: "+t.text_transform+"; } "),t.text_decoration&&(o+=".blogig_font_typography { "+e+"-textdecoration: "+t.text_decoration+"; } "),t.font_size&&(t.font_size.desktop&&(o+=".blogig_font_typography { "+e+"-size: "+t.font_size.desktop+"px; } "),t.font_size.tablet&&(o+=".blogig_font_typography { "+e+"-size-tab: "+t.font_size.tablet+"px; } "),t.font_size.smartphone&&(o+=".blogig_font_typography { "+e+"-size-mobile: "+t.font_size.smartphone+"px; } ")),t.line_height&&(t.line_height.desktop&&(o+=".blogig_font_typography { "+e+"-lineheight: "+t.line_height.desktop+"px; } "),t.line_height.tablet&&(o+=".blogig_font_typography { "+e+"-lineheight-tab: "+t.line_height.tablet+"px; } "),t.line_height.smartphone&&(o+=".blogig_font_typography { "+e+"-lineheight-mobile: "+t.line_height.smartphone+"px; } ")),t.letter_spacing&&(t.letter_spacing.desktop&&(o+=".blogig_font_typography { "+e+"-letterspacing: "+t.letter_spacing.desktop+"px; } "),t.letter_spacing.tablet&&(o+=".blogig_font_typography { "+e+"-letterspacing-tab: "+t.letter_spacing.tablet+"px; } "),t.letter_spacing.smartphone&&(o+=".blogig_font_typography { "+e+"-letterspacing-mobile: "+t.letter_spacing.smartphone+"px; } ")),o},blogigGenerateTypoCssWithSelector:function(e,t){var o="";return t.font_family&&(o+=e+" { font-family: "+t.font_family.value+"; } "),t.font_weight&&(o+=e+" { font-weight: "+t.font_weight.value+"; } "),t.text_transform&&(o+=e+" { text-transform: "+t.text_transform+"; } "),t.text_decoration&&(o+=e+" { text-decoration: "+t.text_decoration+"; } "),t.font_size&&(t.font_size.desktop&&(o+=e+" { font-size: "+t.font_size.desktop+"px; } "),t.font_size.tablet&&(o+="@media(max-width: 940px) { "+e+" { font-size: "+t.font_size.tablet+"px; } } "),t.font_size.smartphone&&(o+="@media(max-width: 610px) { "+e+" { font-size: "+t.font_size.smartphone+"px; } } ")),t.line_height&&(t.line_height.desktop&&(o+=e+" { line-height: "+t.line_height.desktop+"px; } "),t.line_height.tablet&&(o+="@media(max-width: 940px) { "+e+" { line-height: "+t.line_height.tablet+"px; } } "),t.line_height.smartphone&&(o+="@media(max-width: 610px) { "+e+" { line-height: "+t.line_height.smartphone+"px; } } ")),t.letter_spacing&&(t.letter_spacing.desktop&&(o+=e+" { letter-spacing: "+t.letter_spacing.desktop+"px; } "),t.letter_spacing.tablet&&(o+="@media(max-width: 940px) { "+e+" { letter-spacing: "+t.letter_spacing.tablet+"px; } } "),t.letter_spacing.smartphone&&(o+="@media(max-width: 610px) { "+e+" { letter-spacing: "+t.letter_spacing.smartphone+"px; } } ")),o},blogigGenerateStyleTag:function(t,o){t?e("head #"+o).length>0?e("head #"+o).html(t):e("head").append('"):e("head #"+o).remove()},blogigGenerateLinkTag:function(t,o){e.ajax({method:"GET",url:blogigPreviewObject.ajaxUrl,data:{action:t,_wpnonce:blogigPreviewObject._wpnonce},success:function(t){t&&(e("head #"+o).length>0?e("head #"+o).attr("href",t):e("head").append(''))}})}};wp.customize("site_background_color",function(e){e.bind(function(e){var t=JSON.parse(e);if(t){var i="";t.type,i+="body.blogig_font_typography:before, body.blogig_font_typography .main-header.header-sticky--enabled { background: "+a(t[t.type])+"}",o.blogigGenerateStyleTag(i,"blogig-body-background")}else o.blogigGenerateStyleTag("","blogig-body-background")})}),wp.customize("background_image",function(e){e.bind(function(e){var t="";e?t+="body:before{ display: none; }":t+="body:before{ display: block; }",o.blogigGenerateStyleTag(t,"blogig-body-image-background")})}),wp.customize("post_title_hover_effects",function(t){t.bind(function(t){e("body").removeClass("title-hover--none title-hover--one title-hover--two"),e("body").addClass("title-hover--"+t)})}),wp.customize("site_image_hover_effects",function(t){t.bind(function(t){e("body").removeClass("image-hover--none image-hover--one image-hover--two"),e("body").addClass("image-hover--"+t)})}),wp.customize("theme_color",function(e){e.bind(function(e){l.generateStyle(e,"theme-color-style","--blogig-global-preset-theme-color")})}),wp.customize("gradient_theme_color",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-1-style","--blogig-global-preset-gradient-theme-color")})}),wp.customize("preset_color_1",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-1-style","--blogig-global-preset-color-1")})}),wp.customize("preset_color_2",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-2-style","--blogig-global-preset-color-2")})}),wp.customize("preset_color_3",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-3-style","--blogig-global-preset-color-3")})}),wp.customize("preset_color_4",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-4-style","--blogig-global-preset-color-4")})}),wp.customize("preset_color_5",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-5-style","--blogig-global-preset-color-5")})}),wp.customize("preset_color_6",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-6-style","--blogig-global-preset-color-6")})}),wp.customize("preset_color_7",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-7-style","--blogig-global-preset-color-7")})}),wp.customize("preset_color_8",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-8-style","--blogig-global-preset-color-8")})}),wp.customize("preset_color_9",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-9-style","--blogig-global-preset-color-9")})}),wp.customize("preset_color_10",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-10-style","--blogig-global-preset-color-10")})}),wp.customize("preset_color_11",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-11-style","--blogig-global-preset-color-11")})}),wp.customize("preset_color_12",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-color-12-style","--blogig-global-preset-color-12")})}),wp.customize("preset_gradient_1",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-1-style","--blogig-global-preset-gradient-color-1")})}),wp.customize("preset_gradient_2",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-2-style","--blogig-global-preset-gradient-color-2")})}),wp.customize("preset_gradient_3",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-3-style","--blogig-global-preset-gradient-color-3")})}),wp.customize("preset_gradient_4",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-4-style","--blogig-global-preset-gradient-color-4")})}),wp.customize("preset_gradient_5",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-5-style","--blogig-global-preset-gradient-color-5")})}),wp.customize("preset_gradient_6",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-6-style","--blogig-global-preset-gradient-color-6")})}),wp.customize("preset_gradient_7",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-7-style","--blogig-global-preset-gradient-color-7")})}),wp.customize("preset_gradient_8",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-8-style","--blogig-global-preset-gradient-color-8")})}),wp.customize("preset_gradient_9",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-9-style","--blogig-global-preset-gradient-color-9")})}),wp.customize("preset_gradient_10",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-10-style","--blogig-global-preset-gradient-color-10")})}),wp.customize("preset_gradient_11",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-11-style","--blogig-global-preset-gradient-color-11")})}),wp.customize("preset_gradient_12",function(e){e.bind(function(e){l.generateStyle(e,"theme-preset-gradient-color-12-style","--blogig-global-preset-gradient-color-12")})}),wp.customize("stt_alignment",function(t){t.bind(function(t){e("#blogig-scroll-to-top").removeClass("align--left align--center align--right"),e("#blogig-scroll-to-top").addClass("align--"+t)})}),wp.customize("sub_menu_mobile_option",function(t){t.bind(function(t){t?e("#site-navigation").removeClass("sub-menu-hide-on-mobile"):e("#site-navigation").addClass("sub-menu-hide-on-mobile")})}),wp.customize("scroll_to_top_mobile_option",function(t){t.bind(function(t){t?e("#blogig-scroll-to-top").removeClass("hide-on-mobile"):e("#blogig-scroll-to-top").addClass("hide-on-mobile")})}),wp.customize("show_custom_button_text_mobile_option",function(t){t.bind(function(t){t?e(".subscribe-section .header-custom-button .custom-button-label").removeClass("hide-on-mobile"):e(".subscribe-section .header-custom-button .custom-button-label").addClass("hide-on-mobile")})}),wp.customize("show_readmore_button_mobile_option",function(t){t.bind(function(t){t?e("body.blog .blogig-article-inner .content-wrap .post-button, body.archive .blogig-article-inner .content-wrap .post-button, body.home .blogig-article-inner .content-wrap .post-button, body.search .blogig-article-inner .content-wrap .post-button").removeClass("hide-on-mobile"):e("body.blog .blogig-article-inner .content-wrap .post-button, body.archive .blogig-article-inner .content-wrap .post-button, body.home .blogig-article-inner .content-wrap .post-button, body.search .blogig-article-inner .content-wrap .post-button").addClass("hide-on-mobile")})}),wp.customize("single_post_related_posts_title",function(t){t.bind(function(t){e(".single-related-posts-section-wrap").find(".blogig-block-title span").length>0?e(".single-related-posts-section-wrap").find(".blogig-block-title span").text(t):e(".single-related-posts-section-wrap .single-related-posts-section").prepend('

'+t+"

")})}),wp.customize("single_responsive_image_ratio",function(e){e.bind(function(e){var t="";e.desktop&&(t+="body { --blogig-single-post-image-ratio: "+e.desktop+" }"),e.tablet&&(t+="body { --blogig-single-post-image-ratio-tab: "+e.tablet+" }"),e.smartphone&&(t+="body { --blogig-single-post-image-ratio-mobile: "+e.smartphone+" }"),o.blogigGenerateStyleTag(t,"blogig-single-post-image-ratio")})}),wp.customize("sidebar_sticky_option",function(t){t.bind(function(t){t?e("body").addClass("blogig-sidebar--enabled").removeClass("blogig-sidebar--disabled"):e("body").removeClass("blogig-sidebar--enabled").addClass("blogig-sidebar--disabled")})}),wp.customize("blogname",function(t){t.bind(function(t){e(".site-title a").text(t)})}),wp.customize("blogdescription",function(t){t.bind(function(t){e(".site-description").text(t)})}),wp.customize("blogdescription_option",function(t){t.bind(function(t){t?e(".site-description").css({clip:"auto",position:"relative"}):e(".site-description").css({clip:"rect(1px, 1px, 1px, 1px)",position:"absolute"})})}),wp.customize("header_textcolor",function(t){t.bind(function(t){"blank"===t?e(".site-title").css({clip:"rect(1px, 1px, 1px, 1px)",position:"absolute"}):(e(".site-title").css({clip:"auto",position:"relative"}),e(".site-title a").css({color:t}))})}),wp.customize("site_title_hover_textcolor",function(t){t.bind(function(t){e(".site-title a:hover").css({color:t})})}),wp.customize("site_description_color",function(t){t.bind(function(t){e(".site-description").css({color:t})})}),wp.customize("site_title_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-site-title",e),o.blogigGenerateStyleTag(t,"blogig-site-title-typo")})}),wp.customize("site_description_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-site-description",e),o.blogigGenerateStyleTag(t,"blogig-site-tagline-typo")})}),wp.customize("blogig_site_logo_width",function(e){e.bind(function(e){if(e){var t="";e.desktop&&(t+="body .site-branding img{ width: "+e.desktop+"px} "),e.tablet&&(t+="@media(max-width: 994px) { body .site-branding img{ width: "+e.tablet+"px} } "),e.smartphone&&(t+="@media(max-width: 610px) { body .site-branding img{ width: "+e.smartphone+"px} } "),o.blogigGenerateStyleTag(t,"blogig-site-logo-width")}else o.blogigGenerateStyleTag("","blogig-site-logo-width")})}),wp.customize("display_preloader_animation",function(e){e.bind(function(e){})}),wp.customize("stt_color_group",function(e){e.bind(function(e){if(e){var t="",i="--blogig-scroll-text-color";e.color&&(t+="body { "+i+" : "+a(e.color)+" } "),e.hover&&(t+="body { "+i+"-hover : "+a(e.hover)+" } "),o.blogigGenerateStyleTag(t,"blogig-scroll-to-top-style")}else o.blogigGenerateStyleTag("","blogig-scroll-to-top-style")})}),wp.customize("stt_background_color_group",function(e){e.bind(function(e){var t=JSON.parse(e);if(t){var i="",n="--blogig-scroll-top-bk-color";t.initial[t.initial.type]&&(i+="body { "+n+" : "+a(t.initial[t.initial.type])+" } "),t.hover[t.hover.type]&&(i+="body { "+n+"-hover : "+a(t.hover[t.hover.type])+" } "),o.blogigGenerateStyleTag(i,"blogig-scroll-to-top-background-style")}else o.blogigGenerateStyleTag("","blogig-scroll-to-top-background-style")})});var i=blogigPreviewObject.totalCats;if(i){var i=Object.keys(i).map(function(e){return i[e]});i.forEach(function(e){wp.customize("category_"+e.term_id+"_color",function(t){t.bind(function(t){var i="";t.color&&(i+="body .post-categories .cat-item.cat-"+e.term_id+" a, body.archive.category.category-"+e.term_id+" #blogig-main-wrap .page-header .blogig-container i { color : "+a(t.color)+" } "),t.hover&&(i+="body .post-categories .cat-item.cat-"+e.term_id+" a:hover, body.archive.category.category-"+e.term_id+" #blogig-main-wrap .page-header .blogig-container i:hover { color : "+a(t.hover)+" } "),o.blogigGenerateStyleTag(i,"blogig-category-"+e.term_id+"-style")})}),wp.customize("category_background_"+e.term_id+"_color",function(t){t.bind(function(t){var i=JSON.parse(t),n="";i&&(i.initial[i.initial.type]&&(n+="body .post-categories .cat-item.cat-"+e.term_id+" a, body.archive.category.category-"+e.term_id+" #blogig-main-wrap .page-header .blogig-container i { background : "+a(i.initial[i.initial.type])+"; box-shadow: 0 3px 10px -2px "+a(i.initial[i.initial.type])+" } "),i.hover[i.hover.type]&&(n+="body .post-categories .cat-item.cat-"+e.term_id+" a:hover, body.archive.category.category-"+e.term_id+" #blogig-main-wrap .page-header .blogig-container i:hover { background : "+a(i.hover[i.hover.type])+"; box-shadow: 0 3px 10px -2px "+a(i.hover[i.hover.type])+" } ")),o.blogigGenerateStyleTag(n,"blogig-category-background-"+e.term_id+"-style")})})})}var n=blogigPreviewObject.totalTags;if(n){var n=Object.keys(n).map(function(e){return n[e]});n.forEach(function(e){wp.customize("tag_"+e.term_id+"_color",function(t){t.bind(function(t){var i="";t.color&&(i+="body .tags-wrap .tags-item.tag-"+e.term_id+" span, body.archive.tag.tag-"+e.term_id+" #blogig-main-wrap .page-header .blogig-container i { color : "+a(t.color)+" } "),t.hover&&(i+="body .tags-wrap .tags-item.tag-"+e.term_id+":hover span, body.archive.tag.tag-"+e.term_id+" #blogig-main-wrap .page-header .blogig-container i:hover { color : "+a(t.hover)+" } "),o.blogigGenerateStyleTag(i,"blogig-tag-"+e.term_id+"-style")})}),wp.customize("tag_background_"+e.term_id+"_color",function(t){t.bind(function(t){var i=JSON.parse(t),n="";i&&(i.initial[i.initial.type]&&(n+="body .tags-wrap .tags-item.tag-"+e.term_id+", body.archive.tag.tag-"+e.term_id+" #blogig-main-wrap .page-header .blogig-container i { background : "+a(i.initial[i.initial.type])+"; box-shadow: 0px 3px 10px -2px "+a(i.initial[i.initial.type])+" } "),i.hover[i.hover.type]&&(n+="body .tags-wrap .tags-item.tag-"+e.term_id+":hover, body.archive.tag.tag-"+e.term_id+" #blogig-main-wrap .page-header .blogig-container i:hover { background : "+a(i.hover[i.hover.type])+"; box-shadow: 0px 3px 10px -2px "+a(i.hover[i.hover.type])+" } ")),o.blogigGenerateStyleTag(n,"blogig-tag-background-"+e.term_id+"-style")})})})}function a(e){return -1!=e.indexOf("--blogig-global-preset")?"var( "+e+" )":e}function r(e){switch(e){case 2:return"two";case 3:return"three";case 4:return"four";case 5:return"five";case 6:return"six";default:return"one"}}wp.customize("menu_options_menu_alignment",function(t){t.bind(function(t){e(".main-header").removeClass("menu-aligment--right menu-aligment--center menu-aligment--left"),e(".main-header").addClass("menu-aligment--"+t)})}),wp.customize("blogig_header_menu_hover_effect",function(t){t.bind(function(t){e("#site-navigation").removeClass("hover-effect--none hover-effect--one hover-effect--two hover-effect--three hover-effect--four"),e("#site-navigation").addClass("hover-effect--"+t)})}),wp.customize("header_menu_color",function(e){e.bind(function(e){var t="",i="--blogig-menu-color";e.color&&(t+="body { "+i+" : "+a(e.color)+" } "),e.hover&&(t+="body { "+i+"-hover : "+a(e.hover)+" } "),o.blogigGenerateStyleTag(t,"blogig-menu-style")})}),wp.customize("main_menu_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-menu",e),o.blogigGenerateStyleTag(t,"blogig-main-menu-typo")})}),wp.customize("main_menu_sub_menu_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-submenu",e),o.blogigGenerateStyleTag(t,"blogig-main-sub-menu-typo")})}),wp.customize("blogig_custom_button_text_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-custom-button",e),o.blogigGenerateStyleTag(t,"blogig-custom-button-typo")})}),wp.customize("blogig_custom_button_text_color",function(e){e.bind(function(e){var t="",i="--blogig-custom-button-color";e.color&&(t+="body { "+i+" : "+a(e.color)+" } "),e.hover&&(t+="body { "+i+"-hover : "+a(e.hover)+" } "),o.blogigGenerateStyleTag(t,"blogig-custom-button-text-color-style")})}),wp.customize("blogig_custom_button_icon_color",function(e){e.bind(function(e){var t="",i="--blogig-custom-button-icon-color";e.color&&(t+="body { "+i+" : "+a(e.color)+" } "),e.hover&&(t+="body { "+i+"-hover : "+a(e.hover)+" } "),o.blogigGenerateStyleTag(t,"blogig-custom-button-icon-color-style")})}),wp.customize("main_banner_post_elements_alignment",function(t){t.bind(function(t){e(".blogig-main-banner-section").removeClass("banner-align--right banner-align--center banner-align--left"),e(".blogig-main-banner-section").addClass("banner-align--"+t)})}),wp.customize("main_banner_responsive_image_ratio",function(e){e.bind(function(e){var t="";e.desktop&&e.desktop>0&&(t+="body .blogig-main-banner-section article.post-item .post-thumb { padding-bottom : calc("+e.desktop+" * 100%) } "),e.tablet&&e.tablet>0&&(t+="@media(max-width: 940px) { body .blogig-main-banner-section article.post-item .post-thumb { padding-bottom : calc("+e.tablet+" * 100%) } } "),e.smartphone&&e.smartphone>0&&(t+="@media(max-width: 610px) { body .blogig-main-banner-section article.post-item .post-thumb { padding-bottom : calc("+e.smartphone+" * 100%) } } "),o.blogigGenerateStyleTag(t,"blogig-banner-image-ratio")})}),wp.customize("main_banner_design_post_title_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-main-banner-section .main-banner-wrap .post-elements .post-title",e),o.blogigGenerateStyleTag(t,"blogig-banner-title-typo")})}),wp.customize("main_banner_design_post_excerpt_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-main-banner-section .main-banner-wrap .post-elements .post-excerpt",e),o.blogigGenerateStyleTag(t,"blogig-banner-excerpt-typo")})}),wp.customize("main_banner_design_post_categories_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-main-banner-section .post-categories .cat-item a",e),o.blogigGenerateStyleTag(t,"blogig-banner-categories-typo")})}),wp.customize("main_banner_design_post_date_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-main-banner-section .main-banner-wrap .post-elements .post-date",e),o.blogigGenerateStyleTag(t,"blogig-banner-date-typo")})}),wp.customize("main_banner_design_post_author_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-main-banner-section .main-banner-wrap .post-elements .author",e),o.blogigGenerateStyleTag(t,"blogig-banner-author-typo")})}),wp.customize("carousel_responsive_image_ratio",function(e){e.bind(function(e){var t="";e.desktop&&e.desktop>0&&(t+="body .blogig-carousel-section article.post-item .post-thumb { padding-bottom : calc("+e.desktop+" * 100%) } "),e.tablet&&e.tablet>0&&(t+="@media(max-width: 940px) { body .blogig-carousel-section article.post-item .post-thumb { padding-bottom : calc("+e.tablet+" * 100%) } } "),e.smartphone&&e.smartphone>0&&(t+="@media(max-width: 610px) { body .blogig-carousel-section article.post-item .post-thumb { padding-bottom : calc("+e.smartphone+" * 100%) } } "),o.blogigGenerateStyleTag(t,"blogig-carousel-image-ratio")})}),wp.customize("carousel_design_post_title_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-carousel-section .carousel-wrap .post-elements .post-title",e),o.blogigGenerateStyleTag(t,"blogig-carousel-title-typo")})}),wp.customize("carousel_design_post_excerpt_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-carousel-section .carousel-wrap .post-elements .post-excerpt",e),o.blogigGenerateStyleTag(t,"blogig-carousel-excerpt-typo")})}),wp.customize("carousel_design_post_categories_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-carousel-section .carousel-wrap .post-categories .cat-item a",e),o.blogigGenerateStyleTag(t,"blogig-carousel-categories-typo")})}),wp.customize("carousel_design_post_date_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-carousel-section .carousel-wrap .post-elements .post-date",e),o.blogigGenerateStyleTag(t,"blogig-carousel-date-typo")})}),wp.customize("carousel_design_post_author_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector(".blogig_font_typography .blogig-carousel-section .carousel-wrap .post-elements .author",e),o.blogigGenerateStyleTag(t,"blogig-carousel-date-typo")})}),wp.customize("archive_post_column",function(t){t.bind(function(t){t.desktop&&(e("body").removeClass("archive-desktop-column--one archive-desktop-column--two archive-desktop-column--three"),e("body").addClass("archive-desktop-column--"+r(t.desktop))),t.tablet&&(e("body").removeClass("archive-tablet-column--one archive-tablet-column--two archive-tablet-column--three"),e("body").addClass("archive-tablet-column--"+r(t.tablet))),t.smartphone&&(e("body").removeClass("archive-mobile-column--one archive-mobile-column--two archive-mobile-column--three"),e("body").addClass("archive-mobile-column--"+r(t.smartphone)))})}),wp.customize("archive_post_elements_alignment",function(t){t.bind(function(t){t&&(e("body.archive .blogig-inner-content-wrap, body.blog .blogig-inner-content-wrap, body.home .blogig-inner-content-wrap, body.search .blogig-inner-content-wrap").removeClass("archive-align--left archive-align--center archive-align--right"),e("body.archive .blogig-inner-content-wrap, body.blog .blogig-inner-content-wrap, body.home .blogig-inner-content-wrap, body.search .blogig-inner-content-wrap").addClass("archive-align--"+t))})}),wp.customize("archive_responsive_image_ratio",function(e){e.bind(function(e){var t="",i="--blogig-post-image-ratio",n="--blogig-list-post-image-ratio";e.desktop&&e.desktop>0&&(t+="body { "+i+": "+e.desktop+" }",t+="body { "+n+": "+e.desktop+" }"),e.tablet&&e.tablet>0&&(t+="body { "+i+"-tablet: "+e.tablet+" }",t+="body { "+n+"-tablet: "+e.tablet+" }"),e.smartphone&&e.smartphone>0&&(t+="body { "+i+"-mobile: "+e.smartphone+" }",t+="body { "+n+"-mobile: "+e.smartphone+" }"),o.blogigGenerateStyleTag(t,"blogig-archive-posts-image-ratio")})}),wp.customize("archive_button_text",function(t){t.bind(function(t){e(".button-text").text(t)})}),wp.customize("archive_title_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-post-title-font",e),o.blogigGenerateStyleTag(t,"blogig-archive-title-typo")})}),wp.customize("archive_excerpt_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-post-content-font",e),o.blogigGenerateStyleTag(t,"blogig-archive-excerpt-typo")})}),wp.customize("archive_category_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-category-font",e),o.blogigGenerateStyleTag(t,"blogig-archive-category-typo")})}),wp.customize("archive_date_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-date-font",e),o.blogigGenerateStyleTag(t,"blogig-archive-date-typo")})}),wp.customize("archive_author_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-author-font",e),o.blogigGenerateStyleTag(t,"blogig-archive-author-typo")})}),wp.customize("archive_read_time_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-readtime-font",e),o.blogigGenerateStyleTag(t,"blogig-archive-read-time-typo")})}),wp.customize("archive_comment_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-comment-font",e),o.blogigGenerateStyleTag(t,"blogig-archive-comment-typo")})}),wp.customize("archive_button_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-readmore-font",e),o.blogigGenerateStyleTag(t,"blogig-archive-readmore-typo")})}),wp.customize("archive_category_info_box_title_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.blogig_font_typography.archive.category .page-header .page-title",e),o.blogigGenerateStyleTag(t,"blogig-archive-category-page-title-typo")})}),wp.customize("archive_category_info_box_description_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.blogig_font_typography.archive.category .page-header .archive-description",e),o.blogigGenerateStyleTag(t,"blogig-archive-category-page-description-typo")})}),wp.customize("archive_tag_info_box_title_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.blogig_font_typography.archive.tag .page-header .page-title",e),o.blogigGenerateStyleTag(t,"blogig-archive-tag-page-title-typo")})}),wp.customize("archive_tag_info_box_description_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.blogig_font_typography.archive.tag .page-header .archive-description",e),o.blogigGenerateStyleTag(t,"blogig-archive-tag-page-description-typo")})}),wp.customize("archive_author_info_box_title_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.blogig_font_typography.archive.author .page-header .page-title",e),o.blogigGenerateStyleTag(t,"blogig-archive-author-page-title-typo")})}),wp.customize("archive_author_info_box_description_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.blogig_font_typography.archive.author .page-header .archive-description",e),o.blogigGenerateStyleTag(t,"blogig-archive-author-page-description-typo")})}),wp.customize("single_title_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.single-post.blogig_font_typography .site-main article .entry-title",e),o.blogigGenerateStyleTag(t,"blogig-single-title-typo")})}),wp.customize("single_content_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.single-post.blogig_font_typography .site-main article .entry-content",e),o.blogigGenerateStyleTag(t,"blogig-single-content-typo")})}),wp.customize("single_category_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.single-post.blogig_font_typography #primary article .post-categories .cat-item a",e),o.blogigGenerateStyleTag(t,"blogig-single-category-typo")})}),wp.customize("single_date_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.single-post.blogig_font_typography #primary .blogig-inner-content-wrap .post-meta .post-date",e),o.blogigGenerateStyleTag(t,"blogig-single-date-typo")})}),wp.customize("single_author_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.single-post.blogig_font_typography .site-main article .post-meta-wrap .byline",e),o.blogigGenerateStyleTag(t,"blogig-single-author-typo")})}),wp.customize("single_read_time_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.single-post.blogig_font_typography #primary .blogig-inner-content-wrap .post-meta .post-read-time",e),o.blogigGenerateStyleTag(t,"blogig-single-read-time-typo")})}),wp.customize("page_title_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.page #blogig-main-wrap #primary article .entry-title",e),o.blogigGenerateStyleTag(t,"blogig-page-title-typo")})}),wp.customize("page_content_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body.page-template-default article .entry-content",e),o.blogigGenerateStyleTag(t,"blogig-page-content-typo")})}),wp.customize("heading_one_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body article h1",e),o.blogigGenerateStyleTag(t,"blogig-heading-one-typo")})}),wp.customize("heading_two_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body article h2",e),o.blogigGenerateStyleTag(t,"blogig-heading-two-typo")})}),wp.customize("heading_three_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body article h3",e),o.blogigGenerateStyleTag(t,"blogig-heading-three-typo")})}),wp.customize("heading_four_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body article h4",e),o.blogigGenerateStyleTag(t,"blogig-heading-four-typo")})}),wp.customize("heading_five_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body article h5",e),o.blogigGenerateStyleTag(t,"blogig-heading-five-typo")})}),wp.customize("heading_six_typo",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCssWithSelector("body article h6",e),o.blogigGenerateStyleTag(t,"blogig-heading-six-typo")})}),wp.customize("sidebar_block_title_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-widget-block-font",e),o.blogigGenerateStyleTag(t,"blogig-sidebar-block-title-typo")})}),wp.customize("sidebar_post_title_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-widget-title-font",e),o.blogigGenerateStyleTag(t,"blogig-sidebar-post-title-typo")})}),wp.customize("sidebar_category_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-widget-category-font",e),o.blogigGenerateStyleTag(t,"blogig-sidebar-post-category-typo")})}),wp.customize("sidebar_date_typography",function(e){e.bind(function(e){g.typoFontsEnqueue();var t="";t=o.blogigGenerateTypoCss("--blogig-widget-date-font",e),o.blogigGenerateStyleTag(t,"blogig-sidebar-post-date-typo")})}),wp.customize("site_title_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}",".site-branding-section"),o.blogigGenerateStyleTag(t,"blogig-site-title-custom-css")}})}),wp.customize("social_icon_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}",".blogig-social-icon"),o.blogigGenerateStyleTag(t,"blogig-social-icon-custom-css")}})}),wp.customize("breadcrumb_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}",".blogig-breadcrumb-wrap"),o.blogigGenerateStyleTag(t,"blogig-breadcrumb-custom-css")}})}),wp.customize("scroll_to_top_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}","#blogig-scroll-to-top"),o.blogigGenerateStyleTag(t,"blogig-scroll-to-top-custom-css")}})}),wp.customize("header_menu_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}","#site-navigation"),o.blogigGenerateStyleTag(t,"blogig-header-menu-custom-css")}})}),wp.customize("header_search_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}",".search-wrap"),o.blogigGenerateStyleTag(t,"blogig-header-search-custom-css")}})}),wp.customize("header_custom_button_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}",".header-custom-button"),o.blogigGenerateStyleTag(t,"blogig-header-custom-button-custom-css")}})}),wp.customize("canvas_menu_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}",".blogig-canvas-menu"),o.blogigGenerateStyleTag(t,"blogig-canvas-menu-custom-css")}})}),wp.customize("main_banner_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}",".blogig-main-banner-section"),o.blogigGenerateStyleTag(t,"blogig-main-banner-custom-css")}})}),wp.customize("carousel_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}",".blogig-carousel-section"),o.blogigGenerateStyleTag(t,"blogig-carousel-custom-css")}})}),wp.customize("footer_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}","footer#colophon"),o.blogigGenerateStyleTag(t,"blogig-footer-custom-css")}})}),wp.customize("bottom_footer_custom_css",function(e){e.bind(function(e){if(e){var t="";t+=e.replace("{wrapper}",".bottom-footer"),o.blogigGenerateStyleTag(t,"blogig-bottom-footer-custom-css")}})});let g={typoFontsEnqueue:function(){var e=t.prefix+"typography_fonts_url";o.blogigGenerateLinkTag(e,"customizer-typo-fonts-css")}},l={generateStyle:function(t,o,i){if(t){if("theme-color-style"==o)var n="body { "+i+": "+a(t)+"}";else var n="body { "+i+": "+a(t)+"}";e("head #"+o).length>0?e("head #"+o).text(n):e("head").append('")}}}}(jQuery);