File: /home/loft320/public_html/wp-content/themes/astra/assets/js/minified/customizer-google-fonts.min.js
(a=>{function o(){var o;"undefined"!=typeof AstFontFamilies&&!1===AstFontFamilies.googleLoaded&&(o={action:"astra_load_google_fonts",nonce:astraCustomizer.customizer_nonce},a.ajax({type:"POST",url:ajaxurl,data:o,dataType:"json",success:function(o){o.success&&o.data&&"undefined"!=typeof AstFontFamilies&&(AstFontFamilies.google=o.data.google||{},AstFontFamilies.custom=o.data.custom||AstFontFamilies.custom||{},AstFontFamilies.googleLoaded=!0,a(document).trigger("astraGoogleFontsLoaded",[AstFontFamilies]))},error:function(o,t,e){console.warn("Astra: Failed to load Google Fonts via AJAX:",e),e={action:"astra_load_google_fonts",nonce:astraCustomizer.customizer_nonce},a.post(ajaxurl,e,function(o){o.success&&o.data&&"undefined"!=typeof AstFontFamilies&&(AstFontFamilies.google=o.data.google||{},AstFontFamilies.custom=o.data.custom||AstFontFamilies.custom||{},AstFontFamilies.googleLoaded=!0,a(document).trigger("astraGoogleFontsLoaded",[AstFontFamilies]))}).fail(function(){console.error("Astra: Google Fonts fallback loading also failed")})}}))}window.astraGetGoogleFonts=function(e){return"undefined"!=typeof AstFontFamilies?AstFontFamilies.googleLoaded?(e&&"function"==typeof e&&e(AstFontFamilies.google),AstFontFamilies.google):(a(document).on("astraGoogleFontsLoaded",function(o,t){e&&"function"==typeof e&&e(t.google)}),{}):{}},wp.customize.bind("ready",function(){setTimeout(o,100)}),a(document).ready(function(){"undefined"!=typeof wp&&void 0!==wp.customize||setTimeout(o,500)})})(jQuery);