PageSourceSearch

https://cider.sh/_nuxt/BLhJh5sx.js

js cider.sh collected 2026-09-24 17:51:56 UTC 4,342 bytes, 1 lines download raw bytes

1import{_ as U}from"./DKnbBPlL.js";import{d as B,h as L,E as $,a as u,w as i,o as s,j as l,u as a,i as n,g,_ as V,f as d,e as y,t as c,l as v,p as w,K as D}from"./L393X9bF.js";import{_ as j}from"./DFy3rSjp.js";import{_ as T}from"./DRY73PBg.js";import{u as A,d as E}from"./DtAtc0aq.js";import{u as I}from"./8gz5nkM1.js";const F={key:0,class:"mt-10 lg:mt-24"},O={class:"mx-auto max-w-md md:max-w-2xl lg:grid lg:max-w-none lg:grid-cols-2 lg:gap-8 lg:items-center"},R={class:"relative"},H={class:"lg:pl-4"},K={key:0,class:"mb-2 text-sm font-semibold text-primary lg:text-base"},M={class:"mb-3 text-xl font-semibold lg:text-3xl xl:text-4xl"},W={key:1,class:"mb-4 text-muted-foreground lg:text-lg"},q={class:"flex flex-wrap items-center gap-2"},z={class:"mt-12 grid grid-cols-1 gap-x-8 gap-y-12 md:grid-cols-2 lg:mt-16 lg:grid-cols-3"},G={key:0,class:"mb-2 text-sm font-semibold text-primary"},J={class:"mb-2 text-xl font-semibold lg:text-2xl"},P={key:1,class:"mb-3 line-clamp-2 text-ellipsis text-muted-foreground"},Q={class:"flex flex-wrap items-center gap-2"},ot=B({__name:"index",async setup(X){let r,p;const h=A();L({title:"Changelogs",description:"Stay up to date with the latest Cider releases, news, updates, and resources.",ogTitle:"Changelogs",ogDescription:"Stay up to date with the latest Cider releases, news, updates, and resources.",twitterTitle:"Changelogs",twitterDescription:"Stay up to date with the latest Cider releases, news, updates, and resources.",ogUrl:`${h.url}/changelogs`,ogImage:`${h.url}/og/changelogs.png`,ogImageWidth:1200,ogImageHeight:630,twitterImage:`${h.url}/og/changelogs.png`}),E("OgShareCard",{});const{data:b}=([r,p]=$(async()=>I("changelogs-list",async()=>await $fetch("/api/changelogs/list"))),r=await r,p(),r),{data:C}=([r,p]=$(async()=>I("latest-changelog",async()=>{try{return await $fetch("/api/changelogs/latest")}catch(t){return console.error("Failed to fetch latest changelog:",t),null}})),r=await r,p(),r),x=D(()=>b.value?.changelogs?b.value.changelogs.map(t=>({author:"Cider Collective",date:new Date(t.lastUpdated).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),title:`Cider ${t.version}`,summary:t.shortDesc,image:t.thumbnail,path:`/changelogs/${t.version}`,tags:[],version:t.version})):[]),o=D(()=>{if(!x.value.length||!C.value)return;const t=x.value[0];if(t)return{author:t.author,date:t.date,title:t.title,summary:t.summary,image:t.image,path:t.path,version:t.version,tags:C.value.highlights?.map(m=>m.name)||[]}});return(t,m)=>{const k=U,_=V,f=j,N=T;return s(),u(N,{class:"py-16 lg:py-24"},{default:i(()=>[m[1]||(m[1]=l("div",{class:"text-center"},[l("p",{class:"mb-3 font-semibold text-primary"},"User Resources"),l("h1",{class:"mb-4 text-4xl font-semibold lg:mb-6 lg:text-5xl"},"Changelogs"),l("p",{class:"text-lg text-muted-foreground lg:text-xl"}," Stay up to date with the latest Cider releases, news, updates, and resources. ")],-1)),a(o)?(s(),n("div",F,[l("div",O,[l("div",R,[g(_,{to:a(o).path},{default:i(()=>[a(o).image?(s(),u(k,{key:0,src:a(o).image,alt:a(o).title,class:"mb-5 h-[280px] w-full rounded-lg object-cover shadow lg:mb-0 lg:h-[360px]"},null,8,["src","alt"])):d("",!0)]),_:1},8,["to"]),g(f,{class:"absolute left-3 top-3 bg-primary px-3 py-1 text-sm font-semibold text-primary-foreground"},{default:i(()=>[...m[0]||(m[0]=[y(" Latest ",-1)])]),_:1})]),l("div",H,[a(o).date?(s(),n("p",K,c(a(o).date),1)):d("",!0),g(_,{to:a(o).path},{default:i(()=>[l("h2",M,c(a(o).title),1)]),_:1},8,["to"]),a(o).summary?(s(),n("p",W,c(a(o).summary),1)):d("",!0),l("div",q,[(s(!0),n(v,null,w(a(o).tags,e=>(s(),u(f,{key:e,class:"px-3 py-1 text-sm",variant:"outline"},{default:i(()=>[y(c(e),1)]),_:2},1024))),128))])])])])):d("",!0),l("section",z,[(s(!0),n(v,null,w(a(x).slice(1),e=>(s(),n("div",{key:e.path},[g(_,{to:e.path},{default:i(()=>[e.image?(s(),u(k,{key:0,src:e.image,alt:e.title,class:"mb-5 h-[240px] w-full rounded-lg object-cover shadow"},null,8,["src","alt"])):d("",!0)]),_:2},1032,["to"]),e.date?(s(),n("p",G,c(e.date),1)):d("",!0),g(_,{to:e.path},{default:i(()=>[l("p",J,c(e.title),1)]),_:2},1032,["to"]),e.summary?(s(),n("p",P,c(e.summary),1)):d("",!0),l("div",Q,[(s(!0),n(v,null,w(e.tags,S=>(s(),u(f,{key:S,class:"px-3 py-1 text-sm",variant:"outline"},{default:i(()=>[y(c(S),1)]),_:2},1024))),128))])]))),128))])]),_:1})}}});
1export{ot 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.