1import{a as m,b as h}from"./chunk-R7FBI6FH.js";import{q as c}from"./chunk-NPLYHJWT.js";import{h as p}from"./chunk-D7ZWZD6W.js";import{h as s,ta as a,y as n,ya as i}from"./chunk-HSO33GGI.js";var r=1,d="discountItemsLandingUpdateSeenCookie",$=(()=>{class e extends h{constructor(){super(m.PromoItems),this.http=i(p),this.cookiesStorageService=i(c),this.stateUpdate$=new s(0),this.hasUpdates$=this.stateUpdate$.pipe(n(()=>!this.isLandingUpdateSeen()))}setLandingUpdateSeen(){this.cookiesStorageService.set(d,r.toString()),this.stateUpdate$.next(r)}isLandingUpdateSeen(){let t=this.cookiesStorageService.get(d);return!!t&&t===r.toString()}getPromoItemGames(){let t=`${this.rootPath}/games`;return this.http.get(t)}getPromoItems(t){let o=`${this.rootPath}/items?${Date.now()}`;return this.http.get(o,{params:t})}getPromoEndDate(){return this.http.get(`${this.rootPath}/sell-promo/end`)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275prov=a({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{$ 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.