1import{Ba as k,Ca as I,Qc as b,Rc as D,Sc as w,Tc as j,Z as m,aa as h,ca as d,d as x,ka as c,n as p,s as g,sa as y,ua as i,xa as l}from"./chunk-O4Z5LAIO.js";function M(n){n||(n=c(i));let e=new p(t=>{if(n.destroyed){t.next();return}return n.onDestroy(t.next.bind(t))});return t=>t.pipe(m(e))}function $(n,e){return new v(n)}function z(n,e){let t=e?.injector??c(y),r=new g(1),a=w(()=>{let o;try{o=n()}catch(u){b(()=>r.error(u));return}b(()=>r.next(o))},{injector:t,manualCleanup:!0});return t.get(i).onDestroy(()=>{a.destroy(),r.complete()}),r.asObservable()}function B(n,e){let r=!e?.manualCleanup?e?.injector?.get(i)??c(i):null,a=C(e?.equal),o;e?.requireSync?o=l({kind:0},{equal:a}):o=l({kind:1,value:e?.initialValue},{equal:a});let u,f=n.subscribe({next:s=>o.set({kind:1,value:s}),error:s=>{o.set({kind:2,error:s}),u?.()},complete:()=>{u?.()}});if(e?.requireSync&&o().kind===0)throw new d(601,!1);return u=r?.onDestroy(f.unsubscribe.bind(f)),D(()=>{let s=o();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new d(601,!1)}},{equal:e?.equal})}function C(n=Object.is){return(e,t)=>e.kind===1&&t.kind===1&&n(e.value,t.value)}var v,S=x(()=>{"use strict";h();I();k();j();v=class{source;destroyed=!1;destroyRef=c(i);constructor(e){this.source=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}subscribe(e){if(this.destroyed)throw new d(953,!1);let t=this.source.pipe(M(this.destroyRef)).subscribe({next:r=>e(r)});return{unsubscribe:()=>t.unsubscribe()}}}});export{M as a,$ as b,z as c,B as d,S as e};
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.