PageSourceSearch

https://www.proarti.fr/_nuxt/DjBwrxn1.js

js proarti.fr collected 2026-10-01 11:26:33 UTC 1,260 bytes, 1 lines download raw bytes

1import{A as u,H as o}from"./Dx7Kr5Mv.js";import{a as l}from"./Bh4Tt5nT.js";import{N as n}from"./CeEbX2iy.js";import{a as c}from"./DrsQIvg-.js";class m{"@id";"@type";id;title=null;summary=null;body=null;slug=null;avatar=null;label=null;constructor(t,e,a){this["@id"]=t,this["@type"]=e,this.id=a}get url(){return`/actus/${this.slug}`}get image(){return this.avatar?.formats?.get("user_big")??this.label?.formats?.get("user_big")??null}}class i{FromJSON(t){const e=new m(t["@id"],t["@type"],t.id);return e.title=t.title,e.summary=t.summary,e.body=t.body,e.slug=t.slug,t.avatar&&typeof t.avatar=="object"&&(e.avatar=new l().FromJSON(t.avatar)),t.label&&typeof t.label=="object"&&(e.label=new l().FromJSON(t.label)),e}}var d={};class h extends u{constructor(){super(new i,d.NUXT_WEB_URL??"","/api/actuses/discovers","")}async loadBySlug(t){const e=`/api/actuses/discovers?slug=${encodeURIComponent(t)}&enabled=true&itemsPerPage=1`;try{const s=(await(await c(this.toProxyUrl(e),{headers:{"Content-Type":"application/ld+json"}})).json())?.["hydra:member"]??[];return s.length===0?null:new i().FromJSON(s[0])}catch(a){return n.error("Erreur lors du chargement de l’actualité",o.create("GET",e,null,a.response?.status||500,a.response?.data||null))}}}export{h 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.