1import{az as V,ao as W,aj as g,ap as h,aq as k,ar as _,b3 as D,b2 as Y,au as b,as as w,at as n,aw as G,ax as m,aV as H,aB as J,aC as N,ay as y,bS as K}from"./vendor-DD6evVHM.js";import{a as r,A as O}from"./AuthorFollowingList-ktTQTdNb.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};d.SENTRY_RELEASE={id:"9ac8e1f66c4f8a43262d6a885cd72d4b9a217fa2"};var f=new d.Error().stack;f&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[f]="b248afa1-97cc-4201-9d74-ab39fbff666d",d._sentryDebugIdIdentifier="sentry-dbid-b248afa1-97cc-4201-9d74-ab39fbff666d")}catch{}})();var Q=y("<span>#<!$><!/>"),C=y("<span><i></i><span>"),X=y("<div><!$><!/><div><div><!$><!/><!$><!/></div><span><span>");const Z=d=>{const f=V(),{l10n:s}=W();return g(N,{get each(){return d.page},children:(o,U)=>{const S=()=>(o?.stories_count??0)+(o?.poems_count??0)+(o?.illustrations_count??0)+(o?.audios_count??0),L=()=>H(J(o)??"#",1);return(()=>{var x=h(X),T=x.firstChild,[E,j]=k(T.nextSibling),A=E.nextSibling,$=A.firstChild,q=$.firstChild,[R,z]=k(q.nextSibling),B=R.nextSibling,[M,P]=k(B.nextSibling),F=$.nextSibling,I=F.firstChild;return _(x,g(D,{get href(){return L()},hreflang:f?"en":void 0,get"aria-label"(){return`${o.username}`},get class(){return r.authorimage_link},get children(){return g(Y,{get username(){return o.username},get class(){return r.author_image},get userpic(){return o.userpic},width:60,height:60})}}),E,j),_($,g(D,{get href(){return L()},hreflang:f?"en":void 0,get class(){return r.authorname},get children(){return o.username}}),R,z),_($,g(b,{get when(){return d.startRank!=null},get children(){var e=h(Q),a=e.firstChild,l=a.nextSibling,[t,i]=k(l.nextSibling);return _(e,()=>(d.startRank??1)+U(),t,i),w(()=>n(e,r.rank_badge)),e}}),M,P),_(I,g(b,{get when(){return S()},get fallback(){return[g(b,{get when(){return o.followers_count},get children(){var e=h(C),a=e.firstChild,l=a.nextSibling;return _(l,()=>`${o.followers_count?.toLocaleString()} ${o.followers_count===1?s.getString("author-followers-singular"):s.getString("author-followers")}`),w(t=>{var i=`${r.stats__item}`,u=s.getString("author-followers"),c=`icon icon-user ${r.stats__icon}`,v=r.stats__text;return i!==t.e&&n(e,t.e=i),u!==t.t&&m(e,"title",t.t=u),c!==t.a&&n(a,t.a=c),v!==t.o&&n(l,t.o=v),t},{e:void 0,t:void 0,a:void 0,o:void 0}),e}}),g(b,{get when(){return o.followings_count},get children(){var e=h(C),a=e.firstChild,l=a.nextSibling;return _(l,()=>`${o.followings_count?.toLocaleString()} ${s.getString("author-stat-following")}`),w(t=>{var i=`${r.stats__item}`,u=s.getString("author-stat-following"),c=`icon icon-user ${r.stats__icon}`,v=r.stats__text;return i!==t.e&&n(e,t.e=i),u!==t.t&&m(e,"title",t.t=u),c!==t.a&&n(a,t.a=c),v!==t.o&&n(l,t.o=v),t},{e:void 0,t:void 0,a:void 0,o:void 0}),e}})]},get children(){return[(()=>{var e=h(C),a=e.firstChild,l=a.nextSibling;return _(l,(()=>{var t=G(()=>!!S());return()=>t()?`${S().toLocaleString()} ${S()===1?s.getString("works-count-singular"):s.getString("works-count")}`:null})()),w(t=>{var i=`${r.stats__item}`,u=s.getString("works-count"),c=`icon icon-book ${r.stats__icon}`,v=r.stats__text;return i!==t.e&&n(e,t.e=i),u!==t.t&&m(e,"title",t.t=u),c!==t.a&&n(a,t.a=c),v!==t.o&&n(l,t.o=v),t},{e:void 0,t:void 0,a:void 0,o:void 0}),e})(),g(b,{get when(){return o.followers_count},get children(){var e=h(C),a=e.firstChild,l=a.nextSibling;return _(l,()=>`${o.followers_count?.toLocaleString()} ${o.followers_count===1?s.getString("author-followers-singular"):s.getString("author-followers")}`),w(t=>{var i=`${r.stats__item}`,u=s.getString("author-followers"),c=`icon icon-user ${r.stats__icon}`,v=r.stats__text;return i!==t.e&&n(e,t.e=i),u!==t.t&&m(e,"title",t.t=u),c!==t.a&&n(a,t.a=c),v!==t.o&&n(l,t.o=v),t},{e:void 0,t:void 0,a:void 0,o:void 0}),e}})]}})),w(e=>{var a=`${r.card} panel`,l=r.card_info,t=r.card_name_row,i=r.statsrow,u=r.work_item__stats;return a!==e.e&&n(x,e.e=a),l!==e.t&&n(A,e.t=l),t!==e.a&&n($,e.a=t),i!==e.o&&n(F,e.o=i),u!==e.i&&n(I,e.i=u),e},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),x})()}})};var p=y("<div>");const rt=d=>(()=>{var f=h(p);return _(f,g(N,{get each(){return d.pages},children:s=>g(K,{get children(){return g(b,{get when(){return d.followers},get fallback(){return g(O,{get page(){return s.data}})},get children(){return g(Z,{get page(){return s.data}})}})}})})),w(()=>n(f,r.card_list)),f})();export{rt as A};
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.