import{S as r,A as c}from"./legacy-shell-D4JdMu14.js";const{siteInfo:o}=r;function u(){return c?[{tagName:"link",rel:"alternate",type:"text/markdown",href:`${o.domain}/llms.txt`}]:[]}function w(e){return!c||!e?[]:[{tagName:"link",rel:"alternate",type:"text/markdown",href:`${e}/llms.txt`}]}function m({title:e,description:n,url:t,image:a,type:i="website",locale:l="en_US",withImageMeta:s=!0,robots:p="index, follow"}){const g=a||o.defaultOgImage;return[{name:"robots",content:p},{property:"og:site_name",content:o.siteName},{property:"og:type",content:i},{property:"og:title",content:e},{property:"og:description",content:n},{property:"og:url",content:t},{property:"og:image",content:g},s&&{property:"og:image:width",content:"1200"},s&&{property:"og:image:height",content:"630"},{property:"og:image:alt",content:e},{property:"og:locale",content:l},{name:"twitter:card",content:"summary_large_image"},o.twitterHandle&&{name:"twitter:site",content:o.twitterHandle},o.twitterHandle&&{name:"twitter:creator",content:o.twitterHandle},{name:"twitter:title",content:e},{name:"twitter:description",content:n},{name:"twitter:image",content:g}].filter(Boolean)}function L(e,n){const t=r.pages[e],a=t.title?.[n]?n:r.defaultLanguage;return[{title:t.title[a]},{name:"description",content:t.description[a]},t.keywords?.[a]&&{name:"keywords",content:t.keywords[a]},{name:"author",content:o.author},{tagName:"link",rel:"canonical",href:t.canonical[a]},...d(t.canonical),...m({title:t.title[a],description:t.description[a],url:t.canonical[a],image:t.ogImage,type:t.ogType||"website",locale:r.ogLocaleMap?.[a]||"en_US"}),...f(a),...u()].filter(Boolean)}function b(e,n){const t=r.pages[e],a=t.title?.[n]?n:r.defaultLanguage;return{"@context":"https://schema.org","@type":"WebPage",name:t.title[a],description:t.description[a],url:t.canonical[a],inLanguage:a,isPartOf:{"@type":"WebSite",name:o.siteName,url:o.domain},publisher:{"@type":"Organization",name:o.siteName,url:o.domain,logo:o.logo}}}function d(e){const n=[];for(const t of r.supportedLanguages){const a=e[t];a&&n.push({tagName:"link",rel:"alternate",hrefLang:r.hreflangMap?.[t]||t,href:a})}return n.push({tagName:"link",rel:"alternate",hrefLang:"x-default",href:e[r.defaultLanguage]}),n}function f(e="en"){return r.supportedLanguages.filter(n=>n!==e).map(n=>r.ogLocaleMap?.[n]).filter(Boolean).map(n=>({property:"og:locale:alternate",content:n}))}function k(){const e=o.domain;return{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":`${e}/#organization`,name:o.siteName,description:"AIHubMix provides a unified API gateway for hosted AI models across text, image, video and audio.",contactPoint:{"@type":"ContactPoint",email:"feedback@aihubmix.com",contactType:"customer support"},address:{"@type":"PostalAddress",addressRegion:"DE",addressCountry:"US"},url:`${e}/`,logo:{"@type":"ImageObject",url:o.logo},sameAs:o.twitterHandle?[`https://x.com/${o.twitterHandle.replace(/^@/,"")}`]:[]},{"@type":"WebSite","@id":`${e}/#website`,url:`${e}/`,name:o.siteName,publisher:{"@id":`${e}/#organization`},inLanguage:r.supportedLanguages}]}}function A(e){return e.replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f]/g,n=>"\\u"+n.charCodeAt(0).toString(16).padStart(4,"0"))}const N="seo-jsonld-page";export{N as J,u as a,k as b,A as e,w as m,m as o,L as s,b as w};
