PageSourceSearch

https://worldofnumeric.fr/assets/SEOManager-8GX0Iikd.js

js worldofnumeric.fr collected 2026-10-09 03:42:24 UTC 2,588 bytes, 1 lines download raw bytes

1var e=Object.defineProperty,t=(t,r,i)=>((t,r,i)=>r in t?e(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i)(t,"symbol"!=typeof r?r+"":r,i);import{O as r,S as i,T as a}from"./site-Cdf8lYS2.js";function o(){return document.documentElement.hasAttribute("data-ssr")}class s{constructor(){t(this,"structuredDataScriptId","won-structured-data")}updateMetaTags(e,t={}){var s;if(!e)return;if(o()&&!t.force)return;const n=e.type||"website",c=""===e.canonical?"":e.canonical||e.url;document.title=e.title,this.setMeta("description",e.description),this.setMeta("robots",e.robots||"index,follow,max-snippet:-1,max-image-preview:large,max-video-preview:-1"),c?this.setLink("canonical",c):null==(s=document.querySelector('link[rel="canonical"]'))||s.remove(),this.setProperty("og:type",n),this.setProperty("og:locale",r),this.setProperty("og:site_name",i),this.setProperty("og:title",e.title),this.setProperty("og:description",e.description),c&&this.setProperty("og:url",e.url),e.image&&this.setProperty("og:image",e.image),"article"===n?(e.publishedTime&&this.setProperty("article:published_time",e.publishedTime),e.modifiedTime&&this.setProperty("article:modified_time",e.modifiedTime)):(this.removeProperty("article:published_time"),this.removeProperty("article:modified_time")),this.setMeta("twitter:card","summary_large_image"),this.setMeta("twitter:site",a),this.setMeta("twitter:title",e.title),this.setMeta("twitter:description",e.description),e.image&&this.setMeta("twitter:image",e.image),e.structuredData?this.injectStructuredData(e.structuredData):this.removeStructuredData()}removeStructuredData(){var e;null==(e=document.getElementById(this.structuredDataScriptId))||e.remove()}injectStructuredData(e){this.removeStructuredData();const t=document.createElement("script");t.type="application/ld+json",t.id=this.structuredDataScriptId,t.textContent=JSON.stringify(e),document.head.appendChild(t)}setMeta(e,t){if(!e||!t)return;let r=document.querySelector(`meta[name="${e}"]`);r||(r=document.createElement("meta"),r.name=e,document.head.appendChild(r)),r.content=t}setProperty(e,t){if(!e||!t)return;let r=document.querySelector(`meta[property="${e}"]`);r||(r=document.createElement("meta"),r.setAttribute("property",e),document.head.appendChild(r)),r.content=t}removeProperty(e){var t;null==(t=document.querySelector(`meta[property="${e}"]`))||t.remove()}setLink(e,t){if(!e||!t)return;let r=document.querySelector(`link[rel="${e}"]`);r||(r=document.createElement("link"),r.rel=e,document.head.appendChild(r)),r.href=t}}export{s as SEOManager,s as default,o as isPrerendered};

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.