1"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[4565],{43345:(Q,C,r)=>{r.d(C,{e:()=>tt});var z=r(71985),K=r(18359),O=r(25007),j=r(92771),x=r(74402),A=r(7673),D=r(47242),b=r(983),M=r(18810),m=r(81417),p=r(84572),d=r(21413),l=r(56977),v=r(40941),T=r(88141),I=r(53993),$=r(96354),L=r(99437),W=r(96697),U=r(23294),w=r(44668),E=r(17705),Y=r(89079);function F(s){return"function"==typeof s.ngrxOnStoreInit}function R(s){return"function"==typeof s.ngrxOnStateInit}const J=new E.nKC("@ngrx/component-store Initial State");let N=(()=>{var s;class n{constructor(t){this.destroySubject$=new j.m(1),this.destroy$=this.destroySubject$.asObservable(),this.stateSubject$=new j.m(1),this.isInitialized=!1,this.state$=this.select(e=>e),this.state=(0,Y.ot)(this.stateSubject$.pipe((0,l.Q)(this.destroy$)),{requireSync:!1,manualCleanup:!0}),this.\u0275hasProvider=!1,t&&this.initState(t),this.checkProviderForHooks()}ngOnDestroy(){this.stateSubject$.complete(),this.destroySubject$.next()}updater(t){return e=>{let c,o=!0;const u=((0,x.A)(e)?e:(0,A.of)(e)).pipe((0,v.Q)(D.T),(0,T.M)(()=>this.assertStateIsInitialized()),(0,I.E)(this.stateSubject$),(0,$.T)(([a,f])=>t(f,a)),(0,T.M)(a=>this.stateSubject$.next(a)),(0,L.W)(a=>o?(c=a,b.w):(0,M.$)(a)),(0,l.Q)(this.destroy$)).subscribe();if(c)throw c;return o=!1,u}}initState(t){(0,m.c)([t],D.T).subscribe(e=>{this.isInitialized=!0,this.stateSubject$.next(e)})}setState(t){"function"!=typeof t?this.initState(t):this.updater(t)()}patchState(t){const e="function"==typeof t?t(this.get()):t;this.updater((o,c)=>({...o,...c}))(e)}get(t){let e;return this.assertStateIsInitialized(),this.stateSubject$.pipe((0,W.s)(1)).subscribe(o=>{e=t?t(o):o}),e}select(...t){const{observablesOrSelectorsObject:e,projector:o,config:c}=function X(s){const n=Array.from(s);let t={debounce:!1,equal:(c,h)=>c===h};if(function Z(s){return typeof s.debounce<"u"||typeof s.equal<"u"}(n[n.length-1])&&(t={...t,...n.pop()}),1===n.length&&"function"!=typeof n[0])return{observablesOrSelectorsObject:n[0],projector:void 0,config:t};const e=n.pop();return{observablesOrSelectorsObject:n,projector:e,config:t}}(t);return(function V(s,n){return Array.isArray(s)&&0===s.length&&n}(e,o)?this.stateSubject$:(0,p.z)(e)).pipe(c.debounce?function G(){return s=>new z.c(n=>{let i,t;const e=new K.yU;return e.add(s.subscribe({complete:()=>{i&&n.next(t),n.complete()},error:o=>{n.error(o)},next:o=>{t=o,i||(i=O.$.schedule(()=>{n.next(t),i=void 0}),e.add(i))}})),e})}():s=>s,o?(0,$.T)(u=>e.length>0&&Array.isArray(u)?o(...u):o(u)):s=>s,(0,U.F)(c.equal),(0,w.t)({refCount:!0,bufferSize:1}),(0,l.Q)(this.destroy$))}selectSignal(...t){const e=[...t],o=(f,y)=>f===y,c="object"==typeof e[t.length-1]?{equal:e.pop().equal||o}:{equal:o},h=e.pop(),u=e;return(0,E.EWP)(0===u.length?()=>h(this.state()):()=>{const f=u.map(y=>y());return h(...f)},c)}effect(t){const e=new d.B;return t(e).pipe((0,l.Q)(this.destroy$)).subscribe(),o=>((0,x.A)(o)?o:(0,A.of)(o)).pipe((0,l.Q)(this.destroy$)).subscribe(h=>{e.next(h)})}checkProviderForHooks(){O.$.schedule(()=>{if((0,E.naY)()&&(F(this)||R(this))&&!this.\u0275hasProvider){const t=[F(this)?"OnStoreInit":"",R(this)?"OnStateInit":""].filter(e=>e);console.warn("@ngrx/component-store: ".concat(this.constructor.name," has the ").concat(t.join(" and ")," ")+"lifecycle hook(s) implemented without being provided using the "+"provideComponentStore(".concat(this.constructor.name,") function. ")+"To resolve this, provide the component store via provideComponentStore(".concat(this.constructor.name,")"))}})}assertStateIsInitialized(){if(!this.isInitialized)throw new Error("".concat(this.constructor.name," has not been initialized yet. ")+"Please make sure it is initialized before updating/getting.")}}return(s=n).\u0275fac=function(t){return new(t||s)(E.KVO(J,8))},s.\u0275prov=E.jDH({token:s,factory:s.\u0275fac}),n})();var q=r(77876),k=r(89944);let tt=(()=>{var s;class n extends N{constructor(){super({submitted:!1,inProcess:!1}),this.submitted$=this.select(t=>t.submitted),this.inProcess$=this.select(t=>t.inProcess),this.error$=this.select(t=>t.error),this.setSubmitted=this.updater((t,e)=>({...t,submitted:e})),this.setInProcess=this.updater((t,e)=>({...t,inProcess:e})),this.setError=this.updater((t,e)=>({...t,error:e}))}actionsSubmit(t,e,o,c,h,u,a,f){if(this.setSubmitted(!0),(!t||t.valid)&&!e){const y=new q.h,g=()=>{this.setInProcess(!1),y.next(),y.complete()};try{this.setInProcess(!0),this.setError(""),function _(s,n,i,t,e,o){s.pipe((0,k.gp)(n,i),(0,W.s)(1),(0,l.Q)(o||b.w)).subscribe(c=>{if(c.type===n.type)t(c);else{if(c.type!==i.type)throw new Error("unexpected action type "+c.type);e(c)}})}(c,h,u,S=>{a&&a(S),g()},S=>{const H=null==S?void 0:S.error;H&&this.setError(H),f&&f(S),g()},y);const P=o(g);P&&"then"in P&&P.then(()=>{},S=>{throw g(),S})}catch(P){throw g(),P}}}observableSubmit(t,e,o,c,h){if(this.setSubmitted(!0),(!t||t.valid)&&!e)try{const u=o();u&&(this.setInProcess(!0),this.setError(""),u.subscribe({next:a=>{this.setInProcess(!1),c&&c(a)},error:a=>{this.setInProcess(!1);const f=a;f&&this.setError(f),h&&h(f)}}))}catch(u){throw this.setInProcess(!1),u}}promiseSubmit(t,e,o,c,h){if(this.setSubmitted(!0),(!t||t.valid)&&!e)try{this.setInProcess(!0),this.setError(""),o().then(u=>{this.setInProcess(!1),c&&c(u)}).catch(u=>{this.setInProcess(!1);const a=u;a&&this.setError(a),h&&h(a)})}catch(u){throw this.setInProcess(!1),u}}}return(s=n).\u0275fac=function(t){return new(t||s)},s.\u0275prov=E.jDH({token:s,factory:s.\u0275fac}),n})()}
1,44437:(Q,C,r)=>{r.d(C,{y:()=>D});var z=r(71985),K=r(58750),O=r(42326),j=r(983),x=r(54360),A=r(9326);function D(...b){const M=(0,A.ms)(b),m=(0,O.K)(b);return m.length?new z.c(p=>{let d=m.map(()=>[]),l=m.map(()=>!1);p.add(()=>{d=l=null});for(let v=0;!p.closed&&v<m.length;v++)(0,K.Tg)(m[v]).subscribe((0,x._)(p,T=>{if(d[v].push(T),d.every(I=>I.length)){const I=d.map($=>$.shift());p.next(M?M(...I):I),d.some(($,L)=>!$.length&&l[L])&&p.complete()}},()=>{l[v]=!0,!d[v].length&&p.complete()}));return()=>{d=l=null}}):j.w}}}]);
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.