PATH:
home
/
fengshp
/
www
/
wp-content
/
themes
/
themify-ultra
/
themify
/
customizer
/
js
!function($){"use strict";var e=[],t=document.createElement("script");t.src=("https:"==document.location.protocol?"https":"http")+"://ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js",t.type="text/javascript",t.async="true";var i=document.getElementsByTagName("script")[0];function o(e){if(!e.color||void 0===e.color||void 0!==e.transparent&&"transparent"===e.transparent)return!1;if(0===e.color.indexOf("--"))return"var("+e.color+")";var t=e.opacity?e.opacity:1;if(t<1)var i=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(e.color);return t<1?"rgba( "+i.r+","+i.g+","+i.b+","+t+" )":"#"+e.color}function r(e){return e.auto&&"auto"===e.auto?e.auto:!!e.width&&e.width+(e.unit&&"px"!==e.unit?e.unit:"px")}function n(e){var t=o(e);return e.style&&"none"!==e.style&&e.width?e.width+"px "+e.style+(t?" "+t:""):!(!e.style||"none"!==e.style)&&"none"}function a(e,t){t=t||parent.wp.customize.previewedDevice.get();var i,o,r=JSON.parse(e)||{},n=_.omit(r,["tablet_landscape","tablet","mobile"]);return"desktop"!==t&&(i=r[t]||{}),"mobile"===t?o=_.extend(n,r.tablet):"tablet"===t?o=_.extend(n,r.tablet_landscape):"tablet_landscape"===t&&(o=n),"desktop"!==t?_.extend(o,i):r}i.parentNode.insertBefore(t,i);const s={init(){$(document).on("themify-responsive-preview-background",this.controlBackground).on("themify-responsive-preview-color-control",this.controlColor).on("themify-responsive-preview-fonts-control",this.controlFonts).on("themify-responsive-preview-border-control",this.controlBorder).on("themify-responsive-preview-margin-control",this.controlMargin).on("themify-responsive-preview-padding-control",this.controlMargin).on("themify-responsive-preview-logo-control",this.controlLogo).on("themify-responsive-preview-width-control",this.controlWidth)},controlBackground(e,t,i){var o=$(".color-transparent",t.container),r=$('.fixed-bg input[type="checkbox"]',t.container),n=$(".disable-control",t.container),m=$(".open-media-wrap, .image-label, .background-style, .background-position",t.container),c=$(".themify_control_preview",t.container),l=a(i,t.getCurrentDevice()),h="transparent"===l.transparent,f="fixed"===l.fixedbg,d="noimage"===l.noimage,u=!(!l.src||""===l.src);if(s.t(t,l),o.prop("checked",h),h?o.parent().prev().addClass("transparent"):o.parent().prev().removeClass("transparent"),r.prop("checked",f),n.prop("checked",d),d?m.stop().hide():m.stop().show(),s.i($(".position-style",t.container),l,"position"),s.i($(".image-style",t.container),l,"style"),u){var p=$('<a href="#" class="remove-image ti-close"></a><img src="'+l.src+'" />').css("display","inline-block");c.html(p).show()}else c.html("")},controlColor(e,t,i){var o=a(i,t.getCurrentDevice());s.t(t,o)},controlFonts(e,t,i){var o=a(i,t.getCurrentDevice());s.o(t,o),s.m(t,o),s.l(t,o),s.h($(".font_size_num",t.container),o,"sizenum"),s.i($(".font_size_unit",t.container),o,"sizeunit"),s.u($(".themify_font_family",t.container),o),s.h($(".font_line_num",t.container),o,"linenum"),s.i($(".font_line_unit",t.container),o,"lineunit"),s.h($(".letter_spacing",t.container),o,"letterspacing"),s.i($(".letter_spacing_unit",t.container),o,"letterspacingunit"),s.i($(".font_weight_select",t.container),o,"weight")},controlBorder(e,t,i){var o=a(i,t.getCurrentDevice());s.p($(".same",t.container),t,o),s.C(t,o),s.k($(".border-style",t.container),t,o),s.S($(".dimension-width",t.container),t,o)},controlMargin(e,t,i){var o=a(i,t.getCurrentDevice());s.S($(".dimension-width",t.container),t,o),s.j($(".dimension-unit",t.container),o,"unit"),s.p($(".same",t.container),t,o),s.J($(".auto-prop",t.container),t,o)},controlLogo(e,t,i){var o=a(i,t.getCurrentDevice()),r=a(i,"desktop").mode;s.t(t,o),s.N(t,o,r)},controlWidth(e,t,i){var o,r=a(i,t.getCurrentDevice());o=void 0!==t.params.label?$('[data-customize-setting-link="'+t.id.slice(0,-5)+'"]',t.container).parent():t.container,s.O($(".dimension-width",o),t,r),s.i($(".dimension-unit",o),r,"unit"),s.B($(".auto-prop",o),t,r)},t(e,t){var i=$("#"+e.id+"_color_picker",e.container),o=t.color||"";i.tfminicolors("value",o),i.tfminicolors("opacity",t.opacity||""),_.isEmpty(o)?i.closest(".color-picker").find(".remove-color").hide():i.closest(".color-picker").find(".remove-color").show()},C(e,t){var i=$(".color-select",e.container),o=$('.color-select[data-side="top"]',e.container),r=$(".same",e.container);r.prop("checked")?(o.val().replace("#","")===t.color&&r.prop("checked")&&e.isResponsiveStyling()&&(_.isUndefined(e.value[e.id][e.getCurrentDevice()])&&(e.value[e.id][e.getCurrentDevice()]={}),e.value[e.id][e.getCurrentDevice()].color=t.color,e.value[e.id][e.getCurrentDevice()].opacity=t.opacity,e.setting.set(JSON.stringify(e.value[e.id]))),o.tfminicolors("value",t.color||""),o.tfminicolors("opacity",t.opacity||"")):i.each((function(){var i=$(this).data("side");_.isUndefined(t[i])&&(t[i]={}),"top"==i&&_.isEmpty(t[i].color)&&(t[i].color=t.color,t[i].opacity=t.opacity),$('.color-select[data-side="'+i+'"]',e.container).tfminicolors("value",t[i].color||""),$('.color-select[data-side="'+i+'"]',e.container).tfminicolors("opacity",t[i].opacity||""),_.isEmpty(t[i].color)&&$(this).closest(".color-picker").find(".remove-color").hide()}))},o(e,t){$(".themify_font_style",e.container).find(".button").each((function(){t[$(this).data("style")]&&!_.isEmpty(t[$(this).data("style")])?$(this).addClass("selected"):$(this).removeClass("selected")}))},m(e,t){var i=$(".themify_text_transform",e.container);t.texttransform?i.find('.button[data-texttransform="'+t.texttransform+'"]').addClass("selected").siblings().removeClass("selected"):i.find(".button").removeClass("selected")},l(e,t){var i=$(".themify_font_align",e.container);t.align?i.find('.button[data-align="'+t.align+'"]').addClass("selected").siblings().removeClass("selected"):i.find(".button").removeClass("selected")},i(e,t,i){var o=t[i]&&!_.isEmpty(t[i])?t[i]:"",r=e.find('option[value="'+o+'"]');r.length?r.prop("selected",!0):e.find("option").prop("selected",!1),e.trigger("change")},j(e,t,i){e.each((function(){var e=$(this).data("side"),o=t[e][i]&&!_.isEmpty(t[e][i])?t[e][i]:"",r=$(this).find('option[value="'+o+'"]');r.length?r.prop("selected",!0):$(this).find("option").prop("selected",!1)}))},h(e,t,i){var o=t[i]&&!_.isEmpty(t[i])?t[i]:"";e.val(o)},u(e,t){e.trigger("focus"),t.family&&!_.isEmpty(t.family)?(e.find('option[data-value="'+t.family.name+'"]').prop("selected",!0).trigger("change"),e.data("selected",t.family.name)):(e.find("option").first().prop("selected",!0).trigger("change"),e.data("selected",""))},p(e,t,i){var o=$(".component",t.container),r=$(".dimension-row-label:not(.same-label)",t.container),n=e.parent().parent().find(".same-label");i.same&&"same"==i.same||""!==i.same?(e.prop("checked",!0),o.hide(),r.hide(),n.text(n.data("same"))):(e.prop("checked",!1),o.show(),r.show(),n.text(n.data("notsame")))},k(e,t,i){var o=$(".same",t.container);e.each((function(){var e=$(this).data("side");"top"==e&&_.isEmpty(i[e].style)&&(i[e].style=i.style),i[e].style&&!_.isEmpty(i[e].style)?($(this).val()===i[e].style&&o.prop("checked")&&"top"===e&&t.isResponsiveStyling()&&(_.isUndefined(t.value[t.id][t.getCurrentDevice()])&&(t.value[t.id][t.getCurrentDevice()]={}),t.value[t.id][t.getCurrentDevice()].style=i[e].style,t.value[t.id][t.getCurrentDevice()].same="same",t.setting.set(JSON.stringify(t.value[t.id]))),$(this).val(i[e].style)):$(this).find("option").prop("selected",!1)}))},O(e,t,i){e.each((function(){var e=t.value[t.id],o=t.getCurrentDevice();t.isResponsiveStyling()&&(_.isUndefined(e[o])&&(e[o]={}),e[o].width=i.width,t.setting.set(JSON.stringify(e))),$(this).val(i.width)}))},S(e,t,i){var o=$(".same",t.container);e.each((function(){var e=$(this).data("side");_.isUndefined(i[e])&&(i[e]={}),"top"===e&&(i[e].width=i.width),$(this).val()===i[e].width&&o.prop("checked")&&"top"===e&&t.isResponsiveStyling()&&(_.isUndefined(t.value[t.id][t.getCurrentDevice()])&&(t.value[t.id][t.getCurrentDevice()]={}),t.value[t.id][t.getCurrentDevice()].width=i[e].width,t.setting.set(JSON.stringify(t.value[t.id]))),$(this).val(i[e].width)}))},B(e,t,i){e.each((function(){var e=$(this).data("hide");$(this).prop("checked","auto"===i.auto),$("."+e,t.container).toggleClass("hide-horizontally","auto"===i.auto)}))},J(e,t,i){e.each((function(){var e=$(this).data("side"),o=$(this).data("hide");_.isUndefined(i[e])&&(i[e]={}),"top"===e&&(i[e].auto=i.auto),"auto"===i[e].auto?($(this).prop("checked",!0),$("."+o,t.container).addClass("hide-horizontally")):($(this).prop("checked",!1),$("."+o,t.container).removeClass("hide-horizontally"))}))},N(e,t,i){var o=$(".logo-modes .logo-mode",e.container),r=t.mode||"",n=o.closest(".customize-control"),a=i;if(e.isResponsiveStyling()?($(".remove-image, .open-media",e.container).hide(),a=n.data("deskValue")||a):($(".remove-image, .open-media",e.container).show(),a=r,n.data("deskValue",r)),"image"==a){var s=t.imgwidth||"",m=t.imgheight||"";n.find(".img-width").val(s),n.find(".img-height").val(m)}o.each((function(){var e=$(this),t=e.val()==a;e.prop("checked",t),t&&e.trigger("click")}))}};var m=wp.customize,c=parent.wp.customize,l=$("body");if(m("header_textcolor",(e=>{e.bind((e=>{$("#header a, .site-title a, .site-description").css("color",e)}))})),m("link_color",(e=>{e.bind((e=>{$("a").css("color",e)}))})),m("text_color",(e=>{e.bind((e=>{l.css("color",e)}))})),themifyCustomizer){if($(document).on("themify.customizer",((t,i,o)=>{var r="themify-customizer-css-"+i;if($("#"+r).length>0&&$("#"+r).remove(),d(0,o,e[i]),"sitelogo"===i&&void 0!==e[i].color){var n=e[i].color;e[i+="a"]||(e[i]=[]),e[i].color=n,$.event.trigger("themify.customizer",[i,"#site-logo a"])}})),c.previewedDevice.bind("change",(e=>{v(themifyCustomizer.backgroundControls,"themify-responsive-preview-background"),v(themifyCustomizer.colorControls,"themify-responsive-preview-color-control"),v(themifyCustomizer.fontControls,"themify-responsive-preview-fonts-control"),v(themifyCustomizer.borderControls,"themify-responsive-preview-border-control"),v(themifyCustomizer.marginControls,"themify-responsive-preview-margin-control"),v(themifyCustomizer.paddingControls,"themify-responsive-preview-padding-control"),v(themifyCustomizer.logoControls,"themify-responsive-preview-logo-control"),v(themifyCustomizer.widthControls,"themify-responsive-preview-width-control")})),$(window).on("message",(t=>{if(t.originalEvent&&t.originalEvent.data&&!_.isEmpty(t.originalEvent.data)){try{var i=$.parseJSON(t.originalEvent.data)||{}}catch(e){i={}}"themify-customize-clearall"===i.id&&(e=[],$("#themify-customize").remove())}})),themifyCustomizer.fontControls&&$.each(themifyCustomizer.fontControls,((e,t)=>{m(e,(e=>{e.bind((e=>{var i=a(e),o=f(t);y(o,i),$.event.trigger("themify.customizer",[o,t])}))}))})),themifyCustomizer.logoControls&&$.each(themifyCustomizer.logoControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var r=a(t),n=$(i),s=f(i);if(e[s]||(e[s]=[]),y(s,r),r.mode&&"none"===r.mode)e[s].display="none";else{e[s].display="block";var m=$("img:not(.tf_sticky_logo)",n);if(m.length>0&&m.remove(),r.mode&&"image"===r.mode){n.find("span").hide(),void 0!==r.src&&r.src&&($("a",n).length>0?(n.find("a").append('<img src="'+r.src+'" />'),r.link&&n.find("a").attr("href",r.link)):n.append('<img src="'+r.src+'" />'));var c=r.imgwidth?r.imgwidth:"",l=r.imgheight?r.imgheight:"";n.find("img:not(.tf_sticky_logo)").css({width:c,height:l})}else n.find("span").show(),n.length>0&&(r.link&&n.find("a").attr("href",r.link),e[s].color=o(r)),$.post(themifyCustomizer.ajaxurl,{action:"themify_customizer_get_option",option:"blogname",nonce:themifyCustomizer.nonce},(e=>{"notfound"!==e&&$("#site-logo, #footer-logo").find("span").text(e)}))}$.event.trigger("themify.customizer",[s,i])}))}))})),themifyCustomizer.taglineControls&&$.each(themifyCustomizer.taglineControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var r=$.parseJSON(t),n=$(i),a=f(i);if(e[a]||(e[a]=[]),y(a,r),r.mode&&"none"===r.mode)e[a].display="none";else if("none"!==r.mode){e[a].display="block";var s=$("img",n);if(s.length>0&&s.remove(),r.mode&&"image"===r.mode){if(n.find("span").hide(),void 0!==r.src&&r.src){n.prepend('<img src="'+r.src+'" />');var m=r.imgwidth?r.imgwidth:"",c=r.imgheight?r.imgheight:"";n.find("img").css({width:m,height:c})}}else n.find("span").show(),e[a].color=o(r),$.post(themifyCustomizer.ajaxurl,{action:"themify_customizer_get_option",option:"blogdescription",nonce:themifyCustomizer.nonce},(e=>{"notfound"!=e&&n.find("span").text(e)}))}$.event.trigger("themify.customizer",[a,i])}))}))})),themifyCustomizer.backgroundControls&&$.each(themifyCustomizer.backgroundControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var r=a(t),n=f(i);e[n]||(e[n]=[]),_.each(["image","color","repeat","size","position"],(t=>{e[n]["background-"+t]=!1})),r&&"noimage"!==r.noimage&&void 0!==r.src&&(e[n]["background-image"]="url("+r.src+")"),void 0!==r.style&&r.style&&("fullcover"===r.style?(e[n]["background-size"]="cover",e[n]["background-repeat"]="no-repeat"):(e[n]["background-size"]="auto",e[n]["background-repeat"]=r.style)),void 0!==r.position&&r.position&&(e[n]["background-position"]=r.position),e[n]["background-color"]=r.transparent?"transparent":o(r),$.event.trigger("themify.customizer",[n,i])}))}))})),themifyCustomizer.colorControls&&$.each(themifyCustomizer.colorControls,((t,i)=>{let r="color";"object"==typeof i&&(r=i.v,i=i.id),m(t,(t=>{t.bind((t=>{var n=a(t),s=f(i);e[s]||(e[s]=[]),e[s][r]=o(n),$.event.trigger("themify.customizer",[s,i])}))}))})),themifyCustomizer.borderColorControls&&$.each(themifyCustomizer.borderColorControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var r=a(t),n=f(i);e[n]||(e[n]=[]),e[n]["border-color"]=o(r),$.event.trigger("themify.customizer",[n,i])}))}))})),themifyCustomizer.imageselectControls&&$.each(themifyCustomizer.imageselectControls,((e,t)=>{m(e,(e=>{e.bind((e=>{var t=$.parseJSON(e);if(t){var i=$(".tf_sticky_logo");if(i.length>0&&i.remove(),t.src){var o='<img class="tf_sticky_logo" src="'+t.src+'"',r="";t.imgwidth&&(o+=' width="'+t.imgwidth+'"',r+="width: "+t.imgwidth+"px;"),t.imgheight&&(o+=' height="'+t.imgheight+'"',r+="height: "+t.imgheight+"px;"),o+=' style="'+r+'" />',$("#headerwrap #site-logo a").prepend(o)}}}))}))})),themifyCustomizer.borderControls&&$.each(themifyCustomizer.borderControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var o=a(t),r=f(i);e[r]||(e[r]=[]),_.each(["border","border-color","border-top","border-left","border-bottom","border-right","border-width","border-style"],(t=>{delete e[r][t]})),o&&"disabled"!==o.disabled&&("same"!==o.same?_.each(["top","left","bottom","right"],(t=>{o[t]&&("top"===t&&_.extend(o[t],_.pick(o,_.keys(o[t]))),e[r]["border-"+t]=n(o[t]))})):e[r].border=n(o)),$.event.trigger("themify.customizer",[r,i])}))}))})),themifyCustomizer.marginControls&&$.each(themifyCustomizer.marginControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var o=a(t),n=f(i);e[n]||(e[n]=[]),_.each(["margin","margin-top","margin-left","margin-bottom","margin-right"],(t=>{delete e[n][t]})),o&&"disabled"!==o.disabled&&("same"!==o.same?_.each(["top","left","bottom","right"],(t=>{o[t]&&("top"===t&&_.extend(o[t],_.pick(o,_.keys(o[t]))),e[n]["margin-"+t]=r(o[t]))})):e[n].margin=r(o)),$.event.trigger("themify.customizer",[n,i])}))}))})),themifyCustomizer.paddingControls&&$.each(themifyCustomizer.paddingControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var o=a(t),n=f(i);e[n]||(e[n]=[]),_.each(["padding","padding-top","padding-left","padding-bottom","padding-right"],(t=>{delete e[n][t]})),o&&"disabled"!==o.disabled&&("same"!==o.same?_.each(["top","left","bottom","right"],(t=>{o[t]&&("top"===t&&_.extend(o[t],_.pick(o,_.keys(o[t]))),e[n]["padding-"+t]=r(o[t]))})):e[n].padding=r(o)),$.event.trigger("themify.customizer",[n,i])}))}))})),themifyCustomizer.widthControls&&$.each(themifyCustomizer.widthControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var o=a(t),n=f(i);e[n]||(e[n]=[]),e[n].width=r(o),$.event.trigger("themify.customizer",[n,i])}))}))})),themifyCustomizer.heightControls&&$.each(themifyCustomizer.heightControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var o=$.parseJSON(t),n=f(i);e[n]||(e[n]=[]),e[n].height=r(o),$.event.trigger("themify.customizer",[n,i])}))}))})),themifyCustomizer.positionControls&&$.each(themifyCustomizer.positionControls,((t,i)=>{m(t,(t=>{t.bind((t=>{var o=$.parseJSON(t),n=f(i);e[n]||(e[n]=[]),_.each(["position","top","left","bottom","right"],(t=>{e[n][t]=!1})),o&&o.position&&(e[n].position=o.position,_.each(["top","right","bottom","left"],(t=>{o[t]&&(e[n][t]=r(o[t]))}))),$.event.trigger("themify.customizer",[n,i])}))}))})),themifyCustomizer.customcssControls){var h=[];$.each(themifyCustomizer.customcssControls,((e,t)=>{h[e]=!0,m(e,(e=>{e.bind((e=>{var t="themify-customize-customcss",i=$("#"+t);i.length>0&&i.remove(),e&&(e=e.replace(/[\n]/g,"").replace(/[\r]/g,"").replace(/[\t]/g,""),$("head").append('<style type="text/css" id="'+t+'">'+e+"</style>"))}))}))}))}s.init()}function f(e){return $.trim(e).replace(/[^a-zA-Z0-9]/gi,"")}function d(e,t,i){var o="",r=parent.wp.customize.previewedDevice.get();"desktop"!==r&&(o="screen and (max-width: "+themifyCustomizer.breakpoints[r]+"px)");var n=function(e,t){t=t||"",e=e.replace(/,/g,", "),0==$("#themify-customize").length&&$("body").append('<style id="themify-customize"></style>');var i,o=$("#themify-customize").get(0).sheet,r=o.cssRules?o.cssRules:o.rules;if(""===t){for(var n=0;n<r.length;n++)if(!_.isUndefined(r[n].selectorText)&&r[n].selectorText.toLowerCase()==e){i=r[n];break}}else for(n=0;n<r.length;n++)if(r[n].media&&r[n].cssText.indexOf(t)>-1){for(var a=r[n].cssRules?r[n].cssRules:r[n].rules,s=0;s<a.length;s++)if(!_.isUndefined(a[s].selectorText)&&a[s].selectorText.toLowerCase()==e){i=a[s];break}break}return i}(t,o);if(_.isUndefined(n)){var a="";for(var s in i)i[s]&&(a+=s+":"+i[s]+";");var m=u(),c=t+"{"+a+"}",l=Math.max(m.cssRules.length-3,0);if(""!==o){var h=u(o);if(_.isUndefined(h)){c="@media "+o+" { "+c+" }";var f=_.values(themifyCustomizer.breakpoints);if(l=m.cssRules.length,m.cssRules.length&&m.cssRules[m.cssRules.length-1].media){if("tablet_landscape"===r){var d=p("screen and (max-width: "+f[1]+"px)");if(_.isUndefined(d)){var v=p("screen and (max-width: "+f[2]+"px)");_.isUndefined(v)||(l=v)}else l=d}if("tablet"===r){var y=p("screen and (max-width: "+f[0]+"px)");if(_.isUndefined(y)){v=p("screen and (max-width: "+f[2]+"px)");_.isUndefined(v)||(l=v)}else l=y+1}}}else m=h,l=h.cssRules.length}m.insertRule(c,l)}else for(var s in i)i[s]?0===s.indexOf("--")?n.style.setProperty(s,i[s]):n.style[s]=i[s]:0===s.indexOf("--")?n.style.removeProperty(s):n.style[s]=""}function u(e){e=e||"";var t=$("#themify-customize").get(0).sheet;if(""===e)return t;var i,o=t.cssRules?t.cssRules:t.rules;if(""!==e){for(var r=0;r<o.length;r++)if(o[r].media&&o[r].cssText.indexOf(e)>-1){i=o[r];break}return i}}function p(e){e=e||"";var t=$("#themify-customize").get(0).sheet;if(""===e)return t;var i,o=t.cssRules?t.cssRules:t.rules;if(""!==e){for(var r=0;r<o.length;r++)if(o[r].media&&o[r].cssText.indexOf(e)>-1){i=r;break}return i}}function v(e,t){e&&$.each(e,((e,i)=>{var o=c.control.instance(e+"_ctrl");if(!_.isEmpty(o.setting.get())){var r=o.setting.get();$.event.trigger(t,[o,r])}}))}function y(t,i){if(e[t]||(e[t]=[]),_.each(["font-family","font-weight","font-size","font-style","text-transform","text-decoration","text-align","line-height"],(i=>{e[t][i]=!1})),i){if(i.family){if(i.family.fonttype&&("google"===i.family.fonttype||"cf"===i.family.fonttype)){var o=i.family.name;if(i.weight&&i.weight+""!="400"&&(o+=":normal,"+i.weight,i.italic&&-1===(i.weight+"").indexOf("i")&&(o+=","+i.weight+"i")),0===$('link[href*="'+o.replace(/ /g,"+")+'"]').length){var r={};"google"===i.family.fonttype?r.google={families:[o]}:r.custom={families:[o],urls:[themifyCustomizer.cf_api_url+o]},WebFont.load(r)}}e[t]["font-family"]=i.family.name}i.weight&&-1!==(i.weight+"").indexOf("i")&&(i.italic=!0),i.nostyle||(i.bold&&(e[t]["font-weight"]="bold"),i.italic?e[t]["font-style"]="italic":i.normal&&(e[t]["font-style"]="normal"),i.linethrough?e[t]["text-decoration"]="line-through":i.underline?e[t]["text-decoration"]="underline":(e[t]["font-weight"]=e[t]["font-style"]="normal",e[t]["text-decoration"]="none"),i.normal?e[t]["font-style"]="normal":(i.bold&&(e[t]["font-weight"]="bold"),i.italic&&(e[t]["font-style"]="italic"))),i.texttransform&&(e[t]["text-transform"]="notexttransform"!==i.texttransform?i.texttransform:"none"),i.align&&(e[t]["text-align"]="noalign"!==i.align&&i.align),i.sizenum>0&&(e[t]["font-size"]=i.sizenum+(i.sizeunit?i.sizeunit:"px")),i.letterspacing&&(e[t]["letter-spacing"]=i.letterspacing+(i.letterspacingunit?i.letterspacingunit:"px")),i.linenum>0&&(e[t]["line-height"]=i.linenum+(i.lineunit?i.lineunit:"px")),i.weight?e[t]["font-weight"]=(i.weight+"").replace("i",""):i.bold||(e[t]["font-weight"]=!1)}}}(jQuery);
[+]
..
[-] jquery-scombobox.min.js
[edit]
[-] themify-customize-control.js.gz
[edit]
[-] themify-customize-control.js
[edit]
[-] jquery-scombobox.min.js.gz
[edit]
[-] themify-customize-preview.js
[edit]
[-] themify-customize-preview.js.gz
[edit]