1var bC=Object.defineProperty,_C=Object.defineProperties;var MC=Object.getOwnPropertyDescriptors;var ip=Object.getOwnPropertySymbols;var TC=Object.prototype.hasOwnProperty,xC=Object.prototype.propertyIsEnumerable;var op=(e,n,t)=>n in e?bC(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,w=(e,n)=>{for(var t in n||={})TC.call(n,t)&&op(e,t,n[t]);if(ip)for(var t of ip(n))xC.call(n,t)&&op(e,t,n[t]);return e},P=(e,n)=>_C(e,MC(n));function Fl(e,n){return Object.is(e,n)}var pe=null,vs=!1,Pl=1,dt=Symbol("SIGNAL");function U(e){let n=pe;return pe=e,n}function Ll(){return pe}var Zi={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Yi(e){if(vs)throw new Error("");if(pe===null)return;pe.consumerOnSignalRead(e);let n=pe.nextProducerIndex++;if(ws(pe),n<pe.producerNode.length&&pe.producerNode[n]!==e&&qi(pe)){let t=pe.producerNode[n];Ss(t,pe.producerIndexOfThis[n])}pe.producerNode[n]!==e&&(pe.producerNode[n]=e,pe.producerIndexOfThis[n]=qi(pe)?ap(e,pe,n):0),pe.producerLastReadVersion[n]=e.version}function sp(){Pl++}function jl(e){if(!(qi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Pl)){if(!e.producerMustRecompute(e)&&!Hl(e)){Ol(e);return}e.producerRecomputeValue(e),Ol(e)}}function Vl(e){if(e.liveConsumerNode===void 0)return;let n=vs;vs=!0;try{for(let t of e.liveConsumerNode)t.dirty||AC(t)}finally{vs=n}}function Ul(){return pe?.consumerAllowSignalWrites!==!1}function AC(e){e.dirty=!0,Vl(e),e.consumerMarkedDirty?.(e)}function Ol(e){e.dirty=!1,e.lastCleanEpoch=Pl}function Ds(e){return e&&(e.nextProducerIndex=0),U(e)}function Bl(e,n){if(U(n),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(qi(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Ss(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Hl(e){ws(e);for(let n=0;n<e.producerNode.length;n++){let t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(jl(t),r!==t.version))return!0}return!1}function $l(e){if(ws(e),qi(e))for(let n=0;n<e.producerNode.length;n++)Ss(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 ap(e,n,t){if(cp(e),e.liveConsumerNode.length===0&&lp(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=ap(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Ss(e,n){if(cp(e),e.liveConsumerNode.length===1&&lp(e))for(let r=0;r<e.producerNode.length;r++)Ss(e.producerNode[r],e.producerIndexOfThis[r]);let t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[n],i=e.liveConsumerNode[n];ws(i),i.producerIndexOfThis[r]=n}}function qi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ws(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function cp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function lp(e){return e.producerNode!==void 0}function zl(e,n){let t=Object.create(NC);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(jl(t),Yi(t),t.value===ys)throw t.error;return t.value};return r[dt]=t,r}var Rl=Symbol("UNSET"),kl=Symbol("COMPUTING"),ys=Symbol("ERRORED"),NC=P(w({},Zi),{value:Rl,dirty:!0,error:null,equal:Fl,kind:"computed",producerMustRecompute(e){return e.value===Rl||e.value===kl},producerRecomputeValue(e){if(e.value===kl)throw new Error("Detected cycle in computations.");let n=e.value;e.value=kl;let t=Ds(e),r,i=!1;try{r=e.computation(),U(null),i=n!==Rl&&n!==ys&&r!==ys&&e.equal(n,r)}catch(o){r=ys,e.error=o}finally{Bl(e,t)}if(i){e.value=n;return}e.value=r,e.version++}});function RC(){throw new Error}var up=RC;function dp(e){up(e)}function Wl(e){up=e}var kC=null;function Gl(e,n){let t=Object.create(Cs);t.value=e,n!==void 0&&(t.equal=n);let r=()=>(Yi(t),t.value);return r[dt]=t,r}function Ki(e,n){Ul()||dp(e),e.equal(e.value,n)||(e.value=n,OC(e))}function ql(e,n){Ul()||dp(e),Ki(e,n(e.value))}var Cs=P(w({},Zi),{equal:Fl,value:void 0,kind:"signal"});function OC(e){e.version++,sp(),Vl(e),kC?.()}function Zl(e){let n=U(null);try{return e()}finally{U(n)}}var Yl;function Qi(){return Yl}function qt(e){let n=Yl;return Yl=e,n}var Is=Symbol("NotFound");function O(e){return typeof e=="function"}function _r(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Es=_r(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription: 2${t.map((r,i)=>`${i+1}) ${r.toString()}`).join(` 3 `)}`:"",this.name="UnsubscriptionError",this.errors=t});function Gn(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var ae=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}
vendor: 10,317 bytes, line 3
3unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let o of t)o.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(O(r))try{r()}catch(o){n=o instanceof Es?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{fp(o)}catch(s){n=n??[],s instanceof Es?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Es(n)}}add(n){var t;if(n&&n!==this)if(this.closed)fp(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Gn(t,n)}remove(n){let{_finalizers:t}=this;t&&Gn(t,n),n instanceof e&&n._removeParent(this)}};ae.EMPTY=(()=>{let e=new ae;return e.closed=!0,e})();var Kl=ae.EMPTY;function bs(e){return e instanceof ae||e&&"closed"in e&&O(e.remove)&&O(e.add)&&O(e.unsubscribe)}function fp(e){O(e)?e():e.unsubscribe()}var ft={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Mr={setTimeout(e,n,...t){let{delegate:r}=Mr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Mr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function _s(e){Mr.setTimeout(()=>{let{onUnhandledError:n}=ft;if(n)n(e);else throw e})}function Ji(){}var hp=Ql("C",void 0,void 0);function pp(e){return Ql("E",void 0,e)}function gp(e){return Ql("N",e,void 0)}function Ql(e,n,t){return{kind:e,value:n,error:t}}var qn=null;function Tr(e){if(ft.useDeprecatedSynchronousErrorHandling){let n=!qn;if(n&&(qn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=qn;if(qn=null,t)throw r}}else e()}function mp(e){ft.useDeprecatedSynchronousErrorHandling&&qn&&(qn.errorThrown=!0,qn.error=e)}var Zn=class extends ae{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,bs(n)&&n.add(this)):this.destination=UC}static create(n,t,r){return new ht(n,t,r)}next(n){this.isStopped?Xl(gp(n),this):this._next(n)}error(n){this.isStopped?Xl(pp(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Xl(hp,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()}}},jC=Function.prototype.bind;function Jl(e,n){return jC.call(e,n)}var eu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Ms(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Ms(r)}else Ms(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ms(t)}}},ht=class extends Zn{constructor(n,t,r){super();let i;if(O(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&ft.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Jl(n.next,o),error:n.error&&Jl(n.error,o),complete:n.complete&&Jl(n.complete,o)}):i=n}this.destination=new eu(i)}};function Ms(e){ft.useDeprecatedSynchronousErrorHandling?mp(e):_s(e)}function VC(e){throw e}function Xl(e,n){let{onStoppedNotification:t}=ft;t&&Mr.setTimeout(()=>t(e,n))}var UC={closed:!0,next:Ji,error:VC,complete:Ji};var xr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Te(e){return e}function tu(...e){return nu(e)}function nu(e){return e.length===0?Te:e.length===1?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}var B=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){let o=HC(t)?t:new ht(t,r,i);return Tr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=vp(r),new r((i,o)=>{let s=new ht({next:a=>{try{t(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[xr](){return this}pipe(...t){return nu(t)(this)}toPromise(t){return t=vp(t),new t((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function vp(e){var n;return(n=e??ft.Promise)!==null&&n!==void 0?n:Promise}function BC(e){return e&&O(e.next)&&O(e.error)&&O(e.complete)}function HC(e){return e&&e instanceof Zn||BC(e)&&bs(e)}function ru(e){return O(e?.lift)}function L(e){return n=>{if(ru(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function k(e,n,t,r,i){return new iu(e,n,t,r,i)}var iu=class extends Zn{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Ar(){return L((e,n)=>{let t=null;e._refCount++;let r=k(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let i=e._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var Nr=class extends B{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,ru(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new ae;let t=this.getSubject();n.add(this.source.subscribe(k(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=ae.EMPTY)}return n}refCount(){return Ar()(this)}};var yp=_r(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Z=(()=>{class e extends B{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Ts(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new yp}next(t){Tr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Tr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Tr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:i,observers:o}=this;return r||i?Kl:(this.currentObservers=null,o.push(t),new ae(()=>{this.currentObservers=null,Gn(o,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){let t=new B;return t.source=this,t}}return e.create=(n,t)=>new Ts(n,t),e})(),Ts=class extends Z{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Kl}};var ge=class extends Z{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Xi={now(){return(Xi.delegate||Date).now()},delegate:void 0};var un=class extends Z{constructor(n=1/0,t=1/0,r=Xi){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;t||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!n.closed;s+=r?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*n;if(n<1/0&&o<r.length&&r.splice(0,r.length-o),!i){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var xs=class extends ae{constructor(n,t){super()}schedule(n,t=0){return this}};var eo={setInterval(e,n,...t){let{delegate:r}=eo;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=eo;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var As=class extends xs{constructor(n,t){super(n,t),this.scheduler
vendor: 5,919 bytes, line 3
3=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,r=0){return eo.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&eo.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,i;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Gn(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var Rr=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};Rr.now=Xi.now;var Ns=class extends Rr{constructor(n,t=Rr.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var ou=new Ns(As),Dp=ou;var Ie=new B(e=>e.complete());function Rs(e){return e&&O(e.schedule)}function su(e){return e[e.length-1]}function kr(e){return O(su(e))?e.pop():void 0}function xt(e){return Rs(su(e))?e.pop():void 0}function Sp(e,n){return typeof su(e)=="number"?e.pop():n}function Cp(e,n,t,r){function i(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):i(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function wp(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Yn(e){return this instanceof Yn?(this.v=e,this):new Yn(e)}function Ip(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(i[f]=function(E){return new Promise(function(T,R){o.push([f,E,T,R])>1||c(f,E)})},g&&(i[f]=g(i[f])))}function c(f,g){try{l(r[f](g))}catch(E){p(o[0][3],E)}}function l(f){f.value instanceof Yn?Promise.resolve(f.value.v).then(u,d):p(o[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,g){f(g),o.shift(),o.length&&c(o[0][0],o[0][1])}}function Ep(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof wp=="function"?wp(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(a,c){s=e[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var ks=e=>e&&typeof e.length=="number"&&typeof e!="function";function Os(e){return O(e?.then)}function Fs(e){return O(e[xr])}function Ps(e){return Symbol.asyncIterator&&O(e?.[Symbol.asyncIterator])}function Ls(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function $C(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var js=$C();function Vs(e){return O(e?.[js])}function Us(e){return Ip(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:i}=yield Yn(t.read());if(i)return yield Yn(void 0);yield yield Yn(r)}}finally{t.releaseLock()}})}function Bs(e){return O(e?.getReader)}function Y(e){if(e instanceof B)return e;if(e!=null){if(Fs(e))return zC(e);if(ks(e))return WC(e);if(Os(e))return GC(e);if(Ps(e))return bp(e);if(Vs(e))return qC(e);if(Bs(e))return ZC(e)}throw Ls(e)}function zC(e){return new B(n=>{let t=e[xr]();if(O(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function WC(e){return new B(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function GC(e){return new B(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,_s)})}function qC(e){return new B(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function bp(e){return new B(n=>{YC(e,n).catch(t=>n.error(t))})}function ZC(e){return bp(Us(e))}function YC(e,n){var t,r,i,o;return Cp(this,void 0,void 0,function*(){try{for(t=Ep(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})}function Be(e,n,t,r=0,i=!1){let o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Hs(e,n=0){return L((t,r)=>{t.subscribe(k(r,i=>Be(r,e,()=>r.next(i),n),()=>Be(r,e,()=>r.complete(),n),i=>Be(r,e,()=>r.error(i),n)))})}function $s(e,n=0){return L((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}
vendor: 6,962 bytes, line 3
3function _p(e,n){return Y(e).pipe($s(n),Hs(n))}function Mp(e,n){return Y(e).pipe($s(n),Hs(n))}function Tp(e,n){return new B(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function xp(e,n){return new B(t=>{let r;return Be(t,n,()=>{r=e[js](),Be(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){t.error(s);return}o?t.complete():t.next(i)},0,!0)}),()=>O(r?.return)&&r.return()})}function zs(e,n){if(!e)throw new Error("Iterable cannot be null");return new B(t=>{Be(t,n,()=>{let r=e[Symbol.asyncIterator]();Be(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Ap(e,n){return zs(Us(e),n)}function Np(e,n){if(e!=null){if(Fs(e))return _p(e,n);if(ks(e))return Tp(e,n);if(Os(e))return Mp(e,n);if(Ps(e))return zs(e,n);if(Vs(e))return xp(e,n);if(Bs(e))return Ap(e,n)}throw Ls(e)}function G(e,n){return n?Np(e,n):Y(e)}function M(...e){let n=xt(e);return G(e,n)}function Zt(e,n){let t=O(e)?e:()=>e,r=i=>i.error(t());return new B(n?i=>n.schedule(r,0,i):r)}function au(e){return!!e&&(e instanceof B||O(e.lift)&&O(e.subscribe))}var pt=_r(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function cu(e,n){let t=typeof n=="object";return new Promise((r,i)=>{let o=new ht({next:s=>{r(s),o.unsubscribe()},error:i,complete:()=>{t?r(n.defaultValue):i(new pt)}});e.subscribe(o)})}function Rp(e){return e instanceof Date&&!isNaN(e)}function N(e,n){return L((t,r)=>{let i=0;t.subscribe(k(r,o=>{r.next(e.call(n,o,i++))}))})}var{isArray:KC}=Array;function QC(e,n){return KC(n)?e(...n):e(n)}function Ws(e){return N(n=>QC(e,n))}var{isArray:JC}=Array,{getPrototypeOf:XC,prototype:eI,keys:tI}=Object;function Gs(e){if(e.length===1){let n=e[0];if(JC(n))return{args:n,keys:null};if(nI(n)){let t=tI(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function nI(e){return e&&typeof e=="object"&&XC(e)===eI}function qs(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}function to(...e){let n=xt(e),t=kr(e),{args:r,keys:i}=Gs(e);if(r.length===0)return G([],n);let o=new B(rI(r,n,i?s=>qs(i,s):Te));return t?o.pipe(Ws(t)):o}function rI(e,n,t=Te){return r=>{kp(n,()=>{let{length:i}=e,o=new Array(i),s=i,a=i;for(let c=0;c<i;c++)kp(n,()=>{let l=G(e[c],n),u=!1;l.subscribe(k(r,d=>{o[c]=d,u||(u=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function kp(e,n,t){e?Be(t,e,n):n()}function Op(e,n,t,r,i,o,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&n.complete()},f=E=>l<r?g(E):c.push(E),g=E=>{o&&n.next(E),l++;let T=!1;Y(t(E,u++)).subscribe(k(n,R=>{i?.(R),o?f(R):n.next(R)},()=>{T=!0},void 0,()=>{if(T)try{for(l--;c.length&&l<r;){let R=c.shift();s?Be(n,s,()=>g(R)):g(R)}p()}catch(R){n.error(R)}}))};return e.subscribe(k(n,f,()=>{d=!0,p()})),()=>{a?.()}}function ie(e,n,t=1/0){return O(n)?ie((r,i)=>N((o,s)=>n(r,o,i,s))(Y(e(r,i))),t):(typeof n=="number"&&(t=n),L((r,i)=>Op(r,i,e,t)))}function dn(e=1/0){return ie(Te,e)}function Fp(){return dn(1)}function Or(...e){return Fp()(G(e,xt(e)))}function Zs(e){return new B(n=>{Y(e()).subscribe(n)})}function Kn(...e){let n=kr(e),{args:t,keys:r}=Gs(e),i=new B(o=>{let{length:s}=t;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;Y(t[u]).subscribe(k(o,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(r?qs(r,a):a),o.complete())}))}});return n?i.pipe(Ws(n)):i}function lu(e=0,n,t=Dp){let r=-1;return n!=null&&(Rs(n)?t=n:r=n),new B(i=>{let o=Rp(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function uu(...e){let n=xt(e),t=Sp(e,1/0),r=e;return r.length?r.length===1?Y(r[0]):dn(t)(G(r,n)):Ie}var{isArray:iI}=Array;function Pp(e){return e.length===1&&iI(e[0])?e[0]:e}function Ee(e,n){return L((t,r)=>{let i=0;t.subscribe(k(r,o=>e.call(n,o,i++)&&r.next(o)))})}function du(...e){let n=kr(e),t=Pp(e);return t.length?new B(r=>{let i=t.map(()=>[]),o=t.map(()=>!1);r.add(()=>{i=o=null});for(let s=0;!r.closed&&s<t.length;s++)Y(t[s]).subscribe(k(r,a=>{if(i[s].push(a),i.every(c=>c.length)){let c=i.map(l=>l.shift());r.next(n?n(...c):c),i.some((l,u)=>!l.length&&o[u])&&r.complete()}},()=>{o[s]=!0,!i[s].length&&r.complete()}));return()=>{i=o=null}}):Ie}function gt(e){return L((n,t)=>{let r=null,i=!1,o;r=n.subscribe(k(t,void 0,void 0,s=>{o=Y(e(s,gt(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function Lp(e,n,t,r,i){return(o,s)=>{let a=t,c=n,l=0;o.subscribe(k(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function ot(e,n){return O(n)?ie(e,n,1):ie(e,1)}function fu(e,n=ou){return L((t,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let l=o;o=null,r.next(l)}};function c(){let l=s+e,u=n.now();if(u<l){i=this.schedule(void 0,l-u),r.add(i);return}a()}t.subscribe(k(r,l=>{o=l,s=n.now(),i||(i=n.schedule(c,e),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function fn(e){return L((n,t)=>{let r=!1;n.subscribe(k(t,i=>{r=!0,t.next(i)},()=>{r||t.next(e),t.complete()}))})}function At(e){return e<=0?()=>Ie:L((n,t)=>{let r=0;n.subscribe(k(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}function Fr(e,n=Te){return e=e??oI,L((t,r)=>{let i,o=!0;t.subscribe(k(r,s=>{let a=n(s);(o||!e(i,a))&&(o=!1,i=a,r.next(s))}))})}function oI(e,n){return e===n}function Ys(e=sI){return L((n,t)=>{let r=!1;n.subscribe(k(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(e())))})}function sI(){return new pt}function hn(e){return L((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Yt(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Ee((i,o)=>e(i,o,r)):Te,At(1),t?fn(n):Ys(()=>new pt))}function Pr(e){return e<=0?()=>Ie:L((n,t)=>{let r=[];n.subscribe(k(t,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(let i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}function hu(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Ee((i,o)=>e(i,o,r)):Te,Pr(1),t?fn(n):Ys(()=>new pt))}function pu(e=1/0){let n;e&&typeof e=="object"?n=e:n={count:e};let{count:t=1/0,delay:r,resetOnSuccess:i=!1}=n;return t<=0?Te:L((o,s)=>{let a=0,c,l=()=>{let u=!1;c=o.subscribe(k(s,d=>{i&&(a=0),s.next(d)},void 0,d=>{if(a++<t){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?lu(r):Y(r(d,a)),g=k(s,()=>{g.unsubscribe(),p()},()=>{s.complete()});f.subscribe(g)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function gu(e,n){return L(Lp(e,n,arguments.length>=2,!0))}function jp(e={}){let{connector:n=()=>new Z,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},g=()=>{let E=s;f(),E?.unsubscribe()};return L((E,T)=>{l++,!d&&!u&&p();let R=c=c??n();T.add(()=>{l--,l===0&&!d&&!u&&(a=mu(g,i))}),R.subscribe(T),!s&&l>0&&(s=new ht({next:Me=>R.next(Me),error:Me=>{d=!0,p(),a=mu(f,t,Me),R.error(Me)}
3,complete:()=>{u=!0,p(),a=mu(f,r),R.complete()}}),Y(E).subscribe(s))})(o)}}function mu(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new ht({next:()=>{r.unsubscribe(),e()}});return Y(n(...t)).subscribe(r)}function vu(e,n,t){let r,i=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:i=!1,scheduler:t}=e:r=e??1/0,jp({connector:()=>new un(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function yu(...e){let n=xt(e);return L((t,r)=>{(n?Or(e,t,n):Or(e,t)).subscribe(r)})}function be(e,n){return L((t,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();t.subscribe(k(r,c=>{i?.unsubscribe();let l=0,u=o++;Y(e(c,u)).subscribe(i=k(r,d=>r.next(n?n(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function no(e){return L((n,t)=>{Y(e).subscribe(k(t,()=>t.complete(),Ji)),!t.closed&&n.subscribe(t)})}function ne(e,n,t){let r=O(e)||n||t?{next:e,error:n,complete:t}:e;return r?L((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(k(o,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),o.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),o.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),o.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Te}var Ng="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_=class extends Error{code;constructor(n,t){super(Rg(n,t)),this.code=n}};function aI(e){return`NG0${Math.abs(e)}`}function Rg(e,n){return`${aI(e)}${n?": "+n:""}`}var kg=Symbol("InputSignalNode#UNSET"),cI=P(w({},Cs),{transformFn:void 0,applyValueToInputSignal(e,n){Ki(e,n)}});function Og(e,n){let t=Object.create(cI);t.value=e,t.transformFn=n?.transform;function r(){if(Yi(t),t.value===kg){let i=null;throw new _(-950,i)}return t.value}return r[dt]=t,r}function vo(e){return{toString:e}.toString()}var Ks="__parameters__";function lI(e){return function(...t){if(e){let r=e(...t);for(let i in r)this[i]=r[i]}}}function xd(e,n,t){return vo(()=>{let r=lI(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Ks)?c[Ks]:Object.defineProperty(c,Ks,{value:[]})[Ks];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var Qe=globalThis;function J(e){for(let n in e)if(e[n]===J)return n;throw Error("Could not find renamed property on target object.")}function uI(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ze(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ze).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(` 4`);return r>=0?t.slice(0,r):t}function ku(e,n){return e?n?`${e} ${n}`:e:n||""}var dI=J({__forward_ref__:J});function Jt(e){return e.__forward_ref__=Jt,e.toString=function(){return ze(this())},e}function Pe(e){return Fg(e)?e():e}function Fg(e){return typeof e=="function"&&e.hasOwnProperty(dI)&&e.__forward_ref__===Jt}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ve(e){return{providers:e.providers||[],imports:e.imports||[]}}function La(e){return Vp(e,Lg)||Vp(e,jg)}function Pg(e){return La(e)!==null}function Vp(e,n){return e.hasOwnProperty(n)?e[n]:null}function fI(e){let n=e&&(e[Lg]||e[jg]);return n||null}function Up(e){return e&&(e.hasOwnProperty(Bp)||e.hasOwnProperty(hI))?e[Bp]:null}var Lg=J({\u0275prov:J}),Bp=J({\u0275inj:J}),jg=J({ngInjectableDef:J}),hI=J({ngInjectorDef:J}),b=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=v({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Vg(e){return e&&!!e.\u0275providers}var pI=J({\u0275cmp:J}),gI=J({\u0275dir:J}),mI=J({\u0275pipe:J}),vI=J({\u0275mod:J}),sa=J({\u0275fac:J}),so=J({__NG_ELEMENT_ID__:J}),Hp=J({__NG_ENV_ID__:J});function Xn(e){return typeof e=="string"?e:e==null?"":String(e)}function yI(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Xn(e)}function Ug(e,n){throw new _(-200,e)}function Ad(e,n){throw new _(-201,!1)}var V=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}(V||{}),Ou;function Bg(){return Ou}function He(e){let n=Ou;return Ou=e,n}function Hg(e,n,t){let r=La(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&V.Optional)return null;if(n!==void 0)return n;Ad(e,"Injector")}var DI={},Qn=DI,Fu="__NG_DI_FLAG__",aa=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=t;return this.injector.get(n,r.optional?Is:Qn,r)}},ca="ngTempTokenPath",SI="ngTokenPath",wI=/\n/gm,CI="\u0275",$p="__source";function II(e,n=V.Default){if(Qi()===void 0)throw new _(-203,!1);if(Qi()===null)return Hg(e,void 0,n);{let t=Qi(),r;return t instanceof aa?r=t.injector:r=t,r.get(e,n&V.Optional?null:void 0,n)}}function y(e,n=V.Default){return(Bg()||II)(Pe(e),n)}
4function h(e,n=V.Default){return y(e,ja(n))}function ja(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pu(e){let n=[];for(let t=0;t<e.length;t++){let r=Pe(e[t]);if(Array.isArray(r)){if(r.length===0)throw new _(900,!1);let i,o=V.Default;for(let s=0;s<r.length;s++){let a=r[s],c=EI(a);typeof c=="number"?c===-1?i=a.token:o|=c:i=a}n.push(y(i,o))}else n.push(y(r))}return n}function Nd(e,n){return e[Fu]=n,e.prototype[Fu]=n,e}function EI(e){return e[Fu]}function bI(e,n,t,r){let i=e[ca];throw n[$p]&&i.unshift(n[$p]),e.message=_I(` 5`+e.message,i,t,r),e[SI]=i,e[ca]=null,e}function _I(e,n,t,r=null){e=e&&e.charAt(0)===` 6`&&e.charAt(1)==CI?e.slice(2):e;let i=ze(n);if(Array.isArray(n))i=n.map(ze).join(" -> ");else if(typeof n=="object"){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):ze(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(wI,` 7 `)}`}var $g=Nd(xd("Inject",e=>({token:e})),-1),yo=Nd(xd("Optional"),8);var Rd=Nd(xd("SkipSelf"),4);function er(e,n){let t=e.hasOwnProperty(sa);return t?e[sa]:null}function kd(e,n){e.forEach(t=>Array.isArray(t)?kd(t,n):n(t))}function zg(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function la(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function MI(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(i===1)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;){let o=i-2;e[i]=e[o],i--}e[n]=t,e[n+1]=r}}function Od(e,n,t){let r=Do(e,n);return r>=0?e[r|1]=t:(r=~r,MI(e,r,n,t)),r}function Du(e,n){let t=Do(e,n);if(t>=0)return e[t|1]}function Do(e,n){return TI(e,n,1)}function TI(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){let o=r+(i-r>>1),s=e[o<<t];if(n===s)return o<<t;s>n?i=o:r=o+1}return~(i<<t)}var tr={},$e=[],ao=new b(""),Wg=new b("",-1),Gg=new b(""),ua=class{get(n,t=Qn){if(t===Qn){let r=new Error(`NullInjectorError: No provider for ${ze(n)}!`);throw r.name="NullInjectorError",r}return t}};function qg(e,n){let t=e[vI]||null;if(!t&&n===!0)throw new Error(`Type ${ze(e)} does not have '\u0275mod' property.`);return t}function nr(e){return e[pI]||null}function xI(e){return e[gI]||null}function AI(e){return e[mI]||null}function So(e){return{\u0275providers:e}}function NI(...e){return{\u0275providers:Zg(!0,e),\u0275fromNgModule:!0}}function Zg(e,...n){let t=[],r=new Set,i,o=s=>{t.push(s)};return kd(n,s=>{let a=s;Lu(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&Yg(i,o),t}function Yg(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:i}=e[t];Fd(i,o=>{n(o,r)})}}function Lu(e,n,t,r){if(e=Pe(e),!e)return!1;let i=null,o=Up(e),s=!o&&nr(e);if(!o&&!s){let c=e.ngModule;if(o=Up(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Lu(l,n,t,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;try{kd(o.imports,u=>{Lu(u,n,t,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Yg(l,n)}if(!a){let l=er(i)||(()=>new i);n({provide:i,useFactory:l,deps:$e},i),n({provide:Gg,useValue:i,multi:!0},i),n({provide:ao,useValue:()=>y(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let l=e;Fd(c,u=>{n(u,l)})}}else return!1;return i!==e&&e.providers!==void 0}function Fd(e,n){for(let t of e)Vg(t)&&(t=t.\u0275providers),Array.isArray(t)?Fd(t,n):n(t)}var RI=J({provide:String,useValue:J});function Kg(e){return e!==null&&typeof e=="object"&&RI in e}function kI(e){return!!(e&&e.useExisting)}function OI(e){return!!(e&&e.useFactory)}function $r(e){return typeof e=="function"}function FI(e){return!!e.useClass}var Va=new b(""),na={},zp={},Su;function Pd(){return Su===void 0&&(Su=new ua),Su}var Re=class{},co=class extends Re{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,Vu(n,s=>this.processProvider(s)),this.records.set(Wg,Lr(void 0,this)),i.has("environment")&&this.records.set(Re,Lr(void 0,this));let o=this.records.get(Va);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Gg,$e,V.Self))}retrieve(n,t){let r=t;return this.get(n,r.optional?Is:Qn,r)}destroy(){io(this),this._destroyed=!0;let n=U(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),U(n)}}onDestroy(n){return io(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){io(this);let t=qt(this),r=He(void 0),i;try{return n()}finally{qt(t),He(r)}}get(n,t=Qn,r=V.Default){if(io(this),n.hasOwnProperty(Hp))return n[Hp](this);r=ja(r);let i,o=qt(this),s=He(void 0);try{if(!(r&V.SkipSelf)){let c=this.records.get(n);if(c===void 0){let l=UI(n)&&La(n);l&&this.injectableDefInScope(l)?c=Lr(ju(n),na):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let a=r&V.Self?Pd():this.parent;return t=r&V.Optional&&t===Qn?null:t,a.get(n,t)}catch(a){if(a.name==="NullInjectorError"){if((a[ca]=a[ca]||[]).unshift(ze(n)),o)throw a;return bI(a,n,"R3InjectorError",this.source)}else throw a}finally{He(s),qt(o)}}
vendor: 10,999 bytes, line 7
7resolveInjectorInitializers(){let n=U(null),t=qt(this),r=He(void 0),i;try{let o=this.get(ao,$e,V.Self);for(let s of o)s()}finally{qt(t),He(r),U(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(ze(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Pe(n);let t=$r(n)?n:Pe(n&&n.provide),r=LI(n);if(!$r(n)&&n.multi===!0){let i=this.records.get(t);i||(i=Lr(void 0,na,!0),i.factory=()=>Pu(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let i=U(null);try{return t.value===zp?Ug(ze(n)):t.value===na&&(t.value=zp,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&VI(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{U(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=Pe(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function ju(e){let n=La(e),t=n!==null?n.factory:er(e);if(t!==null)return t;if(e instanceof b)throw new _(204,!1);if(e instanceof Function)return PI(e);throw new _(204,!1)}function PI(e){if(e.length>0)throw new _(204,!1);let t=fI(e);return t!==null?()=>t.factory(e):()=>new e}function LI(e){if(Kg(e))return Lr(void 0,e.useValue);{let n=Qg(e);return Lr(n,na)}}function Qg(e,n,t){let r;if($r(e)){let i=Pe(e);return er(i)||ju(i)}else if(Kg(e))r=()=>Pe(e.useValue);else if(OI(e))r=()=>e.useFactory(...Pu(e.deps||[]));else if(kI(e))r=(i,o)=>y(Pe(e.useExisting),o!==void 0&&o&V.Optional?V.Optional:void 0);else{let i=Pe(e&&(e.useClass||e.provide));if(jI(e))r=()=>new i(...Pu(e.deps));else return er(i)||ju(i)}return r}function io(e){if(e.destroyed)throw new _(205,!1)}function Lr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function jI(e){return!!e.deps}function VI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function UI(e){return typeof e=="function"||typeof e=="object"&&e instanceof b}function Vu(e,n){for(let t of e)Array.isArray(t)?Vu(t,n):t&&Vg(t)?Vu(t.\u0275providers,n):n(t)}function We(e,n){let t;e instanceof co?(io(e),t=e):t=new aa(e);let r,i=qt(t),o=He(void 0);try{return n()}finally{qt(i),He(o)}}function Ld(){return Bg()!==void 0||Qi()!=null}function jd(e){if(!Ld())throw new _(-203,!1)}function BI(e){let n=Qe.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function HI(e){return typeof e=="function"}var Xt=0,H=1,F=2,je=3,yt=4,wt=5,lo=6,da=7,me=8,zr=9,Kt=10,de=11,uo=12,Wp=13,Jr=14,Dt=15,Wr=16,jr=17,Gr=18,Ua=19,Jg=20,pn=21,wu=22,fa=23,st=24,Br=25,_e=26,Xg=1;var rr=7,ha=8,pa=9,Le=10;function gn(e){return Array.isArray(e)&&typeof e[Xg]=="object"}function en(e){return Array.isArray(e)&&e[Xg]===!0}function Vd(e){return(e.flags&4)!==0}function Xr(e){return e.componentOffset>-1}function Ba(e){return(e.flags&1)===1}function Rt(e){return!!e.template}function ga(e){return(e[F]&512)!==0}function ei(e){return(e[F]&256)===256}var Uu=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function em(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Pt=(()=>{let e=()=>tm;return e.ngInherit=!0,e})();function tm(e){return e.type.prototype.ngOnChanges&&(e.setInput=zI),$I}function $I(){let e=rm(this),n=e?.current;if(n){let t=e.previous;if(t===tr)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function zI(e,n,t,r,i){let o=this.declaredInputs[r],s=rm(e)||WI(e,{previous:tr,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new Uu(l&&l.currentValue,t,c===tr),em(e,n,i,t)}var nm="__ngSimpleChanges__";function rm(e){return e[nm]||null}function WI(e,n){return e[nm]=n}var Gp=null;var ee=function(e,n=null,t){Gp?.(e,n,t)},GI="svg",qI="math";function kt(e){for(;Array.isArray(e);)e=e[Xt];return e}function im(e,n){return kt(n[e])}function Lt(e,n){return kt(n[e.index])}function Ud(e,n){return e.data[n]}function Bd(e,n){return e[n]}function Hd(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Ot(e,n){let t=n[e];return gn(t)?t:t[Xt]}function $d(e){return(e[F]&128)===128}function ZI(e){return en(e[je])}function mn(e,n){return n==null?null:e[n]}function om(e){e[jr]=0}function sm(e){e[F]&1024||(e[F]|=1024,$d(e)&&wo(e))}function YI(e,n){for(;e>0;)n=n[Jr],e--;return n}function Ha(e){return!!(e[F]&9216||e[st]?.dirty)}function Bu(e){e[Kt].changeDetectionScheduler?.notify(8),e[F]&64&&(e[F]|=1024),Ha(e)&&wo(e)}function wo(e){e[Kt].changeDetectionScheduler?.notify(0);let n=ir(e);for(;n!==null&&!(n[F]&8192||(n[F]|=8192,!$d(n)));)n=ir(n)}function am(e,n){if(ei(e))throw new _(911,!1);e[pn]===null&&(e[pn]=[]),e[pn].push(n)}function KI(e,n){if(e[pn]===null)return;let t=e[pn].indexOf(n);t!==-1&&e[pn].splice(t,1)}function ir(e){let n=e[je];return en(n)?n[je]:n}function cm(e){return e[da]??=[]}function lm(e){return e.cleanup??=[]}var $={lFrame:Dm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Hu=!1;function QI(){return $.lFrame.elementDepthCount}function JI(){$.lFrame.elementDepthCount++}function XI(){$.lFrame.elementDepthCount--}function zd(){return $.bindingsEnabled}function eE(){return $.skipHydrationRootTNode!==null}function tE(e){return $.skipHydrationRootTNode===e}function nE(){$.skipHydrationRootTNode=null}function W(){return $.lFrame.lView}function ye(){return $.lFrame.tView}function um(e){return $.lFrame.contextLView=e,e[me]}function dm(e){return $.lFrame.contextLView=null,e}function Ge(){let e=fm();for(;e!==null&&e.type===64;)e=e.parent;return e}function fm(){return $.lFrame.currentTNode}function rE(){let e=$.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function yn(e,n){let t=$.lFrame;t.currentTNode=e,t.isParent=n}function Wd(){return $.lFrame.isParent}function hm(){$.lFrame.isParent=!1}function pm(){return $.lFrame.contextLView}function gm(){return Hu}function qp(e){let n=Hu;return Hu=e,n}function Gd(){let e=$.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function iE(){return $.lFrame.bindingIndex}function oE(e){return $.lFrame.bindingIndex=e}function ti(){return $.lFrame.bindingIndex++}function qd(e){let n=$.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function sE(){return $.lFrame.inI18n}function aE(e,n){let t=$.lFrame;t.bindingIndex=t.bindingRootIndex=e,$u(n)}function cE(){return $.lFrame.currentDirectiveIndex}function $u(e){$.lFrame.currentDirectiveIndex=e}function lE(e){let n=$.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function mm(e){$.lFrame.currentQueryIndex=e}function uE(e){let n=e[H];return n.type===2?n.declTNode:n.type===1?e[wt]:null}function vm(e,n,t){if(t&V.SkipSelf){let i=n,o=e;for(;i=i.parent,i===null&&!(t&V.Host);)if(i=uE(o),i===null||(o=o[Jr],i.type&10))break;if(i===null)return!1;n=i,e=o}let r=$.lFrame=ym();return r.currentTNode=n,r.lView=e,!0}function Zd(e){let n=ym(),t=e[H];$.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function ym(){let e=$.lFrame,n=e===null?null:e.child;return n===null?Dm(e):n}function Dm(e){let 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 e!==null&&(e.child=n),n}function Sm(){let e=$.lFrame;return $.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wm=Sm;function Yd(){let e=Sm();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 dE(e){return($.lFrame.contextLView=YI(e,$.lFrame.contextLView))[me]}function jt(){return $.lFrame.selectedIndex}function or(e){$.lFrame.selectedIndex=e}function Kd(){let e=$.lFrame;return Ud(e.tView,e.selectedIndex)}function fE(){return $.lFrame.currentNamespace}var Cm=!0;function $a(){return Cm}function za(e){Cm=e}function hE(e,n,t){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){let s=tm(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}function Qd(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=o;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function ra(e,n,t){Im(e,n,3,t)}function ia(e,n,t,r){(e[F]&3)===t&&Im(e,n,t,r)}function Cu(e,n){let t=e[F];(t&3)===n&&(t&=16383,t+=1,e[F]=t)}function Im(e,n,t,r){let i=r!==void 0?e[jr]&65535:0,o=r??-1,s=n.length-1,a=0;for(let c=i;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[jr]+=65536),(a<o||o==-1)&&(pE(e,t,n,c),e[jr]=(e[jr]&4294901760)+c+2),c++}function Zp(e,n){ee(4,e,n);let t=U(null);try{n.call(e)}finally{U(t),ee(5,e,n)}}function pE(e,n,t,r){let i=t[r]<0,o=t[r+1],s=i?-t[r]:t[r],a=e[s];i?e[F]>>14<e[jr]>>16&&(e[F]&3)===n&&(e[F]+=16384,Zp(a,o)):Zp(a,o)}var Hr=-1,sr=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=r}};function gE(e){return(e.flags&8)!==0}function mE(e){return(e.flags&16)!==0}function vE(e,n,t){let r=0;for(;r<t.length;){let i=t[r];if(typeof i=="number"){if(i!==0)break;r++;let o=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,o)}else{let o=i,s=t[++r];yE(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),r++}}return r}function Em(e){return e===3||e===4||e===6}function yE(e){return e.charCodeAt(0)===64}function qr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let i=n[r];typeof i=="number"?t=i:t===0||(t===-1||t===2?Yp(e,t,i,null,n[++r]):Yp(e,t,i,null,null))}}return e}function Yp(e,n,t,r,i){let o=0,s=e.length;if(n===-1)s=-1;else for(;o<e.length;){let a=e[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<e.length;){let a=e[o];if(typeof a=="number")break;if(a===t){i!==null&&(e[o+1]=i);return}o++,i!==null&&o++}s!==-1&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),i!==null&&e.splice(o++,0,i)}function bm(e){return e!==Hr}function ma(e){return e&32767}function DE(e){return e>>16}function va(e,n){let t=DE(e),r=n;for(;t>0;)r=r[Jr],t--;return r}var zu=!0;function ya(e){let n=zu;return zu=e,n}var SE=256,_m=SE-1,Mm=5,wE=0,Nt={};function CE(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(so)&&(r=t[so]),r
7==null&&(r=t[so]=wE++);let i=r&_m,o=1<<i;n.data[e+(i>>Mm)]|=o}function Da(e,n){let t=Tm(e,n);if(t!==-1)return t;let r=n[H];r.firstCreatePass&&(e.injectorIndex=n.length,Iu(r.data,e),Iu(n,null),Iu(r.blueprint,null));let i=Jd(e,n),o=e.injectorIndex;if(bm(i)){let s=ma(i),a=va(i,n),c=a[H].data;for(let l=0;l<8;l++)n[o+l]=a[s+l]|c[s+l]}return n[o+8]=i,o}function Iu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Tm(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Jd(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;i!==null;){if(r=km(i),r===null)return Hr;if(t++,i=i[Jr],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Hr}function Wu(e,n,t){CE(e,n,t)}function IE(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,i=0;for(;i<r;){let o=t[i];if(Em(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<r&&typeof t[i]=="string";)i++;else{if(o===n)return t[i+1];i=i+2}}}return null}function xm(e,n,t){if(t&V.Optional||e!==void 0)return e;Ad(n,"NodeInjector")}function Am(e,n,t,r){if(t&V.Optional&&r===void 0&&(r=null),(t&(V.Self|V.Host))===0){let i=e[zr],o=He(void 0);try{return i?i.get(n,r,t&V.Optional):Hg(n,r,t&V.Optional)}finally{He(o)}}return xm(r,n,t)}function Nm(e,n,t,r=V.Default,i){if(e!==null){if(n[F]&2048&&!(r&V.Self)){let s=TE(e,n,t,r,Nt);if(s!==Nt)return s}let o=Rm(e,n,t,r,Nt);if(o!==Nt)return o}return Am(n,t,r,i)}function Rm(e,n,t,r,i){let o=_E(t);if(typeof o=="function"){if(!vm(n,e,r))return r&V.Host?xm(i,t,r):Am(n,t,r,i);try{let s;if(s=o(r),s==null&&!(r&V.Optional))Ad(t);else return s}finally{wm()}}else if(typeof o=="number"){let s=null,a=Tm(e,n),c=Hr,l=r&V.Host?n[Dt][wt]:null;for((a===-1||r&V.SkipSelf)&&(c=a===-1?Jd(e,n):n[a+8],c===Hr||!Qp(r,!1)?a=-1:(s=n[H],a=ma(c),n=va(c,n)));a!==-1;){let u=n[H];if(Kp(o,a,u.data)){let d=EE(a,n,t,s,r,l);if(d!==Nt)return d}c=n[a+8],c!==Hr&&Qp(r,n[H].data[a+8]===l)&&Kp(o,a,n)?(s=u,a=ma(c),n=va(c,n)):a=-1}}return i}function EE(e,n,t,r,i,o){let s=n[H],a=s.data[e+8],c=r==null?Xr(a)&&zu:r!=s&&(a.type&3)!==0,l=i&V.Host&&o===a,u=bE(a,s,t,c,l);return u!==null?Sa(n,s,u,a,i):Nt}function bE(e,n,t,r,i){let o=e.providerIndexes,s=n.data,a=o&1048575,c=e.directiveStart,l=e.directiveEnd,u=o>>20,d=r?a:a+u,p=i?a+u:l;for(let f=d;f<p;f++){let g=s[f];if(f<c&&t===g||f>=c&&g.type===t)return f}if(i){let f=s[c];if(f&&Rt(f)&&f.type===t)return c}return null}function Sa(e,n,t,r,i){let o=e[t],s=n.data;if(o instanceof sr){let a=o;a.resolving&&Ug(yI(s[t]));let c=ya(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?He(a.injectImpl):null,d=vm(e,r,V.Default);try{o=e[t]=a.factory(void 0,i,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&hE(t,s[t],n)}finally{u!==null&&He(u),ya(c),a.resolving=!1,wm()}}return o}function _E(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(so)?e[so]:void 0;return typeof n=="number"?n>=0?n&_m:ME:n}function Kp(e,n,t){let r=1<<e;return!!(t[n+(e>>Mm)]&r)}function Qp(e,n){return!(e&V.Self)&&!(e&V.Host&&n)}var Jn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Nm(this._tNode,this._lView,n,ja(r),t)}};function ME(){return new Jn(Ge(),W())}function ni(e){return vo(()=>{let n=e.prototype.constructor,t=n[sa]||Gu(n),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[sa]||Gu(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Gu(e){return Fg(e)?()=>{let n=Gu(Pe(e));return n&&n()}:er(e)}function TE(e,n,t,r,i){let o=e,s=n;for(;o!==null&&s!==null&&s[F]&2048&&!ga(s);){let a=Rm(o,s,t,r|V.Self,Nt);if(a!==Nt)return a;let c=o.parent;if(!c){let l=s[Jg];if(l){let u=l.get(t,Nt,r);if(u!==Nt)return u}c=km(s),s=s[Jr]}o=c}return i}function km(e){let n=e[H],t=n.type;return t===2?n.declTNode:t===1?e[wt]:null}function Xd(e){return IE(Ge(),e)}function Jp(e,n=null,t=null,r){let i=Om(e,n,t,r);return i.resolveInjectorInitializers(),i}function Om(e,n=null,t=null,r,i=new Set){let o=[t||$e,NI(e)];return r=r||(typeof e=="object"?void 0:ze(e)),new co(o,n||Pd(),r||null,i)}var xe=class e{static THROW_IF_NOT_FOUND=Qn;static NULL=new ua;static create(n,t){if(Array.isArray(n))return Jp({name:""},t,n,"");{let r=n.name??"";return Jp({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>y(Wg)});static __NG_ELEMENT_ID__=-1};var xE=new b("");xE.__NG_ELEMENT_ID__=e=>{let n=Ge();if(n===null)throw new _(204,!1);if(n.type&2)return n.value;if(e&V.Optional)return null;throw new _(204,!1)};var Fm=!1,le=(()=>{class e{static __NG_ELEMENT_ID__=AE;static __NG_ENV_ID__=t=>t}return e})(),qu=class extends le{_lView;constructor(n){super(),this._lView=n}onDestroy(n){let t=this._lView;return ei(t)?(n(),()=>{}):(am(t,n),()=>KI(t,n))}};function AE(){return new qu(W())}var Zr=class{}
vendor: 4,752 bytes, line 7
7,Pm=new b("",{providedIn:"root",factory:()=>!1});var Lm=new b(""),jm=new b(""),Dn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new ge(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})();var Zu=class extends Z{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Ld()&&(this.destroyRef=h(le,{optional:!0})??void 0,this.pendingTasks=h(Dn,{optional:!0})??void 0)}emit(n){let t=U(null);try{super.next(n)}finally{U(t)}}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return n instanceof ae&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},ue=Zu;function wa(...e){}function Vm(e){let n,t;function r(){e=wa;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Xp(e){return queueMicrotask(()=>e()),()=>{e=wa}}var ef="isAngularZone",Ca=ef+"_ID",NE=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ue(!1);onMicrotaskEmpty=new ue(!1);onStable=new ue(!1);onError=new ue(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Fm}=n;if(typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,OE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ef)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,RE,wa,wa);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},RE={};function tf(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function kE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Vm(()=>{e.callbackScheduled=!1,Yu(e),e.isCheckStableRunning=!0,tf(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Yu(e)}function OE(e){let n=()=>{kE(e)},t=NE++;e._inner=e._inner.fork({name:"angular",properties:{[ef]:!0,[Ca]:t,[Ca+t]:!0},onInvokeTask:(r,i,o,s,a,c)=>{if(FE(c))return r.invokeTask(o,s,a,c);try{return eg(e),r.invokeTask(o,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),tg(e)}},onInvoke:(r,i,o,s,a,c,l)=>{try{return eg(e),r.invoke(o,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!PE(c)&&n(),tg(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Yu(e),tf(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Yu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function eg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function tg(e){e._nesting--,tf(e)}var Ia=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ue;onMicrotaskEmpty=new ue;onStable=new ue;
7onError=new ue;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}};function FE(e){return Um(e,"__ignore_ng_zone__")}function PE(e){return Um(e,"__scheduler_tick__")}function Um(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}function LE(e="zone.js",n){return e==="noop"?new Ia:e==="zone.js"?new Q(n):e}var at=class{_console=console;handleError(n){this._console.error("ERROR",n)}},jE=new b("",{providedIn:"root",factory:()=>{let e=h(Q),n=h(at);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function ng(e,n){return Og(e,n)}function VE(e){return Og(kg,e)}var lr=(ng.required=VE,ng);function UE(){return Wa(Ge(),W())}function Wa(e,n){return new ke(Lt(e,n))}var ke=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=UE}return e})();function ur(e,n){let t=Gl(e,n?.equal),r=t[dt];return t.set=i=>Ki(r,i),t.update=i=>ql(r,i),t.asReadonly=BE.bind(t),t}function BE(){let e=this[dt];if(e.readonlyFn===void 0){let n=()=>this();n[dt]=e,e.readonlyFn=n}return e.readonlyFn}function Bm(e){return(e.flags&128)===128}var Hm=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Hm||{}),$m=new Map,HE=0;function $E(){return HE++}function zE(e){$m.set(e[Ua],e)}function Ku(e){$m.delete(e[Ua])}var rg="__ngContext__";function ri(e,n){gn(n)?(e[rg]=n[Ua],zE(n)):e[rg]=n}function zm(e){return Gm(e[uo])}function Wm(e){return Gm(e[yt])}function Gm(e){for(;e!==null&&!en(e);)e=e[yt];return e}var Qu;function qm(e){Qu=e}function Zm(){if(Qu!==void 0)return Qu;if(typeof document<"u")return document;throw new _(210,!1)}var nf=new b("",{providedIn:"root",factory:()=>WE}),WE="ng",rf=new b(""),Sn=new b("",{providedIn:"platform",factory:()=>"unknown"});var of=new b("",{providedIn:"root",factory:()=>Zm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var GE="h",qE="b";var Ym=!1,ZE=new b("",{providedIn:"root",factory:()=>Ym});var sf=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(sf||{}),ii=new b(""),ig=new Set;function wn(e){ig.has(e)||(ig.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Km=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=YE}return e})();function YE(){return new Km(W(),Ge())}var Vr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Vr||{}),Qm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),KE=[Vr.EarlyRead,Vr.Write,Vr.MixedReadWrite,Vr.Read],QE=(()=>{class e{ngZone=h(Q);scheduler=h(Zr);errorHandler=h(at,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){h(ii,{optional:!0})}execute(){let t=this.sequences.size>0;t&&ee(16),this.executing=!0;for(let r of KE)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&ee(17)}register(t){let{view:r}=t;r!==void 0?((r[Br]??=[]).push(t),wo(r),r[F]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(sf.AFTER_NEXT_RENDER,t):t()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ju=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,i,o,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=i,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Br];n&&(this.view[Br]=n.filter(t=>t!==this))}};function af(e,n){!n?.injector&&jd(af);let t=n?.injector??h(xe);return wn("NgAfterNextRender"),XE(e,t,n,!0)}function JE(e,n){if(e instanceof Function){let t=[void 0,void 0,void 0,void 0];return t[n]=e,t}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function XE(e,n,t,r){let i=n.get(Qm);i.impl??=n.get(QE);let o=n.get(ii,null,{optional:!0}),s=t?.phase??Vr.MixedReadWrite,a=t?.manualCleanup!==!0?n.get(le):null,c=n.get(Km,null,{optional:!0}),l=new Ju(i.impl,JE(e,s),c?.view,r,a,o?.snapshot(null));return i.impl.register(l),l}var e0=(e,n,t,r)=>{};
vendor: 9,753 bytes, line 7
7function t0(e,n,t,r){e0(e,n,t,r)}var n0=()=>null;function Jm(e,n,t=!1){return n0(e,n,t)}function Xm(e,n){let t=e.contentQueries;if(t!==null){let r=U(null);try{for(let i=0;i<t.length;i+=2){let o=t[i],s=t[i+1];if(s!==-1){let a=e.data[s];mm(o),a.contentQueries(2,n[s],s)}}}finally{U(r)}}}function Xu(e,n,t){mm(0);let r=U(null);try{n(e,t)}finally{U(r)}}function cf(e,n,t){if(Vd(n)){let r=U(null);try{let i=n.directiveStart,o=n.directiveEnd;for(let s=i;s<o;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{U(r)}}}var Ft=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ft||{});var Qs;function r0(){if(Qs===void 0&&(Qs=null,Qe.trustedTypes))try{Qs=Qe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qs}function Ga(e){return r0()?.createHTML(e)||e}var Js;function ev(){if(Js===void 0&&(Js=null,Qe.trustedTypes))try{Js=Qe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Js}function og(e){return ev()?.createHTML(e)||e}function sg(e){return ev()?.createScriptURL(e)||e}var Ea=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ng})`}};function oi(e){return e instanceof Ea?e.changingThisBreaksApplicationSecurity:e}function lf(e,n){let t=i0(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Ng})`)}return t===n}function i0(e){return e instanceof Ea&&e.getTypeName()||null}function o0(e){let n=new td(e);return s0()?new ed(n):n}var ed=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Ga(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},td=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Ga(n),t}};function s0(){try{return!!new window.DOMParser().parseFromString(Ga(""),"text/html")}catch{return!1}}var a0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function tv(e){return e=String(e),e.match(a0)?e:"unsafe:"+e}function tn(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Co(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var nv=tn("area,br,col,hr,img,wbr"),rv=tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),iv=tn("rp,rt"),c0=Co(iv,rv),l0=Co(rv,tn("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")),u0=Co(iv,tn("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")),ag=Co(nv,l0,u0,c0),ov=tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),d0=tn("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"),f0=tn("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-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),h0=Co(ov,d0,f0),p0=tn("script,style,template"),nd=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,i=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){i.push(t),t=v0(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=m0(t);if(o){t=o;break}t=i.pop()}}return this.buf.join("")}startElement(n){let t=cg(n).toLowerCase();if(!ag.hasOwnProperty(t))return this.sanitizedSomething=!0,!p0.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let i=0;i<r.length;i++){let o=r.item(i),s=o.name,a=s.toLowerCase();if(!h0.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;ov[a]&&(c=tv(c)),this.buf.push(" ",s,'="',lg(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=cg(n).toLowerCase();ag.hasOwnProperty(t)&&!nv.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(lg(n))}};function g0(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function m0(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw sv(n);return n}function v0(e){let n=e.firstChild;if(n&&g0(e,n))throw sv(n);return n}function cg(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function sv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var y0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,D0=/([^\#-~ |!])/g;function lg(e){return e.replace(/&/g,"&").replace(y0,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(D0,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Xs;function S0(e,n){let t=null;try{Xs=Xs||o0(e);let r=n?String(n):"";t=Xs.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=Xs.getInertBodyElement(r)}while(r!==o);let a=new nd().sanitizeChildren(ug(t)||t);return Ga(a)}finally{if(t){let r=ug(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function ug(e){return"content"in e&&w0(e)?e.content:null}function w0(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var C0=/^>|^->|<!--|-->|--!>|<!-$/g,I0=/(<|>)/g,E0="\u200B$1\u200B";function b0(e){return e.replace(C0,n=>n.replace(I0,E0))}function _0(e,n){return e.createText(n)}function M0(e,n,t){e.setValue(n,t)}function T0(e,n){return e.createComment(b0(n))}function av(e,n,t){return e.createElement(n,t)}function ba(e,n,t,r,i){e.insertBefore(n,t,r,i)}function cv(e,n,t){e.appendChild(n,t)}function dg(e,n,t,r,i){r!==null?ba(e,n,t,r,i):cv(e,n,t)}function x0(e,n,t){e.removeChild(null,n,t)}function A0(e,n,t){e.setAttribute(n,"style",t)}function N0(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function lv(e,n,t){let{mergedAttrs:r,classes:i,styles:o}=t;r!==null&&vE(e,n,r),i!==null&&N0(e,n,i),o!==null&&A0(e,n,o)}var qa=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(qa||{});function uv(e){let n=uf();return n?og(n.sanitize(qa.HTML,e)||""):lf(e,"HTML")?og(oi(e)):S0(Zm(),Xn(e))}function R0(e){let n=uf();return n?n.sanitize(qa.URL,e)||"":lf(e,"URL")?oi(e):tv(Xn(e))}function k0(e){let n=uf();if(n)return sg(n.sanitize(qa.RESOURCE_URL,e)||"");if(lf(e,"ResourceURL"))return sg(oi(e));throw new _(904,!1)}var O0=new Set(["embed","frame","iframe","media","script"]),F0=new Set(["base","link","script"]);function P0(e,n){return n==="src"&&O0.has(e)||n==="href"&&F0.has(e)||n==="xlink:href"&&e==="script"?k0:R0}function dv(e,n,t){return P0(n,t)(e)}function uf(){let e=W();return e&&e[Kt].sanitizer}function fv(e){return e instanceof Function?e():e}function L0(e,n,t){let r=e.length;for(;;){let i=e.indexOf(n,t);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}var hv="ng-template";function j0(e,n,t,r){let i=0;if(r){for(;i<n.length&&typeof n[i]=="string";i+=2)if(n[i]==="class"&&L0(n[i+1].toLowerCase(),t,0)!==-1)return!0}else if(df(e))return!1;if(i=n.indexOf(1,i),i>-1){let o;for(;++i<n.length&&typeof(o=n[i])=="string";)if(o.toLowerCase()===t)return!0}return!1}function df(e){return e.type===4&&e.value!==hv}function V0(e,n,t){let r=e.type===4&&!t?hv:e.value;return n===r}function U0(e,n,t){let r=4,i=e.attrs,o=i!==null?$0(i):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!mt(r)&&!mt(c))return!1;if(s&&mt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!V0(e,c,t)||c===""&&n.length===1){if(mt(r))return!1;s=!0}}else if(r&8){if(i===null||!j0(e,i,c,t)){if(mt(r))return!1;s=!0}}else{let l=n[++a],u=B0(c,i,df(e),t);if(u===-1){if(mt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>o?d="":d=i[u+1].toLowerCase(),r&2&&l!==d){if(mt(r))return!1;s=!0}}}}return mt(r)||s}function mt(e){return(e&1)===0}function B0(e,n,t,r){if(n===null)return-1;let i=0;if(r||!t){let o=!1;for(;i<n.length;){let s=n[i];if(s===e)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++i];for(;
vendor: 17,585 bytes, line 7
7typeof a=="string";)a=n[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return z0(n,e)}function H0(e,n,t=!1){for(let r=0;r<n.length;r++)if(U0(e,n[r],t))return!0;return!1}function $0(e){for(let n=0;n<e.length;n++){let t=e[n];if(Em(t))return n}return e.length}function z0(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function fg(e,n){return e?":not("+n.trim()+")":n}function W0(e){let n=e[0],t=1,r=2,i="",o=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!mt(s)&&(n+=fg(o,i),i=""),r=s,o=o||!mt(r);t++}return i!==""&&(n+=fg(o,i)),n}function G0(e){return e.map(W0).join(",")}function q0(e){let n=[],t=[],r=1,i=2;for(;r<e.length;){let o=e[r];if(typeof o=="string")i===2?o!==""&&n.push(o,e[++r]):i===8&&t.push(o);else{if(!mt(i))break;i=o}r++}return t.length&&n.push(1,...t),n}var Je={};function ff(e,n,t,r,i,o,s,a,c,l,u){let d=_e+r,p=d+i,f=Z0(d,p),g=typeof l=="function"?l():l;return f[H]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:u}}function Z0(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Je);return t}function Y0(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=ff(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function hf(e,n,t,r,i,o,s,a,c,l,u){let d=n.blueprint.slice();return d[Xt]=i,d[F]=r|4|128|8|64|1024,(l!==null||e&&e[F]&2048)&&(d[F]|=2048),om(d),d[je]=d[Jr]=e,d[me]=t,d[Kt]=s||e&&e[Kt],d[de]=a||e&&e[de],d[zr]=c||e&&e[zr]||null,d[wt]=o,d[Ua]=$E(),d[lo]=u,d[Jg]=l,d[Dt]=n.type==2?e[Dt]:d,d}function K0(e,n,t){let r=Lt(n,e),i=Y0(t),o=e[Kt].rendererFactory,s=pf(e,hf(e,i,null,pv(t),r,n,null,o.createRenderer(r,t),null,null,null));return e[n.index]=s}function pv(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function gv(e,n,t,r){if(t===0)return-1;let i=n.length;for(let o=0;o<t;o++)n.push(r),e.blueprint.push(r),e.data.push(null);return i}function pf(e,n){return e[uo]?e[Wp][yt]=n:e[uo]=n,e[Wp]=n,n}function S(e=1){mv(ye(),W(),jt()+e,!1)}function mv(e,n,t,r){if(!r)if((n[F]&3)===3){let o=e.preOrderCheckHooks;o!==null&&ra(n,o,t)}else{let o=e.preOrderHooks;o!==null&&ia(n,o,0,t)}or(t)}var Za=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Za||{});function rd(e,n,t,r){let i=U(null);try{let[o,s,a]=e.inputs[t],c=null;(s&Za.SignalBased)!==0&&(c=n[o][dt]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,o):em(n,c,o,r)}finally{U(i)}}function vv(e,n,t,r,i){let o=jt(),s=r&2;try{or(-1),s&&n.length>_e&&mv(e,n,_e,!1),ee(s?2:0,i),t(r,i)}finally{or(o),ee(s?3:1,i)}}function Ya(e,n,t){nb(e,n,t),(t.flags&64)===64&&rb(e,n,t)}function gf(e,n,t=Lt){let r=n.localNames;if(r!==null){let i=n.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?t(n,e):e[s];e[i++]=a}}}function Q0(e,n,t,r){let o=r.get(ZE,Ym)||t===Ft.ShadowDom,s=e.selectRootElement(n,o);return J0(s),s}function J0(e){X0(e)}var X0=()=>null;function eb(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function yv(e,n,t,r,i,o,s,a){if(!a&&vf(n,e,t,r,i)){Xr(n)&&tb(t,n.index);return}if(n.type&3){let c=Lt(n,t);r=eb(r),i=s!=null?s(i,n.value||"",r):i,o.setProperty(c,r,i)}else n.type&12}function tb(e,n){let t=Ot(n,e);t[F]&16||(t[F]|=64)}function nb(e,n,t){let r=t.directiveStart,i=t.directiveEnd;Xr(t)&&K0(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Da(t,n);let o=t.initialInputs;for(let s=r;s<i;s++){let a=e.data[s],c=Sa(n,e,s,t);if(ri(c,n),o!==null&&ab(n,s-r,c,a,t,o),Rt(a)){let l=Ot(t.index,n);l[me]=Sa(n,e,s,t)}}}function rb(e,n,t){let r=t.directiveStart,i=t.directiveEnd,o=t.index,s=cE();try{or(o);for(let a=r;a<i;a++){let c=e.data[a],l=n[a];$u(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&ib(c,l)}}finally{or(-1),$u(s)}}function ib(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function mf(e,n){let t=e.directiveRegistry,r=null;if(t)for(let i=0;i<t.length;i++){let o=t[i];H0(n,o.selectors,!1)&&(r??=[],Rt(o)?r.unshift(o):r.push(o))}return r}function ob(e,n,t,r,i,o){let s=Lt(e,n);sb(n[de],s,o,e.value,t,r,i)}function sb(e,n,t,r,i,o,s){if(o==null)e.removeAttribute(n,i,t);else{let a=s==null?Xn(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}function ab(e,n,t,r,i,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];rd(r,t,c,l)}}function cb(e,n){let t=e[zr],r=t?t.get(at,null):null;r&&r.handleError(n)}function vf(e,n,t,r,i){let o=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];rd(d,t[l],u,i),a=!0}if(o)for(let c of o){let l=t[c],u=n.data[c];rd(u,l,r,i),a=!0}return a}function lb(e,n){let t=Ot(n,e),r=t[H];ub(r,t);let i=t[Xt];i!==null&&t[lo]===null&&(t[lo]=Jm(i,t[zr])),ee(18),yf(r,t,t[me]),ee(19,t[me])}function ub(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function yf(e,n,t){Zd(n);try{let r=e.viewQuery;r!==null&&Xu(1,r,t);let i=e.template;i!==null&&vv(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Gr]?.finishViewCreation(e),e.staticContentQueries&&Xm(e,n),e.staticViewQueries&&Xu(2,e.viewQuery,t);let o=e.components;o!==null&&db(n,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[F]&=-5,Yd()}}function db(e,n){for(let t=0;t<n.length;t++)lb(e,n[t])}function Ka(e,n,t,r){let i=U(null);try{let o=n.tView,a=e[F]&4096?4096:16,c=hf(e,o,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[Wr]=l;let u=e[Gr];return u!==null&&(c[Gr]=u.createEmbeddedView(o)),yf(o,c,t),c}finally{U(i)}}function fo(e,n){return!n||n.firstChild===null||Bm(e)}var fb;function Df(e,n){return fb(e,n)}var Qt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qt||{});function Dv(e){return(e.flags&32)===32}function Ur(e,n,t,r,i){if(r!=null){let o,s=!1;en(r)?o=r:gn(r)&&(s=!0,r=r[Xt]);let a=kt(r);e===0&&t!==null?i==null?cv(n,t,a):ba(n,t,a,i||null,!0):e===1&&t!==null?ba(n,t,a,i||null,!0):e===2?x0(n,a,s):e===3&&n.destroyNode(a),o!=null&&Eb(n,e,o,t,i)}}function hb(e,n){Sv(e,n),n[Xt]=null,n[wt]=null}function pb(e,n,t,r,i,o){r[Xt]=i,r[wt]=n,Xa(e,r,t,1,i,o)}function Sv(e,n){n[Kt].changeDetectionScheduler?.notify(9),Xa(e,n,n[de],2,null,null)}function gb(e){let n=e[uo];if(!n)return Eu(e[H],e);for(;n;){let t=null;if(gn(n))t=n[uo];else{let r=n[Le];r&&(t=r)}if(!t){for(;n&&!n[yt]&&n!==e;)gn(n)&&Eu(n[H],n),n=n[je];n===null&&(n=e),gn(n)&&Eu(n[H],n),t=n&&n[yt]}n=t}}function Sf(e,n){let t=e[pa],r=t.indexOf(n);t.splice(r,1)}function Qa(e,n){if(ei(n))return;let t=n[de];t.destroyNode&&Xa(e,n,t,3,null,null),gb(n)}function Eu(e,n){if(ei(n))return;let t=U(null);try{n[F]&=-129,n[F]|=256,n[st]&&$l(n[st]),vb(e,n),mb(e,n),n[H].type===1&&n[de].destroy();let r=n[Wr];if(r!==null&&en(n[je])){r!==n[je]&&Sf(r,n);let i=n[Gr];i!==null&&i.detachView(e)}Ku(n)}finally{U(t)}}function mb(e,n){let t=e.cleanup,r=n[da];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[da]=null);let i=n[pn];if(i!==null){n[pn]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=n[fa];if(o!==null){n[fa]=null;for(let s of o)s.destroy()}}function vb(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let i=n[t[r]];if(!(i instanceof sr)){let o=t[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],c=o[s+1];ee(4,a,c);try{c.call(a)}finally{ee(5,a,c)}}else{ee(4,i,o);try{o.call(i)}finally{ee(5,i,o)}}}}}function yb(e,n,t){return Db(e,n.parent,t)}function Db(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Xt];if(Xr(r)){let{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===Ft.None||i===Ft.Emulated)return null}return Lt(r,t)}function Sb(e,n,t){return Cb(e,n,t)}function wb(e,n,t){return e.type&40?Lt(e,t):null}var Cb=wb,hg;function Ja(e,n,t,r){let i=yb(e,r,n),o=n[de],s=r.parent||n[wt],a=Sb(s,r,n);if(i!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)dg(o,i,t[c],a,!1);else dg(o,i,t,a,!1);hg!==void 0&&hg(o,r,n,t,i)}function oo(e,n){if(n!==null){let t=n.type;if(t&3)return Lt(n,e);if(t&4)return id(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return oo(e,r);{let i=e[n.index];return en(i)?id(-1,i):kt(i)}}else{if(t&128)return oo(e,n.next);if(t&32)return Df(n,e)()||kt(e[n.index]);{let r=wv(e,n);if(r!==null){if(Array.isArray(r))return r[0];let i=ir(e[Dt]);return oo(i,r)}else return oo(e,n.next)}}}return null}function wv(e,n){if(n!==null){let r=e[Dt][wt],i=n.projection;return r.projection[i]}return null}function id(e,n){let t=Le+e+1;if(t<n.length){let r=n[t],i=r[H].firstChild;if(i!==null)return oo(r,i)}return n[rr]}function wf(e,n,t,r,i,o,s){for(;t!=null;){if(t.type===128){t=t.next;continue}let a=r[t.index],c=t.type;if(s&&n===0&&(a&&ri(kt(a),r),t.flags|=2),!Dv(t))if(c&8)wf(e,n,t.child,r,i,o,!1),Ur(n,e,i,a,o);else if(c&32){let l=Df(t,r),u;for(;u=l();)Ur(n,e,i,u,o);Ur(n,e,i,a,o)}else c&16?Ib(e,n,r,t,i,o):Ur(n,e,i,a,o);t=s?t.projectionNext:t.next}}function Xa(e,n,t,r,i,o){wf(t,r,e.firstChild,n,i,o,!1)}function Ib(e,n,t,r,i,o){let s=t[Dt],c=s[wt].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Ur(n,e,i,u,o)}else{let l=c,u=s[je];Bm(r)&&(l.flags|=128),wf(e,n,l,u,i,o,!0)}}function Eb(e,n,t,r,i){let o=t[rr],s=kt(t);o!==s&&Ur(n,e,r,o,i);for(let a=Le;a<t.length;a++){let c=t[a];Xa(c[H],c,e,n,r,o)}}function bb(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=r.indexOf("-")===-1?void 0:Qt.DashCase;i==null?e.removeStyle(t,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Qt.Important),e.setStyle(t,r,i,o))}}function _a(e,n,t,r,i=!1){for(;t!==null;){if(t.type===128){t=i?t.projectionNext:t.next;continue}let o=n[t.index];o!==null&&r.push(kt(o)),en(o)&&_b(o,r);let s=t.type;if(s&8)_a(e,n,t.child,r);else if(s&32){let a=Df(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=wv(n,t);if(Array.isArray(a))r.push(...a);else{let c=ir(n[Dt]);_a(c[H],c,a,r,!0)}}t=i?t.projectionNext:t.next}return r}function _b(e,n){for(let t=Le;t<e.length;t++){let r=e[t],i=r[H].firstChild;i!==null&&_a(r[H],r,i,n)}e[rr]!==e[Xt]&&n.push(e[rr])}function Cv(e){if(e[Br]!==null){for(let n of e[Br])n.impl.addSequence(n);e[Br].length=0}}var Iv=[];function Mb(e){return e[st]??Tb(e)}function Tb(e){let n=Iv.pop()??Object.create(Ab);return n.lView=e,n}function xb(e){e.lView[st]!==e&&(e.lView=null,Iv.push(e))}var Ab=P(w({},Zi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{wo(e.lView)},consumerOnSignalRead(){this.lView[st]=this}});function Nb(e){let n=e[st]??Object.create(Rb);return n.lView=e,n}var Rb=P(w({},Zi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=ir(e.lView);for(;n&&!Ev(n[H]);)n=ir(n);n&&sm(n)},consumerOnSignalRead(){this.lView[st]=this}});function Ev(e){return e.type!==2}function bv(e){if(e[fa]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[fa])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[F]&8192)}}var kb=100;function _v(e,n=!0,t=0){let i=e[Kt].rendererFactory,o=!1;o||i.begin?.();try{Ob(e,t)}catch(s){throw n&&cb(e,s),s}finally{o||i.end?.()}}function Ob(e,n){let t=gm();try{qp(!0),od(e,n);let r=0;for(;Ha(e);){if(r===kb)throw new _(103,!1);r++,od(e,1)}}finally{qp(t)}}function Fb(e,n,t,r){if(ei(n))return;let i=n[F],o=!1,s=!1;Zd(n);let a=!0,c=null,l=null;o||(Ev(e)?(l=Mb(n),c=Ds(l)):Ll()===null?(a=!1,l=Nb(n),c=Ds(l)):n[st]&&($l(n[st]),n[st]=null));try{om(n),oE(e.bindingStartIndex),t!==null&&vv(e,n,t,2,r);let u=(i&3)===3;if(!o)if(u){let f=e.preOrderCheckHooks;f!==null&&ra(n,f,null)}else{let f=e.preOrderHooks;f!==null&&ia(n,f,0,null),Cu(n,0)}if(s||Pb(n),bv(n),Mv(n,0),e.contentQueries!==null&&Xm(e,n),!o)if(u){let f=e.contentCheckHooks;f!==null&&ra(n,f)}else{let f=e.contentHooks;f!==null&&ia(n,f,1),Cu(n,1)}jb(e,n);let d=e.components;d!==null&&xv(n,d,0);let p=e.viewQuery;if(p!==null&&Xu(2,p,r),!o)if(u){let f=e.viewCheckHooks;f!==null&&ra(n,f)}else{let f=e.viewHooks;f!==null&&ia(n,f,2),Cu(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[wu]){for(let f of n[wu])f();n[wu]=null}o||(Cv(n),n[F]&=-73)}catch(u){throw o||wo(n),u}finally{l!==null&&(Bl(l,c),a&&xb(l)),Yd()}}function Mv(e,n){for(let t=zm(e);t!==null;t=Wm(t))for(let r=Le;r<t.length;r++){let i=t[r];Tv(i,n)}}function Pb(e){for(let n=zm(e);n!==null;n=Wm(n)){if(!(n[F]&2))continue;let t=n[pa];for(let r=0;r<t.length;r++){let i=t[r];sm(i)}}}function Lb(e,n,t){ee(18);let r=Ot(n,e);Tv(r,t),ee(19,r[me])}function Tv(e,n){$d(e)&&od(e,n)}function od(e,n){let r=e[H],i=e[F],o=e[st],s=!!(n===0&&i&16);if(s||=!!(i&64&&n===0),s||=!!(i&1024),s||=!!(o?.dirty&&Hl(o)),s||=!1,o&&(o.dirty=!1),e[F]&=-9217,s)Fb(r,e,r.template,e[me]);else if(i&8192){bv(e),Mv(e,1);let a=r.components;a!==null&&xv(e,a,1),Cv(e)}}function xv(e,n,t){for(let r=0;r<n.length;r++)Lb(e,n[r],t)}function jb(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let i=t[r];if(i<0)or(~i);else{let o=i,s=t[++r],a=t[++r];aE(s,o);let c=n[o];ee(24,c),a(2,c),ee(25,c)}}}finally{or(-1)}}function Cf(e,n){let t=gm()?64:1088;for(e[Kt].changeDetectionScheduler?.notify(n);e;){e[F]|=t;let r=ir(e);if(ga(e)&&!r)return e;e=r}return null}function Av(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Nv(e,n){let t=Le+n;if(t<e.length)return e[t]}function ec(e,n,t,r=!0){let i=n[H];if(Vb(i,n,e,t),r){let s=id(t,e),a=n[de],c=a.parentNode(e[rr]);c!==null&&pb(i,e[wt],a,n,c,s)}let o=n[lo];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Rv(e,n){let t=ho(e,n);return t!==void 0&&Qa(t[H],t),t}function ho(e,n){if(e.length<=Le)return;let t=Le+n,r=e[t];if(r){let i=r[Wr];i!==null&&i!==e&&Sf(i,r),n>0&&(e[t-1][yt]=r[yt]);let o=la(e,Le+n);hb(r[H],r);let s=o[Gr];s!==null&&s.detachView(o[H]),r[je]=null,r[yt]=null,r[F]&=-129}return r}function Vb(e,n,t,r){let i=Le+r,o=t.length;r>0&&(t[i-1][yt]=n),r<o-Le?(n[yt]=t[i],zg(t,Le+r,n)):(t.push(n),n[yt]=null),n[je]=t;let s=n[Wr];s!==null&&t!==s&&kv(s,n);let a=n[Gr];a!==null&&a.insertView(e),Bu(n),n[F]|=128}function kv(e,n){let t=e[pa],r=n[je];if(gn(r))e[F]|=2;else{let i=r[je][Dt];n[Dt]!==i&&(e[F]|=2)}t===null?e[pa]=[n]:t.push(n)}var po=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let n=this._lView,t=n[H];return _a(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r}get context(){return this._lView[me]}set context(n){this._lView[me]=n}get destroyed(){return ei(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[je];if(en(n)){let t=n[ha],r=t?t.indexOf(this):-1;r>-1&&(ho(n,r),la(t,r))}this._attachedToViewContainer=!1}Qa(this._lView[H],this._lView)}onDestroy(n){am(this._lView,n)}markForCheck(){Cf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){Bu(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,_v(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=ga(this._lView),t=this._lView[Wr];t!==null&&!n&&Sf(t,this._lView),Sv(this._lView[H],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=n;let t=ga(this._lView),r=this._lView[Wr];r!==null&&!t&&kv(r,this._lView),Bu(this._lView)}};var si=(()=>{class e{static __NG_ELEMENT_ID__=Hb}return e})(),Ub=si,Bb=class extends Ub{_declarationLView;_declarationTContainer;elementRef;constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){let i=Ka(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new po(i)}};function Hb(){return Ov(Ge(),W())}function Ov(e,n){return e.type&4?new Bb(n,e,Wa(e,n)):null}function Io(e,n,t,r,i){let o=e.data[n];if(o===null)o=$b(e,n,t,r,i),sE()&&(o.flags|=32);else if(o.type&64){o.type=t,o.value=r,o.attrs=i;let s=rE();o.injectorIndex=s===null?-1:s.injectorIndex}return yn(o,!0),o}function $b(e,n,t,r,i){let o=fm(),s=Wd(),a=s?o:o&&o.parent,c=e.data[n]=Wb(e,a,t,n,r,i);return zb(e,c,o,s),c}function zb(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function Wb(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return eE()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOff
7set:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var lH=new RegExp(`^(\\d+)*(${qE}|${GE})*(.*)`);var Gb=()=>null;function go(e,n){return Gb(e,n)}var qb=class{},Fv=class{},sd=class{resolveComponentFactory(n){throw Error(`No component factory found for ${ze(n)}.`)}},tc=class{static NULL=new sd},ar=class{},dr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Zb()}return e})();function Zb(){let e=W(),n=Ge(),t=Ot(n.index,e);return(gn(t)?t:e)[de]}var Yb=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var bu={},ad=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=ja(r);let i=this.injector.get(n,bu,r);return i!==bu||t===bu?i:this.parentInjector.get(n,t,r)}};function cd(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)i=ku(i,a);else if(o==2){let c=a,l=n[++s];r=ku(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=i:e.classesWithoutHost=i}function A(e,n=V.Default){let t=W();if(t===null)return y(e,n);let r=Ge();return Nm(r,t,Pe(e),n)}function Pv(){let e="invalid";throw new Error(e)}function If(e,n,t,r,i){let o=r===null?null:{"":-1},s=i(e,t);if(s!==null){let a,c=null,l=null,u=Qb(s);u===null?a=s:[a,c,l]=u,e_(e,n,t,a,o,c,l)}o!==null&&r!==null&&Kb(t,r,o)}function Kb(e,n,t){let r=e.localNames=[];for(let i=0;i<n.length;i+=2){let o=t[n[i+1]];if(o==null)throw new _(-301,!1);r.push(n[i],o)}}function Qb(e){let n=null,t=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Rt(a)&&(n=a),a.findHostDirectiveDefs!==null){t=!0;break}}if(!t)return null;let r=null,i=null,o=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,Jb(s,r,o,i)),s===n&&(r??=[],r.push(s));return r!==null?(r.push(...n===null?e:e.slice(1)),[r,i,o]):null}function Jb(e,n,t,r){let i=n.length;e.findHostDirectiveDefs(e,n,r),t.set(e,[i,n.length-1])}function Xb(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function e_(e,n,t,r,i,o,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&Rt(f)&&(c=!0,Xb(e,t,p)),Wu(Da(t,n),e,f.type)}s_(t,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=gv(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(t.mergedAttrs=qr(t.mergedAttrs,f.hostAttrs),n_(e,t,n,d,f),o_(d,f,i),s!==null&&s.has(f)){let[E,T]=s.get(f);t.directiveToIndex.set(f.type,[d,E+t.directiveStart,T+t.directiveStart])}else(o===null||!o.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let g=f.type.prototype;
7!l&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}t_(e,t,o)}function t_(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let i=e.data[r];if(t===null||!t.has(i))pg(0,n,i,r),pg(1,n,i,r),mg(n,r,!1);else{let o=t.get(i);gg(0,n,o,r),gg(1,n,o,r),mg(n,r,!0)}}}function pg(e,n,t,r){let i=e===0?t.inputs:t.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[o]??=[],s[o].push(r),Lv(n,o)}}function gg(e,n,t,r){let i=e===0?t.inputs:t.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),Lv(n,s)}}function Lv(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function mg(e,n,t){let{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(r===null||!t&&i===null||t&&o===null||df(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&i.hasOwnProperty(c)){let l=i[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&o.hasOwnProperty(c)){let l=o[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function n_(e,n,t,r,i){e.data[r]=i;let o=i.factory||(i.factory=er(i.type,!0)),s=new sr(o,Rt(i),A);e.blueprint[r]=s,t[r]=s,r_(e,n,r,gv(e,t,i.hostVars,Je),i)}function r_(e,n,t,r,i){let o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;i_(s)!=a&&s.push(a),s.push(t,r,o)}}function i_(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function o_(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Rt(n)&&(t[""]=e)}}function s_(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function jv(e,n,t,r,i,o,s,a){let c=n.consts,l=mn(c,s),u=Io(n,e,2,r,l);return o&&If(n,t,u,mn(c,a),i),u.mergedAttrs=qr(u.mergedAttrs,u.attrs),u.attrs!==null&&cd(u,u.attrs,!1),u.mergedAttrs!==null&&cd(u,u.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,u),u}function Vv(e,n){Qd(e,n),Vd(n)&&e.queries.elementEnd(n)}var Ma=class extends tc{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=nr(n);return new Yr(t,this.ngModule)}};function a_(e){return Object.keys(e).map(n=>{let[t,r,i]=e[n],o={propName:t,templateName:n,isSignal:(r&Za.SignalBased)!==0};return i&&(o.transform=i),o})}function c_(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function l_(e,n,t){let r=n instanceof Re?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new ad(t,r):t}function u_(e){let n=e.get(ar,null);if(n===null)throw new _(407,!1);let t=e.get(Yb,null),r=e.get(Zr,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r}}function d_(e,n){let t=(e.selectors[0][0]||"div").toLowerCase();return av(n,t,t==="svg"?GI:t==="math"?qI:null)}var Yr=class extends Fv{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=a_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=c_(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=G0(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,i){ee(22);let o=U(null);try{let s=this.componentDef,a=r?["ng-version","19.2.18"]:q0(this.componentDef.selectors[0]),c=ff(0,null,null,1,0,null,null,null,null,[a],null),l=l_(s,i||this.ngModule,n),u=u_(l),d=u.rendererFactory.createRenderer(null,s),p=r?Q0(d,r,s.encapsulation,l):d_(s,d),f=hf(null,c,null,512|pv(s),null,null,u,d,l,null,Jm(p,l,!0));f[_e]=p,Zd(f);let g=null;try{let E=jv(_e,c,f,"#host",()=>[this.componentDef],!0,0);p&&(lv(d,p,E),ri(p,f)),Ya(c,f,E),cf(c,E,f),Vv(c,E),t!==void 0&&f_(E,this.ngContentSelectors,t),g=Ot(E.index,f),f[me]=g[me],yf(c,f,null)}catch(E){throw g!==null&&Ku(g),Ku(f),E}finally{ee(23),Yd()}return new ld(this.componentType,f)}finally{U(o)}}},ld=class extends qb{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t){super(),this._rootLView=t,this._tNode=Ud(t[H],_e),this.location=Wa(this._tNode,t),this.instance=Ot(this._tNode.index,t)[me],this.hostView=this.changeDetectorRef=new po(t,void 0,!1),this.componentType=n}setInput(n,t){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let i=this._rootLView,o=vf(r,i[H],i,n,t);this.previousInputValues.set(n,t);let s=Ot(r.index,i);Cf(s,1)}get injector(){return new Jn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function f_(e,n,t){let r=e.projection=[];for(let i=0;i<n.length;i++){let o=t[i];
vendor: 8,423 bytes, line 7
7r.push(o!=null&&o.length?Array.from(o):null)}}var Cn=(()=>{class e{static __NG_ELEMENT_ID__=h_}return e})();function h_(){let e=Ge();return g_(e,W())}var p_=Cn,Uv=class extends p_{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Wa(this._hostTNode,this._hostLView)}get injector(){return new Jn(this._hostTNode,this._hostLView)}get parentInjector(){let n=Jd(this._hostTNode,this._hostLView);if(bm(n)){let t=va(n,this._hostLView),r=ma(n),i=t[H].data[r+8];return new Jn(i,t)}else return new Jn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=vg(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(n,t,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=go(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,i,fo(this._hostTNode,s)),a}createComponent(n,t,r,i,o){let s=n&&!HI(n),a;if(s)a=t;else{let g=t||{};a=g.index,r=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let c=s?n:new Yr(nr(n)),l=r||this.parentInjector;if(!o&&c.ngModule==null){let E=(s?l:this.parentInjector).get(Re,null);E&&(o=E)}let u=nr(c.componentType??{}),d=go(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,i,p,o);return this.insertImpl(f.hostView,a,fo(this._hostTNode,d)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let i=n._lView;if(ZI(i)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=i[je],l=new Uv(c,c[wt],c[je]);l.detach(l.indexOf(n))}}let o=this._adjustIndex(t),s=this._lContainer;return ec(s,i,o,r),n.attachToViewContainerRef(),zg(_u(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=vg(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=ho(this._lContainer,t);r&&(la(_u(this._lContainer),t),Qa(r[H],r))}detach(n){let t=this._adjustIndex(n,-1),r=ho(this._lContainer,t);return r&&la(_u(this._lContainer),t)!=null?new po(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function vg(e){return e[ha]}function _u(e){return e[ha]||(e[ha]=[])}function g_(e,n){let t,r=n[e.index];return en(r)?t=r:(t=Av(r,n,null,e),n[e.index]=t,pf(n,t)),v_(t,n,e,r),new Uv(t,e,n)}function m_(e,n){let t=e[de],r=t.createComment(""),i=Lt(n,e),o=t.parentNode(i);return ba(t,o,r,t.nextSibling(i),!1),r}var v_=S_,y_=()=>!1;function D_(e,n,t){return y_(e,n,t)}function S_(e,n,t,r){if(e[rr])return;let i;t.type&8?i=kt(r):i=m_(n,t),e[rr]=i}function w_(e){let n=[],t=new Map;function r(i){let o=t.get(i);if(!o){let s=e(i);t.set(i,o=s.then(b_))}return o}return Ta.forEach((i,o)=>{let s=[];i.templateUrl&&s.push(r(i.templateUrl).then(l=>{i.template=l}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){let l=i.styles.length,u=i.styleUrls;i.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(f=>{a[l+p]=f,u.splice(u.indexOf(d),1),u.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(r(i.styleUrl).then(l=>{a.push(l),i.styleUrl=void 0}));let c=Promise.all(s).then(()=>__(o));n.push(c)}),I_(),Promise.all(n).then(()=>{})}var Ta=new Map,C_=new Set;function I_(){let e=Ta;return Ta=new Map,e}function E_(){return Ta.size===0}function b_(e){return typeof e=="string"?e:e.text()}function __(e){C_.delete(e)}var Kr=class{},Ef=class{};var xa=class extends Kr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ma(this);constructor(n,t,r,i=!0){super(),this.ngModuleType=n,this._parent=t;let o=qg(n);this._bootstrapComponents=fv(o.bootstrap),this._r3Injector=Om(n,t,[{provide:Kr,useValue:this},{provide:tc,useValue:this.componentFactoryResolver},...r],ze(n),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Aa=class extends Ef{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new xa(this.moduleType,n,[])}};function M_(e,n,t){return new xa(e,n,t,!1)}var ud=class extends Kr{injector;componentFactoryResolver=new Ma(this);instance=null;constructor(n){super();let t=new co([...n.providers,{provide:Kr,useValue:this},{provide:tc,useValue:this.componentFactoryResolver}],n.parent||Pd(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Eo(e,n,t=null){return new ud({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var T_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=Zg(!1,t.type),i=r.length>0?Eo([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(y(Re))})}return e})();function ce(e){return vo(()=>{let n=Bv(e),t=P(w({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Hm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?i=>i.get(T_).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ft.Emulated,styles:e.styles||$e,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&wn("NgStandalone"),Hv(t);let r=e.dependencies;return t.directiveDefs=yg(r,!1),t.pipeDefs=yg(r,!0),t.id=k_(t),t})}function x_(e){return nr(e)||xI(e)}function A_(e){return e!==null}function De(e){return vo(()=>({type:e.type,bootstrap:e.bootstrap||$e,declarations:e.declarations||$e,imports:e.imports||$e,exports:e.exports||$e,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function N_(e,n){if(e==null)return tr;let t={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a,c;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,c=i[3]||null):(o=i,s=i,a=Za.None,c=null),t[o]=[r,a,c],n[o]=s}return t}function R_(e){if(e==null)return tr;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function X(e){return vo(()=>{let n=Bv(e);return Hv(n),n})}function bf(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Bv(e){let 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,inputConfig:e.inputs||tr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||$e,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:N_(e.inputs,n),outputs:R_(e.outputs),debugInfo:null}}function Hv(e){e.features?.forEach(n=>n(e))}function yg(e,n){if(!e)return null;let t=n?AI:x_;return()=>(typeof e=="function"?e():e).map(r=>t(r)).filter(A_)}function k_(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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];for(let o of r.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function O_(e){return Object.getPrototypeOf(e.prototype).constructor}function ct(e){let n=O_(e.type),t=!0,r=[e];for(;n;){let i;if(Rt(e))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new _(903,!1);i=n.\u0275dir}if(i){if(t){r.push(i);let s=e;
7s.inputs=Mu(e.inputs),s.declaredInputs=Mu(e.declaredInputs),s.outputs=Mu(e.outputs);let a=i.hostBindings;a&&V_(e,a);let c=i.viewQuery,l=i.contentQueries;if(c&&L_(e,c),l&&j_(e,l),F_(e,i),uI(e.outputs,i.outputs),Rt(i)&&i.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(e),a===ct&&(t=!1)}}n=Object.getPrototypeOf(n)}P_(r)}function F_(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function P_(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=qr(i.hostAttrs,t=qr(t,i.hostAttrs))}}function Mu(e){return e===tr?{}:e===$e?[]:e}function L_(e,n){let t=e.viewQuery;t?e.viewQuery=(r,i)=>{n(r,i),t(r,i)}:e.viewQuery=n}function j_(e,n){let t=e.contentQueries;t?e.contentQueries=(r,i,o)=>{n(r,i,o),t(r,i,o)}:e.contentQueries=n}function V_(e,n){let t=e.hostBindings;t?e.hostBindings=(r,i)=>{n(r,i),t(r,i)}:e.hostBindings=n}function $v(e){return B_(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function U_(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function B_(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function _f(e,n,t){return e[n]=t}function H_(e,n){return e[n]}function St(e,n,t){let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function zv(e,n,t,r){let i=St(e,n,t);return St(e,n+1,r)||i}function $_(e,n,t,r,i,o,s,a,c){let l=n.consts,u=Io(n,e,4,s||null,a||null);zd()&&If(n,t,u,mn(l,c),mf),u.mergedAttrs=qr(u.mergedAttrs,u.attrs),Qd(n,u);let d=u.tView=ff(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return n.queries!==null&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}function dd(e,n,t,r,i,o,s,a,c,l){let u=t+_e,d=n.firstCreatePass?$_(u,n,e,r,i,o,s,a,c):n.data[u];yn(d,!1);let p=z_(n,e,d,t);$a()&&Ja(n,e,p,d),ri(p,e);let f=Av(p,e,p,d);return e[u]=f,pf(e,f),D_(f,d,e),Ba(d)&&Ya(n,e,d),c!=null&&gf(e,d,l),d}function x(e,n,t,r,i,o,s,a){let c=W(),l=ye(),u=mn(l.consts,o);return dd(c,l,e,n,t,r,i,u,s,a),x}var z_=W_;function W_(e,n,t,r){return za(!0),n[de].createComment("")}var Wv=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Mf=new b(""),bo=new b(""),nc=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,r,i){this._ngZone=t,this.registry=r,Ld()&&(this._destroyRef=h(le,{optional:!0})??void 0),Tf||(G_(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(t)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static \u0275fac=function(r){return new(r||e)(y(Q),y(rc),y(bo))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),rc=(()=>{class e{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Tf?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function G_(e){Tf=e}var Tf,q_=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new fd})}return e})(),fd=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),this.queuedEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,t]of this.queues)n===null?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(let t of n)n.delete(t),this.queuedEffectCount--,t.run()}};function fr(e){return!!e&&typeof e.then=="function"}function Gv(e){return!!e&&typeof e.subscribe=="function"}var qv=new b("");function _o(e){return So([{provide:qv,multi:!0,useValue:e}])}var Zv=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=h(qv,{optional:!0})??[];injector=h(xe);constructor(){}
7runInitializers(){if(this.initialized)return;let t=[];for(let i of this.appInits){let o=We(this.injector,i);if(fr(o))t.push(o);else if(Gv(o)){let s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xf=new b("");function Z_(){Wl(()=>{throw new _(600,!1)})}function Y_(e){return e.isBoundToModule}var K_=10;function Yv(e,n){return Array.isArray(n)?n.reduce(Yv,e):w(w({},e),n)}var vn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(jE);afterRenderManager=h(Qm);zonelessEnabled=h(Pm);rootEffectScheduler=h(q_);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Z;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=h(Dn).hasPendingTasks.pipe(N(t=>!t));constructor(){h(ii,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=h(Re);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,i=xe.NULL){ee(10);let o=t instanceof Fv;if(!this._injector.get(Zv).done){let f="";throw new _(405,f)}let a;o?a=t:a=this._injector.get(tc).resolveComponentFactory(t),this.componentTypes.push(a.componentType);let c=Y_(a)?void 0:this._injector.get(Kr),l=r||a.selector,u=a.create(i,[],l,c),d=u.location.nativeElement,p=u.injector.get(Mf,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),oa(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),ee(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ee(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(sf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new _(101,!1);let t=U(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,U(t),this.afterTick.next(),ee(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ar,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<K_;)ee(14),this.synchronizeOnce(),ee(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let t=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:i}of this.allViews)Q_(r,i,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Ha(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;oa(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(xf,[]).forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>oa(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new _(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oa(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Q_(e,n,t,r){if(!t&&!Ha(e))return;_v(e,n,t&&!r?0:1)}
vendor: 9,402 bytes, line 7
7function ic(e,n,t,r){let i=W(),o=ti();if(St(i,o,n)){let s=ye(),a=Kd();ob(a,i,e,n,t,r)}return ic}function J_(e,n,t,r){return St(e,ti(),t)?n+Xn(t)+r:Je}function X_(e,n,t,r,i,o){let s=iE(),a=zv(e,s,t,i);return qd(2),a?n+Xn(t)+r+Xn(i)+o:Je}function ea(e,n){return e<<17|n<<2}function cr(e){return e>>17&32767}function eM(e){return(e&2)==2}function tM(e,n){return e&131071|n<<17}function hd(e){return e|2}function Qr(e){return(e&131068)>>2}function Tu(e,n){return e&-131069|n<<2}function nM(e){return(e&1)===1}function pd(e){return e|1}function rM(e,n,t,r,i,o){let s=o?n.classBindings:n.styleBindings,a=cr(s),c=Qr(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||Do(d,u)>0)&&(l=!0)}else u=t;if(i)if(c!==0){let p=cr(e[a+1]);e[r+1]=ea(p,a),p!==0&&(e[p+1]=Tu(e[p+1],r)),e[a+1]=tM(e[a+1],r)}else e[r+1]=ea(a,0),a!==0&&(e[a+1]=Tu(e[a+1],r)),a=r;else e[r+1]=ea(c,0),a===0?a=r:e[c+1]=Tu(e[c+1],r),c=r;l&&(e[r+1]=hd(e[r+1])),Dg(e,u,r,!0),Dg(e,u,r,!1),iM(n,u,e,r,o),s=ea(a,c),o?n.classBindings=s:n.styleBindings=s}function iM(e,n,t,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof n=="string"&&Do(o,n)>=0&&(t[r+1]=pd(t[r+1]))}function Dg(e,n,t,r){let i=e[t+1],o=n===null,s=r?cr(i):Qr(i),a=!1;for(;s!==0&&(a===!1||o);){let c=e[s],l=e[s+1];oM(c,n)&&(a=!0,e[s+1]=r?pd(l):hd(l)),s=r?cr(l):Qr(l)}a&&(e[t+1]=r?hd(i):pd(i))}function oM(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Do(e,n)>=0:!1}var vt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sM(e){return e.substring(vt.key,vt.keyEnd)}function aM(e){return cM(e),Kv(e,Qv(e,0,vt.textEnd))}function Kv(e,n){let t=vt.textEnd;return t===n?-1:(n=vt.keyEnd=lM(e,vt.key=n,t),Qv(e,n,t))}function cM(e){vt.key=0,vt.keyEnd=0,vt.value=0,vt.valueEnd=0,vt.textEnd=e.length}function Qv(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function lM(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function C(e,n,t){let r=W(),i=ti();if(St(r,i,n)){let o=ye(),s=Kd();yv(o,s,r,e,n,r[de],t,!1)}return C}function gd(e,n,t,r,i){vf(n,e,t,i?"class":"style",r)}function oc(e,n){return dM(e,n,null,!0),oc}function sc(e){fM(yM,uM,e,!0)}function uM(e,n){for(let t=aM(n);t>=0;t=Kv(n,t))Od(e,sM(n),!0)}function dM(e,n,t,r){let i=W(),o=ye(),s=qd(2);if(o.firstUpdatePass&&Xv(o,e,s,r),n!==Je&&St(i,s,n)){let a=o.data[jt()];ey(o,a,i,i[de],e,i[s+1]=SM(n,t),r,s)}}function fM(e,n,t,r){let i=ye(),o=qd(2);i.firstUpdatePass&&Xv(i,null,o,r);let s=W();if(t!==Je&&St(s,o,t)){let a=i.data[jt()];if(ty(a,r)&&!Jv(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=ku(c,t||"")),gd(i,a,s,t,r)}else DM(i,a,s,s[de],s[o+1],s[o+1]=vM(e,n,t),r,o)}}function Jv(e,n){return n>=e.expandoStartIndex}function Xv(e,n,t,r){let i=e.data;if(i[t+1]===null){let o=i[jt()],s=Jv(e,t);ty(o,r)&&n===null&&!s&&(n=!1),n=hM(i,o,n,r),rM(i,o,n,t,s,r)}}function hM(e,n,t,r){let i=lE(e),o=r?n.residualClasses:n.residualStyles;if(i===null)(r?n.classBindings:n.styleBindings)===0&&(t=xu(null,e,n,t,r),t=mo(t,n.attrs,r),o=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==i)if(t=xu(i,e,n,t,r),o===null){let c=pM(e,n,r);c!==void 0&&Array.isArray(c)&&(c=xu(null,e,n,c[1],r),c=mo(c,n.attrs,r),gM(e,n,r,c))}else o=mM(e,n,r)}return o!==void 0&&(r?n.residualClasses=o:n.residualStyles=o),t}function pM(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Qr(r)!==0)return e[cr(r)]}function gM(e,n,t,r){let i=t?n.classBindings:n.styleBindings;e[cr(i)]=r}function mM(e,n,t){let r,i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++){let s=e[o].hostAttrs;r=mo(r,s,t)}return mo(r,n.attrs,t)}function xu(e,n,t,r,i){let o=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(o=n[a],r=mo(r,o.hostAttrs,i),o!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function mo(e,n,t){let r=t?1:2,i=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?i=s:i===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Od(e,s,t?!0:n[++o]))}return e===void 0?null:e}function vM(e,n,t){if(t==null||t==="")return $e;let r=[],i=oi(t);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else typeof i=="string"&&n(r,i);return r}function yM(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Od(e,r,t)}function DM(e,n,t,r,i,o,s,a){i===Je&&(i=$e);let c=0,l=0,u=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;u!==null||d!==null;){let p=c<i.length?i[c+1]:void 0,f=l<o.length?o[l+1]:void 0,g=null,E;u===d?(c+=2,l+=2,p!==f&&(g=d,E=f)):d===null||u!==null&&u<d?(c+=2,g=u):(l+=2,g=d,E=f),g!==null&&ey(e,n,t,r,g,E,s,a),u=c<i.length?i[c]:null,d=l<o.length?o[l]:null}}function ey(e,n,t,r,i,o,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=nM(l)?Sg(c,n,t,i,Qr(l),s):void 0;if(!Na(u)){Na(o)||eM(l)&&(o=Sg(c,null,t,i,a,s));let d=im(jt(),t);bb(r,s,d,i,o)}}function Sg(e,n,t,r,i,o){let s=n===null,a;for(;i>0;){let c=e[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=t[i+1];p===Je&&(p=d?$e:void 0);let f=d?Du(p,r):u===r?p:void 0;if(l&&!Na(f)&&(f=Du(c,r)),Na(f)&&(a=f,s))return a;let g=e[i+1];i=s?cr(g):Qr(g)}if(n!==null){let c=o?n.residualClasses:n.residualStyles;c!=null&&(a=Du(c,r))}return a}function Na(e){return e!==void 0}function SM(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=ze(oi(e)))),e}function ty(e,n){return(e.flags&(n?8:16))!==0}var md=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),i=Math.max(n,t),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,t){this.attach(t,this.detach(n))}};function Au(e,n,t,r,i){return e===t&&Object.is(n,r)?1:Object.is(i(e,n),i(t,r))?-1:0}function wM(e,n,t){let r,i,o=0,s=e.length-1,a=void 0;if(Array.isArray(n)){let c=n.length-1;for(;o<=s&&o<=c;){let l=e.at(o),u=n[o],d=Au(o,l,o,u,t);if(d!==0){d<0&&e.updateValue(o,u),o++;continue}let p=e.at(s),f=n[c],g=Au(s,p,c,f,t);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let E=t(o,l),T=t(s,p),R=t(o,u);if(Object.is(R,T)){let Me=t(c,f);Object.is(Me,E)?(e.swap(o,s),e.updateValue(s,f),c--,s--):e.move(s,o),e.updateValue(o,u),o++;continue}if(r??=new Ra,i??=Cg(e,o,s,t),vd(e,r,o,R))e.updateValue(o,u),o++,s++;else if(i.has(R))r.set(E,e.detach(o)),s--;else{let Me=e.create(o,n[o]);e.attach(o,Me),o++,s++}}for(;o<=c;)wg(e,r,t,o,n[o]),o++}else if(n!=null){let c=n[Symbol.iterator](),l=c.next();for(;!l.done&&o<=s;){let u=e.at(o),d=l.value,p=Au(o,u,o,d,t);if(p!==0)p<0&&e.updateValue(o,d),o++,l=c.next();else{r??=new Ra,i??=Cg(e,o,s,t);let f=t(o,d);if(vd(e,r,o,f))e.updateValue(o,d),o++,s++,l=c.next();else if(!i.has(f))e.attach(o,e.create(o,d)),o++,s++,l=c.next();else{let g=t(o,u);r.set(g,e.detach(o)),s--}}}for(;!l.done;)wg(e,r,t,e.length,l.value),l=c.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function vd(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function wg(e,n,t,r,i){if(vd(e,n,r,t(r,i)))e.updateValue(r,i);else{let o=e.create(r,i);e.attach(r,o)}}function Cg(e,n,t,r){let i=new Set;for(let o=n;o<=t;o++)i.add(r(o,e.at(o)));return i}var Ra=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,t)}}};function Xe(e,n){wn("NgControlFlow");let t=W(),r=ti(),i=t[r]!==Je?t[r]:-1,o=i!==-1?ka(t,_e+i):void 0,s=0;if(St(t,r,e)){let a=U(null);try{if(o!==void 0&&Rv(o,s),e!==-1){let c=_e+e,l=ka(t,c),u=wd(t[H],c),d=go(l,u.tView.ssrId),p=Ka(t,u,n,{dehydratedView:d});ec(l,p,s,fo(u,d))}}finally{U(a)}}else if(o!==void 0){let a=Nv(o,s);a!==void 0&&(a[me]=n)}}var yd=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Le}};function ny(e,n){return n}var Dd=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function ac(e,n,t,r,i,o,s,a,c,l,u,d,p){wn("NgControlFlow");let f=W(),g=ye(),E=c!==void 0,T=W(),R=a?s.bind(T[Dt][me]):s,Me=new Dd(E,R);T[_e+e]=Me,dd(f,g,e+1,n,t,r,i,mn(g.consts,o)),E&&dd(f,g,e+2,c,l,u,d,mn(g.consts,p))}var Sd=class extends md{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Le}at(n){return this.getLView(n)[me].$implicit}attach(n,t){let r=t[lo];this.needsIndexUpdate||=n!==this.length,ec(this.lContainer,t,n,fo(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,CM(this.lContainer,n)}create(n,t){let r=go(this.lContainer,this.templateTNode.tView.ssrId),i=Ka(this.hostLView,this.templateTNode,new yd(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(n){Qa(n[H],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[me].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}
7updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[me].$index=n}getLView(n){return IM(this.lContainer,n)}};function cc(e){let n=U(null),t=jt();try{let r=W(),i=r[H],o=r[t],s=t+1,a=ka(r,s);if(o.liveCollection===void 0){let l=wd(i,s);o.liveCollection=new Sd(a,r,l)}else o.liveCollection.reset();let c=o.liveCollection;if(wM(c,e,o.trackByFn),c.updateIndexes(),o.hasEmptyBlock){let l=ti(),u=c.length===0;if(St(r,l,u)){let d=t+2,p=ka(r,d);if(u){let f=wd(i,d),g=go(p,f.tView.ssrId),E=Ka(r,f,void 0,{dehydratedView:g});ec(p,E,0,fo(f,g))}else Rv(p,0)}}}finally{U(n)}}function ka(e,n){return e[n]}function CM(e,n){return ho(e,n)}function IM(e,n){return Nv(e,n)}function wd(e,n){return Ud(e,n)}function D(e,n,t,r){let i=W(),o=ye(),s=_e+e,a=i[de],c=o.firstCreatePass?jv(s,o,i,n,mf,zd(),t,r):o.data[s],l=EM(o,i,c,a,n,e);i[s]=l;let u=Ba(c);return yn(c,!0),lv(a,l,c),!Dv(c)&&$a()&&Ja(o,i,l,c),(QI()===0||u)&&ri(l,i),JI(),u&&(Ya(o,i,c),cf(o,c,i)),r!==null&&gf(i,c),D}function m(){let e=Ge();Wd()?hm():(e=e.parent,yn(e,!1));let n=e;tE(n)&&nE(),XI();let t=ye();return t.firstCreatePass&&Vv(t,n),n.classesWithoutHost!=null&&gE(n)&&gd(t,n,W(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&mE(n)&&gd(t,n,W(),n.stylesWithoutHost,!1),m}function z(e,n,t,r){return D(e,n,t,r),m(),z}var EM=(e,n,t,r,i,o)=>(za(!0),av(r,i,fE()));function bM(e,n,t,r,i){let o=n.consts,s=mn(o,r),a=Io(n,e,8,"ng-container",s);s!==null&&cd(a,s,!0);let c=mn(o,i);return zd()&&If(n,t,a,c,mf),a.mergedAttrs=qr(a.mergedAttrs,a.attrs),n.queries!==null&&n.queries.elementStart(n,a),a}function Ct(e,n,t){let r=W(),i=ye(),o=e+_e,s=i.firstCreatePass?bM(o,i,r,n,t):i.data[o];yn(s,!0);let a=_M(i,r,s,e);return r[o]=a,$a()&&Ja(i,r,a,s),ri(a,r),Ba(s)&&(Ya(i,r,s),cf(i,s,r)),t!=null&&gf(r,s),Ct}function It(){let e=Ge(),n=ye();return Wd()?hm():(e=e.parent,yn(e,!1)),n.firstCreatePass&&(Qd(n,e),Vd(e)&&n.queries.elementEnd(e)),It}var _M=(e,n,t,r)=>(za(!0),T0(n[de],""));function ry(){return W()}function Af(e,n,t){let r=W(),i=ti();if(St(r,i,n)){let o=ye(),s=Kd();yv(o,s,r,e,n,r[de],t,!0)}return Af}var Oa="en-US";var MM=Oa;function TM(e){typeof e=="string"&&(MM=e.toLowerCase().replace(/_/g,"-"))}function Ig(e,n,t){return function r(i){if(i===Function)return t;let o=Xr(e)?Ot(e.index,n):n;Cf(o,5);let s=n[me],a=Eg(n,s,t,i),c=r.__ngNextListenerFn__;for(;c;)a=Eg(n,s,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Eg(e,n,t,r){let i=U(null);try{return ee(6,n,t),t(r)!==!1}catch(o){return xM(e,o),!1}finally{ee(7,n,t),U(i)}}function xM(e,n){let t=e[zr],r=t?t.get(at,null):null;r&&r.handleError(n)}function bg(e,n,t,r,i,o){let s=n[t],a=n[H],l=a.data[t].outputs[r],u=s[l],d=a.firstCreatePass?lm(a):null,p=cm(n),f=u.subscribe(o),g=p.length;p.push(o,f),d&&d.push(i,e.index,g,-(g+1))}function Oe(e,n,t,r){let i=W(),o=ye(),s=Ge();return NM(o,i,i[de],s,e,n,r),Oe}function AM(e,n,t,r){let i=e.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===t&&i[o+1]===r){let a=n[da],c=i[o+2];return a.length>c?a[c]:null}typeof s=="string"&&(o+=2)}return null}function NM(e,n,t,r,i,o,s){let a=Ba(r),l=e.firstCreatePass?lm(e):null,u=cm(n),d=!0;if(r.type&3||s){let p=Lt(r,n),f=s?s(p):p,g=u.length,E=s?R=>s(kt(R[r.index])):r.index,T=null;if(!s&&a&&(T=AM(e,n,i,r.index)),T!==null){let R=T.__ngLastListenerFn__||T;R.__ngNextListenerFn__=o,T.__ngLastListenerFn__=o,d=!1}else{o=Ig(r,n,o),t0(n,f,i,o);let R=t.listen(f,i,o);u.push(o,R),l&&l.push(i,E,g,g+1)}}else o=Ig(r,n,o);if(d){let p=r.outputs?.[i],f=r.hostDirectiveOutputs?.[i];if(f&&f.length)for(let g=0;g<f.length;g+=2){let E=f[g],T=f[g+1];bg(r,n,E,T,i,o)}if(p&&p.length)for(let g of p)bg(r,n,g,i,i,o)}}function te(e=1){return dE(e)}function Mo(e){let n=pm();return Bd(n,_e+e)}function I(e,n=""){let t=W(),r=ye(),i=e+_e,o=r.firstCreatePass?Io(r,i,1,n,null):r.data[i],s=RM(r,t,o,n,e);t[i]=s,$a()&&Ja(r,t,s,o),yn(o,!1)}var RM=(e,n,t,r,i)=>(za(!0),_0(n[de],r));function Et(e){return In("",e,""),Et}function In(e,n,t){let r=W(),i=J_(r,e,n,t);return i!==Je&&iy(r,jt(),i),In}function hr(e,n,t,r,i){let o=W(),s=X_(o,e,n,t,r,i);return s!==Je&&iy(o,jt(),s),hr}function iy(e,n,t){let r=im(n,e);M0(e[de],r,t)}var oy={};function Nf(e){let n=ye(),t=W(),r=e+_e,i=Io(n,r,128,null,null);return yn(i,!1),Hd(n,t,r,oy),Nf}function sy(e){wn("NgLet");let n=ye(),t=W(),r=jt();return Hd(n,t,r,e),e}function ay(e){let n=pm(),t=Bd(n,_e+e);
vendor: 5,451 bytes, line 7
7if(t===oy)throw new _(314,!1);return t}function kM(e,n,t){let r=ye();if(r.firstCreatePass){let i=Rt(e);Cd(t,r.data,r.blueprint,i,!0),Cd(n,r.data,r.blueprint,i,!1)}}function Cd(e,n,t,r,i){if(e=Pe(e),Array.isArray(e))for(let o=0;o<e.length;o++)Cd(e[o],n,t,r,i);else{let o=ye(),s=W(),a=Ge(),c=$r(e)?e:Pe(e.provide),l=Qg(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if($r(e)||!e.multi){let f=new sr(l,i,A),g=Ru(c,n,i?u:u+p,d);g===-1?(Wu(Da(a,s),o,c),Nu(o,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[g]=f,s[g]=f)}else{let f=Ru(c,n,u+p,d),g=Ru(c,n,u,u+p),E=f>=0&&t[f],T=g>=0&&t[g];if(i&&!T||!i&&!E){Wu(Da(a,s),o,c);let R=PM(i?FM:OM,t.length,i,r,l);!i&&T&&(t[g].providerFactory=R),Nu(o,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(R),s.push(R)}else{let R=cy(t[i?g:f],l,!i&&r);Nu(o,e,f>-1?f:g,R)}!i&&r&&T&&t[g].componentProviders++}}}function Nu(e,n,t,r){let i=$r(n),o=FI(n);if(i||o){let c=(o?Pe(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function cy(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Ru(e,n,t,r){for(let i=t;i<r;i++)if(n[i]===e)return i;return-1}function OM(e,n,t,r,i){return Id(this.multi,[])}function FM(e,n,t,r,i){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Sa(r,r[H],this.providerFactory.index,i);s=c.slice(0,a),Id(o,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Id(o,s);return s}function Id(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function PM(e,n,t,r,i){let o=new sr(e,t,A);return o.multi=[],o.index=n,o.componentProviders=0,cy(o,i,r&&!t),o}function nn(e,n=[]){return t=>{t.providersResolver=(r,i)=>kM(r,i?i(e):e,n)}}function pr(e,n,t){let r=Gd()+e,i=W();return i[r]===Je?_f(i,r,t?n.call(t):n()):H_(i,r)}function ly(e,n,t,r,i){return jM(W(),Gd(),e,n,t,r,i)}function uy(e,n){let t=e[n];return t===Je?void 0:t}function LM(e,n,t,r,i,o){let s=n+t;return St(e,s,i)?_f(e,s+1,o?r.call(o,i):r(i)):uy(e,s+1)}function jM(e,n,t,r,i,o,s){let a=n+t;return zv(e,a,i,o)?_f(e,a+2,s?r.call(s,i,o):r(i,o)):uy(e,a+2)}function ai(e,n){let t=ye(),r,i=e+_e;t.firstCreatePass?(r=VM(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];let o=r.factory||(r.factory=er(r.type,!0)),s,a=He(A);try{let c=ya(!1),l=o();return ya(c),Hd(t,W(),i,l),l}finally{He(a)}}function VM(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function ci(e,n,t){let r=e+_e,i=W(),o=Bd(i,r);return UM(i,r)?LM(i,Gd(),n,o.transform,t,o):o.transform(t)}function UM(e,n){return e[H].data[n].pure}function To(e,n){return Ov(e,n)}var ta=null;function BM(e){ta!==null&&(e.defaultEncapsulation!==ta.defaultEncapsulation||e.preserveWhitespaces!==ta.preserveWhitespaces)||(ta=e)}var Ed=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},dy=(()=>{class e{compileModuleSync(t){return new Aa(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),i=qg(t),o=fv(i.declarations).reduce((s,a)=>{let c=nr(a);return c&&s.push(new Yr(c)),s},[]);return new Ed(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),HM=new b("");function $M(e,n,t){let r=new Aa(t);return Promise.resolve(r)}function _g(e){for(let n=e.length-1;n>=0;n--)if(e[n]!==void 0)return e[n]}var zM=(()=>{class e{zone=h(Q);changeDetectionScheduler=h(Zr);applicationRef=h(vn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function WM({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new Q(P(w({},fy()),{scheduleInRootZone:t})),[{provide:Q,useFactory:e},{provide:ao,multi:!0,useFactory:()=>{let r=h(zM,{optional:!0});return()=>r.initialize()}},{provide:ao,multi:!0,useFactory:()=>{let r=h(GM);return()=>{r.initialize()}}},n===!0?{provide:Lm,useValue:!0}:[],{provide:jm,useValue:t??Fm}]}function fy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var GM=(()=>{class e{subscription=new ae;initialized=!1;zone=h(Q);pendingTasks=h(Dn);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}
7))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qM=(()=>{class e{appRef=h(vn);taskService=h(Dn);ngZone=h(Q);zonelessEnabled=h(Pm);tracing=h(ii,{optional:!0});disableScheduling=h(Lm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ae;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ca):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(jm,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ia||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let r=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?Xp:Vm;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ca+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Xp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ZM(){return typeof $localize<"u"&&$localize.locale||Oa}var Rf=new b("",{providedIn:"root",factory:()=>h(Rf,V.Optional|V.SkipSelf)||ZM()});var Fa=new b(""),YM=new b("");function ro(e){return!e.moduleRef}function KM(e){let n=ro(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Q);return t.run(()=>{ro(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(at,null),i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:o=>{r.handleError(o)}})}),ro(e)){let o=()=>n.destroy(),s=e.platformInjector.get(Fa);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Fa);s.add(o),e.moduleRef.onDestroy(()=>{oa(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return JM(r,t,()=>{let o=n.get(Zv);return o.runInitializers(),o.donePromise.then(()=>{let s=n.get(Rf,Oa);if(TM(s||Oa),!n.get(YM,!0))return ro(e)?n.get(vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ro(e)){let c=n.get(vn);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return QM(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function QM(e,n){let t=e.injector.get(vn);if(e._bootstrapComponents.length>
vendor: 13,887 bytes, line 7
70)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(t);else throw new _(-403,!1);n.push(e)}function JM(e,n,t){try{let r=t();return fr(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}var hy=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,r){let i=r?.scheduleInRootZone,o=()=>LE(r?.ngZone,P(w({},fy({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:i})),s=r?.ignoreChangesOutsideZone,a=[WM({ngZoneFactory:o,ignoreChangesOutsideZone:s}),{provide:Zr,useExisting:qM}],c=M_(t.moduleType,this.injector,a);return KM({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,r=[]){let i=Yv({},r);return $M(this.injector,i,t).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new _(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let t=this._injector.get(Fa,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(y(xe))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),kf=null;function XM(e){if(Ff())throw new _(400,!1);Z_(),kf=e;let n=e.get(hy);return nT(e),n}function Of(e,n,t=[]){let r=`Platform: ${n}`,i=new b(r);return(o=[])=>{let s=Ff();if(!s){let a=[...t,...o,{provide:i,useValue:!0}];s=e?.(a)??XM(eT(a,r))}return tT(i)}}function eT(e=[],n){return xe.create({name:n,providers:[{provide:Va,useValue:"platform"},{provide:Fa,useValue:new Set([()=>kf=null])},...e]})}function tT(e){let n=Ff();if(!n)throw new _(401,!1);return n}function Ff(){return kf?.get(hy)??null}function nT(e){let n=e.get(rf,null);We(e,()=>{n?.forEach(t=>t())})}var En=(()=>{class e{static __NG_ELEMENT_ID__=rT}return e})();function rT(e){return iT(Ge(),W(),(e&16)===16)}function iT(e,n,t){if(Xr(e)&&!t){let r=Ot(e.index,n);return new po(r,r)}else if(e.type&175){let r=n[Dt];return new po(r,n)}return null}var bd=class{constructor(){}supports(n){return $v(n)}create(n){return new _d(n)}},oT=(e,n)=>n,_d=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||oT}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){let s=!r||t&&t.currentIndex<Mg(r,i,o)?t:r,a=Mg(s,i,o),c=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)i++;else{o||(o=[]);let l=a-i,u=c-i;if(l!=u){for(let p=0;p<l;p++){let f=p<o.length?o[p]:o[p]=0,g=f+p;u<=g&&g<l&&(o[p]=f+1)}let d=s.previousIndex;o[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!$v(n))throw new _(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,i,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,o,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next}else i=0,U_(n,a=>{s=this._trackByFn(i,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,i),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,i),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new Md(t,r),o,i)),n}_verifyReinsertion(n,t,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let i=n._prevRemoved,o=n._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let i=t===null?this._itHead:t._next;return n._next=i,n._prev=t,i===null?this._itTail=n:i._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new Pa),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Pa),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Md=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},Td=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},Pa=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Td,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,i=this.map.get(r);return i?i.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Mg(e,n,t){let r=e.previousIndex;if(r===null)return r;let i=0;return t&&r<t.length&&(i=t[r]),r+n+i}function Tg(){return new Pf([new bd])}var Pf=(()=>{class e{factories;static \u0275prov=v({token:e,providedIn:"root",factory:Tg});constructor(t){this.factories=t}static create(t,r){if(r!=null){let i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Tg()),deps:[[e,new Rd,new yo]]}}find(t){let r=this.factories.find(i=>i.supports(t));if(r!=null)return r;throw new _(901,!1)}}return e})();var py=Of(null,"core",[]),gy=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(y(vn))};static \u0275mod=De({type:e});static \u0275inj=ve({})}return e})();function li(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function bt(e){return Zl(e)}function rn(e,n){return zl(e,n?.equal)}var xg=class{[dt];constructor(n){this[dt]=n}destroy(){this[dt].destroy()}};function my(e){let n=nr(e);if(!n)return null;let t=new Yr(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var oe=new b("");var Dy=null;function et(){return Dy}function Lf(e){Dy??=e}var xo=class{},Ao=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(Sy),providedIn:"platform"})}return e})(),jf=new b(""),Sy=(()=>{class e extends Ao{_location;_history;_doc=h(oe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return et().getBaseHref(this._doc)}onPopState(t){let r=et().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=et().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function lc(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function vy(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function _t(e){return e&&e[0]!=="?"?`?${e}`:e}var tt=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(di),providedIn:"root"})}return e})(),ui=new b(""),di=(()=>{class e extends tt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return lc(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+_t(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+_t(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+_t(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(y(Ao),y(ui,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bn=(()=>{class e{_subject=new Z;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=cT(vy(yy(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+_t(r))}normalize(t){return e.stripTrailingSlash(aT(this._basePath,yy(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}
vendor: 4,333 bytes, line 7
7go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_t(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_t(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=_t;static joinWithSlash=lc;static stripTrailingSlash=vy;static \u0275fac=function(r){return new(r||e)(y(tt))};static \u0275prov=v({token:e,factory:()=>sT(),providedIn:"root"})}return e})();function sT(){return new bn(y(tt))}function aT(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function yy(e){return e.replace(/\/index.html$/,"")}function cT(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Uf=(()=>{class e extends tt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=lc(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+_t(o))||this._platformLocation.pathname;this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+_t(o))||this._platformLocation.pathname;this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(y(Ao),y(ui,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var uc=class{$implicit;ngForOf;index;count;constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},_n=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(i.previousIndex==null)r.createEmbeddedView(this._template,new uc(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(o===null?void 0:o);else if(o!==null){let a=r.get(o);r.move(a,s),wy(a,i)}});for(let i=0,o=r.length;i<o;i++){let a=r.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(i=>{let o=r.get(i.currentIndex);wy(o,i)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(A(Cn),A(si),A(Pf))};static \u0275dir=X({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function wy(e,n){e.context.$implicit=n.item}var Ve=(()=>{class e{_viewContainer;_context=new dc;_thenTemplateRef=null;_elseTemplateRef=null;
7_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Cy(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Cy(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(A(Cn),A(si))};static \u0275dir=X({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),dc=class{$implicit=null;ngIf=null};function Cy(e,n){if(e&&!e.createEmbeddedView)throw new _(2020,!1)}var Vf=class{_viewContainerRef;_templateRef;_created=!1;constructor(n,t){this._viewContainerRef=n,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}},fc=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let r=t===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let r of this._defaultViews)r.enforceState(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=X({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),Bf=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,r,i){this.ngSwitch=i,i._addCase(),this._view=new Vf(t,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(A(Cn),A(si),A(fc,9))};static \u0275dir=X({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})();var hc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=De({type:e});static \u0275inj=ve({})}return e})();function No(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[i,o]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var pc="browser",Iy="server";function Hf(e){return e===pc}function gc(e){return e===Iy}var gr=class{};var Ey=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new $f(h(oe),window)})}return e})(),$f=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let t=uT(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}};function uT(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}var yc=new b(""),qf=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(i=>
vendor: 24,642 bytes, lines 7-8
7{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i,o){return this._findPluginFor(r).addEventListener(t,r,i,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(y(yc),y(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Ro=class{_doc;constructor(n){this._doc=n}manager},mc="ng-app-id";function by(e){for(let n of e)n.remove()}function _y(e,n){let t=n.createElement("style");return t.textContent=e,t}function dT(e,n,t,r){let i=e.head?.querySelectorAll(`style[${mc}="${n}"],link[${mc}="${n}"]`);if(i)for(let o of i)o.removeAttribute(mc),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}function Wf(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Zf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.isServer=gc(o),dT(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let i of t)this.addUsage(i,this.inline,_y);r?.forEach(i=>this.addUsage(i,this.external,Wf))}removeStyles(t,r){for(let i of t)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(t,r,i){let o=r.get(t);o?o.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(t,this.doc)))})}removeUsage(t,r){let i=r.get(t);i&&(i.usage--,i.usage<=0&&(by(i.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])by(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(t,_y(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(t,Wf(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(mc,this.appId),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(y(oe),y(nf),y(of,8),y(Sn))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),zf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Yf=/%COMP%/g;var Ty="%COMP%",fT=`_nghost-${Ty}`,hT=`_ngcontent-${Ty}`,pT=!0,gT=new b("",{providedIn:"root",factory:()=>pT});function mT(e){return hT.replace(Yf,e)}function vT(e){return fT.replace(Yf,e)}function xy(e,n){return n.map(t=>t.replace(Yf,e))}var Kf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,r,i,o,s,a,c,l=null,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.tracingService=u,this.platformIsServer=gc(a),this.defaultRenderer=new ko(t,s,c,this.platformIsServer,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ft.ShadowDom&&(r=P(w({},r),{encapsulation:Ft.Emulated}));let i=this.getOrCreateRenderer(t,r);return i instanceof vc?i.applyToHost(t):i instanceof Oo&&i.applyStyles(),i}getOrCreateRenderer(t,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case Ft.Emulated:o=new vc(c,l,r,this.appId,u,s,a,d,p);break;case Ft.ShadowDom:return new Gf(c,l,t,r,s,a,this.nonce,d,p);default:o=new Oo(c,l,r,u,s,a,d,p);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(y(qf),y(Zf),y(nf),y(gT),y(oe),y(Sn),y(Q),y(of),y(ii,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),ko=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,i,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(zf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(My(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(My(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new _(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;let o=zf[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let i=zf[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(Qt.DashCase|Qt.Important)?n.style.setProperty(t,r,i&Qt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Qt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,i){if(typeof n=="string"&&(n=et().getGlobalEventTarget(this.doc,n),!n))throw new _(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,t,o)),this.eventManager.addEventListener(n,t,o,i)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))===!1&&t.preventDefault()}}};function My(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Gf=class extends ko{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,r,i,o,s,a,c,l){super(n,o,s,c,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=xy(i.id,u);for(let p of u){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=p,this.shadowRoot.appendChild(f)}let d=i.getExternalStyles?.();if(d)for(let p of d){let f=Wf(p,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Oo=class extends ko{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,i,o,s,a,c,l){super(n,o,s,a,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i;let u=r.styles;this.styles=l?xy(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},vc=class extends Oo{contentAttr;hostAttr;constructor(n,t,r,i,o,s,a,c,l){let u=i+"-"+r.id;super(n,t,r,o,s,a,c,l,u),this.contentAttr=mT(u),this.hostAttr=vT(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var Dc=class e extends xo{supportsDOMEvents=!0;static makeCurrent(){Lf(new e)}onAndCancel(n,t,r,i){return n.addEventListener(t,r,i),()=>{n.removeEventListener(t,r,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=yT();return t==null?null:DT(t)}resetBaseElement(){Fo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return No(document.cookie,n)}},Fo=null;function yT(){return Fo=Fo||document.head.querySelector("base"),Fo?Fo.getAttribute("href"):null}function DT(e){return new URL(e,document.baseURI).pathname}var Sc=class{addToWindow(n){Qe.getAngularTestability=(r,i=!0)=>{let o=n.findTestabilityInTree(r,i);if(o==null)throw new _(5103,!1);return o},Qe.getAllAngularTestabilities=()=>n.getAllTestabilities(),Qe.getAllAngularRootElements=()=>n.getAllRootElements();let t=r=>{let i=Qe.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};i.forEach(a=>{a.whenStable(s)})};Qe.frameworkStabilizers||(Qe.frameworkStabilizers=[]),Qe.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,r){if(t==null)return null;let i=n.getTestability(t);return i??(r?et().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},ST=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Ny=(()=>{class e extends Ro{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i,o){return t.addEventListener(r,i,o),()=>this.removeEventListener(t,r,i,o)}removeEventListener(t,r,i,o){return t.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||e)(y(oe))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Ay=["alt","control","meta","shift"],wT={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},CT={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Ry=(()=>{class e extends Ro{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,i,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>et().onAndCancel(t,s.domEventName,a,o))}static parseEventName(t){let r=t.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Ay.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let i=wT[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ay.forEach(s=>{if(s!==i){let a=CT[s];a(t)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(y(oe))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function IT(){Dc.makeCurrent()}function ET(){return new at}function bT(){return qm(document),document}var _T=[{provide:Sn,useValue:pc},{provide:rf,useValue:IT,multi:!0},{provide:oe,useFactory:bT}],Qf=Of(py,"browser",_T);var MT=[{provide:bo,useClass:Sc},{provide:Mf,useClass:nc,deps:[Q,rc,bo]},{provide:nc,useClass:nc,deps:[Q,rc,bo]}],TT=[{provide:Va,useValue:"root"},{provide:at,useFactory:ET},{provide:yc,useClass:Ny,multi:!0,deps:[oe]},{provide:yc,useClass:Ry,multi:!0,deps:[oe]},Kf,Zf,qf,{provide:ar,useExisting:Kf},{provide:gr,useClass:ST},[]],Jf=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=De({type:e});static \u0275inj=ve({providers:[...TT,...MT],imports:[hc,gy]})}return e})();var hi=class{},Po=class{},Vt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` 8`).forEach(t=>{let r=t.indexOf(":");if(r>0){let i=t.slice(0,r),o=t.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let i=(n.op==="a"?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":let o=n.value;if(!o)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Cc=class{encodeKey(n){return ky(n)}encodeValue(n){return ky(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function xT(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var AT=/%(\d[a-f0-9])/gi,NT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ky(e){return encodeURIComponent(e).replace(AT,(n,t)=>NT[t]??n)}function wc(e){return`${e}`}var Ue=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Cc,n.fromString){if(n.fromObject)throw new _(2805,!1);this.map=xT(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],i=Array.isArray(r)?r.map(wc):[wc(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(wc(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(wc(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Ic=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function RT(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Oy(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Fy(e){return typeof Blob<"u"&&e instanceof Blob}function Py(e){return typeof FormData<"u"&&e instanceof FormData}function kT(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Ly="Content-Type",jy="Accept",Vy="X-Request-URL",Uy="text/plain",By="application/json",OT=`${By}, ${Uy}, */*`,fi=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,t,r,i){this.url=t,this.method=n.toUpperCase();let o;if(RT(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Vt,this.context??=new Ic,!this.params)this.params=new Ue,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Oy(this.body)||Fy(this.body)||Py(this.body)||kT(this.body)?this.body:this.body instanceof Ue?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Py(this.body)?null:Fy(this.body)?this.body.type||null:Oy(this.body)?null:typeof this.body=="string"?Uy:this.body instanceof Ue?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?By:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress,l=n.headers||this.headers,u=n.params||this.params,d=n.context??this.context;return n.setHeaders!==void 0&&(l=Object.keys(n.setHeaders).reduce((p,f)=>p.set(f,n.setHeaders[f]),l)),n.setParams&&(u=Object.keys(n.setParams).reduce((p,f)=>p.set(f,n.setParams[f]),u)),new e(t,r,s,{params:u,headers:l,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},mr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(mr||{}),pi=class{headers;status;statusText;url;ok;type;constructor(n,t=200,r="OK"){this.headers=n.headers||new Vt,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Ec=class e extends pi{constructor(n={}){super(n)}type=mr.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},gi=class e extends pi{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=mr.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},on=class extends pi{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},FT=200,PT=204,Tn=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Tn||{});function Xf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var qe=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof fi)o=t;else{let c;i.headers instanceof Vt?c=i.headers:c=new Vt(i.headers);let l;i.params&&(i.params instanceof Ue?l=i.params:l=new Ue({fromObject:i.params})),o=new fi(t,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=M(o).pipe(ot(c=>
8this.handler.handle(c)));if(t instanceof fi||i.observe==="events")return s;let a=s.pipe(Ee(c=>c instanceof gi));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(N(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new _(2806,!1);return c.body}));case"blob":return a.pipe(N(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new _(2807,!1);return c.body}));case"text":return a.pipe(N(c=>{if(c.body!==null&&typeof c.body!="string")throw new _(2808,!1);return c.body}));case"json":default:return a.pipe(N(c=>c.body))}case"response":return a;default:throw new _(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Ue().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,Xf(i,r))}post(t,r,i={}){return this.request("POST",t,Xf(i,r))}put(t,r,i={}){return this.request("PUT",t,Xf(i,r))}static \u0275fac=function(r){return new(r||e)(y(hi))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var LT=new b("");function jT(e,n){return n(e)}function VT(e,n,t){return(r,i)=>We(t,()=>n(r,o=>e(o,i)))}var th=new b(""),Hy=new b(""),$y=new b(""),zy=new b("",{providedIn:"root",factory:()=>!0});var bc=(()=>{class e extends hi{backend;injector;chain=null;pendingTasks=h(Dn);contributeToStability=h(zy);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Hy),...this.injector.get($y,[])]));this.chain=r.reduceRight((i,o)=>VT(i,o,this.injector),jT)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(hn(()=>this.pendingTasks.remove(r)))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(y(Po),y(Re))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var UT=/^\)\]\}',?\n/,BT=RegExp(`^${Vy}:`,"m");function HT(e){return"responseURL"in e&&e.responseURL?e.responseURL:BT.test(e.getAllResponseHeaders())?e.getResponseHeader(Vy):null}var eh=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new _(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?G(r.\u0275loadImpl()):M(null)).pipe(be(()=>new B(o=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((E,T)=>s.setRequestHeader(E,T.join(","))),t.headers.has(jy)||s.setRequestHeader(jy,OT),!t.headers.has(Ly)){let E=t.detectContentTypeHeader();E!==null&&s.setRequestHeader(Ly,E)}if(t.responseType){let E=t.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let E=s.statusText||"OK",T=new Vt(s.getAllResponseHeaders()),R=HT(s)||t.url;return c=new Ec({headers:T,status:s.status,statusText:E,url:R}),c},u=()=>{let{headers:E,status:T,statusText:R,url:Me}=l(),he=null;T!==PT&&(he=typeof s.response>"u"?s.responseText:s.response),T===0&&(T=he?FT:0);let Nl=T>=200&&T<300;if(t.responseType==="json"&&typeof he=="string"){let IC=he;he=he.replace(UT,"");try{he=he!==""?JSON.parse(he):null}catch(EC){he=IC,Nl&&(Nl=!1,he={error:EC,text:he})}}Nl?(o.next(new gi({body:he,headers:E,status:T,statusText:R,url:Me||void 0})),o.complete()):o.error(new on({error:he,headers:E,status:T,statusText:R,url:Me||void 0}))},d=E=>{let{url:T}=l(),R=new on({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:T||void 0});o.error(R)},p=!1,f=E=>{p||(o.next(l()),p=!0);let T={type:mr.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(T.total=E.total),t.responseType==="text"&&s.responseText&&(T.partialText=s.responseText),o.next(T)},g=E=>{let T={type:mr.UploadProgress,loaded:E.loaded};E.lengthComputable&&(T.total=E.total),o.next(T)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",g)),s.send(a),o.next({type:mr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(y(gr))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Wy=new b(""),$T="XSRF-TOKEN",zT=new b("",{providedIn:"root",factory:()=>$T}),WT="X-XSRF-TOKEN",GT=new b("",{providedIn:"root",factory:()=>WT}),Lo=class{},qT=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r){this.doc=t,this.cookieName=r}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=No(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)(y(oe),y(zT))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),ZT=/^(?:https?:)?\/\//i;function YT(e,n){if(!h(Wy)||e.method==="GET"||e.method==="HEAD"||ZT.test(e.url))return n(e);let t=h(Lo).getToken(),r=h(GT);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}function nh(...e){let n=[qe,eh,bc,{provide:hi,useExisting:bc},{provide:Po,useFactory:()=>h(LT,{optional:!0})??h(eh)},{provide:Hy,useValue:YT,multi:!0},{provide:Wy,useValue:!0},{provide:Lo,useClass:qT}];for(let t of e)n.push(...t.\u0275providers);return So(n)}var qy=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(y(oe))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var j="primary",Ko=Symbol("RouteTitle"),ah=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function Dr(e){return new ah(e)}function nD(e,n,t){let r=t.path.split("/");if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let i={};for(let o=0;o<r.length;o++){let s=r[o],a=e[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function QT(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Ut(e[t],n[t]))return!1;return!0}function Ut(e,n){let t=e?ch(e):void 0,r=n?ch(n):void 0;if(!t||!r||t.length!=r.length)return!1;let i;for(let o=0;o<t.length;o++)if(i=t[o],!rD(e[i],n[i]))return!1;return!0}function ch(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function rD(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((i,o)=>r[o]===i)}else return e===n}function iD(e){return e.length>0?e[e.length-1]:null}function kn(e){return au(e)?e:fr(e)?G(Promise.resolve(e)):M(e)}var JT={exact:sD,subset:aD},oD={exact:XT,subset:ex,ignored:()=>!0};function Yy(e,n,t){return JT[t.paths](e.root,n.root,t.matrixParams)&&oD[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function XT(e,n){return Ut(e,n)}function sD(e,n,t){if(!vr(e.segments,n.segments)||!Tc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!sD(e.children[r],n.children[r],t))return!1;return!0}function ex(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>rD(e[t],n[t]))}function aD(e,n,t){return cD(e,n,n.segments,t)}function cD(e,n,t,r){if(e.segments.length>t.length){let i=e.segments.slice(0,t.length);
vendor: 33,046 bytes, line 8
8return!(!vr(i,t)||n.hasChildren()||!Tc(i,t,r))}else if(e.segments.length===t.length){if(!vr(e.segments,t)||!Tc(e.segments,t,r))return!1;for(let i in n.children)if(!e.children[i]||!aD(e.children[i],n.children[i],r))return!1;return!0}else{let i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!vr(e.segments,i)||!Tc(e.segments,i,r)||!e.children[j]?!1:cD(e.children[j],n,o,r)}}function Tc(e,n,t){return n.every((r,i)=>oD[t](e[i].parameters,r.parameters))}var Ht=class{root;queryParams;fragment;_queryParamMap;constructor(n=new q([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Dr(this.queryParams),this._queryParamMap}toString(){return rx.serialize(this)}},q=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return xc(this)}},xn=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=Dr(this.parameters),this._parameterMap}toString(){return uD(this)}};function tx(e,n){return vr(e,n)&&e.every((t,r)=>Ut(t.parameters,n[r].parameters))}function vr(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function nx(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===j&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==j&&(t=t.concat(n(i,r)))}),t}var Sr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new An,providedIn:"root"})}return e})(),An=class{parse(n){let t=new uh(n);return new Ht(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${jo(n.root,!0)}`,r=sx(n.queryParams),i=typeof n.fragment=="string"?`#${ix(n.fragment)}`:"";return`${t}${r}${i}`}},rx=new An;function xc(e){return e.segments.map(n=>uD(n)).join("/")}function jo(e,n){if(!e.hasChildren())return xc(e);if(n){let t=e.children[j]?jo(e.children[j],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==j&&r.push(`${i}:${jo(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=nx(e,(r,i)=>i===j?[jo(e.children[j],!1)]:[`${i}:${jo(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[j]!=null?`${xc(e)}/${t[0]}`:`${xc(e)}/(${t.join("//")})`}}function lD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _c(e){return lD(e).replace(/%3B/gi,";")}function ix(e){return encodeURI(e)}function lh(e){return lD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ac(e){return decodeURIComponent(e)}function Ky(e){return Ac(e.replace(/\+/g,"%20"))}function uD(e){return`${lh(e.path)}${ox(e.parameters)}`}function ox(e){return Object.entries(e).map(([n,t])=>`;${lh(n)}=${lh(t)}`).join("")}function sx(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(i=>`${_c(t)}=${_c(i)}`).join("&"):`${_c(t)}=${_c(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var ax=/^[^\/()?;#]+/;function rh(e){let n=e.match(ax);return n?n[0]:""}var cx=/^[^\/()?;=#]+/;function lx(e){let n=e.match(cx);return n?n[0]:""}var ux=/^[^=?&#]+/;function dx(e){let n=e.match(ux);return n?n[0]:""}var fx=/^[^&#]+/;function hx(e){let n=e.match(fx);return n?n[0]:""}var uh=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new q([],{}):new q([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[j]=new q(n,t)),r}parseSegment(){let n=rh(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(n),new xn(Ac(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=lx(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let i=rh(this.remaining);i&&(r=i,this.capture(r))}n[Ac(t)]=Ac(r)}parseQueryParam(n){let t=dx(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=hx(this.remaining);s&&(r=s,this.capture(r))}let i=Ky(t),o=Ky(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=rh(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new _(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=j);let s=this.parseChildren();t[o]=Object.keys(s).length===1?s[j]:new q([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new _(4011,!1)}};function dD(e){return e.segments.length>0?new q([],{[j]:e}):e}function fD(e){let n={};for(let[r,i]of Object.entries(e.children)){let o=fD(i);if(r===j&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}let t=new q(e.segments,n);return px(t)}function px(e){if(e.numberOfChildren===1&&e.children[j]){let n=e.children[j];return new q(e.segments.concat(n.segments),n.children)}return e}function Nn(e){return e instanceof Ht}function hD(e,n,t=null,r=null){let i=pD(e);return gD(i,n,t,r)}function pD(e){let n;function t(o){let s={};for(let c of o.children){let l=t(c);s[c.outlet]=l}let a=new q(o.url,s);return o===e&&(n=a),a}let r=t(e.root),i=dD(r);return n??i}function gD(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(n.length===0)return ih(i,i,i,t,r);let o=gx(n);if(o.toRoot())return ih(i,i,new q([],{}),t,r);let s=mx(o,i,e),a=s.processChildren?Uo(s.segmentGroup,s.index,o.commands):vD(s.segmentGroup,s.index,o.commands);return ih(i,s.segmentGroup,a,t,r)}function Rc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ho(e){return typeof e=="object"&&e!=null&&e.outlets}function ih(e,n,t,r,i){let o={};r&&Object.entries(r).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;e===n?s=t:s=mD(e,n,t);let a=dD(fD(s));return new Ht(a,o,i)}function mD(e,n,t){let r={};return Object.entries(e.children).forEach(([i,o])=>{o===n?r[i]=t:r[i]=mD(o,n,t)}),new q(e.segments,r)}var kc=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Rc(r[0]))throw new _(4003,!1);let i=r.find(Ho);if(i&&i!==iD(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function gx(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new kc(!0,0,e);let n=0,t=!1,r=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new kc(t,n,r)}var yi=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function mx(e,n,t){if(e.isAbsolute)return new yi(n,!0,0);if(!t)return new yi(n,!1,NaN);if(t.parent===null)return new yi(t,!0,0);let r=Rc(e.commands[0])?0:1,i=t.segments.length-1+r;return vx(t,i,e.numberOfDoubleDots)}function vx(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new _(4005,!1);i=r.segments.length}return new yi(r,!1,i-o)}function yx(e){return Ho(e[0])?e[0].outlets:{[j]:e}}function vD(e,n,t){if(e??=new q([],{}),e.segments.length===0&&e.hasChildren())return Uo(e,n,t);let r=Dx(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let o=new q(e.segments.slice(0,r.pathIndex),{});return o.children[j]=new q(e.segments.slice(r.pathIndex),e.children),Uo(o,0,i)}else return r.match&&i.length===0?new q(e.segments,{}):r.match&&!e.hasChildren()?dh(e,n,t):r.match?Uo(e,0,i):dh(e,n,t)}function Uo(e,n,t){if(t.length===0)return new q(e.segments,{});{let r=yx(t),i={};if(Object.keys(r).some(o=>o!==j)&&e.children[j]&&e.numberOfChildren===1&&e.children[j].segments.length===0){let o=Uo(e.children[j],n,t);return new q(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=vD(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new q(e.segments,i)}}function Dx(e,n,t){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=t.length)return o;let s=e.segments[i],a=t[r];if(Ho(a))break;let c=`${a}`,l=r<t.length-1?t[r+1]:null;if(i>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Jy(c,l,s))return o;r+=2}else{if(!Jy(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function dh(e,n,t){let r=e.segments.slice(0,n),i=0;for(;i<t.length;){let o=t[i];if(Ho(o)){let c=Sx(o.outlets);return new q(r,c)}if(i===0&&Rc(t[0])){let c=e.segments[n];r.push(new xn(c.path,Qy(t[0]))),i++;continue}let s=Ho(o)?o.outlets[j]:`${o}`,a=i<t.length-1?t[i+1]:null;s&&a&&Rc(a)?(r.push(new xn(s,Qy(a))),i+=2):(r.push(new xn(s,{})),i++)}return new q(r,{})}function Sx(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=dh(new q([],{}),0,r))}),n}function Qy(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function Jy(e,n,t){return e==t.path&&Ut(n,t.parameters)}var Nc="imperative",Se=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Se||{}),rt=class{id;url;constructor(n,t){this.id=n,this.url=t}},Rn=class extends rt{type=Se.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",i=null){super(n,t),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ye=class extends rt{urlAfterRedirects;type=Se.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(Ze||{}),Si=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Si||{}),Bt=class extends rt{reason;code;type=Se.NavigationCancel;constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},$t=class extends rt{reason;code;type=Se.NavigationSkipped;constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i}},wi=class extends rt{error;target;type=Se.NavigationError;constructor(n,t,r,i){super(n,t),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},$o=class extends rt{urlAfterRedirects;state;type=Se.RoutesRecognized;constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Oc=class extends rt{urlAfterRedirects;state;type=Se.GuardsCheckStart;constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fc=class extends rt{urlAfterRedirects;state;shouldActivate;type=Se.GuardsCheckEnd;constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Pc=class extends rt{urlAfterRedirects;state;type=Se.ResolveStart;constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lc=class extends rt{urlAfterRedirects;state;type=Se.ResolveEnd;constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jc=class{route;type=Se.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Vc=class{route;type=Se.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Uc=class{snapshot;type=Se.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bc=class{snapshot;type=Se.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hc=class{snapshot;type=Se.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$c=class{snapshot;type=Se.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ci=class{routerEvent;position;anchor;type=Se.Scroll;constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},zo=class{},Ii=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function wx(e,n){return e.providers&&!e._injector&&(e._injector=Eo(e.providers,n,`Route: ${e.path}`)),e._injector??n}function Mt(e){return e.outlet||j}function Cx(e,n){let t=e.filter(r=>Mt(r)===n);return t.push(...e.filter(r=>Mt(r)!==n)),t}function Qo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var zc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Qo(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new wr(this.rootInjector)}},wr=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new zc(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(y(Re))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wc=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=fh(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=fh(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=hh(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return hh(n,this._root).map(t=>t.value)}};function fh(e,n){if(e===n.value)return n;for(let t of n.children){let r=fh(e,t);if(r)return r}return null}function hh(e,n){if(e===n.value)return[n];for(let t of n.children){let r=hh(e,t);if(r.length)return r.unshift(n),r}return[]}var nt=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function vi(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var Wo=class extends Wc{snapshot;constructor(n,t){super(n),this.snapshot=t,wh(this,n)}toString(){return this.snapshot.toString()}};function yD(e){let n=Ix(e),t=new ge([new xn("",{})]),r=new ge({}),i=new ge({}),o=new ge({}),s=new ge(""),a=new sn(t,r,o,s,i,j,e,n.root);return a.snapshot=n.root,new Wo(new nt(a,[]),n)}function Ix(e){let n={},t={},r={},i="",o=new yr([],n,r,i,t,j,e,null,{});return new Go("",new nt(o,[]))}var sn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,i,o,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(N(l=>l[Ko]))??M(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(N(n=>Dr(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(N(n=>Dr(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Gc(e,n,t="emptyOnly"){let r,{routeConfig:i}=e;return n!==null&&(t==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:w(w({},n.params),e.params),data:w(w({},n.data),e.data),resolve:w(w(w(w({},e.data),n.data),i?.data),e._resolvedData)}:r={params:w({},e.params),data:w({},e.data),resolve:w(w({},e.data),e._resolvedData??{})},i&&SD(i)&&(r.resolve[Ko]=i.title),r}var yr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Ko]}constructor(n,t,r,i,o,s,a,c,l){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Dr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Dr(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Go=class extends Wc{url;constructor(n,t){super(t),this.url=n,wh(this,t)}toString(){return DD(this._root)}};function wh(e,n){n.value._routerState=e,n.children.forEach(t=>wh(e,t))}function DD(e){let n=e.children.length>0?` { ${e.children.map(DD).join(", ")} } `:"";return`${e.value}${n}`}function oh(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Ut(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Ut(n.params,t.params)||e.paramsSubject.next(t.params),QT(n.url,t.url)||e.urlSubject.next(t.url),Ut(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ph(e,n){let t=Ut(e.params,n.params)&&tx(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||ph(e.parent,n.parent))}function SD(e){return typeof e.title=="string"||e.title===null}var wD=new b(""),Jo=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=j;activateEvents=new ue;deactivateEvents=new ue;attachEvents=new ue;detachEvents=new ue;routerOutletData=lr(void 0);parentContexts=h(wr);location=h(Cn);changeDetector=h(En);inputBinder=h(Xo,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=t;let i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new gh(t,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=X({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Pt]})}return e})(),gh=class{route;childContexts;parent;outletData;constructor(n,t,r,i){this.route=n,this.childContexts=t,this.parent=r,this.outletData=i}get(n,t){return n===sn?this.route:n===wr?this.childContexts:n===wD?this.outletData:this.parent.get(n,t)}},Xo=new b(""),Ch=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,i=to([r.queryParams,r.params,r.data]).pipe(be(([o,s,a],c)=>(a=w(w(w({},o),s),a),c===0?M(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=my(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(t,i)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Ih=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&z(0,"router-outlet")},dependencies:[Jo],encapsulation:2})}return e})();function Eh(e){let n=e.children&&e.children.map(Eh),t=n?P(w({},e),{children:n}):w({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==j&&(t.component=Ih),t}function Ex(e,n,t){let r=qo(e,n._root,t?t._root:void 0);return new Wo(r,n)}function qo(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let i=bx(e,n,t);return new nt(r,i)}else{if(e.shouldAttach(n.value)){let o=e.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>qo(e,a)),s}}let r=_x(n.value),i=n.children.map(o=>qo(e,o));return new nt(r,i)}}function bx(e,n,t){return n.children.map(r=>{for(let i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return qo(e,r,i);return qo(e,r)})}function _x(e){return new sn(new ge(e.url),new ge(e.params),new ge(e.queryParams),new ge(e.fragment),new ge(e.data),e.outlet,e.component,e)}var Ei=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},CD="ngNavigationCancelingError";function qc(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=Nn(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=ID(!1,Ze.Redirect);return i.url=t,i.navigationBehaviorOptions=r,i}function ID(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[CD]=!0,t.cancellationCode=n,t}function Mx(e){return ED(e)&&Nn(e.url)}function ED(e){return!!e&&e[CD]}var Tx=(e,n,t,r)=>N(i=>(new mh(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)),mh=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),oh(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let i=vi(t);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){let i=n.value,o=t?t.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=vi(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=vi(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let i=vi(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new $c(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Bc(n.value.snapshot))}activateRoutes(n,t,r){let i=n.value,o=t?t.value:null;if(oh(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),oh(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Zc=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Di=class{component;route;constructor(n,t){this.component=n,this.route=t}};function xx(e,n,t){let r=e._root,i=n?n._root:null;return Vo(r,i,t,[r.value])}function Ax(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function _i(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Pg(e)?e:n.get(e):r}function Vo(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=vi(n);return e.children.forEach(s=>{Nx(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Bo(a,t.getContext(s),i)),i}function Nx(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Rx(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Zc(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Vo(e,n,a?a.children:null,r,i):Vo(e,n,t,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Di(a.outlet.component,s))}else s&&Bo(n,a,i),i.canActivateChecks.push(new Zc(r)),o.component?Vo(e,null,a?a.children:null,r,i):Vo(e,null,t,r,i);return i}function Rx(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!vr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!vr(e.url,n.url)||!Ut(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ph(e,n)||!Ut(e.queryParams,n.queryParams);case"paramsChange":default:return!ph(e,n)}}function Bo(e,n,t){let r=vi(e),i=e.value;Object.entries(r).forEach(([o,s])=>{i.component?n?Bo(s,n.children.getContext(o),t):Bo(s,null,t):Bo(s,n,t)}),i.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Di(n.outlet.component,i)):t.canDeactivateChecks.push(new Di(null,i)):t.canDeactivateChecks.push(new Di(null,i))}function es(e){return typeof e=="function"}function kx(e){return typeof e=="boolean"}function Ox(e){return e&&es(e.canLoad)}function Fx(e){return e&&es(e.canActivate)}function Px(e){return e&&es(e.canActivateChild)}function Lx(e){return e&&es(e.canDeactivate)}function jx(e){return e&&es(e.canMatch)}function bD(e){return e instanceof pt||e?.name==="EmptyError"}var Mc=Symbol("INITIAL_VALUE");function bi(){return be(e=>to(e.map(n=>n.pipe(At(1),yu(Mc)))).pipe(N(n=>{for(let t of n)if(t!==!0){if(t===Mc)return Mc;if(t===!1||Vx(t))return t}return!0}),Ee(n=>n!==Mc),At(1)))}function Vx(e){return Nn(e)||e instanceof Ei}function Ux(e,n){return ie(t=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return s.length===0&&o.length===0?M(P(w({},t),{guardsResult:!0})):Bx(s,r,i,e).pipe(ie(a=>a&&kx(a)?Hx(r,o,e,n):M(a)),N(a=>P(w({},t),{guardsResult:a})))})}function Bx(e,n,t,r){return G(e).pipe(ie(i=>qx(i.component,i.route,t,n,r)),Yt(i=>i!==!0,!0))}function Hx(e,n,t,r){return G(n).pipe(ot(i=>Or(zx(i.route.parent,r),$x(i.route,r),Gx(e,i.path,t),Wx(e,i.route,t))),Yt(i=>i!==!0,!0))}function $x(e,n){return e!==null&&n&&n(new Hc(e)),M(!0)}function zx(e,n){return e!==null&&n&&n(new Uc(e)),M(!0)}
8function Wx(e,n,t){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return M(!0);let i=r.map(o=>Zs(()=>{let s=Qo(n)??t,a=_i(o,s),c=Fx(a)?a.canActivate(n,e):We(s,()=>a(n,e));return kn(c).pipe(Yt())}));return M(i).pipe(bi())}function Gx(e,n,t){let r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>Ax(s)).filter(s=>s!==null).map(s=>Zs(()=>{let a=s.guards.map(c=>{let l=Qo(s.node)??t,u=_i(c,l),d=Px(u)?u.canActivateChild(r,e):We(l,()=>u(r,e));return kn(d).pipe(Yt())});return M(a).pipe(bi())}));return M(o).pipe(bi())}function qx(e,n,t,r,i){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return M(!0);let s=o.map(a=>{let c=Qo(n)??i,l=_i(a,c),u=Lx(l)?l.canDeactivate(e,n,t,r):We(c,()=>l(e,n,t,r));return kn(u).pipe(Yt())});return M(s).pipe(bi())}function Zx(e,n,t,r){let i=n.canLoad;if(i===void 0||i.length===0)return M(!0);let o=i.map(s=>{let a=_i(s,e),c=Ox(a)?a.canLoad(n,t):We(e,()=>a(n,t));return kn(c)});return M(o).pipe(bi(),_D(r))}function _D(e){return tu(ne(n=>{if(typeof n!="boolean")throw qc(e,n)}),N(n=>n===!0))}function Yx(e,n,t,r){let i=n.canMatch;if(!i||i.length===0)return M(!0);let o=i.map(s=>{let a=_i(s,e),c=jx(a)?a.canMatch(n,t):We(e,()=>a(n,t));return kn(c)});return M(o).pipe(bi(),_D(r))}var Zo=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Yo=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function mi(e){return Zt(new Zo(e))}function Kx(e){return Zt(new _(4e3,!1))}function Qx(e){return Zt(ID(!1,Ze.GuardRejected))}var vh=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return M(r);if(i.numberOfChildren>1||!i.children[j])return Kx(`${n.redirectTo}`);i=i.children[j]}}applyRedirectCommands(n,t,r,i,o){if(typeof t!="string"){let a=t,{queryParams:c,fragment:l,routeConfig:u,url:d,outlet:p,params:f,data:g,title:E}=i,T=We(o,()=>a({params:f,data:g,queryParams:c,fragment:l,routeConfig:u,url:d,outlet:p,title:E}));if(T instanceof Ht)throw new Yo(T);t=T}let s=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t[0]==="/")throw new Yo(s);return s}applyRedirectCreateUrlTree(n,t,r,i){let o=this.createSegmentGroup(n,t.root,r,i);return new Ht(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){let o=this.createSegments(n,t.segments,r,i),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,i)}),new q(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){let i=r[t.path.substring(1)];if(!i)throw new _(4001,!1);return i}findOrReturn(n,t){let r=0;for(let i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}},yh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Jx(e,n,t,r,i){let o=MD(e,n,t);return o.matched?(r=wx(n,r),Yx(r,n,t,i).pipe(N(s=>s===!0?o:w({},yh)))):M(o)}function MD(e,n,t){if(n.path==="**")return Xx(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?w({},yh):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let i=(n.matcher||nD)(t,e,n);if(!i)return w({},yh);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?w(w({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Xx(e){return{matched:!0,parameters:e.length>0?iD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Xy(e,n,t,r){return t.length>0&&nA(e,t,r)?{segmentGroup:new q(n,tA(r,new q(t,e.children))),slicedSegments:[]}:t.length===0&&rA(e,t,r)?{segmentGroup:new q(e.segments,eA(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new q(e.segments,e.children),slicedSegments:t}}function eA(e,n,t,r){let i={};for(let o of t)if(Kc(e,n,o)&&!r[Mt(o)]){let s=new q([],{});i[Mt(o)]=s}return w(w({},r),i)}function tA(e,n){let t={};t[j]=n;for(let r of e)if(r.path===""&&Mt(r)!==j){let i=new q([],{});t[Mt(r)]=i}return t}function nA(e,n,t){return t.some(r=>Kc(e,n,r)&&Mt(r)!==j)}function rA(e,n,t){return t.some(r=>Kc(e,n,r))}function Kc(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function iA(e,n,t){return n.length===0&&!e.children[t]}var Dh=class{};function oA(e,n,t,r,i,o,s="emptyOnly"){return new Sh(e,n,t,r,i,s,o).recognize()}var sA=31,Sh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
8=a,this.applyRedirects=new vh(this.urlSerializer,this.urlTree)}noMatchError(n){return new _(4002,`'${n.segmentGroup}'`)}recognize(){let n=Xy(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(N(({children:t,rootSnapshot:r})=>{let i=new nt(r,t),o=new Go("",i),s=hD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let t=new yr([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),j,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,j,t).pipe(N(r=>({children:r,rootSnapshot:t})),gt(r=>{if(r instanceof Yo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Zo?this.noMatchError(r):r}))}processSegmentGroup(n,t,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,t,r,o):this.processSegment(n,t,r,r.segments,i,!0,o).pipe(N(s=>s instanceof nt?[s]:[]))}processChildren(n,t,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return G(o).pipe(ot(s=>{let a=r.children[s],c=Cx(t,s);return this.processSegmentGroup(n,c,a,s,i)}),gu((s,a)=>(s.push(...a),s)),fn(null),hu(),ie(s=>{if(s===null)return mi(r);let a=TD(s);return aA(a),M(a)}))}processSegment(n,t,r,i,o,s,a){return G(t).pipe(ot(c=>this.processSegmentAgainstRoute(c._injector??n,t,c,r,i,o,s,a).pipe(gt(l=>{if(l instanceof Zo)return M(null);throw l}))),Yt(c=>!!c),gt(c=>{if(bD(c))return iA(r,i,o)?M(new Dh):mi(r);throw c}))}processSegmentAgainstRoute(n,t,r,i,o,s,a,c){return Mt(r)!==s&&(s===j||!Kc(i,o,r))?mi(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s,c):mi(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=MD(t,i,o);if(!c)return mi(t);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>sA&&(this.allowRedirects=!1));let f=new yr(o,l,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,eD(i),Mt(i),i.component??i._loadedComponent??null,i,tD(i)),g=Gc(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let E=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,d,f,n);return this.applyRedirects.lineralizeSegments(i,E).pipe(ie(T=>this.processSegment(n,r,t,T.concat(p),s,!1,a)))}matchSegmentAgainstRoute(n,t,r,i,o,s){let a=Jx(t,r,i,n,this.urlSerializer);return r.path==="**"&&(t.children={}),a.pipe(be(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(be(({routes:l})=>{let u=r._loadedInjector??n,{parameters:d,consumedSegments:p,remainingSegments:f}=c,g=new yr(p,d,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,eD(r),Mt(r),r.component??r._loadedComponent??null,r,tD(r)),E=Gc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:T,slicedSegments:R}=Xy(t,p,f,l);if(R.length===0&&T.hasChildren())return this.processChildren(u,l,T,g).pipe(N(he=>new nt(g,he)));if(l.length===0&&R.length===0)return M(new nt(g,[]));let Me=Mt(r)===o;return this.processSegment(u,l,T,R,Me?j:o,!0,g).pipe(N(he=>new nt(g,he instanceof nt?[he]:[])))}))):mi(t)))}getChildConfig(n,t,r){return t.children?M({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?M({routes:t._loadedRoutes,injector:t._loadedInjector}):Zx(n,t,r,this.urlSerializer).pipe(ie(i=>i?this.configLoader.loadChildren(n,t).pipe(ne(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):Qx(t))):M({routes:[],injector:n})}};function aA(e){e.sort((n,t)=>n.value.outlet===j?-1:t.value.outlet===j?1:n.value.outlet.localeCompare(t.value.outlet))}function cA(e){let n=e.value.routeConfig;return n&&n.path===""}function TD(e){let n=[],t=new Set;for(let r of e){if(!cA(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),t.add(i)):n.push(r)}for(let r of t){let i=TD(r.children);n.push(new nt(r.value,i))}return n.filter(r=>!t.has(r))}function eD(e){return e.data||{}}function tD(e){return e.resolve||{}}function lA(e,n,t,r,i,o){return ie(s=>oA(e,n,t,r,s.extractedUrl,i,o).pipe(N(({state:a,tree:c})=>P(w({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function uA(e,n){return ie(t=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return M(t);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of xD(c))s.add(l);let a=0;return G(s).pipe(ot(c=>
8o.has(c)?dA(c,r,e,n):(c.data=Gc(c,c.parent,e).resolve,M(void 0))),ne(()=>a++),Pr(1),ie(c=>a===s.size?M(t):Ie))})}function xD(e){let n=e.children.map(t=>xD(t)).flat();return[e,...n]}function dA(e,n,t,r){let i=e.routeConfig,o=e._resolve;return i?.title!==void 0&&!SD(i)&&(o[Ko]=i.title),fA(o,e,n,r).pipe(N(s=>(e._resolvedData=s,e.data=Gc(e,e.parent,t).resolve,null)))}function fA(e,n,t,r){let i=ch(e);if(i.length===0)return M({});let o={};return G(i).pipe(ie(s=>hA(e[s],n,t,r).pipe(Yt(),ne(a=>{if(a instanceof Ei)throw qc(new An,a);o[s]=a}))),Pr(1),N(()=>o),gt(s=>bD(s)?Ie:Zt(s)))}function hA(e,n,t,r){let i=Qo(n)??r,o=_i(e,i),s=o.resolve?o.resolve(n,t):We(i,()=>o(n,t));return kn(s)}function sh(e){return be(n=>{let t=e(n);return t?G(t).pipe(N(()=>n)):M(n)})}var bh=(()=>{class e{buildTitle(t){let r,i=t.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===j);return r}getResolvedTitleForRoute(t){return t.data[Ko]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(AD),providedIn:"root"})}return e})(),AD=(()=>{class e extends bh{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(y(qy))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Cr=new b("",{providedIn:"root",factory:()=>({})}),Mi=new b(""),Qc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(dy);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return M(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=kn(t.loadComponent()).pipe(N(RD),ne(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),hn(()=>{this.componentLoaders.delete(t)})),i=new Nr(r,()=>new Z).pipe(Ar());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return M({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=ND(r,this.compiler,t,this.onLoadEndListener).pipe(hn(()=>{this.childrenLoaders.delete(r)})),s=new Nr(o,()=>new Z).pipe(Ar());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ND(e,n,t,r){return kn(e.loadChildren()).pipe(N(RD),ie(i=>i instanceof Ef||Array.isArray(i)?M(i):G(n.compileModuleAsync(i))),N(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(t).injector,s=o.get(Mi,[],{optional:!0,self:!0}).flat()),{routes:s.map(Eh),injector:o}}))}function pA(e){return e&&typeof e=="object"&&"default"in e}function RD(e){return pA(e)?e.default:e}var Jc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(gA),providedIn:"root"})}return e})(),gA=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_h=new b(""),Mh=new b("");function kD(e,n,t){let r=e.get(Mh),i=e.get(oe);return e.get(Q).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let o,s=new Promise(l=>{o=l}),a=i.startViewTransition(()=>(o(),mA(e))),{onViewTransitionCreated:c}=r;return c&&We(e,()=>c({transition:a,from:n,to:t})),s})}function mA(e){return new Promise(n=>{af({read:()=>setTimeout(n)},{injector:e})})}var Th=new b(""),Xc=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new Z;transitionAbortSubject=new Z;configLoader=h(Qc);environmentInjector=h(Re);destroyRef=h(le);urlSerializer=h(Sr);rootContexts=h(wr);location=h(bn);inputBindingEnabled=h(Xo,{optional:!0})!==null;titleStrategy=h(bh);options=h(Cr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(Jc);createViewTransition=h(_h,{optional:!0});navigationErrorHandler=h(Th,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>M(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=i=>this.events.next(new jc(i)),r=i=>this.events.next(new Vc(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(P(w({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))}setupNavigations(t){return this.transitions=new ge(null),this.transitions.pipe(Ee(r=>r!==null),be(r=>{let i=!1,o=!1;return M(r).pipe(be(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Ze.SupersededByNewNavigation),Ie;this.currentTransition=r,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?P(w({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=s.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!a&&c!=="reload"){let l="";return this.events.next(new $t(s.id,this.urlSerializer.serialize(s.rawUrl),l,Si.IgnoredSameUrlNavigation)),s.resolve(!1),Ie}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return M(s).pipe(be(l=>(this.events.next(new Rn(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?Ie:Promise.resolve(l))),lA(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),ne(l=>{r.targetSnapshot=l.targetSnapshot,r.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation=P(w({},this.currentNavigation),{finalUrl:l.urlAfterRedirects});let u=new $o(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:l,extractedUrl:u,source:d,restoredState:p,extras:f}=s,g=new Rn(l,this.urlSerializer.serialize(u),d,p);this.events.next(g);let E=yD(this.rootComponentType).snapshot;return this.currentTransition=r=P(w({},s),{targetSnapshot:E,urlAfterRedirects:u,extras:P(w({},f),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=u,M(r)}else{let l="";return this.events.next(new $t(s.id,this.urlSerializer.serialize(s.extractedUrl),l,Si.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Ie}}),ne(s=>{let a=new Oc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),N(s=>
8(this.currentTransition=r=P(w({},s),{guards:xx(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),r)),Ux(this.environmentInjector,s=>this.events.next(s)),ne(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw qc(this.urlSerializer,s.guardsResult);let a=new Fc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Ee(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",Ze.GuardRejected),!1)),sh(s=>{if(s.guards.canActivateChecks.length!==0)return M(s).pipe(ne(a=>{let c=new Pc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),be(a=>{let c=!1;return M(a).pipe(uA(this.paramsInheritanceStrategy,this.environmentInjector),ne({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(a,"",Ze.NoDataFromResolver)}}))}),ne(a=>{let c=new Lc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}))}),sh(s=>{let a=c=>{let l=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(c.routeConfig).pipe(ne(u=>{c.component=u}),N(()=>{})));for(let u of c.children)l.push(...a(u));return l};return to(a(s.targetSnapshot.root)).pipe(fn(null),At(1))}),sh(()=>this.afterPreactivation()),be(()=>{let{currentSnapshot:s,targetSnapshot:a}=r,c=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return c?G(c).pipe(N(()=>r)):M(r)}),N(s=>{let a=Ex(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r=P(w({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,r}),ne(()=>{this.events.next(new zo)}),Tx(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),At(1),ne({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ye(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),no(this.transitionAbortSubject.pipe(ne(s=>{throw s}))),hn(()=>{!i&&!o&&this.cancelNavigationTransition(r,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),gt(s=>{if(this.destroyed)return r.resolve(!1),Ie;if(o=!0,ED(s))this.events.next(new Bt(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),Mx(s)?this.events.next(new Ii(s.url,s.navigationBehaviorOptions)):r.resolve(!1);else{let a=new wi(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{let c=We(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(c instanceof Ei){let{message:l,cancellationCode:u}=qc(this.urlSerializer,c);this.events.next(new Bt(r.id,this.urlSerializer.serialize(r.extractedUrl),l,u)),this.events.next(new Ii(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(c){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(c)}}return Ie}))}))}cancelNavigationTransition(t,r,i){let o=new Bt(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vA(e){return e!==Nc}var OD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(yA),providedIn:"root"})}return e})(),Yc=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}
vendor: 8,667 bytes, line 8
8shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},yA=(()=>{class e extends Yc{static \u0275fac=(()=>{let t;return function(i){return(t||(t=ni(e)))(i||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),FD=(()=>{class e{urlSerializer=h(Sr);options=h(Cr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(bn);urlHandlingStrategy=h(Jc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ht;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:i}){let o=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=i??o;return s instanceof Ht?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:i}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=t):this.rawUrlTree=i}routerState=yD(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(DA),providedIn:"root"})}return e})(),DA=(()=>{class e extends FD{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate")})})}handleRouterEvent(t,r){t instanceof Rn?this.updateStateMemento():t instanceof $t?this.commitTransition(r):t instanceof $o?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof zo?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Bt&&(t.code===Ze.GuardRejected||t.code===Ze.NoDataFromResolver)?this.restoreHistory(r):t instanceof wi?this.restoreHistory(r,!0):t instanceof Ye&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:i}){let{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||o){let a=this.browserPageId,c=w(w({},s),this.generateNgRouterState(i,a));this.location.replaceState(t,"",c)}else{let a=w(w({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===t.finalUrl&&o===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(i){return(t||(t=ni(e)))(i||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function el(e,n){e.events.pipe(Ee(t=>t instanceof Ye||t instanceof Bt||t instanceof wi||t instanceof $t),N(t=>t instanceof Ye||t instanceof $t?0:(t instanceof Bt?t.code===Ze.Redirect||t.code===Ze.SupersededByNewNavigation:!1)?2:1),Ee(t=>t!==2),At(1)).subscribe(()=>{n()})}var SA={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wA={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ae=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(Wv);stateManager=h(FD);options=h(Cr,{optional:!0})||{};pendingTasks=h(Dn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(Xc);urlSerializer=h(Sr);location=h(bn);urlHandlingStrategy=h(Jc);_events=new Z;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(OD);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Mi,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(Xo,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ae;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof Bt&&r.code!==Ze.Redirect&&r.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ye)this.navigated=!0;else if(r instanceof Ii){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=w({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||vA(i.source)},s);this.scheduleNavigation(a,Nc,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}IA(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Nc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,i)=>{this.navigateToSyncWithBrowser(t,i,r)})}navigateToSyncWithBrowser(t,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=w({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Eh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=w(w({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let p=i?i.snapshot:this.routerState.snapshot.root;d=pD(p)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return gD(d,t,u,l??null)}navigateByUrl(t,r={skipLocationChange:!1}){let i=Nn(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Nc,null,r)}navigate(t,r={skipLocationChange:!1}){return CA(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let i;if(r===!0?i=w({},SA):r===!1?i=w({},wA):i=r,Nn(t))return Yy(this.currentUrlTree,t,i);let o=this.parseUrl(t);return Yy(this.currentUrlTree,o,i)}removeEmptyProps(t){return Object.entries(t).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}
8scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,p)=>{a=d,c=p});let u=this.pendingTasks.add();return el(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function CA(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new _(4008,!1)}function IA(e){return!(e instanceof zo)&&!(e instanceof Ii)}var zt=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Z;constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof Ye&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Nn(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:dv(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,t,r):i.removeAttribute(o,t)}get urlTree(){return this.routerLinkInput===null?null:Nn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(A(Ae),A(sn),Xd("tabindex"),A(dr),A(ke),A(tt))};static \u0275dir=X({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&Oe("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&ic("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",li],skipLocationChange:[2,"skipLocationChange","skipLocationChange",li],replaceUrl:[2,"replaceUrl","replaceUrl",li],routerLink:"routerLink"},features:[Pt]})}return e})();var ts=class{};var PD=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,i,o){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Ee(t=>t instanceof Ye),ot(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=Eo(o.providers,t,`Route: ${o.path}`));let s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return G(i).pipe(dn())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(t,r):i=M(null);let o=i.pipe(ie(s=>s===null?M(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return G([o,s]).pipe(dn())}else return o}
8)}static \u0275fac=function(r){return new(r||e)(y(Ae),y(Re),y(ts),y(Qc))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),LD=new b(""),EA=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Rn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ye?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof $t&&t.code===Si.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Ci&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ci(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Pv()};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function bA(e){return e.routerState.root}function ns(e,n){return{\u0275kind:e,\u0275providers:n}}function _A(){let e=h(xe);return n=>{let t=e.get(vn);if(n!==t.components[0])return;let r=e.get(Ae),i=e.get(jD);e.get(Ah)===1&&r.initialNavigation(),e.get(BD,null,V.Optional)?.setUpPreloading(),e.get(LD,null,V.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var jD=new b("",{factory:()=>new Z}),Ah=new b("",{providedIn:"root",factory:()=>1});function VD(){let e=[{provide:Ah,useValue:0},_o(()=>{let n=h(xe);return n.get(jf,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(Ae),o=n.get(jD);el(i,()=>{r(!0)}),n.get(Xc).afterPreactivation=()=>(r(!0),o.closed?M(void 0):o),i.initialNavigation()}))})];return ns(2,e)}function UD(){let e=[_o(()=>{h(Ae).setUpLocationChangeListener()}),{provide:Ah,useValue:2}];return ns(3,e)}var BD=new b("");function HD(e){return ns(0,[{provide:BD,useExisting:PD},{provide:ts,useExisting:e}])}function $D(){return ns(8,[Ch,{provide:Xo,useExisting:Ch}])}function zD(e){wn("NgRouterViewTransitions");let n=[{provide:_h,useValue:kD},{provide:Mh,useValue:w({skipNextTransition:!!e?.skipInitialTransition},e)}];return ns(9,n)}var WD=[bn,{provide:Sr,useClass:An},Ae,wr,{provide:sn,useFactory:bA,deps:[Ae]},Qc,[]],tl=(()=>{class e{constructor(){}static forRoot(t,r){return{ngModule:e,providers:[WD,[],{provide:Mi,multi:!0,useValue:t},[],r?.errorHandler?{provide:Th,useValue:r.errorHandler}:[],{provide:Cr,useValue:r||{}},r?.useHash?TA():xA(),MA(),r?.preloadingStrategy?HD(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?AA(r):[],r?.bindToComponentInputs?$D().\u0275providers:[],r?.enableViewTransitions?zD().\u0275providers:[],NA()]}}static forChild(t){return{ngModule:e,providers:[{provide:Mi,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=De({type:e});static \u0275inj=ve({})}return e})();function MA(){return{provide:LD,useFactory:()=>{let e=h(Ey),n=h(Q),t=h(Cr),r=h(Xc),i=h(Sr);return t.scrollOffset&&e.setOffset(t.scrollOffset),new EA(i,r,e,n,t)}}}function TA(){return{provide:tt,useClass:Uf}}function xA(){return{provide:tt,useClass:di}}function AA(e){return[e.initialNavigation==="disabled"?UD().\u0275providers:[],e.initialNavigation==="enabledBlocking"?VD().\u0275providers:[]]}var xh=new b("");function NA(){return[{provide:xh,useFactory:_A},{provide:xf,multi:!0,useExisting:xh}]}var JD=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||e)(A(dr),A(ke))};static \u0275dir=X({type:e})}return e})(),RA=(()=>{class e extends JD{static \u0275fac=(()=>{let t;return function(i){return(t||(t=ni(e)))(i||e)}})();static \u0275dir=X({type:e,features:[ct]})}return e})(),XD=new b("");var kA={provide:XD,useExisting:Jt(()=>eS),multi:!0};function OA(){let e=et()?et().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var FA=new b(""),eS=(()=>{class e extends JD{_compositionMode;_composing=!1;constructor(t,r,i){super(t,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!OA())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}
vendor: 5,835 bytes, line 8
8_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(A(dr),A(ke),A(FA,8))};static \u0275dir=X({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&Oe("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[nn([kA]),ct]})}return e})();function kh(e){return e==null||Oh(e)===0}function Oh(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var Er=new b(""),cs=new b(""),PA=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,we=class{static min(n){return LA(n)}static max(n){return jA(n)}static required(n){return VA(n)}static requiredTrue(n){return UA(n)}static email(n){return BA(n)}static minLength(n){return HA(n)}static maxLength(n){return $A(n)}static pattern(n){return zA(n)}static nullValidator(n){return tS()}static compose(n){return aS(n)}static composeAsync(n){return cS(n)}};function LA(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function jA(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function VA(e){return kh(e.value)?{required:!0}:null}function UA(e){return e.value===!0?null:{required:!0}}function BA(e){return kh(e.value)||PA.test(e.value)?null:{email:!0}}function HA(e){return n=>{let t=n.value?.length??Oh(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function $A(e){return n=>{let t=n.value?.length??Oh(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function zA(e){if(!e)return tS;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(kh(r.value))return null;let i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}function tS(e){return null}function nS(e){return e!=null}function rS(e){return fr(e)?G(e):e}function iS(e){let n={};return e.forEach(t=>{n=t!=null?w(w({},n),t):n}),Object.keys(n).length===0?null:n}function oS(e,n){return n.map(t=>t(e))}function WA(e){return!e.validate}function sS(e){return e.map(n=>WA(n)?n:t=>n.validate(t))}function aS(e){if(!e)return null;let n=e.filter(nS);return n.length==0?null:function(t){return iS(oS(t,n))}}function Fh(e){return e!=null?aS(sS(e)):null}function cS(e){if(!e)return null;let n=e.filter(nS);return n.length==0?null:function(t){let r=oS(t,n).map(rS);return Kn(r).pipe(N(iS))}}function Ph(e){return e!=null?cS(sS(e)):null}function GD(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function lS(e){return e._rawValidators}function uS(e){return e._rawAsyncValidators}function Nh(e){return e?Array.isArray(e)?e:[e]:[]}function il(e,n){return Array.isArray(e)?e.includes(n):e===n}function qD(e,n){let t=Nh(n);return Nh(e).forEach(i=>{il(t,i)||t.push(i)}),t}function ZD(e,n){return Nh(n).filter(t=>!il(e,t))}var ol=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Fh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ph(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},Fe=class extends ol{name;get formDirective(){return null}get path(){return null}},Ir=class extends ol{_parent=null;name=null;valueAccessor=null},sl=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}
vendor: 10,198 bytes, line 8
8get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},GA={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},S3=P(w({},GA),{"[class.ng-submitted]":"isSubmitted"}),Fn=(()=>{class e extends sl{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(A(Ir,2))};static \u0275dir=X({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&oc("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[ct]})}return e})(),Pn=(()=>{class e extends sl{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(A(Fe,10))};static \u0275dir=X({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&oc("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[ct]})}return e})();var rs="VALID",rl="INVALID",Ti="PENDING",is="DISABLED",On=class{},al=class extends On{value;source;constructor(n,t){super(),this.value=n,this.source=t}},ss=class extends On{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},as=class extends On{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},xi=class extends On{status;source;constructor(n,t){super(),this.status=n,this.source=t}},cl=class extends On{source;constructor(n){super(),this.source=n}},ll=class extends On{source;constructor(n){super(),this.source=n}};function dS(e){return(hl(e)?e.validators:e)||null}function qA(e){return Array.isArray(e)?Fh(e):e||null}function fS(e,n){return(hl(n)?n.asyncValidators:e)||null}function ZA(e){return Array.isArray(e)?Ph(e):e||null}function hl(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function YA(e,n,t){let r=e.controls;if(!(n?Object.keys(r):r).length)throw new _(1e3,"");if(!r[t])throw new _(1001,"")}function KA(e,n,t){e._forEachChild((r,i)=>{if(t[i]===void 0)throw new _(1002,"")})}var ul=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return bt(this.statusReactive)}set status(n){bt(()=>this.statusReactive.set(n))}_status=rn(()=>this.statusReactive());statusReactive=ur(void 0);get valid(){return this.status===rs}get invalid(){return this.status===rl}get pending(){return this.status==Ti}get disabled(){return this.status===is}get enabled(){return this.status!==is}errors;get pristine(){return bt(this.pristineReactive)}set pristine(n){bt(()=>this.pristineReactive.set(n))}_pristine=rn(()=>this.pristineReactive());pristineReactive=ur(!0);get dirty(){return!this.pristine}get touched(){return bt(this.touchedReactive)}set touched(n){bt(()=>this.touchedReactive.set(n))}_touched=rn(()=>this.touchedReactive());touchedReactive=ur(!1);get untouched(){return!this.touched}_events=new Z;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(qD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(qD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ZD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ZD(n,this._rawAsyncValidators))}hasValidator(n){return il(this._rawValidators,n)}hasAsyncValidator(n){return il(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(P(w({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new as(!0,r))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new as(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(P(w({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new ss(!1,r))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new ss(!0,r))}markAsPending(n={}){this.status=Ti;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new xi(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(P(w({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=is,this.errors=null,this._forEachChild(i=>{i.disable(P(w({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new al(this.value,r)),this._events.next(new xi(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(P(w({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=rs,this._forEachChild(r=>{r.enable(P(w({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(P(w({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rs||this.status===Ti)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new al(this.value,t)),this._events.next(new xi(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(P(w({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?is:rs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Ti,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let r=rS(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){let r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new xi(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new ue,this.statusChanges=new ue}_calculateStatus(){return this._allControlsDisabled()?is:this.errors?rl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ti)?Ti:this._anyControlsHaveStatus(rl)?rl:rs}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),i&&this._events.next(new ss(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new as(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){hl(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let t=this._parent&&this._parent.dirty;return!n&&!!t&&!this._parent._anyControlsDirty()}
vendor: 10,877 bytes, line 8
8_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=qA(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=ZA(this._rawAsyncValidators)}},Tt=class extends ul{constructor(n,t,r){super(dS(t),fS(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){KA(this,!0,n),Object.keys(n).forEach(r=>{YA(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(r=>{let i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var Lh=new b("",{providedIn:"root",factory:()=>jh}),jh="always";function Vh(e,n){return[...n.path,e]}function Rh(e,n,t=jh){Uh(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),JA(e,n),eN(e,n),XA(e,n),QA(e,n)}function YD(e,n,t=!0){let r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),fl(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function dl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function QA(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Uh(e,n){let t=lS(e);n.validator!==null?e.setValidators(GD(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=uS(e);n.asyncValidator!==null?e.setAsyncValidators(GD(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let i=()=>e.updateValueAndValidity();dl(n._rawValidators,i),dl(n._rawAsyncValidators,i)}function fl(e,n){let t=!1;if(e!==null){if(n.validator!==null){let i=lS(e);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(n.asyncValidator!==null){let i=uS(e);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}let r=()=>{};return dl(n._rawValidators,r),dl(n._rawAsyncValidators,r),t}function JA(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&hS(e,n)})}function XA(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&hS(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function hS(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function eN(e,n){let t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function pS(e,n){e==null,Uh(e,n)}function tN(e,n){return fl(e,n)}function nN(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function rN(e){return Object.getPrototypeOf(e.constructor)===RA}function gS(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function iN(e,n){if(!n)return null;Array.isArray(n);let t,r,i;return n.forEach(o=>{o.constructor===eS?t=o:rN(o)?r=o:i=o}),i||r||t||null}function oN(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var sN={provide:Fe,useExisting:Jt(()=>Bh)},os=Promise.resolve(),Bh=(()=>{class e extends Fe{callSetDisabledState;get submitted(){return bt(this.submittedReactive)}_submitted=rn(()=>this.submittedReactive());submittedReactive=ur(!1);_directives=new Set;form;ngSubmit=new ue;options;constructor(t,r,i){super(),this.callSetDisabledState=i,this.form=new Tt({},Fh(t),Ph(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){os.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Rh(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){os.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){os.then(()=>{let r=this._findContainer(t.path),i=new Tt({});pS(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){os.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){os.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),gS(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new cl(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1),this.form._events.next(new ll(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(r){return new(r||e)(A(Er,10),A(cs,10),A(Lh,8))};static \u0275dir=X({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){r&1&&Oe("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[nn([sN]),ct]})}return e})();function KD(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function QD(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Ce=class extends ul{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(dS(t),fS(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),hl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(QD(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){KD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){KD(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){QD(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var aN=e=>e instanceof Ce,Hh=(()=>{class e extends Fe{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Vh(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let t;return function(i){return(t||(t=ni(e)))(i||e)}})();static \u0275dir=X({type:e,standalone:!1,features:[ct]})}return e})();var Ai=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=X({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})();var mS=new b("");var cN={provide:Fe,useExisting:Jt(()=>lt)},lt=(()=>{class e extends Fe{callSetDisabledState;get submitted(){return bt(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=rn(()=>this._submittedReactive());_submittedReactive=ur(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new ue;constructor(t,r,i){super(),this.callSetDisabledState=i,this._setValidators(t),this._setAsyncValidators(r)}
8ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(fl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let r=this.form.get(t.path);return Rh(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){YD(t.control||null,t,!1),oN(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),gS(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new cl(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new ll(this.form))}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,i=this.form.get(t.path);r!==i&&(YD(r||null,t),aN(i)&&(Rh(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);pS(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let r=this.form.get(t.path);r&&tN(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Uh(this.form,this),this._oldForm&&fl(this._oldForm,this)}static \u0275fac=function(r){return new(r||e)(A(Er,10),A(cs,10),A(Lh,8))};static \u0275dir=X({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&Oe("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[nn([cN]),ct,Pt]})}return e})(),lN={provide:Fe,useExisting:Jt(()=>vS)},vS=(()=>{class e extends Hh{name=null;constructor(t,r,i){super(),this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}_checkParentType(){yS(this._parent)}static \u0275fac=function(r){return new(r||e)(A(Fe,13),A(Er,10),A(cs,10))};static \u0275dir=X({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[nn([lN]),ct]})}return e})(),uN={provide:Fe,useExisting:Jt(()=>pl)},pl=(()=>{class e extends Fe{_parent;name=null;constructor(t,r,i){super(),this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}ngOnInit(){yS(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Vh(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(r){return new(r||e)(A(Fe,13),A(Er,10),A(cs,10))};static \u0275dir=X({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[nn([uN]),ct]})}return e})();function yS(e){return!(e instanceof vS)&&!(e instanceof lt)&&!(e instanceof pl)}var dN={provide:Ir,useExisting:Jt(()=>an)},an=(()=>{class e extends Ir{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new ue;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=iN(this,o)}ngOnChanges(t){this._added||this._setUpControl(),nN(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Vh(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||e)(A(Fe,13),A(Er,10),A(cs,10),A(XD,10),A(mS,8))};static \u0275dir=X({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[nn([dN]),ct,Pt]})}return e})();var fN=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=De({type:e});static \u0275inj=ve({})}return e})();var gl=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:mS,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Lh,useValue:t.callSetDisabledState??jh}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=De({type:e});static \u0275inj=ve({imports:[fN]})}return e})();var Ni=(()=>{class e{constructor(){this.elementRef=h(ke)}onFormSubmit(){let t=this.elementRef.nativeElement.querySelector(".ng-invalid");t&&t.focus()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=X({type:e,selectors:[["form","formGroup",""]],hostBindings:function(r,i){r&1&&Oe("submit",function(){return i.onFormSubmit()})}})}}return e})(),Ln=(()=>{class e{constructor(){this.onChange=new Z,this.onTouched=new Z,this.onFocus=new Z,this.elementRef=h(ke),this.changeDetectorRef=h(En),this.control=h(Ir,{optional:!0,self:!0}),this.controlContainer=h(Fe,{optional:!0}),this.control&&(this.control.valueAccessor=this),this.showErrorState=!1,this.onTouched.pi
8pe(Ee(()=>!this.showErrorState)).subscribe(()=>this.showErrorState=!0),du(this.onFocus,this.onChange).pipe(Ee(()=>!this.showErrorState)).subscribe(()=>this.showErrorState=!0)}listenForValueChange(t){this.onChange.next(t),this.elementRef.nativeElement.value=t}listenForFocusChange(){this.onFocus.next()}listenForBlurChange(){this.onTouched.next()}ngOnInit(){if(!this.control)return;let t=this.control;if(t.valueChanges?.subscribe(r=>{this.elementRef.nativeElement.value=r}),t.control){let r=t.control.markAsUntouched;t.control.markAsUntouched=(...i)=>{this.showErrorState=!1,this.changeDetectorRef.markForCheck(),r.call(t.control,...i)}}if(t.statusChanges?.subscribe(()=>{this.setErrors()}),this.setErrors(),this.controlContainer){let r=this.controlContainer instanceof Hh?this.controlContainer.formDirective:this.controlContainer;r instanceof lt?(r.ngSubmit.subscribe(()=>this.setErrors()),this.form=r):r instanceof Bh?(r.ngSubmit.subscribe(()=>this.setErrors()),this.form=r):r instanceof pl&&(r.formDirective?.ngSubmit.subscribe(()=>this.setErrors()),this.form=r.formDirective??void 0),this.form&&this.form.ngSubmit.subscribe(()=>this.showErrorState=!0)}!this.elementRef.nativeElement.getAttribute("name")&&this.control.name&&this.elementRef.nativeElement.setAttribute("name",t.name?.toString()??"")}registerOnChange(t){this.onChange.subscribe(t)}registerOnTouched(t){uu(this.onTouched,this.onFocus).subscribe(t)}setDisabledState(t){t?this.elementRef.nativeElement.setAttribute("disabled","disabled"):this.elementRef.nativeElement.removeAttribute("disabled")}writeValue(t){this.elementRef.nativeElement.value=t}setErrors(){this.errors=this.control?.errors}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=X({type:e,selectors:[["evd-input-text","formControl",""],["evd-input-text","formControlName",""],["evd-input-text","ngModel",""],["evd-select","formControl",""],["evd-select","formControlName",""],["evd-select","ngModel",""],["evd-input-checkbox","formControl",""],["evd-input-checkbox","formControlName",""],["evd-input-checkbox","ngModel",""],["evd-input-date","formControl",""],["evd-input-date","formControlName",""],["evd-input-date","ngModel",""],["evd-input-time","formControl",""],["evd-input-time","formControlName",""],["evd-input-time","ngModel",""],["evd-input-number","formControl",""],["evd-input-number","formControlName",""],["evd-input-number","ngModel",""],["evd-input-number-slider","formControl",""],["evd-input-number-slider","formControlName",""],["evd-input-number-slider","ngModel",""],["evd-input-password","formControl",""],["evd-input-password","formControlName",""],["evd-input-password","ngModel",""],["evd-input-textarea","formControl",""],["evd-input-textarea","formControlName",""],["evd-input-textarea","ngModel",""],["evd-input-file","formControl",""],["evd-input-file","formControlName",""],["evd-input-file","ngModel",""],["evd-input-radio-group","formControl",""],["evd-input-radio-group","formControlName",""],["evd-input-radio-group","ngModel",""],["evd-map-search","formControl",""],["evd-map-search","formControlName",""],["evd-map-search","ngModel",""],["evd-header-search","formControl",""],["evd-header-search","formControlName",""],["evd-header-search","ngModel",""],["evd-range-slider","formControl",""],["evd-range-slider","formControlName",""],["evd-range-slider","ngModel",""],["evd-input-chip","formControlName",""],["evd-input-chip","ngModel",""],["evd-select-autocomplete","formControlName",""],["evd-select-autocomplete","ngModel",""]],hostVars:2,hostBindings:function(r,i){r&1&&Oe("valueChanged",function(s){return i.listenForValueChange(s.detail.value)})("focus",function(){return i.listenForFocusChange()})("evdBlur",function(){return i.listenForBlurChange()}),r&2&&Af("errors",i.errors)("showErrorState",i.showErrorState)}})}}return e})(),jn=(()=>{class e{constructor(t){this.elementRef=t}validate(t){return this.elementRef.nativeElement.forceUpdate&&(this.elementRef.nativeElement.tagName!=="EVD-INPUT-NUMBER"||t.value!==null)&&this.elementRef.nativeElement.tagName!=="EVD-INPUT-FILE"&&this.elementRef.nativeElement.forceUpdate(t.value),this.elementRef.nativeElement.internalErrors}static{this.\u0275fac=function(r){return new(r||e)(A(ke))}}static{this.\u0275dir=X({type:e,selectors:[["evd-input-text","formControl",""],["evd-input-text","formControlName",""],["evd-input-text","ngModel",""],["evd-select","formControl",""],["evd-select","formControlName",""],["evd-select","ngModel",""],["evd-input-c
8heckbox","formControl",""],["evd-input-checkbox","formControlName",""],["evd-input-checkbox","ngModel",""],["evd-input-date","formControl",""],["evd-input-date","formControlName",""],["evd-input-date","ngModel",""],["evd-input-time","formControl",""],["evd-input-time","formControlName",""],["evd-input-time","ngModel",""],["evd-input-number","formControl",""],["evd-input-number","formControlName",""],["evd-input-number","ngModel",""],["evd-input-number-slider","formControl",""],["evd-input-number-slider","formControlName",""],["evd-input-number-slider","ngModel",""],["evd-input-password","formControl",""],["evd-input-password","formControlName",""],["evd-input-password","ngModel",""],["evd-input-textarea","formControl",""],["evd-input-textarea","formControlName",""],["evd-input-textarea","ngModel",""],["evd-input-file","formControl",""],["evd-input-file","formControlName",""],["evd-input-file","ngModel",""],["evd-input-radio-group","formControl",""],["evd-input-radio-group","formControlName",""],["evd-input-radio-group","ngModel",""],["evd-map-search","formControl",""],["evd-map-search","formControlName",""],["evd-map-search","ngModel",""],["evd-header-search","formControl",""],["evd-header-search","formControlName",""],["evd-header-search","ngModel",""]],features:[nn([{provide:Er,useExisting:e,multi:!0}])]})}}return e})();var Vn=(()=>{class e{constructor(){this.elementRef=h(ke),this.elementRef.nativeElement.classList.add("evd-router-link"),this.elementRef.nativeElement.classList.add("evd-interactive"),this.elementRef.nativeElement.setAttribute("interactive","true")}ngOnDestroy(){this.elementRef.nativeElement.classList.remove("evd-router-link"),this.elementRef.nativeElement.classList.remove("evd-interactive"),this.elementRef.nativeElement.removeAttribute("interactive")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=X({type:e,selectors:[["","routerLink",""],["","ccRouterLink",""]]})}}return e})();var Ri=(()=>{class e{get snackbarService(){return window.evdCommonsUi.snackbar}create(t){return this.snackbarService.create(t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),DS=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=De({type:e})}static{this.\u0275inj=ve({imports:[gl]})}}return e})();function SS(){return new Promise(e=>{if(window.evdCommonsUi){e();return}window.addEventListener("evd-commons-ui-ready",()=>{e()})})}var wS=new b("CC_ERRORS_OPTIONS_INTERNAL"),CS=(()=>{class e{sectionType=lr("primary");options=h(wS);static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ce({type:e,selectors:[["cc-error"]],inputs:{sectionType:[1,"sectionType"]},decls:8,vars:3,consts:[[3,"type"],["size","xxl"],["type","vertical-centered"],["slot","icon","family","duotone","icon","face-dizzy"],["slot","headline","level","h2"],[3,"innerHTML"]],template:function(r,i){r&1&&(D(0,"evd-section",0)(1,"evd-container",1)(2,"evd-icon-text",2),z(3,"evd-icon",3),D(4,"evd-headline",4),I(5),m(),D(6,"p"),z(7,"evd-richtext",5),m()()()()),r&2&&(C("type",i.sectionType),S(5),Et(i.options.headline),S(2),C("innerHTML",i.options.message,uv))},encapsulation:2})}return e})(),pN=(()=>{class e{injector=h(xe);snackbarApiService=h(Ri);getServerMessage(t){if(navigator.onLine){let r=t.status;return r>=Tn.BadRequest&&r<Tn.InternalServerError?"Entschuldigung, Ihre Anfrage konnte nicht verarbeitet werden. Bitte pr\xFCfen Sie Ihre Eingaben. Bei Problemen kontaktieren Sie den Support.":r>=Tn.InternalServerError&&t.status<600?"Entschuldigung, es gab ein Problem mit unserer Website. Bitte versuchen Sie es sp\xE4ter erneut. Bei Problemen kontaktieren Sie den Support.":"Entschuldigung, es ist ein unerwarteter Fehler aufgetreten. Bitte versuchen Sie es sp\xE4ter erneut. Bei Problemen kontaktieren Sie den Support."}else return"Sie sind offline, bitte pr\xFCfen Sie Ihre Verbindung."}logError(t){gN(t)&&(t=t.rejection);let r=this.getErrorContextInfo(t);return M(r)}showErrorNotification(t){this.snackbarApiService.create({message:t,closeable:!0})}getErrorContextInfo(t){let r="XXX",i="anonymous",o=new Date().getTime(),s=this.injector.get(tt);return{name:t.name,appId:r,user:i,time:o,id:`${r}-${i}-${o}`,url:s instanceof di?s.path():void 0,status:t instanceof on?t.status:void 0,message:t.message||t.toString(),stack:this.extractStacktrace(t)}}extractStacktrace(t){return t.stack?t.stack.split(` 9`).slice(1).join(` 10`):void 0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gN(e){return e.promise!=null||!!e.rejection}
10var zh=class extends Error{constructor(n,t){super(n,t)}},mN=(()=>{class e{errorService=h(pN);router=h(Ae);handleError(t){console.error(t);let r=!0;if(t instanceof zh&&(this.errorService.showErrorNotification(t.message),r=!1),t instanceof on){let i=this.errorService.getServerMessage(t);this.errorService.showErrorNotification(i),r=!1}this.errorService.logError(t).subscribe(i=>{r&&this.router.navigate(["/error"],{skipLocationChange:!0,queryParams:i})})}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var $h=new b("CC_ERRORS_OPTIONS"),vN="Ups, da ist etwas schief gelaufen",yN="Bei der Ausf\xFChrung der Anwendung ist ein Fehler aufgetreten. Bitte versuchen Sie es in einigen Minuten erneut oder wenden Sie sich an unseren Kundenservice.",DN="Bei der Ausf\xFChrung der Anwendung ist ein Fehler aufgetreten. Bitte versuchen Sie es in einigen Minuten erneut oder wenden Sie sich an unseren Benutzerservice.";function IS(e){let n=[{provide:wS,useFactory:t=>{let r=t?.internal??!1;return P(w({},t),{headline:t?.headline??vN,message:t?.message??(r?DN:yN),internal:r})},deps:[[new yo,$h]]},{provide:at,useClass:mN}];return SN(e)?e.useFactory&&n.push({provide:$h,useFactory:e.useFactory,deps:e.deps??[]}):n.push({provide:$h,useValue:e??{}}),n}function SN(e){return!!e?.useFactory||!!e?.deps}function it(e){e||(jd(it),e=h(le));let n=new B(t=>e.onDestroy(t.next.bind(t)));return t=>t.pipe(no(n))}function wN(e){return n=>{if(!n.value)return null;let t;if(typeof n.value=="string")t=!e.test(n.value);else{let r=n.value;t=Array.from(r).find(i=>!e.test(i.name))!==void 0}return t?{fileType:!0}:null}}function CN(e){return n=>{if(!n.value||!(n.value instanceof FileList)||n.value?.length===0)return null;let t=n.value;return Array.from(t).find(i=>e<i.size)!==void 0?{fileSize:{fileSize:!0,maxFileSize:e}}:null}}var Wh=class e{static isValid(n){let t={AD:24,AE:23,AT:20,AZ:28,BA:20,BE:16,BG:22,BH:22,BR:29,CH:21,CY:28,CZ:24,DE:22,DK:18,DO:28,EE:20,ES:24,FI:18,FO:18,FR:27,GB:22,GI:23,GL:18,GR:27,GT:28,HR:21,HU:28,IE:22,IL:23,IS:26,IT:27,JO:30,KW:30,KZ:20,LB:28,LI:21,LT:20,LU:20,LV:21,MC:27,MD:24,ME:22,MK:19,MR:27,MT:31,MU:30,NL:18,NO:15,PK:24,PL:28,PS:29,PT:25,QA:29,RO:24,RS:22,SA:24,SE:24,SI:19,SK:24,SM:27,TN:24,TR:26,AL:28,BY:28,CR:22,EG:29,GE:22,IQ:23,LC:32,SC:31,ST:25,SV:28,TL:23,UA:29,VA:22,VG:24,XK:20},r=n.toUpperCase().replace(/[^A-Z0-9]/g,""),i=r.match(/^([A-Z]{2})(\d{2})([A-Z\d]+)$/);if(!i||r.length!==t[i[1]])return!1;let o=(i[3]+i[1]+i[2]).replace(/[A-Z]/g,s=>(s.charCodeAt(0)-55).toString());return e.mod97(o)}static mod97(n){let t=parseInt(n.slice(0,2),10),r;for(let i=2;i<n.length;i+=7)r=String(t)+n.substring(i,i+7),t=parseInt(r,10)%97;return t}};function IN(e=[]){return e=e.map(n=>n.toUpperCase()),function(t){if(!t.value||typeof t.value!="string")return null;let r=t.value.toUpperCase();return e.includes(r)?{errorIbanBlackList:"iban on Blacklist"}:Wh.isValid(r)!==1?{noValidIban:"no valid Iban"}:null}}function EN(e=!0){return function(t){return isNaN(Number(t.value))||Number(t.value)<0&&e?{NaN:{value:t.value}}:null}}function bN(){return e=>!e.value||typeof e.value!="string"||/^\+?[- ()0-9]{3,}$/.test(e.value)?null:{phoneNumber:!0}}function _N(){return e=>!e.value||typeof e.value!="string"||/^[0-9]{5}$/.test(e.value)?null:{plz:!0}}var vl=(()=>{class e{static{this.fileType=wN}static{this.fileSize=CN}static{this.iban=IN}static{this.number=EN}static{this.phoneNumber=bN}static{this.plz=_N}}return e})();var ES=(()=>{class e{constructor(){this.destroyRef=h(le)}getAddressForm(){return this.addressForm?this.addressForm:(this.addressForm=new Tt({address0:this.createAddressForm(),enableSecondAddress:new Ce(!1,{nonNullable:!0})}),this.addressForm.controls.enableSecondAddress.valueChanges.pipe(it(this.destroyRef)).subscribe(t=>{t?this.addressForm?.addControl("address1",this.createAddressForm()):this.addressForm?.removeControl("address1")}),this.addressForm)}createAddressForm(){return new Tt({zip:new Ce(null,{validators:[vl.plz(),we.required],nonNullable:!0}),location:new Ce(null,{validators:[we.required],nonNullable:!0}),street:new Ce(null,{validators:[we.required],nonNullable:!0}
10),houseNumber:new Ce(null,{validators:[we.required],nonNullable:!0})})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var fe=function(e){return e.Carrier="carrier",e.Business="business",e}(fe||{});var se=class{constructor(){this.deployPath="http://localhost:4200",this.baseHref="./",this.headlineLevel=2,this.carrier=!1,this.product=[{productName:"SachsenPro IP"},{productName:"SachsenPro SIP"},{productName:"SachsenPro Housing"},{productName:"SachsenPro Link"}],this.contact=[{type:fe.Business,headline:"Ullrich Pathe",subLine:"Key Account Manager",phone:"0351 5630 - 24620",mail:"[email protected]",avatar:"https://www.sachsen-gigabit.com/wps/wcm/connect/gigabit/22dda7ed-ed8d-485f-9ae9-bebb313ba61b/business-individual-service.jpg?MOD=AJPERES&CACHEID=ROOTWORKSPACE.Z18_LQC01J01LO1DC0QN8OEH4H1000-22dda7ed-ed8d-485f-9ae9-bebb313ba61b-o.60xCD",gender:!0}],this.privacyPolicy="https://www.sachsen-gigabit.com/wps/portal/gigabit/cms/footer/datenschutz",this.validateEndpoint="/address/validate",this.uploadEndpoint="/address/upload",this.suggestionEndpoint="/address",this.contactEndpoint="/contact",this.acceptedFilesToUpload=["xlsx"],this.company="SachsenGigaBit",this.serviceEmail="[email protected]",this.buttonText="Hier k\xF6nnen Sie Ihren Button Text eingeben"}};var Ne=class{constructor(){this.stage="local",this.restBaseURL="https://dev-kube.esag.net/general/glas-adress-check-server",this.internal=!0}};function MN(e){var n=[];if(e.length===0)return"";if(typeof e[0]!="string")throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var t=e.shift();e[0]=t+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<e.length;r++){var i=e[r];if(typeof i!="string")throw new TypeError("Url must be a string. Received "+i);i!==""&&(r>0&&(i=i.replace(/^[\/]+/,"")),r<e.length-1?i=i.replace(/[\/]+$/,""):i=i.replace(/[\/]+$/,"/"),n.push(i))}var o=n.join("/");o=o.replace(/\/(\?|&|#[^!])/g,"$1");var s=o.split("?");return o=s.shift()+(s.length>0?"?":"")+s.join("&"),o}function cn(){var e;return typeof arguments[0]=="object"?e=arguments[0]:e=[].slice.call(arguments),MN(e)}var ki=(()=>{class e{constructor(){this.httpClient=h(qe),this.appConfig=h(se),this.stageConfig=h(Ne)}validate(t){return this.validationResults=void 0,Kn(t.map(r=>this.validateSingleAddress(r))).pipe(ne(r=>this.validationResults=r))}getValidationResults(){return this.validationResults}validateSingleAddress(t){return this.httpClient.post(cn(this.stageConfig.restBaseURL,this.appConfig.validateEndpoint),P(w({},t),{type:this.appConfig.carrier?fe.Carrier:fe.Business}))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var _S=(()=>{class e{constructor(){this.httpClient=h(qe),this.appConfig=h(se),this.stageConfig=h(Ne)}getSuggestion(t,r){let i=new Ue;return i=i.set("suggestion",r),Object.entries(t).filter(([o,s])=>s).forEach(([o,s])=>i=i.set(o,s)),i=i.set("type",this.appConfig.carrier?fe.Carrier:fe.Business),this.httpClient.get(cn([this.stageConfig.restBaseURL,this.appConfig.suggestionEndpoint]),{params:i})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Wt=function(e){return e.Zip="zip",e.Street="street",e.Location="location",e.HouseNumber="houseNumber",e}(Wt||{});function TN(e,n){e&1&&(D(0,"span"),I(1," Bitte geben Sie Ihre Postleitzahl an. "),m())}function xN(e,n){e&1&&(D(0,"span"),I(1," Bitte geben Sie eine g\xFCltige Postleitzahl an. "),m())}function AN(e,n){if(e&1&&(D(0,"span",12),x(1,TN,2,0,"span",13)(2,xN,2,0,"span",13),m()),e&2){let t=n.$implicit;S(),C("ngIf",t.required),S(),C("ngIf",t.plz)}}function NN(e,n){if(e&1&&z(0,"evd-type-ahead",14),e&2){let t=n.$implicit;C("label",t)("value",t)}}function RN(e,n){e&1&&(D(0,"span"),I(1," Bitte geben Sie Ihren Ort an. "),m())}function kN(e,n){if(e&1&&(D(0,"span",12),x(1,RN,2,0,"span",13),m()),e&2){let t=n.$implicit;S(),C("ngIf",t.required)}}function ON(e,n){if(e&1&&z(0,"evd-type-ahead",14),e&2){let t=n.$implicit;C("label",t)("value",t)}}function FN(e,n){e&1&&(D(0,"span"),I(1," Bitte geben Sie Ihre Stra\xDFe an. "),m())}function PN(e,n){if(e&1&&(D(0,"span",12),x(1,FN,2,0,"span",13),m()),e&2){let t=n.$implicit;S(),C("ngIf",t.required)}}function LN(e,n){if(e&1&&z(0,"evd-type-ahead",14),e&2){let t=n.$implicit;C("label",t)("value",t)}}function jN(e,n){e&1&&(D(0,"span"),I(1," Bitte geben Sie Ihre Hausnummer an. "),m())}function VN(e,n){if(e&1&&(D(0,"span",12),x(1,jN,2,0,"span",13),m()),e&2){let t=n.$implicit;S(),C("ngIf",t.required)}}function UN(e,n){if(e&1&&z(0,"evd-type-ahead",14),e&2){let t=n.$implicit;C("label",t)("value",t)}}function BN(e,n){if(e&1&&(D(0,"evd-fieldset",1)(1,"evd-row",2)(2,"evd-col",3)(3,"evd-input-text",4)(4,"span",5),I(5,"Postleitzahl *"),m(),x(6,AN,3,2,"span",6)(7,NN,1,2,"evd-type-ahead",7),m()(),D(8,"evd-col",8)(9,"evd-input-text",9)(10,"span",5),I(11,"Ort *"),m(),x(12,kN,2,1,"span",6)(13,ON,1,2,"evd-type-ahead",7),m()()(),D(14,"evd-row",2)(15,"evd-col",8)(16,"evd-input-text",10)(17,"span",5),I(18,"Stra\xDFe *"),m(),x(19,PN,2,1,"span",6)(20,LN,1,2,"evd-type-ahead",7),m()(),D(21,"evd-col",3)(22,"evd-input-text",11)(23,"span",5),I(24,"Hausnummer *"),m(),x(25,VN,2,1,"span",6)(26,UN,1,2,"evd-type-ahead",7),m()()()()),e&2){let t=te();C("formGroup",t.addressForm)("legend",t.legend),S(6),C("ngIf",t.addressForm.controls.zip.errors),S(),C("ngForOf",t.suggestionZip)("ngForTrackBy",t.trackByString),S(5),C("ngIf",t.addressForm.controls.location.errors),S(),C("ngForOf",t.suggestionLocation)("ngForTrackBy",t.trackByString),S(6),C("ngIf",t.addressForm.controls.street.errors),S(),C("ngForOf",t.suggestionStreet)("ngForTrackBy",t.trackByString),S(5),C("ngIf",t.addressForm.controls.houseNumber.errors),S(),C("ngForOf",t.suggestionHouseNumber)("ngForTrackBy",t.trackByString)}}var MS=(()=>{class e{constructor(){this.suggestionZip=[],this.suggestionLocation=[],this.suggestionStreet=[],this.suggestionHouseNumber=[],this.destroyRef=h(le),this.suggestionService=h(_S
10)}static{this.debounceTime=500}ngOnChanges(){this.addressForm&&(this.addValueChangeEvent(this.addressForm.controls.zip,Wt.Zip),this.addValueChangeEvent(this.addressForm.controls.location,Wt.Location),this.addValueChangeEvent(this.addressForm.controls.street,Wt.Street),this.addValueChangeEvent(this.addressForm.controls.houseNumber,Wt.HouseNumber))}trackByString(t,r){return r}addValueChangeEvent(t,r){t.valueChanges.pipe(fu(e.debounceTime),Fr(),be(()=>{let i=this.addressForm?.getRawValue();return i?this.suggestionService.getSuggestion({zip:i.zip||"",street:i.street||"",houseNumber:i.houseNumber||"",location:i.location||""},r):M([])}),it(this.destroyRef)).subscribe(i=>{switch(r){case Wt.Zip:this.suggestionZip=i.length===1&&i[0]===this.addressForm?.controls.zip.value?[]:i;break;case Wt.Street:this.suggestionStreet=i.length===1&&i[0]===this.addressForm?.controls.street.value?[]:i;break;case Wt.HouseNumber:this.suggestionHouseNumber=i.length===1&&i[0]===this.addressForm?.controls.houseNumber.value?[]:i;break;case Wt.Location:this.suggestionLocation=i.length===1&&i[0]===this.addressForm?.controls.location.value?[]:i;break;default:throw new Error("Enum value does not exist.")}})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ce({type:e,selectors:[["app-address-form"]],inputs:{addressForm:"addressForm",legend:"legend"},standalone:!1,features:[Pt],decls:1,vars:1,consts:[[3,"formGroup","legend",4,"ngIf"],[3,"formGroup","legend"],[1,"evd-row-half-gutter"],[1,"evd-col-12","evd-col-md-3"],["formControlName","zip"],["slot","label"],["slot","error",4,"ngIf"],["slot","type-ahead",3,"label","value",4,"ngFor","ngForOf","ngForTrackBy"],[1,"evd-col"],["formControlName","location"],["formControlName","street"],["formControlName","houseNumber"],["slot","error"],[4,"ngIf"],["slot","type-ahead",3,"label","value"]],template:function(r,i){r&1&&x(0,BN,27,14,"evd-fieldset",0),r&2&&C("ngIf",i.addressForm)},dependencies:[_n,Ve,Fn,Pn,lt,an,Ln,jn],encapsulation:2})}}return e})();function $N(e,n){if(e&1&&z(0,"app-address-form",11),e&2){let t=te(2);C("addressForm",t.addressForm.controls.address1)}}function zN(e,n){e&1&&(D(0,"evd-alert",10)(1,"span"),I(2," Ein positives onnet-Ergebnis gibt keine Auskunft \xFCber die Verf\xFCgbarkeit der Faserkapazit\xE4ten. Diese wird im Fall einer Anfrage gepr\xFCft. "),m()())}function WN(e,n){if(e&1){let t=ry();D(0,"form",1),Oe("ngSubmit",function(){um(t);let i=te();return dm(i.submit())}),D(1,"p",2),I(2,"Die mit einem (*) markierten Felder sind Pflichtfelder"),m(),z(3,"app-address-form",3),D(4,"evd-input-checkbox",4)(5,"span",5),I(6,"Eine weitere Adresse pr\xFCfen (optional)"),m()(),x(7,$N,1,1,"app-address-form",6),D(8,"div",7)(9,"evd-button",8),I(10),m()(),D(11,"div",9),x(12,zN,3,0,"evd-alert",10),m()()}if(e&2){let t=te();C("formGroup",t.addressForm),S(3),C("addressForm",t.addressForm.controls.address0),S(4),C("ngIf",t.addressForm.controls.address1),S(3),In(" ",t.buttonText," "),S(2),Xe(t.carrierType?12:-1)}}var yl=(()=>{class e{constructor(t){this.appConfig=t,this.addressService=h(ki),this.requestFormService=h(ES),this.destroyRef=h(le),this.router=h(Ae),this.buttonText=this.appConfig.buttonText,this.carrierType=this.appConfig.carrier}ngOnInit(){this.addressForm=this.requestFormService.getAddressForm()}submit(){if(!this.addressForm?.valid)return;let t=[this.addressForm.controls.address0.getRawValue()];this.addressForm.controls.address1&&t.push(this.addressForm.controls.address1.getRawValue()),this.addressService.validate(t).pipe(it(this.destroyRef)).subscribe(()=>{this.router.navigate(["/","check-result"],{skipLocationChange:!0})})}static{this.\u0275fac=function(r){return new(r||e)(A(se))}}static{this.\u0275cmp=ce({type:e,selectors:[["app-request-form"]],standalone:!1,decls:1,vars:1,consts:[[3,"formGroup","ngSubmit",4,"ngIf"],[3,"ngSubmit","formGroup"],[1,"evd-m-t0"],["legend","A-Ende",3,"addressForm"],["formControlName","enableSecondAddress","toggle","",1,"evd-p-b"],["slot","label"],["legend","B-Ende",3,"addressForm",4,"ngIf"],[1,"evd-flex-end","evd-m-t"],["id","ce_tk_gf_dd_verfuegbarkeit","type","primary","button-type","submit"],[1,"evd-m-t2"],["type","warning"],["legend","B-Ende",3,"addressForm"]],template:function(r,i){r&1&&x(0,WN,13,5,"form",0),r&2&&C("ngIf",i.addressForm)},dependencies:[Ve,Ai,Fn,Pn,lt,an,Ni,Ln,jn,MS],encapsulation:2})}}return e})();var TS=(()=>{class e{constructor(){this.httpClient=h(qe),this.appConfig=h(se),this.stageConfig=h(Ne)}upload(t,r){let i=new FormData;i.append("file",t,t.name);let o=new Ue().set("type",r);return this.httpClient.post(cn(this.stageConfig.restBaseURL,this.appConfig.uploadEndpoint),i,{params:o})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var GN=(e,n)=>({"evd-flex-space-between":e,"evd-flex-end":n});function qN(e,n){e&1&&(D(0,"span",10),I(1,"Bitte w\xE4hlen Sie eine Upload Ziel aus aus."),m())}function ZN(e,n){if(e&1&&(Ct(0),x(1,qN,2,0,"span",9),It()),e&2){let t=n.$implicit;S(),C("ngIf",t.required)}}function YN(e,n){e&1&&(D(0,"span",10),I(1,"Bitte w\xE4hlen Sie eine Datei aus."),m())}function KN(e,n){if(e&1&&(D(0,"span",10),I(1),m()),e&2){let t=te(2);S(),In("Nur Dateien in folgenden Formaten k\xF6nnen ausgew\xE4hlt werden: ",t.acceptedFileTypes,"")}}function QN(e,n){if(e&1&&(Ct(0),x(1,YN,2,0,"span",9)(2,KN,2,1,"span",9),It()),e&2){let t=n.$implicit;S(),C("ngIf",t.required),S(),C("ngIf",t.fileType)}}
10function JN(e,n){e&1&&(D(0,"evd-form-help"),I(1,"Der Upload kann einige Minuten dauern, bitte haben Sie Geduld."),m())}function XN(e,n){e&1&&z(0,"evd-spinner",11)}var xS=(()=>{class e{constructor(){this.appConfig=h(se),this.acceptedFileTypes=this.appConfig.acceptedFilesToUpload.map(t=>`.${t.toString()}`).join(", "),this.uploadForm=new Tt({file:new Ce(null,[vl.fileType(new RegExp(`(.*)\\.(${this.appConfig.acceptedFilesToUpload.join("|")})$`,"i")),we.required]),type:new Ce(null,we.required)}),this.disabled=!1,this.customerTypeEnum=fe,this.destroyRef=h(le),this.fileUploadService=h(TS),this.snackbarApiService=h(Ri)}submit(){!this.uploadForm.valid||!this.uploadForm.controls.file.value||!this.uploadForm.controls.type.value||(this.disabled=!0,this.fileUploadService.upload(this.uploadForm.controls.file.value[0],this.uploadForm.controls.type.value).pipe(it(this.destroyRef)).subscribe({next:()=>{this.disabled=!1,this.snackbarApiService.create({message:"Die Daten zu den Ausbaugebieten wurden aktualisiert",closeable:!0})},error:t=>{this.disabled=!1,this.snackbarApiService.create({message:t.status===Tn.BadRequest&&t.error?.message?`${t.error.message}`:"Upload ist Fehlgeschlagen, Daten wurden nicht aktualisiert",closeable:!0})}}))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ce({type:e,selectors:[["app-address-file-upload"]],standalone:!1,decls:16,vars:14,consts:[[3,"ngSubmit","formGroup"],["formControlName","type"],["slot","label"],["label","Carrier",3,"value"],["label","Business",3,"value"],[4,"ngIf"],["formControlName","file","value-type","fileList",3,"accept"],["type","primary","button-type","submit",3,"disabled"],["slot","icon",4,"ngIf"],["slot","error",4,"ngIf"],["slot","error"],["slot","icon"]],template:function(r,i){r&1&&(D(0,"form",0),Oe("ngSubmit",function(){return i.submit()}),D(1,"evd-select",1)(2,"span",2),I(3,"Upload Ziel *"),m(),z(4,"evd-select-option",3)(5,"evd-select-option",4),x(6,ZN,2,1,"ng-container",5),m(),D(7,"evd-input-file",6)(8,"span",2),I(9,"Datei *"),m(),x(10,QN,3,2,"ng-container",5),m(),D(11,"div"),x(12,JN,2,0,"evd-form-help",5),D(13,"evd-button",7),x(14,XN,1,0,"evd-spinner",8),I(15," Datei hochladen "),m()()()),r&2&&(C("formGroup",i.uploadForm),S(4),C("value",i.customerTypeEnum.Carrier),S(),C("value",i.customerTypeEnum.Business),S(),C("ngIf",i.uploadForm.controls.type.errors),S(),C("accept",i.acceptedFileTypes),S(3),C("ngIf",i.uploadForm.controls.file.errors),S(),sc(ly(11,GN,i.disabled,!i.disabled)),S(),C("ngIf",i.disabled),S(),C("disabled",i.disabled),S(),C("ngIf",i.disabled))},dependencies:[Ve,Ai,Fn,Pn,lt,an,Ni,Ln,jn],encapsulation:2})}}return e})();function eR(e,n){if(e&1&&(D(0,"evd-list-definition-item",9)(1,"span",10),I(2,"Telefon"),m(),D(3,"span",11)(4,"evd-link",12)(5,"span"),I(6),m()()()()),e&2){let t=te();S(4),C("href","tel:"+t.contact.phone),S(2),Et(t.contact.phone)}}function tR(e,n){if(e&1&&(D(0,"evd-list-definition-item")(1,"span",10),I(2,"E-Mail-Adresse"),m(),D(3,"span",11)(4,"evd-link",12),I(5),m()()()),e&2){let t=te();S(4),C("href","mailto:"+t.contact.mail),S(),Et(t.contact.mail)}}var AS=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ce({type:e,selectors:[["app-contact-card"]],inputs:{contact:"contact"},standalone:!1,decls:13,vars:6,consts:[["size","sm"],["level","h4","no-margin",""],[1,"evd-flex-space-between","evd-m-t"],["size","lg",1,"evd-flex-grow-0",3,"src"],["vertical","true",1,"evd-flex-grow-1","evd-m-t0","evd-m-b0","evd-m-l2"],["class","evd-m-t0",4,"ngIf"],[4,"ngIf"],[1,"evd-flex-end","evd-m-t"],["type","primary","skipLocationChange","",3,"routerLink"],[1,"evd-m-t0"],["slot","label"],["slot","description"],["undecorated","true",3,"href"]],template:function(r,i){r&1&&(D(0,"evd-container",0)(1,"evd-panel")(2,"evd-headline",1),I(3),m(),I(4),D(5,"div",2),z(6,"evd-avatar",3),D(7,"evd-list-definition",4),x(8,eR,7,2,"evd-list-definition-item",5)(9,tR,6,2,"evd-list-definition-item",6),m()(),D(10,"div",7)(11,"evd-navigation-button",8),I(12,"Kontaktformular"),m()()()()),r&2&&(S(3),Et(i.contact==null?null:i.contact.headline),S(),In(" ",i.contact==null?null:i.contact.subLine," "),S(2),C("src",i.contact==null?null:i.contact.avatar),S(2),C("ngIf",i.contact&&i.contact.phone),S(),C("ngIf",i.contact&&i.contact.mail),S(2),C("routerLink","/contact-form"))},dependencies:[Ve,zt,Vn],encapsulation:2})}}return e})();var rR=typeof global=="object"&&global&&global.Object===Object&&global,Dl=rR;var iR=typeof self=="object"&&self&&self.Object===Object&&self,oR=Dl||iR||Function("return this")(),ut=oR;var sR=ut.Symbol,Oi=sR;var NS=Object.prototype,aR=NS.hasOwnProperty,cR=NS.toString,ls=Oi?Oi.toStringTag:void 0;function lR(e){var n=aR.call(e,ls),t=e[ls];try{e[ls]=void 0;var r=!0}catch{}var i=cR.call(e);return r&&(n?e[ls]=t:delete e[ls]),i}var RS=lR;var uR=Object.prototype,dR=uR.toString;function fR(e){return dR.call(e)}var kS=fR;
vendor: 4,886 bytes, line 10
10var hR="[object Null]",pR="[object Undefined]",OS=Oi?Oi.toStringTag:void 0;function gR(e){return e==null?e===void 0?pR:hR:OS&&OS in Object(e)?RS(e):kS(e)}var Un=gR;function mR(e){return e!=null&&typeof e=="object"}var Gt=mR;var vR=Array.isArray,us=vR;function yR(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var Ke=yR;function DR(e){return e}var Sl=DR;var SR="[object AsyncFunction]",wR="[object Function]",CR="[object GeneratorFunction]",IR="[object Proxy]";function ER(e){if(!Ke(e))return!1;var n=Un(e);return n==wR||n==CR||n==SR||n==IR}var Fi=ER;var bR=ut["__core-js_shared__"],wl=bR;var FS=function(){var e=/[^.]+$/.exec(wl&&wl.keys&&wl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function _R(e){return!!FS&&FS in e}var PS=_R;var MR=Function.prototype,TR=MR.toString;function xR(e){if(e!=null){try{return TR.call(e)}catch{}try{return e+""}catch{}}return""}var LS=xR;var AR=/[\\^$.*+?()[\]{}|]/g,NR=/^\[object .+?Constructor\]$/,RR=Function.prototype,kR=Object.prototype,OR=RR.toString,FR=kR.hasOwnProperty,PR=RegExp("^"+OR.call(FR).replace(AR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function LR(e){if(!Ke(e)||PS(e))return!1;var n=Fi(e)?PR:NR;return n.test(LS(e))}var jS=LR;function jR(e,n){return e?.[n]}var VS=jR;function VR(e,n){var t=VS(e,n);return jS(t)?t:void 0}var Pi=VR;var US=Object.create,UR=function(){function e(){}return function(n){if(!Ke(n))return{};if(US)return US(n);e.prototype=n;var t=new e;return e.prototype=void 0,t}}(),BS=UR;function BR(e,n,t){switch(t.length){case 0:return e.call(n);case 1:return e.call(n,t[0]);case 2:return e.call(n,t[0],t[1]);case 3:return e.call(n,t[0],t[1],t[2])}return e.apply(n,t)}var HS=BR;function HR(e,n){var t=-1,r=e.length;for(n||(n=Array(r));++t<r;)n[t]=e[t];return n}var $S=HR;var $R=800,zR=16,WR=Date.now;function GR(e){var n=0,t=0;return function(){var r=WR(),i=zR-(r-t);if(t=r,i>0){if(++n>=$R)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}var zS=GR;function qR(e){return function(){return e}}var WS=qR;var ZR=function(){try{var e=Pi(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Li=ZR;var YR=Li?function(e,n){return Li(e,"toString",{configurable:!0,enumerable:!1,value:WS(n),writable:!0})}:Sl,GS=YR;var KR=zS(GS),qS=KR;var QR=9007199254740991,JR=/^(?:0|[1-9]\d*)$/;function XR(e,n){var t=typeof e;return n=n??QR,!!n&&(t=="number"||t!="symbol"&&JR.test(e))&&e>-1&&e%1==0&&e<n}var Cl=XR;function ek(e,n,t){n=="__proto__"&&Li?Li(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}var ji=ek;function tk(e,n){return e===n||e!==e&&n!==n}var Bn=tk;var nk=Object.prototype,rk=nk.hasOwnProperty;function ik(e,n,t){var r=e[n];(!(rk.call(e,n)&&Bn(r,t))||t===void 0&&!(n in e))&&ji(e,n,t)}var ZS=ik;function ok(e,n,t,r){var i=!t;t||(t={});for(var o=-1,s=n.length;++o<s;){var a=n[o],c=r?r(t[a],e[a],a,t,e):void 0;c===void 0&&(c=e[a]),i?ji(t,a,c):ZS(t,a,c)}return t}var YS=ok;var KS=Math.max;function sk(e,n,t){return n=KS(n===void 0?e.length-1:n,0),function(){for(var r=arguments,i=-1,o=KS(r.length-n,0),s=Array(o);++i<o;)s[i]=r[n+i];i=-1;for(var a=Array(n+1);++i<n;)a[i]=r[i];return a[n]=t(s),HS(e,this,a)}}var QS=sk;function ak(e,n){return qS(QS(e,n,Sl),e+"")}var JS=ak;var ck=9007199254740991;function lk(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ck}var Il=lk;function uk(e){return e!=null&&Il(e.length)&&!Fi(e)}var Vi=uk;function dk(e,n,t){if(!Ke(t))return!1;var r=typeof n;return(r=="number"?Vi(t)&&Cl(n,t.length):r=="string"&&n in t)?Bn(t[n],e):!1}var XS=dk;function fk(e){return JS(function(n,t){var r=-1,i=t.length,o=i>1?t[i-1]:void 0,s=i>2?t[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,s&&XS(t[0],t[1],s)&&(o=i<3?void 0:o,i=1),n=Object(n);++r<i;){var a=t[r];a&&e(n,a,r,o)}return n})}var ew=fk;var hk=Object.prototype;function pk(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||hk;return e===t}var El=pk;function gk(e,n){for(var t=-1,r=Array(e);++t<e;)r[t]=n(t);return r}var tw=gk;var mk="[object Arguments]";function vk(e){return Gt(e)&&Un(e)==mk}var Gh=vk;var nw=Object.prototype,yk=nw.hasOwnProperty,Dk=nw.propertyIsEnumerable,Sk=Gh(function(){return arguments}())?Gh:function(e){return Gt(e)&&yk.call(e,"callee")&&!Dk.call(e,"callee")},ds=Sk;function wk(){return!1}var rw=wk;var sw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,iw=sw&&typeof module=="object"&&module&&!module.nodeType&&module,Ck=iw&&iw.exports===sw,ow=Ck?ut.Buffer:void 0,Ik=ow?ow.isBuffer:void 0,Ek=Ik||rw,bl=Ek;var bk="[object Arguments]",_k="[object Array]",Mk="[object Boolean]",Tk="[object Date]",xk="[object Error]",Ak="[object Function]",Nk="[object Map]",Rk="[object Number]",kk="[object Object]",Ok="[object RegExp]",Fk="[object Set]",Pk="[object String]",Lk="[object WeakMap]",jk="[object ArrayBuffer]",Vk="[object DataView]",Uk="[object Float32Array]",Bk="[object Float64Array
10]",Hk="[object Int8Array]",$k="[object Int16Array]",zk="[object Int32Array]",Wk="[object Uint8Array]",Gk="[object Uint8ClampedArray]",qk="[object Uint16Array]",Zk="[object Uint32Array]",re={};re[Uk]=re[Bk]=re[Hk]=re[$k]=re[zk]=re[Wk]=re[Gk]=re[qk]=re[Zk]=!0;re[bk]=re[_k]=re[jk]=re[Mk]=re[Vk]=re[Tk]=re[xk]=re[Ak]=re[Nk]=re[Rk]=re[kk]=re[Ok]=re[Fk]=re[Pk]=re[Lk]=!1;function Yk(e){return Gt(e)&&Il(e.length)&&!!re[Un(e)]}var aw=Yk;function Kk(e){return function(n){return e(n)}}var cw=Kk;var lw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,fs=lw&&typeof module=="object"&&module&&!module.nodeType&&module,Qk=fs&&fs.exports===lw,qh=Qk&&Dl.process,Jk=function(){try{var e=fs&&fs.require&&fs.require("util").types;return e||qh&&qh.binding&&qh.binding("util")}catch{}}(),Zh=Jk;var uw=Zh&&Zh.isTypedArray,Xk=uw?cw(uw):aw,_l=Xk;var eO=Object.prototype,tO=eO.hasOwnProperty;function nO(e,n){var t=us(e),r=!t&&ds(e),i=!t&&!r&&bl(e),o=!t&&!r&&!i&&_l(e),s=t||r||i||o,a=s?tw(e.length,String):[],c=a.length;for(var l in e)(n||tO.call(e,l))&&!(s&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Cl(l,c)))&&a.push(l);return a}var dw=nO;function rO(e,n){return function(t){return e(n(t))}}var fw=rO;function iO(e){var n=[];if(e!=null)for(var t in Object(e))n.push(t);return n}var hw=iO;var oO=Object.prototype,sO=oO.hasOwnProperty;function aO(e){if(!Ke(e))return hw(e);var n=El(e),t=[];for(var r in e)r=="constructor"&&(n||!sO.call(e,r))||t.push(r);return t}var pw=aO;function cO(e){return Vi(e)?dw(e,!0):pw(e)}var Ml=cO;var lO=Pi(Object,"create"),ln=lO;function uO(){this.__data__=ln?ln(null):{},this.size=0}var gw=uO;function dO(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}var mw=dO;var fO="__lodash_hash_undefined__",hO=Object.prototype,pO=hO.hasOwnProperty;function gO(e){var n=this.__data__;if(ln){var t=n[e];return t===fO?void 0:t}return pO.call(n,e)?n[e]:void 0}var vw=gO;var mO=Object.prototype,vO=mO.hasOwnProperty;function yO(e){var n=this.__data__;return ln?n[e]!==void 0:vO.call(n,e)}var yw=yO;var DO="__lodash_hash_undefined__";function SO(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=ln&&n===void 0?DO:n,this}var Dw=SO;function Ui(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}Ui.prototype.clear=gw;Ui.prototype.delete=mw;Ui.prototype.get=vw;Ui.prototype.has=yw;Ui.prototype.set=Dw;var Yh=Ui;function wO(){this.__data__=[],this.size=0}var Sw=wO;function CO(e,n){for(var t=e.length;t--;)if(Bn(e[t][0],n))return t;return-1}var Hn=CO;var IO=Array.prototype,EO=IO.splice;function bO(e){var n=this.__data__,t=Hn(n,e);if(t<0)return!1;var r=n.length-1;return t==r?n.pop():EO.call(n,t,1),--this.size,!0}var ww=bO;function _O(e){var n=this.__data__,t=Hn(n,e);return t<0?void 0:n[t][1]}var Cw=_O;function MO(e){return Hn(this.__data__,e)>-1}var Iw=MO;function TO(e,n){var t=this.__data__,r=Hn(t,e);return r<0?(++this.size,t.push([e,n])):t[r][1]=n,this}var Ew=TO;function Bi(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}Bi.prototype.clear=Sw;Bi.prototype.delete=ww;Bi.prototype.get=Cw;Bi.prototype.has=Iw;Bi.prototype.set=Ew;var $n=Bi;var xO=Pi(ut,"Map"),Tl=xO;function AO(){this.size=0,this.__data__={hash:new Yh,map:new(Tl||$n),string:new Yh}}var bw=AO;function NO(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}var _w=NO;function RO(e,n){var t=e.__data__;return _w(n)?t[typeof n=="string"?"string":"hash"]:t.map}var zn=RO;function kO(e){var n=zn(this,e).delete(e);return this.size-=n?1:0,n}var Mw=kO;function OO(e){return zn(this,e).get(e)}var Tw=OO;function FO(e){return zn(this,e).has(e)}var xw=FO;function PO(e,n){var t=zn(this,e),r=t.size;return t.set(e,n),this.size+=t.size==r?0:1,this}var Aw=PO;function Hi(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}Hi.prototype.clear=bw;Hi.prototype.delete=Mw;Hi.prototype.get=Tw;Hi.prototype.has=xw;Hi.prototype.set=Aw;var Nw=Hi;var LO=fw(Object.getPrototypeOf,Object),xl=LO;var jO="[object Object]",VO=Function.prototype,UO=Object.prototype,Rw=VO.toString,BO=UO.hasOwnProperty,HO=Rw.call(Object);function $O(e){if(!Gt(e)||Un(e)!=jO)return!1;var n=xl(e);if(n===null)return!0;var t=BO.call(n,"constructor")&&n.constructor;return typeof t=="function"&&t instanceof t&&Rw.call(t)==HO}var kw=$O;function zO(){this.__data__=new $n,this.size=0}var Ow=zO;function WO(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}var Fw=WO;function GO(e){return this.__data__.get(e)}var Pw=GO;function qO(e){return this.__data__.has(e)}var Lw=qO;var ZO=200;function YO(e,n){var t=this.__data__;if(t instanceof $n){var r=t.__data__;if(!Tl||r.length<ZO-1)return r.push([e,n]),this.size=++t.size,this;t=this.__data__=new Nw(r)}return t.set(e,n),this.size=t.size,this}var jw=YO;function $i(e){var n=this.__data__=new $n(e);this.size=n.size}$i.prototype.clear=Ow;$i.prototype.delete=Fw;$i.prototype.get=Pw;$i.prototype.has=Lw;$i.prototype.set=jw;var Vw=$i;var $w=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Uw=$w&&typeof module=="object"&&module&&!module.nodeType&&module,KO=Uw&&Uw.exports===$w,Bw=KO?ut.Buffer:void 0,Hw=Bw?Bw.allocUnsafe:void 0;function QO(e,n){if(n)return e.slice();var t=e.length,r=Hw?Hw(t):new e.constructor(t);return e.copy(r),r}
10var zw=QO;var JO=ut.Uint8Array,Kh=JO;function XO(e){var n=new e.constructor(e.byteLength);return new Kh(n).set(new Kh(e)),n}var Ww=XO;function eF(e,n){var t=n?Ww(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var Gw=eF;function tF(e){return typeof e.constructor=="function"&&!El(e)?BS(xl(e)):{}}var qw=tF;function nF(e){return function(n,t,r){for(var i=-1,o=Object(n),s=r(n),a=s.length;a--;){var c=s[e?a:++i];if(t(o[c],c,o)===!1)break}return n}}var Zw=nF;var rF=Zw(),Yw=rF;function iF(e,n,t){(t!==void 0&&!Bn(e[n],t)||t===void 0&&!(n in e))&&ji(e,n,t)}var hs=iF;function oF(e){return Gt(e)&&Vi(e)}var Kw=oF;function sF(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var ps=sF;function aF(e){return YS(e,Ml(e))}var Qw=aF;function cF(e,n,t,r,i,o,s){var a=ps(e,t),c=ps(n,t),l=s.get(c);if(l){hs(e,t,l);return}var u=o?o(a,c,t+"",e,n,s):void 0,d=u===void 0;if(d){var p=us(c),f=!p&&bl(c),g=!p&&!f&&_l(c);u=c,p||f||g?us(a)?u=a:Kw(a)?u=$S(a):f?(d=!1,u=zw(c,!0)):g?(d=!1,u=Gw(c,!0)):u=[]:kw(c)||ds(c)?(u=a,ds(a)?u=Qw(a):(!Ke(a)||Fi(a))&&(u=qw(c))):d=!1}d&&(s.set(c,u),i(u,c,r,o,s),s.delete(c)),hs(e,t,u)}var Jw=cF;function Xw(e,n,t,r,i){e!==n&&Yw(n,function(o,s){if(i||(i=new Vw),Ke(o))Jw(e,n,s,t,Xw,r,i);else{var a=r?r(ps(e,s),o,s+"",e,n,i):void 0;a===void 0&&(a=o),hs(e,s,a)}},Ml)}var eC=Xw;var lF=ew(function(e,n,t,r){eC(e,n,t,r)}),Qh=lF;function uF(e,n){if(e&1&&z(0,"div",1),e&2){let t=te();sc(t.servermodeClass())}}var Al=(()=>{class e{constructor(){this.stage=lr(),this.servermodeClass=rn(()=>`serverMode-${this.stage()}`)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ce({type:e,selectors:[["cc-config-stage-badge"]],inputs:{stage:[1,"stage"]},decls:1,vars:1,consts:[[1,"serverMode",3,"class"],[1,"serverMode"]],template:function(r,i){r&1&&x(0,uF,1,2,"div",0),r&2&&Xe(i.stage()?0:-1)},styles:[".serverMode[_ngcontent-%COMP%]{position:absolute;top:0;z-index:9998;right:50px;width:41px;height:86px}.serverMode.serverMode-local[_ngcontent-%COMP%], .serverMode.serverMode-lokal[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYuOTI1IiBoZWlnaHQ9IjEwNi4xMzUiIHZpZXdCb3g9IjAgMCAxNi41NTQgMzcuNDQyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxmaWx0ZXIgaWQ9ImEiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiI+PGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ciIgc3RkRGV2aWF0aW9uPSIwLjQxIDAuNTMiLz48L2ZpbHRlcj48ZmlsdGVyIGlkPSJiIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPjxmZUdhdXNzaWFuQmx1ciByZXN1bHQ9ImJsdXIiIHN0ZERldmlhdGlvbj0iMC40MSAwLjUzIi8+PC9maWx0ZXI+PGZpbHRlciBpZD0iYyIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj48ZmVHYXVzc2lhbkJsdXIgcmVzdWx0PSJibHVyIiBzdGREZXZpYXRpb249IjAuNDEgMC41MyIvPjwvZmlsdGVyPjwvZGVmcz48cGF0aCBkPSJNMi41MDEgNS4zMzFoMTguMDEydjQwLjc0bC04Ljk3OS03LjUzLTkuMDMzIDcuNTN6IiBmaWxsLW9wYWNpdHk9Ii42MjMiIGZpbHRlcj0idXJsKCNhKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI2LjI0MyAtLjk0Mykgc2NhbGUoLjc2NTg3KSIvPjxwYXRoIGQ9Ik0tMjQuMDMgMy4yMTNoMTMuMTcyVjMzLjM5bC02LjU2Ni01LjU3OC02LjYwNiA1LjU3OHoiIGZpbGw9IiM4NjI0MDAiLz48cGF0aCBkPSJNLTI0LjAyNyAyLjc0aDEzLjE3MVYzMi45MmwtNi41NjUtNS41NzgtNi42MDYgNS41Nzh6IiBmaWxsPSIjYWEyZTAwIi8+PGc+PHBhdGggdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI1LjQ4NCAtLjA5NSkgc2NhbGUoLjc2NTg3KSIgZD0iTTM1LjA3Ni43NDNoMTguMDEydjQwLjc0bC04Ljk4LTcuNTMtOS4wMzIgNy41M3oiIGZpbGwtb3BhY2l0eT0iLjYyMyIgZmlsdGVyPSJ1cmwoI2IpIi8+PHBhdGggZD0iTTEuNjc3LjU0N2gxMy4xNzF2MzAuMTc4bC02LjU2Ni01LjU3OC02LjYwNSA1LjU3OHoiIGZpbGw9IiMwMDYwZTMiLz48cGF0aCBkPSJNMS42OC4wNzRoMTMuMTcxdjMwLjE3OGwtNi41NjYtNS41NzctNi42MDUgNS41Nzd6IiBmaWxsPSIjMzY4YmZmIi8+PGcgZmlsbD0iI2ZmZiIgYXJpYS1sYWJlbD0iTE9DQUwiPjxwYXRoIGQ9Ik0xMC42OTQgMTkuNzM5bC0uMDI3IDMuMDg0LTQuODc1LS4wNDMuMDA2LS42NDggNC4yOTkuMDM4LjAyMS0yLjQzNnpNNi40MTYgMTUuNDg0cS4zMy0uMjk1LjgwNy0uNDQ4LjQ3Ni0uMTU2IDEuMDc4LS4xNXQxLjA3OS4xNzJxLjQ3My4xNjUuNzg4LjQ2LjMyOC4zMDMuNDkyLjcxNy4xNjMuNDEuMTU4LjkzOC0uMDA0LjUxNC0uMTc4LjkzNS0uMTc0LjQxNy0uNS43MXQtLjguNDQ3cS0uNDczLjE1My0xLjA3OS4xNDgtLjU5Ni0uMDA1LTEuMDY2LS4xNjctLjQ3My0uMTYtLjgwOC0uNDY1LS4zMTgtLjI5MS0uNDg0LS43MTgtLjE2Ny0uNDMtLjE2Mi0uOTM1LjAwNC0uNTIzLjE4MS0uOTM4LjE3NC0uNDE3LjQ5NC0uNzA2em0xLjg4LjA3NnEtLjk1LS4wMDktMS40NjguNDEyLS41MjEuNDIxLS41MjggMS4xNTgtLjAwNi43NDMuNTA3IDEuMTczLjUxLjQyNyAxLjQ2LjQzNi45Ni4wMDggMS40NzQtLjQyLjUxMS0uNDI3LjUxOC0xLjE1NHQtLjQ5OC0xLjE2cS0uNTA3LS40MzctMS40NjYtLjQ0NXpNMTAuNDI1IDEwLjExcS4wNzcuMTgxLjE0NS4zMy4wNjcuMTQ0LjE0LjM4LjA2LjIuMTAxLjQzNy4wNDQuMjMzLjA0
10Mi41MTQtLjAwNS41My0uMTU2Ljk2NS0uMTU1LjQzLS40NzUuNzQ5LS4zMTQuMzExLS43OTMuNDg0LS40ODMuMTcyLTEuMTE4LjE2Ny0uNjAzLS4wMDYtMS4wNzYtLjE4LS40NzMtLjE3NC0uNzk4LS40OTgtLjMxNC0uMzE0LS40NzctLjc1NC0uMTY0LS40NDQtLjE1OS0uOTguMDA0LS4zOTMuMTAyLS43ODIuMDk4LS4zOTIuMzQyLS44NjhsLjc2OS4wMDd2LjA0OXEtLjM0MS40LS40OTkuNzk0LS4xNTcuMzk1LS4xNi44NDctLjAwNC4zNy4xMTQuNjY5LjExNi4yOTYuMzY2LjUzLjI0My4yMjguNjE5LjM2LjM3Mi4xMjcuODYzLjEzMS41MTQuMDA1Ljg4NS0uMTMuMzcxLS4xMzcuNjA1LS4zNTQuMjQ1LS4yMjcuMzY1LS41My4xMTgtLjMwNy4xMi0uNjQ4LjAwNS0uNDY4LS4xNTItLjg3OS0uMTU3LS40MS0uNDc1LS43N3YtLjA0NnpNMTAuODIgNS4zNDdsLS4wMDUuNjktMS4zNjMuNDY3LS4wMTkgMi4xMDggMS4zNTUuNDktLjAwNi42NTgtNC44Ni0xLjgxNy4wMDgtLjg2NHpNOC44OTQgNi43bC0yLjQuODMzIDIuMzg1Ljg3OXpNMTAuODU0IDEuNTIzbC0uMDI3IDMuMDg0LTQuODc1LS4wNDMuMDA2LS42NDggNC4yOTkuMDM4LjAyMS0yLjQzNnoiLz48L2c+PC9nPjxnPjxwYXRoIGQ9Ik03Mi40NzItLjg2N2gxOC4wMTJ2NDAuNzRsLTguOTgtNy41My05LjAzMiA3LjUzeiIgZmlsbC1vcGFjaXR5PSIuNjIzIiBmaWx0ZXI9InVybCgjYykiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yNy4wNTcgMy44MzkpIHNjYWxlKC43NjU4NykiLz48cGF0aCBkPSJNMjguNzQ1IDMuMjQ4aDEzLjE3MnYzMC4xNzhsLTYuNTY2LTUuNTc4LTYuNjA2IDUuNTc4eiIgZmlsbD0iIzkzNzEwMCIvPjxwYXRoIGQ9Ik0yOC43NDggMi43NzVoMTMuMTcxdjMwLjE3OWwtNi41NjYtNS41NzgtNi42MDUgNS41Nzh6IiBmaWxsPSIjZGVhOTAwIi8+PC9nPjwvc3ZnPg==)}.serverMode.serverMode-development[_ngcontent-%COMP%], .serverMode.serverMode-dev[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYuOTI1IiBoZWlnaHQ9IjEwNi4xMzUiIHZpZXdCb3g9IjAgMCAxNi41NTQgMzcuNDQyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxmaWx0ZXIgaWQ9ImEiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiI+PGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ciIgc3RkRGV2aWF0aW9uPSIwLjQxIDAuNTMiLz48L2ZpbHRlcj48ZmlsdGVyIGlkPSJiIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPjxmZUdhdXNzaWFuQmx1ciByZXN1bHQ9ImJsdXIiIHN0ZERldmlhdGlvbj0iMC40MSAwLjUzIi8+PC9maWx0ZXI+PGZpbHRlciBpZD0iYyIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj48ZmVHYXVzc2lhbkJsdXIgcmVzdWx0PSJibHVyIiBzdGREZXZpYXRpb249IjAuNDEgMC41MyIvPjwvZmlsdGVyPjwvZGVmcz48cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtLjUzNiAtMy42MDkpIHNjYWxlKC43NjU4NykiIGQ9Ik0yLjUwMSA1LjMzMWgxOC4wMTJ2NDAuNzRsLTguOTc5LTcuNTMtOS4wMzMgNy41M3oiIGZpbGwtb3BhY2l0eT0iLjYyMyIgZmlsdGVyPSJ1cmwoI2EpIi8+PHBhdGggZD0iTTEuNjc3LjU0N2gxMy4xNzF2MzAuMTc4bC02LjU2Ni01LjU3OC02LjYwNSA1LjU3OHoiIGZpbGw9IiM4NjI0MDAiLz48cGF0aCBkPSJNMS42OC4wNzRoMTMuMTd2MzAuMTc4bC02LjU2NS01LjU3Ny02LjYwNiA1LjU3N3oiIGZpbGw9IiNhYTJlMDAiLz48ZyBmaWxsPSIjZmZmIiBhcmlhLWxhYmVsPSJERVYiPjxwYXRoIGQ9Ik04LjIyMSAxNS41ODZxLjcyNi4wMDYgMS4zMTMuMzMuNTg3LjMyLjkwOC44NDguMjIyLjM2Ni4zMTguODE4LjA5Ni40NDcuMDkgMS4xOGwtLjAxMiAxLjM0NS01LjMyMy0uMDQ3LjAxMS0xLjMzcS4wMDctLjc4LjEyNS0xLjIzNi4xMTUtLjQ2LjMxNS0uNzc3LjM0NC0uNTQuOTEyLS44NC41NjctLjI5OCAxLjM0My0uMjkxem0tLjAxNy43NHEtLjYyNi0uMDA2LTEuMDU3LjIwOC0uNDMuMjE1LS42ODEuNjQ1LS4xODIuMzEzLS4yNTMuNjY3LS4wNzQuMzUzLS4wNzkuODQ2bC0uMDA1LjY2NSA0LjEwOC4wMzcuMDA1LS42NjVxLjAwNS0uNTEyLS4wNjctLjg5MS0uMDcyLS4zODQtLjI3My0uNzA0LS4yNS0uMzk5LS42NjMtLjU5OS0uNDEzLS4yMDQtMS4wMzUtLjIxek0xMC45MTkgMTAuOTVsLS4wMzEgMy41MDgtNS4zMjQtLjA0Ny4wMy0zLjUwNy42My4wMDUtLjAyNCAyLjggMS40NTguMDEyLjAyNS0yLjguNjMuMDA2LS4wMjUgMi44IDEuOTc3LjAxNy4wMjQtMi44ek01LjY0MiA1LjU4bDUuMzA2IDEuOTg0LS4wMDguOTQ0TDUuNiAxMC40bC4wMDYtLjc1OCA0LjY5OC0xLjYyOC00LjY2OS0xLjcxeiIvPjwvZz48Zz48cGF0aCBkPSJNMzUuMDc2Ljc0M2gxOC4wMTJ2NDAuNzRsLTguOTgtNy41My05LjAzMiA3LjUzeiIgZmlsbC1vcGFjaXR5PSIuNjIzIiBmaWx0ZXI9InVybCgjYikiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC4yMjIgMi41Mykgc2NhbGUoLjc2NTg3KSIvPjxwYXRoIGQ9Ik0yNy4zODQgMy4xNzJoMTMuMTcydjMwLjE3OWwtNi41NjYtNS41NzgtNi42MDYgNS41Nzh6IiBmaWxsPSIjMDA2MGUzIi8+PHBhdGggZD0iTTI3LjM4NiAyLjdoMTMuMTcydjMwLjE3OGwtNi41NjYtNS41NzctNi42MDYgNS41Nzd6IiBmaWxsPSIjMzY4YmZmIi8+PC9nPjxnPjxwYXRoIGQ9Ik03Mi40NzItLjg2N2gxOC4wMTJ2NDAuNzRsLTguOTgtNy41My05LjAzMiA3LjUzeiIgZmlsbC1vcGFjaXR5PSIuNjIzIiBmaWx0ZXI9InVybCgjYykiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xLjM1IDMuODE5KSBzY2FsZSguNzY1ODcpIi8+PHBhdGggZD0iTTU0LjQ1MiAzLjIyN2gxMy4xNzJ2MzAuMTc5bC02LjU2Ni01LjU3OC02LjYwNiA1LjU3OHoiIGZpbGw9IiM5MzcxMDAiLz48cGF0aCBkPSJNNTQuNDU0IDIuNzU1aDEzLjE3MnYzMC4xNzhsLTYuNTY2LTUuNTc3LTYuNjA2IDUuNTc3eiIgZmlsbD0iI2RlYTkwMCIvPjwvZz48L3N2Zz4=)}.serverMode.serverMode-test[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYuOTI1IiBoZWlnaHQ9IjEwNi4xMzUiIHZpZXdCb3g9IjAgMCAxNi41NTQgMzcuNDQyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxmaWx0ZXIgaWQ9ImEiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiI+PGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ciIgc3RkRGV2aWF0aW9uPSIwLjQxIDAuNTMiLz48L2ZpbHRlcj48ZmlsdGVyIGlkPSJiIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPjxmZUdhdXNzaWFuQmx1ciByZXN1bHQ9ImJsdXIiIHN0ZERldmlhdGlvbj0iMC40MSAwLjUzIi8+PC9maWx0ZXI+PGZpbHRlciBpZD0iYyIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj48ZmVHYXVzc2lhbkJsdXIgcmVzdWx0PSJibHVyIiBzdGREZXZpYXRpb249IjAuNDEgMC41MyIvPjwvZmlsdGVyPjwvZGVmcz48cGF0aCBkPSJNMi41MDEgNS4zMzFoMTguMDEydjQwLjc0bC04Ljk3OS03LjUzLTkuMDMzIDcuNTN6IiBmaWxsLW9wYWNpdHk9Ii42MjMiIGZpbHRlcj0idXJsKCNhKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUzLjM
10xMSAtLjk5OCkgc2NhbGUoLjc2NTg3KSIvPjxwYXRoIGQ9Ik0tNTEuMDk4IDMuMTU4aDEzLjE3MnYzMC4xNzhsLTYuNTY2LTUuNTc4LTYuNjA2IDUuNTc4eiIgZmlsbD0iIzg2MjQwMCIvPjxwYXRoIGQ9Ik0tNTEuMDk1IDIuNjg1aDEzLjE3MXYzMC4xNzlsLTYuNTY1LTUuNTc4LTYuNjA2IDUuNTc4eiIgZmlsbD0iI2FhMmUwMCIvPjxnPjxwYXRoIGQ9Ik0zNS4wNzYuNzQzaDE4LjAxMnY0MC43NGwtOC45OC03LjUzLTkuMDMyIDcuNTN6IiBmaWxsLW9wYWNpdHk9Ii42MjMiIGZpbHRlcj0idXJsKCNiKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUyLjU1MiAyLjQ5Nikgc2NhbGUoLjc2NTg3KSIvPjxwYXRoIGQ9Ik0tMjUuMzkgMy4xMzhoMTMuMTd2MzAuMTc4bC02LjU2NS01LjU3OC02LjYwNiA1LjU3OHoiIGZpbGw9IiMwMDYwZTMiLz48cGF0aCBkPSJNLTI1LjM4OSAyLjY2NWgxMy4xNzJ2MzAuMTc5bC02LjU2Ni01LjU3OC02LjYwNiA1LjU3OHoiIGZpbGw9IiMzNjhiZmYiLz48L2c+PGc+PHBhdGggdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTU0LjEyNSAxLjEzOCkgc2NhbGUoLjc2NTg3KSIgZD0iTTcyLjQ3Mi0uODY3aDE4LjAxMnY0MC43NGwtOC45OC03LjUzLTkuMDMyIDcuNTN6IiBmaWxsLW9wYWNpdHk9Ii42MjMiIGZpbHRlcj0idXJsKCNjKSIvPjxwYXRoIGQ9Ik0xLjY3Ny41NDdoMTMuMTcxdjMwLjE3OGwtNi41NjYtNS41NzgtNi42MDUgNS41Nzh6IiBmaWxsPSIjOTM3MTAwIi8+PHBhdGggZD0iTTEuNjguMDc0aDEzLjE3MXYzMC4xNzhsLTYuNTY2LTUuNTc3LTYuNjA1IDUuNTc3eiIgZmlsbD0iI2RlYTkwMCIvPjxnIGZpbGw9IiNmZmYiIGFyaWEtbGFiZWw9IlRFU1QiPjxwYXRoIGQ9Ik02LjA4MiAxNy42NTdsLS4wMTYgMS45MDIgNC42OTQuMDQxLS4wMDYuNzA4LTQuNjk0LS4wNDEtLjAxNyAxLjkwMi0uNjMtLjAwNS4wNC00LjUxM3pNMTAuODE0IDEzLjQ2OGwtLjAzIDMuNTA4LTUuMzI1LS4wNDcuMDMxLTMuNTA4LjYzLjAwNi0uMDI1IDIuOCAxLjQ1OS4wMTIuMDI0LTIuOC42My4wMDYtLjAyNSAyLjggMS45NzcuMDE3LjAyNS0yLjh6TTkuMzM4IDguNDZxLjMxMS4wMDMuNjE0LjE1Mi4zMDMuMTQ2LjUxMS40MDkuMjI3LjI4OC4zNTIuNjcxLjEyNS4zOC4xMi45MTctLjAwNC41NzUtLjExNiAxLjAzNi0uMTExLjQ1Ni0uMzI2LjkzbC0uODg3LS4wMDh2LS4wNXEuMzQtLjQuNTI3LS45Mjh0LjE5MS0uOTkzcS4wMDYtLjY1OC0uMjM3LTEuMDI1LS4yNDQtLjM3LS42NTUtLjM3NC0uMzU0LS4wMDMtLjUyNC4xNzEtLjE3LjE3LS4yNjUuNTIzLS4wNzQuMjY4LS4xMjMuNTgyLS4wNS4zMS0uMTI0LjY2LS4xNTcuNzA3LS41MiAxLjA0Ny0uMzY4LjMzNy0uOTUxLjMzMi0uNjY5LS4wMDYtMS4wOS0uNTc1LS40MjMtLjU2OS0uNDE2LTEuNDM3LjAwNS0uNTYyLjExNy0xLjAzLjExMS0uNDY3LjI3MS0uODI2bC44MzcuMDA3di4wNXEtLjI2LjMwMi0uNDMzLjc5Ny0uMTc2LjQ5Mi0uMTggMS4wMS0uMDA1LjU2OS4yMjguOTE4LjIzMy4zNDUuNjA0LjM0OC4zMzMuMDAzLjUyNC0uMTY3LjE5LS4xNy4yOTUtLjYwMS4wNTItLjIyOS4xMjctLjY1LjA3NS0uNDIxLjE1My0uNzE0LjE2Mi0uNTkyLjQ4My0uODkuMzIxLS4yOTcuODkzLS4yOTJ6TTYuMjA3IDMuNDk4TDYuMTkgNS40bDQuNjk1LjA0Mi0uMDA3LjcwNy00LjY5NC0uMDQtLjAxNyAxLjkwMS0uNjMtLjAwNS4wNC00LjUxMnoiLz48L2c+PC9nPjwvc3ZnPg==)}"]})}}return e})();function rC(e,n){return Qh({},e,n,dF)}function dF(e,n){if(Array.isArray(e))return n}var gs=new b("application_config"),fF=new b("application_config_name"),Jh=class{static getApplicationConfig(n,t){let r=document.querySelector(`script[data-config="${n}"]`),i;if(r){let o=JSON.parse(r.innerHTML);i=rC(t,o)}else i=t;return i.deployPath&&i.deployPath.slice(-1)!=="/"&&(i.deployPath=`${i.deployPath}/`),i}},zi=(()=>{class e{static{this.DEFAULT_HEADLINE_LEVEL=2}constructor(t){this.applicationConfig=t}transform(t){let r;return r=this.applicationConfig.headlineLevel,r||(r=e.DEFAULT_HEADLINE_LEVEL),`h${t+(r-1)}`}static{this.\u0275fac=function(r){return new(r||e)(A(gs,16))}}static{this.\u0275pipe=bf({name:"ccHeadlineLevel",type:e,pure:!0})}}return e})();var tC=new b("stage_config"),iC=new b("stage_config_base"),oC=new b("use_local_stage_config"),nC=(()=>{class e{constructor(t,r,i,o){this.http=t,this.applicationConfig=r,this.stageConfigBase=i,this.useLocalStageConfig=o,this.useLocalStageConfig==null&&(this.useLocalStageConfig=!1)}getStageConfig(){if(!this.stageConfig)throw Error("StageConfig is not available yet");return this.stageConfig}load(){if(!this.configuration$){let t;this.useLocalStageConfig?t=M(this.stageConfigBase):t=this.http.get(`${this.applicationConfig.deployPath}stage-config.json`).pipe(N(r=>rC(this.stageConfigBase,r))),this.configuration$=t.pipe(ne(r=>this.stageConfig=r)).pipe(vu(1))}return this.configuration$}static{this.\u0275fac=function(r){return new(r||e)(y(qe),y(gs),y(iC),y(oC,8))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function hF(e){return()=>cu(e.load())}function pF(e){return e.getStageConfig()}var gF=e=>{if(e?.baseHref)return e.baseHref;let n=document.querySelector('meta[name="app-base-href"]');return n?n.getAttribute("content"):""};function sC(e){return[_o(()=>hF(h(nC))()),nh(),{provide:tC,useFactory:pF,deps:[nC]},{provide:oC,useValue:e.useLocalStageConfig},{provide:ui,deps:[gs],useFactory:gF},{provide:e.applicationConfig,useExisting:gs},{provide:e.stageConfig,useExisting:tC},{provide:gs,useFactory:n=>{let t=e.applicationConfigName??n;if(!t)throw new Error("missing config name for the application - provide the InjectionToken APPLICATION_CONFIG_NAME or use the applicationConfigName-property of the CcConfigModule.forRoot-method");return Jh.getApplicationConfig(t,new e.applicationConfig)},deps:[[new yo,new Rd,new $g(fF)]]},{provide:iC,useValue:new e.stageConfig}]}var mF=()=>["/","address-form"];function vF(e,n){e&1&&(D(0,"strong"),I(1,"Ihre eingegebene Adresse ist onnet."),m())}
10function yF(e,n){e&1&&(D(0,"strong"),I(1,"F\xFCr Ihre Adresse ist Glasfaser von SachsenGigaBit verf\xFCgbar."),m())}function DF(e,n){if(e&1&&(z(0,"evd-icon",10),x(1,vF,2,0,"strong")(2,yF,2,0,"strong")),e&2){let t=te(3);S(),Xe(t.customerType===t.customerTypeEnum.Carrier?1:2)}}function SF(e,n){e&1&&(D(0,"strong"),I(1,"Die von Ihnen eingegebene Adresse ist aktuell noch nicht onnet."),m())}function wF(e,n){e&1&&(D(0,"strong"),I(1,"F\xFCr Ihre Adresse pr\xFCfen wir gern individuell die Verf\xFCgbarkeit. Bitte nehmen Sie dazu mit uns Kontakt auf. Vielen Dank!"),m())}function CF(e,n){if(e&1&&(z(0,"evd-icon",11),x(1,SF,2,0,"strong")(2,wF,2,0,"strong")),e&2){let t=te(3);S(),Xe(t.customerType===t.customerTypeEnum.Carrier?1:2)}}function IF(e,n){if(e&1&&(D(0,"evd-icon-text",7),x(1,DF,3,1)(2,CF,3,1),z(3,"br"),I(4),z(5,"br"),I(6),m()),e&2){let t=n.$implicit;S(),Xe(t.found?1:2),S(3),hr("",t.street," ",t.houseNumber,""),S(2),hr(" ",t.zip," ",t.location," ")}}function EF(e,n){if(e&1&&(I(0," Schicken Sie uns gern Ihre Anfrage an "),D(1,"evd-link",12)(2,"span",13),z(3,"evd-icon",14),m(),D(4,"span"),I(5),m()(),I(6," oder nutzen Sie die entsprechenden Kontaktformulare in unseren Produktkategorien. W\xE4hlen Sie dazu einfach das gew\xFCnschte Produkt oberhalb der Pr\xFCfungsergebnisse aus. Unsere Carriermanagerinnen pr\xFCfen gern die Umsetzungsm\xF6glichkeiten am Standort. Wir freuen uns auf Ihre Anfrage. ")),e&2){let t=te(3);S(),C("href","mailto:"+t.serviceEmail),S(4),Et(t.serviceEmail)}}function bF(e,n){if(e&1&&(I(0," Schicken Sie uns gern Ihre Anfrage an "),D(1,"evd-link",12)(2,"span",13),z(3,"evd-icon",14),m(),D(4,"span"),I(5),m()(),I(6," oder nutzen Sie die entsprechenden Kontaktformulare in unseren Produktkategorien. Unsere Carriermanagerinnen pr\xFCfen gern die Umsetzungsm\xF6glichkeiten am Standort. Wir freuen uns auf Ihre Anfrage. ")),e&2){let t=te(3);S(),C("href","mailto:"+t.serviceEmail),S(4),Et(t.serviceEmail)}}function _F(e,n){if(e&1&&(I(0," Wir bearbeiten Ihre Anfrage gern individuell und pr\xFCfen, ob wir mit unserer Infrastruktur in der N\xE4he sind und Ihnen eine Preisinformation erstellen k\xF6nnen. Kontaktieren Sie uns dazu unter "),D(1,"evd-link",12)(2,"span",13),z(3,"evd-icon",14),m(),D(4,"span"),I(5),m()(),I(6," oder nutzen Sie die entsprechenden Kontaktformulare in unseren Produktkategorien. W\xE4hlen Sie dazu einfach das gew\xFCnschte Produkt oberhalb der Pr\xFCfungsergebnisse aus. Wir freuen uns auf Ihre Anfrage. ")),e&2){let t=te(3);S(),C("href","mailto:"+t.serviceEmail),S(4),Et(t.serviceEmail)}}function MF(e,n){if(e&1&&(D(0,"p"),x(1,EF,7,2)(2,bF,7,2)(3,_F,7,2),m()),e&2){let t=te(2);S(),Xe(t.getCarrierMessage()==="found"?1:t.getCarrierMessage()==="allNotFound"?2:3)}}function TF(e,n){e&1&&(Ct(0),I(1,"unsere Kundenbetreuerinnen:"),It())}function xF(e,n){e&1&&(Ct(0),I(1,"unseren Kundenbetreuer:"),It())}function AF(e,n){e&1&&I(0,"unsere Kundenbetreuerin:")}
10function NF(e,n){if(e&1&&x(0,xF,2,0,"ng-container",15)(1,AF,1,0,"ng-template",null,1,To),e&2){let t=Mo(2),r=te(3);C("ngIf",r.contact[0].gender)("ngIfElse",t)}}function RF(e,n){if(e&1&&(D(0,"p"),z(1,"br"),I(2," F\xFCr Ihre pers\xF6nliche Beratung und Ihr individuelles Angebot kontaktieren Sie bitte "),x(3,TF,2,0,"ng-container",15)(4,NF,3,2,"ng-template",null,0,To),m()),e&2){let t=Mo(5),r=te(2);S(3),C("ngIf",r.contact.length>1)("ngIfElse",t)}}function kF(e,n){if(e&1&&(ac(0,IF,7,5,"evd-icon-text",7,ny),D(2,"div",8),x(3,MF,4,1,"p",9)(4,RF,6,2,"p",9),m()),e&2){let t=te(),r=ay(7);cc(r),S(2),C("ngSwitch",t.customerType),S(),C("ngSwitchCase",t.customerTypeEnum.Carrier),S(),C("ngSwitchCase",t.customerTypeEnum.Business)}}function OF(e,n){if(e&1&&z(0,"app-contact-card",16),e&2){let t=n.$implicit;C("contact",t)}}var aC=(()=>{class e{constructor(t){this.appConfig=t,this.customerTypeEnum=fe,this.addresses=[],this.contact=[],this.config=h(se),this.addressService=h(ki),this.serviceEmail=this.appConfig.serviceEmail}ngOnInit(){this.customerType=this.config.carrier?fe.Carrier:fe.Business,this.addresses=this.addressService.getValidationResults()??[];let t=this.config.carrier?fe.Carrier:fe.Business;this.contact.push(...this.config.contact.filter(r=>r.type===t))}trackByContact(t){return t}getCarrierMessage(){return this.addresses.length===2&&this.addresses.every(t=>!t.found)?"allNotFound":this.addresses.length===2&&this.addresses.some(t=>!t.found)?"notFound":this.addresses.some(t=>t.found)?"found":"notFound"}static{this.\u0275fac=function(r){return new(r||e)(A(se))}}static{this.\u0275cmp=ce({type:e,selectors:[["app-check-result"]],standalone:!1,decls:11,vars:9,consts:[["singular",""],["female",""],["type","blank","skipLocationChange","",1,"evd-p-b",3,"routerLink"],["slot","prefix-icon","icon","arrow-left"],["display","h3","no-margin","",1,"evd-m-b",3,"level"],[1,"evd-flex-lg-center"],["class","evd-d-block evd-m-b",3,"contact",4,"ngFor","ngForOf","ngForTrackBy"],[1,"evd-m-b"],[3,"ngSwitch"],[4,"ngSwitchCase"],["slot","icon","icon","circle-check"],["slot","icon","icon","circle-info"],[3,"href"],["slot","icon"],["icon","at"],[4,"ngIf","ngIfElse"],[1,"evd-d-block","evd-m-b",3,"contact"]],template:function(r,i){if(r&1&&(D(0,"evd-button",2)(1,"span"),I(2,"Adresse \xE4ndern"),m(),z(3,"evd-icon",3),m(),D(4,"evd-headline",4),ai(5,"ccHeadlineLevel"),I(6,"Pr\xFCfung abgeschlossen"),m(),Nf(7),x(8,kF,5,3),D(9,"div",5),x(10,OF,1,1,"app-contact-card",6),m()),r&2){C("routerLink",pr(8,mF)),S(4),C("level",ci(5,5,1)),S(3);let o=sy(i.addresses);S(),Xe(o?8:-1),S(2),C("ngForOf",i.contact)("ngForTrackBy",i.trackByContact)}},dependencies:[_n,Ve,fc,Bf,zt,Vn,AS,zi],encapsulation:2})}}return e})();var cC=()=>h(Ne).internal;var lC=(()=>{class e{constructor(){this.appConfig=h(se),this.stageConfig=h(Ne),this.http=h(qe)}sendContactRequest(t){return this.http.post(cn([this.stageConfig.restBaseURL,this.appConfig.contactEndpoint]),t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var FF=()=>["/","check-result"],PF=(e,n)=>n.productName;function LF(e,n){e&1&&(D(0,"span"),I(1,"Bitte w\xE4hlen Sie Ihre Anrede aus."),m())}function jF(e,n){if(e&1&&(D(0,"span",24),x(1,LF,2,0,"span",19),m()),e&2){let t=n.$implicit;S(),C("ngIf",t.required)}}function VF(e,n){e&1&&(D(0,"span"),I(1,"Bitte geben Sie Ihren Vornamen an."),m())}function UF(e,n){if(e&1&&(D(0,"span",24),x(1,VF,2,0,"span",19),m()),e&2){let t=n.$implicit;S(),C("ngIf",t.required)}}function BF(e,n){e&1&&(D(0,"span"),I(1,"Bitte geben Sie Ihren Nachnamen an."),m())}function HF(e,n){if(e&1&&(D(0,"span",24),x(1,BF,2,0,"span",19),m()),e&2){let t=n.$implicit;S(),C("ngIf",t.required)}}function $F(e,n){e&1&&(D(0,"span"),I(1,"Bitte geben Sie Ihren Firmennamen an."),m())}function zF(e,n){if(e&1&&(D(0,"span",24),x(1,$F,2,0,"span",19),m()),e&2){let t=n.$implicit;S(),C("ngIf",t.required)}}function WF(e,n){e&1&&(D(0,"span"),I(1,"Bitte geben Sie Ihre E-Mail-Adresse an."),m())}function GF(e,n){if(e&1&&(D(0,"span",24),x(1,WF,2,0,"span",19),m()),e&2){let t=n.$implicit;S(),C("ngIf",t.required)}}function qF(e,n){if(e&1&&z(0,"evd-select-option",17),e&2){let t=n.$implicit;C("label",t.productName)("value",t.productName)}}function ZF(e,n){e&1&&(D(0,"span",24),I(1," Bitte w\xE4hlen Sie ein Produkt aus."),m())}function YF(e,n){e&1&&x(0,ZF,2,0,"span",24),e&2&&Xe(n.required?0:-1)}
10function KF(e,n){e&1&&(Ct(0),I(1,"n"),It())}function QF(e,n){if(e&1&&(D(0,"div",25),I(1),z(2,"br"),I(3),m()),e&2){let t=n.$implicit;S(),hr(" ",t.street," ",t.houseNumber,""),S(2),hr(" ",t.zip," ",t.location," ")}}var uC=(()=>{class e{constructor(){this.contactForm=new Tt({salutation:new Ce("Herr",we.required),title:new Ce(null),firstName:new Ce(null,we.required),lastName:new Ce(null,we.required),companyName:new Ce(null,we.required),mail:new Ce(null,[we.required,we.email]),product:new Ce(null,[we.required,we.required]),message:new Ce(null)}),this.product=[],this.applicationConfig=h(se),this.addresses=h(ki).getValidationResults()||[],this.contactFormService=h(lC),this.destroyRef=h(le),this.router=h(Ae),this.snackbar=h(Ri);let t=h(se);this.product=t.product}submit(){if(!this.contactForm.valid)return;let t=this.contactForm.getRawValue(),r={salutation:t.salutation||"",title:t.title||"",firstName:t.firstName||"",lastName:t.lastName||"",companyName:t.companyName||"",mail:t.mail||"",product:t.product||"",message:t.message||"",addresses:this.addresses,customerType:this.applicationConfig.carrier?fe.Carrier:fe.Business};this.contactFormService.sendContactRequest(r).pipe(it(this.destroyRef)).subscribe({next:()=>void this.router.navigate(["success"],{skipLocationChange:!0}),error:()=>this.snackbar.create({message:"Fehler: Ihre Anfrage konnte nicht gesendet werden! Bitte versuchen Sie es sp\xE4ter erneut."})})}addressTrackBy(t,r){return`${r.street}${r.houseNumber}${r.zip}${r.location}`}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ce({type:e,selectors:[["app-contact-form"]],standalone:!1,decls:58,vars:17,consts:[["type","blank",1,"evd-p-b",3,"routerLink","skipLocationChange"],["slot","prefix-icon","icon","arrow-left"],["size","sm"],["display","h3","no-margin","",1,"evd-m-b2",3,"level"],[3,"ngSubmit","formGroup"],[1,"evd-m-t0"],["formControlName","salutation"],["slot","label"],["value","Herr"],["value","Frau"],["slot","error",4,"ngIf"],["formControlName","title"],["formControlName","firstName"],["formControlName","lastName"],["formControlName","companyName"],["formControlName","mail"],["formControlName","product"],[3,"label","value"],["formControlName","message"],[4,"ngIf"],["class","evd-m-t evd-m-b",4,"ngFor","ngForOf","ngForTrackBy"],["target","_blank",1,"evd-m-t",3,"href"],[1,"evd-flex-end","evd-m-t","evd-m-b"],["type","primary","button-type","submit"],["slot","error"],[1,"evd-m-t","evd-m-b"]],template:function(r,i){if(r&1&&(D(0,"evd-button",0)(1,"span"),I(2,"Ergebnis ansehen"),m(),z(3,"evd-icon",1),m(),D(4,"evd-container",2)(5,"evd-headline",3),ai(6,"ccHeadlineLevel"),I(7,"Kontaktieren Sie uns"),m(),D(8,"form",4),Oe("ngSubmit",function(){return i.submit()}),D(9,"p",5),I(10,"Die mit einem (*) markierten Felder sind Pflichtfelder"),m(),D(11,"evd-input-radio-group",6)(12,"span",7),I(13,"Anrede *"),m(),D(14,"evd-input-radio",8)(15,"span",7),I(16,"Herr"),m()(),D(17,"evd-input-radio",9)(18,"span",7),I(19,"Frau"),m()(),x(20,jF,2,1,"span",10),m(),D(21,"evd-input-text",11)(22,"span",7),I(23,"Titel"),m()(),D(24,"evd-input-text",12)(25,"span",7),I(26,"Vorname *"),m(),x(27,UF,2,1,"span",10),m(),D(28,"evd-input-text",13)(29,"span",7),I(30,"Nachname *"),m(),x(31,HF,2,1,"span",10),m(),D(32,"evd-input-text",14)(33,"span",7),I(34,"Firmenname *"),m(),x(35,zF,2,1,"span",10),m(),D(36,"evd-input-text",15)(37,"span",7),I(38,"E-Mail-Adresse *"),m(),x(39,GF,2,1,"span",10),m(),D(40,"evd-select",16)(41,"span",7),I(42,"Produktwunsch *"),m(),ac(43,qF,1,2,"evd-select-option",17,PF),x(45,YF,1,1),m(),D(46,"evd-input-textarea",18)(47,"span",7),I(48,"Ihre Nachricht"),m()(),D(49,"b"),I(50,"Angefragte Adresse"),x(51,KF,2,0,"ng-container",19),m(),x(52,QF,4,4,"div",20),D(53,"evd-link",21),I(54,"Informationen zur Verarbeitung Ihrer personenbezogenen Daten"),m(),D(55,"div",22)(56,"evd-button",23),I(57," Absenden "),m()()()()),r&2){let o;C("routerLink",pr(16,FF))("skipLocationChange",!0),S(5),C("level",ci(6,14,1)),S(3),C("formGroup",i.contactForm),S(12),C("ngIf",i.contactForm.controls.salutation.errors),S(7),C("ngIf",i.contactForm.controls.firstName.errors),S(4),C("ngIf",i.contactForm.controls.lastName.errors),S(4),C("ngIf",i.contactForm.controls.companyName.errors),S(4),C("ngIf",i.contactForm.controls.mail.errors),S(4),cc(i.product),S(2),Xe((o=i.
10contactForm.controls.product.errors)?45:-1,o),S(6),C("ngIf",i.addresses.length>1),S(),C("ngForOf",i.addresses)("ngForTrackBy",i.addressTrackBy),S(),C("href",i.applicationConfig.privacyPolicy)}},dependencies:[_n,Ve,zt,Ai,Fn,Pn,lt,an,Ni,Ln,Vn,jn,zi],encapsulation:2})}}return e})();var dC=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ce({type:e,selectors:[["app-success"]],standalone:!1,decls:5,vars:0,consts:[["type","success",1,"evd-flex-center","evd-m-t"],["slot","title"]],template:function(r,i){r&1&&(D(0,"evd-alert",0)(1,"span",1),I(2,"Ihre Anfrage wurde erfolgreich abgesendet."),m(),D(3,"span"),I(4," Vielen Dank! Wir werden uns umgehend mit Ihnen in Verbindung setzen. "),m()())},encapsulation:2})}}return e})();var JF=[{path:"error",component:CS},{path:"address-form",component:yl},{path:"address-file-upload",component:xS,canMatch:[cC]},{path:"address-file-upload",component:yl},{path:"check-result",component:aC},{path:"contact-form",component:uC},{path:"success",component:dC},{path:"**",component:yl}],fC=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=De({type:e})}static{this.\u0275inj=ve({imports:[tl.forRoot(JF,{bindToComponentInputs:!0,useHash:!1}),tl]})}}return e})();var XF=()=>["/","address-form"],eP=()=>["/","address-file-upload"];function tP(e,n){e&1&&(D(0,"evd-list-text",5)(1,"evd-list-text-item-link",6),I(2,"Zum Check"),m()()),e&2&&(S(),C("routerLink",pr(1,XF)))}function nP(e,n){if(e&1&&(Ct(0),D(1,"evd-headline",3),ai(2,"ccHeadlineLevel"),I(3,"Datei-Upload Onnet-Verf\xFCgbarkeit"),m(),D(4,"p"),I(5,"Hier k\xF6nnen Sie eine Excel hochladen, um das Ausbaugebiet zu erweitern."),m(),x(6,tP,3,2,"evd-list-text",4),It()),e&2){let t=te();S(),C("level",ci(2,2,1)),S(5),C("ngIf",t.stageConfig.internal)}}function rP(e,n){e&1&&(D(0,"evd-list-text",5)(1,"evd-list-text-item-link",6),I(2,"Zum Upload"),m()()),e&2&&(S(),C("routerLink",pr(1,eP)))}function iP(e,n){if(e&1&&x(0,rP,3,2,"evd-list-text",4),e&2){let t=te();C("ngIf",t.stageConfig.internal)}}var hC=(()=>{class e{constructor(){this.stageConfig=h(Ne),this.router=h(Ae),this.elementRef=h(ke),this.destroyRef=h(le),this.firstNavigation=!0}ngOnInit(){this.router.events.pipe(it(this.destroyRef)).subscribe(t=>{if(t instanceof Ye){if(this.firstNavigation){this.firstNavigation=!1;return}this.elementRef.nativeElement.scrollIntoView({block:"start",behavior:"smooth"})}})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=ce({type:e,selectors:[["app-glas-glasfaser-check-2-client-root"]],standalone:!1,decls:5,vars:3,consts:[["customerView",""],[3,"stage"],[4,"ngIf","ngIfElse"],["display","h4",3,"level"],["type","unordered",4,"ngIf"],["type","unordered"],["skipLocationChange","",3,"routerLink"]],template:function(r,i){if(r&1&&(z(0,"cc-config-stage-badge",1),x(1,nP,7,4,"ng-container",2)(2,iP,1,1,"ng-template",null,0,To),z(4,"router-outlet")),r&2){let o=Mo(3);C("stage",i.stageConfig.stage),S(),C("ngIf",i.router.url==="/address-file-upload")("ngIfElse",o)}},dependencies:[Ve,Jo,zt,Vn,Al,zi],encapsulation:2})}}return e})();var pC={production:!0};var gC={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bits:6};var mC={parse:function(n,t){return oP(n,gC,t)},stringify:function(n,t){return sP(n,gC,t)}};function oP(e,n,t){var r;if(t===void 0&&(t={}),!n.codes){n.codes={};for(var i=0;i<n.chars.length;++i)n.codes[n.chars[i]]=i}if(!t.loose&&e.length*n.bits&7)throw new SyntaxError("Invalid padding");for(var o=e.length;e[o-1]==="=";)if(--o,!t.loose&&!((e.length-o)*n.bits&7))throw new SyntaxError("Invalid padding");for(var s=new((r=t.out)!=null?r:Uint8Array)(o*n.bits/8|0),a=0,c=0,l=0,u=0;u<o;++u){var d=n.codes[e[u]];if(d===void 0)throw new SyntaxError("Invalid character "+e[u]);c=c<<n.bits|d,a+=n.bits,a>=8&&(a-=8,s[l++]=255&c>>a)}if(a>=n.bits||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return s}function sP(e,n,t){t===void 0&&(t={});for(var r=t,i=r.pad,o=i===void 0?!0:i,s=(1<<n.bits)-1,a="",c=0,l=0,u=0;u<e.length;++u)for(l=l<<8|255&e[u],c+=8;c>n.bits;)c-=n.bits,a+=n.chars[s&l>>c];if(c&&(a+=n.chars[s&l<<n.bits-c]),o)for(;a.length*n.bits&7;)a+="=";return a}var ep=class{};var eZ=new b("PASSED_CONFIG"),aP=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var cP=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var ms=function(e){return e[e.None=0]="None",e[e.Debug=1]="Debug",e[e.Warn=2]="Warn",e[e.Error=3]="Error",e}(ms||{}),Wn=(()=>{class e{constructor(t){this.abstractLoggerService=t}logError(t,r,...i){if(this.loggingIsTurnedOff(t))return;let{configId:o}=t,s=this.isObject(r)?JSON.stringify(r):r;i&&i.length?this.abstractLoggerService.logError(`[ERROR] ${o} - ${s}`,...i):this.abstractLoggerService.logError(`[ERROR] ${o} - ${s}`)}logWarning(t,r,...i){if(!this.logLevelIsSet(t)||this.loggingIsTurnedOff(t)||!this.currentLogLevelIsEqualOrSmallerThan(t,ms.Warn))return;let{configId:o}=t,s=this.isObject(r)?JSON.stringify(r):r;i&&i.length?this.abstractLoggerService.logWarning(`[WARN] ${o} - ${s}`,...i):this.abstractLoggerService.logWarning(`[WARN] ${o} - ${s}`)}logDebug(t,r,...i){if(!this.logLevelIsSet(t)||this.loggingIsTurnedOff(t)||!this.currentLogLevelIsEqualOrSmallerThan(t,ms.Debug))return;let{configId:o}=t,s=this.isObject(r)?JSON.stringify(r):r;i&&i.length?this.abstractLoggerService.logDebug(`[DEBUG] ${o} - ${s}`,...i):this.abstractLoggerService.logDebug(`[DEBUG] ${o} - ${s}`)}currentLogLevelIsEqualOrSmallerThan(t,r){let{logLevel:i}=t||{};return i<=r}logLevelIsSet(t){let{logLevel:r}=t||{};return r===null?!1:r!==void 0}loggingIsTurnedOff(t){let{logLevel:r}=t||{};return r===ms.None}isObject(t){return Object.prototype.toString.call(t)==="[object Object]"}static{this.\u0275fac=function(r){return new(r||e)(y(aP))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),lP=(()=>{class e{constructor(t,r){this.loggerService=t,this.abstractSecurityStorage=r}
10read(t,r){let{configId:i}=r;if(!this.hasStorage())return this.loggerService.logDebug(r,`Wanted to read '${t}' but Storage was undefined`),null;let o=this.abstractSecurityStorage.read(i);return o?JSON.parse(o):null}write(t,r){let{configId:i}=r;return this.hasStorage()?(t=t||null,this.abstractSecurityStorage.write(i,JSON.stringify(t)),!0):(this.loggerService.logDebug(r,`Wanted to write '${t}' but Storage was falsy`),!1)}remove(t,r){return this.hasStorage()?(this.abstractSecurityStorage.remove(t),!0):(this.loggerService.logDebug(r,`Wanted to remove '${t}' but Storage was falsy`),!1)}clear(t){return this.hasStorage()?(this.abstractSecurityStorage.clear(),!0):(this.loggerService.logDebug(t,"Wanted to clear storage but Storage was falsy"),!1)}hasStorage(){return typeof Storage<"u"}static{this.\u0275fac=function(r){return new(r||e)(y(Wn),y(cP))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),tp=(()=>{class e{constructor(t){this.browserStorageService=t}read(t,r){return(this.browserStorageService.read(t,r)||{})[t]}write(t,r,i){let o=this.browserStorageService.read(t,i)||{};return o[t]=r,this.browserStorageService.write(o,i)}remove(t,r){let i=this.browserStorageService.read(t,r)||{};delete i[t],this.browserStorageService.write(i,r)}clear(t){this.browserStorageService.clear(t)}resetStorageFlowData(t){this.remove("session_state",t),this.remove("storageSilentRenewRunning",t),this.remove("storageCodeFlowInProgress",t),this.remove("codeVerifier",t),this.remove("userData",t),this.remove("storageCustomParamsAuthRequest",t),this.remove("access_token_expires_at",t),this.remove("storageCustomParamsRefresh",t),this.remove("storageCustomParamsEndSession",t),this.remove("reusable_refresh_token",t)}resetAuthStateInStorage(t){this.remove("authzData",t),this.remove("reusable_refresh_token",t),this.remove("authnResult",t)}getAccessToken(t){return this.read("authzData",t)}getIdToken(t){return this.read("authnResult",t)?.id_token}getRefreshToken(t){let r=this.read("authnResult",t)?.refresh_token;return!r&&t.allowUnsafeReuseRefreshToken?this.read("reusable_refresh_token",t):r}getAuthenticationResult(t){return this.read("authnResult",t)}static{this.\u0275fac=function(r){return new(r||e)(y(lP))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Wi=function(e){return e[e.ConfigLoaded=0]="ConfigLoaded",e[e.CheckingAuth=1]="CheckingAuth",e[e.CheckingAuthFinished=2]="CheckingAuthFinished",e[e.CheckingAuthFinishedWithError=3]="CheckingAuthFinishedWithError",e[e.ConfigLoadingFailed=4]="ConfigLoadingFailed",e[e.CheckSessionReceived=5]="CheckSessionReceived",e[e.UserDataChanged=6]="UserDataChanged",e[e.NewAuthenticationResult=7]="NewAuthenticationResult",e[e.TokenExpired=8]="TokenExpired",e[e.IdTokenExpired=9]="IdTokenExpired",e[e.SilentRenewStarted=10]="SilentRenewStarted",e[e.SilentRenewFailed=11]="SilentRenewFailed",e}(Wi||{});var np=(()=>{class e{constructor(){this.notify=new un(1)}fireEvent(t,r){this.notify.next({type:t,value:r})}registerForEvents(){return this.notify.asObservable()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var DC=(()=>{class e{constructor(t){this.doc=t}getCrypto(){return this.doc.defaultView.crypto||this.doc.defaultView.msCrypto}static{this.\u0275fac=function(r){return new(r||e)(y(oe))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var uP=(()=>{class e{constructor(t){this.cryptoService=t}generateCodeChallenge(t){return this.calcHash(t).pipe(N(r=>this.base64UrlEncode(r)))}generateAtHash(t,r){return this.calcHash(t,r).pipe(N(i=>{let o=i.substr(0,i.length/2);return btoa(o).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}))}calcHash(t,r="SHA-256"){let i=new TextEncoder().encode(t);return G(this.cryptoService.getCrypto().subtle.digest(r,i)).pipe(N(o=>{let s=Array.from(new Uint8Array(o));return this.toHashString(s)}))}toHashString(t){let r="";for(let i of t)r+=String.fromCharCode(i);return r}base64UrlEncode(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}static{this.\u0275fac=function(r){return new(r||e)(y(DC))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function dP(e){switch(e.charAt(0)){case"R":return{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"};case"E":return e.includes("256")?{name:"ECDSA",hash:"SHA-256"}:e.includes("384")?{name:"ECDSA",hash:"SHA-384"}:null;default:return null}}function fP(e){switch(e.charAt(0)){case"R":return"RSA";case"E":return"EC";default:throw new Error("Cannot infer kty from alg: "+e)}}function hP(e){switch(e.charAt(0)){case"R":return e.includes("256")?{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"}:e.includes("384")?{name:"RSASSA-PKCS1-v1_5",hash:"SHA-384"}:e.includes("512")?{name:"RSASSA-PKCS1-v1_5",hash:"SHA-512"}:null;case"E":return e.includes("256")?{name:"ECDSA",namedCurve:"P-256"}:e.includes("384")?{name:"ECDSA",namedCurve:"P-384"}:null;default:return null}}var vC=3,pP=(()=>{class e{constructor(t,r){this.loggerService=t,this.document=r}getTokenExpirationDate(t){if(!Object.prototype.hasOwnProperty.call(t,"exp"))return new Date(new Date().toUTCString());let r=new Date(0);return r.setUTCSeconds(t.exp),r}getSigningInputFromToken(t,r,i){if(!this.tokenIsValid(t,i))return"";let o=this.getHeaderFromToken(t,r,i),s=this.getPayloadFromToken(t,r,i);return[o,s].join(".")}getHeaderFromToken(t,r,i){return this.tokenIsValid(t,i)?this.getPartOfToken(t,0,r):{}}getPayloadFromToken(t,r,i){return this.tokenIsValid(t,i)?this.getPartOfToken(t,1,r):{}}getSignatureFromToken(t,r,i){return this.tokenIsValid(t,i)?this.getPartOfToken(t,2,r):{}}getPartOfToken(t,r,i){let o=this.extractPartOfToken(t,r);if(i)return o;let s=this.urlBase64Decode(o);return JSON.parse(s)}urlBase64Decode(t){let r=t.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw Error("Illegal base64url string!")}let i=typeof this.document.defaultView<"u"?this.document.defaultView.atob(r):Buffer.from(r,"base64").toString("binary");try{return decodeURIComponent(i.split("").map(o=>
10"%"+("00"+o.charCodeAt(0).toString(16)).slice(-2)).join(""))}catch{return i}}tokenIsValid(t,r){return t?t.includes(".")?t.split(".").length!==vC?(this.loggerService.logError(r,`token '${t}' is not valid --> token has to have exactly ${vC-1} dots`),!1):!0:(this.loggerService.logError(r,`token '${t}' is not valid --> no dots included`),!1):(this.loggerService.logError(r,`token '${t}' is not valid --> token falsy`),!1)}extractPartOfToken(t,r){return t.split(".")[r]}static{this.\u0275fac=function(r){return new(r||e)(y(Wn),y(oe))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),SC=(()=>{class e{extractJwk(t,r,i=!0){if(t.length===0)throw gP;let o=t.filter(s=>r?.kid?s.kid===r.kid:!0).filter(s=>r?.use?s.use===r.use:!0).filter(s=>r?.kty?s.kty===r.kty:!0);if(o.length===0&&i)throw mP;if(o.length>1&&r==null)throw vP;return o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function rp(e){return SC.name+": "+e}var gP={name:rp("InvalidArgumentError"),message:"Array of keys was empty. Unable to extract"},mP={name:rp("NoMatchingKeysError"),message:"No key found matching the spec"},vP={name:rp("SeveralMatchingKeysError"),message:"More than one key found. Please use spec to filter"},yP=(()=>{class e{constructor(t){this.cryptoService=t}importVerificationKey(t,r){return this.cryptoService.getCrypto().subtle.importKey("jwk",t,r,!1,["verify"])}verifyKey(t,r,i,o){return this.cryptoService.getCrypto().subtle.verify(t,r,i,new TextEncoder().encode(o))}static{this.\u0275fac=function(r){return new(r||e)(y(DC))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),DP=(()=>{class e{static{this.refreshTokenNoncePlaceholder="--RefreshToken--"}constructor(t,r,i,o,s){this.tokenHelperService=t,this.loggerService=r,this.jwkExtractor=i,this.jwkWindowCryptoService=o,this.jwtWindowCryptoService=s,this.keyAlgorithms=["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","PS256","PS384","PS512"]}hasIdTokenExpired(t,r,i){let o=this.tokenHelperService.getPayloadFromToken(t,!1,r);return!this.validateIdTokenExpNotExpired(o,r,i)}validateIdTokenExpNotExpired(t,r,i){let o=this.tokenHelperService.getTokenExpirationDate(t);if(i=i||0,!o)return!1;let s=o.valueOf(),a=this.calculateNowWithOffset(i),c=s>a;return this.loggerService.logDebug(r,`Has idToken expired: ${!c} --> expires in ${this.millisToMinutesAndSeconds(s-a)} , ${new Date(s).toLocaleTimeString()} > ${new Date(a).toLocaleTimeString()}`),c}validateAccessTokenNotExpired(t,r,i){if(!t)return!0;i=i||0;let o=t.valueOf(),s=this.calculateNowWithOffset(i),a=o>s;return this.loggerService.logDebug(r,`Has accessToken expired: ${!a} --> expires in ${this.millisToMinutesAndSeconds(o-s)} , ${new Date(o).toLocaleTimeString()} > ${new Date(s).toLocaleTimeString()}`),a}validateRequiredIdToken(t,r){let i=!0;return Object.prototype.hasOwnProperty.call(t,"iss")||(i=!1,this.loggerService.logWarning(r,"iss is missing, this is required in the id_token")),Object.prototype.hasOwnProperty.call(t,"sub")||(i=!1,this.loggerService.logWarning(r,"sub is missing, this is required in the id_token")),Object.prototype.hasOwnProperty.call(t,"aud")||(i=!1,this.loggerService.logWarning(r,"aud is missing, this is required in the id_token")),Object.prototype.hasOwnProperty.call(t,"exp")||(i=!1,this.loggerService.logWarning(r,"exp is missing, this is required in the id_token")),Object.prototype.hasOwnProperty.call(t,"iat")||(i=!1,this.loggerService.logWarning(r,"iat is missing, this is required in the id_token")),i}validateIdTokenIatMaxOffset(t,r,i,o){if(i)return!0;if(!Object.prototype.hasOwnProperty.call(t,"iat"))return!1;let s=new Date(0);s.setUTCSeconds(t.iat),r=r||0;let c=new Date(new Date().toUTCString()).valueOf()-s.valueOf(),l=r*1e3;return this.loggerService.logDebug(o,`validate id token iat max offset ${c} < ${l}`),c>0?c<l:-c<l}validateIdTokenNonce(t,r,i,o){return!((t.nonce===void 0||i)&&r===e.refreshTokenNoncePlaceholder)&&t.nonce!==r?(this.loggerService.logDebug(o,"Validate_id_token_nonce failed, dataIdToken.nonce: "+t.nonce+" local_nonce:"+r),!1):!0}validateIdTokenIss(t,r,i){return t.iss!==r?(this.loggerService.logDebug(i,"Validate_id_token_iss failed, dataIdToken.iss: "+t.iss+" authWellKnownEndpoints issuer:"+r),!1):!0}validateIdTokenAud(t,r,i){return Array.isArray(t.aud)?t.aud.includes(r)?!0:(this.loggerService.logDebug(i,"Validate_id_token_aud array failed, dataIdToken.aud: "+t.aud+" client_id:"+r),!1):t.aud!==r?(this.loggerService.logDebug(i,"Validate_id_token_aud failed, dataIdToken.aud: "+t.aud+" client_id:"+r),!1):!0}validateIdTokenAzpExistsIfMoreThanOneAud(t){return t?!(Array.isArray(t.aud)&&t.aud.length>1&&!t.azp):!1}validateIdTokenAzpValid(t,r){return t?.azp?t.azp===r:!0}validateStateFromHashCallback(t,r,i){return t!==r?(this.loggerService.logDebug(i,"ValidateStateFromHashCallback failed, state: "+t+" local_state:"+r),!1):!0}validateSignatureIdToken(t,r,i){if(!t)return M(!0);if(!r||!r.keys)return M(!1);let o=this.tokenHelperService.getHeaderFromToken(t,!1,i);if(Object.keys(o).length===0&&o.constructor===Object)return this.loggerService.logWarning(i,"id token has no header data"),M(!1);let s=o.kid,a=o.alg,c=r.keys,l,u;if(!this.keyAlgorithms.includes(a))return this.loggerService.logWarning(i,"alg not supported",a),M(!1);let d=fP(a),p="sig";try{l=s?this.jwkExtractor.extractJwk(c,{kid:s,kty:d,use:p},!1):this.jwkExtractor.extractJwk(c,{kty:d,use:p},!1),l.length===0&&(l=s?this.jwkExtractor.extractJwk(c,{kid:s,kty:d}):this.jwkExtractor.extractJwk(c,{kty:d})),u=l[0]}catch(T){return this.loggerService.logError(i,T),M(!1)}
10let f=hP(a),g=this.tokenHelperService.getSigningInputFromToken(t,!0,i),E=this.tokenHelperService.getSignatureFromToken(t,!0,i);return G(this.jwkWindowCryptoService.importVerificationKey(u,f)).pipe(ie(T=>{let R=mC.parse(E,{loose:!0}),Me=dP(a);return G(this.jwkWindowCryptoService.verifyKey(Me,T,R,g))}),ne(T=>{T||this.loggerService.logWarning(i,"incorrect Signature, validation failed for id_token")}))}validateIdTokenAtHash(t,r,i,o){this.loggerService.logDebug(o,"at_hash from the server:"+r);let s="SHA-256";return i.includes("384")?s="SHA-384":i.includes("512")&&(s="SHA-512"),this.jwtWindowCryptoService.generateAtHash(""+t,s).pipe(ie(a=>(this.loggerService.logDebug(o,"at_hash client validation not decoded:"+a),a===r?M(!0):this.jwtWindowCryptoService.generateAtHash(""+decodeURIComponent(t),s).pipe(N(c=>(this.loggerService.logDebug(o,"-gen access--"+a),c===r))))))}millisToMinutesAndSeconds(t){let r=Math.floor(t/6e4),i=(t%6e4/1e3).toFixed(0);return r+":"+(+i<10?"0":"")+i}calculateNowWithOffset(t){return new Date(new Date().toUTCString()).valueOf()+t*1e3}static{this.\u0275fac=function(r){return new(r||e)(y(pP),y(Wn),y(SC),y(yP),y(uP))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),SP=(()=>{class e{constructor(t){this.http=t}get(t,r){return this.http.get(t,r)}post(t,r,i){return this.http.post(t,r,i)}static{this.\u0275fac=function(r){return new(r||e)(y(qe))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),wP="ngsw-bypass",CP=(()=>{class e{constructor(t){this.httpClient=t}get(t,r,i){let o=this.prepareHeaders(i),s=this.prepareParams(r);return this.httpClient.get(t,{headers:o,params:s})}post(t,r,i,o){let s=o||this.prepareHeaders(),a=this.prepareParams(i);return this.httpClient.post(t,r,{headers:s,params:a})}prepareHeaders(t){let r=new Vt;return r=r.set("Accept","application/json"),t&&(r=r.set("Authorization","Bearer "+decodeURIComponent(t))),r}prepareParams(t){let r=new Ue,{ngswBypass:i}=t;return i&&(r=r.set(wP,"")),r}static{this.\u0275fac=function(r){return new(r||e)(y(SP))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var IP={isAuthenticated:!1,allConfigsAuthenticated:[]},EP=(()=>{class e{get authenticated$(){return this.authenticatedInternal$.asObservable().pipe(Fr())}constructor(t,r,i,o){this.storagePersistenceService=t,this.loggerService=r,this.publicEventsService=i,this.tokenValidationService=o,this.authenticatedInternal$=new ge(IP)}setAuthenticatedAndFireEvent(t){let r=this.composeAuthenticatedResult(t);this.authenticatedInternal$.next(r)}setUnauthenticatedAndFireEvent(t,r){this.storagePersistenceService.resetAuthStateInStorage(t);let i=this.composeUnAuthenticatedResult(r);this.authenticatedInternal$.next(i)}updateAndPublishAuthState(t){this.publicEventsService.fireEvent(Wi.NewAuthenticationResult,t)}setAuthorizationData(t,r,i,o){this.loggerService.logDebug(i,`storing the accessToken '${t}'`),this.storagePersistenceService.write("authzData",t,i),this.persistAccessTokenExpirationTime(r,i),this.setAuthenticatedAndFireEvent(o)}getAccessToken(t){if(!this.isAuthenticated(t))return null;let r=this.storagePersistenceService.getAccessToken(t);return this.decodeURIComponentSafely(r)}getIdToken(t){if(!this.isAuthenticated(t))return null;let r=this.storagePersistenceService.getIdToken(t);return this.decodeURIComponentSafely(r)}getRefreshToken(t){if(!this.isAuthenticated(t))return null;let r=this.storagePersistenceService.getRefreshToken(t);return this.decodeURIComponentSafely(r)}getAuthenticationResult(t){return this.isAuthenticated(t)?this.storagePersistenceService.getAuthenticationResult(t):null}areAuthStorageTokensValid(t){return this.isAuthenticated(t)?this.hasIdTokenExpiredAndRenewCheckIsEnabled(t)?(this.loggerService.logDebug(t,"persisted idToken is expired"),!1):this.hasAccessTokenExpiredIfExpiryExists(t)?(this.loggerService.logDebug(t,"persisted accessToken is expired"),!1):(this.loggerService.logDebug(t,"persisted idToken and accessToken are valid"),!0):!1}hasIdTokenExpiredAndRenewCheckIsEnabled(t){let{renewTimeBeforeTokenExpiresInSeconds:r,triggerRefreshWhenIdTokenExpired:i,disableIdTokenValidation:o}=t;if(!i||o)return!1;let s=this.storagePersistenceService.getIdToken(t),a=this.tokenValidationService.hasIdTokenExpired(s,t,r);return a&&this.publicEventsService.fireEvent(Wi.IdTokenExpired,a),a}hasAccessTokenExpiredIfExpiryExists(t){let{renewTimeBeforeTokenExpiresInSeconds:r}=t,i=this.storagePersistenceService.read("access_token_expires_at",t),s=!this.tokenValidationService.validateAccessTokenNotExpired(i,t,r);return s&&this.publicEventsService.fireEvent(Wi.TokenExpired,s),s}isAuthenticated(t){let r=!!this.storagePersistenceService.getAccessToken(t),i=!!this.storagePersistenceService.getIdToken(t);return r&&i}decodeURIComponentSafely(t){return t?decodeURIComponent(t):""}persistAccessTokenExpirationTime(t,r){if(t?.expires_in){let i=new Date(new Date().toUTCString()).valueOf()+t.expires_in*1e3;this.storagePersistenceService.write("access_token_expires_at",i,r)}}composeAuthenticatedResult(t){if(t.length===1){let{configId:r}=t[0];return{isAuthenticated:!0,allConfigsAuthenticated:[{configId:r,isAuthenticated:!0}]}}return this.checkAllConfigsIfTheyAreAuthenticated(t)}composeUnAuthenticatedResult(t){if(t.length===1){let{configId:r}=t[0];return{isAuthenticated:!1,allConfigsAuthenticated:[{configId:r,isAuthenticated:!1}]}}return this.checkAllConfigsIfTheyAreAuthenticated(t)}checkAllConfigsIfTheyAreAuthenticated(t){let r=t.map(o=>({configId:o.configId,isAuthenticated:this.isAuthenticated(o)})),i=r.every(o=>!!o.isAuthenticated);return{allConfigsAuthenticated:r,isAuthenticated:i}}static{this.\u0275fac=function(r){return new(r||e)(y(tp),y(Wn),y(np),y(DP))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var yC="/.well-known/openid-configuration",bP=(()=>{class e{constructor(t,r){this.http=t,this.loggerService=r}getWellKnownEndPointsForConfig(t){let{authWellknownEndpointUrl:r}=t;if(!r){let i="no authWellknownEndpoint given!";return this.loggerService.logError(t,i),Zt(()=>new Error(i))}return this.getWellKnownDocument(r,t).pipe(N(i=>({issuer:i.issuer,jwksUri:i.jwks_uri,authorizationEndpoint:i.authorization_endpoint,tokenEndpoint:i.token_endpoint,userInfoEndpoint:i.userinfo_endpoint,endSessionEndpoint:i.end_session_endpoint,checkSessionIframe:i.check_session_iframe,revocationEndpoint:i.revocation_endpoint,introspectionEndpoint:i.introspection_endpoint,parEndpoint:i.pushed_authorization_request_endpoint})))}getWellKnownDocument(t,r){let i=t;return t.includes(yC)||(i=`${t}${yC}`),this.http.get(i,r).pipe(pu(2))}static{this.\u0275fac=function(r){return new(r||e)(y(CP),y(Wn))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),_P=(()=>{class e{constructor(t,r,i){this.dataService=t,this.publicEventsService=r,this.storagePersistenceService=i}storeWellKnownEndpoints(t,r){this.storagePersistenceService.write("authWellKnownEndPoints",r,t)}queryAndStoreAuthWellKnownEndPoints(t){let r=this.storagePersistenceService.read("authWellKnownEndPoints",t);return r?M(r):this.dataService.getWellKnownEndPointsForConfig(t).pipe(ne(i=>this.storeWellKnownEndpoints(t,i)),gt(i=>(this.publicEventsService.fireEvent(Wi.ConfigLoadingFailed,null),Zt(()=>new Error(i)))))}static{this.\u0275fac=function(r){return new(r||e)(y(bP),y(np),y(tp))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var MP={authority:"https://please_set",authWellknownEndpointUrl:"",authWellknownEndpoints:null,redirectUrl:"https://please_set",checkRedirectUrlWhenCheckingIfIsCallback:!1,clientId:"please_set",responseType:"code",scope:"openid email profile",hdParam:"",postLogoutRedirectUri:"https://please_set",startCheckSession:!1,silentRenew:!1,silentRenewUrl:"https://please_set",silentRenewTimeoutInSeconds:20,renewTimeBeforeTokenExpiresInSeconds:0,useRefreshToken:!1,usePushedAuthorisationRequests:!1,ignoreNonceAfterRefresh:!1,postLoginRoute:"/",forbiddenRoute:"/forbidden",unauthorizedRoute:"/unauthorized",autoUserInfo:!0,autoCleanStateAfterAuthentication:!0,triggerAuthorizationResultEvent:!1,logLevel:ms.Warn,issValidationOff:!1,historyCleanupOff:!1,maxIdTokenIatOffsetAllowedInSeconds:120,disableIatOffsetValidation:!1,customParamsAuthRequest:{},customParamsRefreshTokenRequest:{},customParamsEndSessionRequest:{},customParamsCodeRequest:{}
10,disableRefreshIdTokenAuthTimeValidation:!1,triggerRefreshWhenIdTokenExpired:!0,tokenRefreshInSeconds:4,refreshTokenRetryInSeconds:3,ngswBypass:!1},Gi={result:!0,messages:[],level:null},TP=e=>e.authority?Gi:{result:!1,messages:["The authority URL MUST be provided in the configuration! "],level:"error"},xP=e=>e.clientId?Gi:{result:!1,messages:["The clientId is required and missing from your config!"],level:"error"},AP=e=>{if(!e)return null;let{authority:n,clientId:t,scope:r}=e;return`${n}${t}${r}`},NP=e=>new Set(e).size!==e.length,RP=e=>{let n=e.map(i=>AP(i));return n.some(i=>i===null)?{result:!1,messages:["Please make sure you add an object with a 'config' property: ....({ config }) instead of ...(config)"],level:"error"}:NP(n)?{result:!1,messages:["You added multiple configs with the same authority, clientId and scope"],level:"warning"}:Gi},kP=e=>e.redirectUrl?Gi:{result:!1,messages:["The redirectUrl is required and missing from your config"],level:"error"},OP=e=>{let n=e.silentRenew,t=e.useRefreshToken,r=e.silentRenewUrl;return n&&!t&&!r?{result:!1,messages:["Please provide a silent renew URL if using renew and not refresh tokens"],level:"error"}:Gi},FP=e=>{let n=e.useRefreshToken,t=e.silentRenew,i=(e.scope||"").split(" ").includes("offline_access");return n&&t&&!i?{result:!1,messages:["When using silent renew and refresh tokens please set the `offline_access` scope"],level:"warning"}:Gi},PP=[TP,FP,kP,xP,OP],LP=[RP],jP=(()=>{class e{constructor(t){this.loggerService=t}validateConfigs(t){return this.validateConfigsInternal(t??[],LP)}validateConfig(t){return this.validateConfigInternal(t,PP)}validateConfigsInternal(t,r){let i=r.map(s=>s(t)),o=0;return t.forEach(s=>{let a=this.processValidationResultsAndGetErrorCount(i,s);o+=a}),o===0}validateConfigInternal(t,r){let i=r.map(s=>s(t));return this.processValidationResultsAndGetErrorCount(i,t)===0}processValidationResultsAndGetErrorCount(t,r){let i=t.filter(a=>a.messages.length>0),o=this.getAllMessagesOfType("error",i),s=this.getAllMessagesOfType("warning",i);return o.forEach(a=>this.loggerService.logError(r,a)),s.forEach(a=>this.loggerService.logWarning(r,a)),o.length}getAllMessagesOfType(t,r){return r.filter(o=>o.level===t).map(o=>o.messages).reduce((o,s)=>o.concat(s),[])}static{this.\u0275fac=function(r){return new(r||e)(y(Wn))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),VP=(()=>{class e{isBrowser(){return Hf(this.platformId)}constructor(t){this.platformId=t}static{this.\u0275fac=function(r){return new(r||e)(y(Sn))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),UP=(()=>{class e{constructor(t,r,i,o,s,a,c){this.loggerService=t,this.publicEventsService=r,this.storagePersistenceService=i,this.configValidationService=o,this.platformProvider=s,this.authWellKnownService=a,this.loader=c,this.configsInternal={}}hasManyConfigs(){return Object.keys(this.configsInternal).length>1}getAllConfigurations(){return Object.values(this.configsInternal)}getOpenIDConfiguration(t){return this.configsAlreadySaved()?M(this.getConfig(t)):this.getOpenIDConfigurations(t).pipe(N(r=>r.currentConfig))}getOpenIDConfigurations(t){return this.loadConfigs().pipe(ot(r=>this.prepareAndSaveConfigs(r)),N(r=>({allConfigs:r,currentConfig:this.getConfig(t)})))}hasAtLeastOneConfig(){return Object.keys(this.configsInternal).length>0}saveConfig(t){let{configId:r}=t;this.configsInternal[r]=t}loadConfigs(){return this.loader.loadConfigs()}configsAlreadySaved(){return this.hasAtLeastOneConfig()}getConfig(t){if(t)return this.configsInternal[t]||null;let[,r]=Object.entries(this.configsInternal)[0]||[[null,null]];return r||null}prepareAndSaveConfigs(t){if(!this.configValidationService.validateConfigs(t))return M(null);this.createUniqueIds(t);let r=t.map(i=>this.handleConfig(i));return Kn(r)}createUniqueIds(t){t.forEach((r,i)=>{r.configId||(r.configId=`${i}-${r.clientId}`)})}handleConfig(t){if(!this.configValidationService.validateConfig(t))return this.loggerService.logError(t,"Validation of config rejected with errors. Config is NOT set."),M(null);t.authWellknownEndpointUrl||(t.authWellknownEndpointUrl=t.authority);let r=this.prepareConfig(t);this.saveConfig(r);let i=this.enhanceConfigWithWellKnownEndpoint(r);return this.publicEventsService.fireEvent(Wi.ConfigLoaded,i),M(r)}enhanceConfigWithWellKnownEndpoint(t){let r=this.storagePersistenceService.read("authWellKnownEndPoints",t);if(r)return t.authWellknownEndpoints=r,t;let i=t.authWellknownEndpoints;return i&&(this.authWellKnownService.storeWellKnownEndpoints(t,i),t.authWellknownEndpoints=i),t}prepareConfig(t){let r=w(w({},MP),t);return this.setSpecialCases(r),r}setSpecialCases(t){this.platformProvider.isBrowser()||(t.startCheckSession=!1,t.silentRenew=!1,t.useRefreshToken=!1,t.usePushedAuthorisationRequests=!1)}static{this.\u0275fac=function(r){return new(r||e)(y(Wn),y(np),y(tp),y(jP),y(VP),y(_P),y(ep))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var BP=(()=>{class e{getConfigIdForClosestMatchingRoute(t,r){for(let i of r){let{secureRoutes:o}=i;for(let s of o)if(t.startsWith(s))return{matchingRoute:s,matchingConfig:i}}return{matchingRoute:null,matchingConfig:null}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),wC=(()=>{class e{constructor(t,r,i,o){this.authStateService=t,this.configurationService=r,this.loggerService=i,this.closestMatchingRouteService=o}intercept(t,r){return HP(t,r.handle,{configurationService:this.configurationService,authStateService:this.authStateService,closestMatchingRouteService:this.closestMatchingRouteService,loggerService:this.loggerService})}static{this.\u0275fac=function(r){return new(r||e)(y(EP),y(UP),y(Wn),y(BP))}}static{this.\u0275prov=v({token:e,factory:e.\u0275fac})}}return e})();function HP(e,n,t){if(!t.configurationService.hasAtLeastOneConfig())return n(e);let r=t.configurationService.getAllConfigurations(),i=r.map(l=>l.secureRoutes||[]);if([].concat(...i).length===0)return t.loggerService.logDebug(r[0],"No routes to check configured"),n(e);let{matchingConfig:s,matchingRoute:a}=t.closestMatchingRouteService.getConfigIdForClosestMatchingRoute(e.url,r);
10if(!s)return t.loggerService.logDebug(r[0],`Did not find any configured route for route ${e.url}`),n(e);t.loggerService.logDebug(s,`'${e.url}' matches configured route '${a}'`);let c=t.authStateService.getAccessToken(s);return c?(t.loggerService.logDebug(s,`'${e.url}' matches configured route '${a}', adding token`),e=e.clone({headers:e.headers.set("Authorization","Bearer "+c)}),n(e)):(t.loggerService.logDebug(s,`Wanted to add token to ${e.url} but found no token: '${c}'`),n(e))}var CC=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=De({type:e,bootstrap:[hC]})}static{this.\u0275inj=ve({providers:[{provide:th,useClass:wC,multi:!0},sC({applicationConfigName:"glas-glasfaser-check-2-client",applicationConfig:se,stageConfig:Ne,useLocalStageConfig:!pC.production}),IS({useFactory:t=>({internal:t.internal}),deps:[[Ne]]})],imports:[Jf,fC,gl,DS,Al]})}}return e})();SS().then(()=>Qf().bootstrapModule(CC)).catch(e=>console.error(e));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.