PageSourceSearch

https://strivejournal.com/chunk-R5DS2A5H.js

js strivejournal.com collected 2026-09-24 11:05:26 UTC 884 bytes, 1 lines download raw bytes

1import{c as w}from"./chunk-2W6JP7XC.js";import{a as p,h as m,i as u,k as d,s as h,v,w as y}from"./chunk-25VCRAYN.js";import{B as C,C as N}from"./chunk-OEGABLSR.js";import{D as l,G as n,f as a,h as c,u as s,x as f}from"./chunk-HBSCIRJF.js";var R=y(N),P=(()=>{class i{firestore=n(h);personal=n(w);hasUnreadNotification$=this.personal.personal$.pipe(f(t=>{if(!t)return a(!1);let e=[d(1)];return t.lastCheckedNotifications&&e.push(u("createdAt",">",t.lastCheckedNotifications)),this.collectionData(e,{uid:t.uid}).pipe(c(o=>o.filter(r=>C.includes(r.event))),c(o=>!!o.length))}),s({bufferSize:1,refCount:!0}));collectionData(t,e){let o=`Users/${e.uid}/Notifications`,r=p(this.firestore,o).withConverter(R),I=m(r,...t);return v(I,{idField:"id"})}static \u0275fac=function(e){return new(e||i)};static \u0275prov=l({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();export{P 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.