PageSourceSearch

https://elektronicavoorjou.nl/_nuxt/Hg4x5Qbb.js

js elektronicavoorjou.nl collected 2026-10-04 03:09:14 UTC 3,986 bytes, 1 lines download raw bytes

1import{_ as M}from"./CXJwfy63.js";import{_ as T}from"./fWjq0Tde.js";import{d as D,a as I,b as N,a4 as R,u as j,a1 as q,a6 as H,c as P,f as n,g as s,i as o,I as m,J as v,t as u,L as U,M as V,m as A,K as y,r as L,q as b,a5 as E,e as i,k as B,w as F,j as J}from"./C-ixyGM-.js";import{u as z}from"./DOT_CKJ-.js";import{u as K}from"./DxICIh2N.js";import{u as O}from"./DghupPFL.js";import{_ as Q}from"./DlAUqK2U.js";const G={class:"blogs-page"},W={class:"container pt-2"},X=["aria-label"],Y={class:"breadcrumb mb-0 small"},Z={key:1},ee={class:"container pt-3 pb-2"},te={class:"d-flex flex-wrap align-items-center justify-content-between gap-3 mb-3"},se={class:"blogs-title mb-0"},oe={class:"blogs-search-wrap"},ae=["placeholder"],le={class:"filter-pills"},ie=["onClick"],ne={class:"container pb-5"},re={key:0,class:"blogs-grid"},ce={key:1,class:"blogs-grid"},de={key:2,class:"blogs-empty"},ue={class:"h5 mb-2"},pe=D({__name:"index",async setup(_e){let k,x;const{t:a,locale:h}=I(),_=z();N();const{origin:g}=R(),C=j();[k,x]=q(()=>E(()=>`blog-list:${h.value}`,()=>_.fetchPosts(h.value),{watch:[h]})),await k,x();const c=L(""),p=L(""),S=b(()=>{const l=new Set,e=[];for(const r of _.posts)for(const d of r.categories)l.has(d.id)||(l.add(d.id),e.push(d));return e}),$=b(()=>{let l=_.posts;if(c.value&&(l=l.filter(e=>e.categories.some(r=>r.name===c.value))),p.value.trim()){const e=p.value.toLowerCase();l=l.filter(r=>r.title.toLowerCase().includes(e)||r.categories.some(d=>d.name.toLowerCase().includes(e)))}return l}),f=b(()=>[{label:a("breadcrumbs.home"),href:"/"},{label:a("blog.overview.title"),href:null}]);return K(),O(),H({title:()=>`${a("blog.overview.title")} | ${a("header.logo_aria")}`,description:()=>a("blog.overview.meta_description"),ogTitle:()=>a("blog.overview.title"),ogDescription:()=>a("blog.overview.meta_description"),ogType:"website",ogUrl:()=>`${g}${C.path}`}),P(b(()=>({script:[{key:"schema-breadcrumb",type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:f.value.map((l,e)=>({"@type":"ListItem",position:e+1,item:{"@id":l.href?`${g}${l.href}`:`${g}${C.path}`,name:l.label}}))})}]}))),(l,e)=>{const r=M,d=T;return i(),n("section",G,[s("div",W,[s("nav",{"aria-label":o(a)("breadcrumbs.home")},[s("ol",Y,[(i(!0),n(m,null,v(o(f),(t,w)=>(i(),n("li",{key:w,class:y(["breadcrumb-item",{active:w===o(f).length-1}])},[t.href?(i(),B(r,{key:0,to:t.href},{default:F(()=>[J(u(t.label),1)]),_:2},1032,["to"])):(i(),n("span",Z,u(t.label),1))],2))),128))])],8,X)]),s("div",ee,[s("div",te,[s("h1",se,u(o(a)("blog.overview.title")),1),s("div",oe,[e[3]||(e[3]=s("span",{class:"blogs-search-icon","aria-hidden":"true"},[s("svg",{width:"15",height:"15",viewBox:"0 0 20 20",fill:"none"},[s("circle",{cx:"8.5",cy:"8.5",r:"6",stroke:"currentColor","stroke-width":"1.75"}),s("path",{d:"M13 13l4 4",stroke:"currentColor","stroke-width":"1.75","stroke-linecap":"round"})])],-1)),U(s("input",{"onUpdate:modelValue":e[0]||(e[0]=t=>A(p)?p.value=t:null),type:"search",class:"blogs-search",placeholder:o(a)("blog.overview.search_placeholder")},null,8,ae),[[V,o(p)]])])]),s("div",le,[s("button",{type:"button",class:y(["filter-pill",{active:!o(c)}]),onClick:e[1]||(e[1]=t=>c.value="")},u(o(a)("blog.overview.all")),3),(i(!0),n(m,null,v(o(S),t=>(i(),n("button",{key:t.id,type:"button",class:y(["filter-pill",{active:o(c)===t.name}]),onClick:w=>c.value=t.name},u(t.name),11,ie))),128))])]),s("div",ne,[o(_).listStatus==="loading"?(i(),n("div",re,[(i(),n(m,null,v(6,t=>s("div",{key:`sk-${t}`,class:"blog-card-skeleton"})),64))])):o($).length?(i(),n("div",ce,[(i(!0),n(m,null,v(o($),t=>(i(),B(d,{key:t.id,post:t},null,8,["post"]))),128))])):(i(),n("div",de,[s("p",ue,u(o(a)("blog.overview.no_results")),1),s("button",{type:"button",class:"btn btn-outline-secondary btn-sm mt-2",onClick:e[2]||(e[2]=t=>{c.value="",p.value=""})},u(o(a)("blog.overview.all")),1)]))])])}}}),ye=Q(pe,[["__scopeId","data-v-e01e273f"]]);export{ye as default};

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.