@rero/rero-ils-ui
Version:
User interface for RERO integrated library system (RERO ILS).
1 lines • 1.88 MB
JavaScript
(self.webpackChunkpublic_user_profile_edit=self.webpackChunkpublic_user_profile_edit||[]).push([[792],{2795:(Ot,at,ke)=>{"use strict";function K(e,n,o,t,i,r,a){try{var s=e[r](a),d=s.value}catch(u){return void o(u)}s.done?n(d):Promise.resolve(d).then(t,i)}function A(e){return function(){var n=this,o=arguments;return new Promise(function(t,i){var r=e.apply(n,o);function a(d){K(r,t,i,a,s,"next",d)}function s(d){K(r,t,i,a,s,"throw",d)}a(void 0)})}}function ne(e,n){return Object.is(e,n)}let oe=null,Z=!1,j=1;const re=Symbol("SIGNAL");function N(e){const n=oe;return oe=e,n}const ce={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function q(e){if(Z)throw new Error("");if(null===oe)return;oe.consumerOnSignalRead(e);const n=oe.nextProducerIndex++;ze(oe),n<oe.producerNode.length&&oe.producerNode[n]!==e&&We(oe)&&Qe(oe.producerNode[n],oe.producerIndexOfThis[n]),oe.producerNode[n]!==e&&(oe.producerNode[n]=e,oe.producerIndexOfThis[n]=We(oe)?Pe(e,oe,n):0),oe.producerLastReadVersion[n]=e.version}function ge(e){if((!We(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==j)){if(!e.producerMustRecompute(e)&&!de(e))return e.dirty=!1,void(e.lastCleanEpoch=j);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=j}}function Te(e){if(void 0===e.liveConsumerNode)return;const n=Z;Z=!0;try{for(const o of e.liveConsumerNode)o.dirty||U(o)}finally{Z=n}}function le(){var e;return!1!==(null===(e=oe)||void 0===e?void 0:e.consumerAllowSignalWrites)}function U(e){var n;e.dirty=!0,Te(e),null===(n=e.consumerMarkedDirty)||void 0===n||n.call(e,e)}function W(e){return e&&(e.nextProducerIndex=0),N(e)}function Oe(e,n){if(N(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(We(e))for(let o=e.nextProducerIndex;o<e.producerNode.length;o++)Qe(e.producerNode[o],e.producerIndexOfThis[o]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function de(e){ze(e);for(let n=0;n<e.producerNode.length;n++){const o=e.producerNode[n],t=e.producerLastReadVersion[n];if(t!==o.version||(ge(o),t!==o.version))return!0}return!1}function ve(e){if(ze(e),We(e))for(let n=0;n<e.producerNode.length;n++)Qe(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Pe(e,n,o){if(lt(e),ze(e),0===e.liveConsumerNode.length)for(let t=0;t<e.producerNode.length;t++)e.producerIndexOfThis[t]=Pe(e.producerNode[t],e,t);return e.liveConsumerIndexOfThis.push(o),e.liveConsumerNode.push(n)-1}function Qe(e,n){if(lt(e),ze(e),1===e.liveConsumerNode.length)for(let t=0;t<e.producerNode.length;t++)Qe(e.producerNode[t],e.producerIndexOfThis[t]);const o=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[o],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[o],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const t=e.liveConsumerIndexOfThis[n],i=e.liveConsumerNode[n];ze(i),i.producerIndexOfThis[t]=n}}function We(e){var n,o;return e.consumerIsAlwaysLive||(null!==(n=null==e||null===(o=e.liveConsumerNode)||void 0===o?void 0:o.length)&&void 0!==n?n:0)>0}function ze(e){var n,o,t;null!==(n=e.producerNode)&&void 0!==n||(e.producerNode=[]),null!==(o=e.producerIndexOfThis)&&void 0!==o||(e.producerIndexOfThis=[]),null!==(t=e.producerLastReadVersion)&&void 0!==t||(e.producerLastReadVersion=[])}function lt(e){var n,o;null!==(n=e.liveConsumerNode)&&void 0!==n||(e.liveConsumerNode=[]),null!==(o=e.liveConsumerIndexOfThis)&&void 0!==o||(e.liveConsumerIndexOfThis=[])}const ut=Symbol("UNSET"),Ee=Symbol("COMPUTING"),He=Symbol("ERRORED"),Ze={...ce,value:ut,dirty:!0,error:null,equal:ne,producerMustRecompute:e=>e.value===ut||e.value===Ee,producerRecomputeValue(e){if(e.value===Ee)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Ee;const o=W(e);let t;try{t=e.computation()}catch(i){t=He,e.error=i}finally{Oe(e,o)}n!==ut&&n!==He&&t!==He&&e.equal(n,t)?e.value=n:(e.value=t,e.version++)}};let Qt=function Ct(){throw new Error};function yt(){Qt()}let ae=null;function Vt(e,n){le()||yt(),e.equal(e.value,n)||(e.value=n,function jn(e){var n;e.version++,function fe(){j++}(),Te(e),null===(n=ae)||void 0===n||n()}(e))}const zt={...ce,equal:ne,value:void 0};const Do=()=>{},gn={...ce,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Do};function rn(e){return"function"==typeof e}function Ii(e){const o=e(t=>{Error.call(t),t.stack=(new Error).stack});return o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o}const Wt=Ii(e=>function(o){e(this),this.message=o?"".concat(o.length," errors occurred during unsubscription:\n").concat(o.map((t,i)=>"".concat(i+1,") ").concat(t.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=o});function li(e,n){if(e){const o=e.indexOf(n);0<=o&&e.splice(o,1)}}class Lt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:o}=this;if(o)if(this._parentage=null,Array.isArray(o))for(const r of o)r.remove(this);else o.remove(this);const{initialTeardown:t}=this;if(rn(t))try{t()}catch(r){n=r instanceof Wt?r.errors:[r]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const r of i)try{Go(r)}catch(a){n=null!=n?n:[],a instanceof Wt?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Wt(n)}}add(n){var o;if(n&&n!==this)if(this.closed)Go(n);else{if(n instanceof Lt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(o=this._finalizers)&&void 0!==o?o:[]).push(n)}}_hasParent(n){const{_parentage:o}=this;return o===n||Array.isArray(o)&&o.includes(n)}_addParent(n){const{_parentage:o}=this;this._parentage=Array.isArray(o)?(o.push(n),o):o?[o,n]:n}_removeParent(n){const{_parentage:o}=this;o===n?this._parentage=null:Array.isArray(o)&&li(o,n)}remove(n){const{_finalizers:o}=this;o&&li(o,n),n instanceof Lt&&n._removeParent(this)}}Lt.EMPTY=(()=>{const e=new Lt;return e.closed=!0,e})();const bt=Lt.EMPTY;function Tt(e){return e instanceof Lt||e&&"closed"in e&&rn(e.remove)&&rn(e.add)&&rn(e.unsubscribe)}function Go(e){rn(e)?e():e.unsubscribe()}const sn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},go={setTimeout(e,n,...o){const{delegate:t}=go;return null!=t&&t.setTimeout?t.setTimeout(e,n,...o):setTimeout(e,n,...o)},clearTimeout(e){const{delegate:n}=go;return((null==n?void 0:n.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Bn(e){go.setTimeout(()=>{const{onUnhandledError:n}=sn;if(!n)throw e;n(e)})}function Ue(){}const Ye=ee("C",void 0,void 0);function ee(e,n,o){return{kind:e,value:n,error:o}}let se=null;function be(e){if(sn.useDeprecatedSynchronousErrorHandling){const n=!se;if(n&&(se={errorThrown:!1,error:null}),e(),n){const{errorThrown:o,error:t}=se;if(se=null,o)throw t}}else e()}class G extends Lt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Tt(n)&&n.add(this)):this.destination=Mt}static create(n,o,t){return new Le(n,o,t)}next(n){this.isStopped?Ce(function z(e){return ee("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ce(function Ie(e){return ee("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ce(Ye,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const pe=Function.prototype.bind;function _e(e,n){return pe.call(e,n)}class Ne{constructor(n){this.partialObserver=n}next(n){const{partialObserver:o}=this;if(o.next)try{o.next(n)}catch(t){De(t)}}error(n){const{partialObserver:o}=this;if(o.error)try{o.error(n)}catch(t){De(t)}else De(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(o){De(o)}}}class Le extends G{constructor(n,o,t){let i;if(super(),rn(n)||!n)i={next:null!=n?n:void 0,error:null!=o?o:void 0,complete:null!=t?t:void 0};else{let r;this&&sn.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&_e(n.next,r),error:n.error&&_e(n.error,r),complete:n.complete&&_e(n.complete,r)}):i=n}this.destination=new Ne(i)}}function De(e){sn.useDeprecatedSynchronousErrorHandling?function w(e){sn.useDeprecatedSynchronousErrorHandling&&se&&(se.errorThrown=!0,se.error=e)}(e):Bn(e)}function Ce(e,n){const{onStoppedNotification:o}=sn;o&&go.setTimeout(()=>o(e,n))}const Mt={closed:!0,next:Ue,error:function Fe(e){throw e},complete:Ue},Ft="function"==typeof Symbol&&Symbol.observable||"@@observable";function Kt(e){return e}function Et(e){return 0===e.length?Kt:1===e.length?e[0]:function(o){return e.reduce((t,i)=>i(t),o)}}let Jt=(()=>{class e{constructor(o){o&&(this._subscribe=o)}lift(o){const t=new e;return t.source=this,t.operator=o,t}subscribe(o,t,i){const r=function Gn(e){return e&&e instanceof G||function Tn(e){return e&&rn(e.next)&&rn(e.error)&&rn(e.complete)}(e)&&Tt(e)}(o)?o:new Le(o,t,i);return be(()=>{const{operator:a,source:s}=this;r.add(a?a.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(o){try{return this._subscribe(o)}catch(t){o.error(t)}}forEach(o,t){return new(t=Kn(t))((i,r)=>{const a=new Le({next:s=>{try{o(s)}catch(d){r(d),a.unsubscribe()}},error:r,complete:i});this.subscribe(a)})}_subscribe(o){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(o)}[Ft](){return this}pipe(...o){return Et(o)(this)}toPromise(o){return new(o=Kn(o))((t,i)=>{let r;this.subscribe(a=>r=a,a=>i(a),()=>t(r))})}}return e.create=n=>new e(n),e})();function Kn(e){var n;return null!==(n=null!=e?e:sn.Promise)&&void 0!==n?n:Promise}const jo=Ii(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let tn=(()=>{class e extends Jt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(o){const t=new Ao(this,this);return t.operator=o,t}_throwIfClosed(){if(this.closed)throw new jo}next(o){be(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(o)}})}error(o){be(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=o;const{observers:t}=this;for(;t.length;)t.shift().error(o)}})}complete(){be(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:o}=this;for(;o.length;)o.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var o;return(null===(o=this.observers)||void 0===o?void 0:o.length)>0}_trySubscribe(o){return this._throwIfClosed(),super._trySubscribe(o)}_subscribe(o){return this._throwIfClosed(),this._checkFinalizedStatuses(o),this._innerSubscribe(o)}_innerSubscribe(o){const{hasError:t,isStopped:i,observers:r}=this;return t||i?bt:(this.currentObservers=null,r.push(o),new Lt(()=>{this.currentObservers=null,li(r,o)}))}_checkFinalizedStatuses(o){const{hasError:t,thrownError:i,isStopped:r}=this;t?o.error(i):r&&o.complete()}asObservable(){const o=new Jt;return o.source=this,o}}return e.create=(n,o)=>new Ao(n,o),e})();class Ao extends tn{constructor(n,o){super(),this.destination=n,this.source=o}next(n){var o,t;null===(t=null===(o=this.destination)||void 0===o?void 0:o.next)||void 0===t||t.call(o,n)}error(n){var o,t;null===(t=null===(o=this.destination)||void 0===o?void 0:o.error)||void 0===t||t.call(o,n)}complete(){var n,o;null===(o=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===o||o.call(n)}_subscribe(n){var o,t;return null!==(t=null===(o=this.source)||void 0===o?void 0:o.subscribe(n))&&void 0!==t?t:bt}}class En extends tn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const o=super._subscribe(n);return!o.closed&&n.next(this._value),o}getValue(){const{hasError:n,thrownError:o,_value:t}=this;if(n)throw o;return this._throwIfClosed(),t}next(n){super.next(this._value=n)}}function Bi(e){return rn(null==e?void 0:e.lift)}function So(e){return n=>{if(Bi(n))return n.lift(function(o){try{return e(o,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function qo(e,n,o,t,i){return new Zs(e,n,o,t,i)}class Zs extends G{constructor(n,o,t,i,r,a){super(n),this.onFinalize=r,this.shouldUnsubscribe=a,this._next=o?function(s){try{o(s)}catch(d){n.error(d)}}:super._next,this._error=i?function(s){try{i(s)}catch(d){n.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=t?function(){try{t()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:o}=this;super.unsubscribe(),!o&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function xt(e,n){return So((o,t)=>{let i=0;o.subscribe(qo(t,r=>{t.next(e.call(n,r,i++))}))})}const Js="https://g.co/ng/security#xss";class et extends Error{constructor(n,o){super(function Fo(e,n){const o="NG0".concat(Math.abs(e));return"".concat(o).concat(n?": "+n:"")}(n,o)),this.code=n}}function na(e){return{toString:e}.toString()}const Er="__parameters__";function oa(e,n,o){return na(()=>{const t=function nn(e){return function(...o){if(e){const t=e(...o);for(const i in t)this[i]=t[i]}}}(n);function i(...r){if(this instanceof i)return t.apply(this,r),this;const a=new i(...r);return s.annotation=a,s;function s(d,u,f){const v=d.hasOwnProperty(Er)?d[Er]:Object.defineProperty(d,Er,{value:[]})[Er];for(;v.length<=f;)v.push(null);return(v[f]=v[f]||[]).push(a),d}}return o&&(i.prototype=Object.create(o.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Zn=globalThis;function no(e){for(let n in e)if(e[n]===no)return n;throw Error("Could not find renamed property on target object.")}function yd(e,n){for(const o in n)n.hasOwnProperty(o)&&!e.hasOwnProperty(o)&&(e[o]=n[o])}function vt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(vt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);const n=e.toString();if(null==n)return""+n;const o=n.indexOf("\n");return-1===o?n:n.substring(0,o)}function Rn(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const xc=no({__forward_ref__:no});function Un(e){return e.__forward_ref__=Un,e.toString=function(){return vt(this())},e}function xn(e){return Od(e)?e():e}function Od(e){return"function"==typeof e&&e.hasOwnProperty(xc)&&e.__forward_ref__===Un}function ot(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Xt(e){return{providers:e.providers||[],imports:e.imports||[]}}function jr(e){return zp(e,kc)||zp(e,Dc)}function zp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Hl(e){return e&&(e.hasOwnProperty(jp)||e.hasOwnProperty(Up))?e[jp]:null}const kc=no({\u0275prov:no}),jp=no({\u0275inj:no}),Dc=no({ngInjectableDef:no}),Up=no({ngInjectorDef:no});class At{constructor(n,o){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=ot({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}}function kd(e){return e&&!!e.\u0275providers}const jl=no({\u0275cmp:no}),ia=no({\u0275dir:no}),Ec=no({\u0275pipe:no}),va=no({\u0275mod:no}),$i=no({\u0275fac:no}),tl=no({__NG_ELEMENT_ID__:no}),nl=no({__NG_ENV_ID__:no});function Vn(e){return"string"==typeof e?e:null==e?"":String(e)}function Ic(e,n){throw new et(-201,!1)}var Gt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Gt||{});let Yp;function Wp(){return Yp}function wi(e){const n=Yp;return Yp=e,n}function al(e,n,o){const t=jr(e);return t&&"root"==t.providedIn?void 0===t.value?t.value=t.factory():t.value:o&Gt.Optional?null:void 0!==n?n:void Ic()}const os={},Ac="__NG_DI_FLAG__",co="ngTempTokenPath",y=/\n/gm,B="__source";let me;function it(e){const n=me;return me=e,n}function wt(e,n=Gt.Default){if(void 0===me)throw new et(-203,!1);return null===me?al(e,void 0,n):me.get(e,n&Gt.Optional?null:void 0,n)}function we(e,n=Gt.Default){return(Wp()||wt)(xn(e),n)}function Ge(e,n=Gt.Default){return we(e,wn(n))}function wn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bo(e){const n=[];for(let o=0;o<e.length;o++){const t=xn(e[o]);if(Array.isArray(t)){if(0===t.length)throw new et(900,!1);let i,r=Gt.Default;for(let a=0;a<t.length;a++){const s=t[a],d=Ba(s);"number"==typeof d?-1===d?i=s.token:r|=d:i=s}n.push(we(i,r))}else n.push(we(t))}return n}function ci(e,n){return e[Ac]=n,e.prototype[Ac]=n,e}function Ba(e){return e[Ac]}const wu=ci(oa("Optional"),8),$a=ci(oa("SkipSelf"),4);function Gl(e,n){return e.hasOwnProperty($i)?e[$i]:null}function ku(e,n){e.forEach(o=>Array.isArray(o)?ku(o,n):n(o))}function Hm(e,n,o){n>=e.length?e.push(o):e.splice(n,0,o)}function Du(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Ha(e,n,o){let t=Sd(e,n);return t>=0?e[1|t]=o:(t=~t,function Vm(e,n,o,t){let i=e.length;if(i==n)e.push(o,t);else if(1===i)e.push(t,e[0]),e[0]=o;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=o,e[n+1]=t}}(e,t,n,o)),t}function zm(e,n){const o=Sd(e,n);if(o>=0)return e[1|o]}function Sd(e,n){return function Su(e,n,o){let t=0,i=e.length>>o;for(;i!==t;){const r=t+(i-t>>1),a=e[r<<o];if(n===a)return r<<o;a>n?i=r:t=r+1}return~(i<<o)}(e,n,1)}const Os={},To=[],Kl=new At(""),qp=new At("",-1),Ph=new At("");class Td{get(n,o=os){if(o===os){const t=new Error("NullInjectorError: No provider for ".concat(vt(n),"!"));throw t.name="NullInjectorError",t}return o}}var ba=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ba||{}),Va=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Va||{}),tt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(tt||{});function jm(e,n,o){let t=e.length;for(;;){const i=e.indexOf(n,o);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const r=n.length;if(i+r===t||e.charCodeAt(i+r)<=32)return i}o=i+1}}function xh(e,n,o){let t=0;for(;t<o.length;){const i=o[t];if("number"==typeof i){if(0!==i)break;t++;const r=o[t++],a=o[t++],s=o[t++];e.setAttribute(n,a,s,r)}else{const r=i,a=o[++t];wh(r)?e.setProperty(n,r,a):e.setAttribute(n,r,a),t++}}return t}function Um(e){return 3===e||4===e||6===e}function wh(e){return 64===e.charCodeAt(0)}function Kp(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let o=-1;for(let t=0;t<n.length;t++){const i=n[t];"number"==typeof i?o=i:0===o||Kv(e,o,i,null,-1===o||2===o?n[++t]:null)}}return e}function Kv(e,n,o,t,i){let r=0,a=e.length;if(-1===n)a=-1;else for(;r<e.length;){const s=e[r++];if("number"==typeof s){if(s===n){a=-1;break}if(s>n){a=r-1;break}}}for(;r<e.length;){const s=e[r];if("number"==typeof s)break;if(s===o){if(null===t)return void(null!==i&&(e[r+1]=i));if(t===e[r+1])return void(e[r+2]=i)}r++,null!==t&&r++,null!==i&&r++}-1!==a&&(e.splice(a,0,n),r=a+1),e.splice(r++,0,o),null!==t&&e.splice(r++,0,t),null!==i&&e.splice(r++,0,i)}const Zv="ng-template";function Ed(e,n,o,t){let i=0;if(t){for(;i<n.length&&"string"==typeof n[i];i+=2)if("class"===n[i]&&-1!==jm(n[i+1].toLowerCase(),o,0))return!0}else if(Fc(e))return!1;if(i=n.indexOf(1,i),i>-1){let r;for(;++i<n.length&&"string"==typeof(r=n[i]);)if(r.toLowerCase()===o)return!0}return!1}function Fc(e){return 4===e.type&&e.value!==Zv}function Tu(e,n,o){return n===(4!==e.type||o?e.value:Zv)}function Ym(e,n,o){let t=4;const i=e.attrs,r=null!==i?function Ad(e){for(let n=0;n<e.length;n++)if(Um(e[n]))return n;return e.length}(i):0;let a=!1;for(let s=0;s<n.length;s++){const d=n[s];if("number"!=typeof d){if(!a)if(4&t){if(t=2|1&t,""!==d&&!Tu(e,d,o)||""===d&&1===n.length){if(za(t))return!1;a=!0}}else if(8&t){if(null===i||!Ed(e,i,d,o)){if(za(t))return!1;a=!0}}else{const u=n[++s],f=Qv(d,i,Fc(e),o);if(-1===f){if(za(t))return!1;a=!0;continue}if(""!==u){let v;if(v=f>r?"":i[f+1].toLowerCase(),2&t&&u!==v){if(za(t))return!1;a=!0}}}}else{if(!a&&!za(t)&&!za(d))return!1;if(a&&za(d))continue;a=!1,t=d|1&t}}return za(t)||a}function za(e){return!(1&e)}function Qv(e,n,o,t){if(null===n)return-1;let i=0;if(t||!o){let r=!1;for(;i<n.length;){const a=n[i];if(a===e)return i;if(3===a||6===a)r=!0;else{if(1===a||2===a){let s=n[++i];for(;"string"==typeof s;)s=n[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=r?1:2}return-1}return function aa(e,n){let o=e.indexOf(4);if(o>-1)for(o++;o<e.length;){const t=e[o];if("number"==typeof t)return-1;if(t===n)return o;o++}return-1}(n,e)}function kh(e,n,o=!1){for(let t=0;t<n.length;t++)if(Ym(e,n[t],o))return!0;return!1}function Lc(e,n){e:for(let o=0;o<n.length;o++){const t=n[o];if(e.length===t.length){for(let i=0;i<e.length;i++)if(e[i]!==t[i])continue e;return!0}}return!1}function Zl(e,n){return e?":not("+n.trim()+")":n}function Dh(e){let n=e[0],o=1,t=2,i="",r=!1;for(;o<e.length;){let a=e[o];if("string"==typeof a)if(2&t){const s=e[++o];i+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&t?i+="."+a:4&t&&(i+=" "+a);else""!==i&&!za(a)&&(n+=Zl(r,i),i=""),t=a,r=r||!za(t);o++}return""!==i&&(n+=Zl(r,i)),n}function ht(e){return na(()=>{var n;const o=Zp(e),t={...o,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ba.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(n=e.signals)&&void 0!==n&&n,data:e.data||{},encapsulation:e.encapsulation||Va.Emulated,styles:e.styles||To,_:null,schemas:e.schemas||null,tView:null,id:""};tC(t);const i=e.dependencies;return t.directiveDefs=Sh(i,!1),t.pipeDefs=Sh(i,!0),t.id=function Gm(e){let n=0;const o=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of o)n=Math.imul(31,n)+i.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function Xv(e){return ao(e)||Yi(e)}function Wm(e){return null!==e}function ln(e){return na(()=>({type:e.type,bootstrap:e.bootstrap||To,declarations:e.declarations||To,imports:e.imports||To,exports:e.exports||To,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function eC(e,n){if(null==e)return Os;const o={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let a,s,d=tt.None;var t;Array.isArray(r)?(d=r[0],a=r[1],s=null!==(t=r[2])&&void 0!==t?t:a):(a=r,s=r),n?(o[a]=d!==tt.None?[i,d]:i,n[a]=s):o[a]=i}return o}function jt(e){return na(()=>{const n=Zp(e);return tC(n),n})}function so(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ao(e){return e[jl]||null}function Yi(e){return e[ia]||null}function Hi(e){return e[Ec]||null}function Ir(e,n){const o=e[va]||null;if(!o&&!0===n)throw new Error("Type ".concat(vt(e)," does not have '\u0275mod' property."));return o}function Zp(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Os,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||To,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:eC(e.inputs,n),outputs:eC(e.outputs),debugInfo:null}}function tC(e){var n;null===(n=e.features)||void 0===n||n.forEach(o=>o(e))}function Sh(e,n){if(!e)return null;const o=n?Hi:Xv;return()=>("function"==typeof e?e():e).map(t=>o(t)).filter(Wm)}function Rc(e){return{\u0275providers:e}}function Eu(...e){return{\u0275providers:Fd(0,e),\u0275fromNgModule:!0}}function Fd(e,...n){const o=[],t=new Set;let i;const r=a=>{o.push(a)};return ku(n,a=>{const s=a;Ld(s,r,[],t)&&(i||(i=[]),i.push(s))}),void 0!==i&&nC(i,r),o}function nC(e,n){for(let o=0;o<e.length;o++){const{ngModule:t,providers:i}=e[o];Rd(i,r=>{n(r,t)})}}function Ld(e,n,o,t){if(!(e=xn(e)))return!1;let i=null,r=Hl(e);const a=!r&&ao(e);if(r||a){if(a&&!a.standalone)return!1;i=e}else{const d=e.ngModule;if(r=Hl(d),!r)return!1;i=d}const s=t.has(i);if(a){if(s)return!1;if(t.add(i),a.dependencies){const d="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const u of d)Ld(u,n,o,t)}}else{if(!r)return!1;{if(null!=r.imports&&!s){let u;t.add(i);try{ku(r.imports,f=>{Ld(f,n,o,t)&&(u||(u=[]),u.push(f))})}finally{}void 0!==u&&nC(u,n)}if(!s){const u=Gl(i)||(()=>new i);n({provide:i,useFactory:u,deps:To},i),n({provide:Ph,useValue:i,multi:!0},i),n({provide:Kl,useValue:()=>we(i),multi:!0},i)}const d=r.providers;if(null!=d&&!s){const u=e;Rd(d,f=>{n(f,u)})}}}return i!==e&&void 0!==e.providers}function Rd(e,n){for(let o of e)kd(o)&&(o=o.\u0275providers),Array.isArray(o)?Rd(o,n):n(o)}const oC=no({provide:String,useValue:no});function Ql(e){return null!==e&&"object"==typeof e&&oC in e}function xs(e){return"function"==typeof e}const Th=new At(""),Qp={},iC={};let qm;function sl(){return void 0===qm&&(qm=new Td),qm}class Wi{}class Fu extends Wi{get destroyed(){return this._destroyed}constructor(n,o,t,i){super(),this.parent=o,this.source=t,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gi(n,a=>this.processProvider(a)),this.records.set(qp,Lu(void 0,this)),i.has("environment")&&this.records.set(Wi,Lu(void 0,this));const r=this.records.get(Th);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Ph,To,Gt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=N(null);try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of o)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),N(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const o=it(this),t=wi(void 0);try{return n()}finally{it(o),wi(t)}}get(n,o=os,t=Gt.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(nl))return n[nl](this);t=wn(t);const r=it(this),a=wi(void 0);try{if(!(t&Gt.SkipSelf)){let d=this.records.get(n);if(void 0===d){const u=function Ur(e){return"function"==typeof e||"object"==typeof e&&e instanceof At}(n)&&jr(n);d=u&&this.injectableDefInScope(u)?Lu(Km(n),Qp):null,this.records.set(n,d)}if(null!=d)return this.hydrate(n,d)}return(t&Gt.Self?sl():this.parent).get(n,o=t&Gt.Optional&&o===os?null:o)}catch(s){if("NullInjectorError"===s.name){if((s[co]=s[co]||[]).unshift(vt(n)),r)throw s;return function Ca(e,n,o,t){const i=e[co];throw n[B]&&i.unshift(n[B]),e.message=function Wl(e,n,o,t=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=vt(n);if(Array.isArray(n))i=n.map(vt).join(" -> ");else if("object"==typeof n){let r=[];for(let a in n)if(n.hasOwnProperty(a)){let s=n[a];r.push(a+":"+("string"==typeof s?JSON.stringify(s):vt(s)))}i="{".concat(r.join(", "),"}")}return"".concat(o).concat(t?"("+t+")":"","[").concat(i,"]: ").concat(e.replace(y,"\n "))}("\n"+e.message,i,o,t),e.ngTokenPath=i,e[co]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{wi(a),it(r)}}resolveInjectorInitializers(){const n=N(null),o=it(this),t=wi(void 0);try{const r=this.get(Kl,To,Gt.Self);for(const a of r)a()}finally{it(o),wi(t),N(n)}}toString(){const n=[],o=this.records;for(const t of o.keys())n.push(vt(t));return"R3Injector[".concat(n.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new et(205,!1)}processProvider(n){let o=xs(n=xn(n))?n:xn(n&&n.provide);const t=function x1(e){return Ql(e)?Lu(void 0,e.useValue):Lu(rC(e),Qp)}(n);if(!xs(n)&&!0===n.multi){let i=this.records.get(o);i||(i=Lu(void 0,Qp,!0),i.factory=()=>Bo(i.multi),this.records.set(o,i)),o=n,i.multi.push(n)}this.records.set(o,t)}hydrate(n,o){const t=N(null);try{return o.value===Qp&&(o.value=iC,o.value=o.factory()),"object"==typeof o.value&&o.value&&function rr(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{N(t)}}injectableDefInScope(n){if(!n.providedIn)return!1;const o=xn(n.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(n){const o=this._onDestroyHooks.indexOf(n);-1!==o&&this._onDestroyHooks.splice(o,1)}}function Km(e){const n=jr(e),o=null!==n?n.factory:Gl(e);if(null!==o)return o;if(e instanceof At)throw new et(204,!1);if(e instanceof Function)return function P1(e){if(e.length>0)throw new et(204,!1);const o=function yh(e){return e&&(e[kc]||e[Dc])||null}(e);return null!==o?()=>o.factory(e):()=>new e}(e);throw new et(204,!1)}function rC(e,n,o){let t;if(xs(e)){const i=xn(e);return Gl(i)||Km(i)}if(Ql(e))t=()=>xn(e.useValue);else if(function Nc(e){return!(!e||!e.useFactory)}(e))t=()=>e.useFactory(...Bo(e.deps||[]));else if(function Iu(e){return!(!e||!e.useExisting)}(e))t=()=>we(xn(e.useExisting));else{const i=xn(e&&(e.useClass||e.provide));if(!function Ma(e){return!!e.deps}(e))return Gl(i)||Km(i);t=()=>new i(...Bo(e.deps))}return t}function Lu(e,n,o=!1){return{factory:e,value:n,multi:o?[]:void 0}}function Gi(e,n){for(const o of e)Array.isArray(o)?Gi(o,n):o&&kd(o)?Gi(o.\u0275providers,n):n(o)}function ya(e,n){e instanceof Fu&&e.assertNotDestroyed();const t=it(e),i=wi(void 0);try{return n()}finally{it(t),wi(i)}}function aC(){return void 0!==Wp()||null!=function Ke(){return me}()}function Nd(e){if(!aC())throw new et(-203,!1)}const Nu=Function;const di=0,Dt=1,vn=2,Ki=3,rs=4,ni=5,Qn=6,Yr=7,Lo=8,ui=9,as=10,$n=11,Bu=12,dC=13,Bc=14,pi=15,$u=16,$c=17,Ar=18,Hu=19,e_=20,Hc=21,Vc=22,Jl=23,Yn=25,t_=1,ll=7,Xl=9,Vi=10;var n_=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(n_||{});function Wr(e){return Array.isArray(e)&&"object"==typeof e[t_]}function Fr(e){return Array.isArray(e)&&!0===e[t_]}function zc(e){return!!(4&e.flags)}function ec(e){return e.componentOffset>-1}function $d(e){return!(1&~e.flags)}function ss(e){return!!e.template}function Xp(e){return!!(512&e[vn])}class zu{constructor(n,o,t){this.previousValue=n,this.currentValue=o,this.firstChange=t}isFirstChange(){return this.firstChange}}function ju(e,n,o,t){null!==n?n.applyValueToInputSignal(n,t):e[o]=t}function vo(){return r_}function r_(e){return e.type.prototype.ngOnChanges&&(e.setInput=gC),$1}function $1(){const e=Vd(this),n=null==e?void 0:e.current;if(n){const o=e.previous;if(o===Os)e.previous=n;else for(let t in n)o[t]=n[t];e.current=null,this.ngOnChanges(n)}}function gC(e,n,o,t,i){const r=this.declaredInputs[t],a=Vd(e)||function ng(e,n){return e[tc]=n}(e,{previous:Os,current:null}),s=a.current||(a.current={}),d=a.previous,u=d[r];s[r]=new zu(u&&u.currentValue,o,d===Os),ju(e,n,i,o)}vo.ngInherit=!0;const tc="__ngSimpleChanges__";function Vd(e){return e[tc]||null}const cl=function(e,n,o){};let Gr=!1;function oi(e){for(;Array.isArray(e);)e=e[di];return e}function Uu(e,n){return oi(n[e])}function qr(e,n){return oi(n[e.index])}function og(e,n){return e.data[n]}function Yu(e,n){return e[n]}function ja(e,n){const o=n[e];return Wr(o)?o:o[di]}function zd(e){return!(128&~e[vn])}function Oa(e,n){return null==n?null:e[n]}function dl(e){e[$c]=0}function H1(e){1024&e[vn]||(e[vn]|=1024,zd(e)&&Wu(e))}function Uc(e){var n;return!!(9216&e[vn]||null!==(n=e[Jl])&&void 0!==n&&n.dirty)}function $h(e){var n;if(null===(n=e[as].changeDetectionScheduler)||void 0===n||n.notify(1),Uc(e))Wu(e);else if(64&e[vn])if(function _C(){return Gr}())e[vn]|=1024,Wu(e);else{var o;null===(o=e[as].changeDetectionScheduler)||void 0===o||o.notify()}}function Wu(e){var n;null===(n=e[as].changeDetectionScheduler)||void 0===n||n.notify();let o=ls(e);for(;null!==o&&!(8192&o[vn])&&(o[vn]|=8192,zd(o));)o=ls(o)}function ig(e,n){if(!(256&~e[vn]))throw new et(911,!1);null===e[Hc]&&(e[Hc]=[]),e[Hc].push(n)}function ls(e){const n=e[Ki];return Fr(n)?n[Ki]:n}const Hn={lFrame:SC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function yC(){return Hn.bindingsEnabled}function jd(){return null!==Hn.skipHydrationRootTNode}function gt(){return Hn.lFrame.lView}function mo(){return Hn.lFrame.tView}function J(e){return Hn.lFrame.contextLView=e,e[Lo]}function X(e){return Hn.lFrame.contextLView=null,e}function Ko(){let e=l_();for(;null!==e&&64===e.type;)e=e.parent;return e}function l_(){return Hn.lFrame.currentTNode}function ul(e,n){const o=Hn.lFrame;o.currentTNode=e,o.isParent=n}function sg(){return Hn.lFrame.isParent}function Ud(){Hn.lFrame.isParent=!1}function sa(){const e=Hn.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function ws(){return Hn.lFrame.bindingIndex++}function pl(e){const n=Hn.lFrame,o=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,o}function wC(e,n){const o=Hn.lFrame;o.bindingIndex=o.bindingRootIndex=e,zh(n)}function zh(e){Hn.lFrame.currentDirectiveIndex=e}function u_(e){const n=Hn.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function jh(){return Hn.lFrame.currentQueryIndex}function oc(e){Hn.lFrame.currentQueryIndex=e}function kC(e){const n=e[Dt];return 2===n.type?n.declTNode:1===n.type?e[ni]:null}function cg(e,n,o){if(o&Gt.SkipSelf){let i=n,r=e;for(;!(i=i.parent,null!==i||o&Gt.Host||(i=kC(r),null===i||(r=r[Bc],10&i.type))););if(null===i)return!1;n=i,e=r}const t=Hn.lFrame=DC();return t.currentTNode=n,t.lView=e,!0}function p_(e){const n=DC(),o=e[Dt];Hn.lFrame=n,n.currentTNode=o.firstChild,n.lView=e,n.tView=o,n.contextLView=e,n.bindingIndex=o.bindingStartIndex,n.inI18n=!1}function DC(){const e=Hn.lFrame,n=null===e?null:e.child;return null===n?SC(e):n}function SC(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function mi(){const e=Hn.lFrame;return Hn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const TC=mi;function dg(){const e=mi();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function _i(){return Hn.lFrame.selectedIndex}function gl(e){Hn.lFrame.selectedIndex=e}function ii(){const e=Hn.lFrame;return og(e.tView,e.selectedIndex)}function br(){Hn.lFrame.currentNamespace="svg"}let AC=!0;function Yd(){return AC}function ks(e){AC=e}function pg(e,n){for(let u=n.directiveStart,f=n.directiveEnd;u<f;u++){const O=e.data[u].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:L,ngAfterViewInit:Y,ngAfterViewChecked:Q,ngOnDestroy:te}=O;var o,t,i,r,a,s,d;D&&(null!==(o=e.contentHooks)&&void 0!==o?o:e.contentHooks=[]).push(-u,D),L&&((null!==(t=e.contentHooks)&&void 0!==t?t:e.contentHooks=[]).push(u,L),(null!==(i=e.contentCheckHooks)&&void 0!==i?i:e.contentCheckHooks=[]).push(u,L)),Y&&(null!==(r=e.viewHooks)&&void 0!==r?r:e.viewHooks=[]).push(-u,Y),Q&&((null!==(a=e.viewHooks)&&void 0!==a?a:e.viewHooks=[]).push(u,Q),(null!==(s=e.viewCheckHooks)&&void 0!==s?s:e.viewCheckHooks=[]).push(u,Q)),null!=te&&(null!==(d=e.destroyHooks)&&void 0!==d?d:e.destroyHooks=[]).push(u,te)}}function Uh(e,n,o){gg(e,n,3,o)}function ic(e,n,o,t){(3&e[vn])===o&&gg(e,n,o,t)}function f_(e,n){let o=e[vn];(3&o)===n&&(o&=16383,o+=1,e[vn]=o)}function gg(e,n,o,t){const r=null!=t?t:-1,a=n.length-1;let s=0;for(let d=void 0!==t?65535&e[$c]:0;d<a;d++)if("number"==typeof n[d+1]){if(s=n[d],null!=t&&s>=t)break}else n[d]<0&&(e[$c]+=65536),(s<r||-1==r)&&(zi(e,o,n,d),e[$c]=(4294901760&e[$c])+d+2),d++}function FC(e,n){cl(4,e,n);const o=N(null);try{n.call(e)}finally{N(o),cl(5,e,n)}}function zi(e,n,o,t){const i=o[t]<0,r=o[t+1],s=e[i?-o[t]:o[t]];i?e[vn]>>14<e[$c]>>16&&(3&e[vn])===n&&(e[vn]+=16384,FC(s,r)):FC(s,r)}const Ku=-1;class hg{constructor(n,o,t){this.factory=n,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=t}}function C(e){return e!==Ku}function P(e){return 32767&e}function I(e,n){let o=function k(e){return e>>16}(e),t=n;for(;o>0;)t=t[Bc],o--;return t}let F=!0;function ue(e){const n=F;return F=e,n}const je=255,$e=5;let rt=0;const ft={};function Nt(e,n){const o=Bt(e,n);if(-1!==o)return o;const t=n[Dt];t.firstCreatePass&&(e.injectorIndex=n.length,Ut(t.data,e),Ut(n,null),Ut(t.blueprint,null));const i=qt(e,n),r=e.injectorIndex;if(C(i)){const a=P(i),s=I(i,n),d=s[Dt].data;for(let u=0;u<8;u++)n[r+u]=s[a+u]|d[a+u]}return n[r+8]=i,r}function Ut(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Bt(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function qt(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let o=0,t=null,i=n;for(;null!==i;){if(t=nr(i),null===t)return Ku;if(o++,i=i[Bc],-1!==t.injectorIndex)return t.injectorIndex|o<<16}return Ku}function hn(e,n,o){!function kt(e,n,o){let t;"string"==typeof o?t=o.charCodeAt(0)||0:o.hasOwnProperty(tl)&&(t=o[tl]),null==t&&(t=o[tl]=rt++);const i=t&je;n.data[e+(i>>$e)]|=1<<i}(e,n,o)}function oo(e,n,o){if(o&Gt.Optional||void 0!==e)return e;Ic()}function Zo(e,n,o,t){if(o&Gt.Optional&&void 0===t&&(t=null),!(o&(Gt.Self|Gt.Host))){const i=e[ui],r=wi(void 0);try{return i?i.get(n,t,o&Gt.Optional):al(n,t,o&Gt.Optional)}finally{wi(r)}}return oo(t,0,o)}function tr(e,n,o,t=Gt.Default,i){if(null!==e){if(2048&n[vn]&&!(t&Gt.Self)){const a=function hl(e,n,o,t,i){let r=e,a=n;for(;null!==r&&null!==a&&2048&a[vn]&&!(512&a[vn]);){const s=Mi(r,a,o,t|Gt.Self,ft);if(s!==ft)return s;let d=r.parent;if(!d){const u=a[e_];if(u){const f=u.get(o,ft,t);if(f!==ft)return f}d=nr(a),a=a[Bc]}r=d}return i}(e,n,o,t,ft);if(a!==ft)return a}const r=Mi(e,n,o,t,ft);if(r!==ft)return r}return Zo(n,o,t,i)}function Mi(e,n,o,t,i){const r=function la(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(tl)?e[tl]:void 0;return"number"==typeof n?n>=0?n&je:Qu:n}(o);if("function"==typeof r){if(!cg(n,e,t))return t&Gt.Host?oo(i,0,t):Zo(n,o,t,i);try{let a;if(a=r(t),null!=a||t&Gt.Optional)return a;Ic()}finally{TC()}}else if("number"==typeof r){let a=null,s=Bt(e,n),d=Ku,u=t&Gt.Host?n[pi][ni]:null;for((-1===s||t&Gt.SkipSelf)&&(d=-1===s?qt(e,n):n[s+8],d!==Ku&&Zi(t,!1)?(a=n[Dt],s=P(d),n=I(d,n)):s=-1);-1!==s;){const f=n[Dt];if(ar(r,s,f.data)){const v=Pa(s,n,o,a,t,u);if(v!==ft)return v}d=n[s+8],d!==Ku&&Zi(t,n[Dt].data[s+8]===u)&&ar(r,s,n)?(a=f,s=P(d),n=I(d,n)):s=-1}}return i}function Pa(e,n,o,t,i,r){const a=n[Dt],s=a.data[e+8],f=Mr(s,a,o,null==t?ec(s)&&F:t!=a&&!!(3&s.type),i&Gt.Host&&r===s);return null!==f?gi(n,a,f,s):ft}function Mr(e,n,o,t,i){const r=e.providerIndexes,a=n.data,s=1048575&r,d=e.directiveStart,f=r>>20,O=i?s+f:e.directiveEnd;for(let D=t?s:s+f;D<O;D++){const L=a[D];if(D<d&&o===L||D>=d&&L.type===o)return D}if(i){const D=a[d];if(D&&ss(D)&&D.type===o)return d}return null}function gi(e,n,o,t){let i=e[o];const r=n.data;if(function Y1(e){return e instanceof hg}(i)){const a=i;a.resolving&&function ys(e,n){throw n&&". Dependency path: ".concat(n.join(" > ")," > ").concat(e),new et(-200,e)}(function _o(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Vn(e)}(r[o]));const s=ue(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?wi(a.injectImpl):null;cg(e,t,Gt.Default);try{i=e[o]=a.factory(void 0,r,e,t),n.firstCreatePass&&o>=t.directiveStart&&function Uo(e,n,o){const{ngOnChanges:t,ngOnInit:i,ngDoCheck:r}=n.type.prototype;if(t){var a,s;const v=r_(n);(null!==(a=o.preOrderHooks)&&void 0!==a?a:o.preOrderHooks=[]).push(e,v),(null!==(s=o.preOrderCheckHooks)&&void 0!==s?s:o.preOrderCheckHooks=[]).push(e,v)}var d,u,f;i&&(null!==(d=o.preOrderHooks)&&void 0!==d?d:o.preOrderHooks=[]).push(0-e,i),r&&((null!==(u=o.preOrderHooks)&&void 0!==u?u:o.preOrderHooks=[]).push(e,r),(null!==(f=o.preOrderCheckHooks)&&void 0!==f?f:o.preOrderCheckHooks=[]).push(e,r))}(o,r[o],n)}finally{null!==u&&wi(u),ue(s),a.resolving=!1,TC()}}return i}function ar(e,n,o){return!!(o[n+(e>>$e)]&1<<e)}function Zi(e,n){return!(e&Gt.Self||e&Gt.Host&&n)}class Ro{constructor(n,o){this._tNode=n,this._lView=o}get(n,o,t){return tr(this._tNode,this._lView,n,wn(t),o)}}function Qu(){return new Ro(Ko(),gt())}function on(e){return na(()=>{const n=e.prototype.constructor,o=n[$i]||sr(n),t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;){const r=i[$i]||sr(i);if(r&&r!==o)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function sr(e){return Od(e)?()=>{const n=sr(xn(e));return n&&n()}:Gl(e)}function nr(e){const n=e[Dt],o=n.type;return 2===o?n.declTNode:1===o?e[ni]:null}function zD(e,n=null,o=null,t){const i=jD(e,n,o,t);return i.resolveInjectorInitializers(),i}function jD(e,n=null,o=null,t,i=new Set){const r=[o||To,Eu(e)];return t=t||("object"==typeof e?void 0:vt(e)),new Fu(r,n||sl(),t||null,i)}let ki=(()=>{var e;class n{static create(t,i){if(Array.isArray(t))return zD({name:""},i,t,"");{var r;const a=null!==(r=t.name)&&void 0!==r?r:"";return zD({name:a},t.parent,t.providers,a)}}}return(e=n).THROW_IF_NOT_FOUND=os,e.NULL=new Td,e.\u0275prov=ot({token:e,providedIn:"any",factory:()=>we(qp)}),e.__NG_ELEMENT_ID__=-1,n})();function W1(e){return e.ngOriginalError}class Wc{constructor(){this._console=console}handleError(n){const o=this._findOriginalError(n);this._console.error("ERROR",n),o&&this._console.error("ORIGINAL ERROR",o)}_findOriginalError(n){let o=n&&W1(n);for(;o&&W1(o);)o=W1(o);return o||null}}const YD=new At("",{providedIn:"root",factory:()=>Ge(Wc).handleError.bind(void 0)});let Yh=(()=>{var e;class n{}return(e=n).__NG_ELEMENT_ID__=xB,e.__NG_ENV_ID__=o=>o,n})();class PB extends Yh{constructor(n){super(),this._lView=n}onDestroy(n){return ig(this._lView,n),()=>function Gu(e,n){if(null===e[Hc])return;const o=e[Hc].indexOf(n);-1!==o&&e[Hc].splice(o,1)}(this._lView,n)}}function xB(){return new PB(gt())}function wB(){return Wh(Ko(),gt())}function Wh(e,n){return new Nn(qr(e,n))}let Nn=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=wB,n})();function GD(e){return e instanceof Nn?e.nativeElement:e}function G1(e){return n=>{setTimeout(e,void 0,n)}}const st=class kB extends tn{constructor(n=!1){var o;super(),this.destroyRef=void 0,this.__isAsync=n,aC()&&(this.destroyRef=null!==(o=Ge(Yh,{optional:!0}))&&void 0!==o?o:void 0)}emit(n){const o=N(null);try{super.next(n)}finally{N(o)}}subscribe(n,o,t){let i=n,r=o||(()=>null),a=t;if(n&&"object"==typeof n){var s,d,u;const v=n;i=null===(s=v.next)||void 0===s?void 0:s.bind(v),r=null===(d=v.error)||void 0===d?void 0:d.bind(v),a=null===(u=v.complete)||void 0===u?void 0:u.bind(v)}this.__isAsync&&(r=G1(r),i&&(i=G1(i)),a&&(a=G1(a)));const f=super.subscribe({next:i,error:r,complete:a});return n instanceof Lt&&n.add(f),f}};function DB(){return this._results[Symbol.iterator]()}class q1{get changes(){var n;return null!==(n=this._changes)&&void 0!==n?n:this._changes=new st}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const o=q1.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=DB)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,o){return this._results.reduce(n,o)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,o){this.dirty=!1;const t=function ra(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function v1(e,n,o){if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++){let i=e[t],r=n[t];if(o&&(i=o(i),r=o(r)),r!==i)return!1}return!0}(this._results,t,o))&&(this._results=t,this.length=t.length,this.last=t[this.length-1],this.first=t[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){var n;this.dirty=!0,null===(n=this._onDirty)||void 0===n||n.call(this)}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function LC(e){return!(128&~e.flags)}const K1=new Map;let TB=0;const Q1="__ngContext__";function xa(e,n){Wr(n)?(e[Q1]=n[Hu],function IB(e){K1.set(e[Hu],e)}(n)):e[Q1]=n}function oS(e){return rS(e[Bu])}function iS(e){return rS(e[rs])}function rS(e){for(;null!==e&&!Fr(e);)e=e[rs];return e}let J1;function Ju(){if(void 0!==J1)return J1;if(typeof document<"u")return document;throw new et(210,!1)}const BC=new At("",{providedIn:"root",factory:()=>ZB}),ZB="ng",gS=new At(""),ca=new At("",{providedIn:"platform",factory:()=>"unknown"}),X1=new At(""),eO=new At("",{providedIn:"root",factory:()=>{var e;return(null===(e=Ju().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let hS=()=>null;function rO(e,n,o=!1){return hS(e,n,o)}const CS=new At("",{providedIn:"root",factory:()=>!1});let WC,GC;function Zh(e){var n;return(null===(n=function cO(){if(void 0===WC&&(WC=null,Zn.trustedTypes))try{WC=Zn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return WC}())||void 0===n?void 0:n.createHTML(e))||e}function dO(){if(void 0===GC&&(GC=null,Zn.trustedTypes))try{GC=Zn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return GC}function MS(e){var n;return(null===(n=dO())||void 0===n?void 0:n.createHTML(e))||e}function OS(e){var n;return(null===(n=dO())||void 0===n?void 0:n.createScriptURL(e))||e}class fg{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(Js,")")}}class d$ extends fg{getTypeName(){return"HTML"}}class u$ extends fg{getTypeName(){return"Style"}}class p$ extends fg{getTypeName(){return"Script"}}class g$ extends fg{getTypeName(){return"URL"}}class h$ extends fg{getTypeName(){return"ResourceURL"}}function Ds(e){return e instanceof fg?e.changingThisBreaksApplicationSecurity:e}function Gc(e,n){const o=function f$(e){return e instanceof fg&&e.getTypeName()||null}(e);if(null!=o&&o!==n){if("ResourceURL"===o&&"URL"===n)return!0;throw new Error("Required a safe ".concat(n,", got a ").concat(o," (see ").concat(Js,")"))}return o===n}class M${constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const o=(new window.DOMParser).parseFromString(Zh(n),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(n):(o.removeChild(o.firstChild),o)}catch{return null}}}class y${constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const o=this.inertDocument.createElement("template");return o.innerHTML=Zh(n),o}}const P$=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qC(e){return(e=String(e)).match(P$)?e:"unsafe:"+e}function qd(e){const n={};for(const o of e.split(","))n[o]=!0;return n}function P_(...e){const n={};for(const o of e)for(const t in o)o.hasOwnProperty(t)&&(n[t]=!0);return n}const xS=qd("area,br,col,hr,img,wbr"),wS=qd("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kS=qd("rp,rt"),uO=P_(xS,P_(wS,qd("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),P_(kS,qd("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),P_(kS,wS)),pO=qd("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),DS=P_(pO,qd("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),qd("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcu