!function(e){var t={};function o(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,o),a.l=!0,a.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=346)}({346:function(e,t,o){e.exports=o(352)},352:function(e,t,o){"use strict";o.r(t);var n=function(){var e=[];[{index:"beforePrimary",id:"before_primary",selectorsKey:{wrapper:".widget-area-wrapper.optional.before-primary",area:".widget-area.before-primary",key:"before-primary"}},{index:"beforeContent",id:"before_content",selectorsKey:{wrapper:".widget-area-wrapper.optional.before-content",area:".widget-area.before-content",key:"before-content"}},{index:"beginningOfContent",id:"beginning_of_content",selectorsKey:{wrapper:".widget-area-wrapper.optional.beginning-of-content",area:".widget-area.beginning-of-content",key:"beginning-of-content"}},{index:"before1stH2OfContent",id:"before_1st_h2_of_content",selectorsKey:{wrapper:".widget-area-wrapper.optional.before-1st-h2-of-content",area:".widget-area.before-1st-h2-of-content",key:"before-1st-h2-of-content"}},{index:"endOfContent",id:"end_of_content",selectorsKey:{wrapper:".widget-area-wrapper.optional.end-of-content",area:".widget-area.end-of-content",key:"end-of-content"}},{index:"afterContent",id:"after_content",selectorsKey:{wrapper:".widget-area-wrapper.optional.after-content",area:".widget-area.after-content",key:"after-content"}},{index:"afterPrimary",id:"after_primary",selectorsKey:{wrapper:".widget-area-wrapper.optional.after-primary",area:".widget-area.after-primary",key:"after-primary"}},{index:"inFooter",id:"in_footer",selectorsKey:{wrapper:".widget-area-wrapper.optional.in-footer",area:".widget-area.in-footer",key:"in-footer"}}].forEach(function(t,o){e.push({index:t.index,id:t.id,selectors:{wrapperBackgroundColor:t.selectorsKey.wrapper,wrapperBackgroundImage:t.selectorsKey.wrapper,wrapperBackgroundImageSize:t.selectorsKey.wrapper,wrapperBackgroundImagePositionRow:t.selectorsKey.wrapper,wrapperBackgroundImagePositionColumn:t.selectorsKey.wrapper,wrapperBackgroundImageRepeat:t.selectorsKey.wrapper,wrapperBackgroundImageAttachment:t.selectorsKey.wrapper}})}),e.forEach(function(e,t){!function(e,t){var o="owa_"+e.id+"_";wp.customize(o+"wrapper_background_color",function(t){t.bind(function(t){window.aceThemeMods[o+"wrapper_background_color"]=t,t?appendTextToElement(aceStyleTC,e.selectors.wrapperBackgroundColor+" { background-color: "+t+"; } "):appendTextToElement(aceStyleTC,e.selectors.wrapperBackgroundColor+" { background-color: none; } ")})}),wp.customize(o+"wrapper_background_image",function(t){t.bind(function(t){window.aceThemeMods[o+"wrapper_background_image"]=t,t?appendTextToElement(aceStyleTC,e.selectors.wrapperBackgroundImage+" { background-image: url( "+t+" ); } "):appendTextToElement(aceStyleTC,e.selectors.wrapperBackgroundImage+" { background-image: none; } ")})}),wp.customize(o+"wrapper_background_image_size",function(t){t.bind(function(t){window.aceThemeMods[o+"wrapper_background_image_size"]=t,appendTextToElement(aceStyleTC,e.selectors.wrapperBackgroundImageSize+" { background-size: "+t+"; } ")})}),wp.customize(o+"wrapper_background_image_position_row",function(t){t.bind(function(t){window.aceThemeMods[o+"wrapper_background_image_position_row"]=t,appendTextToElement(aceStyleTC,e.selectors.wrapperBackgroundImagePositionRow+" { background-position-y: "+t+"; } ")})}),wp.customize(o+"wrapper_background_image_position_column",function(t){t.bind(function(t){window.aceThemeMods[o+"wrapper_background_image_position_column"]=t,appendTextToElement(aceStyleTC,e.selectors.wrapperBackgroundImagePositionColumn+" { background-position-x: "+t+"; } ")})}),wp.customize(o+"wrapper_background_image_repeat",function(t){t.bind(function(t){window.aceThemeMods[o+"wrapper_background_image_repeat"]=t,appendTextToElement(aceStyleTC,e.selectors.wrapperBackgroundImageRepeat+" { background-repeat: "+t+"; } ")})}),wp.customize(o+"wrapper_background_image_attachment",function(t){t.bind(function(t){window.aceThemeMods[o+"wrapper_background_image_attachment"]=t,appendTextToElement(aceStyleTC,e.selectors.wrapperBackgroundImageAttachment+" { background-attachment: "+t+"; } ")})})}(e)}),e=null;var t=[];for(var o in aceOwa){var n=aceOwa[o],a=n.widget_num,i=n.id,r=n.hook,c=(aceOwaHsk[r],"#"+i),d=c+" .widget-li",l=c+" .widget",s=c+" .widget-title-text",m=l+" a, "+l+" a:link, "+l+" a:visited",p="owa_"+r+"_"+a;t.push({index:a,id:p,selectors:{animationEnter:c,backgroundColor:c,backgroundImage:c,backgroundImageSize:c,backgroundImagePositionRow:c,backgroundImagePositionColumn:c,backgroundImageRepeat:c,backgroundImageAttachment:c,padding:c,border:c,widgetSpace:d,titleFontFamily:s,titleColor:s,titleTextAlign:s,textFontFamily:c+", "+m,textColor:l,linkTextColor:m}})}t.forEach(function(e,t){var o,n;n=(o=e).id+"_",wp.customize(n+"background_color",function(e){e.bind(function(e){window.aceThemeMods[n+"background_color"]=e,""!=e?appendTextToElement(aceStyleTC,o.selectors.backgroundColor+" { background-color: "+e+"; } "):appendTextToElement(aceStyleTC,o.selectors.backgroundColor+" { background-color: none; } ")})}),wp.customize(n+"background_image",function(e){e.bind(function(e){window.aceThemeMods[n+"background_image"]=e,e?appendTextToElement(aceStyleTC,o.selectors.backgroundImage+" { background-image: url( "+e+" ); } "):appendTextToElement(aceStyleTC,o.selectors.backgroundImage+" { background-image: none; } ")})}),wp.customize(n+"background_image_size",function(e){e.bind(function(e){window.aceThemeMods[n+"background_image_size"]=e,appendTextToElement(aceStyleTC,o.selectors.backgroundImageSize+" { background-size: "+e+"; } ")})}),wp.customize(n+"background_image_position_row",function(e){e.bind(function(e){window.aceThemeMods[n+"background_image_position_row"]=e,appendTextToElement(aceStyleTC,o.selectors.backgroundImageSize+" { background-position-y: "+e+"; } ")})}),wp.customize(n+"background_image_position_column",function(e){e.bind(function(e){window.aceThemeMods[n+"background_image_position_column"]=e,appendTextToElement(aceStyleTC,o.selectors.backgroundImagePositionColumn+" { background-position-x: "+e+"; } ")})}),wp.customize(n+"background_image_repeat",function(e){e.bind(function(e){window.aceThemeMods[n+"background_image_repeat"]=e,appendTextToElement(aceStyleTC,o.selectors.backgroundImageRepeat+" { background-repeat: "+e+"; } ")})}),wp.customize(n+"background_image_attachment",function(e){e.bind(function(e){window.aceThemeMods[n+"background_image_attachment"]=e,appendTextToElement(aceStyleTC,o.selectors.backgroundImageAttachment+" { background-attachment: "+e+"; } ")})}),wp.customize(n+"padding",function(e){e.bind(function(e){window.aceThemeMods[n+"padding"]=e,appendTextToElement(aceStyleTC,o.selectors.padding+" { padding: "+e+"px; } ")})}),wp.customize(n+"border",function(e){e.bind(function(e){window.aceThemeMods[n+"border"]=e,e?appendTextToElement(aceStyleTC,o.selectors.widgetBorder+" { box-shadow: 0 0 0 1px rgba(200,200,200,1); } "):appendTextToElement(aceStyleTC,o.selectors.widgetBorder+" { box-shadow: none; } ")})}),wp.customize(n+"widget_space",function(e){e.bind(function(e){window.aceThemeMods[n+"widget_space"]=e,appendTextToElement(aceStyleTC,o.selectors.widgetSpace+" { margin-bottom: "+e+"rem; } ")})}),wp.customize(n+"title_font_family",function(e){e.bind(function(e){window.aceThemeMods[n+"title_font_family"]=e,"none"!==e?appendTextToElement(aceStyleTC,o.selectors.titleFontFamily+" { font-family: "+e+"; } "):appendTextToElement(aceStyleTC,o.selectors.titleFontFamily+" { font-family: none; } ")})}),wp.customize(n+"title_color",function(e){e.bind(function(e){window.aceThemeMods[n+"title_color"]=e,appendTextToElement(aceStyleTC,o.selectors.titleColor+" { color: "+e+"; } "),appendTextToElement(aceStyleTC,o.selectors.titleColor+"::after { border-color: "+e+";} ")})}),wp.customize(n+"title_text_align",function(e){e.bind(function(e){window.aceThemeMods[n+"title_text_align"]=e,appendTextToElement(aceStyleTC,o.selectors.titleTextAlign+" { \t\t\t\t\t\t\t\ttext-align: "+e+";\t\t\t\t\t\t\t\twidth: 100%;\t\t\t\t\t\t\t} "),"center"===e&&appendTextToElement(aceStyleTC,o.selectors.titleTextAlign+" { \t\t\t\t\t\t\t\t\twidth: fit-content;\t\t\t\t\t\t\t\t} ")})}),wp.customize(n+"text_font_family",function(e){e.bind(function(e){window.aceThemeMods[n+"text_font_family"]=e,"none"!==e?appendTextToElement(aceStyleTC,o.selectors.textFontFamily+" { font-family: "+e+"; } "):appendTextToElement(aceStyleTC,o.selectors.textFontFamily+" { font-family: none; } ")})}),wp.customize(n+"text_color",function(e){e.bind(function(e){window.aceThemeMods[n+"text_color"]=e,appendTextToElement(aceStyleTC,o.selectors.textColor+" { color: "+e+"; border-color: "+e+"; } ")})}),wp.customize(n+"text_link_color",function(e){e.bind(function(e){window.aceThemeMods[n+"text_link_color"]=e,appendTextToElement(aceStyleTC,o.selectors.linkTextColor+" { color: "+e+"; border-color: "+e+"; } ")})})})};jQuery,document.addEventListener("DOMContentLoaded",function(e){-1===window.location.href.indexOf(aceDirURLForJS.adminCustomizerURL)&&(window.elExists=function(e){return null!==document.querySelector(e)},window.appendTextToElement=function(e,t){e.insertAdjacentText("beforeend",t)},window.aceStyleId="ace-theme-customize-preview",window.aceStyleIdSelector="#"+aceStyleId,elExists(aceStyleIdSelector)||(window.aceStyleTC=document.createElement("style"),aceStyleTC.id=aceStyleId,document.body.append(aceStyleTC)),wp.customize("main_archive_title_color",function(e){e.bind(function(e){window.aceThemeMods.main_archive_title_color=e,appendTextToElement(aceStyleTC,".blog #primary .archive-title .archive-title-text { color: "+e+"; } "),appendTextToElement(aceStyleTC,".archive #primary .archive-title .archive-title-text { color: "+e+"; } ")})}),wp.customize("main_archive_title_background_color",function(e){e.bind(function(e){window.aceThemeMods.main_archive_title_background_color=e,appendTextToElement(aceStyleTC,".blog #primary .archive-title, .archive #primary .archive-title { background-color: "+e+"; } ")})}),wp.customize("main_archive_article_background_color",function(e){e.bind(function(e){window.aceThemeMods.main_archive_article_background_color=e,appendTextToElement(aceStyleTC,".articles article.archive-article { background-color: "+e+"; } ")})}),wp.customize("main_archive_article_title_color",function(e){e.bind(function(e){window.aceThemeMods.main_archive_article_title_color=e,appendTextToElement(aceStyleTC,".archive-article .article-title, .archive-article .article-title a, .archive-article .article-title a:hover, .archive-article .article-title a:link, .archive-article .article-title a:visited { color: "+e+"; } ")})}),wp.customize("main_archive_article_text_color",function(e){e.bind(function(e){window.aceThemeMods.main_archive_article_text_color=e,appendTextToElement(aceStyleTC,".articles article.archive-article, .articles article.style-3-cols .archive-article-excerpt { color: "+e+"; } ")})}),wp.customize("main_archive_basic_font_family",function(e){e.bind(function(e){window.aceThemeMods.main_archive_basic_font_family=e,"none"===e?appendTextToElement(aceStyleTC,".blog #primary { font-family: unset; } "):appendTextToElement(aceStyleTC,".blog #primary { font-family: "+e+"; } ")})}),wp.customize("main_archive_title_font_family",function(e){e.bind(function(e){window.aceThemeMods.main_archive_title_font_family=e,"none"===e?(appendTextToElement(aceStyleTC,".blog #primary .archive-title .archive-title-text { font-family: unset; } "),appendTextToElement(aceStyleTC,".archive #primary .archive-title .archive-title-text { font-family: unset; } ")):(appendTextToElement(aceStyleTC,".blog #primary .archive-title .archive-title-text { font-family: "+e+"; } "),appendTextToElement(aceStyleTC,".archive #primary .archive-title .archive-title-text { font-family: "+e+"; } "))})}),wp.customize("main_archive_article_title_font_family",function(e){e.bind(function(e){window.aceThemeMods.main_archive_article_title_font_family=e,"none"===e?appendTextToElement(aceStyleTC,".archive-article .article-title, .archive-article .article-title a, .archive-article .article-title a:hover, .archive-article .article-title a:link, .archive-article .article-title a:visited { font-family: unset; } "):appendTextToElement(aceStyleTC,".archive-article .article-title, .archive-article .article-title a, .archive-article .article-title a:hover, .archive-article .article-title a:link, .archive-article .article-title a:visited { font-family: "+e+"; } ")})}),wp.customize("main_archive_article_text_font_family",function(e){e.bind(function(e){window.aceThemeMods.main_archive_article_text_font_family=e,"none"===e?appendTextToElement(aceStyleTC,".articles article.archive-article { font-family: unset; } "):appendTextToElement(aceStyleTC,".articles article.archive-article { font-family: "+e+"; } ")})}),wp.customize("footer_hide_all",function(e){e.bind(function(e){window.aceThemeMods.footer_hide_all=e,appendTextToElement(aceStyleTC,".footer-item-inner > div:not( .footer-custom-site-info ) { display: "+(e?"none":"block")+"; } "),appendTextToElement(aceStyleTC,".footer-item-inner > .footer-custom-site-info { display: block; } ")})}),wp.customize("footer_text_align",function(e){e.bind(function(e){window.aceThemeMods.footer_text_align=e,appendTextToElement(aceStyleTC,".footer-item-inner { text-align: "+e+"; } ")})}),wp.customize("footer_hide_site_name_description",function(e){e.bind(function(e){window.aceThemeMods.footer_hide_site_name_description=e,appendTextToElement(aceStyleTC,".footer-site-name-description { display: "+(e?"none":"block")+"; } ")})}),wp.customize("footer_copyright_year",function(e){e.bind(function(e){window.aceThemeMods.footer_copyright_year=e,document.getElementById("copyright-year").innerText=e})}),wp.customize("footer_display_credit_type",function(e){e.bind(function(e){window.aceThemeMods.footer_display_credit_type=e,appendTextToElement(aceStyleTC,"#footer-display-license { display: "+("none"===e?"none":"block")+"; } "),"none"!==e&&void 0!==aceThemeCustomizerObject[e]&&(document.getElementById("footer-license-text").innerHTML=aceThemeCustomizerObject[e].replace("%1$s",document.getElementById("header-site-name").innerText).replace("%2$s",document.getElementById("header-site-name").innerText).replace("%1$d",window.aceThemeMods.footer_copyright_year))})}),wp.customize("footer_hide_theme_name",function(e){e.bind(function(e){window.aceThemeMods.footer_hide_theme_name=e,appendTextToElement(aceStyleTC,".footer-display-theme { display: "+(e?"none":"block")+"; } ")})}),wp.customize("footer_custom_site_info",function(e){e.bind(function(e){window.aceThemeMods.footer_custom_site_info=e,document.querySelector(".footer-custom-site-info").innerHTML=e})}),wp.customize("footer_background_color",function(e){e.bind(function(e){window.aceThemeMods.footer_background_color=e,appendTextToElement(aceStyleTC,"footer.footer { background-color: "+e+"; } "),appendTextToElement(aceStyleTC,".footer.designed-section.layer-two-tone .designed-section-inner.two-tone::after { background-color: "+e+"; } "),appendTextToElement(aceStyleTC,".footer-nav-menu .sub-menu { background-color: "+e+"; } ")})}),wp.customize("footer_text_color",function(e){e.bind(function(e){window.aceThemeMods.footer_text_color=e,appendTextToElement(aceStyleTC,"footer.footer { color: "+e+"; } ")})}),wp.customize("footer_link_text_color",function(e){e.bind(function(e){window.aceThemeMods.footer_link_text_color=e,appendTextToElement(aceStyleTC,"footer.footer a, footer.footer a:link, footer.footer a:hover, footer.footer a:visited { color: "+e+"; } ")})}),wp.customize("footer_nav_menu_text_color",function(e){e.bind(function(e){window.aceThemeMods.footer_nav_menu_text_color=e,appendTextToElement(aceStyleTC,".footer-nav-menu .menu-wrapper.standard a, .footer-nav-menu .menu-wrapper.standard a:link, .footer-nav-menu .menu-wrapper.standard a:hover, .footer-nav-menu .menu-wrapper.standard a:visited { color: "+e+"; } ")})}),wp.customize("footer_text_font_family",function(e){e.bind(function(e){window.aceThemeMods.footer_text_font_family=e,"none"===e?appendTextToElement(aceStyleTC,"footer.footer { font-family: unset; } "):appendTextToElement(aceStyleTC,"footer.footer { font-family: "+e+"; } ")})}),wp.customize("footer_nav_menu_font_family",function(e){e.bind(function(e){window.aceThemeMods.footer_nav_menu_font_family=e,"none"===e?appendTextToElement(aceStyleTC,".footer-nav-menu .menu-wrapper.standard a, .footer-nav-menu .menu-wrapper.standard a:link, .footer-nav-menu .menu-wrapper.standard a:hover, .footer-nav-menu .menu-wrapper.standard a:visited { font-family: unset; } "):appendTextToElement(aceStyleTC,".footer-nav-menu .menu-wrapper.standard a, .footer-nav-menu .menu-wrapper.standard a:link, .footer-nav-menu .menu-wrapper.standard a:hover, .footer-nav-menu .menu-wrapper.standard a:visited { font-family: "+e+"; } ")})}),wp.customize("footer_design_edge",function(e){e.bind(function(e){window.aceThemeMods.footer_design_edge=e;var t=document.querySelector("footer.footer");t.classList.contains("designed-section")||t.classList.add("designed-section"),t.classList.remove("two-tone"),t.classList.remove("thick-border"),document.querySelectorAll("footer.footer .designed-section-inner").forEach(function(e,t){e.remove()}),"none"===e?t.classList.remove("designed-section"):"two-tone"===e?(t.classList.contains("two-tone")||t.classList.add("two-tone"),appendTextToElement(aceStyleTC,"footer.footer.designed-section.two-tone .designed-section-inner.two-tone::before { background-color: "+window.aceThemeMods.footer_design_edge_color+"; box-shadow: 0 0 0 1px "+window.aceThemeMods.footer_design_edge_color+"; }"),appendTextToElement(aceStyleTC,"footer.footer.designed-section.two-tone .designed-section-inner.two-tone::after { background-color: "+window.aceThemeMods.footer_background_color+"; }"),t.innerHTML+='
'):"thick-border"===e&&(t.classList.contains("thick-border")||t.classList.add("thick-border"),appendTextToElement(aceStyleTC,"footer.footer.designed-section.thick-border { border-color: "+window.aceThemeMods.footer_design_edge_color+"; }"))})}),wp.customize("footer_design_edge_color",function(e){e.bind(function(e){window.aceThemeMods.footer_design_edge_color=e,appendTextToElement(aceStyleTC,"footer.footer.designed-section.two-tone .designed-section-inner.two-tone::before { background-color: "+e+"; box-shadow: 0 0 0 1px "+e+"; }"),appendTextToElement(aceStyleTC,"footer.footer.designed-section.two-tone .designed-section-inner.two-tone::after { background-color: "+window.aceThemeMods.footer_background_color+"; }"),appendTextToElement(aceStyleTC,"footer.footer.designed-section.thick-border { border-color: "+e+"; }")})}),wp.customize("header_layout_pattern",function(e){e.bind(function(e){window.aceThemeMods.header_layout_pattern=e;var t="ace-with-header-inner-".concat(e);document.body.classList.remove("ace-with-header-inner-vertical"),document.body.classList.remove("ace-with-header-inner-flex"),document.body.classList.remove("ace-with-header-inner-fixed-on-left"),document.body.classList.add(t)})}),wp.customize("is_header_fixed",function(e){e.bind(function(e){window.aceThemeMods.is_header_fixed=e,e?document.body.classList.contains("header-nav-fixable")||document.body.classList.add("header-nav-fixable"):document.body.classList.contains("header-nav-fixable")&&document.body.classList.remove("header-nav-fixable")})}),wp.customize("is_search_on_top",function(e){e.bind(function(e){window.aceThemeMods.is_search_on_top=e,e?document.body.classList.contains("header-has-searchbox")||document.body.classList.add("header-has-searchbox"):document.body.classList.contains("header-has-searchbox")&&document.body.classList.remove("header-has-searchbox")})}),wp.customize("header_background_color",function(e){e.bind(function(e){window.aceThemeMods.header_background_color=e,appendTextToElement(aceStyleTC,"header.header { background-color: "+e+"; } "),appendTextToElement(aceStyleTC,".header.designed-section.layer-two-tone .designed-section-inner.two-tone::after { background-color: "+e+"; } "),appendTextToElement(aceStyleTC,"#header-site-name-description { background-color: "+e+"; } "),appendTextToElement(aceStyleTC,"#header-navi { background-color: "+e+"; } ")})}),wp.customize("header_site_name_color",function(e){e.bind(function(e){window.aceThemeMods.header_site_name_color=e,appendTextToElement(aceStyleTC,"#header-site-name { color: "+e+"; } ")})}),wp.customize("header_site_description_color",function(e){e.bind(function(e){window.aceThemeMods.header_site_description_color=e,appendTextToElement(aceStyleTC,"#header-site-description { color: "+e+"; } ")})}),wp.customize("header_breadcrumb_color",function(e){e.bind(function(e){window.aceThemeMods.header_breadcrumb_color=e,appendTextToElement(aceStyleTC,"#breadcrumb .breadcrumb-item .breadcrumb-link-text { color: "+e+"; } ")})}),wp.customize("header_nav_menu_text_color",function(e){e.bind(function(e){window.aceThemeMods.header_nav_menu_text_color=e,appendTextToElement(aceStyleTC,"#header-navi .menu-wrapper.standard a, #header-navi .menu-wrapper.standard a:link, #header-navi .menu-wrapper.standard a:visited { color: "+e+"; } ")})}),wp.customize("header_nav_menu_text_color_hover",function(e){e.bind(function(e){window.aceThemeMods.header_nav_menu_text_color_hover=e,appendTextToElement(aceStyleTC,"#header-navi .menu-wrapper.standard .menu-item a:hover { color: "+e+"; } "),appendTextToElement(aceStyleTC,"#header-navi .menu-wrapper.standard .menu-item .menu-item-inner, #header-navi .menu-wrapper.standard .menu-item .menu-item-inner::after { border-color: "+e+"; } ")})}),wp.customize("header_site_name_font_family",function(e){e.bind(function(e){window.aceThemeMods.header_site_name_font_family=e,e?appendTextToElement(aceStyleTC,"#header-site-name { font-family: "+e+"; } "):appendTextToElement(aceStyleTC,"#header-site-name { font-family: unset; } ")})}),wp.customize("header_site_description_font_family",function(e){e.bind(function(e){window.aceThemeMods.header_site_description_font_family=e,e?appendTextToElement(aceStyleTC,"#header-site-description { font-family: "+e+"; } "):appendTextToElement(aceStyleTC,"#header-site-description { font-family: unset; } ")})}),wp.customize("header_nav_menu_font_family",function(e){e.bind(function(e){window.aceThemeMods.header_nav_menu_font_family=e,e?appendTextToElement(aceStyleTC,"#header-navi .menu-wrapper.standard a, #header-navi .menu-wrapper.standard a:link, #header-navi .menu-wrapper.standard a:hover, #header-navi .menu-wrapper.standard a:visited { font-family: "+e+"; } "):appendTextToElement(aceStyleTC,"#header-navi .menu-wrapper.standard a, #header-navi .menu-wrapper.standard a:link, #header-navi .menu-wrapper.standard a:hover, #header-navi .menu-wrapper.standard a:visited { font-family: unset; } ")})}),wp.customize("header_design_edge",function(e){e.bind(function(e){window.aceThemeMods.header_design_edge=e;var t=document.querySelector("header.header");t.classList.contains("designed-section")||t.classList.add("designed-section"),t.classList.remove("thick-border"),t.classList.remove("two-tone"),document.querySelectorAll("header .designed-section-inner").forEach(function(e,t){e.remove()}),"none"===e?t.classList.remove("designed-section"):"two-tone"===e?(t.classList.contains("two-tone")||t.classList.add("two-tone"),appendTextToElement(aceStyleTC,".header.designed-section.two-tone .designed-section-inner.two-tone.side-bottom::before { background-color: "+window.aceThemeMods.header_design_edge_color+"; box-shadow: 0 0 0 1px "+window.aceThemeMods.header_design_edge_color+"; } "),appendTextToElement(aceStyleTC,".header.designed-section.two-tone .designed-section-inner.two-tone.side-bottom::after { background-color: "+window.aceThemeMods.header_background_color+"; }"),t.innerHTML+=''):"thick-border"===e&&(t.classList.contains("thick-border")||t.classList.add("thick-border"),appendTextToElement(aceStyleTC,".header.designed-section.thick-border { border-color: "+window.aceThemeMods.header_design_edge_color+"; } "))})}),wp.customize("header_design_edge_color",function(e){e.bind(function(e){window.aceThemeMods.header_design_edge_color=e,appendTextToElement(aceStyleTC,".header.designed-section.two-tone .designed-section-inner.two-tone.side-bottom::before { background-color: "+e+"; box-shadow: 0 0 0 1px "+e+"; } "),appendTextToElement(aceStyleTC,".header.designed-section.two-tone .designed-section-inner.two-tone.side-bottom::after { background-color: "+window.aceThemeMods.header_background_color+"; }"),appendTextToElement(aceStyleTC,".header.designed-section.thick-border { border-color: "+e+"; } ")})}),wp.customize("header_contact_info_display",function(e){e.bind(function(e){window.aceThemeMods.header_contact_info_display=e,e?(document.body.classList.contains("header-has-contact-info")||document.body.classList.add("header-has-contact-info"),appendTextToElement(aceStyleTC,".header-contact-info { display: block; } ")):(document.body.classList.contains("header-has-contact-info")&&document.body.classList.remove("header-has-contact-info"),appendTextToElement(aceStyleTC,".header-contact-info { display: none; } "))})}),wp.customize("header_contact_info_phone_number",function(e){e.bind(function(e){window.aceThemeMods.header_contact_info_phone_number=e,document.querySelector(".header-contact-number").innerText=e})}),wp.customize("header_contact_info_message_above_number",function(e){e.bind(function(e){window.aceThemeMods.header_contact_info_message_above_number=e,document.querySelector(".message-above-contact-number").innerText=e})}),wp.customize("header_contact_info_message_below_number",function(e){e.bind(function(e){window.aceThemeMods.header_contact_info_message_below_number=e,document.querySelector(".message-below-contact-number").innerText=e})}),wp.customize("main_area_background_color",function(e){e.bind(function(e){window.aceThemeMods.main_area_background_color=e,appendTextToElement(aceStyleTC,".main-area { background-color: "+e+"; } "),appendTextToElement(aceStyleTC,".main-area.designed-section.two-tone .designed-section-inner.two-tone::after { background-color: "+e+"; } ")})}),wp.customize("main_background_color",function(e){e.bind(function(e){window.aceThemeMods.main_background_color=e,appendTextToElement(aceStyleTC,".main-area div#primary { background-color: "+e+"; } ")})}),wp.customize("main_text_color",function(e){e.bind(function(e){window.aceThemeMods.is_header_fixed=e,appendTextToElement(aceStyleTC,".main-area { color: "+e+"; } ")})}),wp.customize("main_text_link_color",function(e){e.bind(function(e){window.aceThemeMods.is_header_fixed=e,appendTextToElement(aceStyleTC,".main-area a, .main-area a:link, .main-area a:visited { color: "+e+"; } ")})}),wp.customize("main_area_basic_font_family",function(e){e.bind(function(e){window.aceThemeMods.is_header_fixed=e,"none"===e?appendTextToElement(aceStyleTC,".main-area { font-family: unset; } "):appendTextToElement(aceStyleTC,".main-area { font-family: "+e+"; } ")})}),wp.customize("main_area_design_edge",function(e){e.bind(function(e){window.aceThemeMods.main_area_design_edge=e;var t=document.querySelector(".main-area");t.classList.contains("designed-section")||t.classList.add("designed-section"),t.classList.remove("two-tone"),t.classList.remove("thick-border"),document.querySelectorAll("div.main-area .designed-section-inner").forEach(function(e,t){e.remove()}),"none"===e?t.classList.remove("designed-section"):"two-tone"===e?(t.classList.contains("two-tone")||t.classList.add("two-tone"),appendTextToElement(aceStyleTC,".main-area.designed-section.two-tone .designed-section-inner.two-tone::before { background-color: "+window.aceThemeMods.main_area_design_edge_color+"; box-shadow: 0 0 0 1px "+window.aceThemeMods.main_area_design_edge_color+"; }"),appendTextToElement(aceStyleTC,".main-area.designed-section.two-tone .designed-section-inner.two-tone.side-bottom::after { background-color: "+window.aceThemeMods.main_area_background_color+"; }"),t.innerHTML+=''):"thick-border"===e&&(t.classList.contains("thick-border")||t.classList.add("thick-border"),appendTextToElement(aceStyleTC,".main-area.designed-section.thick-border { border-color: "+window.aceThemeMods.main_area_design_edge_color+"; }"))})}),wp.customize("main_area_design_edge_color",function(e){e.bind(function(e){window.aceThemeMods.main_area_design_edge_color=e,appendTextToElement(aceStyleTC,".main-area.designed-section.two-tone .designed-section-inner.two-tone::before { background-color: "+e+"; box-shadow: 0 0 0 1px "+e+"; }"),appendTextToElement(aceStyleTC,".main-area.designed-section.two-tone .designed-section-inner.two-tone.side-bottom::after { background-color: "+window.aceThemeMods.main_area_background_color+"; }"),appendTextToElement(aceStyleTC,".main-area.designed-section.thick-border { border-color: "+e+"; }")})}),n(),function(){appendTextToElement(aceStyleTC,"/* Testing */"),wp.customize("is_responsive",function(e){e.bind(function(e){window.aceThemeMods.is_responsive=e,e?document.body.classList.contains("is-responsive")||document.body.classList.add("is-responsive"):document.body.classList.contains("is-responsive")&&document.body.classList.remove("is-responsive")})});var e={column_left:".column-left-container, .column-left-container > div",main_content:"#primary",column_right:".column-right-container, .column-right-container > div"};for(var t in e)(function(e,t){wp.customize(e+"_max_width",function(o){o.bind(function(o){window.aceThemeMods[e+"_max_width"]=o,appendTextToElement(aceStyleTC,t+"{ width:"+o+"px !important; } "),appendTextToElement(aceStyleTC,t+"{ max-width:"+o+"px !important; } ")})})}).call(void 0,t,e[t])}(),function(){function e(e,t){var o=".main-area .post-content "+e;"list"===e&&(o=".main-area .post-content ol li, .main-area .post-content ul li, .main-area .post-content dl dt, .main-area .post-content dl dd"),wp.customize("main_singular_"+e+"_color",function(t){t.bind(function(t){window.aceThemeMods["main_singular_"+e+"_color"]=t,appendTextToElement(aceStyleTC,o+"{ color: "+t+"; } ")})}),wp.customize("main_singular_"+e+"_font_family",function(t){t.bind(function(t){window.aceThemeMods["main_singular_"+e+"_font_family"]=t,"none"===t?appendTextToElement(aceStyleTC,o+" { font-family: unset; } "):appendTextToElement(aceStyleTC,o+" { font-family: "+t+"; } ")})})}var t=["h1","h2","h3","h4","h5","h6","p","table","list"];for(var o in t)e(t[o]);wp.customize("main_singular_title_background_color",function(e){e.bind(function(e){window.aceThemeMods.main_singular_title_background_color=e,appendTextToElement(aceStyleTC,".entry-content .singular-content-item { background-color: "+e+"; } ")})}),wp.customize("main_singular_title_text_color",function(e){e.bind(function(e){window.aceThemeMods.main_singular_title_text_color=e,appendTextToElement(aceStyleTC,".post-title .entry-title { color: "+e+"; } ")})}),wp.customize("main_singular_basic_font_family",function(e){e.bind(function(e){window.aceThemeMods.main_singular_basic_font_family=e,"none"===e?appendTextToElement(aceStyleTC,".entry-content .singular-content-item { font-family: unset; } "):appendTextToElement(aceStyleTC,".entry-content .singular-content-item { font-family: "+e+"; } ")})}),wp.customize("main_singular_title_font_family",function(e){e.bind(function(e){window.aceThemeMods.main_singular_title_font_family=e,"none"===e?appendTextToElement(aceStyleTC,".post-title .entry-title { font-family: unset; } "):appendTextToElement(aceStyleTC,".post-title .entry-title { font-family: "+e+"; } ")})})}(),function(){appendTextToElement(aceStyleTC,"/* Standard Widget Areas Loaded. */");var e=[];[{index:"in_header",id:"in_header",selectorsKey:"in-header"},{index:"slidebar_left",id:"slidebar_left",selectorsKey:"slidebar-left"},{index:"column_left",id:"column_left",selectorsKey:"column-left"},{index:"column_left_fixed",id:"column_left_fixed",selectorsKey:"column-left-fixed"},{index:"slidebar_right",id:"slidebar_right",selectorsKey:"slidebar-right"},{index:"column_right",id:"column_right",selectorsKey:"column-right"},{index:"column_right_fixed",id:"column_right_fixed",selectorsKey:"column-right-fixed"},{index:"sidebar_mobile",id:"sidebar_mobile",selectorsKey:"sidebar-mobile"}].forEach(function(t,o){e.push({index:t.index,id:t.id,selectors:{backgroundColor:".widget-area."+t.selectorsKey,border:".widget-area."+t.selectorsKey,padding:".widget-area."+t.selectorsKey,widgetSpace:".widget-area."+t.selectorsKey+" .widget-li",titleFontFamily:".widget-title."+t.selectorsKey+" .widget-title-text",titleColor:".widget-title."+t.selectorsKey+" .widget-title-text",titleTextAlign:".widget-title."+t.selectorsKey+" .widget-title-text",textFontFamily:".widget-area."+t.selectorsKey+" .widget, .widget-area."+t.selectorsKey+" .widget a, .widget-area."+t.selectorsKey+" .widget a:link, .widget-area."+t.selectorsKey+" .widget a:visited",textColor:".widget-area."+t.selectorsKey+" .widget",linkTextColor:".widget-area."+t.selectorsKey+" .widget a, .widget-area."+t.selectorsKey+" .widget a:link, .widget-area."+t.selectorsKey+" .widget a:visited"}})}),e.forEach(function(e,t){var o="swa_"+e.id+"_";wp.customize(o+"background_color",function(t){t.bind(function(t){window.aceThemeMods[o+"background_color"]=t,appendTextToElement(aceStyleTC,e.selectors.backgroundColor+" { background-color: "+t+"; } ")})}),wp.customize(o+"border",function(t){t.bind(function(t){window.aceThemeMods[o+"border"]=t,t?appendTextToElement(aceStyleTC,e.selectors.border+" { box-shadow: 0 0 0 1px rgba(200,200,200,1); } "):appendTextToElement(aceStyleTC,e.selectors.border+" { box-shadow: none; } ")})}),wp.customize(o+"padding",function(t){t.bind(function(t){window.aceThemeMods[o+"padding"]=t,appendTextToElement(aceStyleTC,e.selectors.padding+" { padding: "+t+"px; } ")})}),wp.customize(o+"widget_space",function(t){t.bind(function(t){window.aceThemeMods[o+"widget_space"]=t,appendTextToElement(aceStyleTC,e.selectors.widgetSpace+" { margin-bottom: "+t+"rem; } ")})}),wp.customize(o+"title_font_family",function(t){t.bind(function(t){window.aceThemeMods[o+"title_font_family"]=t,"default"!==t?appendTextToElement(aceStyleTC,e.selectors.titleFontFamily+" { font-family: "+t+"; } "):appendTextToElement(aceStyleTC,e.selectors.titleFontFamily+" { font-family: "+aceThemeMods.basic_font_family+"; } ")})}),wp.customize(o+"title_color",function(t){t.bind(function(t){window.aceThemeMods[o+"title_color"]=t,appendTextToElement(aceStyleTC,e.selectors.titleColor+" { color: "+t+"; } "),appendTextToElement(aceStyleTC,e.selectors.titleColor+"::after { border-color: "+t+"; } ")})}),wp.customize(o+"title_text_align",function(t){t.bind(function(t){window.aceThemeMods[o+"title_text_align"]=t,appendTextToElement(aceStyleTC,e.selectors.titleTextAlign+" { \t\t\t\t\t\t\ttext-align: "+t+";\t\t\t\t\t\t\twidth: 100%;\t\t\t\t\t\t} "),"center"===t&&appendTextToElement(aceStyleTC,e.selectors.titleTextAlign+" { \t\t\t\t\t\t\t\twidth: fit-content;\t\t\t\t\t\t\t} ")})}),wp.customize(o+"text_font_family",function(t){t.bind(function(t){window.aceThemeMods[o+"text_font_family"]=t,"default"!==t?appendTextToElement(aceStyleTC,e.selectors.textFontFamily+" { font-family: "+t+"; } "):appendTextToElement(aceStyleTC,e.selectors.textFontFamily+" { font-family: "+aceThemeMods.basic_font_family+"; } ")})}),wp.customize(o+"text_color",function(t){t.bind(function(t){window.aceThemeMods[o+"text_color"]=t,appendTextToElement(aceStyleTC,e.selectors.textColor+" { color: "+t+"; border-color: "+t+"; } ")})}),wp.customize(o+"text_link_color",function(t){t.bind(function(t){window.aceThemeMods[o+"text_link_color"]=t,appendTextToElement(aceStyleTC,e.selectors.linkTextColor+" { color: "+t+"; border-color: "+t+"; } ")})})})}(),document.dispatchEvent(new Event("aceThemeCustomizerReady",{bubles:!0,cancelable:!1})))})}});