1import{a as f}from"./chunk-DY3BFKGZ.js";import{i as m,j as u,l as h,m as g,o as y}from"./chunk-2P73RYP5.js";import{P as p,U as o,ca as d,x as l}from"./chunk-TJAUOT4B.js";var k="Cricut M\xE9xico",s="https://cricut.com.mx",C="Cricut M\xE9xico - M\xE1quinas de Corte Inteligentes",w="Descubre las m\xE1quinas de corte inteligentes Cricut en M\xE9xico. Crea proyectos personalizados con Cricut Maker, Explore y Joy. Materiales, accesorios y env\xEDos a todo M\xE9xico.",b="https://cricut.com/blog/wp-content/uploads/2022/04/Cricut-logo.png",T="app-jsonld",S=(()=>{class n{router=o(y);activatedRoute=o(g);title=o(u);meta=o(m);doc=o(d);constructor(){this.router.events.pipe(l(t=>t instanceof h)).subscribe(()=>this.updateFromRoute())}updateFromRoute(){let t=this.activatedRoute;for(;t.firstChild;)t=t.firstChild;let e=t.snapshot,i=this.router.url.split("?")[0].split("#")[0];this.apply({title:e.title,description:e.data.description,image:e.data.ogImage,type:e.data.ogType,noindex:e.data.noindex},i)}apply(t,e){let i=t.title??C,r=t.description??w,a=t.image??b,c=t.canonical||s+(e==="/"?"":e),x=t.type??"website";this.title.setTitle(i),this.meta.updateTag({name:"description",content:r}),t.keywords?this.meta.updateTag({name:"keywords",content:t.keywords}):this.meta.removeTag("name='keywords'");let E=f.noindex||!!t.noindex;this.meta.updateTag({name:"robots",content:E?"noindex, nofollow":"index, follow"}),this.meta.updateTag({property:"og:site_name",content:k}),this.meta.updateTag({property:"og:title",content:i}),this.meta.updateTag({property:"og:description",content:r}),this.meta.updateTag({property:"og:type",content:x}),this.meta.updateTag({property:"og:url",content:c}),this.meta.updateTag({property:"og:image",content:a}),this.meta.updateTag({property:"og:locale",content:"es_MX"}),this.meta.updateTag({name:"twitter:card",content:"summary_large_image"}),this.meta.updateTag({name:"twitter:title",content:i}),this.meta.updateTag({name:"twitter:description",content:r}),this.meta.updateTag({name:"twitter:image",content:a}),this.setCanonical(c)}setAll(t){let e=this.router.url.split("?")[0].split("#")[0];this.apply(t,e)}absoluteUrl(t){return t?/^https?:\/\//i.test(t)?t:s+(t.startsWith("/")?t:`/${t}`):s+"/"}setJsonLd(t){this.clearJsonLd();let e=this.doc.createElement("script");e.type="application/ld+json",e.id=T,e.text=JSON.stringify(t),this.doc.head.appendChild(e)}clearJsonLd(){let t=this.doc.getElementById(T);t&&t.remove()}setRelLink(t,e){let i=this.doc.querySelector(`link[rel='${t}']`);i||(i=this.doc.createElement("link"),i.setAttribute("rel",t),this.doc.head.appendChild(i)),i.setAttribute("href",e)}clearRelLinks(){["next","prev"].forEach(t=>{let e=this.doc.querySelector(`link[rel='${t}']`);e&&e.remove()})}setCanonical(t){let e=this.doc.head.querySelector("link[rel='canonical']");e||(e=this.doc.createElement("link"),e.setAttribute("rel","canonical"),this.doc.head.appendChild(e)),e.setAttribute("href",t)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();export{S as a};
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.