PageSourceSearch

https://www.skrapid.at/_nuxt/we_9hZkq.js

js skrapid.at collected 2026-10-02 05:30:15 UTC 1,760 bytes, 1 lines download raw bytes

1import{M as p,p as o,W as h}from"#entry";const f=p("news",{state:()=>({news:null,categories:null,topCategories:null,exclusiveNews:null}),getters:{},actions:{async fetchNews(){if(!this.news)try{const e=o(),{data:t,error:s}=await h(e.public.wpApiUrl+"/wp/v2/posts?per_page=100","$G8leidqy9k");this.news=t.value}catch(e){this.news=null,console.error("Error fetching news:",e)}},async fetchLatestNews(e=null,t=!1,s=[]){const l=o(),g=new Date().toISOString();let r=`${l.public.wpApiUrl}/wp/v2/posts?per_page=8&before=${g}&_fields=id,title,path,excerpt,date,sk_featured_image,sk_preview_image,superkraft.meta.sk_display_title`;if(s.length>0&&(r+=`&exclude=${s.join(",")}`),e&&e.length>0){let i=[];if(t)i=e.join(","),r+=`&categories=${i}`;else{await this.fetchCategories();const n=this.categories?this.categories.filter(c=>e.includes(c.slug)).map(c=>c.id):[];n.length>0&&(i=n.join(","),r+=`&categories=${i}`)}}const a=await $fetch(r);return a||[]},async fetchCategories(){var e;if(!((e=this.categories)!=null&&e.length))try{const t=o(),s=await $fetch(`${t.public.wpApiUrl}/wp/v2/categories`,{params:{per_page:100,_fields:"id,name,slug"}});this.categories=s}catch(t){this.categories=null,console.error("Error fetching categories:",t)}},async fetchTopCategories(){var e;if(!((e=this.topCategories)!=null&&e.length))try{const t=o(),s=await $fetch(`${t.public.wpApiUrl}/sk/v1/top-categories`);this.topCategories=s}catch(t){this.topCategories=null,console.error("Error fetching top categories:",t)}},async fetchExclusiveNews(){var e;if(!((e=this.exclusiveNews)!=null&&e.length))try{const t=await $fetch("/api/cms/posts/restricted",{method:"GET"});this.exclusiveNews=t}catch(t){this.exclusiveNews=null,console.error("Error fetching exclusive news:",t)}}}});export{f 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.