PageSourceSearch

https://www.xpel.com/_nuxt/B4NbSq-o.js

js xpel.com collected 2026-10-02 03:06:19 UTC 745 bytes, 1 lines download raw bytes

1import{u as h}from"./DCCL5fmQ.js";const y=async({articles:i,category:s,max:d,locale:a})=>{const{latestBlogs:f,filterBlogsByCategory:g}=h(),t=d||6,l=i.filter(u=>p({article:u,locale:a.value})).slice(0,t)||[],r=Array.isArray(l)&&l.length>0?l.slice(0,t).length:0,e=[];if(r>=t)e.push(...l);else if(r<t){r>0&&e.push(...l);const c=(s.value?.url!==void 0?await g({locale:a.value,category:s.value?.url||""}):await f({locale:a.value})).filter(n=>e.map(({uid:o})=>o).includes(n.uid)===!1).slice(0,t-e.length);e.push(...c)}if(e.length<t){const c=(await f({locale:a.value})).filter(n=>e.map(({uid:o})=>o).includes(n.uid)===!1);e.push(...c.slice(0,t-e.length))}return e},p=({article:i,locale:s})=>s==="en-us"?!0:i?.publish_details?.locale===s;export{y as u};

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.