PageSourceSearch

https://datosdelanzarote.com/chunk-W44P3E7I.js

js datosdelanzarote.com collected 2026-10-02 10:35:45 UTC 2,205 bytes, 86 lines download raw bytes

1import{e as d,g as l}from"./chunk-52SZTV43.js";import{I as c,M as u,a as o,b as s,q as a}from"./chunk-Q35ERZGG.js";var I=l`
2  query allItemsFront(
3    $idfamilia: Int
4    $first: Int
5    $skip: Int
6    $anyo: Int
7    $search: String
8    $portada: Boolean
9  ) {
10    allItemsFront(
11      idfamilia: $idfamilia
12      first: $first
13      skip: $skip
14      anyo: $anyo
15      search: $search
16      portada: $portada
17    ) {
18      idseccion
19      seccion
20      numitems
21      items {
22        id
23        fecha
24        descripcion
25        ambito {
26          nombre
27        }
28        fpublicacion
29        titulo
30        dentrode
31        ficheroimagen
32        ficherodoc
33        slug
34        portada
35        itemfamiliaSet {
36          familia {
37            id
38            nombre
39            icono
40            slug
41          }
42        }
43      }
44    }
45  }
46`,F=l`
47  query itemFront($slug: String) {
48    itemFront(slug: $slug) {
49      id
50      seccion {
51        id
52      }
53      fecha
54      titulo
55      autor
56      ambito {
57        id
58        nombre
59      }
60      formato {
61        id
62        nombre
63      }
64      edita
65      dentrode
66      descripcion
67      tema
68      fpublicacion
69      html
70      slug
71      keywords
72      ficherohtml
73      ficherodoc
74      ficherodoc2
75      ficheroimagen
76      itemfamiliaSet {
77        familia {
78          id
79          nombre
80          icono
81          slug
82        }
83      }
84    }
85  }
86`,f=class n{apollo=u(d);items=[];estadisticas;documentos;async getItemsFamilia(t,e,g=0,m,b,p=!1){let{data:h}=await a(this.apollo.query({query:I,variables:{idfamilia:t!==void 0?Number(t):void 0,first:Number(g),skip:Number(e),anyo:m!==void 0?Number(m):void 0,search:b,portada:p}}));this.items=h.allItemsFront.map(i=>s(o({},i),{items:i.items.map(r=>s(o({},r),{year:r.fpublicacion?new Date(r.fpublicacion).getFullYear():0}))}
86)),this.documentos=this.items.find(i=>i.idseccion===1),this.estadisticas=this.items.find(i=>i.idseccion===2)}fetchItemFront(t){return a(this.apollo.query({query:F,variables:{slug:t},fetchPolicy:"network-only"})).then(({data:e})=>e.itemFront)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=c({token:n,factory:n.\u0275fac,providedIn:"root"})};export{f 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.