PageSourceSearch

https://robo.cash/_nuxt/DFhGurC0.js

js robo.cash collected 2026-10-05 01:19:36 UTC 4,448 bytes, 1 lines download raw bytes

1import{b as R,u as z,a as D,_ as V}from"./FdiuTrGD.js";import{d as k,ak as C,b as u,n as t,c as d,T as A,h as p,w as U,P as F,a as i,e as b,i as j,f as I,t as y,bi as E,o as e,_ as P,F as M,r as w,z as L,j as T,m as H,q,H as x,I as O,av as G,O as J,M as K}from"./3h6kJG0a.js";import{_ as X}from"./BkjwCMBW.js";import{t as Y}from"./Hu0U74PY.js";const Z=k({__name:"PostsListItem",props:{post:{}},setup(c){const n=o=>"type"in o,s=C();return(o,r)=>{const _=R,l=I,g=A;return e(),u("div",{class:t(n(o.post)?o.$style.blogBanner:o.$style.blogPost)},[n(o.post)?(e(),d(_,{key:0})):(e(),d(g,{key:1,class:t(o.$style.blogPostLink),to:`${p(s).path}/${o.post.name}`},{default:U(()=>[o.post.reading_time?(e(),u("span",{key:0,class:t(o.$style.blogPostTimeToRead)},[b(l,{class:t(o.$style.blogPostStopwatchIcon),name:"stopwatch"},null,8,["class"]),j(" "+y(o.post.reading_time)+" "+y(o.$t("blog_page.reading_time.min")),1)],2)):F("",!0),i("p",{class:t(o.$style.blogPostTitle)},y(o.post.title),3),i("span",{class:t(o.$style.blogPostDate)},y(p(E)(o.post.published_at)),3)]),_:1},8,["class","to"]))],2)}}}),oo="_blogPostLink_172t5_1",so="_blogPostTitle_172t5_21",to="_blogPostTimeToRead_172t5_29",eo="_blogPostStopwatchIcon_172t5_36",no="_blogPostDate_172t5_41",lo="_blogPost_172t5_1",ao="_blogBanner_172t5_192",co={blogPostLink:oo,blogPostTitle:so,blogPostTimeToRead:to,blogPostStopwatchIcon:eo,blogPostDate:no,blogPost:lo,blogBanner:ao},ro={$style:co},_o=P(Z,[["__cssModules",ro]]),po="_blogSkeletonContainer_ml3k5_1",uo="_blogSkeleton_ml3k5_1",io="_shimmer_ml3k5_1",go={blogSkeletonContainer:po,blogSkeleton:uo,shimmer:io},mo={};function yo(c,n){return e(),u("div",{class:t(c.$style.blogSkeletonContainer)},[(e(),u(M,null,w(9,s=>i("div",{key:s,class:t(c.$style.blogSkeleton)},null,2)),64))],2)}const bo={$style:go},Po=P(mo,[["render",yo],["__cssModules",bo]]),$o=k({__name:"PostsListNotFound",props:{type:{}},setup(c){const n=c;return(s,o)=>{const r=I;return e(),u("div",{class:t(s.$style.postsNotFoundContainer)},[b(r,{class:t(s.$style.postsNotFoundIcon),name:"search-document"},null,8,["class"]),i("p",{class:t(s.$style.postsNotFoundText)},y(s.$t(`blog_page.no_${n.type}.message`)),3)],2)}}}),ho="_postsNotFoundContainer_4x177_1",ko="_postsNotFoundIcon_4x177_8",fo="_postsNotFoundText_4x177_14",Lo={postsNotFoundContainer:ho,postsNotFoundIcon:ko,postsNotFoundText:fo},Bo={$style:Lo},vo=P($o,[["__cssModules",Bo]]),No=k({__name:"PostsList",props:{searchQuery:{},type:{}},async setup(c){let n,s;const o=c,r=L(),_=L(1),l=z(),g=T(()=>o.searchQuery),{status:m}=([n,s]=H(()=>q(()=>l.fetchPosts(o.type,_.value,g.value),{watch:[_,g]},"$8WLgHpMnrO")),n=await n,s(),n),W=T(()=>{var a;return((a=l.posts)==null?void 0:a.data.length)&&l.posts.data.toSpliced(3,0,{type:"blog-banner",id:"blog-banner"})||[]});x(()=>{document.addEventListener("scroll",B,!1)}),O(()=>{document.removeEventListener("scroll",B,!1),G(()=>l.destroyPosts())});const B=Y(()=>{var $,h;const a=($=l.posts)==null?void 0:$.data,f=(h=l.posts)==null?void 0:h.total;a&&f&&a.length<f&&r.value.getBoundingClientRect().y-window.innerHeight<=0&&m.value!=="pending"&&(_.value+=1)});return J(()=>o.searchQuery,()=>{_.value=1,l.destroyPosts()}),(a,f)=>{var N;const $=_o,h=X,v=Po,Q=vo;return(N=p(l).posts)!=null&&N.data.length?(e(),u("div",{key:0,class:t(a.$style.blogPostsWrapper)},[i("div",{class:t(a.$style.blogPosts)},[(e(!0),u(M,null,w(p(W),S=>(e(),d($,{key:S.id,post:S},null,8,["post"]))),128)),i("div",{ref_key:"lazyLoadAnchor",ref:r,class:t(a.$style.blogPostLoader)},[p(m)==="pending"?(e(),d(h,{key:0})):F("",!0)],2)],2)],2)):p(m)==="pending"?(e(),d(v,{key:1})):(e(),d(Q,{key:2,type:a.type},null,8,["type"]))}}}),So="_blogPostsWrapper_1mjg7_1",To="_blogPosts_1mjg7_1",Co="_blogPostLoader_1mjg7_12",Fo={blogPostsWrapper:So,blogPosts:To,blogPostLoader:Co},Io={$style:Fo},Mo=P(No,[["__cssModules",Io]]),wo={class:"defaultSection"},Wo=k({__name:"Categorizer",props:{type:{}},setup(c){const n=C(),s=L(n.query.search||"");return(o,r)=>{const _=D,l=Mo,g=V;return e(),u("section",wo,[i("div",{class:t(o.$style.blogWrapper)},[i("div",{class:t(o.$style.blogPosts)},[b(_,{searchQuery:p(s),"onUpdate:searchQuery":r[0]||(r[0]=m=>K(s)?s.value=m:null),type:o.type},null,8,["searchQuery","type"]),b(l,{type:o.type,searchQuery:p(s)},null,8,["type","searchQuery"])],2),b(g)],2)])}}}),Qo="_blogWrapper_1fxs5_1",Ro="_blogPosts_1fxs5_12",zo={blogWrapper:Qo,blogPosts:Ro},Do={$style:zo},Eo=P(Wo,[["__cssModules",Do]]);export{Eo as _};

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.