1import{b0 as C,h as H,b1 as T,l as U,b2 as w,N as b}from"./D6qU-WXZ.js";import{g as x}from"./DqTQD2UP.js";import{u as z}from"./CMlWuMzW.js";import{p as i}from"./BJhQhrjU.js";const p={defaultImage:"crealityWebStaticImg/down-app-pc/head-logo-zh.png",twitterCard:"summary",twitterSite:"@crealitycloud"},W=(e={})=>{const a=C(),{imgHost:k}=x(a),v="".concat(k).concat(p.defaultImage),{cleanBaseUrl:L}=z(),d=L,{t:l,locales:S,locale:f}=H(),_=T(),n=i(()=>e.title||l("common_t",{line:"|"})),r=i(()=>e.description||l("common_d")),$=i(()=>e.keywords||l("common_k")),s=i(()=>e.image||v),I={international:w[b.en].key,development:w[b.zh].key}[a]||"",u=t=>(t.endsWith("/")&&(t=t.slice(0,-1)),t),g=t=>(_(t)||"/").split("?")[0],h="".concat(d).concat(u(g(f.value))),c=[];if(a==="international"||a==="development"){c.push({rel:"canonical",href:h});const t=S.value.filter(o=>o.iso!=="zh-HK");let m="";t.forEach(o=>{const y="".concat(d).concat(u(g(o.code)));o.code===I&&(m=y);const P={rel:"alternate",href:y,hreflang:o.code};c.push(P)}),c.push({rel:"alternate",href:m,hreflang:"x-default"})}return U({htmlAttrs:{lang:f},title:n,meta:[{name:"description",content:r},{name:"keywords",content:$},{property:"fb:pages",name:"fb:pages",content:"2567719713466612"},{property:"og:title",content:n},{property:"og:description",content:r},{property:"og:image",content:s},{property:"og:url",content:h},{property:"og:type",content:e.type||"website"},{property:"og:site_name",content:n},{name:"twitter:title",content:n},{name:"twitter:description",content:r},{name:"twitter:image",content:s},{name:"twitter:card",content:p.twitterCard},{name:"twitter:site",content:p.twitterSite},...e.publishedTime?[{property:"article:published_time",content:e.publishedTime}]:[],...e.modifiedTime?[{property:"article:modified_time",content:e.modifiedTime}]:[]],link:c}),{title:n,description:r,image:s}};export{W as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.