1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7d1b1043-6571-525e-92d6-8e5fd2c10d7e")}catch(e){}}(); 3import{a as w,c as I,d as N}from"./chunk-FSSE3AY7.js";import{l as P,m as x}from"./chunk-J4KGUCIS.js";import{$ as S,C as m,Fa as g,Hd as y,Id as k,J as p,Na as v,_c as T,db as b,dd as c,h as f,na as d,ob as h,va as V,wa as E,za as n}from"./chunk-7UCJ7QWJ.js";import{e as a,j as s}from"./chunk-BEJI2C2J.js";var l,j=a(()=>{c();E();N();l=class{constructor(i,e,r=w.State){this.key=i,this.defaultValue=e,this.tier=r,this.storage=g(I),this.value$=this.storage.watchUserItem(this.tier,this.key).pipe(m(o=>o??this.defaultValue),S(),d({refCount:!0,bufferSize:1}))}set(i){return s(this,null,function*(){(yield this.get())!==i&&(yield this.storage.setUserItem(this.tier,this.key,i))})}get(){return s(this,null,function*(){return(yield this.storage.getUserItem(this.tier,this.key))??this.defaultValue})}remove(){return s(this,null,function*(){yield this.storage.removeUserItem(this.tier,this.key)})}}});var q,O=a(()=>{c();x();j();c();q=(()=>{class t{constructor(){this.hideNutrition=new l("portal.hide-nutrition",!1),this.hideNutritionSignal=P(this.hideNutrition.value$,{initialValue:!1}),this.nutritionVisible=T(()=>!this.hideNutritionSignal())}setHideNutrition(e){return s(this,null,function*(){yield this.hideNutrition.set(e)})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=n({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var u,R,W,X,U=a(()=>{k();V();c();u=class{setOffset(i){}setHistoryScrollRestoration(i){let e=window?.history;e&&e.scrollRestoration&&(e.scrollRestoration=i)}scrollToPosition(i){this.pageScroller.setScrollPosition(i)}scrollToAnchor(i){}getScrollPosition(){return this.pageScroller.getScrollPosition()}constructor(i){this.pageScroller=i}},R=(()=>{class t{constructor(){this.scrollPosition=[0,0],this.positionSubject=ne
3w f(this.scrollPosition),this.position$=this.positionSubject.asObservable()}getScrollPosition(){return this.scrollPosition}setScrollPosition(e){this.scrollPosition=e,this.positionSubject.next(e)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=n({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),W=(()=>{class t{constructor(e,r){this.pageScrollerService=e,this.el=r,this.sub=p(this.el.nativeElement,"scroll").subscribe(()=>{this.pageScrollerService.setScrollPosition([0,this.el.nativeElement.scrollTop])})}ngOnDestroy(){this.sub.unsubscribe(),this.positionSub?.unsubscribe(),this.restoreTimer&&clearTimeout(this.restoreTimer)}ngAfterViewInit(){let e=this.el.nativeElement;this.positionSub=this.pageScrollerService.position$.subscribe(([r,o])=>{if(e.scrollTop===o){this.restoreTimer&&(clearTimeout(this.restoreTimer),this.restoreTimer=void 0);return}this.restoreTimer&&(clearTimeout(this.restoreTimer),this.restoreTimer=void 0),this.restoreTimer=setTimeout(()=>{e.scrollTop!==o&&e.scrollTo(r,o),this.restoreTimer=void 0},50)})}static{this.\u0275fac=function(r){return new(r||t)(h(R),h(b))}}static{this.\u0275dir=v({type:t,selectors:[["","tpPageScroller",""]]})}}return t})(),X={provide:y,useFactory:t=>new u(t),deps:[R]}});export{q as a,O as b,W as c,X as d,U as e}; 4//# sourceMappingURL=chunk-5ZLDZFGW.js.map 5 6//# debugId=7d1b1043-6571-525e-92d6-8e5fd2c10d7e
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.