{"version":3,"file":"siteMetadata.CTAdOUZR.mjs","names":[],"sources":["https:/framerusercontent.com/modules/xDHn5Bbgen3k9oy1OgBN/Zasl7JpWdw1sKcdz52pd/siteMetadata.js"],"sourcesContent":["// Generated by Framer (808fccf)\nconst valuesByLocaleId={G1bPGrOJz:{v0:\"ComfyUI | 用AI生成视频、图像、音频\",v1:\"最强大的、模块化的视觉AI应用程序\"}};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,activeLocale){return{customHTMLBodyEnd:'<img referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://static.scarf.sh/a.png?x-pxid=4919876a-879c-4070-a2ac-c4c26c27ada4\">',customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PLKZVKSB\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->\\n\\n<script type=\"text/javascript\">\\n// Locale Redirect\\n(function() {\\n    const supportedLocales = [\"en-US\", \"zh-CN\"];\\n    const defaultLocale = \"en-US\";\\n    \\n    // Skip redirect if we\\'re not at root or already on a locale path\\n    if (window.location.pathname !== \\'/\\' || window.location.hostname === \\'localhost\\') {\\n        return;\\n    }\\n    \\n    // Check if already on a locale path\\n    const pathSegments = window.location.pathname.split(\\'/\\').filter(Boolean);\\n    if (pathSegments.length > 0 && supportedLocales.includes(pathSegments[0])) {\\n        return;\\n    }\\n    \\n    // Get browser language\\n    const browserLang = navigator.language || navigator.userLanguage || defaultLocale;\\n    let targetLocale = null;\\n    \\n    // Check for exact match\\n    if (supportedLocales.includes(browserLang)) {\\n        targetLocale = browserLang;\\n    } else {\\n        // Try matching just the language part\\n        const langCode = browserLang.split(\\'-\\')[0];\\n        const matchingLocale = supportedLocales.find(locale => locale.startsWith(langCode + \\'-\\'));\\n        if (matchingLocale) {\\n            targetLocale = matchingLocale;\\n        }\\n    }\\n    \\n    // Don\\'t redirect if the detected locale is the default locale (en-US)\\n    if (!targetLocale || targetLocale === defaultLocale) {\\n        return;\\n    }\\n    \\n    // Perform the redirect with lowercase locale\\n    window.location.replace(\\'/\\' + targetLocale.toLowerCase() + window.location.search);\\n})();\\n</script>',customHTMLHeadEnd:'<!-- BEGIN mixpanel -->\\n<script type=\"text/javascript\">\\nconst MIXPANEL_CUSTOM_LIB_URL = \"https://mp.comfy.org/lib.min.js\";\\n\\n  (function (f, b) { if (!b.__SV) { var e, g, i, h; window.mixpanel = b; b._i = []; b.init = function (e, f, c) { function g(a, d) { var b = d.split(\".\"); 2 == b.length && ((a = a[b[0]]), (d = b[1])); a[d] = function () { a.push([d].concat(Array.prototype.slice.call(arguments, 0))); }; } var a = b; \"undefined\" !== typeof c ? (a = b[c] = []) : (c = \"mixpanel\"); a.people = a.people || []; a.toString = function (a) { var d = \"mixpanel\"; \"mixpanel\" !== c && (d += \".\" + c); a || (d += \" (stub)\"); return d; }; a.people.toString = function () { return a.toString(1) + \".people (stub)\"; }; i = \"disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove\".split( \" \"); for (h = 0; h < i.length; h++) g(a, i[h]); var j = \"set set_once union unset remove delete\".split(\" \"); a.get_group = function () { function b(c) { d[c] = function () { call2_args = arguments; call2 = [c].concat(Array.prototype.slice.call(call2_args, 0)); a.push([e, call2]); }; } for ( var d = {}, e = [\"get_group\"].concat( Array.prototype.slice.call(arguments, 0)), c = 0; c < j.length; c++) b(j[c]); return d; }; b._i.push([e, f, c]); }; b.__SV = 1.2; e = f.createElement(\"script\"); e.type = \"text/javascript\"; e.async = !0; e.src = \"undefined\" !== typeof MIXPANEL_CUSTOM_LIB_URL ? MIXPANEL_CUSTOM_LIB_URL : \"file:\" === f.location.protocol && \"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js\".match(/^\\\\/\\\\//) ? \"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js\" : \"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js\"; g = f.getElementsByTagName(\"script\")[0]; g.parentNode.insertBefore(e, g); } })(document, window.mixpanel || []);\\n\\n//Import Mixpanel SDK\\n// import mixpanel from \"mixpanel-browser\";\\n \\n// Near entry of your product, init Mixpanel\\nconst mixpanel_token = \"c87ea58e03614bbdcc246387181924e0\"; // comfy-org homepage https://mixpanel.com/project/3325412/view/3833488/app/boards#id=7406980\\nmixpanel.init(mixpanel_token, {\\n  track_pageview: true,\\n  api_host: \\'https://mp.comfy.org\\',\\n  cross_subdomain_cookie: true,\\n  persistence: \\'cookie\\'\\n});\\n</script>\\n<!-- END mixpanel -->',customHTMLHeadStart:\"<!-- Google Tag Manager -->\\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\\n})(window,document,'script','dataLayer','GTM-PLKZVKSB');</script>\\n<!-- End Google Tag Manager -->\",description:getLocalizedValue(\"v1\",activeLocale)??\"The most powerful and modular visual AI application and engine\",favicon:\"https://framerusercontent.com/assets/3cNQMWKzIhIrQ5KErBm7dSmbd2w.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/0BcAr9INx6VHF0VtAXa30RHfqPo.png\",title:getLocalizedValue(\"v0\",activeLocale)??\"ComfyUI | Generate video, images, 3D, audio with AI\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACyF,SAAS,EAAkB,EAAI,EAAO,CAAC,KAAM,GAAO,CAAC,IAAM,EAAO,EAAiB,EAAO,IAAI,GAAG,EAAO,CAAC,IAAM,EAAM,EAAO,GAAK,GAAG,EAAM,OAAO,EAAO,EAAO,EAAO,UAAW,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB,oIAAoI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA4tD,kBAAkB;;;;;;;;;;;;;;;;;;uBAAijF,oBAAoB;;;;;;iCAA4a,YAAY,EAAkB,KAAK,EAAa,EAAE,iEAAiE,QAAQ,uEAAuE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,EAAkB,KAAK,EAAa,EAAE,sDAAsD,iBAAlmL,EAAiB,CAAC,UAAU,CAAC,GAAG,0BAA0B,GAAG,oBAAoB,CAAC"}