PageSourceSearch

https://mobiliteitexpert.nl/_nuxt/D2Mk3R2-.js

js mobiliteitexpert.nl collected 2026-10-05 04:38:48 UTC 3,300 bytes, 1 lines download raw bytes

1import{_ as H}from"./BrQUtZMy.js";import{_ as V}from"./CjRVCV4G.js";import{_ as z}from"./BS5SApLw.js";import{_ as E}from"./D9cPjpSn.js";import{c as F,N as O,u as Q,j as Y,k as I,l as J,y as K,x as W,Y as X,a0 as Z,R as ee}from"./CihRgsBV.js";import{u as ae}from"./NRFRAJgK.js";import{u as te}from"./Dwcg0_5Q.js";import{u as oe,w as se}from"./C2dAAXBd.js";import{d as ne,j as m,g as o,O as re,z as le,f as ie,w as _,o as ue,a as P,u as r}from"./Dwp8xOK1.js";import"./BZE1KEME.js";import"./m7HAgll5.js";import"./DdLqtvuJ.js";import"./60GpFWcm.js";import"./DFQwPpTp.js";const ce=F({endpoint:f=>`blog-categories/${f}`,unwrapData:!0}),Ce=ne({__name:"BlogCategoryController",props:{id:{},metaTitle:{},metaDescription:{},resource:{},posts:{},slugTranslations:{}},async setup(f){var $;let p,y;const a=f,{fetch:x}=ce(),{fetch:w,loading:b}=ae(),{sendPageView:k}=O(),{isMobile:T}=Q(),l=Y(),R=I(),u=J(),g=K(),B=W().get("language"),C=m(te().origin),t=m(),c=m({data:[],pagination:{currentPage:1,totalPages:1,perPage:10,total:0}}),i=o(()=>a.id?Number(a.id):void 0),S=m(typeof g.query.page=="string"?parseInt(g.query.page):void 0),d=o(()=>{var e,s;return l(a.slugTranslations,"renderedTitle")||l((e=t.value)==null?void 0:e.translations,"name")||((s=t.value)==null?void 0:s.name)||""}),A=o(()=>l(R.value.blogs,"title")||"Blog"),h=o(()=>{var e;return a.metaTitle||l((e=t.value)==null?void 0:e.metaTranslations,"title")||`${d.value} | ${u.value.identifier}`}),L=o(()=>{var e;return a.metaDescription||l((e=t.value)==null?void 0:e.metaTranslations,"description")||void 0}),N=oe(),q=o(()=>({rel:"canonical",href:se(new URL(g.path,C.value),N.value).href})),M=o(()=>{if(!t.value)return[];const e=[];u.value.interfaceLocales.forEach(n=>{var D;const v=(D=t.value.translations[n])==null?void 0:D.fullPath;v&&e.push({rel:"alternate",hreflang:n,href:new URL(`/${v}`,C.value).href})});const s=e.find(n=>n.hreflang===u.value.country);return s&&e.push({rel:"alternate",hreflang:"x-default",href:s.href}),e}),U=o(()=>"/"+l(R.value.blogs,"slug")),j=o(()=>{const e=[{to:U.value,meta:{label:A.value}}];return t.value&&e.push({meta:{label:d.value}}),e}),G=async e=>{await ee({query:{...g.query,page:e===0?void 0:e+1}}),c.value=await w({locale:B.value||u.value.country,categories:i.value?[i.value]:void 0,page:e+1})};if(i.value)if(a.resource!==void 0&&(($=a.posts)==null?void 0:$.length)&&S.value===void 0)t.value=a.resource,c.value={data:a.posts,pagination:{currentPage:1,totalPages:1,perPage:a.posts.length,total:a.posts.length}},b.value=!1;else{const[s,n]=([p,y]=re(()=>Promise.all([a.resource!==void 0?Promise.resolve(a.resource):x(i.value),w({locale:B.value||u.value.country,categories:i.value?[i.value]:void 0,page:S.value})])),p=await p,y(),p);t.value=s,c.value=n}return X({title:()=>h.value,link:()=>[q.value,...M.value]}),Z({title:()=>h.value,description:()=>L.value}),le(()=>{k(h.value,location.href)}),(e,s)=>{const n=H,v=V;return ue(),ie(z,{class:"blog-category-controller","show-filters":!1},{breadcrumbs:_(()=>[P(n,{routes:r(j)},null,8,["routes"])]),title:_(()=>[P(v,{title:r(d),compact:r(T),level:"1"},null,8,["title","compact"])]),posts:_(()=>[P(E,{posts:r(c).data,pagination:r(c).pagination,loading:r(b),compact:r(T),onPageChanged:G},null,8,["posts","pagination","loading","compact"])]),_:1})}}});
1export{Ce 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.