PageSourceSearch

https://www.gainsbourg.net/chunk-C_xcRY54.js

js gainsbourg.net collected 2026-10-02 12:13:27 UTC 1,796 bytes, 1 lines download raw bytes

1import{Bt as K,Wo as ste,Yo as ts,ba as k,pa as jE,v as B}from"./chunk-DufymD-3.js";var p=(()=>{class i{constructor(t){this.dom=t}setCanonicalURL(t){let e=t??this.dom.URL,o=this.dom.querySelector(`link[rel=canonical]`);o&&o.remove();let s=this.dom.createElement(`link`);s.setAttribute(`rel`,`canonical`),this.dom.head.appendChild(s),s.setAttribute(`href`,e)}static{this.ɵfac=function(e){return new(e||i)(k(K))}}static{this.ɵprov=B({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();var u=(()=>{class i{constructor(t,e,o,s){this._titleService=t,this._metaService=e,this._canonicalService=o,this._translocoService=s}setMeta(t,e){this.setTitleByKeyword(t,e),this.setDescriptionByKeyword(t,e),this.setKeywordsByKeyword(t,e),this.setCanonicalURL()}setTitleByKeyword(t,e){let o=this._translocoService.translate(`${t}.metas.title`,e);this.setTitle(o)}setTitle(t){this._titleService.setTitle(t+` - Gainsbourg.net`),this._metaService.addTags([{property:`og:title`,content:t},{property:`twitter:card`,content:t},{property:`twitter:title`,content:t}])}setDescriptionByKeyword(t,e){let o=this._translocoService.translate(`${t}.metas.description`,e);this.setDescription(o)}setDescription(t){this._metaService.updateTag({name:`description`,content:t}),this._metaService.updateTag({property:`og:description`,content:t}),this._metaService.updateTag({property:`twitter:description`,content:t})}setKeywordsByKeyword(t,e){let o=this._translocoService.translate(`${t}.metas.keywords`,e);this.setKeywords(o)}setKeywords(t){this._metaService.updateTag({name:`keywords`,content:t})}setCanonicalURL(){this._canonicalService.setCanonicalURL()}static{this.ɵfac=function(e){return new(e||i)(k(jE),k(ste),k(p),k(ts))}}static{this.ɵprov=B({token:i,factory:i.ɵfac,providedIn:`root`})}}return i})();export{u as t};

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.