PageSourceSearch

https://lifehacker.ru/_nuxt/v7.12-NBBpiSpy.js

js lifehacker.ru collected 2026-09-24 08:29:06 UTC 2,928 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./v7.12-DAUe9Y2t.js","./v7.12-BOg_fPXI.js","./v7.12-_pfsIBSO.js","./entry-Bph1uqcI.css","./BannerNoData-CK3AwFuP.css","./v7.12-N1m5El2r.js","./ProfileCardPlaceholder-Drlm4srJ.css"])))=>i.map(i=>d[i]);
2import{b1 as g,bp as m,c3 as v,bq as u,bz as n,aU as s,aP as o,aQ as c,aO as p,aV as P,b4 as y,b5 as b,aT as k,b0 as O}from"./v7.12-_pfsIBSO.js";import{_ as I}from"./v7.12-DuLs-Jxr.js";import{C as N}from"./v7.12-Bxtg6cX4.js";import"./v7.12-Br8yryOE.js";import"./v7.12-Bw-GIxtj.js";import"./v7.12-EY0gt0hD.js";const T=m(()=>u(()=>import("./v7.12-DAUe9Y2t.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),B=m(()=>u(()=>import("./v7.12-N1m5El2r.js"),__vite__mapDeps([5,2,3,6]),import.meta.url)),w=30,A=g({name:"ProfileCommentsPage",components:{IntersectionObserver:I,CommentCard:N,BannerNoData:T,ProfileCardPlaceholder:B},scrollToTop:!0,props:{userId:{type:String,required:!0},authorName:{type:String,default:null},isOwnProfile:{type:Boolean,default:!1},isAuthor:{type:Boolean,required:!0},eventCategory:{type:String,required:!0}},data(){return{items:[],total:0,state:"pending",page:1}},methods:{async fetchComments(){var e;if(await new Promise(a=>{setTimeout(()=>{a()},1e3)}),this.state==="pending")try{this.state="fetching";const{page:a}=this,r=await v(this.userId,{page:a,limit:w});this.total=((e=r.meta)==null?void 0:e.total)??0;const i=r.data;i&&this.items.push(...i);const l=this.total===0,d=this.items.length===this.total;l?this.state="no-data":d?this.state="fulfilled":(this.page+=1,this.state="pending")}catch{this.state="error"}}}},"$5h6F4fvc9e"),E={class:"comments profile-content"},D={key:0},S={key:1,class:"comments__no-data"},$={key:2,class:"comments__list"};function V(e,a,r,i,l,d){const _=n("BannerNoData"),f=n("CommentCard"),h=n("ProfileCardPlaceholder"),C=n("IntersectionObserver");return o(),s("div",E,[e.state==="error"?(o(),s("p",D,"Произошла ошибка при загрузке комментариев.")):e.state==="no-data"?(o(),s("div",S,[c(_,{title:"Нет комментариев",text:e.isOwnProfile?"Напишите первый!":void 0},null,8,["text"])])):(o(),s("div",$,[(o(!0),s(y,null,b(e.items,t=>(o(),p(f,{key:t.id,avatar:t.avatar,author:t.author,"date-gmt":t.date_gmt,likesCount:t.users_liked_cnt,dislikesCount:t.users_disliked_cnt,content:t.content,title:t.post_title||"",commentId:t.id,showMedia:!0,files:t.files,videos:t.videos,postSlug:t.post&&t.post.slug,postType:t.post&&t.post.type},null,8,["avatar","author","date-gmt","likesCount","dislikesCount","content","title","commentId","files","videos","postSlug","postType"]))),128)),e.state==="fetching"||e.state==="pending"?(o(),p(C,{key:0,ref:"observer",onAppear:e.fetchComments},{default:k(()=>[c(h)]),_:1},8,["onAppear"])):P("",!0)]))])}const z=O(A,[["render",V],["__scopeId","data-v-6b9b7374"]]);export{z as default};
3//# sourceMappingURL=v7.12-NBBpiSpy.js.map

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.