PageSourceSearch

https://torchproducts.com/main-FLGTSCLN.js

js torchproducts.com collected 2026-10-04 13:10:34 UTC 401,289 bytes, 91 lines download raw bytes

1var yy=Object.defineProperty,vy=Object.defineProperties;var _y=Object.getOwnPropertyDescriptors;var Nd=Object.getOwnPropertySymbols;var by=Object.prototype.hasOwnProperty,wy=Object.prototype.propertyIsEnumerable;var Ad=(t,e,i)=>e in t?yy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,b=(t,e)=>{for(var i in e||={})by.call(e,i)&&Ad(t,i,e[i]);if(Nd)for(var i of Nd(e))wy.call(e,i)&&Ad(t,i,e[i]);return t},ie=(t,e)=>vy(t,_y(e));var Hr=(t,e,i)=>new Promise((n,r)=>{var o=l=>{try{a(i.next(l))}catch(c){r(c)}},s=l=>{try{a(i.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((i=i.apply(t,e)).next())});var Rd=null;var Ra=1,Pa=Symbol("SIGNAL");function Z(t){let e=Rd;return Rd=t,e}var Pd={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Dy(t){if(!(La(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ra)){if(!t.producerMustRecompute(t)&&!Fa(t)){t.dirty=!1,t.lastCleanEpoch=Ra;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ra}}function Fd(t){return t&&(t.nextProducerIndex=0),Z(t)}function kd(t,e){if(Z(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(La(t))for(let i=t.nextProducerIndex;i<t.producerNode.length;i++)ka(t.producerNode[i],t.producerIndexOfThis[i]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Fa(t){$r(t);for(let e=0;e<t.producerNode.length;e++){let i=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==i.version||(Dy(i),n!==i.version))return!0}return!1}function Ld(t){if($r(t),La(t))for(let e=0;e<t.producerNode.length;e++)ka(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function ka(t,e){if(Cy(t),$r(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)ka(t.producerNode[n],t.producerIndexOfThis[n]);let i=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[i],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[i],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],r=t.liveConsumerNode[e];$r(r),r.producerIndexOfThis[n]=e}}function La(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function $r(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Cy(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Ey(){throw new Error}var Sy=Ey;function Vd(t){Sy=t}function N(t){return typeof t=="function"}function zn(t){let i=t(n=>{Error.call(n),n.stack=new Error().stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var Gr=zn(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:
2${i.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
3  `)}`:"",this.name="UnsubscriptionError",this.errors=i});function pn(t,e){if(t){let i=t.indexOf(e);0<=i&&t.splice(i,1)}}var fe=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let o of i)o.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(N(n))try{n()}catch(o){e=o instanceof Gr?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Bd(o)}catch(s){e=e??[],s instanceof Gr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Gr(e)}}add(e){var i;if(e&&e!==this)if(this.closed)Bd(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}}_hasParent(e){let{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){let{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&pn(i,e)}remove(e){let{_finalizers:i}=this;i&&pn(i,e),e instanceof t&&e._removeParent(this)}};fe.EMPTY=(()=>{let t=new fe;return t.closed=!0,t})();var Va=fe.EMPTY;function Wr(t){return t instanceof fe||t&&"closed"in t&&N(t.remove)&&N(t.add)&&N(t.unsubscribe)}function Bd(t){N(t)?t():t.unsubscribe()}var it={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNext
vendor: 9,012 bytes, line 3
3Context:!1};var qn={setTimeout(t,e,...i){let{delegate:n}=qn;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){let{delegate:e}=qn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function zr(t){qn.setTimeout(()=>{let{onUnhandledError:e}=it;if(e)e(t);else throw t})}function gn(){}var jd=Ba("C",void 0,void 0);function Ud(t){return Ba("E",void 0,t)}function Hd(t){return Ba("N",t,void 0)}function Ba(t,e,i){return{kind:t,value:e,error:i}}var mn=null;function Yn(t){if(it.useDeprecatedSynchronousErrorHandling){let e=!mn;if(e&&(mn={errorThrown:!1,error:null}),t(),e){let{errorThrown:i,error:n}=mn;if(mn=null,i)throw n}}else t()}function $d(t){it.useDeprecatedSynchronousErrorHandling&&mn&&(mn.errorThrown=!0,mn.error=t)}var yn=class extends fe{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Wr(e)&&e.add(this)):this.destination=Iy}static create(e,i,n){return new Qn(e,i,n)}next(e){this.isStopped?Ua(Hd(e),this):this._next(e)}error(e){this.isStopped?Ua(Ud(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ua(jd,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ty=Function.prototype.bind;function ja(t,e){return Ty.call(t,e)}var Ha=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){qr(n)}}error(e){let{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){qr(n)}else qr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){qr(i)}}},Qn=class extends yn{constructor(e,i,n){super();let r;if(N(e)||!e)r={next:e??void 0,error:i??void 0,complete:n??void 0};else{let o;this&&it.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&ja(e.next,o),error:e.error&&ja(e.error,o),complete:e.complete&&ja(e.complete,o)}):r=e}this.destination=new Ha(r)}};function qr(t){it.useDeprecatedSynchronousErrorHandling?$d(t):zr(t)}function My(t){throw t}function Ua(t,e){let{onStoppedNotification:i}=it;i&&qn.setTimeout(()=>i(t,e))}var Iy={closed:!0,next:gn,error:My,complete:gn};var Zn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Re(t){return t}function $a(...t){return Ga(t)}function Ga(t){return t.length===0?Re:t.length===1?t[0]:function(i){return t.reduce((n,r)=>r(n),i)}}var F=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,r){let o=xy(i)?i:new Qn(i,n,r);return Yn(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=Gd(n),new n((r,o)=>{let s=new Qn({next:a=>{try{i(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[Zn](){return this}pipe(...i){return Ga(i)(this)}toPromise(i){return i=Gd(i),new i((n,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Gd(t){var e;return(e=t??it.Promise)!==null&&e!==void 0?e:Promise}function Oy(t){return t&&N(t.next)&&N(t.error)&&N(t.complete)}function xy(t){return t&&t instanceof yn||Oy(t)&&Wr(t)}function Wa(t){return N(t?.lift)}function H(t){return e=>{if(Wa(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function k(t,e,i,n,r){return new za(t,e,i,n,r)}var za=class extends yn{constructor(e,i,n,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:i}=this;super.unsubscribe(),!i&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Jn(){return H((t,e)=>{let i=null;t._refCount++;let n=k(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){i=null;return}let r=t._connection,o=i;i=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(i=t.connect())})}var Kn=class extends F{constructor(e,i){super(),this.source=e,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,Wa(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new fe;let i=this.getSubject();e.add(this.source.subscribe(k(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=fe.EMPTY)}return e}refCount(){return Jn()(this)}};var Wd=zn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var oe=(()=>{class t extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new Yr(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new Wd}next(i){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:r,observers:o}=this;return n||r?Va:(this.currentObservers=null,o.push(i),new fe(()=>{this.currentObservers=null,pn(o,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:r,isStopped:o}=this;n?i.error(r):o&&i.complete()}asObservable(){let i=new F;return i.source=this,i}}return t.create=(e,i)=>new Yr(e,i),t})(),Yr=class extends oe{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,e)}error(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,e)}complete(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)}_subscribe(e){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&n!==void 0?n:Va}};var we=class extends oe{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){let{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var qa={now(){return(qa.delegate||Date).now()},delegate:void 0};var Qr=class extends fe{constructor(e,i){super()}schedule(e,i=0){return this}};var Bi={setInterval(t,e,...i){let{delegate:n}=Bi;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){let{delegate:e}=Bi;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Zr=class extends Qr{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,i)),this.pending=!0,this.delay=i,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,i),this}requestAsyncId(e,i,n=0){return Bi.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return i;i!=null&&Bi.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,i);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let n=!1,r;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:e,scheduler:i}=this,{actions:n}=i;
vendor: 4,426 bytes, line 3
3this.work=this.state=this.scheduler=null,this.pending=!1,pn(n,this),e!=null&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}};var Xn=class t{constructor(e,i=t.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}};Xn.now=qa.now;var Jr=class extends Xn{constructor(e,i=Xn.now){super(e,i),this.actions=[],this._active=!1}flush(e){let{actions:i}=this;if(this._active){i.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}};var Ny=new Jr(Zr),zd=Ny;var Se=new F(t=>t.complete());function Kr(t){return t&&N(t.schedule)}function qd(t){return t[t.length-1]}function Yt(t){return N(qd(t))?t.pop():void 0}function Qt(t){return Kr(qd(t))?t.pop():void 0}function Qd(t,e,i,n){function r(o){return o instanceof i?o:new i(function(s){s(o)})}return new(i||(i=Promise))(function(o,s){function a(f){try{c(n.next(f))}catch(p){s(p)}}function l(f){try{c(n.throw(f))}catch(p){s(p)}}function c(f){f.done?o(f.value):r(f.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function Yd(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function vn(t){return this instanceof vn?(this.v=t,this):new vn(t)}function Zd(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),r,o=[];return r={},a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(m){return function(_){return Promise.resolve(_).then(m,p)}}function a(m,_){n[m]&&(r[m]=function(C){return new Promise(function(M,I){o.push([m,C,M,I])>1||l(m,C)})},_&&(r[m]=_(r[m])))}function l(m,_){try{c(n[m](_))}catch(C){g(o[0][3],C)}}function c(m){m.value instanceof vn?Promise.resolve(m.value.v).then(f,p):g(o[0][2],m)}function f(m){l("next",m)}function p(m){l("throw",m)}function g(m,_){m(_),o.shift(),o.length&&l(o[0][0],o[0][1])}}function Jd(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof Yd=="function"?Yd(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var ei=t=>t&&typeof t.length=="number"&&typeof t!="function";function Xr(t){return N(t?.then)}function eo(t){return N(t[Zn])}function to(t){return Symbol.asyncIterator&&N(t?.[Symbol.asyncIterator])}function no(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Ay(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var io=Ay();function ro(t){return N(t?.[io])}function oo(t){return Zd(this,arguments,function*(){let i=t.getReader();try{for(;;){let{value:n,done:r}=yield vn(i.read());if(r)return yield vn(void 0);yield yield vn(n)}}finally{i.releaseLock()}})}function so(t){return N(t?.getReader)}function te(t){if(t instanceof F)return t;if(t!=null){if(eo(t))return Ry(t);if(ei(t))return Py(t);if(Xr(t))return Fy(t);if(to(t))return Kd(t);if(ro(t))return ky(t);if(so(t))return Ly(t)}throw no(t)}function Ry(t){return new F(e=>{let i=t[Zn]();if(N(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Py(t){return new F(e=>{for(let i=0;i<t.length&&!e.closed;i++)e.next(t[i]);e.complete()})}function Fy(t){return new F(e=>{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,zr)})}function ky(t){return new F(e=>{for(let i of t)if(e.next(i),e.closed)return;e.complete()})}function Kd(t){return new F(e=>{Vy(t,e).catch(i=>e.error(i))})}function Ly(t){return Kd(oo(t))}function Vy(t,e){var i,n,r,o;return Qd(this,void 0,void 0,function*(){try{for(i=Jd(t);n=yield i.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}
vendor: 4,093 bytes, line 3
3finally{try{n&&!n.done&&(o=i.return)&&(yield o.call(i))}finally{if(r)throw r.error}}e.complete()})}function Be(t,e,i,n=0,r=!1){let o=e.schedule(function(){i(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}function ao(t,e=0){return H((i,n)=>{i.subscribe(k(n,r=>Be(n,t,()=>n.next(r),e),()=>Be(n,t,()=>n.complete(),e),r=>Be(n,t,()=>n.error(r),e)))})}function lo(t,e=0){return H((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}function Xd(t,e){return te(t).pipe(lo(e),ao(e))}function ef(t,e){return te(t).pipe(lo(e),ao(e))}function tf(t,e){return new F(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}function nf(t,e){return new F(i=>{let n;return Be(i,e,()=>{n=t[io](),Be(i,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(s){i.error(s);return}o?i.complete():i.next(r)},0,!0)}),()=>N(n?.return)&&n.return()})}function co(t,e){if(!t)throw new Error("Iterable cannot be null");return new F(i=>{Be(i,e,()=>{let n=t[Symbol.asyncIterator]();Be(i,e,()=>{n.next().then(r=>{r.done?i.complete():i.next(r.value)})},0,!0)})})}function rf(t,e){return co(oo(t),e)}function of(t,e){if(t!=null){if(eo(t))return Xd(t,e);if(ei(t))return tf(t,e);if(Xr(t))return ef(t,e);if(to(t))return co(t,e);if(ro(t))return nf(t,e);if(so(t))return rf(t,e)}throw no(t)}function se(t,e){return e?of(t,e):te(t)}function x(...t){let e=Qt(t);return se(t,e)}function ti(t,e){let i=N(t)?t:()=>t,n=r=>r.error(i());return new F(e?r=>e.schedule(n,0,r):n)}function Ya(t){return!!t&&(t instanceof F||N(t.lift)&&N(t.subscribe))}var xt=zn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function sf(t){return t instanceof Date&&!isNaN(t)}function P(t,e){return H((i,n)=>{let r=0;i.subscribe(k(n,o=>{n.next(t.call(e,o,r++))}))})}var{isArray:By}=Array;function jy(t,e){return By(e)?t(...e):t(e)}function ni(t){return P(e=>jy(t,e))}var{isArray:Uy}=Array,{getPrototypeOf:Hy,prototype:$y,keys:Gy}=Object;function uo(t){if(t.length===1){let e=t[0];if(Uy(e))return{args:e,keys:null};if(Wy(e)){let i=Gy(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}function Wy(t){return t&&typeof t=="object"&&Hy(t)===$y}function fo(t,e){return t.reduce((i,n,r)=>(i[n]=e[r],i),{})}function ii(...t){let e=Qt(t),i=Yt(t),{args:n,keys:r}=uo(t);if(n.length===0)return se([],e);let o=new F(zy(n,e,r?s=>fo(r,s):Re));return i?o.pipe(ni(i)):o}function zy(t,e,i=Re){return n=>{af(e,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)af(e,()=>{let c=se(t[l],e),f=!1;c.subscribe(k(n,p=>{o[l]=p,f||(f=!0,a--),a||n.next(i(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function af(t,e,i){t?Be(i,t,e):e()}function lf(t,e,i,n,r,o,s,a){let l=[],c=0,f=0,p=!1,g=()=>{p&&!l.length&&!c&&e.complete()},m=C=>c<n?_(C):l.push(C),_=C=>{o&&e.next(C),c++;let M=!1;te(i(C,f++)).subscribe(k(e,I=>{r?.(I),o?m(I):e.next(I)},()=>{M=!0},void 0,()=>{if(M)try{for(c--;l.length&&c<n;){let I=l.shift();s?Be(e,s,()=>_(I)):_(I)}g()}catch(I){e.error(I)}}))};return t.subscribe(k(e,m,()=>{p=!0,g()})),()=>{a?.()}}function le(t,e,i=1/0){return N(e)?le((n,r)=>P((o,s)=>e(n,o,r,s))(te(t(n,r))),i):(typeof e=="number"&&(i=e),H((n,r)=>lf(n,r,t,i)))}function ri(t=1/0){return le(Re,t)}function cf(){return ri(1)}function Zt(...t){return cf()(se(t,Qt(t)))}function ho(t){return new F(e=>{te(t()).subscribe(e)})}function Qa(...t){let e=Yt(t),{args:i,keys:n}=uo(t),r=new F(o=>{let{length:s}=i;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let f=0;f<s;f++){let p=!1;te(i[f]).subscribe(k(o,g=>{p||(p=!0,c--),a[f]=g},()=>l--,void 0,()=>{(!l||!p)&&(c||o.next(n?fo(n,a):a),o.complete())}))}});return e?r.pipe(ni(e)):r}var qy=["addListener","removeListener"],Yy=["addEventListener","removeEventListener"],Qy=["on","off"];function Je(t,e,i,n){if(N(i)&&(n=i,i=void 0),n)return Je(t,e,i).pipe(ni(n));let[r,o]=Ky(t)?Yy.map(s=>a=>t[s](e,a,i)):Zy(t)?qy.map(uf(t,e)):Jy(t)?Qy.map(uf(t,e)):[];if(!r&&ei(t))return le(s=>Je(s,e,i))(te(t));if(!r)throw new TypeError("Invalid event target");return new F(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);
3return r(a),()=>o(a)})}function uf(t,e){return i=>n=>t[i](e,n)}function Zy(t){return N(t.addListener)&&N(t.removeListener)}function Jy(t){return N(t.on)&&N(t.off)}function Ky(t){return N(t.addEventListener)&&N(t.removeEventListener)}function Za(t=0,e,i=zd){let n=-1;return e!=null&&(Kr(e)?i=e:n=e),new F(r=>{let o=sf(t)?+t-i.now():t;o<0&&(o=0);let s=0;return i.schedule(function(){r.closed||(r.next(s++),0<=n?this.schedule(void 0,n):r.complete())},o)})}var{isArray:Xy}=Array;function po(t){return t.length===1&&Xy(t[0])?t[0]:t}function me(t,e){return H((i,n)=>{let r=0;i.subscribe(k(n,o=>t.call(e,o,r++)&&n.next(o)))})}function Ja(...t){return t=po(t),t.length===1?te(t[0]):new F(ev(t))}function ev(t){return e=>{let i=[];for(let n=0;i&&!e.closed&&n<t.length;n++)i.push(te(t[n]).subscribe(k(e,r=>{if(i){for(let o=0;o<i.length;o++)o!==n&&i[o].unsubscribe();i=null}e.next(r)})))}}function ji(...t){let e=Yt(t),i=po(t);return i.length?new F(n=>{let r=i.map(()=>[]),o=i.map(()=>!1);n.add(()=>{r=o=null});for(let s=0;!n.closed&&s<i.length;s++)te(i[s]).subscribe(k(n,a=>{if(r[s].push(a),r.every(l=>l.length)){let l=r.map(c=>c.shift());n.next(e?e(...l):l),r.some((c,f)=>!c.length&&o[f])&&n.complete()}},()=>{o[s]=!0,!r[s].length&&n.complete()}));return()=>{r=o=null}}):Se}function Jt(t){return H((e,i)=>{let n=null,r=!1,o;n=e.subscribe(k(i,void 0,void 0,s=>{o=te(t(s,Jt(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(i)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(i))})}function df(t,e,i,n,r){return(o,s)=>{let a=i,l=e,c=0;o.subscribe(k(s,f=>{let p=c++;l=a?t(l,f,p):(a=!0,f),n&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function Nt(t,e){return N(e)?le(t,e,1):le(t,1)}function Kt(t){return H((e,i)=>{let n=!1;e.subscribe(k(i,r=>{n=!0,i.next(r)},()=>{n||i.next(t),i.complete()}))})}function je(t){return t<=0?()=>Se:H((e,i)=>{let n=0;e.subscribe(k(i,r=>{++n<=t&&(i.next(r),t<=n&&i.complete())}))})}function Ka(t){return P(()=>t)}function go(t=tv){return H((e,i)=>{let n=!1;e.subscribe(k(i,r=>{n=!0,i.next(r)},()=>n?i.complete():i.error(t())))})}function tv(){return new xt}function Xa(...t){return e=>Zt(e,x(...t))}function At(t){return H((e,i)=>{try{e.subscribe(i)}finally{i.add(t)}})}function vt(t,e){let i=arguments.length>=2;return n=>n.pipe(t?me((r,o)=>t(r,o,n)):Re,je(1),i?Kt(e):go(()=>new xt))}function oi(t){return t<=0?()=>Se:H((e,i)=>{let n=[];e.subscribe(k(i,r=>{n.push(r),t<n.length&&n.shift()},()=>{for(let r of n)i.next(r);i.complete()},void 0,()=>{n=null}))})}function el(t,e){let i=arguments.length>=2;return n=>n.pipe(t?me((r,o)=>t(r,o,n)):Re,oi(1),i?Kt(e):go(()=>new xt))}function tl(t,e){return H(df(t,e,arguments.length>=2,!0))}function mo(...t){let e=Qt(t);return H((i,n)=>{(e?Zt(t,i,e):Zt(t,i)).subscribe(n)})}function xe(t,e){return H((i,n)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&n.complete();i.subscribe(k(n,l=>{r?.unsubscribe();let c=0,f=o++;te(t(l,f)).subscribe(r=k(n,p=>n.next(e?e(l,p,f,c++):p),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Ne(t){return H((e,i)=>{te(t).subscribe(k(i,()=>i.complete(),gn)),!i.closed&&e.subscribe(i)})}function he(t,e,i){let n=N(t)||e||i?{next:t,error:e,complete:i}:t;return n?H((r,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;r.subscribe(k(o,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),o.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Re}function yo(...t){let e=Yt(t);return H((i,n)=>{let r=t.length,o=new Array(r),s=t.map(()=>!1),a=!1;for(let l=0;l<r;l++)te(t[l]).subscribe(k(n,c=>{o[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(Re))&&(s=null))},gn));i.subscribe(k(n,l=>{if(a){let c=[l,...o];n.next(e?e(...c):c)}}))})}var th="https://g.co/ng/security#xss",S=class extends Error{constructor(e,i){super(Ko(e,i)),this.code=e}};function Ko(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function er(t){return{toString:t}.toString()}var vo="__parameters__";function nv(t){return function(...i){if(t){let n=t(...i);for(let r in n)this[r]=n[r]}}}function nh(t,e,i){return er(()=>{let n=nv(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,f){let p=l.hasOwnProperty(vo)?l[vo]:Object.defineProperty(l,vo,{value:[]})[vo];for(;p.length<=f;)p.push(null);return(p[f]=p[f]||[]).push(s),l}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var Te=globalThis;function re(t){for(let e in t)if(t[e]===re)return e;throw Error("Could not find renamed property on target object.")}function iv(t,e){for(let i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function Fe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Fe).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4`);return i===-1?e:e.substring(0,i)}function ml(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var rv=re({__forward_ref__:re});function ut(t){return t.__forward_ref__=ut,t.toString=function(){return Fe(this())},t}function Pe(t){return ih(t)?t():t}function ih(t){return typeof t=="function"&&t.hasOwnProperty(rv)&&t.__forward_ref__===ut}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function G(t){return{providers:t.providers||[],imports:t.imports||[]}}function Xo(t){return ff(t,oh)||ff(t,sh)}function rh(t){return Xo(t)!==null}function ff(t,e){return t.hasOwnProperty(e)?t[e]:null}function ov(t){let e=t&&(t[oh]||t[sh]);return e||null}function hf(t){return t&&(t.hasOwnProperty(pf)||t.hasOwnProperty(sv))?t[pf]:null}var oh=re({\u0275prov:re}),pf=re({\u0275inj:re}),sh=re({ngInjectableDef:re}),sv=re({ngInjectorDef:re}),E=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=w({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ah(t){return t&&!!t.\u0275providers}var av=re({\u0275cmp:re}),lv=re({\u0275dir:re}),cv=re({\u0275pipe:re}),uv=re({\u0275mod:re}),No=re({\u0275fac:re}),Ui=re({__NG_ELEMENT_ID__:re}),gf=re({__NG_ENV_ID__:re});function tr(t){return typeof t=="string"?t:t==null?"":String(t)}function dv(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.n
4ame||t.type.toString():tr(t)}function fv(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new S(-200,t)}function yc(t,e){throw new S(-201,!1)}var j=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(j||{}),yl;function lh(){return yl}function Ke(t){let e=yl;return yl=t,e}function ch(t,e,i){let n=Xo(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&j.Optional)return null;if(e!==void 0)return e;yc(t,"Injector")}var hv={},$i=hv,vl="__NG_DI_FLAG__",Ao="ngTempTokenPath",pv="ngTokenPath",gv=/\n/gm,mv="\u0275",mf="__source",ui;function yv(){return ui}function Xt(t){let e=ui;return ui=t,e}function vv(t,e=j.Default){if(ui===void 0)throw new S(-203,!1);return ui===null?ch(t,void 0,e):ui.get(t,e&j.Optional?null:void 0,e)}function T(t,e=j.Default){return(lh()||vv)(Pe(t),e)}function y(t,e=j.Default){return T(t,es(e))}function es(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function _l(t){let e=[];for(let i=0;i<t.length;i++){let n=Pe(t[i]);if(Array.isArray(n)){if(n.length===0)throw new S(900,!1);let r,o=j.Default;for(let s=0;s<n.length;s++){let a=n[s],l=_v(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}e.push(T(r,o))}else e.push(T(n))}return e}function uh(t,e){return t[vl]=e,t.prototype[vl]=e,t}function _v(t){return t[vl]}function bv(t,e,i,n){let r=t[Ao];throw e[mf]&&r.unshift(e[mf]),t.message=wv(`
5`+t.message,r,i,n),t[pv]=r,t[Ao]=null,t}function wv(t,e,i,n=null){t=t&&t.charAt(0)===`
6`&&t.charAt(1)==mv?t.slice(2):t;let r=Fe(e);if(Array.isArray(e))r=e.map(Fe).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Fe(a)))}r=`{${o.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${t.replace(gv,`
7  `)}`}var nr=uh(nh("Optional"),8);var ts=uh(nh("SkipSelf"),4);function fi(t,e){let i=t.hasOwnProperty(No);return i?t[No]:null}function Dv(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=e[n];if(i&&(r=i(r),o=i(o)),o!==r)return!1}return!0}function Cv(t){return t.flat(Number.POSITIVE_INFINITY)}function vc(t,e){t.forEach(i=>Array.isArray(i)?vc(i,e):e(i))}function dh(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Ro(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Ev(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function Sv(t,e,i,n){let r=t.length;if(r==e)t.push(i,n);else if(r===1)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;){let o=r-2;t[r]=t[o],r--}t[e]=i,t[e+1]=n}}function _c(t,e,i){let n=ir(t,e);return n>=0?t[n|1]=i:(n=~n,Sv(t,n,e,i)),n}function nl(t,e){let i=ir(t,e);if(i>=0)return t[i|1]}function ir(t,e){return Tv(t,e,1)}function Tv(t,e,i){let n=0,r=t.length>>i;for(;r!==n;){let o=n+(r-n>>1),s=t[o<<i];if(e===s)return o<<i;s>e?r=o:n=o+1}return~(r<<i)}var hi={},Ue=[],pi=new E(""),fh=new E("",-1),hh=new E(""),Po=class{get(e,i=$i){if(i===$i){let n=new Error(`NullInjectorError: No provider for ${Fe(e)}!`);throw n.name="NullInjectorError",n}return i}},ph=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(ph||{}),wt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(wt||{}),Me=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Me||{});function Mv(t,e,i){let n=t.length;for(;;){let r=t.indexOf(e,i);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=e.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}i=r+1}}function bl(t,e,i){let n=0;for(;n<i.length;){let r=i[n];if(typeof r=="number"){if(r!==0)break;n++;let o=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,o)}else{let o=r,s=i[++n];Iv(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function gh(t){return t===3||t===4||t===6}function Iv(t){return t.charCodeAt(0)===64}function Gi(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let r=e[n];typeof r=="number"?i=r:i===0||(i===-1||i===2?yf(t,i,r,null,e[++n]):yf(t,i,r,null,null))}}return t}function yf(t,e,i,n,r){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===i){if(n===null){r!==null&&(t[o+1]=r);return}else if(n===t[o+1]){t[o+2]=r;return}}o++,n!==null&&o++,r!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,i),n!==null&&t.splice(o++,0,n),r!==null&&t.splice(o++,0,r)}var mh="ng-template";function Ov(t,e,i,n){let r=0;if(n){for(;
7r<e.length&&typeof e[r]=="string";r+=2)if(e[r]==="class"&&Mv(e[r+1].toLowerCase(),i,0)!==-1)return!0}else if(bc(t))return!1;if(r=e.indexOf(1,r),r>-1){let o;for(;++r<e.length&&typeof(o=e[r])=="string";)if(o.toLowerCase()===i)return!0}return!1}function bc(t){return t.type===4&&t.value!==mh}function xv(t,e,i){let n=t.type===4&&!i?mh:t.value;return e===n}function Nv(t,e,i){let n=4,r=t.attrs,o=r!==null?Pv(r):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!rt(n)&&!rt(l))return!1;if(s&&rt(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!xv(t,l,i)||l===""&&e.length===1){if(rt(n))return!1;s=!0}}else if(n&8){if(r===null||!Ov(t,r,l,i)){if(rt(n))return!1;s=!0}}else{let c=e[++a],f=Av(l,r,bc(t),i);if(f===-1){if(rt(n))return!1;s=!0;continue}if(c!==""){let p;if(f>o?p="":p=r[f+1].toLowerCase(),n&2&&c!==p){if(rt(n))return!1;s=!0}}}}return rt(n)||s}function rt(t){return(t&1)===0}function Av(t,e,i,n){if(e===null)return-1;let r=0;if(n||!i){let o=!1;for(;r<e.length;){let s=e[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++r];for(;typeof a=="string";)a=e[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return Fv(e,t)}function yh(t,e,i=!1){for(let n=0;n<e.length;n++)if(Nv(t,e[n],i))return!0;return!1}function Rv(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function Pv(t){for(let e=0;e<t.length;e++){let i=t[e];if(gh(i))return e}return t.length}function Fv(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function kv(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function vf(t,e){return t?":not("+e.trim()+")":e}function Lv(t){let e=t[0],i=1,n=2,r="",o=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?r+="."+s:n&4&&(r+=" "+s);else r!==""&&!rt(s)&&(e+=vf(o,r),r=""),n=s,o=o||!rt(n);i++}return r!==""&&(e+=vf(o,r)),e}function Vv(t){return t.map(Lv).join(",")}function Bv(t){let e=[],i=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&e.push(o,t[++n]):r===8&&i.push(o);else{if(!rt(r))break;r=o}n++}return{attrs:e,classes:i}}function L(t){return er(()=>{let e=Dh(t),i=ie(b({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ph.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||wt.Emulated,styles:t.styles||Ue,_:null,schemas:t.schemas||null,tView:null,id:""});Ch(i);let n=t.dependencies;return i.directiveDefs=bf(n,!1),i.pipeDefs=bf(n,!0),i.id=Hv(i),i})}function jv(t){return Rt(t)||vh(t)}function Uv(t){return t!==null}function W(t){return er(()=>({type:t.type,bootstrap:t.bootstrap||Ue,declarations:t.declarations||Ue,imports:t.imports||Ue,exports:t.exports||Ue,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function _f(t,e){if(t==null)return hi;let i={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,s,a=Me.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),e?(i[o]=a!==Me.None?[n,a]:n,e[o]=s):i[o]=n}return i}function de(t){return er(()=>{let e=Dh(t);return Ch(e),e})}function Rt(t){return t[av]||null}function vh(t){return t[lv]||null}function _h(t){return t[cv]||null}function bh(t){let e=Rt(t)||vh(t)||_h(t);return e!==null?e.standalone:!1}function wh(t,e){let i=t[uv]||null;if(!i&&e===!0)throw new Error(`Type ${Fe(t)} does not have '\u0275mod' property.`);return i}function Dh(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||hi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ue,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:_f(t.inputs,e),outputs:_f(t.outputs),debugInfo:null}}
7function Ch(t){t.features?.forEach(e=>e(t))}function bf(t,e){if(!t)return null;let i=e?_h:jv;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(Uv)}function Hv(t){let e=0,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of i)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function ns(t){return{\u0275providers:t}}function $v(...t){return{\u0275providers:Eh(!0,t),\u0275fromNgModule:!0}}function Eh(t,...e){let i=[],n=new Set,r,o=s=>{i.push(s)};return vc(e,s=>{let a=s;wl(a,o,[],n)&&(r||=[],r.push(a))}),r!==void 0&&Sh(r,o),i}function Sh(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:r}=t[i];wc(r,o=>{e(o,n)})}}function wl(t,e,i,n){if(t=Pe(t),!t)return!1;let r=null,o=hf(t),s=!o&&Rt(t);if(!o&&!s){let l=t.ngModule;if(o=hf(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)wl(c,e,i,n)}}else if(o){if(o.imports!=null&&!a){n.add(r);let c;try{vc(o.imports,f=>{wl(f,e,i,n)&&(c||=[],c.push(f))})}finally{}c!==void 0&&Sh(c,e)}if(!a){let c=fi(r)||(()=>new r);e({provide:r,useFactory:c,deps:Ue},r),e({provide:hh,useValue:r,multi:!0},r),e({provide:pi,useValue:()=>T(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;wc(l,f=>{e(f,c)})}}else return!1;return r!==t&&t.providers!==void 0}function wc(t,e){for(let i of t)ah(i)&&(i=i.\u0275providers),Array.isArray(i)?wc(i,e):e(i)}var Gv=re({provide:String,useValue:re});function Th(t){return t!==null&&typeof t=="object"&&Gv in t}function Wv(t){return!!(t&&t.useExisting)}function zv(t){return!!(t&&t.useFactory)}function gi(t){return typeof t=="function"}function qv(t){return!!t.useClass}var is=new E(""),So={},Yv={},il;function rs(){return il===void 0&&(il=new Po),il}var ye=class{},Wi=class extends ye{get destroyed(){return this._destroyed}constructor(e,i,n,r){super(),this.parent=i,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Cl(e,s=>this.processProvider(s)),this.records.set(fh,si(void 0,this)),r.has("environment")&&this.records.set(ye,si(void 0,this));let o=this.records.get(is);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(hh,Ue,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Z(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=Xt(this),n=Ke(void 0),r;try{return e()}finally{Xt(i),Ke(n)}}get(e,i=$i,n=j.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(gf))return e[gf](this);n=es(n);let r,o=Xt(this),s=Ke(void 0);try{if(!(n&j.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=Xv(e)&&Xo(e);c&&this.injectableDefInScope(c)?l=si(Dl(e),So):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&j.Self?rs():this.parent;return i=n&j.Optional&&i===$i?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[Ao]=a[Ao]||[]).unshift(Fe(e)),o)throw a;return bv(a,e,"R3InjectorError",this.source)}else throw a}finally{Ke(s),Xt(o)}}resolveInjectorInitializers(){let e=Z(null),i=Xt(this),n=Ke(void 0),r;try{let o=this.get(pi,Ue,j.Self);for(let s of o)s()}finally{Xt(i),Ke(n),Z(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(Fe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(e){e=Pe(e);let i=gi(e)?e:Pe(e&&e.provide),n=Zv(e);if(!gi(e)&&e.multi===!0){let r=this.records.get(i);r||(r=si(void 0,So,!0),r.factory=()=>_l(r.multi),this.records.set(i,r)),i=e,r.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=Z(null);try{return i.value===So&&(i.value=Yv,i.value=i.factory()),typeof i.value=="object"&&i.value&&Kv(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{Z(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=Pe(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};function Dl(t){let e=Xo(t),i=e!==null?e.factory:fi(t);if(i!==null)return i;if(t instanceof E)throw new S(204,!1);if(t instanceof Function)return Qv(t);throw new S(204,!1)}function Qv(t){if(t.length>0)throw new S(204,!1);let i=ov(t);return i!==null?()=>i.factory(t):()=>new t}function Zv(t){if(Th(t))return si(void 0,t.useValue);{let e=Mh(t);return si(e,So)}}function Mh(t,e,i){let n;if(gi(t)){let r=Pe(t);return fi(r)||Dl(r)}else if(Th(t))n=()=>Pe(t.useValue);else if(zv(t))n=()=>t.useFactory(..._l(t.deps||[]));else if(Wv(t))n=()=>T(Pe(t.useExisting));else{let r=Pe(t&&(t.useClass||t.provide));if(Jv(t))n=()=>new r(..._l(t.deps));else return fi(r)||Dl(r)}return n}
7function si(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function Jv(t){return!!t.deps}function Kv(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Xv(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function Cl(t,e){for(let i of t)Array.isArray(i)?Cl(i,e):i&&ah(i)?Cl(i.\u0275providers,e):e(i)}function dt(t,e){t instanceof Wi&&t.assertNotDestroyed();let i,n=Xt(t),r=Ke(void 0);try{return e()}finally{Xt(n),Ke(r)}}function Ih(){return lh()!==void 0||yv()!=null}function e_(t){if(!Ih())throw new S(-203,!1)}function t_(t){let e=Te.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function n_(t){return typeof t=="function"}var kt=0,B=1,R=2,Ie=3,st=4,ze=5,zi=6,qi=7,at=8,mi=9,lt=10,ue=11,Yi=12,wf=13,bi=14,ct=15,rr=16,ai=17,Pt=18,os=19,Oh=20,en=21,rl=22,wn=23,Dt=25,xh=1;var Dn=7,Fo=8,yi=9,We=10,Dc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Dc||{});function _n(t){return Array.isArray(t)&&typeof t[xh]=="object"}function Lt(t){return Array.isArray(t)&&t[xh]===!0}function Cc(t){return(t.flags&4)!==0}function ss(t){return t.componentOffset>-1}function as(t){return(t.flags&1)===1}function tn(t){return!!t.template}function i_(t){return(t[R]&512)!==0}var El=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};function Nh(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function Vt(){return Ah}function Ah(t){return t.type.prototype.ngOnChanges&&(t.setInput=o_),r_}Vt.ngInherit=!0;function r_(){let t=Ph(this),e=t?.current;if(e){let i=t.previous;if(i===hi)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function o_(t,e,i,n,r){let o=this.declaredInputs[n],s=Ph(t)||s_(t,{previous:hi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new El(c&&c.currentValue,i,l===hi),Nh(t,e,r,i)}var Rh="__ngSimpleChanges__";function Ph(t){return t[Rh]||null}function s_(t,e){return t[Rh]=e}var Df=null;var _t=function(t,e,i){Df?.(t,e,i)},a_="svg",l_="math",c_=!1;function u_(){return c_}function Ct(t){for(;Array.isArray(t);)t=t[kt];return t}function Fh(t,e){return Ct(e[t])}function Xe(t,e){return Ct(e[t.index])}function kh(t,e){return t.data[e]}function on(t,e){let i=e[t];return _n(i)?i:i[kt]}function d_(t){return(t[R]&4)===4}function Ec(t){return(t[R]&128)===128}function f_(t){return Lt(t[Ie])}function vi(t,e){return e==null?null:t[e]}function Lh(t){t[ai]=0}function h_(t){t[R]&1024||(t[R]|=1024,Ec(t)&&Qi(t))}function p_(t,e){for(;t>0;)e=e[bi],t--;return e}function Sc(t){return!!(t[R]&9216||t[wn]?.dirty)}function Sl(t){t[lt].changeDetectionScheduler?.notify(1),Sc(t)?Qi(t):t[R]&64&&(u_()?(t[R]|=1024,Qi(t)):t[lt].changeDetectionScheduler?.notify())}function Qi(t){t[lt].changeDetectionScheduler?.notify();let e=Zi(t);for(;e!==null&&!(e[R]&8192||(e[R]|=8192,!Ec(e)));)e=Zi(e)}function Vh(t,e){if((t[R]&256)===256)throw new S(911,!1);t[en]===null&&(t[en]=[]),t[en].push(e)}function g_(t,e){if(t[en]===null)return;let i=t[en].indexOf(e);i!==-1&&t[en].splice(i,1)}function Zi(t){let e=t[Ie];return Lt(e)?e[Ie]:e}var U={lFrame:qh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function m_(){return U.lFrame.elementDepthCount}function y_(){U.lFrame.elementDepthCount++}function v_(){U.lFrame.elementDepthCount--}function Bh(){return U.bindingsEnabled}function jh(){return U.skipHydrationRootTNode!==null}function __(t){return U.skipHydrationRootTNode===t}function b_(){U.skipHydrationRootTNode=null}function Y(){return U.lFrame.lView}function pe(){return U.lFrame.tView}function ve(t){return U.lFrame.contextLView=t,t[at]}function _e(t){return U.lFrame.contextLView=null,t}function ke(){let t=Uh();for(;t!==null&&t.type===64;)t=t.parent;return t}function Uh(){return U.lFrame.currentTNode}function w_(){let t=U.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function On(t,e){let i=U.lFrame;i.currentTNode=t,i.isParent=e}function Tc(){return U.lFrame.isParent}function Mc(){U.lFrame.isParent=!1}function Hh(){let t=U.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function D_(t){return U.lFrame.bindingIndex=t}function ls(){return U.lFrame.bindingIndex++}function $h(t){let e=U.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function C_(){return U.lFrame.inI18n}function E_(t,e){let i=U.lFrame;i.bindingIndex=i.bindingRootIndex=t,Tl(e)}function S_(){return U.lFrame.currentDirectiveIndex}function Tl(t){U.lFrame.currentDirectiveIndex=t}function T_(t){let e=U.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Gh(){return U.lFrame.currentQueryIndex}function Ic(t){U.lFrame.currentQueryIndex=t}function M_(t){let e=t[B];return e.type===2?e.declTNode:e.type===1?t[ze]:null}
vendor: 4,292 bytes, line 7
7function Wh(t,e,i){if(i&j.SkipSelf){let r=e,o=t;for(;r=r.parent,r===null&&!(i&j.Host);)if(r=M_(o),r===null||(o=o[bi],r.type&10))break;if(r===null)return!1;e=r,t=o}let n=U.lFrame=zh();return n.currentTNode=e,n.lView=t,!0}function Oc(t){let e=zh(),i=t[B];U.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function zh(){let t=U.lFrame,e=t===null?null:t.child;return e===null?qh(t):e}function qh(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Yh(){let t=U.lFrame;return U.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Qh=Yh;function xc(){let t=Yh();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function I_(t){return(U.lFrame.contextLView=p_(t,U.lFrame.contextLView))[at]}function xn(){return U.lFrame.selectedIndex}function Cn(t){U.lFrame.selectedIndex=t}function cs(){let t=U.lFrame;return kh(t.tView,t.selectedIndex)}function O_(){return U.lFrame.currentNamespace}var Zh=!0;function us(){return Zh}function ds(t){Zh=t}function x_(t,e,i){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){let s=Ah(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}r&&(i.preOrderHooks??=[]).push(0-t,r),o&&((i.preOrderHooks??=[]).push(t,o),(i.preOrderCheckHooks??=[]).push(t,o))}function fs(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let o=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:f}=o;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),f!=null&&(t.destroyHooks??=[]).push(i,f)}}function To(t,e,i){Jh(t,e,3,i)}function Mo(t,e,i,n){(t[R]&3)===i&&Jh(t,e,i,n)}function ol(t,e){let i=t[R];(i&3)===e&&(i&=16383,i+=1,t[R]=i)}function Jh(t,e,i,n){let r=n!==void 0?t[ai]&65535:0,o=n??-1,s=e.length-1,a=0;for(let l=r;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[ai]+=65536),(a<o||o==-1)&&(N_(t,i,e,l),t[ai]=(t[ai]&4294901760)+l+2),l++}function Cf(t,e){_t(4,t,e);let i=Z(null);try{e.call(t)}finally{Z(i),_t(5,t,e)}}function N_(t,e,i,n){let r=i[n]<0,o=i[n+1],s=r?-i[n]:i[n],a=t[s];r?t[R]>>14<t[ai]>>16&&(t[R]&3)===e&&(t[R]+=16384,Cf(a,o)):Cf(a,o)}var di=-1,En=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};function A_(t){return t instanceof En}function R_(t){return(t.flags&8)!==0}function P_(t){return(t.flags&16)!==0}function Kh(t){return t!==di}function ko(t){return t&32767}function F_(t){return t>>16}function Lo(t,e){let i=F_(t),n=e;for(;i>0;)n=n[bi],i--;return n}var Ml=!0;function Ef(t){let e=Ml;return Ml=t,e}var k_=256,Xh=k_-1,ep=5,L_=0,bt={};function V_(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(Ui)&&(n=i[Ui]),n==null&&(n=i[Ui]=L_++);let r=n&Xh,o=1<<r;e.data[t+(r>>ep)]|=o}function Vo(t,e){let i=tp(t,e);if(i!==-1)return i;let n=e[B];n.firstCreatePass&&(t.injectorIndex=e.length,sl(n.data,t),sl(e,null),sl(n.blueprint,null));let r=Nc(t,e),o=t.injectorIndex;if(Kh(r)){let s=ko(r),a=Lo(r,e),l=a[B].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function sl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function tp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Nc(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;r!==null;){if(n=sp(r),n===null)return di;if(i++,r=r[bi],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return di}function Il(t,e,i){V_(t,e,i)}function B_(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,r=0;for(;r<n;){let o=i[r];if(gh(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;
7r<n&&typeof i[r]=="string";)r++;else{if(o===e)return i[r+1];r=r+2}}}return null}function np(t,e,i){if(i&j.Optional||t!==void 0)return t;yc(e,"NodeInjector")}function ip(t,e,i,n){if(i&j.Optional&&n===void 0&&(n=null),!(i&(j.Self|j.Host))){let r=t[mi],o=Ke(void 0);try{return r?r.get(e,n,i&j.Optional):ch(e,n,i&j.Optional)}finally{Ke(o)}}return np(n,e,i)}function rp(t,e,i,n=j.Default,r){if(t!==null){if(e[R]&2048&&!(n&j.Self)){let s=$_(t,e,i,n,bt);if(s!==bt)return s}let o=op(t,e,i,n,bt);if(o!==bt)return o}return ip(e,i,n,r)}function op(t,e,i,n,r){let o=U_(i);if(typeof o=="function"){if(!Wh(e,t,n))return n&j.Host?np(r,i,n):ip(e,i,n,r);try{let s;if(s=o(n),s==null&&!(n&j.Optional))yc(i);else return s}finally{Qh()}}else if(typeof o=="number"){let s=null,a=tp(t,e),l=di,c=n&j.Host?e[ct][ze]:null;for((a===-1||n&j.SkipSelf)&&(l=a===-1?Nc(t,e):e[a+8],l===di||!Tf(n,!1)?a=-1:(s=e[B],a=ko(l),e=Lo(l,e)));a!==-1;){let f=e[B];if(Sf(o,a,f.data)){let p=j_(a,e,i,s,n,c);if(p!==bt)return p}l=e[a+8],l!==di&&Tf(n,e[B].data[a+8]===c)&&Sf(o,a,e)?(s=f,a=ko(l),e=Lo(l,e)):a=-1}}return r}function j_(t,e,i,n,r,o){let s=e[B],a=s.data[t+8],l=n==null?ss(a)&&Ml:n!=s&&(a.type&3)!==0,c=r&j.Host&&o===a,f=Io(a,s,i,l,c);return f!==null?Sn(e,s,f,a):bt}function Io(t,e,i,n,r){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,f=o>>20,p=n?a:a+f,g=r?a+f:c;for(let m=p;m<g;m++){let _=s[m];if(m<l&&i===_||m>=l&&_.type===i)return m}if(r){let m=s[l];if(m&&tn(m)&&m.type===i)return l}return null}function Sn(t,e,i,n){let r=t[i],o=e.data;if(A_(r)){let s=r;s.resolving&&fv(dv(o[i]));let a=Ef(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Ke(s.injectImpl):null,f=Wh(t,n,j.Default);try{r=t[i]=s.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&x_(i,o[i],e)}finally{c!==null&&Ke(c),Ef(a),s.resolving=!1,Qh()}}return r}function U_(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Ui)?t[Ui]:void 0;return typeof e=="number"?e>=0?e&Xh:H_:e}function Sf(t,e,i){let n=1<<t;return!!(i[e+(t>>ep)]&n)}function Tf(t,e){return!(t&j.Self)&&!(t&j.Host&&e)}var bn=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return rp(this._tNode,this._lView,e,es(n),i)}};function H_(){return new bn(ke(),Y())}function ft(t){return er(()=>{let e=t.prototype.constructor,i=e[No]||Ol(e),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[No]||Ol(r);if(o&&o!==i)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Ol(t){return ih(t)?()=>{let e=Ol(Pe(t));return e&&e()}:fi(t)}function $_(t,e,i,n,r){let o=t,s=e;for(;o!==null&&s!==null&&s[R]&2048&&!(s[R]&512);){let a=op(o,s,i,n|j.Self,bt);if(a!==bt)return a;let l=o.parent;if(!l){let c=s[Oh];if(c){let f=c.get(i,bt,n);if(f!==bt)return f}l=sp(s),s=s[bi]}o=l}return r}function sp(t){let e=t[B],i=e.type;return i===2?e.declTNode:i===1?t[ze]:null}function hs(t){return B_(ke(),t)}function Mf(t,e=null,i=null,n){let r=ap(t,e,i,n);return r.resolveInjectorInitializers(),r}function ap(t,e=null,i=null,n,r=new Set){let o=[i||Ue,$v(t)];return n=n||(typeof t=="object"?void 0:Fe(t)),new Wi(o,e||rs(),n||null,r)}var Le=(()=>{let e=class e{static create(n,r){if(Array.isArray(n))return Mf({name:""},r,n,"");{let o=n.name??"";return Mf({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=$i,e.NULL=new Po,e.\u0275prov=w({token:e,providedIn:"any",factory:()=>T(fh)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var G_="ngOriginalError";function al(t){return t[G_]}var Et=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&al(e);for(;i&&al(i);)i=al(i);return i||null}},lp=new E("",{providedIn:"root",factory:()=>y(Et).handleError.bind(void 0)}),ps=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=W_,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),xl=class extends ps{constructor(e){super(),this._lView=e}onDestroy(e){return Vh(this._lView,e),()=>g_(this._lView,e)}};function W_(){return new xl(Y())}function z_(){return wi(ke(),Y())}function wi(t,e){return new De(Xe(t,e))}var De=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=z_;let t=e;return t})();
7function q_(t){return t instanceof De?t.nativeElement:t}var Nl=class extends oe{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,Ih()&&(this.destroyRef=y(ps,{optional:!0})??void 0)}emit(e){let i=Z(null);try{super.next(e)}finally{Z(i)}}subscribe(e,i,n){let r=e,o=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=ll(o),r&&(r=ll(r)),s&&(s=ll(s)));let a=super.subscribe({next:r,error:o,complete:s});return e instanceof fe&&e.add(a),a}};function ll(t){return e=>{setTimeout(t,void 0,e)}}var ce=Nl;function Y_(){return this._results[Symbol.iterator]()}var Al=class t{get changes(){return this._changes??=new ce}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=Y_)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=Cv(e);(this._changesDetected=!Dv(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function cp(t){return(t.flags&128)===128}var up=new Map,Q_=0;function Z_(){return Q_++}function J_(t){up.set(t[os],t)}function K_(t){up.delete(t[os])}var If="__ngContext__";function nn(t,e){_n(e)?(t[If]=e[os],J_(e)):t[If]=e}function dp(t){return hp(t[Yi])}function fp(t){return hp(t[st])}function hp(t){for(;t!==null&&!Lt(t);)t=t[st];return t}var Rl;function pp(t){Rl=t}function gp(){if(Rl!==void 0)return Rl;if(typeof document<"u")return document;throw new S(210,!1)}var gs=new E("",{providedIn:"root",factory:()=>X_}),X_="ng",Ac=new E(""),ht=new E("",{providedIn:"platform",factory:()=>"unknown"});var Rc=new E("",{providedIn:"root",factory:()=>gp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var e1="h",t1="b";var n1=()=>null;function Pc(t,e,i=!1){return n1(t,e,i)}var mp=!1,i1=new E("",{providedIn:"root",factory:()=>mp});var _o;function r1(){if(_o===void 0&&(_o=null,Te.trustedTypes))try{_o=Te.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return _o}function ms(t){return r1()?.createHTML(t)||t}var bo;function yp(){if(bo===void 0&&(bo=null,Te.trustedTypes))try{bo=Te.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return bo}function Of(t){return yp()?.createHTML(t)||t}function xf(t){return yp()?.createScriptURL(t)||t}var Bo=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${th})`}};function Nn(t){return t instanceof Bo?t.changingThisBreaksApplicationSecurity:t}function ys(t,e){let i=o1(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${th})`)}return i===e}function o1(t){return t instanceof Bo&&t.getTypeName()||null}function s1(t){let e=new Fl(t);return a1()?new Pl(e):e}var Pl=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(ms(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):(i.removeChild(i.firstChild),i)}catch{return null}}},Fl=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let i=this.inertDocument.createElement("template");return i.innerHTML=ms(e),i}};function a1(){try{return!!new window.DOMParser().parseFromString(ms(""),"text/html")}catch{return!1}}var l1=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fc(t){return t=String(t),t.match(l1)?t:"unsafe:"+t}function Bt(t){let e={};for(let i of t.split(","))e[i]=!0;return e}function or(...t){let e={};for(let i of t)for(let n in i)i.hasOwnProperty(n)&&(e[n]=!0);return e}var vp=Bt("area,br,col,hr,img,wbr"),_p=Bt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bp=Bt("rp,rt"),c1=or(bp,_p),u1=or(_p,Bt("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")),d1=or(bp,Bt("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")),Nf=or(vp,u1,d1,c1),wp=Bt
7("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),f1=Bt("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"),h1=Bt("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"),p1=or(wp,f1,h1),g1=Bt("script,style,template"),kl=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let i=e.firstChild,n=!0,r=[];for(;i;){if(i.nodeType===Node.ELEMENT_NODE?n=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,n&&i.firstChild){r.push(i),i=v1(i);continue}for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let o=y1(i);if(o){i=o;break}i=r.pop()}}return this.buf.join("")}startElement(e){let i=Af(e).toLowerCase();if(!Nf.hasOwnProperty(i))return this.sanitizedSomething=!0,!g1.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);let n=e.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),s=o.name,a=s.toLowerCase();if(!p1.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;wp[a]&&(l=Fc(l)),this.buf.push(" ",s,'="',Rf(l),'"')}return this.buf.push(">"),!0}endElement(e){let i=Af(e).toLowerCase();Nf.hasOwnProperty(i)&&!vp.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(e){this.buf.push(Rf(e))}};function m1(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function y1(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Dp(e);return e}function v1(t){let e=t.firstChild;if(e&&m1(t,e))throw Dp(e);return e}function Af(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Dp(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var _1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b1=/([^\#-~ |!])/g;function Rf(t){return t.replace(/&/g,"&amp;").replace(_1,function(e){let i=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(b1,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var wo;function Cp(t,e){let i=null;try{wo=wo||s1(t);let n=e?String(e):"";i=wo.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=i.innerHTML,i=wo.getInertBodyElement(n)}while(n!==o);let a=new kl().sanitizeChildren(Pf(i)||i);return ms(a)}finally{if(i){let n=Pf(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Pf(t){return"content"in t&&w1(t)?t.content:null}function w1(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var sr=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(sr||{});function An(t){let e=kc();return e?Of(e.sanitize(sr.HTML,t)||""):ys(t,"HTML")?Of(Nn(t)):Cp(gp(),tr(t))}function D1(t){let e=kc();return e?e.sanitize(sr.URL,t)||"":ys(t,"URL")?Nn(t):Fc(tr(t))}function C1(t){let e=kc();if(e)return xf(e.sanitize(sr.RESOURCE_URL,t)||"");if(ys(t,"ResourceURL"))return xf(Nn(t));throw new S(904,!1)}function E1(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?C1:D1}function Ep(t,e,i){return E1(e,i)(t)}function kc(){let t=Y();return t&&t[lt].sanitizer}var S1=/^>|^->|<!--|-->|--!>|<!-$/g,T1=/(<|>)/g,M1="\u200B$1\u200B";function I1(t){return t.replace(S1,e=>e.replace(T1,M1))}function Sp(t){return t instanceof Function?t():t}function O1(t){return(t??y(Le)).get(ht)==="browser"}var St=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(St||{}),x1;function Lc(t,e){return x1(t,e)}function li(t,e,i,n,r){if(n!=null){let o,s=!1;Lt(n)?o=n:_n(n)&&(s=!0,n=n[kt]);let a=Ct(n);t===0&&i!==null?r==null?Np(e,i,a):jo(e,i,a,r||null,!0):t===1&&i!==null?jo(e,i,a,r||null,!0):t===2?z1(e,a,s):t===3&&e.destroyNode(a),o!=null&&Y1(e,t,o,i,r)}}function N1(t,e){return t.createText(e)}function A1(t,e,i){t.setValue(e,i)}function R1(t,e){return t.createComment(I1(e))}function Tp(t,e,i){return t.createElement(e,i)}function P1(t,e){Mp(t,e),e[kt]=null,e[ze]=null}
vendor: 4,186 bytes, line 7
7function F1(t,e,i,n,r,o){n[kt]=r,n[ze]=e,_s(t,n,i,1,r,o)}function Mp(t,e){e[lt].changeDetectionScheduler?.notify(1),_s(t,e,e[ue],2,null,null)}function k1(t){let e=t[Yi];if(!e)return cl(t[B],t);for(;e;){let i=null;if(_n(e))i=e[Yi];else{let n=e[We];n&&(i=n)}if(!i){for(;e&&!e[st]&&e!==t;)_n(e)&&cl(e[B],e),e=e[Ie];e===null&&(e=t),_n(e)&&cl(e[B],e),i=e&&e[st]}e=i}}function L1(t,e,i,n){let r=We+n,o=i.length;n>0&&(i[r-1][st]=e),n<o-We?(e[st]=i[r],dh(i,We+n,e)):(i.push(e),e[st]=null),e[Ie]=i;let s=e[rr];s!==null&&i!==s&&V1(s,e);let a=e[Pt];a!==null&&a.insertView(t),Sl(e),e[R]|=128}function V1(t,e){let i=t[yi],r=e[Ie][Ie][ct];e[ct]!==r&&(t[R]|=Dc.HasTransplantedViews),i===null?t[yi]=[e]:i.push(e)}function Ip(t,e){let i=t[yi],n=i.indexOf(e);i.splice(n,1)}function Ll(t,e){if(t.length<=We)return;let i=We+e,n=t[i];if(n){let r=n[rr];r!==null&&r!==t&&Ip(r,n),e>0&&(t[i-1][st]=n[st]);let o=Ro(t,We+e);P1(n[B],n);let s=o[Pt];s!==null&&s.detachView(o[B]),n[Ie]=null,n[st]=null,n[R]&=-129}return n}function Op(t,e){if(!(e[R]&256)){let i=e[ue];i.destroyNode&&_s(t,e,i,3,null,null),k1(e)}}function cl(t,e){if(e[R]&256)return;let i=Z(null);try{e[R]&=-129,e[R]|=256,e[wn]&&Ld(e[wn]),j1(t,e),B1(t,e),e[B].type===1&&e[ue].destroy();let n=e[rr];if(n!==null&&Lt(e[Ie])){n!==e[Ie]&&Ip(n,e);let r=e[Pt];r!==null&&r.detachView(t)}K_(e)}finally{Z(i)}}function B1(t,e){let i=t.cleanup,n=e[qi];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let s=i[o+3];s>=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[i[o+1]];i[o].call(s)}n!==null&&(e[qi]=null);let r=e[en];if(r!==null){e[en]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}}function j1(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let r=e[i[n]];if(!(r instanceof En)){let o=i[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];_t(4,a,l);try{l.call(a)}finally{_t(5,a,l)}}else{_t(4,r,o);try{o.call(r)}finally{_t(5,r,o)}}}}}function xp(t,e,i){return U1(t,e.parent,i)}function U1(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[kt];{let{componentOffset:r}=n;if(r>-1){let{encapsulation:o}=t.data[n.directiveStart+r];if(o===wt.None||o===wt.Emulated)return null}return Xe(n,i)}}function jo(t,e,i,n,r){t.insertBefore(e,i,n,r)}function Np(t,e,i){t.appendChild(e,i)}function Ff(t,e,i,n,r){n!==null?jo(t,e,i,n,r):Np(t,e,i)}function H1(t,e,i,n){t.removeChild(e,i,n)}function Vc(t,e){return t.parentNode(e)}function $1(t,e){return t.nextSibling(e)}function Ap(t,e,i){return W1(t,e,i)}function G1(t,e,i){return t.type&40?Xe(t,i):null}var W1=G1,kf;function vs(t,e,i,n){let r=xp(t,n,e),o=e[ue],s=n.parent||e[ze],a=Ap(s,n,e);if(r!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)Ff(o,r,i[l],a,!1);else Ff(o,r,i,a,!1);kf!==void 0&&kf(o,n,e,i,r)}function Oo(t,e){if(e!==null){let i=e.type;if(i&3)return Xe(e,t);if(i&4)return Vl(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return Oo(t,n);{let r=t[e.index];return Lt(r)?Vl(-1,r):Ct(r)}}else{if(i&32)return Lc(e,t)()||Ct(t[e.index]);{let n=Rp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let r=Zi(t[ct]);return Oo(r,n)}else return Oo(t,e.next)}}}return null}function Rp(t,e){if(e!==null){let n=t[ct][ze],r=e.projection;return n.projection[r]}return null}function Vl(t,e){let i=We+t+1;if(i<e.length){let n=e[i],r=n[B].firstChild;if(r!==null)return Oo(n,r)}return e[Dn]}function z1(t,e,i){let n=Vc(t,e);n&&H1(t,n,e,i)}function Bc(t,e,i,n,r,o,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&nn(Ct(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)Bc(t,e,i.child,n,r,o,!1),li(e,t,r,a,o);else if(l&32){let c=Lc(i,n),f;for(;f=c();)li(e,t,r,f,o);li(e,t,r,a,o)}else l&16?Pp(t,e,n,i,r,o):li(e,t,r,a,o);i=s?i.projectionNext:i.next}}function _s(t,e,i,n,r,o){Bc(i,n,t.firstChild,e,r,o,!1)}function q1(t,e,i){let n=e[ue],r=xp(t,i,e),o=i.parent||e[ze],s=Ap(o,i,e);Pp(n,0,e,i,r,s)}function Pp(t,e,i,n,r,o){let s=i[ct],l=s[ze].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let f=l[c];li(e,t,r,f,o)}else{let c=l,f=s[Ie];cp(n)&&(c.flags|=128),Bc(t,e,c,f,r,o,!0)}}function Y1(t,e,i,n,r){let o=i[Dn],s=Ct(i);o!==s&&li(e,t,n,o,r);for(let a=We;a<i.length;a++){let l=i[a];_s(l[B],l,t,e,n,o)}}
7function Q1(t,e,i,n,r){if(e)r?t.addClass(i,n):t.removeClass(i,n);else{let o=n.indexOf("-")===-1?void 0:St.DashCase;r==null?t.removeStyle(i,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=St.Important),t.setStyle(i,n,r,o))}}function Z1(t,e,i){t.setAttribute(e,"style",i)}function Fp(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function kp(t,e,i){let{mergedAttrs:n,classes:r,styles:o}=i;n!==null&&bl(t,e,n),r!==null&&Fp(t,e,r),o!==null&&Z1(t,e,o)}var pt={};function v(t=1){Lp(pe(),Y(),xn()+t,!1)}function Lp(t,e,i,n){if(!n)if((e[R]&3)===3){let o=t.preOrderCheckHooks;o!==null&&To(e,o,i)}else{let o=t.preOrderHooks;o!==null&&Mo(e,o,0,i)}Cn(i)}function A(t,e=j.Default){let i=Y();if(i===null)return T(t,e);let n=ke();return rp(n,i,Pe(t),e)}function Vp(){let t="invalid";throw new Error(t)}function Bp(t,e,i,n,r,o){let s=Z(null);try{let a=null;r&Me.SignalBased&&(a=e[n][Pa]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&Me.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,a,o,i,n):Nh(e,a,n,o)}finally{Z(s)}}function J1(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let r=i[n];if(r<0)Cn(~r);else{let o=r,s=i[++n],a=i[++n];E_(s,o);let l=e[o];a(2,l)}}}finally{Cn(-1)}}function bs(t,e,i,n,r,o,s,a,l,c,f){let p=e.blueprint.slice();return p[kt]=r,p[R]=n|4|128|8|64,(c!==null||t&&t[R]&2048)&&(p[R]|=2048),Lh(p),p[Ie]=p[bi]=t,p[at]=i,p[lt]=s||t&&t[lt],p[ue]=a||t&&t[ue],p[mi]=l||t&&t[mi]||null,p[ze]=o,p[os]=Z_(),p[zi]=f,p[Oh]=c,p[ct]=e.type==2?t[ct]:p,p}function Di(t,e,i,n,r){let o=t.data[e];if(o===null)o=K1(t,e,i,n,r),C_()&&(o.flags|=32);else if(o.type&64){o.type=i,o.value=n,o.attrs=r;let s=w_();o.injectorIndex=s===null?-1:s.injectorIndex}return On(o,!0),o}function K1(t,e,i,n,r){let o=Uh(),s=Tc(),a=s?o:o&&o.parent,l=t.data[e]=rb(t,a,i,e,n,r);return t.firstChild===null&&(t.firstChild=l),o!==null&&(s?o.child==null&&l.parent!==null&&(o.child=l):o.next===null&&(o.next=l,l.prev=o)),l}function jp(t,e,i,n){if(i===0)return-1;let r=e.length;for(let o=0;o<i;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return r}function Up(t,e,i,n,r){let o=xn(),s=n&2;try{Cn(-1),s&&e.length>Dt&&Lp(t,e,Dt,!1),_t(s?2:0,r),i(n,r)}finally{Cn(o),_t(s?3:1,r)}}function jc(t,e,i){if(Cc(e)){let n=Z(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{Z(n)}}}function Uc(t,e,i){Bh()&&(ub(t,e,i,Xe(i,e)),(i.flags&64)===64&&Gp(t,e,i))}function Hc(t,e,i=Xe){let n=e.localNames;if(n!==null){let r=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],a=s===-1?i(e,t):t[s];t[r++]=a}}}function Hp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=$c(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function $c(t,e,i,n,r,o,s,a,l,c,f){let p=Dt+n,g=p+r,m=X1(p,g),_=typeof c=="function"?c():c;return m[B]={type:t,blueprint:m,template:i,queries:null,viewQuery:a,declTNode:e,data:m.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:g,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:l,consts:_,incompleteFirstPass:!1,ssrId:f}}function X1(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:pt);return i}function eb(t,e,i,n){let o=n.get(i1,mp)||i===wt.ShadowDom,s=t.selectRootElement(e,o);return tb(s),s}function tb(t){nb(t)}var nb=()=>null;function ib(t,e,i,n){let r=qp(e);r.push(i),t.firstCreatePass&&Yp(t).push(n,r.length-1)}function rb(t,e,i,n,r,o){let s=e?e.injectorIndex:-1,a=0;return jh()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Lf(t,e,i,n,r){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=Me.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}t===0?Vf(n,i,c,a,l):Vf(n,i,c,a)}return n}function Vf(t,e,i,n,r){let o;t.hasOwnProperty(i)?(o=t[i]).push(e,n):o=t[i]=[e,n],r!==void 0&&o.push(r)}function ob(t,e,i){let n=e.directiveStart,r=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let f=n;f<r;
7f++){let p=o[f],g=i?i.get(p):null,m=g?g.inputs:null,_=g?g.outputs:null;l=Lf(0,p.inputs,f,l,m),c=Lf(1,p.outputs,f,c,_);let C=l!==null&&s!==null&&!bc(e)?wb(l,f,s):null;a.push(C)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function sb(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Gc(t,e,i,n,r,o,s,a){let l=Xe(e,i),c=e.inputs,f;!a&&c!=null&&(f=c[n])?(zc(t,i,f,n,r),ss(e)&&ab(i,e.index)):e.type&3?(n=sb(n),r=s!=null?s(r,e.value||"",n):r,o.setProperty(l,n,r)):e.type&12}function ab(t,e){let i=on(e,t);i[R]&16||(i[R]|=64)}function Wc(t,e,i,n){if(Bh()){let r=n===null?null:{"":-1},o=fb(t,i),s,a;o===null?s=a=null:[s,a]=o,s!==null&&$p(t,e,i,s,r,a),r&&hb(i,n,r)}i.mergedAttrs=Gi(i.mergedAttrs,i.attrs)}function $p(t,e,i,n,r,o){for(let c=0;c<n.length;c++)Il(Vo(i,e),t,n[c].type);gb(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let f=n[c];f.providersResolver&&f.providersResolver(f)}let s=!1,a=!1,l=jp(t,e,n.length,null);for(let c=0;c<n.length;c++){let f=n[c];i.mergedAttrs=Gi(i.mergedAttrs,f.hostAttrs),mb(t,i,e,l,f),pb(l,f,r),f.contentQueries!==null&&(i.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(i.flags|=64);let p=f.type.prototype;!s&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(p.ngOnChanges||p.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}ob(t,i,o)}function lb(t,e,i,n,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;cb(s)!=a&&s.push(a),s.push(i,n,o)}}function cb(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function ub(t,e,i,n){let r=i.directiveStart,o=i.directiveEnd;ss(i)&&yb(e,i,t.data[r+i.componentOffset]),t.firstCreatePass||Vo(i,e),nn(n,e);let s=i.initialInputs;for(let a=r;a<o;a++){let l=t.data[a],c=Sn(e,t,a,i);if(nn(c,e),s!==null&&bb(e,a-r,c,l,i,s),tn(l)){let f=on(i.index,e);f[at]=Sn(e,t,a,i)}}}function Gp(t,e,i){let n=i.directiveStart,r=i.directiveEnd,o=i.index,s=S_();try{Cn(o);for(let a=n;a<r;a++){let l=t.data[a],c=e[a];Tl(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&db(l,c)}}finally{Cn(-1),Tl(s)}}function db(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function fb(t,e){let i=t.directiveRegistry,n=null,r=null;if(i)for(let o=0;o<i.length;o++){let s=i[o];if(yh(e,s.selectors,!1))if(n||(n=[]),tn(s))if(s.findHostDirectiveDefs!==null){let a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),n.unshift(...a,s);let l=a.length;Bl(t,e,l)}else n.unshift(s),Bl(t,e,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,n,r),n.push(s)}return n===null?null:[n,r]}function Bl(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function hb(t,e,i){if(e){let n=t.localNames=[];for(let r=0;r<e.length;r+=2){let o=i[e[r+1]];if(o==null)throw new S(-301,!1);n.push(e[r],o)}}}function pb(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;tn(e)&&(i[""]=t)}}function gb(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function mb(t,e,i,n,r){t.data[n]=r;let o=r.factory||(r.factory=fi(r.type,!0)),s=new En(o,tn(r),A);t.blueprint[n]=s,i[n]=s,lb(t,e,n,jp(t,i,r.hostVars,pt),r)}function yb(t,e,i){let n=Xe(e,t),r=Hp(i),o=t[lt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=ws(t,bs(t,r,null,s,n,e,null,o.createRenderer(n,i),null,null,null));t[e.index]=a}function vb(t,e,i,n,r,o){let s=Xe(t,e);_b(e[ue],s,o,t.value,i,n,r)}function _b(t,e,i,n,r,o,s){if(o==null)t.removeAttribute(e,r,i);else{let a=s==null?tr(o):s(o,n||"",r);t.setAttribute(e,r,a,i)}}function bb(t,e,i,n,r,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],f=s[a++],p=s[a++];Bp(n,i,l,c,f,p)}}function wb(t,e,i){let n=null,r=0;for(;r<i.length;){let o=i[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(o,s[a+1],s[a+2],i[r+1]);break}}r+=2}return n}
7function Wp(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function zp(t,e){let i=t.contentQueries;if(i!==null){let n=Z(null);try{for(let r=0;r<i.length;r+=2){let o=i[r],s=i[r+1];if(s!==-1){let a=t.data[s];Ic(o),a.contentQueries(2,e[s],s)}}}finally{Z(n)}}}function ws(t,e){return t[Yi]?t[wf][st]=e:t[Yi]=e,t[wf]=e,e}function jl(t,e,i){Ic(0);let n=Z(null);try{e(t,i)}finally{Z(n)}}function qp(t){return t[qi]||(t[qi]=[])}function Yp(t){return t.cleanup||(t.cleanup=[])}function Qp(t,e){let i=t[mi],n=i?i.get(Et,null):null;n&&n.handleError(e)}function zc(t,e,i,n,r){for(let o=0;o<i.length;){let s=i[o++],a=i[o++],l=i[o++],c=e[s],f=t.data[s];Bp(f,c,n,a,l,r)}}function Db(t,e,i){let n=Fh(e,t);A1(t[ue],n,i)}function Cb(t,e){let i=on(e,t),n=i[B];Eb(n,i);let r=i[kt];r!==null&&i[zi]===null&&(i[zi]=Pc(r,i[mi])),qc(n,i,i[at])}function Eb(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function qc(t,e,i){Oc(e);try{let n=t.viewQuery;n!==null&&jl(1,n,i);let r=t.template;r!==null&&Up(t,e,r,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[Pt]?.finishViewCreation(t),t.staticContentQueries&&zp(t,e),t.staticViewQueries&&jl(2,t.viewQuery,i);let o=t.components;o!==null&&Sb(e,o)}
7catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[R]&=-5,xc()}}function Sb(t,e){for(let i=0;i<e.length;i++)Cb(t,e[i])}function Tb(t,e,i,n){let r=Z(null);try{let o=e.tView,a=t[R]&4096?4096:16,l=bs(t,o,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[rr]=c;let f=t[Pt];return f!==null&&(l[Pt]=f.createEmbeddedView(o)),qc(o,l,i),l}finally{Z(r)}}function Bf(t,e){return!e||e.firstChild===null||cp(t)}function Mb(t,e,i,n=!0){let r=e[B];if(L1(r,e,t,i),n){let s=Vl(i,t),a=e[ue],l=Vc(a,t[Dn]);l!==null&&F1(r,t[ze],a,e,l,s)}let o=e[zi];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Uo(t,e,i,n,r=!1){for(;i!==null;){let o=e[i.index];o!==null&&n.push(Ct(o)),Lt(o)&&Ib(o,n);let s=i.type;if(s&8)Uo(t,e,i.child,n);else if(s&32){let a=Lc(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=Rp(e,i);if(Array.isArray(a))n.push(...a);else{let l=Zi(e[ct]);Uo(l[B],l,a,n,!0)}}i=r?i.projectionNext:i.next}return n}function Ib(t,e){for(let i=We;i<t.length;i++){let n=t[i],r=n[B].firstChild;r!==null&&Uo(n[B],n,r,e)}t[Dn]!==t[kt]&&e.push(t[Dn])}var Zp=[];function Ob(t){return t[wn]??xb(t)}function xb(t){let e=Zp.pop()??Object.create(Ab);return e.lView=t,e}function Nb(t){t.lView[wn]!==t&&(t.lView=null,Zp.push(t))}var Ab=ie(b({},Pd),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Qi(t.lView)},consumerOnSignalRead(){this.lView[wn]=this}}),Jp=100;function Kp(t,e=!0,i=0){let n=t[lt],r=n.rendererFactory,o=!1;o||r.begin?.();try{Rb(t,i)}catch(s){throw e&&Qp(t,s),s}finally{o||(r.end?.(),n.inlineEffectRunner?.flush())}}function Rb(t,e){Ul(t,e);let i=0;for(;Sc(t);){if(i===Jp)throw new S(103,!1);i++,Ul(t,1)}}function Pb(t,e,i,n){let r=e[R];if((r&256)===256)return;let o=!1;!o&&e[lt].inlineEffectRunner?.flush(),Oc(e);let s=null,a=null;!o&&Fb(t)&&(a=Ob(e),s=Fd(a));try{Lh(e),D_(t.bindingStartIndex),i!==null&&Up(t,e,i,2,n);let l=(r&3)===3;if(!o)if(l){let p=t.preOrderCheckHooks;p!==null&&To(e,p,null)}else{let p=t.preOrderHooks;p!==null&&Mo(e,p,0,null),ol(e,0)}if(kb(e),Xp(e,0),t.contentQueries!==null&&zp(t,e),!o)if(l){let p=t.contentCheckHooks;p!==null&&To(e,p)}else{let p=t.contentHooks;p!==null&&Mo(e,p,1),ol(e,1)}J1(t,e);let c=t.components;c!==null&&tg(e,c,0);let f=t.viewQuery;if(f!==null&&jl(2,f,n),!o)if(l){let p=t.viewCheckHooks;p!==null&&To(e,p)}else{let p=t.viewHooks;p!==null&&Mo(e,p,2),ol(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[rl]){for(let p of e[rl])p();e[rl]=null}o||(e[R]&=-73)}catch(l){throw Qi(e),l}finally{a!==null&&(kd(a,s),Nb(a)),xc()}}function Fb(t){return t.type!==2}function Xp(t,e){for(let i=dp(t);i!==null;i=fp(i))for(let n=We;n<i.length;n++){let r=i[n];eg(r,e)}}function kb(t){for(let e=dp(t);e!==null;e=fp(e)){if(!(e[R]&Dc.HasTransplantedViews))continue;let i=e[yi];for(let n=0;n<i.length;n++){let r=i[n],o=r[Ie];h_(r)}}}function Lb(t,e,i){let n=on(e,t);eg(n,i)}function eg(t,e){Ec(t)&&Ul(t,e)}function Ul(t,e){let n=t[B],r=t[R],o=t[wn],s=!!(e===0&&r&16);if(s||=!!(r&64&&e===0),s||=!!(r&1024),s||=!!(o?.dirty&&Fa(o)),o&&(o.dirty=!1),t[R]&=-9217,s)Pb(n,t,n.template,t[at]);else if(r&8192){Xp(t,1);let a=n.components;a!==null&&tg(t,a,1)}}function tg(t,e,i){for(let n=0;n<e.length;n++)Lb(t,e[n],i)}function Yc(t){for(t[lt].changeDetectionScheduler?.notify();t;){t[R]|=64;let e=Zi(t);if(i_(t)&&!e)return t;t=e}return null}var Tn=class{get rootNodes(){let e=this._lView,i=e[B];return Uo(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[at]}set context(e){this._lView[at]=e}get destroyed(){return(this._lView[R]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ie];if(Lt(e)){let i=e[Fo],n=i?i.indexOf(this):-1;n>-1&&(Ll(e,n),Ro(i,n))}this._attachedToViewContainer=!1}Op(this._lView[B],this._lView)}onDestroy(e){Vh(this._lView,e)}markForCheck(){Yc(this._cdRefInjectingView||this._lView)}detach(){this._lView[R]&=-129}reattach(){Sl(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,Kp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Mp(this._lView[B],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=e,Sl(this._lView)}},Ft=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=jb;let t=e;return t})(),Vb=Ft,Bb=class extends Vb{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let r=Tb(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new Tn(r)}};function jb(){return Qc(ke(),Y())}function Qc(t,e){return t.type&4?new Bb(e,t,wi(t,e)):null}var EP=new RegExp(`^(\\d+)*(${t1}|${e1})*(.*)`);var Ub=()=>null;function jf(t,e){return Ub(t,e)}var Ho=class{},Hl=class{},$o=class{};function Hb(t){let e=Error(`No component factory found for ${Fe(t)}.`);return e[$b]=t,e}var $b="ngComponent";
7var $l=class{resolveComponentFactory(e){throw Hb(e)}},Ds=(()=>{let e=class e{};e.NULL=new $l;let t=e;return t})(),Ji=class{},gt=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Gb();let t=e;return t})();function Gb(){let t=Y(),e=ke(),i=on(e.index,t);return(_n(i)?i:t)[ue]}var Wb=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),ul={};var Uf=new Set;function Cs(t){Uf.has(t)||(Uf.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Hf(...t){}function zb(){let t=typeof Te.requestAnimationFrame=="function",e=Te[t?"requestAnimationFrame":"setTimeout"],i=Te[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}var J=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&i,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=zb().nativeRequestAnimationFrame,Qb(r)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new S(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,qb,Hf,Hf);try{return o.runTask(s,i,n)}finally{o.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},qb={};function Zc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Yb(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Te,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Gl(t),t.isCheckStableRunning=!0,Zc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Gl(t))}function Qb(t){let e=()=>{Yb(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,r,o,s,a)=>{if(Zb(a))return i.invokeTask(r,o,s,a);try{return $f(t),i.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Gf(t)}},onInvoke:(i,n,r,o,s,a,l)=>{try{return $f(t),i.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Gf(t)}},onHasTask:(i,n,r,o)=>{i.hasTask(r,o),n===r&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Gl(t),Zc(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,n,r,o)=>(i.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Gl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function $f(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Gf(t){t._nesting--,Zc(t)}var Wl=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}run(e,i,n){return e.apply(i,n)}runGuarded(e,i,n){return e.apply(i,n)}runOutsideAngular(e){return e()}runTask(e,i,n,r){return e.apply(i,n)}};function Zb(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function Jb(t="zone.js",e){return t==="noop"?new Wl:t==="zone.js"?new J(e):t}var ci=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(ci||{}),Kb={destroy(){}};function Es(t,e){!e&&e_(Es);let i=e?.injector??y(Le);if(!O1(i))return Kb;Cs("NgAfterNextRender");let n=i.get(Jc),r=n.handler??=new ql,o=e?.phase??ci.MixedReadWrite,s=()=>{r.unregister(l),a()},a=i.get(ps).onDestroy(s),l=dt(i,()=>new zl(o,()=>{s(),t()}));return r.register(l),{destroy:s}}var zl=class{constructor(e,i){this.phase=e,this.callbackFn=i,this.zone=y(J),this.errorHandler=y(Et,{optional:!0}),y(Ho,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},ql=class{constructor(){this.executingCallbacks=!1,this.buckets={[ci.EarlyRead]:new Set,[ci.Write]:new Set,[ci.MixedReadWrite]:new Set,[ci.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let i of e)i.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Jc=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Go(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)r=ml(r,a);else if(o==2){let l=a,c=e[++s];n=ml(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=r:t.classesWithoutHost=r}var Wo=class extends Ds{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=Rt(e);return new Mn(i,this.ngModule)}};function Wf(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function Xb(t){let e=t.toLowerCase();return e==="svg"?a_:e==="math"?l_:null}var Yl=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=es(n);let r=this.injector.get(e,ul,n);return r!==ul||i===ul?r:this.parentInjector.get(e,i,n)}},Mn=class extends $o{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=Wf(e.input
7s);if(i!==null)for(let r of n)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return n}get outputs(){return Wf(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=Vv(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,r){let o=Z(null);try{r=r||this.ngModule;let s=r instanceof ye?r:r?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Yl(e,s):e,l=a.get(Ji,null);if(l===null)throw new S(407,!1);let c=a.get(Wb,null),f=a.get(Jc,null),p=a.get(Ho,null),g={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:f,changeDetectionScheduler:p},m=l.createRenderer(null,this.componentDef),_=this.componentDef.selectors[0][0]||"div",C=n?eb(m,n,this.componentDef.encapsulation,a):Tp(m,_,Xb(_)),M=512;this.componentDef.signals?M|=4096:this.componentDef.onPush||(M|=16);let I=null;C!==null&&(I=Pc(C,a,!0));let Oe=$c(0,null,null,1,0,null,null,null,null,null,null),Ee=bs(null,Oe,null,M,null,null,g,m,a,null,I);Oc(Ee);let ae,yt;try{let Ge=this.componentDef,qt,Aa=null;Ge.findHostDirectiveDefs?(qt=[],Aa=new Map,Ge.findHostDirectiveDefs(Ge,qt,Aa),qt.push(Ge)):qt=[Ge];let gy=ew(Ee,C),my=tw(gy,C,Ge,qt,Ee,g,m);yt=kh(Oe,Dt),C&&rw(m,Ge,C,n),i!==void 0&&ow(yt,this.ngContentSelectors,i),ae=iw(my,Ge,qt,Aa,Ee,[sw]),qc(Oe,Ee,null)}finally{xc()}return new Ql(this.componentType,ae,wi(yt,Ee),Ee,yt)}finally{Z(o)}}},Ql=class extends Hl{constructor(e,i,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new Tn(r,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,r;if(n!==null&&(r=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let o=this._rootLView;zc(o[B],o,r,e,i),this.previousInputValues.set(e,i);let s=on(this._tNode.index,o);Yc(s)}}get injector(){return new bn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function ew(t,e){let i=t[B],n=Dt;return t[n]=e,Di(i,n,2,"#host",null)}function tw(t,e,i,n,r,o,s){let a=r[B];nw(n,t,e,s);let l=null;e!==null&&(l=Pc(e,r[mi]));let c=o.rendererFactory.createRenderer(e,i),f=16;i.signals?f=4096:i.onPush&&(f=64);let p=bs(r,Hp(i),null,f,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Bl(a,t,n.length-1),ws(r,p),r[t.index]=p}function nw(t,e,i,n){for(let r of t)e.mergedAttrs=Gi(e.mergedAttrs,r.hostAttrs);e.mergedAttrs!==null&&(Go(e,e.mergedAttrs,!0),i!==null&&kp(n,i,e))}function iw(t,e,i,n,r,o){let s=ke(),a=r[B],l=Xe(s,r);$p(a,r,s,i,null,n);for(let f=0;f<i.length;f++){let p=s.directiveStart+f,g=Sn(r,a,p,s);nn(g,r)}Gp(a,r,s),l&&nn(l,r);let c=Sn(r,a,s.directiveStart+s.componentOffset,s);if(t[at]=r[at]=c,o!==null)for(let f of o)f(c,e);return jc(a,s,r),c}function rw(t,e,i,n){if(n)bl(t,i,["ng-version","17.3.12"]);else{let{attrs:r,classes:o}=Bv(e.selectors[0]);r&&bl(t,i,r),o&&o.length>0&&Fp(t,i,o.join(" "))}}function ow(t,e,i){let n=t.projection=[];for(let r=0;r<e.length;r++){let o=i[r];n.push(o!=null?Array.from(o):null)}}function sw(){let t=ke();fs(Y()[B],t)}var jt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=aw;let t=e;return t})();function aw(){let t=ke();return ig(t,Y())}var lw=jt,ng=class extends lw{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return wi(this._hostTNode,this._hostLView)}get injector(){return new bn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Nc(this._hostTNode,this._hostLView);if(Kh(e)){let i=Lo(e,this._hostLView),n=ko(e),r=i[B].data[n+8];return new bn(r,i)}else return new bn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=zf(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-We}createEmbeddedView(e,i,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let s=jf(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},o,s);return this.insertImpl(a,r,Bf(this._hostTNode,s)),a}createComponent(e,i,n,r,o){let s=e&&!n_(e),a;if(s)a=i;else{let _=i||{};a=_.index,n=_.injector,r=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef}
vendor: 4,442 bytes, line 7
7let l=s?e:new Mn(Rt(e)),c=n||this.parentInjector;if(!o&&l.ngModule==null){let C=(s?c:this.parentInjector).get(ye,null);C&&(o=C)}let f=Rt(l.componentType??{}),p=jf(this._lContainer,f?.id??null),g=p?.firstChild??null,m=l.create(c,r,g,o);return this.insertImpl(m.hostView,a,Bf(this._hostTNode,p)),m}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let r=e._lView;if(f_(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=r[Ie],c=new ng(l,l[ze],l[Ie]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(i),s=this._lContainer;return Mb(s,r,o,n),e.attachToViewContainerRef(),dh(dl(s),o,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=zf(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=Ll(this._lContainer,i);n&&(Ro(dl(this._lContainer),i),Op(n[B],n))}detach(e){let i=this._adjustIndex(e,-1),n=Ll(this._lContainer,i);return n&&Ro(dl(this._lContainer),i)!=null?new Tn(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function zf(t){return t[Fo]}function dl(t){return t[Fo]||(t[Fo]=[])}function ig(t,e){let i,n=e[t.index];return Lt(n)?i=n:(i=Wp(n,e,null,t),e[t.index]=i,ws(e,i)),uw(i,e,t,n),new ng(i,t,e)}function cw(t,e){let i=t[ue],n=i.createComment(""),r=Xe(e,t),o=Vc(i,r);return jo(i,o,n,$1(i,r),!1),n}var uw=hw,dw=()=>!1;function fw(t,e,i){return dw(t,e,i)}function hw(t,e,i,n){if(t[Dn])return;let r;i.type&8?r=Ct(n):r=cw(e,i),t[Dn]=r}var Zl=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Jl=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,r=[];for(let o=0;o<n;o++){let s=i.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Kc(e,i).matches!==null&&this.queries[i].setDirty()}},Kl=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=ww(e):this.predicate=e}},Xl=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let r=i!==null?i.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,i!==null?i.push(o):i=[o])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},ec=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(e,i,pw(i,o)),this.matchTNodeWithReadOption(e,i,Io(i,e,o,!1,!1))}else n===Ft?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Io(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===De||r===jt||r===Ft&&i.type&4)this.addMatch(i.index,-2);else{let o=Io(i,e,r,!1,!1);o!==null&&this.addMatch(i.index,o)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};function pw(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function gw(t,e){return t.type&11?wi(t,e):t.type&4?Qc(t,e):null}function mw(t,e,i,n){return i===-1?gw(e,t):i===-2?yw(t,e,n):Sn(t,t[B],i,e)}
7function yw(t,e,i){if(i===De)return wi(e,t);if(i===Ft)return Qc(e,t);if(i===jt)return ig(e,t)}function rg(t,e,i,n){let r=e[Pt].queries[n];if(r.matches===null){let o=t.data,s=i.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let f=o[c];a.push(mw(e,f,s[l+1],i.metadata.read))}}r.matches=a}return r.matches}function tc(t,e,i,n){let r=t.queries.getByIndex(i),o=r.matches;if(o!==null){let s=rg(t,e,r,i);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)n.push(s[a/2]);else{let c=o[a+1],f=e[-l];for(let p=We;p<f.length;p++){let g=f[p];g[rr]===g[Ie]&&tc(g[B],g,c,n)}if(f[yi]!==null){let p=f[yi];for(let g=0;g<p.length;g++){let m=p[g];tc(m[B],m,c,n)}}}}}return n}function vw(t,e){return t[Pt].queries[e].queryList}function _w(t,e,i){let n=new Al((i&4)===4);return ib(t,e,n,n.destroy),(e[Pt]??=new Jl).queries.push(new Zl(n))-1}function bw(t,e,i){let n=pe();return n.firstCreatePass&&(Dw(n,new Kl(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),_w(n,Y(),e)}function ww(t){return t.split(",").map(e=>e.trim())}function Dw(t,e,i){t.queries===null&&(t.queries=new Xl),t.queries.track(new ec(e,i))}function Kc(t,e){return t.queries.getByIndex(e)}function Cw(t,e){let i=t[B],n=Kc(i,e);return n.crossesNgTemplate?tc(i,t,e,[]):rg(i,t,n,e)}function Ew(t){return typeof t=="function"&&t[Pa]!==void 0}function og(t){return Ew(t)&&typeof t.set=="function"}function Sw(t){let e=[],i=new Map;function n(r){let o=i.get(r);if(!o){let s=t(r);i.set(r,o=s.then(Ow))}return o}return zo.forEach((r,o)=>{let s=[];r.templateUrl&&s.push(n(r.templateUrl).then(c=>{r.template=c}));let a=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=a,r.styleUrl&&r.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(r.styleUrls?.length){let c=r.styles.length,f=r.styleUrls;r.styleUrls.forEach((p,g)=>{a.push(""),s.push(n(p).then(m=>{a[c+g]=m,f.splice(f.indexOf(p),1),f.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&s.push(n(r.styleUrl).then(c=>{a.push(c),r.styleUrl=void 0}));let l=Promise.all(s).then(()=>xw(o));e.push(l)}),Mw(),Promise.all(e).then(()=>{})}var zo=new Map,Tw=new Set;function Mw(){let t=zo;return zo=new Map,t}function Iw(){return zo.size===0}function Ow(t){return typeof t=="string"?t:t.text()}function xw(t){Tw.delete(t)}function Nw(t){return Object.getPrototypeOf(t.prototype).constructor}function et(t){let e=Nw(t.type),i=!0,n=[t];for(;e;){let r;if(tn(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new S(903,!1);r=e.\u0275dir}if(r){if(i){n.push(r);let s=t;s.inputs=Do(t.inputs),s.inputTransforms=Do(t.inputTransforms),s.declaredInputs=Do(t.declaredInputs),s.outputs=Do(t.outputs);let a=r.hostBindings;a&&kw(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&Pw(t,l),c&&Fw(t,c),Aw(t,r),iv(t.outputs,r.outputs),tn(r)&&r.data.animation){let f=t.data;f.animation=(f.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===et&&(i=!1)}}e=Object.getPrototypeOf(e)}Rw(n)}function Aw(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let r=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=e.inputTransforms[r]}}}function Rw(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Gi(r.hostAttrs,i=Gi(i,r.hostAttrs))}}function Do(t){return t===hi?{}:t===Ue?[]:t}function Pw(t,e){let i=t.viewQuery;i?t.viewQuery=(n,r)=>{e(n,r),i(n,r)}:t.viewQuery=e}function Fw(t,e){let i=t.contentQueries;i?t.contentQueries=(n,r,o)=>{e(n,r,o),i(n,r,o)}:t.contentQueries=e}function kw(t,e){let i=t.hostBindings;i?t.hostBindings=(n,r)=>{e(n,r),i(n,r)}:t.hostBindings=e}function Xc(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];Array.isArray(r)&&r[3]&&(i[n]=r[3])}t.inputTransforms=i}var rn=class{},Ki=class{};var qo=class extends rn{constructor(e,i,n){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wo(this);let r=wh(e);this._bootstrapComponents=Sp(r.bootstrap),this._r3Injector=ap(e,i,[{provide:rn,useValue:this},{provide:Ds,useValue:this.componentFactoryResolver},...n],Fe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
vendor: 4,444 bytes, line 7
7s(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Yo=class extends Ki{constructor(e){super(),this.moduleType=e}create(e){return new qo(this.moduleType,e,[])}};function Lw(t,e,i){return new qo(t,e,i)}var nc=class extends rn{constructor(e){super(),this.componentFactoryResolver=new Wo(this),this.instance=null;let i=new Wi([...e.providers,{provide:rn,useValue:this},{provide:Ds,useValue:this.componentFactoryResolver}],e.parent||rs(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ss(t,e,i=null){return new nc({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}var Rn=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new we(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function sg(t){return eu(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Vw(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function eu(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function ag(t,e,i){return t[e]=i}function Bw(t,e){return t[e]}function Pn(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function jw(t){return(t.flags&32)===32}function Uw(t,e,i,n,r,o,s,a,l){let c=e.consts,f=Di(e,t,4,s||null,vi(c,a));Wc(e,i,f,vi(c,l)),fs(e,f);let p=f.tView=$c(2,f,n,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,f),p.queries=e.queries.embeddedTView(f)),f}function be(t,e,i,n,r,o,s,a){let l=Y(),c=pe(),f=t+Dt,p=c.firstCreatePass?Uw(f,c,l,e,i,n,r,o,s):c.data[f];On(p,!1);let g=Hw(c,l,p,t);us()&&vs(c,l,g,p),nn(g,l);let m=Wp(g,l,g,p);return l[f]=m,ws(l,m),fw(m,p,l),as(p)&&Uc(c,l,p),s!=null&&Hc(l,p,a),be}var Hw=$w;function $w(t,e,i,n){return ds(!0),e[ue].createComment("")}function Fn(t,e,i,n){let r=Y(),o=ls();if(Pn(r,o,e)){let s=pe(),a=cs();vb(a,r,t,e,i,n)}return Fn}function lg(t,e,i,n){return Pn(t,ls(),i)?e+tr(i)+n:pt}function Co(t,e){return t<<17|e<<2}function In(t){return t>>17&32767}function Gw(t){return(t&2)==2}function Ww(t,e){return t&131071|e<<17}function ic(t){return t|2}function _i(t){return(t&131068)>>2}function fl(t,e){return t&-131069|e<<2}function zw(t){return(t&1)===1}function rc(t){return t|1}function qw(t,e,i,n,r,o){let s=o?e.classBindings:e.styleBindings,a=In(s),l=_i(s);t[n]=i;let c=!1,f;if(Array.isArray(i)){let p=i;f=p[1],(f===null||ir(p,f)>0)&&(c=!0)}else f=i;if(r)if(l!==0){let g=In(t[a+1]);t[n+1]=Co(g,a),g!==0&&(t[g+1]=fl(t[g+1],n)),t[a+1]=Ww(t[a+1],n)}else t[n+1]=Co(a,0),a!==0&&(t[a+1]=fl(t[a+1],n)),a=n;else t[n+1]=Co(l,0),a===0?a=n:t[l+1]=fl(t[l+1],n),l=n;c&&(t[n+1]=ic(t[n+1])),qf(t,f,n,!0),qf(t,f,n,!1),Yw(e,f,t,n,o),s=Co(a,l),o?e.classBindings=s:e.styleBindings=s}function Yw(t,e,i,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&ir(o,e)>=0&&(i[n+1]=rc(i[n+1]))}function qf(t,e,i,n){let r=t[i+1],o=e===null,s=n?In(r):_i(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];Qw(l,e)&&(a=!0,t[s+1]=n?rc(c):ic(c)),s=n?In(c):_i(c)}a&&(t[i+1]=n?ic(r):rc(r))}function Qw(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?ir(t,e)>=0:!1}var ot={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zw(t){return t.substring(ot.key,ot.keyEnd)}function Jw(t){return Kw(t),cg(t,ug(t,0,ot.textEnd))}function cg(t,e){let i=ot.textEnd;return i===e?-1:(e=ot.keyEnd=Xw(t,ot.key=e,i),ug(t,e,i))}function Kw(t){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=t.length}function ug(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function Xw(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}
7function O(t,e,i){let n=Y(),r=ls();if(Pn(n,r,e)){let o=pe(),s=cs();Gc(o,s,n,t,e,n[ue],i,!1)}return O}function oc(t,e,i,n,r){let o=e.inputs,s=r?"class":"style";zc(t,i,o[s],s,n)}function Ci(t,e){return tD(t,e,null,!0),Ci}function Ts(t){nD(lD,eD,t,!0)}function eD(t,e){for(let i=Jw(e);i>=0;i=cg(e,i))_c(t,Zw(e),!0)}function tD(t,e,i,n){let r=Y(),o=pe(),s=$h(2);if(o.firstUpdatePass&&fg(o,t,s,n),e!==pt&&Pn(r,s,e)){let a=o.data[xn()];hg(o,a,r,r[ue],t,r[s+1]=uD(e,i),n,s)}}function nD(t,e,i,n){let r=pe(),o=$h(2);r.firstUpdatePass&&fg(r,null,o,n);let s=Y();if(i!==pt&&Pn(s,o,i)){let a=r.data[xn()];if(pg(a,n)&&!dg(r,o)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=ml(l,i||"")),oc(r,a,s,i,n)}else cD(r,a,s,s[ue],s[o+1],s[o+1]=aD(t,e,i),n,o)}}function dg(t,e){return e>=t.expandoStartIndex}function fg(t,e,i,n){let r=t.data;if(r[i+1]===null){let o=r[xn()],s=dg(t,i);pg(o,n)&&e===null&&!s&&(e=!1),e=iD(r,o,e,n),qw(r,o,e,i,s,n)}}function iD(t,e,i,n){let r=T_(t),o=n?e.residualClasses:e.residualStyles;if(r===null)(n?e.classBindings:e.styleBindings)===0&&(i=hl(null,t,e,i,n),i=Xi(i,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==r)if(i=hl(r,t,e,i,n),o===null){let l=rD(t,e,n);l!==void 0&&Array.isArray(l)&&(l=hl(null,t,e,l[1],n),l=Xi(l,e.attrs,n),oD(t,e,n,l))}else o=sD(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),i}function rD(t,e,i){let n=i?e.classBindings:e.styleBindings;if(_i(n)!==0)return t[In(n)]}function oD(t,e,i,n){let r=i?e.classBindings:e.styleBindings;t[In(r)]=n}function sD(t,e,i){let n,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;n=Xi(n,s,i)}return Xi(n,e.attrs,i)}function hl(t,e,i,n,r){let o=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(o=e[a],n=Xi(n,o.hostAttrs,r),o!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function Xi(t,e,i){let n=i?1:2,r=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?r=s:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),_c(t,s,i?!0:e[++o]))}return t===void 0?null:t}function aD(t,e,i){if(i==null||i==="")return Ue;let n=[],r=Nn(i);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&e(n,r);return n}function lD(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&_c(t,n,i)}function cD(t,e,i,n,r,o,s,a){r===pt&&(r=Ue);let l=0,c=0,f=0<r.length?r[0]:null,p=0<o.length?o[0]:null;for(;f!==null||p!==null;){let g=l<r.length?r[l+1]:void 0,m=c<o.length?o[c+1]:void 0,_=null,C;f===p?(l+=2,c+=2,g!==m&&(_=p,C=m)):p===null||f!==null&&f<p?(l+=2,_=f):(c+=2,_=p,C=m),_!==null&&hg(t,e,i,n,_,C,s,a),f=l<r.length?r[l]:null,p=c<o.length?o[c]:null}}function hg(t,e,i,n,r,o,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],f=zw(c)?Yf(l,e,i,r,_i(c),s):void 0;if(!Qo(f)){Qo(o)||Gw(c)&&(o=Yf(l,null,i,r,a,s));let p=Fh(xn(),i);Q1(n,s,p,r,o)}}function Yf(t,e,i,n,r,o){let s=e===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),f=c?l[1]:l,p=f===null,g=i[r+1];g===pt&&(g=p?Ue:void 0);let m=p?nl(g,n):f===n?g:void 0;if(c&&!Qo(m)&&(m=nl(l,n)),Qo(m)&&(a=m,s))return a;let _=t[r+1];r=s?In(_):_i(_)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=nl(l,n))}return a}function Qo(t){return t!==void 0}function uD(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Fe(Nn(t)))),t}function pg(t,e){return(t.flags&(e?8:16))!==0}function dD(t,e,i,n,r,o){let s=e.consts,a=vi(s,r),l=Di(e,t,2,n,a);return Wc(e,i,l,vi(s,o)),l.attrs!==null&&Go(l,l.attrs,!1),l.mergedAttrs!==null&&Go(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function d(t,e,i,n){let r=Y(),o=pe(),s=Dt+t,a=r[ue],l=o.firstCreatePass?dD(s,o,r,e,i,n):o.data[s],c=fD(o,r,l,a,e,t);r[s]=c;let f=as(l);return On(l,!0),kp(a,c,l),!jw(l)&&us()&&vs(o,r,c,l),m_()===0&&nn(c,r),y_(),f&&(Uc(o,r,l),jc(o,l,r)),n!==null&&Hc(r,l),d}function u(){let t=ke();Tc()?Mc():(t=t.parent,On(t,!1));let e=t;__(e)&&b_(),v_();let i=pe();return i.firstCreatePass&&(fs(i,t),Cc(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&R_(e)&&oc(i,e,Y(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&P_(e)&&oc(i,e,Y(),e.stylesWithoutHost,!1),u}
7function K(t,e,i,n){return d(t,e,i,n),u(),K}var fD=(t,e,i,n,r,o)=>(ds(!0),Tp(n,r,O_()));function hD(t,e,i,n,r){let o=e.consts,s=vi(o,n),a=Di(e,t,8,"ng-container",s);s!==null&&Go(a,s,!0);let l=vi(o,r);return Wc(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function Ms(t,e,i){let n=Y(),r=pe(),o=t+Dt,s=r.firstCreatePass?hD(o,r,n,e,i):r.data[o];On(s,!0);let a=pD(r,n,s,t);return n[o]=a,us()&&vs(r,n,a,s),nn(a,n),as(s)&&(Uc(r,n,s),jc(r,s,n)),i!=null&&Hc(n,s),Ms}function Is(){let t=ke(),e=pe();return Tc()?Mc():(t=t.parent,On(t,!1)),e.firstCreatePass&&(fs(e,t),Cc(t)&&e.queries.elementEnd(t)),Is}var pD=(t,e,i,n)=>(ds(!0),R1(e[ue],""));function ar(){return Y()}var Zo="en-US";var gD=Zo;function mD(t){typeof t=="string"&&(gD=t.toLowerCase().replace(/_/g,"-"))}function D(t,e,i,n){let r=Y(),o=pe(),s=ke();return gg(o,r,r[ue],s,t,e,n),D}function yD(t,e,i,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===i&&r[o+1]===n){let a=e[qi],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function gg(t,e,i,n,r,o,s){let a=as(n),c=t.firstCreatePass&&Yp(t),f=e[at],p=qp(e),g=!0;if(n.type&3||s){let C=Xe(n,e),M=s?s(C):C,I=p.length,Oe=s?ae=>s(Ct(ae[n.index])):n.index,Ee=null;if(!s&&a&&(Ee=yD(t,e,r,n.index)),Ee!==null){let ae=Ee.__ngLastListenerFn__||Ee;ae.__ngNextListenerFn__=o,Ee.__ngLastListenerFn__=o,g=!1}else{o=Zf(n,e,f,o,!1);let ae=i.listen(M,r,o);p.push(o,ae),c&&c.push(r,Oe,I,I+1)}}else o=Zf(n,e,f,o,!1);let m=n.outputs,_;if(g&&m!==null&&(_=m[r])){let C=_.length;if(C)for(let M=0;M<C;M+=2){let I=_[M],Oe=_[M+1],yt=e[I][Oe].subscribe(o),Ge=p.length;p.push(o,yt),c&&c.push(r,n.index,Ge,-(Ge+1))}}}function Qf(t,e,i,n){let r=Z(null);try{return _t(6,e,i),i(n)!==!1}catch(o){return Qp(t,o),!1}finally{_t(7,e,i),Z(r)}}function Zf(t,e,i,n,r){return function o(s){if(s===Function)return n;let a=t.componentOffset>-1?on(t.index,e):e;Yc(a);let l=Qf(e,i,n,s),c=o.__ngNextListenerFn__;for(;c;)l=Qf(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return r&&l===!1&&s.preventDefault(),l}}function ne(t=1){return I_(t)}function vD(t,e){let i=null,n=Rv(t);for(let r=0;r<e.length;r++){let o=e[r];if(o==="*"){i=r;continue}if(n===null?yh(t,o,!0):kv(n,o))return r}return i}function mg(t){let e=Y()[ct][ze];if(!e.projection){let i=t?t.length:1,n=e.projection=Ev(i,null),r=n.slice(),o=e.child;for(;o!==null;){let s=t?vD(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:n[s]=o,r[s]=o),o=o.next}}}
7function yg(t,e=0,i){let n=Y(),r=pe(),o=Di(r,Dt+t,16,null,i||null);o.projection===null&&(o.projection=e),Mc(),(!n[zi]||jh())&&(o.flags&32)!==32&&q1(r,n,o)}function Os(t,e,i,n,r){let o=Y(),s=lg(o,e,i,n);if(s!==pt){let a=pe(),l=cs();Gc(a,l,o,t,s,o[ue],r,!1)}return Os}function vg(t,e,i){bw(t,e,i)}function tu(t){let e=Y(),i=pe(),n=Gh();Ic(n+1);let r=Kc(i,n);if(t.dirty&&d_(e)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=Cw(e,n);t.reset(o,q_),t.notifyOnChanges()}return!0}return!1}function nu(){return vw(Y(),Gh())}function h(t,e=""){let i=Y(),n=pe(),r=t+Dt,o=n.firstCreatePass?Di(n,r,1,e,null):n.data[r],s=_D(n,i,o,e,t);i[r]=s,us()&&vs(n,i,s,o),On(o,!1)}var _D=(t,e,i,n,r)=>(ds(!0),N1(e[ue],n));function qe(t){return Ye("",t,""),qe}function Ye(t,e,i){let n=Y(),r=lg(n,t,e,i);return r!==pt&&Db(n,xn(),r),Ye}function z(t,e,i){og(e)&&(e=e());let n=Y(),r=ls();if(Pn(n,r,e)){let o=pe(),s=cs();Gc(o,s,n,t,e,n[ue],i,!1)}return z}function Q(t,e){let i=og(t);return i&&t.set(e),i}function q(t,e){let i=Y(),n=pe(),r=ke();return gg(n,i,i[ue],r,t,e),q}function bD(t,e,i){let n=pe();if(n.firstCreatePass){let r=tn(t);sc(i,n.data,n.blueprint,r,!0),sc(e,n.data,n.blueprint,r,!1)}}function sc(t,e,i,n,r){if(t=Pe(t),Array.isArray(t))for(let o=0;o<t.length;o++)sc(t[o],e,i,n,r);else{let o=pe(),s=Y(),a=ke(),l=gi(t)?t:Pe(t.provide),c=Mh(t),f=a.providerIndexes&1048575,p=a.directiveStart,g=a.providerIndexes>>20;if(gi(t)||!t.multi){let m=new En(c,r,A),_=gl(l,e,r?f:f+g,p);_===-1?(Il(Vo(a,s),o,l),pl(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(m),s.push(m)):(i[_]=m,s[_]=m)}else{let m=gl(l,e,f+g,p),_=gl(l,e,f,f+g),C=m>=0&&i[m],M=_>=0&&i[_];if(r&&!M||!r&&!C){Il(Vo(a,s),o,l);let I=CD(r?DD:wD,i.length,r,n,c);!r&&M&&(i[_].providerFactory=I),pl(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(I),s.push(I)}else{let I=_g(i[r?_:m],c,!r&&n);pl(o,t,m>-1?m:_,I)}!r&&n&&M&&i[_].componentProviders++}}}function pl(t,e,i,n){let r=gi(e),o=qv(e);if(r||o){let l=(o?Pe(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let f=c.indexOf(i);f===-1?c.push(i,[n,l]):c[f+1].push(n,l)}else c.push(i,l)}}}function _g(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function gl(t,e,i,n){for(let r=i;r<n;r++)if(e[r]===t)return r;return-1}function wD(t,e,i,n){return ac(this.multi,[])}function DD(t,e,i,n){let r=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Sn(i,i[B],this.providerFactory.index,n);o=a.slice(0,s),ac(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],ac(r,o);return o}function ac(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function CD(t,e,i,n,r){let o=new En(t,i,A);return o.multi=[],o.index=e,o.componentProviders=0,_g(o,r,n&&!i),o}function Ut(t,e=[]){return i=>{i.providersResolver=(n,r)=>bD(n,r?r(t):t,e)}}var ED=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Eh(!1,n.type),o=r.length>0?Ss([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(T(ye))});let t=e;return t})();function lr(t){Cs("NgStandalone"),t.getStandaloneInjector=e=>e.get(ED).getOrCreateStandaloneInjector(t)}function mt(t,e,i){let n=Hh()+t,r=Y();return r[n]===pt?ag(r,n,i?e.call(i):e()):Bw(r,n)}function He(t,e,i,n){return TD(Y(),Hh(),t,e,i,n)}function SD(t,e){let i=t[e];return i===pt?void 0:i}function TD(t,e,i,n,r,o){let s=e+i;return Pn(t,s,r)?ag(t,s+1,o?n.call(o,r):n(r)):SD(t,s+1)}var Eo=null;function MD(t){Eo!==null&&(t.defaultEncapsulation!==Eo.defaultEncapsulation||t.preserveWhitespaces!==Eo.preserveWhitespaces)||(Eo=t)}var xs=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var iu=new E(""),cr=new E(""),Ns=(()=>{let e=class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZ
7oneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ru||(ID(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,r,o){if(o&&!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(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}};e.\u0275fac=function(r){return new(r||e)(T(J),T(As),T(cr))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),As=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ru?.findTestabilityInTree(this,n,r)??null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function ID(t){ru=t}var ru;function kn(t){return!!t&&typeof t.then=="function"}function bg(t){return!!t&&typeof t.subscribe=="function"}var Rs=new E(""),wg=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=y(Rs,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(kn(s))n.push(s);else if(bg(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ps=new E("");function OD(){Vd(()=>{throw new S(600,!1)})}function xD(t){return t.isBoundToModule}function ND(t,e,i){try{let n=i();return kn(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Dg(t,e){return Array.isArray(e)?e.reduce(Dg,t):b(b({},t),e)}var Ht=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(lp),this.afterRenderEffectManager=y(Jc),this.externalTestViews=new Set,this.beforeRender=new oe,this.afterTick=new oe,this.componentTypes=[],this.components=[],this.isStable=y(Rn).hasPendingTasks.pipe(P(n=>!n)),this._injector=y(ye)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof $o;if(!this._injector.get(wg).done){let m=!o&&bh(n),_=!1;throw new S(405,_)}let a;o?a=n:a=this._injector.get(Ds).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=xD(a)?void 0:this._injector.get(rn),c=r||a.selector,f=a.create(Le.NULL,[],c,l),p=f.location.nativeElement,g=f.injector.get(iu,null);return g?.registerApplication(p),f.onDestroy(()=>{this.detachView(f.hostView),xo(this.components,f),g?.unregisterApplication(p)}),this._loadComponent(f),f}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new S(101,!1);let r=Z(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,Z(r)}}detectChangesInAttachedViews(n){let r=0,o=this.afterRenderEffectManager;for(;;){if(r===Jp)throw new S(103,!1);if(n){let s=r===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)AD(a,s,l)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>lc(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>lc(s))))break}}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;xo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Ps,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEac
7h(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>xo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function xo(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function AD(t,e,i){!e&&!lc(t)||RD(t,i,e)}function lc(t){return Sc(t)}function RD(t,e,i){let n;i?(n=0,t[R]|=1024):t[R]&64?n=0:n=1,Kp(t,e,n)}var cc=class{constructor(e,i){this.ngModuleFactory=e,this.componentFactories=i}},Fs=(()=>{let e=class e{compileModuleSync(n){return new Yo(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=wh(n),s=Sp(o.declarations).reduce((a,l)=>{let c=Rt(l);return c&&a.push(new Mn(c)),a},[]);return new cc(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),PD=new E("");function FD(t,e,i){let n=new Yo(i);return Promise.resolve(n)}function Jf(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var kD=(()=>{let e=class e{constructor(){this.zone=y(J),this.applicationRef=y(Ht)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function LD(t){return[{provide:J,useFactory:t},{provide:pi,multi:!0,useFactory:()=>{let e=y(kD,{optional:!0});return()=>e.initialize()}},{provide:pi,multi:!0,useFactory:()=>{let e=y(jD);return()=>{e.initialize()}}},{provide:lp,useFactory:VD}]}function VD(){let t=y(J),e=y(Et);return i=>t.runOutsideAngular(()=>e.handleError(i))}function BD(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var jD=(()=>{let e=class e{constructor(){this.subscription=new fe,this.initialized=!1,this.zone=y(J),this.pendingTasks=y(Rn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function UD(){return typeof $localize<"u"&&$localize.locale||Zo}var ks=new E("",{providedIn:"root",factory:()=>y(ks,j.Optional|j.SkipSelf)||UD()});var Cg=new E(""),Eg=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){let o=Jb(r?.ngZone,BD({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{let s=Lw(n.moduleType,this.injector,LD(()=>o)),a=s.injector.get(Et,null);return o.runOutsideAngular(()=>{let l=o.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{xo(this._modules,s),l.unsubscribe()})}),ND(a,o,()=>{let l=s.injector.get(wg);return l.runInitializers(),l.donePromise.then(()=>{let c=s.injector.get(ks,Zo);return mD(c||Zo),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,r=[]){let o=Dg({},r);return FD(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let r=n.injector.get(Ht);if(n._bootstrapComponents.length>
vendor: 7,848 bytes, line 7
70)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(r);else throw new S(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(Cg,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(r){return new(r||e)(T(Le))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Hi=null,Sg=new E("");function HD(t){if(Hi&&!Hi.get(Sg,!1))throw new S(400,!1);OD(),Hi=t;let e=t.get(Eg);return WD(t),e}function ou(t,e,i=[]){let n=`Platform: ${e}`,r=new E(n);return(o=[])=>{let s=Tg();if(!s||s.injector.get(Sg,!1)){let a=[...i,...o,{provide:r,useValue:!0}];t?t(a):HD($D(a,n))}return GD(r)}}function $D(t=[],e){return Le.create({name:e,providers:[{provide:is,useValue:"platform"},{provide:Cg,useValue:new Set([()=>Hi=null])},...t]})}function GD(t){let e=Tg();if(!e)throw new S(401,!1);return e}function Tg(){return Hi?.get(Eg)??null}function WD(t){t.get(Ac,null)?.forEach(i=>i())}var $t=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=zD;let t=e;return t})();function zD(t){return qD(ke(),Y(),(t&16)===16)}function qD(t,e,i){if(ss(t)&&!i){let n=on(t.index,e);return new Tn(n,n)}else if(t.type&47){let n=e[ct];return new Tn(n,e)}return null}var uc=class{constructor(){}supports(e){return sg(e)}create(e){return new dc(e)}},YD=(t,e)=>e,dc=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||YD}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,r=0,o=null;for(;i||n;){let s=!n||i&&i.currentIndex<Kf(n,r,o)?i:n,a=Kf(s,r,o),l=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,f=l-r;if(c!=f){for(let g=0;g<c;g++){let m=g<o.length?o[g]:o[g]=0,_=m+g;f<=_&&_<c&&(o[g]=m+1)}let p=s.previousIndex;o[p]=f-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!sg(e))throw new S(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,r,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,o,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,o,s,a)),Object.is(i.item,o)||this._addIdentityChange(i,o)),i=i._next}else r=0,Vw(e,a=>{s=this._trackByFn(r,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,r),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,r)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,o,r)):e=this._addAfter(new fc(i,n),o,r)),e}_verifyReinsertion(e,i,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}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(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let r=i===null?this._itHead:i._next;return e._next=r,e._prev=i,r===null?this._itTail=e:r._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new Jo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Jo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},fc=class{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},hc=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},Jo=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);
7n||(n=new hc,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,r=this.map.get(n);return r?r.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Kf(t,e,i){let n=t.previousIndex;if(n===null)return n;let r=0;return i&&n<i.length&&(r=i[n]),n+e+r}var pc=class{constructor(){}supports(e){return e instanceof Map||eu(e)}create(){return new gc}},gc=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let i;for(i=this._mapHead;i!==null;i=i._next)e(i)}forEachPreviousItem(e){let i;for(i=this._previousMapHead;i!==null;i=i._nextPrevious)e(i)}forEachChangedItem(e){let i;for(i=this._changesHead;i!==null;i=i._nextChanged)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||eu(e)))throw new S(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,r)=>{if(i&&i.key===r)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{let o=this._getOrCreateRecordForKey(r,n);i=this._insertBeforeOrAppend(i,o)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){let n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){let r=this._records.get(e);this._maybeAddToChanges(r,i);let o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}let n=new mc(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}},mc=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Xf(){return new su([new uc])}var su=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xf()),deps:[[e,new ts,new nr]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new S(901,!1)}};e.\u0275prov=w({token:e,providedIn:"root",factory:Xf});let t=e;return t})();function eh(){return new au([new pc])}var au=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||eh()),deps:[[e,new ts,new nr]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new S(901,!1)}};e.\u0275prov=w({token:e,providedIn:"root",factory:eh});let t=e;return t})();var Mg=ou(null,"core",[]),Ig=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(r){return new(r||e)(T(Ht))},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();function Ln(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Ls(t,e){let i=Rt(t),n=e.elementInjector||rs();return new Mn(i).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function Og(t){let e=Rt(t);if(!e)return null;let i=new Mn(e);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Fg=null;function Tt(){return Fg}function kg(t){Fg??=t}var Vs=class{};var ge=new E(""),pu=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>y(ZD),providedIn:"platform"});let t=e;return t})(),Lg=new E(""),ZD=(()=>{let e=class e extends pu{constructor(){super(),this._doc=y(ge),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Tt().getBaseHref(this._doc)}onPopState(n){let r=Tt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Tt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function gu(t,e){if(t.length==0)return e;if(e.length==0)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?t+e.substring(1):i==1?t+e:t+"/"+e}function xg(t){let e=t.match(/#|\?|$/),i=e&&e.index||t.length,n=i-(t[i-1]==="/"?1:0);return t.slice(0,n)+t.slice(i)}function Gt(t){return t&&t[0]!=="?"?"?"+t:t}var Wt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>y(mu),providedIn:"root"});let t=e;return t}
7)(),Vg=new E(""),mu=(()=>{let e=class e extends Wt{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??y(ge).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return gu(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Gt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+Gt(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+Gt(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(T(pu),T(Vg,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Bg=(()=>{let e=class e extends Wt{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=gu(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+Gt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+Gt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(T(pu),T(Vg,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Si=(()=>{let e=class e{constructor(n){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=XD(xg(Ng(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Gt(r))}normalize(n){return e.stripTrailingSlash(KD(this._basePath,Ng(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Gt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Gt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}};e.normalizeQueryParams=Gt,e.joinWithSlash=gu,e.stripTrailingSlash=xg,e.\u0275fac=function(r){return new(r||e)(T(Wt))},e.\u0275prov=w({token:e,factory:()=>JD(),providedIn:"root"});let t=e;return t})();function JD(){return new Si(T(Wt))}function KD(t,e){if(!t||!e.startsWith(t))return e;let i=e.substring(t.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function Ng(t){return t.replace(/\/index.html$/,"")}function XD(t){if(new RegExp("^(https?:)?//").test(t)){let[,i]=t.split(/\/\/[^\/]+/);return i}return t}function Bs(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[r,o]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}var lu=/\s+/,Ag=[],jg=(()=>{let e=class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=Ag,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(lu):Ag}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(lu):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(lu).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(A(De),A(gt))},e.\u0275dir=de({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Me.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var cu=class{constructor(e,i,n,r){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=r}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}},js=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;
7n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new cu(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)r.remove(s===null?void 0:s);else if(s!==null){let l=r.get(s);r.move(l,a),Rg(l,o)}});for(let o=0,s=r.length;o<s;o++){let l=r.get(o).context;l.index=o,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);Rg(s,o)})}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(A(jt),A(Ft),A(su))},e.\u0275dir=de({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Rg(t,e){t.context.$implicit=e.item}var tt=(()=>{let e=class e{constructor(n,r){this._viewContainer=n,this._context=new uu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Pg("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Pg("ngIfElse",n),this._elseTemplateRef=n,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 ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(A(jt),A(Ft))},e.\u0275dir=de({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),uu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Pg(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Fe(e)}'.`)}var Us=(()=>{let e=class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,s]=n.split("."),a=o.indexOf("-")===-1?void 0:St.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,s?`${r}${s}`:r,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}};e.\u0275fac=function(r){return new(r||e)(A(De),A(au),A(gt))},e.\u0275dir=de({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})();var Ug=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})(),yu="browser",eC="server";function Hg(t){return t===yu}function Hs(t){return t===eC}var $g=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>Hg(y(ht))?new du(y(ge),window):new fu});let t=e;return t})(),du=class{constructor(e,i){this.document=e,this.window=i,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let i=tC(this.document,e);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let i=e.getBoundingClientRect(),n=i.left+this.window.pageXOffset,r=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}};function tC(t,e){let i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=n.nextNode()}}return null}var fu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ei=class{};var dr=class{},Gs=class{},Vn=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8`).forEach(i=>
vendor: 13,483 bytes, line 8
8{let n=i.indexOf(":");if(n>0){let r=i.slice(0,n),o=r.toLowerCase(),s=i.slice(n+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new t;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...n),this.headers.set(i,r);break;case"d":let o=e.value;if(!o)this.headers.delete(i),this.normalizedNames.delete(i);else{let s=this.headers.get(i);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,s)}break}}setHeaderEntries(e,i){let n=(Array.isArray(i)?i:[i]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}};var _u=class{encodeKey(e){return Gg(e)}encodeValue(e){return Gg(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function rC(t,e){let i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=i.get(s)||[];l.push(a),i.set(s,l)}),i}var oC=/%(\d[a-f0-9])/gi,sC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Gg(t){return encodeURIComponent(t).replace(oC,(e,i)=>sC[i]??e)}function $s(t){return`${t}`}var sn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new _u,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=rC(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let n=e.fromObject[i],r=Array.isArray(n)?n.map($s):[$s(n)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(o=>{i.push({param:n,value:o,op:"a"})}):i.push({param:n,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new t({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push($s(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf($s(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var bu=class{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function aC(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Wg(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function zg(t){return typeof Blob<"u"&&t instanceof Blob}function qg(t){return typeof FormData<"u"&&t instanceof FormData}function lC(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ur=class t{constructor(e,i,n,r){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(aC(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,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 Vn,this.context??=new bu,!this.params)this.params=new sn,this.urlWithParams=i;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=i;else{let a=i.indexOf("?"),l=a===-1?"?":a<i.length-1?"&":"";this.urlWithParams=i+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Wg(this.body)||zg(this.body)||qg(this.body)||lC(this.body)?this.body:this.body instanceof sn?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||qg(this.body)?null:zg(this.body)?this.body.type||null:Wg(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof sn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,l=e.reportProgress??this.reportProgress,c=e.headers||this.headers,f=e.params||this.params,p=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((g,m)=>g.set(m,e.setHeaders[m]),c)),e.setParams&&(f=Object.keys(e.setParams).reduce((g,m)=>g.set(m,e.setParams[m]),f)),new t(i,n,s,{params:f,headers:c,context:p,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},Ti=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Ti||{}),fr=class{constructor(e,i=qs.Ok,n="OK"){this.headers=e.headers||new Vn,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},wu=class t extends fr{constructor(e={}){super(e),this.type=Ti.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ws=class t extends fr{constructor(e={}){super(e),this.type=Ti.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},zs=class extends fr{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},qs=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(qs||{});function vu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Bn=(()=>{let e=class e{constructor(n){this.handler=n}request(n,r,o={}){let s;if(n instanceof ur)s=n;else{let c;o.headers instanceof Vn?c=o.headers:c=new Vn(o.headers);let f;o.params&&(o.params instanceof sn?f=o.params:f=new sn({fromObject:o.params})),s=new ur(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:f,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=x(s).pipe(Nt(c=>this.handler.handle(c)));if(n instanceof ur||o.observe==="events")return a;let l=a.pipe(me(c=>c instanceof Ws));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(P(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(P(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(P(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(P(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new sn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,vu(o,r))}post(n,r,o={}){return this.request("POST",n,vu(o,r))}put(n,r,o={}){return this.request("PUT",n,vu(o,r))}};e.\u0275fac=function(r){return new(r||e)(T(dr))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function Jg(t,e){return e(t)}function cC(t,e){return(i,n)=>e.intercept(i,{handle:r=>
8t(r,n)})}function uC(t,e,i){return(n,r)=>dt(i,()=>e(n,o=>t(o,r)))}var dC=new E(""),Du=new E(""),fC=new E(""),hC=new E("");function pC(){let t=null;return(e,i)=>{t===null&&(t=(y(dC,{optional:!0})??[]).reduceRight(cC,Jg));let n=y(Rn),r=n.add();return t(e,i).pipe(At(()=>n.remove(r)))}}var Yg=(()=>{let e=class e extends dr{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=y(Rn);let o=y(hC,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Du),...this.injector.get(fC,[])]));this.chain=o.reduceRight((s,a)=>uC(s,a,this.injector),Jg)}let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(At(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(T(Gs),T(ye))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var gC=/^\)\]\}',?\n/;function mC(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Qg=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new S(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?se(r.\u0275loadImpl()):x(null)).pipe(xe(()=>new F(s=>{let a=r.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((M,I)=>a.setRequestHeader(M,I.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let M=n.detectContentTypeHeader();M!==null&&a.setRequestHeader("Content-Type",M)}if(n.responseType){let M=n.responseType.toLowerCase();a.responseType=M!=="json"?M:"text"}let l=n.serializeBody(),c=null,f=()=>{if(c!==null)return c;let M=a.statusText||"OK",I=new Vn(a.getAllResponseHeaders()),Oe=mC(a)||n.url;return c=new wu({headers:I,status:a.status,statusText:M,url:Oe}),c},p=()=>{let{headers:M,status:I,statusText:Oe,url:Ee}=f(),ae=null;I!==qs.NoContent&&(ae=typeof a.response>"u"?a.responseText:a.response),I===0&&(I=ae?qs.Ok:0);let yt=I>=200&&I<300;if(n.responseType==="json"&&typeof ae=="string"){let Ge=ae;ae=ae.replace(gC,"");try{ae=ae!==""?JSON.parse(ae):null}catch(qt){ae=Ge,yt&&(yt=!1,ae={error:qt,text:ae})}}yt?(s.next(new Ws({body:ae,headers:M,status:I,statusText:Oe,url:Ee||void 0})),s.complete()):s.error(new zs({error:ae,headers:M,status:I,statusText:Oe,url:Ee||void 0}))},g=M=>{let{url:I}=f(),Oe=new zs({error:M,status:a.status||0,statusText:a.statusText||"Unknown Error",url:I||void 0});s.error(Oe)},m=!1,_=M=>{m||(s.next(f()),m=!0);let I={type:Ti.DownloadProgress,loaded:M.loaded};M.lengthComputable&&(I.total=M.total),n.responseType==="text"&&a.responseText&&(I.partialText=a.responseText),s.next(I)},C=M=>{let I={type:Ti.UploadProgress,loaded:M.loaded};M.lengthComputable&&(I.total=M.total),s.next(I)};return a.addEventListener("load",p),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",_),l!==null&&a.upload&&a.upload.addEventListener("progress",C)),a.send(l),s.next({type:Ti.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",p),a.removeEventListener("timeout",g),n.reportProgress&&(a.removeEventListener("progress",_),l!==null&&a.upload&&a.upload.removeEventListener("progress",C)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(T(Ei))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Kg=new E(""),yC="XSRF-TOKEN",vC=new E("",{providedIn:"root",factory:()=>yC}),_C="X-XSRF-TOKEN",bC=new E("",{providedIn:"root",factory:()=>_C}),Ys=class{},wC=(()=>{let e=class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Bs(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(T(ge),T(ht),T(vC))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function DC(t,e){let i=t.url.toLowerCase();if(!y(Kg)||t.method==="GET"||t.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(t);let n=y(Ys).getToken(),r=y(bC);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),e(t)}var Xg=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Xg||{});function CC(t,e){return{\u0275kind:t,\u0275providers:e}}function EC(...t){let e=[Bn,Qg,Yg,{provide:dr,useExisting:Yg},{provide:Gs,useExisting:Qg},{provide:Du,useValue:DC,multi:!0},{provide:Kg,useValue:!0},{provide:Ys,useClass:wC}];for(let i of t)e.push(...i.\u0275providers);return ns(e)}var Zg=new E("");function SC(){return CC(Xg.LegacyInterceptors,[{provide:Zg,useFactory:pC},{provide:Du,useExisting:Zg,multi:!0}])}var em=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({providers:[EC(SC())]});let t=e;return t})();var Tu=class extends Vs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Mu=class t extends Tu{static makeCurrent(){kg(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}
8isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=TC();return i==null?null:MC(i)}resetBaseElement(){hr=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Bs(document.cookie,e)}},hr=null;function TC(){return hr=hr||document.querySelector("base"),hr?hr.getAttribute("href"):null}function MC(t){return new URL(t,document.baseURI).pathname}var Iu=class{addToWindow(e){Te.getAngularTestability=(n,r=!0)=>{let o=e.findTestabilityInTree(n,r);if(o==null)throw new S(5103,!1);return o},Te.getAllAngularTestabilities=()=>e.getAllTestabilities(),Te.getAllAngularRootElements=()=>e.getAllRootElements();let i=n=>{let r=Te.getAllAngularTestabilities(),o=r.length,s=function(){o--,o==0&&n()};r.forEach(a=>{a.whenStable(s)})};Te.frameworkStabilizers||(Te.frameworkStabilizers=[]),Te.frameworkStabilizers.push(i)}findTestabilityInTree(e,i,n){if(i==null)return null;let r=e.getTestability(i);return r??(n?Tt().isShadowRoot(i)?this.findTestabilityInTree(e,i.host,!0):this.findTestabilityInTree(e,i.parentElement,!0):null)}},IC=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Ou=new E(""),rm=(()=>{let e=class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEac
8h(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new S(5101,!1);return this._eventNameToPlugin.set(n,r),r}};e.\u0275fac=function(r){return new(r||e)(T(Ou),T(J))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Qs=class{constructor(e){this._doc=e}},Eu="ng-app-id",om=(()=>{let e=class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Hs(s),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Eu}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(Eu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(Eu,this.appId),n.appendChild(a),a}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(T(ge),T(gs),T(Rc,8),T(ht))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Su={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/MathML/"},Nu=/%COMP%/g,sm="%COMP%",OC=`_nghost-${sm}`,xC=`_ngcontent-${sm}`,NC=!0,AC=new E("",{providedIn:"root",factory:()=>NC});function RC(t){return xC.replace(Nu,t)}function PC(t){return OC.replace(Nu,t)}function am(t,e){return e.map(i=>i.replace(Nu,t))}var tm=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,f=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=f,this.rendererByCompId=new Map,this.platformIsServer=Hs(l),this.defaultRenderer=new pr(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===wt.ShadowDom&&(r=ie(b({},r),{encapsulation:wt.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Zs?o.applyToHost(n):o instanceof gr&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,s=o.get(r.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,f=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(r.encapsulation){case wt.Emulated:s=new Zs(c,f,r,this.appId,p,a,l,g);break;case wt.ShadowDom:return new xu(c,f,n,r,a,l,this.nonce,g);default:s=new gr(c,f,r,p,a,l,g);break}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(T(rm),T(om),T(gs),T(AC),T(ge),T(ht),T(J),T(Rc))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),pr=class{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Su[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(nm(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(nm(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new S(-5104,!1);
8return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;let o=Su[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let r=Su[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(St.DashCase|St.Important)?e.style.setProperty(i,n,r&St.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&St.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=Tt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function nm(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var xu=class extends pr{constructor(e,i,n,r,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=am(r.id,r.styles);for(let f of c){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=f,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},gr=class extends pr{constructor(e,i,n,r,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=l?am(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Zs=class extends gr{constructor(e,i,n,r,o,s,a,l){let c=r+"-"+n.id;super(e,i,n,o,s,a,l,c),this.contentAttr=RC(c),this.hostAttr=PC(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},FC=(()=>{let e=class e extends Qs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(T(ge))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),im=["alt","control","meta","shift"],kC={"\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"},LC={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},VC=(()=>{let e=class e extends Qs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Tt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),im.forEach(f=>{let p=r.indexOf(f);p>-1&&(r.splice(p,1),a+=f+".")}),a+=s,r.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let o=kC[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),im.forEach(a=>{if(a!==o){let l=LC[a];l(n)&&(s+=a+".")}}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(r){return new(r||e)(T(ge))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function BC(){Mu.makeCurrent()}function jC(){return new Et}function UC(){return pp(document),document}var HC=[{provide:ht,useValue:yu},{provide:Ac,useValue:BC,multi:!0},{provide:ge,useFactory:UC,deps:[]}],lm=ou(Mg,"browser",HC),$C=new E(""),GC=[{provide:cr,useClass:Iu,deps:[]},{provide:iu,useClass:Ns,deps:[J,As,cr]},{provide:Ns,useClass:Ns,deps:[J,As,cr]}],WC=[{provide:is,useValue:"root"},{provide:Et,useFactory:jC,deps:[]},{provide:Ou,useClass:FC,multi:!0,deps:[ge,J,ht]},{provide:Ou,useClass:VC,multi:!0,deps:[ge]},tm,om,rm,{provide:Ji,useExisting:tm},{provide:Ei,useClass:IC,deps:[]},[]],cm=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:gs,useValue:n.appId}]}}};e.\u0275fac=function(r){return new(r||e)(T($C,12))},e.\u0275mod=W({type:e}),e.\u0275inj=G({providers:[...WC,...GC],imports:[Ug,Ig]});let t=e;return t})();var um=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(r){return new(r||e)(T(ge))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var V="primary",xr=Symbol("RouteTitle"),ku=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function Ni(t){return new ku(t)}function qC(t,e,i){let n=i.path.split("/");if(n.length>t.length||i.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let r={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:r}}function YC(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;++i)if(!Mt(t[i],e[i]))return!1;return!0}function Mt(t,e){let i=t?Lu(t):void 0,n=e?Lu(e):void 0;if(!i||!n||i.length!=n.length)return!1;let r;for(let o=0;o<i.length;o++)if(r=i[o],!bm(t[r],e[r]))return!1;return!0}function Lu(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function bm(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let i=[...t].sort(),n=[...e].sort();return i.every((r,o)=>n[o]===r)}else return t===e}function wm(t){return t.length>0?t[t.length-1]:null}function dn(t){return Ya(t)?t:kn(t)?se(Promise.resolve(t)):x(t)}var QC={exact:Cm,subset:Em},Dm={exact:ZC,subset:JC,ignored:()=>!0};function fm(t,e,i){return QC[i.paths](t.root,e.root,i.matrixParams)&&Dm[i.queryParams](t.queryParams,e.queryParams)&&!(i.fragment==="exact"&&t.fragment!==e.fragment)}function ZC(t,e){return Mt(t,e)}function Cm(t,e,i){if(!Un(t.segments,e.segments)||!Xs(t.segments,e.segments,i)||t.numberOfChildren!==e.numberOfChildren)return!1;
vendor: 9,599 bytes, line 8
8for(let n in e.children)if(!t.children[n]||!Cm(t.children[n],e.children[n],i))return!1;return!0}function JC(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>bm(t[i],e[i]))}function Em(t,e,i){return Sm(t,e,e.segments,i)}function Sm(t,e,i,n){if(t.segments.length>i.length){let r=t.segments.slice(0,i.length);return!(!Un(r,i)||e.hasChildren()||!Xs(r,i,n))}else if(t.segments.length===i.length){if(!Un(t.segments,i)||!Xs(t.segments,i,n))return!1;for(let r in e.children)if(!t.children[r]||!Em(t.children[r],e.children[r],n))return!1;return!0}else{let r=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!Un(t.segments,r)||!Xs(t.segments,r,n)||!t.children[V]?!1:Sm(t.children[V],e,o,n)}}function Xs(t,e,i){return e.every((n,r)=>Dm[i](t[r].parameters,n.parameters))}var an=class{constructor(e=new ee([],{}),i={},n=null){this.root=e,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Ni(this.queryParams),this._queryParamMap}toString(){return eE.serialize(this)}},ee=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ea(this)}},jn=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap??=Ni(this.parameters),this._parameterMap}toString(){return Mm(this)}};function KC(t,e){return Un(t,e)&&t.every((i,n)=>Mt(i.parameters,e[n].parameters))}function Un(t,e){return t.length!==e.length?!1:t.every((i,n)=>i.path===e[n].path)}function XC(t,e){let i=[];return Object.entries(t.children).forEach(([n,r])=>{n===V&&(i=i.concat(e(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==V&&(i=i.concat(e(r,n)))}),i}var Nr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>new Dr,providedIn:"root"});let t=e;return t})(),Dr=class{parse(e){let i=new Bu(e);return new an(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${mr(e.root,!0)}`,n=iE(e.queryParams),r=typeof e.fragment=="string"?`#${tE(e.fragment)}`:"";return`${i}${n}${r}`}},eE=new Dr;function ea(t){return t.segments.map(e=>Mm(e)).join("/")}function mr(t,e){if(!t.hasChildren())return ea(t);if(e){let i=t.children[V]?mr(t.children[V],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==V&&n.push(`${r}:${mr(o,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}else{let i=XC(t,(n,r)=>r===V?[mr(t.children[V],!1)]:[`${r}:${mr(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[V]!=null?`${ea(t)}/${i[0]}`:`${ea(t)}/(${i.join("//")})`}}function Tm(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Js(t){return Tm(t).replace(/%3B/gi,";")}function tE(t){return encodeURI(t)}function Vu(t){return Tm(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ta(t){return decodeURIComponent(t)}function hm(t){return ta(t.replace(/\+/g,"%20"))}function Mm(t){return`${Vu(t.path)}${nE(t.parameters)}`}function nE(t){return Object.entries(t).map(([e,i])=>`;${Vu(e)}=${Vu(i)}`).join("")}function iE(t){let e=Object.entries(t).map(([i,n])=>Array.isArray(n)?n.map(r=>`${Js(i)}=${Js(r)}`).join("&"):`${Js(i)}=${Js(n)}`).filter(i=>i);return e.length?`?${e.join("&")}`:""}var rE=/^[^\/()?;#]+/;function Au(t){let e=t.match(rE);return e?e[0]:""}var oE=/^[^\/()?;=#]+/;function sE(t){let e=t.match(oE);return e?e[0]:""}var aE=/^[^=?&#]+/;function lE(t){let e=t.match(aE);return e?e[0]:""}var cE=/^[^&#]+/;function uE(t){let e=t.match(cE);return e?e[0]:""}var Bu=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(n[V]=new ee(e,i)),n}parseSegment(){let e=Au(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(e),new jn(ta(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=sE(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let r=Au(this.remaining);r&&(n=r,this.capture(n))}e[ta(i)]=ta(n)}parseQueryParam(e){let i=lE(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let s=uE(this.remaining);s&&(n=s,this.capture(n))}let r=hm(i),o=hm(n);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Au(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new S(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=V);let s=this.parseChildren();i[o]=Object.keys(s).length===1?s[V]:new ee([],s),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new S(4011,!1)}};function Im(t){return t.segments.length>0?new ee([],{[V]:t}):t}function Om(t){let e={};for(let[n,r]of Object.entries(t.children)){let o=Om(r);if(n===V&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let i=new ee(t.segments,e);return dE(i)}function dE(t){if(t.numberOfChildren===1&&t.children[V]){let e=t.children[V];return new ee(t.segments.concat(e.segments),e.children)}return t}function Ai(t){return t instanceof an}function fE(t,e,i=null,n=null){let r=xm(t);return Nm(r,e,i,n)}function xm(t){let e;function i(o){let s={};for(let l of o.children){let c=i(l);s[l.outlet]=c}let a=new ee(o.url,s);return o===t&&(e=a),a}let n=i(t.root),r=Im(n);return e??r}function Nm(t,e,i,n){let r=t;for(;r.parent;)r=r.parent;if(e.length===0)return Ru(r,r,r,i,n);let o=hE(e);if(o.toRoot())return Ru(r,r,new ee([],{}),i,n);let s=pE(o,r,t),a=s.processChildren?_r(s.segmentGroup,s.index,o.commands):Rm(s.segmentGroup,s.index,o.commands);return Ru(r,s.segmentGroup,a,i,n)}function na(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Cr(t){return typeof t=="object"&&t!=null&&t.outlets}function Ru(t,e,i,n,r){let o={};n&&Object.entries(n).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(f=>`${f}`):`${c}`});let s;t===e?s=i:s=Am(t,e,i);let a=Im(Om(s));return new an(a,o,r)}function Am(t,e,i){let n={};return Object.entries(t.children).forEach(([r,o])=>{o===e?n[r]=i:n[r]=Am(o,e,i)}),new ee(t.segments,n)}var ia=class{constructor(e,i,n){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=n,e&&n.length>0&&na(n[0]))throw new S(4003,!1);let r=n.find(Cr);if(r&&r!==wm(n))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function hE(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ia(!0,0,t);let e=0,i=!1,n=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?i=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new ia(i,e,n)}var Oi=class{constructor(e,i,n){this.segmentGroup=e,this.processChildren=i,this.index=n}};function pE(t,e,i){if(t.isAbsolute)return new Oi(e,!0,0);if(!i)return new Oi(e,!1,NaN);if(i.parent===null)return new Oi(i,!0,0);let n=na(t.commands[0])?0:1,r=i.segments.length-1+n;return gE(i,r,t.numberOfDoubleDots)}function gE(t,e,i){let n=t,r=e,o=i;for(;o>r;){if(o-=r,n=n.parent,!n)throw new S(4005,!1);r=n.segments.length}return new Oi(n,!1,r-o)}function mE(t){return Cr(t[0])?t[0].outlets:{[V]:t}}function Rm(t,e,i){if(t??=new ee([],{}),t.segments.length===0&&t.hasChildren())return _r(t,e,i);let n=yE(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new ee(t.segments.slice(0,n.pathIndex),{});return o.children[V]=new ee(t.segments.slice(n.pathIndex),t.children),_r(o,0,r)}else return n.match&&r.length===0?new ee(t.segments,{}):n.match&&!t.hasChildren()?ju(t,e,i):n.match?_r(t,0,r):ju(t,e,i)}function _r(t,e,i){if(i.length===0)return new ee(t.segments,{});{let n=mE(i),r={};if(Object.keys(n).some(o=>o!==V)&&t.children[V]&&t.numberOfChildren===1&&t.children[V].segments.length===0){let o=_r(t.children[V],e,i);return new ee(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=Rm(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(r[o]=s)}),new ee(t.segments,r)}}
8function yE(t,e,i){let n=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(n>=i.length)return o;let s=t.segments[r],a=i[n];if(Cr(a))break;let l=`${a}`,c=n<i.length-1?i[n+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!gm(l,c,s))return o;n+=2}else{if(!gm(l,{},s))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function ju(t,e,i){let n=t.segments.slice(0,e),r=0;for(;r<i.length;){let o=i[r];if(Cr(o)){let l=vE(o.outlets);return new ee(n,l)}if(r===0&&na(i[0])){let l=t.segments[e];n.push(new jn(l.path,pm(i[0]))),r++;continue}let s=Cr(o)?o.outlets[V]:`${o}`,a=r<i.length-1?i[r+1]:null;s&&a&&na(a)?(n.push(new jn(s,pm(a))),r+=2):(n.push(new jn(s,{})),r++)}return new ee(n,{})}function vE(t){let e={};return Object.entries(t).forEach(([i,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[i]=ju(new ee([],{}),0,n))}),e}function pm(t){let e={};return Object.entries(t).forEach(([i,n])=>e[i]=`${n}`),e}function gm(t,e,i){return t==i.path&&Mt(e,i.parameters)}var br="imperative",Ce=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Ce||{}),nt=class{constructor(e,i){this.id=e,this.url=i}},Ri=class extends nt{constructor(e,i,n="imperative",r=null){super(e,i),this.type=Ce.NavigationStart,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},It=class extends nt{constructor(e,i,n){super(e,i),this.urlAfterRedirects=n,this.type=Ce.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ze||{}),ra=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ra||{}),ln=class extends nt{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=Ce.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},cn=class extends nt{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=Ce.NavigationSkipped}},Er=class extends nt{constructor(e,i,n,r){super(e,i),this.error=n,this.target=r,this.type=Ce.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},oa=class extends nt{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=Ce.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Uu=class extends nt{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=Ce.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hu=class extends nt{constructor(e,i,n,r,o){super(e,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o,this.type=Ce.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},$u=class extends nt{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=Ce.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Gu=class extends nt{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=Ce.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wu=class{constructor(e){this.route=e,this.type=Ce.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},zu=class{constructor(e){this.route=e,this.type=Ce.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},qu=class{constructor(e){this.snapshot=e,this.type=Ce.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yu=class{constructor(e){this.snapshot=e,this.type=Ce.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qu=class{constructor(e){this.snapshot=e,this.type=Ce.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zu=class{constructor(e){this.snapshot=e,this.type=Ce.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sa=class{constructor(e,i,n){this.routerEvent=e,this.position=i,this.anchor=n,this.type=Ce.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Sr=class{},Tr=class{constructor(e){this.url=e}};var Ju=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ar,this.attachRef=null}},Ar=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Ju,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),aa=class{constructor(e){this._root=e}get root(){return this._root.value}
8parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=Ku(e,this._root);return i?i.children.map(n=>n.value):[]}firstChild(e){let i=Ku(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=Xu(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return Xu(e,this._root).map(i=>i.value)}};function Ku(t,e){if(t===e.value)return e;for(let i of e.children){let n=Ku(t,i);if(n)return n}return null}function Xu(t,e){if(t===e.value)return[e];for(let i of e.children){let n=Xu(t,i);if(n.length)return n.unshift(e),n}return[]}var Qe=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function Ii(t){let e={};return t&&t.children.forEach(i=>e[i.value.outlet]=i),e}var la=class extends aa{constructor(e,i){super(e),this.snapshot=i,cd(this,e)}toString(){return this.snapshot.toString()}};function Pm(t){let e=_E(t),i=new we([new jn("",{})]),n=new we({}),r=new we({}),o=new we({}),s=new we(""),a=new Hn(i,n,o,s,r,V,t,e.root);return a.snapshot=e.root,new la(new Qe(a,[]),e)}function _E(t){let e={},i={},n={},r="",o=new Mr([],e,n,r,i,V,t,null,{});return new ca("",new Qe(o,[]))}var Hn=class{constructor(e,i,n,r,o,s,a,l){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(P(c=>c[xr]))??x(void 0),this.url=e,this.params=i,this.queryParams=n,this.fragment=r,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(P(e=>Ni(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(P(e=>Ni(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ld(t,e,i="emptyOnly"){let n,{routeConfig:r}=t;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),r?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},r&&km(r)&&(n.resolve[xr]=r.title),n}var Mr=class{get title(){return this.data?.[xr]}constructor(e,i,n,r,o,s,a,l,c){this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=Ni(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ni(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},ca=class extends aa{constructor(e,i){super(i),this.url=e,cd(this,i)}toString(){return Fm(this._root)}};function cd(t,e){e.value._routerState=t,e.children.forEach(i=>cd(t,i))}function Fm(t){let e=t.children.length>0?` { ${t.children.map(Fm).join(", ")} } `:"";return`${t.value}${e}`}function Pu(t){if(t.snapshot){let e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,Mt(e.queryParams,i.queryParams)||t.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&t.fragmentSubject.next(i.fragment),Mt(e.params,i.params)||t.paramsSubject.next(i.params),YC(e.url,i.url)||t.urlSubject.next(i.url),Mt(e.data,i.data)||t.dataSubject.next(i.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function ed(t,e){let i=Mt(t.params,e.params)&&KC(t.url,e.url),n=!t.parent!=!e.parent;return i&&!n&&(!t.parent||ed(t.parent,e.parent))}function km(t){return typeof t.title=="string"||t.title===null}var Rr=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=V,this.activateEvents=new ce,this.deactivateEvents=new ce,this.attachEvents=new ce,this.detachEvents=new ce,this.parentContexts=y(Ar),this.location=y(jt),this.changeDetector=y($t),this.environmentInjector=y(ye),this.inputBinder=y(pa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new S(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new td(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=de({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vt]});let t=e;return t})(),td=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,i,n){this.route=e,this.childContexts=i,this.parent=n}get(e,i){return e===Hn?this.route:e===Ar?this.childContexts:this.parent.get(e,i)}},pa=new E(""),mm=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=ii([r.queryParams,r.params,r.data]).pipe(xe(([s,a,l],c)=>(l=b(b(b({},s),a),l),c===0?x(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=Og(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();
vendor: 5,292 bytes, line 8
8function bE(t,e,i){let n=Ir(t,e._root,i?i._root:void 0);return new la(n,e)}function Ir(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){let n=i.value;n._futureSnapshot=e.value;let r=wE(t,e,i);return new Qe(n,r)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Ir(t,a)),s}}let n=DE(e.value),r=e.children.map(o=>Ir(t,o));return new Qe(n,r)}}function wE(t,e,i){return e.children.map(n=>{for(let r of i.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return Ir(t,n,r);return Ir(t,n)})}function DE(t){return new Hn(new we(t.url),new we(t.params),new we(t.queryParams),new we(t.fragment),new we(t.data),t.outlet,t.component,t)}var Lm="ngNavigationCancelingError";function Vm(t,e){let{redirectTo:i,navigationBehaviorOptions:n}=Ai(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Bm(!1,Ze.Redirect);return r.url=i,r.navigationBehaviorOptions=n,r}function Bm(t,e){let i=new Error(`NavigationCancelingError: ${t||""}`);return i[Lm]=!0,i.cancellationCode=e,i}function CE(t){return jm(t)&&Ai(t.url)}function jm(t){return!!t&&t[Lm]}var EE=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["ng-component"]],standalone:!0,features:[lr],decls:1,vars:0,template:function(r,o){r&1&&K(0,"router-outlet")},dependencies:[Rr],encapsulation:2});let t=e;return t})();function SE(t,e){return t.providers&&!t._injector&&(t._injector=Ss(t.providers,e,`Route: ${t.path}`)),t._injector??e}function ud(t){let e=t.children&&t.children.map(ud),i=e?ie(b({},t),{children:e}):b({},t);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==V&&(i.component=EE),i}function Ot(t){return t.outlet||V}function TE(t,e){let i=t.filter(n=>Ot(n)===e);return i.push(...t.filter(n=>Ot(n)!==e)),i}function Pr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var ME=(t,e,i,n)=>P(r=>(new nd(e,r.targetRouterState,r.currentRouterState,i,n).activate(t),r)),nd=class{constructor(e,i,n,r,o){this.routeReuseStrategy=e,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){let i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,e),Pu(this.futureState.root),this.activateChildRoutes(i,n,e)}deactivateChildRoutes(e,i,n){let r=Ii(i);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],n),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(r===o)if(r.component){let s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,i,s.children)}else this.deactivateChildRoutes(e,i,n);else o&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Ii(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Ii(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,i,n){let r=Ii(i);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new Zu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Yu(e.value.snapshot))}activateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(Pu(r),r===o)if(r.component){let s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,s.children)}else this.activateChildRoutes(e,i,n);else if(r.component){let s=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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),Pu(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Pr(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},ua=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},xi=class{constructor(e,i){this.component=e,this.route=i}};function IE(t,e,i){let n=t._root,r=e?e._root:null;return yr(n,r,i,[n.value])}function OE(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Fi(t,e){let i=Symbol(),n=e.get(t,i);return n===i?typeof t=="function"&&!rh(t)?t:e.get(t):n}function yr(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ii(e);
8return t.children.forEach(s=>{xE(s,o[s.value.outlet],i,n.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>wr(a,i.getContext(s),r)),r}function xE(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=NE(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new ua(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?yr(t,e,a?a.children:null,n,r):yr(t,e,i,n,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new xi(a.outlet.component,s))}else s&&wr(e,a,r),r.canActivateChecks.push(new ua(n)),o.component?yr(t,null,a?a.children:null,n,r):yr(t,null,i,n,r);return r}function NE(t,e,i){if(typeof i=="function")return i(t,e);switch(i){case"pathParamsChange":return!Un(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Un(t.url,e.url)||!Mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ed(t,e)||!Mt(t.queryParams,e.queryParams);case"paramsChange":default:return!ed(t,e)}}function wr(t,e,i){let n=Ii(t),r=t.value;Object.entries(n).forEach(([o,s])=>{r.component?e?wr(s,e.children.getContext(o),i):wr(s,null,i):wr(s,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new xi(e.outlet.component,r)):i.canDeactivateChecks.push(new xi(null,r)):i.canDeactivateChecks.push(new xi(null,r))}function Fr(t){return typeof t=="function"}function AE(t){return typeof t=="boolean"}function RE(t){return t&&Fr(t.canLoad)}function PE(t){return t&&Fr(t.canActivate)}function FE(t){return t&&Fr(t.canActivateChild)}function kE(t){return t&&Fr(t.canDeactivate)}function LE(t){return t&&Fr(t.canMatch)}function Um(t){return t instanceof xt||t?.name==="EmptyError"}var Ks=Symbol("INITIAL_VALUE");function Pi(){return xe(t=>ii(t.map(e=>e.pipe(je(1),mo(Ks)))).pipe(P(e=>{for(let i of e)if(i!==!0){if(i===Ks)return Ks;if(i===!1||i instanceof an)return i}return!0}),me(e=>e!==Ks),je(1)))}function VE(t,e){return le(i=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=i;return s.length===0&&o.length===0?x(ie(b({},i),{guardsResult:!0})):BE(s,n,r,t).pipe(le(a=>a&&AE(a)?jE(n,o,t,e):x(a)),P(a=>ie(b({},i),{guardsResult:a})))})}function BE(t,e,i,n){return se(t).pipe(le(r=>WE(r.component,r.route,i,e,n)),vt(r=>r!==!0,!0))}function jE(t,e,i,n){return se(e).pipe(Nt(r=>Zt(HE(r.route.parent,n),UE(r.route,n),GE(t,r.path,i),$E(t,r.route,i))),vt(r=>r!==!0,!0))}function UE(t,e){return t!==null&&e&&e(new Qu(t)),x(!0)}function HE(t,e){return t!==null&&e&&e(new qu(t)),x(!0)}function $E(t,e,i){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let r=n.map(o=>ho(()=>{let s=Pr(e)??i,a=Fi(o,s),l=PE(a)?a.canActivate(e,t):dt(s,()=>a(e,t));return dn(l).pipe(vt())}));return x(r).pipe(Pi())}function GE(t,e,i){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>OE(s)).filter(s=>s!==null).map(s=>ho(()=>{let a=s.guards.map(l=>{let c=Pr(s.node)??i,f=Fi(l,c),p=FE(f)?f.canActivateChild(n,t):dt(c,()=>f(n,t));return dn(p).pipe(vt())});return x(a).pipe(Pi())}));return x(o).pipe(Pi())}function WE(t,e,i,n,r){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return x(!0);let s=o.map(a=>{let l=Pr(e)??r,c=Fi(a,l),f=kE(c)?c.canDeactivate(t,e,i,n):dt(l,()=>c(t,e,i,n));return dn(f).pipe(vt())});return x(s).pipe(Pi())}function zE(t,e,i,n){let r=e.canLoad;if(r===void 0||r.length===0)return x(!0);let o=r.map(s=>{let a=Fi(s,t),l=RE(a)?a.canLoad(e,i):dt(t,()=>a(e,i));return dn(l)});return x(o).pipe(Pi(),Hm(n))}function Hm(t){return $a(he(e=>{if(Ai(e))throw Vm(t,e)}),P(e=>e===!0))}function qE(t,e,i,n){let r=e.canMatch;if(!r||r.length===0)return x(!0);let o=r.map(s=>{let a=Fi(s,t),l=LE(a)?a.canMatch(e,i):dt(t,()=>a(e,i));return dn(l)});return x(o).pipe(Pi(),Hm(n))}var Or=class{constructor(e){this.segmentGroup=e||null}},da=class extends Error{constructor(e){super(),this.urlTree=e}};function Mi(t){return ti(new Or(t))}function YE(t){return ti(new S(4e3,!1))}function QE(t){return ti(Bm(!1,Ze.GuardRejected))}
8var id=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return x(n);if(r.numberOfChildren>1||!r.children[V])return YE(e.redirectTo);r=r.children[V]}}applyRedirectCommands(e,i,n){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,n);if(i.startsWith("/"))throw new da(r);return r}applyRedirectCreateUrlTree(e,i,n,r){let o=this.createSegmentGroup(e,i.root,n,r);return new an(o,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let n={};return Object.entries(e).forEach(([r,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[r]=i[a]}else n[r]=o}),n}createSegmentGroup(e,i,n,r){let o=this.createSegments(e,i.segments,n,r),s={};return Object.entries(i.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,r)}),new ee(o,s)}createSegments(e,i,n,r){return i.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,n))}findPosParam(e,i,n){let r=n[i.path.substring(1)];if(!r)throw new S(4001,!1);return r}findOrReturn(e,i){let n=0;for(let r of i){if(r.path===e.path)return i.splice(n),r;n++}return e}},rd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ZE(t,e,i,n,r){let o=dd(t,e,i);return o.matched?(n=SE(e,n),qE(n,e,i,r).pipe(P(s=>s===!0?o:b({},rd)))):x(o)}function dd(t,e,i){if(e.path==="**")return JE(i);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||i.length>0)?b({},rd):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||qC)(i,t,e);if(!r)return b({},rd);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?b(b({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function JE(t){return{matched:!0,parameters:t.length>0?wm(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function ym(t,e,i,n){return i.length>0&&eS(t,i,n)?{segmentGroup:new ee(e,XE(n,new ee(i,t.children))),slicedSegments:[]}:i.length===0&&tS(t,i,n)?{segmentGroup:new ee(t.segments,KE(t,i,n,t.children)),slicedSegments:i}:{segmentGroup:new ee(t.segments,t.children),slicedSegments:i}}function KE(t,e,i,n){let r={};for(let o of i)if(ma(t,e,o)&&!n[Ot(o)]){let s=new ee([],{});r[Ot(o)]=s}return b(b({},n),r)}function XE(t,e){let i={};i[V]=e;for(let n of t)if(n.path===""&&Ot(n)!==V){let r=new ee([],{});i[Ot(n)]=r}return i}function eS(t,e,i){return i.some(n=>ma(t,e,n)&&Ot(n)!==V)}function tS(t,e,i){return i.some(n=>ma(t,e,n))}function ma(t,e,i){return(t.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function nS(t,e,i,n){return Ot(t)!==n&&(n===V||!ma(e,i,t))?!1:dd(e,t,i).matched}function iS(t,e,i){return e.length===0&&!t.children[i]}var od=class{};function rS(t,e,i,n,r,o,s="emptyOnly"){return new sd(t,e,i,n,r,s,o).recognize()}var oS=31,sd=class{constructor(e,i,n,r,o,s,a){this.injector=e,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new id(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new S(4002,`'${e.segmentGroup}'`)}recognize(){let e=ym(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(P(i=>{let n=new Mr([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,{},V,this.rootComponentType,null,{}),r=new Qe(n,i),o=new ca("",r),s=fE(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,V).pipe(Jt(n=>{if(n instanceof da)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Or?this.noMatchError(n):n}))}inheritParamsAndData(e,i){let n=e.value,r=ld(n,i,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEac
8h(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,i,n,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,i,n):this.processSegment(e,i,n,n.segments,r,!0).pipe(P(o=>o instanceof Qe?[o]:[]))}processChildren(e,i,n){let r=[];for(let o of Object.keys(n.children))o==="primary"?r.unshift(o):r.push(o);return se(r).pipe(Nt(o=>{let s=n.children[o],a=TE(i,o);return this.processSegmentGroup(e,a,s,o)}),tl((o,s)=>(o.push(...s),o)),Kt(null),el(),le(o=>{if(o===null)return Mi(n);let s=$m(o);return sS(s),x(s)}))}processSegment(e,i,n,r,o,s){return se(i).pipe(Nt(a=>this.processSegmentAgainstRoute(a._injector??e,i,a,n,r,o,s).pipe(Jt(l=>{if(l instanceof Or)return x(null);throw l}))),vt(a=>!!a),Jt(a=>{if(Um(a))return iS(n,r,o)?x(new od):Mi(n);throw a}))}processSegmentAgainstRoute(e,i,n,r,o,s,a){return nS(n,r,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,n,o,s):Mi(r):Mi(r)}expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s){let{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:f}=dd(i,r,o);if(!a)return Mi(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>oS&&(this.allowRedirects=!1));let p=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,c);return this.applyRedirects.lineralizeSegments(r,p).pipe(le(g=>this.processSegment(e,n,i,g.concat(f),s,!1)))}matchSegmentAgainstRoute(e,i,n,r,o){let s=ZE(i,n,r,e,this.urlSerializer);return n.path==="**"&&(i.children={}),s.pipe(xe(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,r).pipe(xe(({routes:l})=>{let c=n._loadedInjector??e,{consumedSegments:f,remainingSegments:p,parameters:g}=a,m=new Mr(f,g,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,lS(n),Ot(n),n.component??n._loadedComponent??null,n,cS(n)),{segmentGroup:_,slicedSegments:C}=ym(i,f,p,l);if(C.length===0&&_.hasChildren())return this.processChildren(c,l,_).pipe(P(I=>I===null?null:new Qe(m,I)));if(l.length===0&&C.length===0)return x(new Qe(m,[]));let M=Ot(n)===o;return this.processSegment(c,l,_,C,M?V:o,!0).pipe(P(I=>new Qe(m,I instanceof Qe?[I]:[])))}))):Mi(i)))}getChildConfig(e,i,n){return i.children?x({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?x({routes:i._loadedRoutes,injector:i._loadedInjector}):zE(e,i,n,this.urlSerializer).pipe(le(r=>r?this.configLoader.loadChildren(e,i).pipe(he(o=>{i._loadedRoutes=o.routes,i._loadedInjector=o.injector}
8)):QE(i))):x({routes:[],injector:e})}};function sS(t){t.sort((e,i)=>e.value.outlet===V?-1:i.value.outlet===V?1:e.value.outlet.localeCompare(i.value.outlet))}function aS(t){let e=t.value.routeConfig;return e&&e.path===""}function $m(t){let e=[],i=new Set;for(let n of t){if(!aS(n)){e.push(n);continue}let r=e.find(o=>n.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...n.children),i.add(r)):e.push(n)}for(let n of i){let r=$m(n.children);e.push(new Qe(n.value,r))}return e.filter(n=>!i.has(n))}function lS(t){return t.data||{}}function cS(t){return t.resolve||{}}function uS(t,e,i,n,r,o){return le(s=>rS(t,e,i,n,s.extractedUrl,r,o).pipe(P(({state:a,tree:l})=>ie(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function dS(t,e){return le(i=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return x(i);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of Gm(l))s.add(c);let a=0;return se(s).pipe(Nt(l=>o.has(l)?fS(l,n,t,e):(l.data=ld(l,l.parent,t).resolve,x(void 0))),he(()=>a++),oi(1),le(l=>a===s.size?x(i):Se))})}function Gm(t){let e=t.children.map(i=>Gm(i)).flat();return[t,...e]}function fS(t,e,i,n){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!km(r)&&(o[xr]=r.title),hS(o,t,e,n).pipe(P(s=>(t._resolvedData=s,t.data=ld(t,t.parent,i).resolve,null)))}function hS(t,e,i,n){let r=Lu(t);if(r.length===0)return x({});let o={};return se(r).pipe(le(s=>pS(t[s],e,i,n).pipe(vt(),he(a=>{o[s]=a}))),oi(1),Ka(o),Jt(s=>Um(s)?Se:ti(s)))}function pS(t,e,i,n){let r=Pr(e)??n,o=Fi(t,r),s=o.resolve?o.resolve(e,i):dt(r,()=>o(e,i));return dn(s)}function Fu(t){return xe(e=>{let i=t(e);return i?se(i).pipe(P(()=>e)):x(e)})}var Wm=(()=>{let e=class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(s=>s.outlet===V);return r}getResolvedTitleForRoute(n){return n.data[xr]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>y(gS),providedIn:"root"});let t=e;return t})(),gS=(()=>{let e=class e extends Wm{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(T(um))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),kr=new E("",{providedIn:"root",factory:()=>({})}),fa=new E(""),fd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(Fs)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=dn(n.loadComponent()).pipe(P(zm),he(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),At(()=>{this.componentLoaders.delete(n)})),o=new Kn(r,()=>new oe).pipe(Jn());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return x({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=mS(r,this.compiler,n,this.onLoadEndListener).pipe(At(()=>{this.childrenLoaders.delete(r)})),a=new Kn(s,()=>new oe).pipe(Jn());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function mS(t,e,i,n){return dn(t.loadChildren()).pipe(P(zm),le(r=>r instanceof Ki||Array.isArray(r)?x(r):se(e.compileModuleAsync(r))),P(r=>{n&&n(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(i).injector,s=o.get(fa,[],{optional:!0,self:!0}).flat()),{routes:s.map(ud),injector:o}}))}function yS(t){return t&&typeof t=="object"&&"default"in t}function zm(t){return yS(t)?t.default:t}var hd=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>y(vS),providedIn:"root"});let t=e;return t})(),vS=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qm=new E(""),Ym=new E("");function _S(t,e,i){let n=t.get(Ym),r=t.get(ge);return t.get(J).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),bS(t))),{onViewTransitionCreated:l}=n;return l&&dt(t,()=>l({transition:a,from:e,to:i})),s})}function bS(t){return new Promise(e=>{Es(e,{injector:t})})}var pd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new oe,this.transitionAbortSubject=ne
8w oe,this.configLoader=y(fd),this.environmentInjector=y(ye),this.urlSerializer=y(Nr),this.rootContexts=y(Ar),this.location=y(Si),this.inputBindingEnabled=y(pa,{optional:!0})!==null,this.titleStrategy=y(Wm),this.options=y(kr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(hd),this.createViewTransition=y(qm,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Wu(o)),r=o=>this.events.next(new zu(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(ie(b(b({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new we({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:br,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(me(s=>s.id!==0),P(s=>ie(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),xe(s=>{let a=!1,l=!1;return x(s).pipe(xe(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),Se;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?ie(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let f=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!f&&p!=="reload"){let g="";return this.events.next(new cn(c.id,this.urlSerializer.serialize(c.rawUrl),g,ra.IgnoredSameUrlNavigation)),c.resolve(null),Se}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return x(c).pipe(xe(g=>{let m=this.transitions?.getValue();return this.events.next(new Ri(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),m!==this.transitions?.getValue()?Se:Promise.resolve(g)}),uS(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),he(g=>{s.targetSnapshot=g.targetSnapshot,s.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=ie(b({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let m=new oa(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(m)}));if(f&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:g,extractedUrl:m,source:_,restoredState:C,extras:M}=c,I=new Ri(g,this.urlSerializer.serialize(m),_,C);this.events.next(I);let Oe=Pm(this.rootComponentType).snapshot;return this.currentTransition=s=ie(b({},c),{targetSnapshot:Oe,urlAfterRedirects:m,extras:ie(b({},M),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,x(s)}else{let g="";return this.events.next(new cn(c.id,this.urlSerializer.serialize(c.extractedUrl),g,ra.IgnoredByUrlHandlingStrategy)),c.resolve(null),Se}}),he(c=>{let f=new Uu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(f)}),P(c=>(this.currentTransition=s=ie(b({},c),{guards:IE(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),VE(this.environmentInjector,c=>this.events.next(c)),he(c=>{if(s.guardsResult=c.guardsResult,Ai(c.guardsResult))throw Vm(this.urlSerializer,c.guardsResult);let f=new Hu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(f)}),me(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",Ze.GuardRejected),!1)),Fu(c=>{if(c.guards.canActivateChecks.length)return x(c).pipe(he(f=>{let p=new $u(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}),xe(f=>{let p=!1;return x(f).pipe(dS(this.paramsInheritanceStrategy,this.environmentInjector),he({next:()=>p=!0,complete:()=>
8{p||this.cancelNavigationTransition(f,"",Ze.NoDataFromResolver)}}))}),he(f=>{let p=new Gu(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}))}),Fu(c=>{let f=p=>{let g=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(p.routeConfig).pipe(he(m=>{p.component=m}),P(()=>{})));for(let m of p.children)g.push(...f(m));return g};return ii(f(c.targetSnapshot.root)).pipe(Kt(null),je(1))}),Fu(()=>this.afterPreactivation()),xe(()=>{let{currentSnapshot:c,targetSnapshot:f}=s,p=this.createViewTransition?.(this.environmentInjector,c.root,f.root);return p?se(p).pipe(P(()=>s)):x(s)}),P(c=>{let f=bE(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=ie(b({},c),{targetRouterState:f}),this.currentNavigation.targetRouterState=f,s}),he(()=>{this.events.next(new Sr)}),ME(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),je(1),he({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new It(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Ne(this.transitionAbortSubject.pipe(he(c=>{throw c}))),At(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Jt(c=>{if(l=!0,jm(c))this.events.next(new ln(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),CE(c)?this.events.next(new Tr(c.url)):s.resolve(!1);else{this.events.next(new Er(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(f){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(f)}}return Se}))}))}cancelNavigationTransition(n,r,o){let s=new ln(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function wS(t){return t!==br}var DS=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>y(CS),providedIn:"root"});let t=e;return t})(),ad=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},CS=(()=>{let e=class e extends ad{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Qm=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>y(ES),providedIn:"root"});let t=e;return t})(),ES=(()=>{let e=class e extends Qm{constructor(){super(...arguments),this.location=y(Si),this.urlSerializer=y(Nr),this.options=y(kr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(hd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new an,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Pm(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof Ri)this.stateMemento=this.createStateMemento();else if(n instanceof cn)this.rawUrlTree=r.initialUrl;else if(n instanceof oa){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof Sr?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof ln&&(n.code===Ze.GuardRejected||n.c
8ode===Ze.NoDataFromResolver)?this.restoreHistory(r):n instanceof Er?this.restoreHistory(r,!0):n instanceof It&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let s=this.browserPageId,a=b(b({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),vr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(vr||{});function Zm(t,e){t.events.pipe(me(i=>i instanceof It||i instanceof ln||i instanceof Er||i instanceof cn),P(i=>i instanceof It||i instanceof cn?vr.COMPLETE:(i instanceof ln?i.code===Ze.Redirect||i.code===Ze.SupersededByNewNavigation:!1)?vr.REDIRECTING:vr.FAILED),me(i=>i!==vr.REDIRECTING),je(1)).subscribe(()=>{e()})}function SS(t){throw t}var TS={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},MS={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},un=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=y(xs),this.stateManager=y(Qm),this.options=y(kr,{optional:!0})||{},this.pendingTasks=y(Rn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(pd),this.urlSerializer=y(Nr),this.location=y(Si),this.urlHandlingStrategy=y(hd),this._events=new oe,this.errorHandler=this.options.errorHandler||SS,this.navigated=!1,this.routeReuseStrategy=y(DS),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=y(fa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!y(pa,{optional:!0}),this.eventsSubscription=new fe,this.isNgZoneEnabled=y(J)instanceof J&&J.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof ln&&r.code!==Ze.Redirect&&r.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof It)this.navigated=!0;else if(r instanceof Tr){let a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||wS(o.source)};this.scheduleNavigation(a,br,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}OS(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),br,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=b({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(n);this.scheduleNavigation(l,r,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ud),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=r,f=c?this.currentUrlTree.fragment:a,p=null;switch(l){case"merge":p=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=s||null}p!==null&&(p=this.removeEmptyProps(p));let g;try{let m=o?o.snapshot:this.routerState.snapshot.root;g=xm(m)}
8catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),g=this.currentUrlTree.root}return Nm(g,n,p,f??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Ai(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,br,null,r)}navigate(n,r={skipLocationChange:!1}){return IS(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=b({},TS):r===!1?o=b({},MS):o=r,Ai(n))return fm(this.currentUrlTree,n,o);let s=this.parseUrl(n);return fm(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,s])=>(s!=null&&(r[o]=s),r),{})}scheduleNavigation(n,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,f;a?(l=a.resolve,c=a.reject,f=a.promise):f=new Promise((g,m)=>{l=g,c=m});let p=this.pendingTasks.add();return Zm(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:f,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),f.catch(g=>Promise.reject(g))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function IS(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new S(4008,!1)}function OS(t){return!(t instanceof Sr)&&!(t instanceof Tr)}var ya=(()=>{let e=class e{constructor(n,r,o,s,a,l){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new oe,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(f=>{f instanceof It&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||r||o||s||a||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(l,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:Ep(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let o=this.renderer,s=this.el.nativeElement;r!==null?o.setAttribute(s,n,r):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(A(un),A(Hn),hs("tabindex"),A(gt),A(De),A(Wt))},e.\u0275dir=de({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&D("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&Fn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Me.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Ln],skipLocationChange:[Me.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Ln],replaceUrl:[Me.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Ln],routerLink:"routerLink"},standalone:!0,features:[Xc,Vt]});let t=e;return t})();var ha=class{};var xS=(()=>{let e=class e{constructor(n,r,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(me(n=>n instanceof It),Nt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let s of r){s.providers&&!s._injector&&(s._injector=Ss(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return se(o).pipe(ri())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=x(null);let s=o.pipe(le(a=>a===null?x(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);
8return se([s,a]).pipe(ri())}else return s})}};e.\u0275fac=function(r){return new(r||e)(T(un),T(Fs),T(ye),T(ha),T(fd))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Jm=new E(""),NS=(()=>{let e=class e{constructor(n,r,o,s,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=y(ye),a.scrollPositionRestoration||="disabled",a.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(n=>{n instanceof Ri?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof It?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof cn&&n.code===ra.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof sa&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>Hr(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),Es(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new sa(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){Vp()},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function AS(t){return t.routerState.root}function Lr(t,e){return{\u0275kind:t,\u0275providers:e}}function RS(){let t=y(Le);return e=>{let i=t.get(Ht);if(e!==i.components[0])return;let n=t.get(un),r=t.get(Km);t.get(gd)===1&&n.initialNavigation(),t.get(Xm,null,j.Optional)?.setUpPreloading(),t.get(Jm,null,j.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Km=new E("",{factory:()=>new oe}),gd=new E("",{providedIn:"root",factory:()=>1});function PS(){return Lr(2,[{provide:gd,useValue:0},{provide:Rs,multi:!0,deps:[Le],useFactory:e=>{let i=e.get(Lg,Promise.resolve());return()=>i.then(()=>new Promise(n=>{let r=e.get(un),o=e.get(Km);Zm(r,()=>{n(!0)}),e.get(pd).afterPreactivation=()=>(n(!0),o.closed?x(void 0):o),r.initialNavigation()}))}}])}function FS(){return Lr(3,[{provide:Rs,multi:!0,useFactory:()=>{let e=y(un);return()=>{e.setUpLocationChangeListener()}}},{provide:gd,useValue:2}])}var Xm=new E("");function kS(t){return Lr(0,[{provide:Xm,useExisting:xS},{provide:ha,useExisting:t}])}function LS(){return Lr(8,[mm,{provide:pa,useExisting:mm}])}function VS(t){let e=[{provide:qm,useValue:_S},{provide:Ym,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return Lr(9,e)}var vm=new E("ROUTER_FORROOT_GUARD"),BS=[Si,{provide:Nr,useClass:Dr},un,Ar,{provide:Hn,useFactory:AS,deps:[un]},fd,[]],md=(()=>{let e=class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[BS,[],{provide:fa,multi:!0,useValue:n},{provide:vm,useFactory:$S,deps:[[un,new nr,new ts]]},{provide:kr,useValue:r||{}},r?.useHash?US():HS(),jS(),r?.preloadingStrategy?kS(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?GS(r):[],r?.bindToComponentInputs?LS().\u0275providers:[],r?.enableViewTransitions?VS().\u0275providers:[],WS()]}}static forChild(n){return{ngModule:e,providers:[{provide:fa,multi:!0,useValue:n}]}}};e.\u0275fac=function(r){return new(r||e)(T(vm,8))},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();function jS(){return{provide:Jm,useFactory:()=>{let t=y($g),e=y(J),i=y(kr),n=y(pd),r=y(Nr);return i.scrollOffset&&t.setOffset(i.scrollOffset),new NS(r,n,t,e,i)}}}function US(){return{provide:Wt,useClass:Bg}}function HS(){return{provide:Wt,useClass:mu}}function $S(t){return"guarded"}function GS(t){return[t.initialNavigation==="disabled"?FS().\u0275providers:[],t.initialNavigation==="enabledBlocking"?PS().\u0275providers:[]]}var _m=new E("");function WS(){return[{provide:_m,useFactory:RS},{provide:Ps,multi:!0,useExisting:_m}]}var zS=()=>["/","tools","password-generator"],qS=()=>["/","tools","geocode"],YS=()=>["/","tools","color-conversion"],QS=()=>["/","tools","flash-cards"],ZS=()=>["/","tools","binary-extractor"],JS=()=>["/","legal","notices"],KS=()=>["/","legal","terms"],XS=()=>["/","legal","privacy"],e0=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-home"]],decls:47,vars:16,consts:[[1,"page-container"],[1,"logo-container"],["src","/assets/logo.png","alt",""],[1,"row","navigation"],[1,"col","col-12","col-sm-6","offset-sm-3","col-md-4","offset-md-0"],["href","https://taliscape.com/","target","_blank"],[3,"routerLink"],["href","mailto:[email protected]"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"div",1)(2,"div"),K(3,"img",2),u(),d(4,"div",3)(5,"div",4)(6,"h2"),h(7,"Products"),u(),d(8,"ul")(9,"li")(10,"a",5),h(11,"Taliscape"),u()()()(),d(12,"div",4)(13,"h2"),h(14,"Tools"),u(),d(15,"ul")(16,"li")(17,"a",6),h(18,"Password Generator"),u()(),d(19,"li")(20,"a",6),h(21,"Geocoder"),u()(),d(22,"li")(23,"a",6),h(24,"Color Conversion"),u()(),d(25,"li")(26,"a",6),h(27,"Flash Cards"),u()(),d(28,"li")(29,"a",6),h(30,"Binary Extractor"),u()()()(),d(31,"div",4)(32,"h2"),h(33,"Legal"),u(),d(34,"ul")(35,"li")(36,"a",7),h(37,"[email protected]"),u()(),d(38,"li")(39,"a",6),h(40,"3rd Party Notices"),u()(),d(41,"li")(42,"a",6),h(43,"Terms of Use"),u()(),d(44,"li")(45,"a",6),h(46,"Privacy Policy"),u()()()()()()()),r&2&&(v(17),O("routerLink",mt(8,zS)),v(3),O("routerLink",mt(9,qS)),v(3),O("routerLink",mt(10,YS)),v(3),O("routerLink",mt(11,QS)),v(3),O("routerLink",mt(12,ZS)),v(10),O("routerLink",mt(13,JS)),v(3),O("routerLink",mt(14,KS)),v(3),O("routerLink",mt(15,XS)))},dependencies:[ya],styles:[".page-container[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.page-container[_ngcontent-%COMP%]   .logo-container[_ngcontent-%COMP%]{max-width:800px;padding-left:20px;padding-right:20px}.page-container[_ngcontent-%COMP%]   .logo-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%}.page-container[_ngcontent-%COMP%]   .navigation[_ngcontent-%COMP%]{padding-top:40px}.page-container[_ngcontent-%COMP%]   .navigation[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{text-transform:uppercase;font-size:14px;font-weight:500;color:#333}.page-container[_ngcontent-%COMP%]   .navigation[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0 0 40px;padding:0;list-style:none}.page-container[_ngcontent-%COMP%]   .navigation[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .page-container[_ngcontent-%COMP%]   .navigation[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:visited, .page-container[_ngcontent-%COMP%]   .navigation[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .page-container[_ngcontent-%COMP%]   .navigation[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{color:#eb8848}"]});let t=e;return t})();var eT=()=>["/"],va=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-main-container"]],decls:8,vars:2,consts:[[1,"navbar","shadow-sm"],[1,"container","d-flex","justify-content-between"],[3,"routerLink"],["src","/assets/logo.png","alt","",1,"logo"],[1,"page-container"],[1,"container","content-container"]],template:function(r,o){r&1&&(d(0,"header")(1,"div",0)(2,"div",1)(3,"a",2),K(4,"img",3),u()()()(),d(5,"div",4)(6,"div",5),K(7,"router-outlet"),u()()),r&2&&(v(3),O("routerLink",mt(1,eT)))},dependencies:[Rr,ya],styles:["header[_ngcontent-%COMP%]{position:fixed;width:100%;top:0;background:#fff;z-index:3}.navbar[_ngcontent-%COMP%]{text-align:center}.container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin:auto}.logo[_ngcontent-%COMP%]{max-height:50px;margin:auto}.page-container[_ngcontent-%COMP%]{margin-top:80px;text-align:center}.content-container[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px;text-align:left}"]});let t=e;return t})();var t0=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-tools"]],decls:2,vars:0,template:function(r,o){r&1&&(d(0,"p"),h(1,` tools works!
9`),u())}});let t=e;return t})();var f0=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(A(gt),A(De))},e.\u0275dir=de({type:e});let t=e;return t})(),Ur=(()=>{let e=class e extends f0{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=de({type:e,features:[et]});let t=e;return t})(),Li=new E(""),tT={provide:Li,useExisting:ut(()=>Dd),multi:!0},Dd=(()=>{let e=class e extends Ur{writeValue(n){this.setProperty("checked",n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=de({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){r&1&&D("change",function(a){return o.onChange(a.target.checked)})("blur",function(){return o.onTouched()})},features:[Ut([tT]),et]});let t=e;return t})(),nT={provide:Li,useExisting:ut(()=>Ae),multi:!0};function iT(){let t=Tt()?Tt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var rT=new E(""),Ae=(()=>{let e=class e extends f0{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!iT())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(A(gt),A(De),A(rT,8))},e.\u0275dir=de({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,o){r&1&&D("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Ut([nT]),et]});let t=e;return t})();function n0(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}var h0=new E(""),oT=new E("");function sT(t){return e=>{if(n0(e.value)||n0(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function i0(t){return null}function p0(t){return t!=null}function g0(t){return kn(t)?se(t):t}function m0(t){let e={};return t.forEach(i=>
9{e=i!=null?b(b({},e),i):e}),Object.keys(e).length===0?null:e}function y0(t,e){return e.map(i=>i(t))}function aT(t){return!t.validate}function v0(t){return t.map(e=>aT(e)?e:i=>e.validate(i))}function lT(t){if(!t)return null;let e=t.filter(p0);return e.length==0?null:function(i){return m0(y0(i,e))}}function _0(t){return t!=null?lT(v0(t)):null}function cT(t){if(!t)return null;let e=t.filter(p0);return e.length==0?null:function(i){let n=y0(i,e).map(g0);return Qa(n).pipe(P(m0))}}function b0(t){return t!=null?cT(v0(t)):null}function r0(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function uT(t){return t._rawValidators}function dT(t){return t._rawAsyncValidators}function vd(t){return t?Array.isArray(t)?t:[t]:[]}function ba(t,e){return Array.isArray(t)?t.includes(e):t===e}function o0(t,e){let i=vd(e);return vd(t).forEach(r=>{ba(i,r)||i.push(r)}),i}function s0(t,e){return vd(e).filter(i=>!ba(t,i))}var wa=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=_0(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=b0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},_d=class extends wa{get formDirective(){return null}get path(){return null}},jr=class extends wa{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},bd=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},fT={"[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"},ok=ie(b({},fT),{"[class.ng-submitted]":"isSubmitted"}),$e=(()=>{let e=class e extends bd{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(A(jr,2))},e.\u0275dir=de({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Ci("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[et]});let t=e;return t})();var Vr="VALID",_a="INVALID",ki="PENDING",Br="DISABLED";function hT(t){return(Da(t)?t.validators:t)||null}function pT(t){return Array.isArray(t)?_0(t):t||null}function gT(t,e){return(Da(e)?e.asyncValidators:t)||null}function mT(t){return Array.isArray(t)?b0(t):t||null}function Da(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var wd=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Vr}get invalid(){return this.status===_a}get pending(){return this.status==ki}get disabled(){return this.status===Br}get enabled(){return this.status!==Br}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(o0(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(o0(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(s0(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(s0(e,this._rawAsyncValidators))}hasValidator(e){return ba(this._rawValidators,e)}hasAsyncValidator(e){return ba(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}
9),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ki,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Br,this.errors=null,this._forEachChild(n=>{n.disable(ie(b({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ie(b({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Vr,this._forEachChild(n=>{n.enable(ie(b({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ie(b({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Vr||this.status===ki)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Br:Vr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ki,this._hasOwnPendingAsyncValidator=!0;let i=g0(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new ce,this.statusChanges=new ce}_calculateStatus(){return this._allControlsDisabled()?Br:this.errors?_a:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ki)?ki:this._anyControlsHaveStatus(_a)?_a:Vr}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Da(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=pT(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=mT(this._rawAsyncValidators)}};var w0=new E("CallSetDisabledState",{providedIn:"root",factory:()=>Cd}),Cd="always";function yT(t,e){return[...e.path,t]}function vT(t,e,i=Cd){bT(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),wT(t,e),CT(t,e),DT(t,e),_T(t,e)}function a0(t,e){t.forEach(i=>
9{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function _T(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function bT(t,e){let i=uT(t);e.validator!==null?t.setValidators(r0(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=dT(t);e.asyncValidator!==null?t.setAsyncValidators(r0(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();a0(e._rawValidators,r),a0(e._rawAsyncValidators,r)}function wT(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&D0(t,e)})}function DT(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&D0(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function D0(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function CT(t,e){let i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function ET(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function ST(t){return Object.getPrototypeOf(t.constructor)===Ur}function TT(t,e){if(!e)return null;Array.isArray(e);let i,n,r;return e.forEach(o=>{o.constructor===Ae?i=o:ST(o)?n=o:r=o}),r||n||i||null}function l0(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function c0(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var MT=class extends wd{constructor(e=null,i,n){super(hT(i),gT(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Da(i)&&(i.nonNullable||i.initialValueIsDefault)&&(c0(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){l0(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){l0(this._onDisabledChange,e)}_forEachChild(e){}_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(e){c0(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var IT={provide:jr,useExisting:ut(()=>Ve)},u0=Promise.resolve(),Ve=(()=>{let e=class e extends jr{constructor(n,r,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new MT,this._registered=!1,this.name="",this.update=new ce,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=TT(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),ET(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){vT(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){u0.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&Ln(r);u0.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?yT(n,this._parent):[n]}};e.\u0275fac=function(r){return new(r||e)(A(_d,9),A(h0,10),A(oT,10),A(Li,10),A($t,8),A(w0,8))},e.\u0275dir=de({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Me.None,"disabled","isDisabled"],model:[Me.None,"ngModel","model"],options:[Me.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ut([IT]),et,Vt]});let t=e;return t})();var OT={provide:Li,useExisting:ut(()=>$n),multi:!0},$n=(()=>{let e=class e extends Ur{writeValue(n){let r=n??"";this.setProperty("value",r)}registerOnChange(n){this.onChange=r=>{n(r==""?null:parseFloat(r))}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=de({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&D("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[Ut([OT]),et]});let t=e;return t})();var xT={provide:Li,useExisting:ut(()=>Ca),multi:!0};function C0(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function NT(t){return t.split(":")[0]}var Ca=(()=>{let e=class e extends Ur{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let r=this._getOptionId(n),o=C0(r,n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){let r=NT(n);return this._optionMap.has(r)?this._optionMap.get(r):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=de({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){r&1&&D("change",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ut([xT]),et]});let t=e;return t})(),E0=(()=>{let e=class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(C0(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
9),this._select.writeValue(this._select.value))}};e.\u0275fac=function(r){return new(r||e)(A(De),A(gt),A(Ca,9))},e.\u0275dir=de({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),AT={provide:Li,useExisting:ut(()=>S0),multi:!0};function d0(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function RT(t){return t.split(":")[0]}var S0=(()=>{let e=class e extends Ur{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let r;if(Array.isArray(n)){let o=n.map(s=>this._getOptionId(s));r=(s,a)=>{s._setSelected(o.indexOf(a.toString())>-1)}}else r=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{let o=[],s=r.selectedOptions;if(s!==void 0){let a=s;for(let l=0;l<a.length;l++){let c=a[l],f=this._getOptionValue(c.value);o.push(f)}}else{let a=r.options;for(let l=0;l<a.length;l++){let c=a[l];if(c.selected){let f=this._getOptionValue(c.value);o.push(f)}}}this.value=o,n(o)}}_registerOption(n){let r=(this._idCounter++).toString();return this._optionMap.set(r,n),r}_getOptionId(n){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,n))return r;return null}_getOptionValue(n){let r=RT(n);return this._optionMap.has(r)?this._optionMap.get(r)._value:n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=de({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){r&1&&D("change",function(a){return o.onChange(a.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ut([AT]),et]});let t=e;return t})(),T0=(()=>{let e=class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue(d0(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(d0(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(r){return new(r||e)(A(De),A(gt),A(S0,9))},e.\u0275dir=de({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function PT(t){return typeof t=="number"?t:parseFloat(t)}var FT=(()=>{let e=class e{constructor(){this._validator=i0}ngOnChanges(n){if(this.inputName in n){let r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):i0,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=de({type:e,features:[Vt]});let t=e;return t})();var kT={provide:h0,useExisting:ut(()=>Ed),multi:!0},Ed=(()=>{let e=class e extends FT{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=n=>PT(n),this.createValidator=n=>sT(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=de({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&Fn("min",o._enabled?o.min:null)},inputs:{min:"min"},features:[Ut([kT]),et]});let t=e;return t})();var LT=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var M0=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:w0,useValue:n.callSetDisabledState??Cd}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({imports:[LT]});let t=e;return t})();var fn=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["ad-taliscape"]],decls:14,vars:0,consts:[["href","https://taliscape.com/","target","_blank"],[1,"ad","ad-taliscape"],["src","/assets/ads/taliscape-logo.png","alt","",1,"mw-100"]],template:function(r,o){r&1&&(d(0,"a",0)(1,"div",1)(2,"table")(3,"tr")(4,"td")(5,"h3"),h(6,"Know where your team is?"),u()()(),d(7,"tr")(8,"td"),K(9,"img",2),u()(),d(10,"tr")(11,"td")(12,"p"),h(13,"CRM, Staffing management, time entry, billing, simplified."),u()()()()()())},styles:["a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:hover{text-decoration:none}.ad-taliscape[_ngcontent-%COMP%]{background:#32323d;color:#6569df;text-decoration:none;padding:12px;display:flex;flex-direction:column}
9.ad-taliscape[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;height:100%}p[_ngcontent-%COMP%]{color:#fff}"]});let t=e;return t})();var hn=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["support-box"]],decls:4,vars:0,consts:[["href","https://www.paypal.me/gtg489w/10","target","_blank"]],template:function(r,o){r&1&&(d(0,"p"),h(1,"Was this useful? "),d(2,"a",0),h(3,"Buy me a coffee"),u()())},styles:["p[_ngcontent-%COMP%]{margin-top:40px;font-size:14px}"]});let t=e;return t})();var I0=(()=>{let e=class e{constructor(){this.result="",this.length=32,this.includeSymbols=!0,this.includeNumbers=!0,this.includeLowercase=!0,this.includeUppercase=!0,this.includeSimilar=!0,this.includeAmbiguous=!1,this.symbols="!@#$%^&*()_-",this.numbers="0123456789",this.lowercase="abcdefhijklmnopqrstuvwxyz",this.uppercase="ABCDEFHIJKLMNOPQRSTUVWXYZ",this.similar="il1Lo0O",this.ambiguous="{}[]()/\\'\"`~,;:.<>?"}ngOnInit(){this.generatePassword()}generatePassword(){let n=(this.includeSymbols?this.symbols:"")+(this.includeNumbers?this.numbers:"")+(this.includeLowercase?this.lowercase:"")+(this.includeUppercase?this.uppercase:"")+(this.includeAmbiguous?this.ambiguous:"");if(!this.includeSimilar)for(var r=0;r<this.similar.length;r++)console.log(this.similar[r]),n=n.split(this.similar[r]).join("");for(var o="",r=0;r<this.length;r++)o+=n.charAt(Math.floor(Math.random()*n.length));this.result=o}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-password-generator"]],decls:73,vars:12,consts:[[1,"row"],[1,"col-12","col-md-8"],[1,"table","transposed"],["type","number",1,"form-control",3,"ngModelChange","change","ngModel"],[1,"checkbox"],["type","checkbox","id","password-generator-symbols",1,"form-control",3,"ngModelChange","change","ngModel"],["for","password-generator-symbols"],["type","text",1,"form-control",3,"ngModelChange","change","ngModel"],["type","checkbox","id","password-generator-lowercase",1,"form-control",3,"ngModelChange","change","ngModel"],["for","password-generator-lowercase"],["type","checkbox","id","password-generator-uppercase",1,"form-control",3,"ngModelChange","change","ngModel"],["for","password-generator-uppercase"],["type","checkbox","id","password-generator-similar",1,"form-control",3,"ngModelChange","change","ngModel"],["for","password-generator-similar"],["type","checkbox","id","password-generator-ambiguous",1,"form-control",3,"ngModelChange","change","ngModel"],["for","password-generator-ambiguous"],[1,"result"],[1,"input-group"],["type","text","onclick","this.select()",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-primary","input-group-append",3,"click"],[1,"fas","fa-sync"],[1,"col-12","col-md-4","ad-col"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"div",1)(2,"h1"),h(3,"Password Generator"),u(),d(4,"p"),h(5,"We created a simple password generator to help you randomize a series of characters. All str
9ings are generated on your device and not sent over the internet to protect your security."),u(),d(6,"table",2)(7,"tr"),K(8,"td"),d(9,"th"),h(10,"Length"),u(),d(11,"td")(12,"input",3),q("ngModelChange",function(a){return Q(o.length,a)||(o.length=a),a}),D("change",function(){return o.generatePassword()}),u()()(),d(13,"tr")(14,"td")(15,"div",4)(16,"input",5),q("ngModelChange",function(a){return Q(o.includeSymbols,a)||(o.includeSymbols=a),a}),D("change",function(){return o.generatePassword()}),u(),d(17,"label",6),h(18,"\xA0"),u()()(),d(19,"th"),h(20,"Symbols"),u(),d(21,"td")(22,"input",7),q("ngModelChange",function(a){return Q(o.symbols,a)||(o.symbols=a),a}),D("change",function(){return o.generatePassword()}),u()()(),d(23,"tr")(24,"td")(25,"div",4)(26,"input",8),q("ngModelChange",function(a){return Q(o.includeLowercase,a)||(o.includeLowercase=a),a}),D("change",function(){return o.generatePassword()}),u(),d(27,"label",9),h(28,"\xA0"),u()()(),d(29,"th"),h(30,"Lowercase"),u(),d(31,"td")(32,"input",7),q("ngModelChange",function(a){return Q(o.lowercase,a)||(o.lowercase=a),a}),D("change",function(){return o.generatePassword()}),u()()(),d(33,"tr")(34,"td")(35,"div",4)(36,"input",10),q("ngModelChange",function(a){return Q(o.includeUppercase,a)||(o.includeUppercase=a),a}),D("change",function(){return o.generatePassword()}),u(),d(37,"label",11),h(38,"\xA0"),u()()(),d(39,"th"),h(40,"Uppercase"),u(),d(41,"td")(42,"input",7),q("ngModelChange",function(a){return Q(o.uppercase,a)||(o.uppercase=a),a}),D("change",function(){return o.generatePassword()}),u()()(),d(43,"tr")(44,"td")(45,"div",4)(46,"input",12),q("ngModelChange",function(a){return Q(o.includeSimilar,a)||(o.includeSimilar=a),a}),D("change",function(){return o.generatePassword()}),u(),d(47,"label",13),h(48,"\xA0"),u()()(),d(49,"th"),h(50,"Similar"),u(),d(51,"td")(52,"input",7),q("ngModelChange",function(a){return Q(o.similar,a)||(o.similar=a),a}),D("change",function(){return o.generatePassword()}),u()()(),d(53,"tr")(54,"td")(55,"div",4)(56,"input",14),q("ngModelChange",function(a){return Q(o.includeAmbiguous,a)||(o.includeAmbiguous=a),a}),D("change",function(){return o.generatePassword()}),u(),d(57,"label",15),h(58,"\xA0"),u()()(),d(59,"th"),h(60,"Ambiguous"),u(),d(61,"td")(62,"input",7),q("ngModelChange",function(a){return Q(o.ambiguous,a)||(o.ambiguous=a),a}),D("change",function(){return o.generatePassword()}),u()()()(),d(63,"div",16)(64,"h5"),h(65,"Result"),u(),d(66,"div",17)(67,"input",18),q("ngModelChange",function(a){return Q(o.result,a)||(o.result=a),a}),u(),d(68,"button",19),D("click",function(){return o.generatePassword()}),K(69,"i",20),u()()()(),d(70,"div",21),K(71,"ad-taliscape")(72,"support-box"),u()()),r&2&&(v(12),z("ngModel",o.length),v(4),z("ngModel",o.includeSymbols),v(6),z("ngModel",o.symbols),v(4),z("ngModel",o.includeLowercase),v(6),z("ngModel",o.lowercase),v(4),z("ngModel",o.includeUppercase),v(6),z("ngModel",o.uppercase),v(4),z("ngModel",o.includeSimilar),v(6),z("ngModel",o.similar),v(4),z("ngModel",o.includeAmbiguous),v(6),z("ngModel",o.ambiguous),v(5),z("ngModel",o.result))},dependencies:[Ae,$n,Dd,$e,Ve,fn,hn],styles:[".result[_ngcontent-%COMP%]{background:#efefef;padding:20px}"]});let t=e;return t})();var O0=(()=>{let e=class e{constructor(){}ngOnInit(){}geocode(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-geocode"]],decls:13,vars:0,consts:[[1,"row"],[1,"col-12","col-md-8"],[1,"result"],["href","mailto:[email protected]"],[1,"col-12","col-md-4","ad-col"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),h(4,"Geocoder"),u(),d(5,"p"),h(6,"Our geocoder is currently unavailable. Please let us know if you need this service and we'll be happy to work with you directly. You can email us at "),d(7,"a",3),h(8,"[email protected]"),u(),h(9,"."),u()()(),d(10,"div",4),K(11,"ad-taliscape")(12,"support-box"),u()())},dependencies:[fn,hn]});let t=e;return t})();var Ta=(()=>{let e=class e{constructor(){}trimAndStrip(n,r){for(var o="",s=0;s<n.length;s++)r.indexOf(n[s])>-1&&(o+=n[s]);return o}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var x0=t=>({"background-color":t}),N0=(()=>{let e=class e{constructor(n){this.util=n,this.rgbValue="rgb(255, 255, 255)",this.hexValue="#FFFFFF"}ngOnInit(){}colorChangeFromRGB(){var n=this.util.trimAndStrip(this.rgbValue.toLowerCase().split("RGBA").join("").split("RGB").join(""),"0123456789,."),[r,o,s,a]=n.split(",");if(!(!r||!o||!s)){var l="#"+("0"+parseInt(r,10).toString(16)).slice(-2)+("0"+parseInt(o,10).toString(16)).slice(-2)+("0"+parseInt(s,10).toString(16)).slice(-2);a&&(l+=("0"+Math.ceil(100*255*parseFloat(a)/100).toString(16)).slice(-2)),this.hexValue=l}}colorChangeFromHex(){var n=this.util.trimAndStrip(this.hexValue.toUpperCase(),"0123456789ABCDEF");if(n.length==2){var r=parseInt(n,16);this.rgbValue="rgb("+r+", "+r+", "+r+")"}else if(n.length==3)this.rgbValue="rgb("+parseInt(n[0]+n[0],16)+", "+parseInt(n[1]+n[1],16)+", "+parseInt(n[2]+n[2],16)+")";else if(n.length==4){var o=parseInt(n[3]+n[3],16)/255;this.rgbValue="rgba("+parseInt(n[0]+n[0],16)+", "+parseInt(n[1]+n[1],16)+", "+parseInt(n[2]+n[2],16)+", "+(o>=1?"1.0":""+o).substr(0,4)+")"}else if(n.length==6)this.rgbValue="rgb("+parseInt(n.substr(0,2),16)+", "+parseInt(n.substr(2,2),16)+", "+parseInt(n.substr(4,2),16)+")";else if(n.length==8){var o=parseInt(n.substr(6,2),16)/255;this.rgbValue="rgb("+parseInt(n.substr(0,2),16)+", "+parseInt(n.substr(2,2),16)+", "+parseInt(n.substr(4,2),16)+", "+(o>=1?"1.0":""+o).substr(0,4)+")"}}};e.\u0275fac=function(r){return new(r||e)(A(Ta))},e.\u0275cmp=L({type:e,selectors:[["app-color-conversion"]],decls:24,vars:8,consts:[[1,"row"],[1,"col-12","col-md-8"],[1,"table","transposed"],[1,"input-group"],["type","text",1,"form-control",3,"ngModelChange","change","keyup","ngModel"],[1,"color-swatch",3,"ngStyle"],[1,"col-12","col-md-4","ad-col"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"div",1)(2,"h1"),h(3,"Color Conversion"),u(),d(4,"p"),h(5,"Use the below color converter to quickly translate between different c
9olor values."),u(),d(6,"table",2)(7,"tr")(8,"th"),h(9,"RGB"),u(),d(10,"td")(11,"div",3)(12,"input",4),q("ngModelChange",function(a){return Q(o.rgbValue,a)||(o.rgbValue=a),a}),D("change",function(){return o.colorChangeFromRGB()})("keyup",function(){return o.colorChangeFromRGB()}),u(),K(13,"div",5),u()()(),d(14,"tr")(15,"th"),h(16,"Hex"),u(),d(17,"td")(18,"div",3)(19,"input",4),q("ngModelChange",function(a){return Q(o.hexValue,a)||(o.hexValue=a),a}),D("change",function(){return o.colorChangeFromHex()})("keyup",function(){return o.colorChangeFromHex()}),u(),K(20,"div",5),u()()()()(),d(21,"div",6),K(22,"ad-taliscape")(23,"support-box"),u()()),r&2&&(v(12),z("ngModel",o.rgbValue),v(),O("ngStyle",He(4,x0,o.hexValue)),v(6),z("ngModel",o.hexValue),v(),O("ngStyle",He(6,x0,o.hexValue)))},dependencies:[Us,Ae,$e,Ve,fn,hn],styles:[".color-swatch[_ngcontent-%COMP%]{width:38px;height:38px;border:1px solid #ced4da;border-left:0px}"]});let t=e;return t})();var BT=t=>({flipped:t}),Ma=t=>({active:t}),Ia=t=>({"background-image":t});function jT(t,e){if(t&1&&(d(0,"div",23),h(1),u()),t&2){let i=ne();v(),qe(i.error)}}function UT(t,e){if(t&1){let i=ar();Ms(0),d(1,"tr",24)(2,"td")(3,"div",25)(4,"a",26),D("click",function(){let r=ve(i).$implicit;return _e(r.typeFront="text")}),h(5,"Text"),u(),d(6,"a",26),D("click",function(){let r=ve(i).$implicit;return _e(r.typeFront="image")}),h(7,"Image"),u()()(),d(8,"td")(9,"div",25)(10,"a",26),D("click",function(){let r=ve(i).$implicit;return _e(r.typeBack="text")}),h(11,"Text"),u(),d(12,"a",26),D("click",function(){let r=ve(i).$implicit;return _e(r.typeBack="image")}),h(13,"Image"),u()()()(),d(14,"tr",27)(15,"td",28),D("blur",function(r){let o=ve(i).$implicit,s=ne();return _e(s.onBlur(r,o))})("focus",function(r){ve(i);let o=ne();return _e(o.flashCardFocused(r))}),u(),d(16,"td",29)(17,"div",30)(18,"div",31),h(19,"\xA0"),u(),d(20,"div",32)(21,"div",4)(22,"input",33),q("ngModelChange",function(r){let o=ve(i).$implicit;return Q(o.imageUrlFront,r)||(o.imageUrlFront=r),_e(r)}),u()(),h(23," Or "),d(24,"div",21)(25,"button",7),D("click",function(){let r=ve(i).index,o=ne();return _e(o.getFlashCardImage("front",r))}),h(26,"Browse"),u(),d(27,"input",34),D("change",function(r){let o=ve(i).$implicit,s=ne();return _e(s.setFlashCardImage(r,o,"front"))}),u()()()()(),d(28,"td",35),D("blur",function(r){let o=ve(i).$implicit,s=ne();return _e(s.onBlur(r,o))})("focus",function(r){ve(i);let o=ne();return _e(o.flashCardFocused(r))}),u(),d(29,"td",29)(30,"div",30)(31,"div",31),h(32,"\xA0"),u(),d(33,"div",32)(34,"div",4)(35,"input",33),q("ngModelChange",function(r){let o=ve(i).$implicit;return Q(o.imageUrlBack,r)||(o.imageUrlBack=r),_e(r)}),u()(),h(36," Or "),d(37,"div",21)(38,"button",7),D("click",function(){let r=ve(i).index,o=ne();return _e(o.getFlashCardImage("back",r))}),h(39,"Browse"),u(),d(40,"input",34),D("change",function(r){let o=ve(i).$implicit,s=ne();return _e(s.setFlashCardImage(r,o,"back"))}),u()()()()()(),Is()}if(t&2){let i=e.$implicit,n=e.index,r=ne();v(4),O("ngClass",He(18,Ma,i.typeFront=="text")),v(2),O("ngClass",He(20,Ma,i.typeFront=="image")),v(4),O("ngClass",He(22,Ma,i.typeBack=="text")),v(2),O("ngClass",He(24,Ma,i.typeBack=="image")),v(3),O("hidden",i.typeFront!="text")("innerHtml",i.front,An),v(),O("hidden",i.typeFront!="image"),v(2),O("ngStyle",He(26,Ia,"url("+r.getCardBackgroundImage(i,"front")+")")),v(4),z("ngModel",i.imageUrlFront),v(5),Os("id","flashCardSetImageButton_front_",n,""),v(),O("hidden",i.typeBack!="text")("innerHtml",i.back,An),v(),O("hidden",i.typeBack!="image"),v(2),O("ngStyle",He(28,Ia,"url("+r.getCardBackgroundImage(i,"back")+")")),v(4),z("ngModel",i.imageUrlBack),v(5),Os("id","flashCardSetImageButton_back_",n,"")}}function HT(t,e){if(t&1&&K(0,"div",36),t&2){let i=ne();O("innerHtml",i.cards[i.testingIndex].front,An)}}function $T(t,e){if(t&1&&(d(0,"div",31),h(1,"\xA0"),u()),t&2){let i=ne();O("ngStyle",He(1,Ia,"url("+i.getCardBackgroundImage(i.cards[i.testingIndex],"front")+")"))}}function GT(t,e){if(t&1&&K(0,"div",36),t&2){let i=ne();O("innerHtml",i.cards[i.testingIndex].back,An)}}function WT(t,e){if(t&1&&(d(0,"div",31),h(1,"\xA0"),u()),t&2){let i=ne();
9O("ngStyle",He(1,Ia,"url("+i.getCardBackgroundImage(i.cards[i.testingIndex],"back")+")"))}}var A0=(()=>{let e=class e{constructor(){this.filename="Flashcards",this.cards=[],this.testing=!1,this.testingIndex=0,this.flipped=!1}ngOnInit(){this.addCard()}loadFlashCards(){$("#buttonFlashCardsLoad").click()}addCard(){this.cards.push({front:"Front",back:"Back",typeFront:"text",typeBack:"text",imageUrlFront:"",imageUrlBack:"",imageLocalFront:"",imageLocalBack:""})}flashCardFocused(n){var r=n.target,o,s;document.body.createTextRange?(o=document.body.createTextRange(),o.moveToElementText(r),o.select()):window.getSelection&&(s=window.getSelection(),s&&(o=document.createRange(),o.selectNodeContents(r),s.removeAllRanges(),s.addRange(o)))}onBlur(n,r){r.front=n.target.innerHTML}getFlashCardImage(n,r){$("#flashCardSetImageButton_"+n+"_"+r).click()}setFlashCardImage(n,r,o){let s=new FileReader;if(n.target.files&&n.target.files.length>0){let a=n.target.files[0];s.readAsDataURL(a),s.onload=()=>{let l=""+s.result;l.substr(0,10)=="data:image"&&(o=="front"?r.imageLocalFront=l:r.imageLocalBack=l)}}}getCardBackgroundImage(n,r){return r=="front"?n.imageLocalFront?n.imageLocalFront:n.imageUrlFront?n.imageUrlFront:"none":n.imageLocalBack?n.imageLocalBack:n.imageUrlBack?n.imageUrlBack:"none"}download(n,r,o){var s=new Blob([n],{type:o}),a=document.createElement("a"),l=URL.createObjectURL(s);a.href=l,a.download=r,document.body.appendChild(a),a.click(),setTimeout(function(){document.body.removeChild(a),window.URL.revokeObjectURL(l)},0)}saveFlashCards(){this.download(JSON.stringify(this.cards),this.filename+".json","json")}importFlashCards(n){this.error=null;try{let r=new FileReader;if(n.target.files&&n.target.files.length>0){let o=n.target.files[0];r.readAsText(o),r.onload=()=>{let s=""+r.result;try{this.cards=JSON.parse(s)}catch{this.error="There was an error with that file you tried to open"}}}}catch{this.error="There was an error reading the file you selected"}}runTest(){this.testing=!0,this.flipped?setTimeout(()=>{this.randomTestIndex()},600):this.randomTestIndex(),this.flipped=!1}randomTestIndex(){do var n=Math.floor(Math.random()*this.cards.length);while(this.cards.length>1&&n==this.testingIndex);this.testingIndex=n}stopTest(){this.testing=!1,this.flipped=!1}flip(){this.flipped=!this.flipped}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-flash-cards"]],decls:46,vars:12,consts:[[1,"row"],[1,"col-12","col-md-8"],[1,"actions"],[1,"form-group"],[1,"input-group"],["type","text","onclick","this.select()",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-primary","input-group-append",3,"click"],[1,"btn-flash-card-set-image",3,"click"],["type","file","id","buttonFlashCardsLoad",2,"display","none",3,"change"],["class","error",4,"ngIf"],[3,"hidden"],[1,"flash-cards"],[4,"ngFor","ngForOf"],[1,"mt-4","text-center","actions"],[1,"btn","btn-secondary",3,"click"],[1,"btn","btn-primary",3,"click"],[1,"flash-card-test",3,"ngClass"],[1,"flash-card","front"],["class","flash-card-text",3,"innerHtml",4,"ngIf"],["class","flash-card-image",3,"ngStyle",4,"ngIf"],[1,"flash-card","back"],[1,"text-center"],[1,"col-12","col-md-4","ad-col"],[1,"error"],[1,"flash-card-actions"],[1,"flash-card-toggle"],[3,"click","ngClass"],[1,"flash-card","flash-card-edit"],["contenteditable","true",1,"flash-card-front",3,"blur","focus","hidden","innerHtml"],[1,"flash-card-front",3,"hidden"],[1,"flash-card-image-edit"],[1,"flash-card-image",3,"ngStyle"],[1,"flash-card-image-url"],["type","text","placeholder","URL (e.g., http://...)",1,"form-control",3,"ngModelChange","ngModel"],["type","file","accept","image/*",2,"display","none",3,"change","id"],["contenteditable","true",1,"flash-card-back",3,"blur","focus","hidden","innerHtml"],[1,"flash-card-text",3,"innerHtml"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"div",1)(2,"h1"),h(3,"Flash Cards"),u(),d(4,"p"),h(5,"A simple way to create flash cards and test yourself."),u(),d(6,"div",2)(7,"div",3)(8,"label"),h(9,"Save as..."),u(),d(10,"div",4)(11,"input",5),q("ngModelChange",function(a){return Q(o.filename,a)||(o.filename=a),a}),u(),d(12,"button",6),D("click",function(){return o.saveFlashCards()}),h(13,"Save Flash Cards"),u()()(),d(14,"div")(15,"button",7),D("click",function(){return o.loadFlashCards()}),h(16,"Load flashcards"),u(),d(17,"input",8),D("change",function(a){return o.importFlashCards(a)}
9),u()(),be(18,jT,2,1,"div",9),u(),d(19,"div",10)(20,"table",11),be(21,UT,41,30,"ng-container",12),u(),d(22,"div",13)(23,"button",14),D("click",function(){return o.addCard()}),h(24,"Add Card"),u(),d(25,"button",15),D("click",function(){return o.runTest()}),h(26,"Test Yourself"),u()()(),d(27,"div",10)(28,"div",16)(29,"div",17),be(30,HT,1,1,"div",18)(31,$T,2,3,"div",19),u(),d(32,"div",20),be(33,GT,1,1,"div",18)(34,WT,2,3,"div",19),u()(),d(35,"div",21)(36,"button",14),D("click",function(){return o.flip()}),h(37,"Flip"),u()(),d(38,"div",13)(39,"button",14),D("click",function(){return o.stopTest()}),h(40,"Done"),u(),d(41,"button",15),D("click",function(){return o.runTest()}),h(42,"Next"),u()()()(),d(43,"div",22),K(44,"ad-taliscape")(45,"support-box"),u()()),r&2&&(v(11),z("ngModel",o.filename),v(7),O("ngIf",o.error),v(),O("hidden",o.testing),v(2),O("ngForOf",o.cards),v(6),O("hidden",!o.testing),v(),O("ngClass",He(10,BT,o.flipped)),v(2),O("ngIf",o.cards[o.testingIndex].typeFront=="text"),v(),O("ngIf",o.cards[o.testingIndex].typeFront=="image"),v(2),O("ngIf",o.cards[o.testingIndex].typeBack=="text"),v(),O("ngIf",o.cards[o.testingIndex].typeBack=="image"))},dependencies:[jg,js,tt,Us,Ae,$e,Ve,fn,hn],styles:[".actions[_ngcontent-%COMP%]{background:#efefef;padding:20px;margin-bottom:20px}.flash-cards[_ngcontent-%COMP%]{width:100%}.flash-cards[_ngcontent-%COMP%]   .flash-card[_ngcontent-%COMP%]{height:300px;border:1px solid rgba(200,200,200,.4)}.flash-cards[_ngcontent-%COMP%]   .flash-card[_ngcontent-%COMP%]   .flash-card-front[_ngcontent-%COMP%], .flash-cards[_ngcontent-%COMP%]   .flash-card[_ngcontent-%COMP%]   .flash-card-back[_ngcontent-%COMP%]{width:50%;height:300px;padding:12px;text-align:center}.flash-cards[_ngcontent-%COMP%]   .flash-card[_ngcontent-%COMP%]   .flash-card-front[_ngcontent-%COMP%]{border-right:1px solid rgba(200,200,200,.4)}.flash-card-image-edit[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-content:center}.flash-card-image-edit[_ngcontent-%COMP%]   .flash-card-image[_ngcontent-%COMP%]{flex-grow:1;background:#efefef;background-size:contain;background-repeat:no-repeat;background-position:center center;width:100%;margin-bottom:8px}.btn-flash-card-set-image[_ngcontent-%COMP%]{background:transparent;border:0px;color:#eb8848;cursor:pointer}.btn-flash-card-set-image[_ngcontent-%COMP%]:hover{text-decoration:underline}.flash-card-actions[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding-top:20px;vertical-align:top}.flash-card-actions[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .flash-card-toggle[_ngcontent-%COMP%]{display:flex;width:100%;padding:0}.flash-card-actions[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .flash-card-toggle[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;flex-grow:1;text-align:center;cursor:pointer}.flash-card-actions[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .flash-card-toggle[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]{color:#eb8848;border-bottom:2px solid rgb(235,136,72)}.flash-card-test[_ngcontent-%COMP%]{max-width:400px;height:340px;position:relative;margin:auto}.flash-card-test[_ngcontent-%COMP%]   .flash-card[_ngcontent-%COMP%]{height:300px;width:100%;position:absolute;margin:auto;border:1px solid rgba(200,200,200,.4)}.flash-card-test[_ngcontent-%COMP%]   .flash-card[_ngcontent-%COMP%]   .flash-card-text[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.flash-card-test[_ngcontent-%COMP%]   .flash-card.front[_ngcontent-%COMP%], .flash-card-test[_ngcontent-%COMP%]   .flash-card.back[_ngcontent-%COMP%]{background:#fff;backface-visibility:hidden;transition:all .6s}.flash-card-test[_ngcontent-%COMP%]   .flash-card.front[_ngcontent-%COMP%]{z-index:1;transform:rotateY(0)}.flash-card-test[_ngcontent-%COMP%]   .flash-card.back[_ngcontent-%COMP%]{transform:rotateY(180deg)}.flash-card-test[_ngcontent-%COMP%]   .flash-card-image[_ngcontent-%COMP%]{height:100%;background-size:contain;background-position:center center;background-repeat:no-repeat}.flash-card-test.flipped[_ngcontent-%COMP%]   .flash-card.front[_ngcontent-%COMP%]{transform:rotateY(180deg)}.flash-card-test.flipped[_ngcontent-%COMP%]   .flash-card.back[_ngcontent-%COMP%]{transform:rotateY(0)}"]});let t=e;return t})();var R0=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-favicon-generator"]],decls:2,vars:0,template:function(r,o){r&1&&(d(0,"p"),h(1,` favicon-generator works!
10`),u())}});let t=e;return t})();function zT(t,e){if(t&1&&(d(0,"div",7),h(1),u()),t&2){let i=ne();v(),qe(i.error)}}var P0=(()=>{let e=class e{constructor(){this.format={headerFields:[{title:"deviceId",type:"string",length:13},{title:"location",type:"string",length:1},{title:"logStart",type:"string",length:12},{title:"logStartMisc",type:"hex",length:16},{title:"logStartTimestampSeconds",type:"number",length:1},{title:"logStartTimestampMinutes",type:"number",length:1}
10,{title:"logStartTimestampHours",type:"number",length:1},{title:"logStartTimestampDay",type:"number",length:1},{title:"logStartTimestampMonth",type:"number",length:1},{title:"logStartTimestampYear",type:"number",length:1}],entryFields:[{title:"entryHeader",type:"hex",length:2},{title:"entryStartTimestampSeconds",type:"number",length:1},{title:"entryStartTimestampMinutes",type:"number",length:1},{title:"entryStartTimestampHours",type:"number",length:1},{title:"entryStartTimestampDay",type:"number",length:1},{title:"entryStartTimestampMonth",type:"number",length:1},{title:"entryStartTimestampYear",type:"number",length:1},{title:"plethValues",type:"number",length:75},{title:"entryFooter",type:"hex",length:2}]}}ngOnInit(){}loadBinaryFile(){$("#buttonBinaryFileLoad").click()}stringToByteArray(n){for(var r=[],o=0;o<n.length;o++)r[o]=n.charCodeAt(o);return r}bytesToString(n){var r=new Uint8Array(n);return String.fromCharCode.apply(null,r)}byteToHex(n){return("0"+(n&255).toString(16)).slice(-2).toUpperCase()}processBinaryFile(n){this.error=null;try{let r=new FileReader;if(n.target.files&&n.target.files.length>0){let o=n.target.files[0];this.filename=o.name,r.readAsArrayBuffer(o),r.onload=()=>{var s=r.result;if(s){var a=0,l={entries:[]};this.format.headerFields.forEach(m=>{if(s){var _=s.slice(a,a+m.length),C=_;m.type=="string"?C=this.bytesToString(_):m.type=="hex"?(C="",new Uint8Array(_).forEach(M=>{C+=this.byteToHex(M)})):m.type=="number"&&(C=new Uint8Array(_)[0]),l[m.title]=C,a+=m.length}});for(var c=s.slice(a),f=new Uint8Array(c),p=f.length+a;a<p;){var g={};this.format.entryFields.forEach(m=>{if(s){var _=s.slice(a,a+m.length),C=_;m.type=="string"?C=this.bytesToString(_):m.type=="hex"?(C="",new Uint8Array(_).forEach(M=>{C+=this.byteToHex(M)})):m.type=="number"&&(C=new Uint8Array(_)[0]),g[m.title]=C,a+=m.length}}),l.entries.push(g)}this.result=l,this.outputCSV()}}}}catch{this.error="There was an error reading the file you selected"}}outputCSV(){let n="data:text/csv;charset=utf-8,"+this.format.headerFields.map(s=>s.title).join(",")+`
11`+this.format.headerFields.map(s=>this.result[s.title]).join(",")+`
12
13`+this.format.entryFields.map(s=>s.title).join(",")+`
14`+this.result.entries.map(s=>this.format.entryFields.map(a=>s[a.title]).join(",")).join(`
15`);var r=encodeURI(n),o=document.createElement("a");o.setAttribute("href",r),o.setAttribute("download",`${this.filename}.csv`),document.body.appendChild(o),o.click(),setTimeout(()=>{document.body.removeChild(o)},100)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-binary-extractor"]],decls:13,vars:2,consts:[[1,"row"],[1,"col-12","col-md-8"],[1,"actions"],[1,"btn","btn-primary",3,"click"],["type","file","id","buttonBinaryFileLoad",2,"display","none",3,"change"],["rows","20",2,"width","100%",3,"ngModelChange","ngModel"],["class","error",4,"ngIf"],[1,"error"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"div",1)(2,"h1"),h(3,"Binary Extractor"),u(),d(4,"p"),h(5,"Define a binary file structure and extract the data into a digestable format"),u(),d(6,"div",2)(7,"div")(8,"button",3),D("click",function(){return o.loadBinaryFile()}),h(9,"Load Binary File"),u(),d(10,"input",4),D("change",function(a){return o.processBinaryFile(a)}),u()(),d(11,"textarea",5),q("ngModelChange",function(a){return Q(o.result,a)||(o.result=a),a}),u(),be(12,zT,2,1,"div",6),u()()()),r&2&&(v(11),z("ngModel",o.result),v(),O("ngIf",o.error))},dependencies:[tt,Ae,$e,Ve]});let t=e;return t})();var Oa=(()=>{let e=class e{constructor(n){this.http=n}getNotices(){return this.http.get("/3rdpartylicenses.txt",{responseType:"text"})}};e.\u0275fac=function(r){return new(r||e)(T(Bn))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function YT(t,e){t&1&&(d(0,"div"),h(1,"loading..."),u())}function QT(t,e){if(t&1&&(d(0,"div"),K(1,"pre",2),u()),t&2){let i=ne();v(),O("innerHtml",i.notices,An)}}var F0=(()=>{let e=class e{constructor(n){this.api=n,this.loading=!1,this.notices=""}ngOnInit(){this.load()}load(){this.loading=!0,this.error=void 0,this.api.getNotices().subscribe(n=>{this.notices=n,this.loading=!1},n=>{this.error="There was an error loading the 3rd party notices",this.loading=!1})}};e.\u0275fac=function(r){return new(r||e)(A(Oa))},e.\u0275cmp=L({type:e,selectors:[["app-notices"]],decls:6,vars:2,consts:[[1,"container","document"],[4,"ngIf"],[3,"innerHtml"]],template:function(r,o){r&1&&(d(0,"section")(1,"div",0)(2,"h1"),h(3,"3rd Party Notices"),u(),be(4,YT,2,0,"div",1)(5,QT,2,1,"div",1),u()()),r&2&&(v(4),O("ngIf",o.loading),v(),O("ngIf",!o.loading))},dependencies:[tt]});let t=e;return t})();var k0=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-privacy"]],decls:137,vars:0,consts:[["href","mailto:[email protected]"]],template:function(r,o){r&1&&(d(0,"h1"),h(1,"Privacy Policy"),u(),d(2,"p"),h(3,"This Policy was last updated on November 13, 2018."),u(),d(4,"h2"),h(5,"General Information"),u(),d(6,"p"),h(7,`This policy ("Privacy Policy") explains what information Torch Products, LLC and its subsidiaries ("Torch Products" or "Taliscape") or our service providers collect from or about users of the Torch Products websites, including any content Torch Products may provide through the websites (collectively, the "Torch Products Websites"), the Torch Products services, including but not limited to Taliscape or any other services that Tor
15ch Products may provide through the Torch Products Websites (collectively, the "Service Offerings"), our mobile applications, and other interactions (e.g., customer service inquiries, user conferences, etc.), and states our practices regarding such information. If you are outside the European Economic Area (EEA), by accessing files, browsing, or otherwise using the Torch Products Websites, you have agreed to the use of your data as described in this Privacy Policy. If you are in the EEA, by accessing the Torch Products Websites, you have agreed to the use of my data as described in this Privacy Policy. It also describes the choices regarding use, access and collection of personal information as well as your rights to your personal data that we process. If you do not agree with the terms, please do not access or use the Torch Products Websites, Service Offerings, mobile applications, or any other aspect of Torch Products's business.`),u(),d(8,"h2"),h(9,"Scope"),u(),d(10,"p"),h(11,"This Privacy Policy applies to personal information and other information Torch Products or its service providers collect from or about the users of the Torch Products Websites, Service Offerings, our mobile applications and other interactions (e.g., customer service inquiries, user conferences, etc.). Unless otherwise specified below, this Privacy Policy does not apply to any other products or services or to information collected in any other way (whether online or offline) or for any other purpose."),u(),d(12,"h2"),h(13,"Personal Information of our Customers' Clients and Employees"),u(),d(14,"p"),h(15,'Torch Products collects information under the direction of our customers, and has no direct relationship with the individuals whose personal data it processes on behalf of such customers. When we provide services to our customers, in some instances we process personal information about their clients or employees ("Client Information") on their behalf. In these situations, it is our customers rather than we who decide the reasons for which the Client Information will be processed.'),u(),d(16,"p"),h(17,"If you are a client or employee of one of our customers and would no longer like to be contacted by one of our customers that use our service or for details of how the Client Information will be used and protected, and details of how to access or correct the information, please refer to the privacy statement of the Torch Products customer to which you submitted your personal information. We may transfer personal information to companies that help us provide our service. Transfers to subsequent third parties are covered by the service agreements with our customers."),u(),d(18,"p"),h(19,"Torch Products acknowledges that you have the right to access your personal information. An individual who seeks access, or who seeks to correct, amend, or delete data should directly query Torch Products's customer. If requested to remove data, we will respond within the applicable legal timeframe."),u(),d(20,"p"),h(21,"We will retain personal data we process on behalf of our customers for as long as needed to provide services to our customers at their instruction. Torch Products may also retain this personal information as necessary to comply with our legal obligations, resolve disputes, and enforce our agreements."),u(),d(22,"h2"),h(23,"Personal Information"),u(),d(24,"p"),h(25,'For purposes of this Privacy Policy, "personal information" means information that can be used to personally identify you, such as your name, address, telephone number, e-mail address, user IDs and passwords, online identifiers, device information, billing and transaction information, credit card or other financial information, contact preferences, and similar information.'),u(),d(26,"h2"),h(27,"Personal Information We Collect"),u(),d(28,"p"),h(29,"Torch Products or our service providers may collect, store, and process personal information and other information from or about you when you:"),u(),d(30,"ul")(31,"li"),h(32,"use Torch Products Websites or Service Offerings to order products or services;"),u(),d(33,"li"),h(34,"register products;"),u(),d(35,"li"),h(36,"request information;"),u(),d(37,"li"),h(38,"subscribe to marketing or support materials;"),u(),d(39,"li"),h(40,'download proprietary Torch Products software, third party software, or open source software ("Software") from Torch Products Websites;'),u(),d(41,"li"),h(42,"enter a contest;"),u(),d(43,"li"),h(44,"respond to promotional campaigns; and"),u(),d(45,"li"),h(46,"register to a secure extranet site to obtain access to Software or Service Offer
15ing and any associated information, support, and training."),u()(),d(47,"p"),h(48,"We also may collect additional information that is related to you such as your computer's operating system, browser, and your use of and activities on our websites."),u(),d(49,"h2"),h(50,"How We Use the Information We Collect"),u(),d(51,"p"),h(52,"Torch Products or our service providers may use the personal information and other information we collect from you in various ways including in connection with: providing service and support to you; billing you for Service Offerings; verifying your identity; carrying out our obligations and enforcing our rights arising from any contracts entered into between you and Torch Products; communicating information about Torch Products Websites, Service Offerings and our mobile applications, and other interactions (e.g., customer service inquiries, user conferences, etc.); improving our Torch Products Websites, Services Offerings and our mobile applications, and other interactions (e.g., customer service inquiries, user conferences, etc.); contacting you to complete surveys that we use for marketing or quality assurance purposes; sending you promotional information; complying with Service Offering obligations as well as in any other way we describe when you provide information; combating fraud, crime and as otherwise required or permitted by law; and for any other purpose with your consent."),u(),d(53,"p"),h(54,"To assist us with the uses described in this Privacy Policy, information we or our service providers have collected from or about you through Torch Products Websites, Torch Products Service Offerings and our mobile applications, and other interactions (e.g., customer service inquiries, user conferences, etc.), including about your use thereof, may be combined with or enhanced by other information from or about you that we have obtained from other online or offline sources, including from our service providers or business partners."),u(),d(55,"p"),h(56,"We may send you push notifications from time-to-time in order to update you about any events or promotions that we may be running. If you no longer wish to receive these types of communications, you may turn them off at the device level by opting out. To ensure you receive proper notifications, we will need to collect certain information about your device such as operating system and user identification information."),u(),d(57,"h2"),h(58,"Collection of Information Using Cookies and Other Tools"),u(),d(59,"p"),h(60,"Torch Products may collect and/or log your Internet Protocol address, Internet domain name, the web browser and operating system used to access Torch Products Websites, Service Offerings, our mobile applications or other interactions (e.g., customer service inquiries, user conferences, etc.), the files visited, the time spent in each file, and the time and date of each visit or clickstream data. Torch Products may collect this information automatically as you browse via the use of log files and web beacons to analyze trends in the aggregate and administer the Torch Products Websites and Service Offerings. Torch Products and its partners use cookies or similar technologies to analyze trends, administer the website, track users' movements around the website, and to gather demographic information about our user base as a whole. You can control the use of cookies at the individual browser level, but if you choose to disable cookies, it may limit your use of certain features or functions on our website or service."),u(),d(61,"p"),h(62,"We may also use cookies and other electronic tools placed by a third-party service provider to measure the effectiveness of our advertising and other information and help us understand what product information is of most interest to our customers and what kinds of advertising offers our customers like to see. Although the service provider logs the information coming from Torch Products Websites or Service Offerings on our behalf, Torch Products controls how that data may and may not be used. You can control the use of cookies at the individual browser level, but if you choose to disable cookies, it may limit your use of certain features or functions on our website or service."),u(),d(63,"p"),h(64,"If you wish to opt out of interest-based advertising, please contact us at "),d(65,"a",0),h(66,"[email protected]"),u(),h(67," or follow the opt-out instructions in the email."),u(),d(68,"p"),h(69,"We use mobile analytics software to allow us to better understand the functionality of our mobile applications on your phone. This software may record information such as how often you use the application, the events that occur within the application, aggregated usage, performance data, and where the application was downloaded from. We do not link the information we store within the analytics software to any personal information you submit within the mobile application."),u(),d(70,"h2"),h(71,"Sharing Your Information"),u(),d(72,"p"),h(73,"Torch Products may 
15share non-personal information (e.g., anonymous, aggregated data) without restriction. Torch Products may share your personal information as described in this Privacy Policy and with its service providers and suppliers to the extent necessary to deliver the Torch Products Websites or Service Offerings you requested, respond to your requests for information on Software or Service Offerings, or otherwise support your business needs. If you opt out of sharing your information with these third-party service providers for these purposes, we may be unable to provide the Torch Products Websites, Service Offerings, mobile applications, information or support you requested."),u(),d(74,"p"),h(75,"Third-party service providers and suppliers receiving personal information are authorized to use your personal information only for the purpose it was originally intended or as required or permitted by law. However, unless otherwise dictated by law or agreement, Torch Products is not responsible for any improper use by such parties."),u(),d(76,"h2"),h(77,"Sharing Personal information Across Country Borders"),u(),d(78,"p"),h(79,"We may also disclose your personal information and other information, including across country borders:"),u(),d(80,"ul")(81,"li"),h(82,"to our subsidiaries, affiliates, and worldwide offices;"),u(),d(83,"li"),h(84,"to comply with the law or in response to a subpoena, court order, law enforcement or government request, or other legal process;"),u(),d(85,"li"),h(86,"to produce relevant documents or information in connection with litigation, arbitration, mediation, adjudication, government or internal investigations, or other legal or administrative proceedings;"),u(),d(87,"li"),h(88,"if Torch Products determines in its good faith judgment that such disclosure is necessary to provide its services or to protect the rights, interests, safety, or property of its business, employees, suppliers, customers, or others;"),u(),d(89,"li"),h(90,"in connection with any proposed or actual sale or other transfer of some or all assets of Torch Products, and/or any proposed or actual sale or merger of Torch Products or any division of Torch Products;"),u(),d(91,"li"),h(92,"to enforce the terms of any agreement with Torch Products;"),u(),d(93,"li"),h(94,"to combat fraud or other criminal activity;"),u(),d(95,"li"),h(96,"for any other purpose disclosed by us when you provide the information;"),u(),d(97,"li"),h(98,"as otherwise required or permitted by law; and/or"),u(),d(99,"li"),h(100,"with your consent."),u()(),d(101,"p"),h(102,"In certain cases Torch Products offers European Union Model Clauses, also known as Standard Contractual Clauses, to meet the adequacy and security requirements for our customers that operate in the European Union, and other international transfers of customer data."),u(),d(103,"p"),h(104,"Unless permitted by relevant laws, Torch Products will not share, sell, trade, or lease your personal information to or with others except as provided for in this Privacy Policy."),u(),d(105,"h2"),h(106,"Marketing Choices, Right to Access Your Personal Information, and Our Retention"),u(),d(107,"p"),h(108,"Your Marketing Choices. Your decision to provide the personal information that we may request from time to time is voluntary. However, if you do not provide the personal information requested, you may not be able to proceed with the activity or receive the benefit for which the personal information is being requested. You can always unsubscribe or choose not to receive promotional materials from Torch Products by following the specific instructions in the email or other communication you receive or by notifying us via the appropriate method(s) described below. It may take a reasonable period of time to process your request, but no longer than 10 business days for email promotions. In countries where Torch Products is required to do so by law, Torch Products will offer you the opportunity to provide opt-in consent before promotional materials are sent, or promotional calls are made, to you. This will not apply to service communications that are considered part of certain Service Offer
15ings, which you may receive periodically unless you cancel the applicable Service Offerings."),u(),d(109,"p"),h(110,"Your Access to Your Personal Information. Torch Products strives to keep your personal information accurate. We have implemented technology, management processes, and policies designed to maintain data integrity. We will provide you with reasonable access to your personal information in accordance with relevant laws, including by making reasonable efforts to provide you with online access and the opportunity to update your information. To protect your privacy and security, we will take steps to verify your identity before granting access or making changes to your personal information. Upon request, Torch Products will provide you with information about whether we hold any of your personal information. To request access, correction, or deletion or transfer of your personal information, follow the applicable instructions below. While we will make reasonable efforts to accommodate your request, we also reserve the right to reject such requests or to impose certain restrictions and requirements on such requests, if required or permitted by applicable law. We will respond to your request within a reasonable time frame."),u(),d(111,"p"),h(112,"Our Retention of Your Information. We will retain your personal information for as long as your account is active or as needed to provide you Torch Products Websites, Service Offerings and mobile applications. If you wish to cancel your account, or request that we no longer use your personal information to provide you Software or Services, contact us via the applicable methods provided below. Even after we cancel your account or cease using your personal information to provide you Software or Services, we may still retain, use, and disclose your information as necessary to comply with our legal, regulatory, ethical, or document retention obligations, and any request to delete your personal information is subject to these obligations and restrictions."),u(),d(113,"h2"),h(114,"Security of Your Personal Information"),u(),d(115,"p"),h(116,'Torch Products has implemented administrative, technical, and physical measures designed to protect your personal information from accidental loss and from unauthorized access, disclosure, use, alteration, or destruction. These measures include computer safeguards and secured files and buildings, Internet firewalls, intrusion detection, anti-virus protection, network monitoring, and, where appropriate and required by applicable law, Transport Layer Security ("TLS") or similarly encrypted browsers. However, no electronic data transmission or storage of information can be guaranteed to be 100% private and secure, and you understand that Torch Products does not ensure or warrant the privacy or security of any information we collect from or about you, and that you use the Torch Products Websites and provide us with information at your own risk. If a password is used to help protect your accounts and personal information, it is your responsibility to keep your password confidential. Please also be careful to avoid "phishing" scams, where someone may send you an email that looks like it is from Torch Products asking for your personal information. Torch Products will never request your personal information through e-mail. If you have any questions about the security of your personal information, you can contact us at set forth below.'),u(),d(117,"h2"),h(118,"Your California Privacy Rights"),u(),d(119,"p"),h(120,"If you are a California resident, California Civil Code \xA71798.83 permits you to request information regarding the disclosure of your personal information by Torch Products to its affiliates and/or third parties for their direct marketing purposes, within the past year. To make such a request, contact us as set forth below."),u(),d(121,"h2"),h(122,"Torch Products Contact Information for Marketing Choices, Requests for Access, Correction Deletion or Transfer, and Questions About and Enforcement of This Privacy Policy"),u(),d(123,"p"),h(124,"To request access, correction, deleti
15on or transfer of your personal information or withdrawal of consent to the processing described in this Privacy Policy, please email us at "),d(125,"a",0),h(126,"[email protected]"),u(),h(127,"."),u(),d(128,"p"),h(129,"If you have questions regarding our compliance with this Privacy Policy, please contact us by mail at Torch Products, LLC, 1621 Catharine Street, Philadelphia, PA 19146, Attn: Legal; or emailing us at "),d(130,"a",0),h(131,"[email protected]"),u(),h(132,"."),u(),d(133,"h2"),h(134,"Changes to this Privacy Policy"),u(),d(135,"p"),h(136,"Torch Products may update this Privacy Policy periodically, and will note the date of its most recent revision above. If we make material changes to this Privacy Policy, we will notify you either by prominently posting a notice of such changes prior to implementing the changes or by directly sending you a notification. We encourage you to review this Privacy Policy frequently to be informed of how Torch Products is collecting, using, retaining, protecting, disclosing, and transferring your information."),u())}});let t=e;return t})();var L0=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-terms"]],decls:175,vars:0,consts:[["href","https://torchproducts.com/legal/privacy"],["href","mailto:[email protected]"]],template:function(r,o){r&1&&(d(0,"h1"),h(1,"Terms of Use"),u(),d(2,"p"),h(3,"These Terms were last updated on November 13, 2018."),u(),d(4,"h2"),h(5,"General"),u(),d(6,"p"),h(7,`Please review these Terms of Use (the "Terms") carefully before using Torch Products, LLC and its subsidiaries' ("Torch Products" or "Taliscape") websites and services. By accessing, browsing or using these websites or services, you fully acknowledge that you have read, understood and agree to abide by these Terms and comply with all applicable laws and regulations. If you do not agree to these Terms, you are not authorized to use Torch Products websites and services, including but not limited to Taliscape. These Terms control your use of the websites and services, any content (such as text, data, information, software, graphics or photographs) that Torch Products may make available through the websites (collectively, "Materials") and any services that Torch Products may provide through the websites (collectively, "Services"). The websites, Materials and Services are referred to in these terms collectively as the "Torch Products Websites."`),u(),d(8,"p"),h(9,"Torch Products reserves the exclusive right to modify or update these Terms, make changes to the Torch Products Websites, or discontinue any or all of its programs, products, materials or services, without providing further notice. Additional terms, notices and conditions may apply to specific information, products, materials, software or services offered through the Torch Products Websites. Should a conflict arise, such additional terms, notices and conditions will prevail over these Terms."),u(),d(10,"h2"),h(11,"Use of Software and Torch Products Websites"),u(),d(12,"p"),h(13,'To the extent that Torch Products provides for the download of proprietary Torch Products software, third party software, or open source software from Torch Products Websites ("Software"), such Software is protected by the applicable copyright, patent or other Intellectual Property Rights (as defined herein) of either Torch Products or the third-party. Any use of the Software is subject to the terms of the applicable end-user or open source license agreement.'),u(),d(14,"p"),h(15,'All evaluation Software is provided "AS IS" for evaluation and internal use only. You may not use evaluation Software for commercial, development or production purposes. In addition, evaluation Software may be time-disabled and may cease to operate after a period of time.'),u(),d(16,"p"),h(17,"You will not and will not permit any third party, as solely determined by Torch Products, to: (a) use Torch Products Software and Services in violation of others' rights (including Intellectual Property Rights); (b) engage in or promote gambling, pornography, or illegal activities; (c) circumvent or violate the restrictions of Torch Products Websites; (d) reverse engineer, decompile, or otherwise attempt to derive source code from the Torch Products Websites, unless we make the source code publicly available; and/or (e) disable, interfere with, disrupt, or circumvent any aspect of the Torch Products Websites. You must ensure that any of your users comply with the Terms, and you agree that if you become aware of any violation by one of your users, you will terminate that user's access immediately."),u(),d(18,"h2"),h(19,"Trademarks"),u(),d(20,"p"),h(21,'Torch Products reserves all rights to its trademarks, service marks and logos, which together with the trademarks, service marks and logos of its subsidiaries registered in the United States or in other countries, are collectively titled "Torch Products Marks."'),u(),d(22,"p"),h(23,"Torch Products Marks are highly valued intellectual property, and therefore Torch Products will take all steps to protect against dilution and usage of third-party marks that are confusingly similar to Torch Products Marks or which are likely to cause confusion with Torch Products Marks. Torch Products does not permit any use of Torch Products Marks in a manner that is likely to cause confusion by implying an association with Torch Products."),u(),d(24,"p")(25,"b"),h(26,"Permitted Use."),u(),h(27," Torch Products acknowledges that use of Torch Products Marks, excluding any logos, may be necessary to refer to Torch Products products or services. All such use must be accurate and descriptive in nature and comply with Torch Products's Trademark Guidelines. Any other Torch Products Marks usage will require a signed trademark license agreement and must comply with Torch Products's Trademark Guidelines. By using Torch Products Marks, you acknowledge that Tor
15ch Products is the exclusive owner of Torch Products Marks and you will not challenge, interfere, or interrupt Torch Products's exclusive ownership of Torch Products Marks. You may not register any Torch Products Marks or any mark confusingly similar to the Torch Products Marks."),u(),d(28,"p")(29,"b"),h(30,"Attribution."),u(),h(31,' When Torch Products Marks are used, the following trademark attribution is required in text and on all packaging or promotional materials displaying any Torch Products trademarks: "Torch Products, (list all other Torch Products Marks referenced in the document or materials) are trademarks and/or registered trademarks of Torch Products LLC in the United States and/or other countries." The trademark attribution should be placed on packaging or promotional materials in close proximity to where the Torch Products Marks are displayed and must be noticeable to the reader.'),u(),d(32,"p"),h(33,"Please note that other product and brand names on the Torch Products Websites may be trademarks of their respective companies."),u(),d(34,"h2"),h(35,"Linking To Torch Products Websites"),u(),d(36,"p"),h(37,"Linking to the Torch Products Websites (including an internal or subsidiary page of any website comprising a part of the Torch Products Websites) must be approved in writing by Torch Products, except a limited, revocable right to create a hyperlink to the website is granted under condition that the website on which the hyperlink resides:"),u(),d(38,"ul")(39,"li"),h(40,"Does not utilize content of a Torch Products Website;"),u(),d(41,"li"),h(42,"Does not utilize a Torch Products logo;"),u(),d(43,"li"),h(44,"Does not use framing of a Torch Products Website;"),u(),d(45,"li"),h(46,"Does not misrepresent an affiliation or other relationship with Torch Products;"),u(),d(47,"li"),h(48,"Does not misrepresent any possible endorsement by Torch Products;"),u(),d(49,"li"),h(50,"Does not contain content that could be construed as illegal, distasteful, offensive or controversial; and"),u(),d(51,"li"),h(52,"Is promptly modified to delete the hyperlink upon request by Torch Products."),u()(),d(53,"h2"),h(54,"Copyright"),u(),d(55,"p"),h(56,"Except where otherwise specified, the contents of the Torch Products Websites are copyright (c) 2018-present Torch Products LLC, 1621 Catharine Street, Philadelphia, PA 19146, USA. All rights reserved."),u(),d(57,"p"),h(58,"The contents of the Torch Products Websites are subject to protection under U.S. and foreign copyright laws. You may not copy, modify, or distribute any portion of the Torch Products Websites, except as necessary to view the Torch Products Websites."),u(),d(59,"h2"),h(60,"Copyright Infringement Claims"),u(),d(61,"p"),h(62,`Torch Products respects the intellectual property of others. If you believe that your copyrighted work has been copied in a way that constitutes copyright infringement and is accessible via the Torch Products Websites, please notify Torch Products LLC's copyright agent, as set forth in the Digital Millennium Copyright Act of 1998 ("DMCA"). For your complaint to be valid under the DMCA, you must provide the following information in writing:`),u(),d(63,"ul")(64,"li"),h(65,"An electronic or physical signature of a person authorized to act on behalf of the copyright owner;"),u(),d(66,"li"),h(67,"identification of the copyrighted work that you claim has been infringed;"),u(),d(68,"li"),h(69,"identification of the material that is claimed to be infringing and where it is located on the Torch Products Websites;"),u(),d(70,"li"),h(71,"information reasonably sufficient to permit Torch Products to contact you, such as your address, telephone number, and email address;"),u(),d(72,"li"),h(73,"a statement that you have a good faith belief that use of the material in the manner complained of is not authorized by the copyright owner, its agent, or law; and"),u(),d(74,"li"),h(75,"a statement, made under penalty of perjury, that the above information is accurate, and that you are the copyright owner or are authorized to act on behalf of the owner."),u()(),d(76,"p"),h(77,"You may send a notice of claim of copyright infringement to the Torch Products Legal Department at: Torch Products LLC, ATTN: Legal Department, 1621 Catharine Street, Philadelphia, PA 19146."),u(),d(78,"h2"),h(79,"Links to Third Party Sites"),u(),d(80,"p"),h(81,"The Torch Products Websites may contain links to third-party websites, which are provided solely for your convenience and information. Accessing these links will cause you to leave the Torch Products Websites. Torch Products does not endorse or make any representations about such third party websites, and Torch Products is not responsible for the accuracy, reliability, and suitability of any information, data, opinions, advice or statements made on those websites. Torch Products does not control those websites and holds no responsibility over the contents of any third-party websites, any links contained in third-party websites, or any modifications or updates made to third-party websites. Further, Torch Products shall not be held liable for any losses or damages incurred by users of these third-party websites. Please note that access and usage of these linked third-party websites, including any materials, information, services and products described or provided therein, is made solely at your own risk and discretion. The personal information you choose to provide to unrelated third parties is not covered by the Torch Products Privacy Policy posted at "),d(82,"a",0),h(83,"https://torchproducts.com/legal/privacy"),u(),h(84,"."),u(),d(85,"h2"),h(86,"Privacy"),u(),d(87,"p"),h(88,"Torch Products's Privacy Policy posted at "),d(89,"a",0),h(90,"https://torchproducts.com/legal/privacy"),u(),h(91," applies to use of Torch Products Websites, and is incorporated into these Terms of Use."),u(),d(92,"h2"),h(93,"Anti-Piracy and License C
15ompliance"),u(),d(94,"p"),h(95,"Torch Products safeguards its technology vigilantly and only authorizes others to use it by virtue of license agreements. Using or distributing Software without permission from Torch Products constitutes software piracy. Torch Products distributes and sells its Software through a channel network of distributors and resellers worldwide. Torch Products does not distribute or sell its Software through unauthorized channels such as peer-to-peer networking, file-sharing sites, auctions, or through other illegal download sites offering key or serial number generators. If you are contemplating or have obtained Software through one of these avenues, you likely will find yourself with pirated software. Please contact Torch Products at "),d(96,"a",1),h(97,"[email protected]"),u(),h(98," for assistance with your own or another's unauthorized use of Software."),u(),d(99,"h2"),h(100,"Governing Law and Jurisdiction"),u(),d(101,"p"),h(102,"These Terms, the relationship between you and Torch Products, and all matters relating to your access to, or usage of, any Torch Products Websites, are governed by United States federal law and the laws of the State of Pennslyvania. Thus, any lawsuit or legal proceeding relating to these Terms, the relationship between you and Torch Products, or your access to, or usage of, Torch Products and the Torch Products Websites shall be brought in the state or federal courts located in the county of Philadelphia, Pennslyvania. You hereby agree that venue is proper in, and agree to submit to the personal and exclusive jurisdiction of, these courts in any lawsuit or legal proceeding."),u(),d(103,"h2"),h(104,"Electronic Communications"),u(),d(105,"p"),h(106,"When you visit the Torch Products Websites or send e-mails to Torch Products, you are communicating with Torch Products electronically. We may respond to you by e-mail or by posting notices on the Torch Products Websites. You agree that all such notices, disclosures and other communications that Torch Products provides to you electronically satisfy any legal requirement that such communications be in writing. You agree that we will be free to use any communication you provide for any purpose. You hereby grant to us a non-exclusive, perpetual, irrevocable, royalty-free, transferable, worldwide right and license, with the right to grant and authorize sublicenses, to use, reproduce, perform, display, disclose, distribute, modify, prepare derivative works of and otherwise use the communication without restriction in any manner now known or in the future conceived and to make, use, sell, offer to sell, import and export any product or service that incorporates or is based in whole or in part on the communication."),u(),d(107,"h2"),h(108,"Terminating Use"),u(),d(109,"p"),h(110,"If we have reason to believe that you or your users have breached these Terms of Use or our Privacy Policy, we or our designated agent may review your use of Torch Products Websites, verify your compliance with these Terms, and at our discretion, terminate your or your user's access immediately."),u(),d(111,"h2"),h(112,"Disputes"),u(),d(113,"p"),h(114,"All claims, disputes, or controversies arising out of or relating to these Terms or your use of Torch Products Websites must be made within (a) the time period specified by applicable law; or (b) eighteen (18) months after the cause of action accrues if no such period is specified at law."),u(),d(115,"h2"),h(116,"Disclaimers and Warranties"),u(),d(117,"p"),h(118,"Information on the Torch Products Websites is not promised or guaranteed to be correct, current or complete, and the Torch Products Websites may contain technical inaccuracies or typographical errors. Torch Products assumes no responsibility (and expressly disclaims responsibility) for updating the Torch Products Websites to maintain current information or to ensure the accuracy or completeness of any posted information. Accordingly, you should confirm the accuracy and completeness of all posted information before making any decision related to any products, services or other matters described 
15in the Torch Products Websites. Torch Products provides no assurances that any reported problems will be resolved by Torch Products, even if Torch Products elects to provide information with the goal of addressing a problem."),u(),d(119,"p"),h(120,'ALL INFORMATION, SOFTWARE, PRODUCTS, MATERIALS, AND SERVICES PROVIDED ON THE TORCH PRODUCTS WEBSITES ARE PROVIDED "AS IS" AND "WITH ALL FAULTS" WITH NO WARRANTIES OR GUARANTEES OF ANY KIND. TORCH PRODUCTS EXPRESSLY DISCLAIMS TO THE FULLEST EXTENT PERMITTED BY LAW ALL EXPRESS, IMPLIED, STATUTORY OR OTHER WARRANTIES, GUARANTEES AND REPRESENTATIONS, INCLUDING, WITHOUT LIMITATION, THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE OR PURPOSE, TITLE AND NONINFRINGEMENT OF PROPRIETARY AND INTELLECTUAL PROPERTY RIGHTS, AND WARRANTIES ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. WITHOUT LIMITING THE GENERALITY OF THE FOREGOING, TORCH PRODUCTS MAKES NO WARRANTY THAT THE TORCH PRODUCTS WEBSITES WILL MEET YOUR REQUIREMENTS OR THAT THE TORCH PRODUCTS WEBSITES WILL BE UNINTERRUPTED, TIMELY, SECURE, ERROR FREE OR THAT THE SERVICES WILL MEET (OR ARE DESIGNED TO MEET) YOUR BUSINESS REQUIREMENTS.'),u(),d(121,"h2"),h(122,"Indemnification"),u(),d(123,"p"),h(124,"You agree to indemnify, defend, release, and hold Torch Products, its parents, subsidiaries, affiliates, officers, directors, agents, partners, employees and licensors harmless from any claims, liabilities, demands, losses, damages, costs, expenses and fees (including reasonable attorneys' fees) that such parties may incur as a result of or arising from: (1) your (or anyone using your account, computer or Software) use of the Torch Products Websites or violation or breach of these Terms; (2) your content; (3) any infringement or misappropriation of any Intellectual Property Rights (defined below) by you, your customers or your suppliers; (c) violation of laws, rules, regulations, etc. by you; or (4) your use of any third party content. We will (i) provide you with notice of such claim within a reasonable period of time after learning of the claim; and (ii) reasonably cooperate in response to your requests for assistance (subject to your reimbursement of our costs and expenses). Torch Products reserves the right to assume the exclusive defense and control of any matter otherwise subject to indemnification by you and, in such case, you agree to cooperate with Torch Products's defense of such claim, and in no event may you agree to any settlement affecting Torch Products without Torch Products's written consent."),u(),d(125,"p"),h(126,'"Intellectual Property Rights" means all worldwide intellectual property rights, including, without limitation,"patents, utility models, rights to inventions, copyright and related rights, trademarks and service marks, trade names and domain names, rights in get-up, goodwill and the right to sue for passing off or unfair competition, rights in designs, rights in computer software, database rights, rights to preserve the confidentiality of information (including know-how and trade secrets) and any other intellectual property rights, including all applications for (and rights to apply for and be granted), renewals or extensions of, and rights to claim priority from, such rights and all similar or equivalent rights or forms of protection which subsist or will subsist, now or in the future, in any part of the world.'),u(),d(127,"h2"),h(128,"Limitation of Liability"),u(),d(129,"p"),h(130,"IN NO EVENT WILL TORCH PRODUCTS OR OUR LICENSORS BE LIABLE FOR: (A) ANY INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, PUNITIVE OR EXEMPLARY DAMAGES OR; (B) ANY DAMAGES WHATSOEVER IN EXCESS OF US$100.00, INCLUDING, WITHOUT LIMITATION, THOSE RESULTING FROM LOST PROFITS, REVENUES OR SAVINGS, LOSS OR DAMAGE TO DATA OR BUSINESS INTERRUPTION ARISING OUT OF THE USE OF OR INABILITY TO USE THE TORCH PRODUCTS WEBSITES OR ANY MATERIALS, INFORMATION, PRODUCTS OR SERVICES ACCESSED ON OR THROUGH THE TORCH PRODUCTS WEBSITES, WHETHER SUCH DAMAGES ARE BASED ON WARRANTY, CONTRACT, TORT, STATUTE OR ANY OTHER LEGAL THEORY AND EVEN IF TORCH PRODUCTS HAS BEEN ADVISED (OR SHOULD HAVE KNOWN) OF THE POSSIBILITY OF SUCH DAMAGES."),u(),d(131,"h2"),h(132,"Exclusions and Limitations"),u(),d(133,"p"),h(134,"The exclusion of certain warranties or the limitation or exclusion of liability for certain damages may not be authorized in some jurisdictions. Accordingly, some of the above disclaimers and limitations of liability may not apply to you. To the extent that Tor
15ch Products may not, as a matter of applicable law, disclaim any implied warranty or limit its liabilities, the scope and duration of such warranty and the extent of Torch Products's liability shall be the minimum permitted under such applicable law."),u(),d(135,"h2"),h(136,"General Provisions"),u(),d(137,"p")(138,"b"),h(139,"Entire Agreement."),u(),h(140," These Terms together with the provisions of any applicable Torch Products Websites (i) are the complete statement of the agreement of the parties with regard to the subject matter hereof, superseding all previous arrangements between the parties relating to its subject matter; and (ii) may be modified only by a writing signed by both parties. All terms of any purchase order or similar document provided by You, including any pre-printed terms thereon and any terms that are inconsistent or conflict with these Terms, shall be null and void and of no legal force or effect with respect to the use of the applicable Torch Products Website. You confirm that You have not relied on any statement, promise or representation made or given by or on behalf of us which is not set out in these Terms. No party shall have any claim for innocent or negligent misrepresentation based upon any statement in these Terms."),u(),d(141,"p")(142,"b"),h(143,"Severability."),u(),h(144," If any provision of these Terms becomes or is declared by a court of competent jurisdiction to be illegal, unenforceable, or void, the remaining provisions will remain in effect."),u(),d(145,"p")(146,"b"),h(147,"Relationship to Other Agreements."),u(),h(148," These Terms apply in addition to Torch Products's product or Service-specific Terms, including any signed Master Ordering Agreement, Professional Services Agreement or other licensing agreement you may have signed with Torch Products."),u(),d(149,"p")(150,"b"),h(151,"Waiver."),u(),h(152," Failure to enforce a provision of these Terms will not constitute a waiver."),u(),d(153,"p")(154,"b"),h(155,"Independent Contractor."),u(),h(156," The parties are independent contractors. Nothing in these Terms shall be construed to create a joint venture, partnership, or an agency relationship between the parties themselves or between the parties and any third person. Except as expressly provided herein, no party has the authority, without the other party's prior written approval, to bind or commit any other party in any way."),u(),d(157,"p")(158,"b"),h(159,"No Third-party Beneficiaries."),u(),h(160," These Terms are not intended to confer upon any person other than the parties hereto any rights or remedies hereunder."),u(),d(161,"p")(162,"b"),h(163,"Force Majeure."),u(),h(164," In the event that either party is prevented from performing or is unable to perform any of its obligations under these Terms due to any Act of God, fire, casualty, flood, earthquake, war, strike, lockout, epidemic, destruction of production facilities, riot, insurrection, material unavailability, unavailability or interruption of telecommunications equipment or networks, or any other cause beyond the reasonable control of the party invoking this section, and if such party shall have used reasonable efforts to mitigate its effects, such party shall give prompt written notice to the other party, its performance shall be excused, and the time for the performance shall be extended for the period of delay or inability to perform due to such occurrences."),u(),d(165,"p")(166,"b"),h(167,"Legal Contact Information."),u(),h(168," Should you have any inquiries about these Terms, the licensing or usage of Torch Products Marks, or Torch Products copyrighted materials, you may contact the Torch Products Legal Department at "),d(169,"a",1),h(170,"[email protected]"),u(),h(171,"."),u(),d(172,"p"),K(173,"b"),h(174,' As used in this Agreement: (a) the terms "include" and "including" are meant to be inclusive and shall be deemed to mean "include without limitation" or "including without limitation"; (b) the word "or" is disjunctive, but not necessarily exclusive; (c) words used herein in the singular, where the context so permits, shall be deemed to include the plural and vice versa;
15 (d) person includes a natural person, corporate or unincorporated body; (e) a reference to us or You includes personal representatives, successors and/or permitted assigns; (f) a reference to a statute or statutory provision is a reference to such statute or statutory provision as amended or re-enacted and includes any subordinate legislation; (g) a reference to writing or written includes faxes and e-mails; (h) references to "dollars" or "$" shall be to United States dollars unless otherwise specified herein; and (i) unless otherwise specified, all references to days, months or years shall be deemed to be preceded by the word "calendar"." The headings of these Terms are intended solely for convenience of reference and shall be given no effect in the interpretation or construction of these Terms.'),u())}});let t=e;return t})();var V0=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-page-not-found"]],decls:11,vars:0,consts:[[1,"page-container"],[1,"container","auth-container"],[1,"row"],[1,"col-12","logo-container"],["href","mailto:[email protected]"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1"),h(5,"Oh No!"),u(),d(6,"p"),h(7,"It looks like you've managed to find something that we haven't. We're sorry about that - please let us know if this issue persists by emailing us at "),d(8,"a",4),h(9,"[email protected]"),u(),h(10,"."),u()()()()())}});let t=e;return t})();function ZT(t,e){if(t&1&&(d(0,"div",8),h(1),u()),t&2){let i=ne();v(),qe(i.error)}}var B0=(()=>{let e=class e{constructor(n){this.http=n,this.inputText=`Can you find what lives in time,
16Flowing through each measured rhyme?
17Wisdom waits in shadowed sight\u2014
18For those who read these words just right.
19
20As hope surges, clear and bright,
21Walk near waters\u2019 silent flight.
22Round the bend, past the Hole,
23I wait for you to cast your pole.
24
25In ursa east his realm awaits;
26His bride stands guard at ancient gates.
27Her foot of three at twenty degree,
28Return her face to find the place.
29
30Double arcs on granite bold,
31Where secrets of the past still hold.
32Beyond the reach of time\u2019s swift race,
33Wonder guards this sacred space.
34
35Truth rests not in clever minds,
36Not in tangled, twisted finds.
37Like a river\u2019s steady flow\u2014
38What you seek, you already know.`,this.removeText="treasure",this.outputText="",this.error=null,this.loading=!0,this.dictionary=[],this.acrosticShift=1,this.acrostic1="",this.acrostic2="",this.acrostic3="",this.acrostic419="",this.acrostic19="",this.acrosticWord1="",this.fetchDictionary(),this.inputAcrosticShiftChange()}fetchDictionary(){this.http.get("/assets/google-10000-english.txt",{responseType:"text"}).subscribe(n=>{this.dictionary=n.split(`
39`)})}inputLine(n){this.inputText="In ursa east his realm awaits;",this.solve()}inputTextChange(){this.solve()}removeTextChange(){this.solve()}solve(){var n=this.inputText.toLowerCase().replace(/[^a-z]/g,"").split(""),r=this.removeText.toLowerCase().replace(/[^a-z]/g,"").split("");r.forEach(s=>{var a=n.indexOf(s);a<0?this.error=`Cannot find the letter ${s}`:n.splice(a,1)}),this.outputText=n.join(""),this.findMultiWordAnagrams(n.join(""),this.dictionary).forEach(s=>console.log(s.join(" ")))}normalize(n){return n.toLowerCase().replace(/[^a-z]/g,"").split("").sort().join("")}subtractLetters(n,r){let o=n.split("");for(let s of r){let a=o.indexOf(s);if(a===-1)return null;o.splice(a,1)}return o.join("")}getLetterFreq(n){let r={};for(let o of n.toLowerCase())o>="a"&&o<="z"&&(r[o]=(r[o]||0)+1);return r}canUseWord(n,r){for(let o in n)if(!r[o]||n[o]>r[o])return!1;return!0}subtractFreq(n,r){let o=b({},n);for(let s in r)o[s]-=r[s],o[s]===0&&delete o[s];return o}isFreqEmpty(n){return Object.keys(n).length===0}freqKey(n){return Object.entries(n).sort().map(([r,o])=>r+o).join("")}findMultiWordAnagrams(n,r,o=[],s=[]){let a=this.normalize(n),l=this.normalize(n),c=(f,p)=>{if(f.length===0){s.push(p),console.log(p);return}for(let g of r){let m=this.normalize(g),_=this.subtractLetters(f,m);_!==null&&c(_,[...p,g])}};return c(l,[]),s}inputAcrosticShiftChange(){this.acrostic1=this.inputText.split(`
40`).filter(o=>o!="").map(o=>o[this.acrosticShift]).join(""),this.acrostic2=this.inputText.split(`
41`).filter(o=>o!="").map(o=>o.toLowerCase().replace(/[^a-z\s]/g,"")[this.acrosticShift]).join(""),this.acrostic3=this.inputText.split(`
42`).filter(o=>o!="").map(o=>o.toLowerCase().replace(/[^a-z]/g,"")[this.acrosticShift]).join(""),this.acrosticWord1=this.inputText.replace(`
43`,"").toLowerCase().replace(/[^a-z\s]/g,"").split(" ").map(o=>o[this.acrosticShift]).join(""),this.acrostic419="";for(var n=this.inputText.toLowerCase().replace(/[^a-z]/g,""),r=0;r<n.length;r++)r%13==0&&(this.acrostic419+=n[r+3]+n[r+4]+n[r+13]);this.acrostic19="";for(var r=0;r<n.length;r++)r%19==0&&(this.acrostic19+=n[r+18])}};e.\u0275fac=function(r){return new(r||e)(A(Bn))},e.\u0275cmp=L({type:e,selectors:[["app-anagram"]],decls:36,vars:11,consts:[[1,"row"],[1,"col-12","col-md-4"],["rows","26",1,"form-control",3,"ngModelChange","change","keyup","ngModel"],[1,"btn","btn-secondary",3,"click"],[2,"margin-top","40px"],["type","number",1,"form-control",3,"ngModelChange","change","keyup","ngModel"],["rows","4",1,"form-control",3,"ngModelChange","change","keyup","ngModel"],["class","error",4,"ngIf"],[1,"error"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"h1"),h(2,"Anagram Solver"),u()(),d(3,"div",0)(4,"div",1)(5,"label"),h(6,"Input Text"),u(),d(7,"textarea",2),q("ngModelChange",function(a){return Q(o.inputText,a)||(o.inputText=a),a}),D("change",function(){return o.inputTextChange()})("keyup",function(){return o.inputTextChange()}),u(),d(8,"button",3),D("click",function(){return o.inputLine(8)}
43),h(9,"ursa east"),u(),d(10,"div",4)(11,"label"),h(12,"Acrostic Shift"),u(),d(13,"input",5),q("ngModelChange",function(a){return Q(o.acrosticShift,a)||(o.acrosticShift=a),a}),D("change",function(){return o.inputAcrosticShiftChange()})("keyup",function(){return o.inputAcrosticShiftChange()}),u()(),d(14,"div"),h(15),u(),d(16,"div"),h(17),u(),d(18,"div"),h(19),u(),d(20,"div"),h(21),u(),d(22,"div"),h(23),u(),d(24,"div"),h(25),u()(),d(26,"div",1)(27,"label"),h(28,"Remove words"),u(),d(29,"textarea",6),q("ngModelChange",function(a){return Q(o.removeText,a)||(o.removeText=a),a}),D("change",function(){return o.removeTextChange()})("keyup",function(){return o.removeTextChange()}),u()(),d(30,"div",1)(31,"label"),h(32,"Output"),u(),be(33,ZT,2,1,"div",7),d(34,"div"),h(35),u()()()),r&2&&(v(7),z("ngModel",o.inputText),v(6),z("ngModel",o.acrosticShift),v(2),Ye("Acrostic 1: ",o.acrostic1,""),v(2),Ye("Acrostic 2: ",o.acrostic2,""),v(2),Ye("Acrostic 3: ",o.acrostic3,""),v(2),Ye("Acrostic 419: ",o.acrostic419,""),v(2),Ye("Acrostic 19: ",o.acrostic19,""),v(2),Ye("Acrostic Word: ",o.acrosticWord1,""),v(4),z("ngModel",o.removeText),v(4),O("ngIf",o.error),v(2),Ye("Remaining Letters: ",o.outputText,""))},dependencies:[tt,Ae,$n,$e,Ve]});let t=e;return t})();function JT(t,e){if(t&1){let i=ar();d(0,"div")(1,"label"),h(2,"Keyword:"),u(),d(3,"input",9),q("ngModelChange",function(r){ve(i);let o=ne();return Q(o.keyword,r)||(o.keyword=r),_e(r)}),D("input",function(){ve(i);let r=ne();return _e(r.computeCipher())}),u()()}if(t&2){let i=ne();v(3),z("ngModel",i.keyword)}}var j0=(()=>{let e=class e{constructor(){this.inputText="",this.cipherType="alphabet",this.keyword="",this.outputText=""}onCipherChange(){this.computeCipher()}computeCipher(){let n=this.inputText;switch(this.cipherType){case"alphabet":this.outputText=this.vigenereCipher(n,this.keyword);break;case"mirror":this.outputText=this.mirrorText(n);break;case"transposition":this.outputText=this.simpleTransposition(n);break;default:this.outputText=n}}vigenereCipher(n,r){if(!r)return n;let o=65;r=r.toUpperCase().replace(/[^A-Z]/g,"");let s="",a=0;for(let l=0;l<n.length;l++){let c=n[l],f=c.toUpperCase();if(f>="A"&&f<="Z"){let g=r[a%r.length].charCodeAt(0)-o,m=String.fromCharCode((f.charCodeAt(0)-o+g)%26+o);s+=c===c.toLowerCase()?m.toLowerCase():m,a++}else s+=c}return s}mirrorText(n){return n.split("").reverse().join("")}simpleTransposition(n){let r="";for(let o=0;o<n.length;o+=2)r+=(n[o+1]||"")+n[o];return r}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-cipher"]],decls:25,vars:4,consts:[[1,"row"],[1,"col-12","col-md-4"],[1,"form-control",3,"ngModelChange","input","ngModel"],[1,"form-control",3,"ngModelChange","change","ngModel"],["value","alphabet"],["value","mirror"],["value","transposition"],[4,"ngIf"],["readonly","",1,"form-control"],["type","text",1,"form-control",3,"ngModelChange","input","ngModel"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"h1"),h(2,"Lewis Carroll Cipher"),u()(),d(3,"div",0)(4,"div",1)(5,"div")(6,"label"),h(7,"Input Text:"),u(),d(8,"textarea",2),q("ngModelChange",function(a){return Q(o.inputText,a)||(o.inputText=a),a}),D("input",function(){return o.computeCipher()}),u()(),d(9,"div")(10,"label"),h(11,"Select Cipher:"),u(),d(12,"select",3),q("ngModelChange",function(a){return Q(o.cipherType,a)||(o.cipherType=a),a}),D("change",function(){return o.onCipherChange()}),d(13,"option",4),h(14,"Alphabet Cipher (Vigen\xE8re)"),u(),d(15,"option",5),h(16,"Mirror Writing"),u(),d(17,"option",6),h(18,"Simple Transposition"),u()()(),be(19,JT,4,1,"div",7),d(20,"div")(21,"label"),h(22,"Output:"),u(),d(23,"textarea",8),h(24),u()()()()),r&2&&(v(8),z("ngModel",o.inputText),v(4),z("ngModel",o.cipherType),v(7),O("ngIf",o.cipherType==="alphabet"),v(5),qe(o.outputText))},dependencies:[tt,E0,T0,Ae,Ca,$e,Ve]});let t=e;return t})();function KT(t,e){if(t&1&&(d(0,"div",11),h(1),u()),t&2){let i=ne();v(),qe(i.error)}}function XT(t,e){if(t&1&&(d(0,"div"),h(1),u()),t&2){let i=ne();v(),Ye("Removed: ",i.removedWords.join(", "),"")}}function eM(t,e){t&1&&(d(0,"h3"),h(1,"Results:"),u())}function tM(t,e){if(t&1&&(d(0,"li"),h(1),u()),t&2){let i=e.$implicit;v(),qe(i.join(" "))}}var U0=(()=>{let e=class e{constructor(n){this.http=n,this.phrase=`Can you find what lives in time,
44Flowing through each measured rhyme?
45Wisdom waits in shadowed sight\u2014
46For those who read these words just right.
47
48As hope surges, clear and bright,
49Walk near waters\u2019 silent flight.
50Round the bend, past the Hole,
51I wait for you to cast your pole.
52
53In ursa east his realm awaits;
54His bride stands guard at ancient gates.
55Her foot of three at twenty degree,
56Return her face to find the place.
57
58Double arcs on granite bold,
59Where secrets of the past still hold.
60Beyond the reach of time\u2019s swift race,
61Wonder guards this sacred space.
62
63Truth rests not in clever minds,
64Not in tangled, twisted finds.
65Like a river\u2019s steady flow\u2014
66What you seek, you already know.`,this.dictionaryText="",this.removeText="",this.anagrams=[],this.removedWords=[],this.maxWords=5,this.minWords=1,this.fetchDictionary()}fetchDictionary(){this.http.get("/assets/google-10000-english.txt",{responseType:"text"}).subscribe(n=>{this.dictionaryText=n})}inputLine(n){this.phrase=`Can you find what lives in time,
67Flowing through each measured rhyme?
68Wisdom waits in shadowed sight\u2014
69For those who read these words just right.
70
71As hope surges, clear and bright,
72Walk near waters\u2019 silent flight.
73Round the bend, past the Hole,
74I wait for you to cast your pole.
75
76In ursa east his realm awaits;
77His bride stands guard at ancient gates.
78Her foot of three at twenty degree,
79Return her face to find the place.
80
81Double arcs on granite bold,
82Where secrets of the past still hold.
83Beyond the reach of time\u2019s swift race,
84Wonder guards this sacred space.
85
86Truth rests not in clever minds,
87Not in tangled, twisted finds.
88Like a river\u2019s steady flow\u2014
89What you seek, you already know.`,n&&(this.phrase=this.phrase.split(`
90`).filter(r=>r!="")[n])}inputClean(){this.phrase=this.phrase.toLowerCase().replace(/[^a-z]/g,"")}inputShuffle(){let n=r=>{let o=r.split("");for(let s=o.length-1;s>0;s--){let a=Math.floor(Math.random()*(s+1));[o[s],o[a]]=[o[a],o[s]]}return o.join("")};this.phrase=n(this.phrase)}removeWord(){this.removeText.split("").forEach(n=>{var r=this.phrase.indexOf(n);r<0?this.error=`Cannot find the letter ${n}`:this.phrase=this.phrase.replace(n,"")}),this.removedWords.push(this.removeText),this.removeText=""}solve(){let n=this.dictionaryText.split(/[\s,]+/).filter(r=>r.trim()!=="");this.anagrams=this.findMultiWordAnagrams(this.phrase,n)}getLetterFreq(n){let r={};for(let o of n.toLowerCase())o>="a"&&o<="z"&&(r[o]=(r[o]||0)+1);return r}canUseWord(n,r){for(let o in n)if(!r[o]||n[o]>r[o])return!1;return!0}subtractFreq(n,r){let o=b({},n);for(let s in r)o[s]-=r[s],o[s]===0&&delete o[s];return o}isFreqEmpty(n){return Object.keys(n).length===0}freqKey(n){return Object.entries(n).sort().map(([r,o])=>r+o).join("")}findMultiWordAnagrams(n,r){let o=this.getLetterFreq(n),s=r.map(f=>({word:f,freq:this.getLetterFreq(f)})).filter(({freq:f})=>this.canUseWord(f,o)),a=[],l=new Set;console.log(s);let c=(f,p,g)=>{if(p.length>this.maxWords||Object.values(f).reduce((C,M)=>C+M,0)>0&&p.length+1>this.maxWords)return;let _=this.freqKey(f)+"|"+p.length;
90if(!l.has(_)){if(this.isFreqEmpty(f)){p.length>=this.minWords&&a.push([...p]);return}for(let{word:C,freq:M}of s)if(!g.has(C)&&this.canUseWord(M,f)){let I=this.subtractFreq(f,M);g.add(C),c(I,[...p,C],g),g.delete(C)}l.add(_)}};return console.log(o),console.log(n),c(o,[],new Set),a}};e.\u0275fac=function(r){return new(r||e)(A(Bn))},e.\u0275cmp=L({type:e,selectors:[["app-anagram-2"]],decls:41,vars:8,consts:[[1,"row"],[1,"col-12","col-md-4"],["rows","26",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-secondary",3,"click"],[1,"section"],["rows","4",1,"form-control",3,"ngModelChange","ngModel"],["class","error",4,"ngIf"],[4,"ngIf"],["type","number","min","1",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-primary",3,"click"],[4,"ngFor","ngForOf"],[1,"error"]],template:function(r,o){r&1&&(d(0,"div",0)(1,"h1"),h(2,"Anagram Solver"),u()(),d(3,"div",0)(4,"div",1)(5,"label"),h(6,"Input Text"),u(),d(7,"textarea",2),q("ngModelChange",function(a){return Q(o.phrase,a)||(o.phrase=a),a}),u(),d(8,"button",3),D("click",function(){return o.inputClean()}),h(9,"Clean"),u(),d(10,"button",3),D("click",function(){return o.inputShuffle()}),h(11,"Shuffle"),u(),d(12,"button",3),D("click",function(){return o.inputLine()}),h(13,"Full Poem"),u(),d(14,"button",3),D("click",function(){return o.inputLine(1)}),h(15,"measured rhyme"),u(),d(16,"button",3),D("click",function(){return o.inputLine(8)}),h(17,"ursa east"),u()(),d(18,"div",1)(19,"div",4)(20,"label"),h(21,"Remove words"),u(),d(22,"textarea",5),q("ngModelChange",function(a){return Q(o.removeText,a)||(o.removeText=a),a}),u(),d(23,"button",3),D("click",function(){return o.removeWord()}),h(24,"Remove Word"),u(),be(25,KT,2,1,"div",6)(26,XT,2,1,"div",7),u(),d(27,"div")(28,"label"),h(29," Max words in result: "),d(30,"input",8),q("ngModelChange",function(a){return Q(o.minWords,a)||(o.minWords=a),a}),u(),d(31,"input",8),q("ngModelChange",function(a){return Q(o.maxWords,a)||(o.maxWords=a),a}),u()()(),d(32,"div")(33,"button",9),D("click",function(){return o.solve()}),h(34,"Solve"),u()()(),d(35,"div",1)(36,"label"),h(37,"Output"),u(),be(38,eM,2,0,"h3",7),d(39,"ul"),be(40,tM,2,1,"li",10),u()()()),r&2&&(v(7),z("ngModel",o.phrase),v(15),z("ngModel",o.removeText),v(3),O("ngIf",o.error),v(),O("ngIf",o.removedWords.length>0),v(4),z("ngModel",o.minWords),v(),z("ngModel",o.maxWords),v(7),O("ngIf",o.anagrams.length),v(2),O("ngForOf",o.anagrams))},dependencies:[js,tt,Ae,$n,$e,Ed,Ve]});let t=e;return t})();var nM=[{path:"",component:e0},{path:"tools",component:va,children:[{path:"",component:t0},{path:"password-generator",component:I0},{path:"geocode",component:O0},{path:"color-conversion",component:N0},{path:"flash-cards",component:A0},{path:"favicon-generator",component:R0},{path:"binary-extractor",component:P0},{path:"anagram",component:B0},{path:"anagram-2",component:U0},{path:"cipher",component:j0}]},{path:"legal",component:va,children:[{path:"notices",component:F0},{path:"privacy",component:k0},{path:"terms",component:L0}]},{path:"",component:va,children:[{path:"**",component:V0}]}],H0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({imports:[md.forRoot(nM),md]});let t=e;return t})();var $0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(r,o){r&1&&K(0,"router-outlet")},dependencies:[Rr]});let t=e;return t})();var Sd={production:!1,analytics:{trackingId:""}};var G0=(()=>{let e=class e{constructor(){}sendEvent(n,r){gtag("event",n,r.getGTag())}sendPage(n){gtag("config",Sd.analytics.trackingId,{page_path:n})}sendException(n,r=!0){gtag("event","exception",{description:n,fatal:r})}setUser(n){gtag("config",Sd.analytics.trackingId,{user_id:""+n})}getClientId(){try{var n;return ga.getAll().forEach(r=>{n=r.get("clientId")}),n}catch{return""}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var iM=["*"];var rM=["dialog"];var W0={animation:!0,transitionTimerDelayMs:5},oM=(()=>{let e=class e{constructor(){this.animation=W0.animation}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function sM(t){let{transitionDelay:e,transitionDuration:i}=window.getComputedStyle(t),n=parseFloat(e),r=parseFloat(i);return(n+r)*1e3}function z0(t){return typeof t=="string"}function Td(t){return t!=null}function aM(t){return t&&t.then}function q0(t){return(t||document.body).getBoundingClientRect()}function lM(t){return e=>new F(i=>{let n=s=>t.run(()=>
90i.next(s)),r=s=>t.run(()=>i.error(s)),o=()=>t.run(()=>i.complete());return e.subscribe({next:n,error:r,complete:o})})}var cM=()=>{},{transitionTimerDelayMs:uM}=W0,xa=new Map,Wn=(t,e,i,n)=>{let r=n.context||{},o=xa.get(e);if(o)switch(n.runningTransition){case"continue":return Se;case"stop":t.run(()=>o.transition$.complete()),r=Object.assign(o.context,r),xa.delete(e)}let s=i(e,n.animation,r)||cM;if(!n.animation||window.getComputedStyle(e).transitionProperty==="none")return t.run(()=>s()),x(void 0).pipe(lM(t));let a=new oe,l=new oe,c=a.pipe(Xa(!0));xa.set(e,{transition$:a,complete:()=>{l.next(),l.complete()},context:r});let f=sM(e);return t.runOutsideAngular(()=>{let p=Je(e,"transitionend").pipe(Ne(c),me(({target:m})=>m===e)),g=Za(f+uM).pipe(Ne(c));Ja(g,p,l).pipe(Ne(c)).subscribe(()=>{xa.delete(e),t.run(()=>{s(),a.next(),a.complete()})})}),a.asObservable()};var Y0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var Q0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var Z0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})(),J0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var Od=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown",t}(Od||{});var V2=(()=>{let t=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,e=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(t()||e()):!1})();var dM=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function K0(t){let e=Array.from(t.querySelectorAll(dM)).filter(i=>i.tabIndex!==-1);return[e[0],e[e.length-1]]}var fM=(t,e,i,n=!1)=>{t.runOutsideAngular(()=>{let r=Je(e,"focusin").pipe(Ne(i),P(o=>o.target));Je(e,"keydown").pipe(Ne(i),me(o=>o.which===Od.Tab),yo(r)).subscribe(([o,s])=>{let[a,l]=K0(e);(s===a||s===e)&&o.shiftKey&&(l.focus(),o.preventDefault()),s===l&&!o.shiftKey&&(a.focus(),o.preventDefault())}),n&&Je(e,"click").pipe(Ne(i),yo(r),P(o=>o[1])).subscribe(o=>o.focus())})};var B2=new Date(1882,10,12),j2=new Date(2174,10,25);var U2=1e3*60*60*24;var xd=1080,hM=24*xd,pM=12*xd+793,H2=29*hM+pM,$2=11*xd+204;var X0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var ey=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})(),gM=(()=>{let e=class e{constructor(){this._ngbConfig=y(oM),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(n){this._animation=n}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vi=class{constructor(e,i,n){this.nodes=e,this.viewRef=i,this.componentRef=n}};var mM=(()=>{let e=class e{constructor(){this._document=y(ge)}hide(){let n=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),r=this._document.body,o=r.style,{overflow:s,paddingRight:a}=o;if(n>0){let l=parseFloat(window.getComputedStyle(r).paddingRight);o.paddingRight=`${l+n}px`}return o.overflow="hidden",()=>{n>0&&(o.paddingRight=a),o.overflow=s}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yM=(()=>{let e=class e{constructor(){this._nativeElement=y(De).nativeElement,this._zone=y(J)}ngOnInit(){this._zone.onStable.asObservable().pipe(je(1)).subscribe(()=>{Wn(this._zone,this._nativeElement,(n,r)=>{r&&q0(n),n.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Wn(this._zone,this._nativeElement,({classList:n})=>n.remove("show"),{animation:this.animation,runningTransition:"stop"})}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(r,o){r&2&&(Ts("modal-backdrop"+(o.backdropClass?" "+o.backdropClass:"")),Ci("show",!o.animation)("fade",o.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[lr],decls:0,vars:0,template:function(r,o){},encapsulation:2});let t=e;return t})(),Na=class{update(e){}close(e){}dismiss(e){}},vM=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],_M=["animation","backdropClass"],Md=class{_applyWindowOptions(e,i){vM.forEach(n=>{Td(i[n])&&(e[n]=i[n])})}_applyBackdropOptions(e,i){_M.forEach(n=>{Td(i[n])&&(e[n]=i[n])})}update(e){this._applyWindowOptions(this._windowCmptRef.instance,e),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,e)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(Ne(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(Ne(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(e,i,n,r){this._windowCmptRef=e,this._contentRef=i,this._backdropCmptRef=n,this._beforeDismiss=r,this._closed=new oe,this._dismissed=new oe,this._hidden=new oe,e.instance.dismissEvent.subscribe(o=>{this.dismiss(o)}),this.result=new Promise((o,s)=>{this._resolve=o,this._reject=s}),this.result.then(null,()=>{})}close(e){this._windowCmptRef&&(this._closed.next(e),this._resolve(e),this._removeModalElements())}_dismiss(e){this._dismissed.next(e),this._reject(e),this._removeModalElements()}dismiss(e){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(e);else{let i=this._beforeDismiss();aM(i)?i.then(n=>
90{n!==!1&&this._dismiss(e)},()=>{}):i!==!1&&this._dismiss(e)}}_removeModalElements(){let e=this._windowCmptRef.instance.hide(),i=this._backdropCmptRef?this._backdropCmptRef.instance.hide():x(void 0);e.subscribe(()=>{let{nativeElement:n}=this._windowCmptRef.location;n.parentNode.removeChild(n),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),i.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:n}=this._backdropCmptRef.location;n.parentNode.removeChild(n),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),ji(e,i).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},Id=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}(Id||{}),bM=(()=>{let e=class e{constructor(){this._document=y(ge),this._elRef=y(De),this._zone=y(J),this._closed$=new oe,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new ce,this.shown=new oe,this.hidden=new oe}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":z0(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(n){this.dismissEvent.emit(n)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(je(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:n}=this._elRef,r={animation:this.animation,runningTransition:"stop"},o=Wn(this._zone,n,()=>n.classList.remove("show"),r),s=Wn(this._zone,this._dialogEl.nativeElement,()=>{},r),a=ji(o,s);return a.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),a}_show(){let n={animation:this.animation,runningTransition:"continue"},r=Wn(this._zone,this._elRef.nativeElement,(s,a)=>{a&&q0(s),s.classList.add("show")},n),o=Wn(this._zone,this._dialogEl.nativeElement,()=>{},n);ji(r,o).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:n}=this._elRef;this._zone.runOutsideAngular(()=>{Je(n,"keydown").pipe(Ne(this._closed$),me(o=>o.which===Od.Escape)).subscribe(o=>{this.keyboard?requestAnimationFrame(()=>{o.defaultPrevented||this._zone.run(()=>this.dismiss(Id.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let r=!1;Je(this._dialogEl.nativeElement,"mousedown").pipe(Ne(this._closed$),he(()=>r=!1),xe(()=>Je(n,"mouseup").pipe(Ne(this._closed$),je(1))),me(({target:o})=>n===o)).subscribe(()=>{r=!0}),Je(n,"click").pipe(Ne(this._closed$)).subscribe(({target:o})=>{n===o&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!r&&this._zone.run(()=>this.dismiss(Id.BACKDROP_CLICK))),r=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:n}=this._elRef;if(!n.contains(document.activeElement)){let r=n.querySelector("[ngbAutofocus]"),o=K0(n)[0];(r||o||n).focus()}}_restoreFocus(){let n=this._document.body,r=this._elWithFocus,o;r&&r.focus&&n.contains(r)?o=r:o=n,this._zone.runOutsideAngular(()=>{setTimeout(()=>o.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&Wn(this._zone,this._elRef.nativeElement,({classList:n})=>(n.add("modal-static"),()=>n.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=L({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(r,o){if(r&1&&vg(rM,7),r&2){let s;tu(s=nu())&&(o._dialogEl=s.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(r,o){r&2&&(Fn("aria-modal",!0)("aria-labelledby",o.ariaLabelledBy)("aria-describedby",o.ariaDescribedBy),Ts("modal d-block"+(o.windowClass?" "+o.windowClass:"")),Ci("fade",o.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[lr],ngContentSelectors:iM,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(r,o){r&1&&(mg(),d(0,"div",1,0)(2,"div",2),yg(3),u()()),r&2&&Ts("modal-dialog"+(o.size?" modal-"+o.size:"")+(o.centered?" modal-dialog-centered":"")+o.fullscreenClass+(o.scrollable?" modal-dialog-scrollable":"")+(o.modalDialogClass?" "+o.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}
91`],encapsulation:2});let t=e;return t})(),wM=(()=>{let e=class e{constructor(){this._applicationRef=y(Ht),this._injector=y(Le),this._environmentInjector=y(ye),this._document=y(ge),this._scrollBar=y(mM),this._activeWindowCmptHasChanged=new oe,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRef
91s=[],this._windowCmpts=[],this._activeInstances=new ce;let n=y(J);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let r=this._windowCmpts[this._windowCmpts.length-1];fM(n,r.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(r.location.nativeElement)}})}_restoreScrollBar(){let n=this._scrollBarRestoreFn;n&&(this._scrollBarRestoreFn=null,n())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(n,r,o){let s=o.container instanceof HTMLElement?o.container:Td(o.container)?this._document.querySelector(o.container):this._document.body;if(!s)throw new Error(`The specified modal container "${o.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let a=new Na;n=o.injector||n;let l=n.get(ye,null)||this._environmentInjector,c=this._getContentRef(n,l,r,a,o),f=o.backdrop!==!1?this._attachBackdrop(s):void 0,p=this._attachWindowComponent(s,c.nodes),g=new Md(p,c,f,o.beforeDismiss);return this._registerModalRef(g),this._registerWindowCmpt(p),g.hidden.pipe(je(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),a.close=m=>{g.close(m)},a.dismiss=m=>{g.dismiss(m)},a.update=m=>{g.update(m)},g.update(o),this._modalRefs.length===1&&this._document.body.classList.add("modal-open"),f&&f.instance&&f.changeDetectorRef.detectChanges(),p.changeDetectorRef.detectChanges(),g}get activeInstances(){return this._activeInstances}dismissAll(n){this._modalRefs.forEach(r=>r.dismiss(n))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(n){let r=Ls(yM,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(r.hostView),n.appendChild(r.location.nativeElement),r}_attachWindowComponent(n,r){let o=Ls(bM,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:r});return this._applicationRef.attachView(o.hostView),n.appendChild(o.location.nativeElement),o}_getContentRef(n,r,o,s,a){return o?o instanceof Ft?this._createFromTemplateRef(o,s):z0(o)?this._createFromString(o):this._createFromComponent(n,r,o,s,a):new Vi([])}_createFromTemplateRef(n,r){let o={$implicit:r,close(a){r.close(a)},dismiss(a){r.dismiss(a)}},s=n.createEmbeddedView(o);return this._applicationRef.attachView(s),new Vi([s.rootNodes],s)}_createFromString(n){let r=this._document.createTextNode(`${n}`);return new Vi([[r]])}_createFromComponent(n,r,o,s,a){let l=Le.create({providers:[{provide:Na,useValue:s}],parent:n}),c=Ls(o,{environmentInjector:r,elementInjector:l}),f=c.location.nativeElement;return a.scrollable&&f.classList.add("component-host-scrollable"),this._applicationRef.attachView(c.hostView),new Vi([[f]],c.hostView,c)}_setAriaHidden(n){let r=n.parentElement;r&&n!==this._document.body&&(Array.from(r.children).forEach(o=>{o!==n&&o.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}),this._setAriaHidden(r))}_revertAriaHidden(){this._ariaHiddenValues.forEach((n,r)=>{n?r.setAttribute("aria-hidden",n):r.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(n){let r=()=>{let o=this._modalRefs.indexOf(n);o>-1&&(this._modalRefs.splice(o,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(n),this._activeInstances.emit(this._modalRefs),n.result.then(r,r)}_registerWindowCmpt(n){this._windowCmpts.push(n),this._activeWindowCmptHasChanged.next(),n.onDestroy(()=>{let r=this._windowCmpts.indexOf(n);r>-1&&(this._windowCmpts.splice(r,1),this._activeWindowCmptHasChanged.next())})}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),DM=(()=>{let e=class e{constructor(){this._injector=y(Le),this._modalStack=y(wM),this._config=y(gM)}open(n,r={}){let o=b(ie(b({},this._config),{animation:this._config.animation}),r);return this._modalStack.open(this._injector,n,o)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(n){this._modalStack.dismissAll(n)}hasOpenModals(){return this._modalStack.hasOpenModals()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ty=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({providers:[DM]});let t=e;return t})();var ny=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var iy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var ry=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var oy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var sy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var ay=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var ly=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var cy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var uy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var G2=new E("live announcer delay",{providedIn:"root",factory:()=>100});var dy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})();var fy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({});let t=e;return t})(),CM=[Y0,Q0,Z0,J0,X0,ey,ty,ny,fy,iy,ry,oy,sy,ay,ly,cy,uy,dy],hy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e}),e.\u0275inj=G({imports:[CM,Y0,Q0,Z0,J0,X0,ey,ty,ny,fy,iy,ry,oy,sy,ay,ly,cy,uy,dy]});let t=e;return t})();var py=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=W({type:e,bootstrap:[$0]}),e.\u0275inj=G({providers:[G0,Ta,Oa],imports:[cm,M0,em,H0,hy]});let t=e;return t})();lm().bootstrapModule(py).catch(t=>console.error(t));

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.