"use strict";(self.webpackChunklivescore=self.webpackChunklivescore||[]).push([[429],{63931:(j,g,t)=>{t.r(g),t.d(g,{ArgumentOutOfRangeError:()=>Mt.W,AsyncSubject:()=>l,BehaviorSubject:()=>s.X,ConnectableObservable:()=>m.c,EMPTY:()=>At.E,EmptyError:()=>ce.K,GroupedObservable:()=>c,NEVER:()=>x,Notification:()=>zt.P,NotificationKind:()=>zt.W,ObjectUnsubscribedError:()=>It.N,Observable:()=>f.y,ReplaySubject:()=>i.t,Scheduler:()=>Yt.b,Subject:()=>r.xQ,Subscriber:()=>Bt.L,Subscription:()=>y.w,TimeoutError:()=>ue,UnsubscriptionError:()=>$t.B,VirtualAction:()=>wt,VirtualTimeScheduler:()=>Tt,animationFrame:()=>G.r,animationFrameScheduler:()=>G.Z,asap:()=>p.e,asapScheduler:()=>p.E,async:()=>S.P,asyncScheduler:()=>S.z,bindCallback:()=>Ht,bindNodeCallback:()=>te,combineLatest:()=>re.aj,concat:()=>se.z,config:()=>tt.v,defer:()=>Wt.P,empty:()=>At.c,forkJoin:()=>Zt.D,from:()=>Ct.D,fromEvent:()=>he.R,fromEventPattern:()=>oe,generate:()=>n,identity:()=>Dt.y,iif:()=>D,interval:()=>P.F,isObservable:()=>Nt.b,merge:()=>I.T,never:()=>z,noop:()=>Vt.Z,observable:()=>o.L,of:()=>Z.of,onErrorResumeNext:()=>Q,pairs:()=>J,partition:()=>Et,pipe:()=>Xt.z,queue:()=>R.c,queueScheduler:()=>R.N,race:()=>et,range:()=>dt,scheduled:()=>ut.x,throwError:()=>at._,timer:()=>V.H,using:()=>pt,zip:()=>W.$R});var f=t(67016),m=t(92494),y=t(94283);class c extends f.y{constructor(_,T,M){super(),this.key=_,this.groupSubject=T,this.refCountSubscription=M}_subscribe(_){const T=new y.w,{refCountSubscription:M,groupSubject:w}=this;return M&&!M.closed&&T.add(new h(M)),T.add(w.subscribe(_)),T}}class h extends y.w{constructor(_){super(),this.parent=_,_.count++}unsubscribe(){const _=this.parent;!_.closed&&!this.closed&&(super.unsubscribe(),_.count-=1,0===_.count&&_.attemptedToUnsubscribe&&_.unsubscribe())}}var o=t(76165),r=t(79441),s=t(76491),i=t(4458);class l extends r.xQ{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(_){return this.hasError?(_.error(this.thrownError),y.w.EMPTY):this.hasCompleted&&this.hasNext?(_.next(this.value),_.complete(),y.w.EMPTY):super._subscribe(_)}next(_){this.hasCompleted||(this.value=_,this.hasNext=!0)}error(_){this.hasCompleted||super.error(_)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}var p=t(65483),S=t(32606),R=t(99379),G=t(82151),ht=t(18715),mt=t(16367);let Tt=(()=>{class C extends mt.v{constructor(T=wt,M=Number.POSITIVE_INFINITY){super(T,()=>this.frame),this.maxFrames=M,this.frame=0,this.index=-1}flush(){const{actions:T,maxFrames:M}=this;let w,B;for(;(B=T[0])&&B.delay<=M&&(T.shift(),this.frame=B.delay,!(w=B.execute(B.state,B.delay))););if(w){for(;B=T.shift();)B.unsubscribe();throw w}}}return C.frameTimeFactor=10,C})();class wt extends ht.o{constructor(_,T,M=(_.index+=1)){super(_,T),this.scheduler=_,this.work=T,this.index=M,this.active=!0,this.index=_.index=M}schedule(_,T=0){if(!this.id)return super.schedule(_,T);this.active=!1;const M=new wt(this.scheduler,this.work);return this.add(M),M.schedule(_,T)}requestAsyncId(_,T,M=0){this.delay=_.frame+M;const{actions:w}=_;return w.push(this),w.sort(wt.sortActions),!0}recycleAsyncId(_,T,M=0){}_execute(_,T){if(!0===this.active)return super._execute(_,T)}static sortActions(_,T){return _.delay===T.delay?_.index===T.index?0:_.index>T.index?1:-1:_.delay>T.delay?1:-1}}var Yt=t(45979),Bt=t(71003),zt=t(93621),Xt=t(89763),Vt=t(92941),Dt=t(87206),Nt=t(64674),Mt=t(84873),ce=t(25239),It=t(96874),$t=t(66742);const ue=(()=>{function C(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return C.prototype=Object.create(Error.prototype),C})();var Ft=t(33927),xt=t(48428),Ut=t(49861),St=t(86770);function Ht(C,_,T){if(_){if(!(0,St.K)(_))return(...M)=>Ht(C,T)(...M).pipe((0,Ft.U)(w=>(0,Ut.k)(w)?_(...w):_(w)));T=_}return function(...M){const w=this;let B;const $={context:w,subject:B,callbackFunc:C,scheduler:T};return new f.y(U=>{if(T)return T.schedule(Qt,0,{args:M,subscriber:U,params:$});if(!B){B=new l;const L=(...e)=>{B.next(e.length<=1?e[0]:e),B.complete()};try{C.apply(w,[...M,L])}catch(e){(0,xt._)(B)?B.error(e):console.warn(e)}}return B.subscribe(U)})}}function Qt(C){const{args:T,subscriber:M,params:w}=C,{callbackFunc:B,context:$,scheduler:U}=w;let{subject:L}=w;if(!L){L=w.subject=new l;const e=(...E)=>{this.add(U.schedule(qt,0,{value:E.length<=1?E[0]:E,subject:L}))};try{B.apply($,[...T,e])}catch(E){L.error(E)}}this.add(L.subscribe(M))}function qt(C){const{value:_,subject:T}=C;T.next(_),T.complete()}function te(C,_,T){if(_){if(!(0,St.K)(_))return(...M)=>te(C,T)(...M).pipe((0,Ft.U)(w=>(0,Ut.k)(w)?_(...w):_(w)));T=_}return function(...M){const w={subject:void 0,args:M,callbackFunc:C,scheduler:T,context:this};return new f.y(B=>{const{context:$}=w;let{subject:U}=w;if(T)return T.schedule(ee,0,{params:w,subscriber:B,context:$});if(!U){U=w.subject=new l;const L=(...e)=>{const E=e.shift();E?U.error(E):(U.next(e.length<=1?e[0]:e),U.complete())};try{C.apply($,[...M,L])}catch(e){(0,xt._)(U)?U.error(e):console.warn(e)}}return U.subscribe(B)})}}function ee(C){const{params:_,subscriber:T,context:M}=C,{callbackFunc:w,args:B,scheduler:$}=_;let U=_.subject;if(!U){U=_.subject=new l;const L=(...e)=>{const E=e.shift();this.add(E?$.schedule(ne,0,{err:E,subject:U}):$.schedule(ae,0,{value:e.length<=1?e[0]:e,subject:U}))};try{w.apply(M,[...B,L])}catch(e){this.add($.schedule(ne,0,{err:e,subject:U}))}}this.add(U.subscribe(T))}function ae(C){const{value:_,subject:T}=C;T.next(_),T.complete()}function ne(C){const{err:_,subject:T}=C;T.error(_)}var re=t(61486),se=t(98084),Wt=t(58640),At=t(8117),Zt=t(42720),Ct=t(34361),he=t(82516),fe=t(80018);function oe(C,_,T){return T?oe(C,_).pipe((0,Ft.U)(M=>(0,Ut.k)(M)?T(...M):T(M))):new f.y(M=>{const w=(...$)=>M.next(1===$.length?$[0]:$);let B;try{B=C(w)}catch($){return void M.error($)}if((0,fe.m)(_))return()=>_(w,B)})}function n(C,_,T,M,w){let B,$;return 1==arguments.length?($=C.initialState,_=C.condition,T=C.iterate,B=C.resultSelector||Dt.y,w=C.scheduler):void 0===M||(0,St.K)(M)?($=C,B=Dt.y,w=M):($=C,B=M),new f.y(U=>{let L=$;if(w)return w.schedule(b,0,{subscriber:U,iterate:T,condition:_,resultSelector:B,state:L});for(;;){if(_){let E;try{E=_(L)}catch(Y){return void U.error(Y)}if(!E){U.complete();break}}let e;try{e=B(L)}catch(E){return void U.error(E)}if(U.next(e),U.closed)break;try{L=T(L)}catch(E){return void U.error(E)}}})}function b(C){const{subscriber:_,condition:T}=C;if(_.closed)return;if(C.needIterate)try{C.state=C.iterate(C.state)}catch(w){return void _.error(w)}else C.needIterate=!0;if(T){let w;try{w=T(C.state)}catch(B){return void _.error(B)}if(!w)return void _.complete();if(_.closed)return}let M;try{M=C.resultSelector(C.state)}catch(w){return void _.error(w)}return _.closed||(_.next(M),_.closed)?void 0:this.schedule(C)}function D(C,_=At.E,T=At.E){return(0,Wt.P)(()=>C()?_:T)}var P=t(41618),I=t(89919);const x=new f.y(Vt.Z);function z(){return x}var Z=t(81134);function Q(...C){if(0===C.length)return At.E;const[_,...T]=C;return 1===C.length&&(0,Ut.k)(_)?Q(..._):new f.y(M=>{const w=()=>M.add(Q(...T).subscribe(M));return(0,Ct.D)(_).subscribe({next(B){M.next(B)},error:w,complete:w})})}function J(C,_){return new f.y(_?T=>{const M=Object.keys(C),w=new y.w;return w.add(_.schedule(H,0,{keys:M,index:0,subscriber:T,subscription:w,obj:C})),w}:T=>{const M=Object.keys(C);for(let w=0;w<M.length&&!T.closed;w++){const B=M[w];C.hasOwnProperty(B)&&T.next([B,C[B]])}T.complete()})}function H(C){const{keys:_,index:T,subscriber:M,subscription:w,obj:B}=C;if(!M.closed)if(T<_.length){const $=_[T];M.next([$,B[$]]),w.add(this.schedule({keys:_,index:T+1,subscriber:M,subscription:w,obj:B}))}else M.complete()}function lt(C,_){function T(){return!T.pred.apply(T.thisArg,arguments)}return T.pred=C,T.thisArg=_,T}var rt=t(36181),ot=t(9170);function Et(C,_,T){return[(0,ot.h)(_,T)(new f.y((0,rt.s)(C))),(0,ot.h)(lt(_,T))(new f.y((0,rt.s)(C)))]}var ft=t(83446),Pt=t(88237),yt=t(56668);function et(...C){if(1===C.length){if(!(0,Ut.k)(C[0]))return C[0];C=C[0]}return(0,ft.n)(C,void 0).lift(new K)}class K{call(_,T){return T.subscribe(new gt(_))}}class gt extends Pt.L{constructor(_){super(_),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(_){this.observables.push(_)}_complete(){const _=this.observables,T=_.length;if(0===T)this.destination.complete();else{for(let M=0;M<T&&!this.hasFirst;M++){const B=(0,yt.D)(this,_[M],void 0,M);this.subscriptions&&this.subscriptions.push(B),this.add(B)}this.observables=null}}notifyNext(_,T,M){if(!this.hasFirst){this.hasFirst=!0;for(let w=0;w<this.subscriptions.length;w++)if(w!==M){let B=this.subscriptions[w];B.unsubscribe(),this.remove(B)}this.subscriptions=null}this.destination.next(T)}}function dt(C=0,_,T){return new f.y(M=>{void 0===_&&(_=C,C=0);let w=0,B=C;if(T)return T.schedule(vt,0,{index:w,count:_,start:C,subscriber:M});for(;;){if(w++>=_){M.complete();break}if(M.next(B++),M.closed)break}})}function vt(C){const{start:_,index:T,count:M,subscriber:w}=C;T>=M?w.complete():(w.next(_),!w.closed&&(C.index=T+1,C.start=_+1,this.schedule(C)))}var at=t(45871),V=t(12702);function pt(C,_){return new f.y(T=>{let M,w;try{M=C()}catch(U){return void T.error(U)}try{w=_(M)}catch(U){return void T.error(U)}const $=(w?(0,Ct.D)(w):At.E).subscribe(T);return()=>{$.unsubscribe(),M&&M.unsubscribe()}})}var W=t(90490),ut=t(26138),tt=t(24572)},76491:(j,g,t)=>{t.d(g,{X:()=>y});var f=t(79441),m=t(96874);class y extends f.xQ{constructor(u){super(),this._value=u}get value(){return this.getValue()}_subscribe(u){const a=super._subscribe(u);return a&&!a.closed&&u.next(this._value),a}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new m.N;return this._value}next(u){super.next(this._value=u)}}},93621:(j,g,t)=>{t.d(g,{P:()=>u,W:()=>v});var f=t(8117),m=t(81134),y=t(45871),v=(()=>{return(a=v||(v={})).NEXT="N",a.ERROR="E",a.COMPLETE="C",v;var a})();class u{constructor(d,c,h){this.kind=d,this.value=c,this.error=h,this.hasValue="N"===d}observe(d){switch(this.kind){case"N":return d.next&&d.next(this.value);case"E":return d.error&&d.error(this.error);case"C":return d.complete&&d.complete()}}do(d,c,h){switch(this.kind){case"N":return d&&d(this.value);case"E":return c&&c(this.error);case"C":return h&&h()}}accept(d,c,h){return d&&"function"==typeof d.next?this.observe(d):this.do(d,c,h)}toObservable(){switch(this.kind){case"N":return(0,m.of)(this.value);case"E":return(0,y._)(this.error);case"C":return(0,f.c)()}throw new Error("unexpected notification kind value")}static createNext(d){return typeof d<"u"?new u("N",d):u.undefinedValueNotification}static createError(d){return new u("E",void 0,d)}static createComplete(){return u.completeNotification}}u.completeNotification=new u("C"),u.undefinedValueNotification=new u("N",void 0)},67016:(j,g,t)=>{t.d(g,{y:()=>h});var f=t(48428),m=t(71003),y=t(69975),v=t(80269),a=t(76165),d=t(89763),c=t(24572);let h=(()=>{class r{constructor(i){this._isScalar=!1,i&&(this._subscribe=i)}lift(i){const l=new r;return l.source=this,l.operator=i,l}subscribe(i,l,p){const{operator:S}=this,R=function u(r,s,i){if(r){if(r instanceof m.L)return r;if(r[y.b])return r[y.b]()}return r||s||i?new m.L(r,s,i):new m.L(v.c)}(i,l,p);if(R.add(S?S.call(R,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!R.syncErrorThrowable?this._subscribe(R):this._trySubscribe(R)),c.v.useDeprecatedSynchronousErrorHandling&&R.syncErrorThrowable&&(R.syncErrorThrowable=!1,R.syncErrorThrown))throw R.syncErrorValue;return R}_trySubscribe(i){try{return this._subscribe(i)}catch(l){c.v.useDeprecatedSynchronousErrorHandling&&(i.syncErrorThrown=!0,i.syncErrorValue=l),(0,f._)(i)?i.error(l):console.warn(l)}}forEach(i,l){return new(l=o(l))((p,S)=>{let R;R=this.subscribe(G=>{try{i(G)}catch(ht){S(ht),R&&R.unsubscribe()}},S,p)})}_subscribe(i){const{source:l}=this;return l&&l.subscribe(i)}[a.L](){return this}pipe(...i){return 0===i.length?this:(0,d.U)(i)(this)}toPromise(i){return new(i=o(i))((l,p)=>{let S;this.subscribe(R=>S=R,R=>p(R),()=>l(S))})}}return r.create=s=>new r(s),r})();function o(r){if(r||(r=c.v.Promise||Promise),!r)throw new Error("no Promise impl found");return r}},80269:(j,g,t)=>{t.d(g,{c:()=>y});var f=t(24572),m=t(76901);const y={closed:!0,next(v){},error(v){if(f.v.useDeprecatedSynchronousErrorHandling)throw v;(0,m.z)(v)},complete(){}}},88237:(j,g,t)=>{t.d(g,{L:()=>m});var f=t(71003);class m extends f.L{notifyNext(v,u,a,d,c){this.destination.next(u)}notifyError(v,u){this.destination.error(v)}notifyComplete(v){this.destination.complete()}}},4458:(j,g,t)=>{t.d(g,{t:()=>s});var f=t(79441),m=t(99379),y=t(94283),v=t(71003),u=t(93621);class c extends v.L{constructor(p,S,R=0){super(p),this.scheduler=S,this.delay=R}static dispatch(p){const{notification:S,destination:R}=p;S.observe(R),this.unsubscribe()}scheduleMessage(p){this.destination.add(this.scheduler.schedule(c.dispatch,this.delay,new h(p,this.destination)))}_next(p){this.scheduleMessage(u.P.createNext(p))}_error(p){this.scheduleMessage(u.P.createError(p)),this.unsubscribe()}_complete(){this.scheduleMessage(u.P.createComplete()),this.unsubscribe()}}class h{constructor(p,S){this.notification=p,this.destination=S}}var o=t(96874),r=t(32691);class s extends f.xQ{constructor(p=Number.POSITIVE_INFINITY,S=Number.POSITIVE_INFINITY,R){super(),this.scheduler=R,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=p<1?1:p,this._windowTime=S<1?1:S,S===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(p){if(!this.isStopped){const S=this._events;S.push(p),S.length>this._bufferSize&&S.shift()}super.next(p)}nextTimeWindow(p){this.isStopped||(this._events.push(new i(this._getNow(),p)),this._trimBufferThenGetEvents()),super.next(p)}_subscribe(p){const S=this._infiniteTimeWindow,R=S?this._events:this._trimBufferThenGetEvents(),G=this.scheduler,ht=R.length;let mt;if(this.closed)throw new o.N;if(this.isStopped||this.hasError?mt=y.w.EMPTY:(this.observers.push(p),mt=new r.W(this,p)),G&&p.add(p=new c(p,G)),S)for(let Tt=0;Tt<ht&&!p.closed;Tt++)p.next(R[Tt]);else for(let Tt=0;Tt<ht&&!p.closed;Tt++)p.next(R[Tt].value);return this.hasError?p.error(this.thrownError):this.isStopped&&p.complete(),mt}_getNow(){return(this.scheduler||m.c).now()}_trimBufferThenGetEvents(){const p=this._getNow(),S=this._bufferSize,R=this._windowTime,G=this._events,ht=G.length;let mt=0;for(;mt<ht&&!(p-G[mt].time<R);)mt++;return ht>S&&(mt=Math.max(mt,ht-S)),mt>0&&G.splice(0,mt),G}}class i{constructor(p,S){this.time=p,this.value=S}}},45979:(j,g,t)=>{t.d(g,{b:()=>f});let f=(()=>{class m{constructor(v,u=m.now){this.SchedulerAction=v,this.now=u}schedule(v,u=0,a){return new this.SchedulerAction(this,v).schedule(a,u)}}return m.now=()=>Date.now(),m})()},79441:(j,g,t)=>{t.d(g,{Yc:()=>d,xQ:()=>c});var f=t(67016),m=t(71003),y=t(94283),v=t(96874),u=t(32691),a=t(69975);class d extends m.L{constructor(r){super(r),this.destination=r}}let c=(()=>{class o extends f.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[a.b](){return new d(this)}lift(s){const i=new h(this,this);return i.operator=s,i}next(s){if(this.closed)throw new v.N;if(!this.isStopped){const{observers:i}=this,l=i.length,p=i.slice();for(let S=0;S<l;S++)p[S].next(s)}}error(s){if(this.closed)throw new v.N;this.hasError=!0,this.thrownError=s,this.isStopped=!0;const{observers:i}=this,l=i.length,p=i.slice();for(let S=0;S<l;S++)p[S].error(s);this.observers.length=0}complete(){if(this.closed)throw new v.N;this.isStopped=!0;const{observers:s}=this,i=s.length,l=s.slice();for(let p=0;p<i;p++)l[p].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(s){if(this.closed)throw new v.N;return super._trySubscribe(s)}_subscribe(s){if(this.closed)throw new v.N;return this.hasError?(s.error(this.thrownError),y.w.EMPTY):this.isStopped?(s.complete(),y.w.EMPTY):(this.observers.push(s),new u.W(this,s))}asObservable(){const s=new f.y;return s.source=this,s}}return o.create=(r,s)=>new h(r,s),o})();class h extends c{constructor(r,s){super(),this.destination=r,this.source=s}next(r){const{destination:s}=this;s&&s.next&&s.next(r)}error(r){const{destination:s}=this;s&&s.error&&this.destination.error(r)}complete(){const{destination:r}=this;r&&r.complete&&this.destination.complete()}_subscribe(r){const{source:s}=this;return s?this.source.subscribe(r):y.w.EMPTY}}},32691:(j,g,t)=>{t.d(g,{W:()=>m});var f=t(94283);class m extends f.w{constructor(v,u){super(),this.subject=v,this.subscriber=u,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const v=this.subject,u=v.observers;if(this.subject=null,!u||0===u.length||v.isStopped||v.closed)return;const a=u.indexOf(this.subscriber);-1!==a&&u.splice(a,1)}}},71003:(j,g,t)=>{t.d(g,{L:()=>d});var f=t(80018),m=t(80269),y=t(94283),v=t(69975),u=t(24572),a=t(76901);class d extends y.w{constructor(o,r,s){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=m.c;break;case 1:if(!o){this.destination=m.c;break}if("object"==typeof o){o instanceof d?(this.syncErrorThrowable=o.syncErrorThrowable,this.destination=o,o.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,o));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,o,r,s)}}[v.b](){return this}static create(o,r,s){const i=new d(o,r,s);return i.syncErrorThrowable=!1,i}next(o){this.isStopped||this._next(o)}error(o){this.isStopped||(this.isStopped=!0,this._error(o))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(o){this.destination.next(o)}_error(o){this.destination.error(o),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:o}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=o,this}}class c extends d{constructor(o,r,s,i){super(),this._parentSubscriber=o;let l,p=this;(0,f.m)(r)?l=r:r&&(l=r.next,s=r.error,i=r.complete,r!==m.c&&(p=Object.create(r),(0,f.m)(p.unsubscribe)&&this.add(p.unsubscribe.bind(p)),p.unsubscribe=this.unsubscribe.bind(this))),this._context=p,this._next=l,this._error=s,this._complete=i}next(o){if(!this.isStopped&&this._next){const{_parentSubscriber:r}=this;u.v.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable?this.__tryOrSetError(r,this._next,o)&&this.unsubscribe():this.__tryOrUnsub(this._next,o)}}error(o){if(!this.isStopped){const{_parentSubscriber:r}=this,{useDeprecatedSynchronousErrorHandling:s}=u.v;if(this._error)s&&r.syncErrorThrowable?(this.__tryOrSetError(r,this._error,o),this.unsubscribe()):(this.__tryOrUnsub(this._error,o),this.unsubscribe());else if(r.syncErrorThrowable)s?(r.syncErrorValue=o,r.syncErrorThrown=!0):(0,a.z)(o),this.unsubscribe();else{if(this.unsubscribe(),s)throw o;(0,a.z)(o)}}}complete(){if(!this.isStopped){const{_parentSubscriber:o}=this;if(this._complete){const r=()=>this._complete.call(this._context);u.v.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable?(this.__tryOrSetError(o,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(o,r){try{o.call(this._context,r)}catch(s){if(this.unsubscribe(),u.v.useDeprecatedSynchronousErrorHandling)throw s;(0,a.z)(s)}}__tryOrSetError(o,r,s){if(!u.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{r.call(this._context,s)}catch(i){return u.v.useDeprecatedSynchronousErrorHandling?(o.syncErrorValue=i,o.syncErrorThrown=!0,!0):((0,a.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:o}=this;this._context=null,this._parentSubscriber=null,o.unsubscribe()}}},94283:(j,g,t)=>{t.d(g,{w:()=>u});var d,f=t(49861),m=t(71533),y=t(80018),v=t(66742);class u{constructor(c){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,c&&(this._ctorUnsubscribe=!0,this._unsubscribe=c)}unsubscribe(){let c;if(this.closed)return;let{_parentOrParents:h,_ctorUnsubscribe:o,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,h instanceof u)h.remove(this);else if(null!==h)for(let i=0;i<h.length;++i)h[i].remove(this);if((0,y.m)(r)){o&&(this._unsubscribe=void 0);try{r.call(this)}catch(i){c=i instanceof v.B?a(i.errors):[i]}}if((0,f.k)(s)){let i=-1,l=s.length;for(;++i<l;){const p=s[i];if((0,m.K)(p))try{p.unsubscribe()}catch(S){c=c||[],S instanceof v.B?c=c.concat(a(S.errors)):c.push(S)}}}if(c)throw new v.B(c)}add(c){let h=c;if(!c)return u.EMPTY;switch(typeof c){case"function":h=new u(c);case"object":if(h===this||h.closed||"function"!=typeof h.unsubscribe)return h;if(this.closed)return h.unsubscribe(),h;if(!(h instanceof u)){const s=h;h=new u,h._subscriptions=[s]}break;default:throw new Error("unrecognized teardown "+c+" added to Subscription.")}let{_parentOrParents:o}=h;if(null===o)h._parentOrParents=this;else if(o instanceof u){if(o===this)return h;h._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return h;o.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[h]:r.push(h),h}remove(c){const h=this._subscriptions;if(h){const o=h.indexOf(c);-1!==o&&h.splice(o,1)}}}function a(d){return d.reduce((c,h)=>c.concat(h instanceof v.B?h.errors:h),[])}u.EMPTY=((d=new u).closed=!0,d)},24572:(j,g,t)=>{t.d(g,{v:()=>m});let f=!1;const m={Promise:void 0,set useDeprecatedSynchronousErrorHandling(y){if(y){const v=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+v.stack)}else f&&console.log("RxJS: Back to a better error behavior. Thank you. <3");f=y},get useDeprecatedSynchronousErrorHandling(){return f}}},27272:(j,g,t)=>{t.d(g,{Ds:()=>a,IY:()=>v,ft:()=>c});var f=t(71003),m=t(67016),y=t(36181);class v extends f.L{constructor(o){super(),this.parent=o}_next(o){this.parent.notifyNext(o)}_error(o){this.parent.notifyError(o),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends f.L{notifyNext(o){this.destination.next(o)}notifyError(o){this.destination.error(o)}notifyComplete(){this.destination.complete()}}function c(h,o){if(o.closed)return;if(h instanceof m.y)return h.subscribe(o);let r;try{r=(0,y.s)(h)(o)}catch(s){o.error(s)}return r}},92494:(j,g,t)=>{t.d(g,{N:()=>a,c:()=>u});var f=t(79441),m=t(67016),y=t(94283),v=t(97085);class u extends m.y{constructor(r,s){super(),this.source=r,this.subjectFactory=s,this._refCount=0,this._isComplete=!1}_subscribe(r){return this.getSubject().subscribe(r)}getSubject(){const r=this._subject;return(!r||r.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let r=this._connection;return r||(this._isComplete=!1,r=this._connection=new y.w,r.add(this.source.subscribe(new d(this.getSubject(),this))),r.closed&&(this._connection=null,r=y.w.EMPTY)),r}refCount(){return(0,v.x)()(this)}}const a=(()=>{const o=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:o._subscribe},_isComplete:{value:o._isComplete,writable:!0},getSubject:{value:o.getSubject},connect:{value:o.connect},refCount:{value:o.refCount}}})();class d extends f.Yc{constructor(r,s){super(r),this.connectable=s}_error(r){this._unsubscribe(),super._error(r)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const r=this.connectable;if(r){this.connectable=null;const s=r._connection;r._refCount=0,r._subject=null,r._connection=null,s&&s.unsubscribe()}}}},61486:(j,g,t)=>{t.d(g,{aj:()=>d});var f=t(86770),m=t(49861),y=t(88237),v=t(56668),u=t(83446);const a={};function d(...o){let r,s;return(0,f.K)(o[o.length-1])&&(s=o.pop()),"function"==typeof o[o.length-1]&&(r=o.pop()),1===o.length&&(0,m.k)(o[0])&&(o=o[0]),(0,u.n)(o,s).lift(new c(r))}class c{constructor(r){this.resultSelector=r}call(r,s){return s.subscribe(new h(r,this.resultSelector))}}class h extends y.L{constructor(r,s){super(r),this.resultSelector=s,this.active=0,this.values=[],this.observables=[]}_next(r){this.values.push(a),this.observables.push(r)}_complete(){const r=this.observables,s=r.length;if(0===s)this.destination.complete();else{this.active=s,this.toRespond=s;for(let i=0;i<s;i++)this.add((0,v.D)(this,r[i],void 0,i))}}notifyComplete(r){0==(this.active-=1)&&this.destination.complete()}notifyNext(r,s,i){const l=this.values,S=this.toRespond?l[i]===a?--this.toRespond:this.toRespond:0;l[i]=s,0===S&&(this.resultSelector?this._tryResultSelector(l):this.destination.next(l.slice()))}_tryResultSelector(r){let s;try{s=this.resultSelector.apply(this,r)}catch(i){return void this.destination.error(i)}this.destination.next(s)}}},98084:(j,g,t)=>{t.d(g,{z:()=>v});var f=t(81134),m=t(96324);function v(...u){return function y(){return(0,m.J)(1)}()((0,f.of)(...u))}},58640:(j,g,t)=>{t.d(g,{P:()=>v});var f=t(67016),m=t(34361),y=t(8117);function v(u){return new f.y(a=>{let d;try{d=u()}catch(h){return void a.error(h)}return(d?(0,m.D)(d):(0,y.c)()).subscribe(a)})}},8117:(j,g,t)=>{t.d(g,{E:()=>m,c:()=>y});var f=t(67016);const m=new f.y(u=>u.complete());function y(u){return u?function v(u){return new f.y(a=>u.schedule(()=>a.complete()))}(u):m}},42720:(j,g,t)=>{t.d(g,{D:()=>a});var f=t(67016),m=t(49861),y=t(33927),v=t(71533),u=t(34361);function a(...c){if(1===c.length){const h=c[0];if((0,m.k)(h))return d(h,null);if((0,v.K)(h)&&Object.getPrototypeOf(h)===Object.prototype){const o=Object.keys(h);return d(o.map(r=>h[r]),o)}}if("function"==typeof c[c.length-1]){const h=c.pop();return d(c=1===c.length&&(0,m.k)(c[0])?c[0]:c,null).pipe((0,y.U)(o=>h(...o)))}return d(c,null)}function d(c,h){return new f.y(o=>{const r=c.length;if(0===r)return void o.complete();const s=new Array(r);let i=0,l=0;for(let p=0;p<r;p++){const S=(0,u.D)(c[p]);let R=!1;o.add(S.subscribe({next:G=>{R||(R=!0,l++),s[p]=G},error:G=>o.error(G),complete:()=>{i++,(i===r||!R)&&(l===r&&o.next(h?h.reduce((G,ht,mt)=>(G[ht]=s[mt],G),{}):s),o.complete())}}))}})}},34361:(j,g,t)=>{t.d(g,{D:()=>v});var f=t(67016),m=t(36181),y=t(26138);function v(u,a){return a?(0,y.x)(u,a):u instanceof f.y?u:new f.y((0,m.s)(u))}},83446:(j,g,t)=>{t.d(g,{n:()=>v});var f=t(67016),m=t(70076),y=t(84049);function v(u,a){return a?(0,y.r)(u,a):new f.y((0,m.V)(u))}},82516:(j,g,t)=>{t.d(g,{R:()=>a});var f=t(67016),m=t(49861),y=t(80018),v=t(33927);function a(r,s,i,l){return(0,y.m)(i)&&(l=i,i=void 0),l?a(r,s,i).pipe((0,v.U)(p=>(0,m.k)(p)?l(...p):l(p))):new f.y(p=>{d(r,s,function S(R){p.next(arguments.length>1?Array.prototype.slice.call(arguments):R)},p,i)})}function d(r,s,i,l,p){let S;if(function o(r){return r&&"function"==typeof r.addEventListener&&"function"==typeof r.removeEventListener}(r)){const R=r;r.addEventListener(s,i,p),S=()=>R.removeEventListener(s,i,p)}else if(function h(r){return r&&"function"==typeof r.on&&"function"==typeof r.off}(r)){const R=r;r.on(s,i),S=()=>R.off(s,i)}else if(function c(r){return r&&"function"==typeof r.addListener&&"function"==typeof r.removeListener}(r)){const R=r;r.addListener(s,i),S=()=>R.removeListener(s,i)}else{if(!r||!r.length)throw new TypeError("Invalid event target");for(let R=0,G=r.length;R<G;R++)d(r[R],s,i,l,p)}l.add(S)}},41618:(j,g,t)=>{t.d(g,{F:()=>v});var f=t(67016),m=t(32606),y=t(82867);function v(a=0,d=m.P){return(!(0,y.k)(a)||a<0)&&(a=0),(!d||"function"!=typeof d.schedule)&&(d=m.P),new f.y(c=>(c.add(d.schedule(u,a,{subscriber:c,counter:0,period:a})),c))}function u(a){const{subscriber:d,counter:c,period:h}=a;d.next(c),this.schedule({subscriber:d,counter:c+1,period:h},h)}},89919:(j,g,t)=>{t.d(g,{T:()=>u});var f=t(67016),m=t(86770),y=t(96324),v=t(83446);function u(...a){let d=Number.POSITIVE_INFINITY,c=null,h=a[a.length-1];return(0,m.K)(h)?(c=a.pop(),a.length>1&&"number"==typeof a[a.length-1]&&(d=a.pop())):"number"==typeof h&&(d=a.pop()),null===c&&1===a.length&&a[0]instanceof f.y?a[0]:(0,y.J)(d)((0,v.n)(a,c))}},81134:(j,g,t)=>{t.d(g,{of:()=>v});var f=t(86770),m=t(83446),y=t(84049);function v(...u){let a=u[u.length-1];return(0,f.K)(a)?(u.pop(),(0,y.r)(u,a)):(0,m.n)(u)}},45871:(j,g,t)=>{t.d(g,{_:()=>m});var f=t(67016);function m(v,u){return new f.y(u?a=>u.schedule(y,0,{error:v,subscriber:a}):a=>a.error(v))}function y({error:v,subscriber:u}){u.error(v)}},12702:(j,g,t)=>{t.d(g,{H:()=>u});var f=t(67016),m=t(32606),y=t(82867),v=t(86770);function u(d=0,c,h){let o=-1;return(0,y.k)(c)?o=Number(c)<1?1:Number(c):(0,v.K)(c)&&(h=c),(0,v.K)(h)||(h=m.P),new f.y(r=>{const s=(0,y.k)(d)?d:+d-h.now();return h.schedule(a,s,{index:0,period:o,subscriber:r})})}function a(d){const{index:c,period:h,subscriber:o}=d;if(o.next(c),!o.closed){if(-1===h)return o.complete();d.index=c+1,this.schedule(d,h)}}},90490:(j,g,t)=>{t.d(g,{$R:()=>a});var f=t(83446),m=t(49861),y=t(71003),v=t(2611),u=t(27272);function a(...s){const i=s[s.length-1];return"function"==typeof i&&s.pop(),(0,f.n)(s,void 0).lift(new d(i))}class d{constructor(i){this.resultSelector=i}call(i,l){return l.subscribe(new c(i,this.resultSelector))}}class c extends y.L{constructor(i,l,p=Object.create(null)){super(i),this.resultSelector=l,this.iterators=[],this.active=0,this.resultSelector="function"==typeof l?l:void 0}_next(i){const l=this.iterators;(0,m.k)(i)?l.push(new o(i)):l.push("function"==typeof i[v.hZ]?new h(i[v.hZ]()):new r(this.destination,this,i))}_complete(){const i=this.iterators,l=i.length;if(this.unsubscribe(),0!==l){this.active=l;for(let p=0;p<l;p++){let S=i[p];S.stillUnsubscribed?this.destination.add(S.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const i=this.iterators,l=i.length,p=this.destination;for(let G=0;G<l;G++){let ht=i[G];if("function"==typeof ht.hasValue&&!ht.hasValue())return}let S=!1;const R=[];for(let G=0;G<l;G++){let ht=i[G],mt=ht.next();if(ht.hasCompleted()&&(S=!0),mt.done)return void p.complete();R.push(mt.value)}this.resultSelector?this._tryresultSelector(R):p.next(R),S&&p.complete()}_tryresultSelector(i){let l;try{l=this.resultSelector.apply(this,i)}catch(p){return void this.destination.error(p)}this.destination.next(l)}}class h{constructor(i){this.iterator=i,this.nextResult=i.next()}hasValue(){return!0}next(){const i=this.nextResult;return this.nextResult=this.iterator.next(),i}hasCompleted(){const i=this.nextResult;return Boolean(i&&i.done)}}class o{constructor(i){this.array=i,this.index=0,this.length=0,this.length=i.length}[v.hZ](){return this}next(i){const l=this.index++;return l<this.length?{value:this.array[l],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class r extends u.Ds{constructor(i,l,p){super(i),this.parent=l,this.observable=p,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[v.hZ](){return this}next(){const i=this.buffer;return 0===i.length&&this.isComplete?{value:null,done:!0}:{value:i.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(i){this.buffer.push(i),this.parent.checkIterators()}subscribe(){return(0,u.ft)(this.observable,new u.IY(this))}}},9170:(j,g,t)=>{t.d(g,{h:()=>m});var f=t(71003);function m(u,a){return function(c){return c.lift(new y(u,a))}}class y{constructor(a,d){this.predicate=a,this.thisArg=d}call(a,d){return d.subscribe(new v(a,this.predicate,this.thisArg))}}class v extends f.L{constructor(a,d,c){super(a),this.predicate=d,this.thisArg=c,this.count=0}_next(a){let d;try{d=this.predicate.call(this.thisArg,a,this.count++)}catch(c){return void this.destination.error(c)}d&&this.destination.next(a)}}},33927:(j,g,t)=>{t.d(g,{U:()=>m});var f=t(71003);function m(u,a){return function(c){if("function"!=typeof u)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return c.lift(new y(u,a))}}class y{constructor(a,d){this.project=a,this.thisArg=d}call(a,d){return d.subscribe(new v(a,this.project,this.thisArg))}}class v extends f.L{constructor(a,d,c){super(a),this.project=d,this.count=0,this.thisArg=c||this}_next(a){let d;try{d=this.project.call(this.thisArg,a,this.count++)}catch(c){return void this.destination.error(c)}this.destination.next(d)}}},96324:(j,g,t)=>{t.d(g,{J:()=>y});var f=t(85816),m=t(87206);function y(v=Number.POSITIVE_INFINITY){return(0,f.zg)(m.y,v)}},85816:(j,g,t)=>{t.d(g,{zg:()=>v});var f=t(33927),m=t(34361),y=t(27272);function v(c,h,o=Number.POSITIVE_INFINITY){return"function"==typeof h?r=>r.pipe(v((s,i)=>(0,m.D)(c(s,i)).pipe((0,f.U)((l,p)=>h(s,l,i,p))),o)):("number"==typeof h&&(o=h),r=>r.lift(new u(c,o)))}class u{constructor(h,o=Number.POSITIVE_INFINITY){this.project=h,this.concurrent=o}call(h,o){return o.subscribe(new a(h,this.project,this.concurrent))}}class a extends y.Ds{constructor(h,o,r=Number.POSITIVE_INFINITY){super(h),this.project=o,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(h){this.active<this.concurrent?this._tryNext(h):this.buffer.push(h)}_tryNext(h){let o;const r=this.index++;try{o=this.project(h,r)}catch(s){return void this.destination.error(s)}this.active++,this._innerSub(o)}_innerSub(h){const o=new y.IY(this),r=this.destination;r.add(o);const s=(0,y.ft)(h,o);s!==o&&r.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(h){this.destination.next(h)}notifyComplete(){const h=this.buffer;this.active--,h.length>0?this._next(h.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},97085:(j,g,t)=>{t.d(g,{x:()=>m});var f=t(71003);function m(){return function(a){return a.lift(new y(a))}}class y{constructor(a){this.connectable=a}call(a,d){const{connectable:c}=this;c._refCount++;const h=new v(a,c),o=d.subscribe(h);return h.closed||(h.connection=c.connect()),o}}class v extends f.L{constructor(a,d){super(a),this.connectable=d}_unsubscribe(){const{connectable:a}=this;if(!a)return void(this.connection=null);this.connectable=null;const d=a._refCount;if(d<=0)return void(this.connection=null);if(a._refCount=d-1,d>1)return void(this.connection=null);const{connection:c}=this,h=a._connection;this.connection=null,h&&(!c||h===c)&&h.unsubscribe()}}},84049:(j,g,t)=>{t.d(g,{r:()=>y});var f=t(67016),m=t(94283);function y(v,u){return new f.y(a=>{const d=new m.w;let c=0;return d.add(u.schedule(function(){c!==v.length?(a.next(v[c++]),a.closed||d.add(this.schedule())):a.complete()})),d})}},26138:(j,g,t)=>{t.d(g,{x:()=>i});var f=t(67016),m=t(94283),y=t(76165),a=t(84049),d=t(2611),o=t(95751),r=t(984);function i(l,p){if(null!=l){if(function h(l){return l&&"function"==typeof l[y.L]}(l))return function v(l,p){return new f.y(S=>{const R=new m.w;return R.add(p.schedule(()=>{const G=l[y.L]();R.add(G.subscribe({next(ht){R.add(p.schedule(()=>S.next(ht)))},error(ht){R.add(p.schedule(()=>S.error(ht)))},complete(){R.add(p.schedule(()=>S.complete()))}}))})),R})}(l,p);if((0,o.t)(l))return function u(l,p){return new f.y(S=>{const R=new m.w;return R.add(p.schedule(()=>l.then(G=>{R.add(p.schedule(()=>{S.next(G),R.add(p.schedule(()=>S.complete()))}))},G=>{R.add(p.schedule(()=>S.error(G)))}))),R})}(l,p);if((0,r.z)(l))return(0,a.r)(l,p);if(function s(l){return l&&"function"==typeof l[d.hZ]}(l)||"string"==typeof l)return function c(l,p){if(!l)throw new Error("Iterable cannot be null");return new f.y(S=>{const R=new m.w;let G;return R.add(()=>{G&&"function"==typeof G.return&&G.return()}),R.add(p.schedule(()=>{G=l[d.hZ](),R.add(p.schedule(function(){if(S.closed)return;let ht,mt;try{const Tt=G.next();ht=Tt.value,mt=Tt.done}catch(Tt){return void S.error(Tt)}mt?S.complete():(S.next(ht),this.schedule())}))})),R})}(l,p)}throw new TypeError((null!==l&&typeof l||l)+" is not observable")}},18715:(j,g,t)=>{t.d(g,{o:()=>y});var f=t(94283);class m extends f.w{constructor(u,a){super()}schedule(u,a=0){return this}}class y extends m{constructor(u,a){super(u,a),this.scheduler=u,this.work=a,this.pending=!1}schedule(u,a=0){if(this.closed)return this;this.state=u;const d=this.id,c=this.scheduler;return null!=d&&(this.id=this.recycleAsyncId(c,d,a)),this.pending=!0,this.delay=a,this.id=this.id||this.requestAsyncId(c,this.id,a),this}requestAsyncId(u,a,d=0){return setInterval(u.flush.bind(u,this),d)}recycleAsyncId(u,a,d=0){if(null!==d&&this.delay===d&&!1===this.pending)return a;clearInterval(a)}execute(u,a){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(u,a);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(u,a){let c,d=!1;try{this.work(u)}catch(h){d=!0,c=!!h&&h||new Error(h)}if(d)return this.unsubscribe(),c}_unsubscribe(){const u=this.id,a=this.scheduler,d=a.actions,c=d.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==c&&d.splice(c,1),null!=u&&(this.id=this.recycleAsyncId(a,u,null)),this.delay=null}}},16367:(j,g,t)=>{t.d(g,{v:()=>m});var f=t(45979);class m extends f.b{constructor(v,u=f.b.now){super(v,()=>m.delegate&&m.delegate!==this?m.delegate.now():u()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(v,u=0,a){return m.delegate&&m.delegate!==this?m.delegate.schedule(v,u,a):super.schedule(v,u,a)}flush(v){const{actions:u}=this;if(this.active)return void u.push(v);let a;this.active=!0;do{if(a=v.execute(v.state,v.delay))break}while(v=u.shift());if(this.active=!1,a){for(;v=u.shift();)v.unsubscribe();throw a}}}},82151:(j,g,t)=>{t.d(g,{r:()=>a,Z:()=>u});var f=t(18715),y=t(16367);const u=new class v extends y.v{flush(c){this.active=!0,this.scheduled=void 0;const{actions:h}=this;let o,r=-1,s=h.length;c=c||h.shift();do{if(o=c.execute(c.state,c.delay))break}while(++r<s&&(c=h.shift()));if(this.active=!1,o){for(;++r<s&&(c=h.shift());)c.unsubscribe();throw o}}}(class m extends f.o{constructor(c,h){super(c,h),this.scheduler=c,this.work=h}requestAsyncId(c,h,o=0){return null!==o&&o>0?super.requestAsyncId(c,h,o):(c.actions.push(this),c.scheduled||(c.scheduled=requestAnimationFrame(()=>c.flush(null))))}recycleAsyncId(c,h,o=0){if(null!==o&&o>0||null===o&&this.delay>0)return super.recycleAsyncId(c,h,o);0===c.actions.length&&(cancelAnimationFrame(h),c.scheduled=void 0)}}),a=u},65483:(j,g,t)=>{t.d(g,{e:()=>s,E:()=>r});let f=1;const m=Promise.resolve(),y={};function v(i){return i in y&&(delete y[i],!0)}const u={setImmediate(i){const l=f++;return y[l]=!0,m.then(()=>v(l)&&i()),l},clearImmediate(i){v(i)}};var d=t(18715),h=t(16367);const r=new class o extends h.v{flush(l){this.active=!0,this.scheduled=void 0;const{actions:p}=this;let S,R=-1,G=p.length;l=l||p.shift();do{if(S=l.execute(l.state,l.delay))break}while(++R<G&&(l=p.shift()));if(this.active=!1,S){for(;++R<G&&(l=p.shift());)l.unsubscribe();throw S}}}(class c extends d.o{constructor(l,p){super(l,p),this.scheduler=l,this.work=p}requestAsyncId(l,p,S=0){return null!==S&&S>0?super.requestAsyncId(l,p,S):(l.actions.push(this),l.scheduled||(l.scheduled=u.setImmediate(l.flush.bind(l,null))))}recycleAsyncId(l,p,S=0){if(null!==S&&S>0||null===S&&this.delay>0)return super.recycleAsyncId(l,p,S);0===l.actions.length&&(u.clearImmediate(p),l.scheduled=void 0)}}),s=r},32606:(j,g,t)=>{t.d(g,{P:()=>v,z:()=>y});var f=t(18715);const y=new(t(16367).v)(f.o),v=y},99379:(j,g,t)=>{t.d(g,{c:()=>a,N:()=>u});var f=t(18715),y=t(16367);const u=new class v extends y.v{}(class m extends f.o{constructor(c,h){super(c,h),this.scheduler=c,this.work=h}schedule(c,h=0){return h>0?super.schedule(c,h):(this.delay=h,this.state=c,this.scheduler.flush(this),this)}execute(c,h){return h>0||this.closed?super.execute(c,h):this._execute(c,h)}requestAsyncId(c,h,o=0){return null!==o&&o>0||null===o&&this.delay>0?super.requestAsyncId(c,h,o):c.flush(this)}}),a=u},2611:(j,g,t)=>{t.d(g,{hZ:()=>m});const m=function f(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},76165:(j,g,t)=>{t.d(g,{L:()=>f});const f="function"==typeof Symbol&&Symbol.observable||"@@observable"},69975:(j,g,t)=>{t.d(g,{b:()=>f});const f="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},84873:(j,g,t)=>{t.d(g,{W:()=>m});const m=(()=>{function y(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return y.prototype=Object.create(Error.prototype),y})()},25239:(j,g,t)=>{t.d(g,{K:()=>m});const m=(()=>{function y(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return y.prototype=Object.create(Error.prototype),y})()},96874:(j,g,t)=>{t.d(g,{N:()=>m});const m=(()=>{function y(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return y.prototype=Object.create(Error.prototype),y})()},66742:(j,g,t)=>{t.d(g,{B:()=>m});const m=(()=>{function y(v){return Error.call(this),this.message=v?`${v.length} errors occurred during unsubscription:\n${v.map((u,a)=>`${a+1}) ${u.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=v,this}return y.prototype=Object.create(Error.prototype),y})()},48428:(j,g,t)=>{t.d(g,{_:()=>m});var f=t(71003);function m(y){for(;y;){const{closed:v,destination:u,isStopped:a}=y;if(v||a)return!1;y=u&&u instanceof f.L?u:null}return!0}},76901:(j,g,t)=>{function f(m){setTimeout(()=>{throw m},0)}t.d(g,{z:()=>f})},87206:(j,g,t)=>{function f(m){return m}t.d(g,{y:()=>f})},49861:(j,g,t)=>{t.d(g,{k:()=>f});const f=Array.isArray||(m=>m&&"number"==typeof m.length)},984:(j,g,t)=>{t.d(g,{z:()=>f});const f=m=>m&&"number"==typeof m.length&&"function"!=typeof m},80018:(j,g,t)=>{function f(m){return"function"==typeof m}t.d(g,{m:()=>f})},82867:(j,g,t)=>{t.d(g,{k:()=>m});var f=t(49861);function m(y){return!(0,f.k)(y)&&y-parseFloat(y)+1>=0}},71533:(j,g,t)=>{function f(m){return null!==m&&"object"==typeof m}t.d(g,{K:()=>f})},64674:(j,g,t)=>{t.d(g,{b:()=>m});var f=t(67016);function m(y){return!!y&&(y instanceof f.y||"function"==typeof y.lift&&"function"==typeof y.subscribe)}},95751:(j,g,t)=>{function f(m){return!!m&&"function"!=typeof m.subscribe&&"function"==typeof m.then}t.d(g,{t:()=>f})},86770:(j,g,t)=>{function f(m){return m&&"function"==typeof m.schedule}t.d(g,{K:()=>f})},92941:(j,g,t)=>{function f(){}t.d(g,{Z:()=>f})},89763:(j,g,t)=>{t.d(g,{U:()=>y,z:()=>m});var f=t(87206);function m(...v){return y(v)}function y(v){return 0===v.length?f.y:1===v.length?v[0]:function(a){return v.reduce((d,c)=>c(d),a)}}},36181:(j,g,t)=>{t.d(g,{s:()=>r});var f=t(70076),m=t(76901),v=t(2611),a=t(76165),c=t(984),h=t(95751),o=t(71533);const r=s=>{if(s&&"function"==typeof s[a.L])return(s=>i=>{const l=s[a.L]();if("function"!=typeof l.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return l.subscribe(i)})(s);if((0,c.z)(s))return(0,f.V)(s);if((0,h.t)(s))return(s=>i=>(s.then(l=>{i.closed||(i.next(l),i.complete())},l=>i.error(l)).then(null,m.z),i))(s);if(s&&"function"==typeof s[v.hZ])return(s=>i=>{const l=s[v.hZ]();for(;;){let p;try{p=l.next()}catch(S){return i.error(S),i}if(p.done){i.complete();break}if(i.next(p.value),i.closed)break}return"function"==typeof l.return&&i.add(()=>{l.return&&l.return()}),i})(s);{const l=`You provided ${(0,o.K)(s)?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(l)}}},70076:(j,g,t)=>{t.d(g,{V:()=>f});const f=m=>y=>{for(let v=0,u=m.length;v<u&&!y.closed;v++)y.next(m[v]);y.complete()}},56668:(j,g,t)=>{t.d(g,{D:()=>u});var f=t(71003);class m extends f.L{constructor(d,c,h){super(),this.parent=d,this.outerValue=c,this.outerIndex=h,this.index=0}_next(d){this.parent.notifyNext(this.outerValue,d,this.outerIndex,this.index++,this)}_error(d){this.parent.notifyError(d,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var y=t(36181),v=t(67016);function u(a,d,c,h,o=new m(a,c,h)){if(!o.closed)return d instanceof v.y?d.subscribe(o):(0,y.s)(d)(o)}},72589:function(j,g,t){var f;f=t(63931),Zone.__load_patch("rxjs",function(m,y,v){var u=y.__symbol__,a="rxjs.Subscriber.next",d="rxjs.Subscriber.error",c="rxjs.Subscriber.complete",h=Object.defineProperties;v.patchMethod(f.Observable.prototype,"lift",function(i){return function(l,p){var S=i.apply(l,p);return S.operator&&(S.operator._zone=y.current,v.patchMethod(S.operator,"call",function(R){return function(G,ht){return G._zone&&G._zone!==y.current?G._zone.run(R,G,ht):R.apply(G,ht)}})),S}});var i,p;p=(i=f.Observable.prototype)[u("_subscribe")]=i._subscribe,h(f.Observable.prototype,{_zone:{value:null,writable:!0,configurable:!0},_zoneSource:{value:null,writable:!0,configurable:!0},_zoneSubscribe:{value:null,writable:!0,configurable:!0},source:{configurable:!0,get:function(){return this._zoneSource},set:function(S){this._zone=y.current,this._zoneSource=S}},_subscribe:{configurable:!0,get:function(){if(this._zoneSubscribe)return this._zoneSubscribe;if(this.constructor===f.Observable)return p;var S=Object.getPrototypeOf(this);return S&&S._subscribe},set:function(S){this._zone=y.current,this._zoneSubscribe=S?function(){if(this._zone&&this._zone!==y.current){var R=this._zone.run(S,this,arguments);if("function"==typeof R){var G=this._zone;return function(){return G!==y.current?G.run(R,this,arguments):R.apply(this,arguments)}}return R}return S.apply(this,arguments)}:S}},subjectFactory:{get:function(){return this._zoneSubjectFactory},set:function(S){var R=this._zone;this._zoneSubjectFactory=function(){return R&&R!==y.current?R.run(S,this,arguments):S.apply(this,arguments)}}}}),h(f.Subscription.prototype,{_zone:{value:null,writable:!0,configurable:!0},_zoneUnsubscribe:{value:null,writable:!0,configurable:!0},_unsubscribe:{get:function(){if(this._zoneUnsubscribe||this._zoneUnsubscribeCleared)return this._zoneUnsubscribe;var i=Object.getPrototypeOf(this);return i&&i._unsubscribe},set:function(i){this._zone=y.current,i?(this._zoneUnsubscribeCleared=!1,this._zoneUnsubscribe=function(){return this._zone&&this._zone!==y.current?this._zone.run(i,this,arguments):i.apply(this,arguments)}):(this._zoneUnsubscribe=i,this._zoneUnsubscribeCleared=!0)}}}),function(){var i=f.Subscriber.prototype.next,l=f.Subscriber.prototype.error,p=f.Subscriber.prototype.complete;Object.defineProperty(f.Subscriber.prototype,"destination",{configurable:!0,get:function(){return this._zoneDestination},set:function(S){this._zone=y.current,this._zoneDestination=S}}),f.Subscriber.prototype.next=function(){var R=this._zone;return R&&R!==y.current?R.run(i,this,arguments,a):i.apply(this,arguments)},f.Subscriber.prototype.error=function(){var R=this._zone;return R&&R!==y.current?R.run(l,this,arguments,d):l.apply(this,arguments)},f.Subscriber.prototype.complete=function(){var R=this._zone;return R&&R!==y.current?R.run(p,this,arguments,c):p.call(this)}}()})},47761:()=>{!function(n){const b=n.performance;function D(U){b&&b.mark&&b.mark(U)}function P(U,L){b&&b.measure&&b.measure(U,L)}D("Zone");const I=n.__Zone_symbol_prefix||"__zone_symbol__";function x(U){return I+U}const z=!0===n[x("forceDuplicateZoneCheck")];if(n.Zone){if(z||"function"!=typeof n.Zone.__symbol__)throw new Error("Zone already loaded.");return n.Zone}let Z=(()=>{class U{constructor(e,E){this._parent=e,this._name=E?E.name||"unnamed":"<root>",this._properties=E&&E.properties||{},this._zoneDelegate=new J(this,this._parent&&this._parent._zoneDelegate,E)}static assertZonePatched(){if(n.Promise!==_.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=U.current;for(;e.parent;)e=e.parent;return e}static get current(){return M.zone}static get currentTask(){return w}static __load_patch(e,E,Y=!1){if(_.hasOwnProperty(e)){if(!Y&&z)throw Error("Already loaded patch: "+e)}else if(!n["__Zone_disable_"+e]){const nt="Zone:"+e;D(nt),_[e]=E(n,U,T),P(nt,nt)}}get parent(){return this._parent}get name(){return this._name}get(e){const E=this.getZoneWith(e);if(E)return E._properties[e]}getZoneWith(e){let E=this;for(;E;){if(E._properties.hasOwnProperty(e))return E;E=E._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,E){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const Y=this._zoneDelegate.intercept(this,e,E),nt=this;return function(){return nt.runGuarded(Y,this,arguments,E)}}run(e,E,Y,nt){M={parent:M,zone:this};try{return this._zoneDelegate.invoke(this,e,E,Y,nt)}finally{M=M.parent}}runGuarded(e,E=null,Y,nt){M={parent:M,zone:this};try{try{return this._zoneDelegate.invoke(this,e,E,Y,nt)}catch(Ot){if(this._zoneDelegate.handleError(this,Ot))throw Ot}}finally{M=M.parent}}runTask(e,E,Y){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||gt).name+"; Execution: "+this.name+")");if(e.state===dt&&(e.type===C||e.type===tt))return;const nt=e.state!=V;nt&&e._transitionTo(V,at),e.runCount++;const Ot=w;w=e,M={parent:M,zone:this};try{e.type==tt&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,E,Y)}catch(A){if(this._zoneDelegate.handleError(this,A))throw A}}finally{e.state!==dt&&e.state!==W&&(e.type==C||e.data&&e.data.isPeriodic?nt&&e._transitionTo(at,V):(e.runCount=0,this._updateTaskCount(e,-1),nt&&e._transitionTo(dt,V,dt))),M=M.parent,w=Ot}}scheduleTask(e){if(e.zone&&e.zone!==this){let Y=this;for(;Y;){if(Y===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);Y=Y.parent}}e._transitionTo(vt,dt);const E=[];e._zoneDelegates=E,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(Y){throw e._transitionTo(W,vt,dt),this._zoneDelegate.handleError(this,Y),Y}return e._zoneDelegates===E&&this._updateTaskCount(e,1),e.state==vt&&e._transitionTo(at,vt),e}scheduleMicroTask(e,E,Y,nt){return this.scheduleTask(new H(ut,e,E,Y,nt,void 0))}scheduleMacroTask(e,E,Y,nt,Ot){return this.scheduleTask(new H(tt,e,E,Y,nt,Ot))}scheduleEventTask(e,E,Y,nt,Ot){return this.scheduleTask(new H(C,e,E,Y,nt,Ot))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||gt).name+"; Execution: "+this.name+")");e._transitionTo(pt,at,V);try{this._zoneDelegate.cancelTask(this,e)}catch(E){throw e._transitionTo(W,pt),this._zoneDelegate.handleError(this,E),E}return this._updateTaskCount(e,-1),e._transitionTo(dt,pt),e.runCount=0,e}_updateTaskCount(e,E){const Y=e._zoneDelegates;-1==E&&(e._zoneDelegates=null);for(let nt=0;nt<Y.length;nt++)Y[nt]._updateTaskCount(e.type,E)}}return U.__symbol__=x,U})();const Q={name:"",onHasTask:(U,L,e,E)=>U.hasTask(e,E),onScheduleTask:(U,L,e,E)=>U.scheduleTask(e,E),onInvokeTask:(U,L,e,E,Y,nt)=>U.invokeTask(e,E,Y,nt),onCancelTask:(U,L,e,E)=>U.cancelTask(e,E)};class J{constructor(L,e,E){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=L,this._parentDelegate=e,this._forkZS=E&&(E&&E.onFork?E:e._forkZS),this._forkDlgt=E&&(E.onFork?e:e._forkDlgt),this._forkCurrZone=E&&(E.onFork?this.zone:e._forkCurrZone),this._interceptZS=E&&(E.onIntercept?E:e._interceptZS),this._interceptDlgt=E&&(E.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=E&&(E.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=E&&(E.onInvoke?E:e._invokeZS),this._invokeDlgt=E&&(E.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=E&&(E.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=E&&(E.onHandleError?E:e._handleErrorZS),this._handleErrorDlgt=E&&(E.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=E&&(E.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=E&&(E.onScheduleTask?E:e._scheduleTaskZS),this._scheduleTaskDlgt=E&&(E.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=E&&(E.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=E&&(E.onInvokeTask?E:e._invokeTaskZS),this._invokeTaskDlgt=E&&(E.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=E&&(E.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=E&&(E.onCancelTask?E:e._cancelTaskZS),this._cancelTaskDlgt=E&&(E.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=E&&(E.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const Y=E&&E.onHasTask;(Y||e&&e._hasTaskZS)&&(this._hasTaskZS=Y?E:Q,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=L,E.onScheduleTask||(this._scheduleTaskZS=Q,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),E.onInvokeTask||(this._invokeTaskZS=Q,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),E.onCancelTask||(this._cancelTaskZS=Q,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(L,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,L,e):new Z(L,e)}intercept(L,e,E){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,L,e,E):e}invoke(L,e,E,Y,nt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,L,e,E,Y,nt):e.apply(E,Y)}handleError(L,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,L,e)}scheduleTask(L,e){let E=e;if(this._scheduleTaskZS)this._hasTaskZS&&E._zoneDelegates.push(this._hasTaskDlgtOwner),E=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,L,e),E||(E=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=ut)throw new Error("Task is missing scheduleFn.");et(e)}return E}invokeTask(L,e,E,Y){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,L,e,E,Y):e.callback.apply(E,Y)}cancelTask(L,e){let E;if(this._cancelTaskZS)E=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,L,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");E=e.cancelFn(e)}return E}hasTask(L,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,L,e)}catch(E){this.handleError(L,E)}}_updateTaskCount(L,e){const E=this._taskCounts,Y=E[L],nt=E[L]=Y+e;if(nt<0)throw new Error("More tasks executed then were scheduled.");0!=Y&&0!=nt||this.hasTask(this.zone,{microTask:E.microTask>0,macroTask:E.macroTask>0,eventTask:E.eventTask>0,change:L})}}class H{constructor(L,e,E,Y,nt,Ot){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=L,this.source=e,this.data=Y,this.scheduleFn=nt,this.cancelFn=Ot,!E)throw new Error("callback is not defined");this.callback=E;const A=this;this.invoke=L===C&&Y&&Y.useG?H.invokeTask:function(){return H.invokeTask.call(n,A,this,arguments)}}static invokeTask(L,e,E){L||(L=this),B++;try{return L.runCount++,L.zone.runTask(L,e,E)}finally{1==B&&K(),B--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(dt,vt)}_transitionTo(L,e,E){if(this._state!==e&&this._state!==E)throw new Error(`${this.type} '${this.source}': can not transition to '${L}', expecting state '${e}'${E?" or '"+E+"'":""}, was '${this._state}'.`);this._state=L,L==dt&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const lt=x("setTimeout"),rt=x("Promise"),ot=x("then");let Pt,Et=[],ft=!1;function yt(U){if(Pt||n[rt]&&(Pt=n[rt].resolve(0)),Pt){let L=Pt[ot];L||(L=Pt.then),L.call(Pt,U)}else n[lt](U,0)}function et(U){0===B&&0===Et.length&&yt(K),U&&Et.push(U)}function K(){if(!ft){for(ft=!0;Et.length;){const U=Et;Et=[];for(let L=0;L<U.length;L++){const e=U[L];try{e.zone.runTask(e,null,null)}catch(E){T.onUnhandledError(E)}}}T.microtaskDrainDone(),ft=!1}}const gt={name:"NO ZONE"},dt="notScheduled",vt="scheduling",at="scheduled",V="running",pt="canceling",W="unknown",ut="microTask",tt="macroTask",C="eventTask",_={},T={symbol:x,currentZoneFrame:()=>M,onUnhandledError:$,microtaskDrainDone:$,scheduleMicroTask:et,showUncaughtError:()=>!Z[x("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:$,patchMethod:()=>$,bindArguments:()=>[],patchThen:()=>$,patchMacroTask:()=>$,patchEventPrototype:()=>$,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>$,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>$,wrapWithCurrentZone:()=>$,filterProperties:()=>[],attachOriginToPatched:()=>$,_redefineProperty:()=>$,patchCallbacks:()=>$,nativeScheduleMicroTask:yt};let M={parent:null,zone:new Z(null,null)},w=null,B=0;function $(){}P("Zone","Zone"),n.Zone=Z}(typeof window<"u"&&window||typeof self<"u"&&self||global);const j=Object.getOwnPropertyDescriptor,g=Object.defineProperty,t=Object.getPrototypeOf,f=Object.create,m=Array.prototype.slice,y="addEventListener",v="removeEventListener",u=Zone.__symbol__(y),a=Zone.__symbol__(v),d="true",c="false",h=Zone.__symbol__("");function o(n,b){return Zone.current.wrap(n,b)}function r(n,b,D,P,I){return Zone.current.scheduleMacroTask(n,b,D,P,I)}const s=Zone.__symbol__,i=typeof window<"u",l=i?window:void 0,p=i&&l||"object"==typeof self&&self||global;function R(n,b){for(let D=n.length-1;D>=0;D--)"function"==typeof n[D]&&(n[D]=o(n[D],b+"_"+D));return n}function ht(n){return!n||!1!==n.writable&&!("function"==typeof n.get&&typeof n.set>"u")}const mt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Tt=!("nw"in p)&&typeof p.process<"u"&&"[object process]"==={}.toString.call(p.process),wt=!Tt&&!mt&&!(!i||!l.HTMLElement),Yt=typeof p.process<"u"&&"[object process]"==={}.toString.call(p.process)&&!mt&&!(!i||!l.HTMLElement),Bt={},zt=function(n){if(!(n=n||p.event))return;let b=Bt[n.type];b||(b=Bt[n.type]=s("ON_PROPERTY"+n.type));const D=this||n.target||p,P=D[b];let I;if(wt&&D===l&&"error"===n.type){const x=n;I=P&&P.call(this,x.message,x.filename,x.lineno,x.colno,x.error),!0===I&&n.preventDefault()}else I=P&&P.apply(this,arguments),null!=I&&!I&&n.preventDefault();return I};function Xt(n,b,D){let P=j(n,b);if(!P&&D&&j(D,b)&&(P={enumerable:!0,configurable:!0}),!P||!P.configurable)return;const I=s("on"+b+"patched");if(n.hasOwnProperty(I)&&n[I])return;delete P.writable,delete P.value;const x=P.get,z=P.set,Z=b.slice(2);let Q=Bt[Z];Q||(Q=Bt[Z]=s("ON_PROPERTY"+Z)),P.set=function(J){let H=this;!H&&n===p&&(H=p),H&&("function"==typeof H[Q]&&H.removeEventListener(Z,zt),z&&z.call(H,null),H[Q]=J,"function"==typeof J&&H.addEventListener(Z,zt,!1))},P.get=function(){let J=this;if(!J&&n===p&&(J=p),!J)return null;const H=J[Q];if(H)return H;if(x){let lt=x.call(this);if(lt)return P.set.call(this,lt),"function"==typeof J.removeAttribute&&J.removeAttribute(b),lt}return null},g(n,b,P),n[I]=!0}function Vt(n,b,D){if(b)for(let P=0;P<b.length;P++)Xt(n,"on"+b[P],D);else{const P=[];for(const I in n)"on"==I.slice(0,2)&&P.push(I);for(let I=0;I<P.length;I++)Xt(n,P[I],D)}}const Dt=s("originalInstance");function Nt(n){const b=p[n];if(!b)return;p[s(n)]=b,p[n]=function(){const I=R(arguments,n);switch(I.length){case 0:this[Dt]=new b;break;case 1:this[Dt]=new b(I[0]);break;case 2:this[Dt]=new b(I[0],I[1]);break;case 3:this[Dt]=new b(I[0],I[1],I[2]);break;case 4:this[Dt]=new b(I[0],I[1],I[2],I[3]);break;default:throw new Error("Arg list too long.")}},It(p[n],b);const D=new b(function(){});let P;for(P in D)"XMLHttpRequest"===n&&"responseBlob"===P||function(I){"function"==typeof D[I]?p[n].prototype[I]=function(){return this[Dt][I].apply(this[Dt],arguments)}:g(p[n].prototype,I,{set:function(x){"function"==typeof x?(this[Dt][I]=o(x,n+"."+I),It(this[Dt][I],x)):this[Dt][I]=x},get:function(){return this[Dt][I]}})}(P);for(P in b)"prototype"!==P&&b.hasOwnProperty(P)&&(p[n][P]=b[P])}function Mt(n,b,D){let P=n;for(;P&&!P.hasOwnProperty(b);)P=t(P);!P&&n[b]&&(P=n);const I=s(b);let x=null;if(P&&(!(x=P[I])||!P.hasOwnProperty(I))&&(x=P[I]=P[b],ht(P&&j(P,b)))){const Z=D(x,I,b);P[b]=function(){return Z(this,arguments)},It(P[b],x)}return x}function ce(n,b,D){let P=null;function I(x){const z=x.data;return z.args[z.cbIdx]=function(){x.invoke.apply(this,arguments)},P.apply(z.target,z.args),x}P=Mt(n,b,x=>function(z,Z){const Q=D(z,Z);return Q.cbIdx>=0&&"function"==typeof Z[Q.cbIdx]?r(Q.name,Z[Q.cbIdx],Q,I):x.apply(z,Z)})}function It(n,b){n[s("OriginalDelegate")]=b}let $t=!1,Jt=!1;function Ft(){if($t)return Jt;$t=!0;try{const n=l.navigator.userAgent;(-1!==n.indexOf("MSIE ")||-1!==n.indexOf("Trident/")||-1!==n.indexOf("Edge/"))&&(Jt=!0)}catch{}return Jt}Zone.__load_patch("ZoneAwarePromise",(n,b,D)=>{const P=Object.getOwnPropertyDescriptor,I=Object.defineProperty,z=D.symbol,Z=[],Q=!0===n[z("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],J=z("Promise"),H=z("then");D.onUnhandledError=A=>{if(D.showUncaughtError()){const k=A&&A.rejection;k?console.error("Unhandled Promise rejection:",k instanceof Error?k.message:k,"; Zone:",A.zone.name,"; Task:",A.task&&A.task.source,"; Value:",k,k instanceof Error?k.stack:void 0):console.error(A)}},D.microtaskDrainDone=()=>{for(;Z.length;){const A=Z.shift();try{A.zone.runGuarded(()=>{throw A.throwOriginal?A.rejection:A})}catch(k){ot(k)}}};const rt=z("unhandledPromiseRejectionHandler");function ot(A){D.onUnhandledError(A);try{const k=b[rt];"function"==typeof k&&k.call(this,A)}catch{}}function Et(A){return A&&A.then}function ft(A){return A}function Pt(A){return e.reject(A)}const yt=z("state"),et=z("value"),K=z("finally"),gt=z("parentPromiseValue"),dt=z("parentPromiseState"),at=null,V=!0,pt=!1;function ut(A,k){return O=>{try{T(A,k,O)}catch(N){T(A,!1,N)}}}const tt=function(){let A=!1;return function(O){return function(){A||(A=!0,O.apply(null,arguments))}}},_=z("currentTaskTrace");function T(A,k,O){const N=tt();if(A===O)throw new TypeError("Promise resolved with itself");if(A[yt]===at){let X=null;try{("object"==typeof O||"function"==typeof O)&&(X=O&&O.then)}catch(q){return N(()=>{T(A,!1,q)})(),A}if(k!==pt&&O instanceof e&&O.hasOwnProperty(yt)&&O.hasOwnProperty(et)&&O[yt]!==at)w(O),T(A,O[yt],O[et]);else if(k!==pt&&"function"==typeof X)try{X.call(O,N(ut(A,k)),N(ut(A,!1)))}catch(q){N(()=>{T(A,!1,q)})()}else{A[yt]=k;const q=A[et];if(A[et]=O,A[K]===K&&k===V&&(A[yt]=A[dt],A[et]=A[gt]),k===pt&&O instanceof Error){const F=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__;F&&I(O,_,{configurable:!0,enumerable:!1,writable:!0,value:F})}for(let F=0;F<q.length;)B(A,q[F++],q[F++],q[F++],q[F++]);if(0==q.length&&k==pt){A[yt]=0;let F=O;try{throw new Error("Uncaught (in promise): "+function x(A){return A&&A.toString===Object.prototype.toString?(A.constructor&&A.constructor.name||"")+": "+JSON.stringify(A):A?A.toString():Object.prototype.toString.call(A)}(O)+(O&&O.stack?"\n"+O.stack:""))}catch(st){F=st}Q&&(F.throwOriginal=!0),F.rejection=O,F.promise=A,F.zone=b.current,F.task=b.currentTask,Z.push(F),D.scheduleMicroTask()}}}return A}const M=z("rejectionHandledHandler");function w(A){if(0===A[yt]){try{const k=b[M];k&&"function"==typeof k&&k.call(this,{rejection:A[et],promise:A})}catch{}A[yt]=pt;for(let k=0;k<Z.length;k++)A===Z[k].promise&&Z.splice(k,1)}}function B(A,k,O,N,X){w(A);const q=A[yt],F=q?"function"==typeof N?N:ft:"function"==typeof X?X:Pt;k.scheduleMicroTask("Promise.then",()=>{try{const st=A[et],it=!!O&&K===O[K];it&&(O[gt]=st,O[dt]=q);const ct=k.run(F,void 0,it&&F!==Pt&&F!==ft?[]:[st]);T(O,!0,ct)}catch(st){T(O,!1,st)}},O)}const U=function(){},L=n.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(k){return T(new this(null),V,k)}static reject(k){return T(new this(null),pt,k)}static any(k){if(!k||"function"!=typeof k[Symbol.iterator])return Promise.reject(new L([],"All promises were rejected"));const O=[];let N=0;try{for(let F of k)N++,O.push(e.resolve(F))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(0===N)return Promise.reject(new L([],"All promises were rejected"));let X=!1;const q=[];return new e((F,st)=>{for(let it=0;it<O.length;it++)O[it].then(ct=>{X||(X=!0,F(ct))},ct=>{q.push(ct),N--,0===N&&(X=!0,st(new L(q,"All promises were rejected")))})})}static race(k){let O,N,X=new this((st,it)=>{O=st,N=it});function q(st){O(st)}function F(st){N(st)}for(let st of k)Et(st)||(st=this.resolve(st)),st.then(q,F);return X}static all(k){return e.allWithCallback(k)}static allSettled(k){return(this&&this.prototype instanceof e?this:e).allWithCallback(k,{thenCallback:N=>({status:"fulfilled",value:N}),errorCallback:N=>({status:"rejected",reason:N})})}static allWithCallback(k,O){let N,X,q=new this((ct,_t)=>{N=ct,X=_t}),F=2,st=0;const it=[];for(let ct of k){Et(ct)||(ct=this.resolve(ct));const _t=st;try{ct.then(bt=>{it[_t]=O?O.thenCallback(bt):bt,F--,0===F&&N(it)},bt=>{O?(it[_t]=O.errorCallback(bt),F--,0===F&&N(it)):X(bt)})}catch(bt){X(bt)}F++,st++}return F-=2,0===F&&N(it),q}constructor(k){const O=this;if(!(O instanceof e))throw new Error("Must be an instanceof Promise.");O[yt]=at,O[et]=[];try{const N=tt();k&&k(N(ut(O,V)),N(ut(O,pt)))}catch(N){T(O,!1,N)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(k,O){var N;let X=null===(N=this.constructor)||void 0===N?void 0:N[Symbol.species];(!X||"function"!=typeof X)&&(X=this.constructor||e);const q=new X(U),F=b.current;return this[yt]==at?this[et].push(F,q,k,O):B(this,F,q,k,O),q}catch(k){return this.then(null,k)}finally(k){var O;let N=null===(O=this.constructor)||void 0===O?void 0:O[Symbol.species];(!N||"function"!=typeof N)&&(N=e);const X=new N(U);X[K]=K;const q=b.current;return this[yt]==at?this[et].push(q,X,k,k):B(this,q,X,k,k),X}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const E=n[J]=n.Promise;n.Promise=e;const Y=z("thenPatched");function nt(A){const k=A.prototype,O=P(k,"then");if(O&&(!1===O.writable||!O.configurable))return;const N=k.then;k[H]=N,A.prototype.then=function(X,q){return new e((st,it)=>{N.call(this,st,it)}).then(X,q)},A[Y]=!0}return D.patchThen=nt,E&&(nt(E),Mt(n,"fetch",A=>function Ot(A){return function(k,O){let N=A.apply(k,O);if(N instanceof e)return N;let X=N.constructor;return X[Y]||nt(X),N}}(A))),Promise[b.__symbol__("uncaughtPromiseErrors")]=Z,e}),Zone.__load_patch("toString",n=>{const b=Function.prototype.toString,D=s("OriginalDelegate"),P=s("Promise"),I=s("Error"),x=function(){if("function"==typeof this){const J=this[D];if(J)return"function"==typeof J?b.call(J):Object.prototype.toString.call(J);if(this===Promise){const H=n[P];if(H)return b.call(H)}if(this===Error){const H=n[I];if(H)return b.call(H)}}return b.call(this)};x[D]=b,Function.prototype.toString=x;const z=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":z.call(this)}});let xt=!1;if(typeof window<"u")try{const n=Object.defineProperty({},"passive",{get:function(){xt=!0}});window.addEventListener("test",n,n),window.removeEventListener("test",n,n)}catch{xt=!1}const Ut={useG:!0},St={},Ht={},Qt=new RegExp("^"+h+"(\\w+)(true|false)$"),qt=s("propagationStopped");function le(n,b){const D=(b?b(n):n)+c,P=(b?b(n):n)+d,I=h+D,x=h+P;St[n]={},St[n][c]=I,St[n][d]=x}function te(n,b,D,P){const I=P&&P.add||y,x=P&&P.rm||v,z=P&&P.listeners||"eventListeners",Z=P&&P.rmAll||"removeAllListeners",Q=s(I),J="."+I+":",rt=function(et,K,gt){if(et.isRemoved)return;const dt=et.callback;let vt;"object"==typeof dt&&dt.handleEvent&&(et.callback=V=>dt.handleEvent(V),et.originalDelegate=dt);try{et.invoke(et,K,[gt])}catch(V){vt=V}const at=et.options;return at&&"object"==typeof at&&at.once&&K[x].call(K,gt.type,et.originalDelegate?et.originalDelegate:et.callback,at),vt};function ot(et,K,gt){if(!(K=K||n.event))return;const dt=et||K.target||n,vt=dt[St[K.type][gt?d:c]];if(vt){const at=[];if(1===vt.length){const V=rt(vt[0],dt,K);V&&at.push(V)}else{const V=vt.slice();for(let pt=0;pt<V.length&&(!K||!0!==K[qt]);pt++){const W=rt(V[pt],dt,K);W&&at.push(W)}}if(1===at.length)throw at[0];for(let V=0;V<at.length;V++){const pt=at[V];b.nativeScheduleMicroTask(()=>{throw pt})}}}const Et=function(et){return ot(this,et,!1)},ft=function(et){return ot(this,et,!0)};function Pt(et,K){if(!et)return!1;let gt=!0;K&&void 0!==K.useG&&(gt=K.useG);const dt=K&&K.vh;let vt=!0;K&&void 0!==K.chkDup&&(vt=K.chkDup);let at=!1;K&&void 0!==K.rt&&(at=K.rt);let V=et;for(;V&&!V.hasOwnProperty(I);)V=t(V);if(!V&&et[I]&&(V=et),!V||V[Q])return!1;const pt=K&&K.eventNameToString,W={},ut=V[Q]=V[I],tt=V[s(x)]=V[x],C=V[s(z)]=V[z],_=V[s(Z)]=V[Z];let T;function M(O,N){return!xt&&"object"==typeof O&&O?!!O.capture:xt&&N?"boolean"==typeof O?{capture:O,passive:!0}:O?"object"==typeof O&&!1!==O.passive?Object.assign(Object.assign({},O),{passive:!0}):O:{passive:!0}:O}K&&K.prepend&&(T=V[s(K.prepend)]=V[K.prepend]);const e=gt?function(O){if(!W.isExisting)return ut.call(W.target,W.eventName,W.capture?ft:Et,W.options)}:function(O){return ut.call(W.target,W.eventName,O.invoke,W.options)},E=gt?function(O){if(!O.isRemoved){const N=St[O.eventName];let X;N&&(X=N[O.capture?d:c]);const q=X&&O.target[X];if(q)for(let F=0;F<q.length;F++)if(q[F]===O){q.splice(F,1),O.isRemoved=!0,0===q.length&&(O.allRemoved=!0,O.target[X]=null);break}}if(O.allRemoved)return tt.call(O.target,O.eventName,O.capture?ft:Et,O.options)}:function(O){return tt.call(O.target,O.eventName,O.invoke,O.options)},nt=K&&K.diff?K.diff:function(O,N){const X=typeof N;return"function"===X&&O.callback===N||"object"===X&&O.originalDelegate===N},Ot=Zone[s("UNPATCHED_EVENTS")],A=n[s("PASSIVE_EVENTS")],k=function(O,N,X,q,F=!1,st=!1){return function(){const it=this||n;let ct=arguments[0];K&&K.transferEventName&&(ct=K.transferEventName(ct));let _t=arguments[1];if(!_t)return O.apply(this,arguments);if(Tt&&"uncaughtException"===ct)return O.apply(this,arguments);let bt=!1;if("function"!=typeof _t){if(!_t.handleEvent)return O.apply(this,arguments);bt=!0}if(dt&&!dt(O,_t,it,arguments))return;const Lt=xt&&!!A&&-1!==A.indexOf(ct),Rt=M(arguments[2],Lt);if(Ot)for(let jt=0;jt<Ot.length;jt++)if(ct===Ot[jt])return Lt?O.call(it,ct,_t,Rt):O.apply(this,arguments);const de=!!Rt&&("boolean"==typeof Rt||Rt.capture),Ee=!(!Rt||"object"!=typeof Rt)&&Rt.once,ve=Zone.current;let pe=St[ct];pe||(le(ct,pt),pe=St[ct]);const _e=pe[de?d:c];let ie,Kt=it[_e],be=!1;if(Kt){if(be=!0,vt)for(let jt=0;jt<Kt.length;jt++)if(nt(Kt[jt],_t))return}else Kt=it[_e]=[];const me=it.constructor.name,ye=Ht[me];ye&&(ie=ye[ct]),ie||(ie=me+N+(pt?pt(ct):ct)),W.options=Rt,Ee&&(W.options.once=!1),W.target=it,W.capture=de,W.eventName=ct,W.isExisting=be;const Gt=gt?Ut:void 0;Gt&&(Gt.taskData=W);const kt=ve.scheduleEventTask(ie,_t,Gt,X,q);return W.target=null,Gt&&(Gt.taskData=null),Ee&&(Rt.once=!0),!xt&&"boolean"==typeof kt.options||(kt.options=Rt),kt.target=it,kt.capture=de,kt.eventName=ct,bt&&(kt.originalDelegate=_t),st?Kt.unshift(kt):Kt.push(kt),F?it:void 0}};return V[I]=k(ut,J,e,E,at),T&&(V.prependListener=k(T,".prependListener:",function(O){return T.call(W.target,W.eventName,O.invoke,W.options)},E,at,!0)),V[x]=function(){const O=this||n;let N=arguments[0];K&&K.transferEventName&&(N=K.transferEventName(N));const X=arguments[2],q=!!X&&("boolean"==typeof X||X.capture),F=arguments[1];if(!F)return tt.apply(this,arguments);if(dt&&!dt(tt,F,O,arguments))return;const st=St[N];let it;st&&(it=st[q?d:c]);const ct=it&&O[it];if(ct)for(let _t=0;_t<ct.length;_t++){const bt=ct[_t];if(nt(bt,F))return ct.splice(_t,1),bt.isRemoved=!0,0===ct.length&&(bt.allRemoved=!0,O[it]=null,"string"==typeof N)&&(O[h+"ON_PROPERTY"+N]=null),bt.zone.cancelTask(bt),at?O:void 0}return tt.apply(this,arguments)},V[z]=function(){const O=this||n;let N=arguments[0];K&&K.transferEventName&&(N=K.transferEventName(N));const X=[],q=ee(O,pt?pt(N):N);for(let F=0;F<q.length;F++){const st=q[F];X.push(st.originalDelegate?st.originalDelegate:st.callback)}return X},V[Z]=function(){const O=this||n;let N=arguments[0];if(N){K&&K.transferEventName&&(N=K.transferEventName(N));const X=St[N];if(X){const st=O[X[c]],it=O[X[d]];if(st){const ct=st.slice();for(let _t=0;_t<ct.length;_t++){const bt=ct[_t];this[x].call(this,N,bt.originalDelegate?bt.originalDelegate:bt.callback,bt.options)}}if(it){const ct=it.slice();for(let _t=0;_t<ct.length;_t++){const bt=ct[_t];this[x].call(this,N,bt.originalDelegate?bt.originalDelegate:bt.callback,bt.options)}}}}else{const X=Object.keys(O);for(let q=0;q<X.length;q++){const st=Qt.exec(X[q]);let it=st&&st[1];it&&"removeListener"!==it&&this[Z].call(this,it)}this[Z].call(this,"removeListener")}if(at)return this},It(V[I],ut),It(V[x],tt),_&&It(V[Z],_),C&&It(V[z],C),!0}let yt=[];for(let et=0;et<D.length;et++)yt[et]=Pt(D[et],P);return yt}function ee(n,b){if(!b){const x=[];for(let z in n){const Z=Qt.exec(z);let Q=Z&&Z[1];if(Q&&(!b||Q===b)){const J=n[z];if(J)for(let H=0;H<J.length;H++)x.push(J[H])}}return x}let D=St[b];D||(le(b),D=St[b]);const P=n[D[c]],I=n[D[d]];return P?I?P.concat(I):P.slice():I?I.slice():[]}function ae(n,b){const D=n.Event;D&&D.prototype&&b.patchMethod(D.prototype,"stopImmediatePropagation",P=>function(I,x){I[qt]=!0,P&&P.apply(I,x)})}function ne(n,b,D,P,I){const x=Zone.__symbol__(P);if(b[x])return;const z=b[x]=b[P];b[P]=function(Z,Q,J){return Q&&Q.prototype&&I.forEach(function(H){const lt=`${D}.${P}::`+H,rt=Q.prototype;try{if(rt.hasOwnProperty(H)){const ot=n.ObjectGetOwnPropertyDescriptor(rt,H);ot&&ot.value?(ot.value=n.wrapWithCurrentZone(ot.value,lt),n._redefineProperty(Q.prototype,H,ot)):rt[H]&&(rt[H]=n.wrapWithCurrentZone(rt[H],lt))}else rt[H]&&(rt[H]=n.wrapWithCurrentZone(rt[H],lt))}catch{}}),z.call(b,Z,Q,J)},n.attachOriginToPatched(b[P],z)}function re(n,b,D){if(!D||0===D.length)return b;const P=D.filter(x=>x.target===n);if(!P||0===P.length)return b;const I=P[0].ignoreProperties;return b.filter(x=>-1===I.indexOf(x))}function se(n,b,D,P){n&&Vt(n,re(n,b,D),P)}function Wt(n){return Object.getOwnPropertyNames(n).filter(b=>b.startsWith("on")&&b.length>2).map(b=>b.substring(2))}Zone.__load_patch("util",(n,b,D)=>{const P=Wt(n);D.patchOnProperties=Vt,D.patchMethod=Mt,D.bindArguments=R,D.patchMacroTask=ce;const I=b.__symbol__("BLACK_LISTED_EVENTS"),x=b.__symbol__("UNPATCHED_EVENTS");n[x]&&(n[I]=n[x]),n[I]&&(b[I]=b[x]=n[I]),D.patchEventPrototype=ae,D.patchEventTarget=te,D.isIEOrEdge=Ft,D.ObjectDefineProperty=g,D.ObjectGetOwnPropertyDescriptor=j,D.ObjectCreate=f,D.ArraySlice=m,D.patchClass=Nt,D.wrapWithCurrentZone=o,D.filterProperties=re,D.attachOriginToPatched=It,D._redefineProperty=Object.defineProperty,D.patchCallbacks=ne,D.getGlobalObjects=()=>({globalSources:Ht,zoneSymbolEventNames:St,eventNames:P,isBrowser:wt,isMix:Yt,isNode:Tt,TRUE_STR:d,FALSE_STR:c,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:y,REMOVE_EVENT_LISTENER_STR:v})});const Zt=s("zoneTask");function Ct(n,b,D,P){let I=null,x=null;D+=P;const z={};function Z(J){const H=J.data;return H.args[0]=function(){return J.invoke.apply(this,arguments)},H.handleId=I.apply(n,H.args),J}function Q(J){return x.call(n,J.data.handleId)}I=Mt(n,b+=P,J=>function(H,lt){if("function"==typeof lt[0]){const rt={isPeriodic:"Interval"===P,delay:"Timeout"===P||"Interval"===P?lt[1]||0:void 0,args:lt},ot=lt[0];lt[0]=function(){try{return ot.apply(this,arguments)}finally{rt.isPeriodic||("number"==typeof rt.handleId?delete z[rt.handleId]:rt.handleId&&(rt.handleId[Zt]=null))}};const Et=r(b,lt[0],rt,Z,Q);if(!Et)return Et;const ft=Et.data.handleId;return"number"==typeof ft?z[ft]=Et:ft&&(ft[Zt]=Et),ft&&ft.ref&&ft.unref&&"function"==typeof ft.ref&&"function"==typeof ft.unref&&(Et.ref=ft.ref.bind(ft),Et.unref=ft.unref.bind(ft)),"number"==typeof ft||ft?ft:Et}return J.apply(n,lt)}),x=Mt(n,D,J=>function(H,lt){const rt=lt[0];let ot;"number"==typeof rt?ot=z[rt]:(ot=rt&&rt[Zt],ot||(ot=rt)),ot&&"string"==typeof ot.type?"notScheduled"!==ot.state&&(ot.cancelFn&&ot.data.isPeriodic||0===ot.runCount)&&("number"==typeof rt?delete z[rt]:rt&&(rt[Zt]=null),ot.zone.cancelTask(ot)):J.apply(n,lt)})}Zone.__load_patch("legacy",n=>{const b=n[Zone.__symbol__("legacyPatch")];b&&b()}),Zone.__load_patch("queueMicrotask",(n,b,D)=>{D.patchMethod(n,"queueMicrotask",P=>function(I,x){b.current.scheduleMicroTask("queueMicrotask",x[0])})}),Zone.__load_patch("timers",n=>{const b="set",D="clear";Ct(n,b,D,"Timeout"),Ct(n,b,D,"Interval"),Ct(n,b,D,"Immediate")}),Zone.__load_patch("requestAnimationFrame",n=>{Ct(n,"request","cancel","AnimationFrame"),Ct(n,"mozRequest","mozCancel","AnimationFrame"),Ct(n,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(n,b)=>{const D=["alert","prompt","confirm"];for(let P=0;P<D.length;P++)Mt(n,D[P],(x,z,Z)=>function(Q,J){return b.current.run(x,n,J,Z)})}),Zone.__load_patch("EventTarget",(n,b,D)=>{(function oe(n,b){b.patchEventPrototype(n,b)})(n,D),function fe(n,b){if(Zone[b.symbol("patchEventTarget")])return;const{eventNames:D,zoneSymbolEventNames:P,TRUE_STR:I,FALSE_STR:x,ZONE_SYMBOL_PREFIX:z}=b.getGlobalObjects();for(let Q=0;Q<D.length;Q++){const J=D[Q],rt=z+(J+x),ot=z+(J+I);P[J]={},P[J][x]=rt,P[J][I]=ot}const Z=n.EventTarget;Z&&Z.prototype&&b.patchEventTarget(n,b,[Z&&Z.prototype])}(n,D);const P=n.XMLHttpRequestEventTarget;P&&P.prototype&&D.patchEventTarget(n,D,[P.prototype])}),Zone.__load_patch("MutationObserver",(n,b,D)=>{Nt("MutationObserver"),Nt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(n,b,D)=>{Nt("IntersectionObserver")}),Zone.__load_patch("FileReader",(n,b,D)=>{Nt("FileReader")}),Zone.__load_patch("on_property",(n,b,D)=>{!function At(n,b){if(Tt&&!Yt||Zone[n.symbol("patchEvents")])return;const D=b.__Zone_ignore_on_properties;let P=[];if(wt){const I=window;P=P.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const x=function ue(){try{const n=l.navigator.userAgent;if(-1!==n.indexOf("MSIE ")||-1!==n.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:I,ignoreProperties:["error"]}]:[];se(I,Wt(I),D&&D.concat(x),t(I))}P=P.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let I=0;I<P.length;I++){const x=b[P[I]];x&&x.prototype&&se(x.prototype,Wt(x.prototype),D)}}(D,n)}),Zone.__load_patch("customElements",(n,b,D)=>{!function he(n,b){const{isBrowser:D,isMix:P}=b.getGlobalObjects();(D||P)&&n.customElements&&"customElements"in n&&b.patchCallbacks(b,n.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(n,D)}),Zone.__load_patch("XHR",(n,b)=>{!function Q(J){const H=J.XMLHttpRequest;if(!H)return;const lt=H.prototype;let ot=lt[u],Et=lt[a];if(!ot){const W=J.XMLHttpRequestEventTarget;if(W){const ut=W.prototype;ot=ut[u],Et=ut[a]}}const ft="readystatechange",Pt="scheduled";function yt(W){const ut=W.data,tt=ut.target;tt[x]=!1,tt[Z]=!1;const C=tt[I];ot||(ot=tt[u],Et=tt[a]),C&&Et.call(tt,ft,C);const _=tt[I]=()=>{if(tt.readyState===tt.DONE)if(!ut.aborted&&tt[x]&&W.state===Pt){const M=tt[b.__symbol__("loadfalse")];if(0!==tt.status&&M&&M.length>0){const w=W.invoke;W.invoke=function(){const B=tt[b.__symbol__("loadfalse")];for(let $=0;$<B.length;$++)B[$]===W&&B.splice($,1);!ut.aborted&&W.state===Pt&&w.call(W)},M.push(W)}else W.invoke()}else!ut.aborted&&!1===tt[x]&&(tt[Z]=!0)};return ot.call(tt,ft,_),tt[D]||(tt[D]=W),V.apply(tt,ut.args),tt[x]=!0,W}function et(){}function K(W){const ut=W.data;return ut.aborted=!0,pt.apply(ut.target,ut.args)}const gt=Mt(lt,"open",()=>function(W,ut){return W[P]=0==ut[2],W[z]=ut[1],gt.apply(W,ut)}),vt=s("fetchTaskAborting"),at=s("fetchTaskScheduling"),V=Mt(lt,"send",()=>function(W,ut){if(!0===b.current[at]||W[P])return V.apply(W,ut);{const tt={target:W,url:W[z],isPeriodic:!1,args:ut,aborted:!1},C=r("XMLHttpRequest.send",et,tt,yt,K);W&&!0===W[Z]&&!tt.aborted&&C.state===Pt&&C.invoke()}}),pt=Mt(lt,"abort",()=>function(W,ut){const tt=function rt(W){return W[D]}(W);if(tt&&"string"==typeof tt.type){if(null==tt.cancelFn||tt.data&&tt.data.aborted)return;tt.zone.cancelTask(tt)}else if(!0===b.current[vt])return pt.apply(W,ut)})}(n);const D=s("xhrTask"),P=s("xhrSync"),I=s("xhrListener"),x=s("xhrScheduled"),z=s("xhrURL"),Z=s("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&function G(n,b){const D=n.constructor.name;for(let P=0;P<b.length;P++){const I=b[P],x=n[I];if(x){if(!ht(j(n,I)))continue;n[I]=(Z=>{const Q=function(){return Z.apply(this,R(arguments,D+"."+I))};return It(Q,Z),Q})(x)}}}(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(n,b)=>{function D(P){return function(I){ee(n,P).forEach(z=>{const Z=n.PromiseRejectionEvent;if(Z){const Q=new Z(P,{promise:I.promise,reason:I.rejection});z.invoke(Q)}})}}n.PromiseRejectionEvent&&(b[s("unhandledPromiseRejectionHandler")]=D("unhandledrejection"),b[s("rejectionHandledHandler")]=D("rejectionhandled"))})},52394:(j,g,t)=>{t(47761),t(72589)}},j=>{j(j.s=52394)}]);
//# sourceMappingURL=polyfills.9eb52a55e59beedf.js.map