1import{Da as l,Ea as o,Ob as P,Sb as a,Ub as L,Ue as k,Va as p,Wa as D,Y as d,_a as j,_b as F,a as g,be as v,c as C,cb as E,d as h,h as b,kb as I,mc as O,na as V,q as R,ra as S,t as f,y as M,ya as c,yd as T}from"./chunk-PWVL2XWU.js";import{a as x,b as y}from"./chunk-RDWB2H4N.js";function $(e){return e instanceof p}var m=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=c({token:e,factory:()=>(()=>{let t=o(p);return $(t)?new w:o(A)})(),providedIn:"root"})}}return e})(),A=(()=>{class e extends m{constructor(){super(...arguments),this.appRef=o(O),this.platformId=o(I),this.isServer=k(this.platformId),this.scheduleFn=this.isServer?setTimeout:requestAnimationFrame,this.isScheduled=!1}schedule(){this.isScheduled||(this.isScheduled=!0,this.scheduleFn(()=>{this.appRef.tick(),this.isScheduled=!1}))}static{this.\u0275fac=(()=>{let t;return function(s){return(t||(t=E(e)))(s||e)}})()}static{this.\u0275prov=c({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),w=class extends m{schedule(){}},H=(()=>{class e{constructor(t,i){this.cdRef=t,this.tickScheduler=i}schedule(){this.cdRef.markForCheck(),this.tickScheduler.schedule()}static{this.\u0275fac=function(i){return new(i||e)(l(v),l(m))}}static{this.\u0275prov=c({token:e,factory:e.\u0275fac})}}return e})();function Z(e){return n=>e[n.type]?.(n)}function q(e){return f(e)?e:B(e)?M(N(e)):z(e)?R(e):new h(n=>{n.next(e)})}function z(e){return typeof e?.then=="function"}function B(e){return G(e)&&Object.keys(e).length>0&&Object.values(e).every(f)}function G(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function N(e){return Object.keys(e).reduce((n,t)=>y(x({},n),{[t]:e[t].pipe(d())}),{})}function U(e){let n=Z(e),t=new b(1);return{nextPotentialObservable(i){t.next(i)},handlePotentialObservableChanges(){return t.pipe(d(),J(),d(K),S(n))}}}function J(){return C(V(e=>{let n=q(e),t=!0,i=!0;return new h(s=>{let u=j(()=>n.subscribe({next(r){s.next({type:"next",value:r,reset:t,synchronous:i}),t=!1},error(r){s.next({type:"error",error:r,reset:t,synchronous:i}),t=!1},complete(){s.next({type:"complete",reset:t,synchronous:i}),t=!1}}));return t&&(s.next({type:"suspense",reset:t,synchronous:!0}),t=!1),i=!1,u})}))}function K(e,n){return e.type!==n.type||e.reset!==n.reset?!1:n.t
1ype==="next"?e.value===n.value:n.type==="error"?e.error===n.error:!0}var se=(()=>{class e{set ngrxLet(t){this.renderEventManager.nextPotentialObservable(t)}constructor(t,i,s,u){this.mainTemplateRef=t,this.viewContainerRef=i,this.errorHandler=s,this.renderScheduler=u,this.isMainViewCreated=!1,this.isSuspenseViewCreated=!1,this.viewContext={$implicit:void 0,ngrxLet:void 0,error:void 0,complete:!1},this.renderEventManager=U({suspense:()=>{this.viewContext.$implicit=void 0,this.viewContext.ngrxLet=void 0,this.viewContext.error=void 0,this.viewContext.complete=!1,this.renderSuspenseView()},next:r=>{this.viewContext.$implicit=r.value,this.viewContext.ngrxLet=r.value,r.reset&&(this.viewContext.error=void 0,this.viewContext.complete=!1),this.renderMainView(r.synchronous)},error:r=>{this.viewContext.error=r.error,r.reset&&(this.viewContext.$implicit=void 0,this.viewContext.ngrxLet=void 0,this.viewContext.complete=!1),this.renderMainView(r.synchronous),this.errorHandler.handleError(r.error)},complete:r=>{this.viewContext.complete=!0,r.reset&&(this.viewContext.$implicit=void 0,this.viewContext.ngrxLet=void 0,this.viewContext.error=void 0),this.renderMainView(r.synchronous)}}),this.subscription=new g}static ngTemplateContextGuard(t,i){return!0}ngOnInit(){this.subscription.add(this.renderEventManager.handlePotentialObservableChanges().subscribe())}ngOnDestroy(){this.subscription.unsubscribe()}renderMainView(t){this.isSuspenseViewCreated&&(this.isSuspenseViewCreated=!1,this.viewContainerRef.clear()),this.isMainViewCreated||(this.isMainViewCreated=!0,this.viewContainerRef.createEmbeddedView(this.mainTemplateRef,this.viewContext)),t||this.renderScheduler.schedule()}renderSuspenseView(){this.isMainViewCreated&&(this.isMainViewCreated=!1,this.viewContainerRef.clear()),this.suspenseTemplateRef&&!this.isSuspenseViewCreated&&(this.isSuspenseViewCreated=!0,this.viewContainerRef.createEmbeddedView(this.suspenseTemplateRef))}static{this.\u0275fac=function(i){return new(i||e)(a(P),a(L),a(D),a(H))}}static{this.\u0275dir=F({type:e,selectors:[["","ngrxLet",""]],inputs:{ngrxLet:"ngrxLet",suspenseTemplateRef:[0,"ngrxLetSuspenseTpl","suspenseTemplateRef"]},features:[T([H])]})}}return e})();export{se 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.