1import{ay as E,r as L}from"./index-BNIZXS9X.js";import{a as S}from"./react-router-dom-CNTZ-wWZ.js";const d="https://smartiz.ai",y=["en","fr"],b=r=>{const n=r.match(/^\/(en|fr)(\/.*)?$/);return n?n[2]||"/":r||"/"},p=(r,n)=>{const a=r==="/"?"":r;return n==="en"?`${d}${a||"/"}`:`${d}/${n}${a}`},k=({title:r="smartiz - Agentic AI Hospitality Platform | WhatsApp for Hotels & STR",description:n="Experience agentic AI hospitality with smartiz - The autonomous WhatsApp platform for hotels and short-term rentals. Our agentic AI detects sentiment, manages tasks, and delivers personalized guest experiences automatically.",canonicalUrl:a,ogImage:i=`${d}/og-image.webp`,ogType:h="website",noindex:g=!1})=>{const{language:l}=E(),A=S();return L.useEffect(()=>{document.title=r;const m=b(A.pathname),$=a||p(m,l),t=(e,f,s=!1)=>{const c=s?"property":"name";let o=document.querySelector(`meta[${c}="${e}"]`);o||(o=document.createElement("meta"),o.setAttribute(c,e),document.head.appendChild(o)),o.content=f},u=(e,f,s)=>{const c=s?`link[rel="${e}"][hreflang="${s}"]`:`link[rel="${e}"]:not([hreflang])`;let o=document.querySelector(c);o||(o=document.createElement("link"),o.rel=e,s&&(o.hreflang=s),document.head.appendChild(o)),o.href=f};if(t("description",n),t("og:title",r,!0),t("og:description",n,!0),t("og:image",i,!0),t("og:type",h,!0),t("og:url",$,!0),t("og:site_name","smartiz",!0),t("og:locale",l==="fr"?"fr_FR":"en_US",!0),t("twitter:title",r),t("twitter:description",n),t("twitter:image",i),g)t("robots","noindex, nofollow");else{const e=document.querySelector('meta[name="robots"]');e&&e.remove()}u("canonical",$),y.forEach(e=>{u("alternate",p(m,e),e)}),u("alternate",p(m,"en"),"x-default")},[r,n,a,i,h,g,l,A.pathname]),null};export{k as S};
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.