1import{s as ie,e as p,b as v,g as I,d as h,i as r,k as W,n as te,r as oe,a as S,t as F,f as A,v as J,x as O,j as u,w as K,z as ne}from"./scheduler.llW5ppze.js";import{e as ae}from"./each.6w4Ej4nR.js";import{S as ce,i as ue}from"./index.AAfFI-Cm.js";function le(i,e,o){const a=i.slice();return a[1]=e[o],a}function re(i){let e,o,a;return{c(){e=p("img"),this.h()},l(t){e=v(t,"IMG",{alt:!0,class:!0,decoding:!0,fetchpriority:!0,height:!0,src:!0,style:!0,width:!0}),this.h()},h(){r(e,"alt",o=i[1].title),r(e,"class","rounded-md border bg-muted transition-colors"),r(e,"decoding","async"),r(e,"fetchpriority","high"),r(e,"height","452"),O(e.src,a=i[1].featuredImage)||r(e,"src",a),ne(e,"color","transparent"),r(e,"width","804")},m(t,c){W(t,e,c)},p(t,c){c&1&&o!==(o=t[1].title)&&r(e,"alt",o),c&1&&!O(e.src,a=t[1].featuredImage)&&r(e,"src",a)},d(t){t&&h(e)}}}function se(i){var X,Y,Z;let e,o,a,t=i[1].title+"",c,l,b,P=i[1].shortDescription+"",M,Q,D,d,_,V,y,R,j,q=((Y=(X=i[1])==null?void 0:X.author)==null?void 0:Y.name)+"",z,C,T,k,B=new Date(((Z=i[1])==null?void 0:Z.publicationDate)||Date.now()).toLocaleDateString()+"",H,U,N,f=i[1].featuredImage&&re
1(i);return{c(){e=p("a"),f&&f.c(),o=S(),a=p("h2"),c=F(t),l=S(),b=p("p"),M=F(P),Q=S(),D=p("div"),d=p("a"),_=p("img"),R=S(),j=p("span"),z=F(q),T=S(),k=p("p"),H=F(B),U=S(),this.h()},l(n){e=v(n,"A",{class:!0,href:!0});var s=I(e);f&&f.l(s),o=A(s),a=v(s,"H2",{class:!0});var w=I(a);c=J(w,t),w.forEach(h),l=A(s),b=v(s,"P",{class:!0});var E=I(b);M=J(E,P),E.forEach(h),Q=A(s),D=v(s,"DIV",{class:!0});var m=I(D);d=v(m,"A",{class:!0,href:!0});var g=I(d);_=v(g,"IMG",{src:!0,alt:!0,class:!0}),R=A(g),j=v(g,"SPAN",{});var G=I(j);z=J(G,q),G.forEach(h),g.forEach(h),T=A(m),k=v(m,"P",{class:!0});var L=I(k);H=J(L,B),L.forEach(h),m.forEach(h),U=A(s),s.forEach(h),this.h()},h(){var n,s,w,E,m,g;r(a,"class","text-2xl font-extrabold"),r(b,"class","text-muted-foreground"),O(_.src,V=(s=(n=i[1])==null?void 0:n.author)==null?void 0:s.image)||r(_,"src",V),r(_,"alt",y=(E=(w=i[1])==null?void 0:w.author)==null?void 0:E.name),r(_,"class","w-[32px] rounded-full"),r(d,"class","text-[14px] text-muted-foreground flex items-center gap-2"),r(d,"href",C="/blog/authors/"+((g=(m=i[1])==null?void 0:m.author)==null?void 0:g.id)),r(k,"class","text-sm text-muted-foreground"),r(D,"class","flex justify-between items-center"),r(e,"class","group relative flex flex-col space-y-2"),r(e,"href",N="/blog/"+i[1].id)},m(n,s){W(n,e,s),f&&f.m(e,null),u(e,o),u(e,a),u(a,c),u(e,l),u(e,b),u(b,M),u(e,Q),u(e,D),u(D,d),u(d,_),u(d,R),u(d,j),u(j,z),u(D,T),u(D,k),u(k,H),u(e,U)},p(n,s){var w,E,m,g,G,L,$,x,ee;n[1].featuredImage?f?f.p(n,s):(f=re(n),f.c(),f.m(e,o)):f&&(f.d(1),f=null),s&1&&t!==(t=n[1].title+"")&&K(c,t),s&1&&P!==(P=n[1].shortDescription+"")&&K(M,P),s&1&&!O(_.src,V=(E=(w=n[1])==null?void 0:w.author)==null?void 0:E.image)&&r(_,"src",V),s&1&&y!==(y=(g=(m=n[1])==null?void 0:m.author)==null?void 0:g.name)&&r(_,"alt",y),s&1&&q!==(q=((L=(G=n[1])==null?void 0:G.author)==null?void 0:L.name)+"")&&K(z,q),s&1&&C!==(C="/blog/authors/"+((x=($=n[1])==null?void 0:$.author)==null?void 0:x.id))&&r(d,"href",C),s&1&&B!==(B=new Date(((ee=n[1])==null?void 0:ee.publicationDate)||Date.now()).toLocaleDateString()+"")&&K(H,B),s&1&&N!==(N="/blog/"+n[1].id)&&r(e,"href",N)},d(n){n&&h(e),f&&f.d()}}}function fe(i){let e,o=ae(i[0]),a=[];for(let t=0;t<o.length;t+=1)a[t]=se(le(i,o,t));return{c(){e=p("div");for(let t=0;t<a.length;t+=1)a[t].c();this.h()},l(t){e=v(t,"DIV",{class:!0});var c=I(e);for(let l=0;l<a.length;l+=1)a[l].l(c);c.forEach(h),this.h()},h(){r(e,"class","grid gap-10 sm:grid-cols-2")},m(t,c){W(t,e,c);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(e,null)},p(t,[c]){if(c&1){o=ae(t[0]);let l;for(l=0;l<o.length;l+=1){const b=le(t,o,l);a[l]?a[l].p(b,c):(a[l]=se(b),a[l].c(),a[l].m(e,null))}for(;l<a.length;l+=1)a[l].d(1);a.length=o.length}},i:te,o:te,d(t){t&&h(e),oe(a,t)}}}function he(i,e,o){let{articles:a=[]}=e;return i.$$set=t=>{"articles"in t&&o(0,a=t.articles)},[a]}class ge extends ce{constructor(e){super(),ue(this,e,he,fe,ie,{articles:0})}}export{ge as B};
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.