1import{r as zt,g as Ct,a as At}from"../chunks/ClV9-bpV.js";import"../chunks/DsnmJJEf.js";import{p as It,d as Mt,e as F,g as e,a as g,b as jt,ap as je,u as l,aI as Lt,s,c as o,r,t as y,I as Le,f}from"../chunks/CYGRAPIB.js";import{e as Bt,s as n}from"../chunks/D9UuDnCi.js";import{i as m}from"../chunks/nU4rHKDQ.js";import{e as Et}from"../chunks/DTvJC0Jp.js";import{h as Tt}from"../chunks/DUu1U6v-.js";import{s as u,b as Dt}from"../chunks/BEZvtooX.js";import{b as Ht,A as Rt,S as Ot,a as Be,p as Ut}from"../chunks/DrDqatGg.js";import{a as Nt}from"../chunks/BvKBMFba.js";import{b as Ee,a as Te,d as Ft,e as Yt,f as qt,g as Gt,c as Jt}from"../chunks/CymlDI5X.js";import{b as Kt,a as Qt,c as Vt,d as Wt,e as Xt,f as Zt,g as er,h as tr,s as rr,i as ar}from"../chunks/BHIAdxuO.js";import{B as or,b as sr}from"../chunks/CpWhE398.js";import{N as ir}from"../chunks/DZPQBCwR.js";import{S as De}from"../chunks/D0T9t0sD.js";import{P as He}from"../chunks/CtgGnEb9.js";import{P as I,h as M}from"../chunks/T8_RqQZ_.js";import{r as Y}from"../chunks/kaiQ09si.js";import{f as Re}from"../chunks/ww51vty2.js";import{C as lr}from"../chunks/BlZDJl1O.js";import{C as nr}from"../chunks/BKx4uG-s.js";import{E as dr}from"../chunks/maGdBHiu.js";const cr=!0;function vr(){return zt.filter(x=>!!x.slug).map(x=>({slug:x.slug}))}function mr({params:x}){return{item:Ct(x.slug)??null}}const Jr=Object.freeze(Object.defineProperty({__proto__:null,entries:vr,load:mr,prerender:cr},Symbol.toStringTag,{value:"Module"}));function ur(x){const j=x.replace(/<(script|style|noscript|template)\b[^>]*>[\s\S]*?<\/\1>/gi," ").replace(/<[^>]*>/g," ").replace(/ /gi," ").split(/\s+/).filter(Boolean).length/200;return Math.max(1,Math.ceil(j))}var pr=f('<span class="text-xs font-medium px-3 py-1 rounded-full bg-[hsl(var(--a11y-warning)/0.1)] text-[hsl(var(--a11y-warning))]"> </span>'),gr=f('<div class="aspect-video rounded-xl overflow-hidden mb-10"><img class="w-full h-full object-cover" width="1024" height="576" loading="lazy" decoding="async"/></div>'),_r=f('<div class="prose prose-invert max-w-none prose-headings:text-foreground prose-p:text-muted-foreground prose-a:text-primary prose-strong:text-foreground prose-code:text-primary"></div>'),fr=f('<a target="_blank" rel="noopener noreferrer" class="inline-flex items-center gap-2 px-5 py-2.5 rounded-lg bg-primary text-primary-foreground font-medium text-sm hover:bg-primary/90 transition-colors w-fit"> <!></a>'),xr=f('<div class="aspect-video overflow-hidden"><img class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300" width="1024" height="576" loading="lazy" decoding="async"/></div>'),br=f('<a class="block card-pixel overflow-hidden hover:border-border/80 transition-all duration-300 group"><article><!> <div class="p-4"><span class="text-xs font-medium px-2 py-0.5 bg-primary/10 text-primary border border-primary/20 rounded-full capitalize"> </span> <h3 class="text-sm font-semibold text-foreground leading-snug mt-2 line-clamp-2 font-pixel"> </h3> <p class="text-xs text-muted-foreground line-clamp-2 mt-1"> </p> <div class="flex items-center justify-between text-xs text-muted-foreground mt-3"><span> </span> <time> </time></div></div></article></a>'),hr=f('<section class="py-12 border-t border-border"><div class="max-w-4xl mx-auto px-4 sm:px-6"><h2 class="text-2xl font-bold text-foreground mb-8 font-pixel"> </h2> <div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-6"></div></div></section>'),wr=f('<article class="py-12"><div class="max-w-4xl mx-auto px-4 sm:px-6"><a class="btn-pixel-outline inline-flex items-center gap-2 text-sm mb-8 transition-colors"><!> </a> <header class="mb-8"><div class="flex items-center gap-3 mb-4"><span class="text-xs font-medium px-3 py-1 rounded-full bg-primary/10 text-primary"> </span> <!></div> <h1 class="text-3xl sm:text-4xl font-bold text-foreground leading-tight mb-4 font-pixel"> </h1> <p class="text-lg text-muted-foreground mb-6"> </p> <div class="flex flex-wrap items-center gap-4 text-sm text-muted-foreground"><span> </span> <span class="flex items-center gap-1.5"><!> </span> <span class="flex items-center gap-1.5"><!> </span></div></header> <!> <!> <div class="mt-10 pt-6 border-t border-border"><!></div> <div class="mt-8 pt-8 border-t border-border flex flex-col gap-4"><!> <a class="btn-pixel-outline inline-flex items-center gap-2 text-sm w-fit"><!> </a></div></div></article> <section class="py-12 border-t border-border"><div class="max-w-4xl mx-auto px-4 sm:px-6"><div class="card-pixel p-8 sm:p-10 text-center"><div class="flex justify-center mb-4"><!></div> <h2 class="text-2xl font-bold text-foreground mb-2 font-pixel"> </h2> <p class="text-muted-foreground mb-6"> </p> <!></div></div></section> <!>',1),yr=f('<div class="fixed top-0 left-0 h-0.5 bg-primary z-50 transition-[width] duration-150 ease-out" role="progressbar"></div> <!> <!> <!> <!>',1),$r=f('<section class="py-16"><div class="max-w-2xl mx-auto px-4 sm:px-6 text-center"><h1 class="text-2xl font-bold text-foreground mb-3"> </h1> <p class="text-muted-foreground mb-6"> </p> <a class="inline-flex items-center rounded-md border border-border px-4 py-2 text-sm hover:bg-muted/50"> </a></div></section>'),kr=f("<!> <!>",1);function Kr(x,D){It(D,!0);const a=l(()=>D.data.item);let j=je(0),q=je(0);function Oe(){if(typeof document<"u"&&typeof window<"u"){const v=document.documentElement.scrollHeight-window.innerHeight;Le(q,v>0?Math.min(100,e(j)/v*100):0,!0)}}const Ue=l(()=>e(a)?.content?ur(e(a).content):1),ue=l(()=>e(a)?At(String(e(a).id),e(a).category,3):[]);function pe(v){return v.split("-").map($=>$.charAt(0).toUpperCase()+$.slice(1)).join(" ")}var ge=Mt();Bt("scroll",Lt,Oe);var Ne=F(ge);{var Fe=v=>{var $=yr(),b=F($);u(b,"aria-valuemin",0),u(b,"aria-valuemax",100);var H=s(b,2);{let p=l(()=>
1({publishedTime:e(a).publishDate,author:e(a).source,section:e(a).category}));De(H,{get title(){return e(a).title},get description(){return e(a).description},get keywords(){return`agentic AI, ${e(a).category??""}, AI research`},get canonicalPath(){return`/blog/${e(a).slug??""}`},ogType:"article",get ogImage(){return e(a).image},get article(){return e(p)}})}var C=s(H,2);{let p=l(()=>[{name:sr(),url:"https://www.yanok.ai/"},{name:Jt(),url:"https://www.yanok.ai/blog"},{name:e(a).title,url:`https://www.yanok.ai/blog/${e(a).slug}`}]);or(C,{get items(){return e(p)}})}var L=s(C,2);{let p=l(()=>e(a).image||"https://www.yanok.ai/images/brand/yanok-og.png"),k=l(()=>({name:e(a).source})),A=l(()=>`https://www.yanok.ai/blog/${e(a).slug}`),h=l(()=>e(a).content?e(a).content.replace(/<[^>]*>/g,"").split(/\s+/).filter(Boolean).length:void 0);Rt(L,{get headline(){return e(a).title},get description(){return e(a).description},get image(){return e(p)},get datePublished(){return e(a).publishDate},get author(){return e(k)},get url(){return e(A)},get section(){return e(a).category},get keywords(){return e(a).topics},get wordCount(){return e(h)},articleType:"BlogPosting"})}var B=s(L,2);He(B,{children:(p,k)=>{var A=wr(),h=F(A),R=o(h),P=o(R),O=o(P);{var G=t=>{I(t,{icon:"ArrowLeft",size:"sm"})},J=l(()=>M("ArrowLeft")),K=t=>{Be(t,{class:"w-4 h-4"})};m(O,t=>{e(J)?t(G):t(K,-1)})}var Q=s(O);r(P);var V=s(P,2),W=o(V),X=o(W),qe=o(X,!0);r(X);var Ge=s(X,2);{var Je=t=>{var i=pr(),c=o(i,!0);r(i),y(_=>n(c,_),[()=>Vt()]),g(t,i)};m(Ge,t=>{e(a).featured&&t(Je)})}r(W);var Z=s(W,2),Ke=o(Z,!0);r(Z);var ee=s(Z,2),Qe=o(ee,!0);r(ee);var _e=s(ee,2),te=o(_e),Ve=o(te,!0);r(te);var re=s(te,2),fe=o(re);{var We=t=>{I(t,{icon:"Calendar",size:"sm"})},Xe=l(()=>M("Calendar")),Ze=t=>{lr(t,{class:"w-4 h-4"})};m(fe,t=>{e(Xe)?t(We):t(Ze,-1)})}var et=s(fe);r(re);var xe=s(re,2),be=o(xe);{var tt=t=>{I(t,{icon:"Clock",size:"sm"})},rt=l(()=>M("Clock")),at=t=>{nr(t,{class:"w-4 h-4"})};m(be,t=>{e(rt)?t(tt):t(at,-1)})}var ot=s(be);r(xe),r(_e),r(V);var he=s(V,2);{var st=t=>{var i=gr(),c=o(i);r(i),y(()=>{u(c,"src",e(a).image),u(c,"alt",e(a).title)}),g(t,i)};m(he,t=>{e(a).image&&t(st)})}var we=s(he,2);{var it=t=>{var i=_r();Tt(i,()=>Ut.sanitize(e(a).content),!0),r(i),g(t,i)};m(we,t=>{e(a).content&&t(it)})}var ae=s(we,2),lt=o(ae);{let t=l(()=>`https://www.yanok.ai/blog/${e(a).slug}`);Ot(lt,{get url(){return e(t)},get title(){return e(a).title}})}r(ae);var ye=s(ae,2),$e=o(ye);{var nt=t=>{var i=fr(),c=o(i),_=s(c);{var z=d=>{I(d,{icon:"ExternalLink",size:"sm"})},S=l(()=>M("ExternalLink")),w=d=>{dr(d,{class:"w-4 h-4"})};m(_,d=>{e(S)?d(z):d(w,-1)})}r(i),y(d=>{u(i,"href",e(a).externalUrl),n(c,`${d??""} `)},[()=>Wt()]),g(t,i)};m($e,t=>{e(a).externalUrl&&t(nt)})}var oe=s($e,2),ke=o(oe);{var dt=t=>{I(t,{icon:"ArrowLeft",size:"sm"})},ct=l(()=>M("ArrowLeft")),vt=t=>{Be(t,{class:"w-4 h-4"})};m(ke,t=>{e(ct)?t(dt):t(vt,-1)})}var mt=s(ke);r(oe),r(ye),r(R),r(h);var se=s(h,2),Pe=o(se),Se=o(Pe),ie=o(Se),ut=o(ie);{var pt=t=>{I(t,{icon:"Mail",size:"lg",class:"text-primary"})},gt=l(()=>M("Mail"));m(ut,t=>{e(gt)&&t(pt)})}r(ie);var le=s(ie,2),_t=o(le,!0);r(le);var ne=s(le,2),ft=o(ne,!0);r(ne);var xt=s(ne,2);{let t=l(()=>Ee()),i=l(()=>Te()),c=l(()=>Ft()),_=l(()=>Yt()),z=l(()=>qt()),S=l(()=>Gt());ir(xt,{get title(){return e(t)},get description(){return e(i)},get successMessage(){return e(c)},get errorMessage(){return e(_)},get placeholder(){return e(z)},get submitLabel(){return e(S)}})}r(Se),r(Pe),r(se);var bt=s(se,2);{var ht=t=>{var i=hr(),c=o(i),_=o(c),z=o(_,!0);r(_);var S=s(_,2);Et(S,21,()=>e(ue),w=>w.id,(w,d)=>{var U=br(),ze=o(U),Ce=o(ze);{var wt=E=>{var T=xr(),N=o(T);r(T),y(()=>{u(N,"src",e(d).image),u(N,"alt",e(d).title)}),g(E,T)};m(Ce,E=>{e(d).image&&E(wt)})}var Ae=s(Ce,2),de=o(Ae),yt=o(de,!0);r(de);var ce=s(de,2),$t=o(ce,!0);r(ce);var ve=s(ce,2),kt=o(ve,!0);r(ve);var Ie=s(ve,2),me=o(Ie),Pt=o(me,!0);r(me);var Me=s(me,2),St=o(Me,!0);r(Me),r(Ie),r(Ae),r(ze),r(U),y((E,T,N)=>{u(U,"href",E),n(yt,T),n($t,e(d).title),n(kt,e(d).description),n(Pt,e(d).source),n(St,N)},[()=>Y(`/blog/${e(d).slug}`),()=>pe(e(d).category),()=>Re(e(d).publishDate,{month:"short",day:"numeric"})]),g(w,U)}),r(S),r(c),r(i),y(w=>n(z,w),[()=>Xt()]),g(t,i)};m(bt,t=>{e(ue).length>0&&t(ht)})}y((t,i,c,_,z,S,w,d)=>{u(P,"href",t),n(Q,` ${i??""}`),n(qe,c),n(Ke,e(a).title),n(Qe,e(a).description),n(Ve,e(a).source),n(et,` ${_??""}`),n(ot,` ${e(Ue)??""} min read`),u(oe,"href",z),n(mt,` ${S??""}`),n(_t,w),n(ft,d)},[()=>Y("/blog"),()=>Kt(),()=>pe(e(a).category),()=>Re(e(a).publishDate,{month:"long",day:"numeric",year:"numeric"}),()=>Y("/blog"),()=>Qt(),()=>Ee(),()=>Te()]),g(p,A)},$$slots:{default:!0}}),y((p,k)=>{Dt(b,`width: ${e(q)??""}%`),u(b,"aria-valuenow",p),u(b,"aria-label",k)},[()=>Math.round(e(q)),()=>Nt()]),g(v,$)},Ye=v=>{var $=kr(),b=F($);{let C=l(()=>ar()),L=l(()=>rr());De(b,{get title(){return e(C)},get description(){return e(L)}
1,canonicalPath:"/blog",noIndex:!0})}var H=s(b,2);He(H,{children:(C,L)=>{var B=$r(),p=o(B),k=o(p),A=o(k,!0);r(k);var h=s(k,2),R=o(h,!0);r(h);var P=s(h,2),O=o(P,!0);r(P),r(p),r(B),y((G,J,K,Q)=>{n(A,G),n(R,J),u(P,"href",K),n(O,Q)},[()=>Zt(),()=>er(),()=>Y("/blog"),()=>tr()]),g(C,B)},$$slots:{default:!0}}),g(v,$)};m(Ne,v=>{e(a)?v(Fe):v(Ye,-1)})}Ht("y",()=>e(j),v=>Le(j,v,!0)),g(x,ge),jt()}export{Kr as component,Jr as universal};
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.