!function(e,t){function i(){var t=e("#onepress-style-inline-css").html();e("#onepress-style-inline-css").replaceWith('<style class="replaced-style" id="onepress-style-inline-css">'+t+"</style>")}wp.customize("onepress_footer_info_bg",function(t){t.bind(function(t){e(".site-footer .site-info, .site-footer .btt a").css({background:t}),e(".site-footer .site-info").css({color:"rgba(255, 255, 255, 0.7)"}),e(".site-footer .btt a, .site-footer .site-info a").css({color:"rgba(255, 255, 255, 0.9)"})})}),t.selectiveRefresh.bind("partial-content-rendered",function(t){e(window).resize()}),wp.customize("header_textcolor",function(t){t.bind(function(t){"blank"===t?e(".site-title a, .site-description").css({clip:"rect(1px, 1px, 1px, 1px)",position:"absolute"}):e(".site-title a, .site-description").css({clip:"auto",color:t,position:"relative"})})}),wp.customize("onepress_btt_disable",function(t){t.bind(function(t){!0===t||"true"==t?e(".site-footer .btt ").hide():e(".site-footer .btt ").show()})}),wp.customize.bind("preview-ready",function(){i()}),e(window).resize(function(){i()}),wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){"onepress-header-section"==t.partial.id&&e(document).trigger("header_view_changed",[t.partial.id]),e(document).trigger("selectiveRefresh-rendered",[t.partial.id])})}(jQuery,wp.customize);